@charset "UTF-8";
/* =========================================================
   Base Settings (Color Palette & Senior-Friendly Typography)
========================================================= */
:root {
  --color-primary: #388c84;
  --color-secondary: #eef5f3;
  --color-accent: #4b928f;
  --color-text: #333333;
  --color-text-light: #5c736b;
  --color-bg: #ffffff;
  --color-white: #ffffff;
  --border-radius: 8px;
  --bg-light: #fcfbf9;
  --border-color: #dbeae6;
}

body {
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--color-text);
  background-color: var(--bg-light);
  font-size: 18px; 
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}
a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* 共通のインナーコンテナ */
.fv-container,
.sitemenu-inner,
.summary-inner,
.history-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   Screen 1: First View
========================================================= */
.fv-section {
  background-color: var(--color-secondary);
  padding: 60px 0;
}
.fv-columns {
  display: flex;
  align-items: center;
  gap: 40px;
}
.fv-content {
  flex: 1.2;
}
.fv-sub {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-light);
  margin-bottom: 10px;
}
.fv-title {
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-primary);
  word-break: keep-all;
}
.fv-title span {
  font-size: 0.6em;
  display: block;
  margin-bottom: 5px;
}
.fv-catch {
  font-size: 20px;
  margin-bottom: 0;
}
.fv-image {
  flex: 1;
}
.fv-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
/* セクション全体の余白 */
#yaa.section {
  padding: 80px 20px;
  background-color: #ffffff;
}

/* コンテナ幅の制限と中央寄せ */
#yaa .container {
  max-width: 1000px;
  margin: 0 auto;
}

/* 見出しエリア（HTMLの順序を反転させてh2を上に表示） */
#yaa .section-header {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  margin-bottom: 60px;
}

#yaa .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  letter-spacing: 0.05em;
}

#yaa .section-header .sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a889d; /* 青緑系のアクセントカラー */
  letter-spacing: 0.12em;
}

/* コンテンツエリア（画像とテキストの横並び） */
#yaa .privacy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* 左側：YAAロゴ画像 */
#yaa .privacy img {
  width: 42%;
  max-width: 380px;
  height: auto;
  flex-shrink: 0;
}

/* 右側：説明テキスト */
#yaa .privacy p {
  flex: 1;
  line-height: 2;
  color: #333333;
  margin: 0;
}

/* テキスト内の太字強調 */
#yaa .privacy p strong {
  font-weight: 700;
  color: #1e293b;
}

/* スマートフォン・タブレット向けのレスポンシブ対応（768px以下で縦並び） */
@media screen and (max-width: 768px) {
  #yaa.section {
    padding: 50px 20px;
  }

  #yaa .section-header {
    margin-bottom: 36px;
  }

  #yaa .section-header h2 {
    font-size: 22px;
  }

  #yaa .privacy {
    flex-direction: column;
    gap: 30px;
  }

  #yaa .privacy img {
    width: 80%;
    max-width: 300px;
  }

  #yaa .privacy p {
    font-size: 14px;
    line-height: 1.8;
  }
}
/* セクション全体 */
#anshin.section {
  padding: 80px 20px;
  background-color: var(--bg-light);
}

/* コンテナ幅（4カラムが綺麗に収まるよう1160pxに設定） */
#anshin .container {
  max-width: 1160px;
  margin: 0 auto;
}

/* 見出しエリア（YAAセクションと共通仕様） */
#anshin .section-header {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

#anshin .section-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  letter-spacing: 0.05em;
}

#anshin .section-header .sub-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a7f96;
  letter-spacing: 0.12em;
}

/* リード文 */
#anshin .section-lead {
  text-align: center;
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin: 0 auto 50px;
}

/* 4カラムグリッド */
#anshin .anshin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch; /* 全カードの高さを揃える */
}

/* 各カード */
#anshin .anshin-card {
  background-color: #ffffff;
  border: 1px solid #eef2f5;
  border-top: 4px solid #128099; /* 上部の青緑ライン */
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  padding: 36px 22px 32px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 丸型アイコン枠 */
#anshin .anshin-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background-color: #f4f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

#anshin .anshin-icon svg,
#anshin .anshin-icon img {
  width: 65px;
  height: 65px;
  object-fit: contain;
}

/* 01. 費用の安心 などの小見出し */
#anshin .anshin-num {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #128099;
  margin-bottom: 14px;
}

/* カード内メイン見出し */
#anshin .anshin-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

/* カード内説明文 */
#anshin .anshin-desc {
  font-size: 16px;
  color: #475569;
  line-height: 1.85;
  margin: 0;
  text-align: left;
}

