/* 無料オンライン相談（予約のページと完了のページの 2 ページ）で共有する。
   色は紺・青・青緑・黄色の帯・橙のボタン。本文と見出しは Noto Sans JP と Zen Kaku Gothic New。
   スマホ（360〜430px）を先に書き、768px と 1024px 以上で広げる。最小 320px で横にはみ出さない。 */

:root {
  --navy-950: #0c2138;
  --navy-900: #0f2f52;
  --navy-800: #123f78;
  --blue: #1857a6;
  --teal: #12938a;
  --teal-dark: #0d5f58;
  --teal-light: #7fd4cb;
  --yellow: #ffe08a;
  --ink: #16232f;
  --ink-2: #33414d;
  --ink-3: #42505c;
  --muted: #5f7488;
  --line: #dbe3ec;
  --soft: #f4f7fa;
  --tint: #eef3f9;
  /* Web フォントは後から読み込む（LP と同じ）。届くまでの間も日本語の書体で出すため、端末の書体を後ろに並べる */
  --font-body: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --font-head: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  --gutter: 16px;
  --slant: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  /* 長いメールアドレスや URL でも、320px の幅から横にはみ出さない */
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--navy-800);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

/* 紺と青緑の地では青の枠が見えない（紺と 1.9:1、青緑と 1.1:1）ので黄色にする。白い予約の枠の中は青のまま */
.fv-intro a:focus-visible,
.section--final a:focus-visible {
  outline-color: var(--yellow);
}

/* 問い合わせのメールアドレスは、打ち写しやすいよう 1 行で出す（320px でも 1 行に入る）。アドレスの文は、配信の Cloudflare が
   書き替えないよう「@」の前で span（.mail-at）に分けてあるが、その span では折らない（「it-」の後ろで折れないよう、ここでは
   white-space: normal にしない） */
.mail {
  white-space: nowrap;
}

/* 短い語だけが次の行に落ちないよう、<wbr> の所だけで折る（LP と同じ。文字は変えない） */
.bk {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.nw {
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- ヘッダー（ロゴと「無料オンライン相談」だけ。ナビは置かない） ---------- */

.site-header {
  background: #fff;
  border-bottom: 2px solid var(--blue);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding-top: 9px;
  padding-bottom: 9px;
}

/* 会社のロゴは横長で、画像の上下左右に透明な余白がある（左右はそれぞれ幅の約 1 割）。左右の余白を切って（object-fit）、
   ロゴの左端を枠の左端にそろえる。幅は高さの 5.72 倍（余白を除いたロゴの幅）。320px でも右の札と並ぶよう、狭い画面では小さくする */
.site-logo {
  --logo-h: clamp(22px, 7vw, 28px);
  width: calc(var(--logo-h) * 5.72);
  height: var(--logo-h);
  object-fit: cover;
}

.header-badge {
  flex: none;
  padding: 6px 12px;
  border: 1px solid #bfe8e2;
  border-radius: 999px;
  background: #eafbf8;
  /* 青緑（--teal）では地と 3.5:1 で薄い。小さな文字なので濃い青緑にする（7:1） */
  color: var(--teal-dark);
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

/* ---------- 区画と、区画の頭の斜めの切り替え（LP と同じ 24px の三角） ---------- */

.section {
  position: relative;
  padding: 36px 0 44px;
}

.section--soft {
  background: var(--soft);
}

/* 予約の枠を置く、よくある質問のすぐ上の紺の区画（中の枠は白い地） */
.section--navy {
  overflow: hidden;
  background: var(--navy-900);
  color: #fff;
}

.section--final {
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--teal-dark) 100%);
  color: #fff;
}

/* 前の区画の地の色の三角を、この区画の頭に重ねる。1px 上に出して、境目に細い線が残らないようにする（LP の margin-top: -1px と同じ） */
.slant {
  padding-top: calc(var(--slant) + 30px);
}

.slant::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: calc(var(--slant) + 1px);
  background: var(--slant-from, #fff);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.slant--r::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.from-white {
  --slant-from: #fff;
}

.from-soft {
  --slant-from: var(--soft);
}

.from-navy {
  --slant-from: var(--navy-900);
}

.from-fv {
  --slant-from: var(--navy-800);
}

/* 紺の区画の右の斜めの帯（LP の飾りと同じ色）。区画が高くても帯が箱の縁で切れないよう、平行四辺形で描く */
.section--navy::after,
.section--final::after,
.fv::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 240px;
  height: 100%;
  background: rgba(18, 147, 138, 0.2);
  clip-path: polygon(62% 0, 92% 0, 38% 100%, 8% 100%);
  pointer-events: none;
}

