/*
 * sigmax-custom.css（整理版）
 *
 * 明らかな重複指定を統合し、無効なCSS構文・単位不足・特殊空白を修正しています。
 * ページ表示を変えないことを優先し、用途が異なる可能性のある指定は残しています。
 */

#index_shop_list .index_cb_button {
  margin-top: 20px !important;
}

@media screen and (max-width: 768px) {
  #main_col {
    padding: 20px !important;
  }

  #article {
    padding: 20px !important;
  }

  .post_content {
    padding: 20px !important;
  }
}

#blog_list .date {
  display: none;
}

/*=========================
微修正
=========================*/

@media screen and (max-width: 750px) {
  body #shop_list2 h3.title.rich_font {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 5px !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2 !important;
  }
}

@media screen and (max-width: 768px) {
  #learn_list .title_area h3.title.rich_font {
    font-size: 18px !important;
  }
}

.post_content h3 {
  font-size: 18px !important;
}

#header_carousel .title {
  font-size: 18px !important;
}

.single-post .post_content .wp-square-images-4 img {
  height: 100% !important;
  object-fit: cover;
}

/*=========================
微修正
=========================*/

#index_learn_list .index_cb_catch .desc {
  font-size: 16px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#index_find_list .index_cb_catch .desc {
  font-size: 16px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

#archive_catch .desc {
  font-size: 16px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

/*=========================
サブタイトル
=========================*/

/* カードを基準位置に */

article.item {
  position: relative !important;
  overflow: hidden !important;
}

/* 1400px以上 */

@media screen and (min-width: 1401px) {
  article.item .subtitle {
    bottom: 100px !important;
  }
}

/* 1400px以下 */

@media screen and (max-width: 1400px) {
  article.item .subtitle {
    bottom: 40px !important;
  }
}

/* subtitle本体 */

article.item .subtitle {
  /* ← ここ重要 */
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 30 !important;
  margin: 0 !important;
  background: #d83333 !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-align: center !important;
  text-decoration: none !important;
  width: calc(100% - 20px) !important;
  max-width: calc(100% - 20px) !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  word-break: break-word !important;
  overflow-wrap: break-word !important;
}

/* リンクがある場合 */

article.item .subtitle a {
  color: #fff !important;
  text-decoration: none !important;
}

/* subtitle */

/*=========================
スマホ
=========================*/

@media screen and (max-width: 767px) {
  #learn_list .excerpt {
    display: none !important;
  }
}

/*=========================
耐熱・耐薬品・耐久ラベルとは
=========================*/

.biz-area {
  padding: 56px 0 84px;
  color: #222;
}

.biz-area__inner {
  max-width: 900px;
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

.biz-area__head {
  margin-bottom: 24px;
  margin: 0 0 22px;
}

.biz-area__title {
  line-height: 1.4;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  margin: 0 0 12px;
}

.biz-area__line {
  display: block;
  width: 56px;
  height: 2px;
  background: #1b6f6a;
  border-radius: 999px;
}

.biz-area__hero {
  margin: 22px 0 20px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f2;
}

.biz-area__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.biz-area__lead {
  margin: 0 0 34px;
  font-size: 14px;
  line-height: 2.0;
  color: #444;
  margin-bottom: 50px !important;
}

.biz-area__heading {
  margin: 0 0 20px;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
}

.biz-area__subheading {
  margin: 40px 0 16px;
  font-size: 22px;
  line-height: 1.5;
  font-weight: 700;
}

.biz-area__text {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 2;
}

.biz-area__list {
  margin: 0 0 24px;
}

.biz-area__list p {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.9;
}

/*=========================
CONTACT
=========================*/

/* スマホ版も：必須/任意 + 項目名を横並び左寄せ */

.contact-form-table .form-label p {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  width: 100% !important;
  text-align: left !important;
  line-height: 1.5 !important;
}

/* 必須・任意 */

.contact-form-table .form-label p span:first-child {
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

/* テキスト */

.contact-form-table .form-label p span:last-child {
  display: inline-block !important;
  max-width: 110px !important;
  white-space: normal !important;
  word-break: break-word !important;
  line-height: 1.5 !important;
}

/* 個人情報保護方針の不要な枠を消す */

.privacy-check {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.8;
}

/* チェックボックス行 */

.privacy-check label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 「お問い合わせ・ご質問等」を改行させる */

/* PCのみ：ラベルを折り返して見切れ防止 */

@media screen and (min-width: 769px) {
  .contact-form-table .form-label p {
    line-height: 1.6 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
    text-align: left !important;
    white-space: nowrap !important;
  }

  /* 必須・任意 */

  .contact-form-table .form-label p span:first-child {
    flex-shrink: 0 !important;
    margin-top: 2px !important;
  }

  /* テキスト側 */

  .contact-form-table .form-label p span:last-child {
    display: block !important;
    white-space: normal !important;
    word-break: break-word !important;
  }
}

/* PCのみ：必須/任意 + 項目名を1行で左寄せ */

@media screen and (min-width: 769px) {
  .contact-form-table .form-label {
    padding: 20px !important;
    box-sizing: border-box !important;
  }

  /* 必須・任意 */

  .contact-form-table .form-label p span {
    flex-shrink: 0 !important;
    margin: 0 !important;
  }
}

.req::after {
  content: " *";
  color: red;
}

.privacy-check .wpcf7-list-item {
  margin: 0;
}

.privacy-check input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.05);
  vertical-align: middle;
}

