html,
body {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
}

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

/* デフォルト：PCでは非表示 */
.sp-br {
  display: none;
}

@media (max-width: 768px) {
  .pc_only {
    display: none;
  }

  .sp_only {
    display: block;
  }

  .sp-br {
    display: inline;
  }
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  margin-bottom: 0rem;
}

section .container p {
  font-family: "Noto Sans JP", sans-serif;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: #3ACFCA;
  gap: 6px;
}

.section-title img {
  width: 30px;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 30px;
  }
}

/* button-link */
.button-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  width: fit-content;
  height: 32px;
  text-decoration: none;
  position: relative;
  font-size: 16px;
  line-height: 32px;
}

.button-link__text {
  flex: none;
  white-space: nowrap;
  font-weight: 700;
}

.button-link__arrow {
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  border-radius: 50%;
  position: relative;
  flex: none;
}

.button-link__arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 45%;
  width: 4px;
  height: 4px;
  border-top: 1px solid #3C5481;
  border-right: 1px solid #3C5481;
  transform: translate(-50%, -50%) rotate(45deg);
}

@media (max-width: 768px) {
  .button-link {
    font-size: 14px;
    height: auto;
  }

  .button-link__arrow {
    width: 16px;
    height: 16px;
  }

  .button-link__arrow::after {
    width: 3px;
    height: 6px;
  }
}

/* -------------------------------
header
------------------------------- */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  z-index: 1000;
}

.logo img {
  max-width: 300px;
  width: 90%;
}

.menu-button {
  display: none;
  background: none;
  border: none;
}

.menu-button img {
  width: 32px;
  height: auto;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 14px;
}

nav ul li a {
  text-decoration: none;
  color: #3C5481;
  font-size: 16px;
  font-size: clamp(11px, calc(5.2857142857142865px + 0.744047619047619vw), 16px);
  font-weight: 700;
}

.contact-section img {
  max-width: 210px;
  width: 90%;
  margin-left: 2em;
}

@media (max-width: 1045px) {
  nav ul li a {
    font-size: 12px;
  }

  .logo img {
    max-width: 250px;
    width: 80%;
  }

  .contact-section img {
    max-width: 180px;
    width: 80%;
    margin-left: 0em;
  }
}


@media (max-width: 768px) {
  header {
    background: url(../images/header-sp-bg.jpg) center center/cover;
    height: 58px;
    position: fixed;
    justify-content: space-between;
    z-index: 100;
    scroll-margin-top: 58px;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    flex-direction: column;
    z-index: 999;
  }

  nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: -1;
  }

  nav ul {
    flex-direction: column;
    padding: 30px;
    width: 100%;
  }

  .menu-button {
    display: block;
  }

  nav ul li a {
    font-size: 20px;
    text-align: left;
  }

  .contact-section {
    background: #fff;
  }

  .contact-section img {
    max-width: none;
    width: 100%;
    margin-left: 0em;
    padding: 30px;
  }

  .logo img {
    max-width: 250px;
    width: 90%;
  }
}


/* -------------------------------
.guide-section
------------------------------- */
.guide-section {
  position: relative;
}

