@charset "utf-8";

/*

Theme Name: HEAL child
Theme URI:https://tcd-theme.com/tcd077
Description:WordPressテーマ「HEAL」の子テーマ
Template:heal_tcd077
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/



/*

  ここから下にCSSを追記してください。

/* ==========================================
   資料請求・LINEボタン
   ========================================== */
.custom-concept-section {
  width: 100%;
  padding: 0px 20px;
  background-color: #ffffff;
  background-position: center;
  background-size: cover;
  text-align: center;
  box-sizing: border-box;
}

.concept-inner {
  max-width: 800px;
  margin: 0 auto;
}

/* タイトルスタイル */
.sub-title {
  color: #799a7e;
  font-family: 'Times New Roman', serif;
  font-size:40px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.main-title {
  font-family: "游明朝", "Yu Mincho", serif;
  font-size: 32px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 40px;
  font-weight: normal;
}

/* 3つの特徴（ボタンエリア） */
.feature-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 15px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, opacity 0.2s;
}

.feature-item:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.feature-item .icon {
  font-size: 36px;
  margin-bottom: 8px;
}

.feature-item .label {
  font-size: 15px;
  font-weight: bold;
}

/* CTAボタン共通スタイル */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 22px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

/* 資料請求ボタン（ピンク） */
.btn-request {
  background-color: #e88d8d;
  color: #ffffff !important;
  margin-top: -10px !important; 
}

.btn-icon-img {
  width: 36px;  
  height: auto;
  margin-left: 15px; 
  vertical-align: middle; 
}

/* LINEボタン（グリーン） */
.btn-line {
  background-color: #2cb638;
  color: #ffffff !important;
  margin-top: -10px !important; 
}

.line-icon-img {
  width: 35px; 
  height: auto;
  margin-left: 10px;
  vertical-align: middle;
}

/* スマホ用のサイズ微調整 */
@media screen and (max-width: 768px) {
  .line-icon-img {
    width: 24px;
  }
}

/* スマホ用レスポンシブ対応 */
@media screen and (max-width: 600px) {
  .main-title {
    font-size: 19px;
  }
  
  .feature-grid {
    gap: 15px;
  }
  
  .feature-item .icon {
    font-size: 28px;
  }
  
  .feature-item .label {
    font-size: 12px;
  }

  .btn {
    font-size: 15px;
    padding: 14px 15px;
  }
}

/* ボタン同士の間隔を縮める */
.btn-request {
  margin-bottom: -20px !important;
}

/* ==========================================
   CONCEPTページ専用 CTAボタン
   ========================================== */
.custom-concept-section .concept-page-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 30px !important; /* ボタン同士の間隔 */
  margin-top: 30px !important;
}

/* 自動挿入タグのリセット */
.custom-concept-section .concept-page-cta p,
.custom-concept-section .concept-page-cta br {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.custom-concept-section .concept-page-cta .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 500px !important;
  padding: 16 20px !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 22px !important;
  line-height: 1 !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

.custom-concept-section .concept-page-cta .btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12) !important;
}

/* 資料請求ボタン（ピンク） */
.custom-concept-section .concept-page-cta .btn-request {
  background-color: #e88d8d !important;
  color: #ffffff !important;
}

.custom-concept-section .concept-page-cta .btn-icon-img {
  width: 28px !important;  
  height: auto !important;
  margin-left: 10px !important; 
}

/* LINEボタン（グリーン） */
.custom-concept-section .concept-page-cta .btn-line {
  background-color: #2cb638 !important;
  color: #ffffff !important;
}

.custom-concept-section .concept-page-cta .line-icon-img {
  width: 28px !important; 
  height: auto !important;
  margin-left: 8px !important;
}

/* スマホ対応 */
@media screen and (max-width: 600px) {
  .custom-concept-section .concept-page-cta .btn {
    height: 48px !important;
    font-size: 15px !important;
  }
  .custom-concept-section .concept-page-cta .btn-icon-img,
  .custom-concept-section .concept-page-cta .line-icon-img {
    width: 22px !important;
  }
}

