/* ==========================================================================
   はちみつマドンナ - oem.css
   OEM・受託製造ページ専用CSS
   ※ デザイントークン(CSS変数 --honey 等)は style.css の :root を共有しています。
      base.html で style.css → oem.css の順に読み込まれる前提です。
   ========================================================================== */

/* --- OEM Hero --- */
.oem-hero {
  background: var(--brown);
  text-align: center;
  padding: 148px 24px 84px;
}
.oem-hero-label {
  font-family: var(--serif-en);
  font-size: 16px;
  color: var(--honey-light);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.oem-hero-catch {
  font-family: var(--serif-jp);
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.oem-hero-sub {
  font-size: clamp(15px, 2.2vw, 18px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 2;
  max-width: 540px;
  margin: 0 auto 28px;
}

/* 安心ピル */
.oem-assure {
  display: flex; flex-wrap: wrap;
  gap: 10px; justify-content: center;
  margin-bottom: 34px;
}
.oem-assure-item {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  padding: 9px 18px;
  font-size: 14px;
}
.oem-assure-item svg { color: var(--honey-light); flex-shrink: 0; }

/* Hero CTA ボタン */
.oem-hero-btn {
  display: inline-block;
  background: var(--honey); color: #fff;
  padding: 16px 48px; border-radius: 32px;
  text-decoration: none;
  font-size: 17px; font-weight: 500;
  letter-spacing: 0.12em;
  transition: all 0.3s;
  box-shadow: 0 4px 24px rgba(212, 162, 78, 0.3);
}
.oem-hero-btn:hover {
  background: #fff; color: var(--honey);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212, 162, 78, 0.25);
}

/* --- Services（対応できること） --- */
.oem-services { background: var(--cream); }
.oem-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-top: 48px;
}
.oem-service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;                 /* 画像の角丸とズームをクリップ */
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.oem-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 48px rgba(74, 55, 40, 0.12);
}
/* カード上部のビジュアル領域（写真 or タイル） */
.oem-service-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--honey-pale);
}
.oem-service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.oem-service-card:hover .oem-service-media img {
  transform: scale(1.06);
}
/* 写真のないカード（05）用タイル */
.oem-service-media--tile {
  display: flex; align-items: center; justify-content: center;
}
.oem-service-media--tile svg {
  width: 56px; height: 56px;
  color: var(--honey-dark);
  opacity: 0.85;
}
/* 番号バッジ（ビジュアルの上に重ねる） */
.oem-service-num {
  position: absolute;
  left: 14px; bottom: 12px;
  margin: 0;
  font-family: var(--serif-en);
  font-size: 28px; font-weight: 600;
  color: var(--honey-light);
  line-height: 1;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(74, 55, 40, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.oem-service-body { padding: 22px 24px 28px; }
.oem-service-name {
  font-family: var(--serif-jp);
  font-size: 18px; font-weight: 600;
  color: var(--brown); margin-bottom: 8px; line-height: 1.5;
}
.oem-service-desc {
  font-size: 14px; color: var(--text-light); line-height: 1.9;
}

/* --- Ingredients（使用できる原料） --- */
.oem-ingredients { background: var(--warm-white); text-align: center; }
.oem-ingredient-list {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.oem-ingredient {
  border-radius: 14px;
  padding: 16px 30px;
  font-size: 16px; font-weight: 500;
}
.oem-ingredient.hungary { background: var(--honey-pale); color: var(--honey-dark); }
.oem-ingredient.domestic { background: var(--green-pale); color: var(--green-soft); }

/* --- Track record（自社展開実績） --- */
.oem-record { background: var(--cream); text-align: center; }
.oem-record-list {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
  margin-top: 40px;
}
.oem-record-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 28px;
  font-size: 15px; color: var(--brown);
  font-family: var(--serif-jp); font-weight: 600;
}
.oem-record-note {
  font-size: 16px; color: var(--text-light);
  margin-top: 24px; line-height: 1.9;
}
.oem-record-note b { color: var(--honey-dark); font-weight: 600; }

/* --- Use cases（こんな方へ） --- */
.oem-usecase { background: var(--warm-white); }
.oem-usecase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px; margin-top: 48px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.oem-usecase-item {
  display: flex; align-items: center; gap: 12px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 15px; color: var(--brown); line-height: 1.6;
}
.oem-usecase-item svg { color: var(--honey); flex-shrink: 0; }
.oem-usecase-lead {
  text-align: center;
  font-size: 17px; color: var(--text-light);
  margin-top: 28px; line-height: 1.9;
}
.oem-usecase-lead b { color: var(--honey-dark); font-weight: 600; }

/* --- Flow（ご相談の流れ） --- */
.oem-flow { background: var(--cream); text-align: center; }
.oem-flow-steps {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 10px; margin-top: 48px;
}
.oem-flow-step {
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  min-width: 132px;
}
.oem-flow-num {
  font-family: var(--serif-en);
  font-size: 22px; font-weight: 600;
  color: var(--honey-light); line-height: 1;
}
.oem-flow-label {
  font-family: var(--serif-jp);
  font-size: 16px; font-weight: 600; color: var(--brown);
}
.oem-flow-arrow { color: var(--honey); flex-shrink: 0; }
.oem-flow-note {
  font-size: 16px; color: var(--text-light);
  margin-top: 28px;
}

/* --- FAQ --- */
.oem-faq { background: var(--warm-white); }
.oem-faq-list { max-width: 760px; margin: 48px auto 0; }
.oem-faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
}
.oem-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--serif-jp);
  font-size: 17px; font-weight: 600;
  color: var(--brown);
  display: flex; align-items: center;
  gap: 14px;
}
.oem-faq-item summary::-webkit-details-marker { display: none; }
.oem-faq-q {
  font-family: var(--serif-en);
  color: var(--honey); font-size: 20px; font-weight: 600;
  flex-shrink: 0;
}
.oem-faq-summary-text { flex: 1; line-height: 1.5; }
.oem-faq-icon {
  flex-shrink: 0; color: var(--honey);
  transition: transform 0.3s;
}
.oem-faq-item[open] .oem-faq-icon { transform: rotate(45deg); }
.oem-faq-a {
  padding: 0 26px 24px 62px;
  font-size: 15px; color: var(--text-light); line-height: 1.9;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .oem-service-grid { grid-template-columns: repeat(2, 1fr); }
  .oem-flow-arrow { transform: rotate(90deg); }
  .oem-flow-step { width: 100%; max-width: 320px; }
}
@media (max-width: 560px) {
  .oem-service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .oem-hero { padding: 116px 18px 64px; }
  .oem-assure-item { font-size: 13px; padding: 8px 14px; }
  .oem-service-body { padding: 20px 20px 24px; }
  .oem-faq-a { padding-left: 26px; }
}
