@charset "utf-8";
/* =========================================================================
   名鉄バス 名古屋 ⇔ 馬籠・妻籠（_magome-tsumago.php 専用スタイル）
   ※ 画像は /sp/images/magome-tsumago/ 配下を参照
   ※ サイト共通CSSと干渉しないよう #magome-tsumago 配下にスコープ

   ▼ ページ内のルール（ここだけ変えれば全体が揃う）
     色      : 下の変数6色＋対になる藍色のみ。個別に色を足さない
     見出し  : .sec-head（英字ラベル＋明朝体＋弁柄の短い線）で統一
     背景    : 和紙色 → 地色 → 栗色 の繰り返しでリズムを作る
     カード  : 角丸14px／1px の枠線／淡い影。強調したいものだけ上辺4px
     文字    : 見出し clamp / 本文15px / 注記12.5px
   ========================================================================= */
@import url("https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@600;800&display=swap");

#magome-tsumago {
    --sumi: #332e28;
    /* 本文 */
    --stone: #6c6258;
    /* 副次テキスト */
    --kuri: #4a3426;
    /* 栗色・濃色セクション地 */
    --kuri-d: #36251a;
    --bengara: #a4432c;
    /* 弁柄・差し色 */
    --bengara-d: #86341f;
    --ai: #35576f;
    /* 弁柄と対にする色（復路・妻籠側） */
    --gold: #b98b3f;
    --gold-l: #e5c98f;
    --washi: #f6f1e7;
    /* 淡色セクション */
    --paper: #fffdf8;
    /* 地色 */
    --line: #e4d9c7;
    --sat: #2f62b3;
    --sun: #c0452f;

    --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    --sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
}

/* ---------- リセット ---------- */
#magome-tsumago *,
#magome-tsumago *::before,
#magome-tsumago *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#magome-tsumago {
    width: 100%;
    background: var(--paper);
    color: var(--sumi);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: .02em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

#magome-tsumago img {
    max-width: 100%;
    display: block;
}

#magome-tsumago a {
    color: inherit;
    text-decoration: none;
}

#magome-tsumago ul,
#magome-tsumago ol {
    list-style: none;
}

#magome-tsumago button {
    font-family: inherit;
}

#magome-tsumago section {
    padding: 72px 20px;
}

#magome-tsumago .section-inner {
    max-width: 1080px;
    margin: 0 auto;
}

#magome-tsumago .section-inner.narrow {
    max-width: 760px;
}

/* ---------- 背景のリズム ---------- */
#magome-tsumago .bg-washi {
    background: var(--washi);
}

#magome-tsumago .bg-kuri {
    background: var(--kuri);
    color: #fff;
}

/* ---------- 見出し（全セクション共通の型） ---------- */
#magome-tsumago .sec-head {
    text-align: center;
    margin-bottom: 36px;
}

#magome-tsumago .sec-head .en {
    display: block;
    font-size: 11px;
    letter-spacing: .32em;
    color: var(--gold);
    font-weight: 700;
}

#magome-tsumago .sec-head .ja {
    font-family: var(--serif);
    font-size: clamp(22px, 5vw, 30px);
    font-weight: 800;
    color: var(--kuri);
    margin-top: 6px;
    letter-spacing: .06em;
    line-height: 1.5;
}

#magome-tsumago .sec-head .ja::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    background: var(--bengara);
    margin: 14px auto 0;
}

#magome-tsumago .sec-head--dark .ja {
    color: #fff;
}

#magome-tsumago .sec-head--dark .ja::after {
    background: var(--gold-l);
}

#magome-tsumago .lead {
    text-align: center;
    color: var(--stone);
    max-width: 720px;
    margin: 0 auto 36px;
}

/* ---------- 共通パーツ ---------- */
#magome-tsumago .cols-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

#magome-tsumago .cols-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

#magome-tsumago .copy h3 {
    font-family: var(--serif);
    font-size: clamp(19px, 4.4vw, 24px);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: .04em;
    margin-bottom: 14px;
    color: var(--kuri);
}

#magome-tsumago .copy p+p {
    margin-top: 12px;
}

#magome-tsumago .copy strong {
    font-weight: 700;
    color: var(--bengara-d);
}

#magome-tsumago .note {
    font-size: 12.5px;
    color: var(--stone);
    line-height: 1.8;
    margin-top: 14px;
}

