/* =============================================================
   まるっと予約（apply_golf_tour.php）2026-11-08 刷新
   ・ヒーロー（緑のグラデーション。PC は浮いたヘッダーの裏まで敷く）
   ・STEP1 ゴルフ場をカードで選ぶ（エリア・キーワード・お気に入りで絞り込み／詳細はドロワー）
   ・右（SP は下）に「選んだゴルフ場」リスト。日程・時間帯はここで入れる
   ============================================================= */
.mt-page {
    --mt-green: #376439;
    --mt-green-dark: #24432a;
    --mt-green-pale: #eef5ee;
    --mt-green-line: #d6e6d6;
    --mt-ink: #1f2a20;
    --mt-muted: #5f6b60;
    --mt-line: #e3e8e3;
    --mt-bg: #f5f7f4;
    --mt-accent: #f59e0b;
    --mt-danger: #c62828;
    color: var(--mt-ink);
    background: var(--mt-bg);
    /* hidden だと縦スクロールの箱になり、右の「選んだゴルフ場」の sticky（追従）が効かなくなる。clip ははみ出しだけ切る */
    overflow-x: clip;
}

.mt-page * { box-sizing: border-box; }

.mt-page h1, .mt-page h2, .mt-page h3, .mt-page p, .mt-page li { word-break: auto-phrase; }

#user-section.mt-page { padding: 0; }

.mt-inner { max-width: 1320px; margin: 0 auto; padding: 0 15px; }  /* 本文の幅はサイト共通の .container と同じ（css/site-width.css: 1400px以上で1320px） */
@media screen and (max-width: 1399px) { .mt-inner { max-width: 1170px; } }

/* ── Hero ── */
.mt-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at 85% 10%, rgba(255, 255, 255, .12) 0%, transparent 45%),
        linear-gradient(150deg, #24432a 0%, #376439 55%, #4f8a4f 100%);
}
/* ゴルフのモチーフ（ボール・旗・ティー・軌道）を薄く散らす */
.mt-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22280%22 height=%22280%22 viewBox=%220 0 280 280%22 fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E %3Cg transform=%22translate(34 40) rotate(-12)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2210%22/%3E%3Ccircle cx=%22-3%22 cy=%22-3%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%223%22 cy=%22-2%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%220%22 cy=%223%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%22-4%22 cy=%223%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%224%22 cy=%224%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3C/g%3E %3Cg transform=%22translate(176 54) rotate(6)%22%3E%3Cpath d=%22M0 34V0%22/%3E%3Cpath d=%22M0 2l18 6-18 7%22 fill=%22%23fff%22 fill-opacity=%22.35%22/%3E%3Cellipse cx=%220%22 cy=%2236%22 rx=%229%22 ry=%222.5%22/%3E%3C/g%3E %3Cg transform=%22translate(96 150) rotate(18)%22%3E%3Cpath d=%22M-7 0h14%22/%3E%3Cpath d=%22M-4 0l3 16h2l3-16%22/%3E%3C/g%3E %3Cpath d=%22M30 230c30-46 72-58 112-40%22 stroke-dasharray=%222 7%22/%3E %3Cg transform=%22translate(150 186) rotate(20)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%226%22/%3E%3C/g%3E %3Cg transform=%22translate(236 168)%22%3E%3Cpath d=%22M0-7v14M-7 0h14%22/%3E%3C/g%3E %3Cg transform=%22translate(212 246) rotate(-8)%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%229%22/%3E%3Ccircle cx=%22-3%22 cy=%22-2%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%223%22 cy=%22-1%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3Ccircle cx=%220%22 cy=%223%22 r=%221%22 fill=%22%23fff%22 stroke=%22none%22/%3E%3C/g%3E %3Cg transform=%22translate(60 112)%22%3E%3Cpath d=%22M0-4v8M-4 0h8%22/%3E%3C/g%3E %3Cg transform=%22translate(250 100) rotate(-20)%22%3E%3Cpath d=%22M-6 0h12%22/%3E%3Cpath d=%22M-3 0l2 12h2l2-12%22/%3E%3C/g%3E %3C/svg%3E");
    background-size: 280px 280px;
    opacity: .09;
    pointer-events: none;
}
.mt-hero::after {
    content: "";
    position: absolute; left: -10%; right: -10%; bottom: -200px; height: 300px;
    border-radius: 50%; background: var(--mt-bg);
}
.mt-hero .mt-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; gap: 48px;
    padding-top: 140px; padding-bottom: 120px;
}
.mt-hero-text { flex: 1 1 0; min-width: 0; }
.mt-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 14px 6px 10px; margin-bottom: 18px;
    border-radius: 999px; background: rgba(255, 255, 255, .14);
    font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.mt-hero-eyebrow .material-icons { font-size: 18px; }
