:root {
  --regular: "MFW-PA1GothicStdN-Regular";
  --medium: "MFW-PA1GothicStdN-Medium";
  /* 読ませる本文はWebの書体（Noto Sans JP）、見出しやボタンはA1ゴシック */
  --noto: "Noto Sans JP", "Noto Sans CJK JP";
  --fb: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  /* ブランドカラー（tera-design-support basics/color.md の8色から） */
  --green: #009087;
  --deep: #094457;
  --mist: #e0f0ee;
  --black: #000;
  --white: #fff;
  --gray: #f7f7f7;
  /* 透明度を下げてよいのは black だけ（罫線15%・補足の文字70%） */
  --line: rgba(0, 0, 0, 0.15);
  --note: rgba(0, 0, 0, 0.7);
  /* hover は面を暗くする */
  --hover-shade: inset 0 0 0 999px rgba(0, 0, 0, 0.13);
  /* CTAは下に段を付けて立体にし、hover で半分、押すと底まで沈める */
  --btn-depth: 4px;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  /*
   * 文字の階層（tera-design-support lp-kit/tokens.json の typeScale、2026年10月28日決定）
   *   H1  ファーストビューのメインキャッチ … バナー画像で表現（h1は読み上げ用に隠す）
   *   H2  使っていない（英字見出しは小さなラベルにしたため。下の「英字ラベル」）
   *   H3  和文のセクション見出し      A1 Medium PC 32px / SP 22px
   *   H4  強調の一文・番号            A1 Medium PC 24px / SP 18px
   *   P   本文・カード・ボタン        PC 16px / SP 14px
   *   注釈 補足・注記・フッター       PC 14px / SP 11px
   *   英字ラベル（ABOUT など）は P と同じ大きさで Roboto
   * この6段階以外のサイズは使わない。
   */
  --roboto: "Roboto";
  --fs-h3: 32px;
  --lh-h3: 1.5;
  --fs-h4: 24px;
  --lh-h4: 1.5;
  --fs-p: 16px;
  --lh-p: 2;
  --fs-note: 14px;
  --lh-note: 1.714;
}

@media (max-width: 767px) {
  :root {
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-p: 14px;
    --lh-p: 1.714;
    --fs-note: 11px;
    --lh-note: 1.6;
  }
}

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

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

body {
  margin: 0;
  font-family: var(--noto), var(--fb);
  font-size: var(--fs-p);
  line-height: var(--lh-p);
  color: var(--black);
  background: var(--white);
}

h1,
h2,
p,
ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.sp {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .sp {
    display: inline;
  }
  .pc {
    display: none;
  }
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo img {
  width: 110px;
}

.header__cta {
  display: inline-block;
  padding: 8px 24px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-note);
  line-height: 1.5;
  color: var(--white);
  text-decoration: none;
  background: var(--green);
  border-radius: 9999px;
  transition: box-shadow 0.15s var(--ease);
}

.header__cta:hover {
  box-shadow: var(--hover-shade);
}

@media (max-width: 767px) {
  .header__inner {
    height: 56px;
    padding: 0 16px;
  }
  .header__logo img {
    width: 92px;
  }
  .header__cta {
    padding: 4px 16px;
  }
}

