@import url('https://fonts.googleapis.com/css2?family=Allison&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=M+PLUS+Rounded+1c&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Zen+Kaku+Gothic+Antique&family=Zen+Maru+Gothic&family=Zen+Old+Mincho&display=swap');


html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yu Gothic", YuGothic, Meiryo, sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #F9F9F9;
  color: #222222;
  font-size: 18px;
}

a:hover {
  opacity: 0.7;
}

header {
  background-color: #FCFBFC;
  padding: 20px 80px;
  border-bottom: 1px solid #E8E8E8;
  position: relative;
  z-index: 10;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 1280px;
  max-width: 1280px;
  margin: 0 auto;
}

.header-asset-1 {
  position: absolute;
  left: 0;
  top: 30px;
  width: 139px;
}

.header-asset-2 {
  position: absolute;
  right: 0;
  top: 47px;
  width: 125px;
}

.logo img {
  width: 450px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-info {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.info-item {
  margin-left: 20px;
}

.info-item.contact {
  text-align: right;
}

.info-item.contact p {
  margin: 0;
  text-align: center;
  font-weight: 700;
}

.info-item.contact .tel {
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  letter-spacing: 1.92px;
}

.info-item.contact .tel img {
  margin-right: 10px;
}

.info-item.access a {
  background-color: #67BF9C;
  color: white;
  padding: 20px 40px;
  text-decoration: none;
  font-size: 16px;
}

.info-item.hours table {
  border-collapse: collapse;
  font-size: 12px;
}

.first {
  color: #222 !important;
}

.info-item.hours th,
.info-item.hours td {
  padding: 2px 5px;
  text-align: center;
}

.info-item.hours td {
  color: #67BF9C;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  padding: 0;
  margin: 0;
}

header nav ul li {
  margin-left: 30px;
}

header nav ul li a {
  text-decoration: none;
  color: #222222;
  font-size: 20px;
  font-weight: 500;
  white-space: nowrap;
}

header nav ul li+li a::before {
  content: "／";
  color: #079BB9;
  opacity: .85;
  margin-right: -15px;
  position: relative;
  left: -21px;
}

.hero-top {
  position: relative;
  text-align: center;
  color: white;
  height: 600px;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slider .slide.active {
  opacity: 1;
}

.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像がコンテナに合わせてトリミングされるようにする */
}

.hero-text {
  position: absolute;
  color: #fff;
  text-align: left;
  z-index: 1;
  left: 15%;
  top: 35%;
  font-family: "M PLUS Rounded 1c", sans-serif;
}

.hero-text h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.6em;
  letter-spacing: 0.09em;
  text-shadow: 0px 0px 6px rgb(111 116 119 / 95%);
}

.hero-text h1 .ac {
  color: #FFE59E
}

.hero-text p {
  font-size: 24px;
  font-weight: 500;
  line-height: 2em;
  letter-spacing: 0.06em;
  text-shadow: 0px 0px 6px rgb(111 116 119 / 95%);
}

.hero-text .symbol {
  width: 150px;
  position: absolute;
  top: -32px;
  left: -60px;
  z-index: -1;
  opacity: 0.7;
}

/* 初期状態はPCを表示 */
.header--sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .header--pc {
    display: none;
  }

  .header--sp {
    display: block;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: fixed;
    width: 91%;
  }

  .header-asset-1 {
    top: 5px;
    width: 82px;
    height: auto;
    z-index: -1;
  }

  .header-asset-2 {
    top: 5px;
    width: 82px;
    height: auto;
    z-index: -1;
  }

  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header__actions {
    display: flex;
    justify-content: center;
    /* 横方向中央 */
    align-items: center;
    /* 縦方向中央 */
    box-sizing: border-box;
    /* 余白計算を正しくする */
  }

  .header__menu-btn {
    background: #67BF9C;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    /* 固定幅を与える */
    height: 40px;
    /* 正方形にして中央化しやすくする */
    font-size: 24px;
    border: none;
    padding: 0;
    /* iPhone Safariのデフォルト余白対策 */
    margin: 0 auto;
    /* 念のため中央寄せ */
    line-height: 1;
    /* Safari独自のズレ対策 */
  }


  .header__nav-sp {
    display: none;
    background: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
  }

  .header__nav-sp ul {
    margin: 50px 0;
    padding: 0;
    list-style: none;
  }

  .header__nav-sp a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #333;
  }

  .header__nav-sp a:hover {
    background: #f5f5f5;
  }

  /* メニュー開いた時 */
  .header__nav-sp.is-open {
    display: block;
  }

  /* オーバーレイ全体 */
  .header__nav-sp {
    display: none;
    position: fixed;
    inset: 0;
    background: #d8ecd8;
    z-index: 9999;
    overflow-y: auto;
    text-align: center;
  }

  .header__nav-sp.is-open {
    display: block;
  }

  /* 閉じるボタン */
  .sp-nav__close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: #67BF9C;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  /* リスト */
  .sp-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .sp-nav__list>li {
    margin: 5px 0;
  }

  .sp-nav__list>li>a {
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: #333;
  }

  /* 診療案内のサブメニュー（2カラム） */
  .sp-nav__sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    margin: 0 !important;
    padding: 0;
    list-style: disc inside;
  }

  .sp-nav__sub li {
    font-size: 15px;
    text-align: left;
    padding: 0;
    margin: 0;
    list-style: disc;
    text-indent: -15px;
  }

  .sp-nav__sub li::marker {
    color: #079BB9;
  }

  .sp-nav__sub a {
    font-size: 16px;
    text-decoration: none;
  }


}

