/**
 * SHOP INFO（店舗情報）ページ専用CSS
 * Template: page-shop-info.php
 *
 * @package Boulangerie_Atsushi_Child
 */

/* =============================================
   SHOP INFOページ スタイル
   ============================================= */
.page-shop-info {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

@media (min-width: 1024px) {
  .page-shop-info {
    padding: 0 40px 100px;
  }
}

.shopinfo-section {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow-card);
}

.shopinfo-heading {
  font-size: 20px;
  color: var(--color-brown);
  margin: 0 0 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-beige);
  font-weight: 500;
}

.shopinfo-content {
  font-size: 16px;
  line-height: 2;
  color: var(--color-gray-dark);
  font-family: var(--font-mincho);
}

.shopinfo-content p {
  margin: 0 0 1em;
}

.info-list {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px 30px;
  margin: 0;
}

.info-list dt {
  color: var(--color-brown);
  font-weight: 500;
  font-family: var(--font-base);
}

.info-list dd {
  margin: 0;
}

.info-list .info-note {
  font-size: 14px;
  color: var(--color-gray-medium);
  display: block;
  margin-top: 5px;
}

.map-container {
  margin-top: 30px;
}

.map-container iframe {
  border-radius: var(--radius-card);
}

.garden-info {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.garden-info li {
  padding-left: 1.5em;
  position: relative;
  margin-bottom: 8px;
}

.garden-info li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-brown);
}

.pet-info {
  background: var(--color-cream);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  font-size: 16px;
}

.pet-info strong {
  color: var(--color-brown);
  display: block;
  margin-bottom: 10px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--color-cream);
  padding: 25px;
  border-radius: 8px;
}

.faq-question {
  font-size: 16px;
  color: var(--color-brown);
  margin: 0 0 12px;
  font-weight: 500;
}

.faq-answer {
  font-size: 16px;
  color: var(--color-gray-dark);
  margin: 0;
  line-height: 1.8;
  font-family: var(--font-mincho);
}

.shopinfo-contact {
  text-align: center;
  padding: 40px 0;
}

.shopinfo-contact p {
  margin-bottom: 20px;
  color: var(--color-gray-dark);
}

/* SHOP INFOページ レスポンシブ */
@media (max-width: 1024px) {
  .shopinfo-section {
    padding: 30px 20px;
  }

  .info-list {
    display: block;
  }

  .info-list dt {
    margin-bottom: 5px;
  }

  .info-list dd {
    margin-bottom: 20px;
  }

  .faq-item {
    padding: 20px;
  }
}

/* =============================================
   SHOP INFOページ 追加スタイル
   ============================================= */

