@charset "UTF-8";

@media print, screen and (min-width: 641px) {
  .btn_menu {
    display: none;
  }
}

/*==================================================================

  home_loading

==================================================================*/
.home_loading {
  width: 100%;
  height: 100%;
  background: #fbf0e8;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 10002;
  overflow: hidden;
}
.home_loading_logo {
  width: 500px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.home_loading_logo div {
  width: 200%;
  height: 120%;
  background: linear-gradient(100deg, rgb(251 240 232 / 0) 0%, rgb(251 240 232 / 0.3) 25%, rgb(251, 240, 232) 50%);
  position: absolute;
  right: 0;
  top: 0;
}

@media screen and (max-width: 640px) {
  .home_loading_logo {
    width: 70%;
  }
}

/*==================================================================

  メインビジュアル

==================================================================*/
.home_mv {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  padding-right: 50px;
  padding-left: 100px;
  position: relative;
}
.home_mv_nav {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
  width: 240px;
  line-height: 1.6;
  padding-top: 65px;
}
.home_mv_nav li:not(:last-child) {
  margin-bottom: 25px;
}
.home_mv_nav a {
  display: inline-block;
  font-size: 18px;
  color: var(--text-color);
  padding-bottom: 3px;
  position: relative;
}
@media (hover: hover) {
  .home_mv_nav a::after {
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    background: currentColor;
    position: absolute;
    bottom: 0;
    right: 0;
    transition: transform 0.3s ease-out;
    transform: scaleX(0);
  }
  .home_mv_nav a:hover::after {
    transform: scaleX(1);
  }
}
.home_mv_catch {
  font-size: 26px;
  margin-bottom: 50px;
}
.home_mv_img {
  display: flex;
  gap: 0 7%;
  margin-top: 75px;
}
.home_mv_img > *:first-child {
  max-width: 880px;
  width: 50%;
}
.home_mv_img > *:last-child {
  max-width: 600px;
  width: 34%;
  padding-top: 6.2%;
}

@media print, screen and (min-width: 641px) {
  .home_mv_inner {
    display: flex;
    align-items: flex-start;
  }
  .home_mv_slide {
    width: calc(100% - 240px);
    padding-top: 260px;
  }
  .home_mv_text {
    line-height: 2.5;
  }
}

@media screen and (max-width: 640px) {
  .home_mv {
    padding-top: 120px;
    padding-right: 6%;
    padding-left: 6%;
  }
  .home_mv_nav {
    display: none;
  }
  .home_mv_catch {
    font-size: clamp(18px, 5.8vw, 22px);
    margin-bottom: 25px;
  }
  .home_mv_img {
    gap: 0 6%;
    margin-top: 30px;
  }
  .home_mv_img > *:first-child {
    width: 60%;
  }
  .home_mv_img > *:last-child {
    padding-top: 10%;
  }
}

/* ------------- 波 ------------- */
.home_mv::before {
  display: block;
  content: "";
  width: 100%;
  height: calc(100% - 588px);
  background: #fbf0e8;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.home_mv_wave {
  width: 100%;
  height: 480px;
  background: url(../images/home/mv_wave.png) center top/auto 100% repeat-x;
  position: absolute;
  bottom: 110px;
  left: 0;
  z-index: -1;
  animation: mv_wave_anime1 6s infinite linear, mv_wave_anime2 6s infinite ease;
  transform-origin: top center;
}

@keyframes mv_wave_anime1 {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 2084px 0;
  }
}
@keyframes mv_wave_anime2 {
  0%, 100% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1, 0.3);
  }
}

@media screen and (max-width: 640px) {
  .home_mv::before {
    height: calc(100% - 158px);
  }
  .home_mv_wave {
    height: 120px;
    bottom: 40px;
  }
  @keyframes mv_wave_anime1 {
    from {
      background-position: 0 0;
    }
    to {
      background-position: 521px 0;
    }
  }
}

/*==================================================================

  タイトル

==================================================================*/
.home_titEn {
  color: #a9a28a;
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  font-size: 80px;
  letter-spacing: 0.12em;
  line-height: 1.2;
  word-break: normal;
  margin-bottom: 30px;
}

@media screen and (max-width: 640px) {
  .home_titEn {
    font-size: clamp(30px, 10.1vw, 50px);
  }
  .home_titEn.home_titEn-small {
    font-size: clamp(20px, 6.6vw, 50px);
  }
}

