/* =========================================================
   miyosmart.css  ―  近視進行抑制眼鏡レンズ ミヨスマート紹介ページ専用
   ・グローバルCSSと衝突しないよう .my- 名前空間に限定
   ・外部リソース不使用（アイコンはインラインSVG／画像は院内アセット）
   ========================================================= */

.my-page {
  /* サイト基本色（cadetblue）に合わせたカラートークン */
  --my-blue: cadetblue;          /* #5f9ea0 サイト基本色 */
  --my-blue-dark: #35706f;       /* 白背景の見出し・文字用に濃くしたカデットブルー */
  --my-green: #0b7c7c;           /* darkcyan 系アクセント */
  --my-amber: lightsalmon;       /* #ffa07a サイトのアクセント色 */
  --my-ink: #333;                /* サイト基本文字色 */
  --my-ink-soft: #5a6a6a;
  --my-line: #dde9e8;
  --my-bg: #eff5f4;
  --my-bg-soft: #f8fbfa;
  --my-card: #ffffff;
  --my-shadow: 0 10px 30px rgba(60, 110, 110, .12);
  --my-shadow-sm: 0 4px 14px rgba(60, 110, 110, .10);
  --my-radius: 18px;
  --my-grad: linear-gradient(100deg, var(--my-blue) 0%, var(--my-green) 62%, var(--my-amber) 100%);

  background: var(--my-bg);
  color: var(--my-ink);
  font-size: 1.25rem;
  line-height: 1.95;
  letter-spacing: .01em;
}

.my-container {
  width: min(100% - 2.6rem, 1140px);
  margin-inline: auto;
}

