/* @charset "UTF-8"; */
@import url("/assets/css/common.css?202401");
@import url("/assets/css/font.css?2022");

html,
body {
  overflow-x: hidden;
}

img {
  width: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

a {
  text-decoration: none;
  color: #333;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

li {
  list-style-position: inside;
  padding: 0;
  margin: 0;
  list-style: none;
}

body {
  font-family: "Yu Gothic", "Helvetica Neue", sans-serif;
  font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
  line-height: 1.8;
  color: #2c2c2c;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.back2 {
  width: 80%;
  opacity: .75;
}

p {
  font-family: "Yu Gothic", "Helvetica Neue", sans-serif;
  line-height: 2.1;
  font-size: 16px;
  margin: 0;
  padding: 0;
  text-align: justify;
}

/* header */
header {
  width: 100%;
  height: 120px;
}

.logo {
  width: 15%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 85%;
  padding-left: 5%;

}

.h2 {
  width: 100%;
  height: auto;
}

.h2 img {
  object-fit: contain;
}

.text_bold {
  font-size: 1.4em;
  font-weight: bold;
}

/* mainvisual */
.mainvisual {
  text-align: center;
  width: 100%;
  max-width: 100%;
  min-height: 600px;
  padding: 0 0 10% 0;
  overflow: hidden;
}

.hero-title {
  background-image: url(../img/main.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  align-items: center;
  font-family: Noto Sans JP, sans-serif;
  height: 36.2vw;
  display: flex;
  margin-top: 120px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

h1 {
  font-weight: bold;
  font-size: max(72px, 6.4vw);
  margin-bottom: 1rem;

}

.hero-title p {
  font-size: max(32px, 2.777vw);
  font-weight: bold;
  line-height: 2.25;
  text-align: center;
}

.hero-text p {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: #333;
  line-height: 2.25;
  width: 65.97vw;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  padding: 3% 0;
}

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

/* Section 1: Profile */
.profile {
  width: 100%;
  position: relative;
  border-bottom: #707070 solid 1px;
}

.profile::after {
  content: "";
  background-color: #D1F0E2;
  position: absolute;
  top: 26vw;
  /* ← ここで下にずらす */
  left: 0;
  width: 100%;
  height: 100%;
  /* セクション全体の高さに追従 */
  z-index: -4;
  /* 背景として裏に表示 */
}

.profile_image3.aos-init.aos-animate {
  position: absolute;
  bottom: 20%;
  right: 7%;
  width: 45%;
  max-width: 550px;
}

.list-br {
  display: none;
}

.space {
  display: none;
}

@media screen and (max-width: 950px) {
  .profile_image3.aos-init.aos-animate {
    /* bottom:13%; */
    right: 5%;
    /* width: 30%; */
  }
}

@media screen and (max-width: 768px) {
  .profile_image3.aos-init.aos-animate {
    position: static;
    width: 60%;
  }

  .profile_container2 {
    flex-direction: column;
  }

}

@media screen and (max-width: 570px) {
  .list-br {
    display: block;
  }

  .space {
    display: inline-block;
  }
}

.profile_container1 {
  width: 65.97vw;
  height: auto;
  object-fit: cover;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
}

.profile_image1 {
  width: 43%;
  aspect-ratio: 357 / 440;
  height: auto;
  object-fit: cover;

}

.back_wrap {
  position: relative;
  width: 50%;
  height: auto;
}

.profile_image2 {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: cover;
  z-index: 2;
}

.profile_image4 {
  width: 54%;
  opacity: .3;
  position: absolute;
  top: 0;
  left: 1vw;
  z-index: -1;
}

.profile_container2 {
  width: 65.97vw;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.profile_container2 ul {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
  padding: 15% 0 10%;
}

.vertical-align2 {
  padding-left: 3%;
}

@media screen and (max-width:970px) {
  .profile_container2 {
    width: 80vw;
  }
}

@media screen and (max-width: 800px) {
  .profile_container2 ul {
    width: 85vw;
  }
}

.profile_container2 li {
  margin-bottom: 3%;
  font-size: clamp(20px, 1.57vw, 32px);
  font-weight: bold;
  color: #707070;
  font-family: "Yu Gothic", "Helvetica Neue", sans-serif;
  display: block;
  width: 100%;
}

.profile_image3 p {
  font-size: 1em;
}

/* Section 2: educator */
.educator {
  background-color: #D1F0E2;
  padding: 10% 0;
}

.educator_container1 {
  width: 65.97vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0 auto;
}

.educato_back {
  width: 30%;
  position: relative;
}

.educato_back .back2 {
  position: absolute;
  top: 0;
  left: 14vw;
  z-index: 1;

}

.educator_image1 {
  width: 100%;
  position: relative;
  z-index: 2;
}

.educator_image2 {
  width: 55%;
}

.educator_container2 {
  width: 65.97vw;
  display: flex;
  justify-content: space-between;
  margin: 6% auto 0;
  flex-wrap: wrap;

}

li.aos-init.aos-animate.large {
  width: 130%;
  margin-top: 10%;
  margin-left: -18%;
}

.educator_container2 ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 48%;
}

.comprehensive_image2 {
  display: block;
  flex-direction: column;
}

.educator_container2 li {
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  margin-bottom: 10%;
}

.educator_container2 p {
  width: 45%;
}

/* Section 3: What is a Doctor?  */
.question {
  width: 65.97vw;
  margin: 10% auto;
  position: relative;
}

.question_img1 {
  width: 12%;
  margin: 0% auto;
  position: relative;
  z-index: 1;
}

.question_img2 {
  width: 50%;
  opacity: 0.4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.philosophy_img2 {
  width: 36%;
  opacity: 0.4;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

p.caption {
  width: 100%;
  font-size: 13px;
  text-align: center;
  display: block;
  color: #2c2c2c;
}

.educator_image2 p.caption {
  /* text-align: right; */
  width: 100%;
}

.educator_container2 p.caption {
  text-align: center;
  width: 100%;
}

.training_image2 p.caption {
  width: 100%;
  text-align: center;

}

.comprehensive_container2 p.caption {
  width: 100%;
}

.belief_container2 p.caption {
  text-align: center;
  width: 100%;
}

.comprehensive_container2 p.caption {
  text-align: center;
  margin-top: 5px;
  line-height: 1.3;
  width: 100%;
}

.belief_container_image1.aos-init.aos-animate {
  display: flex;
  flex-direction: column;
}

.training_image2.aos-init.aos-animate {
  display: flex;
  flex-direction: column;
}

/* Section 4: Belief  */
.belief {
  background-color: #D1F0E2;
  padding: 10% 0;
}

.belief_container1 {
  width: 65%;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.belief_container_image1 {
  width: 60%;
  /* margin: 0 auto; */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.belief_back {
  width: 35%;
  position: relative;
  z-index: 2;
}

.belief_back .back2 {
  position: absolute;
  top: -12%;
  right: 9vw;
  z-index: -1;
}

.belief_container2 {
  width: 65.97vw;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 6% auto 0;
}

.belief_container2 p {
  width: 45%;
  margin: 0;
  padding: 0;
}

.belief-image-list {
  width: 50%;
}

.belief-image-list li {
  margin-bottom: 10%;
}

/* Section 5: Anecdote 1 */

.anecdote {
  margin: 10% auto;
}

.anecdote_wrap {
  width: 90%;
  margin: 0 auto;
}

.anecdote_container {
  /* width: 65.97vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start; */
  margin: 0 auto;
}

.kobore-line {
  height: 1px;
  width: 58%;
  background-color: #333;

}

.anecdote_container p {
  width: 100%;
  margin: 0 auto;
  font-size: 16px;
}

.kobore_title_wrap {
  width: 100%;
  margin-bottom: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.kobore-title {
  width: 40%;
  display: flex;
  align-items: center;

}

.kobore_title img {
  height: 100%;
  /* ← 高さに合わせる */
  width: auto;
  object-fit: contain;
  display: block;
}

.kobore_title2 {
  width: 100%;
  height: auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kobore-title2 img {
  height: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  display: flex;
  align-items: center;
}

.kobore-container2 {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5%;
}

.anecdote-image-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin: 5% auto;
  padding: 0 16px;
  list-style: none;
  gap: 2%;
}

.anecdote-image-list li {
  width: 48%;
}

.anecdote-image-list li img {
  width: 100%;
  height: auto;
  display: block;
}

.anecdote-image-list li img {
  width: 100%;
  height: auto;
  display: block;
}

.anecdote-image-list img.kobore {
  width: 95%;
}

.philosophy {
  width: 65.97vw;
  margin: 10% auto;
  position: relative;
  z-index: 10;
}

.philosophy_img1 {
  position: relative;
  z-index: 10;
  width: 50%;
  margin: 0 auto;
}

/* Section 7: Training Doctors */
.training {
  background-color: #D1F0E2;
  padding: 5% 0;
}

.training_container1 {
  width: 65.97vw;
  margin: 0 auto;
}

.training .vertical-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.training-image-list .large .caption {
  padding-left: 16px;
  /* margin-top: -2%; */
}

.training_back {
  width: 20%;
  position: relative;
}

.training_back .back2 {
  position: absolute;
  top: -3vw;
  left: 15vw;
  width: 100%;
}

.training_image1 {
  width: 100%;
}

.training_image2 {
  width: 46%;
  display: flex;
  justify-content: flex-end;
}

.training_image2 img {
  width: 100%;

}

.training_container2 {
  width: 65.97vw;
  display: flex;
  margin: 5% auto;
  justify-content: space-between;
  align-items: flex-start;
}

.training-image-list {
  width: 46%;
}

.training-image-list li img {
  width: 100%;
  /* margin-bottom: 10%; */
}

.training_container2 > p  {
  width: 46%;
  height: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;

}

.kobore2 {
  padding-bottom: 10%;
  border-bottom: solid 1px #707070;
}

.kobore2 p {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.kobore-title2 {
  width: 100%;
  font-size: 16px;
}

.final_philosophy .philosophy_img2 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

}

.final_philosophy .philosophy_img1 {
  width: 45%;
  margin: 0 auto;
  object-fit: cover;
}

.comprehensive {
  background-color: #D1F0E2;
  padding: 10% 0;
}

.comprehensive_image2 {
  width: 61%;
  display: flex;
  align-items: flex-end;
}

.comprehensive_image1 {
  display: flex;
  align-items: flex-start;
  margin-bottom: 35%;
}

.comprehensive_back {
  width: 35%;
  position: relative;
  z-index: 1;
}

.comprehensive_back .back2 {
  position: absolute;
  top: 0%;
  left: 0vw;
  width: 100%;
  z-index: -1;
}

.comprehensive_container1 {
  display: flex;
  justify-content: space-between;
  margin: 0 auto 0;
  padding-top: 7%;
  width: 65%;
}

.comprehensive_container2 {
  display: flex;
  justify-content: space-between;
  margin: 5% auto;
  width: 65.97vw;
}

.comprehensive_container2 p,
.comprehensive-image-list {
  width: 48%;
}

.comprehensive-image-list li {
  margin-bottom: 5%;
}

.site-footer {
  padding: 5% 0;
  background-color: #fff;
  height: 12vh;
}

.footer-inner {
  border-top: 1px solid #ccc;
  line-height: 5em;
  width: 100%;
  max-width: 65.97vw;

  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-right: 5%;
  width: 50%;
}
.caption-flex-group {
  display: flex;
justify-content: space-evenly;
  text-align: left;
  margin-top: 0;
  width: 90%;

}
.position-wrapper{
  position: relative;
}
.caption-flex-group .caption {
  text-align: left;
line-height: 1.3;
}

.footer-logo {
  height: auto;
  /* ロゴサイズ調整 */
  margin: 10px;
}

.footer-text {
  font-size: 14px;
  color: #333;
  font-weight: bold;
}

.footer-nav {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 50%;
  justify-content: flex-start;
}

.footer-nav li {
  width: auto;
}

.footer-nav li a {
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.footer-nav li a:hover {
  text-decoration: underline;
}

/* footer img {
 width: 40%
} */
.spbr {
  display: none;
}

@media screen and (max-width: 999px) and (min-width: 678px) {

  .hero-title {
    height: 55vw;
  }

  .spbr {
    display: block;
  }
}

/* メディアクエリ */
@media screen and (max-width: 768px) {
  .spbr {
    display: block;
  }

  .back2 {
    width: 100%;
    opacity: .75;
  }

  p {
    font-family: "Yu Gothic", "Helvetica Neue", sans-serif;
    line-height: 2.1;
    font-size: clamp(16px, 1.39vw, 22px);
    margin: 0;
    padding: 0;
  }

  /* header */
  header {
    width: 100%;
    height: 100px;
  }

  .logo {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* height: 100px; */
    padding-left: 5%;
    padding-top: 3%;
  }

  .h2 {
    width: 100%;
    height: auto;
  }

  .h2 img {
    object-fit: contain;
  }

  p.caption {
    /* text-align: left; */
  }

  /* mainvisual */
  .mainvisual {
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    /* 高さは自動 */
    padding: 0 0 10% 0;
  }

  .hero-title {
    height: 100vw;
  }

  h1 {
    font-size: max(42px, 7.486vw);
    line-height: 1.3;
  }

  .hero-title p {
    text-align: center;
    font-size: max(20px, 4.777vw);
    line-height: 1.5;
  }

  .hero-text p {
    line-height: 2;
    width: 85vw;
    padding: 10% 0 15%;
  }

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

  /* Section 1: Profile */
  .profile {
    padding-bottom: 20%;
  }

  .profile::after {
    top: 53vw;
  }

  .profile_container1 {
    width: 80vw;
    flex-direction: column;
  }

  .profile_image1 {
    width: 90%;
    order: 2;
    margin: 0 auto;
  }

  .back_wrap {
    position: relative;
    width: 90%;
    height: auto;
    margin: 0 auto;
  }

  .profile_image2 {
    width: 100%;
    order: 1;
    margin-bottom: 10%;
  }

  .profile_image4 {
    width: 80%;
    opacity: .3;
    position: absolute;
    top: -15%;
    left: -13%;
    z-index: -1;
  }

  .profile_container2 {
    width: 100%;
    flex-direction: column;
    margin: 0 auto;
  }

  .profile_container2 ul {
    margin-bottom: 3%;
    /* font-size: clamp(16px, 1.67vw, 28px); */

  }

  .text_bold {
    font-size: 1.8em !important;
  }

  .profile_image3 {
    width: 100%;
  }

  .profile_image3 p {
    /* font-size: 1em; */
    text-align: center;
  }

  /* Section 2: educator */
  .educator {
    background-color: #D1F0E2;
    padding: 10% 0;
  }

  .educator_container1 {
    width: 100vw;
    align-items: center;
    flex-direction: column;
  }

  .educato_back {
    width: 50%;
    position: relative;
    margin-bottom: 10%;
  }

  .educato_back .back2 {
    position: absolute;
    top: 0;
    left: -44px;
    z-index: 1;

  }

  .educator_image1 {
    width: 100%;
    position: relative;
    z-index: 2;
  }

  .educator_image2 {
    width: 85%;
  }

  .educator_container2 {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin: 10% auto 0;

  }

  .educator_container2 ul {
    width: 85%;
  }

  .educator_container2 li {
    width: 100%;
    text-align: left;
    box-sizing: border-box;
    margin-bottom: 15%;
  }

  .educator_container2 p {
    width: 85%;
  }

  /* Section 3: What is a Doctor?  */
  .question {
    width: 93vw;
    margin: 20% auto;
    position: relative;
  }

  .question_img1 {
    width: 20%;
  }

  .question_img2,
  .philosophy_img2 {
    width: 50%;
    opacity: 0.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -2;
  }

  /* Section 4: Belief  */
  .belief {
    background-color: #D1F0E2;
    padding: 20% 0;
  }

  .belief_container1 {
    width: 85vw;
    flex-direction: column-reverse;
    align-items: center;
  }

  .belief_container_image1 {
    width: 100%;
  }

  .belief_back {
    width: 60%;
    position: relative;
    margin-bottom: 15%;
  }

  .belief_back .back2 {

    top: -9%;
    right: 10vw;
  }

  .belief_container2 {
    width: 100%;
    margin: 10% auto 0;
    flex-direction: column-reverse;
    align-items: center;
  }

  .belief_container2 p {
    width: 85%;

  }

  .belief-image-list {
    width: 85%;
  }

  .belief-image-list li {
    margin-bottom: 10%;
  }

  /* Section 5: Anecdote 1 */

  .anecdote {
    margin: 20% auto;
  }

  .anecdote_wrap {
    width: 100%;
    margin: 0 auto;
  }

  .anecdote_container {
    width: 100%;
    align-items: center;
    flex-direction: column;
  }

  .anecdote_container p {
    width: 85%;
    margin-top: 20%;
  }

  /* .pc_kobore {
      display: none;
    }
    .sp_kobore {
      display:block;
    } */

  .kobore_title_wrap {
    width: 100%;
    /* flex-direction: column;
        gap: 30px; */
    align-items: center;
    position: relative;

  }

  .kobore-line {
    width: 80%;
    position: absolute;
    right: 0;
    bottom: -30px;

  }

  .kobore-title {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;

  }

  .kobore_title img {
    height: 100%;
    /* ← 高さに合わせる */
    width: auto;
    object-fit: contain;
    display: block;
    order: 1;
  }

  .kobore_title2 {
    width: 100%;
    height: auto;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .kobore-title2 img {
    height: 100%;
    max-height: 100%;
    width: auto;
    object-fit: contain;
    display: flex;
    align-items: center;
  }

  .kobore-container2 {
    width: 100%;
    display: flex;
    /* justify-content: center; */
    position: relative;
  }

  .kobore2 img {
    width: 100%;
    object-fit: cover;
    /* 画像を中央にトリミングし、領域に合わせる */
    object-position: center;
  }

  .anecdote-image-list {
    gap: 0%;
    flex-direction: column;
    align-items: center;
  }

  .anecdote-image-list li {
    width: 85%;
    align-items: center;
  }

  .anecdote-image-list li img {
    width: 100%;
    height: auto;
    display: block;
  }

  .philosophy {
    width: 85vw;
    margin: 20% auto;
  }

  .philosophy_img1 {
    width: 75%;
    position: relative;
    z-index: 10;
  }

  /* Section 7: Training Doctors */
  .training {
    background-color: #D1F0E2;
    padding: 20% 0;
  }

  .training_container1 {
    width: 100vw;
    margin: 0 auto;
  }
.training-image-list li img.news-img {
  width: 82%;
}
  .training .vertical-title {
    align-items: center;
    flex-direction: column;
  }

  .training_back {
    width: 25%;
    position: relative;
    margin-bottom: 10%;
  }

  .training_back .back2 {
    position: absolute;
    top: -10vw;
    left: 20vw;
    width: 100%;

  }

  .training_image1 {
    width: 100%;

  }

  .training_image2 {
    width: 85%;
    display: flex;
    justify-content: flex-end;
  }

  .training_image2 img {
    width: 100%;

  }

  .training_container2 {
    width: 100vw;
    align-items: center;
    flex-direction: column;
  }

  .training-image-list {
    width: 85%;
  }

  .training-image-list li img {
    /* width: 95%; */
    margin: 0 auto;
    /* margin-bottom: 10%; */
  }

  .training-image-list .large .caption {
    /* padding-left: 0%; */
    /* margin-top: -2%; */
    /* width: 98%; */
    align-items: start;
  }

  .training_container2 p {
    width: 85%;
    align-items: center;
    margin-top: 10%;

  }

  .training_container2 p.caption {
    width: 100%;
    margin: 0;
    /* justify-content: left; */
    padding-left: 15px;
  }

  .kobore2 {
    padding-bottom: 10%;
    border-bottom: solid 1px #707070;
  }

  .kobore2 p {
    width: 85%;
    order: 2;
  }

  .kobore-title2 {
    width: 100%;
    font-size: 16px;
  }

  .final_philosophy .philosophy_img2 {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;

  }

  .final_philosophy .philosophy_img1 {
    width: 70%;
    object-fit: cover;
  }

  .comprehensive {
    background-color: #D1F0E2;
    padding: 10% 0;
  }

  .comprehensive_image2 {
    width: 85%;
    display: flex;
    align-items: center;
  }

  .comprehensive_image1 {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35%;
    width: 90%;
  }

  .comprehensive_back {
    width: 55%;
    position: relative;
  }

  .comprehensive_back .back2 {
    position: absolute;
    top: -7%;
    left: -10vw;
  }

  .comprehensive_container1 {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .comprehensive_container2 {
    width: 100vw;
    flex-direction: column-reverse;
    align-items: center;
  }

  .comprehensive_container2 p,
  .comprehensive-image-list {
    width: 85%;
  }

  .comprehensive-image-list li {
    margin-bottom: 10%;
  }

  .site-footer {
    padding: 10% 0;
    height: 30vh;
  }

  .footer-inner {
    width: 100%;
    max-width: 90vw;
    padding-top: 10%;
    align-items: center;
    flex-direction: column;
  }

  .footer-logo {
    height: auto;
    width: 100%;
    margin: 0 auto;
  }

  .footer-nav {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    line-height: 2em;
    margin: 10% auto;
  }

  .footer-nav li a {
    font-size: 14px;
  }

  /* .footer-nav  li{
width: 50%;
} */

}

@media screen and (max-width: 667px) {
  .profile_container2 ul {
    width: 90%;
  }
}

@media screen and (max-width: 500px) {
  .profile_container2 ul {
    width: 90%;
  }
}

@media screen and (max-width: 420px) {
  .profile_container2 ul {
    width: 95%;
  }
}

/* アニメーション */
.blur {
  animation-name: blurAnime;
  animation-duration: 3s;
  animation-fill-mode: forwards;
}

@keyframes blurAnime {
  from {
    filter: blur(10px);
    transform: scale(1.02);
    opacity: 0;
  }

  to {
    filter: blur(0);
    transform: scale(1);
    opacity: 1;
  }
}

.blurTrigger {
  opacity: 1;
}

.rellax {
  will-change: transform;
}

/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;
  /* font-size: clamp(16px, 1.39vw, 22px); */
  font-size: inherit;

}

/*左右のアニメーション*/
.leftAnime {
  opacity: 0;
  /*事前に透過0にして消しておく*/
}

.slideAnimeLeftRight {
  animation-name: slideTextX100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 1;
}

@keyframes slideTextX100 {
  from {
    transform: translateX(-100%);
    /*要素を左の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateX(0);
    /*要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeRightLeft {
  animation-name: slideTextX-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 1;
}

small {
  display: flex;
  text-align: right;
  justify-content: flex-end;
  font-size: .7em;
  margin-right: 1%;
}



/*========= 流れるテキスト ===============*/

/*全共通*/

.slide-in {
  overflow: hidden;
  display: inline-block;
}

.slide-in_inner {
  display: inline-block;

}

/* 上下のアニメーション*/
.upAnime {
  opacity: 0;
  /* 事前に透過0 にして消しておく*/
}

.slideAnimeDownUp {
  animation-name: slideTextY100;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes slideTextY100 {
  from {
    transform: translateY(100%);
    /* 要素を上の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}

.slideAnimeUpDown {
  animation-name: slideTextY-100;
  animation-duration: 3s;
  animation-fill-mode: forwards;
  opacity: 0;
  width: 100%;
  display: flex;
}

@keyframes slideTextY-100 {
  from {
    transform: translateY(-100%);
    /* 要素を下の枠外に移動*/
    opacity: 0;
  }

  to {
    transform: translateY(0);
    /* 要素を元の位置に移動*/
    opacity: 1;
  }
}


/* ==========================================================================
   Section: Anecdote（共通スタイル）
========================================================================== */
.anecdote {
  margin: 10% auto;
  padding-bottom: 10%;
  border-bottom: 1px solid #707070;
}

.anecdote_wrap {
  width: 90%;
  margin: 0 auto;
}

.anecdote_container {
  width: 65.97vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.anecdote_container p {
  width: 100%;
  /* font-size: clamp(16px, 1.39vw, 22px); */
  margin-top: 5%;
  text-align: justify;
}

.kobore_title_wrap {
  width: 100%;
  margin-bottom: 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.kobore-title {
  width: 33%;
  display: flex;
  align-items: center;
}

.kobore-title img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.kobore-line {
  height: 1px;
  width: 63%;
  background-color: #333;
}

.anecdote-image-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 90%;
  margin: 5% auto;
  padding: 0 16px;
  gap: 2%;
}

.anecdote-image-list.kobore {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 90%;
  margin: 5% auto;
  padding: 0 16px;
  gap: 2%;
}

.anecdote-image-list li {
  width: 48%;
}

.anecdote-image-list figure {
  margin: 0;
}

.anecdote-image-list img {
  width: 100%;
  height: auto;
  display: block;
}

.anecdote-image-list figcaption {
  display: block;
  font-size: 14px;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.5em;
  color: #333;
}

/* ==========================================================================
   Media Queries（スマホ対応）
========================================================================== */
@media screen and (max-width: 768px) {
  .anecdote_container {
    width: 100%;
    /* padding: 0 5%; */
  }

  .anecdote_wrap {
    width: 100%;
    margin: 0 auto;
  }

  .anecdote_container p {
    width: 85%;
    margin-top: 15%;
  }

  .kobore_title_wrap {
    flex-direction: column;
    align-items: self-start;
    gap: 1rem;
  }

  .kobore-title {
    width: 80%;
    justify-content: center;
  }

  .kobore-line {
    width: 80%;
    position: absolute;
    right: 0;
    bottom: -30px;
  }

  .anecdote-image-list {
    flex-direction: column;
    align-items: center;
    gap: 5%;
    padding: 0;
  }

  .anecdote-image-list li {
    width: 85%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) {
  .vertical-align {
    /* display: flex;  */
    width: 100%;

  }

  .vertical-align:first-child {
    width: 25%;
  }

  .vertical-align:nth-child(2) {
    width: 70%;
  }

  .vertical-align2 {
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .vertical-align:first-child {
    width: 30%;
  }

  .vertical-align:nth-child(2) {
    width: 68%;
  }
}

/* 左からその場でふわっと出る */
.slideAnimeLeftFade {
  opacity: 0;
  transform: translateX(-20px);
  animation: slideFromLeftFade 0.8s ease-out forwards;
}

@keyframes slideFromLeftFade {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
  
}

/********************************************************/
/* BlkHeader */
/********************************************************/
.BlkHeader {
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 100;
}

.BlkHeader__inner {
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
  position: relative;
  display: table;
}

.BlkHeader__logo {
  display: table-cell;
  vertical-align: middle;
}

.BlkHeader__logo a {
  display: block;
  width: 238px;
  height: auto;
  transition: 0.1s;
}

/* PCレイアウト */
@media screen and (max-width: 1280px) {
  .BlkHeader__inner {
    width: 100%;
  }
}

/* モバイルレイアウト */
@media screen and (max-width: 980px) {
  .BlkHeader {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000000;
  }

  .BlkHeader__inner {
    width: 100%;
    padding: 0 10px;
  }

  .BlkHeader__logo a {
    margin-left: 0;
    width: 150px;
  }
}

@media screen and (max-width: 400px) {
  .BlkHeader__logo a {
    width: 130px;
  }
}

/********************************************************/
/* BlkNavStructures */
/********************************************************/
.BlkNavStructures {
  display: table-cell;
  vertical-align: middle;
  text-align: right;
  padding-top: 12px;
}

/* 病院・寄付施設ナビゲーション（PC） */
.BlkNavStructures__navFacility {
  font-size: 1.2rem;
  float: right;
  padding: 0 30px;
  display: table;
}

.BlkNavStructures__navFacility__item a {
  transition: 0.1s;
  font-weight: 600;
  color: #fff;
  background-color: #00a87b;
  /* 濃い緑色 */
  border-radius: 4px;
  /* ... スタイルの定義 ... */
}

/* 言語ナビゲーション（PC） */
.BlkNavStructures__navLanguage {
  float: right;
  font-size: 1.2rem;
  border-right: #e2e2e2 1px solid;
  border-left: #e2e2e2 1px solid;
  padding: 0 30px;
  margin-top: 2px;
}

/* サブナビゲーション（検索、メニューなど） */
.BlkNavStructures__navSub {
  clear: both;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 35px 0 25px;
}

/* モバイル対応（980px以下） */
@media screen and (max-width: 980px) {
  .BlkNavStructures {
    padding-top: 0;
  }

  .BlkNavStructures__navSub {
    font-size: 0.9rem;
    margin: 15px 0;
    /* ... モバイル用レイアウトの定義 ... */
  }

  .BlkNavStructures>.BlkNavStructures__navLanguage,
  .BlkNavStructures>.BlkNavStructures__navFacility {
    display: none;
    /* PC用のナビゲーションを非表示に */
  }

  .hero-title {
    margin-top: 120px;
  }
}

/********************************************************/
/* BlkFooter */
/********************************************************/
.BlkFooter {
  position: relative;
  width: 100%;
  background: url(../images/BlkFooter_bg.jpg) no-repeat bottom #fff;
  /* 背景画像 */
  background-size: cover;
  z-index: 1;
}

/* グラデーションオーバーレイ */
.BlkFooter:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 150px;
  background: url(../images/BlkFooter_bg_gradation.png) repeat-x top;
  background-size: 100% 150px;
  z-index: -1;
}

.BlkFooter__inner {
  width: 980px;
  /* PCでの最大幅 */
  margin: 80px auto 0;
  padding: 80px 0 70px;
  border-top: #fff 1px solid;
  position: relative;
  overflow: hidden;
}

/* モバイル対応（980px以下） */
@media screen and (max-width: 980px) {
  .BlkFooter__inner {
    width: 100%;
    margin-top: 70px;
    padding-bottom: 40px;
    padding-top: 0;
    border-top: none;
  }
}

/********************************************************/
/* BlkLogoSns */
/********************************************************/
.BlkLogoSns {
  float: left;
}

.BlkLogoSns__logo a {
  display: block;
  width: 188px;
  height: auto;
}

.BlkLogoSns__listSns {
  margin-top: 45px;
  margin-bottom: 45px;
}

.BlkLogoSns__listSns__item a:before {
  font-family: icomoon;
  font-weight: normal;
  vertical-align: middle;
  font-size: 2.2rem;
  /* ... アイコンのスタイル ... */
}

/* モバイル対応 */
@media screen and (max-width: 980px) {
  .BlkLogoSns {
    float: none;
  }
}

/********************************************************/
/* BlkFooterTop */
/********************************************************/
.BlkFooterTop {
  overflow: hidden;
}

/* .BlkFooterTop__navGlobal {
  float: left;
  margin-left: 70px;
} */
.BlkFooterTop__navGlobal__item {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-bottom: 10px;
}

.BlkFooterTop__navGlobal__item a {
  color: #333;
  transition: 0.1s;
}

.BlkFooterTop__navGlobal__item a:before {
  content: "・";
}

/* モバイル対応（980px以下） */
@media screen and (max-width: 980px) {
  /* ... モバイルレイアウトの定義 ... */
}

/********************************************************/
/* BlkFooterBottom */
/********************************************************/
.BlkFooterBottom {
  clear: both;
  margin-top: 70px;
  overflow: hidden;
  position: relative;
  z-index: 1000000000;
}

.BlkFooterBottom__navSub {
  clear: both;
  padding: 0 15px;
  /* border-right: #fff 1px solid;
  border-left: #fff 1px solid; */
  /* float: left; */
  line-height: 1.5;
}

.BlkFooterBottom__copyright {
  font-size: 1rem;
  /* float: right; */
}

/* モバイル対応（980px以下） */
@media screen and (max-width: 980px) {
  /* ... モバイルレイアウトの定義 ... */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  /* paddingとborderをwidthとheightの計算に含める */
}

/* kyorin-philosophyページ専用のフッター背景修正 */
.page-founder-philosophy .BlkFooter {
  /* 絶対パスで背景画像を強制的に読み込む */
  background: url(/assets/images/BlkFooter_bg.jpg) no-repeat bottom #fff !important;
  /* 背景サイズも再度指定 */
  background-size: cover !important;
  font-family: "HelveticaNeue-Light", "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック", "YuGothic", "メイリオ", "Meiryo", sans-serif;
}

/* kyorin-philosophy ページ専用のページトップアイコン位置調整 */
.page-founder-philosophy .BlkPageTop__link::after {
  /* 既存の top: 17px (デフォルト値) を 11px に上書き */
  top: 11px;
}

/* kyorin-philosophy ページ専用: 受験生アイコンとテキストの間にスペースを追加 */
.page-founder-philosophy .BlkNavStructures__navSub__txt--nyugaku {
  /* 左側に10pxのパディングを強制的に追加 */
  padding-left: 10px !important;
  /* 必要に応じて、アイコン側の右パディングも確認・調整 */
}

/* 🎓 kyorin-philosophyページ専用のフッター: グラデーション背景修正 */
.page-founder-philosophy .BlkFooter:before {
  /* グラデーション画像を絶対パスで強制的に読み込み、元の繰り返しと位置を維持 */
  background: url(/assets/images/BlkFooter_bg_gradation.png) repeat-x top !important;
  /* height: 150px; を満たすようにサイズも再度指定 */
  background-size: 100% 150px !important;

}

/* style.css 内に追記: .page-founder-philosophy ページ専用 */

/* 1. 検索ボタンのテキストの上書き */
.page-founder-philosophy .BlkNavStructures__navSub__txt--search {
  /* JSで書き込まれたテキストを非表示にする（要素自体は残す） */
  visibility: hidden;
  position: relative;
}

/* 疑似要素で正しいテキストを強制的に挿入 (PC時の絶対配置) */
.page-founder-philosophy .BlkNavStructures__navSub__txt--search::after {
  content: "検索";
  /* 普段の状態の正しいテキスト */
  visibility: visible;
  /* 正しいテキストのみ表示 */
  position: absolute;
  top: 5px;
  left: 0;
}

/* 2. メニューボタンのテキストの上書き */
.page-founder-philosophy .BlkNavStructures__navSub__txt--menu {
  visibility: hidden;
  position: relative;
}

/* 疑似要素で正しいテキストを強制的に挿入 (PC時の絶対配置) */
.page-founder-philosophy .BlkNavStructures__navSub__txt--menu::after {
  content: "メニュー";
  /* 普段の状態の正しいテキスト */
  visibility: visible;
  position: absolute;
  top: 5px;
  left: 0;
}

/* 3. 「閉じる」テキストの上書き（JSで .BlkNavStructures__navSub__item--current が付く状態）*/
/* 検索パネルが開いた状態 */
.page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__txt--search::after {
  content: "閉じる";
  /* 開いたときの正しいテキスト */
  top: 3px;
}

/* メニューパネルが開いた状態 */
.page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__txt--menu::after {
  content: "閉じる";
  /* 開いたときの正しいテキスト */
  top: 3px;
}

/* -----------------------------------------------
   アイコンの位置調整 (縦中央揃え)
   ----------------------------------------------- */

/* アイコン本体のコンテナ要素 (BlkNavStructures__navSub__icon) の疑似要素に適用 */
.page-founder-philosophy .BlkNavStructures__navSub__icon--search::before,
.page-founder-philosophy .BlkNavStructures__navSub__icon--menu::before {
  /* アイコンフォントを縦方向の中央に揃える */
  vertical-align: middle !important;

  /* わずかなズレを修正するために相対位置で上に調整 */
  /* position: relative;
    top: -1px;  */
}

/* 補足: 閉じるアイコンの状態も同様に調整 */
.page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__icon--search::before,
.page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__icon--menu::before {
  vertical-align: middle !important;
  /* position: relative;
    top: -1px;  */
}

/* モバイル版 (980px 以下) のテキスト位置調整 */
@media screen and (max-width: 980px) {
  .page-founder-philosophy .BlkWrapper--fixed {
    position: relative;
  }

  /* ⭐ 1. アイコンとテキストを含む親要素の折り返しを禁止 ⭐ */
  .page-founder-philosophy .BlkNavStructures__navSub__item a {
    white-space: nowrap;
  }

  /* ⭐ 2. テキスト疑似要素の設定（検索とメニューを統合し、インライン表示を強制） ⭐ */
  .page-founder-philosophy .BlkNavStructures__navSub__txt--search::after {
    /* PC時の絶対配置 (position: absolute) を解除し、インライン要素 (position: static, display: inline) に戻す */
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
  }

  .page-founder-philosophy .BlkNavStructures__navSub__txt--menu::after {
    visibility: visible !important;
    /* visibility: hidden; を上書きして可視性を維持 */

    /* PC時の position: absolute を解除し、インライン要素として横並びを強制 */
    /* position: static !important; */
    display: inline !important;

    /* 競合する配置ルールを解除 */
    left: 5px !important;
    top: auto !important;
    transform: none !important;
  }

  /* 3. 閉じるテキストの絶対配置も解除 */
  .page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__txt--search::after,
  .page-founder-philosophy .BlkNavStructures__navSub__item--current .BlkNavStructures__navSub__txt--menu::after {
    /* position: static !important; */
    display: inline !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: auto !important;
    /* top: 3px の設定を解除 */
  }


}

@media screen and (max-width: 980px) {
  .page-founder-philosophy .BlkNavStructures__navSub__txt--nyugaku {
    padding-left: 0px !important;
  }

}

@media screen and (max-width: 980px) {
  .BlkNavStructures__navFacility {
    border-right: none;
    border-top: #fff 1px solid;
    clear: both;
    float: none;
    background-color: #008a65;
    padding: 20px 0 30px;
    margin: 30px 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .BlkNavStructures__navFacility__item a {
    background-color: #fff;
    color: #333;
    width: 100%;
    height: 50px;
    padding: 0;
    display: block;
    border-radius: 6px;
    position: relative;
    box-shadow: 3px 3px #008a65;
    transition: 0.1s;
  }

  .BlkNavStructures__navLanguage {
    /* border-top: #fff 1px solid; */
    border-right: none;
    border-left: none;
    background-color: #008a65;
    float: none;
    margin: 0 30px;
    padding: 0 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
.caption-flex-group {
    width: 90%;
    /* margin-left: 9%; */
}

}
@media screen and (max-width: 554px) {
  .caption-flex-group {
    flex-direction: column;
    margin-left: 10%;
  }

  .caption-flex-group p.caption.caption-flex-right {
  text-align: right; /* 右側だけ右寄せにする */
  justify-content: flex-end; /* 右寄せのまま */
        left: 15%;
}
}
/* 右側キャプション：PCは「▲ テキスト」、SPは「テキスト ▲」 */
p.caption.caption-flex-right {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
width: 80%;
padding-left: 5px;
position: absolute;
top: 79%;
left: 17%;
}

/* ▲（アイコン） */
p.caption.caption-flex-right .cap-arrow {
  order: 0; /* PC：左 */
}

/* SP：▲を右へ */
@media screen and (max-width: 768px) {
  .caption-flex-group {
    width: 80%;
    margin-left: 9%;

}
  p.caption.caption-flex-right {
  text-align: right;
  padding-right: 10px;
  position: absolute;

        left: 8%;
}
  /* p.caption.caption-flex-right .cap-arrow { */
    /* order: 1; 
  } */
}
