﻿/* Sakura Meshi "About" landing page. Scoped under body.about-page; shared by ja/en views. */
.about-page {
    --sm-ink: #1f3d63;
    --sm-blue: #3d6fb4;
    --sm-blue-700: #2c5490;
    --sm-blue-100: #dce9f7;
    --sm-blue-50: #f3f7fc;
    --sm-sakura: #f3b9c9;
    --sm-sakura-600: #cf6b87;
    --sm-sakura-50: #fdf3f6;
    --sm-text: #34465d;
    --sm-muted: #66788f;
    --sm-line: #e4ebf3;
    --sm-white: #fff;
    --sm-radius: 20px;
    --sm-shadow: 0 10px 30px rgba(31, 61, 99, .08);
    margin: 0;
    min-width: 0;
    overflow-x: clip;
    background: var(--sm-white);
    color: var(--sm-text);
}
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-page .main { width: 100%; min-width: 0; }
.about-page a:focus-visible, .about-page summary:focus-visible { outline: 3px solid var(--sm-sakura-600); outline-offset: 3px; border-radius: 6px; }
.about-icon { display: block; width: 24px; height: 24px; flex: none; }

/* Header / footer (shared layout) */
.about-nav-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.about-nav-actions .dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--sm-line); border-radius: 999px; padding: 6px 12px; font-size: 14px; color: var(--sm-ink); background: var(--sm-white); }
.about-nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 18px; border-radius: 999px; background: var(--sm-blue); border: 1px solid var(--sm-blue); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.about-nav-cta:hover { background: var(--sm-blue-700); }
.about-page #footer { background: var(--sm-white); }
.about-page #footer .row { margin-left: 0; margin-right: 0; max-width: 100%; }
.about-page #footer .d-md-flex { flex-wrap: wrap; }
.about-page #footer a { overflow-wrap: anywhere; }

/* Layout primitives */
.about-shell { width: min(100%, 1120px); margin: 0 auto; padding-left: 20px; padding-right: 20px; min-width: 0; }
.about-section { padding: 64px 0; }
.about-section-alt { background: var(--sm-blue-50); }
.about-section-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.about-section-head h2, .about-intro h2 { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; font-weight: 800; color: var(--sm-ink); margin: 0 0 14px; overflow-wrap: anywhere; }
.about-section-head p { font-size: 16px; line-height: 1.9; margin: 0; }
.about-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--sm-sakura-600); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
.about-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50% 0; background: var(--sm-sakura); transform: rotate(45deg); }
.about-intro { max-width: 760px; margin: 0 auto; text-align: center; }
.about-intro p { font-size: clamp(16px, 1.5vw, 19px); line-height: 2; margin: 0 0 12px; }
.about-intro p:last-child { margin-bottom: 0; }

/* Buttons */
.about-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 14px 32px; border-radius: 999px; background: var(--sm-blue); border: 2px solid var(--sm-blue); color: #fff; font-size: 17px; font-weight: 700; text-decoration: none; text-align: center; max-width: 100%; box-shadow: 0 10px 24px rgba(61, 111, 180, .28); transition: background .2s, transform .2s, box-shadow .2s; }
.about-btn:hover { background: var(--sm-blue-700); border-color: var(--sm-blue-700); transform: translateY(-1px); }
.about-btn .about-icon { width: 20px; height: 20px; }
.about-btn-light { background: var(--sm-white); border-color: var(--sm-white); color: var(--sm-blue-700); box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }
.about-btn-light:hover { background: var(--sm-sakura-50); border-color: var(--sm-sakura-50); }

