/* 広島平和長老教会 — site.css
   構成：変数 → ベース → ヘッダー → 共通パーツ → 各ページ → フッター → 動き
   レスポンシブの切り替え幅：1480 / 1360 / 1100 / 900 / 640px（各セクションの末尾にまとめています） */
@keyframes reel-up {
  0% {
    transform: translateY(0);
  }
  to {
    transform: translateY(calc(-50% - 12px));
  }
}
@keyframes reel-down {
  0% {
    transform: translateY(calc(-50% - 12px));
  }
  to {
    transform: translateY(0);
  }
}
@keyframes fa-in {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== 基本設定：色・文字・余白の変数 ===== */
:root {
  --sec-gap: 112px; /* セクションとセクションの間隔（スマホは72px） */
  --navy: #233f77;
  --blue: #233f77;
  --link: #456cb9;
  /* 文字色は3段階だけ：見出し(--ink)・本文(--text)・補足(--muted) */
  --ink: #1e2433;
  --text: #2f3440;
  --muted: #646a78;
  --ink-sub: var(--muted);
  --grey: var(--muted);
  --line: #dedede;
  --brick: #456cb9; /* 旧：紫がかった青。青(--link)に統一 */
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  --font-en: "Inter", sans-serif;
  --container: 1297px;
  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --t-display: 72px;
  --t-h1: 40px;
  --t-h2: 32px;
  --t-h3: 22px;
  --t-h4: 18px;
  --t-h5: 16px;
  --t-h6: 13px;
  --t-body: 16px;
  --t-small: 14px;
  --t-caption: 13px;
  --lh-head: 1.5;
  --lh-body: 2;
  --ls-head: 0.04em;
  --ls-body: 0.04em;
  --ease-out-quart: cubic-bezier(0.165, 0.84, 0.44, 1);
  /* 色は 紺(--navy)・青(--link)・淡い青(--pale, --tint) の3系統だけ */
  --pale: #edf3fa;  /* 淡い青の面：カード・相談ブロックなど */
  --tint: #f3f6fa;  /* さらに淡い青の帯：セクションの背景 */
  --acc: #456cb9;
  --panel: #f9f9f9; /* グレーの面：カード・セクション背景はこの1色だけ */
  --ink2: var(--ink);
}
@media (max-width: 640px) {
  :root {
    --t-display: 56px;
    --t-h1: 28px;
    --t-h2: 24px;
    --t-h3: 20px;
  }
}

/* ===== ベース：リセット・本文・見出し ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-jp);
  background: #fff;
  font-weight: 400;
  letter-spacing: var(--ls-body);
  color: var(--text);
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
b,
strong,
summary {
  font-weight: 500;
}
h1 {
  font-feature-settings: "palt";
  font-weight: 500;
}
h2,
h3 {
  line-height: var(--lh-head);
  font-feature-settings: "palt";
  font-weight: 500;
}
main h1,
main h2,
main h3 {
  letter-spacing: 0.04em !important;
}
main dd,
main li,
main p {
  letter-spacing: 0.04em;
}

/* スマホ・タブレットでの改行: 「を、」「ら」のように1〜2文字だけ次の行に落ちないよう、
   日本語の文節で折り返し (auto-phrase)、見出しは行の長さをそろえる (balance)。パソコンの見た目は変えない */
@media (max-width: 1100px) {
  h1, h2, h3, p, li, dt, dd, figcaption {
    word-break: auto-phrase;
  }
  h1, h2, h3 {
    text-wrap: balance;
  }
  p, li, dd {
    text-wrap: pretty;
  }
}

/* ===== ヘッダー・ロゴ・グローバルナビ ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  padding-top: 24px;
  padding-bottom: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo {
  width: 300px;
  height: 54px;
}
.site-logo.white {
  filter: brightness(0) invert(1);
}
.gnav a {
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  font-size: 15px;
}
.logo .fallback {
  font-weight: 500;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  font-size: 26px;
  letter-spacing: 0.08em;
}
.logo .fallback small {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}
.gnav {
  display: flex;
  gap: 30px;
}
.gnav a:hover {
  color: var(--link);
}
.gnav a.is-current {
  color: var(--brick);
  box-shadow: none;
  padding-bottom: 0;
}
.gnav a:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 4px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  :root {
    --sec-gap: 72px;
  }
}
/* メニューボタン（PCでは非表示） */
.nav-btn {
  display: none;
}
@media (max-width: 1100px) {
  .gnav {
    display: none;
  }
  .nav-btn {
    position: relative;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 8px;
    width: 48px;
    height: 48px;
    padding: 0 10px;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    cursor: pointer;
  }
  /* 日本語の文字のように細い2本線（下の線は短く） */
  .nav-btn span {
    display: block;
    width: 28px;
    height: 1px;
    background: var(--navy);
    transition: transform 0.3s var(--ease-out-quart), width 0.3s var(--ease-out-quart);
  }
  .nav-btn span:nth-child(2) {
    width: 18px;
  }
  .nav-btn span:nth-child(3) {
    display: none;
  }
  .nav-btn:hover span:nth-child(2) {
    width: 28px;
  }
  .header.is-open .nav-btn span:nth-child(1) {
    transform: translateY(4.5px) rotate(30deg);
  }
  .header.is-open .nav-btn span:nth-child(2) {
    width: 28px;
    transform: translateY(-4.5px) rotate(-30deg);
  }
  .header.is-open .logo {
    position: relative;
    z-index: 60;
  }
  /* 開いたときは全画面のメニュー */
  .header.is-open .gnav {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 104px max(24px, env(safe-area-inset-left, 0px)) 40px;
    background: #fff;
    overflow-y: auto;
  }
  .header.is-open .gnav a {
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
    color: var(--ink);
  }
  .header.is-open .gnav a.is-current {
    color: var(--navy);
  }
  .header.is-open .gnav a::after {
    content: "→";
    float: right;
    color: var(--link);
  }
}
@media (max-width: 640px) {
  .header {
    width: calc(100% - 40px);
  }
  .site-logo {
    width: 220px;
    height: auto;
  }
}

/* ===== 共通パーツ：見出し・ボタン・リンク・画像・下層ページの枠 ===== */
.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}
.ph {
  background: var(--pale);
}
.ph img[data-missing] {
  visibility: hidden;
}
.crumb a {
  color: var(--link);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  color: var(--brick);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--t-h6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.eyebrow::after,
.ttl .en::after {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: none;
  display: none;
}
.ttl .en {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
  color: var(--brick);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--t-h6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.ttl .jp {
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  font-size: 32px;
  letter-spacing: 0.04em !important;
}
.sub h2.sec {
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--ink);
}
.page-hero h1 {
  color: var(--ink);
  margin: 8px 0 20px;
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1.55;
}
.page-hero {
  margin-top: 0;
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding-bottom: 40px;
}
.page-hero .in {
  margin: 0 auto;
  width: min(var(--container), calc(100% - 80px));
}
.crumb {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 20px;
}
.page-hero .en {
  color: var(--brick);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--t-h6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-hero .en::after {
  width: 24px;
  height: 1px;
  background: var(--brick);
  content: none;
  display: none;
}
.page-hero .lead {
  font-weight: 400;
  font-size: 18px;
  line-height: 2;
  max-width: 760px;
  color: var(--text);
}
.sub {
  margin: 0 auto;
  padding: 80px 0 40px;
  width: min(var(--container), calc(100% - 80px));
}
.sub p.sec-lead {
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 40px;
  max-width: 760px;
  font-size: 17px;
}
.sub .sec-en {
  color: var(--brick);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: var(--t-h6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sub .sec-en::after {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: none;
  display: none;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: none;
  border: 0;
  transition: background 0.2s;
}
.btn:hover {
  background: #18305d;
  opacity: 1;
}
.tlink {
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink2);
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  justify-self: start;
  background-position: left bottom;
  transition: color 0.25s,
    opacity 0.25s;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-image: none;
  border-bottom: 0;
  text-decoration: none;
  padding-bottom: 0 !important;
}
.tlink:hover {
  opacity: 0.6;
  text-decoration: none;
  background-size: 100% 1px !important;
  color: var(--acc);
}
.page-hero::before {
  position: absolute;
  left: -30%;
  top: -60%;
  width: 120%;
  height: 160%;
  border-radius: 50%;
  border: 1px solid rgba(69, 108, 185, 0.12);
  pointer-events: none;
  content: none;
}
.sub h2 {
  font-weight: 500;
  font-size: var(--t-h2) !important;
}
.page-hero > * {
  position: relative;
}
.eyebrow::before,
.page-hero .en::before,
.sub .sec-en::before,
.ttl .en::before {
  content: none;
  display: none;
}
.body p {
  font-size: 16px !important;
}
.side p.note {
  font-size: 16px !important;
}
.fv-sec p.sec-lead {
  font-size: 17px !important;
}
.page-hero + .sub {
  padding-top: 24px;
}
/* 下層ページの見出し：イラスト入り（人生の問い）。文字は左、イラストは右、英字の大見出しを右下に重ねる */
.page-hero.has-art .in {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 48px;
}
.page-hero.has-art h1 {
  font-size: clamp(28px, 2.6vw, 40px);
  white-space: nowrap;
}
.page-hero.has-art .lead {
  font-size: 17px;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.page-hero.has-art .ph-txt {
  position: relative;
  z-index: 1;
}
.ph-art {
  position: relative;
  isolation: isolate;
  margin: 24px 0 56px;
}
.ph-art::before,
.ph-art::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  background: #dbe6f4;
}
.ph-art::before {
  width: 180px;
  height: 180px;
  left: -64px;
  top: -40px;
}
.ph-art::after {
  width: 240px;
  height: 240px;
  right: -48px;
  bottom: -72px;
}
.ph-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 32px;
}
.ph-word {
  position: absolute;
  right: -8px;
  bottom: -0.42em;
  margin: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.ph-word.is-2line {
  text-align: right;
  line-height: 0.95;
  bottom: -0.3em;
}
@media (max-width: 1100px) {
  .page-hero.has-art .in {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .page-hero.has-art h1 {
    white-space: normal;
  }
  .ph-art {
    margin: 8px 0 48px;
  }
}
@media (max-width: 640px) {
  /* ページの大見出し(h1)はセクション見出し(h2 24px)より大きく = 28px (イラストなしのページと同じ)。
     長い見出しは文節で折り返す */
  .page-hero.has-art h1 {
    font-size: 28px;
  }
  .ph-art img {
    border-radius: 20px;
  }
  .ph-art::before {
    width: 110px;
    height: 110px;
    left: -24px;
    top: -24px;
  }
  .ph-art::after {
    width: 140px;
    height: 140px;
    right: -20px;
    bottom: -44px;
  }
  .ph-word {
    right: 0;
    font-size: 24px;
  }
}
@media (max-width: 640px) {
  .container,
  .page-hero .in,
  .sub {
    width: calc(100% - 40px);
  }
  .ttl .jp {
    font-size: 26px;
  }
}

/* --- 小さな英字ラベル：大きな英字と同じ Inter、少し太め（600）でサイト全体を統一 --- */
body :is(.eyebrow, .greet .side .en, .ttl .en, .page-hero .en, .f-eyebrow, .sub .sec-en, .sl-meta .en, .step .no, .qb-list .qb-cat, .f-steps .en, .access-info dt) {
  font-family: var(--font-en), var(--font-jp);
  font-weight: 600;
}

/* ===== トップページ ===== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - 80px));
}
.main {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: var(--sec-gap);
  padding-top: 46px;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-text {
  display: flex;
  flex-direction: column;
  width: 550px;
  gap: 32px;
}
.h1 {
  color: var(--ink);
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1.55;
}
.hero-lead {
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
}
.btns {
  display: flex;
  align-items: center;
  gap: 32px;
}
/* ボタンの横のテキストリンクを、ボタンの高さの中央にそろえる */
.btns .tlink {
  align-self: center;
}
.hero-img {
  width: 709px;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 32px;
}
.guide-video img,
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.access-info a.u {
  text-decoration: underline;
  font-size: 16px;
}
.split {
  display: grid;
  grid-template-columns: 330px 1fr;
  align-items: start;
}
.guide .ttl {
  margin-bottom: 28px;
}
.guide-row {
  position: relative;
  display: flex;
  gap: 80px;
  align-items: center;
}
.guide-video {
  border-radius: 32px;
  overflow: hidden;
  display: block;
  width: 600px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}
.guide-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: var(--navy);
}
.guide {
  padding-bottom: 0;
}
.sermon {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  gap: 10px;
  padding: 30px 36px;
}
.sermon-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
}
.sermon .date {
  font-weight: 400;
  line-height: 1.6;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.news h3,
.sermon h3 {
  font-weight: 500;
  color: var(--ink2);
  font-size: 20px;
  line-height: 1.55;
}
.news p {
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
}
.sermon p {
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
}
.news-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.news {
  border: 1px solid var(--line);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 36px;
}
/* お知らせ：色面をやめて白に。「詳しく見る」はヒーローと同じボタン（.btn）を使う */
.news {
  background: #fff;
}
.news .btn {
  align-self: flex-start;
  margin-top: 6px;
}
.access-info dd {
  font-weight: 400;
  line-height: 1.6;
  margin-top: 4px;
  font-size: 16px;
}
.news .date {
  font-weight: 400;
  line-height: 1.6;
  font-family: var(--font-en);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.praise-item p {
  font-weight: 400;
  line-height: 1.8;
  color: var(--text);
  max-width: 480px;
  margin: 0 0 16px;
  font-size: 17px;
}
.news .body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
}
.praise .ttl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 56px;
}
.praise {
  width: min(var(--container), calc(100% - 80px));
}
.praise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.praise-item figure {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 32px;
  border-radius: 32px;
}
.praise-item figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.praise-item:hover figure img {
  transform: scale(1.03);
}
.praise-item h3 {
  font-weight: 500;
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--ink);
}
.praise-item .ulink {
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink2);
  display: inline-flex;
  background-repeat: no-repeat;
  background-image: none;
  border-bottom: 0;
  text-decoration: none;
  padding-bottom: 0 !important;
}
.praise-item .ulink:hover {
  opacity: 0.7;
}
.access-split .ttl {
  margin-bottom: 28px;
}
.access-wrap {
  width: 100%;
  display: flex;
  gap: 80px;
  align-items: center;
}
.access-map {
  width: 600px;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-fallback {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--navy);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)),
    repeating-linear-gradient(0deg, transparent 0 46px, #e6e6e6 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, #e6e6e6 46px 48px), var(--panel);
}
.map-fallback strong {
  font-size: 16px;
  line-height: 1.6;
}
.map-fallback .go {
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink2);
  display: inline-flex;
  background-image: none;
  border-bottom: 0;
  text-decoration: none;
  padding-bottom: 0;
}
.map-fallback .pin {
  width: 22px;
  height: 22px;
  background: var(--link);
  border-radius: 50% 50% 50%0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 6px rgba(69, 108, 185, 0.18);
}
.access-map.no-embed iframe {
  display: none;
}
.access-map.no-embed .map-fallback {
  display: flex;
}
.access-info {
  display: flex;
  flex-direction: column;
  width: 367px;
  gap: 20px;
  color: var(--ink);
}
.access-info dt {
  font-weight: 500;
  line-height: 1.8;
  font-size: 17px;
}
.more,
.news .tlink {
  padding: 0 0 3px;
}
a:hover .go {
  background-size: 100% 1px;
  color: var(--acc);
}
.sermon .ref {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--acc);
  margin-right: 12px;
}
.greet {
  background: var(--panel);
  max-width: none;
  border-radius: 32px;
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  padding: 96px 0;
}
.greet .greet-in {
  display: grid;
  align-items: start;
  width: auto;
  margin: 0 80px;
  justify-content: center;
  grid-template-columns: auto minmax(0, 640px);
  column-gap: 120px;
}
.greet .side {
  display: flex;
  justify-content: flex-start;
  padding: 0;
  gap: 20px;
}
.greet .side .en {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--acc);
}
.greet .side h2 {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-weight: 500;
  font-size: 28px;
  color: var(--ink2);
  letter-spacing: 0.22em !important;
}
.greet .body p {
  line-height: 2.2;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 28px;
}
.greet .body p a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(35, 63, 119, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 0.25s,
    text-decoration-color 0.25s;
}
.greet .body p a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}
.greet .sign {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  border-top: 0;
  padding-top: 12px;
}
.greet .body {
  max-width: none;
}
.greet .greet-in > .body {
  grid-column: auto;
}
.hero-copy p.hero-lead {
  font-size: 17px;
}
.btns a.tlink,
.map-fallback span.go,
.news a.tlink,
.praise-item span.ulink,
.sermon-list a.tlink.more {
  font-size: 16px;
}
.access-info a.tlink {
  font-size: 16px;
}
main .greet .body p {
  font-size: 17px !important;
}
main .greet .body p a {
  font-size: 17px;
}
main .news p.date,
main .sermon p.date {
  font-size: 13px !important;
}
@media (max-width: 1360px) {
  .hero-img {
    width: 52%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .guide-row {
    gap: 56px;
  }
  .guide-video {
    width: 50%;
  }
  .access-wrap {
    gap: 56px;
  }
  .access-map {
    width: 50%;
  }
}
@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    gap: 40px;
  }
  .hero-img,
  .hero-text {
    width: 100%;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .guide-row {
    flex-direction: column;
    gap: 40px;
  }
  .guide-video {
    width: 100%;
    height: auto;
  }
  .news-list {
    grid-template-columns: 1fr;
  }
  .praise-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .access-wrap {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }
  .access-info {
    width: 100%;
  }
  .access-info dd {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .access-map {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }
  .greet .greet-in {
    margin: 0 32px;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .greet .side {
    flex-direction: column;
  }
  .greet .side .en,
  .greet .side h2 {
    writing-mode: horizontal-tb;
  }
  /* 横書きのとき、見出しが枠より長ければ折り返す (枠からはみ出さない) */
  .greet .side h2 {
    white-space: normal;
  }
  .greet {
    padding: 64px 0;
  }
  .greet .greet-in > .body {
    grid-column: auto;
  }
}
@media (max-width: 640px) {
  .hero,
  .praise {
    width: calc(100% - 40px);
  }
  .btns {
    flex-wrap: wrap;
    gap: 16px;
  }
  .praise .ttl {
    margin-bottom: 40px;
  }
}

/* トップ「礼拝のご案内」：初めての方への案内と同じ強弱（時刻が主役） */
.guide-info {
  gap: 0;
  color: var(--ink);
}
.ws-notes {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.ws-notes li {
  padding-left: 1.2em;
  text-indent: -1.2em;
  word-break: auto-phrase;
}
.ws-notes li::before {
  content: "※";
  margin-right: 0.2em;
  color: var(--link);
}
.ws-sub {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.ws-other {
  list-style: none;
  max-width: 420px;
  border-top: 1px solid var(--line);
}
.ws-other li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.ws-other li span:first-child {
  font-weight: 500;
  color: var(--navy);
}
.ws-other li span:last-child {
  color: var(--muted);
}

/* スマホ: ホームの大見出し(h1)は、ホームのセクション見出し(26〜28px)より大きく */
@media (max-width: 640px) {
  .hero .h1 {
    font-size: 32px;
  }
  /* ご挨拶: 箱をほかのセクションと同じ幅 (左右20px) にして本文の行を長く。
     狭い行で文節ごとに折ると行末がガタガタになるので、本文はふつうの折り返し */
  .greet {
    width: calc(100% - 40px);
  }
  .greet .greet-in {
    margin: 0 24px;
  }
  .greet .body p {
    word-break: normal;
    line-break: strict;
  }
}
/* ===== 初めての方へ・教会紹介・礼拝集会（f- 系セクション） ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: var(--sec-gap);
}
.step .no {
  color: var(--brick);
  font-family: var(--font-en);
  font-weight: 500;
  margin-bottom: 14px;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 36px 32px;
}
.step h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--ink);
}
.step p {
  line-height: 1.85;
  color: var(--text);
  font-size: 16px;
}
.f {
  --acc: var(--brick);
  --panel: #f9f9f9;
  --ink2: var(--ink);
}
.f-in {
  margin-inline: auto;
  width: min(var(--container), calc(100% - 80px));
}
.f-eyebrow {
  color: var(--acc);
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.f-ulink {
  align-items: center;
  gap: 6px;
  height: auto;
  padding: 0 0 3px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink2);
  display: inline-flex;
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  justify-self: start;
  background-position: left bottom;
  transition: color 0.25s,
    opacity 0.25s;
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-image: none;
  border-bottom: 0;
  text-decoration: none;
  padding-bottom: 0;
}
.f-photo {
  overflow: hidden;
  box-shadow: 0 8px 14px -6px rgba(0, 0, 0, 0.28);
  border-radius: 32px;
}
.f-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.f-split h2 .acc {
  color: var(--acc);
}
.f-sec {
  padding: calc(var(--sec-gap) / 2) 0;
}
.f-sec.gray {
  background: var(--panel);
  width: min(var(--container), calc(100% - 80px));
  margin: calc(var(--sec-gap) / 2) auto;
  padding: 96px 0;
  border-radius: 32px;
}
.f-head {
  text-align: left;
  margin-bottom: 40px;
}
.f-head h2 {
  line-height: 1.4;
  color: var(--ink2);
  margin-top: 6px;
  font-size: var(--t-h2);
  font-weight: 500;
}
.f-head p:not(.f-eyebrow) {
  color: var(--muted);
  margin-top: 12px;
}
.f-sched {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f-sched li {
  display: grid;
  grid-template-columns: 270px 250px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  padding: 12px 40px;
  border-bottom: 1px solid var(--line);
}
.f-sched .pill {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  border-radius: 999px;
  background: var(--acc);
  color: #fff;
  font-weight: 500;
}
.f-sched .time {
  font-weight: 500;
  font-size: 18px;
  color: var(--acc);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.f-sched .time small {
  font-size: 16px;
  margin-left: 4px;
}
.f-sched .desc {
  color: var(--text);
}
.f-split .f-in {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
  gap: 64px;
}
.f-split h2 {
  line-height: 1.45;
  color: var(--ink2);
  margin: 12px 0 18px;
  font-size: var(--t-h2);
  font-weight: 500;
}
.f-split p:not(.f-eyebrow) {
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 510px;
  color: var(--text);
}
.f + .footer {
  margin-top: 0;
}
.f-split h2 .time {
  display: block;
  color: var(--acc);
}
/* 主日礼拝のご案内：主役は時刻。見出し・補足・住所の順に弱める */
:is(.f-split, .guide-info) .ws-ttl {
  margin: 10px 0 6px;
  font-size: 24px;
}
.ws-ttl small {
  margin-left: 12px;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.06em;
}
:is(.f-split, .guide-info) p.ws-time {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin: 0 0 24px;
  max-width: none;
}
.ws-time b {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.ws-time span {
  font-size: 16px;
  color: var(--muted);
}
.f-split p.ws-note {
  margin-bottom: 6px;
  font-size: 16px !important;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.ws-note strong {
  font-weight: 500;
  color: var(--navy);
}
.f-split p.ws-addr {
  font-size: 14px !important;
  color: var(--muted);
}
@media (max-width: 640px) {
  .ws-time b {
    font-size: 40px;
  }
}
.f-ulink:hover {
  opacity: 0.6;
  text-decoration: none;
  background-size: 100% 1px !important;
  color: var(--acc);
}
.f-photo.r-left,
.f-photo.r-right {
  border-radius: 32px;
}
.f-facts dd {
  color: var(--text);
  font-size: 16px;
}
.f-split .f-photo {
  aspect-ratio: 16 / 9;
}
.f-org h2 {
  color: var(--ink2);
  margin: 10px 0 18px;
  font-size: var(--t-h2);
  font-weight: 500;
}
.f-org {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 72px;
  align-items: center;
}
.f-org p:not(.f-eyebrow) {
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 32px;
}
.f-facts {
  background: #fff;
  border-radius: 32px;
  padding: 12px 40px;
}
.f-facts div {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.f-facts div:last-child {
  border-bottom: 0;
}
.f-facts dt {
  font-weight: 500;
  color: var(--ink2);
  font-size: 16px;
}
.f-story {
  position: relative;
  overflow: hidden;
  background: #fff;
}
.f-story::before {
  position: absolute;
  left: -30%;
  top: -60%;
  width: 120%;
  height: 160%;
  border-radius: 50%;
  border: 1px solid rgba(69, 108, 185, 0.12);
  pointer-events: none;
  content: none;
}
.f-story .f-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
  gap: 72px;
  align-items: center;
  position: relative;
}
.f-story .txt {
  padding: 96px 0;
}
.f-story h1 {
  color: var(--navy);
  margin: 14px 0 48px;
  font-size: var(--t-h1);
  font-weight: 500;
  line-height: 1.55;
}
.f-story .txt p:not(.f-eyebrow) {
  color: var(--text);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
  line-height: 2.1;
}
.f-story .txt .end {
  font-weight: 500;
}
.f-story .reel {
  height: 820px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(transparent, #000 8%, #000 92%, transparent);
}
.f-story .col {
  overflow: hidden;
}
.f-story .track {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.f-story .col.down .track {
  animation-name: reel-down;
  animation-duration: 54s;
}
.f-story figure {
  overflow: hidden;
  background: var(--pale);
  flex: none;
  border-radius: 32px;
}
/* 教会紹介の動くギャラリーだけは、あえて縦・横・正方形を混ぜてリズムを出す（16:9統一の例外） */
.f-story figure:nth-child(3n + 1) img {
  aspect-ratio: 4/5;
}
.f-story figure:nth-child(3n + 2) img {
  aspect-ratio: 4/3;
}
.f-story figure:nth-child(3n) img {
  aspect-ratio: 1/1;
}
.f-story img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.f-story figure:hover img {
  transform: scale(1.04);
}
.f-story .reel:hover .track {
  animation-play-state: paused;
}
.f-faq2 .f-in {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}
.f-faq2 .side {
  position: sticky;
  top: 120px;
}
.f-faq2 h2 {
  color: var(--ink2);
  font-size: var(--t-h2);
  margin: 0 0 20px;
  font-weight: 500;
}
.f-faq2 .note {
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 32px;
}
.f-faq2 .list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fq-item {
  transition: border-color 0.3s,
    box-shadow 0.3s;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
}
.fq-item:hover {
  border-color: #c9ccd3;
}
.fq-item[open] {
  background: var(--panel);
  border-color: var(--line);
  box-shadow: none;
}
.fq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr 28px;
  gap: 14px;
  align-items: start;
  padding: 34px 40px;
}
.fq-item summary::-webkit-details-marker {
  display: none;
}
.fq-item .fq-a {
  line-height: 1.3;
  color: #7fa3d3;
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 22px;
}
.fq-item .fq-q {
  line-height: 1.3;
  color: var(--acc);
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 22px;
}
.fq-item .t {
  line-height: 1.75;
  color: var(--ink2);
  padding-top: 1px;
  font-weight: 500;
  font-size: var(--t-h4);
}
.fq-item i {
  position: relative;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.fq-item i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--acc);
  transition: transform 0.35s ease;
  transform: translate(-50%, -50%) rotate(90deg);
}
.fq-item i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: var(--acc);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
}
.fq-item[open] i::after {
  transform: translate(-50%, -50%) rotate(0);
}
.fq-item .fa-body {
  display: grid;
  grid-template-columns: auto 1fr 28px;
  gap: 14px;
  margin: 0 40px;
  padding: 26px 0 34px;
  border-top: 1px dashed #d6d9e0;
}
.fq-item .fa-body p {
  line-height: 2;
  color: var(--text);
}
.fq-item[open] .fa-body {
  animation: fa-in 0.4s ease;
  border-top-color: var(--line);
}
.tbd .d {
  background: repeating-linear-gradient(transparent 0 1.7em, rgba(69, 108, 185, 0.18) 1.7em calc(1.7em + 1px));
}
.f-faq2 .side .f-eyebrow {
  margin-bottom: 10px;
}
.f-flow-sec {
  background: none;
}
/* 礼拝の流れ：大きな細い数字をイラストの左上に重ねる（線や丸はつかわない） */
.f-flow-sec .f-in {
  width: min(var(--container), calc(100% - 80px));
}
.f-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  margin-top: 32px;
}
.f-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.f-steps .no {
  position: absolute;
  z-index: 1;
  top: -14px;
  left: calc(50% - 104px);
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #7fa3d3;
}
.f-steps img {
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
  mix-blend-mode: multiply; /* イラストの地の白を背景になじませる */
}
.f-steps h3 {
  font-weight: 500;
  font-size: 20px;
  color: var(--ink2);
  margin-bottom: 12px;
}
.f-steps p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  max-width: 280px;
  word-break: auto-phrase;
  text-wrap: pretty;
}
@media (max-width: 1100px) {
  .f-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 56px;
  }
}
@media (max-width: 640px) {
  .f-flow-sec .f-in {
    width: calc(100% - 40px);
  }
  .f-steps {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .f-steps li {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    align-items: start;
    text-align: left;
  }
  .f-steps .no {
    top: -10px;
    left: -4px;
    font-size: 44px;
  }
  .f-steps img {
    grid-row: 1 / 3;
    width: 96px;
    height: 96px;
    margin: 0;
  }
  .f-steps h3 {
    margin: 10px 0 6px;
    font-size: 18px;
  }
  .f-steps p {
    max-width: none;
  }
}
.f-eyebrow::after,
.f-eyebrow::before {
  content: none;
  display: none;
}
.f-sec.gray > .f-in {
  width: auto;
  margin-left: 80px;
  margin-right: 80px;
}
main > section:last-child.f-sec.gray {
  margin-bottom: 120px;
}
/* 礼拝・集会・初めての方へ: 最後のセクションとフッターの間もセクション間隔と同じ (2026-11-26 ユーザー指示) */
main > section:last-child.f-sec:not(.gray) {
  padding-bottom: var(--sec-gap);
}
.f-sched span.pill {
  font-size: 16px;
}
.f-in p.lead {
  font-size: 17px !important;
}
.f-in a.f-ulink,
.side a.f-ulink,
.f-in p {
  font-size: 16px !important;
}
.f-sched span.desc {
  font-size: 16px;
}
.f-in p.sign,
.fa-body p,
.txt p,
.txt p.end {
  font-size: 17px !important;
}
main .f-in p.f-eyebrow,
main .side p.f-eyebrow {
  font-size: 13px !important;
}
main .step p.no {
  font-size: 13px !important;
}
.f-sermons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 40px;
}
.f-sermons > a,
.f-sermons > button {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.f-sermons .date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.f-sermons .f-photo {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 32px;
  box-shadow: none;
  background: var(--panel);
}
.f-sermons .f-photo img {
  transition: transform 0.5s;
}
.f-sermons b {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink2);
  margin-top: 6px;
}
.f-sermons .ref {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.f-sermons > :focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 6px;
  border-radius: 32px;
}
.f-photo .play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}
.f-photo .play::before {
  content: "";
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--ink2);
}
.f-sermons.gal {
  gap: 40px;
}
.f-creed {
  list-style: none;
  width: min(960px, 100%);
  margin: 0 auto;
}
.f-creed li {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0;
}
.f-creed li + li {
  border-top: 1px solid var(--line);
}
.f-creed h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink2);
}
.f-creed p {
  line-height: 1.9;
  color: var(--muted);
  text-wrap: pretty;
}
@media (max-width: 1100px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .f-sched li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 24px;
  }
  .f-split .f-in {
    grid-template-columns: 1fr;
  }
  .f-split .f-in > .f-photo {
    order: -1;
  }
  .f-sched .pill {
    justify-self: start;
    padding: 0 20px;
  }
  .f-org {
    grid-template-columns: 1fr;
  }
  .f-story .f-in {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .f-story .txt {
    padding: 72px 0 40px;
  }
  .f-story .reel {
    height: 520px;
    margin-bottom: 56px;
  }
  .f-faq2 .f-in {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .f-faq2 .side {
    position: static;
  }
  .f-sermons {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .f-in {
    width: calc(100% - 40px);
  }
  .f-story .reel {
    height: 420px;
    gap: 14px;
  }
  .f-story .track {
    gap: 14px;
  }
  .fq-item summary {
    padding: 24px 22px;
  }
  .fq-item .fa-body {
    margin: 0 22px;
  }
  .f-sermons {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .f-sermons.gal {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .f-sermons.gal .f-photo {
    border-radius: 20px;
  }
  .f-sermons b {
    font-size: 20px;
  }
  .f-creed li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 0;
  }
  .f-sec.gray {
    width: calc(100% - 24px);
    border-radius: 24px;
  }
  .f-sec.gray > .f-in {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .f-story .track {
    animation: none;
  }
}

/* 礼拝の流れと同じ形を、3項目（教会紹介「大切にしていること」）でも使う */
.f-steps.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1040px;
  margin-inline: auto;
}
.f-steps .en {
  margin-bottom: 6px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--link);
}
/* リストの中のテキストリンク（質問・対話「話す方法」） */
.f-steps .tlink {
  align-self: center;
  margin-top: 12px;
}
@media (max-width: 1100px) {
  .f-steps.is-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .f-steps.is-3 {
    grid-template-columns: 1fr;
  }
  .f-steps li > :not(img):not(.no) {
    grid-column: 2;
  }
  .f-steps.is-3 li {
    grid-template-rows: auto auto 1fr;
  }
  .f-steps.is-3 img {
    grid-row: 1 / 4;
  }
  .f-steps.is-3 h3 {
    margin-top: 0;
  }
  .f-steps .tlink {
    justify-self: start;
    margin-top: 6px;
  }
  .f-steps .en {
    margin-top: 6px;
  }
}

/* --- 教会紹介：あいさつ（01 牧師＝本が開いたような紙面 / 02 教会の仲間＝英字を重ねたカード） --- */
.msg {
  width: min(var(--container), calc(100% - 80px));
  margin: calc(var(--sec-gap) / 2) auto;
  padding: 96px 0 112px;
  border-radius: 32px;
  background: var(--tint);
}
.msg-in {
  width: calc(100% - 128px);
  margin: 0 auto;
}
.msg h2 {
  margin: 10px 0 22px;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink2, var(--ink));
}
.msg .msg-body p {
  font-size: 16px !important;
  line-height: 2;
  color: var(--text);
  margin-bottom: 14px;
  word-break: auto-phrase;
  text-wrap: pretty;
}
.msg-facts {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 2px dotted #c3d2e8;
}
.msg-facts div {
  display: grid;
  grid-template-columns: 6.5em 1fr;
  gap: 12px;
  padding: 3px 0;
  font-size: 15px;
}
.msg-facts dt {
  font-weight: 500;
  color: var(--link);
}
.msg-book {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
  margin: 18px 0;
  padding: 48px 52px 44px;
  background: #fff;
}
/* 上下のふちを、開いた本のページのようにふくらませる */
.msg-book::before,
.msg-book::after,
.bk-foot::before,
.bk-foot::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 36px;
  background: #fff;
}
.msg-book::before,
.msg-book::after {
  top: -18px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.msg-book::before,
.bk-foot::before {
  left: 0;
}
.msg-book::after,
.bk-foot::after {
  right: 0;
}
.bk-foot::before,
.bk-foot::after {
  bottom: -18px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.msg-photo {
  overflow: hidden;
  border-radius: 20px;
  background: var(--tint);
}
.msg-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
/* 02 */
.msg-voice {
  margin-top: 120px;
}
.msg-ttl2 {
  position: relative;
  z-index: 1;
  margin: 0 0 -0.42em 48px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
/* 本の上のふくらみの分、少し上に余白をとる */
.msg-ttl2 + .msg-book {
  margin-top: 30px;
}
.msg-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
  padding: 80px 0 56px 52px;
  border-radius: 32px;
  background: #fff;
  overflow: hidden;
}
.msg-photo2 img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px 0 0 20px;
}
@media (max-width: 1100px) {
  .msg-in {
    width: calc(100% - 64px);
  }
  .msg-book {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
    gap: 32px;
    padding: 44px 36px 40px;
  }
  .msg-ttl2 {
    margin-left: 32px;
  }
  .msg-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 0 0;
  }
  .msg-voice .msg-body {
    padding: 0 36px;
  }
  .msg-photo2 img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }
}
@media (max-width: 640px) {
  .msg {
    width: calc(100% - 24px);
    padding: 64px 0 72px;
    border-radius: 24px;
  }
  .msg-in {
    width: calc(100% - 32px);
  }
  .msg-book {
    grid-template-columns: 1fr;
    padding: 36px 22px 32px;
  }
  .msg-photo {
    max-width: 240px;
  }
  .msg h2 {
    font-size: 22px;
  }
  .msg-ttl2 {
    margin-left: 18px;
  }
  .msg-card {
    padding-top: 48px;
    border-radius: 24px;
  }
  .msg-voice .msg-body {
    padding: 0 22px;
  }
  .msg-voice {
    margin-top: 88px;
  }
}

