
  .e21r-card {
    margin: 0;
  }

  .e21r-card__img {
    display: block;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }

/* --------------------------------------------------
   ヒーローヘッダー
-------------------------------------------------- */
.hero-section {
  position: relative;
  width: 100%;
  height: 450px; /* 少し高さを増やして迫力を出す */
  overflow: hidden; /* ズームではみ出した部分をカット */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  background-color: #333; /* 画像読み込み前の保険の色 */
}

/* 背景画像（動かすために別レイヤーにします） */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://event21.co.jp/pic/kikosiki_main01.jpg"); /* ★画像パスはそのまま */
  background-size: cover;
  background-position: center;
  z-index: 1;
  /* 魔法の動き：ゆっくりズームアウト */
  animation: zoomEffect 20s linear infinite alternate;
}

/* 画像を暗くするフィルター（グラデーションで高級感アップ） */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  z-index: 2;
}

/* タイトル文字の設定（ふわっと出す） */
.hero-content {
  position: relative;
  z-index: 3;
  width: 90%;
  max-width: 1200px;
  text-align: center;
  /* 文字がふわっと浮き出るアニメーション */
  animation: fadeUp 1.5s ease-out forwards;
  opacity: 0; /* 最初は隠しておく */
}

.hero-content h1 {
  color: #ffffff !important;
  font-size: 2.4rem; /* 文字サイズ微調整 */
  font-weight: bold;
  line-height: 1.6;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
  margin: 0;
  letter-spacing: 0.05em; /* 文字の間隔を少し広げて優雅に */
}

/* 下部に金色のアクセントラインを追加 */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px; /* 線の太さ */
  background: #c0a16b; /* 落ち着いた金色 */
  z-index: 4;
}

/* ▼ アニメーションの定義（ここもコピーしてください） ▼ */
@keyframes zoomEffect {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); } /* 1.15倍までゆっくり拡大 */
}

@keyframes fadeUp {
  0% { 
    opacity: 0; 
    transform: translateY(20px); /* 少し下から */
  }
  100% { 
    opacity: 1; 
    transform: translateY(0); /* 元の位置へ */
  }
}

/* スマホ用の調整 */
@media (max-width: 768px) {
  .hero-section { height: 300px; }
  .hero-content h1 { font-size: 1.3rem; line-height: 1.5; }
}
  /* --------------------------------------------------
     コンテンツ共通・パンくずリスト
  -------------------------------------------------- */
  #breadcrumbs ol { display: block; text-align: right;padding: 0.8em 1rem; }
  #breadcrumbs li { display: inline; }
  #breadcrumbs li a { display: inline; }
  #breadcrumbs li:after { content: " \f105 "; display: inline; font-family: FontAwesome; }
  /* パンくずリスト：最後の矢印を消す */
  #breadcrumbs li:last-child::after {
    content: none;
  }
  .message_box1 { text-align: center; }
  .message_box1 h2 { font-size: 2rem; font-weight: 600; padding: 0; margin: 5% 0 0; }
  .message_box1 h3 { font-size: 2rem; line-height: 3.5rem; padding: 1rem; }
  .message_box1 p {
    margin: 5% 0 3%;
    font-size: 1.6rem;
    line-height: 2.5rem;
  }
  /* ボタン */

/* --------------------------------------------------
   ▼▼ 追尾メニュー（6ボタン・横スクロール完全対応版） ▼▼
   -------------------------------------------------- */

/* 1. 追尾（スティッキー）させる外枠 */
.sticky-nav-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 84px; /* PCヘッダーの高さ分ずらす */
  z-index: 990; /* ヘッダーより下、コンテンツより上 */
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 10px 0;
  width: 100%;
  overflow: hidden; /* はみ出し防止 */
}

/* 2. ナビエリア本体 */
.page-nav-area {
  max-width: 1200px; /* 6つ並ぶので少し広めに */
  margin: 0 auto;
  padding: 0 15px;
}

/* 3. グリッド（PCでは中央揃え・1列） */
.page-nav-grid {
  display: flex;
  gap: 8px; /* 隙間を少し詰める */
  justify-content: center;
  list-style: none;
  padding: 0;
  flex-wrap: nowrap; /* ★重要：折り返さない */
}

.page-nav-grid li {
  flex: 1;
  min-width: auto;
}

/* 4. ボタン本体 */
.page-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: 3px solid #ccc;
  border-radius: 6px;
  padding: 8px 2px; /* 左右の余白を詰める */
  text-decoration: none;
  color: #555;
  transition: all 0.2s ease;
  height: 100%;
  white-space: nowrap; /* 文字改行禁止 */
}

/* ホバー・アクティブ時 */
.page-nav-btn:hover,
.page-nav-btn.is-active {
  background: #fff5f5; /* 薄い赤背景 */
  border-color: #cc0000;
  border-bottom-color: #cc0000;
  color: #cc0000;
  transform: translateY(2px);
}

/* アイコン（あれば） */
.nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
  line-height: 1;
}

/* メインテキスト */
.nav-text {
  font-size: 13px; /* 6つ並べるので少し小さく */
  font-weight: bold;
  line-height: 1.2;
}

/* サブテキスト */
.nav-sub {
  font-size: 10px;
  opacity: 0.6;
  font-family: Arial, sans-serif;
  display: block;
}


/* --------------------------------------------------
 ▼ スマホ対応（重要：横スクロール機能） ▼
 -------------------------------------------------- */