/* 個人情報同意 */

.privacy-check a {
  color: #d63638;
  text-decoration: underline;
}

/* 送信ボタンエリア */

.submit-wrap {
  text-align: center;
  margin-top: 28px;
}

/* 送信ボタン */

.wpcf7 input[type="submit"] {
  appearance: none;
  border: none;
  background: #d63638;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 18px 48px;
  min-width: 220px;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
  background: #b72e2f;
  transform: translateY(-1px);
}

/* エラー文 */

.wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #d93025;
}

/* 送信レスポンス */

.wpcf7 form .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
}

/* スマホ */

@media (max-width: 768px) {
  .wpcf7 form label {
    font-size: 14px;
  }

  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"],
  .wpcf7 textarea {
    font-size: 16px;
    padding: 13px 14px;
  }

  .wpcf7 textarea {
    min-height: 180px;
  }

  .privacy-check {
    padding: 14px 14px;
    font-size: 13px;
  }

  .wpcf7 input[type="submit"] {
    width: 100%;
    min-width: 0;
    padding: 16px 24px;
  }
}

/* 説明文 */

.contact-intro {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: 15px;
  line-height: 2.1;
  color: #444;
}

/*=========================
   バーコードソリューション：カード
=========================*/

.post_content h3 a,
.archive_list h3 a,
.card a {
  color: #000 !important;
  text-decoration: none !important;
}

.post_content h3 a:hover,
.archive_list h3 a:hover,
.card a:hover {
  color: #000 !important;
  text-decoration: none !important;
}

.card {
  position: relative;
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #bdbdbd;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.card a.thumb {
  display: block;
  text-decoration: none;
}

.card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.card:hover img {
  transform: scale(1.04);
  opacity: 0.96;
}

/* タイトル周りが白背景で沈まないように */

.card .ttl,
.card h3,
.card p {
  transition: color 0.25s ease;
}

.card:hover .ttl,
.card:hover h3,
.card:hover p {
  color: #111;
}

.card h3,
.card .ttl,
.card p {
  min-height: 52px;
  line-height: 1.5;
  margin: 0;
  padding: 16px 12px;
  box-sizing: border-box;
}

/*=========================
各バーコードソリューション
=========================*/

.contact-btn a {
  /* ← ここで大きく */
  /* ← 文字も大きく */
  display: inline-block;
  background: #d63638;
  color: #fff !important;
  padding: 30px 70px;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none !important;
  border-radius: 999px;
  line-height: 1.4;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-btn a:hover {
  background: #ad2c2e;
  transform: translateY(-3px);
}

.contact-btn {
  text-align: center;
  margin: 32px 0;
  padding-top: 50px;
}

.spec-table .th {
  height: auto !important;
  background: #fafafa;
  border-right: 1px solid #eee;
  font-weight: 600;
  color: #444;
}

.post_content p {
  font-size: 13px;
  line-height: 2.4;
  margin: 0 0 0 0;
}

.spec {
  padding-bottom: 30px;
}

.pp {
  padding-top: 20px;
  line-height: 2;
  font-size: 13px;
  padding-bottom: 10px;
}

/*=========================
日本食品分析センター
=========================*/

.single-post .post_content p:has(+ .wp-square-images-4),
.single-post .post_content + p {
  font-size: 13px;
  color: #222 !important;
}

/*=========================
  年表（縦ライン）
=========================*/

.toki-timeline {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 16px 60px;
}

.toki-timeline__title {
  text-align: center;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: .08em;
  margin: 0 0 28px;
}

.toki-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(0,0,0,.08);
}

