/* TAMA-BASE（/tamabase/）だけの部品。クラス名は .tb- で始める。色・角丸・余白は DESIGN_RULES.md の約束から */

.tb-lead { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.tb-small { font-size: .6em; letter-spacing: .04em; }
.tb-gap { margin-top: 96px; }
.tb-num { font-family: var(--head); font-weight: 800; font-size: 1.25em; white-space: nowrap; }

/* 0. キャンペーン（細い青緑の帯） */
.tb-camp { background: var(--teal); color: #fff; padding: 20px 0; }
.tb-camp__in { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.tb-camp__label { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.tb-camp__title { font-family: var(--head); font-weight: 800; font-size: 22px; line-height: 1.4; letter-spacing: .02em; }
.tb-camp__title b { font-size: 1.35em; }
.tb-camp__sub { font-size: 13px; line-height: 1.7; margin-top: 4px; }

/* 1. ヒーロー */
.tb-hero { padding: 32px 0 32px; }
.tb-hero__img { margin: 0; }
.tb-hero__img img, .tb-hero__img .ph { width: 100%; aspect-ratio: 1366 / 638; }
.tb-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 48px; align-items: end; margin-top: 32px; }
.tb-hero__org { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 15px; letter-spacing: .04em; }
.tb-hero__sub { margin-top: 10px; font-size: 16px; }
.tb-hero__facts { display: grid; gap: 2px; font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 16px; letter-spacing: .02em; margin-bottom: 18px; }
.tb-hero__facts b { color: var(--teal); font-size: 24px; }

/* 2. とは？（写真の下に見出しと文。箱は使わない） */
.tb-three { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; margin-top: 40px; }
.tb-three img, .tb-three .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tb-three h3 { margin: 16px 0 6px; }

/* 3. 場所とアクセス（時間表のように 28px あけて並べる。線も箱もなし） */
.tb-place { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px 48px; margin-top: 40px; align-items: start; }
.tb-info { display: grid; gap: 22px; margin: 0; }
.tb-info dt { font-family: var(--head); font-weight: 800; font-size: 13px; letter-spacing: .06em; opacity: .85; }
.tb-info dd { margin: 0; font-size: 16px; line-height: 1.7; }
.tb-info__big { font-family: "Quicksand", var(--head); font-weight: 700; font-size: 52px !important; line-height: 1.05 !important; letter-spacing: -.01em; }
.tb-map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }
.tb-rooms { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-top: 40px; }
.tb-rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tb-rooms figcaption { margin-top: 10px; padding-right: 8px; }
.tb-rooms h3 { font-family: var(--head); font-weight: 800; font-size: 17px; letter-spacing: .02em; }
.tb-rooms p { font-size: 14px; line-height: 1.7; }

/* 4. 過ごし方 */
.tb-ways { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 40px; margin-top: 40px; }
.tb-ways h3 { color: var(--teal); margin-bottom: 6px; }
.tb-online { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px 40px; margin-top: 72px; align-items: center; }
.tb-online__txt p { margin-top: 12px; }
.tb-online__link a { font-family: var(--head); font-weight: 800; color: var(--teal); }
.tb-online__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tb-online__photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.tb-online__photos figcaption { font-size: 12px; margin-top: 4px; }

/* 5. 外のイベント（3枚ずつ2段） */
.tb-gal { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px 10px; margin-top: 40px; }
.tb-gal img, .tb-gal .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tb-gal figcaption { font-size: 13px; margin-top: 6px; }

/* 6. 料金（白い板の中を3列。区切りは余白だけ） */
.tb-camp-note { display: inline-block; margin-left: 8px; font-family: var(--head); font-weight: 800; }
.tb-plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px 40px; margin-top: 36px; padding: 44px 48px; }
.tb-plan { display: flex; flex-direction: column; }
.sec--teal .tb-plan h3 { color: var(--ink); }
.tb-plan__tag { font-size: 13px; color: var(--orange); letter-spacing: .04em; margin-left: 12px; white-space: nowrap; }
.tb-plan__for { font-size: 14px; line-height: 1.7; margin-top: 6px; min-height: 4.6em; }
.tb-plan__price { font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 18px; margin-top: 14px; line-height: 1; }
.tb-plan__price b { font-family: "Quicksand", var(--head); font-weight: 700; color: var(--teal); font-size: 52px; letter-spacing: -.01em; margin-right: 2px; }
.tb-plan__price small { font-size: 14px; margin-right: 6px; }
.tb-plan__fee { margin-top: 12px; font-size: 14px; }
.tb-plan__fee s { color: #888; margin: 0 4px; }
.tb-plan__fee b { font-family: var(--head); font-weight: 800; color: var(--teal); font-size: 17px; }
.tb-plan__note { font-size: 12px; line-height: 1.7; color: #666; margin-top: 2px; min-height: 3.4em; }
.tb-list { margin-top: 14px; display: grid; gap: 6px; font-size: 14px; line-height: 1.7; }
.tb-list li { position: relative; padding-left: 16px; }
.tb-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--teal); }
.tb-tax { text-align: right; font-size: 12px; margin-top: 10px; }
.tb-aids { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px 48px; margin-top: 40px; }
.tb-aids h3 { margin-bottom: 8px; }
.tb-aids a { color: #fff; font-weight: 700; margin-left: 4px; }

/* 7. 対象・流れ */
.tb-who { display: grid; gap: 14px; max-width: 560px; margin: 32px auto 0; }
.tb-who li { position: relative; padding-left: 18px; font-weight: 500; color: var(--ink); font-size: 16px; }
.tb-who li::before { content: ""; position: absolute; left: 0; top: .78em; width: 8px; height: 8px; background: var(--teal); }
.tb-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px 40px; margin-top: 36px; }
.tb-steps__n { display: block; font-family: "Quicksand", var(--head); font-weight: 700; color: var(--teal); font-size: 64px; line-height: 1; margin-bottom: 8px; }
.tb-steps h3 { margin-bottom: 6px; }

/* 8. よくある質問（線も箱もなし。すき間だけで区切る） */
.tb-faq { max-width: 760px; margin: 36px auto 0; display: grid; gap: 22px; }
.tb-faq summary { list-style: none; cursor: pointer; position: relative; padding: 0 36px 0 34px;
                  font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 17px; line-height: 1.6; letter-spacing: .02em; }
.tb-faq summary::-webkit-details-marker { display: none; }
.tb-faq summary::after { content: "＋"; position: absolute; right: 4px; top: 0; color: var(--teal); }
.tb-faq details[open] summary::after { content: "−"; }
.tb-faq__q { position: absolute; left: 0; top: -2px; font-family: "Quicksand", var(--head); font-weight: 700; color: var(--teal); font-size: 22px; }
.tb-faq details p { padding: 10px 0 0 34px; font-size: 15px; }

/* 9. 申込（青緑の帯＋白い板1枚。キャラは板の上のふちに足をそろえる） */
.tb-join__txt { text-align: center; margin: 16px auto 24px; max-width: 640px; }
.tb-join__promise { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 28px; margin-top: 20px; font-family: var(--head); font-weight: 800; font-size: 14px; letter-spacing: .04em; }
.tb-join__ask { text-align: center; font-size: 13px; margin-top: 14px; }
.tb-join__ask a { color: #fff; font-weight: 700; }
.tb-brief { position: relative; max-width: 820px; margin: 168px auto 0; padding: 44px 48px; }
.sec--teal .tb-brief h3 { color: var(--teal); }
.tb-brief__chara { position: absolute; right: 48px; bottom: 100%; width: 130px; }
.tb-brief__dl { display: grid; gap: 10px; margin: 18px 0; }
.tb-brief__dl div { display: grid; grid-template-columns: 4em 1fr; gap: 12px; }
.tb-brief__dl dt { font-family: var(--head); font-weight: 800; color: var(--teal); }
.tb-brief__dl dd { margin: 0; }
.tb-brief .btns { margin-top: 20px; }

@media (max-width: 860px) {
  .tb-gap { margin-top: 64px; }
  .tb-camp__title { font-size: 19px; }
  .tb-hero { padding-top: 20px; }
  .tb-hero__grid { grid-template-columns: 1fr; margin-top: 24px; }
  .tb-hero__sub { font-size: 15px; }
  .tb-hero__facts b { font-size: 21px; }
  .tb-lead { text-align: left; }
  .tb-three, .tb-ways, .tb-steps { grid-template-columns: 1fr; }
  .tb-three { gap: 28px; }
  .tb-three > div { display: grid; grid-template-columns: 38% 1fr; grid-template-rows: auto 1fr; gap: 0 16px; align-items: start; }
  .tb-three img, .tb-three .ph { grid-row: span 2; }
  .tb-three h3 { margin: 0 0 4px; font-size: 18px; }
  .tb-three p { font-size: 14px; line-height: 1.8; }
  .tb-place { grid-template-columns: 1fr; }
  .tb-info__big { font-size: 44px !important; }
  .tb-rooms { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .tb-rooms figure:first-child { grid-column: 1 / -1; }
  .tb-online { grid-template-columns: 1fr; margin-top: 56px; }
  .tb-gal { grid-template-columns: 1fr 1fr; }
  .tb-plans { grid-template-columns: 1fr; padding: 32px 24px; gap: 44px; }
  .tb-plan__for, .tb-plan__note { min-height: 0; }
  .tb-aids { grid-template-columns: 1fr; }
  .tb-steps__n { font-size: 52px; }
  .tb-faq summary { font-size: 16px; }
  .tb-brief { padding: 32px 24px; margin-top: 112px; }
  .tb-brief__chara { width: 92px; right: 24px; }
  .tb-brief__dl div { grid-template-columns: 1fr; gap: 0; }
  .tb-join__promise { flex-direction: column; align-items: center; }
}
