/*
Theme Name: Hello Child
Theme URI: https://example.com/
Description: Child theme for Hello Elementor
Author: kawabune
Template: hello-elementor
Version: 1.4
*/

/* ===============================
   全体設定（ベースフォント）
   =============================== */
body {
  font-family: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  margin: 0;
  padding-top: 90px; /* ヘッダー分の余白を確保 */
}

/* リンクの基本挙動 */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===============================
   Elementor基礎設定
   =============================== */
a img {
  border: none;
}

.elementor a,
.elementor-button,
.elementor-nav-menu a {
  color: inherit;
  background: none;
  border: none;
  box-shadow: none;
}

.elementor-button {
  border-radius: 20px;
  padding: 8px 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.elementor-nav-menu a {
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* スマホ時レスポンシブ調整 */
@media (max-width: 768px) {
  .elementor-button {
    padding: 6px 14px;
    font-size: 14px;
  }
}

/* ===== モバイルメニュー調整 ===== */
.elementor-nav-menu--dropdown,
.elementor-nav-menu__container {
  background: #fff;
  padding: 32px 24px;
}

.elementor-nav-menu--dropdown a {
  color: #222;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}

/* 英語・予約ボタン */
.elementor-nav-menu--dropdown .menu-item.btn-reserve > a,
.elementor-nav-menu--dropdown .menu-item.btn-english > a {
  display: block;
  text-align: center;
  border-radius: 12px;
  margin: 20px 0 0;
  color: #fff;
  font-weight: 700;
  padding: 14px 0;
}

.elementor-nav-menu--dropdown .menu-item.btn-reserve > a {
  background: #f37021;
}

.elementor-nav-menu--dropdown .menu-item.btn-english > a {
  background: #333;
}

.elementor-menu-toggle {
  font-size: 28px !important;
}

/* ===============================
   スクロール追従ヘッダー
   =============================== */
body.scrolled #site-header,
body.scrolled #mobile-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

/* ===============================
   タブレット・スマホでPCヘッダー非表示
   =============================== */
@media (max-width: 1025px) {
.header-desktop{
    display:none !important;
}

  body .elementor.elementor-1084 {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
  }

  body {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

/* ===============================
   お知らせ（トップセクション）
   =============================== */
.elementor .section-news {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px;
  border: 2px solid #d33;
  border-radius: 8px;
  background: #fffdfd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.elementor .news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.elementor .news-label {
  background: #fff0f0;
  color: #d33;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.elementor .news-date {
  color: #666;
  font-size: 14px;
}

.elementor .news-title {
  font-size: 24px;
  margin: 10px 0 12px;
  line-height: 1.5;
  font-weight: 700;
  color: #111;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.elementor .news-content {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #333;
}

.elementor .news-english {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
}

.elementor .en-title {
  font-size: 18px;
  font-weight: 600;
  color: #d33;
  margin-bottom: 6px;
}

.elementor .en-content {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .elementor .section-news { padding: 24px; }
  .elementor .news-title { font-size: 20px; }
  .elementor .en-title { font-size: 16px; }
}
/* =========================================
   Section 2: アクティビティ紹介（背景あり）
   ========================================= */

/* 背景ブロック（親ラッパー） */
.section-activity-bg {
  background-color: #f8fafc; /* 淡い青グレーで清潔感 */
  padding: 100px 0;
  border-top: 1px solid #e5e9ec;
  border-bottom: 1px solid #e5e9ec;
}

/* コンテンツエリア */
.section-activity {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

/* 各行（activity-row） */
.section-activity .activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* 画像ブロック */
.section-activity .activity-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* テキストブロック */
.section-activity .activity-text h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
  color: #111;
}

.section-activity .activity-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 24px;
}

/* ボタン */
.section-activity .elementor-button {
  background-color: #1b5b9b;
  color: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.section-activity .elementor-button:hover {
  background-color: #154b83;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .section-activity-bg {
    padding: 60px 0;
  }

  .section-activity .activity-row {
    flex-direction: column;
    gap: 30px;
  }

  .section-activity .activity-text h2 {
    font-size: 22px;
  }

  .section-activity .activity-text p {
    font-size: 15px;
  }
}
/* ===== Section2：アクティビティ画像調整（改良版） ===== */
.section-activity .activity-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: center center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 90%; /* ← PC時のトリミング感アップ */
  margin: 0 auto;
  display: block;
}

/* タブレットサイズ：ちょうどいい高さキープ */
@media (max-width: 1024px) {
  .section-activity .activity-media img {
    height: 300px;
    max-width: 95%;
  }
}

/* スマホサイズ：幅広すぎ防止＋上下余白調整 */
@media (max-width: 768px) {
  .section-activity .activity-media img {
    height: 240px;
    max-width: 90%;
    margin-top: 16px;
    margin-bottom: 16px;
  }
}
/* ===== スマホ時：ボタンを画像の下に移動（Elementor Flex対応版） ===== */
@media (max-width: 768px) {

  /* 横並びを縦並びに変更 */
  .section-activity .activity-row {
    flex-direction: column !important;
  }

  /* activity-text 内の順序制御（強制上書き） */
  .section-activity .activity-text {
    display: flex !important;
    flex-direction: column !important;
  }

  .section-activity .activity-text .elementor-widget-heading {
    order: 1 !important;
  }

  .section-activity .activity-text .elementor-widget-text-editor {
    order: 2 !important;
  }

  .section-activity .activity-media {
    order: 3 !important;
  }

  .section-activity .activity-text .elementor-widget-button {
    order: 4 !important;
  }

  /* ボタンの中央揃え＋マージン調整 */
  .section-activity .activity-text .elementor-widget-button .elementor-button-wrapper {
    text-align: center !important;
  }

  .section-activity .activity-text .elementor-widget-button {
    margin-top: 16px !important;
  }
}
.section-activity .activity-text [style*="--flex-order"] {
  order: unset !important;
}

/* ===============================
   Section 3: Figma最終調整版
================================ */

/* 背景 */
.section-table-bg {
  background-color: #ffffff;
  padding: 100px 0;
}

/* 「時刻表」「料金」見出し */
.section-timetable h4,
.section-pricetable h4 {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin-bottom: 18px;
}

/* テーブル全体共通 */
.section-timetable table,
.section-pricetable table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #E1E6EB;
  background-color: #fff;
  margin: 0 auto 10px;
}

/* ヘッダー行 */
.section-timetable th,
.section-pricetable th {
  background-color: #D8F4F7;
  color: #222;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
  border: 1px solid #D8E3E8;
}

/* 通常セル */
.section-timetable td,
.section-pricetable td {
  border: 1px solid #E1E6EB;
  color: #333;
  font-size: 14px;
  text-align: center;
  padding: 10px;
  background-color: #fff;
}

/* 行の色交互パターン（Figmaに合わせた淡いトーン） */
.section-timetable tr:nth-child(odd) td,
.section-pricetable tr:nth-child(odd) td {
  background-color: #FFFFFF;
}

.section-timetable tr:nth-child(even) td,
.section-pricetable tr:nth-child(even) td {
  background-color: #F3FDFE; /* 淡いグレー */
}

/* 備考 */
.section-pricetable p {
  font-size: 13px;
  color: #666;
  text-align: left;
  margin-top: 5px;
  line-height: 1.6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .section-table-bg {
    padding: 60px 0;
  }
  .section-table-title h2 {
    font-size: 20px;
  }
  .section-table h3 {
    font-size: 18px;
    text-align: center;
  }
  .section-timetable h4,
  .section-pricetable h4 {
    font-size: 16px;
  }
}
/* =========================================
   Section 4: Map（背景あり）
   ========================================= */

/* 背景ブロック（親ラッパー） */
.section-map-bg {
  background-color: #f8fafc; /* 淡い青グレーで清潔感 */
  padding: 100px 0;
  border-top: 1px solid #e5e9ec;
  border-bottom: 1px solid #e5e9ec;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .section-map-bg {
    padding: 60px 0;
  }
  .section-map h2 {
    font-size: 20px;
  }
  .section-map h3 {
    font-size: 9px;
    text-align: center;
  }
}

/* =========================================
   Section 5: FAQ（安定版・Elementor対応）
   ========================================= */

/* 背景ブロック（親ラッパー） */
.section-qa-bg {
  padding: 100px 0;
}

.faq-q, .faq-a {
  position: relative;
  padding-left: 2.4em; /* ラベル分の余白 */
  line-height: 1.8;
}

/* Qエリア */
.faq-q {
  background: #4699C6;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  border-radius: 5px 5px 0 0;
  padding: 14px 20px 14px 2.4em;
  margin: 0;
}

/* Aエリア */
.faq-a {
  background: #fff;
  color: #333;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 5px 5px;
  margin-bottom: 20px;
  font-size: 15px;
  padding: 14px 20px 14px 2.4em;
}

/* ラベル共通（Q, A） */
.faq-q::before,
.faq-a::before {
  position: absolute;
  left: 20px;
  top: 14px;
  font-weight: 700;
  width: 1.5em;
  text-align: center;
}

/* Qのマーク */
.faq-q::before {
  content: "Q.";
  color: #fff;
}

/* Aのマーク */
.faq-a::before {
  content: "A.";
  color: #4699C6;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .faq-q, .faq-a {
    padding-left: 2em;
  }
  .faq-q::before, .faq-a::before {
    left: 14px;
  }
}


