:root {
  --color-bg: #fff;
  --color-fg: #222;
  --color-muted: #666;
  --color-line: #e5e7eb;
  --color-brand: #005f7f;
  --color-brand-weak: #cceaf2;

  --space-8: 8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-40: 40px;

  --max: 1120px;
  --radius: 12px;
}


/* 共通アクセシビリティ */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-brand);
  color: #fff;
  padding: var(--space-8) var(--space-16);
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ========== HEADER ========== */
#header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--color-bg);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: var(--space-16);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-16);
}
.brand {
  font-weight: 700;
}
.menu-toggle {
  background: none;
  border: 1px solid var(--color-line);
  padding: 6px 10px;
  border-radius: 8px;
}
#globalnav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-16);
}
#globalnav ul[hidden] {
  display: none;
}
#globalnav a {
  text-decoration: none;
  color: var(--color-fg);
  padding: 8px 10px;
  border-radius: 8px;
}
#globalnav a:hover,
#globalnav a:focus {
  background: #f6f7f9;
}
@media (max-width: 767px) {
  #globalnav ul {
    flex-direction: column;
    padding-top: 8px;
  }
}
@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
  #globalnav ul {
    display: flex !important;
  }
}
.nav-cta {
  margin-left: auto;
}
@media (max-width: 767px) {
  .nav-cta {
    margin-left: 0;
  }
}

/* ========== HERO AREA ========== */

#mainvisual img{
	width: 1060px;
}
.used{
	position:absolute;
	display: flex;
	top:18%;
	left:55%;
	transform: translate(-50%, -50%);
	align-items: flex-end;
	line-height: 1;
}
.used_num{
	font-size: 3rem;
	font-weight: bold;
	line-height: 1;
}
.used_com{
	line-height: 1;
}
.notes_mark{
	font-size: 0.9em;
	align-items: flex-start;
	line-height: 4;
	position: relative;
}
.mark1{
	left:-10px;
}
.mark2{
	top: -12px;
}
.medicalinstitutions{
	position: absolute;
  display: flex;
  top: 84.5%;
  left: 70%;
  transform: translate(-50%, -50%);
  align-items: flex-end;
  width: 100%;
  line-height: 1;
}
.medicalinstitutions_num{
	font-size: 4rem;
	font-weight: bold;
	color: #00267a;
	letter-spacing: 0.5;
	text-shadow: 2px 4px 12px rgba(0,0,0,0.1);
	line-height: 1;
}
.medicalinstitutions_com{
	font-size: 2.5rem;
	font-family: serif;
	color:white;
	text-shadow: 1px 1px 2px rgba(48, 56, 102, 0.3);
	position: relative;
  left: -12px;
  line-height: 1;
}
.medicalinstitutions_com span{
	font-size: 2rem;
	line-height: 1;
}
.mv_comment{
	position: absolute;
	top: 93.5%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
}
section .mv_comment p{
  text-shadow: 1px 1px 2px rgba(48, 56, 102, 0.3);
  font-size: 1.3rem;
	line-height: 1.2 !important;
	color: white;
	font-family: serif;
	font-weight: bold;
}
#home #mainvisual span {
	position: relative;
}
.mv_btn {
	position:relative;
}


