@charset "UTF-8";

/* ==========================================
   ★ここから追加するブロックのCSS (WP移植エリア)
   ========================================== */

/* ブロック全体の背景や余白 */
.guide {
  background-color: #fff;
  padding: 80px 0;
}

/* インナーコンテナ幅設定 */
.guide__inner {
  position: relative;
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 35px;
  padding-right: 35px;
}

/* 各セクションの余白 */
.guide__section {
  margin-bottom: 70px;
}

.guide__section:last-child {
  margin-bottom: 0;
}

/* 見出し */
.guide__title {
  font-size: 32px;
  font-weight: bold;
  color: #276982;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.05em;
}

/* PCではスマホ用改行を非表示にする */
.guide__br--sp {
  display: none;
}

/* カードグリッドの共通設定 */
.guide__card-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ★各グリッドのカラム幅計算（4列に変更） */
.guide__card-grid--4col .guide__card {
  width: calc((100% - 60px) / 4);
}

.guide__card-grid--3col .guide__card {
  width: calc((100% - 40px) / 3);
}

.guide__card-grid--2col .guide__card {
  width: calc((100% - 20px) / 2);
}

/* カードの共通スタイル */
.guide__card {
  background-color: #fff;
  border: 2px solid #f9e0e4;
  border-radius: 15px;
  padding: 20px 15px;
  display: flex;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    opacity 0.3s ease;
}

/* 店舗カードにマウスを乗せたときの透明度フェード */
.guide__shop .guide__card:hover {
  opacity: 0.7;
}

.guide__card--vertical {
  flex-direction: column;
  text-align: center;
  justify-content: space-between;
}

.guide__card--horizontal {
  flex-direction: row;
  text-align: left;
  align-items: center;
}

/* アイコン・イラストのラッパー */
.guide__illust-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide__illust-wrap img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 店舗アイコンのサイズ */
.guide__icon-wrap {
  height: 60px;
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide__icon-wrap svg,
.guide__icon-wrap img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
}

/* 「簡単3ステップ」のアイコン枠 */
.guide__icon-wrap--large {
  height: 80px;
}

.guide__content-wrap {
  flex: 1;
}

/* 本家予約ボタン風デザイン */
.guide__btn {
  display: block;
  color: #fff;
  background-color: #276982;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  border: none;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(39, 105, 130, 0);
}

/* 本家ボタンのホバーアニメーション */
.guide__btn:hover {
  opacity: 0.8;
}

/* --- セクション1: 行きたい店舗をチェック！ --- */
.guide__shop-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
}

.guide__shop-text {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ★追加：控えめなサブリンクのデザイン */
.guide__sub-link-wrap {
  text-align: center;
  margin-top: 25px;
}

.guide__sub-link {
  display: inline-block;
  font-size: 14px;
  color: #777;
  text-decoration: underline;
  text-decoration-color: #777;
  transition: opacity 0.3s ease;
}

.guide__sub-link:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* --- セクション2: あなたはどっちのスタイルで行く？ --- */
.guide__style .guide__card {
  padding: 30px;
}

.guide__style .guide__illust-wrap {
  width: 120px;
  height: 120px;
  margin-right: 25px;
  flex-shrink: 0;
}

.guide__style-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

.guide__style-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.guide__btn--style {
  display: inline-block;
  width: auto;
  font-size: 12px;
  padding: 10px 20px;
}

/* --- セクション3: はじめての方へ --- */
.guide__steps .guide__card {
  padding: 20px 20px 30px;
}

.guide__card--step {
  position: relative;
  margin-top: 20px;
  padding-top: 35px;
}

.guide__step-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background-color: #e72f71;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 20px;
  font-family: Arial, sans-serif;
  z-index: 1;
}

.guide__icon-wrap--multi {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.guide__icon-wrap--multi img {
  height: 80%;
  width: auto;
}

.guide__icon-text {
  color: #e72f71;
  font-weight: bold;
  font-size: 18px;
}

.guide__step-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.3;
}