/* ===== 人生の問い・暮らしと聖書・質問の入口 ===== */
.q-index a {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 22px 20px;
  gap: 10px;
  transition: border-color 0.2s;
}
.q-index {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: var(--sec-gap);
  display: grid;
}
.q-index a:hover {
  border-color: var(--brick);
}
.q-index .no {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 14px;
  color: var(--brick);
}
.q-index .t {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
}
.way span {
  color: var(--text);
  line-height: 1.8;
  flex: 1;
  font-size: 16px !important;
}
.ask {
  border-radius: 32px;
  padding: 56px;
  margin: 16px 0 0;
  background: var(--pale);
}
.ask h2 {
  color: var(--ink);
  line-height: 1.5;
}
.way b {
  color: var(--ink);
  font-size: 18px;
}
.ask .lead {
  line-height: 1.9;
  color: var(--text);
  margin: 10px 0 28px;
  max-width: 720px;
}
.ask h2,
.ask .lead,
.ask .way span,
.qb-list .qb summary h2 {
  word-break: auto-phrase;
  text-wrap: pretty;
}
.ways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.way {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  padding: 28px;
  border-radius: 32px;
}
.qb summary::-webkit-details-marker {
  display: none;
}
.qb[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}
.way a.tlink {
  font-size: 16px;
}
.ask p.lead {
  font-size: 17px;
}
/* 相談ブロック：主な行動（メールで質問）を紺のカードで強調し、他のリンクは青に */
.ask .way a.tlink {
  color: var(--link);
}
.ask .way:first-child {
  background: var(--navy);
}
.ask .way:first-child b,
.ask .way:first-child span {
  color: #fff;
}
.ask .way:first-child a.tlink {
  margin-top: 8px;
  padding: 10px 22px !important;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
}
.ask .way:first-child a.tlink:hover {
  opacity: 0.85;
  color: var(--navy);
}
.qb-list {
  border-top: 0;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.qb summary {
  list-style: none;
  cursor: pointer;
  justify-content: space-between;
}
.qb summary h2 {
  color: var(--ink2);
  transition: none;
}
.qb summary:hover h2,
.qb[open] summary h2 {
  color: var(--navy);
}
.qb summary i {
  flex: none;
  position: relative;
}
.qb summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1.5px;
  transform: translate(-50%, -50%) rotate(90deg);
  transition: none;
}
.qb summary i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  height: 1.5px;
  transform: translate(-50%, -50%);
  transition: none;
}
.qb-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
}
.qb[open] .qb-body {
  animation: none;
}
.qb-text p {
  font-size: 17px;
  line-height: 2.1;
  color: var(--text);
  margin-bottom: 20px;
  max-width: 640px;
}
.qb-side blockquote {
  margin: 0 0 32px;
  padding: 0;
}
.qb-side blockquote p {
  font-size: 20px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--ink2);
  margin-bottom: 12px;
}
.qb-side cite {
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.06em;
  background: none;
  color: var(--acc);
  padding: 0;
  border-radius: 0;
}
.qb-read {
  font-size: 16px;
  line-height: 2;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.qb-read span {
  display: block;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}
.qb-list ~ .ask {
  margin-top: var(--sec-gap);
}
.sub:has(> .ask:last-child) {
  padding-bottom: 0;
}
.qb-life summary i {
  align-self: center;
}
.qb-list .qb {
  border: 1px solid #d6e1f0;
  border-radius: 32px;
  background: #fff;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.qb-list .qb:hover,
.qb-list .qb[open] {
  border-color: #a9bfdf;
  background: #fff;
}
.qb-list .qb summary,
.qb-list .qb-life summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  column-gap: 32px;
  row-gap: 10px;
  align-items: center;
  padding: 30px 36px;
}
.qb-list .qb summary > :not(i) {
  grid-column: 1;
}
.qb-list .qb summary i {
  grid-column: 2;
  grid-row: 1 / span 3;
  width: 24px;
  height: 24px;
}
.qb-list .qb summary i::after,
.qb-list .qb summary i::before {
  width: 20px;
  background: var(--navy);
}
.qb-list .qb-cat {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--muted);
}
.qb-list .qb summary h2 {
  font-size: 20px !important;
  line-height: 1.55;
  font-weight: 500;
}
.qb-ex {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.qb-ex .ref {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--brick);
  margin-right: 12px;
}
.qb-list .qb[open] .qb-ex {
  display: none;
}
.qb-list .qb-body,
.qb-list .qb-life .qb-body {
  gap: 64px;
  padding: 8px 36px 40px;
  border-top: 1px solid var(--line);
  margin: 0 36px;
  padding-left: 0;
  padding-right: 0;
  padding-top: 32px;
}
@media (max-width: 1100px) {
  .q-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ways {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .qb-body {
    grid-template-columns: 1fr;
  }
  .qb-list .qb-body,
  .qb-list .qb-life .qb-body {
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .q-index {
    grid-template-columns: 1fr;
  }
  .ask {
    padding: 32px 24px;
    border-radius: 32px;
  }
  .qb-list {
    gap: 20px;
  }
  .qb-list .qb {
    border-radius: 24px;
  }
  .qb-list .qb summary,
  .qb-list .qb-life summary {
    padding: 24px 22px;
    column-gap: 16px;
  }
  .qb-list .qb-body,
  .qb-list .qb-life .qb-body {
    margin: 0 22px;
    padding-bottom: 28px;
  }
  .qb-list .qb summary h2 {
    font-size: 18px !important;
  }
  .qb-text p {
    font-size: 16px;
  }
}

/* ===== 聖書を読む ===== */
.passage h3 {
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink2);
  font-size: 22px;
}
.passages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-bottom: var(--sec-gap);
  align-items: start;
}
.passage {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 40px 44px;
  gap: 10px;
  min-height: 0;
  height: auto;
}
.passage .ref {
  display: inline-block;
  align-self: flex-start;
  letter-spacing: 0.06em;
  font-weight: 500;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 14px;
}
.passage p {
  line-height: 1.9;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 0;
  text-wrap: pretty;
}
main .passages .passage span.ref {
  color: var(--acc);
}
.passage p.ask-label {
  font-size: 14px !important;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 20px;
}
.passage .ask-label + h3 {
  margin: 4px 0 12px;
  word-break: auto-phrase;
}
.passages > .passage {
  align-self: stretch;
}
@media (max-width: 1100px) {
  .passages {
    grid-template-columns: 1fr;
  }
}

