@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/noto-sans-jp-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Klee One";
  src: url("../fonts/klee-one-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
:root {
  /* Typography */
  --font-body--family: "Noto Sans JP", sans-serif;
  --font-body--weight: 400;

  --font-heading--family: "Noto Sans JP", sans-serif;
  --font-heading--weight: 700;

  /* 600 → 500 or 700 に変更 */
  --font-button--family: "Noto Sans JP", sans-serif;
  --font-button--weight: 500;

  /* h1-h6 (レスポンシブ対応) */
  --font-h1--size: clamp(2.5rem, 5vw + 1rem, 3.75rem);
  --font-h2--size: clamp(2rem, 4vw + 0.5rem, 3rem);
  --font-h3--size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
  --font-h4--size: clamp(1.25rem, 2vw + 0.5rem, 1.5rem);
  --font-h5--size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
  --font-h6--size: clamp(0.9375rem, 0.6vw + 0.75rem, 1rem);

  /* header nav */
  --font-nav-main: clamp(0.9375rem, 0.6vw + 0.75rem, 1rem);

  /* Colors */
  --color-background: rgba(255, 255, 255, 1);
  --color-foreground: rgba(0, 82, 159, 1);
  --color-foreground-heading: rgba(0, 82, 159, 1);
  --color-foreground-subheading: rgba(93, 102, 111, 1);
  --color-background-subheading: rgba(255, 255, 255, 0.1);
  --color-border-subheading-bg: rgba(32, 40, 45, 0.1);
  --color-primary: rgba(0, 82, 159, 1);
  --color-primary-background: rgba(0, 82, 159, 1);
  --color-primary-hover: rgba(0, 82, 159, 1);
  --color-primary-background-hover: rgba(0, 82, 159, 1);
  --color-border: rgba(255, 255, 255, 0.3);
  --color-border-hover: rgba(93, 102, 111, 0.5);
  --color-shadow: rgba(0, 0, 0, 1);
  --color-overlay: rgba(28, 37, 57, 0.6);

  /* Buttons */
  --font-button-size: 1rem;
  --font-button-size-mobile: 1rem;
  --style-button-height: 3.5rem; /* 56px */
  --style-button-height-mobile: 3rem; /* 48px */
  --style-button-slim-height: 3.25rem; /* 52px */
  --style-button-slim-height-mobile: 2.5rem; /* 40px */
  --style-cta-underline-offset: 0.3125rem; /* 5px */
  --style-cta-underline-thickness: 0.0625rem; /* 1px */

  /* Colors - qb Button */
  --color-qb-button-text: rgba(255, 255, 255, 1);
  --color-qb-button-background: rgba(12, 93, 166, 1);
  --color-qb-button-border: rgba(32, 40, 45, 1);
  --color-qb-button-icon: rgba(12, 93, 166, 1);
  --color-qb-button-icon-background: rgba(255, 255, 255, 1);

  --color-qb-button-hover-text: rgba(32, 40, 45, 1);
  --color-qb-button-hover-background: rgb(255, 255, 255, 1);
  --color-qb-button-hover-border: rgb(12, 93, 166, 1);
  --color-qb-button-hover-icon: rgba(255, 255, 255, 1);
  --color-qb-button-hover-icon-background: rgba(12, 93, 166, 1);

  /* Colors - Primary Button */
  --color-primary-button-text: rgba(255, 255, 255, 1);
  --color-primary-button-background: rgba(32, 40, 45, 1);
  --color-primary-button-border: rgba(32, 40, 45, 1);
  --color-primary-button-icon: rgba(0, 82, 159, 1);
  --color-primary-button-icon-background: rgba(255, 255, 255, 1);

  --color-primary-button-hover-text: rgba(32, 40, 45, 1);
  --color-primary-button-hover-background: rgb(255, 255, 255, 1);
  --color-primary-button-hover-border: rgb(32, 40, 45, 1);
  --color-primary-button-hover-icon: rgba(255, 255, 255, 1);
  --color-primary-button-hover-icon-background: rgba(0, 82, 159, 1);

  /* Colors - Secondary Button */
  --color-secondary-button-text: rgba(32, 40, 45, 1);
  --color-secondary-button-background: rgba(255, 255, 255, 1);
  --color-secondary-button-border: rgba(255, 255, 255, 1);
  --color-secondary-button-icon: rgba(255, 255, 255, 1);
  --color-secondary-button-icon-background: rgba(32, 40, 45, 1);

  --color-secondary-button-hover-text: rgba(255, 255, 255, 1);
  --color-secondary-button-hover-background: rgba(32, 40, 45, 1);
  --color-secondary-button-hover-border: rgba(32, 40, 45, 1);
  --color-secondary-button-hover-icon: rgba(0, 82, 159, 1);
  --color-secondary-button-hover-icon-background: rgba(255, 255, 255, 1);

  /* Colors - Input */
  --color-input-background: rgba(255, 255, 255, 1);
  --color-input-text: rgba(93, 102, 111, 1);
  --color-input-border: rgba(93, 102, 111, 0.2);
  --color-input-hover-background: rgba(255, 255, 255, 1);
  --color-input-hover-text: rgba(93, 102, 111, 1);
  --color-input-hover-border: rgba(93, 102, 111, 0.2);

  /* Borders */
  --style-border-width-buttons-primary: 0.0625rem;
  --style-border-width-buttons-secondary: 0.0625rem;
  --style-border-radius-buttons-primary: 2.5rem;
  --style-border-radius-buttons-secondary: 2.5rem;

  --style-border-width-inputs: 0.0625rem;
  --style-border-radius-inputs: 0.5rem;
  --style-border-width: 0.0625rem;

  /* Focus */
  --focus-outline-width: 0.0625rem;
  --focus-outline-offset: 0.1875rem;

  /* Pagination */
  --style-pagination-border-width: 0.0625rem;
  --pagination-item-foreground: rgba(0, 82, 159, 1);
  --pagination-item-background: rgba(242, 242, 242, 1);
  --pagination-item-border: rgba(242, 242, 242, 1);
  --pagination-item-active-foreground: rgba(255, 255, 255, 1);
  --pagination-item-active-background: rgba(0, 82, 159, 1);
  --pagination-item-active-border: rgba(0, 82, 159, 1);

  /* Swiper */
  --swiper-navigation-size: 1rem;
  --swiper-navigation-color: rgba(255, 255, 255, 1);
  --swiper-navigation-background-color: transparent;
  --swiper-navigation-hover-color: rgba(255, 255, 255, 1);
  --swiper-navigation-hover-background-color: rgba(255, 255, 255, 0.15);
  --swiper-pagination-bullet-inactive-color: rgba(242, 242, 242);
  --swiper-pagination-color: rgba(0, 82, 159, 1);
  --swiper-pagination-bullet-inactive-opacity: 1;
}

/* ユーティリティ */
/* button */
.button--qb {
  color: var(--color-qb-button-text);
  background-color: var(--color-qb-button-background);
  border: var(--style-border-width-buttons-qb) solid
    var(--color-qb-button-border);
  border-radius: var(--style-border-radius-buttons-primary);
}

.button--qb:focus,
.button--qb:hover {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  color: var(--color-qb-button-hover-text);
  background-color: var(--color-qb-button-hover-background);
  border: var(--style-border-width-buttons-primary) solid
    var(--color-qb-button-hover-border);
}

/* ===========================================
   ユーティリティ
   =========================================== */
/* PC表示（幅1078px以上） */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* SP表示（幅1078px以下） */
@media only screen and (max-width: 1078px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}

.text333 {
  color: #333333;
  font-weight: 600;
}

/* ===========================================
   header
   =========================================== */
/* 純粋に追加 */
@media (min-width: 992px) {
  .header-megamenu > *:has(> .nav-item:nth-child(3)) > .nav-item {
    width: calc(33.333% - var(--submenu-padding) * 2 / 3);
    max-width: calc(33.333% - var(--submenu-padding) * 2 / 3);
  }
}

/* styleを修正 */
@media (min-width: 992px) {
  .header-submenu {
    border-radius: 0;
    background: #f2f6fa;
    padding: 10px;
  }
}

/* メガメニューpadding調整 */
.header-megamenu > * > .nav-item {
  padding: 0px 20px 0px;
}

/* メガメニュー用css */
.menu-link .heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.menu-icon svg {
  width: 18px;
  height: 18px;
  stroke: #6b7c93;
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
}

.menu-icon {
  position: relative;
  top: 1px;
  /* または 0.5px 相当 */
}

.megamenu .svg-wrapper {
  background-color: rgba(0, 82, 159, 1);
}

/* 追加 */
.header-megamenu .menu-link {
  display: block;
  padding: 12px 16px;
  border-radius: 6px;
  background: #ffffff;
}

.header-megamenu .menu-link:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.header-megamenu .nav-item .menu-link {
  margin: 15px 0px;
}

/* ===========================================
   footer
   =========================================== */

.footer-logo {
  max-width: 80%;
}

.footer-main {
  --color-background: #f7f7f7;
  --color-foreground: #333333;
  --color-foreground-heading: #333333;
  background-color: var(--color-background);
}

.footer-text {
  color: #ffffff;
}

.footer-menu .link-footer {
  text-decoration: none;
  display: inline-block;
  color: #ffffff;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

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

.footer_menu {
  margin-left: 15px;
}
.submenu {
  margin-left: 30px;
}

footer a {
  color: rgba(var(--color-foreground), var(--bs-link-opacity, 1));
  text-decoration: none; /* アンダーラインを消す */
  transition:
    opacity 0.2s ease,
    color 0.2s ease;
}

/* ホバー時のわかりやすい変化 */
footer a:hover {
  opacity: 0.7; /* 少し薄くしてリンク感を出す */
  /* もしくは color: var(--your-accent-color); にして色変化でもOK */
}

/* ===========================================
   page-banner
   =========================================== */
.page-banner {
  --height: 450px;
  --color-overlay: none;
  --color-foreground: rgba(255, 255, 255, 1);
  --color-foreground-heading: rgba(255, 255, 255, 1);
  position: relative;
  overflow: hidden;
  height: var(--height);
}

.page-banner-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-top: 60px; /* 固定ヘッダーの高さぶん補正 */
}

.page-banner-content .heading,
.page-banner-content .breadcrumb a {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.7),
    0 0 10px rgba(0, 0, 0, 0.4);
}

.breadcrumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
  -webkit-margin-before: 20px;
  margin-block-start: 20px;
}

.breadcrumb svg {
  color: var(--color-foreground);
  width: 12px;
  height: 12px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:not(.active),
.breadcrumb li svg {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .page-banner {
    --height: 340px;
  }
}

.pagintaion-list {
  --margin-top: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  gap: 12px;
  -webkit-margin-before: var(--margin-top);
  margin-block-start: var(--margin-top);
}

.pagination-left {
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
}

.pagination-link {
  --size: 2.75rem; /* 44px */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: clamp(1rem, 0.8vw + 0.5rem, 1.125rem);
  /* 約16px〜18pxに可変 */
  color: var(--pagination-item-foreground);
  background-color: var(--pagination-item-background);
  border: var(--style-pagination-border-width) solid
    var(--pagination-item-border);
  width: var(--size);
  height: var(--size);
  border-radius: 100%;
  transition: 0.3s;
}

.pagination-link svg {
  --size: 14px;
  width: var(--size);
  height: var(--size);
}

.pagination-link:not([aria-disabled]):focus,
.pagination-link:not([aria-disabled]):hover,
.pagination-link.active {
  color: var(--pagination-item-active-foreground);
  background-color: var(--pagination-item-active-background);
  border-color: var(--pagination-item-active-border);
}

@media (max-width: 767px) {
  .pagintaion-list {
    --margin-top: 40px;
  }
  .pagination-link {
    --size: 36px;
  }
  .pagination-link svg {
    --size: 12px;
  }
}

/* ===========================================
   見出し
   =========================================== */
.heading08 {
  font-size: 26px;
}

.heading08 span {
  display: flex;
  align-items: center;
  color: #00529f;
  font-size: 18px;
  text-transform: uppercase;
}

.heading08 span::before {
  content: "";
  display: inline-block;
  margin-right: 20px;
  width: 40px;
  height: 1px;
  background-color: #00529f;
}

/* ===========================================
   テーブル
   =========================================== */

.tbl01 {
  border-collapse: collapse;
  width: 100%;
  margin: 1em auto;
}

.tbl01 th,
.tbl01 td {
  padding: 0.5em 2%;
  border: 1px solid #ebebeb;
  vertical-align: top;
  text-align: left;
  font-weight: normal;
}

.tbl01 th {
  background: #efefef82;
  width: 25%;
}

.tbl01 td {
  background: #fff;
}

@media only screen and (max-width: 480px) {
  .tbl01 th,
  .tbl01 td {
    display: block;
    width: auto;
    border-bottom: none;
  }

  .tbl01 tr:last-child {
    border-bottom: 1px solid #ebebeb;
  }
}

/* ===========================================
   google map
   =========================================== */
.google-map {
  --height: 450px;
  overflow: hidden;
  position: relative;
  height: var(--height);
}

/* ===========================================
   philosophy
   =========================================== */
.philosophy_main {
  line-height: 3rem !important;
  font-family: "Noto Serif JP", serif;
}

.philosophy_text {
  color: #00529f;
  line-height: 2rem !important;
}

.pt-150 {
  padding-top: 150px;
}

.box-017 {
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5em 1.5em 1em;
  border-top: 5px solid #00529f;
  border-radius: 3px;
  background-color: #fcfcfcff;
}

.box-017 > div {
  margin-bottom: 0.5em;
  color: #00529f;
  font-weight: 600;
  font-size: 1.05em;
}

.box-017 > p {
  margin: 0;
  color: #333;
}
.philosophy_bg {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 25%,
    #f2f7fc 50%,
    #ffffff 75%,
    #ffffff 100%
  );
}
/* ===========================================
   message
   =========================================== */
.message_bg {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 25%,
    #f2f7fc 50%,
    #ffffff 75%,
    #ffffff 100%
  );
}
.message_main {
  font-family: "Noto Serif JP", serif;
}

.message_text {
  color: #333333;
  line-height: 2rem !important;
}

/* ===========================================
   history
   =========================================== */

.history_bg {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #ffffff 25%,
    #f2f7fc 50%,
    #ffffff 75%,
    #ffffff 100%
  );
}

/* タイムラインの基本スタイル */
.timeline {
  position: relative;
  list-style: none;
  padding: 0;
}

/* 縦線 */
.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: #e0e0e0;
  z-index: 1;
}

/* タイムラインアイテム */
.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 60px;
}

/* 最後のアイテムの下マージンを消す */
.timeline-item:last-child {
  margin-bottom: 0;
}

/* 丸いノード */
.timeline-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  /* 縦線の中央に配置 */
  width: 28px;
  /* 丸の直径 */
  height: 28px;
  /* 丸の直径 */
  border-radius: 50%;
  background: #00529f;
  border: 4px solid #fff;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 日付スタイル */
.timeline-date {
  position: relative;
  margin-bottom: 10px;
  font-weight: bold;
  color: #2c3e50;
}

/* コンテンツボックス */
.timeline-content {
  position: relative;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* コンテンツボックスの矢印 */
.timeline-content::before {
  content: "";
  position: absolute;
  top: 15px;
  left: -10px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 10px solid #fff;
  z-index: 3;
}

/* コンテンツ内の見出し */
.timeline-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #00529f;
}

/* コンテンツ内の段落 */
.timeline-content p {
  margin-bottom: 15px;
}

/* コンテンツ内の最後の要素のマージンを消す */
.timeline-content *:last-child {
  margin-bottom: 0;
}

/* コンテンツ内の画像 */
.timeline-content img {
  max-width: 100%;
  border-radius: 4px;
  margin: 10px 0;
}

/* ===========================================
   group
   =========================================== */
.main_equipment_list {
  list-style-type: none;
  padding-left: 0px;
  margin-bottom: 0px;
}

.main_equipment_list li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 0.3em;
}

.main_equipment_list li::before {
  transform: rotate(-45deg);
  width: 0.4em;
  height: 0.4em;
  border-bottom: 3px solid #00529f;
  border-right: 3px solid #00529f;
  content: "";
}

/* ===========================================
   qa
   =========================================== */

.qa-8 dt {
  margin-bottom: 1em;
  color: #333333;
  font-weight: 600;
}

.qa-8 dt::before,
.qa-8 dd::before {
  margin-right: 0.4em;
}

.qa-8 dt::before {
  content: "Q.";
}

.qa-8 dd {
  margin: 0 0 2.5em;
  padding: 1em 1.5em;
  background-color: #efefef82;
  color: #333333;
}

.qa-8 dd::before {
  content: "A.";
}

/* ===========================================
   用語集
   =========================================== */
.box-018 {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  padding: 1em calc(0.5em + 9px);
  border: 1px solid #e3e3e3;
  color: #333;
  background: #f8f8f8;
}

.search-label {
  font-weight: 600;
  font-size: 16px;
}

.form-control {
  padding: 1rem 1.25rem;
}

.btn-qbi {
  --bs-btn-color: #fff;
  --bs-btn-bg: #00529f;
  --bs-btn-border-color: #00529f;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #00428f;
  --bs-btn-hover-border-color: #00428f;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #00428f;
  --bs-btn-active-border-color: #00428f;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #00428f;
  --bs-btn-disabled-border-color: #00428f;
}

.list-77 {
  list-style-type: none;
  margin-top: 5px;
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
}

.list-77 li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 0.3em;
  white-space: nowrap;
}
/* ▼ タブレット以下（例：max-width: 768px）では折り返しを許可 */
@media (max-width: 768px) {
  .list-77 li {
    white-space: normal;
  }
}

.list-77 li::before {
  transform: rotate(-45deg);
  width: 0.4em;
  height: 0.4em;
  border-bottom: 3px solid #00529f;
  border-right: 3px solid #00529f;
  content: "";
}

.heading-33 {
  border-bottom: 3px solid #e3e3e3;
}

.heading-33 span {
  display: inline-block;
  position: relative;
  padding: 0 0.4em 0.2em;
  color: #333333;
}

.heading-33 span::before {
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #00529f;
  content: "";
}

.list-770 {
  list-style-type: none;
  margin-top: 5px;
  margin-bottom: 5px;
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  padding-left: 0.5rem;
}

.list-770 li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 0.3em;
  white-space: nowrap;
}
/* ▼ タブレット以下（例：max-width: 768px）では折り返しを許可 */
@media (max-width: 768px) {
  .list-770 li {
    white-space: normal;
  }
}

.list-770 li::before {
  transform: rotate(-45deg);
  width: 0.4em;
  height: 0.4em;
  border-bottom: 3px solid #00529f;
  border-right: 3px solid #00529f;
  content: "";
}

.list-777 {
  list-style-type: none;
  margin-top: 5px;
  margin-bottom: 5px;
  display: flex;
  gap: 0.8em;
  flex-wrap: wrap;
  justify-content: center;
  padding-left: 0 !important;
}

.list-777 li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  padding: 0.3em;
  white-space: nowrap;
}

.list-777 li::before {
  transform: rotate(-45deg);
  width: 0.4em;
  height: 0.4em;
  border-bottom: 3px solid #00529f;
  border-right: 3px solid #00529f;
  content: "";
}

.tbl_dictionary {
  border-collapse: collapse;
  width: 100%;
  margin: 1em auto;
}

.tbl_dictionary th,
.tbl_dictionary td {
  padding: 0.5em 2%;
  border: 1px solid #ebebeb;
  vertical-align: top;
  text-align: center;
  font-weight: normal;
}