/* Hero */
.about-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--sm-sakura-50) 0%, var(--sm-white) 75%); }
.about-hero .about-shell { position: relative; display: grid; grid-template-areas: "copy" "visual" "actions"; gap: 28px; padding-top: 44px; padding-bottom: 48px; }
.about-hero-copy { grid-area: copy; min-width: 0; }
.about-hero-visual { grid-area: visual; }
.about-hero-actions { grid-area: actions; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.about-hero h1 { font-size: clamp(30px, 5.2vw, 54px); line-height: 1.3; font-weight: 800; color: var(--sm-ink); letter-spacing: .01em; margin: 0 0 18px; overflow-wrap: anywhere; }
.about-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.9; margin: 0 0 10px; }
.about-lead:last-child { margin-bottom: 0; }
.about-lead strong { color: var(--sm-ink); font-weight: 700; }
.about-hero-note { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--sm-muted); }
.about-hero-note .about-icon { width: 16px; height: 16px; color: var(--sm-blue); }

.about-hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; min-width: 0; }
.about-phone { position: relative; width: min(280px, 68vw); aspect-ratio: auto; border-radius: 40px; padding: 10px; background: #1c2b3f; box-shadow: 0 30px 60px rgba(31, 61, 99, .22); }
.about-phone-screen { position: relative; width: 100%; height: auto; aspect-ratio: 331 / 727; border-radius: 32px; overflow: hidden; background: #111; }
.about-phone-screen img { width: 100%; height: auto; object-fit: contain; display: block; }
.about-phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 36%; height: 20px; border-radius: 0 0 14px 14px; background: #1c2b3f; z-index: 2; }
.about-phone-sheet { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--sm-white); border-radius: 18px; padding: 14px 14px 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.about-phone-tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--sm-sakura-600); background: var(--sm-sakura-50); border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.about-phone-sheet p { margin: 0 0 10px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--sm-ink); }
.about-phone-btn { display: block; text-align: center; background: var(--sm-blue); color: #fff; border-radius: 999px; padding: 9px; font-size: 13px; font-weight: 700; }
.about-float { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 700; color: var(--sm-ink); box-shadow: var(--sm-shadow); white-space: nowrap; }
.about-float .about-icon { width: 20px; height: 20px; color: var(--sm-blue); }
.about-float-1 { left: 0; top: 16%; }
.about-float-2 { right: 0; bottom: 30%; }
.about-float-2 .about-icon { color: #2f9e6a; }
.about-petal { position: absolute; color: var(--sm-sakura); opacity: .85; pointer-events: none; }
.about-petal-1 { top: 6%; left: 8%; width: 34px; }
.about-petal-2 { top: 40%; right: 4%; width: 26px; transform: rotate(60deg); }
.about-petal-3 { bottom: 8%; left: 14%; width: 22px; transform: rotate(-30deg); }
.about-petal-4 { top: 12%; right: 20%; width: 18px; transform: rotate(120deg); }

/* Card grids */
.about-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
.about-card { background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 28px 24px; box-shadow: var(--sm-shadow); min-width: 0; }
.about-card-icon { width: 56px; height: 56px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: var(--sm-blue-50); color: var(--sm-blue); margin-bottom: 18px; }
.about-card-icon .about-icon { width: 28px; height: 28px; }
.about-card-sakura .about-card-icon { background: var(--sm-sakura-50); color: var(--sm-sakura-600); }
.about-card h3 { font-size: 19px; font-weight: 700; color: var(--sm-ink); line-height: 1.5; margin: 0 0 10px; overflow-wrap: anywhere; }
.about-card p { margin: 0; font-size: 15px; line-height: 1.9; }
.about-card-wide { display: flex; gap: 20px; align-items: flex-start; }
.about-card-wide .about-card-icon { width: 64px; height: 64px; margin: 0; flex: none; }
.about-card-wide .about-card-icon .about-icon { width: 32px; height: 32px; }
.about-card-wide > div { min-width: 0; }

/* Steps */
.about-steps { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); }
.about-step { position: relative; background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 26px 24px; box-shadow: var(--sm-shadow); min-width: 0; }
.about-step-num { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .18em; color: var(--sm-sakura-600); margin-bottom: 14px; }
.about-step-art { height: 96px; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: linear-gradient(135deg, var(--sm-blue-50), var(--sm-sakura-50)); color: var(--sm-blue); margin-bottom: 18px; }
.about-step-art .about-icon { width: 44px; height: 44px; stroke-width: 1.5; }
.about-step h3 { font-size: 19px; font-weight: 700; color: var(--sm-ink); margin: 0 0 10px; line-height: 1.5; overflow-wrap: anywhere; }
.about-step p { margin: 0; font-size: 15px; line-height: 1.9; }
.about-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -20px; width: 12px; height: 12px; border-right: 2px solid var(--sm-blue); border-bottom: 2px solid var(--sm-blue); transform: translateX(-50%) rotate(45deg); }

