/* ============================================================
   hitotsuzutsu.miryu-kamiya.com  style.css
   テーマ：アプリアイコンの「飛び石」。背景色はスクリーンショットと同じ #EEF5F1
   ============================================================ */
:root {
    --mist: #EEF5F1;
    --paper: #FBFDFC;
    --ink: #12302E;
    --ink-2: #46615D;
    --line: rgba(18, 48, 46, 0.13);
    --teal: #00504C;
    --teal-2: #0B6B65;
    --deep: #0F3A37;
    --lagoon: #4FB3C1;
    --st-blue: #CFE7F8;
    --st-sky: #BCE5EC;
    --st-mint: #C9EDD7;
    --st-sun: #F5D35B;
    --focus: #2A93A4;

    --wrap: 1120px;
    --gutter: clamp(20px, 4vw, 40px);
    --header-h: 64px;

    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --font-round: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* 言語ごとのフォント（漢字の字形が言語で異なるため分ける） */
:lang(ja) {
    --font-body: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
    --font-round: ui-rounded, "Hiragino Maru Gothic ProN", "BIZ UDPGothic", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
}
:lang(zh-Hans) {
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --font-round: ui-rounded, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}
:lang(zh-Hant) {
    --font-body: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
    --font-round: ui-rounded, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
:lang(ko) {
    --font-body: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    --font-round: ui-rounded, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--ink);
    background: var(--mist);
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

:lang(ja) body, :lang(zh-Hans) body, :lang(zh-Hant) body { line-height: 1.9; }
:lang(ja), :lang(zh-Hans), :lang(zh-Hant) { line-break: strict; word-break: normal; }
:lang(ko) { word-break: keep-all; }

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

a { color: var(--teal-2); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal); }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 6px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 300;
    padding: 10px 16px;
    background: var(--ink);
    color: #fff;
    border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.wrap {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---------------- ヘッダー ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(238, 245, 241, 0.88);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-round);
    font-weight: 700;
    font-size: 1.05rem;
}
.brand:hover { color: var(--ink); }
.brand-icon { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.site-nav { display: flex; align-items: center; gap: 12px; }
.nav-list { display: flex; gap: 2px; list-style: none; }
.nav-list a {
    display: block;
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--ink-2);
    font-size: 0.93rem;
    text-decoration: none;
    white-space: nowrap;
}
.nav-list a:hover { color: var(--ink); background: rgba(0, 80, 76, 0.07); }
.nav-list a[aria-current="page"] { color: var(--teal); background: rgba(0, 80, 76, 0.1); font-weight: 600; }

.menu-toggle { display: none; }

/* 言語切り替え */
.lang { position: relative; }
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    font: inherit;
    font-size: 0.9rem;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    cursor: pointer;
}
.lang-toggle:hover { border-color: rgba(0, 80, 76, 0.35); }
.lang-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    padding: 6px;
    list-style: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 40px -20px rgba(0, 80, 76, 0.45);
    display: none;
}
.lang.is-open .lang-menu { display: block; }
.lang-menu a {
    display: block;
    padding: 8px 12px;
    border-radius: 9px;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.95rem;
}
.lang-menu a:hover { background: var(--mist); }
.lang-menu a[aria-current="true"] { background: rgba(0, 80, 76, 0.1); color: var(--teal); font-weight: 600; }

