@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&display=swap');

:root {
    --gallery-white: #FAF8F4;
    --canvas-cream: #F4F2EC;
    --matte-light: #ECH8E4;
    --deep-sepia: #383030;
    --aged-gray: #605040;
    --heritage-bronze: #806040;
    --deep-umber: #604020;
    --wireframe-border: rgba(128, 96, 64, 0.08);
    --wireframe-border-active: rgba(128, 96, 64, 0.18);
    --glass-overlay: rgba(250, 248, 246, 0.88);
    --shadow-soft: 0 14px 52px rgba(120, 90, 60, 0.12);
    --shadow-lift: 0 20px 72px rgba(128, 96, 64, 0.34);
    --shadow-button: 0 14px 48px rgba(128, 96, 64, 0.26);
    --transition-smooth: 0.44s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.30s ease;
    --transition-header: 0.36s ease-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.90;
    color: var(--aged-gray);
    background-color: var(--gallery-white);
    cursor: default;
}

strong, b {
    color: inherit;
}

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

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

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

.wireframe-border {
    border: 1px solid var(--wireframe-border);
    border-radius: 0;
}

.wireframe-border-active {
    border: 2px solid var(--wireframe-border-active);
}

.glassy-bg {
    background: var(--glass-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.gradient-bronze {
    background: linear-gradient(135deg, var(--heritage-bronze), var(--deep-umber));
}

.text-sepia {
    color: var(--deep-sepia);
}

.text-bronze {
    color: var(--heritage-bronze);
}

.text-gray {
    color: var(--aged-gray);
}

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

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

.bg-matte {
    background-color: var(--matte-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    color: var(--deep-sepia);
    line-height: 1.2;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--aged-gray);
    max-width: 600px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 44px;
    background: linear-gradient(135deg, var(--heritage-bronze), var(--deep-umber));
    color: #FFFFFF;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 13px;
    border: none;
    border-radius: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    color: var(--deep-sepia);
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 12px;
    border: 1px solid var(--wireframe-border-active);
    border-radius: 20px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: rgba(128, 96, 64, 0.06);
    border-color: var(--heritage-bronze);
}

.floating-pill-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 960px;
    z-index: 9999;
    background: rgba(250, 248, 246, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 34px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-header);
    padding: 12px 24px;
}

.floating-pill-header.scrolled {
    border-radius: 28px;
    box-shadow: 0 18px 64px rgba(120, 90, 60, 0.18);
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.header-logo {
    width: 36px;
    height: 36px;
    color: var(--heritage-bronze);
}

.header-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.header-domain {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 11px;
    color: var(--aged-gray);
    letter-spacing: 0.08em;
}

.header-company {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 12px;
    color: var(--deep-sepia);
}

.header-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.header-nav a {
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 11px;
    color: var(--aged-gray);
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 8px 12px;
    border-radius: 8px;
}

.header-nav a:hover {
    color: var(--heritage-bronze);
    background: rgba(128, 96, 64, 0.06);
    transform: scale(1.04);
}

.header-cta {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--heritage-bronze), var(--deep-umber));
    color: #FFFFFF;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 10px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: var(--shadow-button);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lift);
}

.hamburger-menu {
    display: none;
    width: 42px;
    height: 42px;
    background: rgba(250, 248, 246, 0.99);
    border: 1px solid rgba(128, 96, 64, 0.14);
    border-radius: 12px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep-sepia);
    transition: all var(--transition-fast);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gallery-white);
    z-index: 9998;
    flex-direction: column;
    padding: 100px 24px 40px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    display: flex;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border-active);
    border-radius: 12px;
    cursor: pointer;
    font-size: 24px;
    color: var(--deep-sepia);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.mobile-nav a {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--deep-sepia);
    padding: 16px;
    transition: all var(--transition-fast);
}

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

.mobile-menu-contact {
    margin-top: auto;
    padding-top: 32px;
    border-top: 1px solid var(--wireframe-border);
}

