@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&display=swap');

/* ==========================================
   1. 基本設定 & 共通変数
   ========================================== */
:root {
  --color-primary: #2b3a2a;      /* 深緑（濃松葉） */
  --color-accent: #8b261d;       /* 朱色（和風のアクセント） */
  --color-text: #2c2c2c;         /* 墨色（本文テキスト） */
  --color-bg-light: #faf8f5;     /* 生成り色（背景） */
  --color-white: #ffffff;
  --font-serif: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg-light);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}


/* ==========================================
   2. ヘッダー & ナビゲーション
   ========================================== */
.header {
  background-color: #c5dac0;
  border-bottom: 2px solid var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
}

.header-img {
  width: 50px;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-title-group {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.logo-text-group .sub-title {
  display: block;
  font-size: 0.75rem;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  font-weight: bold;
  line-height: 1.2;
}

.logo h1,
.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  font-family: var(--font-serif);
  margin: 0;
  display: block;
}

.site-title a {
  text-decoration: none;
  color: inherit;
}

.nav ul {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav li {
  flex: 1;
  text-align: center;
}

.nav a {
  display: block;
  font-size: 13px;
  padding: 10px 0;
  white-space: nowrap;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-family: var(--font-serif);
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--color-accent);
}


/* ==========================================
   3. メインビジュアル (Hero)
   ========================================== */
.hero {
  background: linear-gradient(rgba(43, 58, 42, 0.45), rgba(43, 58, 42, 0.45)),
              url('images/shop.webp') center/cover no-repeat;
  background-color: var(--color-primary);
  height: 60vh;
  min-height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--color-white);
  padding: 0 20px;
}

.hero-content h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}

.hero-content p {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  opacity: 0.95;
}


/* ==========================================
   4. 各セクション共通デザイン & ボタン (CTA)
   ========================================== */
.section {
  padding: 80px 0;
  text-align: center;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 35px;
  position: relative;
  display: inline-block;
  text-align: center;
}

.section h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 12px auto 0;
}

.lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 35px;
  line-height: 1.9;
}

.text-center {
  text-align: center;
}

@media (min-width: 769px) {
  .pc-only {
    display: inline;
  }
}

/* トップページ回遊ボタン */
.btn-container {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-main {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font-serif);
  transition: background-color 0.2s ease;
}

.btn-main:hover {
  background-color: #3b724d;
}

.btn-sub {
  display: inline-block;
  background-color: #f2f7f2;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  font-family: var(--font-serif);
  transition: background-color 0.2s ease;
}

.btn-sub:hover {
  background-color: #e2eee2;
}


/* ==========================================
   5. 店主情報エリア (index.html)
   ========================================== */
.owner-block {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
  text-align: left;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #d4e4d0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.owner-text {
  flex: 1;
}

.owner-text p {
  margin-bottom: 1em;
  line-height: 1.8;
}

.owner-text p:last-child {
  margin-bottom: 0;
}

.owner-image {
  width: 280px;
  flex-shrink: 0;
}

.owner-image img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}


/* ==========================================
   6. 規約・特商法・文書ページ (containerLegal)
   ========================================== */
.containerLegal {
  max-width: 800px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: left;
}

.containerLegal h1,
.containerLegal h2,
.page-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-primary);
  text-align: center;
  display: block;
  margin-top: 0;
  margin-bottom: 40px;
}

.containerLegal h1::after,
.containerLegal h2::after,
.page-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-accent);
  margin: 12px auto 0;
}

.legal-intro {
  margin-bottom: 60px;
  line-height: 1.9;
}

.legal-block {
  margin-bottom: 30px;
}

.legal-block h2,
.legal-block h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary);
  border-bottom: 1px solid #d4e4d0;
  padding-bottom: 8px;
  margin-top: 60px;
  margin-bottom: 15px;
  text-align: center;
}

.legal-block ul {
  padding-left: 20px;
  margin-top: 10px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
}

.legal-table th,
.legal-table td {
  border: 1px solid #d4e4d0;
  padding: 15px 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-table th {
  background-color: #f2f7f2;
  color: var(--color-primary);
  width: 30%;
  white-space: nowrap;
  font-family: var(--font-serif);
}


/* ==========================================
   7. 商品（抹茶）ページ
   ========================================== */
.product-main-image {
  text-align: center;
  margin: 25px 0 35px;
}

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

.product-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 16px;
  margin-top: 10px;
}

.product-table thead {
  display: none;
}

.product-card {
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.product-card td {
  border-top: 1px solid #d4e4d0;
  border-bottom: 1px solid #d4e4d0;
  padding: 16px 20px;
  vertical-align: middle;
}

.product-card td:first-child {
  border-left: 1px solid #d4e4d0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.product-card td:last-child {
  border-right: 1px solid #d4e4d0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: bold;
  color: var(--color-primary);
  width: 38%;
  background-color: #f7faf7;
  border-right: 1px dashed #d4e4d0 !important;
}

.product-price {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.8;
}

.price-item {
  display: block;
  margin-bottom: 4px;
}

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


/* ==========================================
   8. お知らせ (news.html & news-detail)
   ========================================== */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 18px 12px;
  border-bottom: 1px solid #e2ebe2;
  transition: background-color 0.2s ease;
}

.news-item:hover {
  background-color: #f7f9f7;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 220px;
  flex-shrink: 0;
}

.news-date {
  color: #666;
  font-size: 0.9rem;
  font-family: var(--font-sans);
}