/* 聖書って、どんな本？：66巻 ＝ 旧約39巻 ＋ 新約27巻 を、式のように並べる */
.bk-sum {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin: 40px 0 var(--sec-gap);
}
.bk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.bk-item img,
.f-steps.is-3 img {
  width: 120px;
  height: 120px;
  /* 元画像の角に残った数字の切れ端を隠すため、円形に切り抜く */
  clip-path: circle(47% at 50% 52%);
}
.bk-num {
  margin-top: 10px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #7fa3d3;
}
.bk-num small {
  margin-left: 4px;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.bk-item h3 {
  margin: 12px 0 10px;
  font-size: 19px;
  font-weight: 500;
}
.bk-item p:not(.bk-num) {
  max-width: 300px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--text);
  word-break: auto-phrase;
  text-wrap: pretty;
}
.bk-op {
  margin-top: 132px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 44px;
  line-height: 1;
  color: #b9cbe5;
}
@media (max-width: 900px) {
  .bk-sum {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    margin-bottom: 64px;
  }
  .bk-op {
    margin: 0;
    font-size: 36px;
  }
  .bk-item img {
    width: 104px;
    height: 104px;
  }
}

/* ===== 説教・コラム一覧 ===== */
.sl-archive li a:hover b,
.sl-latest h2 a:hover {
  color: var(--navy);
}
.sl-meta {
  display: flex;
  gap: 16px;
  align-items: baseline;
  font-size: 14px;
  color: var(--muted);
}
.sl-meta .en {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--acc);
}
.sl-archive time {
  font-family: var(--font-en);
  letter-spacing: 0.04em;
  font-size: 14px;
  color: var(--muted);
}
.sl-meta time {
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}
.sl-ref {
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--acc);
  margin-top: 10px;
}
.sl-latest {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 56px 64px;
  margin-bottom: 104px;
}
.sl-latest h2 {
  font-size: 40px !important;
  line-height: 1.4;
  margin-top: 18px;
}
.sl-archive {
  margin-bottom: var(--sec-gap);
}
.sl-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 32px;
}
.sl-head h2 {
  font-size: 28px !important;
}
.sl-archive ul {
  list-style: none;
}
.sl-archive li + li {
  border-top: 1px solid var(--line);
}
.sl-col ul {
  border-bottom: 1px solid var(--line);
}
.sl-archive li a {
  display: grid;
  gap: 24px;
  align-items: baseline;
  padding: 22px 0;
}
.sl-col li a {
  grid-template-columns: 180px minmax(0, 1fr);
}
.sl-archive .t b {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink2);
}
.sl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
/* 最初の6件だけ表示（3列×2段）。残りは「さらに表示する」で開く */
.sl-grid.is-limited > .sermon:nth-child(n+7) {
  display: none;
}
.sl-more {
  display: block;
  margin: 32px auto 0;
  padding: 0 0 4px;
  border: 0;
  background-color: transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  color: inherit;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
}
.sl-more:hover {
  opacity: 0.6;
}
.sl-more[hidden] {
  display: none;
}
.sl-grid .sermon {
  height: 100%;
}
.sl-grid .sermon p {
  -webkit-line-clamp: 2;
}
.sl-grid .sermon .sref {
  font-size: 14px !important;
  color: var(--acc);
  margin-top: 8px;
  -webkit-line-clamp: 1;
}
.sl-lead {
  font-size: 18px;
  line-height: 2.1;
  color: var(--text);
  margin: 28px 0;
  max-width: 760px;
}
.media-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 56px;
}
.media-tabs a {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink2);
  background: #fff;
}
.media-tabs a:hover {
  border-color: var(--ink2);
}
.media-tabs a[aria-current="page"] {
  background: var(--ink2);
  border-color: var(--ink2);
  color: #fff;
}
.media-note {
  margin-top: 72px;
  font-size: 14px;
  color: var(--muted);
}
/* 賛美動画・フォトギャラリー: 最後の写真とフッターの間もセクション間隔と同じ (2026-11-26 ユーザー指示) */
.media .sub {
  padding-bottom: var(--sec-gap);
}
@media (max-width: 900px) {
  .sl-latest {
    padding: 36px 28px;
  }
  .sl-latest h2 {
    font-size: 30px !important;
  }
  .sl-col li a {
    grid-template-columns: 110px 1fr;
  }
  .sl-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .sl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .media-tabs {
    margin-bottom: 40px;
  }
}