.hero-section {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding-top: 120px;
    gap: 0;
}

.hero-content {
    padding-left: 80px;
}

.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 8vw, 7rem);
    color: var(--deep-sepia);
    line-height: 0.90;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

.hero-title .char {
    display: inline-block;
    animation: charReveal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(30px) scale(0.85);
}

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

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) scale(1);
}

.animate-in.hero-subtitle,
.animate-in.hero-badge {
    opacity: 1 !important;
    transform: translateY(0);
}

.hero-subtitle {
    font-size: 17px;
    line-height: 1.8;
    color: var(--aged-gray);
    max-width: 480px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--deep-sepia);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--heritage-bronze);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-visual {
    position: relative;
    padding: 40px;
}

.hero-image-frame {
    position: relative;
    border: 1px solid rgba(128, 96, 64, 0.10);
    box-shadow: 0 24px 80px rgba(120, 90, 60, 0.15);
}

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

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(250, 248, 246, 0.04),
        rgba(245, 240, 235, 0.03),
        rgba(255, 250, 245, 0.02)
    );
    pointer-events: none;
}

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

.scroll-indicator span {
    font-size: 10px;
    color: var(--aged-gray);
    letter-spacing: 0.1em;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--heritage-bronze), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.page-hero {
    min-height: 55vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 120px;
    gap: 0;
}

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

.page-hero-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--deep-sepia);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.page-hero-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: var(--aged-gray);
    max-width: 440px;
}

.page-hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}

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

.marquee-section {
    padding: 60px 0;
    background: var(--canvas-cream);
    overflow: hidden;
}

.marquee-container {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    margin-right: 52px;
    border: 1px solid var(--wireframe-border);
    background: var(--gallery-white);
    white-space: nowrap;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--deep-sepia);
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.philosophy-section {
    padding: 120px 0;
    background: var(--gallery-white);
}

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

.philosophy-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-sepia);
    margin-bottom: 24px;
}

.philosophy-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--aged-gray);
    margin-bottom: 16px;
}

.history-section {
    padding: 120px 0;
    background: var(--matte-light);
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    position: relative;
}

.history-item::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    width: 1px;
    height: calc(100% + 24px);
    background: var(--wireframe-border-active);
}

.history-item:last-child::before {
    display: none;
}

.history-year {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--heritage-bronze);
    color: #FFFFFF;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 12px;
    border-radius: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.history-content h3 {
    font-size: 18px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
}

.history-content p {
    font-size: 15px;
    color: var(--aged-gray);
    line-height: 1.7;
}

.process-section {
    padding: 120px 0;
    background: var(--gallery-white);
}

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

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--wireframe-border);
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 88;
}

.timeline-item:hover {
    z-index: 96;
    transform: scale(1.05);
}

.timeline-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gallery-white);
    border: 2px solid var(--wireframe-border);
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--deep-sepia);
    margin-bottom: 20px;
    transition: all var(--transition-fast);
}

.timeline-item:hover .timeline-number {
    border-color: var(--heritage-bronze);
    box-shadow: 0 8px 32px rgba(128, 96, 64, 0.15);
}

.timeline-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
    text-align: center;
}

.timeline-desc {
    font-size: 12px;
    color: var(--aged-gray);
    text-align: center;
    line-height: 1.5;
}

.achievements-section {
    padding: 120px 0;
    background: var(--canvas-cream);
}

.achievements-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.achievement-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    padding: 48px 32px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-smooth);
    z-index: 88;
}

.achievement-card:hover {
    flex-grow: 1.3;
    z-index: 96;
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
    border-color: var(--wireframe-border-active);
}

.achievement-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.achievement-number {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 36px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
}

.achievement-label {
    font-size: 14px;
    color: var(--aged-gray);
}

.advantages-section {
    padding: 120px 0;
    background: var(--gallery-white);
}

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

.bento-item {
    padding: 40px 32px;
    background: var(--canvas-cream);
    border: 1px solid var(--wireframe-border);
    transition: all var(--transition-fast);
    z-index: 88;
    cursor: pointer;
}

