/* * { outline: 2px solid #ccc; } */

html {
  scroll-margin-top: 120px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

:root {
--dia-main-b:#2481c5;
--dia-main-g:#1A7B4A;
--dia-sub-b:#def0fe;
--dia-sub-g:#549d79;
--dia-sub-b2:#005DA9;
--dia-sub-g2:#e2f5ec;
--dia-red:#D45C5E;
--dia-y: #F9F5D9;
--dia-f-main:'Noto Sans JP', sans-serif;
--dia-f-sub:'dnp-shuei-mgothic-std', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, arial, helvetica, sans-serif;
}
.marker-y {
  background: linear-gradient(transparent 65%, #fff492 0%);
  display: inline;
}
.txt-bold{
  font-weight: 600;
}
.txt-lar{
  font-size: 1.4em;
}
.txt-red{
  color: var(--dia-red);
}
.txt-y{
  color: #faef9e;
}
.u-line{
  border-bottom: solid 1px #f7e87e;
}

#mainContent h2{
  margin: 0 0 20px;
}

/* ── Hero ─────────────────────────────────────────────────── */
#diabetes #mainContent{
  font-family: 'Noto Sans JP', sans-serif;
  width: 100%;
  max-width: 100vw;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}
#diabetes #mainContent::before,#diabetes #mainContent::after{
  content: '';
    height: 90vh;
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
}
#diabetes #mainContent::before{
   background-image: url(../../img/page/diabetes/img-bg.svg);
    width: 20vw;
    top: 90vh;
    left: -8%;
}
#diabetes #mainContent::after{
    background-image: url(../../img/page/diabetes/img-bg.svg);
    transform: scale(-1,-1);
    width: 20vw;
    top: 68vh;
    right: -5%;
}
#diabetes #mainContent .hero{
  position: relative;
  width: 100%;
  min-height: 480px;
  background: #f8f8f8;
  overflow: hidden;
  margin: 80px auto 0;
  padding-bottom: 5vh;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  right: 0;
  /* top: -9%; */
  width: 100vw;
    /* width: clamp(110vw, 110vw, 260vw); */
  object-fit: cover;
  object-position: right top;
  max-width: none;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 20px 48px ;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-sub {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: 2.4em;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin-bottom: 0;
  text-shadow: 0px 0px 10px #ffffff;
}
#diabetes #mainContent h1 {
    border: none;
}
#diabetes .hero-title {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: 5em;
  line-height: 1.2;
  margin-top: 8px;
  -webkit-text-stroke: 6px #fff;
  paint-order: stroke fill;
  text-shadow: 0px 0px 10px #ffffff;
}
.hero-lead {
  margin-top: 90px;
  font-weight: 500;
  font-size: 1.2em;
  color: #333;
  line-height: 1.6;
}

.hero-cards {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-card {
  background:rgba(255, 255, 255, 0.8);
  /* border: 1px solid var(--dia-main-b);
  border-radius: 8px; */
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  width: 28vw;
  max-width: 280px;
}
.hero-card-icon {
  width: min(10vw,9vw, 48px);
  object-fit: contain;
  flex-shrink: 0;
}
.hero-card p {
  font-weight: 500;
  color: var(--dia-main-b);
  font-size: min(1.2em,18px);
  line-height: 1.5;
  margin-bottom: 0;
}
@media (max-width: 1280px) {
  #diabetes #mainContent::before{
    width: 30vw;
    top: 96vh;
    left: -22%;
}
#diabetes #mainContent::after{
    width: 30vw;
    top: 100vh;
    right: -8%;
    z-index: -1;
}
  .hero-bg-img {
    width: 150%;
    right: -16%;
  }
  .hero-lead {
    margin-top: 14vh;
    font-size: min(1.6em, 16px);
    text-shadow: 0px 0px 8px #ffffff;
  }
  .hero-cards {
    margin-top: 12px;
  }
  /* .hero-card-icon {
    width: 11vw;
  } */
}
@media (max-width: 767px) {
  #diabetes #mainContent .hero{
    padding-bottom: 0;
  }
  #diabetes #mainContent::before{
    width: 50vw;
    top: 96vh;
    left: -32%;
    z-index: 1;
}
  #diabetes #mainContent::after{
    width: 50vw;
    top: 80vh;
    right: -38%;
    z-index: 0;
}
  .hero-inner {
    padding: 30px 20px;
  }
  #diabetes #mainContent .hero{
    margin: 0 auto;
  }
  .hero-bg-img {
    width: 290vw;
    right: -56%;
    top: 0;
  }
  .hero-sub {
    font-size: 1.4em;
  }
  #diabetes .hero-title {
    font-size: 3em;
    margin-top: -4px;
  }
   .hero-lead {
    margin-top: 10vh;
    font-size: 1em;
    padding-bottom: 10px;
  }
  .hero-card {
    width: 100%;
    padding: 4px 16px;
    max-width: 100%;
    letter-spacing: 0.04em;
  }
}
/* ── breadcrumb ───────────────────────────────────────────── */
#diabetes .topicPath {
  text-align: left;
  font-size: 1em;
  margin: 10px auto;
}
#diabetes .topicPath li {
  font-size: 0.8em;
}

