@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* Google Fonts 読み込み */
@import url("https://fonts.googleapis.com/css2?family=Zen+Kurenaido&display=swap");

/* ====================================
   メインビジュアル (SWELL)
   ==================================== */

/* --- グラデーションオーバーレイ（全体） --- */
.p-mainVisual__slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 鮮やかなグラデーション（オレンジ〜青） */
  background: linear-gradient(
    to right,
    rgba(249, 115, 22, 0.85),
    rgba(37, 99, 235, 0.65)
  );
  mix-blend-mode: multiply; /* 画像と色を乗算で混ぜる */
  z-index: 1;
  pointer-events: none;
  display: block;
}

/* --- 下部の白いフェードアウト（コンテンツへのつなぎ） --- */
.p-mainVisual__inner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #ffffff, transparent);
  z-index: 5;
  pointer-events: none;
  display: block !important;
  opacity: 1 !important;
}

/* --- テキストレイヤー配置 --- */
.p-mainVisual__textLayer {
  position: relative;
  z-index: 10 !important;
  text-shadow: none !important;
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: center;
  width: 100%;
  max-width: 1000px !important;
  margin-left: 5% !important;
  margin-right: auto !important;
  padding-left: 0 !important;
}

/* --- バッジ（左上のタグ） --- */
.p-mainVisual__textLayer::before {
  content: none !important;
  display: none !important;
}

.mv-badge {
  display: inline-block;
  width: fit-content;
  /* ガラス風デザイン */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.4);

  /* 文字設定 */
  color: #fff;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 0.6em 1.5em;
  border-radius: 9999px;

  /* 位置調整 */
  margin-bottom: 2rem;
  vertical-align: middle;
}

/* スマホでの微調整 */
@media screen and (max-width: 768px) {
  .mv-badge {
    font-size: 0.75rem;
    padding: 0.4em 1em;
    margin-bottom: 1rem;
  }
}

/* --- タイトル --- */
.p-mainVisual__slideTitle {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
  width: 100%;
}
.p-mainVisual__slideTitle .highlight-text {
  color: #fde047; /* 黄色い文字 */
}

/* --- サブテキスト --- */
.p-mainVisual__slideText {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  line-height: 1.8 !important;
  opacity: 0.95;
  margin-bottom: 2.5rem !important;
  text-align: left !important;
}

/* --- ブログパーツ・フルワイドブロックの配置リセット --- */
.p-mainVisual__textLayer .swell-block-fullWide,
.p-mainVisual__textLayer .swell-block-fullWide__inner,
.p-mainVisual__textLayer .p-blogParts {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  left: auto !important;
  transform: none !important;
  text-align: left;
}