/* =========================================
   Footer Section（Elementor 無料版対応）
   ========================================= */
.site-footer2 {
  background-color: #2F3D44;
  color: #fff;
  padding: 60px 0 30px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 40px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 10px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #4699C6;
}

.footer-logo {
  text-align: right;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  filter: brightness(1.1);
}

.footer-copy {
  text-align: right;
  color: #ccc;
  font-size: 13px;
  margin-top: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-logo,
  .footer-copy {
    text-align: center;
  }
  .footer-menu li {
    margin-bottom: 8px;
  }
}

/* =========================================
   Reservation: Section1
   ========================================= */

/* 背景ブロック（親ラッパー） */
.section-reservation-bg {
  background-color: #f8fafc; /* 淡い青グレーで清潔感 */
  padding: 100px 0;
  border-top: 1px solid #e5e9ec;
  border-bottom: 1px solid #e5e9ec;
}

.reservation-row1 {
  background-color: #fff;
}

.reservation-row2 {
  background-color: #fff;
}

/* ===============================
   予約カード全体をクリック可能にする
   =============================== */
.reservation-row1 {
  position: relative; /* 基準位置 */
  cursor: pointer;
}

.reservation-row1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10; /* 他の要素より上に */
  background: transparent;
}

.reservation-row1:hover {
  opacity: 0.95; /* ホバー時に少し暗くする（お好み） */
  transition: all 0.3s ease;
}