/* ── Anchor Nav ───────────────────────────────────────────── */
.anchor-nav {
  max-width: 940px;
  margin: 40px auto;
}
.anchor-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 40px 40px;
  gap: 20px;
}
.anchor-btn {
  background: #def0fe;
  padding: 8px;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  box-shadow: 0 2px 0 #75a8cf;
}
.anchor-btn:hover {
  /* background: #a7cef1; */
  transform: translateY(2px);
  box-shadow: 0 1px 0 #528bb6;
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
}

.anchor-arrow {
  color: var(--dia-main-b);
  font-size: 11px;
}
@media (max-width: 767px) {
  .anchor-nav {
    margin: 10px 16px 48px;
  }
  .anchor-nav-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 36px 36px 36px 36px;
    gap: 10px;
  }
  .anchor-nav img {
    width: 1em;
  }
}


/* ── Concerns ─────────────────────────────────────────────── */
.concerns {
  position: relative;
  width: 100%;
  /* background: #fff; */
  overflow: hidden;
  z-index: 10;
  margin-top: 100px;
}

.concerns-wave {
  position: absolute;
  left: -58px;
  top: 0;
  width: 1589px;
  height: 757px;
  pointer-events: none;
  z-index: 0;
}

.concerns-wave-img {
  width: 100vw;
}

.concerns-inner {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
}

.concerns-content {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}
.concerns-person {
  width: 154px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.concerns-right {
  flex: 1;
}
.concerns-title-wrap{
  padding-left: 40px;
}

#diabetes #mainContent h2{
  font-family: var(--dia-f-sub);
  background-color: transparent;
  padding: 0;
  color: var(--dia-main-b);
  font-size: min(1.8em,28px);
}
#diabetes #mainContent .concerns-title {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: #1a7b4a;
  font-size: 2.4em;
  line-height: 1.3;
  margin-bottom: 8px;
  background-color: none;
}

.concerns-underline {
  height: 10px;
  /* width: 50vw; */
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 16px;
}

.concerns-list {
  /* background: var(--dia-sub-g2); */
  /* background: #f8f8f8; */
  border-radius: 8px;
  padding: 20px 16px;
  max-width: 800px;
  margin-top: 20px;
}

.concerns-row {
  display: flex;
  gap: 32px;
  margin-bottom: 4px;
}
.concerns-item {
  font-family:var(--dia-f-sub);
  font-weight: 600;
  color: #333;
  font-size: min(1.3em,18px);
  line-height: 2.25;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0;
  width: max(26vw,310px);
  font-feature-settings: "palt";
}

.check {
  color: var(--dia-main-b);
}
@media (max-width: 1280px) {
  .concerns-wave {
    top: -248px;
  }
  .concerns-inner {
    padding: 0 40px;
  }
  .concerns-title-wrap{
    padding-left: 0;
    text-align: center;
  }

  .concerns-underline {
    width: 100%;
  }
  .concerns-content {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .concerns-inner {
    padding: 0 16px;
  }
  .concerns-content {
    flex-direction: column;
    align-items: center;
  }
  #diabetes #mainContent .concerns-title {
    font-size: 1.5em;
  }
  .concerns-content .concerns-person{
    order: 2;
    width: 28%;
  }
  .concerns-content .concerns-right{
    order: 1;
  }
  .concerns-row {
    display: block;
  }
  .concerns-item img {
    width: 1.4em;
    margin-right: 8px;
  }
  .concerns-item {
    width: 100%;
    font-size: min(1.1em, 24px);
  }
}

