@charset "utf-8";
/* ▼韓国メディカルツーリズム セクション */
.medical-tourism-section {
  max-width: 1000px;
  margin: 40px auto 60px auto;
  padding: 30px 10px 50px 10px;
  background: #fff;
  border-radius: 14px;
}
.medical-tourism-header {
  text-align: center;
  margin-bottom: 30px;
}
.medical-tourism-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .medical-tourism-header h1 {
    font-size: 19px;
  }
}

.medical-tourism-header h2 {
  font-size: 36px;
  color: #0069b3;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .medical-tourism-header h2 {
    font-size: 22px;
  }
}

.medical-tourism-header .subtitle {
  font-size: 28px;
  color: #20bc51;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .medical-tourism-header .subtitle {
    font-size: 16px;
  }
}

.tour-section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 38px 0 24px 0;
}
.tour-illust-placeholder {
  width: 100%;
  max-width: 800px;
  border-radius: 15px;
  font-size: 1.15em;
  margin: 0 auto;
  margin-bottom:40px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============ メインビジュアル ============ */
.main-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  display: flex;
  background: url("../img/1102380.jpg") center center / cover no-repeat;
}

/* 半透明オーバーレイ */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(200 255 246 / 27%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* テキストボックス */
.hero-text {
  position: relative;
  max-width: 900px;
  padding: 40px 20px;
  color: #003366;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
}

/* 見出し */
.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.5;
  color: #003c8f; /* Brilliantブルー */
}

/* 本文 */
.hero-text p {
  font-size: 16px;
  line-height: 1.9;
  text-align: left;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .main-hero {
    padding: 80px 0;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 14px;
  }
}

/*キャンペーン情報CTA*/
.cp-cta{
  margin-top: 28px;
}

.cp-button{
    display: inline-block;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    width: 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

/* ▼カードデザイン */
.clinic-card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin:0 auto;
  margin-top:40px;
  margin-bottom:100px;
  width: 100%;
  max-width: 800px;
  padding: 0;
  list-style: none;
}
.clinic-card {
  background: #fafdff;
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0, 105, 179, 0.08);
  overflow: hidden;
  width: 48%;
  max-width: 96vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s, box-shadow 0.22s;
}
.clinic-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 10px 32px rgba(0, 105, 179, 0.12);
}
.clinic-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  background: #e3ecf5;
  border-bottom: 1px solid #e2e2e2;
}
.card_text{
  text-align: center;
  font-size: 14px;
  margin-bottom: 14px;
}
.clinic-info {
  padding: 20px 16px 20px 16px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.clinic-info h3 {
  font-size: 1.1em;
  color: #005285;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.01em;
}
.card-btn {
  display: inline-block;
  background: #20bc51;
  color: #fff;
  font-weight: bold;
  border-radius: 18px;
  padding: 10px 28px;
  font-size: 1em;
  text-decoration: none;
  margin-top: 6px;
  letter-spacing: 0.04em;
  transition: background 0.2s;
}
.card-btn:hover {
  background: #0069b3;
  color: #fff;
}

/* レスポンシブ調整 */
@media (max-width: 750px) {
  .tour-illust-placeholder { height: 86px; font-size: 0.95em;}
  .clinic-card-list { gap: 14px;}
  .clinic-card { width: 97vw; max-width: 360px; }
  .clinic-img { height: 180px;}
  .clinic-info { padding: 14px 8px; }
}



/* 私たちについてセクション */
.section-about-company {
  max-width: 1000px;
  padding: 5em 2em;
}

.section-about-company .inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 横並びレイアウト */
.company-flex {
  display: flex;
  gap: 2em;
  align-items: flex-end;
}

/* 画像の親要素のスタイル */
.company-image {
  width: 30%;
    max-width: 100%;
    height: 160px;
  overflow: hidden;          /* はみ出した部分を隠す */
  box-shadow:-1px 6px 5px 0px rgba(0, 0, 0, 0.2);
}

/* 画像のスタイル */
.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* テキスト */
.company-text {
  flex: 1;
}

.section-about-company .section-title {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: #003366;
}

.section-about-company .lead {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 1em;
  line-height: 1.6;
}

/* スマホ時の調整 (画像の角丸を外す) */
@media (max-width: 768px) {
  .company-image {
    width: 100%;
    max-width: none;
    height: 160px;
    overflow: hidden;
  }
}

/* スマホ時の順序とサイズ調整 */
@media (max-width: 768px) {
  .company-flex {
    flex-direction: column-reverse; /* スマホではテキスト上・画像下 */
    text-align: center;
  }

  .company-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* 会社概要 */
.section-about{
  width: 100%;
  max-width: 500px;
}

.about-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-text li {
  margin-bottom: 0.5em;
}

/*会社概要内の事業内容*/
.about-business {
  margin-top: 2em;
}

.about-business h3 {
  font-size: 1.2em;
  margin-bottom: 0.8em;
  border-left: 4px solid #0069b3;
  padding-left: 10px;
  color: #333;
}

.business-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.business-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 0.5em;
}

.business-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #0069b3;
  font-weight: bold;
}


