@charset "UTF-8";

body {
  font-size: 16px;
  color: #333333;
  line-height: 180%;
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ", "Kosugi Maru", "M PLUS Rounded 1c", "Yu Gothic", YuGothic, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: lighter;
}
.front {
  color: #391e03;
}
.clear {
  clear: both;
  margin: 0px;
  padding: 0px;
}
a:link {
  text-decoration: none;
  color: #010101;
}
a:visited {
  text-decoration: none;
  color: #010101;
}
a:hover {
  color: #010101;
  text-decoration: none;
}
a:active {
  color: #010101;
  text-decoration: none;
}
ul, ol {
  list-style: none;
  list-style-position: inside;
}
ul li:last-child, ol li:last-child {
  margin-bottom: 0;
}

h1 {
  letter-spacing: 0.1em;
}
h2 {
  letter-spacing: 0.1em;
  font-weight: normal;
}
h3{
  line-height: 1.5em;
  font-weight: bold;
  color: #138aef;
}

/* ==========================================================================
   ドロワーメニュー（JS連動用・共通ベース設定）
   ========================================================================== */
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 700;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
.menu-trigger {
  display: inline-block;
  width: 30px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 10px;
  left: 15px;
  z-index: 999; /* トリガーを最前面へ */
}
.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background: #43b8f4;
  transition: all .5s;
}
.menu-trigger.active span {
  background-color: #fff;
}
.menu-trigger span:nth-of-type(1) { top: 0; }
.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(12px) rotate(-45deg);
}
.menu-trigger span:nth-of-type(2) { top: 12px; }
.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}
.menu-trigger span:nth-of-type(3) { bottom: 0; }
.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

/* スマホ用ドロワーメニューの初期状態（画面の外に隠す） */
header #top_head + .sp + nav,
header nav:not(.footer-nav) {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  padding-top: 100px;
  background-color: #43b8f4;
  opacity: 0.9;
  z-index: 800;
  transform: translate(-250px);
  transition: all .5s;
}

/* JSで.openクラスがついたら画面内に引っ張り出す */
header nav:not(.footer-nav).open {
  transform: translate(0);
}

nav ul {
  height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
::-webkit-scrollbar {
  width: 0px;
}
nav li {
  width: 100%;
  color: #fff;
  text-align: left;
  padding: 10px 0;
}
.nav_item a {
  color: #fff;
}
.nav_item a:hover {
  color: #008d0c;
}
.nav_item a:active {
  color: #008d0c;
}

/* メニュー */
.wrapper {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}

/* SEO・アクセシビリティ用の非表示見出し */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   メイン画像枠
   ========================================================================== */
.main {
  position: relative;
  width: 100%;
  height: 92vh;
  margin-top: 50px;
  margin-bottom: 30px;
  overflow: hidden;
  box-sizing: border-box;
}
.main.pc { display: block; }
.main.sp { display: none; }

.main img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center center !important;
}

/* 固定ボタンの基本スタイル（お問い合わせ＆お申し込み共通） */
.booking {
  position: absolute;
  top: 0;
  right: 20px;                     /* お問い合わせの位置 */
  width: 140px;                    /* ボタンの横幅 */
  height: 50px;                    /* ボタンの高さ */
  background-color: #43b8f4;       /* お問い合わせの背景色 */
  color: #ffffff;
  z-index: 699;
  border-radius: 0 0 8px 8px;      /* 下側の角丸 */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;                 /* 文字サイズ */
  font-weight: bold;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

/* お問い合わせボタンのホバー色 */
.booking:hover {
  background-color: #2285ff;
}

/* 画像（img）がある場合のサイズ指定 */
.booking img {
  width: 20px;
  height: auto;
  margin-right: 6px;
}

/* ------------------------------------------
   お申し込みボタン用の個別設定
   ------------------------------------------ */

/* お申し込みボタンの表示位置と背景色 */
.booking.booking-apply {
  right: 160px;                    /* ★ 右からの距離（20px + 横幅140px = ぴったり隣接） */
  background-color: #b57edc;       /* お申し込みボタンの背景色（オレンジ） */
}

/* お申し込みボタンのホバー色 */
.booking.booking-apply:hover {
  background-color: #9333ea;
}

#top_head {
  z-index: 890;
}
#menu_frame {
  position: absolute;
  z-index: 890;
  margin-top: 25px;
}
.logo img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 400;
}
.linkcolor-white a:link {
  text-decoration: none;
  color: #fff;
}
.linkcolor-white a:visited {
  text-decoration: none;
  color: #fff;
}
.linkcolor-white a:hover {
  text-decoration: none;
  color: #fff;
}
.linkcolor-white a:active {
  text-decoration: none;
  color: #fff;
}
.linkcolor a:link {
  text-decoration: none;
}
.linkcolor a:visited {
  text-decoration: none;
}
.linkcolor a:hover {
  text-decoration: none;
  color: #43b8f4;
}
.linkcolor a:active {
  text-decoration: none;
  color: #43b8f4;
}