.bento-item:hover {
    z-index: 96;
    border-color: var(--heritage-bronze);
    transform: scale(1.02);
    box-shadow: var(--shadow-soft);
}

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

.bento-item.wide {
    grid-column: span 2;
}

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

.bento-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--deep-sepia);
    margin-bottom: 12px;
}

.bento-desc {
    font-size: 14px;
    color: var(--aged-gray);
    line-height: 1.7;
}

.team-section {
    padding: 120px 0;
    background: var(--matte-light);
}

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

.team-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.team-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.team-item:hover, .team-item.active {
    border-color: var(--heritage-bronze);
    box-shadow: var(--shadow-soft);
}

.team-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

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

.team-item-info p {
    font-size: 13px;
    color: var(--aged-gray);
}

.team-visual {
    position: relative;
    height: 500px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
}

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

.team-visual-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--wireframe-border);
}

.faq-section {
    padding: 120px 0;
    background: var(--gallery-white);
}

.faq-container {
    max-width: 920px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--wireframe-border);
    margin-bottom: 12px;
    transition: all var(--transition-fast);
    z-index: 88;
}

.faq-item:hover {
    z-index: 96;
    border-color: var(--heritage-bronze);
}

.faq-item.active {
    border-color: var(--heritage-bronze);
    border-left-width: 3px;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--gallery-white);
    border: none;
    cursor: pointer;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--deep-sepia);
    text-align: left;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--canvas-cream);
}

.faq-icon {
    font-size: 20px;
    color: var(--heritage-bronze);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-answer-content {
    padding: 0 32px 24px;
    font-size: 15px;
    color: var(--aged-gray);
    line-height: 1.8;
}

.testimonials-section {
    padding: 120px 0;
    background: var(--canvas-cream);
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-image {
    width: 100px;
    height: 100px;
    border-radius: 0;
    border: 2px solid var(--heritage-bronze);
    overflow: hidden;
    margin-bottom: 24px;
}

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

.testimonial-text {
    font-size: 18px;
    color: var(--deep-sepia);
    line-height: 1.8;
    margin-bottom: 24px;
    max-width: 600px;
}

.testimonial-author {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--heritage-bronze);
}

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

.carousel-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
    cursor: pointer;
    font-size: 20px;
    color: var(--deep-sepia);
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    border-color: var(--heritage-bronze);
    color: var(--heritage-bronze);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--wireframe-border);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--heritage-bronze);
    width: 24px;
}

.contact-section {
    padding: 120px 0;
    background: var(--gallery-white);
}

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

.contact-info h3 {
    font-size: 20px;
    color: var(--deep-sepia);
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--canvas-cream);
    color: var(--heritage-bronze);
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item-text {
    font-size: 15px;
    color: var(--aged-gray);
    line-height: 1.7;
}

.contact-item-text strong {
    display: block;
    color: var(--deep-sepia);
    margin-bottom: 4px;
}

.contact-map {
    margin-top: 40px;
    border: 1px solid var(--wireframe-border);
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.contact-form {
    background: var(--canvas-cream);
    padding: 48px;
    border: 1px solid var(--wireframe-border);
}

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

.form-label {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
}

.form-label .required {
    color: var(--heritage-bronze);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
    border-radius: 0;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    color: var(--deep-sepia);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--heritage-bronze);
    box-shadow: 0 0 0 3px rgba(128, 96, 64, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(96, 80, 64, 0.5);
}

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

.form-submit {
    width: 100%;
    padding: 20px;
}

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

.service-card {
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border);
    padding: 40px 32px;
    transition: all var(--transition-fast);
    cursor: pointer;
    z-index: 88;
}

.service-card:hover {
    z-index: 96;
    border-color: var(--heritage-bronze);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--deep-sepia);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 14px;
    color: var(--aged-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-price {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--heritage-bronze);
    margin-bottom: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--heritage-bronze);
    transition: all var(--transition-fast);
}

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

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