.tbl_dictionary th {
  background: #efefef82;
  width: 25%;
}

.tbl_dictionary td {
  background: #fff;
}

.recent-words {
  display: none;
  /* 初期非表示（JSで初回表示） */
}

.recent-words.active {
  display: block;
  /* 候補表示 or 空欄時の案内表示 */
}

.tag-term {
  display: inline-block;
  background-color: #f2f6ff;
  color: #00529f;
  border: 1px solid #00529f33;
  padding: 4px 8px;
  margin: 3px 5px 3px 0;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.2s;
}

.tag-term:hover {
  background-color: #00529f;
  color: #fff;
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: #00529f;
  outline: 0;
  box-shadow: 0 0 0 0.1rem rgba(0, 82, 159, 0.8);
}

.list-77 a {
  text-decoration: none;
  color: #333;
}

.list-77 a:hover,
.list-77 a:focus {
  color: #00529f;
  text-decoration: underline;
}

.list-770 a {
  text-decoration: none;
  color: #333;
}

.list-770 a:hover,
.list-770 a:focus {
  color: #00529f;
  text-decoration: underline;
}
/* ===========================================
   関連ページ
   =========================================== */
.toc-001 {
  margin-bottom: 30px;
  padding: 1em 1em 1em 2em;
  border: 1px solid #999;
  background-color: #f7f7f7;
  color: #333333;
}

.toc-001 div {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 5px 0;
}

.toc-001 div::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 4H21V6H8V4ZM3 3.5H6V6.5H3V3.5ZM3 10.5H6V13.5H3V10.5ZM3 17.5H6V20.5H3V17.5ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z' fill='%23333'%3E%3C/path%3E%3C/svg%3E");
  content: "";
}

.toc-001 label::after {
  margin-left: 5px;
  font-size: 0.8em;
  color: #166c9d;
  content: "[開く]";
  cursor: pointer;
}

.toc-001:has(:checked) label::after {
  content: "[閉じる]";
}

.toc-001 input {
  display: none;
}

.toc-001 ol {
  list-style-type: disc;
  margin: 0;
  padding: 0 1.2em;
  overflow: hidden;
}

.toc-001 > ol {
  height: 0;
}

.toc-001:has(:checked) > ol {
  height: auto;
}

.toc-001 ol ol {
  margin-top: 5px;
}

.toc-001 li {
  padding: 5px 0;
}

.toc-001 a {
  color: #166c9d;
}

/* ===========================================
   プライバシーポリシー
   =========================================== */

.list-2 {
  counter-reset: li;
}

.list-2 li {
  display: flex;
  align-items: center;
  padding: 0.3em;
}

.list-2 li::before {
  display: inline-block;
  min-width: 1.7em;
  margin-right: 5px;
  background-color: #00529f;
  color: #fff;
  font-weight: bold;
  font-size: 0.75em;
  line-height: 1.7em;
  text-align: center;
  content: counter(li);
  counter-increment: li;
}

/* ===========================================
   サイトマップ
   =========================================== */

.list-7 {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.list-7 li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.3em;
  white-space: nowrap;
}

.list-7 li::before {
  width: 0.4em;
  height: 0.4em;
  border-bottom: 3px solid #00529f;
  border-right: 3px solid #00529f;
  transform: rotate(-45deg);
  content: "";
  flex-shrink: 0;
}
.list-7 a {
  text-decoration: none;
  color: #333;
}

.list-7 a:hover,
.list-7 a:focus {
  color: #00529f;
  text-decoration: underline;
}

.heading-41 {
  display: flex;
  align-items: center;
  padding: 0.5em 0.7em;
  background-color: #f7f7f7;
  color: #333333;
}

.heading-41::before {
  display: inline-block;
  width: 5px;
  height: 1.5em;
  margin-right: 0.5em;
  background-color: #00529f;
  content: "";
}
/* ===========================================
   ニュース
   =========================================== */
.news-area {
  margin-top: 3rem;
}

.news-list {
  list-style: none outside;
  margin: 0;
  padding: 0;
}

.news-list .item a {
  display: flex;
  flex-wrap: wrap;
  flex-wrap: nowrap;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ccc;
  padding: 20px 20px;
}

.news-list .item:first-child a {
  border-top: 1px solid #ccc;
}

.news-list .item .date {
  margin: 0;
  min-width: 140px;
  font-size: 16px;
  color: #333333;
  padding: 0 20px 0 0;
}

.news-list .item .category {
  margin: 0;
  min-width: 200px;
  padding: 0 20px 0 0;
}

.news-list .item .category span {
  background: #4a7fb8;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
  border-radius: 18px;
}

.news-list .item .category.tech span {
  background: #e67e22;
  color: #fff;
  text-align: center;
  display: inline-block;
  padding: 5px 20px;
  font-size: 12px;
  line-height: 1;
  border-radius: 18px;
}

.news-list .item .title {
  margin: 0;
  width: 100%;
}

.news-list .item a:hover .title {
  color: #0c5da6;
}

@media screen and (max-width: 767px) {
  .news-list .item a {
    flex-wrap: wrap;
  }

  .news-list .item .date {
    min-width: 100px;
  }

  .news-list .item .title {
    margin-top: 10px;
  }
}

.news-back-btn-wrap {
  margin-top: 60px;
  text-align: center;
}

.btn-news-back {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid #00529f;
  color: #00529f;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.btn-news-back:hover {
  background-color: #00529f;
  color: #ffffff;
}
/* ===========================================
   問い合わせインデックスページ
   =========================================== */

.section-headings:not(.section-headings-horizontal) .buttons {
  -webkit-margin-before: 0px;
  margin-block-start: 0px;
}

.list-8 {
  position: relative;
  padding: 1.5em 1em 1em 2.5em;
  border: 1px solid #333333;
}

.list-8 > div {
  position: absolute;
  top: -0.75em;
  left: 1em;
  padding: 0 0.5em;
  background-color: #fff;
  color: #333333;
  font-weight: 600;
}

.list-8 ul {
  list-style-type: disc;
  margin: 0;
  padding: 0;
}

.list-8 li {
  padding: 0.3em 0.3em 0.3em 0;
}

.list-8 li::marker {
  color: #333333;
  font-size: 1.1em;
}

.list-8 a {
  text-decoration: none;
  color: #333;
}

.list-8 a:hover,
.list-8 a:focus {
  color: #00529f;
  text-decoration: underline;
}

/* ===========================================
   問い合わせ詳細入力
   =========================================== */

.form-floating > label {
  color: rgba(0, 82, 159, 1);
}

.card-pricing {
  background-color: rgb(242 242 242 / 60%);
}

form textarea,
form input {
  width: 100%;
  padding: 0;
  min-height: 1rem;
}

.text00529f {
  color: #00529f;
}

.form-section-title {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #00529f;
}

/* --- タグ型（checkbox & radio 両対応） --- */
.tag-group input[type="checkbox"],
.tag-group input[type="radio"] {
  display: none;
}

/* タグボタン風 */
.tag {
  display: inline-block;
  padding: 6px 14px;
  margin: 4px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.2s;
}

/* ホバー */
.tag:hover {
  border-color: #00529f;
  color: #00529f;
}

/* 選択（チェック or ラジオ選択）時 */
.tag-group input[type="checkbox"]:checked + .tag,
.tag-group input[type="radio"]:checked + .tag {
  background-color: #00529f;
  color: #fff;
  border-color: #00529f;
}

.button-10 {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 250px;
  margin: 0 auto;
  padding: 1em 2em;
  overflow: hidden;
  border: none;
  border-radius: 5px;
  background-color: #00529f;
  color: #fff;
  font-weight: 600;
  font-size: 1em;
}

.button-10::before {
  display: block;
  position: absolute;
  top: -50%;
  left: -30%;
  transform: rotate(30deg);
  width: 70px;
  height: 100px;
  content: "";
  background-image: linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-image: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: animation-button-10 2s infinite linear;
}

@keyframes animation-button-10 {
  17% {
    left: 120%;
  }

  100% {
    left: 120%;
  }
}

.button-10:hover {
  background-color: #00428f;
}

/* --- プライバシーポリシー同意チェック --- */
.form-check-input {
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 8px;
}

/* ホバー時 */
.form-check-input:hover {
  border-color: #00529f;
}

/* チェック時の色 */
.form-check-input:checked {
  background-color: #00529f;
  border-color: #00529f;
}

/* チェックマークのスタイル */
.form-check-input:checked[type="checkbox"] {
  background-size: 70%;
}

/* テキスト */
.form-check-label {
  cursor: pointer;
  margin-right: 20px;
  font-size: 15px;
}

/* ===========================================
   OEMとは
   =========================================== */
.my-100 {
  margin-top: 100px;
  margin-bottom: 100px;
}

/* OEMとODMの違い */
/* PCは従来の表で表示 */
.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  border: 1px solid #ccc;
  padding: 12px;
  text-align: left;
  background: #ffffff;
}

.compare-table th {
  background: #f2f7fb;
  font-weight: bold;
}

/* ======== スマホ版：カード型に変形 ======== */
@media (max-width: 768px) {
  .compare-table {
    border: none;
  }

  .compare-table thead {
    display: none;
    /* 見出し非表示 */
  }

  .compare-table tr {
    display: block;
    margin: 0 0 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
  }

  .compare-table td {
    display: block;
    border: none;
    padding: 6px 0;
  }

  /* 1行目 = 項目名（見出し風） */
  .compare-table td:first-child {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
    color: #00529f;
    /* コーポレートカラー */
  }

  /* OEM / ODM 行にラベルを付与 */
  .compare-table td:nth-child(2)::before {
    content: "OEM：";
    font-weight: bold;
  }

  .compare-table td:nth-child(3)::before {
    content: "ODM：";
    font-weight: bold;
  }
}

/* 化粧品OEMメーカー選定のポイント */
.oem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: 0.2s;
}