/* ==========================================
   会社概要テーブル（はみ出し完全防止版）
   ========================================== */
.company-overview-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important; /* セル幅を固定し強制折り返しを有効化 */
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.6;
  box-sizing: border-box !important;
}

/* テーブル内の全要素に強力な改行・幅制御を適用 */
.company-overview-table,
.company-overview-table *,
.company-overview-table th,
.company-overview-table td,
.company-overview-table li,
.company-overview-table span {
  box-sizing: border-box !important;
  word-break: break-all !important; /* 文字列を枠内で強制改行 */
  overflow-wrap: anywhere !important; /* 横あふれ防止 */
  white-space: normal !important; /* 横伸びを解除 */
}

.company-overview-table th,
.company-overview-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #999899;
  text-align: left;
  vertical-align: top;
}

.company-overview-table th {
  width: 25%;
  background-color: #f0f0f0;
  font-weight: bold;
  color: #333;
  text-align: center; 
  vertical-align: middle;
}

.company-overview-table td {
  color: #555;
}

.company-overview-table ul {
  margin: 0;
  padding-left: 20px;
  max-width: 100% !important;
}

.company-overview-table li {
  margin-bottom: 6px;
  max-width: 100% !important;
}

/* 沿革（会社のあゆみ）スタイル */
.history-list {
  list-style-type: disc !important; /* 標準の黒丸を表示 */
  padding-left: 20px !important;    /* 黒丸が入る余白を確保 */
  margin: 0;
}

.history-list li {
  display: list-item !important;   /* 黒丸を表示できる標準のリスト形式に変更 */
  margin-bottom: 8px;
}

.history-date {
  font-weight: bold;
  margin-right: 8px; /* 年月と本文の間の余白 */
}


/* ==========================================
   スマホ対応（画面幅600px以下）
   ========================================== */
@media (max-width: 600px) {
  .company-overview-table,
  .company-overview-table tbody,
  .company-overview-table tr,
  .company-overview-table th,
  .company-overview-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  .company-overview-table th {
    background-color: #f0f0f0;
    text-align: center !important;
  }

  /* 沿革（会社のあゆみ）のスマホ最適化（黒丸対応） */
  .history-list {
    list-style-type: disc !important;
    padding-left: 20px !important;
  }

  .history-list li {
    display: list-item !important; /* 黒丸を強制表示 */
    margin-bottom: 10px;
  }

  .history-date {
    display: inline !important; /* 年月と本文をスムーズに繋げる */
    width: auto !important;
    margin-right: 6px;
  }
}

/* ==========================================
   フッターバナーエリア全体を非表示にして詰める
   ========================================== */
#footer_banner,
.footer_banner,
.cb_footer_banner,
#footer-banner {
  display: none !important;
}

/* フッター上部の不要な余白をリセット */
#footer,
.footer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* ==========================================
   問い合わせフォーム必須マーク
   ========================================== */
.required {
    display: inline-block;
    background-color: #8c764e; /* カラー */
    color: #ffffff;            /* 文字色 */
    font-size: 11px;           /* 文字サイズ */
    font-weight: bold;         /* 太字 */
    padding: 2px 6px;          /* バッジの内側余白 */
    margin-left: 8px;          /* 項目名との間隔 */
    border-radius: 2px;        /* 角の丸み */
    vertical-align: middle;    /* 垂直位置の調整 */
    line-height: 1.2;
}

/* 「お気軽にご相談・お問合せください」のテキスト調整 */
.cta-lead-text {
  margin-bottom: 24px;   /* 下の隙間 */
  font-size: 24px;        /* PCでの大きめのフォントサイズ */
  white-space: nowrap;    /* スマホ等で絶対に改行させない */
	color: #333333; /* 文字色を指定 */
}