.mt-hero h1 {
    margin: 0 0 18px; color: #fff;
    font-size: 44px; font-weight: 800; line-height: 1.3; letter-spacing: .02em;
}
.mt-hero-lead { margin: 0 0 28px; font-size: 16px; line-height: 1.9; color: rgba(255, 255, 255, .9); max-width: 560px; }
.mt-steps { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mt-steps li {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 16px 10px 10px; border-radius: 14px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
    font-size: 14px; font-weight: 700;
}
.mt-steps .mt-step-no {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; color: var(--mt-green); font-size: 13px; font-weight: 800;
}
.mt-hero-visual { position: relative; flex: 0 0 420px; height: 360px; }
.mt-hero-photo {
    position: absolute; margin: 0; overflow: hidden;
    border-radius: 18px; background: #2f5233;
    box-shadow: 0 24px 50px rgba(10, 30, 12, .35);
    border: 4px solid rgba(255, 255, 255, .9);
}
.mt-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mt-hero-photo figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 18px 12px 8px; font-size: 12px; font-weight: 700; color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6));
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mt-hero-photo--1 { left: 0; top: 40px; width: 230px; height: 170px; transform: rotate(-6deg); }
.mt-hero-photo--2 { right: 0; top: 0; width: 220px; height: 160px; transform: rotate(5deg); }
.mt-hero-photo--3 { left: 90px; bottom: 0; width: 250px; height: 170px; transform: rotate(-1deg); z-index: 2; }
.mt-hero-pin {
    position: absolute; z-index: 3; right: 30px; bottom: 60px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--mt-green);
    font-size: 13px; font-weight: 800; box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.mt-hero-pin .material-icons { font-size: 18px; color: var(--mt-accent); }

/* ── レイアウト ── */
.mt-body { position: relative; z-index: 2; margin-top: -70px; padding-bottom: 80px; }
.mt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 28px; align-items: start; }
.mt-card {
    background: #fff; border-radius: 20px; padding: 28px;
    box-shadow: 0 10px 30px rgba(20, 50, 22, .08); border: 1px solid var(--mt-line);
}
.mt-card + .mt-card { margin-top: 24px; }
.mt-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.mt-card-step {
    flex: 0 0 auto; padding: 4px 10px; border-radius: 8px;
    background: var(--mt-green-pale); color: var(--mt-green);
    font-size: 12px; font-weight: 800; letter-spacing: .06em;
}
.mt-card-head h2 { margin: 0; font-size: 22px; font-weight: 800; color: var(--mt-ink); }
.mt-card-head p { margin: 2px 0 0; font-size: 13px; color: var(--mt-muted); }