/* スマホ: 説教ページの見出しは、ページの大見出し(28px)より小さく */
@media (max-width: 640px) {
  .sl-latest h2,
  .sl-head h2 {
    font-size: 24px !important;
  }
}
/* ===== 説教・コラムの記事ページ ===== */
.sermon-text .sub {
  padding-bottom: 120px;
}
.art {
  padding: 0 0 120px;
}
.art-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 50;
  pointer-events: none;
}
.art-progress i {
  display: block;
  height: 100%;
  background: var(--acc);
  transform-origin: 0 50%;
  transform: scaleX(0);
}
.art article {
  width: min(720px, calc(100% - 48px));
  margin: 0 auto;
}
.art-head {
  text-align: center;
  padding: 72px 0 56px;
  margin-bottom: 56px;
  position: relative;
}
.art-head::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 1px;
  background: var(--ink2);
  transform: translateX(-50%);
}
.art-head .crumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 40px;
}
.art-head .crumb a {
  color: var(--acc);
}
.art-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.art-meta .kind {
  color: var(--acc);
}
.art-meta time {
  font-family: var(--font-en);
}
.art-head h1 {
  font-size: 44px;
  line-height: 1.45;
  color: var(--ink2);
  margin: 20px 0 0;
  text-wrap: balance;
  word-break: auto-phrase;
}
.art-ref {
  margin-top: 16px;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--acc);
}
.art-time {
  margin-top: 24px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.art-body {
  font-size: 18px;
  line-height: 2.15;
  color: var(--text);
  letter-spacing: 0.04em;
}
.art-body p {
  margin: 0 0 1.6em;
}
.art-body h2 {
  font-size: 24px;
  line-height: 1.6;
  color: var(--ink2);
  margin: 2.6em 0 1em;
  word-break: auto-phrase;
}
.art-body h2.chap {
  text-align: center;
  font-size: 16px;
  color: var(--acc);
  margin: 2.4em 0 1.6em;
}
.art-body h2.chap:first-child {
  margin-top: 0;
}
.art-body p.vs sup {
  font-family: var(--font-en);
  font-size: 11px;
  color: var(--acc);
  margin: 0 0.35em 0 0.6em;
  vertical-align: 0.6em;
  line-height: 0;
}
.art-body p.vs sup:first-child {
  margin-left: 0;
}
.art-body blockquote {
  margin: 0 0 2.4em;
  padding: 48px 32px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
}
.art-body blockquote p {
  margin: 0;
  font-size: 20px;
  line-height: 2.1;
  color: var(--ink2);
}
.art-body p.note {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 3em;
}
.art-body p.note a {
  color: var(--acc);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.art-foot {
  margin-top: 72px;
}
.art-share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.art-share span {
  margin-right: 8px;
}
.art-share button,
.art-share a {
  font: inherit;
  font-size: 14px;
  color: var(--ink2);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
}
.art-share button:hover,
.art-share a:hover {
  border-color: var(--acc);
  color: var(--acc);
}
.art-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px 0 48px;
}
.art-nav a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 32px;
}
.art-nav a.next {
  text-align: right;
}
.art-nav a span {
  font-size: 14px;
  color: var(--muted);
}
.art-nav a b {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink2);
}
.art-nav a:hover b {
  color: var(--acc);
}
.art-back {
  text-align: center;
}
@media (max-width: 640px) {
  .art-head {
    padding: 40px 0 40px;
  }
  .art-head h1 {
    font-size: 30px;
  }
  .art-body {
    font-size: 17px;
  }
  .art-nav {
    grid-template-columns: 1fr;
  }
  .art-nav .empty {
    display: none;
  }
}