@media (min-width: 768px) {
	.used{
		position:absolute;
		display: flex;
		top: 31%;
    left: 20%;
		transform: translate(-50%, -50%);
		align-items: flex-end;
		line-height: 1;
	}
	.used_num{
		font-size: 4.3rem;
		font-weight: bold;
		line-height: 1;
	}
	.used_com{
		position: relative;
		line-height: 1;
		font-size: 2rem;
		font-weight: bold;
		letter-spacing: 1;
		left:10px;
	}
	.notes_mark{
		font-size: 0.9em;
		align-items: flex-start;
		line-height: 4;
		position: relative;
	}
	.mark1{
		left: -14px;
  	top: -25px;
	}
	.mark2{
		top: -46px;
	}
	.medicalinstitutions{
		position: absolute;
	  display: flex;
	  top: 82.5%;
	  left: 63%;
	  transform: translate(-50%, -50%);
	  align-items: flex-end;
	  width: 100%;
	  line-height: 1;
	}
	.medicalinstitutions_num{
		font-size: 7rem;
		font-weight: bold;
		color: #00267a;
		letter-spacing: 0.5;
		text-shadow: 2px 4px 12px rgba(0,0,0,0.1);
		line-height: 1;
	}
	.medicalinstitutions_com{
		font-size:4.5rem;
		font-family: serif;
		color:white;
		text-shadow: 1px 1px 2px rgba(48, 56, 102, 0.3);
		position: relative;
	  left: -10px;
	  line-height: 1;
	}
	.medicalinstitutions_com span{
		font-size: 4rem;
		line-height: 1;
	}
	.mv_comment{
		position: absolute;
		left: 867px;
    top: 530px;
    width: 350px;
	  transform: translate(-50%, -50%);
	}
	section .mv_comment p{
	  text-shadow: 1px 1px 2px rgba(48, 56, 102, 0.3);
	  font-size: 1.5rem;
		line-height: 1.6 !important;
		color: white;
		font-family: serif;
		font-weight: bold;
		text-align: left;
	}
	.mv_btn {
		position:absolute;
    top: 419px;
    left: 742px;
	}	
}

/* ========== BUTTONS ========== */

#home .btn-01{
	display:block;
	margin: 10px 15px;
}
#home .btn-01 a{
	background-color: #53ade6;
	padding: 10px 30px;
	font-size: 1.8rem;

}
#home .btn-01 a:hover{
	background-color: #ccc;
}

.btn{
	display: block;
}

.btn-00 a{
	display: block;
	background: #e5e9f2;
	border: 1px solid #00267a;
	padding: 15px 30px;
	margin: 5px 15px;
	margin-top: 20px;
	font-size: 18px;
	color: #00267a;
	
}
@media (min-width: 768px) {
	#home .btn-01{
		display: inline-block;
	}
	.btn-00 a{
		display: inline-block;
	}
	.btn{
	display: inline-block;
}
}


/* ========== SECTION ========== */
#home section{
	margin: 0 0;
	padding: 30px 0;
}
h2 {
  margin: 0 0 var(--space-24);
  font-size: 36px;
}
.heading-01{
	font-size: 23px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.5em;
}
.heading-01:before,.heading-01:after{
    content: "-";
    display: inline-block;
    padding: 0 10px;
    transform: scale(3, 1);
}
#reasons .heading-01,#reasons .heading-01,
#news .heading-01,#news .heading-01{
	display: block;
}
#reasons .heading-01:before,#reasons .heading-01:after,
#news .heading-01:before,#news .heading-01:after{
    content: "";
    padding: 0 0;
    
}
.wrap-1060 {
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}


@media (min-width: 768px) {
	.heading-01{
		font-size: 36px;
	}
	.heading-01:before,.heading-01:after{
    padding: 0 20px;
}
	#home section{
		margin: 0 0;
		padding: 80px 0 !important;
	}
	
}
#home section.mainvisual{
	margin: 0 auto 30px;
	padding: 0 0  !important;
}

/* ========== LOGO GRID ========== */
.logo-grid {
  display: grid;
  gap: var(--space-16);
  grid-template-columns: repeat(2, 1fr);
}
#medicalinstitutions .logo-grid {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 var(--space-16);
}

.logo-grid .logo {
  padding:10;
  text-align: center;
}

@media (min-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .logo-grid .logo {
	  gap: var(--space-16);
	}
}

/* ========== REASONS ========== */
#reasons {
  background: #f5f7fa;
  padding: 80px 20px;
  text-align: center;
}

#reasons .heading-01 {
  font-size: 22px;
  margin-bottom: 40px;
  font-weight: bold;
  color: #222;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 20px;
}

#reasons .heading-01 .underline {
  display: inline-block;
  padding: 0 0.5em 0.2em;
  line-height: 1;
  font-size: 22px;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  background-image: linear-gradient(transparent 60%, #efc490 40%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
}

