/* ------------------------------
 固定ページ共通CSS（2026-10-20修復）
 三春レザー公式サイト用
------------------------------ */

/* 全体セクション */
.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3em 1.5em;
  line-height: 1.8;
  font-family: "Yu Mincho", serif;
  color: #333;
}

/* 見出し・リード文 */
.heading-2 h2 {
  font-size: 2em;
  margin-bottom: 0.2em;
  border-bottom: 2px solid #c1a270;
  padding-bottom: 0.4em;
}
.heading-2 .lead {
  font-size: 1.2em;
  color: #666;
  margin-top: 0.5em;
  margin-bottom: 2em;
}

/* テキストブロック */
.text-block {
  margin-bottom: 3em;
}
.text-block h3 {
  font-size: 1.4em;
  margin-bottom: 0.8em;
  color: #444;
}



/* リスト */
.list-style {
  list-style: disc;
  margin-left: 1.5em;
  color: #444;
}

/* 強調 */
.highlight {
  background: #fdf5e6;
  padding: 0.2em 0.5em;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
}

/* 囲みボックス（任意使用） */
.box-note {
  background: #f9f9f9;
  border-left: 4px solid #c1a270;
  padding: 1.2em 1.5em;
  margin: 2em 0;
  border-radius: 6px;
  color: #444;
  box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

/* 画像中央寄せ＋丸角 */
.center-image {
  display: block;
  margin: 2em auto;
  max-width: 100%;
  border-radius: 8px;
}

/* セクションの区切り線スタイル */
.miharuleather-divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 40px auto;
  width: 80%;
}

/* 小見出し（サブタイトル） */
.miharuleather-subtitle {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 0.5em;
  margin-bottom: 1em;
  color: #555;
}

/* 表のラップ */
.miharuleather-table-wrap {
  overflow-x: auto;
  margin-top: 1em;
  margin-bottom: 2em;
}

/* 表本体 */
.miharuleather-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
}

.miharuleather-table th,
.miharuleather-table td {
  border: 1px solid #ccc;
  padding: 0.8em;
  text-align: left;
  vertical-align: top;
}