.section--final::after {
  background: rgba(255, 224, 138, 0.1);
}

/* 頭の三角（前の区画の色）の上には重ねない */
.slant.section--navy::after,
.slant.section--final::after {
  top: var(--slant);
  height: calc(100% - var(--slant));
}

.section > .container,
.fv > .container {
  position: relative;
  z-index: 1;
}

/* 見出し。LP の「英字の札＋点線」の並びを、文字を足さずに飾りだけで写す */
.sec-title {
  position: relative;
  margin-bottom: 18px;
  padding-top: 20px;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: min(24px, 6.4vw);
  font-weight: 900;
  line-height: 1.5;
}

.sec-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 8px;
  background: var(--blue);
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.sec-title::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 44px;
  right: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--line) 0 12px, transparent 12px 18px);
}

.sec-title--sm {
  margin-bottom: 12px;
  padding-top: 16px;
  font-size: 19px;
}

.sec-title--sm::before {
  width: 26px;
  height: 6px;
}

.sec-title--sm::after {
  top: 1.5px;
  left: 34px;
}

/* ---------- 黄色の帯（LP と同じ。斜めにして、中の文字だけ戻す） ---------- */

.band {
  display: inline-block;
  padding: 5px 12px;
  background: var(--yellow);
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  transform: skewX(-8deg);
}

.band > span,
.band-inline > span {
  display: inline-block;
  transform: skewX(8deg);
}

.band-inline {
  display: inline-block;
  margin: 0 2px;
  padding: 2px 8px;
  background: var(--yellow);
  color: var(--navy-900);
  line-height: 1.35;
  transform: skewX(-8deg);
}

/* ---------- 主ボタン（LP の「無料相談」のボタンと同じ色と形） ---------- */

.btn-cta {
  display: block;
  width: 100%;
  margin: 0;
  padding: 17px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe08a 0%, #f2a71b 45%, #dc8f0a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -3px 4px rgba(150, 90, 0, 0.25),
    0 5px 0 #a5690a,
    0 16px 28px -8px rgba(226, 150, 10, 0.65);
  color: #5a3800;
  font-family: inherit;
  font-size: clamp(16px, 4.8vw, 18px);
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.08s ease,
    box-shadow 0.08s ease;
}

.btn-cta:hover {
  color: #5a3800;
}

.btn-cta:active {
  transform: translateY(5px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    inset 0 -1px 2px rgba(150, 90, 0, 0.2),
    0 0 0 #a5690a,
    0 5px 12px -5px rgba(226, 150, 10, 0.55);
}

.btn-cta > span {
  display: block;
}

/* ---------- ✓ の並び ---------- */

.checks {
  display: table;
  margin: 12px auto 0;
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.75;
}

.checks li {
  display: flex;
  gap: 6px;
}

.check {
  flex: none;
  color: var(--teal);
  font-weight: 900;
}

/* ---------- 予約ページ: 最初の画面 ---------- */

/* 予約の枠は、よくある質問の上の区画に置く。最初の画面は案内のリンクで終わるので、下の余白は上と同じにする
   （次の区画の頭の斜めの分だけ、下が少し広く見える） */
.fv {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 60%);
  color: #fff;
}

.fv-title {
  margin: 12px 0 10px;
  font-family: var(--font-head);
  font-size: min(26px, 7vw);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(10, 25, 45, 0.4);
}

.fv-title-em {
  display: inline-block;
  margin-top: 2px;
  color: var(--yellow);
  font-size: min(32px, 8.6vw);
}