/* ---------------- 共通の帯 ---------------- */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band-title {
    font-family: var(--font-round);
    font-weight: 700;
    font-size: clamp(1.6rem, 3.2vw, 2.25rem);
    line-height: 1.35;
    letter-spacing: -0.005em;
    color: var(--ink);
}
:lang(ja) .band-title, :lang(zh-Hans) .band-title, :lang(zh-Hant) .band-title { letter-spacing: 0.02em; }
.band-lead {
    margin-top: 14px;
    max-width: 38em;
    color: var(--ink-2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 26px;
    font: inherit;
    font-weight: 600;
    color: #fff;
    background: var(--teal);
    border: 0;
    border-radius: 999px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.btn:hover { background: var(--teal-2); color: #fff; }
.btn-wide { width: 100%; }

/* ---------------- ヒーロー ---------------- */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: clamp(32px, 6vw, 72px);
}
.hero-kicker {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--teal);
    background: var(--st-mint);
    border-radius: 999px;
}
.hero-title {
    margin-top: 20px;
    font-family: var(--font-round);
    font-weight: 700;
    font-size: clamp(2.2rem, 5.4vw, 3.9rem);
    line-height: 1.18;
    letter-spacing: -0.015em;
    color: var(--ink);
}
:lang(ja) .hero-title, :lang(zh-Hans) .hero-title, :lang(zh-Hant) .hero-title, :lang(ko) .hero-title {
    line-height: 1.3;
    letter-spacing: 0.02em;
}
.hero-lead {
    margin-top: 22px;
    max-width: 30em;
    font-size: 1.12rem;
    color: var(--ink-2);
}
.hero-note { margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); }

