:root {
--v-blue: #2EA8D5;
--v-blue-dark: #0c5879;
--v-dark: #102f42;
--v-text: #33444f;
--v-sub: #60737f;
--v-border: #d9eef7;
--v-green: #1f9d55;
--v-orange: #f5a623;
--v-pink: #f06f80;
--v-purple: #a56bc2
}
/* =============================================
   TOP MV / ファーストビュー
============================================= */
.mv{
  background-image:url('../img/same-bg.webp');
  background-size:cover;
  background-position:center center;
  background-repeat:repeat;
  position:relative;
  /*overflow:hidden;*/
  height:320px;
}
.mv .container{
  padding:0; /* MVのみ左右余白を解除。重要！style.cssの左右余白20px上書き*/
  position:relative;
  width:100%;
  height:100%;
  margin: 0 auto;
}

.mv-label, h1,.mv-lead{
  position:absolute;
  left:max(5%,60px);
}

.mv-label{
    top:8%;
    display:inline-flex;
    align-items:center;
    gap:2px;
    background:#1f9d55;
    color:#fff;
    font-weight:700;
    font-size:.95rem;
    padding:7px 20px 7px 12px;
    border-radius:999px;
    box-shadow:0 6px 16px rgba(46,168,213,.22);
    z-index:3;
}
.mv-label svg{
    width:20px;
    height:20px;
    fill:currentColor;
    flex:none;
filter:drop-shadow(0 1px 1px rgba(0,0,0,.15));
 opacity:.95;
}
.mt2{ margin-top: 2px;}

h1{
  top:25%;
  font-size:3.5rem;
  font-weight:900;
  color:#0a2d4a;
  line-height:1.2;
  letter-spacing:-.02rem;
  z-index:3;
    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-lead{
  top:53%;
  max-width:560px;
  color:#0a2d4a;
  font-size:1.02rem;
  line-height:2;
  margin:0;
  font-weight:500;
  text-shadow:
  0 1px 3px rgba(255,255,255,.9),
  0 0 10px rgba(255,255,255,.7);
  z-index:3;
}

/* iPad sp*/
@media (max-width: 900px) {
.mv{
  background-image:url('../img/same-bg-s.webp');
  background-size:cover;
  background-position:center center;
  background-repeat:repeat;
  position:relative;
  min-height:260px;
  }
.mv-label{
top:8%;
font-size:.75rem;
padding:6px 18px 6px 10px;
  }
  h1{
    font-size:3rem;
  }
  .mv-lead{top:50%;}
h1,.mv-label, .mv-lead{
  left:8%;
}

.mv-lead{
  top:52%;
  /*max-width:620px;*/
  font-size:0.89rem;
  line-height:1.8;
  letter-spacing: -.03rem;
}
}
/* スマホ */
@media(max-width:680px){
.mv{
  font-size: clamp(2.2rem, 8vw, 4rem);
  min-height:200px;
  }

  .mv-label{
    position:absolute;
    top:6%;
    left:6%;
    font-size:3vw;
  }
  h1{
    position:absolute;
    top:22%;
    left:6%;
    width:auto;
    white-space:normal; /* ←重要 */
    font-size:9.3vw;/*9.3vw*/
    line-height:1.2;
  }
 
 .mv-lead{
    position:absolute;
    font-size:3.8vw;
    top:45%;
    left:6%;
    width:91%;
  }
main{padding:0;
}
}

#omo,#symptom-list,#hayami,#kaze-chigai,#jushin,#kanren,
#mechanism,#detail,#kajou,#by-symptom,#naru-naranai,#akka,#tsugi,#faq,#kanren
{scroll-margin-top:90px!important;}
/* ==================================
   花粉症総合ページ専用
================================== */

.article{
max-width:1200px;
margin:auto;
padding:32px 20px 70px;
background:#fff;
}

.article table{
table-layout:fixed;
}

.article th,
.article td{
word-break:break-word;
overflow-wrap:anywhere;
}
#what table{
max-width:100%;
}

.toc,
.summary,
#what,
#symptoms,
#cause,
#season,
#medicine,
#selfcare,
#supplement,
#check,
#severity,
#radical-treatment,
#diagnosis,
#faq{
max-width:900px;
margin-left:auto;
margin-right:auto;
}

.lead{
font-size:1.05rem;
line-height:1.9;
color:#444;
}

.toc{
background:#f8fcff;
border:1px solid #d9eef7;
border-radius:12px;
padding:24px;
margin-top:30px;
margin-bottom:50px;
display:grid;
grid-template-columns:repeat(2,1fr);
gap:0 20px;
}