/* CTA Box */
.cta-box {
  margin-top: 32px;
  background: #fff;
  border: 4px solid var(--dia-main-b);
  border-radius: 9999px;
  box-shadow: 0 4px 0 var(--dia-main-b);
  padding: 18px;
  text-align: center;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  margin: 40px auto 60px;
  position: relative;
}
.cta-box:hover {
  opacity: 0.75;
  transform: translateY(2px);
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 0 var(--dia-main-b);
}
.cta-box {
  display: block;
  text-decoration: none;
  color: inherit;
}

#diabetes #mainContent a[href^="tel:"] {
    cursor: pointer;
  }

.cta-box__lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: min(1.4em,24px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 0;
}
.cta-box__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}
#diabetes #mainContent .cta-link {
  display: block;
  cursor: pointer;
} 

.cta-phone-icon {
  width: min(3em,32px);
  /* height: min(2.4em,36px); */
}
.cta-phone-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: min(2.1em,32px);
  line-height: 1;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .cta-box {
    border-radius: 20px;
    margin: 20px auto 60px;
  }
  .cta-box__lead {
    font-size: min(1.4em,24px);
  }
  .cta-phone-number {
    font-size: min(2.1em,32px);
  }
}

/* ── Info Section (糖尿病とは + コラム) ──────────────────── */
.info-section {
  width: 90%;
  max-width: 1280px;
  padding: 48px 0;
  background: #fff;
  margin: 0 auto;
}
.info-grid {
  display: grid;
  grid-template-columns: 52% 45%;
  gap: 32px;
}

@media (max-width: 767px) {
  .info-section {
    padding: 0;
  }
}
/* 糖尿病とは */
.about-box {
  flex: 1;
  min-width: 320px;
  border: 1px solid var(--dia-main-b);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-box__body {
  padding: 32px;
  flex: 1;
}

#diabetes #mainContent .about-title {
  color: var(--dia-main-b);
  margin-bottom: 10px;
  line-height: 1.3;
  border-bottom: dotted 4px var(--dia-main-b) ;
  padding-bottom: 16px;
  margin: 0 0 16px;
}

.about-title--large {
  font-weight: 700;
  font-size: min(1.6em,36px);
  letter-spacing: 0.1em;
}
.about-title--medium {
  font-weight: 700;
  font-size: min(1.1em,26px);
}

.about-text {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #333;
  margin-bottom: 40px;
}
.about-text span {
  font-weight: 600;
}
.complication-row {
  display: flex;
}
.complication-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px 0;
  text-align: center;
  margin: 0 8px;
  border: solid 2px #ecdd73;
  border-radius: 20px;
}

.complication-icon {
  width: 65px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 8px;
}

.complication-item p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: #333;
}

.about-box__footer {
  background: var(--dia-main-b);
  padding: 20px 32px;
}

.about-box__footer p {
  font-family:var(--dia-f-sub);
  -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; word-break:break-all;
  font-weight: 700;
  color: #fff;
  font-size:  min(1.6em, 26px);
  line-height: 1.6;
  letter-spacing: 0.02em;
}
@media (max-width: 1000px) {
  .info-grid {
    display: block;
  }
  #about.about-box {
    margin-bottom: 60px;
  }
}

@media (max-width: 767px) {
  #diabetes #mainContent .about-title {
    margin: 8px 0 16px;
  }
  .about-box__body {
    padding: 16px;
  }
  .complication-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
}

/* 糖尿病の判断基準 */
.criteria-txt-box{
  background: var(--dia-sub-b);
  border-radius: 10px;
  padding: 16px;
  margin-top: 40px;
}
.criteria-txt-box dt{
  font-size: min(1.1em, 24px);
  color: var(--dia-main-b);
  font-weight: 500;
  margin-bottom: 0;
}
.criteria-txt-box dd{
  font-size: min(1.1em, 24px);
  font-weight: 500;
  padding-left: 20px;
  margin-bottom: 10px;
}


