/* ================================================
   明日香 静謐の旅 LP
   絵がヒーローを構成する。絵の色がページの色。
   ================================================ */

:root {
  --c-paper:  #F2EBDD;  /* 絵の紙色 = ページ背景 */
  --c-ink:    #2A2620;  /* 絵のペン線 = テキスト */
  --c-violet: #6B6480;  /* 絵の影色 = 補助テキスト */
  --c-rule:   #D4C9B0;  /* 区切り線 */
  --c-input:  #FAF6EE;  /* 入力欄 */

  --ff-serif: 'Noto Serif JP', serif;
  --ff-en:    'Cormorant Garamond', serif;

  --sp-sec:  clamp(80px, 12vw, 140px);
  --sp-side: clamp(24px, 6vw, 64px);
  --max-w:   900px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ol { list-style: none; }
button, input, select { font: inherit; }

body {
  background: var(--c-paper);
  color: var(--c-ink);
  font-family: var(--ff-serif);
  font-size: clamp(0.9rem, 1.35vw, 1rem);
  line-height: 2;
  -webkit-font-smoothing: antialiased;
}

/* ペン画下書きをページ全体の固定背景に敷く
   ヒーロー部では石舞台水彩に隠れて見えず、
   スクロール後のセクションでうっすら現れる */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('images/sitagaki.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  mix-blend-mode: multiply;  /* 白背景は紙色に溶け、線だけが残る */
  z-index: -1;
  pointer-events: none;
}

/* フェードイン */
.js-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js-fade.in { opacity: 1; transform: translateY(0); }

/* レイアウト */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-side);
}
.inner--narrow { max-width: 620px; }

/* セクション共通 */
.section {
  padding: var(--sp-sec) 0;
  border-top: 1px solid var(--c-rule);
}

/* 小見出し（英語イタリック） */
.sec-label {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: clamp(0.65rem, 0.85vw, 0.75rem);
  letter-spacing: 0.3em;
  color: var(--c-violet);
  text-transform: uppercase;
  margin-bottom: clamp(28px, 4vw, 44px);
}


/* ================================================
   HERO
   絵が画面全体を占め、文字を直接重ねる
================================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* 絵をフルブリードで敷く */
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 絵の中央やや右（石舞台の巨石が中央にくるよう）を基点に */
  object-position: center 55%;
}

/* 下から上へのグラデーションオーバーレイ
   絵の上部（空・木）は透明、テキストが乗る下部だけ暗くする */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 24, 18, 0.82) 0%,
    rgba(30, 24, 18, 0.48) 40%,
    rgba(30, 24, 18, 0.00) 68%
  );
}

/* テキストエリア：左下に配置 */
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 var(--sp-side) clamp(52px, 8vw, 88px);
  max-width: 600px;
}

.hero__label {
  font-family: var(--ff-en);
  font-size: clamp(0.58rem, 0.75vw, 0.68rem);
  letter-spacing: 0.38em;
  color: rgba(242, 235, 221, 0.95);
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  background: rgba(30, 24, 18, 0.38);
  padding: 3px 10px 3px 8px;
}

.hero__catch {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.18em;
  line-height: 1.35;
  color: #F2EBDD;   /* 紙色 = 絵の外縁と同じ白さ */
  margin-bottom: 14px;
}

.hero__sub {
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  color: rgba(242, 235, 221, 0.78);
  letter-spacing: 0.1em;
  font-weight: 300;
  margin-bottom: 32px;
}

/* CTA ボタン：墨色 */
.hero__btn {
  display: inline-block;
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  padding: 12px 32px;
  transition: opacity 0.3s;
}
.hero__btn:hover { opacity: 0.75; }

/* 作品クレジット：右下隅に控えめに */
.hero__credit {
  position: absolute;
  z-index: 2;
  bottom: clamp(16px, 2.5vw, 28px);
  right: var(--sp-side);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(242, 235, 221, 0.45);
  font-family: var(--ff-en);
  font-style: italic;
}

/* スクロール誘導ライン */
.hero__scroll {
  position: absolute;
  z-index: 2;
  bottom: clamp(16px, 2.5vw, 28px);
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(242, 235, 221, 0.4);
  animation: scrollDown 2.5s ease infinite;
  transform-origin: top;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}


/* ================================================
   ABOUT
================================================ */
.about__body {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 1.6em;
  font-weight: 300;
  line-height: 2.1;
}


/* ================================================
   COURSE
================================================ */
.course__list {
  display: flex;
  flex-direction: column;
}
.course__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 22px;
  align-items: start;
  padding: clamp(22px, 3.5vw, 34px) 0;
  border-bottom: 1px solid var(--c-rule);
}
.course__item:first-child { border-top: 1px solid var(--c-rule); }

.course__num {
  font-family: var(--ff-en);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--c-violet);
  line-height: 1;
  padding-top: 4px;
}
.course__place {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 7px;
  line-height: 1.5;
}
.course__desc {
  font-size: 0.87rem;
  font-weight: 300;
  line-height: 1.95;
}
.course__time {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--c-violet);
  letter-spacing: 0.08em;
}


/* ================================================
   RESERVE
================================================ */
.info {
  border-top: 1px solid var(--c-rule);
  margin-bottom: clamp(32px, 4vw, 48px);
}
.info__row {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-rule);
  font-size: 0.87rem;
}
.info__row dt {
  flex-shrink: 0;
  width: 60px;
  color: var(--c-violet);
  font-weight: 300;
  letter-spacing: 0.05em;
}
.info__row dd strong { font-size: 1.05em; }

/* フォーム */
.form { display: flex; flex-direction: column; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__group label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 300;
}
.req {
  font-size: 0.6rem;
  background: var(--c-violet);
  color: #fff;
  padding: 1px 6px;
}
.form__group input,
.form__group select {
  border: 1px solid var(--c-rule);
  background: var(--c-input);
  padding: 10px 13px;
  color: var(--c-ink);
  font-size: 0.9rem;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  transition: border-color 0.25s;
}
.form__group input:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--c-violet);
}
.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23D4C9B0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 34px;
  cursor: pointer;
}
.submit-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  background: var(--c-ink);
  color: var(--c-paper);
  border: none;
  padding: 14px 0;
  font-family: var(--ff-serif);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: opacity 0.3s;
}
.submit-btn:hover { opacity: 0.75; }


/* ================================================
   FOOTER
================================================ */
.footer {
  border-top: 1px solid var(--c-rule);
  padding: 40px var(--sp-side) 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.footer__name {
  font-family: var(--ff-en);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.footer__small {
  font-size: 0.7rem;
  color: var(--c-violet);
  letter-spacing: 0.05em;
  font-weight: 300;
}
.footer__note {
  font-size: 0.62rem;
  color: var(--c-rule);
  margin-top: 10px;
}


/* ================================================
   レスポンシブ
================================================ */

@media (max-width: 560px) {
  .course__item { grid-template-columns: 38px 1fr; gap: 0 14px; }
  .course__num { font-size: 1.3rem; }

  .info__row { flex-direction: column; gap: 2px; }
  .info__row dt { width: auto; }
}