.my-page p { margin: 0 0 .8em; }
.my-page p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.my-hero {
  position: relative;
  overflow: hidden;
  margin-top: 60px; /* 固定ヘッダー(60px)分のオフセット */
  background: linear-gradient(120deg, var(--my-blue) 0%, var(--my-blue-dark) 100%);
  color: #fff;
  padding: clamp(2.6rem, 6vw, 4.6rem) 0 clamp(3.4rem, 8vw, 5.6rem);
}
@media (min-width: 768px) {
  .my-hero { margin-top: 70px; } /* デスクトップはヘッダー70px */
}
/* アンカー移動時に固定ヘッダーへ隠れないように */
.my-section[id] { scroll-margin-top: 84px; }
.my-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 46px;
  background: var(--my-bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.my-hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .85fr;
  gap: clamp(1.4rem, 4vw, 2.6rem); align-items: center;
}
.my-hero__eyebrow {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: .16em;
  font-weight: 700;
  padding: .35em 1em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .35);
  margin-bottom: 1.1rem;
}
.my-hero__title {
  font-size: clamp(1.7rem, 5.2vw, 2.75rem);
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 .5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .12);
}
.my-hero__title span { display: block; font-size: .46em; font-weight: 600; margin-top: .4em; }
.my-hero__lead {
  font-size: clamp(1.15rem, 2.6vw, 1.4rem);
  max-width: 42rem;
  color: rgba(255, 255, 255, .95);
}
.my-hero__media img {
  width: 100%; height: auto; display: block;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

/* ---------- Chip nav ---------- */
.my-nav { margin-top: -1.8rem; position: relative; z-index: 3; }
.my-nav__list {
  list-style: none;
  margin: 0; padding: .9rem 1rem;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  background: var(--my-card);
  border-radius: var(--my-radius);
  box-shadow: var(--my-shadow);
}
.my-nav__list a {
  display: block; text-decoration: none;
  font-size: 1.15rem; font-weight: 700;
  color: var(--my-blue-dark);
  padding: .5em 1.05em; border-radius: 999px;
  background: var(--my-bg-soft);
  border: 1px solid var(--my-line);
  transition: .2s;
}
.my-nav__list a:hover { background: var(--my-blue-dark); color: #fff; border-color: var(--my-blue-dark); }

/* ---------- Section frame ---------- */
.my-section { padding: clamp(2.4rem, 5vw, 3.6rem) 0; }
.my-section--alt { background: linear-gradient(180deg, var(--my-bg-soft), var(--my-bg)); }

.my-head { text-align: center; margin-bottom: 2rem; }
.my-head__en {
  display: block; font-size: 1rem; letter-spacing: .2em;
  font-weight: 700; text-transform: uppercase;
  color: var(--my-green); margin-bottom: .4rem;
}
.my-head__ja {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 800; line-height: 1.4; margin: 0; color: var(--my-ink);
}
.my-head__ja::after {
  content: ""; display: block; width: 54px; height: 4px;
  margin: .7rem auto 0; border-radius: 4px; background: var(--my-grad);
}

/* ---------- Cards ---------- */
.my-card {
  background: var(--my-card);
  border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm);
  padding: clamp(1.4rem, 3.6vw, 2.2rem);
}
.my-note {
  font-size: 1.1rem; line-height: 1.8; color: var(--my-ink-soft);
  background: var(--my-bg-soft); border: 1px dashed var(--my-line);
  border-radius: 12px; padding: .9rem 1.1rem; margin-top: 1rem;
}

/* Intro layout */
.my-intro { display: grid; grid-template-columns: 1.4fr .9fr; gap: 1.4rem; align-items: start; }
.my-intro__media {
  background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.2rem; text-align: center;
}
.my-intro__media img { width: 100%; height: auto; border-radius: 12px; }
.my-intro__cap { font-size: 1rem; color: var(--my-ink-soft); margin-top: .6rem; }

/* 効果ハイライト */
.my-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; margin-top: 1.6rem; }
.my-stat {
  background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.4rem 1.3rem; text-align: center;
  border-top: 4px solid var(--my-green);
}
.my-stat__num {
  font-size: clamp(2.2rem, 6vw, 3rem); font-weight: 800; line-height: 1.2;
  color: var(--my-blue-dark);
}
.my-stat__num small { font-size: .42em; font-weight: 700; margin-left: .15em; }
.my-stat__label { font-weight: 700; margin: .2rem 0 0; }
.my-stat__sub { font-size: 1.05rem; color: var(--my-ink-soft); margin: .3rem 0 0; }

/* ---------- 仕組み（3枚比較） ---------- */
.my-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.my-compare__item {
  background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.2rem; text-align: center;
}
.my-compare__item--good { border: 2px solid var(--my-green); }
.my-compare__item img { width: 100%; height: auto; border-radius: 10px; }
.my-compare__title {
  font-weight: 800; font-size: 1.3rem; color: var(--my-blue-dark);
  margin: .8rem 0 .3rem;
}
.my-compare__item--good .my-compare__title { color: var(--my-green); }
.my-compare__text { font-size: 1.15rem; color: var(--my-ink-soft); line-height: 1.75; }

/* DIMS 構造 */
.my-dims { display: grid; grid-template-columns: .95fr 1.05fr; gap: 1.4rem; align-items: center; }
.my-dims__media {
  background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.2rem; text-align: center;
}
.my-dims__media img { width: 100%; height: auto; border-radius: 12px; }
.my-zone {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--my-card); border-radius: 14px;
  box-shadow: var(--my-shadow-sm); padding: 1.1rem 1.2rem; margin-bottom: 1rem;
}
.my-zone:last-child { margin-bottom: 0; }
.my-zone__mark {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; font-size: .95rem; font-weight: 800;
  line-height: 1.2; text-align: center; color: #fff;
}
.my-zone--center .my-zone__mark { background: var(--my-blue-dark); }
.my-zone--around .my-zone__mark { background: var(--my-green); }
.my-zone__title { font-weight: 800; font-size: 1.4rem; margin: 0 0 .3rem; color: var(--my-blue-dark); }
.my-zone__size {
  display: inline-block; font-size: 1rem; font-weight: 700; margin-left: .5em;
  padding: .1em .7em; border-radius: 999px;
  background: var(--my-bg-soft); border: 1px solid var(--my-line); color: var(--my-ink-soft);
  vertical-align: middle;
}
.my-zone__text { font-size: 1.2rem; color: var(--my-ink-soft); line-height: 1.8; margin: 0; }

