body{background:#FFF;}
/* =============================================
   TOP MV / ファーストビュー
============================================= */
.mv{
  background-color:#e5f3fb/*EAF7FD*/;
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  height:320px;
}
.mv .container{
  position:relative;
  width:100%;
  height:100%;
  margin:0 auto;
  padding:0;
}
.mv-subtitle,
.mv-title,
.mv-catch{
  position:absolute;
  left:5%;
  z-index:2;
}
.mv-subtitle{
  top:10%;
  display:inline-flex;
  align-items:center;
  gap:2px;
  background:#1f9d55;
  color:#fff;
  font-size:.95rem;
  font-weight:700;
  padding:7px 20px 7px 12px;
  border-radius:999px;
  box-shadow:0 6px 16px rgba(46,168,213,.22);
}
.mv-subtitle svg{
  width:20px;
  height:20px;
  fill:currentColor;
  flex:none;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));
  opacity:.95;
}
.mv-title{
  top:27%;
  font-size:2.8rem;letter-spacing: -.04rem;
  color:#0a2d4a;
  font-weight:900;
  line-height:1.2;
  margin:0;
}
.mv-catch{
  top:50%;
  max-width:660px;
  color:#0a2d4a;
  font-size:1rem;
  font-weight:600;
  line-height:1.8;
  margin:0;
}
.mv-title,.mv-catch{
text-shadow:
  1px 1px 0 #fff,
 -1px 1px 0 #fff,
  1px -1px 0 #fff,
 -1px -1px 0 #fff,
  1px 0 0 #fff,
 -1px 0 0 #fff,
  0 1px 0 #fff,
  0 -1px 0 #fff;
}
.mv-person{
  position:absolute;
  inset:0;
  z-index:1;
}
.mv-person img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

main{padding:0;}
#shikumi,#konkyo,#ryou,#food,#supple,#kumiawase,
#faq,#matome{scroll-margin-top:90px!important;}