.toc strong{
grid-column:1/-1;
margin-bottom:15px;
font-size:1.1rem;
}

.toc a{
display:block;
padding:10px 0 10px 8px;
border-bottom:1px solid #edf5f8;
min-height:42px;
}

.article h2{
font-size:2rem;
font-weight:900;
color:#1a2f3a;
margin:70px 0 25px;
padding-bottom:10px;
border-bottom:4px solid #2EA8D5;
}

.article h3{
font-size:1.3rem;
font-weight:700;
margin:35px 0 15px;
color:#1a2f3a;
}

.article p{
line-height:2;
margin-bottom:20px;
}

.article ul{
list-style:disc;
padding-left:24px;
margin-bottom:25px;
}

.article li{
margin-bottom:10px;
line-height:1.8;
}

.article table{
width:100%;
border-collapse:collapse;
margin:30px 0;
font-size:.95rem;
}

.article th{
background:#2EA8D5;
color:#fff;
padding:12px;
}

.article td{
padding:12px;
border:1px solid #d9eef7;
}

.wide-table{
max-width:1200px;
margin:30px auto;
overflow-x:auto;
}

.wide-table table{
margin:0;
}

.notice{
background:#fff8e6;
border-left:5px solid #f5a623;
padding:18px;
margin:25px 0;
line-height:1.8;
}

.summary{
background:#f8fcff;
border:1px solid #d9eef7;
border-radius:12px;
padding:20px;
margin-top:38px;
}

.details{
border:1px solid #d9eef7;
border-radius:8px;
padding:14px;
margin-bottom:12px;
background:#fff;
}

.summary{
cursor:pointer;
font-weight:700;
}


.pollen-chart{
background:#fff;
border:1px solid #d9eef7;
border-radius:14px;
padding:20px;
margin:28px 0 46px;
box-shadow:0 4px 16px rgba(46,168,213,.08);
overflow-x:auto;
overflow-y:hidden;
-webkit-overflow-scrolling:touch;
max-width:100%;
}
.month-head,
.pollen-row{
display:grid;
grid-template-columns:120px repeat(12,1fr);
min-width:760px;
align-items:center;
}

.month-head{
margin-bottom:10px;
font-size:.8rem;
color:#666;
text-align:center;
}

.pollen-row{
min-height:52px;
border-top:1px solid #eef6fa;
position:relative;
}

.pollen-row strong{
font-size:.95rem;
color:#1a2f3a;
}

.bar{width: 100%;
height:32px;
display:flex;
align-items:center;
justify-content:center;
font-size:.82rem;
font-weight:900;
color:#fff;
box-shadow:0 2px 6px rgba(0,0,0,.12);
}

.pollen-cards{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:18px;
margin:34px 0;
}

.pollen-card{
background:#f8fcff;
border:1px solid #d9eef7;
border-radius:14px;
padding:20px;
}

.pollen-card h4{
font-size:1.08rem;
font-weight:900;
color:#1a2f3a;
margin:0 0 10px;
}

.pollen-card p{
font-size:.95rem;
line-height:1.85;
margin:0;
}


.month-head,
.pollen-row{
grid-template-columns:90px repeat(12,46px);
min-width:650px;
}

.bar{
font-size:.75rem;
height:30px;
padding:0 6px;
}

.pollen-cards{
grid-template-columns:1fr;
}

.article{
padding:24px 16px 60px;
}

.article h2{
font-size:1.5rem;
margin-top:50px;
}
.article table{
display:table;
width:100%;
table-layout:fixed;
overflow:visible;
white-space:normal;
font-size:.78rem;
}

.article th,
.article td{
padding:8px 6px;
line-height:1.55;
word-break:break-word;
overflow-wrap:anywhere;
}

.article th{
font-size:.76rem;
}

.article td{
font-size:.78rem;
}

/* ==================================
   全国花粉カレンダー（pollen-chart）拡張
================================== */