.fv-lead {
  color: #d7e4f3;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}

/* 予約の枠はページの下の方（よくある質問の上）にあるので、最初の画面にも枠へ飛ぶボタンを置く。見た目は最後のボタンと同じ */
.fv-cta {
  margin-top: 16px;
}

/* 相談の内容への案内（ページ内のリンク）。日時を選ぶボタンの下の 2 つ目の行き先なので、小さいままボタンの真ん中に置く */
.fv-more {
  margin-top: 10px;
  line-height: 1.4;
  text-align: center;
}

.fv-skip {
  display: inline-block;
  padding: 6px 0;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.fv-skip:hover {
  color: #fff;
}

/* ---------- 予約の枠（白い枠に、見出し・日時選択・安心の 3 行・個人情報の扱いの文） ---------- */

.booking-card {
  margin-top: 18px;
  padding: 18px 12px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px -12px rgba(5, 25, 50, 0.55);
  color: var(--ink);
  /* ページの中のボタンで動いたとき、枠の頭が画面の端に付かないよう少し空ける */
  scroll-margin-top: 12px;
}

/* 枠は、よくある質問のすぐ上の紺の区画（.section--booking）に置く。上の余白は区画の padding だけにする */
.section--booking .booking-card {
  margin-top: 0;
}

/* 見出しの飾り（.sec-title）の左端を、枠の中の文の左端にそろえる */
.booking-title {
  margin-bottom: 10px;
}

/* 個人情報の扱い（小さく）。安心の 3 行と分けるため、点線で区切る。
   1024px 以上で最後の行が「取り扱います。」だけにならないよう、行の長さをそろえる（2〜4 行なので balance が効く） */
.booking-privacy {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
  text-wrap: balance;
}

/* ---------- 番号の丸（完了のページの「このあとの流れ」） ---------- */

.num {
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

/* ---------- 相談の概要 ---------- */

.about-lead {
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}

.table-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.overview {
  width: 100%;
  border-collapse: collapse;
}

.overview th,
.overview td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  vertical-align: top;
}

.overview tr:last-child th,
.overview tr:last-child td {
  border-bottom: 0;
}

/* 320px でも「いただくもの」が 1 行に入る幅 */
.overview th {
  width: 40%;
  background: var(--tint);
  color: var(--navy-900);
  font-weight: 700;
}

/* 360px 未満は、値の列に「オンライン（Zoom）。」が 1 行に入るよう、文字と余白を少し詰める（見出しの列の幅は変えない） */
@media (max-width: 359px) {
  .overview th,
  .overview td {
    padding: 12px 10px;
    font-size: 14px;
  }
}

/* ---------- よくある質問（details/summary） ---------- */

.faq {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 14px -10px rgba(24, 60, 100, 0.4);
}

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 46px 14px 15px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.6;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* 開くと「＋」が「×」になる */
.faq-item summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 17px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(var(--blue), var(--blue)) center / 14px 2px no-repeat,
    linear-gradient(var(--blue), var(--blue)) center / 2px 14px no-repeat;
  transform: translateY(-50%);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-q {
  flex: none;
  padding: 0 8px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 900;
  line-height: 1.7;
  clip-path: polygon(0 0, 100% 0, calc(100% - 5px) 100%, 0 100%);
}

.faq-a {
  padding: 0 15px 14px;
}

.faq-a p {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  color: var(--ink-3);
  font-size: 15px;
  line-height: 1.9;
}

/* ---------- 最後の誘い ---------- */

.final {
  text-align: center;
}

.final-text {
  margin-bottom: 20px;
  font-family: var(--font-head);
  font-size: min(20px, 5.2vw);
  font-weight: 900;
  line-height: 1.7;
}

.final .btn-cta {
  max-width: 520px;
  margin: 0 auto;
}

/* ---------- 日時選択（貼る形。予約の枠の中） ---------- */

/* 貼る形の外側の枠。白い背景と余白は、予約の枠（.booking-card）が持つ */
.smile-booking {
  margin-top: 4px;
}

/* 768px 未満では、TimeRex の日時選択の中身が枠より広く、右の端（320・360px）や左の時刻の見出しが切れていた。TimeRex が枠
   （#timerex_calendar）に width: 100% を直に書くので、外側の枠を予約の枠の左右の余白（12px）の分だけ広げて日時選択を 24px 広くし、
   中の文と枠の下のリンクは元の位置に戻す。390px は切れない。360・320px は左の時刻の先頭が 2px ほど欠け、320px は右もまだ 16px 足りない */
@media (max-width: 767px) {
  .smile-booking {
    margin-right: -12px;
    margin-left: -12px;
  }

  .smile-booking-note,
  .smile-booking-link {
    margin-right: 12px;
    margin-left: 12px;
  }
}

/* 貼る形の文には <wbr> が無い（貼る形は一字も変えない）。語の途中や 1 字だけの行で折れないよう、語の切れ目と句読点で折る。
   768px と 320px で最後の行が「（30分程度）。」だけにならないよう、行の長さをそろえる（2〜3 行なので balance が効く。文字は変えない） */
.booking-service,
.smile-booking-note {
  position: relative;
  padding-left: 16px;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* 1 つ目の文の「タブレット・パソコンから参加できます」は、<wbr> が無いので 1 つの塊になる。幅の狭いスマホで塊が 1 行に
   入らないと、「タブレット・」や「（30分程度）。」だけの行ができるので、字を少し小さくして入れる */
@media (max-width: 389px) {
  .booking-service,
  .smile-booking-note {
    font-size: 13.5px;
  }
}

@media (max-width: 374px) {
  .booking-service,
  .smile-booking-note {
    font-size: 13px;
  }
}

.booking-service::before,
.smile-booking-note::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.smile-booking-note + .smile-booking-note {
  margin-top: 6px;
}

/* 貼る形のすぐ上の 1 行（ご希望のサービスは…）と、貼る形の note の間も、note どうしと同じだけ空ける */
.booking-service + .smile-booking {
  margin-top: 6px;
}

#timerex_calendar {
  margin-top: 14px;
}

#timerex_calendar iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* TimeRex が読み込まれるまでの場所を取っておく（読み込めないときは、枠の下の予約ページへのリンクで予約できる） */
#timerex_calendar:empty {
  min-height: 260px;
  border-radius: 10px;
  background: #f8fafc;
}

/* 見本の URL のままのときだけ、script が何も描かないことが分かるよう点線の枠を出す（確認用）。
   本番の URL で TimeRex が読めないときに、確認用の文を利用者に見せないため */
#timerex_calendar[data-url*='TEAM_ID']:empty::before {
  content: '（ここに日時の選択が出ます）';
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 16px;
  border: 2px dashed #b9c6d3;
  border-radius: 10px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.smile-booking-link {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}

/* 日時選択の部品が出すリンクの文。「こちら｜から」のように語の途中で折れないよう、読点で折る */
.smile-booking-link {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* 1 行だけのリンクなので、上下に余白を付けて押しやすくする（高さ 24px 以上） */
.smile-booking-link a {
  display: inline-block;
  padding: 4px 0;
}

/* JavaScript が動かないときの案内（予約の枠の中の noscript）。日時選択の代わりに目に入るよう、日時選択の場所と同じ淡い地に置く */
.booking-noscript {
  margin-top: 14px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
  text-wrap: balance;
}

/* JavaScript が動かないときは日時選択が出ないので、空の場所（260px）を取らずに案内の文だけを見せる */
@media (scripting: none) {
  #timerex_calendar:empty {
    display: none;
  }
}

/* ---------- 完了のページ ---------- */

.page-top {
  padding: 24px 0 32px;
  background: var(--soft);
}

/* 予約が確定したことが一目で分かる、大きめのチェックの印（濃い青緑の丸に白いチェック、外に薄い輪） */
.done-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #dff3f0;
  color: var(--teal-dark);
}