/* --- 検索フォームデザイン --- */
.p-mainVisual__textLayer .wp-block-search__inside-wrapper {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important; /* ボタン落ち防止 */
  position: relative;
  background: #fff;
  border-radius: 9999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border: none !important;
  max-width: 500px;
  width: 100%;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* 入力欄 */
.p-mainVisual__textLayer .wp-block-search__input {
  flex: 1 !important;
  min-width: 0 !important;
  background: transparent !important;
  border: none !important;
  color: #334155 !important;
  font-size: 1rem;
  font-weight: bold;
  padding: 10px 16px !important;
}
/* プレースホルダー色 */
.p-mainVisual__textLayer .wp-block-search__input::placeholder {
  color: #94a3b8;
  font-weight: normal;
  opacity: 1;
}

/* 検索ボタン */
.p-mainVisual__textLayer .wp-block-search__button {
  background-color: #f97316 !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 54px !important;
  height: 54px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.p-mainVisual__textLayer .wp-block-search__button:hover {
  transform: scale(1.05);
  background-color: #ea580c !important;
}
.p-mainVisual__textLayer .wp-block-search__button svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

/* 元のボタン非表示 */
.p-mainVisual__slideBtn {
  display: none !important;
}

/* --- スマホ調整 (メインビジュアル) --- */
@media screen and (max-width: 768px) {
  .p-mainVisual__textLayer {
    padding-left: 5% !important;
    padding-right: 5% !important;
    margin-left: 0 !important;
  }
  .p-mainVisual__textLayer::before {
    font-size: 0.75rem;
    padding: 0.4em 1em;
    margin-bottom: 1rem;
  }
  .p-mainVisual__textLayer .wp-block-search__inside-wrapper {
    padding: 4px 4px 4px 16px;
  }
  .p-mainVisual__textLayer .wp-block-search__button {
    width: 40px;
    height: 40px;
    margin-left: 6px !important;
  }
  .p-mainVisual__textLayer .wp-block-search__button svg {
    width: 18px;
    height: 18px;
  }
  .p-mainVisual__textLayer .wp-block-search__input {
    padding: 8px 12px !important;
    font-size: 14px !important;
    height: 40px;
  }
}

/* ====================================
   スクロールボタン
   ==================================== */
.p-mainVisual__scroll {
  z-index: 20 !important;
  bottom: 30px !important;
  color: #334155 !important;
  text-shadow: none !important;
  opacity: 1 !important;
  transition: opacity 0.3s;
  height: auto !important;
  padding-top: 40px !important;
}
.p-mainVisual__scroll:hover {
  opacity: 0.7 !important;
}
.p-mainVisual__scrollArrow {
  display: none !important;
}

/* 矢印アニメーション */
.p-mainVisual__scroll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 14px;
  height: 14px;
  border-bottom: 3px solid #f97316;
  border-right: 3px solid #f97316;
  transform: translateX(-50%) rotate(45deg);
  animation: scroll-arrow 2s infinite;
  box-sizing: border-box;
}
@keyframes scroll-arrow {
  0% {
    transform: translateX(-50%) rotate(45deg) translate(0, 0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) rotate(45deg) translate(10px, 10px);
    opacity: 0;
  }
}

/* "SCROLL" ラベル */
.p-mainVisual__scrollLabel {
  display: block;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase;
  font-family: sans-serif;
  margin-top: 5px;
}

/* ====================================
   セクション用H2見出し
   ==================================== */
h2.is-style-section_ttl {
  text-align: left !important;
  font-size: clamp(1.5rem, 4vw, 2.25rem) !important;
  font-weight: 800 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 2rem !important;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
}

h2.is-style-section_ttl .mininote {
  display: inline-block;
  order: -1;
  font-size: 0.85rem !important;
  color: #f97316 !important;
  font-weight: bold !important;
  letter-spacing: 0.1em;
  font-family: sans-serif;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* セクション見出し内の改行タグによる余白ズレを修正 */
h2.is-style-section_ttl br {
    display: none;
}

@media screen and (max-width: 768px) {
  h2.is-style-section_ttl {
    margin-bottom: 1.5rem !important;
  }
}

/* ====================================
   保護者セクション：2つのカードボタン
   ==================================== */

/* グリッドレイアウト（2列配置） */
.parents-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 均等に2分割 */
  gap: 1.5rem; /* カード間の隙間 */
  width: 100%;
}

/* カード共通デザイン */
.parents-card {
  display: block;
  background: rgba(255, 255, 255, 0.1); /* 半透明の白 */
  backdrop-filter: blur(12px); /* すりガラス効果 */
  border: 1px solid rgba(255, 255, 255, 0.15); /* 薄い枠線 */
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none !important; /* 下線を消す */
  transition: all 0.3s ease;
  height: fit-content;
}

/* ホバー時の動き */
.parents-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px); /* ふわっと浮く */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* アイコン（文字） */
.parents-card__icon {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1;
  font-family: sans-serif;
}
.parents-card__icon.text-orange {
  color: #fb923c;
} /* オレンジ色 */
.parents-card__icon.text-blue {
  color: #60a5fa;
} /* 青色 */