.reason-card {
  background: #00267a;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.1);
  border-radius: 2px;
  overflow: hidden;
  width: calc(25% - 15px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: visible;
  margin-top: 60px;
}

.reason-number {
  position: absolute;
  top: -35px;
  left: 0;
  font-size: 60px;
  font-weight: bold;
  color: #002e6d;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 4px;
  overflow: visible;
  font-weight: bold;
  line-height: 1;
}

.reason-card img {
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.reason-text {
  background: #00267a;
  color: #fff;
  padding: 24px 10px;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reason-text h3 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.5em;
  padding: 0 0 30px;
}

.reason-text p {
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
}

/* Responsive */
@media (max-width: 1024px) {
  .reason-card {
      width: calc(50% - 10px);
      margin-top: 30px;
  }
}

@media (max-width: 640px) {
  .reason-card {
    width: calc(50% - 10px);
  }
}

@media (min-width: 768px) {
	#reasons .heading-01,#reasons .heading-01 .underline {
	  font-size: 34px;
	} 
	.reason-text h3 {
	  font-size: 20px;
	  padding: 20px 15px 30px;
	}
	.reason-text p {
	  font-size: 15px;
  }
  .reason-text {
	  padding: 24px 16px;
	  min-height: 150px;
	}
}

/* ========== BACKGROUND STORY ========== */
#background {
  background: #f2f2f2;
  padding: 80px 20px;
  text-align: center;
}
.background-box {
  background: #fff;
  padding: 20px 30px;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 15px 15px 60px; 
  margin-bottom: 60px;
}
.two-column{
	display: block;
}
.two-column img{
	max-width: 300px;
	margin: 0;
}
.intro-text{
	text-align: left;
}
.intro-text h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 0.2em;
  color: #222;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  text-align: center;
  line-height: 1.5em;
  margin-bottom: 10px;
}
.intro-text p {
  font-size: 16px;
  line-height: 1.8;
  padding: 0 10px;
}
.timeline-photos {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  margin-top: 40px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}
.timeline-photos figure{
	line-height: 1;
}
.timeline-photos img {
  max-width: 135px;
  height: auto;
  border-radius: 6px;
}

@media (min-width: 768px) {
	.two-column{
		display: flex;
	}
	.background-box {
	  padding: 50px 60px;
	  border-radius: 20px;
	  margin-bottom: 60px;
	}
	.intro-text h3 {
	  font-size: 31px;
	  text-align: left;
	}
	.timeline-photos img {
	  max-width: 180px;
	}
	.two-column img{
		max-width: 114px;
		margin: 20px;
	}
}
	
.strength-box {
  background: #fefaf6;
  border-radius:15px;
  padding:50px 40px 50x;
  margin: 20px auto;
}
.strength-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 1em;
  color: #333;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  padding-top: 20px;
}

.strength-list {
  list-style: none;
  padding: 0 20px 30px;
  margin: 10px auto;
  max-width: 640px;
  text-align: left;
}

.strength-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 1.2em;
  color: #333;
}

.strength-list .num {
  background: #f1a852;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  line-height: 1; /* 追加！ */
}

@media (min-width: 768px) {
	.strength-title {
	  font-size: 31px;
  }
 
  .strength-list {
	  list-style: none;
	  padding: 0 30px 30px;
	  margin: 0 auto;
	  max-width: 640px;
	  text-align: left;
	}
  .strength-list li {
	  font-size: 22px;
	}
	.strength-list .num {
		width: 64px;
    height: 64px;
    font-size: 24px;
	}
}

/* ========== PRODUCTS ========== */
#home #products {
  background:radial-gradient(ellipse at 50% 60%, #fff9af 0%, #fffff4 62%);
  padding: 30px 20px;
  text-align: center;
}

.section-sub {
	font-size: 26px;
  margin-bottom: 0.5em;
  color: #555;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
}

.product-feature-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px 40px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.06);
  display: inline-block;
  position: relative;
  margin-bottom: 60px;
}

.product-feature-box::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #fff;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  line-height: 1.8;
  margin-top: 0.7em;
  margin-bottom: 0.7em;
  position: relative;
}

.product-feature-list .check-icon {
  color: #3498db;
  font-weight: bold;
  margin-top: 3px;
}

.product-feature-list li p{
	display: inline-block;
	font-size:14px;
	width: 100%;
	display: inline-block;
}
.product-feature-list li p span{
	border-bottom: 1px solid #53ade6;
	padding-bottom: 2px;
}