.done-mark svg {
  width: 58px;
  height: 58px;
}

.page-title {
  color: var(--navy-900);
  font-family: var(--font-head);
  font-size: min(24px, 6.4vw);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.page-lead {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.7;
  text-align: center;
}

/* このあとの流れ（白い枠に、番号付きの 3 段） */
.next-card {
  margin-top: 20px;
  padding: 18px 16px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px -14px rgba(5, 25, 50, 0.35);
}

.step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.step + .step {
  margin-top: 14px;
}

.step .num {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

/* 番号と番号を細い線でつなぐ */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 34px;
  bottom: -12px;
  left: 14px;
  width: 2px;
  background: var(--line);
}

.info-block + .info-block {
  margin-top: 30px;
}

.info-block p {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}

/* ---------- フッター（会社のロゴ・P マーク・著作権の表示。紺の地に 3 色の線） ---------- */

.site-footer {
  position: relative;
  padding: 32px 0 26px;
  background: var(--navy-950);
  color: #fff;
  text-align: center;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, #1857a6 0 32px, #12938a 32px 64px, #f2a71b 64px 80px);
}

.footer-logo {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
}

.footer-logo img {
  width: auto;
  height: 28px;
}

.pmark {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 340px;
  margin: 16px auto 0;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}

.pmark img {
  flex: none;
  width: 56px;
  height: 56px;
}

.pmark p {
  font-size: 12px;
  line-height: 1.6;
}

.copyright {
  margin-top: 18px;
  color: #7f97b3;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

/* ================= 768px 以上 ================= */

@media (min-width: 768px) {
  :root {
    --gutter: 24px;
  }

  .site-logo {
    --logo-h: 32px;
  }

  .section {
    padding: 48px 0 56px;
  }

  .slant {
    padding-top: calc(var(--slant) + 40px);
  }

  .sec-title {
    margin-bottom: 22px;
    font-size: 26px;
  }

  .sec-title--sm {
    font-size: 20px;
  }

  .fv {
    padding: 32px 0;
  }

  /* 最初の画面と予約の枠の区画は、1 列のまま 688px に抑える。予約の枠は、TimeRex の日時選択を確かめてきた幅（640px）のままにする */
  .fv > .container,
  .section--booking > .container {
    max-width: 688px;
  }

  .fv-title {
    font-size: 30px;
  }

  .fv-title-em {
    font-size: 38px;
  }

  .fv-lead {
    font-size: 16px;
  }

  /* 前文の幅（640px 以上）いっぱいのボタンは大きすぎるので、LP の予約ページの最初の画面のボタンと同じ 440px にする。
     案内のリンクもこの幅の真ん中に置く */
  .fv-cta,
  .fv-more {
    max-width: 440px;
  }

  .fv-cta {
    margin-top: 20px;
  }

  .booking-card {
    margin-top: 24px;
    padding: 24px 28px 26px;
  }

  .overview th,
  .overview td {
    padding: 16px 20px;
  }

  .overview th {
    width: 30%;
  }

  .page-top {
    padding: 32px 0 44px;
  }

  .done-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 16px;
  }

  .done-mark svg {
    width: 68px;
    height: 68px;
  }

  .page-title {
    font-size: 28px;
  }

  .next-card {
    margin-top: 26px;
    padding: 24px 28px 26px;
  }
}

/* ================= 1024px 以上 ================= */

@media (min-width: 1024px) {
  .container--wide {
    max-width: 1080px;
  }

  /* 予約の枠（よくある質問の上の区画）は、ほかの区画（760px）より広い最大 880px。TimeRex の日時選択は幅で PC とスマホの
     見た目が切り替わるので、狭い枠に入れない。最初の画面も同じ幅のまま（見出しと前文の位置は前と同じ） */
  .fv > .container,
  .section--booking > .container {
    max-width: calc(880px + 2 * var(--gutter));
  }

  .fv {
    padding: 44px 0;
  }

  .fv-title {
    margin-top: 16px;
    font-size: 32px;
  }

  .fv-title-em {
    font-size: 42px;
  }

  .booking-card {
    margin-top: 32px;
    padding: 28px 32px 30px;
  }
}
