@charset "UTF-8";
/* ==========================================================================
   Components — ボタン・カード等 共通UI部品の「形」
   色は colors.css へ
   ========================================================================== */

/* ----- ボタン共通 ----- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  height: 50px;
  min-width: 250px;
  padding: 0 56px 0 24px; /* 右側は矢印用にスペース確保 */
  border-radius: var(--radius-pill);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border: 1px solid transparent;
}

.btn > * { position: relative; z-index: 1; }

.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn--lg {
  height: 60px;
  font-weight: 700;
  width: 100%;
  max-width: 350px;
  min-width: 0;
  padding: 0 56px 0 24px;
}

.btn--full { width: 100%; min-width: 0; }

@media (max-width: 767px) {
  .btn {
    min-width: 0;
    width: 100%;
    max-width: 320px;
  }
  .btn--lg {
    max-width: 320px;
  }
}

.btn__label {
  flex: 1 1 auto;
  text-align: center;
}

/* ----- ボタン右端の丸背景付き矢印（15×15） ----- */
.arrow-circle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: currentColor; /* ボタンの文字色＝矢印アイコンの背景色 */
}

.arrow-circle::before {
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
  transform: rotate(45deg) translate(-1px, 1px);
}

.btn--lg .arrow-circle {
  right: 16px;
  width: 16px;
  height: 16px;
}
.btn--lg .arrow-circle::before {
  width: 5px;
  height: 5px;
}

/* btn--primary: ボタンbg=緑 / 文字=白 → 矢印bg=白 / 矢印=緑 */
.btn--primary .arrow-circle { background-color: var(--color-white); }
.btn--primary .arrow-circle::before {
  border-color: var(--color-primary);
}

/* btn--outline / btn--white: ボタン文字=緑 → 矢印bg=緑 / 矢印=白 */
.btn--outline .arrow-circle,
.btn--white .arrow-circle { background-color: var(--color-primary); }
.btn--outline .arrow-circle::before,
.btn--white .arrow-circle::before {
  border-color: var(--color-white);
}

/* btn--dark: bg=濃緑 / 文字=白 → 矢印bg=白 / 矢印=濃緑 */
.btn--dark .arrow-circle { background-color: var(--color-white); }
.btn--dark .arrow-circle::before {
  border-color: var(--color-primary-darker);
}

/* btn--dark-outline: 文字=濃緑 → 矢印bg=濃緑 / 矢印=白 */
.btn--dark-outline .arrow-circle { background-color: var(--color-primary-darker); }
.btn--dark-outline .arrow-circle::before {
  border-color: var(--color-white);
}

/* 黒丸版（ラインナップカード詳細リンク用） */
.arrow-circle--dark {
  background-color: #1a1a1a;
}
.arrow-circle--dark::before { border-color: var(--color-white); }
.arrow-circle--inline {
  position: static;
  transform: none;
  margin-left: 4px;
  width: 18px;
  height: 18px;
}
.arrow-circle--inline::before { width: 5px; height: 5px; }

/* チェブロン（小さな > のみ、丸背景なし） */
.arrow-chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ----- カード共通 ----- */
.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background-color: var(--color-white);
  padding: 32px 24px;
  box-shadow: var(--shadow-card-soft);
}

.card--center {
  align-items: center;
  text-align: center;
}

.card__icon {
  width: 84px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card__icon img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.card__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 11px;
}

.card__body {
  font-size: 16px;
  line-height: 1.75;
  text-align: left;
}

/* ----- カラム並びレイアウト（flex-wrap で増減対応） ----- */
.cols {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.cols--3 > * {
  flex: 1 1 calc((100% - 60px) / 3);
  min-width: 280px;
  max-width: 360px;
}

.cols--2 > * {
  flex: 1 1 calc((100% - 30px) / 2);
  min-width: 280px;
}

.cols--4 > * {
  flex: 1 1 calc((100% - 90px) / 4);
  min-width: 200px;
  max-width: 280px;
}

@media (max-width: 1024px) {
  .cols--4 > * {
    flex: 1 1 calc((100% - 30px) / 2);
    max-width: none;
  }
}

@media (max-width: 767px) {
  .cols { gap: 20px; }
  .cols--3 > *,
  .cols--2 > *,
  .cols--4 > * {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   共通セクションパターン
   ========================================================================== */

/* ----- .section-callout — 緑BG全幅 + 中央テキスト ----- */
.section-callout {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 80px 24px;
  text-align: center;
}

.section-callout__title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-white);
}

.section-callout__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-white);
}

@media (max-width: 767px) {
  .section-callout { padding: 56px 20px; }
  .section-callout__title { font-size: 22px; }
}