/* ヒーローカードセクション（左:画像、右:コンテンツの2カラム） */
.shopinfo-hero-card-section {
  position: relative;
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 左側（縦長画像） */
.shopinfo-hero-image {
  flex: 0 0 40%;
  max-width: 350px;
  position: relative;
}

.shopinfo-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 右側：コンテンツエリア */
.shopinfo-hero-info-area {
  flex: 1;
  position: relative;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ロゴ（位置選択式） */
.shopinfo-logo-overlay {
  position: absolute;
  transform: translateY(-50%);
  z-index: 10;
}

.shopinfo-logo-overlay.align-left {
  left: 20px;
}

.shopinfo-logo-overlay.align-center {
  left: 50%;
  transform: translate(-50%, -50%);
}

.shopinfo-logo-overlay.align-right {
  right: 20px;
  left: auto;
}

.shopinfo-logo-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

/* カード内コンテンツ（位置選択式） */
.shopinfo-hero-content {
  position: absolute;
  transform: translateY(-50%);
  z-index: 5;
}

.shopinfo-hero-content.align-left {
  left: 20px;
  text-align: left;
}

.shopinfo-hero-content.align-center {
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.shopinfo-hero-content.align-right {
  right: 20px;
  left: auto;
  text-align: right;
}

.hero-info-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 20px;
}

.hero-info-item:last-child {
  margin-bottom: 0;
}

.hero-info-label {
  font-size: 14px;
  color: var(--color-brown);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.hero-info-value {
  font-size: 20px;
  color: var(--color-text);
  font-weight: 500;
}

.hero-info-note {
  font-size: 14px;
  color: var(--color-gray-medium);
}

.hero-info-tel {
  font-size: 20px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.hero-info-tel:hover {
  opacity: 0.7;
}

/* ヒーローカード レスポンシブ */
@media (max-width: 1024px) {
  .shopinfo-hero-card-section {
    height: auto !important;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .shopinfo-hero-image {
    flex: none;
    max-width: 100%;
    height: 250px;
  }

  .shopinfo-hero-image img {
    object-position: center !important;
  }

  .shopinfo-hero-info-area {
    padding: 30px 20px;
    position: relative;
    min-height: auto;
  }

  .shopinfo-logo-overlay,
  .shopinfo-hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto;
  }

  .shopinfo-logo-overlay {
    max-width: 200px;
    margin-bottom: 30px;
  }

  .shopinfo-hero-content {
    text-align: center !important;
  }

  .hero-info-item {
    margin-bottom: 15px;
  }

  .hero-info-value,
  .hero-info-tel {
    font-size: 18px;
  }
}

/* 店舗ビジュアル（旧スタイル - 互換のため残す） */
.shopinfo-visual {
  margin-bottom: 40px;
}

.shopinfo-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-card);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* 情報リスト追加 */
.info-main {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
}

.info-note {
  display: block;
  font-size: 14px;
  color: var(--color-gray-medium);
  margin-top: 5px;
}

/* ガーデンビジュアル */
.garden-visual {
  margin-bottom: 20px;
}

.garden-visual img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

/* アクセス詳細 */
.access-detail {
  margin-top: 30px;
  padding: 25px;
  background: var(--color-cream);
  border-radius: var(--radius-card);
}

.access-detail h3 {
  font-size: 16px;
  color: var(--color-brown);
  margin: 0 0 10px;
  font-weight: 500;
}

.access-detail h3:not(:first-child) {
  margin-top: 20px;
}

.access-detail p {
  font-size: 16px;
  color: var(--color-gray-dark);
  margin: 0;
  line-height: 1.8;
}

/* 電話ボタン */
.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* 電話・コンタクトボタン（共通スタイル） */
.btn-tel,
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 240px;
  height: 54px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  box-sizing: border-box;
  transition: all 0.3s ease;
  line-height: 1;
  border: 2px solid transparent;
}

/* 電話ボタン（白背景） */
.btn-tel {
  background: var(--color-white);
  border-color: var(--color-brown);
  color: var(--color-brown);
  font-size: 20px;
}

.btn-tel:hover {
  background: var(--color-brown);
  color: var(--color-white);
  opacity: 1;
}

/* ホバー時に中身も同時に色を変える */
.btn-tel:hover .btn-text,
.btn-tel:hover svg {
  color: var(--color-white);
  fill: var(--color-white);
}

/* コンタクトボタン（茶色背景） */
.btn-contact {
  background: var(--color-brown);
  border-color: var(--color-brown);
  color: var(--color-white);
  font-size: 18px;
}

.btn-contact:hover {
  background: var(--color-white);
  color: var(--color-brown);
  border-color: var(--color-brown);
  opacity: 1;
}

.btn-contact:hover .btn-text {
  color: var(--color-brown);
}

/* ボタン内部要素の遷移を親と同期 */
.btn-tel .btn-text,
.btn-contact .btn-text,
.btn-tel svg {
  color: inherit;
  fill: currentColor;
  border-bottom: none;
  transition: all 0.3s ease;
}

.btn-tel svg {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  margin-bottom: 2px;
}

.btn-tel .btn-icon {
  display: flex;
  align-items: center;
}

/* SHOP INFOページ レスポンシブ追加 */
@media (max-width: 1024px) {
  .shopinfo-visual img {
    height: 200px;
  }

  .garden-visual img {
    height: 180px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}