/* ドクターズコラム */
.column-box {
  flex: 1;
  min-width: 320px;
  border: 4px solid #549d79;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.column-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #84bfa3;
  border-radius: 0 0 0 10px;
  padding: 2px 20px;
  z-index: 2;
}

.column-badge__en {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
  margin-bottom: 0;
}

.column-badge__ja {
  font-weight: 500;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.column-head {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40vh;
  overflow: hidden;
}

.column-text-wrap {
  position: absolute;
  z-index: 1;
  text-align: right;
  right: 4%;
  top: 40%;
}

.column-doctor-img {
  position: absolute;
  left: -16%;
  bottom: 0%;
  width: clamp(400px, 150%, 548px);
  /* height: 100%; */
  object-fit: contain;
  object-position: right bottom;
}

.column-body {
  /* display: flex; */
  /* gap: 16px; */
  padding: 24px 24px 0 24px;
  /* padding-top: 80px; */
  /* flex: 1; */
}

.column-text {
  flex: 1;
}

.column-title {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: #1a7b4a;
  font-size: min(2.4em,28px);
  line-height: 1.3;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.column-hint {
  font-family: var(--dia-f-main);
  color: #1a7b4a;
  font-size: min(1.2em,16px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.column-doctor-name {
  color: #333;
  /* font-size: 0; */
  margin-bottom: 2px;
}
.column-name-large {
  font-weight: 500;
  font-size: min(2em, 30px);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.column-name-small {
  font-weight: 500;
  font-size: 1.2em;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.column-dept {
  font-weight: 500;
  color: #333;
  font-size: 1.4em;
  line-height: 1.5;
  letter-spacing: 0.09em;
  margin-bottom: 28px;
}

.column-desc {
  font-weight: 500;
  color: #333;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.column-footer {
  padding: 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-more {
  color: #549d79;
  font-size: 16px;
  font-weight: 500;
  align-self: flex-end;
  transition: opacity 0.2s;
  padding-right: 32px;
}

.column-more:hover {
  opacity: 0.75;
  }

.column-btn {
  display: block;
  background: #1a7b4a;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 0 #0b522f;
  padding: 16px;
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
  width: 80%;
}
.arrow-r {
  position: relative;
}
.arrow-r::after {
    content: "";
    width: min(2vw, 12px);
    aspect-ratio: 1 / 1;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
}
.arrow-r2 {
  position: relative;
}
.arrow-r2::before,.arrow-r2::after {
    content: "";
    width: min(1.6vw, 8px);
    aspect-ratio: 1 / 1;
    border-top: 1px solid var(--dia-main-g);
    border-right: 1px solid var(--dia-main-g);
    position: absolute;
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
}
.arrow-r2::before{
  right: 10px;
}
.arrow-r2::after{
  right: 16px;
}
.column-btn:hover {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #0b522f;
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
  }

@media (max-width: 1280px) {
  .column-doctor-img {
    left: -20%;
  }
}

@media (max-width: 767px) {
  .column-head {
    min-height: 330px;
    align-items: flex-start;
  }

  .column-doctor-img {
    object-fit: contain;
    object-position: right bottom;
    left: -32%;
  }
  .column-title {
    margin-top: 32px;
  }
  .column-dept {
    font-size: min(1.1em,18px);
    margin-bottom: 44px;
  }
  .column-name-large {
   font-size: 1.6em;
  }
  .column-name-small {
    font-size: 1em;
  }
  .column-btn {
    width: 100%;
    padding: 16px 32px 16px 16px;
    font-size: min(1.4em, 16px);
  }
  .arrow-r::after {
    right: 16px;
  }
}

/* ── Types + Treatment ────────────────────────────────────── */
.types-section {
  width: 90%;
  max-width: 1280px;
  padding: 48px 0;
  background: #fff;
  margin: 0 auto;
}

.types-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.types-card {
  flex: 1;
  min-width: 320px;
  background: #faf9d3;
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 32px 40px;
}

.types-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

/* 種類カード */
.types-items {
  /* display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px; */
  /* flex-wrap: wrap; */
}

.type-item {
  flex: 1;
  min-width: 130px;
  border: 1px solid #549d79;
  border-radius: 20px 0 0 0;
  overflow: hidden;
  background: #fff;
  margin-top: 30px;
}

.type-item__header {
  background: var(--dia-sub-g2);
  padding: 16px 12px;
  text-align: center;
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: #333;
  font-size: 1.4em;
  line-height: 1.3;
  letter-spacing: 0.04em;
  border-bottom: dotted 4px var(--dia-sub-g);
}
.type-item__body {
  padding: 24px 24px 0;
  font-weight: 500;
  color: #333;
  /* font-size: max(16px,1em); */
  line-height: 1.6;
  background: #fff;
}
#diabetes #mainContent .type-item__body h3 {
  /* padding: 24px 12px; */
  font-weight: 600;
  color: var(--dia-main-g);
  font-size: max(20px,1.2em);
  font-family: var(--dia-f-sub);
  line-height: 1.6;
  background: #fff;
  border-bottom: 0;
  margin: 0 auto 10px;
}
.type-item__body p {
  font-size: max(16px,0.8em);
}

/* 治療カード */
.treatment-item {
  flex: 1;
  min-width: 130px;
  background: #f4fdff;
  border: 2px solid var(--dia-main-b);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  text-align: center;
  position: relative;
  margin-bottom: 20px;
}

.treatment-item__title {
  font-weight: 500;
  color: var(--dia-main-b);
  font-size: 1.6em;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  border-bottom: dotted 2px var(--dia-main-b);
  padding-bottom: 2px;
}
.treatment-item__sub {
  color: var(--dia-main-b);
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 24px;
}
.treatment-item__icon {
  width: 26%;
  object-fit: contain;
  margin-bottom: 6px;
}

.treatment-item__desc {
  font-weight: 500;
  color: #333;
  font-size: min(1.3em,16px);
  line-height: 1.5;
  text-align: left;
}

@media (max-width: 1280px) {
.types-card {
  padding: 32px 16px;
}
.types-items {
  display: block;
  }
.type-item ,.treatment-item {
  margin-bottom: 20px;
}
.treatment-item__icon {
  width: 40%;
}
}


/* ── Flow + Doctors ───────────────────────────────────────── */
.flow-section {
  width: 90%;
  max-width: 1280px;
  padding: 48px 0;
  background: #fff;
  margin: 0 auto;
}

.flow-grid {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* 流れ */
.flow-box {
  min-width: 500px;
  /* max-width: 400px; */
}

#diabetes #mainContent .flow-title {
  /* font-family: 'Noto Sans JP', sans-serif; */
  font-weight: 700;
  color: var(--dia-main-b);
  /* font-size: min(1.8em, 32px); */
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  border-bottom: dotted 4px var(--dia-main-b);
  padding-bottom: 20px;
}

.flow-underline {
  height: 2px;
  width: 399px;
  max-width: 100%;
  background: var(--dia-main-b);
  border-radius: 99px;
  margin-bottom: 24px;
}

.flow-steps {
  margin: 48px 0 0 20px;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
}

.flow-step__circle {
  position: relative;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  background: var(--dia-main-b);
  border-radius: 50%;
}

.flow-step__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-step__num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'dnp-shuei-mgothic-std', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, arial, helvetica, sans-serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
}

.flow-step__label {
  color: #333;
  font-size: min(1.3em,22px);
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.02em;
  margin: 0;
}

.flow-arrow {
  display: flex;
  justify-content: center;
  margin: 24px 0;
  position: relative;
  height: 6px;
}

.flow-arrow img {
  width: 30px;
  height: 20px;
  position: absolute;
  left: 34%;
}

@media (max-width: 767px) {
.flow-box {
  min-width: 100%;
  margin-bottom: 60px;
  }
.flow-steps {
  margin: 48px 0 0 0;
  }
.flow-step__circle {
  width: 46px;
  height: 46px;
  }
}

/* 担当医 */
.doctors-box {
  flex: 1;
  min-width: 320px;
  border: 2px solid #1a7b4a;
  border-radius: 10px;
  padding-top: 24px;
}

.doctors-box__badge {
  display: flex;
  justify-content: center;
  margin-top: -50px;
  margin-bottom: 0;
}

.doctors-box__badge p {
  background: #e2f5ec;
  border: 2px solid #1a7b4a;
  border-radius: 30px;
  padding: 6px 32px;
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: #1a7b4a;
  font-size: min(1.6em,30px);
  line-height: 1.3;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.doctors-list {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-item {
  background: #f8f8f8;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 4px;
}

.doctor-item__photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0 0 16px;
}

/* .doctor-item__info {
  text-align: left;
} */

.doctor-item__name {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: #1a7b4a;
  font-size: 1.4em;
  line-height: 1.8;
  margin-bottom: 2px;
}

.doctor-item__role {
  font-size: 0.7em;
  font-weight: 700;
}

.doctor-item__spec {
  font-size: 0.8em;
  font-weight: 700;
  margin-left: 8px;
}

.doctor-item__desc {
  color: #333;
  font-size: 1em;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
.doctor-item__btn {
  background: var(--dia-main-g) !important;
}
.doctor-item__btn::after{

}

@media (max-width: 767px) {
.doctor-item {
  display: block;
  padding: 12px 14px;
  }
.doctor-item__desc{
  word-break: auto-phrase;
}
.doctors-list {
  padding: 16px 16px 24px;
  text-align: center;
  }
}


/* ── Specialists ──────────────────────────────────────────── */
.specialists-section {
  width: 100%;
  max-width: 1280px;
  padding: 48px 0;
  background: #fff;
  margin: 0 auto;
}
.specialists-section .container{
  background: #EBF6FF;
  border-radius: 20px;
  text-align: center;
  padding: 32px 24px;
}

.specialists-header {
  margin-bottom: 32px;
}

#diabetes #mainContent .specialists-title {
  font-weight: 700;
  color: var(--dia-main-b);
  /* font-size: min(1.8em,28px); */
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  border-bottom: dotted 4px var(--dia-main-b);
  display: inline-block;
  padding-bottom: 16px;

}

.specialists-desc {
  font-weight: 500;
  color: #333;
  font-size: min(1.1em,18px);
  line-height: 1.7;
  letter-spacing: 0.02em;
  text-align: center;
}
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.spec-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.spec-card--blue { border: 1px solid #005da9; }
.spec-card--green { border: 1px solid #549d79; }

.spec-card__title {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  font-size: 1.4em;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.spec-card__title--blue { color: #005da9; }
.spec-card__title--green { color: #549d79; }

.spec-card__icon {
  width: 26%;
   aspect-ratio: 1 / 1; 
  object-fit: contain;
}

.spec-card__desc {
  font-weight: 400;
  color: #333;
  font-size: 1.1em;
  line-height: 1.6;
  letter-spacing: 0.02em;
  flex: 1;
  text-align: left;
}

.spec-card__btn,.doctor-item__btn {
  margin-top: auto;
  border: none;
  border-radius: 9999px;
  padding: 4px 48px;
  color: #fff;
  font-weight: 500;
  font-size: 1.1em;
  line-height: 1.7;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.spec-card__btn:hover,.doctor-item__btn:hover {
  transform: translateY(2px);
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
}
.spec-card__btn--blue {
  background: #005da9;
  box-shadow: 0 2px 0 #004074;
}
.spec-card__btn--blue:hover {
  box-shadow: 0 1px 0 #004074;
}
.spec-card__btn--green,.doctor-item__btn--green{
  background: #549d79;
  box-shadow: 0 2px 0 #1a7b4a;
}
.spec-card__btn--blue:hover {
  box-shadow: 0 1px 0 #1a7b4a;
}
.spec-card .arrow-r::after,.doctor-item .arrow-r::after {
    content: "";
    width: min(2vw, 8px);
    aspect-ratio: 1 / 1;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
}
@media (max-width: 767px) {
  .specialists-section {
    padding: 0 16px;
  }
  .specialists-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  .specialists-header {
    text-align: left;
  }
  .specialists-desc {
    text-align: left;
  }
}

/* ── Clinic Section ───────────────────────────────────────── */
.clinic-section {
  position: relative;
  width: 100%;
  padding: 48px 0;
  background: #fff;
  overflow: hidden;
}

.clinic-bg-img {
  position: absolute;
  right: -300px;
  top: 0;
  height: 100%;
  pointer-events: none;
}

.clinic-bg-img img {
  height: 100%;
  width: auto;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 80%, transparent 100%);
  mask-image: linear-gradient(to left, rgba(0,0,0,0.8) 80%, transparent 100%);
}

.clinic-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #ebfafe 20%, rgba(216,247,255,0.5) 60%, transparent 90%);
}

.clinic-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.clinic-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.clinic-heading__bar {
  background: var(--dia-main-b);
  width: 6px;
  height: 40px;
  flex-shrink: 0;
}

.clinic-heading__text {
  line-height: 1.3;
  border-left: solid 8px var(--dia-main-b);
  padding-left: 24px;
}

.clinic-heading__small {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: min(1.8em,24px);
}

.clinic-heading__large {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: min(3em, 42px);
  letter-spacing: 0.15em;
}

.clinic-sub {
  font-weight: 500;
  color: #333;
  font-size: min(1.8em, 20px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-left: 18px;
  margin-bottom: 32px;
}

.clinic-features {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 8px;
  /* flex-wrap: wrap; */
  width: 70%;
}

.clinic-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  /* min-width: 130px; */
  background: #fff;
  width: min(45vw,200px);
  height: min(45vw,200px);
  border-radius: 50%;
  text-align: center;
  margin: 0 auto;
  border: solid 1px var(--dia-main-b);
}

.clinic-feature__circle {
  position: relative;
  width: 30vw;
  height: 13vh;
}

.clinic-feature__ellipse {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.clinic-feature__icon {
  position: absolute;
  inset: 0;
  width: min(50%, 64px);
  /* height: 100%; */
  object-fit: contain;
  /* padding: 32px; */
   margin: 20px auto 0;
}

.clinic-feature__label {
  font-weight: 400;
  color: #333;
  font-size: min(1em,16px);
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 767px) {
  .clinic-section {
    padding: 48px 16px;
    margin: 40px auto;
  }
  .clinic-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  .clinic-bg-img {
  right: -720px;
  }
  .clinic-bg-overlay {
  background: linear-gradient(to bottom, #ebfafe 12%, rgba(216,247,255,0.5) 90%, transparent 100%);
  }
}
/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 48px 0;
  background: #fff;
}

.faq-section .container {
  max-width: 1000px;
}

.faq-heading {
  display: inline-flex;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: dotted 4px var(--dia-main-b);
  width: 100%;
}

.faq-heading__icon {
  width: 80px;
  padding-bottom: 10px;
}

#diabetes #mainContent .faq-heading__title {
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: min(1.8em,30px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}

.qa-list {
  max-width: 1000px;
}

.qa-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 16px;
}

.qa-q,
.qa-a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.qa-q p {
  font-weight: 500;
  color: #005da9;
  font-size: min(1.4em,18px);
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding-top: 4px;
}

.qa-a p,
.qa-a div {
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  padding-top: 4px;
  margin-bottom: 0;
}

.qa-badge {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
}
.qa-badge--q{
  background: var(--dia-sub-b2);
}
.qa-badge--a{
  background: var(--dia-red);
}

.qa-badge span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--dia-f-sub);
  font-weight: 700;
  font-size: min(1.6em,26px);
  line-height: 1;
}
#diabetes #mainContent .faq-section ol {
  margin: 20px 0;
}
#diabetes #mainContent .faq-section ol.list-1 {
  list-style: decimal;
}
#diabetes #mainContent .faq-section ol.list-2 {
  list-style: lower-roman;
}
#diabetes #mainContent .faq-section ol li{
  margin-left: 20px;
  padding-left: 8px;
}
#diabetes #mainContent .faq-section ol li::marker{
  color: var(--dia-red);
  font-weight: 600;
}
.txt-a{
  color: var(--dia-red);
  font-weight: 600;
}
@media (max-width: 767px) {
  .faq-section .container {
    margin: 0 auto;
    padding: 0 16px;
  }
  .qa-item {
    padding: 24px 40px 24px 16px;
  }
  .qa-badge {
  width: 36px;
  height: 36px;
  }
}

/* accordion   ----------------------------------------------*/
.accordion {
  background: #f3f3f3;
  border-radius: min( 0.83vw, 10px);
  margin: min(3.3vw , 40px) auto;
  /* cursor: pointer; */
}
.acc--subject {
  position: relative;
}
.acc--subject::before, .acc--subject::after {
  content: "";
  width: min(1.66vw , 20px);
  height: 2px;
  background: var(--dia-sub-b2);
  position: absolute;
  right: min(2.5vw, 30px);
  top: 50%;
  transform-origin: center center;
  transform: translate(0 , -50%);
  transition: all 0.2s ease-in-out;
}
.acc--subject::after {
  transform: translate(0 , -50%) rotate(90deg);
}
.acc--subject.active::after {
  transform: translate(0 , -50%) rotate(0);
}
.acc--content {
  display: none;
}
.acc--subject p{
  margin: 0;
}
.acc--subject,
.acc--content {
    width: 100%;
    box-sizing: border-box;
    padding: 24px 36px 24px 24px;
    cursor: pointer;
}

#types .acc--subject::before,#types .acc--subject::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  height: 12px;
  border-radius: 9999px;
  transform-origin: 50% calc(100% - 1px);
  top: 64%;
  background: #333;
}
#types .acc--subject.active::before,#types .acc--subject.active::after {
  transform-origin: 50% 1px;
}
#types .acc--subject::before {
  transform: rotate(45deg);
}

