@charset "UTF-8";
/* CSS Document */

/* ==========================================================================
   Display Utilities (表示切り替えユーティリティ)
   ========================================================================== */
.pc {
  display: block !important;
}
.tb {
  display: none !important;
}
.pctb {
  display: block !important; /* 💡タブレット版ではPC用スライダーブロックを完全に非表示 */
}
.tbsp{
  display: none !important;
}
.sp {
  display: none !important;
}

.fader_pc {
  display: block !important;
}

.fader_sp {
  display: none !important;
}

/* ==========================================================================
   Base Typography (基本タイポグラフィ)
   ========================================================================== */
h1 {
  font-size: 30px;
}

h2 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.5em;
}

h3 {
  font-size: 18px;
}

/* ==========================================================================
   Layout Container (共通コンテナ)
   ========================================================================== */
.inner {
  max-width: 1150px; /* 最大1150pxだけど */
  width: 100%;       /* それより小さいノートPC画面なら、画面幅にスッと縮む */
  position: relative;
  margin: 0 auto;
}

/* ==========================================================================
   Header Navigation (ヘッダーナビゲーション)
   ========================================================================== */
/* 1. リストの親玉（ul）を横並びにして、上下中央で綺麗に揃える */
#menu_frame ul {
  display: flex;
  align-items: center; /* ロゴと文字の上下中央をピタッと揃える */
  list-style: none;    /* 念のため黒丸を非表示にする */
  padding: 0;
  margin: 0;
}

/* 2. 各メニュー（li）の左右の隙間（今までの45pxをここに統合） */
#menu_frame li {
  padding: 0 20px;     /* 今までの「横のゆとり」をそのままキープ */
}

/* 3. リンク（a）の内側も高さを綺麗に揃える */
#menu_frame ul li a {
  display: flex;
  align-items: center;
  text-decoration: none; /* リンクの下線を消す */
}

/* 4. ロゴ画像の高さを自動調整にする */
#menu_frame ul li a img {
  display: block;
  height: auto;
}

.booking {
  padding: 15px 0;
  text-align: center;
}

/* logo */
.scroll {
  margin-top: 80px;
  font-size: 16px;
  letter-spacing: 0.1em;
}

.scroll_arrow {
  margin: 5px;
}

.scroll_top {
  margin-top: 0px;
  position: absolute;
  top: 80px;
  width: 100%;
  font-size: 16px;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Main Visual (メインビジュアル)
   ========================================================================== */
/* ※Main Visualセクションの指定 */

/* ==========================================================================
   Trouble Section (おなやみエリア)
   ========================================================================== */
.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: 220px;
}

.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: 100px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.text-card p {
  font-weight: bold;
  font-size: 20px;
  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;
}

.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;
}

/* ==========================================================================
   Our Thought Section (私たちの想い)
   ========================================================================== */
/* ① 一番下のレイヤー：空の背景 */
.thought-section {
  width: 100% !important;
  margin-top: 300px !important;
  margin-bottom: 0 !important;
  background: url('../img/bg_sky.png') no-repeat center top !important;
  background-size: cover !important;
  position: relative;
  z-index: 1;
  /* 💡余計な横幅制限をすべて撤廃し、純粋に1350pxの比率にだけ合わせました。
     これで今まで通り、画面幅に合わせて綺麗に拡大縮小します！ */
  padding-bottom: 0 !important;
  height: auto !important;
  aspect-ratio: 1920 / 1350 !important;
}

/* ② 中央のレイヤー：白い文字枠の配置エリア */
.thought-inner {
  max-width: 1150px;
  margin: 0 auto !important;
  /* 💡ご希望通りの15%設定です */
  padding-top: 15% !important;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

/* 白いカード本体 */
.thought-box {
  background-color: #ffffff !important;
  border-radius: 80px !important;
  padding: 80px 40px 120px 40px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ③ 一番上のレイヤー：ハートの手（空と100%完全同期） */
.thought-hands-layer {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  /* 💡ここも元のうまくいっていた「height: auto」に戻しました */
  height: auto !important;
  object-fit: cover !important;
  object-position: center top !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  pointer-events: none;
  z-index: 10 !important;
}

/* タイトル等の微調整 */
.thought-title {
  margin-bottom: 40px !important;
}

/* ==========================================================================
   Can Do Section (できることエリア)
   ========================================================================== */
.dekirukoto_conteiner {
  margin-top: 300px;
  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;
}

/* ==========================================================================
   Flow Section (ご利用の流れ：5ステップ)
   ========================================================================== */
.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;
}

.goal-item {
  text-align: center;
}

/* ==========================================================================
   Partners Section (販売パートナーズ)
   ========================================================================== */
.banner-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.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);
}

/* ==========================================================================
   video (動画)
   ========================================================================== */
.video-item {
    max-width: 1000px; /* PCでの動画最大幅 */
    margin: 0 auto 80px auto;
    padding: 120px;    /* あしらい画像を表示するための余白 */
    background-image: url('../img/bg_video_pc.png'); /* 制作後にパスを入れ替えてください */
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.page-video {
    padding-top: 150px;
}

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

.sub_marign_top{
  margin-top:180px;
}
.conteiner_center{
  text-align: center;
}

/* ==========================================================================
   Footer (フッター)
   ========================================================================== */
.bg_footer {
  background-color: #bde6fa;
  padding: 100px 40px 0px 40px;
  width: 100%;
  box-sizing: border-box;
  margin-top: 300px;
  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.5; /* 💡ゆとりを持たせた調整版 */
  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: 15px 0;
  border: none !important;
}

.footer-menu-list li {
  width: 25%;
  box-sizing: border-box;
  padding: 0 10px;
  border: none !important;
}

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

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

.footer-btn-wrap {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  border: none !important;
}

.footer-booking {
  background-color: #43b8f4;
  color: #ffffff !important;
  font-size: 20px;
  font-weight: bold;
  padding: 15px 35px;
  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;
}

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

.footer-booking img {
  width: 28px;
  height: auto;
  margin-right: 12px;
  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;
}

/* ==========================================================================
   Video Popup Banner (PC用：動画ポップアップバナーの配置)
   ========================================================================== */
#video_popup {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 25%;          /* 💡PC画面での横幅サイズ（お好みで調整してください） */
  max-width: 380px;
  z-index: 900;
  line-height: 1;
}

#video_popup .pc { display: block !important; width: 100%; height: auto; }
#video_popup .sp { display: none !important; }

/* PC用のクローズボタン（×）の位置合わせ */
#video_popup .popup_close {
  position: absolute;
  top: 10px;           /* 💡PC版イメージの「close ×」の位置に合わせて調整 */
  left: 220px;         /* 画像内の「close ×」の背景があるあたりに重ねる */
  background-color: rgba(239, 83, 80, 0.9);
  color: #fff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

#video_popup .popup_close:hover {
  opacity: 0.8;
}

.right {
  margin-right: 0px;
}