.pollen-chart .bar {
  border-radius: 0;
  height: 42px;
  font-size: .8rem;
  line-height: 1.3;
  padding: 4px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.bar-red-peak  { background: #c0392b; color: #fff; }
.bar-red-sub   { background: #e8a09a; color: #7a1a14; }
.bar-blue-peak { background: #2471a3; color: #fff; }
.bar-blue-sub  { background: #a9cce3; color: #1a4a6e; }
.bar-sub-text  { font-size: .68rem; opacity: .85; }

.bar-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bar-area-label {
  font-size: .72rem;
  color: #2471a3;
  font-weight: 700;
  margin-top: 3px;
  white-space: nowrap;
}
.pollen-row {
  align-items: start;
}

/* 全国カレンダー月ヘッダー */
.month-head b {
  border-left: 1px solid #aaa;
}
.month-head b:last-child{
border-right:1px solid #aaa;
}
@media (min-width: 601px) {
.pc-no{ display: none;}
}
/* ==================================
   地域別カレンダー（タブ切り替え）
================================== */

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0;
}
.region-tab {
  padding: 8px 14px;
  background: #f0f8ff;
  border: 1px solid #2EA8D5;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  color: #2EA8D5;
  transition: background .2s;
}
.region-tab.active {
  background: #2EA8D5;
  color: #fff;
}
.region-panel {
  display: none;
  border: 1px solid #2EA8D5;
  border-radius: 0 6px 6px 6px;
  padding: 20px;
  background: #fff;
  margin-bottom: 32px;
}
.region-panel.active {
  display: block;
}
.region-note {
  font-size: .82rem;
  background: #f8fcff;
  border-left: 3px solid #2EA8D5;
  padding: 10px 14px;
  margin-top: 16px;
  line-height: 1.8;
  position: relative;
  z-index: 4;
}

/* 地域別カレンダー グリッド */
.r-chart {
  position: relative;
  overflow: hidden;
}
.r-head,
.r-row {
  display: grid;
  grid-template-columns: 90px repeat(36, 1fr);
  width: 100%;
  min-width: 0;
  font-size: .72rem;
  align-items: center;
}
.r-head {
  margin-bottom: 4px;
  color: #666;
  position: relative;
  z-index: 3;
  background: #fff;
}
.r-head span {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  background: #fff;
}
.r-head b {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid #b8c4cc;
  background: #fff7ef;
  position: relative;
  font-size: .72rem;
  font-weight: 700;
}
.r-head b::before,
.r-head b::after {
  display: none !important;
}
.r-head b:nth-child(odd) {
  background: #fffdf9;
}
.r-head b:last-child {
  border-right: 1px solid #b8c4cc;
}

.r-row {
  position: relative;
  z-index: 1;
  min-height: 34px;
  border-top: 1px solid #eef3f6;
}
/* 地域別カレンダーの月境界線＋10日区切り線生成
削除禁止*/
.r-row::before {
  content: '';
  position: absolute;
  left: 90px;
  right: 0;
  top: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(8.333333% - 1px),
      rgba(184,196,204,.95) calc(8.333333% - 1px),
      rgba(184,196,204,.95) 8.333333%
    ),
    repeating-linear-gradient(
      to right,
      transparent 0,
      transparent calc(2.777777% - 1px),
      rgba(215,225,232,.55) calc(2.777777% - 1px),
      rgba(215,225,232,.55) 2.777777%
    );
  pointer-events: none;
  z-index: 0;
}
.r-row strong {
  font-size: .72rem;
  line-height: 1.3;
  padding-right: 4px;
  position: relative;
  z-index: 3;
  background: #fff;
}
.r-row strong small {
  font-size: .68em;
  font-weight: 400;
}
.r-bar {
  height: 30px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .68rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  position: relative;
  z-index: 3;
  overflow: hidden;
}
.rb-peak  { background: #c0392b; color: #fff; }
.rb-sub   { background: #e8a09a; color: #7a1a14; }
.rb-bpeak { background: #2471a3; color: #fff; }
.rb-bsub  { background: #a9cce3; color: #1a4a6e; }

/* season inline style移動 */
.pollen-legend{
display:flex;
gap:16px;
margin-bottom:18px;
flex-wrap:wrap;
font-size:.82rem;
justify-content:center;
align-items:center;
}

.pollen-legend span{
display:inline-flex;
align-items:center;
gap:6px;
}

.legend-box{
display:inline-flex;
align-items:center;
justify-content:center;
width:60px;
height:22px;
font-weight:700;
font-size:.78rem;
}

.legend-red-peak{
background:#c0392b;
color:#fff;
}

.legend-red-sub{
background:#e8a09a;
color:#c0392b;
}

.legend-blue-peak{
background:#2471a3;
color:#fff;
}

.legend-blue-sub{
background:#a9cce3;
color:#2471a3;
}

.season-region-title{
margin-top:48px;
}

.season-note{
font-size:.8rem;
color:#888;
margin-top:8px;
}

.small-star{
font-size:.7em;
font-weight:400;
}


.severity-light{background:#e8f7e8;}
.severity-mid{background:#fff8d8;}
.severity-heavy{background:#ffe4c4;}
.severity-max{background:#ffd6d6;}

@media (max-width: 680px) {
.pollen-chart{
padding:14px;
overflow-x:auto;
overflow-y:hidden;
-webkit-overflow-scrolling:touch;
}
.month-head,
.pollen-row{
grid-template-columns:90px repeat(12,46px);
min-width:650px;
}
  .r-chart { overflow-x: auto; }
  .r-head,
  .r-row {
    grid-template-columns: 84px repeat(36, 20px);
    min-width: 804px;
  }
  .r-row::before { left: 84px; }
  .r-row strong  { font-size: .68rem; }
  .r-bar { height: 28px; font-size: .62rem; }
.pollen-chart, .region-panel {position: relative;}
 .pc-no{
display:block;
font-size:.8rem;
color:#888;
text-align:center;
margin:6px 0 10px;
position:static;
}
}

/* syoujou.html 追加CSS */

.symptom-dic-card span{
  display:inline-block;
  background:var(--color-main);
  color:#fff;
  font-size:.72rem;
  font-weight:900;
  padding:3px 10px;
  border-radius:999px;
  margin-bottom:10px;
}

.symptom-dic-card h3{
  font-size:1.05rem;
  font-weight:900;
  color:var(--color-dark);
  margin-top: 0;
  margin-bottom:8px;
}

.symptom-dic-card p{ margin-bottom: 0;}

.kafun-label{
  color:var(--color-main);
  font-weight:900;
  margin-bottom:8px;
}

.kafun-lead{
  max-width:820px;
  margin:0 auto;
  color:var(--color-subtext);
  line-height:1.9;
}

.symptom-dic-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:28px;
}

.symptom-dic-card{
  position: relative;
  display:block;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:20px;
  color:var(--color-text);
}



.symptom-icon{
  position: absolute;
  top:20px;
  right:20px;
  display:block;
  width:60px;
  height:60px;
  margin-bottom:12px;
  background-image:url("../img/icons-02.webp");
  background-repeat:no-repeat;
  background-size:360px auto;
}

/* 16分割なら調整 */
.icon-sneeze{background-position:-60px 0;}/*くしゃみ*/
.icon-hanamizu{background-position:-120px 0;}/*鼻水*/
.icon-runny{background-position:-180px 0;}/*鼻づまり*/
.icon-mekayui{background-position:-240px 0;}/*目かゆい*/
.icon-nodo{background-position:-300px 0;}/*のど*/
.icon-seki{background-position:0px -100px;}/*咳*/
.icon-zutsu{background-position:-60px -100px;}/*頭痛*/
.icon-netsu{background-position:-120px -100px;}/*熱*/
.icon-darui{background-position:-180px -100px;}/*だるい*/


.symptom-dic-card p{
  font-size:.86rem;
  color:var(--color-subtext);
  line-height:1.7;
}

.symptom-dic-card img{
  position: absolute;
  width:70px;height:70px;
  top:2vw;
  right:10%;
}


.table-scroll{
  overflow-x:auto;
}

.symptom-table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  border:1px solid var(--color-border);
}

.symptom-table th{
  background:var(--color-main);
  color:#fff;
  padding:12px;
  text-align:left;
}

.symptom-table td{
  padding:12px;
  border-bottom:1px solid #e8f0f5;
  line-height:1.7;
}

.compare-box{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.compare-card{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:0 16px;
}

.compare-card h3{
  font-size:1.05rem;
  font-weight:900;
  color:var(--color-dark);
  margin-bottom:12px;
}

.compare-card li,
.check-box li{
  padding:6px 0;
  border-bottom:1px solid #eef5f8;
  line-height:1.7;
}

.note-text{
  margin-top:18px;
  font-size:.85rem;
  color:var(--color-subtext);
}

.check-box{
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:0 16px;
}

.related-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}

.related-card{
  display:block;
  background:#fff;
  border:1px solid var(--color-border);
  border-radius:12px;
  padding:20px 16px;
  color:var(--color-text);
}

.related-card h3{
  display: flex;
  align-items: center;
  font-size:1rem;
  font-weight:900;
  color:var(--color-dark);
  margin-top: 0;
  margin-bottom:8px;
}

.related-card p{
  font-size:.84rem;
  color:var(--color-subtext);
  margin-bottom: 0;
}



/* 解説図・イラスト（append-only） */
.kf-fig img{display:block;width:100%;max-width:1200px;height:auto;margin:0 auto;border-radius:14px;}

.cause-card h3,
.cause-box h3,
.cause-faq-item h3,
.cause-related h3{
font-size:1.05rem;
font-weight:900;
color:#1a2f3a;
line-height:1.45;
margin:0 0 12px;
}
.cause-card p,
.cause-box p,
.cause-faq-item p,
.cause-related p{
color:#60737f;
font-size:.9rem;
line-height:1.75;
margin:0;
}
.cause-step {
background:#fff;
border:1px solid #d9eef7;
border-radius:16px;
padding:22px;
}
.cause-step-num{
height:38px;
padding: 8px 16px;
margin-right: 5px;
border-radius:999px;
background:#2EA8D5;
color:#fff;
font-weight:900;
font-size:.82rem;
}
.cause-step h3{
font-size:1.15rem;
font-weight:900;
color:#1a2f3a;
margin:0 0 8px;
}
.cause-step p{
color:#51616b;
line-height:1.9;
margin:0;
}
.cause-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
}
.cause-card{
display:block;
background:#fff;
border:1px solid #d9eef7;
border-radius:14px;
padding:20px;
color:#223;
text-decoration:none;
box-shadow:0 4px 14px rgba(46,168,213,.06);
}
.cause-card span{
display:inline-block;
background:#e8f6fb;
color:#1a7fa8;
font-size:.75rem;
font-weight:900;
padding:4px 10px;
border-radius:999px;
margin-right:5px;
}
.cause-card b{
display:inline-block;
margin-top:12px;
color:#2EA8D5;
font-weight:900;
font-size:.88rem;
}
.cause-two{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:16px;
max-width:1200px;
margin:0 auto;
}
.cause-box{
background:#fff;
border:1px solid #d9eef7;
border-radius:14px;
padding:22px;
}
.cause-box h3,.cause-related h3{display: flex;align-items: center;gap: 4px;}
.related-card h3 svg,.cause-box h3 svg,.cause-related h3 svg{ color: #5bbd85;}
.cause-check{
max-width:1200px;
margin:0 auto;
background:#fff;
border:1px solid #d9eef7;
border-radius:16px;
padding:24px 16px;
}
.cause-check ul{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
list-style:none;
padding:0;
margin:0;
}
.cause-check li{
background:#f8fcff;
border:1px solid #e5f2f8;
border-radius:12px;
padding:12px;
line-height:1.7;
color:#465a66;
}
.cause-check li::before{
content:'✓';
color:#2EA8D5;
font-weight:900;
margin-right:6px;
}
.cause-note{
max-width:1200px;
margin:24px auto 0;
background:#fff8e6;
border-left:5px solid #f5a623;
border-radius:10px;
padding:18px;
line-height:1.8;
color:#554;
}
.cause-faq{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:16px;
max-width:1200px;
margin:0 auto;
}
.cause-faq-item{
background:#fff;
border:1px solid #d9eef7;
border-radius:12px;
padding:18px 20px;
margin-bottom:12px;
}
.cause-related{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:16px;
}
.cause-related a{
display:block;
background:#fff;
border:1px solid #d9eef7;
border-radius:14px;
padding:20px;
color:#223;
text-decoration:none;
}
@media (min-width: 901px) and (max-width: 1366px) {
/* 小型ノート・iPad Pro */
.cause-grid{grid-template-columns:repeat(2,1fr);}
.cause-step{padding:12px;}
.cause-step-num{
height:30px;
padding:10px;
margin-right: 5px;
font-size:.75rem;
}
.related-grid{gap: 4px;}
.related-card{padding: 12px 4px;}
.related-card h3,.symptom-dic-grid h3{font-size: 0.9rem;}
.symptom-dic-grid{gap:8px;}
.symptom-dic-card{padding: 12px;
}}

@media(max-width:900px){
.cause-grid,.cause-related, .symptom-dic-grid, .cause-check ul, .compare-box{
grid-template-columns:repeat(2,1fr);
}
.compare-box{gap:8px;}
.cause-step{padding:16px 8px;}
.cause-step-num{
padding:6px;
margin-right:2px;
font-size:.6rem;
}
.related-grid{
grid-template-columns:1fr;
}}

@media(max-width:680px){
 .symptom-dic-grid, .compare-box{
  grid-template-columns:1fr;
  }
.cause-section{padding:25px 0;}
.cause-check {padding: 12px;}
.cause-grid,
.cause-two,
.cause-related,
.cause-check ul,.cause-faq{
grid-template-columns:1fr;
}
.cause-step{
grid-template-columns:1fr;
padding:18px;
}
.symptom-dic-card{ padding: 8px 20px;}
}