/* スマホ用の微調整（画面幅480px以下の場合） */
@media (max-width: 480px) {
  .cta-lead-text {
    /* 5.2vw（画面幅に応じた可変サイズ）で文字サイズを自動調整し、最大20px/最小14pxに制限 */
    font-size: clamp(14px, 5.2vw, 20px);
  }
}

/* 全体コンテナ */
.contact-cta-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0px;
  text-align: center;
  box-sizing: border-box;
}

/* ---------------------------------
   電話番号エリアのスタイル
---------------------------------- */
.phone-section {
  margin-bottom: 25px;
}

/* 「お電話はこちらから」テキストと左右の斜線 */
.phone-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  color: #333333;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.phone-heading::before,
.phone-heading::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #d1b58a; /* 斜線の色（ゴールドベージュ） */
}

.phone-heading::before {
  transform: rotate(-35deg);
}

.phone-heading::after {
  transform: rotate(35deg);
}

/* 電話番号リンク */
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333333;
  transition: opacity 0.3s ease;
}

.phone-link:hover {
  opacity: 0.7;
}

/* 電話アイコン */
.phone-icon {
  width: 40px;
  height: 45px;
  margin-right: 5px;
}

/* 電話番号の数値 */
.phone-number {
  font-size: 60px;
  font-weight: 500;
  font-family: "Times New Roman", "Yu Mincho", "游明朝", serif; /* 明朝・セリフ系フォント */
  letter-spacing: 0.02em;
  line-height: 1.1;
}

/* 受付時間テキスト */
.phone-time {
  margin-top: 6px;
  font-size: 17px;
  color: #555555;
  letter-spacing: 0.03em;
}

/* スマホ用の微調整 */
@media (max-width: 480px) {
  .phone-number {
    font-size: 32px;
  }
  .phone-icon {
    width: 26px;
    height: 26px;
  }
  .cta-button {
    font-size: 16px;
    padding: 16px 15px;
  }
}
/* 電話番号エリア全体の幅と揃え */
.phone-number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* 受付時間のテキスト中央揃え */
.phone-time {
  text-align: center;
}

/* ==========================================
   下層ページ用：不要な行間・余白打ち消し・調整
========================================== */

/* 全体コンテナ */
.contact-cta-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 0px;
  text-align: center;
  box-sizing: border-box;
}

/* 固定ページ固有の p や br による不要な余白・行間を強制リセット */
.contact-cta-container p,
.contact-cta-container div {
  line-height: 1.2;
}

.contact-cta-container p {
  margin: 0 !important;
  padding: 0 !important;
}

.contact-cta-container br {
  display: none; /* WordPressが自動挿入したbrを非表示 */
}

/* 「お気軽にご相談・お問合せください」のテキスト調整 */
.cta-lead-text {
  margin-bottom: 15px !important;   /* 下の隙間 */
  font-size: 24px;                  /* PCでの大きめのフォントサイズ */
  white-space: nowrap;              /* スマホ等で絶対に改行させない */
  color: #333333;                   /* 文字色を指定 */
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  line-height: 1.4 !important;
}

/* ---------------------------------
   電話番号エリアのスタイル
---------------------------------- */
.phone-section {
  margin-bottom: 25px !important;
}

/* 「お電話はこちらから」テキストと左右の斜線 */
.phone-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  color: #333333;
  margin-bottom: 8px !important;
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.2 !important;
}

.phone-heading::before,
.phone-heading::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background-color: #d1b58a; /* 斜線の色（ゴールドベージュ） */
}

.phone-heading::before {
  transform: rotate(-35deg);
}

.phone-heading::after {
  transform: rotate(35deg);
}

/* 電話番号エリア全体の幅と揃え */
.phone-number-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 15px; /* アイコンと数値の間隔 */
}

/* 電話番号リンク */
.phone-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333333;
  transition: opacity 0.3s ease;
  line-height: 1 !important;
}

.phone-link:hover {
  opacity: 0.7;
}