#magome-tsumago a.btn-cta {
    display: inline-block;
    background: var(--bengara);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: .06em;
    padding: 15px 38px;
    border-radius: 50px;
    box-shadow: 0 8px 22px rgba(43, 30, 20, .25);
    transition: .2s;
}

#magome-tsumago a.btn-cta:hover {
    background: var(--bengara-d);
    transform: translateY(-2px);
}

/* =========================================================================
   01 FV
   ========================================================================= */
#magome-tsumago .fv {
    position: relative;
    padding: 0;
    height: 62vh;
    min-height: 520px;
    max-height: 720px;
    overflow: hidden;
    background: var(--kuri-d);
}

#magome-tsumago .fv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#magome-tsumago .fv::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(43, 30, 20, .45) 0%, rgba(43, 30, 20, .18) 28%, rgba(43, 30, 20, .68) 58%, rgba(43, 30, 20, .95) 100%);
}

#magome-tsumago .fv-inner {
    position: absolute;
    z-index: 3;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px 56px;
    color: #fff;
}

#magome-tsumago .fv-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: .12em;
    font-weight: 700;
    background: var(--bengara);
    color: #fff;
    padding: 5px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
}

#magome-tsumago .fv-lead {
    display: block;
    font-size: clamp(13px, 3.4vw, 17px);
    font-weight: 700;
    color: var(--gold-l);
    letter-spacing: .14em;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}

#magome-tsumago .fv-title {
    font-family: var(--serif);
    font-size: clamp(28px, 6.6vw, 50px);
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: .06em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

#magome-tsumago .fv-sub {
    margin-top: 14px;
    font-size: clamp(13px, 3.4vw, 15px);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}

#magome-tsumago .fv .btn-cta {
    margin-top: 22px;
}

#magome-tsumago p.caution {
    max-width: 1080px;
    margin: 12px auto 0;
    padding: 0 20px;
    font-size: 12px;
    color: var(--stone);
}

/* =========================================================================
   02 世界が注目する宿場町
   ========================================================================= */
#magome-tsumago .photo-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

#magome-tsumago .photo-band figure {
    overflow: hidden;
    border-radius: 14px;
}

#magome-tsumago .photo-band img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .5s ease;
}

#magome-tsumago .photo-band figure:hover img {
    transform: scale(1.05);
}

#magome-tsumago .photo-band a.lb-open {
    display: block;
    position: relative;
    cursor: zoom-in;
}

#magome-tsumago .photo-band a.lb-open::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(43, 30, 20, .6) url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center/17px 17px no-repeat;
    opacity: 0;
    transition: opacity .25s ease;
}

#magome-tsumago .photo-band a.lb-open:hover::after,
#magome-tsumago .photo-band a.lb-open:focus-visible::after {
    opacity: 1;
}

/* ---------- ライトボックス ---------- */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(28, 20, 14, .92);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.is-open {
    display: flex;
}

.lb-figure {
    max-width: 100%;
    text-align: center;
}

.lightbox img {
    margin: 0 auto;
    max-width: min(92vw, 800px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}

.lb-figure figcaption {
    color: #fff;
    font-size: 13.5px;
    margin-top: 14px;
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.lb-counter {
    color: #e5c98f;
    font-size: 12.5px;
}

.lightbox button {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    line-height: 1;
    transition: background .2s ease;
}

.lightbox button:hover {
    background: rgba(255, 255, 255, .3);
}

.lb-close {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 26px;
}

.lb-prev,
.lb-next {
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 32px;
    padding-bottom: 4px;
}

.lb-prev {
    left: 16px;
}

.lb-next {
    right: 16px;
}

/* =========================================================================
   03 3つのポイント
   ========================================================================= */
#magome-tsumago .points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 34px;
}

#magome-tsumago .point {
    background: var(--paper);
    border: 1px solid var(--line);
    border-top: 4px solid var(--bengara);
    border-radius: 14px;
    padding: 24px 18px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

#magome-tsumago .point:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(74, 52, 38, .14);
}

#magome-tsumago .point .ico {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: var(--washi);
    display: flex;
    align-items: center;
    justify-content: center;
}