.toki-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

/* 縦ライン（年の右側） */

.toki-timeline__item::before {
  /* 年カラム幅と合わせる */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 180px;
  width: 2px;
  background: rgba(0,0,0,.12);
}

/* ノード（丸） */

.toki-timeline__item::after {
  /* ライン中心に合わせる */
  content: "";
  position: absolute;
  left: calc(180px - 7px);
  top: 38px;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(0,0,0,.35);
  box-sizing: border-box;
}

/* 年ブロック（黄色） */

.toki-timeline__year {
  /* ←ここ重要：行の高さにピッタリ伸ばして「隙間」を消す */
  padding: 0px 0px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  align-self: stretch;
  height: 100%;
}

.toki-timeline__yearMain {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.toki-timeline__yearSub {
  margin: 0;
  font-size: 14px;
  opacity: .85;
}

/* 右側（本文＋任意画像） */

.toki-timeline__body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 18px;
  align-items: start;
  padding-right: 6px;
}

.toki-timeline__content p {
  margin: 0 0 10px;
  line-height: 1.9;
}

.toki-timeline__content p:last-child {
  margin-bottom: 0;
}

.toki-timeline__media {
  margin: 0;
  text-align: center;
}

.toki-timeline__media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.toki-timeline__media figcaption {
  font-size: 12px;
  opacity: .8;
  margin-top: 8px;
  line-height: 1.6;
}

/*=========================
  SP：縦並び（ラインは左に）
=========================*/

@media (max-width: 768px) {
  .toki-timeline__item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 0;
  }

  /* ラインを左に移動 */

  .toki-timeline__item::before {
    left: 18px;
  }

  .toki-timeline__item::after {
    left: 11px;
    top: 26px;
  }

  .toki-timeline__year {
    /* ライン分の逃げ */
    padding-left: 44px;
  }

  .toki-timeline__body {
    /* ライン分の逃げ */
    grid-template-columns: 1fr;
    padding-left: 44px;
  }

  .toki-timeline__media {
    max-width: 360px;
  }
}

/*=========================
   Top Message (Kao-like)
=========================*/

.top-message {
  padding: 56px 0 80px;
  color: #222;
}

.top-message__inner {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

/* 見出し（左寄せ + 線） */

.top-message__head {
  margin: 0 0 22px;
}

.top-message__title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  letter-spacing: .02em;
  margin: 0 0 12px;
}

.top-message__line {
  /* 緑の線 */
  display: block;
  width: 56px;
  height: 2px;
  background: #1b6f6a;
  border-radius: 999px;
}

/* 画像（角丸・横長） */

.top-message__hero {
  margin: 22px 0 34px;
  border-radius: 14px;
  overflow: hidden;
  background: #f2f2f2;
}

.top-message__hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャッチ */

.top-message__catch {
  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 600;
  letter-spacing: .03em;
  margin: 0 0 18px;
}

/* 本文 */

.top-message__body {
  font-size: 15px;
  line-height: 2.05;
  color: #333;
}

.top-message__body p {
  margin: 0 0 18px;
}

.top-message__body p:last-child {
  margin-bottom: 0;
}

/* 署名（右寄せ） */

.top-message__sign {
  margin-top: 26px;
  text-align: right;
}

.top-message__sign-meta {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.7;
  color: #444;
}

.top-message__sign-role {
  margin: 0 0 10px;
  font-size: 13px;
  color: #444;
}

.top-message__sign-image {
  width: min(360px, 70%);
  height: auto;
  display: inline-block;
}

/* スマホ調整 */

@media (max-width: 680px) {
  .top-message {
    padding: 40px 0 56px;
  }

  .top-message__inner {
    width: min(1060px, calc(100% - 32px));
  }

  .top-message__hero {
    margin: 18px 0 24px;
    border-radius: 12px;
  }

  .top-message__body {
    font-size: 14px;
    line-height: 1.95;
  }

  .top-message__sign-image {
    width: min(320px, 85%);
  }
}

/*=========================
  Business Area (Kao-like)
=========================*/

/* 見出し */

/* ヒーロー画像 */

/* 導入文 */

/* 売上高比率 */

