/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #3a3025;
    background-color: #faf8f5;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ========== Color Palette ========== */
:root {
    --primary: #6b5344;
    --primary-dark: #4a3728;
    --primary-light: #8b7360;
    --accent: #b8860b;
    --accent-light: #d4a843;
    --bg-main: #faf8f5;
    --bg-warm: #f3efe8;
    --bg-dark: #3a3025;
    --text-main: #3a3025;
    --text-light: #7a6e63;
    --text-white: #faf8f5;
    --border: #ddd5cb;
    --line-green: #06c755;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== Section Labels ========== */
.section-label {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}

.section-label-center {
    text-align: center;
}

.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--primary-dark);
    margin-bottom: 16px;
}

.section-title-center {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 48px;
}

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-line {
    background-color: var(--line-green);
    color: #fff;
}

.btn-line:hover {
    background-color: #05b04a;
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: transparent;
    transition: all 0.4s ease;
}

.header.scrolled {
    background-color: rgba(250, 248, 245, 0.97);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.header.scrolled .logo-main,
.header.scrolled .logo-sub,
.header.scrolled .nav-list a {
    color: var(--text-main);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.1em;
    transition: color 0.4s;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    transition: color 0.4s;
}

.header.scrolled .logo-sub {
    color: var(--text-light);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s;
    letter-spacing: 0.05em;
}

.nav-list a:hover {
    color: var(--accent-light);
}

.nav-cta {
    padding: 8px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 2px;
}

.header.scrolled .nav-cta {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
}

.header.scrolled .nav-cta:hover {
    background-color: var(--primary);
    color: var(--text-white) !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s;
}

.header.scrolled .hamburger span {
    background-color: var(--text-main);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.header-portfolio-note {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 0 24px 4px;
}

.header.scrolled .header-portfolio-note {
    color: var(--text-light);
    opacity: 0.6;
}

/* ========== Hero ========== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 1000px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(58, 48, 37, 0.75) 0%, rgba(74, 55, 40, 0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 60px;
}

.hero-label {
    font-family: 'Noto Serif JP', serif;
    font-size: 0.85rem;
    letter-spacing: 0.3em;
    color: var(--accent-light);
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ========== Features Strip ========== */
.features-strip {
    background-color: var(--primary-dark);
    padding: 48px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:last-child {
    border-right: none;
}

.feature-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.feature-content h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.feature-content p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* ========== About ========== */
.about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 2px solid var(--accent);
    z-index: -1;
}

.about-text .section-title {
    margin-top: 8px;
}

.about-description {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 2;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-unit {
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: 2px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========== Services ========== */
.services {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.service-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--primary);
    padding: 4px 12px;
}

.service-body {
    padding: 28px 24px;
}

.service-body h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.service-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.service-link:hover {
    color: var(--primary-dark);
}

/* ========== Works Gallery ========== */
.works {
    padding: 100px 0;
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 24px;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans JP', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.work-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.work-item-large {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
}

.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.work-item:hover img {
    transform: scale(1.08);
}

.work-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(58, 48, 37, 0.85) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.work-item:hover .work-overlay {
    opacity: 1;
}

.work-category {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--accent-light);
    margin-bottom: 6px;
}

.work-overlay h3 {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    margin-bottom: 4px;
}

.work-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.works-more {
    text-align: center;
    margin-top: 40px;
}

/* ========== Flow ========== */
.flow {
    padding: 100px 0;
    background-color: var(--bg-warm);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
    flex-wrap: wrap;
}

.flow-step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: center;
    padding: 0 12px;
}

.flow-step-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.flow-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    min-height: 2.8em;
}

.flow-step p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.7;
}

.flow-connector {
    width: 40px;
    height: 2px;
    background-color: var(--border);
    margin-top: 28px;
    flex-shrink: 0;
}

/* ========== Voice / Testimonials ========== */
.voice {
    padding: 100px 0;
}

.voice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.voice-card {
    background-color: #fff;
    padding: 36px 28px;
    border: 1px solid var(--border);
    position: relative;
}

.voice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent);
}

.voice-rating {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.voice-text {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 24px;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.voice-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
}

.voice-type {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========== CTA ========== */
.cta {
    padding: 100px 0;
    background-color: var(--bg-dark);
}

.cta-inner {
    text-align: center;
}

.cta .section-label {
    color: var(--accent-light);
}

.cta-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 48px;
    line-height: 2;
}

.cta-contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cta-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-method-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

.cta-phone {
    font-family: 'Noto Serif JP', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.05em;
}

.cta-hours {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-divider {
    width: 1px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.15);
}

.cta-sns {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
}

.cta-sns p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.cta-sns-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.sns-link {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: color 0.3s;
}

.sns-link:hover {
    color: var(--accent-light);
}

/* ========== Footer ========== */
.footer {
    background-color: var(--primary-dark);
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo .logo-main {
    font-size: 1.2rem;
    color: #fff;
}

.footer-logo .logo-sub {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-address {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-hours p {
    font-size: 0.8rem;
    line-height: 1.6;
}

.footer-nav h4 {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-nav ul {
    list-style: none;
}

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

.footer-nav a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-light);
}

.footer-map h4 {
    font-size: 0.85rem;
    color: #fff;
    margin-bottom: 16px;
    font-weight: 500;
}

.footer-map-embed {
    overflow: hidden;
    border-radius: 2px;
}

.footer-map-embed iframe {
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-portfolio-note {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .feature-item {
        border-right: none;
        padding: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 360px;
    }

    .about-image-accent {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .work-item-large {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }

    .voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-main);
        padding: 80px 32px 32px;
        transition: right 0.3s ease;
        z-index: 105;
        box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
    }

    .nav-list a {
        color: var(--text-main) !important;
        font-size: 1rem;
    }

    .nav-cta {
        border-color: var(--primary) !important;
        text-align: center;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .about-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .works-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .flow-steps {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .flow-step {
        max-width: 100%;
        padding: 16px;
    }

    .flow-step h3 {
        min-height: auto;
    }

    .flow-connector {
        width: 2px;
        height: 24px;
        margin-top: 0;
    }

    .voice-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 1.4rem;
    }

    .cta-phone {
        font-size: 1.6rem;
    }

    .cta-divider {
        width: 80px;
        height: 1px;
    }

    .cta-contact-methods {
        flex-direction: column;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .works-filter {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 500px;
    }

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

    .works-gallery {
        grid-template-columns: 1fr;
    }

    .work-item,
    .work-item-large {
        aspect-ratio: 4 / 3;
    }

    .work-overlay {
        opacity: 1;
    }
}
