@charset "utf-8";

/* ===========================================
基本設定
=========================================== */
figure {
  margin: 0;
}

.text-nowrap {
  white-space: nowrap;
  z-index: 3;
}

.wp-block-group {
  margin-top: 0 !important;
}
.notes_01 {
  padding-left: 1em !important;
  text-indent: -1em !important;
}

/* ===========================================
ボタンスタイル
=========================================== */
.wp-block-button__link {
  color: #333333;
  min-width: 250px;
  padding: 10px 20px;
  background: white;
  box-shadow: 0px 0px 0 #00000026;
  border-radius: 50px;
  border: 3px #333333 solid;
  cursor: pointer;
  transition: all 0.2s ease !important;
  position: relative;
  top: 0;
}

.wp-block-button__link:hover {
  top: 3px;
  box-shadow: 0px 3px 0px #333333;
}

#cta .wp-block-button__link {
  background-color: #feec04;
}

/* ===========================================
ヘッダー
=========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}

header .header-logo {
  z-index: 10000;
}

/* ナビゲーション */
.wp-block-page-list {
  color: #fff;
  gap: 2rem;
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0;
}

.wp-block-page-list a {
  color: #fff;
  text-decoration: none;
}

/* ハンバーガーメニュー */
.wp-block-navigation__responsive-container-close svg,
.wp-block-navigation__responsive-container-open svg {
  fill: white;
}

.wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px 50px;
}

.wp-block-navigation__responsive-container-close {
  background: #024c8b;
  padding: 10px;
}

.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation-item,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-navigation__container,
.wp-block-navigation__responsive-container.is-menu-open
  .wp-block-navigation__responsive-container-content
  .wp-block-page-list {
  align-items: start;
  gap: 40px !important;
}

/* ===========================================
メインコンテンツ
=========================================== */
/* KVセクション */
#kv .text-nowrap .uagb-heading-text {
  background-color: #f9f8f5;
  width: fit-content;
  padding: 5px;
}
#kv .kv-ttl {
  width: auto !important;
}

/* 動画セクション */
#movie iframe {
  width: 900px;
  height: 500px;
  border-radius: 20px;
}

/* Googleマップ */
.uagb-google-map__wrap {
  border-radius: 20px;
  overflow: hidden;
}

.uagb-google-map__iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===========================================
フォーム
=========================================== */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.wpcf7 label {
  display: block;
  margin-bottom: 10px;
}

.wpcf7 .required {
  display: inline-block;
  background-color: #ff7f00;
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  margin-left: 8px;
  line-height: 1.4;
  font-weight: normal;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

/* フォームボタン */
input.wpcf7-submit,
.wpcf7 button {
  min-width: 250px;
  padding: 10px 20px;
  background: white;
  box-shadow: 0px 0px 0 #00000026;
  border-radius: 50px;
  border: 3px #333333 solid;
  cursor: pointer;
  transition: all 0.2s ease !important;
  position: relative;
  top: 0;
  color: #333333;
  display: block;
  margin: 0 auto;
  width: auto;
}
input.wpcf7-submit.wpcf7-submit {
  background-color: #feec04;
}

input.wpcf7-submit.wpcf7-submit:hover,
.wpcf7 button:hover {
  top: 3px;
}

.cf7-form-btn > p {
  display: flex;
  gap: 10px;
}

/* 送信前の無効状態 */
.wpcf7-submit:disabled {
  background-color: #ddd;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  border-color: #888;
}

.wpcf7-submit:disabled:hover {
  top: 0;
  box-shadow: none;
}

/* 確認画面 */
#cf7-confirm {
  padding: 20px;
}

#cf7-confirm p {
  margin-bottom: 10px;
}

/* ===========================================
ホーム固有スタイル
=========================================== */
.home header .header-logo,
.home header .header-tel {
  visibility: hidden;
}

.home #breadclm {
  display: none;
}

/* ===========================================
レスポンシブ設定
=========================================== */
@media all and (max-width: 976px) {
  /* コンテナの幅調整 */
  .wp-block-uagb-container.uagb-block-f3fea54a.wp-block-uagb-container
    > *:not(.wp-block-uagb-column):not(.wp-block-uagb-section):not(
      .uagb-container__shape
    ):not(.uagb-container__video-wrap):not(.uagb-slider-container):not(
      .spectra-container-link-overlay
    ):not(.spectra-image-gallery__control-lightbox):not(
      .wp-block-uagb-lottie
    ):not(.uagb-container-inner-blocks-wrap),
  .wp-block-uagb-container.uagb-block-44a35e96.wp-block-uagb-container
    > *:not(.wp-block-uagb-column):not(.wp-block-uagb-section):not(
      .uagb-container__shape
    ):not(.uagb-container__video-wrap):not(.uagb-slider-container):not(
      .spectra-container-link-overlay
    ):not(.spectra-image-gallery__control-lightbox):not(
      .wp-block-uagb-lottie
    ):not(.uagb-container-inner-blocks-wrap) {
    width: 100% !important;
  }

  .wp-block-navigation__responsive-container.is-menu-open {
    padding: 15px;
  }

  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation-item,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation__container,
  .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-page-list {
    gap: 25px !important;
  }
}