#magome-tsumago .point .ico svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: var(--bengara);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#magome-tsumago .point .ico svg .solid {
    fill: var(--bengara);
    stroke: none;
}

#magome-tsumago .point b {
    display: block;
    font-size: 15.5px;
    color: var(--kuri);
    margin-bottom: 4px;
}

#magome-tsumago .point small {
    display: block;
    font-size: 12.5px;
    color: var(--stone);
    line-height: 1.7;
}

/* =========================================================================
   04 / 07 写真＋テキスト
   ========================================================================= */
#magome-tsumago .photo-figure {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(74, 52, 38, .14);
}

#magome-tsumago .photo-figure img {
    width: 100%;
}

#magome-tsumago .photo-figure.sub {
    margin-top: 18px;
    box-shadow: 0 8px 20px rgba(74, 52, 38, .1);
}

/* 現地の案内看板（大きくなりすぎないよう上限を決める） */
#magome-tsumago .board-figure {
    background: var(--paper);
    padding: 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
    max-width: 480px;
}

#magome-tsumago .board-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
}

#magome-tsumago .board-figure img {
    width: 100%;
    border-radius: 8px;
}

#magome-tsumago .figure-note {
    font-size: 11.5px;
    color: var(--stone);
    margin-top: 10px;
    text-align: right;
    line-height: 1.7;
}

#magome-tsumago .scroll-hint {
    color: var(--bengara);
}

/* =========================================================================
   05 / 10 写真カード
   ========================================================================= */
#magome-tsumago .card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
    display: flex;
    flex-direction: column;
}

#magome-tsumago .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#magome-tsumago .card-body {
    padding: 20px 20px 24px;
}

#magome-tsumago .card-body h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .04em;
    color: var(--kuri);
    margin-bottom: 8px;
}

#magome-tsumago .card-body p {
    font-size: 13.5px;
    color: var(--stone);
    line-height: 1.8;
}

#magome-tsumago .arrival .card img {
    height: 260px;
}

/* =========================================================================
   06 PHOTO BREAK
   ========================================================================= */
#magome-tsumago .photo-break {
    position: relative;
    padding: 0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--kuri-d);
}

#magome-tsumago .photo-break img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#magome-tsumago .photo-break::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(43, 30, 20, .4);
}

/* パララックス（JSで .is-parallax を付与） */
#magome-tsumago .photo-break.is-parallax img {
    inset: auto;
    top: -20%;
    left: 0;
    height: 140%;
    will-change: transform;
}

#magome-tsumago .break-copy {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: var(--serif);
    font-size: clamp(20px, 5.2vw, 34px);
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.6;
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .6);
}

/* =========================================================================
   08 妻籠宿
   ========================================================================= */
#magome-tsumago .tsumago-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 5px solid var(--ai);
    border-radius: 14px;
    padding: 34px 36px;
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
}

#magome-tsumago .tsumago-card h2 {
    font-family: var(--serif);
    font-size: clamp(19px, 4.4vw, 24px);
    font-weight: 800;
    letter-spacing: .05em;
    color: var(--kuri);
    margin-bottom: 14px;
}

#magome-tsumago .tsumago-card p+p {
    margin-top: 12px;
}

/* =========================================================================
   11 モデルコース
   ========================================================================= */
#magome-tsumago .timeline {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
}

#magome-tsumago .timeline::before {
    content: "";
    position: absolute;
    left: 39px;
    top: 16px;
    bottom: 16px;
    width: 2px;
    background: var(--line);
}

#magome-tsumago .timeline li {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    position: relative;
}

#magome-tsumago .timeline li+li {
    margin-top: 12px;
}

#magome-tsumago .timeline .time {
    flex: 0 0 80px;
    text-align: center;
    background: var(--kuri);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
    padding: 5px 0;
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

#magome-tsumago .tl-body {
    flex: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 18px 16px;
    box-shadow: 0 6px 18px rgba(74, 52, 38, .07);
}

#magome-tsumago .tl-body h4 {
    font-size: 15.5px;
    color: var(--kuri);
    margin-bottom: 2px;
}

#magome-tsumago .tl-body p {
    font-size: 13px;
    color: var(--stone);
    line-height: 1.7;
}

/* =========================================================================
   12 運行情報（濃色セクション）
   ========================================================================= */