.oem-point-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.oem-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.oem-card i {
  font-size: 28px;
  color: #00529f;
  /* コーポレートカラー */
  margin-bottom: 12px;
}

.oem-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #00529f;
}

.oem-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

/* 化粧品OEMの製造工程 */
.flow07 {
  padding-left: 0;
}

.flow07 > li {
  list-style-type: none;
  display: flex;
}

.flow07 > li:not(:last-child) {
  margin: 0 0 50px;
}

.flow07 > li .icon07 {
  width: 90px;
  box-sizing: border-box;
  padding: 20px 10px 10px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  background: #7a61a8;
  border-radius: 5px 5px 0 0;
  position: relative;
  line-height: 125%;
  margin: 0;
}

.flow07 > li .icon07::after {
  content: " ";
  width: 0;
  height: 0;
  border-left: 45px solid transparent;
  border-right: 45px solid transparent;
  border-top: 20px solid #7a61a8;
  position: absolute;
  bottom: -20px;
  left: 0;
}

.flow07 > li dl {
  padding: 0 0 0 30px;
  width: calc(100% - 115px);
}

.flow07 > li dl dt {
  padding: 0 0 5px;
  margin: 0 0 15px;
  font-size: 1.2em;
  font-weight: bold;
  border-bottom: 4px solid #cccccc;
  position: relative;
  color: #00529f;
}

.flow07 > li dl dt::after {
  content: "";
  width: 20%;
  height: 4px;
  position: absolute;
  bottom: -4px;
  left: 0;
  background-color: #00529f;
}

.flow07 > li dl dd {
  margin: 0;
}

/* 化粧品OEM商品化スケジュール */
.case-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: #00529f;
  margin-bottom: 20px;
}

.case-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.case-table th,
.case-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #ccc;
  font-size: 0.95rem;
}

.case-table th {
  background: #f5f8fb;
  /* 薄い青グレー。業務系サイトと相性抜群 */
  font-weight: bold;
  color: #00529f;
}

.case-table tr:last-child td {
  border-bottom: none;
}

/* Q美ワールドのOEMの強み */
.strength-list {
  list-style-type: disc;
  list-style-position: inside;
  padding: 1em;
  border: 1px solid #00529f;
}

.strength-list li {
  padding: 0.5em;
}

.strength-list li:not(:last-child) {
  border-bottom: 1px dashed #00529f;
}

.strength-list li::marker {
  color: #00529f;
  font-size: 1.1em;
}

/* ===========================================
   OEMとは
   =========================================== */
.merit-list {
  list-style-type: none;
}

.merit-list li {
  display: flex;
  align-items: center;
  gap: 0 10px;
  position: relative;
  padding: 0.3em 0.3em 0.3em 1.5em;
}

.merit-list li::before,
.merit-list li::after {
  position: absolute;
  content: "";
}

.merit-list li::before {
  left: 0;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background-color: #00529f;
}

.merit-list li::after {
  left: 0.6em;
  transform: translateX(-75%) rotate(-45deg);
  width: 0.3em;
  height: 0.3em;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* メリットの見出し */
.text-bg-qbi {
  background: #00529f;
}

/* メリットまとめ */
.box-meritmatome {
  max-width: 100%;
  margin: 0 auto;
  border: 1px solid #00529f;
  border-radius: 3px;
}

.box-meritmatome span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5em 0;
  background-color: #00529f;
  color: #fff;
  font-weight: 600;
}

.box-meritmatome p {
  margin: 0;
  padding: 1em 1.5em;
  color: #333;
}

.my-150 {
  margin-top: 150px;
  margin-bottom: 150px;
}

.bg-partner {
  background: #f7f7f7;
}

/* 20251212追加 */
.font-klee {
  font-family: "Klee One", cursive;
}

.marker {
  background: linear-gradient(transparent 60%, rgba(0, 82, 159, 0.18) 60%);
  padding: 0 0.15em;
}

.text-15 {
  font-size: 15px;
}

/* 20251215追加 */
.merit-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.merit-item .badge {
  display: inline-block;
  margin-bottom: 8px;
}

.merit-item > .heading {
  margin-bottom: 16px;
}

.merit-item img {
  max-width: 90%;
}

.merit-item .col-lg-8 {
  display: flex;
  align-items: center;
}

.merit-item p {
  max-width: 520px;
  margin-right: auto;
}

/* Q美ワールド｜化粧品OEMサポート体制 */
/* 部門カード 共通スタイル */
.dept-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid #e1e5ea;
  display: flex;
  flex-direction: column;
}

.dept-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00529f;
  /* コーポレートカラーを想定 */
  margin-bottom: 0.75rem;
}

.dept-text {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
  color: #333;
}

/* アイコン + 部門名 を横並びに */
.dept-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  /* アイコンとタイトルの間の余白 */
  margin-bottom: 0.75rem;
}

.dept-icon {
  font-size: 1.4rem;
  /* 横並びに合う控えめサイズ */
  color: #00529f;
  display: flex;
  align-items: center;
}

/* スマホでも読みやすくするための微調整 */
@media (max-width: 575.98px) {
  .section-departments {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .dept-card {
    padding: 1.25rem;
  }

  .dept-title {
    font-size: 1.05rem;
  }

  .dept-text {
    font-size: 0.9rem;
  }
}

/* ===========================================
   OEMの流れ
   =========================================== */
.oem-flow-heading {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #003366;
}

.oem-flow-lead {
  font-size: 0.98rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 2.2rem;
}

/* アコーディオン本体 */
.oem-accordion details {
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #dde3ee;
  margin-bottom: 0.9rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.oem-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 0.9rem 1.2rem;
}

.oem-accordion summary::-webkit-details-marker {
  display: none;
}

.oem-summary-inner {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.oem-summary-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background-color: #00529f;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.oem-summary-title {
  font-size: 1rem;
  font-weight: 700;
  color: #003366;
}

.oem-step-body {
  padding: 0 1.2rem 1.2rem;
  border-top: 1px solid #eef2f8;
  font-size: 0.92rem;
  line-height: 1.8;
  color: #333;
}

.oem-step-body p {
  margin-top: 0.9rem;
  margin-bottom: 0.7rem;
}

.oem-bullet-list {
  padding-left: 1.2rem;
  margin: 0.3rem 0 0.8rem;
}

.oem-bullet-list li {
  margin-bottom: 0.35rem;
}

.oem-note {
  font-size: 0.85rem;
  color: #555;
  border-left: 3px solid #00529f;
  padding-left: 0.6rem;
}

@media (max-width: 575.98px) {
  .oem-flow-heading {
    font-size: 1.5rem;
  }

  .oem-flow-lead {
    font-size: 0.9rem;
  }

  .oem-step-body {
    padding: 0 0.95rem 1rem;
  }
}

/* STEP2 の枝分かれレイアウト */
.oem-step-branch {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.branch-item {
  flex: 1;
  background: #fff;
  border: 1px solid #dfe4ee;
  padding: 1.2rem 1.3rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.branch-title {
  font-size: 1rem;
  font-weight: 700;
  color: #00529f;
  margin-bottom: 0.6rem;
}

@media (max-width: 768px) {
  .oem-step-branch {
    flex-direction: column;
  }
}

.link-buttons {
  display: inline-flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  /* スマホで折り返しOK */
  margin: 0 0.3rem;
}

.link-btn {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: #00529f;
  background: #eaf2f9;
  border: 1px solid #c7d8ea;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.15s ease;
  white-space: nowrap;
}

.link-btn:hover {
  background: #dbe8f5;
  border-color: #98b7d6;
  color: #003f7d;
}

/* 8ステップ：PCはグリッド、スマホは横スクロール */
.oem-step-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin: 2.5rem 0;
}

.step-card {
  background: #fff;
  border: 1px solid #dfe4ee;
  border-radius: 14px;
  padding: 1.2rem;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* 1000×1000 正方形イラスト用 */
.step-illust {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  /* 角丸を足すと柔らかい印象に */
}

.step-num {
  display: inline-block;
  background: #00529f;
  color: #fff;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.step-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #003366;
  line-height: 1.4;
  margin: 0;
}

/* ▼ スマホ：横スクロールタイプに変形 */
@media (max-width: 767.98px) {
  .oem-step-cards {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 0.8rem;
    scroll-snap-type: x mandatory;
  }

  .step-card {
    min-width: 180px;
    scroll-snap-align: start;
  }
}

.step-back-btn-area {
  text-align: right;
  margin-top: 1.4rem;
  padding: 0.5rem;
}

.step-back-btn {
  background: #ffffff;
  border: 1px solid #00529f;
  color: #00529f;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.step-back-btn:hover {
  background: #eaf2f9;
  color: #003f7d;
}

/* summary のアイコン */
.oem-summary-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oem-summary-thumb {
  width: 36px;
  /* 好みで調整 */
  height: 36px;
  flex: 0 0 auto;
}

.oem-summary-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* STEP2 の branch-title 用アイコン */
.branch-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.oem-branch-thumb {
  width: 32px;
  /* STEP2だけ少し小さくするなど調整可 */
  height: 32px;
  flex: 0 0 auto;
}

.oem-branch-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* スマホ時2行　開閉ボタン */
.oem-summary-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* スマホ */
@media (max-width: 575.98px) {
  .oem-summary-text {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .oem-summary-step {
    font-size: 0.78rem;
    /* 少しだけ小さく */
    padding: 0.15rem 0.6rem;
    line-height: 1.2;
  }

  .oem-summary-title {
    font-size: 0.95rem;
    line-height: 1.4;
  }
}

.oem-summary-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.oem-summary-arrow {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-right: 2px solid #00529f;
  border-bottom: 2px solid #00529f;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

/* 開いた状態 */
details[open] .oem-summary-arrow {
  transform: rotate(-135deg);
}

/* ===========================================
   OEM事例紹介
   =========================================== */

/* ▼ グリッド全体 */
.oem-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  padding: 20px 0;
}

/* ▼ カード本体 */
.oem-cat-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  padding: 16px;
  color: #333;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
  cursor: default;
  /* ← クリック不可の見た目 */
}

/* ▼ サムネイル */
.oem-card-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  margin-bottom: 14px;
}

/* ▼ タイトル */
.oem-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

/* ▼ 説明文 */
.oem-card-text {
  font-size: 0.9rem;
  color: #666;
}

@media (max-width: 768px) {
  .oem-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .oem-card-grid {
    grid-template-columns: 1fr;
  }
}

.achievements {
  background-color: #f7f7f7;
}

/* --- カード全体 --- */
.case-card {
  position: relative;
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 36px;
  margin-bottom: 56px;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.06),
    0 3px 12px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

/* ホバー時の浮遊感 */
.case-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.1),
    0 6px 18px rgba(0, 0, 0, 0.06);
}