/* 事業内容（カード形式） */
.section-services {
  padding: 4em 2em;
  background: #f9f9f9;
}

.section-title {
  font-size: 22px;
  margin-bottom: 1em;
  text-align: center;
}

.section-intro {
  max-width: 800px;
  margin: 0 auto 2em;
  text-align: center;
  line-height: 1.6;
  font-size:0.9em;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.5em;
  max-width: 1000px;
    margin: 0 auto;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 1.5em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.card:hover {
  transform: perspective(600px) rotateX(5deg) rotateY(5deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: var(--color-font-dark);
  text-align: center;
  font-weight: 550;
}

.card p{
  font-size:0.9em;
}

/* 主要推進事業セクション用ボタン */
.btn_services {
  display: inline-block;
  background-color: var(--color-bg-button2);
  color: #fff;
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin: 2em auto 0;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn_services:hover {
  background-color: var(--color-bg-button2-hover);
  transform: translateY(-2px);
}

/* 新施設紹介 */
#business{
  max-width: 1000px;
  text-align: center;
}

.section-facility .facility-bg {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url("../img/photo_new_facility.jpg") center/cover no-repeat;
  padding: 9em 2em;
  color: white;
  text-align: center;
  background-attachment: fixed;
}

.section-facility h2 {
  margin-bottom: 0.5em;
  color:var(--color-font-light);
}

.section-facility p {
  color:var(--color-font-light);
}

/*お問い合わせページ*/
.main {
  max-width: 100%;
  margin: 0 auto;
  color: #333;
}

.main_photo {
  background: linear-gradient(to right, rgba(0, 105, 179, 0.5), rgba(116, 237, 116, 0.5)), 
              url('../img/img_bg1.jpg') center / cover no-repeat;
  height: 40vh;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom:20px;
}

.main_copy {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
}

#formWrap{
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding:10px;
}

#formWrap h1{
  font-size:22px;
}
#formWrap h2{
  font-size:20px;
}

.formTable {
  width: 100%;
  border-collapse: collapse;
  margin: 40px 0;
}

.formTable th,
.formTable td {
  padding: 16px 12px;
  text-align: left;
  border: 1px solid #ccc;
}

.formTable th {
  width: 25%;
  background: #f9f9f9;
  font-weight: bold;
}

.formTable input[type="text"],
.formTable textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
}

.formTable textarea {
  resize: vertical;
}


.main_photo img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

@media screen and (max-width: 600px) {
  .formTable th,
  .formTable td {
    display: block;
    width: 100%;
  }

  .formTable th {
    background: none;
    font-weight: normal;
    padding-top: 24px;
  }
}

.form_waku{
  margin:40px 0;
}

/* お問い合わせページ専用ヘッダー調整 */
.contact_page header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  color: white;
}

.contact_page header .logo h1,
.contact_page header .nav a {
  color: white;
}

.contact_page header .nav a:hover {
  color: var(--color-font-dark); 
  transition: color 0.3s ease;
}

/*clinics ページ用*/
/* メインビジュアル */
#main-visual_clinics {
  width: 100%;
  max-width: 100%;
  min-height: 50vh;
  padding: 5em 1em;
  background: 
    linear-gradient(to right, rgba(0, 105, 179, 0.5), rgba(116, 237, 116, 0.5)), 
    url('../img/photo_new_facility.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
}


/*メインビジュアルのテキストフェード＆ズーム*/
#main-visual_clinics .overlay {
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1s ease;
}

body.loaded #main-visual_clinics .overlay {
  opacity: 1;
  transform: scale(1);
}

