


/* =========================
   Dry Eye
========================= */

.dryeye-hero-visual{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.dryeye-hero-text p{
  margin: 0 0 16px;
  line-height: 2;
}

.dryeye-hero-text p:last-child{
  margin-bottom: 0;
}

.dryeye-symptom-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dryeye-care-box{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8ff 0%, #f8fdff 100%);
  border: 1px solid rgba(145, 209, 118, 0.28);
}

.dryeye-care-title{
  margin-bottom: 22px;
}

.dryeye-care-list{
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.95;
}

.dryeye-care-list li + li{
  margin-top: 8px;
}

.dryeye-care-figure{
  margin: 0;
}

.dryeye-care-figure img{
  display: block;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  height: auto;
}

@media (max-width: 980px){
  .dryeye-hero-visual,
  .dryeye-care-box{
    grid-template-columns: 1fr;
  }

  .dryeye-care-figure img{
    margin: 0 auto;
  }
}

@media (max-width: 768px){
  .dryeye-symptom-grid{
    grid-template-columns: 1fr;
  }

  .dryeye-care-box{
    padding: 22px;
    border-radius: 18px;
  }
}
.dryeye-hero-text h3{
  display: block;
	text-align: center;
  margin: 0 0 22px;
  padding: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--text);
  background: #f6faf3;
  border-bottom: 3px solid #91d176;
  border-radius: 0;
  box-shadow: none;
}

.dryeye-hero-text h3::before,
.dryeye-hero-text h3::after{
  content: none;
}

@media (max-width: 768px){
  .dryeye-hero-text h3{
    margin-bottom: 18px;
    padding: 0 0 6px;
    font-size: 22px;
  }
}

/* =========================
   Cataract Page
========================= */

.cataract-submv .submv-bg{
  background:
    linear-gradient(rgba(255,255,255,0.58), rgba(255,255,255,0.58)),
    url("../images/submv-cataract.jpg") center/cover no-repeat;
}

.page-intro-card{
  border: 4px solid #91d176;
  border-radius: 18px;
  padding: 32px;
  background: #fff;
}

.page-intro-card h2{
  margin: 0 0 18px;
}

.page-intro-card p{
  margin: 0 0 16px;
  line-height: 2;
}

.page-intro-card p:last-child{
  margin-bottom: 0;
}
/* =========================
   Cataract Symptoms
========================= */

.cataract-symptom-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:24px;
}

.cataract-symptom-card{
  display:flex;
  flex-direction:column;
  align-items:center; /* ←全体中央寄せ */
  text-align:center;  /* ←文字も中央 */
  gap:14px;
}

/* 画像 */
.symptom-img{
  width:50%;
  height:auto;
  display:block;
  margin:0 auto;   /* ←中央寄せ */
}

/* 見出し */
.cataract-symptom-card h3{
  font-size:18px;
  margin:0;
}

/* テキスト */
.cataract-symptom-card p{
  font-size:14px;
  margin:0;
  line-height:1.7;
}

/* treatment */

.cataract-treatment-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.cataract-treatment-card h3{
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 22px;
}

.cataract-treatment-card p{
  margin: 0;
  line-height: 1.95;
}

/* surgery */
/* ブロック全体 */
.cataract-surgery-block{
  display: block;
}

/* テキスト */
.cataract-surgery-text p{
  margin: 0 0 16px;
  line-height: 2;
}