.home_tit {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 32px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.home_titEn + .home_tit {
  margin-top: 60px;
}

@media screen and (max-width: 640px) {
  .home_tit {
    font-size: clamp(16px, 5.3vw, 20px);
    margin-bottom: 30px;
  }
  .home_titEn + .home_tit {
    margin-top: -10px;
  }
}

/*==================================================================

  message

==================================================================*/
.home_message {
  margin-top: 340px;
  padding-bottom: 145px;
  background: url(../images/home/message_wave.png) center bottom no-repeat;
  margin-bottom: -2px;
}
.home_message_img div:nth-child(1) {
  max-width: 440px;
  width: 79%;
  margin-bottom: 95px;
}
.home_message_img div:nth-child(2) {
  max-width: 330px;
  width: 59%;
  margin-left: auto;
}
.home_message_text p:not(:last-child) {
  margin-bottom: 2.8em;
}

@media print, screen and (min-width: 641px) {
  .home_message {
    overflow: hidden;
  }
  .home_message .inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  .home_message .home_titEn {
    width: 100%;
    text-align: right;
    margin-bottom: 0;
  }
  .home_message_img {
    width: 564px;
    margin-left: -127px;
  }
  .home_message_text {
    width: 542px;
    line-height: 2.8;
  }
}
@media screen and (min-width: 641px) and (max-width: 1340px) {
  .home_message_img {
    margin-left: 0;
  }
}

@media screen and (max-width: 640px) {
  .home_message {
    padding-bottom: 0;
    margin-top: 50px;
    background-size: 100% auto;
  }
  .home_message_img {
    margin-top: 30px;
  }
  .home_message_img div:nth-child(1) {
    margin-bottom: 25px;
  }
  .home_message_text p:not(:last-child) {
    margin-bottom: 1.5em;
  }
}

/*==================================================================

  topics

==================================================================*/
.home_topics {
  padding-top: 90px;
  padding-bottom: 200px;
  background: #faf7f4;
}
.home_topics_item {
  line-height: 1.4;
}
.home_topics_item:not(:last-child) {
  margin-bottom: 38px;
}
.home_topics_item a {
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #fff;
  border-radius: 35px;
  padding: 20px 45px 20px 55px;
}
.home_topics_item a > * {
  display: block;
}
@media (hover: hover) {
  .home_topics_item a {
    transition-duration: 0.5s;
  }
  .home_topics_item a:hover {
    background-color: #f7e8dd;
  }
}
.home_topics_item_date, .home_topics_item_cate {
  flex-shrink: 0;
}
.home_topics_item_cate {
  padding: 5px 15px;
  font-style: normal;
  text-align: center;
}
.home_topics_item_tit {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media print, screen and (min-width: 641px) {
  .home_topics .inner {
    display: flex;
    align-items: flex-start;
  }
  .home_topics_head {
    flex: 1;
  }
  .home_topics_head .home_titEn {
    margin-bottom: 90px;
  }
  .home_topics #mp-title {
    width: 800px;
    padding-top: 120px;
  }
}

@media screen and (max-width: 640px) {
  .home_topics {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .home_topics .btn01 {
    text-align: right;
  }
  .home_topics_list {
    margin-top: 20px;
  }
  .home_topics_item:not(:last-child) {
    margin-bottom: 20px;
  }
  .home_topics_item a {
    flex-wrap: wrap;
    padding: 15px 25px;
  }
  .home_topics_item_tit {
    width: 100%;
  }
}

/*==================================================================

  home_concept

==================================================================*/
.home_concept {
  padding-top: 170px;
  padding-bottom: 355px;
  background: url(../images/home/concept_bg.jpg) center top no-repeat;
  position: relative;
  overflow: hidden;
}
.home_concept::before {
  display: block;
  content: "";
  width: 100%;
  height: 954px;
  background: #e4c9bc;
  position: absolute;
  left: 0;
  bottom: 0;
}
.home_concept::after {
  display: block;
  content: "";
  width: 100%;
  height: 280px;
  background: url(../images/home/concept_wave.png) center top no-repeat;
  position: absolute;
  left: 0;
  bottom: 952px;
}
.home_concept > * {
  position: relative;
  z-index: 1;
}
.home_concept .home_titEn,
.home_concept .home_tit {
  color: #fff;
  text-shadow: 0 0 10px rgb(67 57 52 / 0.8);
  text-align: right;
}
.home_concept_text {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #fff;
  background: #4c5a72;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 28px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  padding: 16px 52px;
  margin: 0 auto 120px;
}
.home_concept_item {
  display: flex;
  flex-flow: column;
}
.home_concept_item_img {
  text-align: center;
  position: relative;
}
.home_concept_item_num {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  color: #a9a28a;
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  font-size: 40px;
  letter-spacing: 0.12em;
  line-height: 1;
  background: #fff;
  padding: 13px 53px;
  position: absolute;
  bottom: -25px;
  left: 0;
}
.home_concept_item_num span {
  font-size: 175%;
  font-family: "adobe-jenson-pro", serif;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.home_concept_item_box {
  flex: 1;
  background: rgb(255 255 255 / 0.8);
  padding: 80px 9% 90px;
}
.home_concept_item_tit {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: clamp(22px, 1.4vw, 26px);
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 40px;
}

@media print, screen and (min-width: 641px) {
  .home_concept .home_tit {
    margin-bottom: 120px;
  }
  .home_concept .home_concept_list {
    max-width: 1920px;
    margin-inline: auto !important;
    height: auto;
    padding-inline: 50px !important;
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 45px 0;
  }
  .home_concept_item {
    width: 49%;
    max-width: 890px;
  }
  .home_concept_item_text {
    line-height: 2.5;
  }
  .home_concept .splide__arrows {
    display: none !important;
  }
}

@media screen and (max-width: 640px) {
  .home_concept {
    padding-top: 50px;
    padding-bottom: 50px;
    background-image: url(../images/home/concept_bg_sp.jpg);
    background-size: cover;
  }
  .home_concept::before {
    height: 140px;
  }
  .home_concept::after {
    height: auto;
    aspect-ratio: 1920/280;
    background-size: 100% auto;
    bottom: 138px;
  }
  .home_concept_text {
    font-size: clamp(15px, 4.2vw, 16px);
    padding: 10px 20px;
    margin-bottom: 40px;
  }
  .home_concept_item_num {
    font-size: 24px;
    padding: 10px 20px;
  }
  .home_concept_item_box {
    padding: 50px 6% 30px;
  }
  .home_concept_item_tit {
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }
  .splide__arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: url(../images/home/concept_arrow_next.png) var(--main-color) center/12px auto no-repeat;
    border-radius: 50%;
    font-size: 0;
    cursor: pointer;
    position: absolute;
    top: 50%;
    z-index: 10;
    transform: translateY(-50%);
  }
  .splide__arrow--prev {
    left: 0;
    background-image: url(../images/home/concept_arrow_prev.png);
  }
  .splide__arrow--next {
    right: 0;
  }
  .splide__pagination {
    gap: 10px 15px;
    margin: 20px auto 0;
  }
  .splide__pagination__page {
    width: 10px;
    height: 10px;
    background-color: #e8e8e8;
    border-radius: 50%;
    transition: background-color 0.2s;
  }
  .splide__pagination__page.is-active {
    background: var(--main-color);
  }
}

/*==================================================================

  endoscopy

==================================================================*/
.home_endoscopy {
  padding-top: 280px;
  background: #faf7f4;
  overflow: hidden;
}
.home_endoscopy .inner {
  position: relative;
  z-index: 1;
}
.home_endoscopy_flex {
  margin-bottom: 115px;
}
.home_endoscopy_text p:not(:last-child) {
  margin-bottom: 2.8em;
}
.home_endoscopy_img {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 5.5%;
}
.home_endoscopy_img > *:nth-child(1) {
  max-width: 455px;
  width: 63.2%;
  margin-left: auto;
}
.home_endoscopy_img > *:nth-child(2) {
  max-width: 365px;
  width: 50.7%;
}
.home_endoscopy_img > *:nth-child(3) {
  max-width: 290px;
  width: 40.3%;
  padding-top: 27.7%;
}
.home_endoscopy_accordion_btn {
  color: #fff;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 20px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  background-color: #4c5a72;
  cursor: pointer;
  margin-bottom: 12px;
  position: relative;
}
.home_endoscopy_accordion_btn::after, .home_endoscopy_accordion_btn::before {
  display: block;
  content: "";
  background: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.home_endoscopy_accordion_btn::before {
  width: 2px;
  height: 24px;
  left: 46px;
  transition: transform 0.3s;
}
.home_endoscopy_accordion_btn::after {
  width: 24px;
  height: 2px;
  left: 35px;
}
.home_endoscopy_accordion_btn span {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 100px;
  padding: 15px 0 15px 100px;
}
.home_endoscopy_accordion_btn span::after {
  display: none;
  content: "";
  width: 30px;
  height: 22px;
  background: #f4e6db;
  -webkit-clip-path: polygon(0 0, 100% 0, 50% 100%);
          clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.home_endoscopy_accordion_con {
  background: #fff;
  padding: 50px 90px 70px;
  display: none;
  position: relative;
}
.home_endoscopy_accordion_list li a {
  display: block;
  color: var(--text-color);
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 113%;
  letter-spacing: 0.12em;
  line-height: 1.6;
  background: url(../images/home/endoscopy_arrow.png) #f4e6db right 30px center/10px 14px no-repeat;
  border-radius: 20px;
  padding: 15px 40px 15px 35px;
}
@media (hover: hover) {
  .home_endoscopy_accordion_list li a {
    transition-duration: 0.5s;
    transition-timing-function: ease-in-out;
  }
  .home_endoscopy_accordion_list li a:hover {
    background-color: var(--main-color);
    color: #fff;
    background-image: url(../images/home/symptoms_arrow.png);
  }
}
.home_endoscopy_accordion_group.active .home_endoscopy_accordion_btn {
  background: #f4e6db;
  color: var(--text-color);
}
.home_endoscopy_accordion_group.active .home_endoscopy_accordion_btn::after, .home_endoscopy_accordion_group.active .home_endoscopy_accordion_btn::before {
  background: #4c5a72;
}
.home_endoscopy_accordion_group.active .home_endoscopy_accordion_btn::before {
  transform: translateY(-50%) rotate(90deg);
}
.home_endoscopy_accordion_group.active .home_endoscopy_accordion_btn span::after {
  display: block;
}

@media print, screen and (min-width: 641px) {
  .home_endoscopy {
    padding-bottom: 75px;
  }
  .home_endoscopy .home_tit {
    margin-bottom: 130px;
  }
  .home_endoscopy_flex {
    display: flex;
    gap: 0 120px;
  }
  .home_endoscopy_text {
    flex: 1;
    padding-top: 20px;
    line-height: 2.8;
  }
  .home_endoscopy_img {
    width: 720px;
    margin-right: -160px;
  }
  .home_endoscopy_accordion {
    display: flex;
    gap: 0 15px;
  }
  .home_endoscopy_accordion_group {
    width: 390px;
    position: relative;
  }
  .home_endoscopy_accordion_group.active {
    z-index: 1;
  }
  .home_endoscopy_accordion_con {
    width: 1200px;
  }
  .home_endoscopy_accordion_group:nth-child(2) .home_endoscopy_accordion_con {
    margin-left: -405px;
  }
  .home_endoscopy_accordion_group:nth-child(3) .home_endoscopy_accordion_con {
    margin-left: -810px;
  }
  .home_endoscopy_accordion_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .home_endoscopy_accordion_list li {
    width: 500px;
  }
  .home_endoscopy_accordion_list li a {
    height: 100%;
    min-height: 85px;
    display: flex;
    flex-flow: column;
    justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  .home_endoscopy {
    padding-top: 50px;
  }
  .home_endoscopy_flex {
    margin-bottom: 50px;
  }
  .home_endoscopy_text p:not(:last-child) {
    margin-bottom: 1.5em;
  }
  .home_endoscopy_img {
    gap: 20px 5.5%;
    margin-top: 30px;
  }
  .home_endoscopy_accordion_group:not(:last-child) {
    margin-bottom: 12px;
  }
  .home_endoscopy_accordion_btn {
    font-size: clamp(15px, 4.8vw, 18px);
  }
  .home_endoscopy_accordion_btn::before {
    height: 20px;
    left: 29px;
  }
  .home_endoscopy_accordion_btn::after {
    width: 20px;
    left: 20px;
  }
  .home_endoscopy_accordion_btn span {
    min-height: 80px;
    padding-left: 50px;
  }
  .home_endoscopy_accordion_con {
    padding: 40px 6%;
  }
  .home_endoscopy_accordion_list li:not(:last-child) {
    margin-bottom: 10px;
  }
  .home_endoscopy_accordion_list li a {
    background-position: right 20px center;
    padding-right: 30px;
    padding-left: 20px;
  }
}

/*==================================================================

  timing

==================================================================*/
.home_timing {
  overflow: hidden;
  background: url(../images/home/timing_wave.png) center top no-repeat;
  padding-top: 345px;
  padding-bottom: 325px;
  margin-top: -135px;
  position: relative;
}
.home_timing::before {
  display: block;
  content: "";
  width: 100%;
  height: calc(100% - 458px);
  background: linear-gradient(0deg, #faf7f4 0%, #fbf0e8 100%);
  pointer-events: none;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.home_timing .home_titEn,
.home_timing .home_tit {
  text-align: right;
}
.home_timing_text p:not(:last-child) {
  margin-bottom: 2.8em;
}
.home_timing_img img {
  -webkit-mask-image: url(../images/home/timing_mask.png);
          mask-image: url(../images/home/timing_mask.png);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: right top;
          mask-position: right top;
  -webkit-mask-size: 100%;
          mask-size: 100%;
}
.home_timing_list {
  background: #fff;
  padding: 115px 105px;
  border-radius: 20px;
  margin-top: -120px;
  position: relative;
}
.home_timing_list ul li {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  font-size: 113%;
  letter-spacing: 0.12em;
  line-height: 1.7;
  background: url(../images/check.png) left top/1.7em auto no-repeat;
  padding-left: calc(1.7em + 18px);
}

@media print, screen and (min-width: 641px) {
  .home_timing .home_tit {
    margin-bottom: 45px;
  }
  .home_timing_flex {
    display: flex;
    flex-direction: row-reverse;
    gap: 0 130px;
  }
  .home_timing_text {
    flex: 1;
    padding-top: 100px;
    padding-bottom: 120px;
    line-height: 2.8;
  }
  .home_timing_img {
    width: 890px;
    margin-left: -360px;
  }
  .home_timing_list ul {
    display: flex;
    flex-wrap: wrap;
    gap: 50px 0;
  }
  .home_timing_list ul li {
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  .home_timing {
    background-size: 100% auto;
    padding-top: calc(50px + 7%);
    padding-bottom: 80px;
    margin-top: -7%;
    overflow: hidden;
  }
  .home_timing::before {
    height: 100%;
    bottom: auto;
    top: 0;
    margin-top: calc(24% - 2px);
  }
  .home_timing_text p:not(:last-child) {
    margin-bottom: 1.5em;
  }
  .home_timing_img {
    padding-right: 6%;
    margin-top: 30px;
    margin-left: -6%;
  }
  .home_timing_list {
    padding: 40px 6%;
    margin-top: -12%;
  }
  .home_timing_list ul li {
    padding-left: calc(1.7em + 10px);
  }
  .home_timing_list ul li:not(:last-child) {
    margin-bottom: 15px;
  }
}

/*==================================================================

  infinitySlider

==================================================================*/
.infinitySlider {
  margin-top: -125px;
  margin-bottom: 250px;
}
.infinitySlider .splide__slide:nth-child(even) {
  padding-top: 212px;
}

@media screen and (max-width: 640px) {
  .infinitySlider {
    margin-top: -30px;
    margin-bottom: 30px;
  }
  .infinitySlider .splide__slide:nth-child(even) {
    padding-top: 60px;
  }
}

/*==================================================================

  symptoms

==================================================================*/
.home_symptoms {
  background: #4c5a72;
  padding-top: 185px;
  padding-bottom: 250px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
}
.home_symptoms,
.home_symptoms a {
  color: #fff;
}
.home_symptoms_list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 12px;
}
.home_symptoms_list li {
  width: 190px;
}
.home_symptoms_list li a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  height: 100%;
  line-height: 1.5;
  border-bottom: 1px solid currentColor;
  padding: 17px 0 17px 32px;
  background: url(../images/home/symptoms_arrow.png) left 8px center/10px auto no-repeat;
}
@media (hover: hover) {
  .home_symptoms_list li a:hover {
    background-position: left 18px center;
  }
}
.home_symptoms_text {
  text-align: right;
  margin-top: 40px;
}

@media print, screen and (min-width: 641px) {
  .home_symptoms .home_tit {
    margin-bottom: 115px;
  }
}

@media screen and (max-width: 640px) {
  .home_symptoms {
    padding-top: 50px;
    padding-bottom: calc(50px + 4%);
  }
  .home_symptoms_list {
    gap: 12px;
  }
  .home_symptoms_list li {
    width: calc((100% - 12px) / 2);
  }
  .home_symptoms_text {
    margin-top: 20px;
  }
}

/*==================================================================

  medical

==================================================================*/
.home_medical_head {
  padding-top: 1px;
  padding-bottom: 150px;
  background: linear-gradient(0deg, #fff 0%, #f1dccd 100%);
}
.home_medical_img {
  margin-top: -75px;
  margin-bottom: 210px;
}
.home_medical .home_tit,
.home_medical .home_titEn {
  text-align: center;
}
.home_medical .home_tit {
  margin-bottom: 0;
}
.home_medical_list {
  display: flex;
  flex-wrap: wrap;
}
.home_medical_item {
  width: 25%;
  font-size: clamp(20px, 1.4vw, 26px);
}
.home_medical_item a {
  display: flex;
  flex-flow: column;
  justify-content: center;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  background: #000;
  padding: 7.9% 10px 0;
  position: relative;
}
.home_medical_item a > * {
  position: relative;
}
.home_medical_item_img {
  opacity: 0.5;
  position: absolute !important;
  left: 0;
  top: 0;
}
@media (hover: hover) {
  .home_medical_item_img {
    transition: opacity 0.5s ease-out;
  }
}
.home_medical_item_img,
.home_medical_item_img img {
  width: 100%;
  height: 100%;
}
.home_medical_item_img img {
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
@media (hover: hover) {
  .home_medical_item a:hover .home_medical_item_img {
    opacity: 0.7;
  }
}
.home_medical_item_icon {
  max-width: 80px;
  margin: 0 auto 13%;
}
.home_medical_item_tit {
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  letter-spacing: 0.12em;
}
.home_medical_item_en {
  font-family: var(--font-en);
  font-weight: var(--font-en-weight);
  font-size: 62%;
  margin-top: 6%;
  word-break: normal;
}

@media print, screen and (min-width: 641px) {
  .home_medical_item a {
    aspect-ratio: 768/720;
  }
}

@media screen and (max-width: 640px) {
  .home_medical_head {
    padding-bottom: 30px;
  }
  .home_medical_img {
    margin-top: -4%;
    margin-bottom: 50px;
    text-align: center;
  }
  .home_medical_item {
    width: 50%;
  }
  .home_medical_item {
    font-size: 107%;
  }
  .home_medical_item a {
    height: 100%;
    display: block;
    padding: 20px 10px;
  }
  .home_medical_item_icon {
    max-width: 40px;
    margin-bottom: 8px;
  }
  .home_medical_item_en {
    font-size: 74%;
    margin-top: 8px;
  }
  .home_medical_list:first-of-type .home_medical_item {
    width: 100%;
    font-size: 129%;
  }
}

/*==================================================================

  greeting

==================================================================*/
.home_greeting {
  padding-top: 280px;
  padding-bottom: 335px;
  background: url(../images/home/greeting_wave.png) #f2f0ed center bottom no-repeat;
  overflow: hidden;
}
.home_greeting_img img {
  -webkit-mask-image: url(../images/home/greeting_mask.png);
          mask-image: url(../images/home/greeting_mask.png);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: right top;
          mask-position: right top;
  -webkit-mask-size: 100%;
          mask-size: 100%;
}
.home_greeting_name {
  color: #938b72;
  font-size: 24px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-align: right;
  margin-top: 65px;
}
.home_greeting_name span:first-child {
  font-size: 83%;
}
.home_greeting_name span:last-child {
  display: block;
  font-size: 58%;
  letter-spacing: 0.12em;
}
.home_greeting_text .btn01 {
  margin-top: 110px;
}

@media print, screen and (min-width: 641px) {
  .home_greeting .home_tit {
    margin-bottom: 90px;
  }
  .home_greeting_flex {
    display: flex;
    flex-direction: row-reverse;
    gap: 0 140px;
  }
  .home_greeting_imgArea {
    width: 860px;
    margin-right: -360px;
    margin-top: -235px;
  }
  .home_greeting_name {
    max-width: 500px;
  }
  .home_greeting_text {
    flex: 1;
    line-height: 2.8;
  }
}

@media screen and (max-width: 640px) {
  .home_greeting {
    padding-top: 50px;
    padding-bottom: calc(50px + 6%);
    background-size: 100% auto;
  }
  .home_greeting_img {
    margin-right: -6%;
  }
  .home_greeting_name {
    margin-top: 15px;
  }
  .home_greeting_text {
    margin-top: 30px;
  }
  .home_greeting_text .btn01 {
    margin-top: 20px;
  }
}

/*==================================================================

  contact

==================================================================*/
.home_contact {
  padding: 190px 50px 520px;
  margin-top: -2px;
  background: url(../images/home/contact_bg_l.png) left top 226px no-repeat, url(../images/home/contact_bg_r.png) right bottom 288px no-repeat;
}
.home_contact .home_tit,
.home_contact .home_titEn {
  text-align: center;
}
.home_contact_list {
  border-radius: 20px;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgb(228 201 188 / 0.5);
}
.home_contact_item {
  padding: 20px;
  text-align: center;
}
.home_contact_item_icon {
  max-width: 130px;
  aspect-ratio: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  background: #fbf0e8;
  border-radius: 50%;
  color: #9e9679;
  font-size: 57px;
  margin: 0 auto 25px;
}
.home_contact_item_tit {
  font-size: 26px;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  letter-spacing: 0.12em;
  line-height: 1.5;
  margin-bottom: 30px;
}
.home_contact_item_text:not(:last-child) {
  margin-bottom: 30px;
}
.home_contact_item .home_contact_item_tel {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  font-size: 34px;
  color: var(--main-color);
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0 auto 35px;
}
.home_contact_item .home_contact_item_tel span {
  font-size: 59%;
}
.home_contact_bnr {
  margin-top: 60px;
}
.home_contact_bnr_text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 25px;
  background: #4c5a72;
  border-radius: 10px;
  color: #fff;
  font-size: 113%;
  font-family: var(--font-jp);
  font-weight: var(--font-jp-weight);
  line-height: 1.6;
  text-align: center;
  padding: 10px 20px;
}
.home_contact_bnr_text_en {
  font-size: 89%;
  margin-top: 0.5em;
  word-break: normal;
}

@media print, screen and (min-width: 641px) {
  .home_contact .home_tit {
    margin-bottom: 120px;
  }
  .home_contact_list {
    display: flex;
    padding-block: 55px;
  }
  .home_contact_item {
    display: flex;
    flex-flow: column;
    width: 33.3%;
  }
  .home_contact_item:not(:last-child) {
    border-right: 1px solid #a9a28a;
  }
  .home_contact_item > * {
    width: 100%;
  }
  .home_contact_item .btn01 {
    margin-top: auto;
  }
  .home_contact_item .btn01 a {
    width: 100%;
    max-width: 372px;
  }
  .home_contact_item .btn01 a::after {
    content: "→";
    padding-left: 20px;
  }
  .home_contact_bnr {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .home_contact_bnr > * {
    width: calc((100% - 60px) / 2);
  }
}

@media screen and (max-width: 640px) {
  .home_contact {
    padding: 50px 5% 200px;
    background-size: 40% auto, 70% auto;
    background-position: left top 80px, right bottom 145px;
  }
  .home_contact_list {
    padding-inline: 6%;
  }
  .home_contact_item {
    padding: 20px 0;
  }
  .home_contact_item:not(:last-child) {
    border-bottom: 1px solid #a9a28a;
  }
  .home_contact_item_icon {
    max-width: 65px;
    font-size: 34px;
    margin-bottom: 10px;
  }
  .home_contact_item_tit {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .home_contact_item_text:not(:last-child) {
    margin-bottom: 15px;
  }
  .home_contact_item .home_contact_item_tel {
    font-size: clamp(22px, 7.4vw, 34px);
    margin-bottom: 15px;
  }
  .home_contact_bnr {
    margin-top: 30px;
  }
  .home_contact_bnr > *:not(:last-child) {
    margin-bottom: 15px;
  }
}