/* 電話アイコン */
.phone-icon {
  width: 40px;
  height: 45px;
  margin-right: 0;
  display: block;
}

/* 電話番号の数値 */
.phone-number {
  font-size: 60px;
  font-weight: 500;
  font-family: "Times New Roman", "Yu Mincho", "游明朝", serif;
  letter-spacing: 0.02em;
  line-height: 1 !important;
}

/* 受付時間テキスト */
.phone-time {
  margin-top: 6px !important;
  font-size: 17px;
  color: #555555;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.3 !important;
}

/* スマホ用の微調整（画面幅480px以下の場合） */
@media (max-width: 480px) {
  .cta-lead-text {
    font-size: clamp(14px, 5.2vw, 20px);
  }
  .phone-number {
    font-size: 32px;
  }
  .phone-icon {
    width: 26px;
    height: 26px;
  }
}

/* 講師・メンバー紹介全体コンテナ */
.instructor-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  box-sizing: border-box;
}

/* セクションタイトル */
.instructor-title {
  font-size: 24px;
  font-weight: normal;
  color: #333333;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* 2列レイアウトグリッド */
.instructor-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

/* 各カード */
.instructor-card {
  flex: 1;
  max-width: 460px;
  background-color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.instructor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* 画像エリア */
.instructor-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.instructor-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* カード下部のテキスト・アイコン表示部 */
.instructor-footer {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.instructor-name {
  font-size: 16px;
  color: #333333;
  font-weight: normal;
}

/* 矢印アイコンボタン */
.instructor-arrow {
  width: 32px;
  height: 32px;
  border: 1px solid #cccccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666666;
  font-size: 18px;
  line-height: 1;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.instructor-card:hover .instructor-arrow {
  border-color: #666666;
  color: #333333;
}

/* スマホ対応（1列表示） */
@media (max-width: 768px) {
  .instructor-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .instructor-card {
    width: 100%;
  }
}

/* ==========================================
   コース紹介セクション全体
   ========================================== */
.course-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 15px;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #333;
  box-sizing: border-box;
}

/* キャッチコピー */
.section-catch {
  text-align: center;
  font-size: 1.25rem;
  font-weight: normal;
  line-height: 1.6;
  margin-bottom: 40px;
}
/* ==========================================
   カード1枚のブロック内中央配置
   ========================================== */
.course-card-wrapper {
  display: block !important;
  width: 100% !important;
  max-width: 350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: 30px !important;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: #333;
  box-sizing: border-box !important;
}

.course-card-wrapper *,
.course-card-wrapper *::before,
.course-card-wrapper *::after {
  box-sizing: border-box;
}

/* カテゴリー見出し */
.course-category {
  text-align: center;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

/* カード本体 */
.course-card {
  border: 1px solid #dcdcdc;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* アイキャッチ画像エリア */
.card-image-box {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.card-image-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 赤色バッジ */
.badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #800000;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  font-family: sans-serif;
  white-space: nowrap;
}

/* カード文章エリア */
.card-body {
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.card-title {
  font-size: 1.15rem;
  font-weight: normal;
  line-height: 1.4;
  margin: 0 0 15px 0;
}

.card-desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 24px 0;
  flex-grow: 1;
}

/* ボタン（横幅拡大・縦幅2/3・両端半円） */
.card-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 95% !important;           /* カード幅に合わせて横幅を拡大 */
  max-width: 310px !important;     /* 最大横幅を大幅に拡大 */
  padding: 7px 30px !important;    /* 上下余白を11pxから7px（約2/3）に調整 */
  border: 1px solid #a0a0a0 !important;
  border-radius: 9999px !important;
  color: #333 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  white-space: nowrap !important;
  transition: all 0.3s ease;
}

.card-btn .arrow {
  margin-left: 8px;
  font-size: 1rem;
  color: #888;
}

.card-btn:hover {
  background-color: #f8f8f8;
  border-color: #666;
}

/* ==========================================
   FAQ 全体コンテナ 
   ========================================== */
.faq-section {
  width: 100%;
  padding: 0px 0;
  background-color: #ffffff;
  box-sizing: border-box;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
}
/* カテゴリ見出し（「受講資格に関する質問」など）を明朝体に設定 */
.faq-category-title {
  font-family: "Yu Mincho", "游明朝", "YuMincho", "Hiragino Mincho ProN", "Hina Mincho", serif !important;
  font-size: 22px;
  font-weight: bold;
  color: #333333;
  margin: 0 0 8px 0; /* 下部余白（1/4指定） */
  line-height: 1.3;
}
　
/* FAQ リスト（Q&Aグループ同士の行間） */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px; 
}

/* Q&A 単一アイテム */
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* アイコン共通 */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
}

.icon-q {
  background-color: #5c6b60; /* Qアイコン色 */
}

.icon-a {
  background-color: #8da193; /* Aアイコン色 */
}

/* 質問エリア（Qと質問テキストを真横・上下中央に配置） */
.faq-question {
  display: flex;
  align-items: center; /* 完全な上下中央揃え */
  gap: 12px;
  background-color: #f4f6f4;
  padding: 12px 16px;
  border-radius: 4px;
}

.faq-question-text {
  font-size: 15px;
  font-weight: bold;
  color: #333333;
  line-height: 1.3;
}

/* 回答エリア */
.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 4px 16px;
}

.faq-answer-text {
  font-size: 14px;
  color: #444444;
  line-height: 1.7;
}

.faq-answer-text a {
  color: #7c9383;
  font-weight: bold;
  text-decoration: underline;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .faq-category-title {
    font-size: 18px;
  }
  .faq-question-text {
    font-size: 14px;
  }
  .faq-answer-text {
    font-size: 13px;
  }
}

/* ==========================================
   Gメニュードロップダウンメニュー内のリンクテキストを改行させない
   ========================================== */
.nav-menu ul a,
.gnav ul a,
.sub-menu a,
ul.sub-menu li a {
  white-space: nowrap; /* テキストの自動改行を防止 */
}

/* テキスト幅に合わせてドロップダウン全体の幅を自動拡張する */
.nav-menu ul,
.gnav ul,
.sub-menu,
ul.sub-menu {
  width: auto !important;
  min-width: 100%; /* 親メニュー以上の幅を維持 */
}


/* ==========================================
   ただいま準備中
   ========================================== */


/* 準備中エリア全体の設定 */
.coming-soon-container {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background-color: #fafbf9; /* 優しくナチュラルな薄い背景色 */
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
}

.coming-soon-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background: #ffffff;
  padding: 50px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border: 1px solid #e8ece6;
}