/* --- 上部のグラデーションアクセント（コーポレート対応） --- */
.case-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: 9px;
  background: linear-gradient(90deg, #00529f, #0a66c5, #3fa9ff);
  border-radius: 22px 22px 0 0;
}

/* --- 背景の光（ブルー×暖色で調和） --- */
.case-card::after {
  content: "";
  position: absolute;
  top: 30%;
  left: 72%;
  width: 320px;
  height: 320px;
  background: radial-gradient(
    circle,
    rgba(0, 82, 159, 0.15) 0%,
    rgba(220, 76, 44, 0.12) 35%,
    rgba(255, 255, 255, 0) 75%
  );
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* --- タイトル --- */
.case-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1d1d1d;
  line-height: 1.45;
  margin-bottom: 26px;
  letter-spacing: 0.01em;
  position: relative;
}

/* 下線：ブルー基調へ変更 */
.case-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 70px;
  height: 3px;
  background: linear-gradient(to right, #00529f, #3fa9ff);
  border-radius: 4px;
}

/* --- メタ情報ボックス --- */
.case-meta {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 32px 0 30px;
  border: 1px solid rgba(0, 82, 159, 0.25);
}

.case-meta p {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

/* --- 本文 --- */
.case-body {
  font-size: 0.98rem;
  color: #333;
  line-height: 1.85;
}

.case-body ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.case-body li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 1.6em;
}

/* 箇条書き：コーポレート連動のブルー寄りアクセント */
.case-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffffff, #00529f);
  box-shadow: 0 0 0 2px rgba(0, 82, 159, 0.35);
}

/* --- レスポンシブ --- */
@media (max-width: 576px) {
  .case-card {
    padding: 30px 24px;
    margin-bottom: 40px;
  }

  .case-title {
    font-size: 1.35rem;
    margin-bottom: 22px;
  }
}

/* ===========================================
   充填設備
   =========================================== */
/* ▼ 「主な工程」全体のボックス */
.fill-process-flow {
  background: #f5f9ff;
  /* やや青みがかった淡い背景 */
  border-radius: 16px;
  padding: 24px 28px;
  margin-top: 24px;
  border: 1px solid #d6d6d6;
}

/* ▼ 見出し「主な工程」 */
.fill-process-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 16px;
  padding-left: 10px;
  border-left: 4px solid #00529f;
  /* コーポレートカラーの帯 */
  line-height: 1.4;
}

/* ▼ リスト全体 */
.fill-process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ▼ 各工程の1行 */
.fill-process-item {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.8;
}

/* ▶マーク */
.fill-process-bullet {
  flex: 0 0 auto;
  font-size: 13px;
  margin-top: 2px;
  color: #00529f;
}

/* 工程名（「充填・閉栓」など） */
.fill-process-name {
  flex: 0 0 auto;
  font-weight: 600;
  white-space: nowrap;
}

/* 罫線に変更（短い横線） */
.fill-process-separator {
  flex: 0 0 32px;
  height: 1px;
  background-color: #ccc;
  margin: 0 8px;
  margin-top: 12px;
}

/* 説明テキスト */
.fill-process-text {
  flex: 1 1 auto;
}

/* ▼ スマートフォン向け（幅が狭いときの折り返し調整） */
@media (max-width: 767.98px) {
  .fill-process-flow {
    padding: 18px 16px;
  }

  .fill-process-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .fill-process-item {
    font-size: 13px;
    flex-wrap: wrap;
  }

  .fill-process-name {
    margin-right: 4px;
  }

  .fill-process-separator {
    margin-right: 4px;
  }

  .fill-process-text {
    width: 100%;
    margin-top: 2px;
  }
}

/* ::::::::::::::::::::::: */
/* 写真ギャラリー部分 */
/* =========================================================
   1.  カテゴリ見出し
========================================================= */
.equip-category {
  font-size: 22px;
  font-weight: 700;
  margin: 50px 0 20px;
  padding-left: 14px;
  border-left: 6px solid #00529f;
}

.equip-category.cell {
  border-color: #008b59;
}

.equip-category.others {
  border-color: #c87a00;
}

/* =========================================================
   2.  ギャラリー（グリッド）
========================================================= */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .equip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .equip-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   3.  カードデザイン
========================================================= */
.equip-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.equip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   4.  サムネイル（クリック領域）
========================================================= */
.equip-thumb {
  position: relative;
  cursor: pointer;
  outline: none;
}

.equip-thumb:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 82, 159, 0.4);
}

.equip-thumb img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* サムネイルタイトル */
.equip-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(2px);
}

/* =========================================================
   5.  ライトボックス（全体構造）
========================================================= */
.equip-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.equip-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 背景：暗転＋ガラスぼかし */
.equip-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.equip-lightbox.is-active .equip-lightbox-backdrop {
  opacity: 1;
}

/* =========================================================
   6.  ダイアログ
========================================================= */
.equip-lightbox-dialog {
  position: relative;
  max-width: min(1400px, 90vw);
  /* 高級感のバランス */
  max-height: 90vh;
  opacity: 0;
  transform: scale(0.92) translateY(6px);
  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.18, 0.54, 0.32, 1.25);
  z-index: 1;
}

.equip-lightbox.is-active .equip-lightbox-dialog {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* =========================================================
   7.  内部コンテンツ（画像＋キャプション）
========================================================= */
.equip-lightbox-inner {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* 画像：切替アニメーション */
.equip-lightbox-img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.equip-lightbox-img.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* キャプション */
.equip-lightbox-caption {
  margin: 14px auto 0;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 6px;
  font-size: 14px;
  color: #f5f5f5;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease 0.15s,
    transform 0.45s ease 0.15s;
}

.equip-lightbox.is-active .equip-lightbox-caption {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   8.  閉じるボタン
========================================================= */
.equip-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  z-index: 20;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.equip-lightbox-close:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: scale(1.12);
}

/* =========================================================
   9.  前へ / 次へ ボタン
========================================================= */
.equip-lightbox-prev,
.equip-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 20;
  transition:
    background 0.25s ease,
    transform 0.2s ease;
}

.equip-lightbox-prev:hover,
.equip-lightbox-next:hover {
  background: rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.12);
}

.equip-lightbox-prev {
  left: 20px;
}

.equip-lightbox-next {
  right: 20px;
}

@media (max-width: 576px) {
  .equip-lightbox-prev {
    left: 10px;
  }

  .equip-lightbox-next {
    right: 10px;
  }
}

/* =========================================================
   10.  ボタンのフォーカスリングを消す（白フチ対策）
========================================================= */
.equip-lightbox-close:focus,
.equip-lightbox-prev:focus,
.equip-lightbox-next:focus {
  outline: none;
  box-shadow: none;
}
/* =========================================================
   11.  サムネイルとライトボックス背景に「上品な高級感」を追加
========================================================= */

/* ----------------------------------------------------
   サムネイル・ホバーの高級感演出
---------------------------------------------------- */
.equip-thumb {
  position: relative;
  overflow: hidden;
}

/* 画像を少しズームする */
.equip-thumb img {
  transition: transform 0.6s ease;
}

.equip-thumb:hover img {
  transform: scale(1.05);
}

/* 上品な透明グラデーションオーバーレイ */
.equip-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.equip-thumb:hover::after {
  opacity: 1;
}

/* タイトルのフェードアップ演出 */
.equip-title {
  transform: translateY(6px);
  opacity: 0.85;
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.equip-thumb:hover .equip-title {
  transform: translateY(0);
  opacity: 1;
}

/* ----------------------------------------------------
   背景グラデーション（高級ガラス調）
---------------------------------------------------- */
.equip-lightbox-backdrop {
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.72)),
    rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.35s ease;
}

/* 包装仕様への対応体制 */
/* 包装仕様セクション全体 */
.pkg-section {
  padding: 60px 20px;
  background: #f7f8fb;
}

.pkg-inner {
  max-width: 1080px;
  margin: 0 auto;
}

/* 見出し・リード文 */
.pkg-header {
  margin-bottom: 32px;
}

.pkg-title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  color: #003366;
  border-left: 6px solid #00529f;
  /* コーポレートカラー */
  padding-left: 12px;
}

.pkg-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}

/* ブロック（「容器・パーツ」「特徴」） */
.pkg-block {
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 24px 26px;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.05),
    0 3px 12px rgba(0, 0, 0, 0.03);
  margin-bottom: 20px;
}

.pkg-block-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 18px;
  color: #00529f;
}

/* ラベル一覧（容器・パーツ） */
.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.pkg-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.4;
  background: #e7f0fb;
  color: #11406b;
  border: 1px solid #d0e0f7;
  white-space: nowrap;
}

/* 特徴リスト */
.pkg-feature-list {
  margin: 0;
  padding-left: 1.2em;
  list-style: none;
}

.pkg-feature-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

/* 疑似の「▶」マーカー（デザイン調整用） */
.pkg-feature-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 0.2em;
  font-size: 0.8em;
  color: #00529f;
}

