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

:root {
    --pure-aqua: #F8FCF8;
    --canvas-mist: #EEF4F0;
    --system-light: #E4ECE8;
    --deep-carbon: #282828;
    --system-gray: #485860;
    --flow-blue: #286080;
    --deep-navy: #183850;
    --shadow-soft: rgba(40, 100, 120, 0.12);
    --shadow-medium: rgba(40, 96, 128, 0.26);
    --shadow-strong: rgba(40, 96, 128, 0.34);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.80;
    color: var(--system-gray);
    background-color: var(--pure-aqua);
    overflow-x: hidden;
}

strong, p {
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.28s ease;
}

a:hover {
    color: var(--flow-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--deep-carbon);
    line-height: 0.76;
    letter-spacing: -0.02em;
}

.floating-pill-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 920px;
    background: rgba(248, 252, 250, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 36px;
    box-shadow: 0 16px 56px var(--shadow-soft);
    z-index: 9999;
    padding: 16px 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.36s ease-out;
}

.floating-pill-header.scrolled {
    border-radius: 28px;
    box-shadow: 0 20px 72px var(--shadow-medium);
}

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

.header-logo {
    width: 32px;
    height: 32px;
    color: var(--flow-blue);
}

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

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

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

.header-nav {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.header-nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: var(--system-gray);
    cursor: pointer;
    transition: all 0.28s ease;
    white-space: nowrap;
}

.header-nav-link:hover {
    color: var(--flow-blue);
    background: rgba(40, 96, 128, 0.06);
    transform: scale(1.04);
}

.header-cta {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--flow-blue), var(--deep-navy));
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 10px;
    border-radius: 22px;
    box-shadow: 0 14px 48px var(--shadow-medium);
    transition: all 0.28s ease;
    cursor: pointer;
    white-space: nowrap;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 56px var(--shadow-strong);
    color: white;
}

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

.hamburger-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--deep-carbon);
    border-radius: 2px;
    transition: all 0.28s ease;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--pure-aqua);
    z-index: 10001;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 24px 40px;
    overflow-y: auto;
}

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

.mobile-menu-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--pure-aqua);
    z-index: 9999;
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    background: white;
    border: 1px solid rgba(40, 96, 128, 0.14);
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-link {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--deep-carbon);
    padding: 16px 0;
    text-align: center;
    transition: color 0.28s ease;
}

.mobile-nav-link:hover {
    color: var(--flow-blue);
}

.mobile-menu-cta {
    margin-top: 32px;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--flow-blue), var(--deep-navy));
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 24px;
}

.page-content {
    padding-top: 120px;
}

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

.hero-section.inner-page {
    min-height: 50vh;
}

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

.hero-title {
    font-size: clamp(3rem, 8vw, 8rem);
    color: var(--deep-carbon);
    line-height: 0.76;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--system-gray);
    line-height: 1.6;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-cta {
    display: inline-flex;
    padding: 24px 52px;
    background: linear-gradient(135deg, var(--flow-blue), var(--deep-navy));
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 24px;
    box-shadow: 0 20px 72px var(--shadow-strong);
    gap: 16px;
    transition: all 0.28s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 80px var(--shadow-strong);
    color: white;
}

.hero-secondary {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--deep-carbon);
    margin-top: 20px;
}

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

.fluid-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border: 2px solid rgba(40, 96, 128, 0.10);
    border-radius: 20px;
    box-shadow: 0 48px 160px var(--shadow-soft);
    overflow: hidden;
}

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

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

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

.fluid-canvas-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pure-aqua);
    overflow: hidden;
    z-index: -1;
}

.fluid-wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, var(--canvas-mist) 0%, var(--system-light) 50%, var(--canvas-mist) 100%);
    opacity: 0.5;
    animation: flow 20s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(80px);
}

@keyframes flow {
    0% { transform: translate(-25%, -25%) rotate(0deg); }
    100% { transform: translate(-25%, -25%) rotate(360deg); }
}

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

.marquee-track {
    display: flex;
    gap: 56px;
    animation: marquee 30s linear infinite;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border-radius: 16px;
    white-space: nowrap;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--deep-carbon);
    box-shadow: 0 4px 16px var(--shadow-soft);
}

.marquee-icon {
    font-size: 20px;
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--canvas-mist);
}

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

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: white;
}

.section-dark p, .section-dark strong {
    color: rgba(255, 255, 255, 0.85);
}

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

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--system-gray);
    max-width: 600px;
    margin: 0 auto;
}

.timeline-section {
    padding: 100px 0;
    background: var(--pure-aqua);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--flow-blue), var(--deep-navy));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.timeline-node {
    width: 80px;
    height: 80px;
    background: white;
    border: 3px solid var(--flow-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: var(--flow-blue);
    margin-bottom: 20px;
    transition: all 0.30s ease;
    cursor: pointer;
    z-index: 2;
}

.timeline-item:hover .timeline-node {
    transform: scale(1.08);
    background: var(--flow-blue);
    color: white;
    box-shadow: 0 16px 48px var(--shadow-medium);
    z-index: 96;
}

.timeline-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--deep-carbon);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 12px;
    color: var(--system-gray);
}

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

.card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px var(--shadow-soft);
    transition: all 0.30s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--shadow-medium);
    z-index: 96;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.card-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.card-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--system-gray);
}

.card-value {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: var(--flow-blue);
    margin-bottom: 8px;
}

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

.bento-item {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 16px var(--shadow-soft);
    transition: all 0.30s ease;
    cursor: pointer;
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px var(--shadow-medium);
    z-index: 96;
}

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

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

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

.bento-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.bento-text {
    font-size: 13px;
    color: var(--system-gray);
}

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

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