.portfolio-item {
    position: relative;
    border: 1px solid var(--wireframe-border);
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(56, 48, 48, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.portfolio-overlay h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

.footer {
    background: var(--matte-light);
    border-top: 2px solid var(--heritage-bronze);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--deep-sepia);
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
    color: var(--heritage-bronze);
}

.footer-logo span {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--deep-sepia);
}

.footer-desc {
    font-size: 14px;
    color: var(--aged-gray);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    font-size: 14px;
    color: var(--aged-gray);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--heritage-bronze);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--aged-gray);
}

.footer-contact-item span {
    color: var(--heritage-bronze);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--wireframe-border);
    text-align: center;
}

.footer-copyright {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 11px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
}

.footer-special {
    font-size: 12px;
    color: var(--aged-gray);
}

.cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 420px;
    background: var(--gallery-white);
    border: 1px solid var(--wireframe-border-active);
    padding: 24px;
    box-shadow: 0 20px 60px rgba(120, 90, 60, 0.2);
    z-index: 10000;
    display: block;
}

.cookie-banner-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--deep-sepia);
    margin-bottom: 12px;
}

.cookie-banner-text {
    font-size: 13px;
    color: var(--aged-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.cookie-btn {
    flex: 1;
    padding: 12px 16px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    font-size: 12px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--heritage-bronze), var(--deep-umber));
    color: #FFFFFF;
}

.cookie-btn.accept:hover {
    box-shadow: var(--shadow-button);
}

.cookie-btn.decline {
    background: transparent;
    border: 1px solid var(--wireframe-border-active);
    color: var(--deep-sepia);
}

.cookie-btn.decline:hover {
    background: var(--canvas-cream);
}

.cookie-banner-links {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.cookie-banner-links a {
    font-size: 12px;
    color: var(--heritage-bronze);
    text-decoration: underline;
}

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

.thank-you-icon {
    font-size: 80px;
    margin-bottom: 32px;
    animation: floatIn 0.8s ease forwards;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.thank-you-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--deep-sepia);
    margin-bottom: 16px;
}

.thank-you-text {
    font-size: 17px;
    color: var(--aged-gray);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 40px;
}

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

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--aged-gray);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-content li {
    font-size: 15px;
    color: var(--aged-gray);
    line-height: 1.8;
    margin-bottom: 8px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 80px;
}

.process-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--canvas-cream);
    border: 1px solid var(--wireframe-border);
    transition: all var(--transition-fast);
    cursor: pointer;
    z-index: 88;
}

.process-step:hover {
    z-index: 96;
    border-color: var(--heritage-bronze);
    transform: translateY(-4px);
}

.process-step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--heritage-bronze);
    color: #FFFFFF;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0 auto 16px;
}

.process-step h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--deep-sepia);
    margin-bottom: 8px;
}

.process-step p {
    font-size: 13px;
    color: var(--aged-gray);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .hero-section,
    .page-hero {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content,
    .page-hero-content {
        padding: 60px 24px;
        text-align: center;
    }
    
    .hero-subtitle,
    .page-hero-subtitle {
        margin: 0 auto 32px;
    }
    
    .hero-cta-group {
        justify-content: center;
    }
    
    .hero-badge {
        justify-content: center;
    }
    
    .hero-visual {
        padding: 40px 24px;
    }
    
    .hero-image-frame img {
        height: 350px;
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-item.large,
    .bento-item.wide {
        grid-column: span 1;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .team-visual {
        height: 350px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .timeline-items {
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }
    
    .timeline-line {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-nav,
    .header-cta {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .floating-pill-header {
        padding: 8px 16px;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .achievements-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .achievement-card {
        max-width: 100%;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-consent-banner {
        left: 16px;
        right: 16px;
        max-width: none;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .testimonial-card {
        padding: 40px 24px;
    }
    
    .faq-question {
        padding: 20px 24px;
        font-size: 14px;
    }
    
    .faq-answer-content {
        padding: 0 24px 20px;
    }
}