/* 主要事業コールアウト */
.home-callout {
  background: linear-gradient(to right, rgba(203, 234, 255, 0.546), rgba(183, 255, 183, 0.5));
  color: #fff;
  text-align: center;
  padding: 40px;
  margin: 60px auto;
  border-radius: 6px;
  max-width: 1000px;
}
.home-callout h2 {
  font-size: 2rem;
  margin-bottom: 0.5em;
}
.home-callout .lead {
  font-size: 32px;
  font-weight: 550;
  margin-bottom: 40px;
}
.home-callout h3 {
  font-size: 1.5rem;
  margin: 1.5em 0 0.5em;
}
.home-callout p {
  line-height: 1.7;
  margin-bottom: 1em;
}

/* 詳細を見るボタン */
.home-callout .button {
  display: inline-block;
  background: #fff;
  color: var(--color-bg-key);
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.3s, transform 0.2s;
  margin-top: 1em;
}
.home-callout .button:hover {
  background: var(--color-bg-button2-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* コールアウト内のイメージ */
.home-callout .callout-image {
  display: block;
  max-width: 300px;      /* お好みのサイズに調整 */
  width: 100%;
  height: auto;
  margin: 0 auto 30px;   /* 上余白0、下余白30px */
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* モバイル時はもう少し小さく */
@media (max-width: 600px) {
  .home-callout .callout-image {
    max-width: 200px;
    margin-bottom: 20px;
  }
}

/* レスポンシブ微調整 */
@media (max-width: 768px) {
  .home-callout {
    padding: 30px 15px;
  }
  .home-callout h2 { font-size: 1.5rem; }
  .home-callout .lead,
  .home-callout .tagline { font-size: 1rem; }
  .home-callout h3 { font-size: 1.25rem; }
}

/* ２つ目見出し */
.callout-subtitle {
  font-size: 1.5rem;
  margin: 2em 0 1em;
  color: var(--color-font-dark);
  font-weight: 550;
  text-align: left;
}

/* フレックスコンテナ */
.callout-detail {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 1em;
}

/* 左：メディア */
.detail-media {
  flex: 1 1 15%;
  text-align: center;
}
.detail-media img {
  width: 100%;
  max-width: 260px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 右：テキスト */
.detail-text {
  flex: 1 1 55%;
}
.detail-text p {
  line-height: 1.8;
  margin-bottom: 1.5em;
      text-align: left;
}
.detail-text .button {
  padding: 12px 30px;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .callout-detail {
    flex-direction: column;
    text-align: center;
  }
  .detail-text .button {
    margin: 0 auto;
  }
}


/*clinicsページ*/
.clinic-detail {
  max-width: 1000px;
  margin: 0 auto;
  padding: 5em 2em;
  line-height: 1.8;
  font-size: 0.95em;
}

.clinic-section {
  margin-bottom: 3em;
}

.clinic-section h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
  color: #003366;
}

.image-row {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
  margin: 1em 0;
}

.image-row img {
  width: 100%;
  max-width: 45%;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-row.four img {
  max-width: 22%;
}

.note {
  font-size: 0.8em;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

.image-flex {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2em 0;
}

.image-flex img {
  width: 45%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 768px) {
  .image-flex img {
    width: 100%;
  }
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 2em 0;
}

.image-grid img {
  width: 100%;
  height: 200px;           /* 高さを固定 */
  object-fit: cover;       /* 要素サイズに画像をフィットさせ、はみ出し部分を切り抜く */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/*画像下の注釈*/
.image-note {
  font-size: 0.8em;
  color: #555;
  text-align: center;
  margin-top: 0.5em;
}

/* 共通：設備リストを２カラムグリッドで表示 */
.equipment-list {
  list-style: none;
  padding: 0;
  margin: 1em 0 2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 24px;
  font-size: 0.95em;
  line-height: 1.6;
}

/* 各項目の先頭にマーカーを入れる */
.equipment-list li {
  position: relative;
  padding-left: 1.2em;
}
.equipment-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-bg-key);
}

/* モバイルでは１カラムに */
@media screen and (max-width: 600px) {
  .equipment-list {
    grid-template-columns: 1fr;
  }
}

/* ────────── クリニック詳細：装飾強化 ────────── */
.clinic-detail {
  font-size: 0.95em;
  line-height: 1.8;
  color: #333;
}

/* 各セクションに下線と余白を */
.clinic-section {
  margin-bottom: 3em;
  padding-bottom: 2em;
  border-bottom: 1px solid #eee;
}

/* セクションタイトル（h3）の強調 */
.clinic-section h3 {
  font-size: 1.4em;
  color: var(--color-font-dark);
  margin-bottom: 0.5em;
  position: relative;
  padding-left: 1em;
}
.clinic-section h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 4px;
  height: 1.2em;
  background: var(--color-font-dark);
  border-radius: 2px;
}

/* セクション内リード文 (最初の p) のスタイル */
.clinic-section > p:first-of-type {

  margin-top: 1em;
  margin-bottom: 0.8em;
}

/* 通常本文の余白調整 */
.clinic-section p {
  margin-bottom: 1em;
}

/* キャプション統一 */
.caption, .image-note {
  font-size: 0.85em;
  color: #666;
  text-align: center;
  margin-top: 0.5em;
}

/* 画像フレックスの上下マージン */
.image-flex {
  margin: 2em 0;
}

/* ２枚並び画像に丸みを＋影を少し強めに */
.image-flex img {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ホテル写真グリッド：カード風に影＋丸み */
.image-grid img {
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 設備リスト項目にホバー効果 */
.equipment-list li {
  transition: background 0.3s ease;
  padding: 6px 8px;
  border-radius: 4px;
}
.equipment-list li:hover {
  background: rgba(2, 123, 189, 0.05);
}

/* 全体の見出し（h2）下にアクセントライン */
.section-title {
  position: relative;
  padding-bottom: 0.5em;
  margin-bottom: 60px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: var(--color-bg-key);
  transform: translateX(-50%);
  border-radius: 2px;
}

/* レスポンシブ調整 */
@media screen and (max-width: 768px) {
  .clinic-section {
    padding-bottom: 1.5em;
  }
  .clinic-section h3 {
    font-size: 1.2em;
  }
}

/*20250830改修上部デザイン*/
/* ───────── 医師紹介ブロック ───────── */
.section-doctors {
  max-width: 1000px;
  margin: 80px auto 80px;
  padding: 0 10px;
}

/* 3カラム・フレックス */
.doctors-grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
}

.doctor-card {
  flex: 1 1 300px;     /* 1000px幅時にほぼ3等分 */
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 病院名・氏名 */
.doctor-meta {
  margin-bottom: 6px;
}
.doctor-meta .hospital {
  font-size: 14px;
  color: #666;
  margin: 0 0 4px;
}
.doctor-meta .name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-font-base);
  margin: 0;
}
.doctor-meta .role {
  font-weight: 500;
  margin-left: .25em;
  color: #666;
}

/* 画像プレースホルダ（比率固定：4:3） */
.photo {
  width: 100%;
  aspect-ratio: 4 / 3;                 /* 比率固定。画像差し替えでも崩れない */
  border-radius: 8px;
  background: #e6eef6;
  position: relative;
  overflow: hidden;
  border: 1px solid #e2e2e2;
}

/* 画像を入れるときは、以下のように：
   <div class="photo portrait"><img src="img/xxx.jpg" alt=""></div> でOK */
.photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;                    /* 余白なしでトリミング */
  display: block;
}

/* 注釈テキスト（ビルド前のみ可視） */
.photo[data-note]::after {
   content: attr(data-note);
   position: absolute;
   inset: 0;
   display: grid;
   place-items: center;
   padding: 10px;
   text-align: center;
   font-size: 13px;
   line-height: 1.6;
   color: #2b2b2b;
  background: repeating-linear-gradient(
               -45deg,
               rgba(255,255,255,0.65),
               rgba(255,255,255,0.65) 8px,
               rgba(255,255,255,0.5) 8px,
               rgba(255,255,255,0.5) 16px);
}

/* 納品時に注釈を消したい場合は、親に .no-notes を付ける */
.no-notes .photo::after { display: none; }

/* レスポンシブ：スマホは縦積み */
@media (max-width: 860px) {
  .doctors-grid { gap: 18px; }
  .doctor-card { max-width: 100%; }
}

/* 院内フォト 3列→モバイル1列（flex-wrap不要） */
.section-facility-photos{
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 10px;
}
.facility-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC/タブレットは常に3列 */
  gap: 14px;
}
.gallery-item{
  aspect-ratio: 4 / 3;     /* 比率固定、見た目をそろえる */
  overflow: hidden;
  border-radius: 6px;
  background: #e6eef6;     /* 読み込み前の下地 */
  border: 1px solid #e2e2e2;
}
.gallery-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* 余白なしでトリミング */
  display: block;
}
@media (max-width: 768px){
  .facility-gallery{ grid-template-columns: 1fr; } /* モバイルは1列 */
}