.product-feature-list mark {
  background: none;
  color: #00257f;
  font-style: normal;
  font-size: 14px;
  font-weight: bold;
  
}
.product-feature-list mark img{
	min-width: 30px;
}

.product-image img {
  max-width: 320px;
  height: auto;
  margin: 0 auto 40px;
}

.product-cta {
  margin-top: 20px;
}
.check-icon img{
	width: 34px;
}

@media (min-width: 768px) {
	.product-feature-box {
	  padding: 50px 70px;
	} 
	.section-sub {
		font-size: 31px;
	  margin-bottom: 2em;
	}
	.product-feature-list li {
	  font-size: 23px;
	  align-items: center;
	}
	.product-feature-list li p{
		font-size: 23px;
	}
	.product-feature-list li p span{
		font-size: 23px;
	}
	.product-feature-list mark {
	  font-size: 23px;
	}
}

/* ========== DOCTOR INTERVIEW ========== */

#home section#doctorinterview {
  padding: 20px;
}

.doctor-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, 1fr); /* ← スマホでも3列 */
  margin-bottom: var(--space-24);
}

.doctor-grid .card {
  font-size: 12px;
  border: 1px solid var(--color-line);
  border-radius: 0 0 20px 20px;
  text-align: center;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
}

.doctor-grid .image-placeholder {
  aspect-ratio: 3 / 4; /* モダンな比率指定で高さ固定せず */
  overflow: hidden;
  position: relative;
}

.doctor-grid .image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctorname {
  background: #00267a;
  color: #fff;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 4px 0 0;
}

.doctorname h3 {
  font-size: 1.4rem;
  line-height: 1.2em;
}

#doctorinterview p{
	font-size: 1.2rem;
}

.doctor_copy {
  padding: 8px;
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.8;
}

.lead {
  font-size: 1.4rem;
  margin-bottom: 3em;
  text-align: left;
}

/* PC（768px〜）のスタイル調整 */
@media (min-width: 768px) {
  .doctor-grid {
    gap: var(--space-24);
    grid-template-columns: repeat(4, 1fr);
  }

  .doctor-grid .card {
    font-size: 12px;
  }

  .doctor-grid .image-placeholder {
    margin-bottom: var(--space-16);
    max-height: 400px;
    aspect-ratio: unset; /* aspect-ratio を解除（必要なら） */
  }

  .doctorname h3 {
    font-size: 2.6rem;
  }

  .doctor_copy {
    font-size: 1.6rem !important;
    padding: 0 25px 20px;
  }

  .lead {
    font-size: 1.8rem !important;
    text-align: center;
  }
}



/* ========== お知らせ　Docnews ========== */
#news{
	padding: 80px 0;
	background: #efefef;
}
#news div{
	background: #fff;
	padding: 40px;
	position: relative;
}
.news-list {
  list-style: none;
  padding: 0;
}
.news-list li {
  padding: var(--space-8) 0;
  border-bottom: 1px solid #eee;
  text-align: left;
}
.news-list time {
  display: inline-block;
  min-width: 100px;
  color: var(--color-muted);
  font-size: 0.875rem;
}

#home .news-box .btn-01 {
  position: relative;
  top: 10px;
  right: 0px;
}
#home #news .news-box .btn-01 a{
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 13px !important;
  padding: 10px !important;
}
#home .news-box li time::before {
  border-left: solid 7px #00267a;
}
@media (min-width: 768px) {
	#news div{
		border-radius: 30px;
	}
	#home .news-box .btn-01 {
  position: absolute;
	  top: 10px;
	  right: 40px;
	}
}


/* ========== CONTACT ========== */

#home #contact {
	background-color: #fff;
  background: url("../img/doctor/bg_sky01.png") top center no-repeat;
  padding: 30px;
}
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.contact-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 30px 30px;
  text-align: center;
  border-radius: 4px;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.contact-card p,h2{
	width: 100%;
}
.contact-card h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  line-height: 1.2em;
  font-family: a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
}

.tel-lead {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.tel-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family:a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
    font-style: normal;
}

.tel-number a{
	font-size: 2.5rem;
}

.tel-icon {
  font-size:2rem;
}

.tel-label {
font-size: 1.4rem;
font-weight: normal;
}