/* logo fadein */
.fadein_logo {
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
  0% { opacity: 0 }
  100% { opacity: 1 }
}
@-webkit-keyframes fadeIn {
  0% { opacity: 0 }
  100% { opacity: 1 }
}

/* ==========================================================================
   crossFader
   ========================================================================== */
.crossfader {
  position: relative;
  width: 100%;
  height: 100%;
}
.crossfader img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8;
  opacity: 0;
  cursor: pointer;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
.crossfader .active {
  z-index: 10;
  opacity: 1.0;
}
.crossfader .last-active {
  z-index: 9;
}
.crossfader .startBtn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 100;
}
.crossfader .startBtn a {
  display: block;
  padding: 3px 8px;
  background-color: #FFF;
}

.scroll {
  text-align: center;
  z-index: 100;
}
.blinking {
  -webkit-animation: blink 1.5s ease-in-out infinite alternate;
  -moz-animation: blink 1.5s ease-in-out infinite alternate;
  animation: blink 1.5s ease-in-out infinite alternate;
}
@-webkit-keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@-moz-keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes blink {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* ==========================================================================
   onayami（おなやみエリア）
   ========================================================================== */
.grey_container {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 30px 40px;
  background-color: #f8f4eb;
  border-radius: 0;
  text-align: center;
  position: relative;
  margin-top: 180px;
}
.grey_container::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(../img/bg_onayami_top.png) no-repeat center bottom;
  background-size: 100% 100%;
}
.grey_container::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url(../img/bg_onayami_btm.png) no-repeat center top;
  background-size: 100% 100%;
}
.c_title {
  margin: 0 0 20px 0;
}

.onayami-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 30px 80px;
  align-items: center;
}
.onayami-item {
  width: calc((100% - 80px) / 3);
  box-sizing: border-box;
}
.text-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 20px;
  height: 140px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.text-card p {
  font-weight: bold;
  font-size: 18px;
  margin: 0;
  line-height: 1.5;
}
.image-only {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}
.image-only img {
  width: 50%;
  height: auto;
  object-fit: contain;
  display: block;
}