@media (max-width: 768px) {
  .sticky-nav-wrapper{
    top: 84px;}

  
  .page-nav-area {
      padding: 0; /* 端までいっぱいに使う */
  }


  .page-nav-grid {
    padding-bottom: 0 !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  /* スクロールバーを非表示（見た目をきれいに） */
  .page-nav-grid::-webkit-scrollbar {
      display: none; 
  }

  .page-nav-grid li {
      flex: 0 0 auto;  /* 幅を固定する */
      width: 110px;    /* ★ボタン1つの幅を指定 */
  }
/* 英語（Guide, Plan...）を消して高さを圧縮 */
.nav-sub {
  display: none !important; 
}

/* ボタン上下の余白を削る */
.page-nav-btn {
  padding: 6px 2px !important;
  height: auto !important; /* 固定高さを解除 */
}

/* テキストサイズを微調整 */
.nav-text {
  font-size: 11px !important;
  margin-top: 2px;
}

/* アイコンサイズを微調整 */
.nav-icon {
  font-size: 18px !important;
  margin-bottom: 0 !important;
}

/* 横スクロールバーのエリア調整 */
.page-nav-grid {
  padding-bottom: 0 !important; /* 下の余白を削除 */
}
.sticky-nav-wrapper {
  padding: 5px 0 !important; /* 全体の厚みを減らす */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

}
/* --------------------------------------------------
 ページ内リンクの位置ズレ防止（保険）
 -------------------------------------------------- */
section[id], div[id] {
scroll-margin-top: 170px;
}

@media (max-width: 768px) {
section[id], div[id] {
    scroll-margin-top: 140px;
}
}
/* ボタン終 */

  .okomaribox { font-family: BIZ UDPGothic; width: 65%; text-align: center; margin: 0 auto 1em auto; font-size: 2rem; line-height: 3.5rem; padding: 1rem !important; }
  .okomaribox ul li { font-size: 20px; margin: 10px 50px; border-bottom: dashed 4px #ccc; line-height: 2em; text-align: left; padding: 0 0 0 12%; }
  .okomaribox ul li:before { font-size: 20px; font-family: Fontawesome; margin-right: 0.1em; color: #f00; position: relative; top: 3px; }
  .fa-solid { color: #f00; }


  /* --------------------------------------------------
     スライドショー・実績ギャラリー
  -------------------------------------------------- */
  .slideshow-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 400px;
  }

  .slide-group {
    display: flex;
    justify-content: space-between;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
    pointer-events: none;
    z-index: 0;
  }

  .slide-group.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
  }

  .slide-item {
    width: 32%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s;
  }

  .slide-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 10px;
    cursor: zoom-in;
    transition: opacity 0.3s;
  }

  .slide-item img:hover {
    opacity: 0.8;
  }

  .project-title {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
  }

  .project-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
  }

  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -60px;
    color: #333;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 3px;
    user-select: none;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.7);
  }

  .next { right: 0; }
  .prev { left: 0; }
  .prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
  }

  .dot-container {
    text-align: center;
    margin-top: 20px;
  }

  .dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
  }

  .dot.active, .dot:hover { background-color: #333; }

  .btn-area {
    text-align: center;
    margin-top: 40px;
  }

  .jump-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 12px 40px;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 2px;
    transition: background 0.3s;
    letter-spacing: 0.1em;
  }

  .jump-btn:hover { background-color: #555; }

  /* --------------------------------------------------
     モーダル（拡大画像用）
  -------------------------------------------------- */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
  }

  .modal.is-open {
    display: flex;
    animation: fadeIn 0.3s ease;
  }

  .modal-content, .modal__content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 95vh; /* 調整 */
    object-fit: contain;
    border: 2px solid #fff;
    animation-name: zoom;
    animation-duration: 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }

  @keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
  }

  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  .close, .modal__close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    z-index: 10000;
  }

  .close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

  /* --------------------------------------------------
     テントサイズ比較（3Dビューワー風）
  -------------------------------------------------- */
  .tent-viewer * {
    box-sizing: border-box;
  }

  .tent-viewer {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto;
    font-family: sans-serif;
    align-items: flex-start;
  }

  .tent-viewer__main-col {
    flex: 1 1 55%;
    min-width: 320px;
    position: sticky;
    top: 20px;
  }

  .tent-viewer__figure {
    margin: 0;
    position: relative;
    cursor: zoom-in;
  }

  .tent-viewer__figure::after {
    content: "クリックで拡大";
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    pointer-events: none;
  }

  .tent-viewer__main-img {
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    display: block;
    background-color: #f0f0f0;
    transition: opacity 0.2s ease;
  }

  .tent-viewer__caption {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    color: #555;
    background: #eee;
    padding: 8px;
    border-radius: 4px;
    line-height: 1.5;
    min-height: 1.5em;
  }

  .tent-viewer__info-area {
    margin-top: 15px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
  }

  .tent-viewer__specs {
    display: block;
    color: #d00;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 5px;
  }

  .tent-viewer__list-col {
    flex: 1 1 35%;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .tent-viewer__heading {
    font-size: 16px;
    margin: 0 0 10px 0;
    padding-left: 10px;
    border-left: 5px solid #d00;
    font-weight: bold;
  }

  .tent-viewer__thumbnails {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .tent-viewer__thumbnails li { width: 100%; }

  .tent-viewer__btn {
    width: 100%;
    padding: 0;
    border: 2px solid #ddd;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    display: block;
    line-height: 0;
  }

  .tent-viewer__btn img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
  }

  .tent-viewer__btn:hover,
  .tent-viewer__btn.is-active {
    border-color: #d00;
    opacity: 0.8;
  }

  /* --------------------------------------------------
     儀式ガイド（カード形式）
  -------------------------------------------------- */
  .ceremony-guide {
    background-color: #fff;
    padding: 60px 0;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333;
  }

  .ceremony-guide__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .ceremony-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    justify-content: center;
  }

  .guide-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
  }

  .guide-card:hover {
    border-color: #6b4e3d;
  }

  .guide-card__visual {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f0f0f0;
  }

  .guide-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
  }

  .guide-card__label {
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(107, 78, 61, 0.9);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px 0 4px 0;
  }

  .guide-card__body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }

  .guide-card__name {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #333;
    border-bottom: 2px solid #6b4e3d;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
  }

  .guide-card__en {
    font-size: 14px;
    color: #888;
    font-weight: normal;
    margin-left: 8px;
  }

  .guide-card__info {
    margin: 0 0 20px 0;
    font-size: 14px;
  }

  .guide-card__row {
    display: flex;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .guide-card__row dt {
    flex-shrink: 0;
    width: 100px;
    font-weight: bold;
    color: #6b4e3d;
  }

  .guide-card__row dt i {
    margin-right: 5px;
    color: #a67c52;
  }

  .guide-card__row dd {
    margin: 0;
    color: #333;
  }

  .guide-card__advice {
    background: #fdf8f5;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 15px;
  }

  .guide-card__advice h4 {
    font-size: 14px;
    color: #d35400;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guide-card__advice p {
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    color: #555;
  }

  .guide-card__support {
    margin-top: auto;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
  }

  .guide-card__support h4 {
    font-size: 14px;
    color: #333;
    margin: 0 0 10px 0;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .guide-card__support h4 i {
    color: #6b4e3d;
  }

  .guide-card__plan-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
  }

  .guide-card__plan-list li {
    margin-bottom: 10px;
    padding-left: 0;
  }

  .guide-card__plan-list strong {
    display: block;
    color: #6b4e3d;
    margin-bottom: 2px;
  }

  /* --------------------------------------------------
     診断チャート・その他セクション
  -------------------------------------------------- */
  .e21-section { padding: 60px 0; }
  .e21-container { max-width: 1000px; margin: 0 auto; padding: 0 15px; }
  
  .e21-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    border-bottom: 3px solid var(--e21-red);
    display: inline-block;
    padding-bottom: 10px;
    position: relative; left: 50%; transform: translateX(-50%);
  }

  .e21-diagnosis-section { background: #fff; border-bottom: 1px solid #eee; }
  .e21-diagnosis-grid {
    display: flex; gap: 30px; justify-content: center; align-items: stretch;
  }
  .e21-diagnosis-card {
    flex: 1; max-width: 480px; border: 1px solid #ddd; border-radius: 10px;
    padding: 30px; text-align: center; position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); background: #fff; box-sizing: border-box;
  }
  .e21-target-main { border-top: 4px solid #cc000c; background: #fffafa; }
  .e21-target-sub { border-top: 4px solid #666; }
  
  .e21-diagnosis-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #cc0000; color: white;
    padding: 5px 20px; border-radius: 20px;
    font-weight: bold; font-size: 14px; white-space: nowrap;
  }
  .e21-diagnosis-badge.e21-gray { background: #666; }
  .e21-diagnosis-card h3 { font-size: 24px; margin: 15px 0; color: #333; }
  .e21-diagnosis-desc { font-size: 14px; color: #666; text-align: left; margin-bottom: 20px; line-height: 1.6; }
  
  .e21-diagnosis-action {
    background: white; border: 1px solid #ffcccc; padding: 15px; border-radius: 8px;
  }
  .e21-icon-check { font-size: 20px; display: block; margin-bottom: 5px; }
  .e21-small-text { font-size: 12px; color: #999; margin: 0; }

  /* 診断チャート内のバナーリンク */
  .bunnerlink { display:block; margin:10px 0 35px; }
  .bunnerlink li {
    display:inline-block; text-align:center; background:url(pic/program_safety_bunner.jpg);
    width:325px; height:109px; transition: 0.1s ease-in-out; position:relative;
  }
  .bunnerlink li:hover { transform: scale(1.1,1.1); box-shadow:0 0 15px #3399FF; }
  .bunnerlink li i { position:absolute; right:6px; line-height:25px; }
  .bunnerlink li img { display:block; }
  .bunnerlink li a { color:#000; text-decoration:none; font-size:16px; }
  .bunnerlink div {
    z-index:2; text-align:center; width:325px; padding:10px 0; display:block;
    background:rgba(255,255,255,0.9); margin-top:-75px; position:relative; font-family:NotoSansCJKjp-Regular;
  }
  .bunnerlink div:hover { color:orangered; }
  .bunnerlink div a { color:#000; display:block; text-decoration:none; font-size:18px; font-family:NotoSansCJKjp-Regular; padding:auto; text-shadow:0 0 5px #fff; }
  .bunnerlink div a:hover { color:orangered; background:rgba(255,255,255,0.8); }

  /* --------------------------------------------------
     商品一覧・グリッド
  -------------------------------------------------- */
  .autumn-imagebody {
    font-family: 'Hiragino Sans', 'Yu Gothic', sans-serif;
    margin: 0;
    background-color: #fff;
    transition: overflow 0.3s;
  }
  /* セクションヘッダー */
  .header {
    width: 85%;
    margin: 100px auto;
    background: #692e02;
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
  }

  /* --------------------------------------------------
     秋のオススメ・アイコンナビ
  -------------------------------------------------- */
  .autumn-section {
    background: white;
    border: none;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
  }

  .autumn-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
  }

  .autumn-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 15px;
  }

  .autumn-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .autumn-item:hover {
    transform: translateY(-3px);
  }

  .autumn-item a {
    text-decoration: none;
    color: inherit;
  }

  .autumn-image {
    width: 100%;
    aspect-ratio: 1;
    background: white;
    border: 2px solid #ddd;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #999;
  }

  .autumn-label {
    font-size: 13px;
    color: #4a90e2;
    text-decoration: underline;
  }

  .recommend-badge {
    background: #4a90e2;
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 5px;
  }

  .rental-link {
    margin-top: 10px;
    color: #4a90e2;
    text-decoration: underline;
    font-size: 13px;
    display: inline-block;
  }


  /* 3分でわかる流れ詳細 */
  .e21-ceremony-wrapper {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333; line-height: 1.6; max-width: 960px; margin: 0 auto; padding: 20px 0;
  }
  .e21-section-title {
    font-size: 24px; font-weight: bold; text-align: center; margin-bottom: 40px;
    color: #cc0000; border-bottom: 2px solid #cc0000; padding-bottom: 10px; position: relative;
  }
  .e21-section-title::after {
    content: "当日やることは「3つ」だけ。難しいことはプロにお任せください";
    display: block; font-size: 14px; color: #666; margin-top: 8px; font-weight: normal;
  }
  .e21-flow-container { position: relative; margin-bottom: 60px; }
  .e21-flow-step {
    background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 25px;
    margin-bottom: 30px; position: relative; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }
  .e21-flow-step.yamaba { border: 2px solid #d4af37; background: #fffcf0; }
  .e21-yamaba-badge {
    position: absolute; top: -15px; right: 20px; background: #d4af37; color: #fff;
    padding: 5px 15px; font-weight: bold; border-radius: 20px; font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  .e21-step-header {
    display: flex; align-items: center; margin-bottom: 15px;
    border-bottom: 1px dashed #ccc; padding-bottom: 10px;
  }
  .e21-step-num {
    background: #333; color: #fff; width: 30px; height: 30px; line-height: 30px;
    text-align: center; border-radius: 50%; margin-right: 10px; font-weight: bold;
  }
  .e21-step-title { font-size: 20px; font-weight: bold; }
  .e21-tag {
    font-size: 12px; padding: 3px 8px; border-radius: 4px; margin-left: auto; font-weight: bold;background: #e0e0e0; color: #555;
  }
  .e21-step-content dt { font-weight: bold; color: #cc0000; margin-top: 15px; font-size: 15px; }
  .e21-step-content dd { margin: 5px 0 0 0; font-size: 14px; }
  .e21-what-is {
    background: #f9f9f9; padding: 10px 15px; border-left: 4px solid #666;
    font-weight: bold; color: #333; margin-bottom: 10px;
  }

  /* --------------------------------------------------
     プロの仕事・チェックリスト（和モダン）
  -------------------------------------------------- */
  .pro-section {
    background-color: var(--bg-light); padding: 60px 0;
    font-family: var(--font-sans); color: #333;
  }
  .pro-section.bg-white { background-color: #fff; border-top: 1px solid #eee; }
  .pro-container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
  .pro-title {
    text-align: center; font-size: 28px; margin-bottom: 40px;
    color: var(--jp-brown); font-family: var(--font-serif); font-weight: bold;
  }
  .sub-title {
    display: block; font-size: 14px; color: #666; margin-bottom: 10px;
    font-family: var(--font-sans); font-weight: normal;
  }
  .pro-description {
    text-align: center; max-width: 700px; margin: 0 auto 50px; line-height: 1.8;
  }
  .compare-wrapper { display: flex; gap: 30px; align-items: stretch; }
  .task-card {
    flex: 1; background: #fff; border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); overflow: hidden;
    display: flex; flex-direction: column; border: 1px solid #e0e0e0;
  }
  .task-card.pro-side { border-top: 4px solid var(--jp-brown); }
  .card-header { padding: 25px; text-align: center; border-bottom: 1px solid #eee; }
  .pro-side .card-header { background: var(--jp-brown); color: #fff; }
  .client-side .card-header { background: #fff; color: #333; border-bottom: 3px solid #ccc; }
  .card-header h3 {
    margin: 10px 0 5px; font-size: 22px; letter-spacing: 0.05em; font-family: var(--font-serif);
  }
  .label-badge {
    display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: bold;
  }
  .pro-side .label-badge { background: #fff; color: var(--jp-brown); }
  .label-badge.gray { background: #666; color: #fff; }
  .trust-data {
    display: flex; background: #fcf8f5; padding: 15px; border-bottom: 1px solid #eee;
  }
  .data-item { flex: 1; text-align: center; border-right: 1px solid #eee; }
  .data-item:last-child { border-right: none; }
  .data-num, .data-text {
    font-size: 18px; font-weight: bold; color: var(--jp-brown); font-family: var(--font-serif);
  }
  .data-label { display: block; font-size: 10px; color: #666; margin-bottom: 2px; }
  .unit { font-size: 12px; }
  .task-list { padding: 0; margin: 0; list-style: none; }
  .task-list li {
    padding: 20px; border-bottom: 1px solid #f0f0f0; display: flex; align-items: flex-start;
  }
  .task-list li:last-child { border-bottom: none; }
  .check-icon {
    flex-shrink: 0; width: 24px; height: 24px; background: var(--jp-red);
    color: #fff; border-radius: 50%; text-align: center; line-height: 24px;
    font-size: 14px; margin-right: 15px; margin-top: 2px;
  }
  .check-icon.edit { background: #fff; color: #333; border: 1px solid #ccc; }
  .text-content strong {
    display: block; font-size: 16px; margin-bottom: 5px; color: #222; font-family: var(--font-serif);
  }
  .text-content p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }
  .choice-area { padding: 0 20px 20px; background: #fff; }
  .choice-area li { padding-left: 0; padding-right: 0; border-bottom: none; }
  .option-box {
    border: 1px solid #ddd; border-radius: 6px; padding: 12px;
    margin-top: 10px; background: #fcfcfc;
  }
  .option-box.recommend {
    border: 2px solid var(--jp-gold); background: #fffdf5; position: relative;
  }
  .tag {
    display: inline-block; font-size: 10px; background: #ddd; padding: 2px 6px;
    border-radius: 4px; margin-bottom: 5px;
  }
  .tag.gold { background: var(--jp-gold); color: #fff; font-weight: bold; }
  .gift { color: var(--jp-gold); font-weight: bold; display: block; margin-top: 4px; font-size: 12px;}
  .stamp-finish {
    position: absolute; bottom: 20px; right: 20px;
    border: 3px double var(--jp-red); color: var(--jp-red);
    font-weight: bold; padding: 5px 15px; transform: rotate(-10deg);
    opacity: 0.8; font-size: 18px; pointer-events: none;
    font-family: var(--font-serif); background: rgba(255,255,255,0.9); border-radius: 4px;
  }
  .pro-side { position: relative; }




  /* 現場力（こだわり）カード */
  .strength-grid { display: flex; gap: 30px; margin-top: 40px; }
  .strength-card {
    flex: 1; border: 1px solid #e0e0e0; border-radius: 8px;
    overflow: hidden; transition: transform 0.3s ease;
    display: flex; flex-direction: column; background: #fff;
  }
  @media (hover: hover) {
    .strength-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.08); }
  }
  .img-area { position: relative; height: 200px; background-color: #ddd; }
  .img-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #777; font-size: 12px;
  }
  .step-badge {
    position: absolute; top: 15px; left: 15px; background: var(--jp-brown);
    color: #fff; font-size: 11px; font-weight: bold; padding: 4px 12px;
    border-radius: 2px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); font-family: var(--font-serif);
  }
  .text-area { padding: 25px; flex: 1; display: flex; flex-direction: column; }
  .text-area h3 {
    font-size: 20px; color: #333; margin: 0 0 15px 0;
    border-bottom: 2px solid #f0f0f0; padding-bottom: 10px; font-family: var(--font-serif);
  }
  .text-area .catch {
    font-size: 14px; font-weight: bold; color: var(--jp-red); margin: 0 0 10px 0; font-family: var(--font-serif);
  }
  .text-area .desc { font-size: 13px; color: #666; line-height: 1.7; margin: 0; }

 /* --------------------------------------------------
    【決定版】問い合わせ・吹き出しアクション CSS
    ※これをコピペして上書きしてください
 -------------------------------------------------- */

/* ▼ 全体の枠（左寄せ防止・中央配置） */
.contact-assist-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 40px auto; /* 上下40px、左右自動で中央寄せ */
    text-align: center;
    display: block;
    clear: both;
    position: relative;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

/* ▼ 1. メインのお問い合わせボタン（朱色） */
.contact-btn-area {
    margin-bottom: 30px;
}
.contact-lead {
    font-size: 14px;
    color: #593a25; /* 濃い茶色 */
    font-weight: bold;
    margin-bottom: 10px;
}
.btn-main-contact {
    display: block;
    background-color: #c9171e; /* 朱色 */
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    padding: 18px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(201, 23, 30, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
}
.btn-main-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 23, 30, 0.4);
    opacity: 1;
}
.icon-mail { margin-right: 10px; font-size: 1.2em; }
.arrow { position: absolute; right: 20px; font-family: sans-serif; }


/* ▼ 2. 吹き出し型アコーディオンボタン（ここが新デザイン！） */

/* ボタンとしてのリセットと配置 */
.speech-bubble-btn {
    appearance: none; border: none; background: none;
    cursor: pointer;
    display: block;
    width: 100%;
    max-width: 500px; /* メインボタンより少し狭くして強弱をつける */
    margin: 0 auto;   /* 中央寄せ */
    padding: 0;
    position: relative;
    z-index: 10;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}
/* ホバー時にふわっと浮く */
.speech-bubble-btn:hover {
    transform: translateY(-3px);
}

/* 吹き出しの中身（黄色いエリア） */
.bubble-inner {
    background: #fffdf5; /* 薄いクリーム色 */
    border: 2px solid #d4af37; /* 和のゴールド */
    color: #555;
    padding: 15px 20px;
    border-radius: 50px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
    position: relative;
    text-align: center;
}
/* 吹き出しの三角（しっぽ） */
.bubble-inner::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid #d4af37; /* 本体と同じゴールド */
}

/* 強調マーカー（蛍光ペン風） */
.marker {
    background: linear-gradient(transparent 60%, rgba(212, 175, 55, 0.3) 60%);
    font-weight: bold;
    color: #333;
}

/* 開閉操作のテキスト（▼ テンプレートを開く） */
.bubble-toggle {
    margin-top: 15px;
    font-size: 13px;
    color: #999;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}
.speech-bubble-btn:hover .bubble-toggle {
    color: #d4af37; /* ホバーでゴールドに */
}
.toggle-icon {
    display: inline-block;
    font-size: 10px;
    margin-right: 6px;
    transition: transform 0.3s;
}

/* ★開いた時のスタイル（落ち着かせる） */
.speech-bubble-btn.is-active .bubble-inner {
    background: #eee;
    border-color: #ccc;
    color: #999;
    box-shadow: none;
}
.speech-bubble-btn.is-active .bubble-inner::after {
    border-top-color: #ccc;
}
.speech-bubble-btn.is-active .marker {
    background: none; color: #999;
}
.speech-bubble-btn.is-active .toggle-icon {
    transform: rotate(180deg); /* 矢印を上向きに */
}
.speech-bubble-btn.is-active .bubble-toggle {
    color: #ccc;
}


/* ▼ 3. 隠れているテンプレート（中身） */
.template-content {
    display: none; /* 初期状態は非表示 */
    margin-top: 10px;
    text-align: left;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.template-inner {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    position: relative;
    max-width: 500px; /* 吹き出しと同じ幅に合わせる */
    margin: 0 auto;
}
/* コンテンツの上の三角（吹き出しと繋げる演出） */
.template-inner::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 6px solid transparent; border-right: 6px solid transparent;
    border-bottom: 6px solid #ddd;
}

.template-guide {
    font-size: 12px; margin: 0 0 10px 0; color: #666; text-align: center;
}

/* テキストエリア */
.template-text {
    width: 100%;
    height: 180px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    line-height: 1.6;
    box-sizing: border-box;
    margin-bottom: 10px;
    color: #333;
    font-family: inherit;
}

/* コピーボタン */
.btn-copy {
    display: block;
    width: 100%;
    background: #444;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.btn-copy:hover { background: #222; }

/* コピー完了時の緑色 */
.btn-copy.is-copied {
    background: #00904a; /* イベント21グリーン */
}

/* スマホ調整 */
@media(max-width: 768px) {
    .bubble-inner { font-size: 13px; padding: 12px 15px; }
    .btn-main-contact { font-size: 18px; padding: 15px; }
}


 
  /* ==================================================
     ▼▼▼ レスポンシブ（メディアクエリ） ▼▼▼
  ================================================== */
  
  /* Large Screens */

  @media (max-width: 1200px) {
    .e21r-hero__inner { grid-template-columns: 1fr 520px; }
  }

  @media (max-width: 1199.98px) {
    .e21r-mcard img { height: 320px; }
  }

  @media screen and (min-width: 1201px) {
    #my_body1 {
      margin-top: 200px !important;
      overflow: hidden;
    }
  }

  /* Tablet / Small Desktop */
  @media (max-width: 1024px) {
    .e21r-header__inner { grid-template-columns: 140px 1fr auto; }
    .e21r-nav ul { gap: 14px; }
    .e21r-search { display: none; }
    .e21r-hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .e21r-silhouette-img {
      position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 168px;
      object-fit: cover; object-position: bottom; opacity: .85;
      filter: grayscale(1) brightness(1.08); pointer-events: none; user-select: none;
    }
    .e21r-menu__grid { grid-template-columns: 1fr; gap: 20px; }
    .e21r-menu__cards { grid-template-columns: 1fr 1fr; gap: 16px; }
    .e21r-quick { display: grid; }
  }


  /* Mobile */
  @media (max-width: 768px) {
    /* Header/Nav */
    .e21r-header__inner { grid-template-columns: 1fr auto; gap: 10px; }
    .e21r-nav { display: none; }
    .e21r-menu__bar { position: sticky; top: 0; z-index: 1; padding: 8px 0; background: #fff; }
    .e21r-mcard img { height: 200px; }
    .e21r-menu__list > li > a { padding: 16px 0; }
    .e21r-menu__misc a { padding: 12px 0; }

    /* Hero */
    .e21r-hero__inner {
      display: block; padding: 28px 18px 40px; max-width: calc(var(--e21r-max) + 160px);
      margin: 0 auto; display: grid; align-items: center;
    }
    .e21r-hero__title {
      font-size: clamp(24px, 7vw, 32px); position: relative; z-index: 3;
      margin: 0; text-align: center;
    }
    .e21r-hero__left { position: relative; padding: 0; }
    .e21r-bubbles {
      right: 6%; top: -8px; transform: scale(.9); position: absolute;
      z-index: 2; right: 8%; top: 12%; pointer-events: none;
    }
    .e21r-silhouette-img {
      position: static; width: 100%; height: 168px; object-fit: cover;
      object-position: bottom; opacity: .85; filter: grayscale(1) brightness(1.08);
      position: static; display: block; height: auto; pointer-events: none; user-select: none;
    }
    .e21r-bubbles .b--green { width: 45%; height: 45%; left: 75%; top: -15%; }
    .e21r-bubbles .b--green2 { width: 60%; height: 60%; left: -112%; top: 30%; }
    .e21r-bubbles .b--yellow { width: 30%; height: 30%; left: -82%; top: 10%; }
    .e21r-bubbles .b--pink { width: 28%; height: 28%; left: 60%; top: -18%; }
    .e21r-card__img { display: block; width: 95%; }

    /* Contents */
    .grid { grid-template-columns: 1fr; }
    .autumn-grid { grid-template-columns: repeat(3, 1fr); }
    .slide-group { display: block; }
    .slide-item { width: 100%; margin-bottom: 20px; display: none; }
    .slide-item:first-child { display: block; }
    .slideshow-container { min-height: 350px; }
    .modal-content { width: 95%; }
    .tent-viewer { flex-direction: column; gap: 15px; }
    .tent-viewer__main-col { position: static; width: 100%; }
    .ceremony-cards { grid-template-columns: 1fr; gap: 30px; }
    .e21-diagnosis-grid { flex-direction: column; }
    .e21-diagnosis-card { margin: 0 auto; width: 100%; }
    .e21-role-container { flex-direction: column; }
    .e21-role-header h3 { font-size: 18px; }
    .e21-desc { font-size: 12px; }
    .bubble-text { font-size: 12px; padding: 10px 15px; }
    .btn-main-contact { font-size: 18px; padding: 15px; }
    .compare-wrapper { flex-direction: column; }
    .trust-data { flex-direction: column; gap: 10px; }
    .data-item { border-right: none; border-bottom: 1px solid #dcebf7; padding-bottom: 5px; }
    .img-area { height: 180px; }

    .nav-grid { flex-direction: column; gap: 20px; }
    .contact-box { flex-direction: column; gap: 20px; }
    .e21-title { font-size: 22px; width: 100%; left: 0; transform: none; display: block; }
    .e21-pro-badge { display: block; margin-bottom: 5px; }
    .e21-step-header { flex-wrap: wrap; }
    .e21-tag { margin-left: 0; margin-top: 5px; width: 100%; text-align: center;}
    .e21-yamaba-badge { position: relative; top: 0; right: 0; display: inline-block; margin-bottom: 10px; }
  }

/* ==================================================
   スマホ対応：追加・補強ルール
   page-ceremony.css の一番下に追記してください
   ================================================== */

@media screen and (max-width: 768px) {

  /* --- 1. 全体の余白を引き締める --- */
  /* PCでは60px空いている隙間を、スマホでは30pxに減らして間延びを防ぎます */
  .e21-section,
  .pro-section,
  .ceremony-guide {
    padding: 30px 0 !important;
  }

  /* --- 2. 見出し文字のサイズ調整 --- */
  /* 「失敗できない起工式...」などの大見出しがスマホで改行だらけになるのを防ぎます */
  .e21-title,
  .pro-title {
    font-size: 20px !important; /* 強制的に少し小さく */
    line-height: 1.4;
    margin-bottom: 25px;
  }
  
  /* 赤い下線を画面幅に合わせる */
  .e21-title {
    width: 90%; /* 画面いっぱいではなく少し余裕を持たせる */
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
}

@media screen and (max-width: 768px) {
  .e21-ceremony-wrapper{margin: 0 3%;}
  /* --- 3. 比較リスト（役割分担）の縦積み --- */
  .compare-wrapper {
    flex-direction: column; /* 横並びを縦並びに変更 */
    gap: 20px;
  }

  /* 矢印や装飾の位置調整 */
  .stamp-finish {
    position: static; /* 絶対配置を解除して、自然な位置に置く */
    margin-top: 10px;
    transform: none; /* 回転を戻して読みやすく */
    text-align: center;
    display: block;
    width: 100%;
  }
}


@media screen and (max-width: 768px) {
  /* --- 5. テント比較コーナーの修正 --- */
  .tent-viewer {
    display: block; /* フレックスを解除して単純な縦積みに */
    margin: 0 3%;
  }

  .tent-viewer__main-col {
    margin-bottom: 20px;
    position: static; /* 固定解除 */
  }

  /* サムネイル画像を押しやすく */
  .tent-viewer__thumbnails {
    grid-template-columns: repeat(4, 1fr); /* 4列キープ */
    gap: 5px;
  }
  
  .tent-viewer__btn {
    height: auto;
  }

  /* お困りボックス */
  .message_box1 h2 {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0 5%;
    margin: 5% 0 0;
}
  .okomaribox {
    font-family: BIZ UDPGothic;
    width: 100%;
    text-align: center;
    font-size: 2rem;
    line-height: 3.5rem;
    padding: 0 1rem;
}
.okomaribox ul li {
    font-size: 15px;
    margin: 10px 10px;
    border-bottom: dashed 4px #ccc;
    line-height: 2em;
    text-align: left;
    padding:0;
}
.btnset-sikiten {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 20px;
    margin: 30px 15px;
}
.btn-sikiten {
  font-size: 1rem;
}
}





  @media screen and (max-width:599px){
    .event_kikaku_top{background: url(pic/kikosiki_001_sp.jpg);background-size: 100% auto;padding-bottom:100%;height: 113px;}
    .ceremony-guide__title { font-size: 18px; }
  }







/* ==================================================
   【再修正】選ばれる理由：カード縦積みと画像補正
   ================================================== */
@media screen and (max-width: 768px) {

  /* 1. 外側の枠：強制的に縦並びにする */
  .strength-grid {
    display: block !important;       /* フレックス自体を解除してブロック要素にする */
    width: 100% !important;
  }
  
  /* 2. カード本体：画面幅いっぱいに広げる */
  .strength-card {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 30px 0 !important;   /* 下に隙間を作る */
    display: block !important;       /* 中身の崩れ防止 */
  }

  /* 3. 画像エリア：ご要望の object-fit を適用 */
  .img-placeholder {
    width: 100% !important;
    height: 200px !important;        /* 高さを確保 */
    position: relative !important;
    overflow: hidden !important;     /* はみ出し防止 */
  }

  /* 画像本体をきれいにトリミング */
  .img-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;    /* ★これが画像の歪みを防ぎます */
    object-position: center !important;
  }

  /* 文字エリアの調整 */
  .text-area {
    width: 100% !important;
    padding: 20px !important;
    box-sizing: border-box !important;
  }
}

/* ==================================================
   ▼▼ 動画 & 司会者セクション（完全版） ▼▼
   ================================================== */

/* --------------------------------------------------
   1. 動画セクション（グリッドレイアウト）
   -------------------------------------------------- */
   .video-section {
    padding: 40px 0 60px;
    background-color: #f9f9f9;
}
.video-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* PCは2列 */
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.video-thumbnail-container {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.video-thumbnail-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.video-thumbnail-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.video-thumbnail-container:hover img {
    transform: scale(1.05); /* ホバーで画像微拡大 */
}

/* オーバーレイ（暗幕とアイコン） */
.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.video-thumbnail-container:hover .video-overlay {
    background: rgba(0,0,0,0.4);
}
.video-play-icon {
    font-size: 50px;
    color: #fff;
    opacity: 0.9;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.video-title {
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.6);
    padding: 4px 10px;
    border-radius: 4px;
}
.video-note {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-top: 15px;
}

/* 動画モーダル */
#video-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0; left: 0; width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
}
#video-modal.is-open { display: flex; animation: fadeIn 0.3s ease; }
.video-modal-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
}
.video-modal-wrap {
    position: relative;
    width: 90%;
    max-width: 960px;
    z-index: 10001;
}
.video-modal-content {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.video-modal-close {
    position: absolute;
    top: -30px; right: 0;
    color: #fff; font-weight: bold; cursor: pointer;
    font-size: 14px;
}


/* --------------------------------------------------
   2. 司会者セクション（画像比率固定・レイアウト）
   -------------------------------------------------- */
.mc-section {
    padding: 60px 0 200px;
    background: #fff;
    border-top: 1px dashed #ccc;
}
/* 見出し */
.mc-title-area { text-align: center; margin-bottom: 40px; }
.mc-main-title {
    font-size: 26px; font-weight: bold; color: #333;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.mc-check-icon { color: #cc0000; }
.mc-sub-title {
    font-size: 16px; color: #cc0000; font-weight: bold; margin-top: 10px;
}

/* コンテンツラッパー */
.mc-content-wrapper {
    display: flex; gap: 30px;
    max-width: 1000px; margin: 0 auto;
}

/* 左側：ギャラリー（画像潰れ防止） */
.mc-gallery-side {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 高さを固定せず、アスペクト比で管理しても良いが、
       今回はレイアウト崩れを防ぐため高さを指定 */
    height: 420px; 
    gap: 10px;
}
.mc-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ★これで画像が潰れずトリミングされる */
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
/* メイン画像（左側縦長） */
.mc-photo-large {
    grid-row: span 2; /* 縦2行分 */
    height: 100%;
}
.mc-photo-large img { height: 100%; }
/* サブ画像（右側4枚） */
.mc-photo-small {
    height: 100%;
}

/* 右側：情報エリア */
.mc-info-side {
    flex: 1;
    display: flex; flex-direction: column; gap: 20px;
}
.mc-plan-cards { display: flex; gap: 15px; }
.mc-plan-card {
    flex: 1; border: 1px solid #ddd; border-radius: 8px;
    text-align: center; overflow: hidden; background: #fff;
}
.mc-plan-card.recommend { border: 2px solid #cc0000; position: relative; }
.mc-plan-header {
    background: #f9f9f9; padding: 12px; font-weight: bold; font-size: 14px;
}
.recommend .mc-plan-header { background: #fff5f5; color: #cc0000; }
.mc-plan-body { padding: 15px; }
.mc-price-label {
    background: #cc0000; color: #fff; font-size: 11px;
    padding: 3px 6px; border-radius: 3px; display: inline-block; margin-bottom: 5px;
}
.mc-price { font-size: 20px; font-weight: bold; color: #cc0000; display: block; }
.mc-price-unit { font-size: 12px; color: #666; }

.mc-description {
    font-size: 14px; line-height: 1.7; color: #555;
    background: #f9f9f9; padding: 15px; border-radius: 6px;
}

.mc-contact-btn {
    display: block; background: #cc0000; color: #fff;
    text-decoration: none; font-weight: bold; padding: 15px;
    border-radius: 50px; text-align: center; font-size: 18px;
    box-shadow: 0 4px 10px rgba(204,0,0,0.3); transition: all 0.3s ease; position: relative;
}
.mc-contact-btn:hover { background: #a30000; transform: translateY(-2px); }
.mc-btn-arrow { position: absolute; right: 20px; }

/* スマホ対応 */
@media (max-width: 768px) {
    .video-grid-wrapper { grid-template-columns: 1fr; /* 動画1列 */ }
    
    .mc-content-wrapper { flex-direction: column; }
    
    .mc-gallery-side {
        height: auto; /* 高さを自動に */
        grid-template-columns: repeat(2, 1fr);
    }
    .mc-photo-large {
        grid-column: span 2; /* メイン画像を横幅いっぱいに */
        height: 250px;
    }
    .mc-photo-small {
        height: 120px; /* サブ画像の高さ固定 */
    }
    
    .mc-plan-cards { flex-direction: column; }
}