#magome-tsumago .pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#magome-tsumago .pricing-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    padding: 28px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#magome-tsumago .pricing-type {
    font-size: 13px;
    font-weight: 800;
    color: var(--gold-l);
    letter-spacing: .1em;
    margin-bottom: 14px;
}

#magome-tsumago .pricing-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

#magome-tsumago .pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

#magome-tsumago .currency {
    font-size: 22px;
    font-weight: 700;
}

#magome-tsumago .price {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .02em;
}

#magome-tsumago .pricing-note {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}

#magome-tsumago .pricing-note .date {
    font-size: 14px;
}

#magome-tsumago .date.sun {
    color: var(--gold-l);
}

#magome-tsumago .date.sat {
    color: var(--gold-l);
}

#magome-tsumago .pricing-card .company {
    max-width: 180px;
    margin: 6px auto 0;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

/* =========================================================================
   予約カレンダー
   ========================================================================= */
#magome-tsumago .cal-wrap {
    max-width: 940px;
    margin: 0 auto;
}

#magome-tsumago .months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

#magome-tsumago .cal {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
}

#magome-tsumago .cal-head {
    background: var(--kuri);
    color: #fff;
    font-family: var(--serif);
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    padding: 10px 12px;
}

#magome-tsumago .grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

#magome-tsumago .dow {
    background: var(--washi);
    color: var(--stone);
    text-align: center;
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    font-weight: 700;
}

#magome-tsumago .dow.sun {
    color: var(--sun);
}

#magome-tsumago .dow.sat {
    color: var(--sat);
}

#magome-tsumago .cell {
    min-height: 104px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#magome-tsumago .cell:nth-child(7n) {
    border-right: none;
}

#magome-tsumago .date {
    font-weight: 700;
    font-size: 13px;
}

#magome-tsumago .date.sun,
#magome-tsumago .date.holiday {
    color: var(--sun);
}

#magome-tsumago .date.sat {
    color: var(--sat);
}

#magome-tsumago .btns {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#magome-tsumago .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 8px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    transition: .2s;
}

#magome-tsumago .btn:hover {
    opacity: .85;
}

#magome-tsumago .btn.nagoya {
    background: var(--bengara);
}

#magome-tsumago .btn.tsumago {
    background: var(--ai);
}

#magome-tsumago .btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0;
}

#magome-tsumago .mobile-nav {
    display: none;
    justify-content: space-between;
    gap: 8px;
    margin: 0 0 14px;
}

#magome-tsumago .mobile-nav button {
    flex: 1;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--kuri);
    font-weight: 700;
}

#magome-tsumago .mobile-nav button:disabled {
    opacity: .4;
}

#magome-tsumago .legend {
    display: flex;
    gap: 22px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
    color: var(--stone);
}

#magome-tsumago .chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

#magome-tsumago .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    display: inline-block;
}

#magome-tsumago .dot.n {
    background: var(--bengara);
}

#magome-tsumago .dot.t {
    background: var(--ai);
}

/* =========================================================================
   時刻表
   ========================================================================= */
#magome-tsumago .time-table .section-inner {
    max-width: 940px;
}

#magome-tsumago .tt-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--kuri);
    letter-spacing: .04em;
    margin-bottom: 12px;
}

#magome-tsumago .tt-title::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bengara);
    flex-shrink: 0;
}

#magome-tsumago .tt-title.akan::before {
    background: var(--ai);
}

#magome-tsumago .tt-title.akan {
    margin-top: 34px;
}

#magome-tsumago table.schedule {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}

#magome-tsumago table.schedule th {
    width: calc(100%/3);
    text-align: center;
    background: var(--bengara);
    padding: 14px 10px;
    vertical-align: middle;
    color: #fff;
    line-height: 1.4;
    font-size: 14px;
    letter-spacing: .04em;
}

#magome-tsumago table.schedule.akan th {
    background: var(--ai);
}

#magome-tsumago table.schedule td {
    text-align: center;
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 800;
    color: var(--kuri);
    vertical-align: middle;
}

#magome-tsumago table.schedule td span {
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 700;
    color: var(--stone);
    margin-left: 2px;
}

#magome-tsumago table.schedule th span {
    font-size: 13px;
}

#magome-tsumago table.schedule tr:last-child td,
#magome-tsumago table.schedule td.btmline {
    border-bottom: none;
}