/* ----- .section-frosted — 緑葉BG画像 + 半透明白BOX + 緑タイトル ----- */
.section-frosted {
  position: relative;
  padding: 64px 24px;
  overflow: hidden;
  isolation: isolate;
}

.section-frosted__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.section-frosted__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-frosted::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(33, 91, 73, 0.7) 0%,
    rgba(0, 122, 85, 0.27) 25%,
    rgba(255, 255, 255, 0) 44%
  );
  mix-blend-mode: multiply;
}

.section-frosted__inner {
  width: 100%;
  max-width: 940px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 56px 32px;
  text-align: center;
}

.section-frosted__title {
  font-size: 28px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.section-frosted__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .section-frosted { padding: 40px 16px; }
  .section-frosted__inner { padding: 32px 20px; border-radius: 12px; }
  .section-frosted__title { font-size: 20px; }
}

/* ----- .section-imagebg — 暗い画像BG + 白テキスト（タイトルは白BOX） ----- */
.section-imagebg {
  position: relative;
  padding: 120px 24px;
  overflow: hidden;
  isolation: isolate;
}

.section-imagebg__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.section-imagebg__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section-imagebg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 11%,
    rgba(0, 0, 0, 0) 50%
  );
}

.section-imagebg--right::after {
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.5) 11%,
    rgba(0, 0, 0, 0) 50%
  );
}

.section-imagebg__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-imagebg__content {
  width: 100%;
  max-width: 850px;
  margin-right: auto; /* 左寄せ */
}

.section-imagebg--right .section-imagebg__content {
  margin-right: 0;
  margin-left: auto; /* 右寄せ */
}

.section-imagebg__title {
  display: inline-block;
  background-color: var(--color-white);
  color: var(--color-text);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 12px;
}

.section-imagebg__title em {
  color: var(--color-primary);
  font-style: normal;
}

.section-imagebg__title--multi {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  padding: 0;
}

.section-imagebg__title--multi > span {
  display: inline-block;
  background-color: var(--color-white);
  padding: 8px 12px;
  align-self: flex-start;
}

.section-imagebg--right .section-imagebg__title--multi > span {
  align-self: flex-start;
}

.section-imagebg__body {
  margin-top: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-white);
}

.section-imagebg__list {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-imagebg__list li {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .section-imagebg { padding: 56px 20px; }
  .section-imagebg__title { font-size: 20px; }
  .section-imagebg__body { font-size: 14px; }
}

/* ----- .section-text-list — 左テキスト + 右✓ピル ----- */
.section-text-list {
  padding: 96px 0;
}

.section-text-list__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.section-text-list__lead {
  flex: 1 1 480px;
}

.section-text-list__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-text);
}

.section-text-list__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.75;
}

.check-pill-list {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.check-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  background-color: var(--color-white);
}

.check-pill::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22' fill='none'><path d='M6 11.5l3.5 3.5L16 8' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
}

@media (max-width: 767px) {
  .section-text-list { padding: 56px 0; }
  .section-text-list__title { font-size: 22px; }
}

/* ----- .article-card — 関連記事カード ----- */
.article-card__link {
  display: block;
  transition: opacity 0.2s ease;
}

.article-card__link:hover { opacity: 0.8; }

.article-card__thumb {
  width: 100%;
  aspect-ratio: 310 / 224;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f1f1f1; /* placeholder */
}

.article-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* アイキャッチが無い場合のロゴ placeholder */
.article-card__thumb--placeholder {
  background-color: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-card__thumb--placeholder img {
  width: 55%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.article-card__category {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 16px;
}

.article-card__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text);
}

.article-card__body {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ----- .section-cta — 中央テキスト + 2ボタン CTA ----- */
.section-cta {
  background-color: var(--color-primary-light);
  padding: 88px 24px;
  text-align: center;
}

.section-cta__inner {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.section-cta__title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text);
}

.section-cta__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

.section-cta__actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

@media (max-width: 767px) {
  .section-cta { padding: 64px 20px; }
  .section-cta__title { font-size: 22px; }
  .section-cta__actions { gap: 16px; flex-direction: column; align-items: center; flex-wrap: wrap; }
}

/* ----- .title-block — メインタイトル + サブタイトル + 本文 中央寄せ ----- */
.title-block {
  text-align: center;
}

.title-block__title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-text);
  letter-spacing: 0.02em;
}

.title-block__title em {
  color: var(--color-primary);
  font-style: normal;
}