/* ---------- button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  padding: 20px 32px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-p);
  line-height: 1.487;
  letter-spacing: 0.04em;
  color: var(--white);
  text-decoration: none;
  background: var(--green);
  border-radius: 9999px;
  box-shadow: 0 var(--btn-depth) 0 var(--deep);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform 0.12s var(--ease),
    box-shadow 0.12s var(--ease);
}

.btn:hover {
  transform: translateY(calc(var(--btn-depth) / 2));
  box-shadow: 0 calc(var(--btn-depth) / 2) 0 var(--deep);
}

.btn:active {
  transform: translateY(var(--btn-depth));
  box-shadow: 0 0 0 var(--deep);
}

.header__cta:active {
  box-shadow: var(--hover-shade);
}

.btn:focus-visible,
.header__cta:focus-visible {
  outline: 2px solid rgba(0, 0, 0, 0.4471);
  outline-offset: 2px;
}

.btn__arrow {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.btn--white {
  color: var(--deep);
  background: var(--white);
  box-shadow: 0 var(--btn-depth) 0 var(--mist);
}

.btn--white:hover {
  box-shadow: 0 calc(var(--btn-depth) / 2) 0 var(--mist);
}

.btn--white:active {
  box-shadow: 0 0 0 var(--mist);
}

.btn--small {
  padding: 16px 24px;
}

@media (max-width: 767px) {
  .btn {
    padding: 16px 24px;
  }
}

/* ---------- FV ---------- */
/* セクションは白とグレーの地を交互に敷き、カードの枠は使わず余白と罫線で区切る。角丸はCTAだけ */
.fv {
  background: var(--white);
}

/* PC のバナーはヘッダーの中身（TERASS のロゴ〜参加予約）と同じ幅で止める（1032×505px。ノートPCでも最初の画面に予約ボタンまで入る） */
.fv__visual {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.fv__visual img {
  width: 100%;
}

@media (max-width: 767px) {
  .fv__visual {
    padding: 0;
  }
}

.fv__body {
  padding: 40px 24px 64px;
  text-align: center;
}

.fv__note {
  margin-top: 16px;
  font-size: var(--fs-note);
  color: var(--note);
}

@media (max-width: 767px) {
  .fv__body {
    padding: 32px 16px 48px;
  }
}

/* ---------- section ---------- */
.section {
  padding: 96px 24px;
  background: var(--white);
}

.section__inner {
  max-width: 880px;
  margin: 0 auto;
}

.heading {
  margin-bottom: 56px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-h3);
  font-weight: 500;
  font-feature-settings: "palt";
  line-height: var(--lh-h3);
  letter-spacing: 0.02em;
  text-align: center;
}

/* 英字は小さなラベルにして、和文の見出しを主役にする（STUDIO の見出しの組み方にならう） */
.heading__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--roboto), var(--fb);
  font-size: var(--fs-p);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--black);
}

.heading__en::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--green)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 100% no-repeat;
  border-radius: 50%;
}

.heading--white,
.heading--white .heading__en {
  color: var(--white);
}

@media (max-width: 767px) {
  .section {
    padding: 64px 16px;
  }
  .heading {
    margin-bottom: 40px;
  }
}

/* ---------- about ---------- */
.about {
  background: var(--gray);
}

.about__lead p {
  text-align: justify;
  text-align-last: left;
}

/* 写真と問いかけの一文をひと続きに見せる */
.about__photo {
  width: 100%;
  margin-top: 32px;
}

.about__lead .about__photo + p.about__catch {
  margin-top: 0;
}

.about__lead p.about__catch {
  margin: 32px 0;
  padding: 32px 24px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-h4);
  font-feature-settings: "palt";
  line-height: var(--lh-h4);
  letter-spacing: 0.02em;
  text-align: center;
  text-align-last: center;
  color: var(--deep);
  background: var(--mist);
}

.info {
  margin-top: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.info__row {
  display: flex;
}

.info__row + .info__row {
  border-top: 1px solid var(--line);
}

.info__row dt {
  flex-shrink: 0;
  width: 160px;
  padding: 20px 24px;
  font-family: var(--medium), var(--fb);
  color: var(--deep);
  background: var(--mist);
}

.info__row dd {
  flex-grow: 1;
  padding: 20px 24px;
  background: var(--white);
}

@media (max-width: 767px) {
  .about__photo {
    margin-top: 24px;
  }
  .about__lead p.about__catch {
    margin: 24px 0;
    padding: 24px 16px;
  }
  .info {
    margin-top: 32px;
  }
  .info__row dt {
    width: 88px;
    padding: 16px;
  }
  .info__row dd {
    padding: 16px;
  }
}

/* ---------- guest ---------- */
.guest {
  margin-top: 56px;
}

.guest__heading {
  margin-bottom: 24px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: var(--lh-h4);
  text-align: center;
}

/* 写真と名前だけを中央に並べる */
.guest__list {
  display: flex;
  justify-content: center;
  gap: 48px;
}

.guest__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 200px;
}