.biz-ratio {
  padding: 10px 0 36px;
  border-top: 1px solid #e6e6e6;
}

.biz-ratio__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 16px;
}

.biz-ratio__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1b6f6a;
}

.biz-ratio__note {
  margin: 0;
  font-size: 12px;
  color: #777;
}

.biz-ratio__box {
  background: #fff;
}

.biz-ratio__box img {
  width: 100%;
  height: auto;
  display: block;
}

/* 事業カード */

.biz-list {
  display: grid;
  gap: 34px;
  margin-top: 8px;
}

.biz-card__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
}

.biz-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1b6f6a;
}

.biz-card__rule {
  display: block;
  height: 1px;
  background: #e6e6e6;
}

.biz-card__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 22px;
  align-items: start;
}

.biz-card__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
}

.biz-card__media img {
  width: 100%;
  height: auto;
  display: block;
}

.biz-card__content {
}

.biz-card__text {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 2.0;
  color: #444;
}

.biz-card__logos img {
  width: 100%;
  height: auto;
  display: block;
}

/* ボタン（枠線の細いタイプ） */

.biz-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  max-width: 100%;
  padding: 12px 18px;
  border: 1px solid #1b6f6a;
  color: #1b6f6a;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
}

.biz-card__btn:hover {
  background: rgba(27,111,106,.08);
}

/* ===== section header ===== */

.brand-grid-sec {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 60px;
  color: #222;
}

.brand-grid-sec__title {
  /* 緑っぽい見出し */
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  color: #0e6a61;
}

.brand-grid-sec__rule {
  border: 0;
  height: 1px;
  background: #2b2b2b;
  margin: 0 0 26px;
}

.brand-grid-sec__subtitle {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 800;
}

/* ===== base ===== */

.page {
  background: #fff;
  color: #111;
}

.content {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 16px 80px;
}

/* ===== breadcrumb ===== */

.breadcrumb {
  max-width: 980px;
  margin: 10px auto 0;
  padding: 0 16px;
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a {
  color: #111;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: #bbb;
}

/* ===== title ===== */

.page-head {
  text-align: center;
  padding: 26px 0 18px;
}

.page-title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
}

.page-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #333;
}

/* ===== hero image ===== */

.hero-media {
  margin: 18px 0px 50px;
}

.hero-box {
  /* グレーの仮画像 */
  width: 100%;
  height: 320px;
  background: #6b6667;
  border-radius: 2px;
}

/*imgを使う場合
.hero-media img{ width:100%; height:auto; display:block; }*/

/* ===== prose ===== */

.prose {
  margin: 18px 0 24px;
  font-size: 13px;
  line-height: 2;
  color: #222;
}

.prose p {
  margin: 0 0 14px;
}

/* ===== 3 thumbs ===== */

.gallery {
  margin: 26px 0 26px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.thumb {
  /* グレーの仮画像 */
  aspect-ratio: 4 / 3;
  background: #6b6667;
  border-radius: 2px;
}

/* ===== youtube ===== */

.video {
  margin-top: 20px;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 2px;
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== responsive ===== */

@media (max-width: 700px) {
  .hero-box {
    height: 240px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }

  .spec-col + .spec-col {
    border-left: none;
    border-top: 1px solid #e9e9e9;
  }

  .spec-row {
    grid-template-columns: 130px 1fr;
  }
}

.spec-table {
  border: 1px solid #ddd;
  background: #fff;
}

.spec-table .row {
  display: grid;
  grid-template-columns: 180px 1fr;
}

.spec-table .row + .row {
  border-top: 1px solid #eee;
}

.spec-table .th,
.spec-table .td {
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.6;
}

.spec-table .td {
  color: #222;
  word-break: break-word;
}

/* SP対応 */

@media (max-width: 700px) {
  .spec-table .row {
    grid-template-columns: 130px 1fr;
  }
}

#shop_three_image {
  /* 画像間の余白 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
}

#shop_three_image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== products(/shopアーカイブ) 用：カードグリッド ===== */

.post-type-archive-shop .grid-section {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 40px;
}

.post-type-archive-shop .grid-header {
  margin: 0 0 18px;
}

.post-type-archive-shop .grid-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
}

.post-type-archive-shop .grid-lead {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

/* 4列グリッド */

.post-type-archive-shop .grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* カード */

.post-type-archive-shop .card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

/* サムネ（上だけ角丸） */

.post-type-archive-shop .card .thumb {
  display: block;
  overflow: hidden;
  background: transparent !important;
}

/* 画像の比率を統一（見本の感じ） */

.post-type-archive-shop .card .thumb img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* 本文エリア */

.post-type-archive-shop .card .body {
  text-align: center;
  margin-bottom: 20px;
}

.post-type-archive-shop .card .title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .02em;
}

.post-type-archive-shop .card .title a {
  color: #111;
  text-decoration: none;
}

.post-type-archive-shop .card .title a:hover {
  text-decoration: underline;
}

/* レスポンシブ */

@media (max-width: 1000px) {
  .post-type-archive-shop .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .post-type-archive-shop .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .post-type-archive-shop .grid {
    grid-template-columns: 1fr;
  }
}

/* サムネイル下のグレー帯を完全に消す */

.post-type-archive-shop .card .thumb::before,
.post-type-archive-shop .card .thumb::after {
  display: none !important;
  content: none !important;
}

/* テーマが重ねている背景・影も無効化 */

/* 画像の下に謎の要素が入っている場合の保険 */

.post-type-archive-shop .card .thumb *::before,
.post-type-archive-shop .card .thumb *::after {
  display: none !important;
}

#shop_three_image br {
  display: none;
}