/* =============================================
   比較表
============================================= */
.compare-table-wrap,
.table-scroll{
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.compare-table{
  width:100%;
  border-collapse:collapse;
  font-size:.85rem;
  margin-bottom:24px;
}
.compare-table th,
.compare-table td{
  padding:10px 14px;
  border:1px solid var(--color-border);
  vertical-align:middle;
}
.compare-table th{
  background:var(--color-main);
  color:#fff;
  font-weight:700;
  text-align:center;
}
.compare-table th:first-child{background:var(--color-dark);}
.compare-table td:first-child{
  background:var(--color-bg);
  font-weight:700;
  text-align:left;
}
.compare-table tr:nth-child(even) td{background:#f9fdff;}.compare-table .best{color:var(--color-accent);font-weight:900;}

#faq h3,#matome h3,#faq p,#matome p{width:96%; margin: 2% auto}


.related-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-dark);
  margin-bottom: 16px;
}
.related-card {
  display: flex;
  gap: 12px;
  background: var(--color-bg);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  transition: box-shadow var(--transition);
}
.related-card:hover { box-shadow: var(--shadow); color: var(--color-text); }
.related-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.related-card-title { font-size: 0.82rem; font-weight: 700; line-height: 1.5; }
:root{
  --free-accent:#1f9d55;
  --free-accent-d:#16793f;
  --free-ink:#0a2d4a;
  --free-line:#e3ebf2;
}
/* 関連ページ */
.related-links{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
.related-links a{display:flex;align-items:center;gap:2px;background:#fff;border:1px solid var(--free-line);border-radius:10px;padding:14px 16px;text-decoration:none;color:var(--free-ink);font-weight:600;font-size:.92rem;transition:.2s;}
.related-links a:hover{border-color:var(--free-accent);background:#f4f9f6;}
.related-links svg.icon{color:#388E3C}

/* ========================================
   ビタミンD記事：イラスト
======================================== */
.vd-sprite{
  display:block;
  flex-shrink:0;
  background-image:url("/img/vitamind-img.webp");
  background-repeat:no-repeat;
}
/* 文章＋画像 */
.vd-media{
  display:grid;
  grid-template-columns:1fr;
  gap:28px;
  align-items:center;
}
.vd-media-text{
  min-width:0;
}
/* 画像を置く場所 */
.vd-media-visual{
  position:relative;
  width:100%;
  height:250px;
}
/* Dだけ表示 */
.vd-sprite-crop{
  position:absolute;
  /* ★見せる大きさ */
  width:840px;
  height:250px;
  top:0px;
  left:50%;
  right:auto;
  transform:translateX(-50%);
  overflow:hidden;
  overflow:hidden;
}
/* スプライト画像本体 */
.vd-sprite-d{
  position:absolute;
  width:840px;
  height:230px;
  background-size:880px auto;
  background-position:-90px 0;
  top:0;
  left:50px;
  clip-path:inset(0 10px 5px 25px);
}
/* =============================================
   Responsive
============================================= */
@media (min-width:901px) and (max-width:1366px){
  .mv{height:320px;
  }
  .mv-title,
  .mv-subtitle,.mv-catch{
    left:8%;
  }
.mv-title{
  top:27%;
  font-size:2.1rem;
  }
  .mv-catch{top:45%; 
 width: 500px;
  }

.vd-sprite-d{
  width:600px;
  height:180px;
  background-size:700px auto;
  background-position:-80px -10px;
  left:120px;
}

}
@media (max-width:900px){
  .mv{height:230px;
  }

  .mv-subtitle{
    font-size:.75rem;
    padding:6px 18px 6px 10px;
  }
  .mv-title{
    top:30%;
    font-size:1.8rem;
  }
  .mv-title,
  .mv-subtitle, .mv-catch{
    left:5%;
  }
.mv-catch{
top:50%;width:400px ;
font-size:.82rem;
  }

.vd-media-visual{
  height:150px;
}
.vd-sprite-crop{
  width:500px;
  height:150px;
  top:-20px;
  /* iPadでも中央 */
  left:50%;
  right:auto;
  transform:translateX(-50%);
  overflow:hidden;
}

.vd-sprite-d{
  top:0;
  left:0;
  width:500px;
  height:180px;
  background-size:600px auto;
  background-position:-70px 0;
}
}
@media (max-width:680px){
  .mv{
    height:auto;/*重要*/
    min-height:0;
  }
  .mv-person{
  position:relative;/*重要*/
  }
  .mv-subtitle,
  .mv-title,.mv-catch{
    left:5%;
  }

  .mv-subtitle{
    top:8%;
    font-size:3vw;
  }
  .mv-title{
    top:20%;
    width:90%;
    white-space:normal;
    font-size:10vw;
    line-height:1.2;
  }
  .mv-catch{
    top:55%;
    width:45%;
    font-size:4vw;
  }

.vd-sprite-crop{
  width:360px;
  height:140px;
  top:-20px;
  /* 常に中央 */
  left:50%;
  right:auto;
  transform:translateX(-50%);
  overflow:hidden;
}
.vd-sprite-d{
  width:360px;
  height:140px;
  top:0;
  left:0;
  background-size:480px auto;
  background-position:-70px 0;
  clip-path:inset(0 0 15px 0);
}
.related-grid,
.related-links{
    grid-template-columns:1fr;
  }
.sbk{ display: block;}
.ookiku{ font-size: 12vw;}
}

/* =============================================
   本文 H3 / SVGアイコン
============================================= */
.small-body h3{
  display:flex;
  align-items:center;
  gap:8px;
  margin:24px 0 10px;
  padding:8px 12px;
  min-height:42px;
  border-left:4px solid #1f9d55;
  background:#f3faf6;
  border-radius:0 7px 7px 0;
  color:#0a2d4a;
  font-size:1.05rem;
  font-weight:800;
  line-height:1.45;
  box-sizing:border-box;
}

.small-body h3 svg.icon{
  width:26px;
  height:26px;
  min-width:26px;
  flex:0 0 26px;
  display:block;
}

/* ビタミンDを多く含む食べ物 */
.vitamin-food-list{
  list-style:none!important;
  padding:0!important;
  margin:16px 0 20px!important;
}

.vitamin-food-list li{
  display:grid;
  grid-template-columns:26px 72px 1fr;
  align-items:center;
  gap:6px;
  min-height:36px;
  margin:0!important;
  padding:5px 0;
}

.vitamin-food-list svg.icon{
  width:26px;
  height:26px;
  display:block;
}

.vitamin-food-list strong{
  white-space:nowrap;
}


/* 免疫反応と花粉症：スプライト中央左 */
.vd-media-immune{
  display:grid;
  grid-template-columns:1fr;
  align-items:center;
}
.vd-immune-visual{
  height:200px;
}
.vd-immune-crop{
  width:550px;
  height:200px;
  top:0px;
 /* 中央 */
  left:50%;
  right:auto;
  transform:translateX(-50%);
  overflow:hidden;
}

.vd-sprite-immune{
  position:absolute;
  width:900px;
  height:500px;
  background-size:1000px auto;
  background-position:0px -260px;
  top:0;
  left:0;
  clip-path:inset(0px 180px 5px 0px);
}

@media (max-width:900px){
  .vd-immune-visual{
    height:155px;
  }
  .vd-immune-crop{
    width:450px;
    height:135px;
  }
.vd-sprite-immune{
  width:900px;
  height:500px;
  background-size:800px auto;
  background-position:0px -205px;
}
}

@media (max-width:680px){
  .vd-immune-visual{
    height:145px;
  }
  .vd-immune-crop{
    width:360px;
    height:128px;
  }
  .vd-sprite-immune{
    width:580px;
    height:128px;
    background-size:680px auto;
    background-position:-15px -175px;
    clip-path:inset(0px 20px 5px 0px);
  }
}

/* =============================================
   ビタミンD摂取方法カード
   PC・iPad：2列×2段 / SP：1列
============================================= */
.vd-how-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin:18px 0 26px;
}
.vd-how-card{
  min-height:185px;
  padding:16px 18px;
  background:#fff;
  border:1px solid #dfe9e3;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(10,45,74,.05);
  box-sizing:border-box;
}
.vd-how-card h3{
  margin:0 0 10px;
  padding:0;
  min-height:auto;
  border:0;
  background:none;
  border-radius:0;
  font-size:1.05rem;
}
.vd-how-card p{
  margin:0;
  line-height:1.85;
}
.vd-how-card-image{
  position:relative;
  overflow:hidden;
  padding:0;
}
.vd-how-sun-crop{
  position:absolute;
  inset:0;
  overflow:hidden;
}
.vd-how-sun{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  background-image:url('/img/vitamind-img.webp');
  background-repeat:no-repeat;
  background-size:900px auto;
  background-position:-500px -235px;
}

@media (min-width:901px) and (max-width:1366px){
 .vd-how-sun{
  height:200px;
  background-size:700px auto;
  background-position:-390px -155px;
  clip-path:inset(25px 0px 30px 0px);
} 
}
@media (max-width:900px) {
  .vd-how-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }
  .vd-how-card{
    min-height:175px;
    padding:14px 16px;
  }
  .vd-how-card-image{padding:0;}
  .vd-how-sun{
    height:200px;
    background-size:650px auto;
    background-position:-370px -140px;
    clip-path:inset(35px 0px 30px 0px);
  }
}
@media (max-width:680px){
  .vd-how-grid{
    grid-template-columns:1fr;
    gap:12px;
  }
  .vd-how-card{
    min-height:0;
    padding:14px 16px;
  }
  .vd-how-card-image{
    position:relative;
    min-height:180px;
    padding:0;
    overflow:hidden;
  }
  .vd-how-sun{
    position:absolute;
    width:800px;
    height:220px;
    background-image:url("/img/vitamind-img.webp");
    background-repeat:no-repeat;
    background-size:880px auto;
    background-position:-280px -210px;
    /* 常にカード中央 */
    left:50%;
    top:0;
    transform:translateX(-50%);
  }
}



/* ビタミンDを多く含む食べ物：魚・きのこ・卵を1枚で表示 */
.vd-food-visuals{
  position:relative;
  min-width:0;
  min-height:180px;
  overflow:hidden;
}

.vd-fish-food{
  position:absolute;
  width:700px;
  height:150px;
  background-size:700px auto;
  background-position:-10px -320px;
  left:50%;
  top:0;
  transform:translateX(-50%);
}

@media (min-width:901px) and (max-width:1366px){
  .vd-food-visuals{min-height:160px;}
  .vd-fish-food{
    width:600px;
    height:140px;
    background-size:600px auto;
    background-position:-10px -275px;
  }
}

@media (max-width:900px){
  .vd-food-visuals{min-height:150px;}
  .vd-fish-food{
    width:500px;
    height:130px;
    background-size:500px auto;
    background-position:-10px -220px;
    clip-path:inset(15px 0px 20px 0px);
  }
}

@media (max-width:680px){
  .vd-food-visuals{
    min-height:115px;
    width:100%;
  }
  .vd-fish-food{
    width:390px;
    height:115px;
    background-size:350px auto;
    background-position:20px -150px;
    left:50%;
    transform:translateX(-50%);
  }
    .vitamin-food-list{
    margin:12px 0 18px!important;
  }

  .vitamin-food-list li{
    grid-template-columns:22px 62px 1fr;
    gap:4px;
    padding:5px 0;
    align-items:start;
    line-height:1.6;
  }

  .vitamin-food-list svg.icon{
    width:22px;
    height:22px;
    margin-top:2px;
  }
}

/* =============================================
   ビタミンD：医師・参考情報
============================================= */
.vd-source-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin:12px 0 24px;
}

.vd-source-links a{
  font-weight:700;
}

.vd-doctor-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin:16px 0 20px;
}

.vd-doctor-card{
  padding:16px 18px;
  border:1px solid #dfe9e3;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 12px rgba(10,45,74,.05);
}

.small-body .vd-doctor-card h3{
  margin:0 0 10px;
  padding:0 0 8px;
  min-height:0;
  border:0;
  border-bottom:2px solid #e5f2e9;
  border-radius:0;
  background:none;
  font-size:1rem;
}

.vd-doctor-card p{
  margin:8px 0;
}

.vd-doctor-card a{
  display:inline-block;
  margin-top:4px;
  font-weight:700;
}

.vd-doctor-note{
  color:#5b6872;
  font-size:.88rem;
}

.vd-doctor-card-caution{
  background:#f8fbfd;
}

.vd-doctor-summary{
  margin-top:18px;
}

@media (min-width:901px) and (max-width:1366px){
  .vd-doctor-grid{
    gap:12px;
  }
}

@media (max-width:900px){
  .vd-doctor-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:680px){
  .vd-doctor-grid{
    grid-template-columns:1fr;
    gap:12px;
  }

  .vd-doctor-card{
    padding:14px 15px;
  }
}

