/*
Theme Name: NPO_rikon_soudan
Theme URI: 
Description: オリジナルWordPressテーマ
Version: 1.0.0
Author: 
*/

@charset "UTF-8";

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
  /* min-width: 1200px; */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


/* --------------------------------- 共通パーツ -------------------------------------------------- */

/* 見出し (共通）*/
.c-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #0b76c9;
  letter-spacing: 0.08em;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 12px;
  /* 点線との間の余白 */
}

/* 点線 (共通） */
.c-section-line {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px dashed #005daa;
}

/* --------------------------------- 下層共通ページタイトル -------------------------------------------------- */

.c-page-header {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-top: 80px;
}

/* 見出し全体 */
.c-page-title {
  font-size: 30px;
  font-weight: 500;
  color: #0b76c9;
  letter-spacing: 0.08em;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 16px;
  line-height: 1.2;

}

/* テキスト本体（背景文字の起点基準） */
.c-page-title span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* 背景の英文字（spanの右端＝最後の一文字を基準に配置） */
.c-page-title span::before {
  content: attr(data-en);
  position: absolute;
  /* 右端（100%）から少し手前に戻すことで、最後の一文字と重ねる */
  left: calc(100% - 30px);
  bottom: -18px;
  font-size: 128px;
  font-family: "EB Garamond", serif;
  color: #fdeae0;
  font-weight: 400;
  letter-spacing: -0.02em;
  z-index: -1;
  pointer-events: none;
  line-height: 0.8;
  white-space: nowrap;
}

/* 下層ページ見出し専用の破線 */
.c-page-title-line {
  width: 100%;
  border-bottom: 1px dashed #005daa;
}

@media (max-width: 768px) {

  /* 1. 見出し全体を基準にする */
  .c-page-header {
    position: relative;
    margin-bottom: 24px;
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .c-page-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /* 2. SP時のみ span の position を解除（これがないと左端に固定されてしまいます） */
  .c-page-title span {
    position: static;
  }

  /* 3. 背景英文字を .c-page-header の右端に配置 */
  .c-page-title span::before {
    left: auto;
    right: 20px;
    /* 左右パディング20pxの位置に揃える */
    bottom: 0;
    /* 破線の位置基準に設定（はみ出る場合は 2px〜4px などで微調整） */
    font-size: 60px;
    line-height: 1;
  }

}

/* 下層ページ共通 導入リード文 */
.c-page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .c-page-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 32px;
  }

}



/* ------------------------------------- 大型横長ボタン(共通) ----------------------------------------------- */
/* ボタン配置エリア（共通） */
.c-btn-wrap {
  margin-top: 40px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.c-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  font-family: inherit;
}

.c-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 14px;
  background: url("./images/icon-arrow-w.png") no-repeat center / contain;
}

.c-btn:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.95)
}

@media (max-width: 768px) {

  .c-btn-wrap {
    margin-top: 30px;
  }

  .c-btn {
    width: 100%;
    height: 70px;
    font-size: 16px;
    padding: 0 40px 0 20px;
    box-sizing: border-box;
  }

  .c-btn::after {
    right: 16px;
    width: 8px;
  }
}

/* メール相談専用ボタン（矢印なし） */
.c-btn-mail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* 前のメールアイコン（::before） */
.c-btn-mail::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  background: url("./images/icon-mail.png") no-repeat center / contain;
}

/* ホバー処理 */
.c-btn-mail:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
}

@media (max-width: 768px) {

  .c-btn-mail {
    width: 100%;
    height: 70px;
    font-size: 16px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .c-btn-mail::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}


/* 見出し下リード文 */
.sub-lead {
  text-align: center;
  font-size: 16px;
  color: #282828;
  margin-top: 20px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .sub-lead {
    font-size: 13px;
    text-align: left;
    margin-top: 12px;
    padding: 0 20px;
  }
}

/* --------------------------------- アニメーション -------------------------------------------------- */
/* ==========================================
   スクロールアニメーション（下からふわっと出現）
========================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  /* 40px下に配置 */
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
  /* 0.8秒かけて変化 */
  will-change: opacity, transform;
}

/* 画面内に入ったらこのクラスが付与される */
.fade-in-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   #feature トランプ風整列アニメーション
========================================== */

/* 1. アニメーション前の状態（隠れて傾いている状態） */
.feature-card.fade-card {
  opacity: 0;
  /* 下から100pxの位置、少し小ぶりにしつつ10度傾ける */
  transform: translateY(100px) scale(0.85) rotate(10deg);

  /* ポンッとバネのように弾んで着地するイージング設定 */
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.25);

  will-change: opacity, transform;
}

/* 偶数番目（2枚目、4枚目）のカードは逆に-10度傾けてランダム感を出す */
.feature-card.fade-card:nth-child(even) {
  transform: translateY(100px) scale(0.85) rotate(-10deg);
}

/* 2. アニメーション後の状態（元の定位置へピタッと着地） */
.feature-card.fade-card.is-aligned {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* ==========================================
   #column ペンが書いている風アニメーション
========================================== */

.column-pen-icon.pen-write-anim {
  display: inline-block;
  opacity: 0;
  transform: translate(25px, -5px) rotate(0deg);
  will-change: transform, opacity;
}

.column-pen-icon.pen-write-anim.is-writing {
  animation: write-motion-custom 2.8s ease-in-out forwards;
}

.column-pen-icon.pen-write-anim {
  display: inline-block;
  opacity: 0;
  transform: translateX(60px) rotate(0deg);
  will-change: transform, opacity;
}

.column-pen-icon.pen-write-anim.is-writing {
  animation: write-motion-custom .8s ease-in-out forwards;
}

@keyframes write-motion-custom {
  0% {
    opacity: 0;
    transform: translateX(60px) rotate(0deg);
  }

  /* --- 左右に大きく振りかざすフェーズ --- */
  25% {
    opacity: 1;
    transform: translateX(20px) rotate(0deg);
  }

  50% {
    transform: translateX(50px) rotate(0deg);
  }

  75% {
    transform: translateX(10px) rotate(0deg);
  }

  /* --- 最後に定位置へ戻りつつ、少しだけペン先を上げる(-10deg) --- */
  100% {
    opacity: 1;
    transform: translateX(0) rotate(-8deg);
  }
}



/* --------------------------------- トップページ -------------------------------------------------- */
/* --- ヘッダー --- */
.header {
  width: 100%;
  height: 80px;
  background-color: #ffffff;
}

.header-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: block;
}

.header-logo img {
  width: 451px;
  height: 69px;
  object-fit: contain;
}

/* 電話とボタン */

.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tel-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.tel-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tel-label {
  font-size: 12px;
  color: #005daa;
  margin-bottom: 2px;
  font-weight: 500;
}