.info-box {
  display: flex;
  background: radial-gradient(50% 215.9% at 50% 50%, #46D8EA 33.18%, #1CC4D8 100%);
  color: white;
  border-radius: 20px;
  overflow: hidden;
  margin: 0 auto 40px;
  max-width: 950px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.info-box.reverse {
  flex-direction: row-reverse;
}

.info-text {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 16px;
  text-align: center;
}

.info-text h2.section-title {
  font-size: 34px;
  line-height: 120%;
  color: #fff;
  margin-bottom: 16px;
}

.info-text h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.info-text small {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

.info-image {
  flex: 1;
  min-width: 200px;
}

.info-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 20px;
  border-radius: 40px;
}

.recruit-link {
  margin: 12px auto 0;
  color: #fff;
  font-size: 16px;
}

.info-box .button-link__arrow::after {
  border-top: 1px solid #46D8EA;
  border-right: 1px solid #46D8EA;
}

.info-text p {
  font-size: 18px;
  margin-bottom: 4px;
}

.guide-bubbles {
  position: absolute;
  top: -57%;
  right: -90px;
  width: 100%;
  height: 100%;
  background: url(../images/guide-awa.png) no-repeat top right;
  background-size: contain;
  background-position: top right;
  z-index: 0;
  pointer-events: none;
  transform: none;
}

@media (max-width: 768px) {

  .info-box,
  .info-box.reverse {
    flex-direction: column;
  }

  .info-image {
    order: -1;
  }

  .info-text {
    text-align: center;
    padding: 0px 15px 20px;
  }

  .info-text h2.section-title {
    font-size: 26px;
  }

  .info-text h3 {
    font-size: 18px;
  }

  .recruit-link {
    margin: 12px auto 0;
  }

  .recruit-link span.button-link__arrow {
    background: #fff;
  }

  .recruit-link .button-link__arrow::after {
    border-top: 1px solid #46D8EA;
    border-right: 1px solid #46D8EA;
  }

  .info-text p {
    font-size: 16px;
  }

  .guide-bubbles {
    position: absolute;
    top: -73%;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
  }

}

/* -------------------------------
.feature-section
------------------------------- */
.feature-section {
  background: #fff url(../images/feature-bg.jpg) top center;
  background-size: cover;
  padding-bottom: 3rem;
}

.feature-section .container {
  max-width: 1410px;
  width: 100%;
}

.feature-section .section-title {
  padding: 187px 0 100px;
}

.feature-block {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-bottom: 60px;
  box-sizing: border-box;
  justify-content: flex-start;
  margin-right: auto;
  max-width: 100%;
  gap: 60px;
}

.feature-block.reverse {
  flex-direction: row-reverse;
  justify-content: flex-start;
  margin-left: auto;
  margin-right: 0;
  max-width: 100%;
}

.feature-text {
  flex: 1;
  color: #3C5481;
  margin-right: 5%;
}

.feature-text h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: #3C5481;
  font-weight: 700;
}

.feature-text p {
  font-size: 16px;
  margin: 0;
  color: #3C5481;
  text-align: justify;
}

.feature-image {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

@media (min-width: 769px) {
  .feature-image.wide {
    flex: 1.2;
    max-width: 60%;
  }

  .feature-image.tall {
    flex: 0.8;
    max-width: 45%;
    flex-shrink: 0;
  }

  .feature-block.reverse .feature-text {
    max-width: 40%;
    margin-left: 5%;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .feature-section {
    background: #fff url(../images/feature-sp-bg.jpg) top center;
    background-size: cover;
  }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
  }

  .feature-text,
  .feature-image {
    padding: 20px 0px 40px;
    margin-right: 0%;
  }

  .feature-image {
    width: 100%;
    padding: 0;
  }

  .feature-section .section-title {
    padding: 60px 0 20px;
  }

  .feature-block {
    gap: 0px;
  }

  .feature-text h3 {
    text-align: left;
    font-size: 18px;
    margin-bottom: 20px;
  }

  .feature-text p {
    text-align: left;
    font-size: 16px;
  }
}

/* -------------------------------
.menu-section
------------------------------- */
.menu-section {
  background: url('../images/menu-bg.jpg') no-repeat top center;
  background-size: cover;
}

.menu-section .section-title {
  padding: 100px 0;
  color: #fff;
}

.menu-section .container {
  padding: 0 1rem 120px;
}

.menu-section .container p {
  font-family: "Zen Maru Gothic", sans-serif;
}

.top-menu-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-sizing: border-box;
}

.top-menu-card {
  background: white;
  border-radius: 20px;
  height: auto;
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.top-menu-grid .image-wrapper {
  width: 100%;
  padding: 0 33px;
  height: auto;
  overflow: hidden;
  border-radius: 64px;
}

.top-menu-grid .image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 64px;
}

.top-menu-card p {
  font-size: 32px;
  font-size: clamp(23px, calc(0.8461538461538467px + 2.8846153846153846vw), 32px);
  font-weight: 700;
  line-height: 140%;
  color: #3ACFCA;
  margin: 0;
}

/* スマホは常に2列表示 */
@media (max-width: 768px) {
  .menu-section .container {
    padding: 0 1rem 30px;
  }

  .top-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .top-menu-card p {
    font-size: 16px;
    font-size: clamp(13px, calc(11.278688524590164px + 0.6147540983606558vw), 16px);
  }

  .menu-section .section-title {
    padding: 20px 0;
  }

  .top-menu-card {
    padding: 10px 0;
    gap: 10px;
  }

  .top-menu-grid .image-wrapper {
    width: 100%;
    padding: 0 15px;
  }
}

/* PCのみhoverでopacity変更 */
@media (min-width: 769px) {
  .top-menu-card:hover {
    opacity: 0.8;
    transition: opacity 0.2s;
  }
}

/* -------------------------------
.symptom-section
------------------------------- */
.symptom-section {
  position: relative;
  width: 100%;
  overflow: visible;
  /* ← 必須。バブルが上にはみ出るならvisibleに */
}

.symptom-bubbles {
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  height: 926px;
  background: url('../images/symptom-awa.png') no-repeat top right;
  background-size: contain;
  background-position: top right;
  z-index: 1;
  pointer-events: none;
  transform: translateX(100px);
  /* 視覚的に右へずらす（スクロールは発生しない） */
}

.symptom-overlay {
  position: relative;
  height: 260px;
  width: 100%;
  background: white;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.symptom-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 24px;
  padding: 40px;
  background: radial-gradient(50% 215.9% at 50% 50%, #46D8EA 33.18%, #1CC4D8 100%);
  border-radius: 0px 0px 10px 10px;
}

.symptom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.symptom-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.symptom-item p {
  font-size: 23px;
  font-size: clamp( 19px, calc( 9.153846153846153px + 1.282051282051282vw ), 23px );
  font-weight: 700;
  color: #fff;
  margin: 0 auto;
  text-align: center;
  line-height: normal;
}

@media (max-width: 768px) {
  .symptom-section {
    background: radial-gradient(50% 215.9% at 50% 50%, #46D8EA 33.18%, #1CC4D8 100%);
  }

  .symptom-overlay {
    height: 100px;
  }

  .symptom-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px;
    padding: 12px;
  }

  .symptom-item p {
    font-size: 16px;
    font-size: clamp( 13px, calc( 11.278688524590164px + 0.6147540983606558vw ), 16px );
  }

}


/* -------------------------------
.greeting-section
------------------------------- */
.greeting-section {
  background: url(../images/greeting-bg.jpg) top center;
  background-size: cover;
}

.greeting-container {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 340px 1rem 160px;
}

.greeting-text {
  width: 100%;
  max-width: 40%;
  margin-top: 80px;
  z-index: 1;
}

.greeting-section .section-title {
  justify-content: left;
}

.greeting-role {
  font-size: 20px;
  color: #3C5481;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 60px;
  margin-top: 20px;
}

.greeting-name {
  font-size: 24px;
  color: #3C5481;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 60px;
  margin-bottom: 60px;
  font-weight: 500;
}

.greeting-name span {
  font-weight: normal;
  font-size: 16px;
}

.greeting-image {
  position: relative;
  width: 100%;
  max-width: 60%;
}

.greeting-image img {
  width: 100%;
  box-shadow: 7.92587px 7.92587px 15.8517px rgba(58, 207, 202, 0.4);
  border-radius: 26.4196px;
}

.greeting-overlay {
  width: 135%;
  background: rgba(58, 207, 202, 0.8);
  color: #fff;
  padding: 50px;
  border-radius: 50px;
  font-size: 16px;
  z-index: 3;
  font-family: "Noto Sans JP", sans-serif;
  margin-left: 60px;
  text-align: justify;
}

@media screen and (max-width: 768px) {
  .greeting-section {
    background: url(../images/greeting-sp-bg.jpg) top center;
    background-size: cover;
  }

  .greeting-container {
    flex-direction: column;
    padding-bottom: 50px;
    padding: 0;
  }

  .greeting-text,
  .greeting-image {
    max-width: 100%;
    width: 100%;
  }

  .greeting-text {
    display: contents;
    /* 中の要素にorderを効かせる */
  }

  .greeting-section .section-title {
    /* order: 1;
    text-align: center;
    justify-content: center; */
    margin: 80px auto 20px;
  }

  .greeting-image {
    order: 2;
    margin-bottom: 20px;
    padding: 0 3rem;
  }

  .greeting-role {
    order: 3;
    text-align: center;
    margin: 0 auto;
    font-size: 15px;
  }

  .greeting-name {
    order: 4;
    margin: 0 auto;
    font-size: 18px;
  }

  .greeting-name span {
    font-size: 12px;
  }

  .greeting-overlay {
    order: 5;
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0;
    padding: 20px;
    background-color: rgba(58, 207, 202, 0.8);
    border-radius: 0;
    font-size: 16px;
    margin-left: 0;
    margin-top: 30px;
  }
}



/* -------------------------------
.site-footer
------------------------------- */
.site-footer {
  background: url('../images/footer-bg.jpg') no-repeat center bottom/cover;
  padding: 40px 0 150px;
}

.footer-gallery {
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 20px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.gallery-track {
  display: inline-block;
  animation: scrollGallery 60s linear infinite;
}

.gallery-track img {
  height: 210px;
  margin-right: 16px;
  border-radius: 20px;
}

@keyframes scrollGallery {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.footer-banner {
  max-width: 1080px;
  margin: 80px auto;
  text-align: center;
}

.footer-banner img {
  width: 60%;
}

.footer-main {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 40px;
  color: #3C5481;
  text-align: left;
  padding: 0 1rem;
}

.footer-left {
  flex: 1;
  flex: 0 0 40%;
  min-width: 280px;
}

.footer-left h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 200%;
}

.footer-left p {
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
}

.footer-right {
  flex: 1;
  min-width: 280px;
  width: 100%;
}

.footer-logo {
  width: 90%;
}

.map-container {
  position: relative;
  width: 100%;
  padding-top: 50.88%;
  /* 318 / 625 = 0.5088 */
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* PCのみhoverでopacity変更 */
@media (min-width: 769px) {
  .footer-banner img {
    transition: 1s;
  }

  .footer-banner img:hover {
    opacity: 0.8;
  }
}

@media screen and (max-width: 768px) {
  .site-footer {
    background: url('../images/footer-sp-bg.jpg') no-repeat center bottom/cover;
    padding: 0 0 80px;
  }

  .footer-main {
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .gallery-track {
    margin-top: 50px;
  }

  .gallery-track img {
    height: 160px;
  }

  .footer-banner {
    margin: 20px auto;
  }

  .footer-banner img {
    width: 90%;
  }

  .footer-logo {
    width: 78%;
  }

  .footer-left h2 {
    font-size: 18px;
  }

  .footer-left p {
    font-size: 16px;
  }
}





/* -------------------------------
.hero-section-wrap
------------------------------- */
.hero-section-wrap {
  background: url(../images/hero-bg.jpg) bottom center / cover;
  padding-bottom: 120px;
}

.hero-main {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
}

img.hero-pc {
  width: 100%;
  padding-left: 10%;
}

.hero-block {
  position: absolute;
  bottom: 50px;
  right: 4%;
}

.hero-main .schedule {
  background: rgba(255, 255, 255, 0.9);
  max-width: 418px;
  width: 100%;
  margin-bottom: 25px;
  margin-bottom: 3%;
  padding: 13px;
}

.schedule .section-title {
  font-size: 20px;
  padding-bottom: 13px;
}

.schedule .section-title img {
  width: 15px;
  height: auto;
  display: block;
}

.schedule table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  color: #3ACFCA;
}

.schedule table th,
.schedule table td {
  font-size: 11px;
  padding: 6px 10px;
  font-weight: 700;
}

.schedule table th {
  font-size: 13px;
  padding: 6px 10px;
}

.schedule table td:first-child {
  font-size: 15px;
  letter-spacing: 0.1em;
}

.schedule table thead th {
  background-color: #3ACFCA;
  color: white;
  font-weight: normal;
}

.schedule table tbody td {
  border-bottom: 1px solid #e0e0e0;
  vertical-align: middle;
}

.schedule .note {
  font-size: 14px;
  color: #3ACFCA;
  padding: 6px 10px;
  font-weight: 700;
}

h2.section-title.sp_only {
  display: none;
}

.news-list {
  max-width: 437px;
  width: 100%;
  margin: 0 auto;
  color: #fff;
  text-align: right;
}

.button-link.news-link {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-left: auto;
  color: #fff;
  width: 100%;
  max-width: 437px;
}

.news-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.3em 0;
  flex-wrap: wrap;
}

.news-date {
  min-width: 74px;
  font-size: 14px;
  font-weight: 700;
}

.news-title {
  flex: 1;
  word-break: break-word;
  font-size: 16px;
  /* font-size: clamp(12px, calc(9.333333333333334px + 0.3472222222222222vw), 16px); */
  font-weight: 700;
  margin-left: 16px;
  color: #fff;
  text-align: left;
}


@media screen and (max-width: 768px) {
  .hero-section-wrap {
    background: none;
    padding-bottom: 0%;
  }

  img.hero-sp {
    width: 100%;
    padding-top: 58px;
  }

  .hero-main {
    padding-top: 0px;
    position: initial;
    padding-bottom: 40px;
  }

  img.sp_only.top-sp-text {
    width: 80%;
    margin: 40px auto;
  }

  .hero-block {
    position: initial;
  }

  .hero-main .schedule {
    background: transparent;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }



  .schedule .section-title {
    font-size: 30px;
    padding-bottom: 30px;
  }

  .schedule .section-title img {
    width: 30px;
    height: auto;
    display: block;
  }

  .news-list {
    max-width: none;
    color: #3C5481;
    margin: 40px auto;
  }

  .news-item {
    border-top: 0.375px solid rgba(60, 84, 129, 0.3);
    border-bottom: 0.375px solid rgba(60, 84, 129, 0.3);
    padding: 15px;
  }

  .news-list h2.section-title.sp_only {
    display: block;
    text-align: center;
    padding-bottom: 30px;
  }

  .news-list .section-title img {
    width: 30px;
    display: inline;
  }

  .news-date {
    font-size: 16px;
  }

  .news-title {
    font-size: 16px;
    color: #3C5481;
  }

  .schedule table th {
    font-size: 16px;
    padding: 11px;
  }

  .schedule table td:first-child {
    font-size: 16px;
    text-align: left;
    padding: 6px 16px;
  }

  .schedule .note {
    font-size: 16px;
    padding: 6px 16px;
  }

  .button-link.news-link {
    justify-content: flex-end;
    color: #3C5481;
    font-size: 16px;
    width: 90%;
    padding: 0 1rem;
  }

  .button-link__arrow {
    width: 18px;
    height: 18px;
    background: #3C5481;
  }

  .button-link__arrow::after {
    width: 4px;
    height: 4px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
  }

}



/* -------------------------------
news--modal!!!
------------------------------- */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 90, 120, 0.7);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
}

.news-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.news-modal__content {
  position: relative;
  background: #e0f7f9;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  padding: 60px 40px 40px 40px;
  border-radius: 12px;
}

.news-modal__articles {
  overflow-y: auto;
  max-height: calc(90vh - 100px);
  /* モーダル内のヘッダーやパディング分を差し引く */
  padding-right: 8px;
  /* スクロールバーの分だけ右に余白を持たせてはみ出し防止 */
}

.news-modal__article {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  font-family: "Noto Sans JP", sans-serif;
  color: #3C5481;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  scroll-margin-top: 80px;
}

.news-modal__article h3 {
  font-size: 18px;
  margin-bottom: 12px;
  color: #3C5481;
  border-bottom: 1px solid rgba(60, 84, 129, 0.3);
  padding-bottom: 8px;
}

.news-modal__article p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 1em;
}