.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store-buttons.is-center { justify-content: center; }
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 9px 22px 9px 18px;
    color: #fff;
    background: var(--ink);
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.25;
}
.store-btn:hover { color: #fff; background: var(--teal); }
.store-btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-btn small { display: block; font-size: 0.74rem; font-weight: 500; opacity: 0.85; }
.store-btn.is-soon {
    color: var(--ink-2);
    background: transparent;
    border: 1.5px dashed rgba(18, 48, 46, 0.3);
    cursor: default;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding-left: 48px;
}
.hero-phone {
    position: relative;
    z-index: 1;
    width: min(300px, 100%);
    border: 7px solid var(--ink);
    border-radius: 40px;
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 40px 70px -36px rgba(0, 80, 76, 0.55);
}
.hero-phone img { width: 100%; }

/* アイコンの飛び石 */
.hero-stones {
    position: absolute;
    left: -8px;
    bottom: -24px;
    width: 200px;
    z-index: 2;
    overflow: visible;
}
.hero-stones .trail { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 2 16; }
.hero-stones .s1 ellipse { fill: var(--st-blue); }
.hero-stones .s2 ellipse { fill: var(--st-mint); }
.hero-stones .s3 ellipse { fill: var(--st-sun); }
.hero-stones .stone ellipse { stroke: rgba(0, 80, 76, 0.12); stroke-width: 1.5; }
.hero-stones .check { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }

/* ページ表示時の一度きりの動き：石が一つずつ置かれる */
@media (prefers-reduced-motion: no-preference) {
    .hero-stones .stone { transform-box: fill-box; transform-origin: 50% 100%; animation: stone-in 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
    .hero-stones .s1 { animation-delay: 0.25s; }
    .hero-stones .s2 { animation-delay: 0.55s; }
    .hero-stones .s3 { animation-delay: 0.85s; }
    .hero-stones .trail { animation: trail-in 0.9s ease both 0.3s; }
    .hero-stones .check { stroke-dasharray: 40; stroke-dashoffset: 40; animation: check-in 0.35s ease forwards 1.3s; }
}
@keyframes stone-in { from { opacity: 0; transform: translateY(14px) scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes trail-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes check-in { to { stroke-dashoffset: 0; } }

/* ---------------- こんなときに ---------------- */
.band-moments { background: var(--paper); }
.moments {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
    margin-top: 40px;
}
.moments li { position: relative; padding-top: 34px; }
.moments li::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 44px; height: 22px;
    border-radius: 50%;
    background: var(--st-blue);
}
.moments li:nth-child(2)::before { background: var(--st-mint); }
.moments li:nth-child(3)::before { background: var(--st-sun); }
.moment-q {
    font-family: var(--font-round);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.5;
}
.moment-a { margin-top: 10px; color: var(--ink-2); }

/* ---------------- 使い方：飛び石 ---------------- */
.band-how { background: var(--mist); }
.path {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    margin-top: 56px;
}
.path-step { position: relative; }
.path-step:nth-child(1) { margin-top: 96px; }
.path-step:nth-child(2) { margin-top: 64px; }
.path-step:nth-child(3) { margin-top: 32px; }

/* 石と石をつなぐ点線（右上の次の石へ） */
.path-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 92px;
    top: 26px;
    width: calc(100% - 64px);
    border-top: 5px dotted #fff;
    transform-origin: 0 50%;
    transform: rotate(-9deg);
}
.path-stone {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 54px;
    border-radius: 50%;
    font-family: var(--font-round);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--teal);
    box-shadow: 0 7px 0 -1px rgba(0, 80, 76, 0.13);
}
.tone-blue .path-stone { background: var(--st-blue); }
.tone-sky .path-stone { background: var(--st-sky); }
.tone-mint .path-stone { background: var(--st-mint); }
.tone-sun .path-stone { background: var(--st-sun); color: #fff; }
.path-title {
    margin-top: 22px;
    font-family: var(--font-round);
    font-size: 1.15rem;
    line-height: 1.45;
}
.path-body { margin-top: 8px; font-size: 0.98rem; color: var(--ink-2); }

/* ---------------- スクリーンショット ---------------- */
.band-shots { background: var(--deep); color: #fff; }
.band-shots .band-title { color: #fff; }
.shots-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.shots-nav { display: flex; gap: 8px; }
.shots-btn {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    cursor: pointer;
}
.shots-btn:hover { background: rgba(255, 255, 255, 0.16); }
.shots {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-top: 36px;
    padding: 4px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}
.shot { position: relative; flex: 0 0 auto; width: clamp(200px, 22vw, 250px); scroll-snap-align: start; }
.shot-open {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    border-radius: 20px;
    cursor: zoom-in;
}
.shot-open img { width: 100%; border-radius: 20px; }
.shot-tag {
    position: absolute;
    right: 12px; bottom: 12px;
    padding: 2px 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--ink);
    background: var(--st-sun);
    border-radius: 999px;
}

.viewer {
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    max-width: 92vw;
    max-height: 92vh;
    overflow: visible;
}
.viewer::backdrop { background: rgba(10, 30, 28, 0.82); }
.viewer img { max-height: 88vh; width: auto; border-radius: 22px; }
.viewer-close {
    position: absolute;
    right: -8px; top: -8px;
    z-index: 1;
    width: 44px; height: 44px;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--ink);
    background: #fff;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
}

/* ---------------- やさしい設計 ---------------- */
.band-care { background: var(--paper); }
.cares {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(24px, 4vw, 48px);
    margin-top: 40px;
}
.care { padding: 26px 0; border-top: 1px solid var(--line); }
.care dt {
    font-family: var(--font-round);
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.45;
}
.care dd { margin-top: 8px; font-size: 0.98rem; color: var(--ink-2); }

/* ---------------- 無料版と Plus ---------------- */
.band-plans { background: var(--mist); }
.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 40px;
    max-width: 880px;
}
.plan { padding: clamp(24px, 3.5vw, 36px); border-radius: 28px; }
.plan-free { background: var(--paper); border: 1px solid var(--line); }
.plan-plus { background: var(--teal); color: #fff; }
.plan-name { font-family: var(--font-round); font-size: 1.35rem; }
.plan-price { margin-top: 4px; font-size: 0.95rem; opacity: 0.85; }
.plan-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.plan-list li { position: relative; padding-left: 30px; }
.plan-list li::before {
    content: "";
    position: absolute;
    left: 2px; top: 0.72em;
    width: 16px; height: 10px;
    border-radius: 50%;
    background: var(--st-mint);
}
.plan-plus .plan-list li::before { background: var(--st-sun); }
.plans-note { margin-top: 20px; max-width: 880px; font-size: 0.9rem; color: var(--ink-2); }

/* ---------------- アプリ情報・ご利用にあたって ---------------- */
.band-info { background: var(--paper); }
.info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 72px);
    align-items: start;
}
.meta { margin-top: 24px; }
.meta div {
    display: grid;
    grid-template-columns: 9.5em minmax(0, 1fr);
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.meta dt { color: var(--ink-2); font-size: 0.95rem; }
.meta dd { font-weight: 600; }
.notice {
    padding: clamp(22px, 3vw, 32px);
    background: #FCF6DD;
    border-radius: 24px;
}
.notice h3 { font-family: var(--font-round); font-size: 1.15rem; }
.notice p { margin-top: 10px; font-size: 0.97rem; color: var(--ink-2); }

/* ---------------- ダウンロード ---------------- */
.band-cta { background: var(--mist); }
.cta { text-align: center; }
.cta-icon { width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 22px; box-shadow: 0 18px 30px -18px rgba(0, 80, 76, 0.5); }
.cta .band-lead { margin-left: auto; margin-right: auto; }

/* ---------------- 下層ページ ---------------- */
.page-head { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); }
.page-title {
    font-family: var(--font-round);
    font-weight: 700;
    font-size: clamp(1.9rem, 4.2vw, 2.8rem);
    line-height: 1.3;
}
.page-lead { margin-top: 14px; max-width: 38em; color: var(--ink-2); }
.band-doc { background: var(--paper); padding-top: clamp(40px, 6vw, 72px); }