section {
  padding: 80px 0;
  text-align: center;
}

section .inner {
  max-width: 1280px;
  margin: 0 auto;
}

h2,
h3 {
  font-size: 32px;
  font-weight: 500;
  margin: 10px 0;
}

.sub-title {
  font-size: 32px;
  font-weight: 400;
  color: #67BF9C;
  margin: 0;
}

.btn {
  display: inline-block;
  border: 1px solid #67BF9C;
  padding: 20px 60px;
  text-decoration: none;
  color: #222222;
  background: #fff;
  font-size: 16px;
  font-weight: 400;
  margin-top: 30px;
  position: relative;
}

.btn::before,
.btn::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 1px solid #67BF9C;
}

.btn::before {
  top: -5px;
  left: -6px;
  border-right: none;
  border-bottom: none;
}

.btn::after {
  bottom: -5px;
  right: -4px;
  border-left: none;
  border-top: none;
}

.btn:hover {
  background: #67BF9C;
  color: #fff;
}

.rbtn {
  position: absolute;
  bottom: -30px;
  left: 0;
  right: 0;
  display: flex;
  width: 153px;
  padding: 12px 0 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 70px;
  border: 1px solid #67BF9C;
  color: #67BF9C;
  background: #fff;
  text-align: center;
  font-family: "Zen Maru Gothic";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1px;
  margin: 0 auto;
	text-decoration: none;
}

.message {
  position: relative;
  margin: 80px 0;
  background: linear-gradient(269deg, rgba(249, 249, 249, 1) 11%, rgba(224, 241, 223, 1) 100%);
}

.message h2 {
  width: 290px;
  text-align: left;
  border-bottom: 4px solid;
  border-image: linear-gradient(90deg, #67BF9C 0%, rgba(255, 255, 255, 0.00) 100%);
  border-image-slice: 1;
  padding-bottom: 10px;
}

.message-subtitle {
  position: absolute;
  top: -175px;
  right: 200px;
  color: #E0F1DF;
  text-align: center;
  font-family: "Zen Maru Gothic";
  font-size: 96px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 11.52px;
}

.message-content {
  display: flex;
  gap:65px;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  width: 1280px;
  margin: 0 auto;
}

.message-text {
}

.message-text p {
  line-height: 2em;
  letter-spacing: 0.07em;
}

.message-image {
  width: 570px;
}

.message-image img {
  max-width: 100%;
}

.infection-box {
  display: flex;
  gap: 70px;
  justify-content: center;
}

.infection-control {
  padding: 80px;
  margin-left: auto;
  background: linear-gradient(269deg, rgba(249, 249, 249, 1) 11%, rgba(224, 241, 223, 1) 100%);
}

.infection-control h3 {
  color: #67BF9C;
  text-align: left;
}

.infection-control p {
  text-align: left;
  line-height: 2em;
  letter-spacing: 0.07em;
}

.news ul {
  list-style: none;
  padding: 0;
  width: 60%;
  margin: 0 auto;
}

.news ul li {
  display: flex;
  gap: 30px;
  padding: 20px 0;
  border-bottom: 1px solid #E8E8E8;
}

.news ul li time {
  margin-right: 30px;
}

.news ul li a {
  text-decoration: none;
  color: #222222;
}

.menu {
  background-image: url('img/Vector4.png');
  background-repeat: no-repeat;
  background-size: contain;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 70px;
  width: 80%;
  margin: 30px auto;
}

.menu-item {
  background: #fff;
  box-shadow: 0px 4px 15px 2px rgba(226, 226, 226, 0.25);
  text-align: left;
}

.menu-item img {
  width: 100%;
}

.menu-item {
  position: relative;
}

.menu-item-title {
  background: #fff;
  box-shadow: 5px 6px 0px 0px #67BF9C;
  padding: 20px;
  position: absolute;
  top: 20px;
  left: -20px;
  height: 174px;
}

.menu-item-title h3 {
  color: #67BF9C;
  font-size: 24px;
  margin: 0;
  writing-mode: vertical-rl;
}

.menu-item p {
  padding: 20px;
  line-height: 1.6;
  min-height: 140px;
}

.other-menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 120px;
}