/*=========================
 耐熱性などの製品まとめページ
=========================*/

/*=======================================
   カテゴリ追加HTML（比較表）だけ整える
=======================================*/

.shopcat-extra-html {
  margin: 24px auto 40px;
  padding: 0 16px;
  -webkit-overflow-scrolling: touch;
  width: 1180px;
  overflow-x: visible !important;
}

/* 横幅が足りない時は横スクロールにする（崩れ防止） */

/* テーマの table 系スタイルを打ち消して、普通の表に戻す */

.shopcat-extra-html table {
  /* 列が多いので保険（好みで調整） */
  /* ここが「小さく縮む」対策の本命 */
  width: 100% !important;
  min-width: 900px;
  border-collapse: collapse !important;
  table-layout: auto !important;
  transform: none !important;
  zoom: 1 !important;
  font-size: 14px;
  line-height: 1.6;
  background: #fff;
}

.shopcat-extra-html th,
.shopcat-extra-html td {
  /* 変な折り返し/詰まり防止 */
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  vertical-align: middle;
  word-break: normal;
  white-space: nowrap;
}

.shopcat-extra-html th {
  font-weight: 700;
  background: rgba(0,0,0,.03);
  text-align: center;
}

.shopcat-extra-html td {
  text-align: center;
}

/* 製品名列だけ左寄せにしたい場合（1列目想定） */

.shopcat-extra-html td:first-child,
.shopcat-extra-html th:first-child {
  text-align: left;
  white-space: normal;
  min-width: 180px;
}

/* 右端の特徴列（最後の列）を読みやすく */

.shopcat-extra-html td:last-child,
.shopcat-extra-html th:last-child {
  text-align: left;
  white-space: normal;
  min-width: 260px;
}

/* モバイルは少し文字小さめ */

@media (max-width: 768px) {
  .shopcat-extra-html table {
    font-size: 12px;
    min-width: 820px;
  }
}

/* 表の製品名リンク */

.shopcat-extra-html .spec-product-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.shopcat-extra-html .spec-product-link:hover {
  opacity: .75;
}

.pagetitle {
  text-align: center;
}

.vercontent-p {
  font-size: 20px;
  text-align: left;
  line-height: 2;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.section-title {
  border-left: 4px solid #bfbfbf;
  padding-left: 12px;
  margin: 30px 0 20px;
  font-weight: 600;
  font-size: 16px;
  color: #555;
}

.gray-bar-title {
  background: #e5e5e5;
  padding: 8px 14px;
  margin-top: 60px;
  font-size: 20px;
  color: #333;
  font-weight: 600;
}

#shop_image_slider {
  display: none !important;
}

.category-free-html {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 30px;
  color: #333;
  font-size: 14px;
  line-height: 2;
  box-sizing: border-box;
}

.category-free-html .lead {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.8;
  color: #222;
}

.category-free-html p {
  margin: 0 0 18px;
}

.category-free-html h3 {
  margin: 40px 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.category-free-html ul {
  margin: 0;
  padding-left: 1.4em;
}

.category-free-html li {
  margin-bottom: 10px;
}

.category-free-html .barcode-feature {
  max-width: 780px;
  margin: 0 auto;
}

.single-post.pc #main_contents {
  width: 1180px !important;
  margin: 0 auto !important;
  display: block !important;
}