@media (min-width: 768px) {
	.contact-card {
	  background-color: #fff;
	  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
	  padding: 40px 30px;
	  flex: 1 1 400px;
	  max-width: 520px;
	  text-align: center;
	  border-radius: 4px;
	  min-height: 300px;
	  align-items: center;
	  display: flex;
	  flex-wrap: wrap;
	  align-content: center;
	  justify-content: center;
	}
	.contact-card p,h2{
		width: 100%;
	}
	.contact-card h2 {
	  font-size: 3rem;
	  margin-bottom: 24px;
	  line-height: 1.2em;
	  font-family: a-otf-ud-reimin-pr6n,serif;
	  font-weight: 300;
	  font-style: normal;
	}
	
	.tel-lead {
	  font-size: 1.8rem;
	  margin-bottom: 16px;
	}
	
	.tel-number {
	  font-size: 3.5rem;
	  font-weight: bold;
	  color: #222;
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 8px;
	  font-family:a-otf-ud-reimin-pr6n,serif;
	  font-weight: 300;
	  font-style: normal;
	}
	
	.tel-number a{
		font-size: 3.5rem;
	}
	
	.tel-icon {
	  font-size: 3rem;
	}
	
	.tel-label {
	font-size: 1.6rem;
	font-weight: normal;
	}

}

/* ========== モーション軽減 ========== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ========== MODAL POPUP ========== */
body.modal-open {
    overflow: hidden;
    height: 100vh;
}
.modal-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    background: #fff;
    padding: 0;
    max-width: 900px;
    width: 90%;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-in-out;
}
.modal-head{
	padding: 20px 20px 0;
	background: #e5e9f2;
	border-radius: 12px 12px 0 0;
}
.wrap-modal{
	padding: 40px 20px;
}

.modal-logo {
    max-width: 300px;
    margin-bottom: 10px;
}
.modal-content  h2{
	font-size: 19px;
	font-weight: bold;
	margin: 0;
	line-height: 1.5em;
}
.modal-desc{
	text-align: left;
	margin-top: 10px;
}

.modal-question {
    font-weight: bold;
    font-size: 19px;
    margin-top: 1.5em;
    font-weight: bold;
}

.modal-buttons {
    margin-top: 10px;
    display: block;
}

.modal-buttons a {
    display: block;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}
.modal-buttons a:hover {
	color:#999;
}

.btn-primary {
    background-color: #003a99;
    color: #fff;
    line-height: 1em;
    min-width: 220px;
}
.btn-secondary {
    background-color: #fff;
    border: 1px solid #003a99;
    color: #003a99;
    line-height: 1em;
    min-width: 220px;
    background: #e5e9f2;
}

.btn-primary span,.btn-secondary span{
	font-size: 12px;
	display: block;
}

@media (min-width: 768px) {
	.modal-content  h2{
		font-size: 23px;
	}
	.modal-desc{
		text-align: center;
	}
	.modal-question {
    font-weight: bold;
    font-size: 23px;
    margin-top: 1.5em;
	}
	.modal-buttons {
    margin-top: 10px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
	}
	.modal-buttons a {
    display: block;
	}	
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media screen and (max-width: 480px) {
    .modal-content {
        font-size: 14px;
        padding: 0;
    }
    .modal-buttons {
        gap: 12px;
    }
}

footer{
	margin-top: 0;
}

@media (max-width: 767px) {
/* Docnews */
	#docnews #contents > .wrap{
		display: block;
	}
}

/* ========== インタビュー ========== */
#docinterview .page-ttl {
  background: url("../img/doctor/interview-ttl-bg.png") center center/cover no-repeat;
  color: #000;
}
/* ====== インタビュー全体 ====== */
.interview-article {
    background: #fff;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin: 40px 0;
}
.interview-title {
	color: #00267a;
}
.section-text em{
	color: #0081f7;
	font-style: normal;
	font-size: 1.6rem;
}

/* ===== 一覧用リンクボタン ===== */
.interview-link {
    text-align: right;
    margin-top: 20px;
}

.btn-link {
    display: inline-block;
    background: #003a8c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.4rem;
    transition: 0.3s;
}

.btn-link:hover {
    background: #001f4d;
}