.text-purple { color: #b56fc2; }
.text-pink   { color: #ef69a4; }
.text-orange { color: #f3984d; }
.text-green  { color: #43b56c; }
.text-blue   { color: #6282e7; }

.btn_box {
  width: 30%;
  margin: 80px auto 50px;
  background-color: #43b8f4;
  font-size: 20px;
  font-weight: bold;
  padding: 20px 0;
  color: white;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn_box:hover {
  background-color: #2285ff;
}

/* ==========================================================================
   dekirukoto（できることエリア）
   ========================================================================== */
.dekirukoto_conteiner {
  margin-top: 350px;
  text-align: center;
}
.dekirukoto-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 40px;
  max-width: 1200px;
  margin: 50px auto 0;
}
.dekirukoto-text {
  flex: 2;
  text-align: left;
}
.dekirukoto-text p {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.dekirukoto-text p:last-child {
  margin-bottom: 0;
}
.dekirukoto-image {
  flex: 3;
  display: flex;
  justify-content: flex-end;
}
.dekirukoto-image img {
  width: 95%;
  height: auto;
  display: block;
  border-radius: 24px;
}

@media (max-width: 768px) {
  .dekirukoto-container {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }
  .dekirukoto-text {
    width: 100%;
  }
  .dekirukoto-image {
    width: 100%;
    justify-content: center;
  }
  .dekirukoto-image img {
    width: 100%;
  }
}

/* ==========================================================================
   flow（ご利用の流れエリア）
   ========================================================================== */
.step-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.step-item {
  width: calc((100% - 80px) / 3);
  box-sizing: border-box;
  text-align: left;
  position: relative;
}
.step-item:not(:nth-child(3n))::after {
  content: "→";
  position: absolute;
  top: 70px;
  right: -30px;
  font-size: 28px;
  color: #aaaaaa;
  font-weight: 300;
}
.step-image-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}
.step-image-wrap img {
  width: 90%;
  height: auto;
  display: block;
  border-radius: 40px 100px 40px 100px;
}
.step-image-wrap.no-shape img {
  border-radius: 0;
  width: 65%;
  margin: 0 auto;
}
.step-number {
  position: absolute;
  top: 2px;
  left: 0px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.step-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.step-desc {
  font-size: 15px;
  color: #333333;
  margin: 0;
  line-height: 1.6;
}

.num-purple { background-color: #b56fc2; }
.num-pink   { background-color: #ef69a4; }
.num-orange { background-color: #f3984d; }
.num-green  { background-color: #43b56c; }
.num-blue   { background-color: #6282e7; }
.text-dark   { color: #333333; }
.goal-item { text-align: center; }


/* ========================================
   運用の流れ：スクロール時のフェードイン
======================================== */

/* 表示前の状態 */
body.flow-motion-ready .flow_item,
body.flow-motion-ready .flow_icon,
body.flow-motion-ready .flow_arrow {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
body.flow-motion-ready .flow_item.is-visible,
body.flow-motion-ready .flow_icon.is-visible,
body.flow-motion-ready .flow_arrow.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.flow-motion-ready .flow_item,
  body.flow-motion-ready .flow_icon,
  body.flow-motion-ready .flow_arrow {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ==========================================================================
   partners（販売パートナーズ）
   ========================================================================== */
.banner-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
  document-box: border-box;
}
.banner-grid-item {
  width: calc((100% - 80px) / 3);
  box-sizing: border-box;
}
.banner-grid-item a {
  display: block;
  width: 100%;
}
.banner-grid-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.banner-grid-item a:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .banner-grid-container {
    padding: 40px 20px;
    gap: 20px;
  }
  .banner-grid-item {
    width: 100%;
  }
}

/* ========================================
   トップ：お悩みエリアのふわっと表示
======================================== */

/* 女性イラスト */
body.top-onayami-motion-ready .onayami-item.image-only {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* お悩みカード */
body.top-onayami-motion-ready .onayami-item.text-card {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* 表示された状態 */
body.top-onayami-motion-ready .onayami-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* カードを少しずつ表示 */
body.top-onayami-motion-ready .onayami-item.text-card:nth-child(2) {
  transition-delay: 0.3s;
}

body.top-onayami-motion-ready .onayami-item.text-card:nth-child(3) {
  transition-delay: 0.6s;
}

body.top-onayami-motion-ready .onayami-item.text-card:nth-child(4) {
  transition-delay: 0.9s;
}

body.top-onayami-motion-ready .onayami-item.text-card:nth-child(5) {
  transition-delay: 1.2s;
}

body.top-onayami-motion-ready .onayami-item.text-card:nth-child(6) {
  transition-delay: 1.5s;
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.top-onayami-motion-ready .onayami-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   トップ：みんなえがおができること
   下からふわっと表示
======================================== */

body.top-dekirukoto-motion-ready .dekirukoto-text,
body.top-dekirukoto-motion-ready .dekirukoto-image {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

body.top-dekirukoto-motion-ready .dekirukoto-text.is-visible,
body.top-dekirukoto-motion-ready .dekirukoto-image.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.top-dekirukoto-motion-ready .dekirukoto-text,
  body.top-dekirukoto-motion-ready .dekirukoto-image {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   トップ：ご利用の流れ
   STEPを順番にふわっと表示
======================================== */

body.top-flow-motion-ready .step-item {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

/* 表示された状態 */
body.top-flow-motion-ready .step-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* STEPごとに少しずつ時間差 */
body.top-flow-motion-ready .step-item:nth-child(1) {
  transition-delay: 0s;
}

body.top-flow-motion-ready .step-item:nth-child(2) {
  transition-delay: 0.35s;
}

body.top-flow-motion-ready .step-item:nth-child(3) {
  transition-delay: 0.7s;
}

body.top-flow-motion-ready .step-item:nth-child(4) {
  transition-delay: 1.0s;
}

body.top-flow-motion-ready .step-item:nth-child(5) {
  transition-delay: 1.35s;
}

body.top-flow-motion-ready .step-item:nth-child(6) {
  transition-delay: 1.7s;
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.top-flow-motion-ready .step-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   video （動画エリア）
   ========================================================================== */
/* 動画ページ共通のスタイル */
.video-list {
    display: flex;
    flex-direction: column;
    gap: 40px; /* PC/SP共通の動画間の余白 */
    width: 100%;
}

.video-item {
    width: 100%;
    /* ここに背景画像を指定するか、共通の背景用クラスを作ると便利です */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 3%; /* 動画と背景の余白をパーセントで指定すると柔軟です */
}

/* 動画の比率維持 */
.video-player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    background-color: #f0f0f0;
}
.video-player iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}
.page-title {
    text-align: center;
    margin-bottom: 40px;
}

/* ==========================================================================
   service(サービス詳細）
   ========================================================================== */

.sub_main{
  margin-top: 50px;
  position: relative;
  display: block;
  width: 100%;
}
/* 画像が親要素からはみ出ないように設定（レスポンシブ対応） */
.sub_main img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* 画像の上に重ねるテキストのスタイル */
.img_text {
  position: absolute;
  top: 55%;
  left: 10%;
  transform: translateY(-50%); /* 中央寄せ */
  /* 見映えの調整（デザインに合わせて変更してください） */
  color: #ffffff;             /* 文字色 */
  font-weight: 900;          /* 太字 */
  white-space: nowrap;        /* 折り返し防止 */
  text-shadow: 0px 0px 9px rgba(0, 0, 0, 0.8); /* 可読性を高める影 */
}
.conteiner_center{
  text-align: center;
}
.container-top-margin{
  margin-top: 90px;
}
/* タイトル下の余白設定（必要に応じて調整してください） */
.c_title {
  text-align: center;
  margin-bottom: 50px;
}

/* カード全体の基本設定 */
.merit_item {
  display: flex;
  align-items: center; /* 上下中央揃え */
  justify-content: space-between;
  gap: 40px; /* 画像とテキストの間の余白 */
  margin-bottom: 100px; /* カード同士の縦方向の間隔 */
}

/* 画像とテキストの幅を均等に設定 */
.merit_img, .merit_text {
  flex: 1;
}
.merit_text{
  text-align: left;
}

/* 1. 画像が左にある時：テキストの「左側」の余白を大きく（例: 80px） */
.merit_item .merit_text {
  padding-left: 20px;
  padding-right: 150px;
}

/* 2. 画像が右にある時（reverse）：テキストの「右側」の余白を大きく（例: 80px） */
.merit_item.reverse .merit_text {
  padding-left: 150px;
  padding-right: 20px;
}

.merit_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ★画像が右にくるパターンの指定 */
.merit_item.reverse {
  flex-direction: row-reverse; /* 並び順を反転させて右側に画像を配置 */
}

/* 親要素の基準枠設定 */
.family_inner {
  position: relative;
  width: 100%;
  margin: 300px auto 0;
}

/* 画像への指定（これならクラス名が無くても確実に効きます！） */
.family_inner img {
  width: 100%;
  height: auto;
  display: block;
}

/* 重ねる要素全体の位置（画像上の中央寄り配置） */
.family_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央寄せ */
  width: 90%; /* レスポンシブ用のはみ出し防止 */
  text-align: center;
}

/* 半透明の白いカード（すりガラス風） */
.family_card {
  background: rgba(255, 255, 255, 0.55); /* 白色の75%透過 */
  border-radius: 40px;                    /* 角を大きく丸く */
  padding: 80px 30px;
  margin: 50px 10% 0;
  backdrop-filter: blur(4px);             /* 後ろの画像をほんのりぼかす高級感演出 */
}

/* ========================================
   サービス：メリット画像のスライドイン
======================================== */

/* 表示前の状態：左側の画像 */
body.service-motion-ready .merit_item:not(.reverse) .merit_img {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示前の状態：右側の画像 */
body.service-motion-ready .merit_item.reverse .merit_img {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
body.service-motion-ready .merit_item .merit_img.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.service-motion-ready .merit_img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   サービス：メリット文章のふわっと表示
======================================== */

body.service-motion-ready .merit_item .merit_text {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
body.service-motion-ready .merit_item .merit_text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.service-motion-ready .merit_item .merit_text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========================================
   私たちの想い：白いボックスのふわっと表示
======================================== */

body.thought-motion-ready .thought-box {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

body.thought-motion-ready .thought-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  body.thought-motion-ready .thought-box {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* お悩みカード全体のレイアウト */
.trouble_item {
  display: flex;
  align-items: center; /* 上下中央揃え */
  gap: 50px;           /* 画像とテキストの間の余白 */
  margin-top: 150px; /* カード同士の縦幅 */
}

/* 画像とテキストの幅比率 */
.trouble_img {
  flex: 0 0 45%; /* 画像エリアを45%幅に固定 */
}

.trouble_text {
  flex: 1; /* 残りの横幅をいっぱいに使う */
  text-align: left;
}

.trouble_img img {
  width: 90%;
  height: auto;
  display: block;
}

/* テキスト装飾 */
.trouble_text h3 {
  margin-bottom: 10px;
}

/* 太字のリード文 */
.trouble_text .lead_text {
  font-weight: bold;
  color: #333333;
  margin-bottom: 15px;
  line-height: 1.6;
}

/* 説明本文 */
.trouble_text p {
  color: #666666;
  line-height: 1.8;
}

/* フローカード全体のスタイル */
.flow_item {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #e6f4fc; /* 薄い水色の背景 */
  border-radius: 20px;       /* 外枠の角丸 */
  padding: 40px;
  margin-bottom: 70px;      /* 矢印が入るための下余白 */
  gap: 40px;
}

/* 画像とテキストの比率 */
.flow_img {
  flex: 0 0 40%;
}

.flow_img img {
  width: 100%;
  height: auto;
  display: block;
}

.flow_text {
  flex: 1;
  text-align: left;
}

/* ナンバリング（01, 02...） */
.flow_num {
  margin-bottom: 8px;
}

.flow_text p {
  color: #555555;
  line-height: 1.7;
}

/* 最後のニコちゃんアイコン */
.flow_icon {
  text-align: center;
  margin-top: 30px;
}

.flow_icon img {
  width: 180px;
  height: auto;
  margin: 0 auto 10px;
}

.flow_icon p {
  font-weight: bold;
  color: #333333;
}

/* 矢印画像のブロック設定 */
.flow_arrow {
  text-align: center;   /* 中央寄せ */
  margin: 30px 0;       /* 上下の余白調整（カードとの距離） */
}

.flow_arrow img {
  width: 40px;          /* 矢印の横幅（デザインに合わせて変更してください） */
  height: auto;
  display: inline-block;
}


/* ========================================
   業務でのお悩み：スクロール時のフェードイン
======================================== */

/* 表示前の状態 */
body.worries-motion-ready .trouble_item {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
body.worries-motion-ready .trouble_item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.worries-motion-ready .trouble_item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 表示前の状態 */
body.worries-family-motion-ready .family_content {
  opacity: 0;
  transform: translate(-50%, calc(-50% + 20px));
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
body.worries-family-motion-ready .family_content.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%);
}

/* 動きを控えたい方への配慮 */
@media (prefers-reduced-motion: reduce) {
  body.worries-family-motion-ready .family_content {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: none;
  }
}


/* ==========================================================================
   bg_footer（フッターエリア）
   ========================================================================== */
.bg_footer {
  background-color: #bde6fa;
  padding: 100px 40px 0px 40px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 150px;
  border: none !important;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 50px auto;
  gap: 30px;
  border: none !important;
}
.footer-logo {
  flex: 1;
}
.footer-logo img {
  max-width: 220px;
  height: auto;
  display: block;
  border: none !important;
}
.footer-nav {
  flex: 2;
  position: static !important;
  width: auto !important;
  height: auto !important;
  background-color: transparent !important;
  padding-top: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  border: none !important;
}
.footer-menu-list {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  gap: 20px 0;
  list-style: none;
  border: none !important;
}

.footer-menu-list li {
  width: 25%; /* 通常要素は4列 */
  box-sizing: border-box;
  padding: 0 10px;
  border: none !important;
}

/* ★長文要素だけ横幅を50%（2列分）に拡張 */
.footer-menu-list li.is-wide {
  width: 50%;
}

.footer-menu-list a {
  color: #333333 !important;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none !important;
  border: none !important;
  font-weight: normal;
  display: block;
}

.footer-menu-list a:hover {
  color: #2285ff !important;
}

/* ★変更点：ボタンエリアを縦並び（column）にし、幅を揃える */
.footer-btn-wrap {
  flex: 1;
  display: flex;
  flex-direction: column; /* 2つのボタンを縦に並べる */
  align-items: flex-end;   /* 右寄せ */
  gap: 12px;               /* ボタン同士の間隔 */
  border: none !important;
}

/* ★変更点：ボタン共通設定（幅を揃えて統一感を出す） */
.footer-booking {
  background-color: #43b8f4;
  color: #ffffff !important;
  font-size: 16px;         /* 2つ並ぶため少しスッキリしたサイズに調整 */
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: background-color 0.3s;
  white-space: nowrap;
  border: none !important;
  width: 200px;            /* 幅を固定して2つのボタンの長さを揃える */
  box-sizing: border-box;
}

.footer-booking:hover {
  background-color: #2285ff;
}

/* ★お申し込みボタン（色を変えて目立たせる場合設定） */
.footer-booking.footer-apply {
  background-color: #b57edc; /* 例: オレンジ系（水色にする場合はこの指定を削除OK） */
}
.footer-booking.footer-apply:hover {
  background-color: #9333ea;
}

.footer-booking img {
  width: 22px;
  height: auto;
  margin-right: 8px;
  border: none !important;
}

.footer-copyright {
  text-align: center;
  padding-top: 100px;
}
.footer-copyright p {
  font-size: 14px;
  color: #333333;
  margin: 0;
  letter-spacing: 0.05em;
}

/* スマホ・タブレット対応 */
@media (max-width: 750px) {
  .bg_footer {
    padding: 100px 20px 0px 20px;
    margin-top: 80px;
  }
  .footer-inner {
    flex-direction: column;
    gap: 35px;
    margin-bottom: 35px;
    text-align: center;
  }
  .footer-logo img {
    max-width: 180px;
    margin: 0 auto;
  }
  .footer-nav {
    width: 100% !important;
  }
  .footer-menu-list li,
  .footer-menu-list li.is-wide {
    width: 50%;
    text-align: left;
    padding: 0 15px;
  }
  .footer-menu-list a {
    font-size: 13px;
    white-space: nowrap;
  }
  .footer-btn-wrap {
    width: 100%;
    align-items: center; /* スマホ時は中央寄せ */
  }
  .footer-booking {
    width: 85%; /* スマホ時は大きく表示 */
    font-size: 16px;
    padding: 12px 20px;
  }
  .footer-booking img {
    width: 20px;
    margin-right: 8px;
  }
  .footer-copyright {
    padding-top: 100px;
  }
  .footer-copyright p {
    font-size: 12px;
  }
}

/* ポップアップを確実に非表示にする */
#video_popup.popup-hidden {
  display: none !important;
}

/* ==========================================================================
   page top（ページトップボタン）
   ========================================================================== */
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 80%;
  z-index: 200;
}
#page-top a {
  display: block;
  background: #666;
  color: #fff;
  padding: 3px 10px;
  text-align: center;
  text-decoration: none;
}
#page-top a:hover {
  background: #999;
  text-decoration: none;
}