.tel-number {
  font-size: 24px;
  font-weight: 700;
  color: #005bac;
  line-height: 1;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 48px;
  background: linear-gradient(180deg, #e8d0ae 0%, #d8b98c 100%);
  border: 1px solid #ffffff;
  color: #282828;
  font-size: 18px;
  font-weight: 400;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-right: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー演出 */
.header-btn:hover {
  background: linear-gradient(180deg, #f3e1c6 0%, #e0c397 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 三角形アイコン*/
.header-btn::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 10px;
  background-image: url("./images/icon-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* SP用ボタンは非表示 */
.header-btn-sp {
  display: none;
}

/* SP用でんわは非表示 */
.header-tel-sp {
  display: none;
}

/* PCではハンバーガーボタン非表示 */
.hamburger-btn {
  display: none;
}

/* --- Main Visual Wrapper (Total Height: 700px) swiper使用 --- */

.main-visual-wrapper {
  width: 100%;
  height: 700px;
  background-image: url("./images/mv-bg1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* swiper設定 */
.mv-bg-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* スライド枠の設定 */
.mv-bg-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-image: none !important;
  /* 元の背景指定を打ち消し */
}

/* 疑似要素に背景画像を適用（初期状態：1.15倍に拡大） */
.mv-bg-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.15);
  /* 初期状態で拡大しておく */
  transition: transform 4.8s linear;
  /* 5.5秒かけて縮小変化 */
}

/* 各スライドの背景画像 */
.mv-bg-swiper .mv-slide-1::before {
  background-image: url("./images/mv-bg1.png");
}

.mv-bg-swiper .mv-slide-2::before {
  background-image: url("./images/mv-bg2.png");
}

.mv-bg-swiper .mv-slide-3::before {
  background-image: url("./images/mv-bg3.png");
}

/* アクティブになった瞬間に等倍（1倍）へ変化させる */
.mv-bg-swiper .swiper-slide-active::before {
  transform: scale(1);
}

.main-visual {
  position: relative;
  z-index: 2;
  height: 100%;
}


/* --- Global Navigation (Height: 60px) --- */
.gnav {
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 2;
}

.gnav-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.gnav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.gnav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
  padding: 8px 12px;
}

.gnav-item a:hover {
  opacity: 0.7;
}

/* --- Main Visual Area (Height: 640px) --- */
.main-visual {
  height: 640px;
  position: relative;
}

.main-visual-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Catch Copy Area (明朝体: Noto Serif JP を適用) */
.mv-catch {
  position: absolute;
  top: 90px;
  left: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 600;
  color: #0b76c9;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* --- 3Column Area (イラスト / テキスト / CTA) --- */
.mv-content-3col {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 100%;
  z-index: 3;
}

/* 1. イラスト（幅227px / 高さ352px / 左マージン40px / セクション最下段に密着） */
.mv-media {
  position: absolute;
  bottom: 0;
  left: 40px;
  width: 227px;
  height: 340px;
  flex-shrink: 0;
  overflow: hidden;
}

.mv-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. テキストボックスエリア */
.mv-text-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  background-color: transparent;
  padding: 0;
  margin-left: 50px;
}

/* テキスト文章 */
.mv-text {
  font-size: 16px;
  color: #222222;
  line-height: 1.8;
  text-align: left;
  font-weight: 400;
}

/* 3. CTAボタン */
.mv-cta {
  position: absolute;
  bottom: 40px;
  right: 40px;
  flex-shrink: 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 10px solid transparent;
  background-image:
    linear-gradient(135deg, #ffffff 0%, #005daa 35%, #003a80 100%),
    linear-gradient(-45deg, #9fceff 0%, #005daa 50%, #003a80 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #ffffff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(0, 60, 130, 0.35);
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  text-decoration: none;

  /* 光エフェクト用に追加 */
  position: relative;
  overflow: hidden;
  /* 丸枠からはみ出た光を隠す */
}

/* 光の筋（擬似要素） */
.cta-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50%;
  height: 200%;
  /* 斜めの白い光グラデーション */
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  /* 光を斜めに傾ける */
  transition: left 0.6s ease;
  pointer-events: none;
  /* テキスト選択などを妨げない */
}

/* ホバー時の挙動 */
.cta-btn:hover::before {
  left: 150%;
  /* 左から右へ光が移動 */
}

.cta-btn:hover {
  box-shadow: 0 10px 22px rgba(0, 60, 130, 0.45);
}

/*  波型背景エリア */

.main-visual::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background-image: url("./images/mv-wave.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* お悩みセクション */
.worries-section {
  position: relative;
  width: 100%;
  padding-top: 80px;

  background: linear-gradient(to bottom,
      #ffffff 0%,
      #d5edff 15%,
      #d5edff 85%,
      #ffffff 100%);
  overflow: hidden;
}

.worries-inner {
  width: 100%;
  max-width: 100%;
  margin: 30px auto 0;
  text-align: center;
}


/* 画像ラッピング */
.worries-img-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

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

/* ==========================================
   Consultation Section 相談内容
========================================== */
.consult-section {
  width: 100%;
  padding-top: 80px;
  background-color: #ffffff;
  position: relative;
  background-image: url("./images/bg-consult.png");
  background-repeat: no-repeat;
  background-position: center 200px;
}

.consult-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* --- 1. Top Area (2Column) --- */
.consult-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0px;
  position: relative;
  z-index: 1;
}

.consult-top-text {
  width: 52%;
}

.consult-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 500;
  color: #0b76c9;
  line-height: 1.4;
  margin-bottom: 24px;
}

.consult-lead {
  font-size: 18px;
  color: #333333;
  line-height: 1.8;
}

.consult-lead+.consult-lead {
  margin-top: 12px;
}

.consult-top-img {
  width: 42%;
  text-align: right;
}

.consult-top-img img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* --- 2. Grid Cards (2Columns) --- */
.consult-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 40px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

/* 親カード要素（背景や枠線を解除して中の要素を独立させる） */
.consult-card {
  width: 537px;
  height: 360px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* 1. カードヘッダー */
.card-header {
  width: 537px;
  height: 80px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 0 3px rgba(11, 118, 201, 0.4);
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  /* 上辺を揃えて前面に配置 */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.card-icon img {
  width: 51px;
  height: auto;
  margin-right: 0px;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: #282828;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* 2. 対応内容ボックス */
.card-body-box {
  width: 537px;
  height: 360px;
  border-radius: 10px;
  background-color: #f7fafd;
  box-shadow: 0 0 3px rgba(11, 118, 201, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 96px 16px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ボックス内の上部（画像＋リスト） */
.card-body-inner {
  display: flex;
  gap: 20px;
}

.card-media {
  width: 200px;
  flex-shrink: 0;
}

.card-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.card-content {
  flex-grow: 1;
}

.card-sub-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #282828;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1;
}

.card-list li {
  position: relative;
  padding-left: 28px;
  line-height: 2.1;
  font-size: 16px;
}

/* チェックマーク画像 */
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background-image: url("./images/icon-check.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ボックス内の下部説明文 */
.card-desc {
  font-size: 16px;
  color: #282828;
  line-height: 1.6;
  margin-top: 14px;
}



/* ==========================================
   特徴セクション
   ========================================== */

.feature-section {
  padding-top: 80px;
}

/* --- カードエリア（見出しの下から薄い青背景） --- */
.feature-card-wrapper {
  background-color: #d3ecff;
  /* 薄い青背景 */
  margin-top: 40px;
  padding: 50px 0;
  margin-bottom: 64px;
}

.feature-cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* カード1つ分のスタイル */
.feature-card {
  width: 272px;
  min-height: 360px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 24px;
  padding: 40px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* アイコン */
.card-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon img {
  max-height: 100%;
  width: auto;
}

/* カード内の見出し（幅282px / 高さ51px） */
.feature-card-title {
  width: 282px;
  height: 51px;
  margin-left: -10px;
  margin-bottom: 24px;

  background-color: #005bac;
  /* 青帯 */
  color: #fff;
  font-size: 18px;
  font-weight: 500;

  /* 上下左右の中央寄せ */
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  box-sizing: border-box;
}

/* 左下の折れ曲がり（三角形） */
.feature-card-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  border-top: 6px solid #003a6e;
  /* 折り返しの暗い青 */
  border-left: 10px solid transparent;
}

/* カード本文 */
.feature-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #282828;
}


/* --- 代表からのメッセージ --- */
.feature-message {
  margin-bottom: 40px;
}

.message-box {
  width: 800px;
  height: 224px;
  box-shadow: 2px 4px 0 0 #ffd0ad;
  border-radius: 32px;
  padding: 50px 60px 30px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

/* リボン見出し */
.ribbon-title {
  width: 835px;
  height: 96px;
  box-sizing: border-box;
  position: absolute;
  top: -50px;
  left: -18px;
  background: url("./images/ribbon-bg.png") no-repeat center / 100% 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 40px 0px 0px 78px;
  /* 画像の背景に合わせてテキスト位置を微調整 */
}

/* 本文 */
.message-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 右下の花イラスト */
.message-flower {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 140px;
  pointer-events: none;
}


/* --- ボタン配置 --- */
.feature-btn-wrapper {
  text-align: center;
  padding-bottom: 60px;
}


/* ==========================================
   コラムセクション
   ========================================== */

.column-section {
  width: 100%;
  height: 906px;
  position: relative;
  box-sizing: border-box;
  padding: 40px 0;
  background-image: url("./images/column-bg.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: calc(50% + 600px) auto;

  overflow: hidden;
}

.column-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 見出し＆ペンアイコン位置調整 */
.column-title-wrap {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: 141px;
}

.column-line {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ペンアイコン（最上段配置＆下端を点線に密着） */
.column-pen-icon {
  position: absolute;
  top: -141px;
  left: 10px;
  width: auto;
  height: 141px;
  pointer-events: none;
}



/* Swiper コンテナ配置設定 */
.column-slider-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.column-swiper {
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
}

/* カードスタイル（サイズ：幅360px × 高さ320px 固定） */
.column-swiper .swiper-slide {
  width: 360px !important;
  height: 320px;
}

.column-card {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 320px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #cce5ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.column-card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.column-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.column-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
}

.column-category {
  color: #0b76c9;
}

.column-date {
  color: #0b76c9;
}

.column-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #005bac;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 丸型矢印ナビゲーションボタン */
.column-slider-wrap .swiper-button-prev,
.column-slider-wrap .swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(60, 60, 60, 0.6);
  border-radius: 50%;
  margin-top: -24px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.column-slider-wrap .swiper-button-prev:hover,
.column-slider-wrap .swiper-button-next:hover {
  background-color: rgba(30, 30, 30, 0.8);
}

.column-slider-wrap .swiper-button-prev::after,
.column-slider-wrap .swiper-button-next::after {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.column-slider-wrap .swiper-button-prev {
  left: 20px;
}

.column-slider-wrap .swiper-button-next {
  right: 20px;
}

/* ボタン専用カラー調整 */
.column-btn-wrap {
  display: flex;
  justify-content: center;
}

.column-btn {
  width: 600px;
  height: 70px;
  background: #0088b7;
  font-size: 20px;
  border-radius: 8px;
}

.column-btn:hover {
  background: #00739b;
}


/* ==========================================
   FAQセクション
========================================== */

/* FAQセクション全体 */
.faq-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
}

/* 見出しエリア（1200pxぴったり） */
.faq-title-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.faq-line {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ボックスエリア用ラッパー（1200px ＋ 左右パディング40px） */
.faq-inner {
  width: 1200px;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
  /* これにより1200pxの内側にパディングが収まります */
}

/* 2カラムグリッド（540px × 2 ＋ 間隔40px ＝ 1120px） */
.faq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* 各FAQアイテム */
.faq-item {
  width: 540px;
  background-color: #ffffff;
  border: 1px solid #cce5ff;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.15);
  overflow: hidden;
  align-self: flex-start;
  box-sizing: border-box;
}

/* 質問ボタン（高さ80px固定 / 左右パディング40px） */
.faq-question {
  width: 100%;
  height: 80px;
  padding: 10px;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.faq-icon-q {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-right: 16px;
}

.faq-icon-q img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 400;
  color: #282828;
  flex-grow: 1;
}

/* プラス・マイナス アイコン */
.faq-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #72b3e8;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* 横棒 */
.faq-toggle-icon::before {
  width: 12px;
  height: 2px;
}

/* 縦棒 */
.faq-toggle-icon::after {
  width: 2px;
  height: 12px;
}

/* 開いたときのプラス→マイナス変換 */
.faq-item.is-open .faq-toggle-icon::after {
  opacity: 0;
}

/* 回答ボックス（アコーディオン領域） */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background-color: #f4f7f7;
  border-top: 1px solid transparent;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  border-top-color: #cce5ff;
}

/* アコーディオンの中身（左右パディング40px） */
.faq-answer-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 0 10px;
  /* ★上下0、左右10pxにすることで開閉時のはみ出しを防ぐ */
  box-sizing: border-box;
  transition: padding 0.3s ease;
}

.faq-item.is-open .faq-answer-inner {
  padding: 20px 10px;
}

.faq-icon-a {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-right: 16px;
}

.faq-icon-a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-answer-text {
  font-size: 18px;
  line-height: 1.7;
  color: #282828;
  padding-top: 10px;
}

/* ==========================================
   ご対応エリアセクション
========================================== */

/* セクション全体 */
.area-section {
  width: 100%;
  padding: 40px 0;
  background-color: #ffffff;
  margin-bottom: 80px;
}

/* 見出しエリア（専用クラス：幅1200px固定） */
.area-title-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
}

/* 見出し下の点線（1200pxいっぱいに広げる） */
.area-title-wrap .c-section-line {
  width: 100%;
}

/* コンテンツラッパー（幅1200px / 左右パディング40px） */
.area-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* タブボタン一覧 */
.area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 24px;
}

/* タブ単体 */
.area-tab {
  padding: 8px 24px;
  font-size: 16px;
  color: #0b76c9;
  background-color: #ffffff;
  border: 1px solid #0b76c9;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* アクティブなタブ */
.area-tab.is-active {
  color: #ffffff;
  background-color: #0b76c9;
}

/* エリア詳細枠 */
.area-content-box {
  border: 1px solid #0b76c9;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.area-content-title {
  font-size: 18px;
  font-weight: bold;
  color: #0b76c9;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px dotted #0b76c9;
}

.area-content-text {
  font-size: 16px;
  line-height: 1.8;
  color: #0b76c9;
  margin: 0;
}


/* ==========================================
   フッター
========================================== */
.footer {
  width: 100%;
  background-color: #f4f7f7;
  padding-top: 20px;
}

/* コンテンツ幅（1200px） */
.footer-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* 上段：ロゴと電話番号を左右配置 */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

/* フッターロゴ（幅451px / 高さ69px） */
.footer-logo img {
  width: 451px;
  height: 69px;
  object-fit: contain;
}

/* 電話番号エリア（ヘッダーの共通指定を活用） */
.footer-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 中段：ナビゲーション */
.footer-nav {
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-nav-item a:hover {
  opacity: 0.7;
}

/* 下段：ラインとコピーライト */
.footer-bottom {
  border-top: 1px solid #017ed2;
  padding: 24px 0;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: #282828;
  margin: 0;
}

/* ========================================================================================================================================================================
   タブレット対応 (1200～769px)
======================================================================================================================================================================== */

@media screen and (max-width: 1200px) and (min-width: 769px) {

  .header-inner,
  .gnav-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .gnav-list {
    gap: clamp(16px, 3vw, 40px);
  }

  .header-contact {
    gap: 16px;
  }

  .header-logo img {
    height: clamp(40px, 4vw, 48px);
  }

  .tel-number {
    font-size: clamp(20px, 2vw, 24px);
  }

  .header-btn {
    width: clamp(180px, 18vw, 220px);
    font-size: clamp(15px, 1.5vw, 18px);
  }

  .main-visual-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .mv-content-3col {
    width: 100%;
  }

  .mv-media {
    left: 24px;
    width: clamp(190px, 19vw, 227px);
    height: auto;
  }

  .mv-text-box {
    width: 46%;
    left: 50%;
    margin-left: 20px;
  }

  .mv-text {
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.7;
  }


  .mv-cta {
    right: 24px;
  }

  .cta-btn {
    width: 140px;
    height: 140px;
    font-size: 17px;
  }

  .consult-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .consult-section {
    background-size: 100% auto;
  }

  .consult-title {
    font-size: clamp(26px, 2.6vw, 32px);
  }

  .consult-lead {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.75;
  }

  .consult-top-img img {
    max-width: clamp(320px, 40vw, 480px);
  }

  .consult-grid {
    gap: 28px 24px;
    margin-top: clamp(-70px, -5.8vw, -40px);
  }

  .consult-card {
    width: calc((100% - 24px) / 2);
    height: clamp(320px, 30vw, 360px);
  }

  .card-header,
  .card-body-box {
    width: 100%;
  }

  .card-header {
    height: clamp(68px, 6.6vw, 80px);
    padding: 0 16px;
  }

  .card-body-box {
    height: 100%;
    padding: clamp(82px, 8vw, 96px) 14px 18px;
  }

  .consult-card .card-icon img {
    width: clamp(38px, 4.2vw, 51px);
  }

  .card-title {
    font-size: clamp(15px, 1.45vw, 18px);
  }

  .card-body-inner {
    gap: clamp(12px, 1.6vw, 20px);
  }

  .card-media {
    width: clamp(150px, 16vw, 200px);
  }

  .card-media img {
    height: clamp(90px, 10vw, 120px);
  }

  .card-sub-title {
    font-size: clamp(15px, 1.45vw, 18px);
  }

  .card-list li {
    font-size: clamp(12px, 1.2vw, 14px);
  }

  .card-desc {
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.6;
  }

  .feature-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 20px);
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .feature-card {
    width: 100%;
    min-width: 0;
    min-height: clamp(300px, 30vw, 360px);
    padding: clamp(28px, 3vw, 40px) clamp(12px, 1.8vw, 24px);
    border-radius: 20px;
    flex-shrink: 1;
  }

  .feature-card .card-icon {
    height: clamp(82px, 9vw, 120px);
    margin-bottom: clamp(12px, 1.4vw, 16px);
  }

  .feature-card .card-icon img {
    max-height: 100%;
    width: auto;
  }

  .feature-card-title {
    width: calc(100% + 20px);
    height: clamp(42px, 4.4vw, 51px);
    margin-left: -10px;
    margin-bottom: clamp(16px, 2vw, 24px);
    font-size: clamp(13px, 1.35vw, 18px);
    text-align: center;
    white-space: nowrap;
  }

  .feature-card-text {
    font-size: clamp(12px, 1.3vw, 16px);
    line-height: 1.55;
  }

  .faq-title-wrap,
  .faq-line {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .faq-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
  }

  .faq-item {
    width: 100%;
    min-width: 0;
  }

  .faq-question {
    height: clamp(64px, 6.8vw, 80px);
    padding: clamp(8px, 1.2vw, 10px);
  }

  .faq-icon-q,
  .faq-icon-a {
    width: clamp(38px, 4vw, 48px);
    height: clamp(38px, 4vw, 48px);
    margin-right: clamp(10px, 1.3vw, 16px);
  }

  .faq-question-text {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.5;
  }

  .faq-toggle-icon {
    width: clamp(20px, 2.2vw, 24px);
    height: clamp(20px, 2.2vw, 24px);
    margin-left: clamp(10px, 1.3vw, 16px);
  }

  .faq-answer-text {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.65;
  }



}



/* ========================================================================================================================================================================
   レスポンシブ対応 (max-width: 768px)
======================================================================================================================================================================== */

@media (max-width: 768px) {

  /* PC用の横幅固定を解除 */
  body {
    min-width: 100%;
  }

  /* --- Header & ハンバーガー --- */
  .header {
    height: auto;
    position: relative;
    z-index: 100;
  }

  .header-inner {
    width: 100%;
    padding: 10px 15px;
    align-items: center;
    /* 3要素を上下中央揃え */
  }

  .header-logo img {
    height: 42px;
    /* スマホ用にロゴサイズを少しだけ調整 */
  }

  /* 電話＆ボタンのコンテナをスマホ用に調整 */
  .header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 余白をコンパクトに */
    margin-left: auto
  }

  .header-btn-pc {
    display: none !important;
  }

  /* 相談ボタンはSPではナビの中に */
  .header-tel-pc {
    display: none !important;
  }

  .header-btn-sp {
    display: flex;
    max-width: 200px;
    margin-bottom: 10px;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .header-tel-sp {
    display: flex;
  }

  /* スマホ用 電話ブロックの調整 */
  .header-tel {
    gap: 6px;
    margin-bottom: 20px;
  }

  .tel-icon {
    width: 20px;
  }

  .tel-label {
    font-size: 10px;
    margin-bottom: 0;
  }

  .tel-number {
    font-size: 16px;
  }

  /* ハンバーガーボタン */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: fixed;
    top: 20px;
    /* 画面上部からの位置（調整可） */
    right: 20px;
    /* 画面右からの位置（調整可） */

  }

  .hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #005bac;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ハンバーガー開閉アニメーション */
  .hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* グローバルナビ */
  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    /* 不透明度を95%から88%に下げて透け感をアップ */
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari用の記述を追加しておくと安心です */
    z-index: 99;
    padding-top: 90px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .gnav-inner {
    width: 100%;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .gnav.is-active {
    right: 0;
  }

  .gnav-list {
    flex-direction: column;
    gap: 20px;
  }

  .gnav-item {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  .gnav-item a {
    padding: 16px 20px;
    font-size: 15px;
    color: #282828;
  }

  /* --- Main Visual --- */

  .main-visual-wrapper {
    height: auto;
    padding: 30px 0 0;
    background-size: cover;
  }

  .main-visual {
    height: auto;
    padding: 0 15px;
  }

  .main-visual-inner {
    width: 100%;
  }

  /* Catch Copy（中央配置） */
  .mv-catch {
    position: static;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-weight: 700;
  }

  /* 3Column エリア */
  /*波背景の高さ */
  .main-visual::before {
    height: 100%;
  }

  .mv-content-3col {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    padding-top: 50px;
  }

  /* ① mv-img（幅約32%・底面密着） */
  .mv-media {
    position: static;
    width: 32%;
    height: auto;
  }

  .mv-media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* ② 右側テキスト（残りの幅：約65%） */
  .mv-text-box {
    position: static;
    width: 65%;
    transform: none;
    margin-left: 0;
    margin-top: 0;
    padding: 0px;
    align-self: flex-end;
  }

  .mv-text {
    font-size: 12px;
    line-height: 1.6;
  }

  .mv-text br {
    display: none;
  }

  /* ③ 横長CTAボタン（改行して一番下に配置） */
  .mv-cta {
    position: static;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    order: 3;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
    height: 54px;
    margin: 0 auto;
    border-radius: 30px;
    border: 3px solid transparent;
    font-size: 16px;
    font-weight: 400;
  }

  .cta-btn br {
    display: none;
  }

  /* お悩みセクション（SP用余白調整） */
  .worries-section {
    padding: 30px 0 30px;
    /* スマホ用に上下パディングをコンパクトに */
  }

  /* 共通見出しタイトル */
  .c-section-title {
    font-size: 18px;
    /* 見出しをスマホサイズに微調整 */
    padding: 0 15px;
  }

  .c-section-line {
    margin-bottom: 0px;
    width: 100vw;
  }

  /* SP用画像ラップ */
  .worries-img-wrap {
    width: 100%;
    padding: 0;
  }

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

  /* ==========================================
   ご相談事例（SP対応: 768px以下）
========================================== */

  /* 1. セクション全体・背景設定 */
  .consult-section {
    padding: 50px 0 60px;
    background-position: center 100px;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .consult-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 2. Top Area（見出し中央 ＋ 本文・画像の配置） */
  /* 2. Top Area（見出し1カラム ＋ 2つ目テキスト＆画像の2カラム） */
  .consult-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  /* テキストの親枠を解除して中身を同列に扱う */
  .consult-top-text {
    display: contents;
  }

  /* 見出し（1カラム / 最上部） */
  .consult-title {
    width: 100%;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    order: 1;
  }

  /* 共通リード文スタイル */
  .consult-lead {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 1つ目のリード文（1カラム / 横いっぱい） */
  .consult-lead:first-of-type {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
    order: 2;
  }

  /* 2つ目のリード文（2カラム左側：約62%） */
  .consult-lead+.consult-lead {
    width: 62%;
    margin-right: 0;
    margin-top: 0;
    order: 3;
  }

  /* カウンセラー画像（2カラム右側：約34%） */
  .consult-top-img {
    width: 34%;
    margin-top: 0;
    order: 4;
  }

  .consult-top-img img {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
    margin-left: auto;
  }


  /* 3. Grid Cards（1カラム化 & 固定高さを解除） */
  .consult-grid {
    flex-direction: column;
    margin-top: 0;
    gap: 24px;
  }

  .consult-card {
    width: 100%;
    height: auto;
    padding: 0;
  }

  /* カードヘッダー */
  .card-header {
    width: 100%;
    height: auto;
    max-height: 60px;
    position: relative;
    padding: 12px 16px;
    border-radius: 10px 10px 0 0;
  }

  .card-icon img {
    width: 30px;
  }

  .card-title {
    font-size: 16px;
    text-align: left;
    padding-left: 10px;
  }

  /* カードボディ */
  .card-body-box {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    padding: 20px 16px;
    border-radius: 0 0 10px 10px;
  }

  .card-body-inner {
    flex-direction: column;
    gap: 16px;
  }

  .card-media {
    width: 100%;
    text-align: center;
  }

  .card-media img {
    width: auto;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .card-sub-title {
    text-align: left;
    font-size: 16px;
  }

  .card-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  .card-list li::before {
    top: 5px;
  }

  .card-desc {
    font-size: 14px;
    margin-top: 16px;
  }



  /* ==========================================
     特徴セクション
     ========================================== */

  .feature-section {
    padding-top: 30px;
  }

  /* --- カードグリッド --- */
  .feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* --- カード本体 --- */
  .feature-card {
    width: 100%;
    flex-shrink: 1;
    min-height: auto;
    padding: 24px 12px;
    box-sizing: border-box;
    overflow: visible;
  }

  .card-icon {
    height: 40px;
    margin-bottom: 12px;
  }

  .card-icon img {
    height: 100%;
    width: auto;
    max-width: none;
  }

  .feature-card-title {
    width: calc(100% + 34px);
    margin-left: -10px;

    margin-bottom: 16px;
    font-size: 14px;
    height: 40px;
  }

  .feature-card-title::before {
    left: 0;
    bottom: -6px;
    border-top-width: 6px;
    border-left-width: 10px;
  }

  .feature-card-text {
    font-size: 14px;
    line-height: 1.5;
  }

  /* ==========================================
     2. 代表メッセージの縮小・SP用リボン切り替え
     ========================================== */

  .message-box {
    width: calc(100% - 40px);
    max-width: 100%;
    height: auto;
    padding: 60px 20px 30px;
    box-sizing: border-box;

  }

  /* リボン見出し（SP画像への差し替えとサイズ変更） */
  .ribbon-title {

    width: 320px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url("./images/ribbon-bg-sp.png");

    font-size: 15px;
    padding: 24px 0 0 80px;
    /* SP位置調整 */
  }

  .message-text {
    font-size: 14px;
  }

  .message-flower {
    width: 80px;
    right: 10px;
    bottom: 10px;
  }

  .feature-btn-wrap {
    padding: 0 20px;
  }

  /* ==========================================
     コラムセクション（SP）
  ========================================== */
  .column-section {
    height: auto;
    min-height: auto;
    padding: 30px 0 60px;
    background-size: 100% auto;
    background-position: right bottom;
  }

  .column-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 見出し＆ペンアイコン位置調整（SP） */
  .column-title-wrap {
    padding: 51px 0 0;
    /* ペンアイコンの高さ（141pxの半分＝約71px）に調整 */
    margin-bottom: 30px;
  }

  /* ペンアイコン：サイズを半分（高さ70.5px）に縮小 */
  .column-pen-icon {
    top: -71px;
    height: 70.5px;
    left: 5px;
  }


  /* Swiperエリア調整 */
  .column-slider-wrap {
    margin-bottom: 30px;
  }

  .column-swiper {
    overflow: visible;
    /* 横スクロール（フリック）時に前後がチラ見えする設計 */
  }

  /* カードサイズ調整 */
  .column-swiper .swiper-slide {
    width: 280px !important;
    /* スマホで見やすい横幅に調整 */
    height: auto;
  }

  .column-card {
    width: 100%;
    height: 100%;
  }

  .column-card-img {
    height: 150px;
  }

  .column-card-body {
    padding: 12px 14px;
  }

  .column-card-title {
    font-size: 14px;
  }

  /* SPでは丸型矢印ボタンを非表示（指でのフリック操作に最適化） */
  .column-slider-wrap .swiper-button-prev,
  .column-slider-wrap .swiper-button-next {
    display: none;
  }

  /* ボタン調整 */
  .column-btn {
    width: 100%;
    height: 60px;
    font-size: 16px;
  }

  /* ==========================================
     FAQセクション（SP）
  ========================================== */
  /* セクション全体の余白調整 */
  .faq-section {
    padding: 40px 0;
  }

  /* 見出しエリア・点線のレスポンシブ化 */
  .faq-title-wrap,
  .faq-line {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 24px;
  }

  /* ラッパーとグリッドの固定幅解除 ＆ 1カラム化 */
  .faq-inner {
    width: 100%;
    padding: 0 20px;
  }

  .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* スマホ時の縦間隔 */
  }

  /* 各FAQボックスを横幅100%に */
  .faq-item {
    width: 100%;
  }

  /* 質問ボタンの調整 */
  .faq-question {
    height: auto;
    min-height: 64px;
    padding: 12px;
  }

  .faq-icon-q,
  .faq-icon-a {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .faq-question-text {
    font-size: 15px;
  }

  .faq-answer-text {
    font-size: 15px;
  }

  /* ------------------------------------------
   対応エリアセクション（SP)
------------------------------------------ */
  .area-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }

  .area-title-wrap {
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 24px;
  }

  .area-inner {
    width: 100%;
    padding: 0 20px;
  }

  .area-tabs {
    gap: 8px;
  }

  .area-tab {
    padding: 6px 16px;
    font-size: 14px;
  }

  .area-content-box {
    padding: 16px;
  }

  .area-content-title {
    font-size: 16px;
  }

  .area-content-text {
    font-size: 14px;
  }



  /* ==========================================
   フッター（SP：768px以下）
========================================== */


  /* 上段：ロゴと電話番号を縦並び（中央寄せ）に変更 */
  .footer-top {
    display: flex;
    flex-direction: column;
    /* 縦並びにしてロゴの下に電話を配置 */
    justify-content: center;
    align-items: center;
    /* 中央揃え */
    gap: 20px;
    /* ロゴと電話番号の間の余白 */
    margin-bottom: 32px;
  }

  /* スマホ用ロゴサイズ（中央寄せに合わせてお好みで調整） */
  .footer-logo img {
    width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* 電話番号エリア全体の揃え調整 */
  .footer-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .footer-tel .tel-label {
    font-size: 10px;
  }

  .footer-tel .tel-number {
    font-size: 18px;
  }

  .footer-tel .tel-icon {
    width: 20px;
  }

  /* 中段ナビ：横に2つずつの2カラム配置 */
  .footer-nav {
    margin-bottom: 32px;
  }

  .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 0;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-nav-item {
    width: 50%;
    text-align: center;
    box-sizing: border-box;
  }

  .footer-nav-item a {
    font-size: 14px;
    display: inline-block;
  }

  /* コピーライトエリア */
  .footer-bottom {
    padding: 16px 20px;
  }

  .copyright {
    font-size: 12px;
  }

}


/* --------------------------------- コラム一覧エリア(column_index.html) -------------------------------------------------- */

.p-column-container {
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  margin-bottom: 80px;
}

/* --- カテゴリタグ一覧 --- */
.p-column-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  border: 1px dashed #005daa;
  padding: 24px 32px;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 90%;
  margin: 0 auto 40px;
}

.p-column-category-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  padding: 6px 8px;
  /* ホバー時の背景領域用に余白を設定 */
  border-radius: 6px;
  /* 背景色の角丸 */
  transition: background-color 0.3s ease;
}

/* ホバー時に背景色 #f3eae4 を付与 */
.p-column-category-item a:hover {
  background-color: #fdeae0;
}

.p-column-category-icon {
  width: 22px;
  height: auto;
  object-fit: contain;
}


/* --- 記事カード一覧（2カラム） --- */
.p-column-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
}

.p-column-card {
  position: relative;
  width: calc((100% - 30px) / 2);
  background: #ffffff;
  border: 1.5px solid #d8e8f5;
  border-radius: 10px;
  padding: 20px 20px 56px;
  /* 下部ボタン用の余白を確保 */
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* カード上部エリア（サムネイル＋メタ情報） */
.p-column-card__header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.p-column-card__thumb {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.p-column-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-column-card__tag {
  background-color: transparent;
  /* 背景色なし */
  border: 1px solid #0b76c9;
  /* 1pxの青い枠線 */
  color: #0b76c9;
  /* 青い文字 */
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 500;
}

.p-column-card__date {
  font-size: 15px;
  color: #0b76c9;
  font-family: Arial, sans-serif;
}

.p-column-card__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  /* タイトルの下線（点線）を最下部に配置するための下部パディング */
  padding-bottom: 10px;
}

/* 点線（メタ情報エリアの最下部に配置） */
.p-column-card__meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 1px dashed #0b76c9;
}

.p-column-card__meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 下との余白は flex の margin: auto で自動計算するため0に */
  margin-bottom: 0;
}

.p-column-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0b76c9;
  line-height: 1.4;
  /* 上下の余白を自動計算（auto）にし、meta-top と 点線 の上下中央に配置 */
  margin: auto 0;
  padding-bottom: 0;
  border-bottom: none;
  /* 前の指定をリセット */
}

/* 概要テキスト */
.p-column-card__text {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin: 0;
}

/* 右下「続きを読む」ボタン */
.p-column-card__btn {
  position: absolute;
  right: -1px;
  bottom: -1px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px 10px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ★ボタンの背景（斜め ＋ 左上角丸） */
.p-column-card__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0b76c9;
  z-index: -1;

  /* 左上の角丸 ＋ 右下の角丸 */
  border-top-left-radius: 12px;
  border-bottom-right-radius: 10px;

  /* 変形で左辺を斜めにする（右下を軸に倒す） */
  transform: skewX(-15deg);
  transform-origin: right bottom;
}

.p-column-card__btn:hover::before {
  background-color: #ff9684;
  /* ホバー時：オレンジ系 */
}

.p-column-card__btn::after {
  content: "";
  display: inline-block;
  /* 画像のサイズに合わせる */
  width: 7px;
  height: 10px;
  /* 必要であれば画像の縦横比に合わせて設定 */
  margin-left: 4px;
  /* テキストとの間隔 */

  /* 画像を読み込み */
  background-image: url("./images/icon-arrow-w.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ページネーション全体 */
.p-pagination {
  margin-top: 60px;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  /* 中央寄せ */
}

.p-pagination__list {
  display: flex;
  align-items: center;
  gap: 20px;
  /* 各数字・記号同士の間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 数字リンク共通スタイル */
.p-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* 正円にする */
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時（アクティブ以外） */
.p-pagination__link:not(.is-active):hover {
  background-color: #F4E2D8;
  /* 先ほど設定したホバー用カラー */
}

/* カレント（選択中）のスタイル */
.p-pagination__link.is-active {
  background-color: #0b76c9;
  /* 青背景 */
  color: #ffffff;
  /* 白文字 */
  font-weight: 700;
}

/* 「..」省略の表示 */
.p-pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: #333333;
  letter-spacing: 1px;
}

/* 次へ「>>」の矢印調整 */
.p-pagination__link--next {
  font-size: 16px;
  letter-spacing: -2px;
  /* 「>>」の文字間隔を少し詰める */
}

/* ==========================================================================
   SP対応（画面幅 768px 以下）
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* ★ 見出しエリアの左右に 20px パディングを追加 */
  .c-page-header {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* 全体の左右余白 20px */
  .p-column-container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* --- カテゴリタグ（多くなったら自然に折り返し） --- */
  .p-column-category-list {
    gap: 12px 16px;
    padding: 16px;
    max-width: 92%;
    margin: 0 auto 20px;
  }

  .p-column-category-item a {
    font-size: 14px;
    /* 文字を少し小さく */
    padding: 4px 6px;
  }

  .p-column-category-icon {
    width: 18px;
    /* アイコンも少し縮小 */
  }

  /* --- 記事カード一覧（1カラム化） --- */
  .p-column-list {
    gap: 30px;
    /* カード同士の上下間隔 */
  }

  .p-column-card {
    width: 100%;
    /* 1カラム化 */
    padding: 16px 16px 52px;
    /* カード内部の余白を少し調整 */
  }

  /* サムネイル ＋ タイトル部分（縦並びにして見やすく） */
  .p-column-card__header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .p-column-card__thumb {
    width: 120px;
    /* SP用に画像サイズを少し小さく */
    height: 90px;
  }

  .p-column-card__date {
    font-size: 13px;
  }

  .p-column-card__tag {
    font-size: 11px;
    padding: 2px 10px;
  }

  .p-column-card__title {
    font-size: 15px;
    /* 文字を少し小さく */
  }

  .p-column-card__text {
    font-size: 13px;
    /* 文字を少し小さく */
    line-height: 1.6;
  }

  /* ボタン */
  .p-column-card__btn {
    font-size: 13px;
    padding: 8px 12px 8px 32px;
  }

  /* --- ページネーション --- */
  .p-pagination {
    margin-top: 40px;
    padding-bottom: 30px;
  }

  .p-pagination__list {
    gap: 10px;
    /* 数字同士の間隔を少し詰める */
  }

  .p-pagination__link,
  .p-pagination__ellipsis {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* --------------------------------- お問い合わせページ(contact.html) -------------------------------------------------- */

.p-contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* リード文 */
.p-contact-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 40px;
}

.p-contact-lead a {
  color: #ff7800;
  text-decoration: underline;
}

.p-contact-lead a:hover {
  text-decoration: none;
}

/* フォームリスト全体 */
.p-contact-form__list {
  margin: 0;
  padding: 0;
  border-top: 1px dashed #005daa;
}

/* 各行アイテム */
.p-contact-form__item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px dashed #005daa;
}

/* テキストエリアの行（上揃え） */
.p-contact-form__item--textarea {
  align-items: flex-start;
}

/* ラベル（項目名） */
.p-contact-form__label {
  width: 35%;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 必須バッジ */
.c-badge-required {
  background-color: #ffa371;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* 入力フィールド詳細エリア */
.p-contact-form__detail {
  width: 65%;
  margin: 0;
}

/* テキスト入力基本 */
.c-input-text {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  outline: none;
}

.c-input-text:focus {
  border-color: #005bac;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.3);
}

/* 希望日時エリア */
.p-contact-form__datetime-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-input-text--date {
  width: 45%;
  color: #666666;
}

/* セレクトボックス共通 */
.c-select-wrap {
  position: relative;
  width: 45%;
}

.c-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%20333333'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.c-select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

/* テキストエリア */
.c-textarea {
  width: 100%;
  height: 240px;
  padding: 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  resize: vertical;
  outline: none;
}

.c-textarea:focus {
  border-color: #005bac;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.3);
}

/* 送信ボタンエリア */
.p-contact-form__btn-wrap {
  margin-top: 50px;
  text-align: center;
}

.p-contact-form__btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  height: 80px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.p-contact-form__btn::after {
  content: "";
  display: inline-block;
  margin-left: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #ffffff;
}

.p-contact-form__btn:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: scale(0.98);
}

/* --------------------------------- SP対応（768px以下） -------------------------------------------------- */

@media (max-width: 768px) {

  /* フォーム全体コンテナ */
  .p-contact-container {
    padding: 0 20px;
    /* 画面両端に余白を設ける */
  }

  /* 導入リード文 */
  .p-contact-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
    /* スマホでは左寄せが見やすい */
  }

  .p-contact-lead br {
    display: none;
    /* スマホでの不自然な改行を防ぐ */
  }

  /* 1行ごとの枠組み（縦並びに変更） */
  .p-contact-form__item {
    display: flex;
    flex-direction: column;
    /* 項目名と入力欄をタテ並びに */
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed #ccc;
    /* 項目同士の区切り破線（任意） */
  }

  /* 項目名（dt） */
  .p-contact-form__label {
    width: 100%;
    margin-bottom: 8px;
    /* 入力ボックスとの間の余白 */
    font-size: 15px;
    font-weight: 700;
  }

  /* 入力欄エリア（dd） */
  .p-contact-form__detail {
    width: 100%;
  }

  /* テキスト入力・エリア共通（幅100%） */
  .c-input-text,
  .c-textarea,
  .c-select-wrap {
    width: 100%;
    box-sizing: border-box;
  }

  /* --- ご相談希望日時（日付＋時間）の調整 --- */
  .p-contact-form__datetime-wrap {
    display: flex;
    flex-direction: column;
    /* 日付と時間選択もスマホではタテ並びに */
    gap: 8px;
    width: 100%;
  }

}


/* ==========================================================================
   ご利用者の声ページ (voice.html)
   ========================================================================== */
.p-voice-bg {
  width: 100%;
  background-image: url("./images/bg-voice.png");
  /* ※画像パスを合わせてください */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
}

/* 全体コンテナ */
.p-voice-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}



/* 声一覧リスト */
.p-voice-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  /* カード同士の垂直間隔 */
  width: 100%;
}

/* カード1件分（基本：幅75% / 左寄せ） */
.p-voice-card {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 85%;
  margin-right: auto;
}

/* 2件目などの交互配置（幅75% / 右寄せ / テキスト左・写真右） */
.p-voice-card--reverse {
  flex-direction: row-reverse;
  margin-right: 0;
  margin-left: auto;
}

/* アイコン画像エリア */
.p-voice-card__icon {
  width: 28%;
  max-width: 200px;
  flex-shrink: 0;
}

.p-voice-card__icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト本文枠（薄ピンクの枠線） */
.p-voice-card__body {
  position: relative;
  flex: 1;
  border: 5px solid #f8d7da;
  /* 薄ピンクの太枠 */
  border-radius: 16px;
  padding: 40px 32px 32px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* タイトル見出し（上枠に重ねるデザイン） */
.p-voice-card__title {
  position: absolute;
  top: 0;
  left: 40px;
  transform: translateY(-50%);
  /* 枠線上にぴったり半分跨がせる */
  margin: 0;
  background-color: #ffffff;
  /* 枠線を打ち消す背景色 */
  padding: 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #0b76c9;
  white-space: nowrap;
}

/* カンプ文面テキスト */
.p-voice-card__text {
  font-size: 16px;
  line-height: 1.85;
  color: #333333;
  margin: 0;
  text-align: justify;
}

/* ==========================================================================
   ご利用者の声ページ - SP対応 (768px以下)
   ========================================================================== */
@media (max-width: 768px) {

  /* 全体コンテナの余白調整 */
  .p-voice-container {
    padding: 0 16px 48px;
  }

  /* カード間の隙間を少し詰める */
  .p-voice-list {
    gap: 40px;
  }

  /* カード本体：幅100%・縦並び（アイコン上・テキスト下）に変換 */
  .p-voice-card,
  .p-voice-card--reverse {
    flex-direction: column;
    /* 交互反転を解除して上から下に整列 */
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 16px;
  }

  /* アイコン画像エリア：固定幅から小さめに調整 */
  .p-voice-card__icon {
    width: 120px;
    max-width: 100%;
  }

  /* テキスト本文枠（カード全体幅へ広げる） */
  .p-voice-card__body {
    width: 100%;
    border-width: 3px;
    /* 枠線をSP用に少し細く */
    border-radius: 12px;
    padding: 24px 16px 20px;
  }

  /* タイトル見出し：中央配置に調整 */
  .p-voice-card__title {
    left: 50%;
    transform: translate(-50%, -50%);
    /* 中央寄せ */
    font-size: 16px;
    padding: 0 12px;
  }

  /* 本文テキスト */
  .p-voice-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

}

/* ------------------------------------- ケース詳細（case.html） ----------------------------------------------- */

.p-case-bg {
  width: 100%;
  background-image: url("");
  /* ※画像パスを合わせてください */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
}

.p-case-detail-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ケースの塊（青＋オレンジのセット）ごとの下すき間 */
.p-case-item {
  margin-bottom: 80px;
  /* ★ここでセット同士の隙間を調整 */
}

/* 最後のセットの下すき間は消しておく */
.p-case-item:last-child {
  margin-bottom: 0;
}

.p-case-card {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* 左側画像エリア（幅は固定〜パーセントで保持） */
.p-case-card__media {
  flex-shrink: 0;
  width: 13.333%;
  /* 1200px中約160px相当 */
}

.p-case-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右側コンテンツエリア */
.p-case-card__content {
  flex: 1;
}

/* 青帯見出し */
.p-case-card__title {
  background-color: #0b76c9;
  /* メインブルー */
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 32px 40px;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.05em;
  /* ★右下の角を斜めに切り落とす指定 */
  clip-path: polygon(0 0,
      /* 左上 */
      100% 0,
      /* 右上 */
      100% 80%,
      /* 右下（ここを上に引き上げて斜めにする） */
      0 100%
      /* 左下 */
    );
}

/* テキスト本文ブロック */
.p-case-card__body {
  padding: 40px 32px;
  background-color: #ffffff;
}

.p-case-card__text {
  font-size: 16px;
  color: #282828;
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ケースカード：ご対応用（下部・幅狭め・中央配置）
   -------------------------------------------------------------------------- */
.p-case-card--answer {
  /* 全体（1200px）から160px狭い1040px幅に設定 */
  width: 86.666%;
  max-width: 1040px;
  margin: 40px auto 0;
  /* 上に40pxの余白を空けて中央配置 */
}

/* ご対応用：画像幅の比率調整（1040px中の160px相当） */
.p-case-card--answer .p-case-card__media {
  width: 15.384%;
}

/* ご対応用：テキスト領域の比率調整 */
.p-case-card--answer .p-case-card__content {
  width: 84.616%;
}

/* ご対応用：本文（見出しが無いので上パディングを調整） */
.p-case-card--answer .p-case-card__body {
  padding: 40px 32px;
}

/* --------------------------------------------------------------------------
   ケース詳細（case.html） - SP対応 (768px以下)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* ケースセット間の余白調整 */
  .p-case-item {
    margin-bottom: 48px;
  }

  /* ご対応カードの幅・マージンリセット（SPでは画面幅いっぱいにする） */
  .p-case-card--answer {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }

  /* SP用の画像幅比率（75px幅ベースに調整） */
  .p-case-card__media,
  .p-case-card--answer .p-case-card__media {
    width: 75px;
    /* SP用画像の幅に固定 */
  }

  .p-case-card__content,
  .p-case-card--answer .p-case-card__content {
    width: calc(100% - 75px);
    /* 残り幅を自動計算 */
  }

  /* 青帯見出しのSP調整 */
  .p-case-card__title {
    font-size: 16px;
    padding: 16px 16px 20px;
    clip-path: polygon(0 0,
        100% 0,
        100% 85%,
        0 100%);
  }

  /* 本文ブロックのパディング調整 */
  .p-case-card__body,
  .p-case-card--answer .p-case-card__body {
    padding: 20px 16px;
  }

  /* テキスト文字サイズ・行間調整 */
  .p-case-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

}

/* --------------------------------- コラム詳細ページ -------------------------------------------------- */

.p-column-detail-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.p-column-detail-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 48px;
  box-sizing: border-box;
}

/* 記事ヘッダー：メタ情報とタイトルを横並び配置 */
.p-column-detail-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

/* メタ情報ボックス（日付＋カテゴリ）
   右辺に縦の点線を表示し、タイトルとの区切りにする */
.p-column-detail-card__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
  /* 右辺（点線）までの余白 */
  margin-right: 24px;
  /* 右辺（点線）からタイトルまでの余白 */
  border-right: 1px dashed #0b76c9;
  /* 右辺の縦点線 */
  flex-shrink: 0;
  /* 横幅の潰れ防止 */
}

.p-column-detail-card__meta::after {
  content: none;
}

.p-column-detail-card__date {
  font-size: 14px;
  color: #666666;
}

.p-column-detail-card__category {
  font-size: 12px;
  color: #0b76c9;
  background-color: #d3ecff;
  padding: 4px 12px;
  border-radius: 4px;
}

/* タイトル（メタ情報の右側に配置） */
.p-column-detail-card__title {
  flex: 1;
  min-width: 0;
  font-size: 28px;
  font-weight: 500;
  color: #282828;
  line-height: 1.4;
  margin: 0;
  font-family: "Noto Serif JP", serif;
}

/* タイトルと記事本文の間の横破線 */
.p-column-detail-card__divider {
  width: 100%;
  margin-top: 24px;
  border-bottom: 1px dashed #005daa;
}

/* アイキャッチ画像 */
.p-column-detail-card__eyecatch {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.p-column-detail-card__eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 本文エリア */
.p-column-detail-card__body {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

.p-column-detail-card__lead {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  padding: 24px;
  background-color: #f7fafd;
  border-left: 4px solid #0b76c9;
  border-radius: 0 8px 8px 0;
}

.p-column-detail-card__body h2 {
  font-size: 22px;
  color: #0b76c9;
  font-family: "Noto Serif JP", serif;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0b76c9;
}

.p-column-detail-card__body p {
  margin-bottom: 24px;
}

.p-column-detail-card__body ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.p-column-detail-card__body li {
  margin-bottom: 8px;
}

.p-column-detail-card__body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background-color: #f7fafd;
  border-left: 4px solid #d8b98c;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* フッター */
.p-column-detail-card__footer {
  margin-top: 56px;
  width: 100%;
}

/* 前のページ・一覧に戻る・次のページの横並び枠 */
.p-column-detail-card__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
}

/* 前後の記事ボタン共通スタイル */
.c-button-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #f7fafd;
  color: #0b76c9;
  border: 1px solid #0b76c9;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.c-button-nav:hover {
  background-color: #0b76c9;
  color: #ffffff;
}

.c-button-nav__arrow {
  transition: transform 0.2s ease;
}

.c-button-nav--prev:hover .c-button-nav__arrow {
  transform: translateX(-4px);
}

.c-button-nav--next:hover .c-button-nav__arrow {
  transform: translateX(4px);
}

.c-button-nav.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  background-color: #f5f5f5;
  border-color: #ccc;
  color: #888;
}

/* コラム一覧へ戻るボタン（中央配置） */
.c-button-back {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 48px;
  background-color: #ffffff;
  color: #0b76c9;
  border: 2px solid #0b76c9;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.c-button-back:hover {
  background-color: #0b76c9;
  color: #ffffff;
}

/* --------------------------------- コラム詳細ページ（SP対応） -------------------------------------------------- */

@media (max-width: 768px) {

  /* コンテナ・カード外枠の調整 */
  .p-column-detail-container {
    padding: 0 0 40px;
  }

  .p-column-detail-card {
    padding: 24px 16px;
    border-radius: 12px;
  }

  /* 記事ヘッダー：縦並び配置へ切り替え */
  .p-column-detail-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* メタ情報：縦点線を消して下余白に変更 */
  .p-column-detail-card__meta {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    gap: 12px;
  }

  .p-column-detail-card__date {
    font-size: 13px;
  }

  .p-column-detail-card__category {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* タイトル：文字サイズ調整 */
  .p-column-detail-card__title {
    font-size: 20px;
    line-height: 1.5;
  }

  /* 横破線の余白調整 */
  .p-column-detail-card__divider {
    margin-top: 16px;
  }

  /* アイキャッチ画像 */
  .p-column-detail-card__eyecatch {
    margin-bottom: 24px;
  }

  /* 本文エリア：全体のフォントサイズ縮小 */
  .p-column-detail-card__body {
    font-size: 15px;
    line-height: 1.7;
  }

  .p-column-detail-card__lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    padding: 16px;
  }

  .p-column-detail-card__body h2 {
    font-size: 18px;
    margin: 32px 0 16px;
    padding-bottom: 6px;
  }

  .p-column-detail-card__body p {
    margin-bottom: 20px;
  }

  .p-column-detail-card__body ul {
    margin-bottom: 20px;
    padding-left: 18px;
  }

  .p-column-detail-card__body li {
    margin-bottom: 6px;
  }

  .p-column-detail-card__body blockquote {
    margin: 24px 0;
    padding: 16px;
  }

  /* フッター：ナビゲーションの調整 */
  .p-column-detail-card__footer {
    margin-top: 40px;
  }

  .p-column-detail-card__nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* 「前の記事」「次の記事」ボタンを半々に */
  .c-button-nav {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  .c-button-nav--prev {
    order: 1;
  }

  .c-button-nav--next {
    order: 2;
  }

  /* 「一覧へ戻る」ボタンを最下段・横幅いっぱいに */
  .c-button-back {
    order: 3;
    width: 100%;
    height: 44px;
    font-size: 14px;
    margin-top: 4px;
  }
}

/* ヘッダー設定　*/
.header-bg-archive {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-column.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-voice {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-voice.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-case {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-case.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-privacy {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-privacy.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-contact {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-contact.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {

  .header-bg-contact,
  .header-bg-case,
  .header-bg-voice,
  .header-bg-privacy,
  .header-bg-archive {
    width: 100%;
    height: 120px;
  }
}
/* voice.html 中間幅対応 */
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .p-voice-container {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .p-voice-card {
    width: clamp(82%, 88vw, 92%);
    gap: clamp(24px, 3vw, 40px);
  }

  .p-voice-card--reverse {
    margin-left: auto;
    margin-right: 0;
  }

  .p-voice-card__icon {
    width: clamp(150px, 18vw, 200px);
    max-width: 200px;
  }

  .p-voice-card__body {
    padding: clamp(32px, 3.4vw, 40px) clamp(24px, 2.7vw, 32px) clamp(24px, 2.7vw, 32px);
  }

  .p-voice-card__title {
    left: clamp(24px, 3.4vw, 40px);
    font-size: clamp(18px, 1.9vw, 22px);
  }

  .p-voice-card__text {
    font-size: clamp(14px, 1.45vw, 16px);
    line-height: 1.75;
  }
}/*
Theme Name: NPO_rikon_soudan
Theme URI: 
Description: オリジナルWordPressテーマ
Version: 1.0.0
Author: 
*/

@charset "UTF-8";

/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #ffffff;
  /* min-width: 1200px; */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}


/* --------------------------------- 共通パーツ -------------------------------------------------- */

/* 見出し (共通）*/
.c-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #0b76c9;
  letter-spacing: 0.08em;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 12px;
  /* 点線との間の余白 */
}

/* 点線 (共通） */
.c-section-line {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px dashed #005daa;
}

/* --------------------------------- 下層共通ページタイトル -------------------------------------------------- */

.c-page-header {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  padding-top: 80px;
}

/* 見出し全体 */
.c-page-title {
  font-size: 30px;
  font-weight: 500;
  color: #0b76c9;
  letter-spacing: 0.08em;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 16px;
  line-height: 1.2;

}

/* テキスト本体（背景文字の起点基準） */
.c-page-title span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* 背景の英文字（spanの右端＝最後の一文字を基準に配置） */
.c-page-title span::before {
  content: attr(data-en);
  position: absolute;
  /* 右端（100%）から少し手前に戻すことで、最後の一文字と重ねる */
  left: calc(100% - 30px);
  bottom: -18px;
  font-size: 128px;
  font-family: "EB Garamond", serif;
  color: #fdeae0;
  font-weight: 400;
  letter-spacing: -0.02em;
  z-index: -1;
  pointer-events: none;
  line-height: 0.8;
  white-space: nowrap;
}

/* 下層ページ見出し専用の破線 */
.c-page-title-line {
  width: 100%;
  border-bottom: 1px dashed #005daa;
}

@media (max-width: 768px) {

  /* 1. 見出し全体を基準にする */
  .c-page-header {
    position: relative;
    margin-bottom: 24px;
    padding-top: 40px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  .c-page-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  /* 2. SP時のみ span の position を解除（これがないと左端に固定されてしまいます） */
  .c-page-title span {
    position: static;
  }

  /* 3. 背景英文字を .c-page-header の右端に配置 */
  .c-page-title span::before {
    left: auto;
    right: 20px;
    /* 左右パディング20pxの位置に揃える */
    bottom: 0;
    /* 破線の位置基準に設定（はみ出る場合は 2px〜4px などで微調整） */
    font-size: 60px;
    line-height: 1;
  }

}

/* 下層ページ共通 導入リード文 */
.c-page-lead {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .c-page-lead {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 32px;
  }

}



/* ------------------------------------- 大型横長ボタン(共通) ----------------------------------------------- */
/* ボタン配置エリア（共通） */
.c-btn-wrap {
  margin-top: 40px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

.c-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 0;
  font-family: inherit;
}

.c-btn::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 14px;
  background: url("./images/icon-arrow-w.png") no-repeat center / contain;
}

.c-btn:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.95)
}

@media (max-width: 768px) {

  .c-btn-wrap {
    margin-top: 30px;
  }

  .c-btn {
    width: 100%;
    height: 70px;
    font-size: 16px;
    padding: 0 40px 0 20px;
    box-sizing: border-box;
  }

  .c-btn::after {
    right: 16px;
    width: 8px;
  }
}

/* メール相談専用ボタン（矢印なし） */
.c-btn-mail {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1000px;
  max-width: 100%;
  height: 100px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

/* 前のメールアイコン（::before） */
.c-btn-mail::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  background: url("./images/icon-mail.png") no-repeat center / contain;
}

/* ホバー処理 */
.c-btn-mail:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
}

@media (max-width: 768px) {

  .c-btn-mail {
    width: 100%;
    height: 70px;
    font-size: 16px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .c-btn-mail::before {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }
}


/* 見出し下リード文 */
.sub-lead {
  text-align: center;
  font-size: 16px;
  color: #282828;
  margin-top: 20px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .sub-lead {
    font-size: 13px;
    text-align: left;
    margin-top: 12px;
    padding: 0 20px;
  }
}

/* --------------------------------- アニメーション -------------------------------------------------- */
/* ==========================================
   スクロールアニメーション（下からふわっと出現）
========================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  /* 40px下に配置 */
  transition: opacity 1.8s ease-out, transform 1.8s ease-out;
  /* 0.8秒かけて変化 */
  will-change: opacity, transform;
}

/* 画面内に入ったらこのクラスが付与される */
.fade-in-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   #feature トランプ風整列アニメーション
========================================== */

/* 1. アニメーション前の状態（隠れて傾いている状態） */
.feature-card.fade-card {
  opacity: 0;
  /* 下から100pxの位置、少し小ぶりにしつつ10度傾ける */
  transform: translateY(100px) scale(0.85) rotate(10deg);

  /* ポンッとバネのように弾んで着地するイージング設定 */
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.25);

  will-change: opacity, transform;
}

/* 偶数番目（2枚目、4枚目）のカードは逆に-10度傾けてランダム感を出す */
.feature-card.fade-card:nth-child(even) {
  transform: translateY(100px) scale(0.85) rotate(-10deg);
}

/* 2. アニメーション後の状態（元の定位置へピタッと着地） */
.feature-card.fade-card.is-aligned {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

/* ==========================================
   #column ペンが書いている風アニメーション
========================================== */

.column-pen-icon.pen-write-anim {
  display: inline-block;
  opacity: 0;
  transform: translate(25px, -5px) rotate(0deg);
  will-change: transform, opacity;
}

.column-pen-icon.pen-write-anim.is-writing {
  animation: write-motion-custom 2.8s ease-in-out forwards;
}

.column-pen-icon.pen-write-anim {
  display: inline-block;
  opacity: 0;
  transform: translateX(60px) rotate(0deg);
  will-change: transform, opacity;
}

.column-pen-icon.pen-write-anim.is-writing {
  animation: write-motion-custom .8s ease-in-out forwards;
}

@keyframes write-motion-custom {
  0% {
    opacity: 0;
    transform: translateX(60px) rotate(0deg);
  }

  /* --- 左右に大きく振りかざすフェーズ --- */
  25% {
    opacity: 1;
    transform: translateX(20px) rotate(0deg);
  }

  50% {
    transform: translateX(50px) rotate(0deg);
  }

  75% {
    transform: translateX(10px) rotate(0deg);
  }

  /* --- 最後に定位置へ戻りつつ、少しだけペン先を上げる(-10deg) --- */
  100% {
    opacity: 1;
    transform: translateX(0) rotate(-8deg);
  }
}



/* --------------------------------- トップページ -------------------------------------------------- */
/* --- ヘッダー --- */
.header {
  width: 100%;
  height: 80px;
  background-color: #ffffff;
}

.header-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo a {
  display: block;
}

.header-logo img {
  width: 451px;
  height: 69px;
  object-fit: contain;
}

/* 電話とボタン */

.header-contact {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tel-icon {
  width: 26px;
  height: auto;
  flex-shrink: 0;
}

.tel-text-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tel-label {
  font-size: 12px;
  color: #005daa;
  margin-bottom: 2px;
  font-weight: 500;
}

.tel-number {
  font-size: 24px;
  font-weight: 700;
  color: #005bac;
  line-height: 1;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 48px;
  background: linear-gradient(180deg, #e8d0ae 0%, #d8b98c 100%);
  border: 1px solid #ffffff;
  color: #282828;
  font-size: 18px;
  font-weight: 400;
  border-radius: 10px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
  position: relative;
  padding-right: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー演出 */
.header-btn:hover {
  background: linear-gradient(180deg, #f3e1c6 0%, #e0c397 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* 三角形アイコン*/
.header-btn::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 10px;
  background-image: url("./images/icon-arrow.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* SP用ボタンは非表示 */
.header-btn-sp {
  display: none;
}

/* SP用でんわは非表示 */
.header-tel-sp {
  display: none;
}

/* PCではハンバーガーボタン非表示 */
.hamburger-btn {
  display: none;
}

/* --- Main Visual Wrapper (Total Height: 700px) swiper使用 --- */

.main-visual-wrapper {
  width: 100%;
  height: 700px;
  background-image: url("./images/mv-bg1.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

/* swiper設定 */
.mv-bg-swiper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* スライド枠の設定 */
.mv-bg-swiper .swiper-slide {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background-image: none !important;
  /* 元の背景指定を打ち消し */
}

/* 疑似要素に背景画像を適用（初期状態：1.15倍に拡大） */
.mv-bg-swiper .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.15);
  /* 初期状態で拡大しておく */
  transition: transform 4.8s linear;
  /* 5.5秒かけて縮小変化 */
}

/* 各スライドの背景画像 */
.mv-bg-swiper .mv-slide-1::before {
  background-image: url("./images/mv-bg1.png");
}

.mv-bg-swiper .mv-slide-2::before {
  background-image: url("./images/mv-bg2.png");
}

.mv-bg-swiper .mv-slide-3::before {
  background-image: url("./images/mv-bg3.png");
}

/* アクティブになった瞬間に等倍（1倍）へ変化させる */
.mv-bg-swiper .swiper-slide-active::before {
  transform: scale(1);
}

.main-visual {
  position: relative;
  z-index: 2;
  height: 100%;
}


/* --- Global Navigation (Height: 60px) --- */
.gnav {
  width: 100%;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 2;
}

.gnav-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.gnav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.gnav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
  padding: 8px 12px;
}

.gnav-item a:hover {
  opacity: 0.7;
}

/* --- Main Visual Area (Height: 640px) --- */
.main-visual {
  height: 640px;
  position: relative;
}

.main-visual-inner {
  width: 1200px;
  height: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Catch Copy Area (明朝体: Noto Serif JP を適用) */
.mv-catch {
  position: absolute;
  top: 90px;
  left: 0;
  font-family: "Noto Serif JP", serif;
  font-size: 36px;
  font-weight: 600;
  color: #0b76c9;
  line-height: 1.4;
  letter-spacing: 0.05em;
}

/* --- 3Column Area (イラスト / テキスト / CTA) --- */
.mv-content-3col {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 100%;
  z-index: 3;
}

/* 1. イラスト（幅227px / 高さ352px / 左マージン40px / セクション最下段に密着） */
.mv-media {
  position: absolute;
  bottom: 0;
  left: 40px;
  width: 227px;
  height: 340px;
  flex-shrink: 0;
  overflow: hidden;
}

.mv-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2. テキストボックスエリア */
.mv-text-box {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  background-color: transparent;
  padding: 0;
  margin-left: 50px;
}

/* テキスト文章 */
.mv-text {
  font-size: 16px;
  color: #222222;
  line-height: 1.8;
  text-align: left;
  font-weight: 400;
}

/* 3. CTAボタン */
.mv-cta {
  position: absolute;
  bottom: 40px;
  right: 40px;
  flex-shrink: 0;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 10px solid transparent;
  background-image:
    linear-gradient(135deg, #ffffff 0%, #005daa 35%, #003a80 100%),
    linear-gradient(-45deg, #9fceff 0%, #005daa 50%, #003a80 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: #ffffff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.35;
  box-shadow: 0 8px 18px rgba(0, 60, 130, 0.35);
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  text-decoration: none;

  /* 光エフェクト用に追加 */
  position: relative;
  overflow: hidden;
  /* 丸枠からはみ出た光を隠す */
}

/* 光の筋（擬似要素） */
.cta-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 50%;
  height: 200%;
  /* 斜めの白い光グラデーション */
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  /* 光を斜めに傾ける */
  transition: left 0.6s ease;
  pointer-events: none;
  /* テキスト選択などを妨げない */
}

/* ホバー時の挙動 */
.cta-btn:hover::before {
  left: 150%;
  /* 左から右へ光が移動 */
}

.cta-btn:hover {
  box-shadow: 0 10px 22px rgba(0, 60, 130, 0.45);
}

/*  波型背景エリア */

.main-visual::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 350px;
  background-image: url("./images/mv-wave.png");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* お悩みセクション */
.worries-section {
  position: relative;
  width: 100%;
  padding-top: 80px;

  background: linear-gradient(to bottom,
      #ffffff 0%,
      #d5edff 15%,
      #d5edff 85%,
      #ffffff 100%);
  overflow: hidden;
}

.worries-inner {
  width: 100%;
  max-width: 100%;
  margin: 30px auto 0;
  text-align: center;
}


/* 画像ラッピング */
.worries-img-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

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

/* ==========================================
   Consultation Section 相談内容
========================================== */
.consult-section {
  width: 100%;
  padding-top: 80px;
  background-color: #ffffff;
  position: relative;
  background-image: url("./images/bg-consult.png");
  background-repeat: no-repeat;
  background-position: center 200px;
}

.consult-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* --- 1. Top Area (2Column) --- */
.consult-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0px;
  position: relative;
  z-index: 1;
}

.consult-top-text {
  width: 52%;
}

.consult-title {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 500;
  color: #0b76c9;
  line-height: 1.4;
  margin-bottom: 24px;
}

.consult-lead {
  font-size: 18px;
  color: #333333;
  line-height: 1.8;
}

.consult-lead+.consult-lead {
  margin-top: 12px;
}

.consult-top-img {
  width: 42%;
  text-align: right;
}

.consult-top-img img {
  width: 100%;
  max-width: 480px;
  height: auto;
}

/* --- 2. Grid Cards (2Columns) --- */
.consult-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 40px;
  margin-top: -70px;
  position: relative;
  z-index: 2;
}

/* 親カード要素（背景や枠線を解除して中の要素を独立させる） */
.consult-card {
  width: 537px;
  height: 360px;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* 1. カードヘッダー */
.card-header {
  width: 537px;
  height: 80px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 0 3px rgba(11, 118, 201, 0.4);
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  /* 上辺を揃えて前面に配置 */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}

.card-icon img {
  width: 51px;
  height: auto;
  margin-right: 0px;
}

.card-title {
  font-size: 18px;
  font-weight: 500;
  color: #282828;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* 2. 対応内容ボックス */
.card-body-box {
  width: 537px;
  height: 360px;
  border-radius: 10px;
  background-color: #f7fafd;
  box-shadow: 0 0 3px rgba(11, 118, 201, 0.4);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 96px 16px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ボックス内の上部（画像＋リスト） */
.card-body-inner {
  display: flex;
  gap: 20px;
}

.card-media {
  width: 200px;
  flex-shrink: 0;
}

.card-media img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.card-content {
  flex-grow: 1;
}

.card-sub-title {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #282828;
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1;
}

.card-list li {
  position: relative;
  padding-left: 28px;
  line-height: 2.1;
  font-size: 16px;
}

/* チェックマーク画像 */
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  background-image: url("./images/icon-check.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* ボックス内の下部説明文 */
.card-desc {
  font-size: 16px;
  color: #282828;
  line-height: 1.6;
  margin-top: 14px;
}



/* ==========================================
   特徴セクション
   ========================================== */

.feature-section {
  padding-top: 80px;
}

/* --- カードエリア（見出しの下から薄い青背景） --- */
.feature-card-wrapper {
  background-color: #d3ecff;
  /* 薄い青背景 */
  margin-top: 40px;
  padding: 50px 0;
  margin-bottom: 64px;
}

.feature-cards {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* カード1つ分のスタイル */
.feature-card {
  width: 272px;
  min-height: 360px;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 24px;
  padding: 40px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* アイコン */
.card-icon {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon img {
  max-height: 100%;
  width: auto;
}

/* カード内の見出し（幅282px / 高さ51px） */
.feature-card-title {
  width: 282px;
  height: 51px;
  margin-left: -10px;
  margin-bottom: 24px;

  background-color: #005bac;
  /* 青帯 */
  color: #fff;
  font-size: 18px;
  font-weight: 500;

  /* 上下左右の中央寄せ */
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  box-sizing: border-box;
}

/* 左下の折れ曲がり（三角形） */
.feature-card-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  border-top: 6px solid #003a6e;
  /* 折り返しの暗い青 */
  border-left: 10px solid transparent;
}

/* カード本文 */
.feature-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #282828;
}


/* --- 代表からのメッセージ --- */
.feature-message {
  margin-bottom: 40px;
}

.message-box {
  width: 800px;
  height: 224px;
  box-shadow: 2px 4px 0 0 #ffd0ad;
  border-radius: 32px;
  padding: 50px 60px 30px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
}

/* リボン見出し */
.ribbon-title {
  width: 835px;
  height: 96px;
  box-sizing: border-box;
  position: absolute;
  top: -50px;
  left: -18px;
  background: url("./images/ribbon-bg.png") no-repeat center / 100% 100%;
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  padding: 40px 0px 0px 78px;
  /* 画像の背景に合わせてテキスト位置を微調整 */
}

/* 本文 */
.message-text {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}

/* 右下の花イラスト */
.message-flower {
  position: absolute;
  right: 20px;
  bottom: 10px;
  width: 140px;
  pointer-events: none;
}


/* --- ボタン配置 --- */
.feature-btn-wrapper {
  text-align: center;
  padding-bottom: 60px;
}


/* ==========================================
   コラムセクション
   ========================================== */

.column-section {
  width: 100%;
  height: 906px;
  position: relative;
  box-sizing: border-box;
  padding: 40px 0;
  background-image: url("./images/column-bg.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: calc(50% + 600px) auto;

  overflow: hidden;
}

.column-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* 見出し＆ペンアイコン位置調整 */
.column-title-wrap {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-top: 141px;
}

.column-line {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ペンアイコン（最上段配置＆下端を点線に密着） */
.column-pen-icon {
  position: absolute;
  top: -141px;
  left: 10px;
  width: auto;
  height: 141px;
  pointer-events: none;
}



/* Swiper コンテナ配置設定 */
.column-slider-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 60px;
}

.column-swiper {
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
}

/* カードスタイル（サイズ：幅360px × 高さ320px 固定） */
.column-swiper .swiper-slide {
  width: 360px !important;
  height: 320px;
}

.column-card {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 320px;
  background-color: #ffffff;
  border-radius: 10px;
  border: 1px solid #cce5ff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.column-card-img {
  width: 100%;
  height: 190px;
  overflow: hidden;
}

.column-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.column-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 16px;
}

.column-category {
  color: #0b76c9;
}

.column-date {
  color: #0b76c9;
}

.column-card-title {
  font-size: 16px;
  font-weight: 500;
  color: #005bac;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 丸型矢印ナビゲーションボタン */
.column-slider-wrap .swiper-button-prev,
.column-slider-wrap .swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(60, 60, 60, 0.6);
  border-radius: 50%;
  margin-top: -24px;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.column-slider-wrap .swiper-button-prev:hover,
.column-slider-wrap .swiper-button-next:hover {
  background-color: rgba(30, 30, 30, 0.8);
}

.column-slider-wrap .swiper-button-prev::after,
.column-slider-wrap .swiper-button-next::after {
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
}

.column-slider-wrap .swiper-button-prev {
  left: 20px;
}

.column-slider-wrap .swiper-button-next {
  right: 20px;
}

/* ボタン専用カラー調整 */
.column-btn-wrap {
  display: flex;
  justify-content: center;
}

.column-btn {
  width: 600px;
  height: 70px;
  background: #0088b7;
  font-size: 20px;
  border-radius: 8px;
}

.column-btn:hover {
  background: #00739b;
}


/* ==========================================
   FAQセクション
========================================== */

/* FAQセクション全体 */
.faq-section {
  width: 100%;
  padding: 80px 0;
  background-color: #ffffff;
}

/* 見出しエリア（1200pxぴったり） */
.faq-title-wrap {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
}

.faq-line {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ボックスエリア用ラッパー（1200px ＋ 左右パディング40px） */
.faq-inner {
  width: 1200px;
  max-width: 100%;
  margin: 40px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
  /* これにより1200pxの内側にパディングが収まります */
}

/* 2カラムグリッド（540px × 2 ＋ 間隔40px ＝ 1120px） */
.faq-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

/* 各FAQアイテム */
.faq-item {
  width: 540px;
  background-color: #ffffff;
  border: 1px solid #cce5ff;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.15);
  overflow: hidden;
  align-self: flex-start;
  box-sizing: border-box;
}

/* 質問ボタン（高さ80px固定 / 左右パディング40px） */
.faq-question {
  width: 100%;
  height: 80px;
  padding: 10px;
  background-color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.faq-icon-q {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-right: 16px;
}

.faq-icon-q img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-question-text {
  font-size: 18px;
  font-weight: 400;
  color: #282828;
  flex-grow: 1;
}

/* プラス・マイナス アイコン */
.faq-toggle-icon {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #72b3e8;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background-color: #ffffff;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
}

/* 横棒 */
.faq-toggle-icon::before {
  width: 12px;
  height: 2px;
}

/* 縦棒 */
.faq-toggle-icon::after {
  width: 2px;
  height: 12px;
}

/* 開いたときのプラス→マイナス変換 */
.faq-item.is-open .faq-toggle-icon::after {
  opacity: 0;
}

/* 回答ボックス（アコーディオン領域） */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background-color: #f4f7f7;
  border-top: 1px solid transparent;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  border-top-color: #cce5ff;
}

/* アコーディオンの中身（左右パディング40px） */
.faq-answer-inner {
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  padding: 0 10px;
  /* ★上下0、左右10pxにすることで開閉時のはみ出しを防ぐ */
  box-sizing: border-box;
  transition: padding 0.3s ease;
}

.faq-item.is-open .faq-answer-inner {
  padding: 20px 10px;
}

.faq-icon-a {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-right: 16px;
}

.faq-icon-a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.faq-answer-text {
  font-size: 18px;
  line-height: 1.7;
  color: #282828;
  padding-top: 10px;
}

/* ==========================================
   ご対応エリアセクション
========================================== */

/* セクション全体 */
.area-section {
  width: 100%;
  padding: 40px 0;
  background-color: #ffffff;
  margin-bottom: 80px;
}

/* 見出しエリア（専用クラス：幅1200px固定） */
.area-title-wrap {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
}

/* 見出し下の点線（1200pxいっぱいに広げる） */
.area-title-wrap .c-section-line {
  width: 100%;
}

/* コンテンツラッパー（幅1200px / 左右パディング40px） */
.area-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* タブボタン一覧 */
.area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  margin-bottom: 24px;
}

/* タブ単体 */
.area-tab {
  padding: 8px 24px;
  font-size: 16px;
  color: #0b76c9;
  background-color: #ffffff;
  border: 1px solid #0b76c9;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* アクティブなタブ */
.area-tab.is-active {
  color: #ffffff;
  background-color: #0b76c9;
}

/* エリア詳細枠 */
.area-content-box {
  border: 1px solid #0b76c9;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  box-sizing: border-box;
}

.area-content-title {
  font-size: 18px;
  font-weight: bold;
  color: #0b76c9;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px dotted #0b76c9;
}

.area-content-text {
  font-size: 16px;
  line-height: 1.8;
  color: #0b76c9;
  margin: 0;
}


/* ==========================================
   フッター
========================================== */
.footer {
  width: 100%;
  background-color: #f4f7f7;
  padding-top: 20px;
}

/* コンテンツ幅（1200px） */
.footer-inner {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}

/* 上段：ロゴと電話番号を左右配置 */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

/* フッターロゴ（幅451px / 高さ69px） */
.footer-logo img {
  width: 451px;
  height: 69px;
  object-fit: contain;
}

/* 電話番号エリア（ヘッダーの共通指定を活用） */
.footer-tel {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 中段：ナビゲーション */
.footer-nav {
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-nav-item a {
  font-size: 16px;
  font-weight: 500;
  color: #282828;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-nav-item a:hover {
  opacity: 0.7;
}

/* 下段：ラインとコピーライト */
.footer-bottom {
  border-top: 1px solid #017ed2;
  padding: 24px 0;
  text-align: center;
}

.copyright {
  font-size: 14px;
  color: #282828;
  margin: 0;
}

/* ========================================================================================================================================================================
   タブレット対応 (1200～769px)
======================================================================================================================================================================== */

@media screen and (max-width: 1200px) and (min-width: 769px) {

  .header-inner,
  .gnav-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .gnav-list {
    gap: clamp(16px, 3vw, 40px);
  }

  .header-contact {
    gap: 16px;
  }

  .header-logo img {
    height: clamp(40px, 4vw, 48px);
  }

  .tel-number {
    font-size: clamp(20px, 2vw, 24px);
  }

  .header-btn {
    width: clamp(180px, 18vw, 220px);
    font-size: clamp(15px, 1.5vw, 18px);
  }

  .main-visual-inner {
    width: 100%;
    max-width: 1200px;
    padding: 0 24px;
    box-sizing: border-box;
  }

  .mv-content-3col {
    width: 100%;
  }

  .mv-media {
    left: 24px;
    width: clamp(190px, 19vw, 227px);
    height: auto;
  }

  .mv-text-box {
    width: 46%;
    left: 50%;
    margin-left: 20px;
  }

  .mv-text {
    font-size: clamp(13px, 1.25vw, 16px);
    line-height: 1.7;
  }


  .mv-cta {
    right: 24px;
  }

  .cta-btn {
    width: 140px;
    height: 140px;
    font-size: 17px;
  }

  .consult-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .consult-section {
    background-size: 100% auto;
  }

  .consult-title {
    font-size: clamp(26px, 2.6vw, 32px);
  }

  .consult-lead {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.75;
  }

  .consult-top-img img {
    max-width: clamp(320px, 40vw, 480px);
  }

  .consult-grid {
    gap: 28px 24px;
    margin-top: clamp(-70px, -5.8vw, -40px);
  }

  .consult-card {
    width: calc((100% - 24px) / 2);
    height: clamp(320px, 30vw, 360px);
  }

  .card-header,
  .card-body-box {
    width: 100%;
  }

  .card-header {
    height: clamp(68px, 6.6vw, 80px);
    padding: 0 16px;
  }

  .card-body-box {
    height: 100%;
    padding: clamp(82px, 8vw, 96px) 14px 18px;
  }

  .consult-card .card-icon img {
    width: clamp(38px, 4.2vw, 51px);
  }

  .card-title {
    font-size: clamp(15px, 1.45vw, 18px);
  }

  .card-body-inner {
    gap: clamp(12px, 1.6vw, 20px);
  }

  .card-media {
    width: clamp(150px, 16vw, 200px);
  }

  .card-media img {
    height: clamp(90px, 10vw, 120px);
  }

  .card-sub-title {
    font-size: clamp(15px, 1.45vw, 18px);
  }

  .card-list li {
    font-size: clamp(12px, 1.2vw, 14px);
  }

  .card-desc {
    font-size: clamp(12px, 1.2vw, 14px);
    line-height: 1.6;
  }

  .feature-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 20px);
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .feature-card {
    width: 100%;
    min-width: 0;
    min-height: clamp(300px, 30vw, 360px);
    padding: clamp(28px, 3vw, 40px) clamp(12px, 1.8vw, 24px);
    border-radius: 20px;
    flex-shrink: 1;
  }

  .feature-card .card-icon {
    height: clamp(82px, 9vw, 120px);
    margin-bottom: clamp(12px, 1.4vw, 16px);
  }

  .feature-card .card-icon img {
    max-height: 100%;
    width: auto;
  }

  .feature-card-title {
    width: calc(100% + 20px);
    height: clamp(42px, 4.4vw, 51px);
    margin-left: -10px;
    margin-bottom: clamp(16px, 2vw, 24px);
    font-size: clamp(13px, 1.35vw, 18px);
    text-align: center;
    white-space: nowrap;
  }

  .feature-card-text {
    font-size: clamp(12px, 1.3vw, 16px);
    line-height: 1.55;
  }

  .faq-title-wrap,
  .faq-line {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .faq-inner {
    width: 100%;
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(20px, 3vw, 40px);
  }

  .faq-item {
    width: 100%;
    min-width: 0;
  }

  .faq-question {
    height: clamp(64px, 6.8vw, 80px);
    padding: clamp(8px, 1.2vw, 10px);
  }

  .faq-icon-q,
  .faq-icon-a {
    width: clamp(38px, 4vw, 48px);
    height: clamp(38px, 4vw, 48px);
    margin-right: clamp(10px, 1.3vw, 16px);
  }

  .faq-question-text {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.5;
  }

  .faq-toggle-icon {
    width: clamp(20px, 2.2vw, 24px);
    height: clamp(20px, 2.2vw, 24px);
    margin-left: clamp(10px, 1.3vw, 16px);
  }

  .faq-answer-text {
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.65;
  }



}



/* ========================================================================================================================================================================
   レスポンシブ対応 (max-width: 768px)
======================================================================================================================================================================== */

@media (max-width: 768px) {

  /* PC用の横幅固定を解除 */
  body {
    min-width: 100%;
  }

  /* --- Header & ハンバーガー --- */
  .header {
    height: auto;
    position: relative;
    z-index: 100;
  }

  .header-inner {
    width: 100%;
    padding: 10px 15px;
    align-items: center;
    /* 3要素を上下中央揃え */
  }

  .header-logo img {
    height: 42px;
    /* スマホ用にロゴサイズを少しだけ調整 */
  }

  /* 電話＆ボタンのコンテナをスマホ用に調整 */
  .header-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    /* 余白をコンパクトに */
    margin-left: auto
  }

  .header-btn-pc {
    display: none !important;
  }

  /* 相談ボタンはSPではナビの中に */
  .header-tel-pc {
    display: none !important;
  }

  .header-btn-sp {
    display: flex;
    max-width: 200px;
    margin-bottom: 10px;
    font-size: 16px;
    margin-bottom: 20px;
  }

  .header-tel-sp {
    display: flex;
  }

  /* スマホ用 電話ブロックの調整 */
  .header-tel {
    gap: 6px;
    margin-bottom: 20px;
  }

  .tel-icon {
    width: 20px;
  }

  .tel-label {
    font-size: 10px;
    margin-bottom: 0;
  }

  .tel-number {
    font-size: 16px;
  }

  /* ハンバーガーボタン */
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    position: fixed;
    top: 20px;
    /* 画面上部からの位置（調整可） */
    right: 20px;
    /* 画面右からの位置（調整可） */

  }

  .hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #005bac;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ハンバーガー開閉アニメーション */
  .hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .hamburger-btn.is-active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  /* グローバルナビ */
  .gnav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    /* 不透明度を95%から88%に下げて透け感をアップ */
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Safari用の記述を追加しておくと安心です */
    z-index: 99;
    padding-top: 90px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
  }

  .gnav-inner {
    width: 100%;
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .gnav.is-active {
    right: 0;
  }

  .gnav-list {
    flex-direction: column;
    gap: 20px;
  }

  .gnav-item {
    width: 100%;
    border-bottom: 1px solid #e0e0e0;
  }

  .gnav-item a {
    padding: 16px 20px;
    font-size: 15px;
    color: #282828;
  }

  /* --- Main Visual --- */

  .main-visual-wrapper {
    height: auto;
    padding: 30px 0 0;
    background-size: cover;
  }

  .main-visual {
    height: auto;
    padding: 0 15px;
  }

  .main-visual-inner {
    width: 100%;
  }

  /* Catch Copy（中央配置） */
  .mv-catch {
    position: static;
    text-align: center;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 25px;
    margin-top: 30px;
    margin-bottom: 50px;
    font-weight: 700;
  }

  /* 3Column エリア */
  /*波背景の高さ */
  .main-visual::before {
    height: 100%;
  }

  .mv-content-3col {
    position: static;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    padding-top: 50px;
  }

  /* ① mv-img（幅約32%・底面密着） */
  .mv-media {
    position: static;
    width: 32%;
    height: auto;
  }

  .mv-media-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }

  /* ② 右側テキスト（残りの幅：約65%） */
  .mv-text-box {
    position: static;
    width: 65%;
    transform: none;
    margin-left: 0;
    margin-top: 0;
    padding: 0px;
    align-self: flex-end;
  }

  .mv-text {
    font-size: 12px;
    line-height: 1.6;
  }

  .mv-text br {
    display: none;
  }

  /* ③ 横長CTAボタン（改行して一番下に配置） */
  .mv-cta {
    position: static;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 30px;
    order: 3;
  }

  .cta-btn {
    width: 100%;
    max-width: 340px;
    height: 54px;
    margin: 0 auto;
    border-radius: 30px;
    border: 3px solid transparent;
    font-size: 16px;
    font-weight: 400;
  }

  .cta-btn br {
    display: none;
  }

  /* お悩みセクション（SP用余白調整） */
  .worries-section {
    padding: 30px 0 30px;
    /* スマホ用に上下パディングをコンパクトに */
  }

  /* 共通見出しタイトル */
  .c-section-title {
    font-size: 18px;
    /* 見出しをスマホサイズに微調整 */
    padding: 0 15px;
  }

  .c-section-line {
    margin-bottom: 0px;
    width: 100vw;
  }

  /* SP用画像ラップ */
  .worries-img-wrap {
    width: 100%;
    padding: 0;
  }

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

  /* ==========================================
   ご相談事例（SP対応: 768px以下）
========================================== */

  /* 1. セクション全体・背景設定 */
  .consult-section {
    padding: 50px 0 60px;
    background-position: center 100px;
    background-repeat: repeat-y;
    background-size: 100% auto;
  }

  .consult-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 2. Top Area（見出し中央 ＋ 本文・画像の配置） */
  /* 2. Top Area（見出し1カラム ＋ 2つ目テキスト＆画像の2カラム） */
  .consult-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  /* テキストの親枠を解除して中身を同列に扱う */
  .consult-top-text {
    display: contents;
  }

  /* 見出し（1カラム / 最上部） */
  .consult-title {
    width: 100%;
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
    order: 1;
  }

  /* 共通リード文スタイル */
  .consult-lead {
    font-size: 13px;
    line-height: 1.6;
  }

  /* 1つ目のリード文（1カラム / 横いっぱい） */
  .consult-lead:first-of-type {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
    order: 2;
  }

  /* 2つ目のリード文（2カラム左側：約62%） */
  .consult-lead+.consult-lead {
    width: 62%;
    margin-right: 0;
    margin-top: 0;
    order: 3;
  }

  /* カウンセラー画像（2カラム右側：約34%） */
  .consult-top-img {
    width: 34%;
    margin-top: 0;
    order: 4;
  }

  .consult-top-img img {
    width: 100%;
    max-width: 160px;
    height: auto;
    display: block;
    margin-left: auto;
  }


  /* 3. Grid Cards（1カラム化 & 固定高さを解除） */
  .consult-grid {
    flex-direction: column;
    margin-top: 0;
    gap: 24px;
  }

  .consult-card {
    width: 100%;
    height: auto;
    padding: 0;
  }

  /* カードヘッダー */
  .card-header {
    width: 100%;
    height: auto;
    max-height: 60px;
    position: relative;
    padding: 12px 16px;
    border-radius: 10px 10px 0 0;
  }

  .card-icon img {
    width: 30px;
  }

  .card-title {
    font-size: 16px;
    text-align: left;
    padding-left: 10px;
  }

  /* カードボディ */
  .card-body-box {
    width: 100%;
    height: auto;
    position: relative;
    top: auto;
    left: auto;
    padding: 20px 16px;
    border-radius: 0 0 10px 10px;
  }

  .card-body-inner {
    flex-direction: column;
    gap: 16px;
  }

  .card-media {
    width: 100%;
    text-align: center;
  }

  .card-media img {
    width: auto;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
  }

  .card-sub-title {
    text-align: left;
    font-size: 16px;
  }

  .card-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  .card-list li::before {
    top: 5px;
  }

  .card-desc {
    font-size: 14px;
    margin-top: 16px;
  }



  /* ==========================================
     特徴セクション
     ========================================== */

  .feature-section {
    padding-top: 30px;
  }

  /* --- カードグリッド --- */
  .feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* --- カード本体 --- */
  .feature-card {
    width: 100%;
    flex-shrink: 1;
    min-height: auto;
    padding: 24px 12px;
    box-sizing: border-box;
    overflow: visible;
  }

  .card-icon {
    height: 40px;
    margin-bottom: 12px;
  }

  .card-icon img {
    height: 100%;
    width: auto;
    max-width: none;
  }

  .feature-card-title {
    width: calc(100% + 34px);
    margin-left: -10px;

    margin-bottom: 16px;
    font-size: 14px;
    height: 40px;
  }

  .feature-card-title::before {
    left: 0;
    bottom: -6px;
    border-top-width: 6px;
    border-left-width: 10px;
  }

  .feature-card-text {
    font-size: 14px;
    line-height: 1.5;
  }

  /* ==========================================
     2. 代表メッセージの縮小・SP用リボン切り替え
     ========================================== */

  .message-box {
    width: calc(100% - 40px);
    max-width: 100%;
    height: auto;
    padding: 60px 20px 30px;
    box-sizing: border-box;

  }

  /* リボン見出し（SP画像への差し替えとサイズ変更） */
  .ribbon-title {

    width: 320px;
    height: 60px;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-image: url("./images/ribbon-bg-sp.png");

    font-size: 15px;
    padding: 24px 0 0 80px;
    /* SP位置調整 */
  }

  .message-text {
    font-size: 14px;
  }

  .message-flower {
    width: 80px;
    right: 10px;
    bottom: 10px;
  }

  .feature-btn-wrap {
    padding: 0 20px;
  }

  /* ==========================================
     コラムセクション（SP）
  ========================================== */
  .column-section {
    height: auto;
    min-height: auto;
    padding: 30px 0 60px;
    background-size: 100% auto;
    background-position: right bottom;
  }

  .column-inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  /* 見出し＆ペンアイコン位置調整（SP） */
  .column-title-wrap {
    padding: 51px 0 0;
    /* ペンアイコンの高さ（141pxの半分＝約71px）に調整 */
    margin-bottom: 30px;
  }

  /* ペンアイコン：サイズを半分（高さ70.5px）に縮小 */
  .column-pen-icon {
    top: -71px;
    height: 70.5px;
    left: 5px;
  }


  /* Swiperエリア調整 */
  .column-slider-wrap {
    margin-bottom: 30px;
  }

  .column-swiper {
    overflow: visible;
    /* 横スクロール（フリック）時に前後がチラ見えする設計 */
  }

  /* カードサイズ調整 */
  .column-swiper .swiper-slide {
    width: 280px !important;
    /* スマホで見やすい横幅に調整 */
    height: auto;
  }

  .column-card {
    width: 100%;
    height: 100%;
  }

  .column-card-img {
    height: 150px;
  }

  .column-card-body {
    padding: 12px 14px;
  }

  .column-card-title {
    font-size: 14px;
  }

  /* SPでは丸型矢印ボタンを非表示（指でのフリック操作に最適化） */
  .column-slider-wrap .swiper-button-prev,
  .column-slider-wrap .swiper-button-next {
    display: none;
  }

  /* ボタン調整 */
  .column-btn {
    width: 100%;
    height: 60px;
    font-size: 16px;
  }

  /* ==========================================
     FAQセクション（SP）
  ========================================== */
  /* セクション全体の余白調整 */
  .faq-section {
    padding: 40px 0;
  }

  /* 見出しエリア・点線のレスポンシブ化 */
  .faq-title-wrap,
  .faq-line {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 24px;
  }

  /* ラッパーとグリッドの固定幅解除 ＆ 1カラム化 */
  .faq-inner {
    width: 100%;
    padding: 0 20px;
  }

  .faq-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* スマホ時の縦間隔 */
  }

  /* 各FAQボックスを横幅100%に */
  .faq-item {
    width: 100%;
  }

  /* 質問ボタンの調整 */
  .faq-question {
    height: auto;
    min-height: 64px;
    padding: 12px;
  }

  .faq-icon-q,
  .faq-icon-a {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .faq-question-text {
    font-size: 15px;
  }

  .faq-answer-text {
    font-size: 15px;
  }

  /* ------------------------------------------
   対応エリアセクション（SP)
------------------------------------------ */
  .area-section {
    padding: 40px 0;
    margin-bottom: 40px;
  }

  .area-title-wrap {
    padding: 0;
    box-sizing: border-box;
    margin-bottom: 24px;
  }

  .area-inner {
    width: 100%;
    padding: 0 20px;
  }

  .area-tabs {
    gap: 8px;
  }

  .area-tab {
    padding: 6px 16px;
    font-size: 14px;
  }

  .area-content-box {
    padding: 16px;
  }

  .area-content-title {
    font-size: 16px;
  }

  .area-content-text {
    font-size: 14px;
  }



  /* ==========================================
   フッター（SP：768px以下）
========================================== */


  /* 上段：ロゴと電話番号を縦並び（中央寄せ）に変更 */
  .footer-top {
    display: flex;
    flex-direction: column;
    /* 縦並びにしてロゴの下に電話を配置 */
    justify-content: center;
    align-items: center;
    /* 中央揃え */
    gap: 20px;
    /* ロゴと電話番号の間の余白 */
    margin-bottom: 32px;
  }

  /* スマホ用ロゴサイズ（中央寄せに合わせてお好みで調整） */
  .footer-logo img {
    width: 240px;
    height: auto;
    display: block;
    margin: 0 auto;
  }

  /* 電話番号エリア全体の揃え調整 */
  .footer-tel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }

  .footer-tel .tel-label {
    font-size: 10px;
  }

  .footer-tel .tel-number {
    font-size: 18px;
  }

  .footer-tel .tel-icon {
    width: 20px;
  }

  /* 中段ナビ：横に2つずつの2カラム配置 */
  .footer-nav {
    margin-bottom: 32px;
  }

  .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 0;
    max-width: 300px;
    margin: 0 auto;
  }

  .footer-nav-item {
    width: 50%;
    text-align: center;
    box-sizing: border-box;
  }

  .footer-nav-item a {
    font-size: 14px;
    display: inline-block;
  }

  /* コピーライトエリア */
  .footer-bottom {
    padding: 16px 20px;
  }

  .copyright {
    font-size: 12px;
  }

}


/* --------------------------------- コラム一覧エリア(column_index.html) -------------------------------------------------- */

.p-column-container {
  width: 100%;
  max-width: 1200px;
  margin: 100px auto;
  margin-bottom: 80px;
}

/* --- カテゴリタグ一覧 --- */
.p-column-category-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  border: 1px dashed #005daa;
  padding: 24px 32px;
  border-radius: 8px;
  box-sizing: border-box;
  max-width: 90%;
  margin: 0 auto 40px;
}

.p-column-category-item a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  padding: 6px 8px;
  /* ホバー時の背景領域用に余白を設定 */
  border-radius: 6px;
  /* 背景色の角丸 */
  transition: background-color 0.3s ease;
}

/* ホバー時に背景色 #f3eae4 を付与 */
.p-column-category-item a:hover {
  background-color: #fdeae0;
}

.p-column-category-icon {
  width: 22px;
  height: auto;
  object-fit: contain;
}


/* --- 記事カード一覧（2カラム） --- */
.p-column-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 30px;
}

.p-column-card {
  position: relative;
  width: calc((100% - 30px) / 2);
  background: #ffffff;
  border: 1.5px solid #d8e8f5;
  border-radius: 10px;
  padding: 20px 20px 56px;
  /* 下部ボタン用の余白を確保 */
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* カード上部エリア（サムネイル＋メタ情報） */
.p-column-card__header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.p-column-card__thumb {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
}

.p-column-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-column-card__tag {
  background-color: transparent;
  /* 背景色なし */
  border: 1px solid #0b76c9;
  /* 1pxの青い枠線 */
  color: #0b76c9;
  /* 青い文字 */
  font-size: 13px;
  padding: 4px 16px;
  border-radius: 6px;
  font-weight: 500;
}

.p-column-card__date {
  font-size: 15px;
  color: #0b76c9;
  font-family: Arial, sans-serif;
}

.p-column-card__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  /* タイトルの下線（点線）を最下部に配置するための下部パディング */
  padding-bottom: 10px;
}

/* 点線（メタ情報エリアの最下部に配置） */
.p-column-card__meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  border-bottom: 1px dashed #0b76c9;
}

.p-column-card__meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* 下との余白は flex の margin: auto で自動計算するため0に */
  margin-bottom: 0;
}

.p-column-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #0b76c9;
  line-height: 1.4;
  /* 上下の余白を自動計算（auto）にし、meta-top と 点線 の上下中央に配置 */
  margin: auto 0;
  padding-bottom: 0;
  border-bottom: none;
  /* 前の指定をリセット */
}

/* 概要テキスト */
.p-column-card__text {
  font-size: 14px;
  color: #333333;
  line-height: 1.7;
  margin: 0;
}

/* 右下「続きを読む」ボタン */
.p-column-card__btn {
  position: absolute;
  right: -1px;
  bottom: -1px;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 10px 16px 10px 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ★ボタンの背景（斜め ＋ 左上角丸） */
.p-column-card__btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #0b76c9;
  z-index: -1;

  /* 左上の角丸 ＋ 右下の角丸 */
  border-top-left-radius: 12px;
  border-bottom-right-radius: 10px;

  /* 変形で左辺を斜めにする（右下を軸に倒す） */
  transform: skewX(-15deg);
  transform-origin: right bottom;
}

.p-column-card__btn:hover::before {
  background-color: #ff9684;
  /* ホバー時：オレンジ系 */
}

.p-column-card__btn::after {
  content: "";
  display: inline-block;
  /* 画像のサイズに合わせる */
  width: 7px;
  height: 10px;
  /* 必要であれば画像の縦横比に合わせて設定 */
  margin-left: 4px;
  /* テキストとの間隔 */

  /* 画像を読み込み */
  background-image: url("./images/icon-arrow-w.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ページネーション全体 */
.p-pagination {
  margin-top: 60px;
  padding-bottom: 40px;
  display: flex;
  justify-content: center;
  /* 中央寄せ */
}

.p-pagination__list {
  display: flex;
  align-items: center;
  gap: 20px;
  /* 各数字・記号同士の間隔 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 数字リンク共通スタイル */
.p-pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* 正円にする */
  font-size: 18px;
  font-weight: 500;
  color: #333333;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* ホバー時（アクティブ以外） */
.p-pagination__link:not(.is-active):hover {
  background-color: #F4E2D8;
  /* 先ほど設定したホバー用カラー */
}

/* カレント（選択中）のスタイル */
.p-pagination__link.is-active {
  background-color: #0b76c9;
  /* 青背景 */
  color: #ffffff;
  /* 白文字 */
  font-weight: 700;
}

/* 「..」省略の表示 */
.p-pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: #333333;
  letter-spacing: 1px;
}

/* 次へ「>>」の矢印調整 */
.p-pagination__link--next {
  font-size: 16px;
  letter-spacing: -2px;
  /* 「>>」の文字間隔を少し詰める */
}

/* ==========================================================================
   SP対応（画面幅 768px 以下）
   ========================================================================== */
@media screen and (max-width: 768px) {

  /* ★ 見出しエリアの左右に 20px パディングを追加 */
  .c-page-header {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* 全体の左右余白 20px */
  .p-column-container {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* --- カテゴリタグ（多くなったら自然に折り返し） --- */
  .p-column-category-list {
    gap: 12px 16px;
    padding: 16px;
    max-width: 92%;
    margin: 0 auto 20px;
  }

  .p-column-category-item a {
    font-size: 14px;
    /* 文字を少し小さく */
    padding: 4px 6px;
  }

  .p-column-category-icon {
    width: 18px;
    /* アイコンも少し縮小 */
  }

  /* --- 記事カード一覧（1カラム化） --- */
  .p-column-list {
    gap: 30px;
    /* カード同士の上下間隔 */
  }

  .p-column-card {
    width: 100%;
    /* 1カラム化 */
    padding: 16px 16px 52px;
    /* カード内部の余白を少し調整 */
  }

  /* サムネイル ＋ タイトル部分（縦並びにして見やすく） */
  .p-column-card__header {
    gap: 12px;
    margin-bottom: 12px;
  }

  .p-column-card__thumb {
    width: 120px;
    /* SP用に画像サイズを少し小さく */
    height: 90px;
  }

  .p-column-card__date {
    font-size: 13px;
  }

  .p-column-card__tag {
    font-size: 11px;
    padding: 2px 10px;
  }

  .p-column-card__title {
    font-size: 15px;
    /* 文字を少し小さく */
  }

  .p-column-card__text {
    font-size: 13px;
    /* 文字を少し小さく */
    line-height: 1.6;
  }

  /* ボタン */
  .p-column-card__btn {
    font-size: 13px;
    padding: 8px 12px 8px 32px;
  }

  /* --- ページネーション --- */
  .p-pagination {
    margin-top: 40px;
    padding-bottom: 30px;
  }

  .p-pagination__list {
    gap: 10px;
    /* 数字同士の間隔を少し詰める */
  }

  .p-pagination__link,
  .p-pagination__ellipsis {
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
}

/* --------------------------------- お問い合わせページ(contact.html) -------------------------------------------------- */

.p-contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 80px;
}

/* リード文 */
.p-contact-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 40px;
}

.p-contact-lead a {
  color: #ff7800;
  text-decoration: underline;
}

.p-contact-lead a:hover {
  text-decoration: none;
}

/* フォームリスト全体 */
.p-contact-form__list {
  margin: 0;
  padding: 0;
  border-top: 1px dashed #005daa;
}

/* 各行アイテム */
.p-contact-form__item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px dashed #005daa;
}

/* テキストエリアの行（上揃え） */
.p-contact-form__item--textarea {
  align-items: flex-start;
}

/* ラベル（項目名） */
.p-contact-form__label {
  width: 35%;
  font-size: 16px;
  font-weight: 500;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* 必須バッジ */
.c-badge-required {
  background-color: #ffa371;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* 入力フィールド詳細エリア */
.p-contact-form__detail {
  width: 65%;
  margin: 0;
}

/* テキスト入力基本 */
.c-input-text {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  outline: none;
}

.c-input-text:focus {
  border-color: #005bac;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.3);
}

/* 希望日時エリア */
.p-contact-form__datetime-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-input-text--date {
  width: 45%;
  color: #666666;
}

/* セレクトボックス共通 */
.c-select-wrap {
  position: relative;
  width: 45%;
}

.c-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%20333333'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}

.c-select {
  width: 100%;
  height: 48px;
  padding: 0 36px 0 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

/* テキストエリア */
.c-textarea {
  width: 100%;
  height: 240px;
  padding: 12px;
  border: 1px solid #0b76c9;
  border-radius: 2px;
  font-size: 15px;
  color: #333333;
  box-sizing: border-box;
  background-color: #ffffff;
  resize: vertical;
  outline: none;
}

.c-textarea:focus {
  border-color: #005bac;
  box-shadow: 0 0 4px rgba(11, 118, 201, 0.3);
}

/* 送信ボタンエリア */
.p-contact-form__btn-wrap {
  margin-top: 50px;
  text-align: center;
}

.p-contact-form__btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1000px;
  height: 80px;
  background: linear-gradient(90deg, #017ed2 0%, #02ba94 100%);
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.p-contact-form__btn::after {
  content: "";
  display: inline-block;
  margin-left: 12px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #ffffff;
}

.p-contact-form__btn:hover {
  background: linear-gradient(90deg, #0a94e3 0%, #08d3ab 100%);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  transform: scale(0.98);
}

/* --------------------------------- SP対応（768px以下） -------------------------------------------------- */

@media (max-width: 768px) {

  /* フォーム全体コンテナ */
  .p-contact-container {
    padding: 0 20px;
    /* 画面両端に余白を設ける */
  }

  /* 導入リード文 */
  .p-contact-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: left;
    /* スマホでは左寄せが見やすい */
  }

  .p-contact-lead br {
    display: none;
    /* スマホでの不自然な改行を防ぐ */
  }

  /* 1行ごとの枠組み（縦並びに変更） */
  .p-contact-form__item {
    display: flex;
    flex-direction: column;
    /* 項目名と入力欄をタテ並びに */
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed #ccc;
    /* 項目同士の区切り破線（任意） */
  }

  /* 項目名（dt） */
  .p-contact-form__label {
    width: 100%;
    margin-bottom: 8px;
    /* 入力ボックスとの間の余白 */
    font-size: 15px;
    font-weight: 700;
  }

  /* 入力欄エリア（dd） */
  .p-contact-form__detail {
    width: 100%;
  }

  /* テキスト入力・エリア共通（幅100%） */
  .c-input-text,
  .c-textarea,
  .c-select-wrap {
    width: 100%;
    box-sizing: border-box;
  }

  /* --- ご相談希望日時（日付＋時間）の調整 --- */
  .p-contact-form__datetime-wrap {
    display: flex;
    flex-direction: column;
    /* 日付と時間選択もスマホではタテ並びに */
    gap: 8px;
    width: 100%;
  }

}


/* ==========================================================================
   ご利用者の声ページ (voice.html)
   ========================================================================== */
.p-voice-bg {
  width: 100%;
  background-image: url("./images/bg-voice.png");
  /* ※画像パスを合わせてください */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
}

/* 全体コンテナ */
.p-voice-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
  box-sizing: border-box;
}



/* 声一覧リスト */
.p-voice-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
  /* カード同士の垂直間隔 */
  width: 100%;
}

/* カード1件分（基本：幅75% / 左寄せ） */
.p-voice-card {
  display: flex;
  align-items: center;
  gap: 40px;
  width: 85%;
  margin-right: auto;
}

/* 2件目などの交互配置（幅75% / 右寄せ / テキスト左・写真右） */
.p-voice-card--reverse {
  flex-direction: row-reverse;
  margin-right: 0;
  margin-left: auto;
}

/* アイコン画像エリア */
.p-voice-card__icon {
  width: 28%;
  max-width: 200px;
  flex-shrink: 0;
}

.p-voice-card__icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* テキスト本文枠（薄ピンクの枠線） */
.p-voice-card__body {
  position: relative;
  flex: 1;
  border: 5px solid #f8d7da;
  /* 薄ピンクの太枠 */
  border-radius: 16px;
  padding: 40px 32px 32px;
  background-color: #ffffff;
  box-sizing: border-box;
}

/* タイトル見出し（上枠に重ねるデザイン） */
.p-voice-card__title {
  position: absolute;
  top: 0;
  left: 40px;
  transform: translateY(-50%);
  /* 枠線上にぴったり半分跨がせる */
  margin: 0;
  background-color: #ffffff;
  /* 枠線を打ち消す背景色 */
  padding: 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #0b76c9;
  white-space: nowrap;
}

/* カンプ文面テキスト */
.p-voice-card__text {
  font-size: 16px;
  line-height: 1.85;
  color: #333333;
  margin: 0;
  text-align: justify;
}

/* ==========================================================================
   ご利用者の声ページ - SP対応 (768px以下)
   ========================================================================== */
@media (max-width: 768px) {

  /* 全体コンテナの余白調整 */
  .p-voice-container {
    padding: 0 16px 48px;
  }

  /* カード間の隙間を少し詰める */
  .p-voice-list {
    gap: 40px;
  }

  /* カード本体：幅100%・縦並び（アイコン上・テキスト下）に変換 */
  .p-voice-card,
  .p-voice-card--reverse {
    flex-direction: column;
    /* 交互反転を解除して上から下に整列 */
    align-items: center;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    gap: 16px;
  }

  /* アイコン画像エリア：固定幅から小さめに調整 */
  .p-voice-card__icon {
    width: 120px;
    max-width: 100%;
  }

  /* テキスト本文枠（カード全体幅へ広げる） */
  .p-voice-card__body {
    width: 100%;
    border-width: 3px;
    /* 枠線をSP用に少し細く */
    border-radius: 12px;
    padding: 24px 16px 20px;
  }

  /* タイトル見出し：中央配置に調整 */
  .p-voice-card__title {
    left: 50%;
    transform: translate(-50%, -50%);
    /* 中央寄せ */
    font-size: 16px;
    padding: 0 12px;
  }

  /* 本文テキスト */
  .p-voice-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

}

/* ------------------------------------- ケース詳細（case.html） ----------------------------------------------- */

.p-case-bg {
  width: 100%;
  background-image: url("");
  /* ※画像パスを合わせてください */
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: top center;
}

.p-case-detail-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ケースの塊（青＋オレンジのセット）ごとの下すき間 */
.p-case-item {
  margin-bottom: 80px;
  /* ★ここでセット同士の隙間を調整 */
}

/* 最後のセットの下すき間は消しておく */
.p-case-item:last-child {
  margin-bottom: 0;
}

.p-case-card {
  display: flex;
  align-items: flex-start;
  width: 100%;
}

/* 左側画像エリア（幅は固定〜パーセントで保持） */
.p-case-card__media {
  flex-shrink: 0;
  width: 13.333%;
  /* 1200px中約160px相当 */
}

.p-case-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 右側コンテンツエリア */
.p-case-card__content {
  flex: 1;
}

/* 青帯見出し */
.p-case-card__title {
  background-color: #0b76c9;
  /* メインブルー */
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 32px 40px;
  margin: 0;
  line-height: 1.4;
  letter-spacing: 0.05em;
  /* ★右下の角を斜めに切り落とす指定 */
  clip-path: polygon(0 0,
      /* 左上 */
      100% 0,
      /* 右上 */
      100% 80%,
      /* 右下（ここを上に引き上げて斜めにする） */
      0 100%
      /* 左下 */
    );
}

/* テキスト本文ブロック */
.p-case-card__body {
  padding: 40px 32px;
  background-color: #ffffff;
}

.p-case-card__text {
  font-size: 16px;
  color: #282828;
  line-height: 1.85;
  letter-spacing: 0.04em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   ケースカード：ご対応用（下部・幅狭め・中央配置）
   -------------------------------------------------------------------------- */
.p-case-card--answer {
  /* 全体（1200px）から160px狭い1040px幅に設定 */
  width: 86.666%;
  max-width: 1040px;
  margin: 40px auto 0;
  /* 上に40pxの余白を空けて中央配置 */
}

/* ご対応用：画像幅の比率調整（1040px中の160px相当） */
.p-case-card--answer .p-case-card__media {
  width: 15.384%;
}

/* ご対応用：テキスト領域の比率調整 */
.p-case-card--answer .p-case-card__content {
  width: 84.616%;
}

/* ご対応用：本文（見出しが無いので上パディングを調整） */
.p-case-card--answer .p-case-card__body {
  padding: 40px 32px;
}

/* --------------------------------------------------------------------------
   ケース詳細（case.html） - SP対応 (768px以下)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* ケースセット間の余白調整 */
  .p-case-item {
    margin-bottom: 48px;
  }

  /* ご対応カードの幅・マージンリセット（SPでは画面幅いっぱいにする） */
  .p-case-card--answer {
    width: 100%;
    max-width: 100%;
    margin-top: 24px;
  }

  /* SP用の画像幅比率（75px幅ベースに調整） */
  .p-case-card__media,
  .p-case-card--answer .p-case-card__media {
    width: 75px;
    /* SP用画像の幅に固定 */
  }

  .p-case-card__content,
  .p-case-card--answer .p-case-card__content {
    width: calc(100% - 75px);
    /* 残り幅を自動計算 */
  }

  /* 青帯見出しのSP調整 */
  .p-case-card__title {
    font-size: 16px;
    padding: 16px 16px 20px;
    clip-path: polygon(0 0,
        100% 0,
        100% 85%,
        0 100%);
  }

  /* 本文ブロックのパディング調整 */
  .p-case-card__body,
  .p-case-card--answer .p-case-card__body {
    padding: 20px 16px;
  }

  /* テキスト文字サイズ・行間調整 */
  .p-case-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

}

/* --------------------------------- コラム詳細ページ -------------------------------------------------- */

.p-column-detail-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 40px;
  padding: 0 0 80px;
  box-sizing: border-box;
}

.p-column-detail-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 48px;
  box-sizing: border-box;
}

/* 記事ヘッダー：メタ情報とタイトルを横並び配置 */
.p-column-detail-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-bottom: 32px;
}

/* メタ情報ボックス（日付＋カテゴリ）
   右辺に縦の点線を表示し、タイトルとの区切りにする */
.p-column-detail-card__meta {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 24px;
  /* 右辺（点線）までの余白 */
  margin-right: 24px;
  /* 右辺（点線）からタイトルまでの余白 */
  border-right: 1px dashed #0b76c9;
  /* 右辺の縦点線 */
  flex-shrink: 0;
  /* 横幅の潰れ防止 */
}

.p-column-detail-card__meta::after {
  content: none;
}

.p-column-detail-card__date {
  font-size: 14px;
  color: #666666;
}

.p-column-detail-card__category {
  font-size: 12px;
  color: #0b76c9;
  background-color: #d3ecff;
  padding: 4px 12px;
  border-radius: 4px;
}

/* タイトル（メタ情報の右側に配置） */
.p-column-detail-card__title {
  flex: 1;
  min-width: 0;
  font-size: 28px;
  font-weight: 500;
  color: #282828;
  line-height: 1.4;
  margin: 0;
  font-family: "Noto Serif JP", serif;
}

/* タイトルと記事本文の間の横破線 */
.p-column-detail-card__divider {
  width: 100%;
  margin-top: 24px;
  border-bottom: 1px dashed #005daa;
}

/* アイキャッチ画像 */
.p-column-detail-card__eyecatch {
  width: 100%;
  margin-bottom: 40px;
  text-align: center;
}

.p-column-detail-card__eyecatch img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 本文エリア */
.p-column-detail-card__body {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
}

.p-column-detail-card__lead {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 40px;
  padding: 24px;
  background-color: #f7fafd;
  border-left: 4px solid #0b76c9;
  border-radius: 0 8px 8px 0;
}

.p-column-detail-card__body h2 {
  font-size: 22px;
  color: #0b76c9;
  font-family: "Noto Serif JP", serif;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0b76c9;
}

.p-column-detail-card__body p {
  margin-bottom: 24px;
}

.p-column-detail-card__body ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.p-column-detail-card__body li {
  margin-bottom: 8px;
}

.p-column-detail-card__body blockquote {
  margin: 32px 0;
  padding: 20px 24px;
  background-color: #f7fafd;
  border-left: 4px solid #d8b98c;
  border-radius: 0 8px 8px 0;
  font-style: italic;
}

/* フッター */
.p-column-detail-card__footer {
  margin-top: 56px;
  width: 100%;
}

/* 前のページ・一覧に戻る・次のページの横並び枠 */
.p-column-detail-card__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
}

/* 前後の記事ボタン共通スタイル */
.c-button-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background-color: #f7fafd;
  color: #0b76c9;
  border: 1px solid #0b76c9;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.c-button-nav:hover {
  background-color: #0b76c9;
  color: #ffffff;
}

.c-button-nav__arrow {
  transition: transform 0.2s ease;
}

.c-button-nav--prev:hover .c-button-nav__arrow {
  transform: translateX(-4px);
}

.c-button-nav--next:hover .c-button-nav__arrow {
  transform: translateX(4px);
}

.c-button-nav.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  background-color: #f5f5f5;
  border-color: #ccc;
  color: #888;
}

/* コラム一覧へ戻るボタン（中央配置） */
.c-button-back {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 220px;
  height: 48px;
  background-color: #ffffff;
  color: #0b76c9;
  border: 2px solid #0b76c9;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.c-button-back:hover {
  background-color: #0b76c9;
  color: #ffffff;
}

/* --------------------------------- コラム詳細ページ（SP対応） -------------------------------------------------- */

@media (max-width: 768px) {

  /* コンテナ・カード外枠の調整 */
  .p-column-detail-container {
    padding: 0 0 40px;
  }

  .p-column-detail-card {
    padding: 24px 16px;
    border-radius: 12px;
  }

  /* 記事ヘッダー：縦並び配置へ切り替え */
  .p-column-detail-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
  }

  /* メタ情報：縦点線を消して下余白に変更 */
  .p-column-detail-card__meta {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    gap: 12px;
  }

  .p-column-detail-card__date {
    font-size: 13px;
  }

  .p-column-detail-card__category {
    font-size: 11px;
    padding: 3px 10px;
  }

  /* タイトル：文字サイズ調整 */
  .p-column-detail-card__title {
    font-size: 20px;
    line-height: 1.5;
  }

  /* 横破線の余白調整 */
  .p-column-detail-card__divider {
    margin-top: 16px;
  }

  /* アイキャッチ画像 */
  .p-column-detail-card__eyecatch {
    margin-bottom: 24px;
  }

  /* 本文エリア：全体のフォントサイズ縮小 */
  .p-column-detail-card__body {
    font-size: 15px;
    line-height: 1.7;
  }

  .p-column-detail-card__lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
    padding: 16px;
  }

  .p-column-detail-card__body h2 {
    font-size: 18px;
    margin: 32px 0 16px;
    padding-bottom: 6px;
  }

  .p-column-detail-card__body p {
    margin-bottom: 20px;
  }

  .p-column-detail-card__body ul {
    margin-bottom: 20px;
    padding-left: 18px;
  }

  .p-column-detail-card__body li {
    margin-bottom: 6px;
  }

  .p-column-detail-card__body blockquote {
    margin: 24px 0;
    padding: 16px;
  }

  /* フッター：ナビゲーションの調整 */
  .p-column-detail-card__footer {
    margin-top: 40px;
  }

  .p-column-detail-card__nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  /* 「前の記事」「次の記事」ボタンを半々に */
  .c-button-nav {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  .c-button-nav--prev {
    order: 1;
  }

  .c-button-nav--next {
    order: 2;
  }

  /* 「一覧へ戻る」ボタンを最下段・横幅いっぱいに */
  .c-button-back {
    order: 3;
    width: 100%;
    height: 44px;
    font-size: 14px;
    margin-top: 4px;
  }
}

/* ヘッダー設定　*/
.header-bg-archive {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-column.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-voice {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-voice.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-case {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-case.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-privacy {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-privacy.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.header-bg-contact {
  width: 100%;
  height: 240px;
  background-image: url("./images/header-bg-contact.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {

  .header-bg-contact,
  .header-bg-case,
  .header-bg-voice,
  .header-bg-privacy,
  .header-bg-archive {
    width: 100%;
    height: 120px;
  }
}
/* voice.html 中間幅対応 */
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .p-voice-container {
    max-width: 1200px;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }

  .p-voice-card {
    width: clamp(82%, 88vw, 92%);
    gap: clamp(24px, 3vw, 40px);
  }

  .p-voice-card--reverse {
    margin-left: auto;
    margin-right: 0;
  }

  .p-voice-card__icon {
    width: clamp(150px, 18vw, 200px);
    max-width: 200px;
  }

  .p-voice-card__body {
    padding: clamp(32px, 3.4vw, 40px) clamp(24px, 2.7vw, 32px) clamp(24px, 2.7vw, 32px);
  }

  .p-voice-card__title {
    left: clamp(24px, 3.4vw, 40px);
    font-size: clamp(18px, 1.9vw, 22px);
  }

  .p-voice-card__text {
    font-size: clamp(14px, 1.45vw, 16px);
    line-height: 1.75;
  }
}

/* MVのメインコピー：中間幅でも画面端に接しないよう最低限の左余白を維持 */
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .main-visual-inner .mv-catch {
    left: 40px;
  }
}

/* 810px付近ではナビゲーションの文字を縮小して折り返しを防ぐ */
@media screen and (max-width: 810px) and (min-width: 769px) {
  .gnav-item a {
    font-size: 13px;
    white-space: nowrap;
  }
}

/* スマホ幅ではメインコピーを画面幅に合わせて拡大する */
@media screen and (max-width: 768px) {
  .main-visual .mv-catch {
    font-size: clamp(20px, 4vw, 30px);
  }
}

/* Header logo size: match footer on desktop */
.header-logo img {
  width: 451px;
  height: 69px;
  object-fit: contain;
}
@media screen and (max-width: 1200px) and (min-width: 769px) {
  .header-logo img {
    width: auto;
    height: clamp(40px, 4vw, 48px);
  }
}
@media (max-width: 768px) {
  .header-logo img {
    width: auto;
    height: 42px;
  }
}


/* Phone icon: align with phone number */
.header-tel .tel-icon,
.footer-tel .tel-icon {
  width: 20px;
  align-self: flex-end;
  margin-bottom: 6px;
}


/* Phone icon: lower by 5px */
.header-tel .tel-icon,
.footer-tel .tel-icon {
  margin-bottom: 1px;
}


/* Mobile drawer menu: larger and easier to tap */
@media (max-width: 768px) {
  .gnav {
    width: 88%;
    max-width: 340px;
    padding-top: 96px;
  }

  .hamburger-btn {
    width: 30px;
    height: 24px;
  }

  .hamburger-btn.is-active span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
  }

  .hamburger-btn.is-active span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
  }

  .header-btn-sp {
    width: 260px;
    max-width: calc(100% - 32px);
    height: 56px;
    font-size: 18px;
    margin-bottom: 24px;
  }

  .header-tel-sp {
    gap: 10px;
    margin-bottom: 26px;
  }

  .header-tel-sp .tel-icon {
    width: 22px;
  }

  .header-tel-sp .tel-label {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .header-tel-sp .tel-number {
    font-size: 20px;
  }

  .gnav-list {
    width: 100%;
    gap: 0;
  }

  .gnav-item a {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    line-height: 1.4;
    text-align: center;
  }
}