.team-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.30s ease;
}

.team-item:hover {
    background: var(--canvas-mist);
    transform: translateX(8px);
}

.team-item-icon {
    font-size: 32px;
}

.team-item-info {
    flex: 1;
}

.team-item-role {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--flow-blue);
    margin-bottom: 4px;
}

.team-item-name {
    font-size: 16px;
    color: var(--deep-carbon);
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    background: var(--canvas-mist);
    border-radius: 24px;
    overflow: hidden;
}

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

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

.faq-item {
    border-bottom: 1px solid var(--system-light);
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.30s ease;
}

.faq-item:hover {
    background: rgba(40, 96, 128, 0.04);
    padding-left: 16px;
    z-index: 96;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--deep-carbon);
}

.faq-icon {
    font-size: 20px;
    color: var(--flow-blue);
    transition: transform 0.30s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.40s ease-out;
    font-size: 14px;
    color: var(--system-gray);
    line-height: 1.7;
    padding-top: 16px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.reviews-carousel {
    display: flex;
    gap: 32px;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    overflow: hidden;
}

.review-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px var(--shadow-soft);
    text-align: center;
    transition: all 0.40s ease;
    cursor: pointer;
}

.review-card:hover {
    z-index: 96;
}

.review-card.center {
    transform: scale(1.15);
    z-index: 100;
}

.review-card.side {
    transform: scale(0.85);
    opacity: 0.6;
}

.review-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
}

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

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

.review-text {
    font-size: 14px;
    color: var(--system-gray);
    line-height: 1.7;
}

.review-stars {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 12px;
}

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

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

.contact-info-icon {
    font-size: 24px;
    color: var(--flow-blue);
}

.contact-info-label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: var(--system-gray);
    margin-bottom: 4px;
}

.contact-info-value {
    font-size: 16px;
    color: var(--deep-carbon);
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px var(--shadow-soft);
}

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--system-light);
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--deep-carbon);
    transition: border-color 0.28s ease;
    background: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--flow-blue);
}

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

.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--flow-blue), var(--deep-navy));
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.28s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--shadow-medium);
}

.site-footer {
    background: var(--system-light);
    border-top: 2px solid var(--flow-blue);
    padding: 80px 0 40px;
}

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

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

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

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

.footer-logo-text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--deep-carbon);
}

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

.footer-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--deep-carbon);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 13px;
    color: var(--system-gray);
    transition: color 0.28s ease;
}

.footer-link:hover {
    color: var(--flow-blue);
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--system-gray);
}

.footer-copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(40, 96, 128, 0.2);
}

.footer-copyright p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 11px;
    color: var(--system-gray);
}

.footer-special-text {
    font-size: 10px;
    color: var(--system-gray);
    text-align: center;
    margin-top: 8px;
}

.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 420px;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 16px 56px var(--shadow-soft);
    z-index: 9990;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

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

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

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

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

.cookie-category-name {
    font-weight: 500;
    font-size: 13px;
    color: var(--deep-carbon);
    min-width: 100px;
}

.cookie-category-desc {
    font-size: 11px;
    color: var(--system-gray);
}

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

.cookie-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.28s ease;
    text-align: center;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--flow-blue), var(--deep-navy));
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--system-gray);
    border: 2px solid var(--system-light);
}

.cookie-btn-decline:hover {
    border-color: var(--flow-blue);
    color: var(--flow-blue);
}

.cookie-links {
    margin-top: 16px;
    text-align: center;
}

.cookie-link {
    font-size: 11px;
    color: var(--flow-blue);
    text-decoration: underline;
    margin: 0 8px;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    margin-top: 24px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.gallery-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.gallery-desc {
    font-size: 12px;
    opacity: 0.8;
}

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

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

.legal-content h3 {
    font-size: 18px;
    margin-bottom: 16px;
    margin-top: 32px;
}

.legal-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

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

.legal-content li {
    margin-bottom: 8px;
}

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

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

.thank-you-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
}

.thank-you-text {
    font-size: 18px;
    color: var(--system-gray);
    max-width: 500px;
    margin: 0 auto 40px;
}

.lens-effect {
    position: fixed;
    width: 224px;
    height: 224px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9991;
    opacity: 0;
    transition: opacity 0.18s ease-out;
    mix-blend-mode: screen;
    background: radial-gradient(circle, rgba(40, 96, 128, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .floating-pill-header {
        max-width: calc(100% - 48px);
    }
    
    .header-nav {
        display: none;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 120px;
    }
    
    .hero-content {
        padding: 0 24px 60px;
        order: 2;
    }
    
    .hero-visual {
        min-height: 400px;
        order: 1;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-section {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .floating-pill-header {
        padding: 12px 20px;
        max-width: calc(100% - 32px);
    }
    
    .page-content {
        padding-top: 88px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .hero-content {
        padding: 0 16px 40px;
    }
    
    .hero-cta {
        padding: 18px 36px;
        font-size: 13px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-large,
    .bento-wide {
        grid-column: span 1;
    }
    
    .timeline {
        flex-direction: column;
        gap: 40px;
    }
    
    .timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        right: auto;
        width: 4px;
        height: auto;
    }
    
    .timeline-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }
    
    .timeline-node {
        margin-bottom: 0;
        margin-right: 20px;
        min-width: 80px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-carousel {
        flex-direction: column;
    }
    
    .review-card.center,
    .review-card.side {
        transform: none;
        opacity: 1;
    }
    
    .cookie-banner {
        left: 16px;
        right: 16px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .hero-visual {
        min-height: 300px;
    }
    
    .header-brand-text {
        display: none;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}