/* Food categories */
.about-foods { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.about-food { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; text-decoration: none; color: var(--sm-ink); background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: var(--sm-radius); padding: 20px 12px; box-shadow: var(--sm-shadow); min-width: 0; transition: transform .2s, box-shadow .2s; }
a.about-food:hover { transform: translateY(-3px); color: var(--sm-blue); box-shadow: 0 16px 34px rgba(31, 61, 99, .14); }
.about-food-img { width: 104px; height: 104px; border-radius: 50%; padding: 5px; background: linear-gradient(135deg, var(--sm-sakura), var(--sm-blue-100)); flex: none; }
.about-food-img img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: var(--sm-white); }
.about-food-img .about-icon { width: 100%; height: 100%; border-radius: 50%; background: var(--sm-white); color: var(--sm-blue); padding: 26px; }
.about-food span { font-weight: 700; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.about-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.about-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--sm-white); border: 1px solid var(--sm-line); color: var(--sm-ink); font-weight: 700; font-size: 15px; }
.about-chip .about-icon { width: 18px; height: 18px; color: var(--sm-sakura-600); }
.about-foods-cta { text-align: center; margin-top: 32px; }

/* Trust */
.about-trust { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.about-trust-item { display: flex; gap: 14px; align-items: flex-start; background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: 16px; padding: 18px 20px; min-width: 0; }
.about-trust-item .about-card-icon { width: 44px; height: 44px; border-radius: 14px; margin: 0; flex: none; }
.about-trust-item .about-card-icon .about-icon { width: 22px; height: 22px; }
.about-trust-item h3 { font-size: 16px; font-weight: 700; color: var(--sm-ink); margin: 0 0 4px; line-height: 1.5; overflow-wrap: anywhere; }
.about-trust-item p { margin: 0; font-size: 14px; line-height: 1.8; }
.about-trust-item a { color: var(--sm-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Final CTA */
.about-cta { position: relative; overflow: hidden; border-radius: 28px; padding: 56px 24px; text-align: center; color: #fff; background: linear-gradient(135deg, var(--sm-blue-700), var(--sm-blue)); }
.about-cta::before, .about-cta::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.about-cta::before { width: 260px; height: 260px; top: -110px; right: -70px; }
.about-cta::after { width: 180px; height: 180px; bottom: -90px; left: -50px; }
.about-cta > * { position: relative; }
.about-cta h2 { font-size: clamp(24px, 3.6vw, 40px); line-height: 1.4; font-weight: 800; color: #fff; margin: 0 0 14px; overflow-wrap: anywhere; }
.about-cta p { font-size: 16px; line-height: 1.9; margin: 0 auto 28px; max-width: 560px; color: rgba(255, 255, 255, .92); }

/* FAQ */
.about-faq { max-width: 820px; margin: 0 auto; }
.about-faq-item { background: var(--sm-white); border: 1px solid var(--sm-line); border-radius: 16px; padding: 0 20px; margin-bottom: 12px; }
.about-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 16px; font-weight: 700; color: var(--sm-ink); line-height: 1.6; }
.about-faq-item summary::-webkit-details-marker { display: none; }
.about-faq-item summary::after { content: ""; width: 10px; height: 10px; margin: 0 6px 4px 0; border-right: 2px solid var(--sm-blue); border-bottom: 2px solid var(--sm-blue); transform: rotate(45deg); transition: transform .2s; flex: none; }
.about-faq-item[open] summary::after { transform: rotate(-135deg); margin-bottom: -4px; }
.about-faq-item p { margin: 0; padding: 0 0 18px; font-size: 15px; line-height: 1.9; }
.about-faq-item a { color: var(--sm-blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* Responsive */
@media (min-width: 576px) {
    .about-foods { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (min-width: 768px) {
    .about-grid-2, .about-grid-3, .about-grid-4, .about-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .about-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
    .about-step:not(:last-child)::after { left: auto; right: -19px; bottom: auto; top: 50%; border-bottom: 0; border-top: 2px solid var(--sm-blue); transform: translateY(-50%) rotate(45deg); }
    .about-cta { padding: 72px 48px; }
}
@media (min-width: 992px) {
    .about-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .about-hero .about-shell { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "copy visual" "actions visual"; align-items: center; column-gap: 56px; row-gap: 32px; padding-top: 72px; padding-bottom: 80px; }
    .about-hero-copy { align-self: end; }
    .about-hero-actions { align-self: start; }
    .about-hero-visual { padding: 24px 0; }
    .about-phone { width: 300px; }
    .about-section { padding: 88px 0; }
}
@media (max-width: 767px) {
    .about-section { padding: 52px 0; }
}
@media (max-width: 575px) {
    .about-nav-cta { display: none; }
    .about-nav-actions .dropdown-toggle { padding: 6px 10px; }
    .about-shell { padding-left: 16px; padding-right: 16px; }
    .about-lead br, .about-intro br, .about-section-head br, .about-cta br { display: none; }
    .about-btn { width: 100%; }
    .about-hero-actions { align-items: stretch; }
    .about-float { font-size: 12px; padding: 8px 12px; }
    .about-float-1 { left: -2px; }
    .about-float-2 { right: -2px; }
    .about-card { padding: 24px 20px; }
    .about-card-wide { flex-direction: column; gap: 14px; }
    .about-cta { border-radius: 22px; padding: 48px 20px; }
}
@media (prefers-reduced-motion: no-preference) {
    .about-petal { animation: about-drift 7s ease-in-out infinite alternate; }
    .about-petal-2 { animation-delay: -2s; }
    .about-petal-3 { animation-delay: -4s; }
    .about-petal-4 { animation-delay: -1s; }
    @keyframes about-drift {
        from { translate: 0 0; }
        to { translate: 6px 14px; }
    }
}

/* About page header: centered section links with separate account actions. */
.sm-about-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--sm-space-4);
    min-height: var(--sm-header-height);
}
.sm-about-header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--sm-space-5);
    font-size: var(--sm-font-size-sm);
    font-weight: var(--sm-font-weight-medium);
}
.sm-about-header__nav a { white-space: nowrap; }
.sm-about-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--sm-space-2);
    min-width: 0;
}
.sm-about-header__account { position: relative; }
.sm-about-header__account > summary { list-style: none; cursor: pointer; }
.sm-about-header__account > summary::-webkit-details-marker { display: none; }
.sm-about-header__dropdown {
    position: absolute;
    top: calc(100% + var(--sm-space-2));
    right: 0;
    width: min(280px, calc(100vw - 2 * var(--sm-gutter)));
    padding: var(--sm-space-3);
    border: 1px solid var(--sm-color-border);
    border-radius: var(--sm-radius-lg);
    background: var(--sm-color-surface);
    box-shadow: var(--sm-shadow-md);
}
.sm-about-header__name {
    margin: 0;
    padding: var(--sm-space-2) var(--sm-space-3);
    color: var(--sm-color-navy);
    font-weight: var(--sm-font-weight-bold);
}
@media (max-width: 1023px) {
    .sm-about-header {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: var(--sm-space-2);
        padding-top: var(--sm-space-2);
        padding-bottom: var(--sm-space-2);
    }
    .sm-about-header__nav {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-wrap: wrap;
        gap: var(--sm-space-2) var(--sm-space-4);
    }
    .sm-about-header__nav a { padding-block: var(--sm-space-2); }
}
@media (max-width: 479px) {
    .sm-header--about .sm-header__logo img { max-width: 140px; height: auto; }
    .sm-about-header__actions .sm-btn { padding-inline: var(--sm-space-3); }
}
