:root {
    --atelier-linen: #FCFAF8;
    --mist-fabric: #F8F6F4;
    --cotton-light: #EFEFEB;
    --deep-charcoal: #221818;
    --tailor-gray: #423830;
    --thread-red: #823830;
    --deep-burgundy: #522018;
    --white: #FFFFFF;
    --overlay-dark: rgba(34, 24, 24, 0.68);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: var(--atelier-linen);
    color: var(--tailor-gray);
    line-height: 1.94;
    font-weight: 400;
    font-size: 14px;
}

strong, p {
    color: inherit;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--deep-charcoal);
    line-height: 1.2;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(252, 250, 248, 0.97);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: height 0.36s ease-out, background 0.36s ease-out;
    border-bottom: 2px solid transparent;
}

header.scrolled {
    height: 52px;
    border-bottom-color: rgba(130, 56, 48, 0.12);
}

.header-logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-logo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-logo-icon svg {
    width: 100%;
    height: 100%;
}

.header-domain {
    font-family: 'Arial Black', sans-serif;
    font-size: 10px;
    color: var(--deep-charcoal);
    letter-spacing: 0.12em;
}

.header-company-name {
    font-family: 'Arial Black', sans-serif;
    font-size: 9px;
    color: var(--tailor-gray);
    margin-left: 4px;
}

header nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-trigger {
    font-family: 'Tsukushi Pro Medium', 'Noto Sans JP', sans-serif;
    font-size: 11px;
    color: var(--tailor-gray);
    cursor: pointer;
    padding: 20px 16px;
    transition: all 0.26s ease;
    position: relative;
}

.nav-trigger:hover {
    color: var(--thread-red);
    background: rgba(130, 56, 48, 0.06);
    transform: scale(1.04);
}

.mega-dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100vw;
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(252, 250, 248, 0.99);
    border-top: 2px solid var(--thread-red);
    transition: max-height 0.28s ease-out, min-height 0.28s ease-out;
    z-index: 9998;
}

.nav-trigger:hover .mega-dropdown,
.mega-dropdown:hover {
    max-height: 400px;
    min-height: 200px;
}

.mega-dropdown-content {
    padding: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mega-column h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--thread-red);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mega-column ul {
    list-style: none;
}

.mega-column li {
    margin-bottom: 8px;
}

.mega-column a {
    font-size: 12px;
    color: var(--tailor-gray);
    transition: color 0.2s ease;
}

.mega-column a:hover {
    color: var(--thread-red);
}

.header-cta {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--thread-red), var(--deep-burgundy));
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 10px;
    border-radius: 0;
    box-shadow: 0 14px 38px rgba(130, 56, 48, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px rgba(130, 56, 48, 0.34);
}

.hamburger {
    display: none;
    width: 38px;
    height: 38px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10000;
    background: rgba(252, 250, 248, 0.99);
    border: 1px solid rgba(130, 56, 48, 0.12);
    border-radius: 0;
    position: absolute;
    top: 10px;
    right: 16px;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--deep-charcoal);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 250, 248, 0.98);
    z-index: 9997;
    padding-top: 60px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
    padding: 40px 24px;
}

.mobile-menu-links li {
    margin-bottom: 24px;
}

.mobile-menu-links a {
    font-family: 'Arial Black', sans-serif;
    font-size: 17px;
    color: var(--deep-charcoal);
    transition: color 0.2s ease;
}

.mobile-menu-links a:hover {
    color: var(--thread-red);
}

.mobile-menu-contact {
    padding: 24px;
    border-top: 2px solid var(--thread-red);
    text-align: center;
}

.mobile-menu-contact p {
    font-size: 12px;
    margin-bottom: 8px;
}

.content-wrapper {
    padding-top: 76px;
}

.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding-left: 72px;
    padding-right: 48px;
}

.hero-title {
    font-family: 'Tsukushi Pro Bold', 'Noto Sans JP', sans-serif;
    font-size: clamp(4rem, 10vw, 9rem);
    color: var(--deep-charcoal);
    line-height: 0.68;
    letter-spacing: -0.020em;
    margin-bottom: 24px;
    overflow: hidden;
}