/* レンズの特長（画像1枚） */
.my-lensfeat {
  margin-top: 1.6rem; background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.4rem; text-align: center;
}
.my-lensfeat img { width: 100%; max-width: 620px; height: auto; }
.my-lensfeat p { font-size: 1.1rem; color: var(--my-ink-soft); margin-top: .6rem; }

/* ---------- 対象年齢 ---------- */
.my-age { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; }
.my-age__badge {
  text-align: center; color: #fff; background: var(--my-blue-dark);
  border-radius: 18px; padding: 1.2rem 1.8rem; box-shadow: var(--my-shadow-sm);
}
.my-age__badge span { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: .1em; }
.my-age__badge strong { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.3; }

/* ---------- Steps timeline ---------- */
.my-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.my-steps::before {
  content: ""; position: absolute; left: 25px; top: 8px; bottom: 8px; width: 3px;
  background: var(--my-blue); border-radius: 3px;
}
.my-step { position: relative; padding: 0 0 1.4rem 4.2rem; }
.my-step:last-child { padding-bottom: 0; }
.my-step__num {
  position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 1.3rem;
  background: var(--my-blue-dark); box-shadow: 0 4px 10px rgba(53, 112, 111, .28);
}
.my-step__body { background: var(--my-card); border-radius: 14px; box-shadow: var(--my-shadow-sm); padding: 1.1rem 1.3rem; }
.my-step__title { font-weight: 800; margin: 0 0 .35rem; color: var(--my-blue-dark); }