.title-block__subtitle {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.title-block__body {
  margin-top: 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

@media (max-width: 767px) {
  .title-block__title { font-size: 22px; }
}

/* ----- .split-row — 2col flex（図 + テキスト） ----- */
.split-row {
  display: flex;
  gap: 64px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.split-row__figure {
  flex: 1 1 480px;
  display: flex;
  justify-content: center;
}

.split-row__figure img,
.split-row__figure svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.split-row__text {
  flex: 1 1 360px;
  min-width: 280px;
}

.split-row--reverse { flex-direction: row-reverse; }

@media (max-width: 900px) {
  .split-row { gap: 32px; }
  .split-row--reverse { flex-direction: row; }
}

/* ----- .callout-box — 薄緑BG fill、border無し（小カウト専用） ----- */
.callout-box {
  background-color: #f1faf6;
  border: none;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--color-text);
}

/* ----- .box-outline — 緑線アウトライン外枠（セクションまるごと囲み） ----- */
.box-outline {
  border: 1px solid var(--color-primary);
  border-radius: 10px;
  padding: 40px 24px;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.box-outline__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.box-outline__body {
  font-size: 16px;
  line-height: 1.75;
  text-align: center;
  width: 100%;
}

@media (max-width: 767px) {
  .box-outline { padding: 32px 16px; }
  .box-outline__title { font-size: 18px; }
  .callout-box { font-size: 16px; padding: 20px; }
}

/* ----- .content-card — 共通の白カード（ボディラッパー） ----- */
.content-card {
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 0 11px rgba(0, 0, 0, 0.08);
  padding: 48px 32px;
}

.content-card--center { text-align: center; }
.content-card--note   { padding: 32px 48px; border-radius: 10px; }

.content-card__lead {
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-text);
}

.content-card__highlight {
  margin-top: 32px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.875;
}

@media (max-width: 767px) {
  .content-card__highlight { font-size: 16px; }
}

/* ----- .figure-card — 図表を囲む白カード（中央寄せタイトル付き） ----- */
.figure-card {
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 0 11px rgba(0, 0, 0, 0.11);
  padding: 32px 24px;
  text-align: center;
  width: 100%;
}

.figure-card__title {
  font-size: 22px;
  font-weight: 500;
  color: #101828;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.figure-card img,
.figure-card svg {
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

/* 図の native 幅を制限（Figma 準拠） */
.figure-card--w494 img,
.figure-card--w494 svg { max-width: 494px; }
.figure-card--w427 img,
.figure-card--w427 svg { max-width: 427px; }
.figure-card--w534 img,
.figure-card--w534 svg { max-width: 534px; }

/* ==========================================================================
   Product list — 製品一覧（WordPress化前提で汎用名）
   ========================================================================== */

.product-list {
  display: flex;
  flex-direction: column;
}

.product-item {
  padding: 24px 0;
}

.product-item + .product-item {
  border-top: 1px solid #e5e7eb;
}

.product-item__link-wrap {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.product-item__image {
  flex: 0 0 260px;
  width: 260px;
  height: 260px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-item__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 8px 0;
}

.product-item__tag {
  display: inline-block;
  padding: 4px 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.product-item__title {
  font-size: 22px;
  font-weight: 500;
  color: #101828;
  margin-top: 24px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.product-item__source {
  font-size: 14px;
  color: #878686;
  margin-top: 16px;
  line-height: 1;
}

.product-item__desc {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.75;
  margin-top: 24px;
}

.product-item__link {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}

.product-item__link::after {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

a.product-item__link-wrap:hover .product-item__title {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

@media (max-width: 767px) {
  .product-item__link-wrap { flex-direction: column; gap: 16px; }
  .product-item__image { width: 100%; flex: 0 0 auto; aspect-ratio: 1/1; height: auto; }
  .product-item__body { min-height: 0; }
  .product-item__title { font-size: 18px; }
}

/* ==========================================================================
   Sidebar — 製品ページ右カラム（汎用）
   ========================================================================== */

.sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
  padding: 16px 24px;
  border-radius: 6px;
  background-color: #f0f4f2;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.sidebar-link:hover { opacity: 0.8; }

.sidebar-link__text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1 auto;
}

.sidebar-link__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.sidebar-link__sub {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1;
}

.sidebar-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: var(--color-primary);
  flex-shrink: 0;
}

.sidebar-link__arrow::before {
  content: "";
  width: 4px;
  height: 4px;
  border-top: 1.2px solid var(--color-white);
  border-right: 1.2px solid var(--color-white);
  transform: rotate(45deg) translate(-1px, 1px);
}

.sidebar-link--accent {
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
}

/* オンラインショップバナー */
.sidebar-shop {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 140px;
  padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid #ececd2;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--color-white);
}

.sidebar-shop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--shop-bg, url("../img/products/sidebar-shop-bg.png"));
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.sidebar-shop::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(270deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0.7) 70%, rgba(255,255,255,1) 100%);
}

.sidebar-shop__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 192px;
}

.sidebar-shop__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.sidebar-shop__sub {
  font-size: 12px;
  color: var(--color-text);
  line-height: 1.4;
}

.sidebar-shop__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 0.5px solid var(--color-primary);
  border-radius: 100px;
  background-color: var(--color-white);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-primary);
  align-self: flex-start;
}

.sidebar-shop__btn::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

/* ==========================================================================
   Numbered card — 上に緑丸番号 + 本文（会社概要「製品の向上に向けて」用）
   ========================================================================== */

.numbered-card {
  background-color: var(--color-white);
  border-radius: 15px;
  box-shadow: 0 10px 14px rgba(179, 218, 198, 0.5);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.numbered-card__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 100px;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.numbered-card__body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
}

/* ==========================================================================
   Info table — 会社概要テーブル形式
   ========================================================================== */

.info-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.info-table__row {
  display: flex;
  gap: 32px;
  padding: 16px 0;
  border-top: 1px solid #e5e7eb;
  align-items: baseline;
}

.info-table__row:last-child {
  border-bottom: 1px solid #e5e7eb;
}

.info-table__label {
  flex: 0 0 176px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.75;
}

.info-table__value {
  flex: 1 1 auto;
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.75;
}

.info-table__value p + p { margin-top: 4px; }

@media (max-width: 767px) {
  .info-table__row { flex-direction: column; gap: 4px; padding: 16px 0; }
  .info-table__label { flex: 0 0 auto; font-size: 14px; color: var(--color-primary); }
}

/* ==========================================================================
   PDF card — 各種試験用 PDF ダウンロードカード
   ========================================================================== */

.pdf-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-primary-light);
  border-radius: 12px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pdf-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 153, 102, 0.12);
}