/* 英語の小見出し（ブランド感・上質感の演出） */
.coming-soon-content .en-sub {
  font-size: 13px;
  letter-spacing: 0.25em;
  color: #8fa382; /* メインカラーの柔らかいグリーン */
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
}

/* メインタイトル */
.coming-soon-content .title {
  font-family: 'Cinzel', 'Didot', 'Garamond', serif; /* 上品なセリフ系フォント */
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #2c3829;
  margin: 0 0 10px 0;
}

/* 日本語サブタイトル */
.coming-soon-content .jp-sub {
  font-size: 16px;
  color: #555555;
  letter-spacing: 0.08em;
  margin-bottom: 25px;
}

/* ディバイダー（区切り線） */
.coming-soon-content .divider {
  width: 40px;
  height: 1px;
  background-color: #8fa382;
  margin: 0 auto 25px auto;
}

/* 説明文 */
.coming-soon-content .description {
  font-size: 14px;
  line-height: 1.8;
  color: #666666;
  margin-bottom: 35px;
}

/* ボタンエリア */
.coming-soon-content .btn-area {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

@media (min-width: 600px) {
  .coming-soon-content .btn-area {
    flex-direction: row;
    justify-content: center;
  }
}

/* ボタン共通スタイル */
.coming-soon-content .btn {
  display: inline-block;
  padding: 12px 30px;
  min-width: 200px;
  border-radius: 50px;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  background-color: #8fa382;
  color: #ffffff;
  border: 1px solid #8fa382;
}

.coming-soon-content .btn:hover {
  background-color: #798d6c;
  border-color: #798d6c;
}

/* アウトラインボタン */
.coming-soon-content .btn-outline {
  background-color: transparent;
  color: #8fa382;
}

.coming-soon-content .btn-outline:hover {
  background-color: #8fa382;
  color: #ffffff;
}

/* ---------------------------------
   ページ上部コンテナの設定 
---------------------------------- */
.subnav-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* 3つや5つの場合も中央寄せ */
  row-gap: 15px; /* 上下のボタン間隔 */
  column-gap: 8px; /* 左右のボタン間隔 */
  width: 100%;
  max-width: 1200px;
  margin: 20px auto;
  padding: 0;
  box-sizing: border-box;
}