/* カード下部の点線＆箇条書きリスト（02・04用） */
#anshin .anshin-list {
  list-style: none;
  padding: 18px 0 0 0;
  margin: 20px 0 0 0;
  border-top: 1px dashed #cbd5e1; /* 点線ボーダー */
}

#anshin .anshin-list li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 8px;
}

#anshin .anshin-list li:last-child {
  margin-bottom: 0;
}

/* リストの青い丸ポチ */
#anshin .anshin-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: #128099;
}

/* レスポンシブ対応：タブレット（1024px以下で2カラム） */
@media screen and (max-width: 1024px) {
  #anshin .anshin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* レスポンシブ対応：スマートフォン（640px以下で1カラム） */
@media screen and (max-width: 640px) {
  #anshin.section {
    padding: 50px 20px;
  }

  #anshin .section-header h2 {
    font-size: 22px;
  }

  #anshin .section-lead {
    font-size: 14px;
    text-align: left;
    margin-bottom: 32px;
  }

  #anshin .anshin-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  #anshin .anshin-card {
    padding: 28px 20px;
  }
}
/* セクション全体（温かみのあるオフホワイト背景・明朝体ベース） */
.shuraku-yaa-section {
  background-color: #faf9f6;
  padding: 80px 20px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "HGS明朝E", "MS PMincho", serif;
  color: #2b2b2b;
  box-sizing: border-box;
}

/* コンテナ幅の制限と中央寄せ */
.shuraku-yaa-section .yaa-container {
  max-width: 1080px;
  margin: 0 auto;
}

/* ヘッダーエリア */
.shuraku-yaa-section .yaa-header {
  text-align: center;
  margin-bottom: 50px;
}

/* サブタイトル（終楽がお約束する、お墓じまいの新基準） */
.shuraku-yaa-section .yaa-subtitle {
  font-size: 22px;
  font-weight: 700;
  color: #1f2d3d;
  margin: 0 0 12px 0;
  letter-spacing: 0.06em;
}

/* メインタイトル（「YAA」） */
.shuraku-yaa-section .yaa-title {
  font-size: 52px;
  font-weight: 500;
  color: #9e845c; /* ゴールドブラウン */
  margin: 0 0 20px 0;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

/* リード文 */
.shuraku-yaa-section .yaa-lead {
  font-size: 18px;
  line-height: 1.9;
  color: #555555;
  margin: 0;
  letter-spacing: 0.04em;
}

/* リード文内の強調（.red が指定されていても画像のゴールドブラウンに合わせる） */
.shuraku-yaa-section .yaa-lead strong,
.shuraku-yaa-section .yaa-lead strong.red {
  color: #8c7147;
  font-weight: 700;
}

/* 3カラムカードのラッパー */
.shuraku-yaa-section .yaa-card-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* 各カード */
.shuraku-yaa-section .yaa-card {
  background-color: #ffffff;
  border-top: 4px solid #967d55; /* 上部のゴールドブラウンライン */
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
  padding: 40px 28px 36px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* 丸型アイコン枠 */
.shuraku-yaa-section .yaa-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #f3efe9; /* 薄いベージュ */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

/* アイコン内のアルファベット（Y・A・A）※ここだけゴシック体 */
.shuraku-yaa-section .yaa-alphabet {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #8c734b;
  line-height: 1;
}

/* カード見出し（1.「安」へのこだわり 等） */
.shuraku-yaa-section .yaa-card-title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1f2d3d;
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
}

/* カード見出し内の数字と括弧の色調整 */
.shuraku-yaa-section .yaa-card-title span {
  color: #8c734b;
  margin-right: 2px;
}

/* カード本文 */
.shuraku-yaa-section .yaa-card-text {
  font-size: 16px;
  line-height: 1.9;
  color: #555555;
  margin: 0;
  text-align: left;
}

/* PC専用改行の制御 */
.shuraku-yaa-section .pc-only {
  display: inline;
}

/* レスポンシブ対応：タブレット・スマホ（900px以下で縦並び） */
@media screen and (max-width: 900px) {
  .shuraku-yaa-section {
    padding: 50px 20px;
  }

  .shuraku-yaa-section .yaa-subtitle {
    font-size: 18px;
  }

  .shuraku-yaa-section .yaa-title {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .shuraku-yaa-section .yaa-lead {
    font-size: 14px;
    text-align: left;
  }

  .shuraku-yaa-section .pc-only {
    display: none;
  }

  .shuraku-yaa-section .yaa-card-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shuraku-yaa-section .yaa-card {
    padding: 32px 22px;
  }
}
@media screen and (max-width: 640px) {
  /* スマホ表示時はリード文の<br>を無効化して自然に折り返す */
  #anshin .section-lead br {
    display: none;
  }
}