.single-post.pc #main_col {
  width: 100% !important;
  max-width: 1180px !important;
  float: none !important;
  flex: none !important;
  margin: 0 auto !important;
}

.single-post #side_col,
.single-post #sidebar {
  display: none !important;
}

body.single-post.pc #main_contents {
  display: block !important;
  width: 1180px !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

body.single-post.pc #main_col {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  -webkit-flex: 0 0 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

body.single-post.pc #main_contents > *:not(#main_col) {
  display: none !important;
}

body.single-post.pc #side_col,
body.single-post.pc #sidebar {
  display: none !important;
  width: 0 !important;
  flex: 0 0 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pc body.color_type2 #container:after {
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: #ffffff;
}

.post_content a,
.custom-html-widget a {
  color: #0073e6;
  text-decoration: underline;
}

.env-table {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border: 1px solid #ddd;
  background: #fff;
}

.env-table > div {
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

/* 左側の線 */

.env-table > div:nth-child(odd) {
  border-right: 1px solid #ddd;
}

/* 見出し */

.env-head {
  background-color: #f5f5f5;
  font-weight: 600;
}

.wp-square-images-4 {
  display: flex;
  gap: 16px;
}

.wp-square-images-4 .wp-square-item {
  flex: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.wp-square-images-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .wp-square-images-4 {
    flex-wrap: wrap;
    gap: 8px;
  }

  .wp-square-images-4 .wp-square-item {
    width: calc(50% - 4px);
    flex: unset;
  }
}

/*=========================
   事例記事デザイン調整
=========================*/

/* 全体幅と余白 */

.single-post #main_col {
  max-width: 980px;
  margin: 0 auto;
}

.single-post #article {
  background: #fff;
}

.single-post #post_title_area {
  margin: 0 0 32px;
  padding: 10px 0 0;
}

.single-post #post_title_area .category a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.single-post #post_title_area .title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.02em;
  margin-top: 16px;
}

/* パンくず */

.single-post #bread_crumb {
  margin-bottom: 24px;
}

.single-post #bread_crumb ul {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ヒーロー画像 */

.single-post .hero-media {
  margin: 0 0 36px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
}

.single-post .hero-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* 導入表をカードっぽく */

.single-post .spec-table {
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  margin: 0 0 36px;
}

.single-post .spec-table .row {
  grid-template-columns: 180px 1fr;
}

.single-post .spec-table .th,
.single-post .spec-table .td {
  padding: 16px 18px;
  font-size: 14px;
}

.single-post .spec-table .th {
  background: #f8f8f8;
  color: #555;
  font-weight: 700;
}

.single-post .spec-table .td {
  background: #fff;
}

/* 本文 */

.single-post .post_content {
  font-size: 16px;
  line-height: 2;
  color: #222;
}

.single-post .post_content p {
  margin: 0 0 1.4em;
  line-height: 2;
}

.single-post .post_content h2 {
  font-size: 28px;
  line-height: 1.5;
  margin: 64px 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.single-post .post_content h3 {
  font-size: 22px;
  line-height: 1.5;
  margin: 48px 0 16px;
}

/* 4枚画像 */

.single-post .wp-square-images-4 {
  gap: 14px;
  margin: 28px 0 14px;
}

.single-post .wp-square-images-4 .wp-square-item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.single-post .wp-square-images-4 img {
  transition: transform .35s ease;
}

.single-post .wp-square-images-4 .wp-square-item:hover img {
  transform: scale(1.04);
}

/* キャプション・注釈 */

.single-post .post_content p:has(+ .wp-square-images-4),
.single-post .post_content .wp-square-images-4 + p {
  font-size: 13px;
  color: #666;
}

/* 前後記事・関連記事 */

.single-post #next_prev_post {
  margin-top: 56px;
}

.single-post #related_post {
  margin-top: 56px;
}

.single-post #related_post .headline {
  font-size: 22px;
  margin-bottom: 20px;
}

/* スマホ */

@media screen and (max-width: 768px) {
  .single-post #post_title_area .title {
    font-size: 28px;
  }

  .single-post .spec-table .row {
    grid-template-columns: 120px 1fr;
  }

  .single-post .spec-table .th,
  .single-post .spec-table .td {
    padding: 12px;
    font-size: 13px;
  }

  .single-post .post_content h2 {
    font-size: 22px;
    margin: 48px 0 16px;
  }

  .single-post .post_content h3 {
    font-size: 18px;
  }
}

