@charset "UTF-8";
/* ==========================================================================
   落第忍者 なぞとき街巡り — LP styles
   Unit system: --u = 1 design px. The PC design is 1920px wide, but its
   content sits in an inner column (--inner, design x 260–1660). Below
   1920px the page scales so that this inner column fills the window minus
   --gutter on each side (never above 1:1); the outer decoration is cropped.
   Absolute layers use .a with --x / --y / --w / --h (design px).
   ========================================================================== */

:root {
  --c-navy: #1b2c73;
  --c-yellow: #efdd43;
  --c-teal: #49b5bd;
  --c-pink: #eb97b3;
  --c-text: #222;
  --font-base: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --inner: 1400;   /* PC content width in design px */
  --gutter: 20px;  /* side margin around the inner column */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--c-text);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: none; }
h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; }

/* ---------- page container / design unit ----------
   Stages are always 1920 design px wide and centred; when that is wider
   than the window, the sides (outside the inner column) are clipped.
   Section backgrounds keep extending to the full window width. */
.page {
  position: relative;
  width: 100%;
  container-type: inline-size;
  overflow-x: clip;
}
.page * { --u: min(1px, calc((100cqw - var(--gutter) * 2) / var(--inner))); }

.stage {
  position: relative;
  width: calc(1920 * var(--u));
  margin-left: calc(50% - 960 * var(--u));
  height: calc(var(--sh) * var(--u));
  overflow: hidden;
}
.a {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
}
img.fill { width: 100%; height: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: calc(77 * var(--u));
  background: var(--c-navy) url("../img/header-pattern.png") center top / calc(1920 * var(--u)) 100% repeat-x;
}
.gnav { position: relative; height: 100%; width: calc(1920 * var(--u)); margin-left: calc(50% - 960 * var(--u)); }
.gnav__item,
.gnav__icon {
  position: absolute;
  top: 50%;
  left: calc(var(--x) * var(--u));
  transform: translateY(-50%);
}
.gnav__item a {
  display: block;
  font-size: calc(24 * var(--u));
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--c-yellow);
  white-space: nowrap;
  transition: opacity .2s;
}
.gnav__item a:hover,
.gnav__item a:focus-visible { opacity: .7; }
.gnav__icon {
  width: calc(34.78 * var(--u));
  height: calc(34.78 * var(--u));
}

/* ==========================================================================
   Hero
   ========================================================================== */
/* teal | pink split and the dot texture extend past 1920px */
.hero {
  background:
    url("../img/hero-dots.png") center bottom / calc(1920 * var(--u)) calc(677 * var(--u)) repeat-x,
    linear-gradient(to right, var(--c-teal) 50%, var(--c-pink) 50%);
}
.hero__title,
.hero__date { margin: 0; }

/* anchor jumps stop below the sticky header (PC 77 / SP 57 design px) */
.page [id] { scroll-margin-top: calc(77 * var(--u)); }
@media (max-width: 767px) {
  .page [id] { scroll-margin-top: calc(57 * var(--u)); }
}

/* ==========================================================================
   Shared section backgrounds (extend to full window width)
   ========================================================================== */
/* purple + seigaiha (Figma: Rectangle 4/8 #d59efa + 15%-white wave overlay, period 146x126 design px) */
.bg-purple {
  background: #d59efa url("../img/bg-seigaiha.png") left top / calc(146 * var(--u)) calc(126 * var(--u)) repeat;
}
@media (max-width: 767px) {
  .bg-purple { background-size: calc(107 * var(--u)) calc(92.5 * var(--u)); }
}

/* ==========================================================================
   SP header / menu (hidden on PC)
   ========================================================================== */
.stage--sp,
.sp-header,
.sp-menu { display: none; }

/* ==========================================================================
   SP (<=767px) — Figma "SP 391": 390 design px = window width
   ========================================================================== */