/* レスポンシブ（スマホ） */
@media (max-width: 768px) {
  .pkg-section {
    padding: 40px 16px;
  }

  .pkg-title {
    font-size: 22px;
  }

  .pkg-block {
    padding: 18px 16px 20px;
  }

  .pkg-tags {
    gap: 8px;
  }

  .pkg-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  .pkg-feature-list li {
    font-size: 14px;
  }
}

/* ▼ 「充填包装」管理体制 図解全体 */
/* 見出し直下のリード */
.pack-flow-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 18px;
}

/* ▼ スイムレーンのコンテナ */
.pack-flow-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

/* ▼ レーン1本分 */
.pack-lane {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* 左側：部門名エリア */
.pack-lane-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 8px;
  border-right: 2px solid rgba(0, 82, 159, 0.12);
}

.pack-lane-title {
  font-size: 16px;
  font-weight: 700;
  color: #00529f;
  letter-spacing: 0.04em;
}

/* ▼ 右側：工程の並び */
.pack-lane-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 工程1つ */
.pack-step {
  position: relative;
  min-width: 180px;
  flex: 1 1 100px;
  padding: 10px 12px 10px 14px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid rgba(0, 82, 159, 0.16);
}

/* 工程タイトル行 */
.pack-step-label {
  font-size: 14px;
  font-weight: 700;
  color: #003b73;
  margin-bottom: 4px;
}

/* 工程説明 */
.pack-step-caption {
  font-size: 12px;
  line-height: 1.7;
  color: #555;
}

/* ▼ レーン間の注記 */
.pack-flow-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.7;
  color: #555;
}

/* ▼ アイコン共通 */
.pack-lane-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(0, 82, 159, 0.35);
  background: radial-gradient(
    circle at 30% 20%,
    #ffffff 0%,
    #e6f0fb 45%,
    #c9ddf5 100%
  );
  color: #00529f;
  font-size: 16px;
}

.pack-lane-icon i {
  color: #00529f;
  font-size: 16px;
}

/* ▼（補足）スマホで字が潰れる場合の微調整 */
@media (max-width: 480px) {
  .pack-lane-icon {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}

/* ▼ レスポンシブ（タブレット以下で縦組みに） */
@media (max-width: 768px) {
  .pack-flow {
    padding: 24px 18px;
  }

  .pack-lane {
    grid-template-columns: 1fr;
  }

  .pack-lane-head {
    border-right: none;
    border-bottom: 1px solid rgba(0, 82, 159, 0.12);
    padding-bottom: 8px;
    margin-bottom: 6px;
  }

  .pack-lane-steps {
    flex-direction: column;
  }
}

/* ▼ 図解フッター（まとめ部分） */
.pack-flow-footer {
  margin-top: 28px;
  padding: 18px 20px;
  border-top: 1px solid rgba(0, 82, 159, 0.15);
  background: #f8fbff;
  border-radius: 0 0 12px 12px;
}

.pack-flow-note {
  font-size: 14px;
  line-height: 1.8;
  color: #335;
  margin: 0;
}

.pack-footer-icon {
  margin-right: 10px;
  color: #00529f;
}

.pack-flow-footer {
  display: flex;
  align-items: flex-start;
}

/* ----------------------------------------------------
   初めてのOEM
---------------------------------------------------- */
.first-flow {
  padding: 0;
}

.first-flow > li {
  position: relative;
  list-style: none;
}

.first-flow > li:not(:last-child) {
  margin-bottom: 40px;
}

/* 縦の点線（主張させない） */
.first-flow > li:not(:first-child)::before {
  content: "";
  position: absolute;
  top: -40px;
  left: calc(10% + 30px - 2px);
  height: 60px;
  border-left: 4px dotted #d1d5db;
  /* 青にしない */
}

/* メインボックス */
.first-flow > li dl {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 20px 30px;
  border: 2px solid #00529f;
  border-radius: 10px;
  position: relative;
  background-color: #fff;
}

/* 下向き矢印 */
.first-flow > li:not(:last-child) dl::before,
.first-flow > li:not(:last-child) dl::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: solid transparent;
}

.first-flow > li:not(:last-child) dl::before {
  border-width: 22px;
  border-top-color: #00529f;
}

.first-flow > li:not(:last-child) dl::after {
  border-width: 20px;
}

/* dt（STEP＋見出し） */
.first-flow > li dl dt {
  flex: 0 0 160px;
  margin-right: 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: #00529f;
}

/* STEPバッジ */
.first-flow > li dl dt .icon {
  display: block;
  margin-bottom: 10px;
  padding: 5px 12px;
  font-size: 12px;
  color: #fff;
  background: linear-gradient(to right, #00529f 0%, #1e6fb8 100%);
  border-radius: 20px;
}

/* dd（説明文） */
.first-flow > li dl dd {
  flex: 1;
  margin: 0;
  color: #1f2937;
  /* 可読性重視 */
}

/* SP対応 */
@media (max-width: 767px) {
  .first-flow > li dl {
    flex-direction: column;
    align-items: flex-start;
  }

  .first-flow > li dl dt {
    flex: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
    text-align: left;
  }

  .first-flow > li dl dd {
    width: 100%;
  }
}

.pt-50 {
  padding-top: 50px;
}
.pt-100 {
  padding-top: 100px;
}

.oem-guide {
  margin-top: 48px;
}

.oem-guide__inner {
  background: #ffffff;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 12px;
  padding: 28px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.oem-guide__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  letter-spacing: 0.02em;
}

.oem-guide__lead {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.oem-guide__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.oem-guide__item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  background: #f2f6fa;
}

.oem-guide__no {
  flex: 0 0 auto;
  min-width: 44px;
  height: 28px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #00529f;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.oem-guide__itemTitle {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
}

.oem-guide__text {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.oem-guide__note {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  color: #1f2937;
  line-height: 1.9;
}

/* SP対応 */
@media (max-width: 767px) {
  .oem-guide__inner {
    padding: 20px 18px;
  }

  .oem-guide__list {
    grid-template-columns: 1fr;
  }
}

.oem-support {
  margin-top: 56px;
}

.oem-support__inner {
  background: #ffffff;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.oem-support__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.oem-support__lead {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.oem-support__list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.oem-support__item {
  padding: 18px 18px;
  background: #f2f6fa;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.oem-support__itemTitle {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #00529f;
}

.oem-support__text {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

/* SP */
@media (max-width: 767px) {
  .oem-support__inner {
    padding: 22px 18px;
  }

  .oem-support__list {
    grid-template-columns: 1fr;
  }
}

.oem-support {
  background: #f2f6fa;
  padding: clamp(28px, 5vw, 64px) 16px;
  color: #1f2937;
}

.oem-support__inner {
  max-width: 1040px;
  margin: 0 auto;
}

.oem-support__header {
  margin-bottom: clamp(18px, 3.5vw, 28px);
}

.oem-support__eyebrow {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 82, 159, 0.08);
  border: 1px solid rgba(0, 82, 159, 0.18);
  color: #00529f;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  margin: 0 0 10px;
}

.oem-support__title {
  font-size: clamp(22px, 3.3vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.oem-support__lead {
  margin: 0;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.9;
  max-width: 78ch;
}

/* --- サポートカード --- */

.oem-support__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.oem-support__card {
  background: #ffffff;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
}

.oem-support__cardTitle {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.4;
  color: #1f2937;
}

.oem-support__cardText {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .oem-support__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

/* --- CTA --- */

.oem-cta {
  margin-top: clamp(18px, 4vw, 28px);
  background: linear-gradient(
    180deg,
    rgba(0, 82, 159, 0.08),
    rgba(0, 82, 159, 0.04)
  );
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 20px;
  padding: clamp(16px, 3vw, 22px);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  display: grid;
  gap: 14px;
}

@media (min-width: 900px) {
  .oem-cta {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 18px;
  }
}

.oem-cta__title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
}

.oem-cta__text {
  margin: 0;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.85;
}

.oem-cta__actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 14px;
  line-height: 1;
  border: 1px solid transparent;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    background 120ms ease,
    border-color 120ms ease;
  will-change: transform;
}

.btn:focus-visible {
  outline: 3px solid rgba(0, 82, 159, 0.25);
  outline-offset: 2px;
}

.btn--primary {
  background: #00529f;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 82, 159, 0.25);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 82, 159, 0.28);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 82, 159, 0.18);
  color: #00529f;
}

.btn--ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
}

.oem-cta__note {
  margin: 2px 0 0;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.6;
}

/* ----------------------------------------------------
   新たな委託工場をお探しの企業様へ
---------------------------------------------------- */
/* OEM見直しの背景：理由リスト */
.oem-review__list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.oem-review__item {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #f2f6fa;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.7;
}

.oem-review__item::before {
  content: "✓";
  position: absolute;
  left: 16px;
  top: 14px;
  font-weight: 800;
  color: #00529f;
}

.oem-review__item:hover {
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 82, 159, 0.08);
}

@media (min-width: 768px) {
  .oem-review__list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* まとめ文 */
.oem-review__conclusion {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: #1f2937;
}

/* 乗り換えメリット */
/* OEMメリット比較 */

.oem-benefit-table {
  margin-top: 24px;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 16px;
  overflow: hidden;
}

.oem-benefit-row {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(0, 82, 159, 0.12);
}

.oem-benefit-row:first-child {
  border-top: none;
}

.oem-benefit-row--head {
  background: #f2f6fa;
  font-weight: 700;
}

.oem-benefit-cell {
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.8;
  color: #1f2937;
}

.oem-benefit-cell--label {
  font-weight: 700;
  color: #00529f;
}

/* PC表示 */

@media (min-width: 768px) {
  .oem-benefit-row {
    grid-template-columns: 0.9fr 2fr 1.3fr;
  }

  .oem-benefit-cell {
    border-left: 1px solid rgba(0, 82, 159, 0.12);
  }

  .oem-benefit-cell:first-child {
    border-left: none;
  }
}

/* ===== スマホ表示最適化 ===== */

@media (max-width: 767px) {
  .oem-benefit-table {
    border: none;
  }

  .oem-benefit-row--head {
    display: none;
  }

  .oem-benefit-row {
    border: 1px solid rgba(0, 82, 159, 0.18);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    background: #ffffff;
  }

  .oem-benefit-cell {
    border: none;
    padding: 12px 14px;
    font-size: 14px;
  }

  /* 検討項目（カード見出し） */
  .oem-benefit-cell--label {
    background: #f2f6fa;
    font-weight: 800;
    color: #00529f;
    border-bottom: 1px solid rgba(0, 82, 159, 0.12);
  }

  /* 疑似見出しを追加 */
  .oem-benefit-cell:nth-child(2)::before {
    content: "Q美ワールドの対応";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 4px;
  }

  .oem-benefit-cell:nth-child(3)::before {
    content: "期待できる効果";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #4b5563;
    margin-bottom: 4px;
  }
}

/* OEM比較検討ポイント：チェックリスト化 */

/* 全体の枠を弱める */
.oem-check-table {
  border: none;
  border-radius: 0;
  margin-top: 28px;
}

/* 行をカード化 */
.oem-check-row {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  background: #ffffff;
}

/* ヘッダ行は完全に不要 */
.oem-check-row--head {
  display: none;
}

/* セル共通 */
.oem-check-cell {
  border: none !important;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.8;
}

/* 左：比較項目（軸） */
.oem-check-cell--label {
  background: #f2f6fa;
  color: #00529f;
  font-weight: 800;
  border-bottom: 1px solid rgba(0, 82, 159, 0.12);
}

/* 右：確認ポイント */
.oem-check-cell:not(.oem-check-cell--label) {
  color: #1f2937;
}

/* PCでは横並びにするが、表には見せない */
@media (min-width: 768px) {
  .oem-check-row {
    grid-template-columns: 0.9fr 2.1fr;
  }

  .oem-check-cell--label {
    border-bottom: none;
    border-right: 1px solid rgba(0, 82, 159, 0.12);
    display: flex;
    align-items: center;
  }
}

/* OEM切り替え時のサポート体制 */
.oem-support-cards {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.oem-support-cards li {
  display: flex;
  gap: 14px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid rgba(0, 82, 159, 0.16);
  border-radius: 16px;
}

.oem-support-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 82, 159, 0.1);
  color: #00529f;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.oem-support-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 15px;
  color: #1f2937;
}

.oem-support-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
}