/* ---------- 費用 ---------- */
.my-price {
  margin: 0 auto; max-width: 720px;
  background: linear-gradient(135deg, #fff, var(--my-bg-soft));
  border: 1px solid var(--my-line); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); overflow: hidden;
}
.my-price__head { background: var(--my-blue-dark); color: #fff; font-weight: 700; padding: .7em 1.2em; font-size: 1.15rem; }
.my-price__body { padding: 1.2rem 1.4rem 1.4rem; }
.my-price__row {
  display: flex; gap: 1rem; align-items: flex-start; flex-wrap: wrap;
  padding: .8rem 0; border-bottom: 1px dashed var(--my-line);
}
.my-price__row:last-child { border-bottom: none; padding-bottom: 0; }
.my-price__label { flex: none; width: 9.5em; font-weight: 700; color: var(--my-blue-dark); }
.my-price__value { flex: 1 1 16rem; }
.my-badge-ins {
  display: inline-block; font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
  color: var(--my-blue-dark); background: rgba(95, 158, 160, .18);
  border-radius: 999px; padding: .3em .9em; margin-bottom: .7rem;
}

/* ---------- 注意事項 ---------- */
.my-cautions { display: grid; gap: 1.2rem; }
.my-caution {
  background: var(--my-card); border-radius: var(--my-radius);
  box-shadow: var(--my-shadow-sm); padding: 1.4rem 1.5rem;
}
.my-caution__title {
  font-weight: 800; font-size: 1.45rem; line-height: 1.6;
  margin: 0 0 .5rem; color: var(--my-blue-dark);
}

/* ---------- FAQ ---------- */
.my-faq { display: grid; gap: .9rem; }
.my-faq details {
  background: var(--my-card); border-radius: 14px; box-shadow: var(--my-shadow-sm);
  border: 1px solid var(--my-line); overflow: hidden;
}
.my-faq summary {
  list-style: none; cursor: pointer; display: flex; gap: .8rem; align-items: center;
  font-weight: 700; padding: 1.05rem 1.3rem; color: var(--my-ink);
}
.my-faq summary::-webkit-details-marker { display: none; }
.my-faq summary::before {
  content: "Q"; flex: none; width: 38px; height: 38px; border-radius: 8px; font-size: 1.2rem;
  background: var(--my-blue-dark); color: #fff; font-weight: 800; display: grid; place-items: center;
}
.my-faq summary::after {
  content: ""; margin-left: auto; flex: none; width: 14px; height: 14px;
  border-right: 3px solid var(--my-blue); border-bottom: 3px solid var(--my-blue);
  transform: rotate(45deg); transition: transform .2s;
}
.my-faq details[open] summary::after { transform: rotate(-135deg); }
.my-faq__a { padding: 0 1.3rem 1.2rem 3.8rem; color: var(--my-ink-soft); }

/* ---------- Author + CTA ---------- */
.my-author { display: flex; gap: 1.8rem; align-items: center; flex-wrap: wrap; }
.my-author__img { flex: none; width: 260px; max-width: 100%; height: auto; border-radius: 14px; box-shadow: var(--my-shadow-sm); }
.my-author__body { flex: 1 1 300px; }
.my-author__name { font-size: 1.4rem; font-weight: 800; margin: 0 0 .3rem; }
.my-author__meta { color: var(--my-ink-soft); font-size: 1.15rem; margin: 0 0 1rem; }
.my-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.my-btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .8em 1.6em; border-radius: 999px; transition: .2s;
}
.my-btn--primary { background: var(--my-blue-dark); color: #fff; box-shadow: var(--my-shadow-sm); }
.my-btn--ghost { background: #fff; color: var(--my-blue-dark); border: 1.5px solid var(--my-blue); }
.my-btn:hover { transform: translateY(-2px); }

.my-cta {
  text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--my-blue) 0%, var(--my-blue-dark) 100%);
  border-radius: var(--my-radius); padding: clamp(2rem, 5vw, 3rem);
  box-shadow: var(--my-shadow);
}
.my-cta__title { font-size: clamp(1.5rem, 3.8vw, 2rem); font-weight: 800; margin: 0 0 .6rem; }
.my-cta__lead { margin: 0 0 1.5rem; color: rgba(255, 255, 255, .95); }
.my-cta .my-btn--ghost { background: rgba(255, 255, 255, .16); color: #fff; border-color: rgba(255, 255, 255, .6); }
.my-cta .my-btn--primary { background: #fff; color: var(--my-blue-dark); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .my-hero__inner { grid-template-columns: 1fr; }
  .my-hero__media { max-width: 460px; margin-inline: auto; }
  .my-intro { grid-template-columns: 1fr; }
  .my-compare { grid-template-columns: 1fr; }
  .my-dims { grid-template-columns: 1fr; }
  .my-stats { grid-template-columns: 1fr; }
  .my-age { grid-template-columns: 1fr; }
  .my-price__label { width: auto; }
}

/* ---------- 取扱店検索リンク ---------- */
.my-shoplink {
  display: inline-flex; align-items: center; gap: .55em;
  margin-top: .7rem; padding: .6em 1.2em;
  font-size: 1.1rem; font-weight: 700; line-height: 1.5; text-decoration: none;
  color: #fff; background: var(--my-blue-dark);
  border-radius: 999px; box-shadow: 0 4px 10px rgba(53, 112, 111, .28);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.my-shoplink:hover,
.my-shoplink:focus-visible {
  background: var(--my-green); color: #fff;
  transform: translateY(-1px); box-shadow: 0 6px 14px rgba(53, 112, 111, .32);
}
.my-shoplink svg { flex: none; width: 1.1em; height: 1.1em; }
.my-shoplink__note {
  display: block; margin-top: .45rem; font-size: .95rem; color: var(--my-ink-soft);
}