/* ボタン（PC: 常に1行4つ分の幅で統一して配置） */
.subnav-item {
  /* 4分割時（左右隙間8px×3箇所を差し引いた1/4幅）を固定計算 */
  flex: 0 0 calc((100% - (8px * 3)) / 4);
  max-width: calc((100% - (8px * 3)) / 4);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 90px;
  padding: 8px 4px;
  border: 1px solid #dcd3b8;
  border-radius: 8px;
  background-color: #ffffff;
  color: #333333;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.2s ease;
}

/* 下向き矢印（Vマーク）の記述 */
.subnav-item .chevron-down {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-top: 6px;
  border-right: 1.5px solid #c8ba98;
  border-bottom: 1.5px solid #c8ba98;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ホバー・選択状態（アクティブ）のCSS */
.subnav-item:hover,
.subnav-item.active {
  border-color: #0056b3;
  color: #0056b3;
}

.subnav-item:hover .chevron-down,
.subnav-item.active .chevron-down {
  border-color: #0056b3;
}

/* スマホ表示（768px以下: 必ず横に2つ・固定幅で配置） */
@media screen and (max-width: 768px) {
  .subnav-container {
    gap: 12px;
    padding: 0 8px;
  }
  
  .subnav-item {
    /* スマホ時は50%から隙間分を引いた固定幅に切替 */
    flex: 0 0 calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
    height: 80px;
    font-size: 13px;
    padding: 8px 4px;
  }
}
/* ==========================================
   サブナビ　ズレや行間を修正
   ========================================== */
.subnav-container {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返して縦並びにする */
  justify-content: center; /* 中央寄せ */
  align-items: stretch; /* 各項目の高さを統一 */
  gap: 4px; /* ボタン同士の間隔（12pxの1/3に変更） */
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 各ボタンの指定 */
.subnav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
  margin: 0 !important; /* 個別 margins によるズレを防止 */
}

/* スマホ表示（幅767px以下）の場合：縦並び＆中央揃え */
@media screen and (max-width: 767px) {
  .subnav-container {
    flex-direction: column;
    align-items: center;
    gap: 0px; /* スマホ時のボタン同士の間隔 */
  }

.subnav-item {
    width: 90%;
    max-width: 340px;
    padding: 5px 10px; /* 上下の余白（padding）を小さく設定 */
    margin: 0 !important; /* テーマ側の余白による干渉を防止 */
    box-sizing: border-box;
  }
}

/* PC表示（幅768px以上）の場合：横並び */
@media screen and (max-width: 768px) は除外し、min-width で指定 */
@media screen and (min-width: 768px) {
  .subnav-container {
    flex-direction: row;
    gap: 12px; /* PC時は元の適度な間隔を保つ場合（不要なら 4px のままになります） */
  }

  .subnav-item {
    flex: 1;
    max-width: 300px;
    padding: 15px 10px;
  }
}