.guide__step-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.guide__btn-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

/* --- セクション4: 会員登録 --- */
.guide__card--member {
  padding: 40px;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.guide__title--sp-only {
  display: none;
}

.guide__member-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 5px;
  color: #276982;
}

.guide__title--pc-only {
  display: block;
}

.guide__member-flow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex: 1;
}

.guide__member-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.guide__member-balloon {
  background-color: #e72f71;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 14px;
  border-radius: 20px;
  position: relative;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.guide__member-balloon::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 6px solid #e72f71;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.guide__member-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide__member-icon svg,
.guide__member-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
}

.guide__member-step-text {
  font-size: 10px;
  color: #e72f71;
  font-weight: bold;
  text-align: center;
  line-height: 1.4;
}

.guide__member-arrow {
  width: 0;
  height: 0;
  border-left: 8px solid #e72f71;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  margin-top: 60px;
}

.guide__content-wrap--member {
  flex: 1;
  text-align: center;
}

.guide__member-text {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: bold;
}

.guide__btn--member {
  font-size: 18px;
  padding: 12px 32px;
  display: inline-block;
  width: auto;
}

/* ==========================================
   ★メディアクエリ (スマホ用の調整)
   ========================================== */
@media screen and (max-width: 769px) {
  .guide {
    padding: 60px 0;
  }

  .guide__inner {
    padding-left: 0;
    padding-right: 0;
  }

  .guide__title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  /* スマホの時だけ改行タグを有効にする */
  .guide__br--sp {
    display: inline;
  }

  .guide__card-grid {
    flex-direction: column;
    gap: 15px;
  }

  .guide__card {
    width: 100% !important;
  }

  .guide__card--horizontal {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .guide__member-arrow {
    margin-top: 51px;
  }

  .guide__style .guide__illust-wrap {
    margin-right: 0;
    margin-bottom: 20px;
    width: 150px;
    height: auto;
  }

  .guide__icon-wrap {
    height: 50px;
  }

  .guide__icon-wrap--large {
    height: 70px;
  }

  .guide__card--member {
    padding: 30px 15px;
    gap: 40px;
  }

  .guide__member-flow {
    width: 100%;
    gap: 5px;
  }

  .guide__member-icon {
    width: 40px;
    height: 40px;
  }

  .guide__member-balloon {
    font-size: 10px;
    padding: 3px 10px;
  }

  .guide__member-step-text {
    font-size: 9px;
  }

  .guide__member-title {
    font-size: 20px;
  }

  .guide__member-text {
    font-size: 14px;
  }

  .guide__btn--style,
  .guide__btn--member {
    display: block;
    font-size: 14px;
    width: 100%;
  }

  /* ★行きたい店舗をチェック！のSP用レイアウト（2列×2段に変更） */
  .guide__shop .guide__card-grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .guide__shop .guide__card {
    width: calc((100% - 10px) / 2) !important;
    padding: 12px 6px;
  }

  .guide__shop .guide__icon-wrap {
    height: 40px;
    margin-bottom: 8px;
  }

  .guide__shop .guide__shop-name {
    font-size: 12px;
    margin-bottom: 4px;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

  .guide__shop .guide__shop-text {
    font-size: 10px;
    line-height: 1.3;
  }

  .guide__sub-link-wrap {
    margin-top: 20px;
  }

  .guide__sub-link {
    font-size: 12px;
  }

  /* 会員登録タイトルのPC/SP表示切り替え */
  .guide__title--sp-only {
    display: block;
  }

  .guide__title--pc-only {
    display: none;
  }
}

/* 0806 追加 */
.shop_information_wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  margin: 60px auto;
  gap: 40px;
}

.shop_information_wrap section {
  display: flex;
  justify-content: space-between;
}

.shop_information {
  width: 100%;
  border: 2px solid #f9e0e4;
  border-radius: 15px;
  padding: 32px;
}

.shop_name {
  width: 100%;
  font-size: 24px;
}

.shop_information_content_wrap {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.shop_information dl {
  margin: 16px 0;
  display: flex;
  flex-direction: column;
  width: 40%;
  gap: 8px;
}

.shop_information dt {
  width: 15%;
  font-size: 16px;
}

.shop_information dd {
  margin-bottom: 24px;
}

.shop_information dd .shop_other_link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.shop_information dd .shop_other_link a {
  display: block;
}

@media screen and (max-width: 360px) {
  .shop_information dd .shop_other_link a {
    font-size: 12px;
  }
}

.mapBlock {
  width: 55%;
}

.info_link {
  font-size: 14px;
  padding: 4px 16px;
  color: #fff;
  text-align: center;
  background: #276982;
  border-radius: 4px;
}

.modal-info_link {
  max-width: max-content;
  margin: 16px auto 0 auto;
  font-size: 14px;
  padding: 4px 16px;
  color: #fff;
  text-align: center;
  background: #276982;
  border-radius: 4px;
}

.top-hello-block {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 60px;
}

.top-hello-image,
.top-hello-text {
  width: 48%;
}

.top-hello-image img {
  width: 100%;
  max-width: 100%;
}
.top-hello-text {
  text-align: center;
  font-size: 16px;
  color: #276982;
}

.top-hello-text h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 24px;
}

/*================= モーダルコンテンツ ======================*/
/* --- カードのレイアウト --- */
.card-container {
  display: flex;
  gap: 24px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.modal-card {
  width: 100%;
  background-color: #fff;
  border: 2px solid #f9e0e4;
  border-radius: 15px;
  padding: 20px 15px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;
}

.modal-card:hover {
  opacity: 0.7;
  transition: 0.3s ease;
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 8px;
  text-align: center;
}

.card-title {
  margin: 0;
  font-size: 1.25rem;
  color: #333333;
}

/* --- モーダル全体の共通スタイル --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #ffffff;
  padding: 24px 16px;
  border-radius: 15px;
  width: 85%;
  max-width: 860px;
  max-height: 85%;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-scroll-area {
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  margin-top: 15px;
}

.modal-map-img {
  display: block;
  max-width: 100%;
}

.modal-content h3 {
  font-size: 24px;
}

.modal-content-title {
  font-size: 18px;
  color: #276982;
}

.modal-content p span {
  font-size: 0.85em;
  color: #666;
}

.modal-content ol {
  margin: 24px 0 0 0;
  padding: 0;
}

.modal-content ol li {
  font-size: 16px;
  color: #276982;
  font-weight: bold;
  list-style: none;
  padding-left: 1.3em;
  text-indent: -1.3em;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-content-catch-text {
  font-size: 18px;
  color: #276982;
}

body.no-scroll {
  overflow: hidden;
}

/* --- レスポンシブ対応 --- */
@media (max-width: 992px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-hello-block {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
  }

  .top-hello-image,
  .top-hello-text {
    width: 100%;
  }

  .top-hello-text {
    font-size: 13px;
  }

  .top-hello-text h2 {
    font-size: 26px;
  }

  .shop_information_wrap {
    gap: 40px;
  }

  .shop_information :is(dl, dt, dd) {
    width: 100%;
  }

  .shop_name {
    font-size: 18px;
    line-height: 1.4;
  }

  .mapBlock {
    width: 100%;
  }

  .gmapEmbed iframe {
    height: 250px;
  }

  .card-container {
    display: flex;
    gap: 8px;
  }

  .card {
    width: 32%;
  }

  .modal-content {
    width: 92%;
    padding: 36px 12px 12px 12px;
  }

  .modal-content h3 {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .modal-content-title {
    font-size: 16px;
  }

  .modal-content ol li {
    font-size: 14px;
  }

  .modal-content-catch-text {
    font-size: 14px;
    margin-top: 1rem;
  }
}
