/* 基本設定 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
}

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

a {
  text-decoration: none;
}

.page-wrapper {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}

/* トップバナー（画像用に変更） */
.top-banner {
  width: 100%;
  text-align: center;
  background-color: #e0ecec;
}

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

.main-content {
  padding: 40px 20px;
}

/* リードテキスト */
.intro-section {
  text-align: center;
  margin-bottom: 60px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
}

.intro-heading {
  font-size: 17px;
  margin-bottom: 30px;
  font-weight: normal;
}

.intro-text {
  font-size: 16px;
  margin-bottom: 30px;
}

.intro-subtext {
  font-size: 16px;
}

/* ブランドセクション共通 */
.brand-section {
  margin-bottom: 80px;
  text-align: center;
}

.logo-placeholder {
  font-size: 32px;
  margin-bottom: 40px;
}

/* セクションタイトル（枠線付き） */
.section-title {
  display: inline-block;
  border: 1px solid #ccc;
  padding: 10px 30px;
  margin-bottom: 40px;
  font-size: 16px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
}


/* =========================================
   ポイント円形（スマホ向けのベース設定）
========================================= */
.points-grid {
  display: flex;
  flex-direction: row;     /* 横並びにする */
  flex-wrap: wrap;         /* 画面端にきたら折り返す */
  justify-content: center; /* 余った1つ（3個目）を中央に配置する */
  gap: 15px;               /* 円と円の隙間 */
  margin-bottom: 60px;
}

/* スマホ表示のときのサイズ（横に2つ並べるため小さくします） */
.point-circle {
  width: 150px; 
  height: 150px;
  border: 1px solid #a0c4c4;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  color: #5d9b9b;
}

.point-icon-placeholder {
  width: 40px;  
  height: 40px; 
  background-color: #e0ecec;
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: #5d9b9b;
}

.point-small {
  font-size: 11px; 
  margin-bottom: 5px;
  color: #999;
}

.point-large {
  font-size: 18px; 
  font-weight: bold;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", serif;
  line-height: 1.4;
}


/* =========================================
   YouTubeセクション（大人おしゃれデザイン）
========================================= */
.youtube-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 100px auto; 
  box-sizing: border-box;
  text-align: left;
}

/* H2タグの不要な装飾をリセット */
.youtube-section h2.youtube-tab {
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

/* 大人っぽいタブのデザイン */
.youtube-tab {
  display: inline-block;
  margin: 0;
  padding: 10px 30px;
  background-color: #7ba7a8; /* 背景色 */
  color: #fff;
  font-size: 16px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif; /* 明朝体で上品に */
  font-weight: normal;       /* 太字を解除して上品に */
  letter-spacing: 0.1em;     /* 文字間隔を少し開ける */
  border-radius: 0;          /* 丸みをなくし、シャープな四角に */
}

/* 動画を囲む枠のデザイン */
.youtube-box {
  background-color: #fff;
  border: 1px solid #7ba7a8; /* タブと同じ色で細い枠線をつける */
  padding: 40px 30px;
  border-radius: 0;          /* 丸みをなくす */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* 薄い影で洗練された立体感 */
}

/* 動画を横並びにする設定（動画2つの場合） */
.youtube-box-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px; /* 動画と動画の間の余白 */
}

/* YouTube動画のレスポンシブ対応（動画2つの場合） */
.youtube-video {
  flex: 1; /* 動画を均等配置 */
  width: 100%;
  aspect-ratio: 16 / 9; /* 16:9を強制 */
  background-color: #f0f0f0; /* 動画読み込み前の背景色 */
}

.youtube-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.youtube-single {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9の比率を強制的に確保 */
  background-color: #f0f0f0;
  margin: 0 auto;
}

.youtube-single iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ========================================= */


/* 商品グリッド */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
}

.product-item {
  width: calc(50% - 10px);
  text-align: center;
}

/* 商品画像のコンテナ */
.product-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 10px;
  background-color: #f5f5f5;
  overflow: hidden;
}

/* 商品画像本体 */
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-name {
  font-size: 12px;
  color: #666;
}

/* ボタン */
.button-container {
  text-align: center;
  margin-bottom: 40px;
}