#types .acc--subject::after {
  transform: rotate(-45deg);
}

#types .acc--subject,#types .acc--content {
  padding: 0 24px 50px;
  margin: 0 auto;
}
/* @media (max-width: 1280px) {
#types .acc--subject::before, #types .acc--subject::after {
  height: 12px;
}
} */
    
@media (max-width: 767px) {
.acc--subject,
.acc--content {
  padding: 0 0 20px 0;
  }
.acc--subject::before, .acc--subject::after {
  right: min(-5vw, 30px);
  width: min(6vw, 18px);
  }
}

/* ── Bottom CTA ───────────────────────────────────────────── */
.bottom-cta {
  width: 100%;
  background: #ebf6ff;
  padding: 40px 0;
}

.bottom-cta-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.bottom-cta-title {
  font-family: var(--dia-f-sub);
  font-weight: 700;
  color: var(--dia-main-b);
  font-size: 28px;
  line-height: 1.55;
  margin-bottom: 8px;
  position: relative;
  padding-left: 100px;
}
.bottom-cta-title::before {
  position: absolute;
  left: 0;
  top: 14%;
  content: "";
  display: inline-block;
  background-image: url('../../img/page/diabetes/3e9b4.png');
  background-size: cover;
  background-repeat:no-repeat;
  width: 80px;
  height: 70px;
}

.bottom-cta-sub {
  font-weight: 500;
  color: #333;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.bottom-cta-btn {
  background: #eeb63d;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 0 #ba7f00;
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s;
}

.bottom-cta-btn:hover {
  transform: translateY(2px);
  transition: all 0.2s ease-in-out;
  opacity: 0.75;
  box-shadow: 0 2px 0 #ba7f00;
}

.bottom-cta-btn__label {
  color: #fff;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.bottom-cta-btn__phone {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-cta-btn__phone-icon {
  width: 32px;
  height: 32px;
}

.bottom-cta-btn__phone-num {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: min(2em, 30px);
  line-height: 1;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .bottom-cta-inner {
    padding: 0 16px;
  }
  .bottom-cta-btn {
    width: 100%;
    margin: 0 auto;
    padding: 20px 16px;
  }
  .bottom-cta-title {
    font-size: min(2em, 28px);
    padding-left: 0;
    text-align: center;
    margin-top: 40px;
  }

  .bottom-cta-title::before {
    top: -38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 58px;
  }
  .bottom-cta-sub {
    margin-top: 24px;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  width: 100%;
}

.footer-img {
  width: 100%;
  object-fit: cover;
}