.hero-title span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    animation: slideUpChar 0.6s ease forwards;
}

@keyframes slideUpChar {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.hero-title span:nth-child(1) { animation-delay: 0.062s; }
.hero-title span:nth-child(2) { animation-delay: 0.124s; }
.hero-title span:nth-child(3) { animation-delay: 0.186s; }
.hero-title span:nth-child(4) { animation-delay: 0.248s; }
.hero-title span:nth-child(5) { animation-delay: 0.31s; }
.hero-title span:nth-child(6) { animation-delay: 0.372s; }
.hero-title span:nth-child(7) { animation-delay: 0.434s; }
.hero-title span:nth-child(8) { animation-delay: 0.496s; }
.hero-title span:nth-child(9) { animation-delay: 0.558s; }
.hero-title span:nth-child(10) { animation-delay: 0.62s; }
.hero-title span:nth-child(11) { animation-delay: 0.682s; }
.hero-title span:nth-child(12) { animation-delay: 0.744s; }

.hero-subtitle {
    font-family: 'Arial Black', sans-serif;
    font-size: 15px;
    color: var(--tailor-gray);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
    }
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 26px 54px;
    background: linear-gradient(135deg, var(--thread-red), var(--deep-burgundy));
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 0;
    box-shadow: 0 22px 72px rgba(130, 56, 48, 0.34);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.5s forwards;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 78px rgba(130, 56, 48, 0.4);
}

.hero-secondary {
    font-family: 'Arial Black', sans-serif;
    font-size: 12px;
    color: var(--deep-charcoal);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.6s forwards;
}

.hero-visual {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.hero-image-frame {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 4/5;
    border: 2px solid rgba(130, 56, 48, 0.18);
    border-radius: 0;
    box-shadow: 0 26px 78px rgba(130, 56, 48, 0.12);
    overflow: hidden;
    position: relative;
}

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

.brutalist-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.brutalist-grid::before,
.brutalist-grid::after {
    content: '';
    position: absolute;
    background: var(--thread-red);
    opacity: 0.08;
}

.brutalist-grid::before {
    width: 100%;
    height: 2px;
    top: 30%;
}

.brutalist-grid::after {
    width: 2px;
    height: 100%;
    left: 40%;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

.scroll-indicator span {
    font-family: 'Arial Black', sans-serif;
    font-size: 10px;
    color: var(--tailor-gray);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-dark {
    background: var(--mist-fabric);
}

.section-dark .section-title,
.section-dark .section-subtitle {
    color: var(--deep-charcoal);
}

.section-dark p,
.section-dark li {
    color: var(--tailor-gray);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: var(--tailor-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-canvas {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-card {
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 32px;
    cursor: grab;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 48px rgba(130, 56, 48, 0.18);
    z-index: 96;
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.service-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mist-fabric);
    border: 1px solid rgba(130, 56, 48, 0.12);
    border-radius: 0;
}

.service-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep-charcoal);
}

.service-price {
    font-family: 'Arial Black', sans-serif;
    font-size: 13px;
    color: var(--thread-red);
    margin-top: 4px;
}

.service-description {
    font-size: 13px;
    color: var(--tailor-gray);
    line-height: 1.7;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--thread-red);
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 12px;
}

.about-philosophy {
    position: sticky;
    top: 80px;
    padding: 48px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    margin-bottom: -38px;
    z-index: 2;
}

.about-philosophy h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--deep-charcoal);
}

.process-node-graph {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.process-node {
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 32px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    z-index: 1;
}

.process-node:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(130, 56, 48, 0.18);
    z-index: 96;
}

.process-node::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--thread-red);
}

.process-node:first-child::before {
    display: none;
}

.process-node-number {
    font-family: 'Tsukushi Pro Bold', sans-serif;
    font-size: 48px;
    color: var(--thread-red);
    margin-bottom: 16px;
    transform: scale(1.18);
    letter-spacing: 0.08em;
}

.process-node h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 8px;
}

.process-node p {
    font-size: 13px;
    color: var(--tailor-gray);
    line-height: 1.7;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.bento-card {
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    position: relative;
    z-index: 1;
}

.bento-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(130, 56, 48, 0.18);
    z-index: 96;
}