@media (max-width: 767px) {
  .page * { --u: calc(100cqw / 390); }

  .stage--pc,
  .gnav { display: none; }
  .stage--sp { display: block; width: 100%; margin-left: 0; }

  /* header */
  .site-header {
    height: calc(57 * var(--u));
    background: var(--c-navy) url("../img/sp-header-pattern.png") center top / calc(390 * var(--u)) calc(58 * var(--u)) repeat-x;
  }
  .sp-header { display: block; position: relative; height: 100%; }
  .sp-header__copy {
    position: absolute;
    left: calc(20 * var(--u));
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: calc(18 * var(--u));
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
  }
  .sp-header__copy span:last-child { letter-spacing: .06em; }
  .sp-header__copy img {
    width: calc(19 * var(--u));
    height: calc(19 * var(--u));
    margin: 0 calc(11 * var(--u)) 0 calc(16 * var(--u));
  }
  .sp-menu-btn {
    position: absolute;
    left: calc(333 * var(--u));
    top: 0;
    width: calc(42 * var(--u));
    height: 100%;
  }
  .sp-menu-btn span {
    position: absolute;
    left: calc(4 * var(--u));
    width: calc(34 * var(--u));
    height: calc(4 * var(--u));
    background: #fff;
    transition: transform .25s, opacity .25s;
  }
  .sp-menu-btn span:nth-child(1) { top: calc(13.5 * var(--u)); }
  .sp-menu-btn span:nth-child(2) { top: calc(25.6 * var(--u)); }
  .sp-menu-btn span:nth-child(3) { top: calc(37.6 * var(--u)); }
  .sp-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(calc(12 * var(--u))) rotate(45deg); }
  .sp-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .sp-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(calc(-12 * var(--u))) rotate(-45deg); }

  /* drawer (no Figma design for the open state: header colors + PC nav style) */
  .sp-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: calc(57 * var(--u));
    bottom: 0;
    background: rgba(27, 44, 115, .97);
    overflow-y: auto;
  }
  .sp-menu:not([hidden]) { display: block; }
  .sp-menu__list { padding: calc(24 * var(--u)) calc(30 * var(--u)); }
  .sp-menu__list li { border-bottom: 1px solid rgba(255, 255, 255, .2); }
  .sp-menu__list a {
    display: flex;
    align-items: center;
    gap: calc(14 * var(--u));
    padding: calc(18 * var(--u)) 0;
    color: var(--c-yellow);
    font-size: calc(20 * var(--u));
    font-weight: 700;
  }
  .sp-menu__list a::before {
    content: "";
    width: calc(22 * var(--u));
    height: calc(22 * var(--u));
    background: url("../img/icon-shuriken.png") center / contain no-repeat;
  }

  /* hero: teal (to Figma y 326) | pink, with the SP dot texture */
  .hero {
    background:
      url("../img/sp-hero-dots.png") center bottom / calc(390 * var(--u)) calc(651 * var(--u)) no-repeat,
      linear-gradient(to bottom, var(--c-teal) calc(269 * var(--u)), #dc8aa5 calc(269 * var(--u)));
  }
}


/* ==========================================================================
   sec2: お知らせ / 物語 / あそびかた
   ========================================================================== */
@charset "UTF-8";
/* ==========================================================================
   sec2: お知らせ (.notice) / 物語 (.story) / あそびかた (.howto)
   One purple wrapper so the seigaiha pattern runs continuously and
   decorations may cross section boundaries.
   ========================================================================== */
.sec2-wrap { overflow-x: clip; }
.sec2-wrap .stage { overflow: visible; }
.sec2-wrap h2,
.sec2-wrap h3,
.sec2-wrap h4,
.sec2-wrap ol,
.sec2-wrap li,
.sec2-wrap p { margin: 0; padding: 0; }
.sec2-wrap ol { list-style: none; }

/* ---------- お知らせ ---------- */
.notice__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000;
  font-weight: 700;
  font-size: calc(15 * var(--u));
  line-height: calc(33 * var(--u));
  letter-spacing: .05em;
  text-align: center;
  white-space: nowrap;
}