.pdf-card__icon {
  width: 48px;
  height: 56px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
}

.pdf-card__icon::before {
  content: "PDF";
}

.pdf-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.5;
}

.pdf-card__link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pdf-card__link::after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
  display: inline-block;
}

/* ==========================================================================
   Policy — プライバシーポリシー用セクション
   ========================================================================== */

.policy-section + .policy-section { margin-top: 48px; }

.policy-section__title {
  font-size: 21px;
  font-weight: 500;
  color: var(--color-primary);
  border-left: 4px solid var(--color-primary);
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.policy-section__body {
  font-size: 16px;
  line-height: 1.875;
  color: var(--color-text);
}

.policy-section__body p + p { margin-top: 12px; }

.policy-section__body ol {
  list-style: decimal;
  padding-left: 24px;
  margin-top: 8px;
}

.policy-section__body ol li { padding-left: 4px; line-height: 1.875; }

/* ==========================================================================
   Sitemap list — サイトマップ用階層リスト
   ========================================================================== */

.sitemap-group {
  margin-bottom: 32px;
}

.sitemap-group__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-primary-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.sitemap-group__title a { color: inherit; }
.sitemap-group__title a:hover { opacity: 0.7; }

.sitemap-sub {
  list-style: none;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-sub li::before {
  content: "└";
  color: var(--color-primary);
  margin-right: 8px;
}

.sitemap-sub a {
  font-size: 14px;
  color: var(--color-text);
  transition: color 0.2s ease;
}

.sitemap-sub a:hover { color: var(--color-primary); }

/* ==========================================================================
   Step card — オリゴスキャン用 4ステップカード
   ========================================================================== */

.step-card {
  background-color: var(--color-white);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--color-primary-light);
}

.step-card__num {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background-color: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 700;
}

.step-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background-color: var(--color-primary-light);
}

.step-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-card__body {
  font-size: 14px;
  line-height: 1.625;
  color: var(--color-text);
}

/* ==========================================================================
   Element tag list — ミネラル / 重金属 元素タグ
   ========================================================================== */

.element-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.element-tags li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 6px 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
}

.element-tags--danger li {
  background-color: rgba(255, 112, 3, 0.08);
  color: #FF7003;
}

/* ----- .figure — 図表ラッパー（単独表示） ----- */
.figure {
  width: 100%;
  display: flex;
  justify-content: center;
}

.figure img,
.figure svg {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

/* ----- お問い合わせカード（緑シャドウ） ----- */
.contact-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 237px;
  justify-content: center;
}

.contact-card > * + * { margin-top: 16px; }
.contact-card > .btn { margin-top: 8px; }

.contact-card__icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon img {
  width: auto;
  height: auto;
  max-width: 50px;
  max-height: 50px;
  object-fit: contain;
}

.contact-card__title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-card__tel {
  font-family: var(--font-num);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.contact-card__hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

.contact-card__hours img { width: 15px; height: 15px; object-fit: contain; }

.contact-card__note {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 8px;
}