/* ── 絞り込み ── */
.mt-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.mt-search { position: relative; }
.mt-search .material-icons { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--mt-muted); }
.mt-search input {
    width: 100%; height: 48px; padding: 0 16px 0 44px;
    border: 1px solid var(--mt-line); border-radius: 12px; background: #fafbfa;
    font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.mt-search input:focus { border-color: var(--mt-green); box-shadow: 0 0 0 3px rgba(55, 100, 57, .15); background: #fff; }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-chip {
    display: inline-flex; align-items: center; gap: 4px;
    height: 34px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--mt-line); background: #fff; color: var(--mt-ink);
    font-size: 13px; font-weight: 700; cursor: pointer; transition: all .15s;
}
.mt-chip:hover { border-color: var(--mt-green); color: var(--mt-green); }
.mt-chip.is-active { background: var(--mt-green); border-color: var(--mt-green); color: #fff; }
.mt-chip .material-icons { font-size: 16px; }
.mt-chip-group { font-size: 11px; font-weight: 800; color: var(--mt-muted); align-self: center; margin: 0 2px 0 6px; }
.mt-chip-count { font-weight: 600; opacity: .7; }

/* ── おまかせ ── */
.mt-omakase { margin-bottom: 22px; padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #f3f8f2, #fbfaf3); border: 1px dashed var(--mt-green-line); }
.mt-omakase-title { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 14px; font-weight: 800; color: var(--mt-green); }
.mt-omakase-title small { font-weight: 600; color: var(--mt-muted); }
.mt-omakase-list { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-omakase-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 12px; border: 1px solid var(--mt-line); background: #fff;
    font-size: 13px; font-weight: 700; color: var(--mt-ink); cursor: pointer; transition: all .15s;
}
.mt-omakase-btn .material-icons { font-size: 18px; color: var(--mt-green); }
.mt-omakase-btn:hover { border-color: var(--mt-green); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(20, 50, 22, .1); }

/* ── ゴルフ場カード ── */
.mt-result-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 13px; color: var(--mt-muted); }
.mt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mt-club {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    border-radius: 16px; background: #fff; border: 1px solid var(--mt-line);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.mt-club:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(20, 50, 22, .12); }
.mt-club.is-selected { border-color: var(--mt-green); box-shadow: 0 0 0 2px var(--mt-green) inset; }
.mt-club-photo {
    position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0;
    background: linear-gradient(135deg, #cfe3cf, #9cc39c); cursor: pointer; overflow: hidden;
}
.mt-club-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mt-club:hover .mt-club-photo img { transform: scale(1.05); }
.mt-club-area {
    position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: var(--mt-green); font-size: 11px; font-weight: 800;
}
.mt-club-fav { position: absolute; right: 10px; top: 8px; color: #e53935; text-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.mt-club-fav .material-icons { font-size: 22px; }
.mt-club-picked {
    position: absolute; right: 10px; bottom: 10px; display: none; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: 999px; background: var(--mt-green); color: #fff; font-size: 12px; font-weight: 800;
}
.mt-club.is-selected .mt-club-picked { display: inline-flex; }
.mt-club-picked .material-icons { font-size: 15px; }
.mt-club-body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 12px 14px 14px; }
.mt-club-name { margin: 0; font-size: 15px; font-weight: 800; line-height: 1.45; color: var(--mt-ink); }
.mt-club-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mt-tag {
    display: inline-flex; align-items: center; gap: 2px; padding: 2px 7px; border-radius: 6px;
    background: #f1f4f1; color: var(--mt-muted); font-size: 11px; font-weight: 700;
}
.mt-tag .material-icons { font-size: 13px; }
.mt-tag--rt { background: #fff7e6; color: #b45309; }
.mt-club-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 4px; }
.mt-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    height: 38px; padding: 0 14px; border-radius: 10px; border: 1px solid transparent;
    font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: none; transition: all .15s; white-space: nowrap;
}
.mt-btn .material-icons { font-size: 18px; }
.mt-btn--ghost { background: #fff; border-color: var(--mt-line); color: var(--mt-ink); }
.mt-btn--ghost:hover { border-color: var(--mt-green); color: var(--mt-green); text-decoration: none; }
.mt-btn--primary { background: var(--mt-green); color: #fff; }
.mt-btn--primary:hover { background: var(--mt-green-dark); color: #fff; text-decoration: none; }
.mt-club-actions .mt-btn { flex: 1; padding: 0 10px; }
.mt-club-actions .mt-btn--ghost { flex: 0 0 auto; }
.mt-empty { padding: 40px 10px; text-align: center; color: var(--mt-muted); font-size: 14px; }
.mt-empty .material-icons { display: block; font-size: 40px; margin-bottom: 8px; color: #b8c4b8; }
.mt-more { display: flex; justify-content: center; margin-top: 18px; }
.mt-more[hidden] { display: none; }

/* ── 選んだゴルフ場（右カラム） ── */
.mt-side { position: sticky; top: 16px; }  /* PC のヘッダーはスクロールで消えるので上端に寄せる */
.mt-cart { padding: 22px; }
.mt-cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mt-cart-head h2 { margin: 0; font-size: 18px; font-weight: 800; }
.mt-cart-count {
    display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; padding: 0 8px;
    border-radius: 999px; background: var(--mt-green); color: #fff; font-size: 13px; font-weight: 800;
}
.mt-cart-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; max-height: calc(100vh - 290px); overflow-y: auto; }
.mt-cart-empty {
    padding: 22px 14px; border: 2px dashed var(--mt-line); border-radius: 14px;
    text-align: center; font-size: 13px; line-height: 1.8; color: var(--mt-muted);
}
.mt-cart-empty .material-icons { display: block; font-size: 34px; color: #b8c4b8; margin-bottom: 4px; }
.mt-item { position: relative; padding: 12px; border-radius: 14px; background: #fafbfa; border: 1px solid var(--mt-line); }
.mt-item.has-error { border-color: var(--mt-danger); background: #fff6f6; }
.mt-item-top { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.mt-item-no {
    flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%; background: var(--mt-green); color: #fff; font-size: 12px; font-weight: 800;
}
.mt-item-thumb { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #cfe3cf; }
.mt-item-thumb--omakase { display: inline-flex; align-items: center; justify-content: center; color: var(--mt-green); background: var(--mt-green-pale); }
.mt-item-name { flex: 1; min-width: 0; font-size: 13px; font-weight: 800; line-height: 1.4; }
.mt-item-area { display: block; font-size: 11px; font-weight: 700; color: var(--mt-muted); }
.mt-item-tools { display: flex; flex-direction: column; gap: 2px; }
.mt-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; padding: 0;
    border: 0; border-radius: 8px; background: transparent; color: var(--mt-muted); cursor: pointer;
}
.mt-icon-btn:hover { background: #eaf0ea; color: var(--mt-ink); }
.mt-icon-btn:disabled { opacity: .3; cursor: default; background: transparent; }
.mt-icon-btn .material-icons { font-size: 18px; }
.mt-item-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mt-item-fields label { display: block; margin: 0 0 3px; font-size: 11px; font-weight: 800; color: var(--mt-muted); }
.mt-item-fields input, .mt-item-fields select {
    width: 100%; height: 38px; padding: 0 8px; border: 1px solid var(--mt-line); border-radius: 9px; background: #fff; font-size: 13px;
}
.mt-item-fields .is-invalid { border-color: var(--mt-danger); }
.mt-login-note { display: flex; gap: 6px; align-items: flex-start; margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: #f3f7f3; color: var(--mt-green); font-size: 12px; font-weight: 700; line-height: 1.6; }
.mt-login-note .material-icons { font-size: 16px; margin-top: 1px; }
.mt-cart-note { margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--mt-muted); }
.mt-submit { width: 100%; height: 52px; margin-top: 16px; font-size: 16px; border-radius: 14px; }
.mt-cart-error { display: none; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fdecec; color: var(--mt-danger); font-size: 13px; font-weight: 700; }
.mt-cart-error.is-show { display: block; }

/* ── お客様情報・ご要望 ── */
.mt-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.mt-field--full { grid-column: 1 / -1; }
.mt-field > label, .mt-field-label { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--mt-ink); }
.mt-req { padding: 1px 6px; border-radius: 4px; background: #0071be; color: #fff; font-size: 10px; font-weight: 800; }
.mt-field input[type=text], .mt-field input[type=email], .mt-field input[type=date], .mt-field input[type=number],
.mt-field input[type=datetime-local], .mt-field textarea {
    width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--mt-line); border-radius: 12px; background: #fafbfa; font-size: 15px; outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.mt-field textarea { min-height: 110px; resize: vertical; line-height: 1.7; }
.mt-field input:focus, .mt-field textarea:focus { border-color: var(--mt-green); box-shadow: 0 0 0 3px rgba(55, 100, 57, .15); background: #fff; }
.mt-hint { margin: 6px 0 0; font-size: 12px; color: var(--mt-muted); }
.mt-seg { display: flex; flex-wrap: wrap; gap: 8px; }
/* 隠したラジオはラベルの中に置く（ページ先頭に飛ぶと、押したときにそこへスクロールしてしまう） */
.mt-seg label { position: relative; margin: 0; cursor: pointer; }
.mt-seg input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.mt-seg label > span {
    display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 16px;
    border-radius: 10px; border: 1px solid var(--mt-line); background: #fff; font-size: 14px; font-weight: 700; transition: all .15s;
}
.mt-seg input:checked + span { background: var(--mt-green-pale); border-color: var(--mt-green); color: var(--mt-green); box-shadow: 0 0 0 1px var(--mt-green) inset; }
.mt-seg input:focus-visible + span { box-shadow: 0 0 0 3px rgba(55, 100, 57, .3); }
.mt-account { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #f7f9f7; border: 1px solid var(--mt-line); }
.mt-account .material-icons { font-size: 34px; color: var(--mt-green); }
.mt-account strong { display: block; font-size: 15px; }
.mt-account div > span { display: block; font-size: 13px; color: var(--mt-muted); }
.mt-stepper { display: inline-flex; align-items: center; border: 1px solid var(--mt-line); border-radius: 12px; overflow: hidden; background: #fff; }
.mt-stepper button { width: 46px; height: 46px; border: 0; background: #f4f7f4; font-size: 20px; font-weight: 800; color: var(--mt-green); cursor: pointer; }
.mt-stepper input[type=number] { width: 70px; min-height: 46px; border: 0; border-radius: 0; text-align: center; font-size: 17px; font-weight: 800; background: #fff; -moz-appearance: textfield; }
.mt-stepper input::-webkit-outer-spin-button, .mt-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mt-sub { padding: 16px; border-radius: 14px; background: #f7f9f7; border: 1px solid var(--mt-line); }
.mt-notice {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
    background: #fff8e8; border: 1px solid #f6dfa6; color: #7a5300; font-size: 13px; line-height: 1.7;
}
.mt-notice .material-icons { color: var(--mt-accent); }

/* ── 詳細ドロワー ── */
.mt-drawer-back { position: fixed; inset: 0; z-index: 1100; background: rgba(15, 25, 16, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mt-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 1101; width: 520px; max-width: 100%;
    display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 40px rgba(0, 0, 0, .15);
    transform: translateX(105%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.mt-drawer-open .mt-drawer-back { opacity: 1; pointer-events: auto; }
.mt-drawer-open .mt-drawer { transform: none; }
body.mt-drawer-open { overflow: hidden; }
.mt-drawer-scroll { flex: 1; overflow-y: auto; }
.mt-drawer-close {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92); box-shadow: 0 4px 12px rgba(0, 0, 0, .2); cursor: pointer;
}
.mt-gallery-main { position: relative; aspect-ratio: 16 / 10; background: #cfe3cf; }
.mt-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.mt-gallery-thumbs { display: flex; gap: 6px; padding: 8px 20px 0; overflow-x: auto; }
.mt-gallery-thumbs button { flex: 0 0 72px; height: 50px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: #eee; }
.mt-gallery-thumbs button.is-active { border-color: var(--mt-green); }
.mt-gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.mt-drawer-body { padding: 18px 22px 24px; }
.mt-drawer-area { font-size: 12px; font-weight: 800; color: var(--mt-green); }
.mt-drawer-body h3 { margin: 4px 0 2px; font-size: 22px; font-weight: 800; line-height: 1.4; }
.mt-drawer-eng { margin: 0 0 12px; font-size: 13px; color: var(--mt-muted); }
.mt-drawer-section { margin-top: 18px; }
.mt-drawer-section h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 14px; font-weight: 800; color: var(--mt-ink); }
.mt-drawer-section h4 .material-icons { font-size: 18px; color: var(--mt-green); }
.mt-drawer-text { margin: 0; font-size: 13px; line-height: 1.8; color: #3b463c; white-space: pre-wrap; word-break: break-word; }
.mt-drawer-text.is-clamped { max-height: 9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
.mt-linkish { padding: 0; border: 0; background: none; color: #0071be; font-size: 13px; font-weight: 700; cursor: pointer; }
.mt-facilities { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 0; padding: 0; list-style: none; }
.mt-facilities li { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.mt-facilities li .material-icons { font-size: 18px; color: var(--mt-green); }
.mt-facilities li.is-off { color: #a3aca3; font-weight: 600; }
.mt-facilities li.is-off .material-icons { color: #c8cfc8; }
.mt-drawer-foot { display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--mt-line); background: #fff; }
.mt-drawer-foot .mt-btn { flex: 1; height: 48px; font-size: 14px; }

/* ── トースト・SP用の浮きボタン ── */
.mt-toast {
    position: fixed; left: 50%; bottom: 28px; z-index: 1200; transform: translate(-50%, 20px);
    display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px;
    background: #1f2a20; color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
    opacity: 0; pointer-events: none; transition: all .25s;
}
.mt-toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.mt-toast .material-icons { color: #8bd38e; }
.mt-fab {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; display: none;
    align-items: center; justify-content: space-between; gap: 10px; height: 56px; padding: 0 18px;
    border: 0; border-radius: 16px; background: var(--mt-green); color: #fff; font-size: 15px; font-weight: 800;
    box-shadow: 0 12px 30px rgba(20, 50, 22, .35);
}
.mt-fab .mt-cart-count { background: #fff; color: var(--mt-green); }
.mt-fab.is-show.is-hidden { display: none; }

/* ── Responsive ── */
@media screen and (max-width: 1080px) {
    .mt-hero-visual { display: none; }
    .mt-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 20px; }
}
@media screen and (max-width: 960px) {
    .mt-hero .mt-inner { padding-top: 176px; }
}
@media screen and (max-width: 860px) {
    .mt-layout { grid-template-columns: minmax(0, 1fr); }
    .mt-side { position: static; }
    .mt-cart-list { max-height: none; }
    .mt-fab.is-show { display: flex; }
    .mt-body { padding-bottom: 100px; }
}
@media screen and (max-width: 780px) {
    #user-section.mt-page { padding-top: 56px; }
    .mt-inner { padding: 0 16px; }
    .mt-hero .mt-inner { padding-top: 36px; padding-bottom: 100px; }
    .mt-hero h1 { font-size: 30px; }
    .mt-hero-lead { font-size: 14px; }
    .mt-steps li { font-size: 13px; }
    .mt-card { padding: 20px 16px; border-radius: 16px; }
    .mt-card-head h2 { font-size: 19px; }
    .mt-fields { grid-template-columns: 1fr; }
    .mt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .mt-club-body { padding: 10px; gap: 6px; }
    .mt-club-name { font-size: 13px; }
    .mt-club-tags .mt-tag:nth-child(n+3) { display: none; }
    .mt-club-actions { flex-direction: column; gap: 6px; }
    .mt-club-actions .mt-btn { flex: none; width: 100%; height: 36px; }
    .mt-card-head { flex-direction: column; align-items: flex-start; gap: 8px; }
    .mt-omakase { padding: 14px 12px; }
    .mt-omakase-title { flex-wrap: wrap; }
    .mt-omakase-title small { flex-basis: 100%; }
    .mt-omakase-btn { padding: 8px 10px; font-size: 12px; }
    .mt-toast { bottom: 90px; max-width: calc(100% - 32px); border-radius: 14px; }
    .mt-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
    .mt-chip { flex: 0 0 auto; }
    .mt-chip-group { flex: 0 0 auto; }
    .mt-drawer { width: 100%; }
    .mt-facilities { grid-template-columns: 1fr 1fr; }
}

/* アプリ（WebView）ではサイトのヘッダーをアプリが隠す（<style id="rn-hide-header-footer"> を差し込む）ので、
   スマホ用ヘッダーの高さ分の上余白を消す（2026-11-08 アプリで上が空く件） */
html:has(#rn-hide-header-footer) #user-section.mt-page { padding-top: 0 !important; }