/* 画像 横並び */
.cataract-surgery-media{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

/* 画像カード */
.surgery-media-card{
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(145,209,118,.3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.surgery-media-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.surgery-media-card img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.surgery-media-card figcaption{
  padding: 12px 14px 16px;
  font-size: 14px;
  color: #666;
}
@media (max-width: 768px){

  .cataract-surgery-media{
    grid-template-columns: 1fr;
  }

}

@media (max-width:1024px){
  .cataract-symptom-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){
  .cataract-symptom-grid{
    grid-template-columns:1fr;
  }
}

/* flow */

.cataract-flow{
  display: grid;
  gap: 18px;
}

.cataract-flow-item{
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(145, 209, 118, 0.32);
}

.flow-num{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f29600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
}

.flow-body h3{
  margin: 2px 0 10px;
  font-size: 21px;
}

.flow-body p{
  margin: 0 0 12px;
  line-height: 1.95;
}

.flow-body p:last-child{
  margin-bottom: 0;
}
.cataract-flow-item{
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(145, 209, 118, 0.32);
}

/* 最後以外に下向き矢印を表示 */
.cataract-flow-item:not(:last-child)::after{
  content: "";
  display: block;
  width: 44px;
  height: 34px;
  margin: 18px auto -4px;
  grid-column: 1 / -1;
  background: #bfbfbf;
  clip-path: polygon(20% 0, 80% 0, 80% 45%, 100% 45%, 50% 100%, 0 45%, 20% 45%);
}
/* responsive */

@media (max-width: 980px){
  .cataract-surgery-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px){
  .page-intro-card{
    padding: 24px;
    border-radius: 16px;
  }

  .cataract-symptom-grid,
  .cataract-treatment-grid,
  .cataract-surgery-media{
    grid-template-columns: 1fr;
  }

  .cataract-flow-item{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-num{
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .flow-body h3{
    font-size: 19px;
  }
}

@media (max-width: 768px){
  .page-intro-card{
    padding: 24px;
    border-radius: 16px;
  }

  .cataract-symptom-grid,
  .cataract-treatment-grid{
    grid-template-columns: 1fr;
  }

  .cataract-flow-item{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-num{
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .flow-body h3{
    font-size: 19px;
  }
}

/* =========================
   Disease Common
========================= */

.disease-submv .submv-bg{
  background:
    linear-gradient(rgba(255,255,255,.60), rgba(255,255,255,.60)),
    url("../images/submv-disease.jpg") center/cover no-repeat;
}

.section-title.section-title-center{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  margin: 50px 0 42px;
}

.section-title.section-title-center h2{
  margin: 0;
}

.section-title.section-title-center h2 .ja{
  display: block;
}

.section-title.section-title-center h2 .en{
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .1em;
  color: #f29600;
  margin-top: 8px;
}

.section-title.section-title-center p{
  margin: 10px 0 0;
}

/* intro */

.disease-intro-card{
  border: 4px solid #91d176;
  border-radius: 18px;
  padding: 32px;
margin-bottom: 32px;
  background: #fff;
}

.disease-intro-card p{
  margin: 0 0 16px;
  line-height: 2;
}

.disease-intro-card p:last-child{
  margin-bottom: 0;
}

/* common cards */

.disease-card-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.disease-card h3{
  margin: 0 0 12px;
  font-size: 22px;
}

.disease-card p{
  margin: 0 0 14px;
  line-height: 1.95;
}

.disease-card p:last-child{
  margin-bottom: 0;
}

/* media */

.disease-visual-block{
  display: block;
}

.disease-visual-text p{
  margin: 0 0 16px;
  line-height: 2;
}

.disease-visual-text p:last-child{
  margin-bottom: 0;
}

.disease-visual-media{
  margin-top: 28px;
}

.disease-media-card{
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(145, 209, 118, 0.30);
  transition: transform .35s ease, box-shadow .35s ease;
}

.disease-media-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,.08);
}

.disease-media-card img{
  display: block;
  width: 100%;
  /*aspect-ratio: 16 / 9;*/
  object-fit: cover;
  background: #f8f8f8;
}

.disease-media-card figcaption{
  padding: 14px 16px 18px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* cataract surgery block */

.cataract-surgery-block{
  display: block;
}

.cataract-surgery-text p{
  margin: 0 0 16px;
  line-height: 2;
}

.cataract-surgery-media{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 28px 0;
}

.surgery-media-card{
  margin: 0;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(145,209,118,.3);
  transition: transform .3s ease, box-shadow .3s ease;
}

.surgery-media-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,.08);
}

.surgery-media-card img{
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  background: #f8f8f8;
}

.surgery-media-card figcaption{
  padding: 12px 14px 16px;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.lens-box{
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: #f7fbf4;
  border: 1px solid rgba(145, 209, 118, 0.28);
}

.lens-box h3{
  margin: 0 0 12px;
  font-size: 22px;
}

.lens-box p{
  margin: 0 0 14px;
  line-height: 1.95;
}

.lens-box p:last-child{
  margin-bottom: 0;
}

/* symptom cards / treatment cards */

.cataract-symptom-grid,
.cataract-treatment-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.cataract-symptom-card,
.cataract-treatment-card{
  border: 1px solid rgba(145, 209, 118, 0.35);
  border-radius: 16px;
  padding: 22px;
  background: #fff;
}

.cataract-symptom-card h3,
.cataract-treatment-card h3{
  margin: 0 0 10px;
  font-size: 20px;
}

.cataract-symptom-card p,
.cataract-treatment-card p{
  margin: 0;
  line-height: 1.9;
}

.cataract-note-box{
  margin-top: 24px;
}

/* flow */

.cataract-flow{
  display: grid;
  gap: 18px;
}

.cataract-flow-item{
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(145, 209, 118, 0.32);
}

.cataract-flow-item:not(:last-child)::after{
  content: "⬇";
  display: block;
  grid-column: 1 / -1;
  text-align: center;
  font-size: 42px;
  line-height: 1;
  color: #bfbfbf;
  margin-top: 12px;
  margin-bottom: -4px;
}

.flow-num{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f29600;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
}

.flow-body h3{
  margin: 2px 0 10px;
  font-size: 21px;
}

.flow-body p{
  margin: 0 0 12px;
  line-height: 1.95;
}

.flow-body p:last-child{
  margin-bottom: 0;
}

.flow-body ul{
  margin: 10px 0 0;
  padding-left: 1.2em;
  line-height: 1.9;
}

.flow-body li + li{
  margin-top: 6px;
}

/* responsive */

@media (max-width: 980px){
  .disease-card-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px){
  .disease-intro-card{
    padding: 24px;
    border-radius: 16px;
  }

  .disease-card-grid,
  .cataract-symptom-grid,
  .cataract-treatment-grid,
  .cataract-surgery-media{
    grid-template-columns: 1fr;
  }

  .cataract-flow-item{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .flow-num{
    width: 46px;
    height: 46px;
    font-size: 13px;
  }

  .flow-body h3{
    font-size: 19px;
  }

  .cataract-flow-item:not(:last-child)::after{
    font-size: 34px;
  }
}

/* =========================
   Floaters
========================= */

.single-media{
  margin-top: 0;
}
.floaters-layer-card{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(145, 209, 118, 0.25);
}

/* 背景レイヤー */
.floaters-layer-card::before{
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/floater.gif") center / cover no-repeat;
  z-index: 0;
}

/* 色オーバーレイ（可読性用） */
.floaters-layer-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(193, 232, 248, 0.5); /* ←透明度で調整 */
  z-index: 0;
}

/* 中身 */
.floaters-layer-inner{
  position: relative;
  z-index: 1;
  padding: 42px 36px;
}
.floaters-layer-title{
  margin-bottom: 26px;
}

.floaters-layer-text{
  max-width: 700px;
  margin: 0 auto;
}

.floaters-layer-text p{
  margin: 0 0 16px;
  line-height: 2;
  color: #1c1c1c;
}

.floaters-layer-text p:last-child{
  margin-bottom: 0;
}

.danger-card{
  border-color: #f29600;
}

.warning-box{
  margin-top: 24px;
}

.disease-link-line{
  margin-top: 18px;
}

.text-link-arrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #1c1c1c;
  text-decoration: none;
}

.text-link-arrow::after{
  content: "→";
  color: #f29600;
  font-weight: 700;
}

.text-link-arrow:hover{
  text-decoration: underline;
}

@media (max-width: 768px){
  .floaters-layer-inner{
    padding: 30px 22px;
  }

  .floaters-layer-card{
    border-radius: 18px;
  }
}

/* =========================
   Diabetes Eye
========================= */

.diabetes-top-media{
  margin-top: 28px;
}

.disease-stage-list{
  display: grid;
  gap: 28px;
}

.disease-stage-item{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 26px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(145, 209, 118, 0.30);
  border-radius: 20px;
  background: #fff;
}

.disease-stage-text h3{
  margin: 0 0 14px;
  font-size: 24px;
}

.disease-stage-text p{
  margin: 0 0 14px;
  line-height: 1.95;
}

.disease-stage-text p:last-child{
  margin-bottom: 0;
}

.disease-stage-media .disease-media-card{
  height: 100%;
}

.diabetes-warning-box{
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
  gap: 26px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff7df 0%, #fff2c2 100%);
  border: 2px solid #f29600;
}

.diabetes-warning-text h3{
  margin: 0 0 14px;
  font-size: 28px;
  color: #1c1c1c;
}

.diabetes-warning-text p{
  margin: 0 0 16px;
  line-height: 1.9;
}

.diabetes-warning-list{
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.95;
  font-weight: 700;
}

.diabetes-warning-list li + li{
  margin-top: 8px;
}

.diabetes-warning-figure{
  margin: 0;
}

.diabetes-warning-figure img{
  display: block;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  height: auto;
}

.disease-table-wrap{
  overflow-x: auto;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(145, 209, 118, 0.28);
}

.disease-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.disease-table th,
.disease-table td{
  padding: 18px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(145, 209, 118, 0.18);
  line-height: 1.8;
}

.disease-table thead th{
  background: #f7fbf4;
  font-size: 15px;
  font-weight: 700;
}

.disease-table tbody tr:last-child td{
  border-bottom: none;
}

.disease-note-list{
  margin-top: 16px;
}

.disease-note-list p{
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.disease-note-list p:last-child{
  margin-bottom: 0;
}

@media (max-width: 980px){
  .disease-stage-item,
  .diabetes-warning-box{
    grid-template-columns: 1fr;
  }

  .diabetes-warning-figure img{
    margin: 0 auto;
  }
}

@media (max-width: 768px){
  .disease-stage-item{
    padding: 20px;
    border-radius: 18px;
  }

  .disease-stage-text h3{
    font-size: 22px;
  }

  .diabetes-warning-box{
    padding: 22px;
    border-radius: 18px;
  }

  .diabetes-warning-text h3{
    font-size: 24px;
  }

  .disease-table-wrap{
    border: none;
    background: transparent;
    overflow: visible;
  }

  .disease-table{
    min-width: 0;
    display: block;
  }

  .disease-table thead{
    display: none;
  }

  .disease-table tbody{
    display: grid;
    gap: 14px;
  }

  .disease-table tr{
    display: block;
    background: #fff;
    border: 1px solid rgba(145, 209, 118, 0.28);
    border-radius: 16px;
    padding: 14px 16px;
  }

  .disease-table td{
    display: block;
    border: none;
    padding: 6px 0;
  }

  .disease-table td::before{
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #f29600;
    margin-bottom: 4px;
    letter-spacing: .05em;
  }
}

/* =========================
   Dry Eye
========================= */

.dryeye-hero-visual{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.dryeye-hero-text p{
  margin: 0 0 16px;
  line-height: 2;
}

.dryeye-hero-text p:last-child{
  margin-bottom: 0;
}

.dryeye-symptom-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dryeye-care-box{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #eef8ff 0%, #f8fdff 100%);
  border: 1px solid rgba(145, 209, 118, 0.28);
}

.dryeye-care-title{
  margin-bottom: 22px;
}

.dryeye-care-list{
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.95;
}

.dryeye-care-list li + li{
  margin-top: 8px;
}

.dryeye-care-figure{
  margin: 0;
}

.dryeye-care-figure img{
  display: block;
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  height: auto;
}

@media (max-width: 980px){
  .dryeye-hero-visual,
  .dryeye-care-box{
    grid-template-columns: 1fr;
  }

  .dryeye-care-figure img{
    margin: 0 auto;
  }
}

@media (max-width: 768px){
  .dryeye-symptom-grid{
    grid-template-columns: 1fr;
  }

  .dryeye-care-box{
    padding: 22px;
    border-radius: 18px;
  }
}