.other-menu-item {
  text-align: center;
}

.other-menu-item .icon {
  width: 193px;
  height: 193px;
  border-radius: 50%;
  background-color: #E0F1DF;
  border: 9px solid #C5E3C3;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.other-menu-item p {
  font-size: 24px;
  font-weight: 500;
  color: #67BF9C;
}

.menu-btns {
  margin-top: 60px;
}

.menu-btns .btn {
  margin: 0 20px;
}

.points {
  background-image: url('img/image1_1.png');
  background-size: cover;
  color: white;
}

.points h2 {
  color: white;
}

.points .sub-title {
  font-family: 'Allison', cursive;
  font-size: 64px;
  color: white;
}

.points-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  width: 1200px;
  margin: 105px auto 0;
}

.point-item {
  background: rgba(255, 255, 255, 0.85);
  color: #222;
  padding-bottom: 30px;
  width: calc(93% / 3);
  height: 445px;
}

.item2,
.item5 {
  margin-top: 50px;
}

.item3 {
  margin-top: 100px;
}

.point-image {
  position: relative;
}

.point-image img {
  width: 100%;
}

.point-rabel {
  position: absolute;
  top: -138px;
  left: 20px;
  text-shadow: 0px 0px 5.9px rgba(93, 93, 93, 0.47);
  width: 114.961px;
  height: 44.736px;
  transform: rotate(-11.121deg);
  flex-shrink: 0;
  color: #FFF;
  text-align: center;
  font-family: Allison;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 5.76px;

}

.point-number {
  font-family: 'Libre Baskerville', serif;
  font-size: 64px;
  color: white;
  position: absolute;
  top: -100px;
  left: 20px;
  text-shadow: 0px 0px 5.9px rgba(93, 93, 93, 0.65);
}

.point-item h3 {
  color: #67BF9C;
  font-size: 24px;
  padding: 0 20px;
  background: #ffffffa6;
  margin-top: -5px;
}