/* 行内の矢印 */
#magome-tsumago .schedule th,
#magome-tsumago .schedule td {
    position: relative;
    padding-left: 1.6em;
}

#magome-tsumago .schedule th+th::before,
#magome-tsumago .schedule td+td::before {
    content: "\25B6";
    position: absolute;
    left: -0.42em;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--sans);
    font-size: 14px;
    color: var(--gold);
    -webkit-text-stroke-width: 3px;
    -webkit-text-stroke-color: var(--paper);
    z-index: 2;
}

#magome-tsumago .schedule th+th::before {
    -webkit-text-stroke-color: transparent;
    color: rgba(255, 255, 255, .8);
}

#magome-tsumago .schedule tbody tr:nth-child(2)>td:last-child[rowspan]::before {
    top: 75%;
}

/* =========================================================================
   乗り場案内（地図は大きくしすぎない）
   ========================================================================= */
#magome-tsumago .platform-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#magome-tsumago .platform-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
}

#magome-tsumago .platform-card h4 {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--kuri);
    margin-bottom: 14px;
}

#magome-tsumago .platform-card img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    border-radius: 8px;
}

/* =========================================================================
   FAQ
   ========================================================================= */
#magome-tsumago .faq {
    max-width: 860px;
    margin: 0 auto;
}

#magome-tsumago .faq details {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

#magome-tsumago .faq summary {
    list-style: none;
    cursor: pointer;
    padding: 17px 52px 17px 22px;
    font-weight: 700;
    font-size: 15px;
    color: var(--kuri);
    position: relative;
}

#magome-tsumago .faq summary::-webkit-details-marker {
    display: none;
}

#magome-tsumago .faq summary::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--bengara);
    border-bottom: 2.5px solid var(--bengara);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
}

#magome-tsumago .faq details[open] summary::after {
    transform: translateY(-20%) rotate(-135deg);
}

#magome-tsumago .faq-body {
    padding: 0 22px 20px;
    color: var(--stone);
    font-size: 14px;
}

/* =========================================================================
   LAST CTA / 他路線 / パンくず
   ========================================================================= */
#magome-tsumago .last-cta {
    position: relative;
    padding: 0;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--kuri-d);
}

#magome-tsumago .cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#magome-tsumago .last-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43, 30, 20, .55), rgba(43, 30, 20, .75));
}

#magome-tsumago .cta-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 72px 20px;
}

#magome-tsumago .cta-inner h2 {
    font-family: var(--serif);
    font-size: clamp(22px, 5.4vw, 34px);
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.5;
    margin-bottom: 8px;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .5);
}

#magome-tsumago .cta-inner p {
    font-size: 14px;
    color: var(--gold-l);
    letter-spacing: .1em;
    margin-bottom: 24px;
}

#magome-tsumago .other-route-card {
    max-width: 780px;
    margin: 0 auto;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(74, 52, 38, .09);
}

#magome-tsumago .other-route-lead {
    font-size: 12px;
    letter-spacing: .28em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 8px;
}

#magome-tsumago .other-route-title {
    font-family: var(--serif);
    font-size: clamp(19px, 4.6vw, 26px);
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--kuri);
    margin-bottom: 20px;
    line-height: 1.5;
}

#magome-tsumago .other-route-title .arrow {
    color: var(--bengara);
}

#magome-tsumago a.other-route-btn {
    display: inline-block;
    min-width: 260px;
    padding: 13px 34px;
    border-radius: 50px;
    border: 1.5px solid var(--kuri);
    color: var(--kuri);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .04em;
    transition: .2s;
}

#magome-tsumago a.other-route-btn:hover {
    background: var(--kuri);
    color: #fff;
}

#magome-tsumago .bread {
    background: var(--paper);
    border-top: 1px solid var(--line);
}

#magome-tsumago ol.path {
    display: flex;
    gap: 10px;
    font-size: 11.5px;
    align-items: center;
    padding: 8px 20px;
    color: var(--stone);
    max-width: 1080px;
    margin: auto;
    flex-wrap: wrap;
}

#magome-tsumago ol.path li a {
    color: var(--ai);
}

#magome-tsumago ol.path li:last-child a {
    color: var(--stone);
}

