.af3-page {
  color: #18345c;
  font-size: 16px;
  line-height: 1.8;
}

.af3-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.af3-section {
  margin: 0 0 28px;
}

.af3-section-image img,
.af3-hero img {
  width: 100%;
  border: 1px solid #d7e5ef;
  background: #fff;
}

.af3-hero {
  margin-bottom: 26px;
}

.af3-heading {
  margin: 0 0 14px;
  color: #0c4b8e;
  font-size: 30px;
  line-height: 1.35;
  text-align: center;
}

.af3-heading-small {
  font-size: 24px;
  text-align: left;
}

.af3-note {
  margin: -2px 0 14px;
  color: #38536f;
  font-size: 15px;
  text-align: center;
}

.af3-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.af3-feature-card,
.af3-mobile-card,
.af3-box {
  border: 1px solid #c8d9e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 63, 114, 0.06);
}

.af3-feature-card {
  padding: 18px 18px 16px;
}

.af3-feature-card h3,
.af3-mobile-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.3;
}

.af3-feature-lead {
  margin: 0 0 10px;
  font-weight: 700;
}

.af3-feature-card ul {
  margin: 0;
  padding-left: 1.2em;
}

.af3-feature-card li {
  margin: 0 0 6px;
}

.af3-fucoidan {
  border-top: 6px solid #2384d1;
}
.af3-fucoidan h3 {
  color: #0e69b8;
}

.af3-fucoxanthin {
  border-top: 6px solid #69a54b;
}
.af3-fucoxanthin h3 {
  color: #447f2f;
}

.af3-ascophyllan {
  border-top: 6px solid #e58a28;
}
.af3-ascophyllan h3 {
  color: #c36a10;
}

.af3-compare-table-wrap {
  overflow-x: auto;
  border: 1px solid #c8d9e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(20, 63, 114, 0.06);
}

.af3-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.af3-compare-table th,
.af3-compare-table td {
  padding: 12px 14px;
  border: 1px solid #d6e2ec;
  vertical-align: middle;
  text-align: center;
}

.af3-compare-table thead th {
  color: #fff;
  font-size: 18px;
}