.post_content a:hover,
.custom-html-widget a:hover {
  color: #005a87;
}

@media screen and (max-width: 768px) {
  /* 表をスマホで縦並びに強制 */

  body.single-post .spec-table .row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  body.single-post .spec-table .th,
  body.single-post .spec-table .td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  body.single-post .spec-table .th {
    border-right: none !important;
    border-bottom: none !important;
    padding: 14px 16px !important;
  }

  body.single-post .spec-table .td {
    margin: 0 0 12px 0 !important;
    padding: 14px 16px !important;
  }

  /* 4枚画像を2列に強制 */

  body.single-post .wp-square-images-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  body.single-post .wp-square-images-4 .wp-square-item {
    flex: 0 0 calc(50% - 4px) !important;
    width: calc(50% - 4px) !important;
    max-width: calc(50% - 4px) !important;
    aspect-ratio: 1 / 1 !important;
    box-sizing: border-box !important;
  }

  body.single-post .wp-square-images-4 .wp-square-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  body.single-post .spec-table {
    width: calc(100% - 32px) !important;
    max-width: 100% !important;
    margin: 0 auto 24px !important;
    box-sizing: border-box !important;
  }
}

.image-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.image-group img {
  /* 正方形に揃える */
  width: calc(15% - 8px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.section-title-h2 {
  padding-top: 50px;
  font-size: 18px !important;
  font-weight: 700;
  text-align: left;
  margin: 40px 0 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #ddd;
  position: relative;
}

.section-title-h2::after {
  /* アクセント */
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 60px;
  height: 2px;
  background: #e60023;
}

.image-wrap {
  position: relative;
  width: 200px;
}

.image-wrap img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

/* ←これがラベル */

.product-name {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 16px;
  padding: 4px 8px;
  border-radius: 4px;
}

@media screen and (max-width: 768px) {
  .shopcat-extra-html {
    /* 左右余白 */
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  /* 画像グループ（さっきのやつ） */

  .shopcat-extra-html .image-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }

  .shopcat-extra-html .image-wrap {
    width: 100%;
  }

  .shopcat-extra-html .image-wrap img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  /* タイトル */

  .shopcat-extra-html .section-title-h2 {
    font-size: 16px !important;
    margin: 24px 0 12px;
    padding-left: 10px;
  }

  /* 説明文 */

  .shopcat-extra-html .vercontent-p {
    font-size: 14px;
    line-height: 1.8;
  }
}

.post_content h4 {
  font-size: 16px;
}

#shop_list2 .title {
  font-size: 16px;
  line-height: 1.6;
  font-weight: normal;
  background: #000;
  color: #fff;
  display: block;
  height: 30px;
  position: relative;
  text-align: center;
}

@media screen and (max-width: 1230px) {
  #shop_list2 .title {
    font-size: 16px;
    height: 30px;
  }
}

.single-post .post_content p:has(+ .wp-square-images-4),
.single-post .post_content .wp-square-images-4 + p {
  font-size: 16px !important;
  line-height: 2;
}

.single-post .post_content p.note-text {
  font-size: 13px !important;
  color: #666;
}

.hidden-block {
  display: none !important;
}

/* トップページ（シグマックスとは）スマホ用の文字サイズ */

@media screen and (max-width: 750px) {
  #index_find_list .index_cb_catch .desc {
    font-size: 13px !important;
  }
}

/* トップページ（耐久ラベルとは）スマホ用の文字サイズ */

@media screen and (max-width: 750px) {
  #index_learn_list .index_cb_catch .desc {
    font-size: 13px !important;
  }
}

/* トップページ（耐久バーコードラベルとは）スマホ用は非表示 */

@media screen and (max-width: 750px) {
  #learn_list .title_area .excerpt {
    display: none !important;
  }
}

/* フォーム全体 */

.wpcf7 form .contact-form-table {
  max-width: 980px !important;
  margin: 0 auto !important;
  border: 1px solid #d9d9d9 !important;
  background: #fff !important;
}

/* 行 */

.wpcf7 form .contact-form-table .form-row {
  display: flex !important;
  border-bottom: 1px solid #d9d9d9 !important;
  margin: 0 !important;
}

/* 左列 */