/* タイトル */
.parents-card__title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin: 1rem 0 0.5rem !important;
}

/* 説明文 */
.parents-card__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* 右側のカードだけ下にずらす（段差デザイン） */
.card-step-down {
  margin-top: 2rem; /* ここで段差を作る */
}

/* --- スマホ調整 --- */
@media screen and (max-width: 768px) {
  .parents-card-grid {
    /* スマホでも2列のままにするか、1列にするか */
    /* ここでは見やすさ重視で1列にします */
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .card-step-down {
    margin-top: 0; /* スマホでは段差をなくす */
  }
}

/* ====================================
   メッセージエリア（パターンA：ノート＆テープ風）
   ==================================== */

.message-emotional {
  /* 手書き風フォント */
  font-family: "Zen Kurenaido", sans-serif;

  /* ノート風の白いカード */
  background-color: #ffffff;
  padding: 4rem 3rem;
  border: 1px solid #e2e8f0; /* 薄いグレーの枠 */
  border-radius: 2px; /* 角を少しだけ丸く */

  /* 配置と回転 */
  max-width: 800px;
  margin: 100px auto; /* 上下に余裕を持たせる */
  position: relative;
  transform: rotate(-1deg); /* 全体を少し左に傾ける */

  /* ふんわりした影（浮いている感じ） */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);

  color: #334155;
}

/* マスキングテープの装飾（上部中央） */
.message-emotional::before {
  content: "";
  position: absolute;
  top: -15px; /* 上にはみ出させる */
  left: 50%;

  /* テープの形状 */
  width: 140px;
  height: 35px;
  background-color: rgba(254, 215, 170, 0.85); /* 半透明の薄いオレンジ */

  /* 位置調整と回転（右に傾ける） */
  transform: translateX(-50%) rotate(2deg);
  z-index: 10;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* --- 中身のテキスト調整 --- */

/* 見出し（H2, H3など） */
.message-emotional h2,
.message-emotional h3 {
  text-align: center !important;
  font-size: 2rem !important;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 2rem !important;
  line-height: 1.4 !important;
  border: none !important; /* SWELLのデフォルト装飾を消す */
  padding: 0 !important;
  margin-top: 0;
}

/* 本文 */
.message-emotional p {
  font-size: 1.25rem !important;
  line-height: 2.2 !important;
  margin-bottom: 2rem !important;
}

/* --- 画像がある場合（アイコンなど） --- */
/* 画像ブロックを丸く切り抜く */
.message-emotional figure img {
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  width: 100px !important;
  height: 100px !important;
  object-fit: cover;
  margin: 0 auto 2rem auto !important; /* 中央寄せ */
  display: block;
}

/* --- 署名（右寄せにする場合） --- */
/* 署名用の段落にクラス「signature」をつけるか、最後の段落として調整 */
.message-emotional p:last-child {
  display: table;
  margin-left: auto; /* 右寄せ */
  margin-right: 0;
  border-top: 1px solid #cbd5e1; /* 上に線 */
  padding-top: 1rem;
  padding-right: 1rem;
  padding-left: 1rem;
  font-size: 1.1rem !important;
  color: #64748b;
  transform: rotate(1deg); /* ハンコっぽく傾ける */
}

/* --- スマホでの調整 --- */
@media screen and (max-width: 768px) {
  .message-emotional {
    padding: 3rem 1.5rem;
    transform: none; /* スマホでは傾きを戻して読みやすく */
    margin: 60px 20px;
  }
  .message-emotional h2,
  .message-emotional h3 {
    font-size: 1.5rem !important;
  }
  .message-emotional p {
    font-size: 1.1rem !important;
    text-align: left; /* スマホは左寄せの方が読みやすい */
  }
  /* 署名 */
  .message-emotional p:last-child {
    text-align: right;
    margin-right: 0;
  }
}

/* ====================================
 コンセプトメッセージエリア
 ==================================== */
.concept-message {
  padding: 60px 20px;
  text-align: center;
  color: #334155;
  background-color: transparent; /* 背景なしでシンプルに */
  max-width: 840px;
  margin: 0 auto;
}

/* 英語ラベル */
.concept-message__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: bold;
  color: #f97316; /* オレンジ */
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

/* ラベルの両横に線を入れる */
.concept-message__label::before,
.concept-message__label::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #cbd5e1;
}