/* 一覧で文字数制限する場合（例: リード文） 
.interview-meta .doctor-leed {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}*/


/* ====== ヘッダー部 ====== */
.doc_comment{
	font-size: 1.6rem;
	text-align: center;
	font-family:a-otf-ud-reimin-pr6n,serif;
  font-weight: 300;
  font-style: normal;
  padding: 40px 20px 0;
}

.interview-header {
  text-align: left;
  margin-bottom: 40px;
}

.interview-title {
  display: none;
}

.interview-meta{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.interview-meta .hospital-name {
  font-size: 1.6rem;
  color: #00267a;
  line-height: 1.5em;
}

.interview-meta .doctor-name {
  font-size: 2.2rem;
  font-weight: bold;
  color: #00267a;
}
p.doctor-url a{
  display: inline-block;
  font-size: 1.2rem;
  color: #fff;
  background: #00267a;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 0 0 10px;
  line-height: 1;
}
.doctor-face {
  flex: 0 0 35%;
  max-width: 35%;
}

.doctor-face img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
/* メタ情報（2） */
.metaset {
  flex: 1 1 50%;
}

/* リード文（3） */
.doctor-leed {
  flex: 1 1 100%;
  font-size: 1.6rem;
  line-height: 1.7;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 12px;
  margin: 0 0;
}
@media (min-width: 768px) {
	.doc_comment{
		font-size: 2rem;
	  padding: 40px 20px 20px;
	}
  .interview-article {
    padding: 30px 40px;
  }
  .interview-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
	  font-weight: 600;
  }
  .interview-meta{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap; 
    gap: 40px;
	}
	/* 左の画像（縦長） */
	.doctor-face {
	  flex: 0 0 230px; /* 画像幅 */
	  max-width: 230px;
	}
  .metaset,.doctor-leed {
    flex: 1 1 auto;
  }
  .doctor-leed {
    margin-top:0;
  }
  .right-meta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
  }
}

/* 一覧用 */
.list .archive-title{
	text-align: center;
	padding: 20px;
	font-size: 1.6rem;
	font-weight: bold;
}
.list_wrap{
	background: #fff;
	border-radius: 20px;
	padding: 20px 16px;
	margin: 0 0 20px;
	box-shadow:1px 1px 12px rgba(0, 0, 0, 0.1)
}
.list .interview-article{
	padding: 0 5px 20px;
	margin: 0 0 20px;
  background: #fff;
  box-shadow: none;
  border-radius: 0;
  border-bottom:1px solid #00267a;
}
.list .interview-header {
  text-align: left;
  margin-bottom: 0;
}
.list .interview-title{
	font-size: 1.6rem;
	padding: 0;
	margin: 0;
}
.list .interview-meta{
		display: flex;
	  align-items: center;
		gap:20px;
}
.list .interview-meta .hospital-name {
    font-size: 1.6rem;
    color: #00267a;
    line-height: 1em;
}

.list .interview-meta .doctor-name {
    font-size: 2.2rem;
    font-weight: bold;
    color: #00267a;
    margin-bottom: 0;
    line-height: 1.8em;
}

.list .doctor-face {
  flex: -1 0 30%;
  max-width: 30%;
}

.list .doctor-face img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.list .doctor-leed {
  border: none;
  background: none;
  padding: 0 0;
  font-size: 1.4rem;
  line-height: 1.5;
  margin: 0 0;
  box-shadow: none;
}
.list .right-meta-wrapper {
     flex: 1 1 60%;
  }

@media (min-width: 768px) {
	.list .archive-title{
		text-align: center;
		padding: 20px;
		font-size: 1.6rem;
		font-weight: bold;
	}
	.list .list_wrap{
		border: none;
		box-shadow: none;
		background: none;
	}
	.list .interview-article{
		padding: 40px 50px;
		margin: 0 0 40px;
	  background: #fff;
	  box-shadow: 0 0 8px rgba(0,0,0,0.1);
	  border-radius: 20px;
	  border-bottom:none;
	}
	.list .archive-title{
		padding: 50px 30px;
		font-size: 2.5rem;
	}
	.list .interview-title{
		font-size:3.4rem;
	}
	.list .doctor-face {
	  flex: -1 0 auto;
	  max-width: 40%;
	}
	
	.list .doctor-face img {
	  width: 100%;
	  height: auto;
	  border-radius: 8px;
	  display: block;
	}
	.list .doctor-leed {
		border: 1px solid #e0e0e0;
    background: #fff;
    box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 40px;
    border-radius: 12px;
    font-size: 1.8rem;
    line-height: 1.7;
    margin: 0;
    max-width: 614px;
	}
	.list .interview-meta .doctor-name {
	    font-size: 2.2rem;
	    margin-bottom: 16px;
	}
}