.bento-card-large {
    grid-column: span 2;
}

.bento-icon {
    font-size: 28px;
    margin-bottom: 16px;
}

.bento-value {
    font-family: 'Tsukushi Pro Bold', sans-serif;
    font-size: 42px;
    color: var(--deep-charcoal);
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}

.bento-label {
    font-family: 'Arial Black', sans-serif;
    font-size: 12px;
    color: var(--tailor-gray);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.stacking-cards {
    display: flex;
    flex-direction: column;
    gap: -20px;
}

.stacking-card {
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;
    position: relative;
}

.stacking-card:nth-child(1) { z-index: 6; margin-bottom: -20px; }
.stacking-card:nth-child(2) { z-index: 5; }
.stacking-card:nth-child(3) { z-index: 4; }
.stacking-card:nth-child(4) { z-index: 3; }
.stacking-card:nth-child(5) { z-index: 2; }
.stacking-card:nth-child(6) { z-index: 1; }

.stacking-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 56px rgba(130, 56, 48, 0.22);
    z-index: 96;
}

.stacking-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.stacking-card-icon {
    font-size: 24px;
}

.stacking-card h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--deep-charcoal);
}

.stacking-card p {
    font-size: 13px;
    color: var(--tailor-gray);
    line-height: 1.7;
}

.team-hover-reveal {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.team-list {
    list-style: none;
}

.team-item {
    padding: 24px 0;
    border-bottom: 2px solid var(--thread-red);
    cursor: pointer;
    transition: padding-left 0.3s ease;
}

.team-item:hover {
    padding-left: 16px;
}

.team-item h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 4px;
}

.team-item p {
    font-size: 12px;
    color: var(--tailor-gray);
}

.team-photo-zone {
    position: sticky;
    top: 100px;
    aspect-ratio: 3/4;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    overflow: hidden;
}

.team-photo-zone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.4s ease;
}

.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mist-fabric);
    color: var(--thread-red);
    font-size: 64px;
}

.faq-accordion {
    max-width: 960px;
    margin: 0 auto;
}

.faq-item {
    border-left: 3px solid transparent;
    margin-bottom: 2px;
    transition: border-color 0.3s ease, z-index 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    z-index: 96;
}

.faq-item.active {
    border-left-color: var(--thread-red);
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
    font-family: 'Arial Black', sans-serif;
    font-size: 14px;
    color: var(--deep-charcoal);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--mist-fabric);
}

.faq-icon {
    font-size: 20px;
    color: var(--thread-red);
    transition: transform 0.4s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
    background: var(--mist-fabric);
    border: 2px solid var(--thread-red);
    border-top: none;
    border-radius: 0;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 24px 32px;
}

.faq-answer p {
    font-size: 13px;
    color: var(--tailor-gray);
    line-height: 1.7;
}

.reviews-carousel {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding: 40px 24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reviews-carousel::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 360px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 32px;
    scroll-snap-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease, z-index 0.3s ease;
    position: relative;
    z-index: 1;
}

.review-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 48px rgba(130, 56, 48, 0.18);
    z-index: 96;
}

.review-card.active {
    transform: scale(1.08);
    z-index: 100;
    box-shadow: 0 20px 56px rgba(130, 56, 48, 0.24);
}

.review-text {
    font-size: 14px;
    color: var(--tailor-gray);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 0;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-name {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--deep-charcoal);
}

.review-source {
    font-size: 11px;
    color: var(--tailor-gray);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--thread-red);
    transition: background 0.3s ease, color 0.3s ease;
}

.carousel-btn:hover {
    background: var(--thread-red);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-info {
    padding: 48px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
}

.contact-info h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 32px;
}

.contact-detail {
    margin-bottom: 24px;
}

.contact-detail h4 {
    font-family: 'Arial Black', sans-serif;
    font-size: 11px;
    color: var(--thread-red);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

.contact-detail p {
    font-size: 14px;
    color: var(--deep-charcoal);
    line-height: 1.6;
}

.contact-form {
    padding: 48px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
}

.contact-form h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--deep-charcoal);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--atelier-linen);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    color: var(--deep-charcoal);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-burgundy);
    box-shadow: 0 0 0 3px rgba(130, 56, 48, 0.12);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--thread-red), var(--deep-burgundy));
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    box-shadow: 0 14px 38px rgba(130, 56, 48, 0.26);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(130, 56, 48, 0.34);
}