.miharuleather-table th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* 小見出し */
.miharuleather-heading {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

/* ----------------------------------------------------
  三春レザー紹介文ブロック（.miharuleather-about）
  ページ冒頭の紹介テキストに適用するスタイル
----------------------------------------------------- */

.miharuleather-about p {
  /* 行間をゆったりと、可読性を高める */
  line-height: 1.8;

  /* 段落ごとの余白（上下） */
  margin-bottom: 1.5em;
}

/* ----------------------------------------------------
  追加調整が必要な場合は、以下に追記してください
  例：
  font-size（文字サイズ）
  color（文字色）
  max-width（横幅制限）
----------------------------------------------------- */

/* ▽ 強調用の枠デザイン：MIHARU QUALITYの品質保証メッセージ用 */
.highlight-box {
  border: 2px solid #ccc; /* 枠線の色（グレー系） */
  background-color: #fdfdfc; /* やさしい背景色（白に近い） */
  padding: 1.5em;
  margin: 2em 0;
  border-radius: 8px;
  font-size: 1.05em;
  line-height: 1.8;
  color: #333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* わずかに影をつけて浮かせる */
}
/* △ 強調枠のスタイル終わり */

/* ------------------------------
  記事用追加スタイル（2025-10-25）
  ※既存命名に統一（miharuleather-*）
------------------------------ */

/* 次回予告（カード風） */
.miharuleather-next {
  background: #faf8f5;
  border-left: 4px solid #b89c72;
  padding: 1.2em 1.5em;
  margin: 3em 0;
  font-size: 0.95em;
  line-height: 1.8;
  color: #333;
}

/* コメント誘導ボックス */
.miharuleather-comment {
  background: #f9f9f9;
  border-left: 4px solid #c1a270;
  padding: 1.5em;
  margin: 3em 0;
  font-size: 0.95em;
  line-height: 1.8;
  color: #444;
}

/* 画像＋キャプション（既存.center-imageと併用可） */
.miharuleather-figure {
  margin: 2em 0;
  text-align: center;
}
.miharuleather-figure img {
  max-width: 100%;
  border-radius: 8px; /* 既存.center-imageと統一 */
}
.miharuleather-figure figcaption {
  font-size: 0.9em;
  color: #777;
  margin-top: 0.6em;
}

/* 見出し直後の詰まりを緩和（Ankleのモバイル可読性向上） */
h3 + p {
  margin-top: 1.2em;
}

/* --- Notice (Vol.2 共通) --- */
.miharuleather-notice {
  background: #fff8e6;
  border-left: 4px solid #c1a270;
  padding: 1em 1.25em;
  margin: 1.5em 0 2em;
  line-height: 1.7;
}
.miharuleather-notice__text {
  margin: 0;
  font-size: 0.95em;
  color: #5a4a2b;
}

/* OEM事業案内（固定ページ用） */

.miharuleather-oem h4.miharuleather-heading {
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #555;
}

.miharuleather-oem .miharuleather-table td:first-child {
  font-weight: bold;
  white-space: nowrap;
}

/* =========================
   特商法（tokusho）テーブル：行ゼブラ
   ========================= */
.tokusho-page .tokusho-table{
  width: 100%;
  border-collapse: collapse;
}

.tokusho-page .tokusho-table th,
.tokusho-page .tokusho-table td{
  padding: 14px 16px;
  vertical-align: top;
  border: 1px solid rgba(0,0,0,.08);
}

.tokusho-page .tokusho-table th{
  width: 220px;            /* PCで項目名を揃える */
  font-weight: 600;
}

/* 右列（td）だけを行ごとに薄く色分け（ゼブラ） */
.tokusho-page .tokusho-table tr:nth-child(even) th,
.tokusho-page .tokusho-table tr:nth-child(even) td{
  background: rgba(0,0,0,.04) !important;
}



@media (max-width: 768px){
  .tokusho-page .tokusho-table th{
    width: auto;
  }
}

  商品お問い合わせフォーム（.product-inquiry-form）
  Contact Form 7の商品お問い合わせページに適用するスタイル
----------------------------------------------------- */

/* ----------------------------------------------------
  商品お問い合わせフォーム全体
----------------------------------------------------- */
.product-inquiry-form {
  width: 100%;
  box-sizing: border-box;
  padding-right: 24px;
  padding-left: 24px;
  color: #333;
  font-size: 16px;
  line-height: 1.7;
}

.product-inquiry-form > p {
  margin: 0;
}

.product-inquiry-form > p:first-child {
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ddd;
}

/* ----------------------------------------------------
  商品情報：商品画像と商品名
  Contact Form 7が自動生成するp要素に対応
----------------------------------------------------- */
.product-inquiry-product {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px dotted #ccc;
}

.product-inquiry-product > p {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.product-inquiry-product > p > br {
  display: none;
}

.product-inquiry-product img {
  display: block;
  width: 132px;
  height: 84px;
  object-fit: contain;
}

/* ----------------------------------------------------
  入力項目の共通表示
  Contact Form 7がlabelをpで包む構造に対応
----------------------------------------------------- */
.product-inquiry-form > p > label {
  display: block;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px dotted #ccc;
  font-weight: 700;
}

.product-inquiry-label-text {
  display: inline-block;
  white-space: nowrap;
}

.product-inquiry-required {
  display: inline-block;
  margin-left: 4px;
  color: #c54b4b;
  font-size: 0.78em;
  font-weight: 700;
  white-space: nowrap;
}

.product-inquiry-form > p > label > br {
  display: none;
}

.product-inquiry-form > p > label input,
.product-inquiry-form > p > label textarea,
.product-inquiry-form > p > label select {
  box-sizing: border-box;
  width: 100%;
  margin-top: 6px;
  padding: 10px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  font-size: 16px;
}

.product-inquiry-form > p > label textarea {
  min-height: 150px;
  resize: vertical;
}

/* ----------------------------------------------------
  姓名・氏名カナ：姓と名の横並び
  Contact Form 7が自動生成するp要素に対応
----------------------------------------------------- */
.product-inquiry-name-fields {
  margin: 0;
  padding: 0;
  border-bottom: 1px dotted #ccc;
}

.product-inquiry-name-fields > p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 0;
}

.product-inquiry-name-fields > p > br {
  display: none;
}

.product-inquiry-name-fields > p > label {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
}

.product-inquiry-name-fields > p > label > br {
  display: none;
}

.product-inquiry-name-fields .wpcf7-form-control-wrap {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.product-inquiry-name-fields input {
  box-sizing: border-box;
  width: 100%;
  margin-top: 0;
  padding: 10px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  font-size: 16px;
}

/* ----------------------------------------------------
  添付ファイル
----------------------------------------------------- */
.product-inquiry-form > p > label input[type="file"] {
  padding: 6px;
  background: #fff;
  font-size: 14px;
}

/* ----------------------------------------------------
  入力エラー表示
----------------------------------------------------- */
.product-inquiry-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: 5px;
  color: #c65b5b;
  font-size: 13px;
  font-weight: 400;
}

/* ----------------------------------------------------
  確認ボタン
----------------------------------------------------- */
.product-inquiry-form > p:last-of-type {
  margin: 0;
}

.product-inquiry-form .wpcf7-submit {
  display: block;
  min-width: 300px;
  margin: 26px auto 0;
  padding: 15px 26px;
  border: 0;
  border-radius: 0;
  background: #e76558;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.product-inquiry-form .wpcf7-submit:hover {
  background: #d9574b;
}

/* ----------------------------------------------------
  スマートフォン表示
----------------------------------------------------- */
@media screen and (min-width: 701px) {
  .product-inquiry-form > p > label {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
  }

  .product-inquiry-form > p > label input,
  .product-inquiry-form > p > label textarea,
  .product-inquiry-form > p > label select {
    width: 100%;
    max-width: none;
    margin-top: 0;
  }

  /* 入力内容に合わせた項目別の幅 */
  .product-inquiry-name-fields .wpcf7-form-control-wrap input {
    width: 240px;
    max-width: 100%;
  }

  .product-inquiry-form .wpcf7-form-control-wrap[data-name="zip"] input {
    width: 160px;
    max-width: 100%;
  }

  .product-inquiry-form .wpcf7-form-control-wrap[data-name="addr"] input {
    width: 480px;
    max-width: 100%;
  }

  .product-inquiry-form .wpcf7-form-control-wrap[data-name="tel"] input {
    width: 220px;
    max-width: 100%;
  }

  .product-inquiry-form .wpcf7-form-control-wrap[data-name="your-email"] input,
  .product-inquiry-form .wpcf7-form-control-wrap[data-name="your-email-confirm"] input {
    width: 380px;
    max-width: 100%;
  }

  .product-inquiry-form .wpcf7-form-control-wrap[data-name="your-message"] textarea {
    width: 560px;
    max-width: 100%;
  }
}

@media screen and (max-width: 700px) {
  .product-inquiry-form {
    font-size: 15px;
  }

  .product-inquiry-product > p {
    gap: 10px;
    font-size: 16px;
  }

  .product-inquiry-product img {
    width: 96px;
    height: 64px;
  }

  .product-inquiry-name-fields > p {
    gap: 8px;
  }

  .product-inquiry-form .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}
