
/* ベース設定 */
body {
  overflow-x: hidden;
}
.ochugen-article {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  background-color: #fff;
}
.ochugen-article img {
  max-width: 100%;
  height: auto;
  display: block;
}


/* 導入文ラップ */
.intro-wrap {
  max-width: 800px;
  margin: 0 auto 50px auto;
}
.ochugen-article h2
.intro-text {
  font-size: 1.05rem;
  line-height: 2;
  margin-bottom: 25px;
  color: #444;
}

/* 共通ユーティリティ */
.cta-center {
  text-align: center;
  margin: 40px 0;
}
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

.img-center {
  margin-left: auto;
  margin-right: auto;
}
.corporate-list {
  margin: 20px 0 30px 40px;
  line-height: 1.8;
}

.btn-cta {
  display: inline-block;
  background-color: #9f2f22;
  color: #fff !important;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background-color 0.3s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-cta:hover { background-color: #7a1d12; color: #fff; text-decoration: none; }

/* セクション背景色 */
.section-white { background-color: #fff; padding: 60px 20px; }
.section-kinari { background-color: #faf8f5; padding: 60px 20px; }
.section-blue { background-color: #f0f8ff; padding: 60px 20px; }

/* 最終CTA特別セクション */
.final-cta-section {
  background-color: #0b3b60;
  color: #fff;
  padding: 70px 20px;
  text-align: center;
}
.final-cta-section h2 { color: #fff !important; border-bottom: none !important; }
.final-cta-section p { color: #fff; }
.final-cta-section .btn-cta { background-color: #cda85c; color: #fff !important; }
.final-cta-section .btn-cta:hover { background-color: #b59451; }

/* パンくず */
.breadcrumb {
  padding: 20px;
  background: #f9f9f9;
  font-size: 0.9rem;
  border-bottom: 1px solid #ddd;
}
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.breadcrumb li { margin-right: 10px; color: #666; }
.breadcrumb li a { color: #0b3b60; text-decoration: underline; }
.breadcrumb li::after { content: ">"; margin-left: 10px; color: #999; }
.breadcrumb li:last-child::after { content: ""; }



/* 目次 */
.ochugen-toc {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  margin: 50px auto;
  max-width: 700px;
  width: 90%;
  box-sizing: border-box;
  border: 2px solid #0b3b60;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ochugen-toc-title {
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #0b3b60;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.ochugen-article .ochugen-toc ul {
  display: block !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.ochugen-article .ochugen-toc li {
  margin-bottom: 24px !important;
  font-size: 1.15rem !important;
  position: relative !important;
  padding-left: 28px !important;
  display: block !important;
  width: auto !important;
  float: none !important;
  clear: both !important;
  text-align: left !important;
  box-sizing: border-box !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  line-height: 1.6 !important;
  white-space: normal !important;
}
.ochugen-toc li::before {
  content: "▼";
  color: #cda85c;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.9rem;
}
.ochugen-toc a {
  color: #333 !important;
  text-decoration: none !important;
  font-weight: bold !important;
  border-bottom: none !important;
  transition: all 0.3s ease !important;
  display: inline !important;
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
}
.ochugen-toc a:hover {
  color: #0b3b60 !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transform: translateX(5px) !important;
}

/* ヒーローセクション */
.hero-section {
  background-image: url('../img/hero-pc.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: block;
}
.hero-visual {
  display: none; /* PCでは背景画像を使うため非表示 */
}
.hero-copy {
  text-align: left;
  max-width: 550px;
  background: rgba(253, 251, 247, 0.85); /* 読みやすさのため半透明の白背景を敷く */
  padding: 40px;
  border-radius: 12px;
}
.hero-kicker {
  display: inline-block;
  background-color: #0b3b60;
  color: #fff;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: bold;
  margin-bottom: 15px;
}
.hero-section h1 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.hero-badges {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.hero-badges li {
  background-color: #fff;
  color: #cda85c;
  border: 1px solid #cda85c;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: bold;
}
.hero-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 10px;
}
.hero-note {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 24px;
}
.hero-cta {
  margin: 0;
  text-align: left;
}
.hero-sub-links {
  margin-top: 16px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero-sub-links a { color: #0b3b60; font-weight: bold; text-decoration: underline; }


/* 見出し */
.ochugen-article h2 {
  font-size: 1.8rem;
  color: #0b3b60;
  border-bottom: 3px solid #0b3b60;
  padding-bottom: 10px;
  margin: 0 0 30px 0;
  text-align: center;
}
.ochugen-article h3 {
  font-size: 1.4rem;
  color: #0b3b60;
  border-left: 5px solid #cda85c;
  padding-left: 15px;
  margin: 40px 0 20px 0;
}

/* 商品カード */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.product-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.product-badge {
  display: inline-block;
  background-color: #cda85c;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 15px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.product-card img {
  margin: 15px auto;
  height: 200px;
  object-fit: contain;
}
.product-card h3 {
  border: none;
  padding: 0;
  margin: 15px 0 10px;
  font-size: 1.2rem;
  color: #333;
}
.product-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 8px;
}
.product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #9f2f22;
  margin-bottom: 15px;
}
.product-desc {
  font-size: 0.95rem;
  text-align: left;
  margin-bottom: 25px;
  color: #555;
  flex-grow: 1;
}
.product-card .btn-cta {
  font-size: 1.1rem;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* テーブル */
.table-scroll {
  overflow-x: auto;
  margin-bottom: 30px;
}
.custom-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}
.custom-table th, .custom-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
}
.custom-table th {
  background-color: #0b3b60;
  color: #fff;
  font-weight: bold;
}
.custom-table tr:nth-child(even) { background-color: #f9f9f9; }

/* リストスタイル */
.sake-list {
  background: #fdfbf7;
  padding: 25px 30px;
  border-radius: 8px;
  border-left: 5px solid #cda85c;
  margin: 30px 0;
}
.sake-list ul {
  padding-left: 20px;
  margin: 0;
}
.sake-list li {
  margin-bottom: 10px;
  color: #333;
}

/* カテゴリリンク集 */
.category-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}
.category-links a {
  color: #0b3b60;
  font-weight: bold;
  text-decoration: underline;
  font-size: 1.1rem;
}

/* FAQ */
.faq-container { margin-top: 40px; }
.faq-item {
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.faq-question {
  font-weight: bold;
  color: #0b3b60;
  font-size: 1.15rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
}
.faq-question::before { content: "Q."; position: absolute; left: 0; color: #cda85c; }
.faq-answer {
  position: relative;
  padding-left: 30px;
  color: #444;
}
.faq-answer::before { content: "A."; position: absolute; left: 0; color: #0b3b60; font-weight: bold; }

/* レスポンシブ */
@media screen and (max-width: 768px) {
  /* ヘッダー上部固定 */
  .lp-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
  }
  .ochugen-article {
    margin-top: 65px !important;
  }
  
  .ochugen-toc { padding: 20px; margin: 40px auto; width: 92%; }
  .ochugen-toc-title { font-size: 1.2rem; }
  .ochugen-article .ochugen-toc li {
  margin-bottom: 24px !important;
  font-size: 1.15rem !important;
  position: relative !important;
  padding-left: 28px !important;
  display: block !important;
  width: auto !important;
  float: none !important;
  clear: both !important;
  text-align: left !important;
  box-sizing: border-box !important;
  line-height: 1.6 !important;
  white-space: normal !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
}

  .ochugen-article h2.lead-center { font-size: 1.3rem; }
  .hero-section {
    background-image: none !important;
    padding: 0 !important;
  }
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .hero-visual {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    order: -1 !important;
  }
  .hero-visual img {
    width: 100% !important;
    display: block !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .hero-copy {
    padding: 40px 20px;
    background: #fdfbf7;
    border-radius: 0;
    max-width: none;
    text-align: center;
  }
  .hero-cta { text-align: center; }
  .hero-section h1 { font-size: 1.6rem; }
  
  /* タグの中央揃えと縮小 */
  .hero-badges { justify-content: center; }
  .hero-badges li { font-size: 0.8rem; padding: 4px 10px; }
  
  .hero-sub-links { justify-content: center; }
  .ochugen-article h2 { font-size: 1.5rem; }
  .category-links { flex-direction: column; align-items: center; gap: 10px; }
}


/* 豆知識・コラムボックス */
.note-box {
  background: #fff;
  border: 1px solid #e5dcc7;
  border-left: 5px solid #cda85c;
  padding: 24px;
  margin: 32px 0;
  border-radius: 8px;
}
.note-box-title {
  font-weight: bold;
  color: #0b3b60;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.note-box p:last-child {
  margin-bottom: 0;
}
.mini-column {
  background: #f9fbfd;
  border: 1px solid #dce8f2;
  padding: 24px;
  border-radius: 8px;
  margin: 32px 0;
}
.mini-column-title {
  font-weight: bold;
  color: #0b3b60;
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.mini-column p:last-child {
  margin-bottom: 0;
}


/* スマホ対応: 表の代替となる定義リストスタイル */
.sp-list-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 30px 0;
  overflow: hidden;
}
.sp-list-item {
  border-bottom: 1px solid #eee;
  padding: 20px;
}
.sp-list-item:last-child {
  border-bottom: none;
}
.sp-list-term {
  font-weight: bold;
  color: #0b3b60;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.sp-list-term::before {
  content: "■";
  color: #cda85c;
  font-size: 0.9rem;
  margin-right: 8px;
}
.sp-list-desc {
  color: #444;
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

/* ==========================================================================
   フォントサイズ下限の調整（最小11pt）
   ========================================================================== */
.ochugen-article p,
.ochugen-article li,
.ochugen-article dd,
.ochugen-article dt,
.ochugen-article th,
.ochugen-article td,
.ochugen-article span,
.ochugen-article a {
  font-size: max(11pt, 1rem);
}

/* スマホ等で意図的に小さく設定されている要素の底上げ */
.ochugen-article .hero-note, 
.ochugen-article .hero-badges li, 
.ochugen-article .product-meta, 
.ochugen-article .product-desc, 
.ochugen-article .sp-list-desc,
.ochugen-article .sp-list-term::before {
  font-size: 11pt !important;
}

/* 記事内の基本テキスト部分が見やすいように少し大きめに設定 */
.ochugen-article .mini-column p,
.ochugen-article .note-box p,
.ochugen-article .intro-text {
  font-size: max(11pt, 1.05rem) !important;
}

/* パンくずリストは邪魔にならないよう小さく（8pt） */
.ochugen-article .breadcrumb,
.ochugen-article .breadcrumb li,
.ochugen-article .breadcrumb a {
  font-size: 8pt !important;
}

/* スマホ表示時、ヒーローセクションの画像をテキストの上に配置 */
@media (max-width: 768px) {
  .hero-inner {
    display: flex;
    flex-direction: column-reverse;
  }
}

/* 日本酒・特徴セクションの商品アイテムレイアウト */
.sake-item, .feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.sake-item-img, .feature-item-img {
  flex: 0 0 240px;
}
.sake-item-img img, .feature-item-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  display: block;
  transition: transform 0.2s;
}
.sake-item-img a:hover img, .feature-item-img a:hover img {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}
.sake-item-text, .feature-item-text {
  flex: 1;
}
.sake-item-text h3, .feature-item-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #0b3b60;
  margin-top: 0;
  margin-bottom: 15px;
}
@media (max-width: 768px) {
  .sake-item, .feature-item {
    flex-direction: column;
    gap: 16px;
  }
  .sake-item-img, .feature-item-img {
    flex: none;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