.pagination-wrap {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-numbers {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 14px;
  background-color: #f5f5f5;
  color: #00267a;
  text-decoration: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
}

.page-numbers.current {
  background-color: #00267a;
  color: #fff;
  font-weight: bold;
}

.page-numbers:hover {
  background-color: #ccc;
}

#post-nav .next {
  width: 40%;
  text-align: center;
}

/* ====== シングルナビゲーション ====== */

.case-nav-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

.case-nav-scroll {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  white-space: nowrap;
}

.case-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  background: #f5f5f5;
  color: #999;
  text-decoration: none;
  font-weight: bold;
  flex-shrink: 0;
  border: 1px solid #ccc;
}

.case-button.active {
  background-color: #00267a;
  color: #fff;
  border-color: #00267a;
}

@media (min-width: 768px) {
  .case-nav-wrapper {
    display: none;
  }
}

/* ====== セクション部 ====== */
.interview-section {
  margin-bottom: 40px;
  border-top: 1px dashed #ddd;
  padding-top: 40px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  font-weight: 600;
  color: #00267a;
  display: flex;
  align-items: flex-start;
  background: #f2f4f8;
  border-radius: 20px;
  padding: 20px;
}
.section-title::before {
  content: "Q";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;         /* pxで明示的に指定 */
  height: 32px;        /* widthと同じにする */
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  background-color: #003a8c;
  border-radius: 50%;  /* 正円 */
  margin-right: 8px;
  flex-shrink: 0;
}	

/* ====== QAコンテンツ ====== */
.section-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  margin-top: 24px;
}

.section-img,
.section-text {
  max-width: 100%;
  flex: 1 1 100%;
}

/* 偶数番目のセクションで反転させる（PC時のみ有効） */
@media screen and (min-width: 769px) {
  .section-content {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .interview-section:nth-of-type(even) .section-content {
    flex-direction: row-reverse;
  }

  .section-img,
  .section-text {
    flex: 1 1 45%;
    max-width: 100%;
  }
  .section-title::before {
	  content: "Q";
	  font-weight: bold;
	  color: #fff;
	  background-color: #003a8c;
	  border-radius: 50%;
	  display: inline-block;
	  width: 4.2rem;
	  height: 4.2rem;
	  text-align: center;
	  line-height: 4.2rem;
	  margin-right: 1rem;
	  font-size: 2.1rem;
	}

}

/* ====== 画像 ====== */
.section-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  margin-top: 15px;
}

/* ====== テキスト ====== */
.section-text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #333;
  padding: 10px 0;
}

/* ===== テキストと画像をテレコ表示 ===== */
.interview-body .interview-section:nth-child(even) .section-content {
    flex-direction: row-reverse;
}

@media screen and (max-width: 768px) {
  .interview-body .interview-section:nth-child(even) .section-content {
      flex-direction: column;
  }
}




/* ====== 戻るナビ ====== */
#post-nav {
    padding: 0px 0 60px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

#post-nav .prev,
#post-nav .next,
#post-nav .back {
    flex: 1 1 30%;
    margin-bottom: 20px;
}

#post-nav a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f1f3f7;
    border-radius: 8px;
    text-decoration: none;
    color: #003a8c;
    transition: 0.3s;
}

#post-nav a:hover {
    background-color: #dbe7ff;
}

/* ====== レスポンシブ対応 ====== */
@media screen and (max-width: 768px) {

    .section-content {
        flex-direction: column;
    }

    .section-img,
    .section-text {
        max-width: 100%;
    }

    #post-nav {
        flex-direction: column;
    }

    #post-nav .prev,
    #post-nav .next,
    #post-nav .back {
        flex: 1 1 100%;
    }
}