/* ===== 賛美動画・フォトギャラリー・ライトボックス ===== */
.ulink {
  width: auto;
  max-width: max-content;
  align-self: flex-start;
  justify-self: start;
  background-position: left bottom !important;
  transition: color 0.25s,
    opacity 0.25s;
  background-size: 100% 1px !important;
}
.ulink:hover {
  background-size: 100% 1px !important;
}
.thumb-fb {
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--panel);
  color: var(--acc);
  font-size: 22px;
  letter-spacing: 0.06em;
}
a:hover .ulink {
  color: var(--acc);
}
.lb {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(14, 16, 22, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 88px;
}
.lb.open {
  display: flex;
}
.lb-stage {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.lb-stage img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  border-radius: 16px;
  object-fit: contain;
}
.lb-stage .vid {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}
.lb-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.lb-cap {
  color: #fff;
  font-size: 14px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.lb-cap a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lb button {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: transparent;
  font: 300 22px/1 var(--font-en);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lb button:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
}
/* ×・‹・› は細い線で描く（文字の太さに左右されない） */
.lb button::before,
.lb button::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
}
.lb .lb-x::before,
.lb .lb-x::after {
  width: 18px;
  height: 1px;
  margin: -0.5px 0 0 -9px;
  background: #fff;
  transform: rotate(45deg);
}
.lb .lb-x::after {
  transform: rotate(-45deg);
}
.lb .lb-prev::before,
.lb .lb-next::before {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -3px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(45deg);
}
.lb .lb-next::before {
  margin-left: -7px;
  transform: rotate(-135deg);
}
.lb .lb-x {
  top: 20px;
  right: 20px;
}
.lb .lb-prev {
  left: 20px;
  top: 50%;
  margin-top: -24px;
}
.lb .lb-next {
  right: 20px;
  top: 50%;
  margin-top: -24px;
}
@media (max-width: 640px) {
  .lb {
    padding: 64px 12px;
  }
  .lb .lb-prev,
  .lb .lb-next {
    top: auto;
    bottom: 16px;
    margin: 0;
  }
}

/* ===== 質問・対話：フォーム・アクセスガイド ===== */
.qform em {
  color: #fff;
  background: var(--brick);
  font-style: normal;
  font-size: 13px;
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: 1px;
}
.qform label,
.qform legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
}
.qform {
  display: flex;
  flex-direction: column;
  gap: 24px;
  border-radius: 32px;
  padding: 48px;
  background: var(--panel);
}
.qform input[type="email"],
.qform input[type="text"],
.qform textarea {
  font: inherit;
  font-weight: 400;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}
