﻿@charset "UTF-8";

/* 基本リセット */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f2f4f7;
}

/* ------------------------------------
   基本レイアウト＆スマホ表示 (max-width: 640px)
   ------------------------------------ */
.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 12px;
  background-color: #ffffff;
}

/* 共通：画像スタイル */
.block-img-100 {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 4px;
}

.block-img-95 {
  width: 95%;
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 4px;
}

/* トップバナー枠 */
.top-banner-block {
  text-align: center;
  margin-bottom: 12px;
}

/* トップバナー枠の基準位置設定 */
.top-banner-block {
  position: relative; /* 子要素の絶対配置（absolute）の基準にする */
  text-align: center;
  margin-bottom: 12px;
}

/* 画像の上に重ねるテキストボックス（左下に配置） */
.banner-text-overlay {
  position: absolute;
  bottom: 12px; /* 下からの余白 */
  left: 12px;   /* 左からの余白 */
  text-align: left;
  background-color: rgba(0, 0, 0, 0.4); /* 背景を半透明の黒にして可読性を確保 */
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 6px;
  max-width: 85%; /* 画像からはみ出ないよう幅を制限 */
}

/* ちょっと大きい文字 */
.banner-text-large {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.3;
  color: #ffeb3b; /* 強調用の黄色（白でも可） */
}

/* 少し小さい文字 */
.banner-text-small {
  margin: 0;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.95;
}

/* PC表示時の文字サイズ調整 */
@media (min-width: 641px) {
  .banner-text-overlay {
    bottom: 20px;
    left: 20px;
    padding: 14px 18px;
  }
  .banner-text-large {
    font-size: 18px;
  }
  .banner-text-small {
    font-size: 13px;
  }
}

/* 汎用ブロック (枠線なし・背景色で分離) */
.block {
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 8px;
  background-color: #f8f9fa;
}

/* 1. 最上部ヘッダー */
.top-header-block {
  background-color: #003366;
  color: #ffffff;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.seo-keywords {
  font-size: 12px;
  opacity: 0.8;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.address-box p {
  margin: 2px 0;
  font-size: 13px;
}

.address-box .tel-large {
  font-size: 18px;
  font-weight: bold;
  color: #ffeb3b;
}

.address-box .highlight-text {
  font-weight: bold;
  font-size: 14px;
}

/* 2. アラート・お悩みブロック */
.alert-block {
  background-color: #fff3cd;
  color: #856404;
  text-align: center;
}

.alert-block p {
  margin: 0 0 8px 0;
  font-weight: bold;
  font-size: 13px;
}

.link-btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #856404;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
}

/* 3. 屋号・電話番号エリア */
.main-info-block {
  background-color: #e9ecef;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-name-box h2 {
  margin: 0;
  font-size: 22px;
  color: #003366;
}

.shop-name-box p {
  margin: 4px 0 0 0;
  font-size: 13px;
  color: #555555;
}

.hours-box {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 6px;
}

.hours-box p {
  margin: 0;
  font-size: 13px;
}

.hours-box .tel-text {
  font-weight: bold;
  font-size: 15px;
  color: #d32f2f;
}

/* 4. メニューナビゲーション（スマホは2列×3行） */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #1976d2;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 8px;
  border-radius: 6px;
  text-align: center;
}

.nav-item:active {
  background-color: #115293;
}

.nav-main {
  font-size: 14px;
  font-weight: bold;
}

.nav-sub {
  font-size: 11px;
  opacity: 0.8;
}

/* 5. お知らせ・土日受付 */
.notice-block {
  background-color: #e8f5e9;
  text-align: center;
}

.notice-block p {
  margin: 2px 0;
  font-size: 13px;
  color: #2e7d32;
}

.notice-block .tel-large {
  font-size: 18px;
  font-weight: bold;
}

/* 6. ブログ案内メッセージ */
.blog-intro-block {
  background-color: #fff8e1;
  text-align: center;
}

.blog-link {
  color: #f57f17;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  display: block;
}

/* 7. 最新情報・ブログカード（スマホは縦並び） */
.cards-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.card-item {
  background-color: #f8f9fa;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
}

.card-item h3 {
  margin: 0 0 4px 0;
  font-size: 14px;
  color: #003366;
}

.card-item p, .card-item .date {
  margin: 0;
  font-size: 12px;
  color: #666666;
}

/* 8. アクセスマップボタン */
.map-link-block {
  text-align: center;
  background-color: transparent;
  padding: 0;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px;
  background-color: #003366;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  border-radius: 6px;
  text-align: center;
}

/* Googleマップ レスポンティブ容器 */
.map-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* フッター基本スタイル */
.site-footer {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 20px 12px;
  margin-top: 20px;
  border-radius: 6px;
}

.copyright {
  margin: 0;
  font-size: 12px;
  opacity: 0.9;
}

/* ------------------------------------
   PC表示対応 (画面幅 641px 以上 ? 最大 960px)
   ------------------------------------ */
@media (min-width: 641px) {
  .container {
    max-width: 960px;
    padding: 20px;
  }

  .main-info-block {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .nav-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
  }

  .cards-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

/* ------------------------------------
   9. ショッピングページ専用スタイル (統合版)
   ------------------------------------ */

/* ページタイトル・案内ブロック */
.shop-intro-block {
  text-align: center;
  background-color: #f9eeff;
  border: 1px solid #800000;
}

.shop-notice-block {
  text-align: left;
  background-color: #fff0e1;
  border: 1px solid #800000;
}

.shop-notice-block p {
  margin: 0 0 8px 0;
  font-size: 13px;
  line-height: 1.6;
}

/* 商品カードコンテナ */
.product-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-header-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 0 auto 12px auto;
}

.product-catch {
  text-align: center;
  margin-bottom: 16px;
}

.product-catch .highlight-red {
  color: #d32f2f;
  font-weight: bold;
  font-size: 16px;
}

/* 商品コンテンツレイアウト (Flexbox) */
.product-content-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.product-media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.product-btn-img {
  max-width: 266px;
  width: 100%;
  height: auto;
}

.product-main-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 4px;
}

.product-spec {
  flex: 1;
}

/* 商品スペックテーブル */
.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.product-spec-table th,
.product-spec-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  text-align: left;
}

.product-spec-table th {
  background-color: #f8f9fa;
  width: 30%;
  white-space: nowrap;
}

.price-box {
  background-color: #fff5f5;
  color: #d32f2f;
  padding: 10px;
  border-radius: 6px;
  font-weight: bold;
  line-height: 1.5;
}

/* 商品詳細テキスト */
.product-description {
  background-color: #fafafa;
  border: 1px dashed #cccccc;
  padding: 14px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.6;
}

/* 補足・仕様解説ブロック */
.shop-guide-block {
  background-color: #f9fff9;
  border: 1px solid #2e7d32;
  margin-bottom: 24px;
}

.shop-guide-block ul {
  margin: 6px 0 12px 20px;
  padding: 0;
  font-size: 13px;
}

/* 店舗情報テーブル */
.shop-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.shop-info-table th,
.shop-info-table td {
  padding: 10px;
  border: 1px solid #dee2e6;
}

.shop-info-table th {
  background-color: #e6e6ff;
  width: 30%;
  text-align: left;
}

/* ------------------------------------
   PC表示調整 (641px 以上)
   ------------------------------------ */
@media (min-width: 641px) {
  .product-content-grid {
    flex-direction: row;
  }

  .product-media {
    width: 45%;
  }

  .product-spec {
    width: 55%;
  }
}