/* 本文テキスト */
.concept-message__text {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* 最後の強調エリア */
.concept-message__highlight {
  margin-top: 40px;
  padding: 30px;
  background-color: #fff;
  border-radius: 4px;
  /* 左側にオレンジのアクセント線 */
  border-left: 4px solid #f97316;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.concept-message__highlight p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

/* 太字部分 */
.concept-message__highlight strong {
  color: #ea580c; /* 濃いオレンジ */
  background: linear-gradient(
    transparent 70%,
    rgba(253, 224, 71, 0.3) 70%
  ); /* 蛍光ペン風 */
}

/* --- スマホ調整 --- */
@media screen and (max-width: 768px) {
  .pc-only {
    display: none;
  } /* スマホで改行を無効化 */

  .concept-message {
    padding: 40px 20px;
    text-align: left; /* スマホは左寄せの方が読みやすい */
  }

  .concept-message__text {
    font-size: 0.95rem;
    line-height: 1.8;
    text-align: justify; /* 両端揃えできれいに見せる */
  }

  .concept-message__highlight {
    padding: 20px;
  }
}

/* ====================================
   CTAセクション
   ==================================== */

.cta-emotional {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  margin: 60px 0; /* 上下の余白 */
  color: #fff;
  text-align: center;
  isolation: isolate; /* 背景とコンテンツの重なり制御 */
}

/* --- 背景画像設定 --- */
.cta-emotional__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cta-emotional__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を枠いっぱいにトリミング */
}

/* --- グラデーションオーバーレイ --- */
.cta-emotional__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 深いオレンジ〜明るいオレンジのグラデーション */
  background: linear-gradient(
    to right,
    rgba(124, 45, 18, 0.9),
    rgba(234, 88, 12, 0.7)
  );
  mix-blend-mode: multiply; /* 画像に乗算で重ねる */
}

/* --- コンテンツエリア --- */
.cta-emotional__content {
  position: relative;
  z-index: 10;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* アイコン */
.cta-emotional__icon {
  margin-bottom: 1.5rem;
  color: #fed7aa; /* 薄いオレンジ */
  opacity: 0.9;
  display: flex;
  justify-content: center;
}

/* タイトル */
.cta-emotional__title {
  font-size: 2.25rem;
  font-weight: bold;
  font-family: serif; /* 明朝体でエモーショナルに */
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: #fff;
}

/* 本文 */
.cta-emotional__text {
  font-size: 1.125rem;
  color: #fff7ed; /* 真っ白より少し目に優しい色 */
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

/* ボタン */
.cta-emotional__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #ea580c; /* 濃いオレンジ */
  font-weight: bold;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.cta-emotional__btn:hover {
  background-color: #fff7ed;
  transform: scale(1.05); /* ホバーで少し拡大 */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  color: #c2410c;
}

/* ボタン内のオレンジの点 */
.cta-emotional__btn-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #f97316;
  border-radius: 50%;
  margin-right: 8px;
}

/* --- スマホ調整 --- */
@media screen and (max-width: 768px) {
  .cta-emotional__content {
    padding: 3rem 1.5rem;
  }
  .cta-emotional__title {
    font-size: 1.75rem;
  }
  .cta-emotional__text {
    font-size: 1rem;
    text-align: left; /* スマホでは読みやすく左寄せ */
  }
  .cta-emotional__text br {
    display: none; /* スマホでは改行を無視して自然に折り返す */
  }
}
