/* TOP試作限定。原本CSSを保持し、実装を要するテキストロゴと確認待ち表示だけを追加。 */
:root { color-scheme: only light; }
html, body { background-color: #fff; }
.text-logo { display:flex; flex-direction:column; align-items:center; justify-content:center; color:inherit; font-family:var(--font-serif); line-height:1.15; }
.text-logo__sub { font-size:max(14px,2rem); letter-spacing:.25em; padding-left:.25em; margin-bottom:1.2rem; }
.text-logo__main { writing-mode:vertical-rl; font-size:max(34px,5.8rem); font-weight:700; letter-spacing:.16em; }
.header__logo .text-logo { min-height:17.8rem; }
.footer__logo .text-logo { min-height:15rem; }
.header__nav-item.nav-reserve { width:max(150px,20rem); height:48px; margin:0 auto; }
.header__nav-item.nav-reserve a { color:#fff; }
.policy__txt-wrapper h2, .policy__txt-wrapper p, .menu__txt-wrapper h3, .menu__txt-wrapper p, .access__list dd { white-space:pre-line; }
.preview-pending { text-align:center; padding:2rem; font-size:14px; line-height:1.8; }
.preview-pending a { text-decoration:underline; }
.access__map { display:flex; align-items:center; justify-content:center; background:#eee; }
a[data-preview-pending] { cursor:default; }
@media (max-width:767px) {
 .header__logo .text-logo { min-height:0; padding:10px 8px; background:#fff; }
 .text-logo__sub { font-size:12px; margin-bottom:5px; }
 .text-logo__main { font-size:32px; }
}

/* AI-01: JITT指定のフッター予約導線。濃色地に白の細枠。 */
.footer__nav-list { align-items: center; }
.footer__nav-item.footer-reserve a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  padding: .35em .85em;
}

/* v0.4 下層：支給MVを別枠ファイルで使用。原本の寸法・白幕を維持。 */
.underlayer .hero { background-image:url('../img/page-mv.jpg'); }
.underlayer .policy__ttl, .underlayer .policy__txt, .underlayer .shop__list dd { white-space:pre-line; }
/* TOPの予約ボタンと同じテンプレート既定装飾を下層でも読み込む。 */
.underlayer .header__nav-item.nav-reserve a { display:block; width:100%; height:100%; font-size:max(14px,1.6rem); font-weight:500; letter-spacing:0; position:relative; color:#fff; }
.underlayer .header__nav-item.nav-reserve a span { background-color:#df2828; width:100%; height:100%; border:solid 2px var(--black); border-top:none; border-left:none; display:flex; justify-content:center; align-items:center; }

/* v0.5 AI-07: use the template-wide 767px boundary, including fractional widths. */
.fixed-btn {
  top:45%; bottom:auto; transform:translate(0,-50%); -webkit-transform:translate(0,-50%);
  width:8rem; max-width:80px; flex-direction:column; gap:2rem;
}
.fixed-btn > a.pc { display:block; width:100%; height:auto; background:none; border:0; }
.fixed-btn > a.sp { display:none; }

/* AI-09: the supplied template111 asset is monochrome, 68x68 with no outer blank area.
   Preserve the supplied pixels; invert only on the dark footer. */
:root { --insta-icon:30px; --mobile-reserve-height:max(50px,6.4rem); }
.header__nav-item.social-item, .footer__nav-item.social-item {
  display:flex; align-items:center; justify-content:center; line-height:1;
}
.header .social-link, .footer .social-link {
  display:flex; align-items:center; justify-content:center; line-height:1;
}
.header .social-link img, .footer .social-link img {
  display:block; width:var(--insta-icon); height:var(--insta-icon); object-fit:contain;
}
.footer .social-link img { filter:invert(1); }

@media (max-width:767px) {
  .fixed-btn {
    top:auto; bottom:0; transform:none; -webkit-transform:none;
    width:100%; max-width:none; flex-direction:row; gap:0;
  }
  .fixed-btn > a.sp {
    display:flex; width:50%;
    height:calc(var(--mobile-reserve-height) + env(safe-area-inset-bottom,0px));
    padding-bottom:env(safe-area-inset-bottom,0px);
  }
  /* AI-06: reserve the entire fixed band's height plus readable space below the copyright. */
  .footer {
    padding-bottom:max(8rem,calc(var(--mobile-reserve-height) + env(safe-area-inset-bottom,0px) + 20px));
  }
  /* AI-08: constrain the drawer to the viewport; its content must remain scrollable. */
  .header__contents {
    min-height:0; height:100vh; height:100dvh;
    justify-content:flex-start; overflow-y:auto; overscroll-behavior:contain;
  }
  .header__contents > .header__nav { flex-shrink:0; margin-top:auto; margin-bottom:auto; }
}

/* ADD-01: approved transfer of the same template111 three-tab correction, PC and SP.
   Preserve the original tab width, gap, order, and hidden lunch item. */
.menu__btn-list--three-centered {
  grid-template-columns:repeat(3,minmax(0,calc((100% - 6rem) / 4)));
  justify-content:center;
}

/* R034: underline the plain return link; preserve template buttons and navigation. */
#newsdetail-body .lower_sec-inner > p > a { text-decoration: underline; }

/* PC course photo dimensions */
@media (min-width:768px) {
.rstdtl-course-list__inner > .rstdtl-course-list__img {flex:0 0 200px;width:200px;min-width:200px;padding:0;}
.rstdtl-course-list__img-target {display:block;width:200px;height:160px;overflow:hidden;}
.rstdtl-course-list__img img {display:block;width:200px;height:160px;object-fit:cover;object-position:center;}
.rstdtl-course-list__inner > .rstdtl-course-list__data {flex:1 1 0%;width:auto;min-width:0;}
}
#newsdetail-body .lower_sec-inner > p {clear:both;margin-top:48px;}
@media (max-width:767px) {#newsdetail-body .lower_sec-inner > p {margin-top:32px;}}
/* Explicit rows prevent vertical text from wrapping into reversed columns. */
.text-logo__main {writing-mode:horizontal-tb;-webkit-writing-mode:horizontal-tb;display:flex;flex-direction:column;align-items:center;flex-shrink:0;letter-spacing:0;gap:.16em;}
.text-logo__main > span {display:block;line-height:1.15;}