/* 他のCSSと混ざらないよう固有のクラス名に変更し、文字色を強制的に白にする */
.foot-menu-feature-btn {
  display: inline-block;
  background-color: #555;
  color: #ffffff !important; /* 文字色を白に強制 */
  text-decoration: none !important; /* 下線も出ないように強制 */
  padding: 12px 40px;
  font-size: 12px;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.foot-menu-feature-btn::after {
  content: '\25b6'; /* 「?」を文字化けしないコードで指定 */
  font-size: 10px;
  margin-left: 10px;
}

.foot-menu-feature-btn:hover {
  background-color: #777;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff !important; /* ホバー時も白を維持 */
}

.foot-menu-feature-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

/* ========================================================
   タブレット・PC向けスタイル (820px以上)
======================================================== */
@media (min-width: 820px) {
  
  .intro-heading {
    font-size: 22px;
  }
  
  .points-grid {
    flex-direction: row;
    justify-content: center;
    gap: 40px;
  }
  
  /* 4カラムグリッド */
  .columns-4 .product-item {
    width: calc(25% - 15px);
  }
  
  /* 3カラムグリッド */
  .columns-3 .product-item {
    width: calc(33.333% - 13.33px);
  }
}

/* =========================================
   PC向けの特大サイズ設定（画面幅768px以上）
========================================= */
@media screen and (min-width: 768px) {
  .points-grid {
    gap: 20px;
  }

  /* 先ほど限界まで大きくしたサイズ */
  .point-circle {
    width: 300px;
    height: 300px;
    padding: 24px;
  }
  
  .point-icon-placeholder {
    width: 72px;  
    height: 72px; 
    margin-bottom: 15px;
    font-size: 16px;
  }
  
  .point-small {
    font-size: 18px; 
    margin-bottom: 12px;
  }
  
  .point-large {
    font-size: 32px; 
  }
}

h2 {
  border-bottom: none !important;       /* 下枠線を消す */
  text-decoration: none !important;     /* テキストの下線を消す */
  box-shadow: none !important;          /* 影でできた線を消す */
  background-image: none !important;    /* 背景画像でできた線を消す */
}

/* =========================================
   コース内容（タブ切り替え＆横スクロール）追加部分
========================================= */
.course-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 60px auto;
}

.course-section input[type="radio"] {
  display: none;
}

.tab-labels {
  display: flex;
  gap: 2px;
}

.tab-label {
  display: inline-block;
  padding: 12px 30px;
  background-color: #9cb1b2;
  color: #fff;
  font-size: 16px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  cursor: pointer;
  transition: 0.3s;
}

#tab-full:checked ~ .tab-labels .label-full,
#tab-light:checked ~ .tab-labels .label-light {
  background-color: #7ba7a8;
}

.course-box {
  border: 1px solid #7ba7a8;
  background-color: #fff;
  padding: 20px 0; 
}

/* ★追加：ふんわり表示させるためのアニメーション定義 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.tab-panel {
  display: none;
}

/* ★修正：表示されるときにフェードインアニメーションを追加 */
#tab-full:checked ~ .course-box #panel-full,
#tab-light:checked ~ .course-box #panel-light {
  display: block;
  animation: fadeIn 0.6s ease; /* 0.6秒かけてふんわり表示 */
}

.panel-title {
  text-align: center;
  font-size: 24px;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: normal;
  margin-bottom: 20px; 
  letter-spacing: 0.1em;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 60px; 
  padding: 25px 40px 20px 40px; 
  
  -ms-overflow-style: none;    /* IE, Edge */
  scrollbar-width: none;       /* Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.step-card {
  flex: 0 0 auto;
  width: 220px;
}

.step-image-area {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #7ba7a8;
  background-color: #f9f9f9;
  margin-bottom: 40px; 
}

.step-main-img {
  width: 100%;
  height: 100%;
  overflow: hidden; 
}

.step-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

.step-badge {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 50px;
  height: 50px;
  background-color: #7ba7a8;
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
  z-index: 10;
}

.step-badge-text {
  font-size: 10px;
  letter-spacing: 1px;
}

.step-badge-num {
  font-size: 20px;
  font-family: serif;
}

.step-product-img {
  position: absolute;
  bottom: -20px; 
  right: -35px;  
  width: 100px;  
  height: auto; 
  z-index: 5;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.2)); 
}

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

.step-title {
  font-size: 12px;
  color: #7ba7a8;
  font-weight: bold;
  margin-bottom: 8px;
  text-align: left;
}

.step-desc {
  font-size: 11px;
  color: #666;
  text-align: left;
  line-height: 1.5;
}


/* =========================================
   スマホ表示向け（767px以下）の微調整まとめ
========================================= */
@media screen and (max-width: 767px) {
  /* YouTube */
  .youtube-box-inner {
    flex-direction: column;
    gap: 30px;
  }
  .youtube-box {
    padding: 20px 15px;
  }
  
  /* スマホ表示時のみタブの文字などを小さくする */
  .tab-label {
    font-size: 13px;
    padding: 10px 15px;
  }

  /* コースタイトルの文字を小さくする */
  .panel-title {
    font-size: 18px; 
    margin-bottom: 15px; 
  }
}