.point-item p {
  padding: 0 20px;
  text-align: left;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.gallery img {
  width: 100%;
}

.recruit {
  padding: 80px 0;
}

.recruit-content {
  display: flex;
  align-items: center;
  background: #fff;
  width: 828px;
  margin: 0 auto;
  background-image: url('img/recruit_bg.jpg');
  background-size: cover;
}

.recruit-text {
  flex: 1;
}

.recruit-text .sub-title {
  color: #E8E8E8;
}

.recruit-text .main-text {
  font-size: 24px;
  font-weight: 500;
}

.recruit-text .large-text {
  font-size: 64px;
  font-weight: 500;
  color: #fff;
  background-color: #079BB9;
  display: inline-block;
  padding: 10px 30px;
}

.recruit-image {
  flex: 1;
}

.recruit-image img {
  max-width: 100%;
}

footer {
  background-image: url('img/footer_bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 80px 0;
  color: #222;
  position: relative;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.footer-left {
  display: flex;
  flex-direction: column;
}

.footer-logo img {
  width: 589px;
}

.footer-nav {
  margin-top: 40px;
}

.nav-column {
  margin-right: 50px;
}

.nav-column ul {
  display: flex;
  justify-content: center;
  gap: 50px;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.nav-column ul li {
  margin-bottom: 15px;
}

.nav-column ul li a {
  text-decoration: none;
  color: #222;
  font-size: 15px;
  font-weight: 500;
}

.nav-column ul li+li a::before {
  content: "／";
  color: #079BB9;
  opacity: .85;
  margin-right: -15px;
  position: relative;
  left: -31px;
}

.nav-group {}

.nav-child {
  display: block !important;
}

.nav-child li {
  text-align: left;
  list-style: disc;
}

.nav-child li::marker {
  color: #079BB9;
}

.nav-group .nav-child li a::before {
  content: unset;
}

.nav-group ul li+li a::before {
  content: unset;
}

.footer-right {
  display: flex;
  justify-content: center;
}

.clinic-info {
  margin-right: 40px;
}

.clinic-info h3 {
  font-size: 36px;
  font-weight: 500;
  margin-top: 0;
}

.clinic-info .address,
.clinic-info .tel {
  font-size: 16px;
}

.clinic-info .tel {
  font-size: 36px;
  font-weight: 500;
  font-style: normal;
  line-height: normal;
  letter-spacing: 4.32px;
  margin: 0;
}

.clinic-info img {
  margin-right: 10px;
}

.hours-table {
  margin-top: 25px;
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #222;
}

.hours-table table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

.hours-table .setborder {
  border-bottom: 1px solid #222;
}

.hours-table th,
.hours-table td {
  padding: 10px;
  text-align: left;
}

.hours-table td {
  color: #67BF9C;
}

.map a {
  display: block;
  text-align: right;
  margin-top: 10px;
  color: #000;
}

.footer-bottom {
  text-align: center;
  background-color: #67BF9C;
  margin: 0 -80px;
  padding: 10px 80px;
  margin-top: 40px;
}

.copyright {
  font-size: 16px;
  margin: 0;
}

.to-top {
  position: absolute;
  bottom: 90px;
  right: 20px;
}

.to-top a {
  display: block;
  width: 54px;
  height: 54px;
  background-color: #079BB9;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}


/* 初期状態（PC用を表示、SP用は隠す） */
.footer--sp {
  display: none;
}

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

  .footer--sp {
    display: block;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 91%;
  }

  .footer-sp__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-sp__contact {}

  .footer-sp__label {
    font-size: 14px;
    margin: 0;
  }

  .footer-sp__tel {
    margin: 0;
  }

  .footer-sp__tel a {
    font-size: 27px;
    letter-spacing: 2px;
    font-weight: bold;
    text-decoration: none;
    color: #222;
  }

  .footer-sp__tel i {
    color: #079BB9;
    margin-right: 5px;
  }

  .footer-sp__access a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #67BF9C;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    width: 100px;
    height: 60px;
  }

  .footer-sp__access i {
    margin-right: 5px;
  }
}



/* Clinic Page Styles */
.breadcrumbs {
  display: flex;
  align-items: center;
  padding: 20px 50px;
  background-color: #fff;
}

.breadcrumbs a {
  display: flex;
  align-items: center;
}

.breadcrumbs img {
  margin: 0 10px;
}

.doctor-intro {
  text-align: left;
}

.doctor-message h2,
.recruit-info h2,
.application-guidelines h2 {
  text-align: center;
  margin: 30px 0;
  line-height: 2;
  font-size: 64px;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 7.68px;
  background: linear-gradient(90deg, #67BF9C 0%, #079BB9 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.doctor-message h3 {
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  margin-top: -40px;
}

.doctor-profile {
  display: flex;
  margin-top: 50px;
}

.doctor-photo {
  flex: 1;
  margin-right: 50px;
  text-align: center;
}

.doctor-photo img {
  width: 70%;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

.doctor-photo h4 {
  background: #fff;
  box-shadow: 0 0 10px 4px rgba(207, 207, 207, 0.25);
  text-align: center;
  padding: 15px;
  font-size: 17px;
}

.doctor-info {
  flex: 2;
}

.doctor-info p {
  line-height: 2;
  letter-spacing: 1.12px;
}

.doctor-info h4 {
  font-size: 20px;
  font-weight: 400;
  border-bottom: 2px solid #67BF9C;
  padding-bottom: 10px;
}

.doctor-history h5,
.doctor-qualifications h5 {
  font-size: 16px;
  font-weight: 500;
  border-top: 2px solid #67BF9C;
  border-bottom: 2px solid #67BF9C;
  padding: 10px;
}

.doctor-history h5 span,
.doctor-qualifications h5 span {
  color: #67BF9C;
}

.doctor-history ul,
.doctor-qualifications ul {
  list-style: none;
  padding-left: 20px;
}

.doctor-history ul li,
.doctor-qualifications ul li {
  margin-bottom: 10px;
}

.recruit-info {}

.recruit-info h2 {
  font-size: 64px;
  font-weight: 500;
  color: #67BF9C;
}

.recruit-info h3 {
  font-size: 32px;
  font-weight: 500;
  margin-top: -40px;
}

.application-guidelines {}

.application-guidelines h2 {
  font-size: 64px;
  font-weight: 500;
  color: #67BF9C;
}

.application-guidelines h3 {
  font-size: 32px;
  font-weight: 500;
  margin-top: -40px;
}

.application-guidelines table {
  width: 80%;
  margin: 50px auto;
  border-collapse: collapse;
  text-align: left;
}

.application-guidelines th {
  border-bottom: 2px solid #67BF9C;
  padding: 20px;
}

.application-guidelines td {
  border-bottom: 2px solid #E0F1DF;
  padding: 20px;
}

.application-guidelines th {
  background-color: #F9F9F9;
  width: 20%;
}

/* Medical Page Styles */
.hero {
  background-image: url('img/medical_hero.png');
  background-size: cover;
  background-position: center;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
}

.hero-sub-title {
  font-size: 32px;
  font-weight: 300;
  margin: 0;
}

.hero-title {
  font-size: 32px;
  font-weight: 500;
  margin: 0;
}

.container {
  display: flex;
  padding: 80px 0;
  max-width: 1280px;
  margin: 0 auto;
}

.sidebar {
  width: 25%;
  padding-right: 50px;
}

.sidebar h2 {
  font-size: 20px;
  font-weight: 500;
  border-top: 2px solid #67BF9C;
  border-bottom: 2px solid #67BF9C;
  padding: 15px;
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin-bottom: 15px;
  padding: 15px;
  background: #FFF;
  box-shadow: 0 0 15.4px -4px rgba(190, 190, 190, 0.35);
}

.sidebar ul li a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
}

.content {
  width: 75%;
}

.content section {
  background-color: #fff;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0px 0px 20px 1px rgba(190, 190, 190, 0.35);
}

.content section .heading {
  display: flex;
  gap: 20px;
}

.content .section-sub-title {
  font-size: 20px;
  font-weight: 500;
  color: #D9D9D9;
  text-align: right;
  letter-spacing: 2.4px;
}

.content h2 {
  font-size: 24px;
  font-weight: 500;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 30px;
  position: relative;
}

.content h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  display: inline-block;
  width: 60px;
  height: 2px;
  background-color: #67BF9C;
}

.section-content {
  display: flex;
  align-items: flex-start;
  margin: 20px 0 0;
}

.section-content img {
  width: 40%;
  margin-right: 30px;
}

.section-content p {
  width: 60%;
  text-align: left;
  line-height: 2;
  margin: 0;
}

.risk {
  margin-top: 30px;
  text-align: left;
}

.risk h3 {
  font-size: 16px;
  font-weight: 500;
  border-top: 2px solid #67BF9C;
  border-bottom: 2px solid #67BF9C;
  padding: 10px;
}

.risk h3 span {
  color: #67BF9C;
}

.risk p {
  font-size: 16px;
  line-height: 2;
}

.flow-steps {
  display: flex;
  flex-direction: column;
}

.flow-step {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-bottom: 30px;
  border-bottom: 2px dotted #D9D9D9;
  padding-bottom: 30px;
}

.flow-step:last-child {
  border-bottom: none;
}

.flow-step-number {
  font-size: 24px;
  font-weight: 500;
  color: #ffffff;
  margin-right: 20px;
  background: #079BB9;
  display: inline-block;
  width: 55px;
  height: 46px;
  text-align: center;
  flex-shrink: 0;
  border-radius: 30px;
  padding-top: 8px;
}

.flow-step-content {
  flex: 1;
  text-align: left;
}

.flow-step-content h3 {
  font-size: 24px;
  font-weight: 500;
}

.flow-step img {
  width: 196px;
  height: 196px;
  border-radius: 50%;
  object-fit: cover;
}

/* aaaaa.html specific styles */
.clinic-hero {
  background-image: url('img/clinic_hero.png');
  background-size: cover;
  background-position: center;
  height: 498px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.clinic-hero .eng-title {
  font-size: 32px;
  font-weight: 300;
}

.clinic-hero .jp-title {
  font-size: 32px;
  font-weight: 500;
}

.policy {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 80px auto;
  max-width: 1280px;
}

.policy-text {
  width: 60%;
  text-align: left;
}

.policy-text .eng-title {
  font-size: 20px;
  font-weight: 500;
  color: #67BF9C;
  line-height: normal;
  letter-spacing: 2.4px;
  margin: 0;
}

.policy-text .jp-title {
  font-size: 24px;
  font-weight: 500;
}

.policy-text p {
  font-size: 16px;
  line-height: 2;
}

.policy-image {
  width: 45%;
}

.policy-image img {
  width: 100%;
}

.flow {
  background-color: #E8F3F1;
  padding: 80px 0;
}

.flow h2,
.information h2,
.equipment h2,
.tour h2 {
  font-size: 32px;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.flow h2::after,
.information h2::after,
.equipment h2::after,
.tour h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #67BF9C 0%, rgba(255, 255, 255, 0) 100%);
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 40px auto;
  max-width: 1280px;
}

.flow-item {
  background: #fff;
  box-shadow: 0px 0px 10px 4px rgba(207, 207, 207, 0.25);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  display: flex;
}

.flow-item-text {
  flex: 1;
}

.flow-item-number {
  font-size: 40px;
  font-weight: 500;
  color: #67BF9C;
  line-height: 1.2;
  margin: -10px 0 0;
}

.flow-item-number span {
  font-size: 20px;
}

.flow-item-title {
  font-size: 20px;
  font-weight: 500;
  margin: 10px 0;
  border-bottom: 1px dotted #67BF9C;
}

.flow-item-description {
  font-size: 16px;
  line-height: 2;
}

.flow-item-image {
  margin-left: 20px;
}

.flow-item-image img {
  width: 100%;
  border-radius: 8px;
}

.information-section {
  margin: 80px auto;
  max-width: 1280px;
}

.heading-container {
  position: relative;
  text-align: left;
  margin: 50px auto;
  max-width: 1280px;
}

.watermark1 {
  position: absolute;
  top: -45px;
  left: 12%;
  transform: translate(-50%, -50%);
  color: #E0F1DF;
  font-size: 48px;
  letter-spacing: 7.68px;
  z-index: 0;
}

.watermark2 {
  position: absolute;
  top: -48px;
  left: 18%;
  transform: translate(-50%, -50%);
  color: #E0F1DF;
  font-size: 48px;
  letter-spacing: 7.68px;
  z-index: -1;
}

.main-heading {
  position: relative;
  z-index: 1;
}


.information-box {
  padding: 50px;
  border-top: 4px solid #67BF9C;
  border-radius: 0 0 8px 8px;
  background: #FFF;
  box-shadow: 0 0 10px 4px rgba(207, 207, 207, 0.25);
}

.information-box .heading-box {
  border-radius: 8px;
  border: 1px solid #D2D2D2;
  padding: 0 10px;
  margin: 60px 0 0;
}

.information-box h2 {
  text-align: left;
  border-left: 4px solid #079BB9;
  padding-left: 15px;
}

.information-flex {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.info-image {
  width: 100%;
}

.info-image img {
  width: 100%;
}

.info-table {
  width: 100%;
  letter-spacing: 2.4px;
}

.info-table table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 20px;
  border-bottom: 2px solid #E8E8E8;
  text-align: left;
}

.info-table th {
  width: 20%;
  font-weight: 700;
  border-bottom: 2px solid #67BF9C;
}

.timetable {
  color: white;
  padding: 20px;
  margin-top: 40px;
}

.timetable table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.timetable th,
.timetable td {
  border-bottom: 1px solid #079BB9;
  padding: 15px 10px;
}

.timetable th {
  color: #ffffff;
}

.timetable td {
  color: #079BB9;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2.4px;
}

.timetable .blue {
  background: #F3F9FD;
}

.timetable .header-row {
  background-color: #079BB9;
}

.closed {
  text-align: left;
  color: #079BB9;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 2.4px;
}

.gallery-section {
  padding: 80px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin: 40px auto;
}

.gallery-grid img {
  width: 100%;
  height: auto;
}

/* Price Page Styles */
.price-hero {
  background-image: url('img/price_hero.png');
}

.price-list {
  background-color: #97B9BF;
  padding: 80px 0;
}

.price-list .inner {
  background: #FFFFFF;
  box-shadow: 0px 0px 10px 4px rgba(207, 207, 207, 0.25);
  padding: 40px;
  margin: 50px auto;
}

.fee-list-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 64px;
  color: #E0F1DF;
  margin: 0;
  letter-spacing: 7.68px;
}

.fee-list-subtitle {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 500;
  font-size: 32px;
  color: #FFFFFF;
  margin-top: 0;
  letter-spacing: 3.84px;
}

.price-category {
  margin-bottom: 30px;
}

.price-category h4 {
  font-size: 32px;
  font-weight: 500;
  background-color: #079BB9;
  color: #fff;
  padding: 20px;
  text-align: left;
  margin: 0;
}

.price-item-header {
  padding: 20px 0;
  cursor: pointer;
  border-bottom: 3px solid #079BB9;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-item-header p {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
}

.price-item-body {
  display: block;
  padding: 20px 0;
  background: #fff;
}

.price-item-body table {
  width: 100%;
  border-collapse: collapse;
}

.price-item-body table .blue {
  background: #F3F9FD;
}

.price-item-body th,
.price-item-body td {
  padding: 15px;
  text-align: left;
}

.price-item-body tr:last-child th,
.price-item-body tr:last-child td {
  border-bottom: none;
}

.price-item-body th {
  width: 20%;
  font-weight: 700;
}

/*お問い合わせページ*/

section.contact .inner {
  max-width: 800px;
}

section.contact h2 {
  max-width: 700px;
  text-align: left;
  font-family: "Zen Maru Gothic";
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 3.84px;
  border-left: 3px solid #079BB9;
  padding-left: 15px;
}

section.contact {
  background: #E8F3F1;
}

.wpcf7-form p {
  margin: 0;
  /* デフォの余白を消す */
  display: contents;
  /* p を“透明なラッパー”にする */
}

.wpcf7 form fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.wpcf7 form legend {
  display: none;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
}

/* 各行を横並び（PC） */
.contact-form .form-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

/* ラベル（左側） */
.contact-form label {
  flex: 0 0 150px;
  /* 固定幅（お好みで調整可） */
  margin-right: 10px;
  font-size: 18px;
  color: #333;
  text-align: left;
}

span.wpcf7-form-control-wrap {
  width: 100%;
}

/* 入力欄（右側） */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  /* 行ごとに統一 */
  padding: 8px 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 14px;
  box-sizing: border-box;
}

/* テキストエリア */
.contact-form textarea {
  height: 120px;
  resize: vertical;
}

/* 送信ボタン */
.contact-form .form-submit {
  text-align: center;
  margin-top: 20px;
}

.contact-form input[type="submit"] {
  background: #009bbf;
  color: #fff;
  border: none;
  padding: 10px 25px;
  cursor: pointer;
  transition: background 0.3s;
}

.contact-form input[type="submit"]:hover {
  background: #007b9f;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form label {
    flex: none;
    margin: 0 0 5px 0;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    width: 100%;
  }
}



@media (max-width: 1280px) {
  .header-container {
    display: block;
    max-width: 100%;
  }

  .header-container .logo {
    text-align: center;
    margin-bottom: 0.7em;
  }

}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }
	
	main {
		padding-top:70px;
	}

  section {
    padding: 40px 20px !important;
  }

  h2,
  h3 {
    font-size: 24px;
  }

  img {
    max-width: 100%;
  }

  .inner {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }

  header {
    padding: 15px 20px;
  }

  .header-container {
    flex-direction: column;
    width: 100%;
  }

  .logo img {
    width: 100%;
    max-width: 250px;
    height: auto;
  }

  .header-right {
    width: 100%;
  }

  .header-info {
    flex-direction: column;
    width: 100%;
    margin-bottom: 10px;
  }

  .info-item {
    margin: 10px 0;
    width: 100%;
  }

  .info-item.contact .tel {
    font-size: 24px;
    justify-content: center;
  }

  .info-item.access a {
    display: block;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  header nav ul li {
    margin: 10px 0;
  }

  header nav ul li+li a::before {
    content: unset;
  }

  .hero-top {}

  .hero-text {
    position: relative;
    left: 0;
    top: 15%;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .hero-text .symbol {
    display: none;
  }

  .message {
    margin: 80px 0;
  }

  .message-content {
	gap:30px;
    flex-direction: column-reverse;
    width: 100%;
    margin: 30px 0;
  }

  .message-text {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
  }

  .message-image {
    width: 100%;
	text-align: center;
  }

  .message-subtitle {
    font-size: 48px;
    top: -100px;
    right: 20px;
    letter-spacing: 5px;
  }

  .infection-box {
    flex-direction: column;
    gap: 30px;
  }

  .infection-box img {
    max-width: 100%;
  }

  .infection-control {
    padding: 40px 20px;
  }

  .news ul {
    width: 100%;
  }

  .news ul li {
    flex-direction: column;
    align-items: flex-start;
  }

  .news ul li time {
    margin-right: 0;
    margin-bottom: 5px;
    font-weight: bold;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 50px;
  }

  .menu-item {
    margin-bottom: 30px;
  }

  .menu-item-title {
    height: auto;
	  padding: 15px 35px 15px 15px;
    left: 0;
  }

  .menu-item-title h3 {
    font-size: 20px;
  }

  .menu-item p {
    min-height: unset;
  }

  .other-menu {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    flex-wrap: wrap;
    flex-direction: column;
    height: 600px;
  }

  .other-menu .icon {
    width: 144px;
    height: 144px;
  }

  .menu-btns {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
  }

  .menu-btns .btn {
    padding: 20px 25px;
    margin: 15px 20px;
  }

  .points-grid {
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }

  .point-item {
    width: 100%;
    height: auto;
    margin-bottom: 50px;
  }

  .item2,
  .item5,
  .item3 {
    margin-top: 0;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }


  .recruit img {
    max-width: 90%;
  }

  .recruit-content {
    flex-direction: column;
    width: 100%;
  }

  .footer-right {
    flex-direction: column;
  }

  .clinic-info {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .clinic-info h3 {
    font-size: 25px;
  }

  .hours-table {
    padding: 1px 7px;
  }

  .map iframe {
    width: 100%;
    height: 300px;
  }

  .footer-nav .nav-column ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .nav-column ul li+li a::before {
    content: unset;
  }

  .footer-bottom {
    padding: 10px 20px;
    margin: 0 -20px;
    margin-top: 30px;
  }

  .to-top {
    bottom: 20px;
    right: 20px;
  }

  .container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .sidebar {
    width: 100%;
    padding-right: 0;
    margin-bottom: 40px;
  }

  .content {
    width: 100%;
  }

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

  .section-content img,
  .section-content p {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .flow-step {
    flex-direction: column;
    text-align: center;
  }

  .flow-step-content {
    margin-bottom: 20px;
  }

  .content h2 {
    font-size: 19px;
  }

  .content .section-sub-title {
    font-size: 15px;
  }

  /* Medical Page Responsive */
  .content section .heading {
    gap: 10px;
  }

  /* Clinic Page Responsive */
  .breadcrumbs {
    padding: 10px;
  }

  .doctor-intro,
  .recruit-info,
  .application-guidelines {
    padding: 40px 0;
  }

  .doctor-profile {
    flex-direction: column;
  }

  .doctor-photo {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .doctor-message h2,
  .recruit-info h2,
  .application-guidelines h2 {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 40px;
  }

  .doctor-message h3,
  .recruit-info h3,
  .application-guidelines h3 {
    font-size: 24px;
    line-height: 1.5;
  }

  .application-guidelines table {
    width: 100%;
  }

  .policy {
    flex-direction: column;
    margin: 40px auto;
  }

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

  .flow-grid {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .flow-item {
    flex-direction: column;
  }

  .flow-item-image {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }

  .information-section {
    margin: 40px auto;
  }

  .information-flex {
    flex-direction: column;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 90%;
    border-bottom: none;
  }

  .info-table th {
    border-bottom: 2px solid #E8E8E8;
  }

  .timetable {
    padding: 0;
    overflow-x: auto;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  /* Price Page Responsive */
  .price-list .inner {
    padding: 20px;
    margin: 30px auto;
  }

  .fee-list-title {
    font-size: 48px;
    letter-spacing: 4px;
  }

  .fee-list-subtitle {
    font-size: 24px;
    letter-spacing: 2px;
  }

  .price-category h4 {
    font-size: 24px;
    padding: 15px;
  }

  .price-item-header p {
    font-size: 18px;
  }

  .price-item-body th,
  .price-item-body td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    text-align: left !important;
  }

  .price-item-body th {
    background-color: #f3f9fd;
    font-weight: bold;
  }

  .price-item-body tr {
    display: block;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }
}


/* ふわっとフェードイン */
.fadein-target {
  opacity: 0;
  transform: translateY(30px); /* 下から少し浮かせておく */
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform; /* パフォーマンス向上 */
}

.fadein-target.visible {
  opacity: 1;
  transform: translateY(0);
}