.wpcf7 form .contact-form-table .form-label {
  width: 240px !important;
  background: #f3f4f7 !important;
  padding: 22px 18px !important;
  box-sizing: border-box !important;
  border-right: 1px solid #d9d9d9 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* ラベル文字 */

.wpcf7 form .contact-form-table .label-text {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #333 !important;
  line-height: 1.5 !important;
}

/* 必須・任意 */

.wpcf7 form .contact-form-table .req-label,
.wpcf7 form .contact-form-table .optional-label {
  display: inline-block !important;
  min-width: 48px !important;
  text-align: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  padding: 6px 8px !important;
  border-radius: 3px !important;
  line-height: 1.2 !important;
}

.wpcf7 form .contact-form-table .req-label {
  background: #d83a3a !important;
}

.wpcf7 form .contact-form-table .optional-label {
  background: #b8bcc5 !important;
}

/* 右列 */

.wpcf7 form .contact-form-table .form-input {
  flex: 1 !important;
  padding: 14px 18px !important;
  box-sizing: border-box !important;
  background: #fff !important;
}

/* input */

.wpcf7 form .contact-form-table input[type="text"],
.wpcf7 form .contact-form-table input[type="email"],
.wpcf7 form .contact-form-table input[type="tel"],
.wpcf7 form .contact-form-table textarea {
  width: 100% !important;
  padding: 12px 14px !important;
  border: 1px solid #d9d9d9 !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  background: #fff !important;
  margin: 0 !important;
}

/* フォーカス */

.wpcf7 form .contact-form-table input:focus,
.wpcf7 form .contact-form-table textarea:focus {
  outline: none !important;
  border-color: #d83a3a !important;
}

/* textarea */

.wpcf7 form .contact-form-table textarea {
  min-height: 220px !important;
  resize: vertical !important;
}

/* チェック */

.wpcf7 form .contact-form-table .privacy-check {
  display: flex !important;
  align-items: center !important;
  min-height: 80px !important;
}

.wpcf7 form .contact-form-table .privacy-check .wpcf7-list-item {
  margin: 0 !important;
}

/* ボタン */

.wpcf7 form .contact-form-table .form-submit {
  text-align: center !important;
  padding: 34px 20px 40px !important;
}

.wpcf7 form .contact-form-table .form-submit input[type="submit"] {
  background: #d83a3a !important;
  color: #fff !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  padding: 16px 48px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 10px rgba(216, 58, 58, 0.3) !important;
  width: auto !important;
}

.wpcf7 form .contact-form-table .form-submit input[type="submit"]:hover {
  background: #b92e2e !important;
}

/* スマホ */

@media screen and (max-width: 767px) {
  .wpcf7 form .contact-form-table .form-row {
    display: block !important;
  }

  .wpcf7 form .contact-form-table .form-label {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid #d9d9d9 !important;
    padding: 14px 16px !important;
  }

  .wpcf7 form .contact-form-table .form-input {
    padding: 14px 16px !important;
  }

  .wpcf7 form .contact-form-table .label-text {
    font-size: 14px !important;
  }

  .wpcf7 form .contact-form-table textarea {
    min-height: 180px !important;
  }

  .wpcf7 form .contact-form-table .form-submit input[type="submit"] {
    width: 100% !important;
    max-width: 280px !important;
    font-size: 16px !important;
  }
}

/* 左ラベルのレイアウトを横並びに */

.contact-form-table .form-label {
  /* これに変更 */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

/* 必須・任意タグ 共通 */

.contact-form-table .tag {
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
  min-width: 48px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  padding: 6px 8px;
  border-radius: 3px;
}

/* 必須（赤） */

.contact-form-table .tag.required {
  background: #d83a3a;
}

/* 任意（グレー） */

.contact-form-table .tag.optional {
  background: #b8bcc5;
}

/* ラベル文字を少し整える */

.contact-form-table .form-label span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* スマホ時も横並び維持 */

@media screen and (max-width: 767px) {
  .contact-form-table .form-label {
    display: flex;
    align-items: center;
  }
}

/* ラベル全体を縦並びに変更 */

/* 必須・任意タグ */

/* 必須（赤） */

/* 任意（グレー） */

/* ラベル文字 */

/* spec-tableの乱れ */

.spec p:empty,
.spec p:has(> br:only-child) {
  display: none;
}

@font-face {
  font-family: "design_plus";
  src: url("fonts/design_plus.woff?v=1.6") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}