#magome-tsumago ol.path li a:after {
    content: ">";
    display: inline-block;
    margin-left: 10px;
    color: var(--line);
}

#magome-tsumago ol.path li:last-child a:after {
    content: none;
}

/* ---------- 表示切替 ---------- */
@media screen and (min-width:769px) {
    #magome-tsumago .sp-only {
        display: none;
    }
}

/* =========================================================================
   タブレット
   ========================================================================= */
@media screen and (max-width:900px) {

    #magome-tsumago .cols-2,
#magome-tsumago .cols-3,
#magome-tsumago .points,
#magome-tsumago .platform-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #magome-tsumago .board-figure {
        max-width: none;
    }

    #magome-tsumago .photo-band {
        grid-template-columns: repeat(2, 1fr);
    }

    #magome-tsumago .photo-band img {
        height: 190px;
    }

    #magome-tsumago .pricing-table {
        grid-template-columns: 1fr;
    }

    #magome-tsumago .months {
        grid-template-columns: 1fr;
    }

    #magome-tsumago .mobile-nav {
        display: flex;
    }

    #magome-tsumago .cal[data-month="2026-10"] {
        display: none;
    }

    /* JSで必要月のみ表示に切替 */
}

/* =========================================================================
   スマートフォン
   ========================================================================= */
@media screen and (max-width:768px) {
    #magome-tsumago .pc-only {
        display: none;
    }

    #magome-tsumago section {
        padding: 56px 16px;
    }

    #magome-tsumago .fv {
        height: 70vh;
        min-height: 470px;
    }

    #magome-tsumago .fv-inner {
        padding: 0 16px 44px;
    }

    #magome-tsumago .fv-tag {
        font-size: 11.5px;
        letter-spacing: .06em;
    }

    #magome-tsumago .btn-cta {
        width: 100%;
        max-width: 340px;
    }

    #magome-tsumago .lead {
        text-align: left;
    }

    #magome-tsumago .lead br {
        display: none;
    }

    #magome-tsumago .points {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    #magome-tsumago .point {
        padding: 20px 10px;
    }

    #magome-tsumago .photo-break {
        height: 300px;
    }

    #magome-tsumago .tsumago-card {
        padding: 26px 20px;
    }

    #magome-tsumago .timeline::before {
        left: 33px;
    }

    #magome-tsumago .timeline .time {
        flex: 0 0 68px;
        font-size: 12px;
    }

    #magome-tsumago .timeline li {
        gap: 12px;
    }

    #magome-tsumago .tl-body {
        padding: 12px 14px 14px;
    }

    #magome-tsumago .pricing-card {
        padding: 22px 16px;
    }

    #magome-tsumago .price {
        font-size: 32px;
    }

    #magome-tsumago .board-scroll img {
        min-width: 680px;
    }

    #magome-tsumago .scroll-hint {
        display: block;
    }

    #magome-tsumago table.schedule th {
        padding: 12px 6px;
        font-size: 12.5px;
    }

    #magome-tsumago table.schedule td {
        font-size: 21px;
        padding: 12px 6px;
    }

    #magome-tsumago table.schedule td span {
        font-size: 11.5px;
    }

    #magome-tsumago .schedule th,
#magome-tsumago .schedule td {
        padding-left: 1.2em;
    }

    #magome-tsumago .cell {
        min-height: 84px;
        padding: 4px;
    }

    #magome-tsumago .btn {
        padding: 4px 2px;
        font-size: 11px;
        white-space: nowrap;
        letter-spacing: 0;
    }

    #magome-tsumago .platform-card img {
        max-width: 100%;
    }

    #magome-tsumago .faq summary {
        font-size: 14px;
        padding: 15px 42px 15px 16px;
    }

    #magome-tsumago .faq-body {
        padding: 0 16px 16px;
        font-size: 13.5px;
    }

    .lightbox {
        padding: 10px;
    }

    .lightbox img {
        max-height: 70vh;
    }

    .lb-prev,
.lb-next {
        width: 40px;
        height: 40px;
        font-size: 26px;
    }

    .lb-prev {
        left: 6px;
    }

    .lb-next {
        right: 6px;
    }

    #magome-tsumago .photo-band a.lb-open::after {
        opacity: 1;
    }

    #magome-tsumago a.other-route-btn {
        min-width: 0;
        width: 100%;
    }
}