@media all and (max-width: 768px) {
  /* KVセクション */
  #kv .text-nowrap .uagb-heading-text {
    width: auto !important;
  }

  .wp-block-page-list {
    gap: 1rem;
  }

  /* ホーム */
  .home main {
    margin-top: 15px !important;
  }

  /* KV画像 */
  #kv .kv-img {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px) !important;
    height: 80%;
  }

  #kv .kv-img .wp-block-uagb-image {
    height: 100%;
  }

  #kv .kv-img .wp-block-uagb-image img {
    height: 100%;
  }

  /* 動画セクション */
  #movie iframe {
    width: 100%;
    height: auto;
    min-height: 225px;
  }

  /* アクセスセクション */
  #access .uagb-google-map__iframe {
    border-radius: 20px;
  }

  .cf7-form-btn > p {
    flex-wrap: wrap;
    gap: 0;
  }

  /* 追従バナー */
  .floating-banner {
    width: calc(100% - 40px);
    right: 20px;
    transform: none;
    padding: 0 10px;
    height: 50px;
  }

  .floating-banner__text {
    font-size: 16px;
  }

  .floating-banner:hover {
    transform: translateY(-5px);
  }
}

/* ===========================================
追従バナー
=========================================== */
.floating-banner {
  position: fixed;
  right: 20px;
  bottom: 10%;
  transform: none;
  background: url("/wp-content/themes/twentytwentythree-child/img/bg_banner.png")
    no-repeat center center;
  background-size: contain;
  width: 15vw;
  min-width: 150px;
  height: 15vw;
  min-height: 150px;
  padding: 0;
  z-index: 99;
  transition: all 0.3s ease, opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.floating-banner:hover {
  transform: translateY(-5px);
}

.floating-banner__text {
  font-weight: bold;
  font-size: clamp(16px, 2.5vw, 24px);
  text-shadow: -1px -1px 0 #ffffff, 1px -1px 0 #ffffff, -1px 1px 0 #ffffff,
    1px 1px 0 #ffffff;
  color: #333333;
  margin: 0;
  text-align: center;
  line-height: 1.2;
  text-decoration: none;
}

.floating-banner__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background-color: #333333;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translate(30%, -30%);
  transition: all 0.2s ease;
}

.floating-banner__close:hover {
  background-color: #555555;
}

@media all and (max-width: 768px) {
  .floating-banner {
    right: 10px;
    bottom: 50px;
  }

  .floating-banner__close {
    width: 20px;
    height: 20px;
    font-size: 14px;
  }
}

/* reCAPTCHA バッジを非表示にする */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* reCAPTCHA 代替テキスト用のスタイル */
.recaptcha-notice {
  font-size: 12px;
  color: #fff;
  text-align: center;
  background-color: rgba(51, 51, 51, 1);
  padding: 10px;
}

.recaptcha-notice a {
  color: #fff;
}

.recaptcha-notice a:hover {
  text-decoration: underline;
}

/* ===========================================
SNSシェアボタン
=========================================== */
.social-share {
  position: fixed;
  right: 0;
  bottom: 3%;
  z-index: 98;
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  align-items: center;
}

.social-share-toggle {
  width: 40px;
  height: 40px;
  border-radius: 15px 0 0 15px;
  color: #333333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 2;
  order: 2; /* 右側に配置 */
}

.social-share-toggle:hover {
  transform: translateY(-2px);
}

.social-share-container {
  display: flex;
  flex-direction: row; /* 横並びに変更 */
  align-items: center;
  margin-right: 10px; /* 右側の余白 */
  transition: all 0.3s ease;
  overflow: hidden;
  order: 1; /* 左側に配置 */
}

.social-share-container.closed {
  width: 0;
  opacity: 0;
  margin-right: 0;
}

.social-share-container.open {
  width: auto;
  opacity: 1;
}

.social-share-item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px; /* 右側の余白 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.social-share-item:hover {
  transform: translateY(-2px);
}

.social-share-item.instagram {
  background-color: #333333; /* シンプルな色に変更 */
}

.social-share-item.line {
  background-color: #333333; /* シンプルな色に変更 */
}

.social-share-item img {
  width: 24px;
  height: 24px;
}

@media all and (max-width: 768px) {
  .social-share {
    right: 0;
    bottom: 10px;
  }

  .social-share-toggle,
  .social-share-item {
    width: 36px;
    height: 36px;
  }

  .social-share-item {
    margin-right: 8px; /* モバイル用の余白調整 */
  }

  .social-share-item img {
    width: 20px;
    height: 20px;
  }
}
