
/* --------------------------------------------------
🎀 ブロック①-1：フロント背景・基本レイアウト（2025-06-29 最新整理）
-------------------------------------------------- */
body {
  background-color: #f8f8f8;
  color: #2b1e0f;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
}

/* 🎥 背景動画：フルスクリーン表示 */
.background-video-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
}

.background-video-wrapper video.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🧊 白透過背景：メインビジュアル～下部まで */
.translucent-wrapper {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 4rem 1rem;
  position: relative;
  z-index: 1;
}

/* ここにブロック②〜⑱までのCSSを実際は挿入する（省略） */

/* --------------------------------------------------
🎀 ブロック⑲：フロント専用 個別最終バランス調整（2025-07-03）
-------------------------------------------------- */
.home .front-news-heading .heading-image {
  max-width: 145px;
}
.home .front-news-caption {
  font-size: 17px;
  margin-bottom: 5.5em;
}

.home .front-about-heading .heading-image {
  max-width: 175px;
}
.home .front-about-caption {
  font-size: 16.5px;
  margin-bottom: 4.8em;
}

.home .front-qa-heading .heading-image {
  max-width: 135px;
}
.home .front-qa-caption {
  font-size: 16px;
  margin-bottom: 5.3em;
}

.home .front-access-heading .heading-image {
  max-width: 165px;
}
.home .front-access-caption {
  font-size: 16.5px;
  margin-bottom: 5.2em;
}

.home .front-privacy-heading .heading-image {
  max-width: 200px;
}
.home .front-privacy-caption {
  font-size: 16.5px;
  margin-bottom: 5em;
}

.home .front-blog-heading .heading-image {
  max-width: 150px;
}
.home .front-blog-caption {
  font-size: 16.5px;
  margin-bottom: 5em;
}

@media screen and (max-width: 768px) {
  .home .front-news-heading .heading-image {
    max-width: 120px;
  }
  .home .front-news-caption {
    font-size: 15.5px;
    margin-bottom: 4.5em;
  }

  .home .front-about-heading .heading-image {
    max-width: 150px;
  }
  .home .front-about-caption {
    font-size: 15.5px;
    margin-bottom: 4em;
  }

  .home .front-qa-heading .heading-image {
    max-width: 120px;
  }
  .home .front-qa-caption {
    font-size: 15.5px;
    margin-bottom: 4.2em;
  }

  .home .front-access-heading .heading-image {
    max-width: 140px;
  }
  .home .front-access-caption {
    font-size: 15.5px;
    margin-bottom: 4.2em;
  }

  .home .front-privacy-heading .heading-image {
    max-width: 170px;
  }
  .home .front-privacy-caption {
    font-size: 15.5px;
    margin-bottom: 4em;
  }

  .home .front-blog-heading .heading-image {
    max-width: 125px;
  }
  .home .front-blog-caption {
    font-size: 15.5px;
    margin-bottom: 4em;
  }
}

/* --------------------------------------------------
🎀 ブロック⑳：ブログページ・カテゴリ表示調整（2025-07-03）
-------------------------------------------------- */

/* 🖥 PCだけ：縦揃え上 */
@media screen and (min-width: 769px) {
  .wp-block-columns {
    align-items: flex-start !important;
  }
}

/* 📱 モバイルだけ：カテゴリ中央寄せ */
@media screen and (max-width: 768px) {
  .wp-block-column > .wp-block-categories {
    margin: 0 auto !important;
    display: block !important;
    text-align: center !important;
  }
}

/* --------------------------------------------------
🎀 ブロック㉑：フェード画像 PC／モバイル出し分け調整（2025-07-04）
-------------------------------------------------- */

/* 🎥 フロントページの背景画像（PC/モバイル別切り替え） */
.home .fade-image-1.pc {
  display: block !important;
  opacity: 1 !important;
}
.home .fade-image-1.mobile {
  display: none !important;
}

/* 📱 モバイル用（768px以下） */
@media screen and (max-width: 768px) {
  .home .fade-image-1.pc {
    display: none !important;
    opacity: 0 !important;
  }
  .home .fade-image-1.mobile {
    display: block !important;
    opacity: 1 !important;
  }
}

/* 🛡️ 非フロントページでは完全非表示 */
body:not(.home) .fade-image-1 {
  display: none !important;
  opacity: 0 !important;
}

/* ✅ 視覚非表示（SEO用画像） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

/* 🚫 Cocoonのアイキャッチ画像を完全に非表示に */
.eye-catch-wrap,
.eye-catch-wrap img {
  display: none !important;
}

/* --------------------------------------------------
🎀 ブロック㉒： SNSアイコン横並びラッパー
-------------------------------------------------- */
.sns-icon-wrapper {
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
  margin-top: 2em;
  margin-bottom: 3em;
}

/* 🌿 SNSアイコン下のテキスト */
.sns-icon-wrapper p {
  font-size: 0.9em;
  color: #555;
  margin-top: 0.6em;
  text-align: center;
}

/* ✨ SNSアイコン画像 */
.sns-icon-wrapper img {
  width: 100px;
  height: 100px;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* --------------------------------------------------
🎀 ブロック㉓： MENUボタン
-------------------------------------------------- */

/* 📱 モバイルでのタップエリア改善 */
.close-btn {
  padding: 12px 16px;
  font-size: 18px;
  display: inline-block;
}

body {
  color: #333;
}


/* 🎨 背景上の薄文字対策 */
.translucent-wrapper p {
  color: #222222
}

/* 📱 モバイルでのタップエリア改善 */
.close-btn {
  padding: 12px 16px;
  font-size: 18px;
  display: inline-block;
}

/* 🎨 見出しPCモバイルサイズ対策 */
.heading-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 🎹 レッスン見出し画像だけしっかり拡大表示！ */
.front-lesson-heading .heading-image {
  transform: scale(1.25);  /* 💥 1.25倍でしっかり目立たせる */
  transform-origin: center center;
}

/* 🌸 モバイルでも強めに拡大（スマホだと小さく見えがち） */
@media (max-width: 768px) {
  .front-lesson-heading .heading-image {
    transform: scale(1.28);
  }
}
@media screen and (max-width: 768px) {
  .blog-columns {
    display: block;
  }

  .blog-columns .wp-block-categories {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .blog-columns .wp-block-latest-posts {
    margin-top: 20px;
  }

  .blog-columns .wp-block-categories select {
    width: 80%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
}

/* 🌿 SEO用非表示画像：アスペクト比維持＆PageSpeed対策 */
.seo-hidden {
  position: absolute;
  width: 1px;
  height: auto;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0 0 0 0);
}

/*  モバイル専用：WELCOMEセクション位置調整（mainvisualとの余白調整）
 */
@media (max-width: 768px) {
  .mainvisual-wrapper {
    height: calc(var(--vh) * 100);
  }

  .translucent-wrapper {
    margin-top: -400px !important; /* ← mainvisual-wrapper高さとセットで覚えておこう✨ */
  }
}