.news-category {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 4px;
  color: var(--color-white);
  font-weight: bold;
  white-space: nowrap;
}

.tag-info {
  background-color: #666666;
}

.tag-product {
  background-color: var(--color-primary);
}

.news-title {
  color: var(--color-text);
  text-decoration: none;
  font-size: 1.05rem;
  line-height: 1.6;
  flex-grow: 1;
  transition: color 0.3s ease;
}

.news-title:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* 記事詳細ページ */
.news-article {
  background-color: #fff;
  border: 1px solid #d4e4d0;
  border-radius: 8px;
  max-width: 760px;
  margin: 40px auto 60px;
  padding: 45px 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.article-header {
  border-bottom: 2px solid #e2ebe2;
  padding-bottom: 24px;
  margin-bottom: 35px;
}

.article-header .news-meta {
  margin-bottom: 16px;
  width: auto;
}

.article-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary);
  line-height: 1.5;
}

.article-body {
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--color-text);
  margin-bottom: 50px;
}

.article-body p {
  margin-bottom: 1.6em;
}

.link-text {
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.link-text:hover {
  color: var(--color-accent);
}

.article-footer {
  text-align: center;
  padding-top: 30px;
  border-top: 1px dashed #d4e4d0;
}

.btn-back {
  display: inline-block;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  background-color: #faf8f5;
  padding: 12px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.btn-back:hover {
  background-color: var(--color-primary);
  color: #fff;
}


/* ==========================================
   9. 店舗情報・アクセス (index.html用)
   ========================================== */
.shop-info-section {
  background-color: #f4f8f4;
  border-top: 1px solid #d4e4d0;
}

.shop-info-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 30px;
  text-align: left;
}

.shop-image {
  width: 40%;
  flex-shrink: 0;
}

.shop-image img {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #d4e4d0;
}

.shop-details {
  width: 60%;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #d4e4d0;
  border-radius: 6px;
  overflow: hidden;
}

.info-table th,
.info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2ebe2;
  font-size: 0.95rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.info-table th {
  width: 25%;
  background-color: #f7faf7;
  color: var(--color-primary);
  font-family: var(--font-serif);
  white-space: nowrap;
}

.info-table td a {
  color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
}

.info-table td a:hover {
  text-decoration: underline;
}

.map-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d4e4d0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
/* 電話番号の自動リンクによる色変化・下線を防ぎ、デザインを統一する */
.contact-info-box a,
.legal-table a {
  color: inherit;
  text-decoration: none;
}


/* ==========================================
   10. フッター
   ========================================== */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 50px 20px 25px;
  text-align: center;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 30px;
  margin-bottom: 30px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}


/* ==========================================
   11. フォトアルバム (photo.html)
   ========================================== */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.album-item {
  background: #ffffff;
  border: 1px solid #dcdad5;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.album-img-wrapper {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #fcfbf9;
}

.album-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.album-caption {
  padding: 12px 15px;
}

.album-title {
  font-size: 1rem;
  font-weight: bold;
  color: #2e5a3c;
  margin-top: 0 !important;
  margin-bottom: 6px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  font-family: var(--font-serif);
}

.album-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}


/* ==========================================
   12. レスポンシブ対応 (メディアクエリ)
   ========================================== */
@media (max-width: 768px) {
  /* メインビジュアル（写真）の縦幅をコンパクトにする */
  .hero {
    height: 45vh;
    min-height: 260px;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .nav ul {
    gap: 12px 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .section {
    padding: 50px 0;
  }

  /* スマホ時に「白銀屋が届ける～」を見出し1行に収まるよう調整 */
  .section h2 {
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    word-break: break-all;
  }

  /* スマホ時に「いまも昔も ゆたかな香り」のハミ出しを防ぎ綺麗に折り返す */
  .hero-content h2 {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    white-space: normal;
    word-break: break-all;
    padding: 0 15px;
    line-height: 1.4;
  }

  /* スマホ時のレイアウト（縦並び調整） */
  .owner-block,
  .shop-info-wrapper {
    flex-direction: column;
  }

  .owner-image,
  .shop-image,
  .shop-details {
    width: 100%;
  }
  /* 特商法などのテーブルをスマホで縦並び（または見やすい幅）にする */
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100% !important;
  }

  .legal-table tr {
    margin-bottom: 15px;
    border: 1px solid #d4e4d0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
  }

  .legal-table th {
    background-color: #f2f7f2;
    border: none;
    border-bottom: 1px solid #d4e4d0;
    padding: 10px 15px;
    text-align: left;
  }

  .legal-table td {
    border: none;
    padding: 12px 15px;
  }
}

@media (min-width: 768px) {
  .nav ul {
    justify-content: center;
    gap: 25px;
  }
  
  .nav li {
    flex: none;
  }
  
  .nav a {
    font-size: 0.95rem;
    padding: 0;
  }
}

@media (max-width: 600px) {
  .album-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .album-img-wrapper {
    height: 130px;
  }

  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .phone-number {
    font-size: 1.75rem;
  }

  .news-article {
    padding: 25px 20px;
    margin: 20px auto 40px;
  }

  .article-title {
    font-size: 1.35rem;
  }
}
/* パンくずリストのデザイン */
.breadcrumb {
  font-size: 0.85rem;
  margin-bottom: 20px;
  color: #666;
}
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.breadcrumb li + li::before {
  content: "＞";
  padding: 0 8px;
  color: #888;
  font-size: 0.8rem;
}
.breadcrumb a {
  color: #2e5a3c;
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}