/* リスト */
.news-modal__article ul {
  padding-left: 1.4em;
  margin-top: 1em;
  margin-bottom: 1em;
  list-style: disc;
  font-size: 15px;
  color: #3C5481;
}

.news-modal__article li {
  margin-bottom: 0.5em;
}

/* modal__close */
.news-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 9999;
  font-size: 20px;
  font-weight: 700;
  background: none;
  border: none;
  color: #3C5481;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-modal__close span {
  font-size: 16px;
  font-weight: 700;
}

.news-modal__article red {
  color: red;
}

.news-modal__article strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .news-modal__content {
    width: 95%;
    padding: 20px 15px;
  }

  .news-modal__article h3 {
    font-size: 18px;
  }

  .news-modal__article p {
    font-size: 15px;
  }

}



/* -------------------------------
下層ページ::診察案内・お悩み別・採用ページ
------------------------------- */
body.lower__layer .hero-section-wrap {
  background: url(../images/hero-bg.jpg) top center / cover;
  padding-bottom: 120px;
}
/* ヘッダー画像01 pattern01 */
.lower_layer_head { 
  background: url(../images/lower_layer_hd_pattern01.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 144 / 35;
  position: relative;
}
/* ヘッダー画像02 pattern02*/
.lower_layer_head.ptn2 {
  background: url(../images/lower_layer_hd_pattern02.jpg);
  background-size: cover;
  width: 100%;
  height: 100%;
  aspect-ratio: 144 / 35;
  position: relative;
}

h1.lower_layer_head_ttl {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

.lower_layer_page {
  position: relative;
  width: 100%;
  overflow: visible;
  /* ← 必須。バブルが上にはみ出るならvisibleに */
}

.symptom-bubbles-deco {
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  height: 926px;
  background: url('../images/symptom-awa.png') no-repeat top right;
  background-size: contain;
  background-position: top right;
  z-index: -1;
  pointer-events: none;
  transform: translateX(100px);
  /* 視覚的に右へずらす（スクロールは発生しない） */
}

.lower_layer_inner {
  max-width: 1080px;
  width: 100%;
  margin: 30px auto;
  padding: 0 2rem;
}

article.lower_layer_article {
  padding: 50px 0;
}

img.article_img {
  max-width: 800px;
  width: 100%;
  display: block;
  margin: 0 auto 80px;
  border-radius: 20px;
}

h2.lower_hedding {
  color: #3ACFCA;
  font-size: 30px;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 80px;
}

h2.lower_hedding::before,
h2.lower_hedding::after {
  content: "・・・";
  color: #3ACFCA;
  font-size: 0.9em;
  margin: 0 0.1em;
  letter-spacing: -0.55em;
}

h2.lower_hedding::before {
  padding-right: 0.55em;
}

h3.lower_subheading {
  color: #3C5481;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  margin-bottom: 80px;
}

h4.green_marker {
  width: fit-content;
  background: #3ACFCA;
  border-radius: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 5px 40px;
  margin: 0 auto 40px;
}

h4.simple_marker {
  width: fit-content;
  background: #3ACFCA;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  padding: 2px 40px;
  margin-bottom: 10px;
}

p.lower_text {
  color: #3C5481;
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 80px;
}

.table-wrap {
  max-width: 700px;
  padding: 12px 0;
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  color: #3C5481;
  font-size: 20px;
  font-family: "Noto Sans JP", sans-serif;
}

.simple-table th,
.simple-table td {
  border: 1px solid #3C5481;
  padding: 14px 12px;
  text-align: left;
  vertical-align: middle;
  font-weight: normal;
}

.simple-table th {
  font-weight: bold;
  width: 180px;
}

.dot-list {
  padding-left: 0;
  margin: 0 0 80px 0;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  color: #3C5481;
  line-height: 1.8;
}

.dot-list li {
  text-indent: -1.2em;
  padding-left: 1.2em;
  word-break: break-all;
}

ul.dot-list.margin-s {
  margin: 0 0 15px 0;
}

li.dot-list-indent {
  text-indent: 0;
  padding-left: 1.2em;
}

@media (max-width: 768px) {
  body.lower__layer .hero-section-wrap {
    padding-bottom: 58px;
  }

  .lower_layer_head {
    aspect-ratio: 376 / 111;
  }

  h1.lower_layer_head_ttl {
    font-size: 30px;
    font-size: clamp( 24px, calc( 20.557377049180328px + 1.2295081967213115vw ), 30px );
  }

  article.lower_layer_article {
    padding: 15px 0;
  }

  img.article_img {
    width: 90%;
    margin: 0 auto 30px;
  }

  h2.lower_hedding {
    font-size: 24px;
    margin-bottom: 30px;
  }

  h3.lower_subheading {
    color: #3C5481;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
  }

  h4.green_marker {
    font-size: 16px;
  }

  p.lower_text {
    color: #3C5481;
    font-size: 16px;
    margin-bottom: 30px;
  }

  .simple-table,
  .simple-table tbody,
  .simple-table tr,
  .simple-table th,
  .simple-table td {
    display: block;
    width: 100%;
    font-size: 16px;
  }
  .simple-table tr {
    margin-bottom: 2px;
  }
  .simple-table th {
    background: #f5fcfd;
    border: none;
    padding: 10px 7px 2px 7px;
  }
  .simple-table td {
    border: none;
    padding: 0 7px 14px 7px;
  }
  .dot-list {
    margin: 0 0 30px 0;
    font-size: 16px;
  }
}

/* -------------------------------
診察案内一覧ページ
------------------------------- */
.clinic-menu-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-sizing: border-box;
  padding: 30px 16px;
}

.clinic-menu-card {
  background: #fff;
  border-radius: 20px;
  height: auto;
  padding: 20px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.clinic-menu-imgwrap {
  width: 100%;
  padding: 0 33px;
  height: auto;
  overflow: hidden;
  border-radius: 64px;
}
.clinic-menu-imgwrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 64px;
  background: #f5fcfc;
}

.clinic-menu-card p {
  font-size: 32px;
  font-size: clamp(23px, calc(0.8461538461538467px + 2.8846153846153846vw), 32px);
  font-weight: 700;
  line-height: 140%;
  color: #3ACFCA;
  margin: 0;
  letter-spacing: 0.04em;
}

/* PCのみhoverでopacity変更 */
@media (min-width: 769px) {
  .clinic-menu-card {
    position: relative;
    overflow: hidden;
  }
  .clinic-menu-card::before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 1;
  }
  .clinic-menu-card:hover::before {
    opacity: 1;
  }
  .clinic-menu-card > * {
    position: relative;
    z-index: 2;
  }
}

@media (max-width: 768px) {
  .clinic-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 16px 4px;
  }
  .clinic-menu-card p {
    font-size: 16px;
    font-size: clamp(13px, calc(11.278688524590164px + 0.6147540983606558vw), 16px);
  }
  .clinic-menu-card {
    padding: 10px 0;
    gap: 10px;
  }
  .clinic-menu-imgwrap {
    width: 100%;
    padding: 0 15px;
  }
}





/* -------------------------------
パンくずリスト
------------------------------- */
.breadcrumb {
  display: flex;
  gap: 0 8px;
  list-style: none;
  padding: 10px 10px 0;
  font-size: 2.1em;
}

.breadcrumb li {
  display: flex;
  align-items: center;
}

.breadcrumb li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: .3em;
  height: .3em;
  margin-left: 10px;
  border-top: 1px solid #3C5481;
  border-right: 1px solid #3C5481;
  content: '';
}

.breadcrumb a {
  color: #3C5481;
  text-decoration: none;
}