@media (min-width: 768px) {
  .oem-support-cards {
    grid-template-columns: 1fr 1fr;
  }
}

/* OEM見直しによる成果事例 */
.oem-result-cases {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* 1事例カード */
.oem-result-case {
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 18px;
  background: #ffffff;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

/* 各ブロック（課題／対応／結果） */
.case-block {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* ラベル */
.case-label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 28px;
  border-radius: 999px;
  background: #f2f6fa;
  color: #00529f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* テキスト */
.case-block p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #1f2937;
}

/* 結果ブロック強調 */
.case-block--result .case-label {
  background: rgba(0, 82, 159, 0.12);
  color: #00529f;
}

.case-block--result p {
  font-weight: 700;
  color: #00529f;
}

/* ===== PC表示 ===== */
@media (min-width: 768px) {
  .oem-result-case {
    grid-template-columns: 1.1fr 1.8fr 1.1fr;
    gap: 18px;
    align-items: stretch;
  }

  .case-block {
    flex-direction: column;
    gap: 6px;
  }

  .case-label {
    align-self: flex-start;
  }
}

/* OEM乗り換えを成功させるために */
.oem-success-principles {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.principle-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 20px;
}

.principle-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #00529f;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.principle-body h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #1f2937;
}

.principle-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #4b5563;
}

@media (min-width: 768px) {
  .oem-success-principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .principle-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* ----------------------------------------------------
   フェイスケア
---------------------------------------------------- */
/* 主な製造品目 */
.items-sample {
  margin-top: 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 18px;
  background: #f2f6fa;
}

.items-sample__title {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: #0f2f57;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.items-sample__marker {
  color: #00529f;
  font-weight: 800;
}

.items-sample__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.items-sample__item {
  background: #fff;
  border-radius: 12px;
  padding: 12px 12px;
  border: 1px solid rgba(0, 82, 159, 0.12);
}

.items-sample__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #00529f;
  margin-bottom: 6px;
  line-height: 1.2;
}

.items-sample__label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(0, 82, 159, 0.22);
}

.items-sample__desc {
  font-size: 16px;
  color: #1f2937;
  line-height: 1.6;
  word-break: keep-all;
}

/* タブレット */
@media (min-width: 768px) {
  .items-sample__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* PC */
@media (min-width: 992px) {
  .items-sample {
    padding: 22px 22px 18px;
  }

  .items-sample__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== カスタマイズ案内 ===== */
.customize-guide {
  margin-top: 24px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 14px;
  background: #f2f6fa;
}

.customize-guide__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #0f2f57;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.customize-guide__marker {
  color: #00529f;
  font-weight: 800;
}

.customize-guide__cards {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

.customize-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px 14px;
  border: 1px solid rgba(0, 82, 159, 0.12);
}

.customize-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.customize-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 82, 159, 0.1);
  color: #00529f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.customize-card__text {
  margin: 0 0 10px;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.7;
}

.customize-card__examples {
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
}

.customize-card__examples li {
  margin: 2px 0;
}

/* タブレット以上で2列 */
@media (min-width: 768px) {
  .customize-guide__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* PC以上で3列 */
@media (min-width: 992px) {
  .customize-guide__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ===== 容器カスタマイズ用リスト ===== */
.customize-card__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.7;
}

.customize-card__list li {
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.customize-card__list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #00529f;
  font-weight: 700;
}

.customize-card__list strong {
  font-weight: 700;
  color: #0f2f57;
}

/* ===== 剤型マトリクス ===== */

.formulation-matrix__scroll {
  overflow-x: auto;
}

.formulation-matrix__table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 920px;
  background: #fff;
  table-layout: fixed;
}

.formulation-matrix__table th,
.formulation-matrix__table td {
  border: 1px solid rgba(0, 82, 159, 0.15);
  padding: 10px 12px;
  text-align: center;
  font-size: 16px;
  width: 10%;
}

/* ヘッダー */
.formulation-matrix__table thead th {
  background: #f2f6fa;
  font-weight: 700;
  line-height: 1.3;
  word-break: keep-all;
}

/* 左列（主な品目） */
.formulation-matrix__table tbody th {
  text-align: left;
  background: #fafbfd;
  font-weight: 600;
}

.sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  background: #fafbfd;
  width: 160px;
}

/* 剤型アイコン */
.fx-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.fx-icon.lotion {
  background: #7cb7e6;
}

.fx-icon.gel {
  background: #6fd3c5;
}

.fx-icon.milk {
  background: #f5c6aa;
}

.fx-icon.cream {
  background: #e8c1e8;
}

.fx-icon.oil {
  background: #f0d96a;
}

.fx-icon.balm {
  background: #d6b48a;
}

.fx-icon.scrub {
  background: #b0bec5;
}

.fx-icon.powder {
  background: #e0e0e0;
}

/* ラベル（定番 / 実績あり） */
.rank {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.rank--best {
  background: #00529f;
  color: #fff;
}

.rank--ok {
  background: #e6eef7;
  color: #00529f;
}

/* スマホ微調整（1行維持） */
@media (max-width: 768px) {
  .formulation-matrix__table thead th {
    font-size: 13px;
    padding: 6px 4px;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }

  .fx-icon {
    margin-right: 3px;
  }
}

.matrix-axis {
  padding: 8px 10px;
}

.matrix-axis .axis-row {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.matrix-axis .axis-col {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 2px;
}

/* splide */
.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.main-splide {
  max-width: 640px;
  margin-inline: auto;
}

/* PC：現状維持 */
.main-splide .splide__slide {
  aspect-ratio: 3 / 2;
}

/* スマホ：高さ固定をやめる */
@media (max-width: 767px) {
  .main-splide .splide__slide {
    aspect-ratio: auto;
  }
}

.thumb-splide {
  margin-top: 16px;
}

.thumb-splide .splide__slide {
  border: 1px solid #e0e0e0;
  cursor: pointer;
  opacity: 0.6;
}

.thumb-splide .splide__slide.is-active {
  opacity: 1;
  border-color: #00529f !important;
}

.container-description {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
}

/* ===== 試作概要書（抜粋） ===== */
.trial-sheet {
  margin-top: 28px;
}

.trial-sheet__title {
  font-size: 24px;
  font-weight: 700;
  color: #0f2f57;
  margin: 0 0 14px;
}

.trial-sheet__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trial-sheet__figure {
  margin: 0;
  padding: 14px;
  background: #f2f6fa;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 14px;
}

.trial-sheet__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(0, 82, 159, 0.12);
  display: block;
}

.trial-sheet__caption {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.trial-sheet__excerpt {
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(0, 82, 159, 0.18);
  border-radius: 14px;
}

.trial-sheet__block + .trial-sheet__block {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 82, 159, 0.12);
}

.trial-sheet__h {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #00529f;
}

.trial-sheet__list {
  margin: 0;
  padding-left: 18px;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.7;
}

.trial-sheet__chips {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trial-sheet__chips li {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 82, 159, 0.1);
  color: #0f2f57;
  font-size: 13px;
  font-weight: 600;
}

.trial-sheet__dl {
  margin: 0;
}

.trial-sheet__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding: 10px 0;
}

.trial-sheet__row + .trial-sheet__row {
  border-top: 1px dashed rgba(0, 82, 159, 0.2);
}

.trial-sheet__dl dt {
  font-size: 14px;
  font-weight: 700;
  color: #0f2f57;
}

.trial-sheet__dl dd {
  margin: 0;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.7;
}

.trial-sheet__note {
  color: #6b7280;
  font-weight: 700;
}

.trial-sheet__footnote {
  margin: 14px 0 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.6;
}

