/*
Theme Name: LAQSMILE Hub
Theme URI: https://laqsmile.co.jp
Description: 株式会社LAQSMILE コーポレートサイト（ブランドポータル）
Author: LAQSMILE
Version: 1.0.0
Text Domain: laqsmile-hub
*/

/* ============================
   CSS VARIABLES
   ============================ */
:root {
    --gold: #C5A059;
    --gold-hover: #A68645;
    --cream: #fdf8f3;
    --beige: #f5ede1;
    --cream-light: #FCFBF9;
    --white: #ffffff;
    --brown: #8C8075;
    --brown-strong: #5c4a3a;
    --black: #1a1a1a;
    --gold-border: rgba(197, 160, 89, 0.3);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.07);
    --shadow-md: 0 4px 15px rgba(0,0,0,0.08);
    --shadow-btn: 0 4px 15px rgba(0,0,0,0.1);
}

/* ============================
   BASE RESET & TYPOGRAPHY
   ============================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: var(--brown);
    background-color: var(--cream);
    line-height: 1.8;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gold-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    color: var(--brown-strong);
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.catch {
    font-family: 'Zen Kurenaido', cursive;
}

/* ============================
   LAYOUT
   ============================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 80px 0;
}

.section-cream {
    background-color: var(--cream);
}

.section-white {
    background-color: var(--white);
}

.section-beige {
    background-color: var(--beige);
}

/* ============================
   DECORATIVE ELEMENTS
   ============================ */
.gold-line {
    width: 36px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 20px;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--brown-strong);
    text-align: center;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.85rem;
    color: var(--gold);
    text-align: center;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 40px;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-radius: 9999px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
    box-shadow: var(--shadow-btn);
}

.btn-gold:hover {
    background: var(--gold-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1.5px solid var(--gold);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 12px 28px;
    font-size: 14px;
}

/* ============================
   HEADER
   ============================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-border);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.site-logo img {
    height: 72px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-nav a {
    font-size: 0.85rem;
    color: var(--brown-strong);
    letter-spacing: 0.08em;
    position: relative;
    padding-bottom: 4px;
}

.site-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.site-nav a:hover {
    color: var(--gold);
}

.site-nav a:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--brown-strong);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 11px; }
.hamburger span:nth-child(3) { top: 22px; }

.hamburger.active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(253, 248, 243, 0.98);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav a {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.1rem;
    color: var(--brown-strong);
    letter-spacing: 0.1em;
}

.mobile-nav a:hover {
    color: var(--gold);
}

/* ============================
   HERO SECTION
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        linear-gradient(160deg,
            rgba(253,248,243,0.88) 0%,
            rgba(253,248,243,0.80) 45%,
            rgba(245,237,225,0.85) 100%),
        url('') center/cover no-repeat;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0 24px;
}

.hero-tagline {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Zen Kurenaido', cursive;
    font-size: 2.6rem;
    color: var(--brown-strong);
    line-height: 1.6;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--brown);
    line-height: 2;
    margin-bottom: 40px;
}

.hero-scroll {
    margin-top: 40px;
}

.hero-scroll span {
    display: block;
    font-size: 0.7rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 8px;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gold);
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================
   BUSINESS CARDS SECTION
   ============================ */
.business-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 20px;
}

.business-card {
    background: var(--white);
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gold-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.business-card-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.business-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-card:hover .business-card-photo img {
    transform: scale(1.05);
}

.business-card-body {
    padding: 28px 28px 36px;
}

.business-card h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--brown-strong);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}

.business-card .card-tagline {
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.business-card p {
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--brown);
    margin-bottom: 24px;
}

.business-card .btn {
    width: 100%;
    max-width: 220px;
}

/* ============================
   REPRESENTATIVE MESSAGE
   ============================ */
.rep-section {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.rep-photo {
    flex-shrink: 0;
}

.rep-photo img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-border);
    box-shadow: var(--shadow-md);
}