.qform input:focus,
.qform textarea:focus {
  outline: 2px solid var(--brick);
  outline-offset: 1px;
  border-color: transparent;
}
.qform fieldset {
  border: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.chips label {
  display: inline-flex;
}
.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chips span {
  font-weight: 500;
  font-size: 14px;
  color: var(--brick);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
}
.chips input:checked + span {
  background: var(--brick);
  color: #fff;
  border-color: var(--brick);
}
.chips input:focus-visible + span {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}
.qform .err {
  font-size: 14px;
  color: #b3261e;
  min-height: 0;
}
.qform .done:empty,
.qform .err:empty {
  display: none;
}
.qform-foot {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.qform button.btn {
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 32px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: none;
  border: 0;
  transition: background 0.2s;
}
.qform .note {
  color: var(--muted);
}
.qform .note a {
  color: var(--link);
  text-decoration: underline;
}
.qform .done {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
}
.qform .lbl {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qform .lbl em {
  margin-left: 0;
}
.note a.u,
.qform-foot p.note {
  font-size: 16px;
}
/* 個人情報の同意：白いボックスに要点、細い線のチェックボックス */
.consent {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
}
.consent-ttl {
  font-weight: 500;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 10px;
}
.consent ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.consent li {
  position: relative;
  padding-left: 1em;
}
.consent li::before {
  content: "・";
  position: absolute;
  left: 0;
}
.qform .agree {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.agree input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid var(--navy);
  border-radius: 6px;
  background: #fff;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.agree input::after {
  content: "";
  width: 6px;
  height: 11px;
  margin-top: -3px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s;
}
.agree input:checked {
  background: var(--navy);
}
.agree input:checked::after {
  transform: rotate(45deg) scale(1);
}
.agree input:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}
.agree span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 640px) {
  .qform {
    padding: 32px 24px;
    border-radius: 32px;
  }
  .consent {
    padding: 20px;
  }
}

/* ===== フッター ===== */
.footer {
  margin-top: var(--sec-gap);
}
.footer.ff {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 28px;
}
.ff-in {
  width: min(var(--container), calc(100% - 80px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.ff-logo .site-logo {
  width: 240px;
  height: auto;
}
.ff-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.ff-cols div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.7;
}
.ff-cols .h {
  font-weight: 500;
  font-size: 18px;
  color: #b9c6ee;
  margin-bottom: 6px;
}
.ff-cols a {
  color: #fff;
}
.ff-cols a:hover {
  text-decoration: underline;
}
.ff-cols span {
  color: rgba(255, 255, 255, 0.88);
}
.ff-cols small {
  font-size: 13px;
}
.ff-copy {
  text-align: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 64px;
}
@media (max-width: 1100px) {
  .ff-in {
    grid-template-columns: 1fr;
  }
  .ff-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .ff-in {
    width: calc(100% - 40px);
  }
  .ff-cols {
    grid-template-columns: 1fr;
  }
}

/* ===== 動き：見出しの表示アニメーション ===== */
.js-type .reveal.is-in {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .js-type .reveal {
    clip-path: none;
    transition: none;
  }
}

/* ===== その他 ===== */
.fv-sec {
  margin-bottom: var(--sec-gap);
}