.doc-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.92rem; }
.toc-title { font-weight: 700; margin-bottom: 8px; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; }
.toc a {
    display: flex;
    gap: 8px;
    padding: 5px 10px;
    border-radius: 8px;
    color: var(--ink-2);
    text-decoration: none;
    line-height: 1.5;
}
.toc a::before { content: counter(toc) "."; color: var(--teal-2); min-width: 1.4em; }
.toc a:hover { background: var(--mist); color: var(--ink); }

.doc { max-width: 44em; }
.doc-dates { font-size: 0.9rem; color: var(--ink-2); margin-bottom: 24px; }
.doc p, .doc ul { margin-top: 12px; }
.doc ul { padding-left: 1.3em; }
.doc li + li { margin-top: 4px; }
.doc-section { padding-top: 36px; }
.doc-section h2 {
    font-family: var(--font-round);
    font-size: 1.25rem;
    line-height: 1.45;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}
.doc-num { color: var(--teal-2); }
.doc-links { list-style: none; padding-left: 0 !important; font-size: 0.93rem; }
.doc-links a { word-break: break-all; }
.doc-operator { margin-top: 48px !important; font-size: 0.9rem; color: var(--ink-2); }

/* お問い合わせ */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
}
.faq-title, .form-title { font-family: var(--font-round); font-size: 1.35rem; line-height: 1.4; }
.faq-lead { margin-top: 8px; color: var(--ink-2); font-size: 0.97rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.faq-item summary {
    position: relative;
    padding: 16px 36px 16px 0;
    font-weight: 600;
    line-height: 1.55;
    cursor: pointer;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "";
    position: absolute;
    right: 6px; top: 50%;
    width: 10px; height: 10px;
    border-right: 2px solid var(--teal-2);
    border-bottom: 2px solid var(--teal-2);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item p { padding: 0 0 18px; color: var(--ink-2); font-size: 0.97rem; }

.form-card {
    padding: clamp(24px, 3.5vw, 40px);
    background: var(--mist);
    border-radius: 28px;
}
.form-note { margin: 10px 0 20px; font-size: 0.93rem; color: var(--ink-2); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.95rem; }
.req, .opt {
    display: inline-block;
    margin-left: 6px;
    padding: 0 8px;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.7;
    border-radius: 999px;
    vertical-align: 0.1em;
}
.req { color: #fff; background: var(--teal-2); }
.opt { color: var(--ink-2); background: rgba(18, 48, 46, 0.08); }
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid rgba(18, 48, 46, 0.18);
    border-radius: 12px;
}
.field textarea { resize: vertical; min-height: 180px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(42, 147, 164, 0.22);
}
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check input { width: 20px; height: 20px; margin-top: 4px; accent-color: var(--teal); flex-shrink: 0; }
.field-check label { font-weight: 400; margin: 0; }
.field-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-mail { margin-top: 14px; font-size: 0.85rem; color: var(--ink-2); }

.alert { padding: 14px 16px; margin: 16px 0; border-radius: 12px; font-weight: 600; }
.alert-success { background: #DDF3E6; color: #11533A; }
.alert-error { background: #FBE3DF; color: #8A2A1C; }

/* 404 */
.page-404 { text-align: center; padding-bottom: clamp(72px, 10vw, 120px); }
.page-404 .page-lead { margin-left: auto; margin-right: auto; }
.page-404 .btn { margin-top: 28px; }
.lost-stones { width: 200px; margin: 0 auto 28px; }
.lost-stones .st-blue { fill: var(--st-blue); }
.lost-stones .st-mint { fill: var(--st-mint); }
.lost-stones .st-empty { fill: none; stroke: var(--teal-2); stroke-width: 2; stroke-dasharray: 5 6; }

/* ---------------- フッター ---------------- */
.site-footer { background: var(--deep); color: rgba(255, 255, 255, 0.82); padding: 48px 0 40px; }
.footer-inner {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 40px;
    align-items: center;
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { border-radius: 10px; }
.footer-name { font-family: var(--font-round); font-weight: 700; color: #fff; }
.footer-lead { font-size: 0.9rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-nav a { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-copy { grid-column: 1 / -1; font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 960px) {
    .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; }
    .path-step:nth-child(n) { margin-top: 0; }
    .path-step:not(:last-child)::after { display: none; }
    .cares { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .doc-layout { grid-template-columns: minmax(0, 1fr); }
    .toc { position: static; padding: 18px 20px; background: var(--mist); border-radius: 18px; }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: grid;
        place-items: center;
        width: 44px; height: 44px;
        border: 0;
        background: transparent;
        border-radius: 12px;
        cursor: pointer;
    }
    .menu-toggle-bars { display: grid; gap: 6px; }
    .menu-toggle-bars span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease; }
    .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:first-child { transform: translateY(4px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] .menu-toggle-bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

    .site-nav {
        position: absolute;
        left: 0; right: 0;
        top: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px var(--gutter) 20px;
        background: var(--mist);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -28px rgba(0, 80, 76, 0.5);
        display: none;
    }
    .site-nav.is-open { display: flex; }
    .nav-list { flex-direction: column; }
    .nav-list a { padding: 12px 14px; font-size: 1rem; border-radius: 12px; }
    .lang-toggle { width: 100%; justify-content: center; padding: 11px 14px; }
    .lang-menu {
        position: static;
        margin-top: 8px;
        display: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        box-shadow: none;
    }
    .lang.is-open .lang-menu { display: grid; }

    .hero-inner { grid-template-columns: minmax(0, 1fr); }
    .hero-visual { padding-left: 0; }
    .hero-phone { width: min(260px, 72vw); }
    .hero-stones { width: 150px; left: calc(50% - 200px); }

    .moments { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .plans { grid-template-columns: minmax(0, 1fr); }
    .info-grid { grid-template-columns: minmax(0, 1fr); }
    .contact-layout { grid-template-columns: minmax(0, 1fr); }
    .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
    body { font-size: 1rem; }
    .path { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .path-step { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: 18px; padding-bottom: 28px; }
    .path-step .path-stone { grid-row: 1 / span 2; }
    .path-step:not(:last-child)::after {
        display: block;
        left: 42px; top: 60px;
        width: 0; height: calc(100% - 64px);
        border-top: 0;
        border-left: 5px dotted #fff;
        transform: none;
    }
    .path-title { margin-top: 12px; }
    .cares { grid-template-columns: minmax(0, 1fr); }
    .meta div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .store-btn { flex: 1 1 100%; justify-content: center; }
    .shots-nav { display: none; }
    .shot { width: 62vw; }
    .hero-stones { left: 0; width: 120px; bottom: -16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