/* 料金セクション */
.section-price{
  max-width: 1000px;
  margin: 0 auto 80px;
  background: #EFF9FF;
  padding: 40px 24px;
  border-radius: 12px;
}

.price-list{
  margin: 0 auto 16px;
  max-width: 760px;
}

.price-row{
  display: grid;
  grid-template-columns: 1fr auto; /* 左：項目 / 右：価格 */
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #cfdbe5;
  font-variant-numeric: tabular-nums;
}
.price-row:first-child{ border-top: 0; }

.price-row dt,
.price-row dd{
  margin: 0;
}

.price-row dd{
  font-weight: 600;
  white-space: nowrap;
}

/* 注意書き */
.price-note{
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 0.9em;
  color: #555;
  line-height: 1.7;
}

/* モバイルでも2カラム維持（折り返しのみ可） */
@media (max-width: 480px){
  .section-price{ padding: 32px 16px; }
  .price-row{ gap: 12px; }
}

/* 任せて安心6つのサポート */
.section-support{
  max-width: 1000px;
  margin: 0 auto 120px;
  padding: 0 10px;
  text-align: center;
}
.section-support .section-title img{
  max-width: 640px;
  width: 100%;
  height: auto;
}

/* ブルーの帯（白文字） */
.support-ribbon{
  background: var(--color-bg-button);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  margin: 20px auto 60px;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

/* 3つの特徴（中央） */
.support-icons img{
  max-width: 100%;
  width: 100%;
  height: auto;
  margin: 8px auto 60px;
  display: block;
}

/* リード */
.support-subtitle{
  font-size: 20px;
  font-weight: 650;
  margin: 10px 0 6px;
  color: var(--color-font-dark);
}
.support-desc{
  max-width: 840px;
  margin: 0 auto 40px;
  color: #444;
  line-height: 1.8;
  font-size: 0.95em;
}

/* 特典カード */
.support-benefits{
  display: flex;        /* PC/タブレットは2列 */
  gap: 24px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 8px;
  margin-bottom:80px;
}
.benefit-col{
  flex: 0 0 calc(50% - 12px); /* 2列固定。ラップは使わない */
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit-card{
  text-align: left;
  background: #EFF9FF;
  box-shadow: 4px 5px 6px rgba(0, 0, 0, 0.05);
  padding: 16px 16px 18px;
}
.benefit-tag{
  color: var(--color-bg-button);
  font-weight: 700;
  font-size: 0.9em;
  margin: 0 0 6px;
}
.benefit-title{
  font-size: 1.05em;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-font-dark);
}
.benefit-text{
  margin: 0;
  color: #555;
  font-size: 0.92em;
  line-height: 1.7;
}

/* CTA */
.support-cta{
  margin-top: 28px;
  margin-bottom:80px;
}
.cta-lead{
  font-size: 36px;        /* 指定：36px・太字 */
  font-weight: 700;
  margin: 12px 0 12px;
}
.support-button{
    display: inline-block;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    width: 225px;
}

/* モバイル時は縦並び（フレックス解除） */
@media (max-width: 768px){
  .support-benefits{ display: block; }
  .benefit-col{ flex: none; width: 100%; }
  .cta-lead{ font-size: 24px; }
  .support-ribbon{ width: 100%; }
}

.mri_description{
  margin-bottom:40px;
}

/* ===========================
   事業連携・グループリンク
=========================== */
.related-links {
  margin: 20px 0 40px;
  padding: 20px 25px;
  background: #f8f9fa;
  border-left: 4px solid #2c67ae;
  font-size: 0.95em;
  line-height: 1.8;
  color: var(--color-font-base, #333);
}

.related-links .related-desc {
  margin-bottom: 12px;
  font-size: 0.95em;
  color: #555;
}

.related-links a {
  color: #2c67ae;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, text-decoration 0.3s;
  display: inline-block;
  margin-right: 12px;
}

.related-links a:hover {
  color: #20bc51;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .related-links {
    text-align: center;
    padding: 15px;
  }

  .related-links .related-desc {
    font-size: 0.9em;
    line-height: 1.6;
  }

  .related-links a {
    display: block;
    margin: 8px 0;
  }
}