/* ---------- 物語 ---------- */
.story__body { border: solid #000; border-width: calc(5 * var(--u)) calc(5 * var(--u)) calc(15 * var(--u)); }
.story__card--teal .story__body { background: #49b5bd; }
.story__card--pink .story__body { background: #eb97b3; }
.story__text {
  color: #000;
  font-weight: 400;
  /* scales exactly with the card (no px floor), so the fixed line breaks always fit */
  font-size: calc(14 * var(--u));
  line-height: calc(27 * var(--u));
  letter-spacing: .14em;
  white-space: nowrap;
}
.story__text strong { font-weight: 700; }
.story__text p { white-space: normal; }

/* ---------- あそびかた ---------- */
.howto__paper { background: #fff; }
.howto__bar { background: #000; }
.howto__heading {
  color: #040000;
  font-weight: 900;
  font-size: calc(32 * var(--u));
  line-height: calc(42.5 * var(--u));
  letter-spacing: .26em;
  text-align: center;
  white-space: nowrap;
}
.howto__intro {
  color: #222;
  font-weight: 700;
  font-size: max(10px, calc(14 * var(--u)));
  line-height: calc(24 * var(--u));
  letter-spacing: .1em;
  text-align: center;
  white-space: nowrap;
}
.howto__num {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: calc(40 * var(--u));
  line-height: 1;
  padding-bottom: calc(2 * var(--u));
}
.howto__num--teal { color: #49b5bd; }
.howto__num--pink { color: #eb97b3; }
.howto__caption {
  color: #222;
  font-weight: 700;
  font-size: calc(18 * var(--u));
  line-height: calc(26 * var(--u));
  letter-spacing: .08em;
  text-align: center;
  white-space: nowrap;
}
.howto__fan-dots {
  -webkit-mask: url("../img/howto-fan.png") left top / 100% calc(245 / 247 * 100%) no-repeat;
  mask: url("../img/howto-fan.png") left top / 100% calc(245 / 247 * 100%) no-repeat;
}
.howto__items-title,
.howto__items-text {
  color: #fff;
  text-align: center;
  white-space: nowrap;
}
.howto__items-title {
  font-weight: 700;
  font-size: calc(22 * var(--u));
  line-height: calc(38 * var(--u));
  letter-spacing: .08em;
}
.howto__items-text {
  font-weight: 400;
  font-size: calc(15 * var(--u));
  line-height: calc(27 * var(--u));
}
.howto__items-text strong {
  font-weight: 700;
  letter-spacing: .05em;
}

/* ==========================================================================
   SP
   ========================================================================== */
@media (max-width: 767px) {
  .notice__frame { background: #dc8aa5; border: calc(6 * var(--u)) solid #000; }
  div:has(.notice__frame) { z-index: 0; }
  .notice__paper { background: #fff; border: calc(3 * var(--u)) solid #000; }
  .notice__strap { z-index: -1; }
  .notice__body {
    display: block;
    font-size: calc(14 * var(--u));
    line-height: calc(17.8 * var(--u));
    letter-spacing: 0;
    white-space: normal;
    line-break: strict;
  }

  .story__text {
    font-size: calc(14 * var(--u));
    line-height: calc(20 * var(--u));
    letter-spacing: 0;
    white-space: normal;
    line-break: strict;
  }

  .howto__heading {
    font-size: calc(24 * var(--u));
    line-height: calc(36 * var(--u));
    letter-spacing: .14em;
  }
  .howto__intro {
    font-size: calc(15 * var(--u));
    line-height: calc(23.75 * var(--u));
    letter-spacing: .06em;
  }
  .howto__num { font-size: calc(23 * var(--u)); padding-bottom: calc(1 * var(--u)); }
  .howto__caption {
    font-size: calc(13 * var(--u));
    line-height: calc(17 * var(--u));
    letter-spacing: .06em;
  }
  .howto__items-title {
    font-size: calc(19 * var(--u));
    line-height: calc(28 * var(--u));
    letter-spacing: 0;
  }
  .howto__items-text {
    font-size: calc(11.4 * var(--u));
    line-height: calc(20 * var(--u));
  }
  .howto__items-text strong { font-size: calc(15 / 11.4 * 1em); letter-spacing: .06em; }
}


/* ==========================================================================
   sec3: 2つのコース / エクストラコース
   ========================================================================== */
/* ==========================================================================
   ２つのコース (.course) / エクストラコース (.extra)
   ========================================================================== */

/* ---------- ２つのコース ----------
   teal | pink split (Figma: Rectangle 5 #49b5bd 0–956, Rectangle 6 #eb97b3 956–1920)
   + white dot texture (ドット 2, period 306 x 493.5 design px), both extend past 1920px */
.course {
  background:
    url("../img/course-dots.png") center top / calc(306 * var(--u)) calc(493.5 * var(--u)) repeat,
    linear-gradient(to right, #49b5bd calc(50% - 4 * var(--u)), #eb97b3 calc(50% - 4 * var(--u)));
}
.course h2,
.course h3 { margin: 0; }

.course-spec { height: auto; }
.course-spec table {
  width: 100%;
  border-collapse: collapse;
  border-top: max(1px, calc(1 * var(--u))) solid #fff;
  color: #fff;
  font-size: max(11px, calc(16 * var(--u)));
  font-weight: 700;
  line-height: max(calc(27 * var(--u)), 1.15em);
  letter-spacing: 0;
}
.course-spec tr { border-bottom: max(1px, calc(1 * var(--u))) solid #fff; }
.course-spec th,
.course-spec td {
  padding: calc(7.5 * var(--u)) 0 calc(7.5 * var(--u)) calc(20 * var(--u));
  vertical-align: middle;
  text-align: left;
}
.course-spec th {
  width: calc(122 * var(--u));
  padding-left: calc(8 * var(--u));
  font-weight: 700;
  white-space: nowrap;
}
.course-card--ichinensei .course-spec th { background: #00939d; }
.course-card--jokyusei .course-spec th { background: #d4698f; }
.course-spec__note {
  display: block;
  font-size: max(9px, calc(13.5 * var(--u)));
  font-weight: 400;
  line-height: max(calc(24 * var(--u)), 1.3em);
}

/* ---------- エクストラコース ----------
   yellow (Rectangle 7 #f4ca68) + white asanoha (Mask group-1, period 132 x 76 design px) */
.extra {
  background: #f4ca68 url("../img/extra-asanoha.png") center top / calc(132 * var(--u)) calc(76 * var(--u)) repeat;
}
.extra h2,
.extra h3 { margin: 0; }

/* copy / note / table stack in normal flow inside .extra__body, which is kept
   in flow (top margin = its design y) so the stage grows instead of clipping
   when the minimum font sizes kick in on narrow PC widths */
.extra .stage {
  height: auto;
  min-height: calc(var(--sh) * var(--u));
}
.extra .extra__body {
  position: relative;
  left: auto;
  top: auto;
  height: auto;
  margin: calc(var(--y) * var(--u)) 0 calc(65 * var(--u)) calc(var(--x) * var(--u));
}
.extra__copy {
  color: #000;
  font-size: max(12px, calc(20 * var(--u)));
  font-weight: 700;
  line-height: max(calc(28 * var(--u)), 1.3em);
  text-align: center;
}
.extra__note {
  margin-top: calc(13 * var(--u));
  padding-right: calc(32 * var(--u)); /* Figma centres it on x 944 */
  color: #000;
  font-size: max(10px, calc(13.5 * var(--u)));
  font-weight: 400;
  line-height: max(calc(24 * var(--u)), 1.3em);
  text-align: center;
}

.extra-spec {
  width: calc(682 * var(--u));
  margin: calc(24 * var(--u)) 0 0 calc(105 * var(--u));
}
.extra-spec table {
  width: 100%;
  border-collapse: collapse;
  border-top: max(1px, calc(1 * var(--u))) solid #fff;
  font-size: max(11px, calc(16 * var(--u)));
  font-weight: 700;
  line-height: max(calc(27 * var(--u)), 1.15em);
  letter-spacing: 0;
}
.extra-spec tr { border-bottom: max(1px, calc(1 * var(--u))) solid #fff; }
.extra-spec th,
.extra-spec td {
  padding: calc(7.5 * var(--u)) 0 calc(7.5 * var(--u)) calc(20 * var(--u));
  vertical-align: middle;
  text-align: left;
}
.extra-spec th {
  width: calc(130 * var(--u));
  padding-left: calc(8 * var(--u));
  background: #d8a42c;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.extra-spec td { color: #000; }

/* ==========================================================================
   SP (<=767px)
   ========================================================================== */
@media (max-width: 767px) {
  /* teal (to Figma SP y 3902) | pink #dc8aa5 (Rectangle 45/46), dots at the SP scale */
  .course {
    background:
      url("../img/course-dots.png") center top / calc(142.8 * var(--u)) calc(230.3 * var(--u)) repeat,
      linear-gradient(to bottom, #49b5bd calc(591 * var(--u)), #dc8aa5 calc(591 * var(--u)));
  }
  .course-spec table { font-size: calc(16 * var(--u)); }
  .course-spec td { padding-right: calc(19 * var(--u)); }
  .course-spec__note {
    font-size: calc(13.5 * var(--u));
    line-height: calc(20 * var(--u));
  }

  .extra { background-size: calc(193 * var(--u)) calc(111.5 * var(--u)); }
  .extra .extra__body { margin-bottom: calc(46 * var(--u)); }
  .extra__copy {
    font-size: calc(20 * var(--u));
    line-height: calc(28 * var(--u));
  }
  .extra__note {
    padding-right: 0;
    font-size: calc(13.5 * var(--u));
    line-height: calc(20 * var(--u));
  }
  .extra-spec {
    width: auto;
    margin: calc(34 * var(--u)) 0 0;
  }
  .extra-spec table {
    font-size: calc(16 * var(--u));
    line-height: calc(21 * var(--u));
  }
  .extra-spec th,
  .extra-spec td {
    height: calc(43 * var(--u));
    padding-top: calc(8 * var(--u));
    padding-bottom: calc(8 * var(--u));
  }
  .extra-spec td { padding-right: calc(6 * var(--u)); }
}


/* ==========================================================================
   sec5a: 記念撮影 / 開催情報
   ========================================================================== */
@charset "UTF-8";
/* ==========================================================================
   sec5a: AR PHOTO (#photo) + 開催情報 (#info) — purple background (.bg-purple)
   ========================================================================== */

/* the seigaiha tile continues across the two sections (photo stage = 640 / SP 750 design px) */

.photo h2,
.info h2 { margin: 0; }

/* ---------- AR PHOTO ---------- */
.photo__lead,
.photo__card-place,
.photo__card-note,
.photo__scroll-text,
.photo__hashtag {
  display: flex;
  flex-direction: column;
  align-items: center; /* keeps one-line text centred even when a font-size floor makes it wider than its box */
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0;
}
.photo__lead {
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: calc(24 * var(--u));
  color: #222;
}
.photo__card-place {
  font-size: calc(32 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.photo__card-note {
  font-size: calc(16 * var(--u));
  font-weight: 400;
  line-height: 1;
  color: #fff;
}
.photo__scroll-text {
  font-size: calc(16 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: #222;
}
.photo__hashtag {
  font-size: calc(24 * var(--u));
  font-weight: 700;
  line-height: 1;
  color: #d93636;
}

/* ---------- 開催情報 ----------
   The table + map run in normal flow (.info__body) so a taller table
   (e.g. the 12px font floor on narrow PC widths) pushes the map down
   and the stage grows instead of overlapping. --sh is the design height. */
.info .stage {
  height: auto;
  min-height: calc(var(--sh) * var(--u));
}
.info__body {
  position: relative;
  width: calc(var(--w) * var(--u));
  margin: calc(var(--y) * var(--u)) 0 0 calc(var(--x) * var(--u));
  padding-bottom: calc(var(--pb) * var(--u));
}
.info__spec-wrap {
  width: calc(var(--w) * var(--u));
  margin-left: calc(var(--ml) * var(--u));
}
.info__spec {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #222;
}
.info__spec th,
.info__spec td {
  border-top: max(1px, calc(1 * var(--u))) solid #fff;
  vertical-align: top;
  text-align: left;
  padding: calc(8 * var(--u));
  font-size: max(12px, calc(15 * var(--u)));
  font-weight: 700;
  line-height: calc(26 * var(--u));
}
.info__spec tr:last-child th,
.info__spec tr:last-child td { border-bottom: max(1px, calc(1 * var(--u))) solid #fff; }
.info__spec th {
  width: calc(130 * var(--u));
  background: #9557bf;
  color: #fff;
}
.info__note {
  display: block;
  font-size: max(11px, calc(14 * var(--u)));
  font-weight: 400;
  line-height: calc(24 * var(--u));
}

.info__map {
  height: calc(var(--h) * var(--u));
  margin-top: calc(var(--mt) * var(--u));
  overflow: hidden;
  background: #d9d9d9;
}
.info__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- SP ---------- */
@media (max-width: 767px) {

  .photo__scroll-text {
    font-size: calc(16 * var(--u));
    line-height: calc(21 * var(--u));
  }

  /* SP lead (screenshots/sec5_sp-1_add.png) */
  .photo__lead--sp {
    display: block;
    font-size: calc(13 * var(--u));
    line-height: calc(20.3 * var(--u));
    letter-spacing: .05em;
  }
  .stage--sp .photo__card-place { font-size: calc(24 * var(--u)); }
  .stage--sp .photo__card-note { font-size: calc(15.5 * var(--u)); }

  .info__spec th,
  .info__spec td {
    font-size: calc(15 * var(--u));
  }
  .info__spec td {
    padding-right: 0;
    line-height: calc(21 * var(--u));
  }
  .info__note {
    font-size: calc(14 * var(--u));
    line-height: calc(18 * var(--u));
  }
}


/* ==========================================================================
   sec5b: FAQ / 注意事項 / お問い合わせ / フッター
   ========================================================================== */
/* ==========================================================================
   sec5b: よくある質問 / 注意事項 / お問い合わせ / footer
   ========================================================================== */
:where(.faq, .notes, .contact) h2,
:where(.faq) :is(dl, dd, p),
:where(.contact) :is(p, address),
:where(.site-footer) p { margin: 0; font-style: normal; }

/* the three purple sections are consecutive: keep the seigaiha phase continuous
   (offset = sum of the preceding design heights: PC 1790 / 1790+800) */


/* ---------- FAQ / notes: stages grow with their flowing content ---------- */
.faq .stage,
.notes .stage { height: auto; }
.faq__wrap,
.notes__box {
  position: relative;
  margin-left: calc(var(--x) * var(--u));
  margin-top: calc(var(--y) * var(--u));
  width: calc(var(--w) * var(--u));
}

/* ==========================================================================
   よくある質問
   ========================================================================== */
.faq .stage--pc { padding-bottom: calc(20.5 * var(--u)); }

.faq-item {
  position: relative;
  margin-bottom: calc(13 * var(--u));
  /* black frame as padding (borders would snap to whole device px): 5 / 5 / 9 / 5 */
  padding: calc(5 * var(--u)) calc(5 * var(--u)) calc(9 * var(--u));
  /* asanoha tile: 375x209 px = 187.5x104.5 design px, on teal, inside the frame */
  background:
    url("../img/faq-asanoha.png") left top / calc(187.5 * var(--u)) calc(104.5 * var(--u)) repeat content-box,
    linear-gradient(#49b5bd, #49b5bd) content-box,
    #000;
}
.faq-item:last-child { margin-bottom: 0; }

.faq-item__q {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(75 * var(--u));
  padding: calc(4 * var(--u)) calc(30 * var(--u)) calc(4 * var(--u)) calc(81 * var(--u));
  color: #fff;
  font-size: max(13px, calc(20 * var(--u)));
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.faq-item__q::before {
  content: "";
  position: absolute;
  left: calc(36 * var(--u));
  top: calc(16 * var(--u));
  width: calc(30 * var(--u));
  height: calc(43 * var(--u));
  background: url("../img/faq-mark-q.png") center / 100% 100% no-repeat;
}

.faq-item__a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(56 * var(--u));
  margin: 0 calc(25 * var(--u)) calc(21 * var(--u));
  padding: calc(9 * var(--u)) calc(42 * var(--u)) calc(11 * var(--u)) calc(56 * var(--u));
  background: #fff;
  color: var(--c-text);
  font-size: max(12px, calc(15 * var(--u)));
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.faq-item__a::before {
  content: "";
  position: absolute;
  left: calc(19 * var(--u));
  top: calc(13 * var(--u));
  width: calc(22 * var(--u));
  height: calc(30 * var(--u));
  background: url("../img/faq-mark-a.png") center / 100% 100% no-repeat;
}
.faq-item__a--long {
  display: block;
  padding: calc(15 * var(--u)) calc(30 * var(--u)) calc(24 * var(--u)) calc(56 * var(--u));
  line-height: 1.7334;
  letter-spacing: 0;
}
.faq-item__a strong { font-weight: 700; }

/* ==========================================================================
   注意事項
   ========================================================================== */
.notes .stage--pc { padding-bottom: calc(48 * var(--u)); }

.notes__box {
  --bar: 20;
  padding: calc(62 * var(--u)) calc(61 * var(--u)) calc(62 * var(--u)) calc(71 * var(--u));
  background: #fff;
}
/* horizontal bars (wider than the panel) */
.notes__box::before {
  content: "";
  position: absolute;
  left: calc(-29 * var(--u));
  right: calc(-33 * var(--u));
  top: 0;
  bottom: 0;
  border-top: calc(var(--bar) * var(--u)) solid #000;
  border-bottom: calc(var(--bar) * var(--u)) solid #000;
  pointer-events: none;
}
/* vertical bars (taller than the panel) */
.notes__box::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-31 * var(--u));
  bottom: calc(-35 * var(--u));
  border-left: calc(var(--bar) * var(--u)) solid #000;
  border-right: calc(var(--bar) * var(--u)) solid #000;
  pointer-events: none;
}
.notes-list {
  color: var(--c-text);
  font-size: max(12px, calc(16 * var(--u)));
  line-height: 1.6875;
}
.notes-list li + li { margin-top: calc(7.75 * var(--u)); }

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.contact__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
}
.contact__org {
  color: #000;
  font-size: calc(22 * var(--u));
  font-weight: 700;
  line-height: calc(33 * var(--u));
}
.contact__tel {
  margin-top: calc(8 * var(--u));
  color: #222;
  font-size: calc(24 * var(--u));
  line-height: calc(33 * var(--u));
}
.contact__tel a { color: inherit; }
.contact__tel a:hover,
.contact__tel a:focus-visible { text-decoration: underline; }
.contact__hours {
  margin-top: calc(5 * var(--u));
  color: #666;
  font-size: calc(14 * var(--u));
  line-height: calc(20 * var(--u));
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  /* navy + translucent white checker (Figma image 6, 1920x449), extends to window edges */
  background: var(--c-navy) url("../img/footer-checker.png") center top / calc(1920 * var(--u)) calc(449 * var(--u)) repeat;
}
.footer-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  white-space: nowrap;
}
.footer-nav li {
  display: flex;
  align-items: center;
}
.footer-nav li + li::before {
  content: "";
  flex: none;
  width: calc(27.18 * var(--u));
  height: calc(27.18 * var(--u));
  margin: 0 calc(4.5 * var(--u));
  background: url("../img/icon-shuriken.png") center / contain no-repeat;
}
.footer-nav li.footer-nav__br { display: none; }
.footer-nav a {
  color: var(--c-yellow);
  font-size: max(11px, calc(20 * var(--u)));
  font-weight: 700;
  line-height: calc(34 * var(--u));
  transition: opacity .2s;
}
.footer-nav a:hover,
.footer-nav a:focus-visible { opacity: .7; }

.footer-credit {
  color: #ddd;
  font-size: max(12px, calc(16 * var(--u)));
  line-height: calc(27 * var(--u));
  text-align: center;
  white-space: nowrap;
}
.footer-credit small { font-size: inherit; }
.footer-credit--white {
  color: #fff;
  line-height: calc(19 * var(--u));
}
.footer-logo { background: #fff; }

/* ==========================================================================
   SP (<=767px)
   ========================================================================== */
@media (max-width: 767px) {
  /* SP: 1846 / 1846+1039 */


  /* FAQ */
  .faq .stage--sp { padding-bottom: calc(8 * var(--u)); }
  .faq-item {
    margin-bottom: calc(11 * var(--u));
    background: linear-gradient(#49b5bd, #49b5bd) content-box, #000;
  }
  .faq-item__q {
    display: block;
    min-height: 0;
    padding: calc(10.5 * var(--u)) calc(23 * var(--u)) calc(14 * var(--u)) calc(53 * var(--u));
    font-size: calc(16 * var(--u));
    line-height: 1.4;
    letter-spacing: 0;
  }
  .faq-item__q::before {
    left: calc(22 * var(--u));
    top: calc(10 * var(--u));
    width: calc(22 * var(--u));
    height: calc(32 * var(--u));
    background-image: url("../img/faq-mark-q-sp.png");
  }
  .faq-item__a,
  .faq-item__a--long {
    display: block;
    min-height: 0;
    margin: 0 calc(14 * var(--u)) calc(16 * var(--u));
    padding: calc(6.5 * var(--u)) calc(4 * var(--u)) calc(13 * var(--u)) calc(39 * var(--u));
    font-size: calc(14 * var(--u));
    line-height: calc(20 * var(--u));
    letter-spacing: 0;
  }
  .faq-item__a::before {
    left: calc(8 * var(--u));
    top: calc(9 * var(--u));
    width: calc(22 * var(--u));
    height: calc(30 * var(--u));
    background-image: url("../img/faq-mark-a-sp.png");
  }

  /* notes */
  .notes .stage--sp { padding-bottom: calc(20 * var(--u)); }
  .notes__box {
    --bar: 11;
    padding: calc(34 * var(--u)) calc(31 * var(--u)) calc(35 * var(--u)) calc(32 * var(--u));
  }
  .notes__box::before { left: calc(-15 * var(--u)); right: calc(-16 * var(--u)); }
  .notes__box::after { top: calc(-18 * var(--u)); bottom: calc(-20 * var(--u)); }
  .notes-list {
    font-size: calc(14 * var(--u));
    line-height: calc(20 * var(--u));
  }
  .notes-list li + li { margin-top: calc(8 * var(--u)); }

  /* contact */
  .contact__org {
    font-size: calc(24 * var(--u));
    line-height: calc(33 * var(--u));
  }
  .contact__tel {
    margin-top: calc(6.5 * var(--u));
    color: #000;
    font-size: calc(24 * var(--u));
  }
  .contact__hours {
    margin-top: calc(3.25 * var(--u));
    color: #000;
    font-size: calc(14 * var(--u));
    line-height: calc(19.5 * var(--u));
  }

  /* footer */
  .site-footer { background-size: calc(1638 * var(--u)) calc(383 * var(--u)); }
  .footer-nav ul {
    flex-wrap: wrap;
    align-content: flex-start;
    column-gap: calc(10 * var(--u));
  }
  .footer-nav li.footer-nav__br {
    display: block;
    flex-basis: 100%;
    height: 0;
  }
  .footer-nav li::before,
  .footer-nav li + li::before {
    content: "";
    flex: none;
    width: calc(27.18 * var(--u));
    height: calc(27.18 * var(--u));
    margin: 0 calc(2 * var(--u)) 0 0;
    background: url("../img/icon-shuriken.png") center / contain no-repeat;
  }
  .footer-nav li.footer-nav__br::before { content: none; }
  .footer-nav a {
    font-size: calc(20 * var(--u));
    line-height: calc(40.5 * var(--u));
  }
  .footer-credit { font-size: calc(16 * var(--u)); line-height: calc(27.5 * var(--u)); }
  .footer-credit--white { line-height: calc(19 * var(--u)); }
  .footer-credit--sub { line-height: calc(22 * var(--u)); }
}