.map-embed {
    width: 100%;
    aspect-ratio: 16/9;
    border: 2px solid var(--thread-red);
    border-radius: 0;
    overflow: hidden;
    margin-top: 32px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border: 2px solid var(--thread-red);
    border-radius: 0;
    position: relative;
}

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(34, 24, 24, 0.9), transparent);
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 380px;
    background: var(--white);
    border: 2px solid var(--thread-red);
    border-radius: 0;
    padding: 24px;
    z-index: 9990;
    box-shadow: 0 16px 48px rgba(130, 56, 48, 0.18);
    display: block;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 12px;
}

.cookie-banner p {
    font-size: 12px;
    color: var(--tailor-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.cookie-categories {
    margin-bottom: 20px;
}

.cookie-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.cookie-category input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--thread-red);
}

.cookie-category label {
    font-size: 12px;
    color: var(--tailor-gray);
}

.cookie-buttons {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 12px 16px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    border-radius: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.cookie-btn-primary {
    background: var(--thread-red);
    color: var(--white);
}

.cookie-btn-primary:hover {
    background: var(--deep-burgundy);
}

.cookie-btn-secondary {
    background: var(--mist-fabric);
    color: var(--deep-charcoal);
    border: 2px solid var(--thread-red);
}

.cookie-btn-secondary:hover {
    background: var(--cotton-light);
}

footer {
    background: var(--cotton-light);
    border-top: 2px solid var(--thread-red);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-family: 'Arial Black', sans-serif;
    font-size: 11px;
    color: var(--deep-charcoal);
}

.footer-description {
    font-size: 12px;
    color: var(--tailor-gray);
    line-height: 1.7;
}

.footer-column h4 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--thread-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

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

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    font-size: 12px;
    color: var(--tailor-gray);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--thread-red);
}

.footer-contact p {
    font-size: 12px;
    color: var(--tailor-gray);
    margin-bottom: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(130, 56, 48, 0.18);
}

.footer-copyright {
    font-family: 'Arial Black', sans-serif;
    font-size: 10px;
    color: var(--tailor-gray);
    margin-bottom: 8px;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.footer-legal a {
    font-size: 11px;
    color: var(--tailor-gray);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--thread-red);
}

.thank-you-section {
    min-height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 32px;
}

.thank-you-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 24px;
}

.thank-you-message {
    font-size: 16px;
    color: var(--tailor-gray);
    max-width: 520px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.thank-you-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--thread-red), var(--deep-burgundy));
    color: var(--white);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    border-radius: 0;
    box-shadow: 0 14px 38px rgba(130, 56, 48, 0.26);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thank-you-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(130, 56, 48, 0.34);
}

.legal-section {
    padding: 80px 0;
}

.legal-section h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 32px;
}

.legal-section h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-section p {
    font-size: 14px;
    color: var(--tailor-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-section li {
    font-size: 14px;
    color: var(--tailor-gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.page-hero {
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: var(--atelier-linen);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--mist-fabric) 0%, var(--atelier-linen) 100%);
    z-index: 0;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--deep-charcoal);
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 16px;
    color: var(--tailor-gray);
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        padding: 120px 24px 48px;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 36px;
    }

    .hero-secondary {
        justify-content: center;
    }

    .hero-visual {
        height: auto;
        padding: 48px 24px;
    }

    .hero-image-frame {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .team-hover-reveal {
        grid-template-columns: 1fr;
    }

    .team-photo-zone {
        position: relative;
        top: 0;
    }

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

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

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

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

@media (max-width: 768px) {
    header nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .section {
        padding: 64px 0;
    }

    .container {
        padding: 0 24px;
    }

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

    .bento-card-large {
        grid-column: span 1;
    }

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

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

    .cookie-banner {
        left: 16px;
        right: 16px;
        width: auto;
    }

    .mega-dropdown-content {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 32px 24px;
    }
}