.rep-content h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}

.rep-content .rep-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.rep-content p {
    font-size: 0.95rem;
    line-height: 2;
}

.rep-content .btn {
    margin-top: 24px;
}

/* ============================
   NEWS SECTION
   ============================ */
.news-list {
    max-width: 720px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gold-border);
}

.news-item:first-child {
    border-top: 1px solid var(--gold-border);
}

.news-date {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    flex-shrink: 0;
    min-width: 90px;
}

.news-title {
    font-size: 0.95rem;
    color: var(--brown-strong);
}

.news-title a {
    color: var(--brown-strong);
}

.news-title a:hover {
    color: var(--gold);
}

/* ============================
   FOOTER
   ============================ */
.site-footer {
    background: var(--brown-strong);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .footer-logo {
    height: 64px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-top: 12px;
}

.footer-nav h4 {
    font-family: 'Noto Serif JP', serif;
    color: var(--white);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}

.footer-nav ul li {
    margin-bottom: 10px;
}

.footer-nav ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
}

.footer-bottom-links a:hover {
    color: var(--gold);
}

/* ============================
   PAGE TEMPLATES
   ============================ */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: var(--cream);
}

.page-hero h1 {
    font-size: 1.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.page-hero .page-hero-sub {
    font-size: 0.8rem;
    color: var(--gold);
    letter-spacing: 0.2em;
}

.page-content {
    padding: 60px 0 80px;
}

.page-content .container-narrow h2 {
    font-size: 1.2rem;
    margin: 40px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gold-border);
}

.page-content .container-narrow h3 {
    font-size: 1.05rem;
    margin: 32px 0 12px;
}

.page-content .container-narrow p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 2;
}

.page-content .container-narrow ul {
    margin-bottom: 16px;
    padding-left: 1.5em;
}

.page-content .container-narrow ul li {
    list-style: disc;
    margin-bottom: 8px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.page-content .container-narrow table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.page-content .container-narrow table th,
.page-content .container-narrow table td {
    padding: 12px 16px;
    border: 1px solid var(--gold-border);
    text-align: left;
}

.page-content .container-narrow table th {
    background: var(--beige);
    color: var(--brown-strong);
    font-weight: 500;
    white-space: nowrap;
}

/* About page */
.about-story {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-bottom: 48px;
}

.about-photo {
    flex-shrink: 0;
}

.about-photo img {
    width: 240px;
    height: 300px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-md);
}

.about-text h2 {
    border-bottom: none !important;
    margin-top: 0 !important;
}

.mission-box {
    background: var(--white);
    border: 1px solid var(--gold-border);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.mission-box .mission-label {
    font-size: 0.78rem;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 16px;
}

.mission-box blockquote {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    color: var(--brown-strong);
    line-height: 1.8;
    letter-spacing: 0.08em;
}

.company-info {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    margin: 40px 0;
}

.company-info table {
    margin-bottom: 0 !important;
}

/* ============================
   FADE IN ANIMATION
   ============================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .header-inner {
        padding: 0 20px;
        height: 72px;
    }

    .site-logo img {
        height: 52px;
    }

    .container, .container-narrow {
        padding: 0 20px;
    }

    .section {
        padding: 60px 0;
    }

    /* Hero */
    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Business Cards */
    .business-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .business-card-photo {
        height: 180px;
    }

    .business-card-body {
        padding: 24px 20px 28px;
    }

    /* Representative */
    .rep-section {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .rep-photo img {
        width: 160px;
        height: 160px;
        margin: 0 auto;
    }

    /* News */
    .news-item {
        flex-direction: column;
        gap: 4px;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 8px;
    }

    /* About */
    .about-story {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-photo img {
        width: 200px;
        height: 250px;
    }

    .page-hero {
        padding: 100px 0 40px;
    }

    .page-hero h1 {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .mission-box, .company-info {
        padding: 28px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }
}