/* PC：左右2カラム */
@media (min-width: 992px) {
  .trial-sheet__layout {
    grid-template-columns: 1.05fr 1.35fr;
    align-items: start;
  }

  .trial-sheet__excerpt {
    padding: 18px;
  }

  .trial-sheet__figure {
    padding: 18px;
    position: sticky;
    top: 110px;
    /* ヘッダー高さに応じて調整 */
  }
}

/* オープン処方 */
.series-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  align-items: start;
}

.series-card {
  grid-column: span 6;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.series-head {
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: linear-gradient(
    180deg,
    rgba(0, 82, 159, 0.08),
    rgba(0, 82, 159, 0)
  );
}

.series-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.series-sub {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.8;
  background: rgba(0, 82, 159, 0.1);
  vertical-align: middle;
  white-space: nowrap;
}

.series-dl {
  padding: 14px 16px 18px;
  margin: 0;
  display: grid;
  gap: 12px;
}

.series-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: start;
}

.series-row dt {
  font-weight: 700;
  color: rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.series-row dd {
  margin: 0;
  color: rgba(0, 0, 0, 0.78);
  line-height: 1.8;
}

.note {
  display: block;
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  line-height: 1.6;
}

.series-list {
  margin: 0;
  padding-left: 1.1em;
  display: grid;
  gap: 6px;
}

.series-list li {
  line-height: 1.7;
}

@media (max-width: 980px) {
  .series-card {
    grid-column: span 12;
  }
}

.series-note {
  padding: 12px 16px;
  border: 1px dashed rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: rgba(0, 82, 159, 0.03);
}

.series-note .upcoming {
  display: inline-block;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(0, 0, 0, 0.75);
  letter-spacing: 0.02em;
}

.series-note .upcoming::before {
  content: "※";
  margin-right: 6px;
  color: rgba(0, 0, 0, 0.5);
}

/* series-card 下部の補足（口腔ケア注記など） */
.series-foot {
  padding: 10px 16px 14px;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  background: rgba(0, 82, 159, 0.03);
}

.series-foot .note {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.55);
}

/* ----------------------------------------------------
   サプリメント・健康食品／ペットケア／ファブリック OEM製造品目
---------------------------------------------------- */
.items-sample__grid__healthfood {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

/* タブレット */
@media (min-width: 768px) {
  .items-sample__grid__healthfood {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* PC */
@media (min-width: 992px) {
  .items-sample {
    padding: 22px 22px 18px;
  }

  .items-sample__grid__healthfood {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* 製造品目レスポンシブグリッド */
.items-sample__grid--responsive {
  display: grid;
  gap: 16px;
}

/* タブレット以下：1列 */
@media (max-width: 991px) {
  .items-sample__grid--responsive {
    grid-template-columns: 1fr;
  }
}

/* PC：2列 */
@media (min-width: 992px) {
  .items-sample__grid--responsive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 製造品目カード内 補足仕様（最終） */
.items-sample__spec {
  margin-top: 10px;
  padding: 10px 12px;
  background: #f6f8fb;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.75);
}

.items-sample__spec li {
  list-style: none;
  margin-bottom: 4px;
}

.items-sample__spec li strong {
  display: inline-block;
  min-width: 4.5em;
  font-weight: 600;
  color: #00529f;
}

/* ----------------------------------------------------
   ドロワーメニュー
---------------------------------------------------- */
.drawer-additional-menu .menu-link {
  font-size: 1rem;
}

/* ----------------------------------------------------
   トップページ
---------------------------------------------------- */
.container-1620 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;

  width: 100%;
  max-width: 1620px;
  margin-inline: auto;

  padding-inline: calc(var(--bs-gutter-x) * 0.5);
}

@media (max-width: 767px) {
  .container-1620 {
    padding-inline: 16px;
  }
}

.lineup-index {
  background-color: #f7f7f7;
}

.item-two__tag-list {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.item-two__tag-list li span {
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  border-radius: 18px;
  border: 1px solid #ced7d1;
  background: #fff;
  padding: 4px 15px 4px;
  color: var(--smartbiz-black);
  position: relative;
  display: inline-block;
  white-space: nowrap;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

/* PC */
.order-media {
  order: 1;
}

.order-content {
  order: 2;
}

/* SP */
@media (max-width: 767px) {
  .order-sp-heading {
    order: 1;
  }

  .order-media {
    order: 2;
  }

  .order-content {
    order: 3;
  }
}

/* ========== 初めてのOEM／新たな委託工場をお探しの企業様へ ========== */
.oem-splitlinks__card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 260px;
  /* SP */
  text-decoration: none;
  color: inherit;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* PCで高さを少し出す */
@media (min-width: 992px) {
  .oem-splitlinks__card {
    min-height: 260px;
  }
}

.oem-splitlinks__card--first {
  background-image: var(--bg-image);
}

.oem-splitlinks__card--partner {
  background-image: var(--bg-image);
}

/* 読ませるための暗幕 */
.oem-splitlinks__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.25));
  transition: opacity 0.2s ease;
  opacity: 0.85;
}

/* テキスト領域 */
.oem-splitlinks__overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

/* タイポ */
.oem-splitlinks__eyebrow {
  margin: 0 0 10px 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
}

.oem-splitlinks__title {
  margin: 0 0 12px 0;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

.oem-splitlinks__lead {
  margin: 0 0 18px 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* 擬似ボタン（リンク内なのでspanでOK） */
.oem-splitlinks__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  font-weight: 600;
}

.oem-splitlinks__icon {
  display: inline-flex;
}

/* hover/focus */
.oem-splitlinks__card:hover::before,
.oem-splitlinks__card:focus-visible::before {
  opacity: 0.5;
}

.oem-splitlinks__card:hover .oem-splitlinks__btn,
.oem-splitlinks__card:focus-visible .oem-splitlinks__btn {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.38);
}

.oem-splitlinks__card:focus-visible {
  outline: 3px solid rgba(0, 82, 159, 0.35);
  outline-offset: -3px;
}

/* SPは読みやすさ優先で最大幅解除 */
@media (max-width: 767px) {
  .oem-splitlinks__overlay {
    max-width: none;
    padding: 22px 16px;
  }

  .oem-splitlinks__title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .oem-splitlinks .col-12 + .col-12 {
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }
}

/* 製造工場・製造体制ブロック */
/* ==========================
   Manufacturing Link Block
========================== */

.manufacturing-link {
  margin-block: 0;
}

/* 背景＋レイアウト */
.manufacturing-link__inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-height: min(520px, 70vh);

  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;

  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

/* オーバーレイ（下に向かって濃く） */
.manufacturing-link__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.05),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 1;
}

/* 情報レール */
.manufacturing-link__content {
  position: relative;
  z-index: 2;
  max-width: 1620px;
  width: 100%;
  margin-inline: auto;
  padding: 0 calc(var(--gutter) + 40px) 56px;
  padding: 28px 24px;
}

/* ラベル */
.manufacturing-link__en {
  font-size: 12px;
  letter-spacing: 0.18em;
  opacity: 0.8;
  margin-bottom: 8px;
}

/* 見出し */
.manufacturing-link__title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* 説明文 */
.manufacturing-link__text {
  font-size: 15px;
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 24px;
}

/* CTA */
.manufacturing-link__btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background-color: #00529f;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.manufacturing-link__inner:hover .manufacturing-link__btn {
  background-color: #003e78;
}

/* ==========================
   Parallax (PC only)
========================== */

@media (min-width: 1024px) {
  .manufacturing-link__inner {
    background-attachment: fixed;
  }
}

/* ==========================
   SP対応
========================== */

@media (max-width: 767px) {
  .manufacturing-link__inner {
    min-height: 260px;
    background-attachment: scroll;
  }

  /* .manufacturing-link__content {
    padding: 0 var(--gutter-sm) 40px;
  } */

  .manufacturing-link__title {
    font-size: 22px;
  }

  .manufacturing-link__text {
    font-size: 14px;
  }
}

/* ==========================
   初めてのOEM　よくある不安
========================== */
.qa-6 {
  border-bottom: 1px solid #d6dde3;
  margin-top: 20px;
  margin-bottom: 20px;
}

.qa-6 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em 1em 3em;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.qa-6 summary::before,
.qa-6 p::before {
  position: absolute;
  left: 1em;
  font-weight: 600;
  font-size: 1.3em;
}

.qa-6 summary::before {
  color: #75bbff;
  content: "Q";
}

.qa-6 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-bottom: 3px solid #333333b3;
  border-right: 3px solid #333333b3;
  content: "";
  transition: transform 0.5s;
}

.qa-6[open] summary::after {
  transform: rotate(225deg);
}

.qa-6 p {
  position: relative;
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 0.3em 3em 1.5em;
  color: #333;
  transition:
    transform 0.5s,
    opacity 0.5s;
}

.qa-6[open] p {
  transform: none;
  opacity: 1;
}

.qa-6 p::before {
  color: #ff8d8d;
  line-height: 1.2;
  content: "A";
}

/* ==========================
   ラインナップ：医薬部外品 NEWラベル
========================== */
.series-title {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.series-badge {
  display: inline-block;
  padding: 0.15em 0.6em;
  font-size: 0.65em;
  font-weight: 600;
  color: #fff;
  background-color: #e60033;
  /* 赤系：NEWの視認性重視 */
  border-radius: 999px;
  line-height: 1;
  letter-spacing: 0.05em;
}

/* ==========================
   Floating OEM CTA
========================== */
.floating-oem-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.floating-oem-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-oem-cta__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #00529f;
  /* ブランドカラー */
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.floating-oem-cta__btn:hover {
  background: #003f7a;
  transform: translateY(-2px);
}

.floating-oem-cta__icon {
  font-size: 16px;
}

/* ===== SP対応 ===== */

@media screen and (max-width: 768px) {
  .floating-oem-cta {
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .floating-oem-cta__btn {
    width: 100%;
    border-radius: 0;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
  }
}