/* =============================== 予約カード row2 全体クリック化 =============================== */ .reservation-row2 { position: relative; cursor: pointer; } .reservation-row2::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; background: transparent; } .reservation-row2:hover { opacity: 0.95; transition: all 0.3s ease; }

/* ===============================
   予約フォーム デザイン調整（リクエスト対応）
   =============================== */

/* 背景ブロック（親ラッパー） */
.section-contact-bg {
  padding: 100px 0;
}

/* ① 「(必須)」のオレンジ色を削除 */
.wpcf7-form .required {
  color: inherit !important;
  font-weight: 500;
}

/* ② テキストと入力欄の間を詰める */
.wpcf7-form p {
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ③ 数字入力欄（大人・小人）の調整 */
.wpcf7 input[type="number"] {
  width: 150px; /* 横幅を短くする */
  background: #f2f2f2; /* 他のフィールドと統一 */
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.wpcf7 input[type="number"]:focus {
  background: #fff;
  border: 1px solid #4699c6;
  outline: none;
}

/* ④ テキストエリアの高さを小さくする */
.wpcf7 textarea {
  background: #f2f2f2;
  border: none;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  width: 100%;
  height: 120px; /* ← 高さを調整（元より小さく） */
  resize: vertical; /* 高さ変更はOK */
  box-sizing: border-box;
}

/* ⑤ 送信ボタンを中央寄せに */
.wpcf7 input[type="submit"] {
  display: block;
  margin: 40px auto 0; /* ← autoで中央寄せ */
  background: #f4a62a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.25s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #e0931f;
}

/* ③ ご希望日（date入力欄）も幅を狭く */
.wpcf7 input[type="date"] {
  width: 200px; /* 他のnumber欄と同じくらいに */
  background: #f2f2f2;
  border: none;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* フォーム全体の背景と間隔を維持 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="date"],
.wpcf7 select {
  background: #f2f2f2;
  border: none;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 16px;
  box-sizing: border-box;
}

.wpcf7 input:focus,
.wpcf7 select:focus {
  background: #fff;
  border: 1px solid #4699c6;
  outline: none;
}

/* 共通見出しスタイル */
.section-title {
  position: relative;
  padding-left: 12px; /* ← 左に少し余白をつける */
  font-weight: bold;
}

/* 左の縦線 */
.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.75em;
  width: 4px; /* 線の太さ */
  height: 1.5em; /* 文字の高さとそろえる */
  background-color: #4699C6; /* ← お好きな色に */
  border-radius: 2px; /* 丸みをつけるなら */
}

/* ===============================
   アクティビティ デザイン調整
   =============================== */

/* 左の縦線 */
.section-title2::before {
  content: "";
  position: absolute;
  left: -0.75em;
  top: 0em;
  width: 4px; /* 線の太さ */
  height: 1.5em; /* 文字の高さとそろえる */
  background-color: #4699C6; /* ← お好きな色に */
  border-radius: 2px; /* 丸みをつけるなら */
}

/* ==========================
   カルーセル中央拡大（最終微調整版）
   ========================== */
.activity-img {
  overflow: hidden;
  position: relative;
  max-width: 70%;
  margin: 0 auto;
}

.activity-img .elementor-widget-image-carousel .swiper {
  overflow: visible !important;
}

/* 通常スライド（左右） */
.activity-img .elementor-widget-image-carousel .swiper-slide {
  transform: scale(0.55);
  opacity: 0.4;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform-origin: center center;
}

/* 中央スライド */
.activity-img .elementor-widget-image-carousel .swiper-slide-active {
  transform: scale(1.25);
  opacity: 1;
  z-index: 3;
}

/* 左右のスライド（少し強調） */
.activity-img .elementor-widget-image-carousel .swiper-slide-prev,
.activity-img .elementor-widget-image-carousel .swiper-slide-next {
  transform: scale(0.75);
  opacity: 0.7;
  z-index: 2;
}

/* 画像スムーズに */
.activity-img .elementor-widget-image-carousel .swiper-slide img {
  transition: transform 0.5s ease, opacity 0.5s ease;
  border-radius: 8px;
}

/* 背景ブロック（親ラッパー） */
.activity-bg {
  padding: 50px 0;
}

#site-header,
#mobile-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 99999 !important;
  background: #fff !important;
  transition: all 0.3s ease;
}