.af3-compare-table thead th:first-child,
.af3-compare-table tbody th {
  background: #0c4b8e;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.af3-compare-table thead th:nth-child(2) { background: #2384d1; }
.af3-compare-table thead th:nth-child(3) { background: #69a54b; }
.af3-compare-table thead th:nth-child(4) { background: #e58a28; }
.af3-compare-table tbody td:nth-child(2) { background: #eef7ff; }
.af3-compare-table tbody td:nth-child(3) { background: #f2f8ef; }
.af3-compare-table tbody td:nth-child(4) { background: #fff5ea; }
.af3-compare-table strong { font-size: 24px; }

.af3-mobile-cards {
  display: none;
}

.af3-mobile-card {
  padding: 16px;
}

.af3-mobile-card + .af3-mobile-card {
  margin-top: 14px;
}

.af3-mobile-card dl {
  margin: 0;
}

.af3-mobile-card dt {
  margin: 0;
  padding: 8px 0 2px;
  font-weight: 700;
  color: #425c76;
}

.af3-mobile-card dd {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e4ecf3;
}

.af3-mobile-card dd:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.af3-mobile-card strong {
  font-size: 28px;
}

.af3-product-link {
  display: block;
}

.af3-bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.af3-box {
  padding: 18px;
}

.af3-faq details {
  margin: 0 0 10px;
  border: 1px solid #d7e3ed;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.af3-faq summary {
  cursor: pointer;
  padding: 12px 42px 12px 14px;
  font-weight: 700;
  list-style: none;
  position: relative;
}

.af3-faq summary::-webkit-details-marker {
  display: none;
}

.af3-faq summary::after {
  content: '＋';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #0c4b8e;
}

.af3-faq details[open] summary::after {
  content: '−';
}

.af3-answer {
  padding: 0 14px 14px;
}

.af3-related ul {
  margin: 0;
  padding-left: 1.2em;
}

.af3-related li {
  margin: 0 0 8px;
}

@media (max-width: 767px) {
  .af3-section {
    margin-bottom: 22px;
  }

  .af3-heading {
    font-size: 24px;
    text-align: left;
  }

  .af3-heading-small {
    font-size: 21px;
  }

  .af3-note {
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
  }

  .af3-feature-grid,
  .af3-bottom-grid {
    grid-template-columns: 1fr;
  }

  .af3-feature-card,
  .af3-box,
  .af3-mobile-card {
    border-radius: 12px;
  }

  .af3-compare-table-wrap {
    display: none;
  }

  .af3-mobile-cards {
    display: block;
  }
}

/* 2026-10-29 スマートフォンのみ：可読性・商品紹介2段表示 */
.af3-mobile-hero-copy,
.af3-mobile-ingredients,
.af3-mobile-product { display: none; }

@media (max-width: 568px) {
  .af3-page { font-size: 18px; line-height: 1.85; }
  .af3-page .af3-heading { font-size: 25px; line-height: 1.45; }
  .af3-page .af3-feature-card { padding: 18px 16px; }
  .af3-page .af3-feature-card h3,
  .af3-page .af3-mobile-card h3 { font-size: 23px; }
  .af3-page .af3-feature-lead,
  .af3-page .af3-feature-card li,
  .af3-page .af3-mobile-card dt,
  .af3-page .af3-mobile-card dd,
  .af3-page .af3-faq summary,
  .af3-page .af3-answer,
  .af3-page .af3-related li { font-size: 17px; line-height: 1.8; }
  .af3-page .af3-mobile-card strong { font-size: 29px; }
  .af3-page .af3-note { font-size: 16px; }
  .af3-page .af3-section-image > img,
  .af3-page .af3-product-link { display: none; }
  .af3-mobile-ingredients,
  .af3-mobile-product { display: block; }

  .af3-mobile-hero-copy {
    position: relative;
    padding: 22px 15px 18px;
    border-radius: 12px;
    text-align: center;
    background: linear-gradient(180deg,#8edbf4 0%,#e9f9ff 70%,#fff 100%);
  }
  .af3-hero-kicker { margin: 0 0 8px; color: #945000; font-weight: 800; font-size: 17px; }
  .af3-hero-brand { margin: 0 0 12px; font-family: Georgia, "Yu Mincho", serif; color:#073a73; font-weight: 800; font-size: clamp(25px,6.4vw,32px); line-height: 1.4; }
  .af3-hero-main { margin: 0 0 10px; color:#073a73; font-size: clamp(22px,6vw,28px); line-height: 1.5; font-weight: 900; }
  .af3-hero-sub { margin: 0 0 12px; font-size: 16px; line-height: 1.7; font-weight: 700; }
  .af3-hero-years { display: inline-block; padding: 5px 13px; background: #fff; border:2px solid #b57925; border-radius: 999px; color:#965800; font-size: 15px; font-weight:700; }
  .af3-hero-years strong { font-size: 23px; }
  .af3-mobile-ingredients h2 { margin: 0 0 14px; font-size:25px; color:#0a3d78; text-align:center; }
  .af3-mobile-ingredient { border: 1px solid #bedbef; border-radius: 12px; padding: 14px; margin: 0 0 16px; background:#fff; }
  .af3-mobile-ingredient h3 { margin:0 0 5px; font-size:25px; color:#0765b2; }
  .af3-mobile-ingredient .af3-origin { margin: 0 0 12px; padding: 4px 8px; border-radius: 18px; background:#d8f0ff; color:#074c86; font-size:16px; font-weight: 700; text-align:center; }
  .af3-mobile-ingredient img { width:100%; height:auto; max-height: 250px; object-fit:cover; border-radius:8px; }
  .af3-mobile-ingredient > p:not(.af3-origin):not(.af3-quantity) { font-size:17px; font-weight:600; margin:12px 0 6px; }
  .af3-mobile-ingredient .af3-quantity { margin: 6px 0 0; color:#d32525; font-size:32px; line-height:1.4; font-weight:900; text-align:center; }
  .af3-mobile-ingredient .af3-quantity small { display:block; color:#17355f; font-size:16px; }
  .af3-mobile-ingredient.af3-fucoxanthin h3,
  .af3-mobile-ingredient.af3-ascophyllan h3 { color:#377b38; }
  .af3-mobile-ingredient.af3-fucoxanthin .af3-origin { background:#e2f2df; color:#287233; }
  .af3-mobile-ingredient.af3-ascophyllan .af3-origin { background:#ffecd7; color:#ac520c; }
  .af3-mobile-ingredient.af3-fucoxanthin .af3-quantity,
  .af3-mobile-ingredient.af3-ascophyllan .af3-quantity { color:#217328; }

  .af3-mobile-product { border: 1px solid #c5dfc4; border-radius: 12px; padding: 18px 14px; background: linear-gradient(110deg,#f4fbeb,#fff); }
  .af3-mobile-product > h2 { margin:0 0 9px; color:#98601a; font-family:Georgia,serif; font-size:31px; line-height:1.15; }
  .af3-mobile-product > h2 span { display:block; font-family: "Noto Sans JP", sans-serif; color:#123b6e; font-size:20px; margin-top:7px; }
  .af3-mobile-product > p { color:#17355f; font-size:17px; font-weight:700; line-height:1.8; margin:0 0 13px; }
  .af3-mobile-product-photo { display:flex; justify-content:center; background:#fff; border-radius:10px 10px 0 0; padding: 12px 8px; }
  .af3-mobile-product-photo img { width: min(70%,260px); height:auto; object-fit:contain; }
  .af3-mobile-product-info { background:#fff; border: 1px solid #b9d7ed; border-radius:0 0 10px 10px; padding: 16px 13px; }
  .af3-mobile-product-info h3 { margin:0 0 12px; color:#153a6c; text-align:center; font-size:18px; line-height:1.6; }
  .af3-mobile-product-info dl { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:baseline; column-gap:8px; row-gap:11px; margin:0 0 16px; }
  .af3-mobile-product-info dt { font-size:16px; line-height:1.5; font-weight:700; }
  .af3-mobile-product-info dd { margin:0; font-size:20px; white-space:nowrap; font-weight:900; color:#163b69; }
  .af3-mobile-product-info dd:first-of-type { color:#d32121; }
  .af3-mobile-product-info a { display:block; padding:13px 10px; background:#128608; color:#fff; text-align:center; text-decoration:none; border-radius:9px; font-size:17px; line-height:1.5; font-weight:800; }
}

/* 2026-10-29：スマホのみヒーロー切替・配合量を横一列に */
@media (max-width: 568px) {
  .af3-page .af3-hero picture,
  .af3-page .af3-hero picture img { display: block; width: 100%; height: auto; }
  .af3-page .af3-mobile-ingredient .af3-quantity {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 4px;
    white-space: nowrap;
    font-size: clamp(25px, 7vw, 32px);
  }
  .af3-page .af3-mobile-ingredient .af3-quantity small {
    display: inline;
    font-size: clamp(13px, 3.7vw, 16px);
    white-space: nowrap;
  }
}