.guest__card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.guest__name {
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-h4);
  line-height: var(--lh-h4);
  text-align: center;
}

.guest__role {
  display: block;
  font-family: var(--roboto), var(--fb);
  font-size: var(--fs-note);
  line-height: 1.5;
  color: var(--green);
}

@media (max-width: 767px) {
  .guest {
    margin-top: 40px;
  }
  .guest__list {
    gap: 16px;
  }
  .guest__card {
    gap: 12px;
    width: calc((100% - 16px) / 2);
  }
}

/* ---------- recommend ---------- */
.recommend__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recommend__list li {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  font-size: var(--fs-p);
  font-feature-settings: "palt";
  line-height: var(--lh-p);
}

/* 絵の面はグレー（服の mist が地に溶けないように） */
.recommend__list img {
  width: 100%;
  padding: 32px 18%;
  background: var(--gray);
}

.recommend__list p {
  padding-top: 20px;
  white-space: nowrap;
}

/* SP は1列に積み、イラストを左・文を右に置く */
@media (max-width: 767px) {
  .recommend__list {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .recommend__list li {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .recommend__list img {
    flex-shrink: 0;
    width: 120px;
    padding: 12px;
  }
  .recommend__list p {
    padding-top: 0;
    white-space: normal;
  }
  .recommend__list .pc {
    display: none;
  }
}

/* ---------- agenda ---------- */
/* 話題で2段に分け、項目は「・」で並べる */
.agenda {
  background: var(--gray);
}

.agenda__groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
}

.agenda__group {
  padding-top: 24px;
  border-top: 2px solid var(--green);
}

.agenda__title {
  margin: 0 0 16px;
  font-family: var(--medium), var(--fb);
  font-size: var(--fs-p);
  font-weight: 500;
  line-height: 1.5;
}

.agenda__title-en {
  display: block;
  margin-bottom: 4px;
  font-family: var(--roboto), var(--fb);
  font-size: var(--fs-note);
  color: var(--green);
}

.agenda__list li {
  position: relative;
  padding: 12px 0 12px 20px;
  font-weight: 500;
  line-height: 1.5;
  border-top: 1px solid var(--line);
}

.agenda__list li:first-child {
  border-top: 0;
}

.agenda__list li::before {
  content: "";
  position: absolute;
  top: calc(12px + 0.75em - 3px);
  left: 4px;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
}

@media (max-width: 767px) {
  .agenda__groups {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- entry ---------- */
.entry {
  text-align: center;
  background: var(--deep);
  color: var(--white);
}

.entry__lead {
  margin-bottom: 32px;
}

.entry__notes {
  max-width: 640px;
  margin: 48px auto 0;
  font-size: var(--fs-note);
  line-height: var(--lh-note);
  text-align: left;
}

.entry__notes p + p {
  margin-top: 12px;
}

.entry__notes a {
  color: var(--white);
  word-break: break-all;
}

@media (max-width: 767px) {
  .entry__notes {
    margin-top: 32px;
  }
}

/* ---------- footer ---------- */
.footer {
  padding: 48px 24px 40px;
  text-align: center;
}

.footer__logo {
  display: inline-block;
}

.footer__logo img {
  width: 120px;
}

.footer__links {
  margin-top: 20px;
  font-size: var(--fs-note);
}

.footer__copy {
  margin-top: 8px;
  font-size: var(--fs-note);
  color: var(--note);
}

/* ---------- fixed cta (SP) ---------- */
.fixed-cta {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: 84px;
  }
  .fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    display: block;
    padding: 12px 16px 16px;
    text-align: center;
    background: var(--white);
    border-top: 1px solid var(--line);
  }
  .fixed-cta .btn {
    max-width: none;
  }
}
