@charset "UTF-8";

/* ============================================================
   天明寺 法話会LP
   colors: ink #1b2430 / gold #c9a227 / paper #fdfbf6 / beige #f3eee2
   ============================================================ */

/* ---------- base ---------- */
*{ box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #efeae0;
  color: #20262e;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: #8c6a33; text-decoration: none; }
a:hover { color: #6d5127; }

.serif { font-family: 'Noto Serif JP', serif; }

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: #fdfbf6;
  box-shadow: 0 0 60px rgba(32, 38, 46, .10);
  overflow: hidden;
}

/* ---------- section shell ---------- */
.section { padding: 96px 48px; }
.section--paper { background: #fdfbf6; }
.section--beige { background: #f3eee2; border-top: 1px solid #e2dac8; border-bottom: 1px solid #e2dac8; }
.section--beige-b { background: #f3eee2; border-bottom: 1px solid #e2dac8; }
.section--beige-t { background: #f3eee2; border-top: 1px solid #e2dac8; }
.section--ink { background: #1b2430; color: #f4efe3; }

.inner { max-width: 1160px; margin: 0 auto; }
.inner--narrow { max-width: 1000px; margin: 0 auto; }
.inner--faq { max-width: 820px; margin: 0 auto; }
.inner--form { max-width: 780px; margin: 0 auto; }

.head { text-align: center; margin-bottom: 44px; }
.eyebrow {
  font-family: 'Noto Serif JP', serif;
  font-size: 13px; letter-spacing: .24em;
  color: #8c6a33; margin-bottom: 16px;
}
.eyebrow--gold { color: #c9a227; letter-spacing: .24em; }
.h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px; font-weight: 600; line-height: 1.5;
  letter-spacing: .04em; color: #1b2430;
}
.section--ink .h2 { color: #f4efe3; line-height: 1.6; letter-spacing: .03em; }
.lead { font-size: 16px; line-height: 2; color: #5b5f68; margin-top: 14px; }
.note { font-size: 15px; line-height: 2; color: #5b5f68; margin-top: 16px; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px 48px;
  background: rgba(253, 251, 246, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ddd3c0;
}
.header__brand {
  height: 44px; width: auto; display: block;
}
.header__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; text-align: center;
  font-size: 15px; font-weight: 700; letter-spacing: .06em;
  padding: 15px 18px; white-space: nowrap;
}
.btn--ink { background: #1b2430; color: #fdfbf6; }
.btn--ink:hover { background: #2a3442; color: #fdfbf6; }
.btn--outline { background: #fff; color: #1b2430; border: 1px solid #b9ab8f; }
.btn--outline:hover { border-color: #c9a227; color: #8c6a33; }
.btn--gold {
  background: #c9a227; color: #1b2430;
  font-size: 17px; letter-spacing: .08em; padding: 19px 44px;
}
.btn--gold:hover { background: #dbb63f; color: #1b2430; }
.btn--sm { font-size: 13px; padding: 11px 20px; }
.btn--full { background: #eae4d6; color: #9a9186; border: 1px solid #ddd3c0; cursor: default; }.btn--block { display: block; }
.row__date .dow { margin-left: 4px; }
.row__date .dow--sat { color: #2563a8; }
.row__date .dow--sun { color: #c0392b; }

/* ---------- main visual ---------- */
.mv { position: relative; width: 100%; background: #1b2430; line-height: 0; }
.mv__img { display: block; width: 100%; height: auto; }
.mv__img--sp { display: none; }

/* ---------- cta band ---------- */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 32px;
  padding: 28px 48px; background: #1b2430; color: #f4efe3;
}
.cta__tags { display: flex; gap: 12px; }
.tag {
  font-size: 14px; font-weight: 700; letter-spacing: .08em;
  border: 1px solid #4a5462; padding: 10px 20px; white-space: nowrap;
}
.cta__note { font-size: 14px; line-height: 1.8; color: #c3bcae; white-space: nowrap; }

/* ---------- greeting ---------- */
.greeting { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.greeting__figure { position: relative; }
.greeting__img {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  object-fit: cover; border: 1px solid #d5cab3;
}
.greeting__corner {
  position: absolute; left: -14px; top: -14px; width: 60px; height: 60px;
  border-top: 2px solid #c9a227; border-left: 2px solid #c9a227;
}
.greeting__title {
  font-family: 'Noto Serif JP', serif;
  font-size: 38px; font-weight: 600; line-height: 1.6;
  letter-spacing: .04em; color: #1b2430; margin-bottom: 28px;
}
.rule { width: 56px; height: 2px; background: #c9a227; margin-bottom: 28px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 2.1; color: #3c4048; text-wrap: pretty; }
.signature {
  font-family: 'Noto Serif JP', serif; font-size: 16px; letter-spacing: .08em;
  color: #1b2430; text-align: right; margin-top: 24px;
}

/* ---------- cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card { background: #fdfbf6; border: 1px solid #ddd3c0; padding: 36px 30px; }
.card__num {
  font-family: 'Noto Serif JP', serif; font-size: 24px;
  color: #c9a227; letter-spacing: .2em; margin-bottom: 14px; text-align: center;
}
.card__title {
  font-family: 'Noto Serif JP', serif; font-size: 20px; font-weight: 600;
  line-height: 1.7; color: #1b2430; margin-bottom: 14px;
}
.card__text { font-size: 15px; line-height: 2; color: #5b5f68; }

/* ---------- gifts ---------- */
.gifts { position: relative; overflow: hidden; background: #faf5ea; border-bottom: 1px solid #e2dac8; }
.gifts__deco {
  position: absolute; width: 320px;
  mix-blend-mode: multiply; opacity: .8; pointer-events: none;
}
.gifts__deco--bl { left: 0; bottom: 0; }
.gifts__deco--br { right: 0; top: 194px; width: 438px; height: 397px; }
.gifts__body { position: relative; }
.gift {
  background: rgba(253, 251, 246, .94); border: 1px solid #c9a227;
  padding: 32px 30px; display: flex; gap: 16px; align-items: flex-start;
}
.gift__num {
  font-family: 'Noto Serif JP', serif; font-size: 14px;
  letter-spacing: .2em; color: #c9a227; padding-top: 4px;
}
.gift__text {
  font-family: 'Noto Serif JP', serif; font-size: 19px; font-weight: 600;
  line-height: 1.9; color: #1b2430;
}

.fee {
  display: flex; align-items: baseline; justify-content: center;
  gap: 16px; margin-top: 28px; padding: 24px 28px;
  background: rgba(253, 251, 246, .94);
  border-top: 2px solid #c9a227; border-bottom: 2px solid #c9a227;
}
.fee__label {
  font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 600;
  letter-spacing: .18em; color: #8c6a33;
}
.fee__amount {
  font-family: 'Noto Serif JP', serif; font-size: 34px; font-weight: 600;
  letter-spacing: .04em; color: #1b2430;
}
.fee__note { font-size: 15px; color: #6c6357; }
.fee__terms {
  margin-top: 24px; text-align: center;
  font-size: 15px; line-height: 1.9; color: #5b5f68;
}

/* ---------- schedule ---------- */.banner {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  margin-bottom: 28px; padding: 20px 28px; background: #1b2430;
  border-top: 2px solid #c9a227; border-bottom: 2px solid #c9a227;
}
.banner__line { flex: 1; max-width: 80px; height: 1px; background: #c9a227; }
.banner__text {
  font-family: 'Noto Serif JP', serif; font-size: 22px; font-weight: 600;
  letter-spacing: .16em; color: #f4efe3; white-space: nowrap;
}

.table { display: flex; flex-direction: column; border-top: 2px solid #1b2430; }
.row {
  display: grid;
  grid-template-columns: 150px minmax(140px, 190px) minmax(240px, 1.4fr) 170px;
  gap: 20px; align-items: center;
  padding: 26px 20px; border-bottom: 1px solid #ddd3c0; background: #fdfbf6;
}
.row__date {
  font-family: 'Noto Serif JP', serif; font-size: 23px; font-weight: 600;
  line-height: 1.45; color: #1b2430;
}
.badge {
  display: inline-block; margin-top: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .08em;
  padding: 4px 10px; white-space: nowrap;
}
.badge--host { color: #1b2430; background: #e7d9a8; border: 1px solid #c9a227; }
.badge--ext { color: #6c6357; background: #fff; border: 1px solid #c3b89e; }
.row__place {
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 500;
  line-height: 1.8; color: #1b2430; white-space: pre-line;
}
.row__detail {
  font-size: 16px; line-height: 1.9; color: #3c4048;
  white-space: pre-line; overflow-wrap: anywhere;
}
.row__address {
  font-size: 13px; line-height: 1.7; color: #8b8171;
  white-space: pre-line; margin-top: 6px;
}
.row__action { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }

.callout {
  margin-top: 24px; padding: 24px; text-align: center;
  font-size: 15px; line-height: 1.9; color: #6c6357;
  background: #f3eee2; border: 1px solid #e2dac8;
}

/* ---------- tel panel ---------- */
.tel { position: relative; margin: 40px auto 0; width: 70%; overflow: hidden; background: #0f2f28; }
.tel__pattern {
  position: absolute; inset: 0;
  background-image: url('../img/pattern-green.jpg');
  background-size: 240px; background-repeat: repeat;
  opacity: .14; mix-blend-mode: screen;
}
.tel__body {
  position: relative; padding: 38px 32px; text-align: center; color: #fdfbf6;
  border-top: 3px solid #c9a227; border-bottom: 3px solid #c9a227;
}
.tel__intro { margin: 10px 10px 20px; }
.tel__label { font-family: 'Noto Serif JP', serif; font-size: 17px; letter-spacing: .06em; line-height: 1.7; }
.tel__free { font-family: 'Noto Serif JP', serif; font-size: 15px; letter-spacing: .06em; color: #e6dfcd; margin-top: 4px; }
.tel__link {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 16px;
  color: #fdfbf6; text-decoration: none;
}
.tel__link:hover { color: #f0e2ab; }
.tel__icon { font-size: 38px; line-height: 1; }
.tel__num {
  font-family: 'Noto Serif JP', serif; font-size: 52px; font-weight: 600;
  letter-spacing: .02em; line-height: 1; white-space: nowrap;
}
.tel__hours { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.tel__hours span:first-child,
.tel__hours span:last-child { flex: 1; max-width: 90px; height: 1px; background: #c9a227; }
.tel__hours-text { font-family: 'Noto Serif JP', serif; font-size: 18px; letter-spacing: .06em; white-space: nowrap; }

/* ---------- profile ---------- */
.profile { display: grid; grid-template-columns: 264px 1fr; gap: 56px; align-items: end; }
.profile__text { order: 2; padding-bottom: 8px; }
.profile__kana { font-size: 13px; letter-spacing: .2em; color: #8b93a0; margin-bottom: 10px; }
.profile__name {
  font-family: 'Noto Serif JP', serif; font-size: 44px; font-weight: 600;
  letter-spacing: .1em; color: #f4efe3; margin-bottom: 14px;
}
.profile__role { font-size: 16px; letter-spacing: .08em; color: #c3bcae; }
.profile__figure {
  order: 1; position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
}
.profile__bg {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  height: 112%; width: auto; max-width: none;
  mix-blend-mode: screen; pointer-events: none;
}
.profile__portrait {
  position: absolute; left: 134px; top: 6px; transform: translateX(-50%);
  width: 436px; height: 795px; max-width: none;
}
.divider { height: 1px; background: #3c4653; margin: 44px 0; }
.prose--ink { color: #c3bcae; gap: 20px; }
.prose--ink rt { font-size: 11px; color: #8b93a0; }

/* ---------- voices ---------- */
.voice { background: #fdfbf6; border: 1px solid #ddd3c0; padding: 32px 28px; }
.voice__mark { font-family: 'Noto Serif JP', serif; font-size: 30px; color: #c9a227; line-height: 1; margin-bottom: 14px; }
.voice__text { font-size: 15px; line-height: 2.1; color: #3c4048; }
.voice__meta { margin-top: 20px; padding-top: 16px; border-top: 1px solid #e2dac8; font-size: 13px; color: #8b8171; }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; gap: 16px; }
.faq { border: 1px solid #ddd3c0; background: #fff; padding: 26px 30px; }
.faq__q {
  display: flex; gap: 14px;
  font-family: 'Noto Serif JP', serif; font-size: 18px; font-weight: 600;
  color: #1b2430; line-height: 1.7;
}
.faq__mark { color: #c9a227; }
.faq__a { margin-top: 12px; padding-left: 32px; font-size: 15px; line-height: 2; color: #5b5f68; }

/* ---------- form ---------- */
.form {
  position: relative;
  background: #fdfbf6; border: 1px solid #ddd3c0;
  padding: 48px 52px; display: flex; flex-direction: column; gap: 28px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field__label { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: #1b2430; }
.req {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: #fdfbf6; background: #1b2430; padding: 4px 9px;
}
.opt {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: #6c6357; background: #fff; border: 1px solid #c3b89e; padding: 3px 9px;
}
.hint { font-size: 13px; color: #8b8171; }

.input, .textarea {
  width: 100%; min-height: 52px;
  border: 1px solid #c3b89e; background: #fff;
  padding: 14px 16px; font-size: 16px; font-family: inherit; color: #20262e;
}
.input--zip { width: 240px; }
.textarea { min-height: 130px; line-height: 1.8; resize: vertical; }
.input:focus, .textarea:focus { outline: 2px solid #c9a227; outline-offset: -2px; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option {
  border: 1px solid #c3b89e; background: #fff; padding: 18px;
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
}
.option:hover { border-color: #c9a227; }
.option.is-selected { border-color: #c9a227; }
.option__radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9ab8f;
  flex: 0 0 auto; margin-top: 3px;
  display: flex; align-items: center; justify-content: center;
}
.option.is-selected .option__radio::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: #c9a227;
}
.option__title { font-size: 16px; color: #1b2430; font-weight: 700; }
.option__sub { font-size: 13px; color: #6c6357; line-height: 1.7; }

.submit {
  margin: 12px auto 0; background: #1b2430; color: #fdfbf6; border: none;
  padding: 20px 90px; font-size: 18px; font-weight: 700; letter-spacing: .1em;
  font-family: inherit; cursor: pointer;
}
.submit:hover { background: #2a3442; }
.submit[disabled] { opacity: .6; cursor: default; }

.form__msg {
  text-align: center; font-size: 15px; font-weight: 700; line-height: 1.9;
  color: #1b2430; background: #f3eee2; border: 1px solid #c9a227; padding: 16px 20px;
}
.form__msg[hidden] { display: none; }
.form__foot { text-align: center; font-size: 13px; color: #8b8171; line-height: 1.8; }

/* ---------- 送信完了 ---------- */
.thanks {
  background: #fdfbf6; border: 1px solid #c9a227;
  padding: 64px 52px; text-align: center;
}
.thanks[hidden] { display: none; }
.thanks__title {
  font-family: 'Noto Serif JP', serif; font-size: 28px; font-weight: 600;
  line-height: 1.6; letter-spacing: .04em; color: #1b2430; margin-bottom: 24px;
}
.thanks__rule { width: 56px; height: 2px; background: #c9a227; margin: 0 auto 24px; }
.thanks__refno { font-size: 16px; font-weight: 700; line-height: 1.9; color: #1b2430; margin-bottom: 16px; }
.thanks__refno[hidden] { display: none; }
.thanks__text { font-size: 15px; line-height: 2; color: #5b5f68; }
.thanks__text + .thanks__text { margin-top: 20px; }
.form[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { background: #1b2430; color: #c3bcae; padding: 64px 48px 32px; }
.footer__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.footer__brand {
  height: 48px; width: auto; display: block; background: #f4efe3; padding: 10px 16px;
  border-radius: 4px; margin-bottom: 24px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__links a { color: #c3bcae; }
.footer__meta { display: grid; grid-template-columns: auto 1fr; gap: 14px 32px; font-size: 15px; line-height: 1.9; }
.footer__meta dt { color: #8b93a0; font-size: 14px; }
.footer__meta dd { color: #f4efe3; margin: 0; }
.footer__copy {
  max-width: 1160px; margin: 40px auto 0; padding-top: 20px;
  border-top: 1px solid #3c4653; text-align: center; font-size: 12px; color: #7d8592;
}

/* ---------- fixed cta ---------- */
.fixed-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 60;
  background: #1b2430; padding: 16px 26px;
  box-shadow: 0 10px 28px rgba(27, 36, 48, .32);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.fixed-cta__tag {
  font-size: 12px; font-weight: 700; letter-spacing: .06em;
  background: #c9a227; color: #1b2430; padding: 3px 14px; white-space: nowrap;
}
.fixed-cta__text {
  font-family: 'Noto Serif JP', serif; font-size: 17px; font-weight: 600;
  color: #fdfbf6; letter-spacing: .08em; white-space: nowrap;
}

/* ============================================================
   SP  (max-width: 820px)
   ============================================================ */
@media (max-width: 820px) {
  .mv__img--pc { display: none; }
  .mv__img--sp { display: block; }

  .section, .footer { padding: 56px 20px; }
  .footer { padding: 56px 20px 28px; }
  .header { padding: 12px 16px; gap: 12px; }

  .cta { flex-direction: column; gap: 16px; padding: 24px 20px; text-align: center; }
  .cta__note { white-space: normal; }

  .greeting, .grid2, .grid3, .options, .footer__grid { grid-template-columns: 1fr; }
  .greeting, .footer__grid { gap: 32px; }

  .h2, .greeting__title { font-size: 27px; }

  .banner { gap: 12px; padding: 16px 18px; }
  .banner__text { font-size: 17px; white-space: normal; }

  /* 表は縦積み */
  .row { grid-template-columns: 1fr; gap: 10px; padding: 22px 4px; align-items: start; }
  .row__place::before,
  .row__detail::before {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    color: #8b8171; margin-bottom: 4px;
  }
  .row__place::before { content: '会場'; }
  .row__detail::before { content: '時間・詳細'; }
  .row__action { margin-top: 4px; }

  .profile { grid-template-columns: 1fr; gap: 28px; }
  .profile__figure { order: 2; max-width: 260px; }
  .profile__text { order: 1; }

  .tel { width: 100%; }
  .tel__num { font-size: 34px; }
  .tel__hours { flex-wrap: wrap; }
  .tel__hours-text { font-size: 15px; }

  .form { padding: 28px 18px; }
  .thanks { padding: 40px 20px; }
  .thanks__title { font-size: 22px; }
  .input--zip { width: 100%; }
  .submit { padding: 20px 40px; width: 100%; }

  .fixed-cta { left: 12px; right: 12px; bottom: 12px; padding: 12px 16px; }
}
