@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *アニメーション
  - *タイトル
  - *メインビジュアル
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *医療コラム
--------------------- */
/* ==================================================================================================================================

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.front {
  overflow: hidden;
}

section .inner {
  padding: 120px 40px;
  max-width: 1400px;
}

.text > *:not(:last-child) {
  margin-bottom: 2em;
}

/* ----- パララックス ----- */
.parallax {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
}

/* 切り抜く範囲 */
.parallax_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  clip-path: inset(0);
}

/* 固定する画像 */
.parallax_img::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  section .inner {
    padding: 70px 20px;
  }

  /* ----- パララックス ----- */
  .parallax {
    height: 300px;
  }
}

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

  *アニメーション

================================================================================================================================== */
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeRightAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeLeftAnime {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomInAnime {
  from {
    pointer-events: none;
    transform: scale(0.5);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes zoomOutAnime {
  from {
    pointer-events: none;
    transform: scale(1);
  }

  to {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes scrolldown {
  0% {
    transform: translateX(100%);
  }

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

.fadeUp,
.zoomOut,
.zoomIn,
.fadeRight,
.fadeLeft {
  opacity: 0;
}

.fadeUp.is-active {
  animation: fadeUpAnime 1s forwards;
}

.fadeRight.is-active {
  animation: fadeRightAnime 1s forwards;
}

.fadeLeft.is-active {
  animation: fadeLeftAnime 1s forwards;
}

.zoomIn.is-active {
  animation: zoomInAnime 0.8s forwards;
}

.zoomOut.is-active {
  animation: zoomOutAnime 1s forwards;
}

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;

  /* 左寄せ */
}

.top_title.title_left {
  text-align: start;
}

.top_title h2 {
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 180%;
  letter-spacing: 0.1em;
}

.top_title .eng {
  display: inline-block;
  color: var(--sub-color);
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 390%;
  line-height: 1;
  letter-spacing: 0.08em;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .top_title {
    margin-bottom: 30px;
  }

  .top_title h2 {
    margin: 5px 0 0;
    font-size: 24px;
  }

  .top_title .eng {
    font-size: 45px;
    letter-spacing: 0.08em;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  overflow: hidden;
  padding: 0px 26px 26px 0px;
  background: var(--bg-color);
}

.mvSlider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* ----- スライダーのArrowボタン ----- */
.mvSlider .sliderBtn {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
}

.mvSlider .sliderBtn#mv_btnPrev {
  left: 20px;
}

.mvSlider .sliderBtn#mv_btnNext {
  right: 20px;
}

.mvSlider .sliderBtn span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: var(--main-color);
  border-radius: 50%;
  transition: background 0.2s;
}

.mvSlider .sliderBtn span:hover {
  background: var(--text-color);
}

.mvSlider .sliderBtn span::before {
  padding: 0 0 1px 0;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: #ffffff;
  font-size: 15px;
  transition: color 0.2s;
}

.mvSlider .sliderBtn#mv_btnPrev span::before {
  content: "\f060";
}

.mvSlider .sliderBtn#mv_btnNext span::before {
  content: "\f061";
}

/* 各スライダーのボタンは非表示に */
.mvSlider .splide__arrows {
  display: none;
}

/* ----- MVの画像 ----- */
.mvImg {
  width: 100%;
  height: 100%;
  padding-left: 300px;
}

.mvImg .splide__track {
  width: 100%;
  height: 100%;
}

.mvImg .splide__slide {
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.mvImg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* フェードの専用スタイル */
.fade .mvImg .splide__slide img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  height: calc(100% + 50px);
  pointer-events: none;
}

/* アニメーションを実行 */
.fade.move .mvImg .splide__slide img {
  animation: hideTranslate 8s ease-out forwards;
}

.fade.move .mvImg .splide__slide.is-active img {
  animation: showTranslate 8s ease-out forwards;
}

/* MVのアニメーション  */
@keyframes showTranslate {
  0% {
    transform: translate3d(0, 0px, 0);
  }

  100% {
    transform: translate3d(0, -30px, 0);
  }
}
@keyframes hideTranslate {
  0% {
    transform: translate3d(0, -30px, 0);
  }

  100% {
    transform: translate3d(0, 0px, 0);
  }
}

/* ----- キャッチコピー ----- */
.mvCatch {
  position: absolute !important;
  top: 40%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
  max-width: unset;
  padding: 0 52px;
}

.mvCatch p {
  width: fit-content;
  font-family: var(--jp-font);
  font-weight: 700;
}

.mvCatch .main_catch{
  color: #fff;
  margin-bottom: 11px;
  background: var(--main-color);
  padding: 8px 15px 8px 30px;
  font-size: 180%;
  letter-spacing: 0.12em;
}

.mvCatch .sub_catch{
  border-top: dotted 2px var(--main-color);
  margin-top: 30px;
  padding-top: 25px;
  color: var(--main-color);
  font-size: 100%;
  line-height: 1.75;
  letter-spacing: 0.15em;
  text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff;
  filter: drop-shadow(0 0 4px rgb(255, 255, 255, 0.5)) drop-shadow(0 0 4px rgb(255, 255, 255, 0.6));
}

/* ----- コンテンツ ----- */
.mvContents {
  position: absolute !important;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: unset;
  padding: 0 52px;
}

.mvContents .splide__track {
  width: 100%;
  height: 100%;
}

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  border: 1px solid var(--main-color);
}

.open_bnr > * {
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 30px;
  height: 180px;
  padding: 40px 40px;
  background: rgba(255, 255, 255, 1);
  color: var(--main-color);
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

.open_bnr .date {
  font-size: 110%;
}

.open_bnr .open_text {
  font-size: 150%;
}

.open_bnr .open_bnr_right{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-left: 1px solid var(--main-color);
  padding-left: 30px;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: rgb(8, 49, 144, 0.15);
  color: var(--main-color);
  font-size: 75%;
  text-align: center;
}

.open_bnr .nairakai_date{
  letter-spacing: 0.06em;
}

/* サブカラー */
.open_bnr.subcolor > * {
  background: var(--sub-color);
}

.open_bnr.subcolor > * .nairankai_tit {
  color: var(--sub-color);
}

/*----- MVのバナー -----*/
.mv_bnr {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 20px;
  bottom: 50px;
  left: 554px;
}

.mv_bnr div a{
  width: 190px;
  height: 190px;
  padding: 90px 10px 20px;
  border: 1px solid var(--main-color);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
  text-align: center;
  font-size: 16px;
  font-family: var(--jp-font);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.6;
  color: var(--text-color);
  position: relative;
  z-index: 0;
  transition: 0.3s;  
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 10px 50px;
}

.mv_bnr div a:hover{
  transform: translateY(-10px);
  opacity: 0.8;
}

.mv_bnr div a.nolink{
  pointer-events: none;
}

.mv_bnr div a::before {
  position: absolute;
  content: '';
  background: url(../images/front/mv_bnr_icon01.png) no-repeat center / contain;
  width: 57px;
  height: 57px;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.mv_bnr div:nth-of-type(2) a::before{
  background: url(../images/front/mv_bnr_icon02.png) no-repeat center / contain;
}

.mv_bnr div a::after{
  content: '';
  position: absolute;
  background: #fff;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.mv_bnr div a .morebtn{
  margin-top: 4px;
  padding: 9px 30px 5px 15px;
  border-radius: 30px;
  color: var(--main-color);
  font-family: var(--en-font);
  font-weight: 500;
  font-size: 80%;
  line-height: 1;
  position: relative;
  z-index: 0;
}

.mv_bnr div a .morebtn::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgb(8, 49, 144, 0.15);
  transform: translateY(-50%);
  transition: right 0.2s;
  z-index: -2;
}

.mv_bnr div a .morebtn::after{
  content: '';
  position: absolute;
  background: var(--main-color);
  -webkit-mask: url(../images/common/arrow-right.svg) no-repeat center / contain;
  mask: url(../images/common/arrow-right.svg) no-repeat center / contain;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  width: calc(131px * 0.08);
  height: calc(150px * 0.08);
  z-index: -1;
}

/* ----- スマホ専用エリア ----- */
.sp_only {
  display: none;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 500px;
    padding: 0;
    background: #fff;
  }

  .mvImg{
    padding: 0 0 110px;
  }

  /* ----- スライダーのArrowボタン ----- */
  .mvSlider .sliderBtn {
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 2px;
    font-size: 12px;
  }

  .mvSlider .sliderBtn#mv_btnPrev {
    left: 10px;
  }

  .mvSlider .sliderBtn#mv_btnNext {
    right: 10px;
  }

  .mvSlider .sliderBtn span::before {
    font-size: 11px;
  }

  /* ----- キャッチコピー ----- */
  .mvCatch {
    top: auto;
    bottom: 10px;
    transform: unset;
    display: none;
  }

  .mvCatch .inner{
    padding: 0 20px;
  }

  .mvCatch.is-active {
    display: block;
  }

  .mvCatch .main_catch{
    margin-bottom: 5px;
    padding: 6px 10px;
    font-size: 18px;
    letter-spacing: 0.08em;
  }

  .mvCatch .sub_catch{
    margin-top: 20px;
    padding-top: 15px;
    font-size: 13px;
    letter-spacing: 0.06em;
    line-height: 1.6;
  }

  /* ----- コンテンツ ----- */
  .mvContents {
    display: none;
  }

  /* ----- 開院バナー ----- */
  .open_bnr {
    position: static;
    width: 100%;
    max-width: 350px;
    padding: 0;
    border-radius: 0;
  }

  .open_bnr > * {
    gap: 15px;
    width: 100%;
    height: auto;
    padding: 20px 15px;
    border-radius: 0;
    font-size: 100%;
  }

  .open_bnr_left{
    width: calc(50% - 20px);
  }

  .open_bnr .date{
    font-size: 100%;
    letter-spacing: 0.08em;
  }

  .open_bnr .open_bnr_right{
    padding-left: 20px;
  }

  /*----- MVのバナー -----*/
  .mv_bnr{
    position: unset;
    gap: 10px;
    height: 100%;
    max-width: 350px;
	flex-shrink: 0;
  }

  .mv_bnr div{
    width: 50%;
    height: 170px;
  }

  .mv_bnr div a{
    width: 100%;
    height: 100%;
    padding: 70px 10px 20px;
    font-size: 95%;
    letter-spacing: 0.07em;
  }

  .mv_bnr div a::before{
    width: 45px;
    height: 45px;
    top: 13px;
  }


  /* ----- スマホ専用エリア ----- */
  .sp_only {
    display: block;
    background: none !important;
  }

  .sp_only .inner {
    padding: 0 20px 20px;
  }

  .sp_only_contents {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
}

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

  *医院概要（パターン02）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  border-right: 26px solid var(--bg-color);
  border-left: 26px solid var(--bg-color);
}

/* ----- お知らせ ----- */
.clinic .news {
  position: relative;
  z-index: 1;
}

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  padding: 100px 40px 70px;
}

.clinic .news .news_left {
  flex-shrink: 0;
}

.clinic .news .top_title {
  margin: 0 0 30px;
}

.clinic .news .top_title .eng{
  font-size: 370%;
  letter-spacing: 0.07em;
}

.clinic .news .top_title h2{
  font-size: 160%;
}

.clinic .news .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: flex;
  gap: 40px;
  padding: 0 40px 100px;
}

.clinic .info .inner>* {
  width: calc(50% - 20px);
}

.clinic .info address>* {
  position: relative;
  z-index: 1;
  min-height: 40px;
}

.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 0 2px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 16px;
}

.clinic .info address .location {
  padding: 5px 0 5px 50px;
}

.clinic .info address .location::before {
  content: "\f3c5";
}

.clinic .info address .location .zipcode {
  margin-right: 10px;
}

.clinic .info address .tel {
  margin-top: 15px;
  padding: 3px 0 7px 50px;
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 38px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.clinic .info address .tel::before {
  content: "\f3cd";
}

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.1em;
}

.clinic .info address .fax::before {
  content: "\f249";
}

.clinic .info .note {
  margin-top: 20px;
  padding-left: 12px;
  font-size: 90%;
}

.clinic .info .speciality {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: var(--bg-color);
  font-family: var(--jp-font);
  font-weight: 400;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  /* background: var(--main-color);
  color: #ffffff; */
  text-align: center;
}

.clinic .info .googlemap iframe {
  height: 350px;
  width: 100%;
}

.clinic .info .list_access {
  margin-top: 5px;
}

.clinic .info .calendar_text {
  margin-top: 20px;
}

.clinic .info .btn01 {
  margin-top: 30px;
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .clinic{
    border-right: 13px solid var(--bg-color);
    border-left: 13px solid var(--bg-color);
  }

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
    padding: 0 20px 70px;
  }

  .clinic .info .inner>* {
    width: 100%;
  }

  .clinic .info .speciality {
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }

  .clinic .info .speciality .title {
    width: 100%;
  }

  .clinic .info address .tel,
  .clinic .info address .fax{
    padding: 6px 0 7px 50px;
    font-size: 30px;
  }
}

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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: var(--bg-color);
}

.greeting .inner{
  padding-top: 120px;
  max-width: 1600px;
}

.greeting_box {
  position: relative;
  z-index: 1;
}

.greeting_flex {
  display: flex;
  gap: 20px;
}

.greeting_box:not(:last-child) {
  margin-bottom: 70px;
}

.greeting_left {
  flex-shrink: 0;
  width: 65%;
  position: relative;
  z-index: 0;
  padding-right: 130px;
}

.greeting_text > *:not(:last-child) {
  margin-bottom: 1.5em;
}

.greeting_text h3{
  font-family: var(--jp-font);
  font-weight: 700;
  margin-bottom: 2.5em!important;
}

.greeting_text h3 .main_title{
  width: fit-content;
  background: var(--main-color);
  padding: 8px 15px 8px 30px;
  color: #fff;
  margin-bottom: 11px;
  font-size: 160%;
  letter-spacing: 0.13em;
  line-height: 1.75;
}

.greeting_text h3 > .main_title:nth-of-type(2){
  margin-left: 1.5em;
}

.greeting_text h3 .sub_title{
  margin-top: 2em;
  color: var(--main-color);
  font-size: 100%;
  line-height: 2;
  letter-spacing: 0.23em;
  position: absolute;
  top: 0;
  right: 0;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

.greeting_text h3 .sub_title span{
  padding: 5px 5px 0px 0;
  border-right: dotted 2px var(--line-color);
}

.greeting_text h3 .sub_title span:last-of-type{
  margin-top: 2em;
}

.greeting_text p{
  font-size: 18px;
  line-height: 1.95;
}

.greeting_right{
  margin-top: 0px;
}

.greeting_profile {
  margin-top: 25px;
  font-family: var(--jp-font);
  font-weight: 700;
  line-height: 1.75;
  text-align: center;
}

.greeting_profile .position {
  margin-bottom: 5px;
  font-size: 115%;
}

.greeting_profile .name {
  font-size: 140%;
}

.greeting_btn {
  margin-top: 40px;
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting .inner{
    padding-top: 70px;
  }
  .greeting_flex {
    flex-flow: column-reverse;
    gap: 35px;
  }

  .greeting_left {
    width: 100%;
    padding: 0;
  }

  .greeting_text h3{
    margin-bottom: 2em!important;
  }

  .greeting_text h3 .main_title{
    margin-bottom: 5px;
    padding: 8px 10px 6px;
    font-size: 110%;
    letter-spacing: 0.08em;
  }

  .greeting_text h3 > .main_title:nth-of-type(2){
    margin-left: 0;
  }

  .greeting_text h3 .sub_title{
    position: unset;
    writing-mode: horizontal-tb;
    margin-top: 20px;
    font-size: 96%;
    letter-spacing: 0.05em;
    line-height: 2;
  }

  .greeting_text h3 .sub_title span{
    padding: 0 0 3px 0;
    border-right: none;
    border-bottom: dotted 2px var(--line-color);
  }

  .greeting_text p{
    font-size: 100%;
  }

  .greeting_img{
    width: 80%;
    margin: 0 auto;
  }

  .greeting_profile .position{
    font-size: 95%;
  }

  .greeting_profile .name{
    font-size: 110%;
  }

  .greeting_btn {
    margin-top: 40px;
  }
}

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

  *診療案内（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  border-top: 24px solid;
  border-image: linear-gradient(to right, #ccecfb, #d0e6f1) 1;
  background: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url(../images/common/dmy.jpg) no-repeat center/cover;
}

.medical .top_title h2{
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.medical_list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 20px;
}

.medical_item {
  position: relative;
  z-index: 1;
  /* width: calc(25% - 15px); */
  width: calc((100% - 40px) / 3);
  height: auto;
  border: 9px solid rgba(237, 247, 251, 0.6);
}

.medical_item::after{
  content: '';
  position: absolute;
  background: var(--main-color);
  width: 20px;
  height: 18px;
  bottom: 0;
  right: 0;
  z-index: 0;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.medical_item:hover {
  transform: translateY(-10px);
}

.medical_img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.medical_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.medical_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 280px;
  padding: 30px 20px 30px;
  background: rgba(237, 247, 251, 1);
  background: linear-gradient(135deg, rgb(247 253 255 / 70%) 0%, rgba(237, 247, 251, 0.7) 100%), url(../images/common/bg_texture.png) repeat top left / auto, rgba(255, 255, 255, 1);
  text-align: center;
  position: relative;
  z-index: 0;
}

.medical_inner > *:not(:last-child) {
  margin-bottom: 15px;
}

.medical_icon {
  width: 70%;
  max-width: 120px;
  margin: 0 auto 15px !important;
  padding: 20px;
  background: #D6F0FC;
  background: linear-gradient(225deg, rgba(214, 240, 252, 1) 0%, rgba(153, 217, 246, 1) 100%);
  border-radius: 50%;
}

.medical_title h3 {
  color: var(--main-color);
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 120%;
  line-height: 1.7;
}

.medical_title_eng {
  color: rgb(8, 49, 144, 0.3);
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.13em;
  text-align: center;
  position: absolute;
  top: 13px;
  left: 10px;
  writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
}

.medical_text {
  color: var(--text-color);
}

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 7px 25px 7px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  letter-spacing: 1px;
  text-align: center;
  transition: padding 0.2s, color 0.2s, background 0.2s;
}

.medical_btn span::after {
  content: "\f105";
  position: absolute;
  top: 50%;
  right: 10px;
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 10px;
  transform: translateY(-50%);
}

.medical_item:hover .medical_btn span {
  background: #ffffff;
  color: var(--main-color);
}

/* ----- 先頭3つの設定----- */
/* .medical_item:nth-of-type(-n + 3) {
  width: calc((100% - 40px) / 3);
  min-height: 350px;
}

.medical_item:nth-of-type(-n + 3) .medical_inner {
  padding: 20px 20px 40px;
}

.medical_item:nth-of-type(-n + 3) .medical_icon {
  max-width: 100px;
  margin: 0 auto 5px !important;
}

.medical_item:nth-of-type(-n + 3) .medical_title h3 {
  font-size: 150%;
} */

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url(../images/common/dmy_sp.jpg) no-repeat center/cover;
    border-top: 18px solid;
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
    border: 5px solid rgba(255, 255, 255, 0.6);
  }

  .medical_item:hover {
    transform: translateY(-5px);
  }

  .medical_item::after{
    width: 12px;
    height: 12px;
  }

  .medical_inner {
    min-height: auto;
    padding: 20px 10px;
  }

  .medical_icon {
    width: 60%;
    margin: 0 auto 10px !important;
    padding: 13px;
  }

  .medical_title h3 {
    font-size: 105%;
    line-height: 1.5;
  }

  .medical_title_eng{
    top: 5px;
    left: 0;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  /* ----- 先頭3つの設定----- */
  /* .medical_item:nth-of-type(-n + 3) {
    width: calc(50% - 5px);
    min-height: auto;
  }

  .medical_item:nth-of-type(-n + 3) .medical_inner {
    padding: 20px 10px;
  }

  .medical_item:nth-of-type(-n + 3) .medical_icon {
    width: 60%;
    margin: 0 auto 10px !important;
    padding: 13px;
  }

  .medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: 105%;
  } */
}

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

  *お悩みの部位から探す - 追加コンテンツ

================================================================================================================================== */
.body-parts{
  background: url(../images/front/bg_body-parts.jpg) no-repeat center / cover;
}

.body-parts_wrap {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

/* ----- 体の画像 ----- */
.body-parts_img {
  max-width: 250px;
  margin: 0 auto;
}

/* ----- 各部位の共通設定 ----- */
.body_parts_list>li {
  position: absolute;
  display: block;
}

/* ----- 各部位の位置 ----- */
#body-parts1 {
  top: 55px;
  left: 100px;
}

#body-parts1 .body_parts_title::before {
  top: 45%;
  right: -140px;
  width: 130px;
}

#body-parts2 {
  top: 85px;
  right: 30px;
}

#body-parts2 .body_parts_title::before {
  top: 45%;
  left: -170px;
  width: 160px;
}

#body-parts3 {
  top: 220px;
  left: 10px;
}

#body-parts3 .body_parts_title::before {
  top: 50%;
  right: -65px;
  width: 55px;
  transform: rotate(0deg);
}

#body-parts4 {
  top: 230px;
  right: 60px;
}

#body-parts4 .body_parts_title::before {
  top: 50%;
  left: -160px;
  width: 150px;
  transform: rotate(0deg);
}

#body-parts5 {
  top: 380px;
  left: 20px;
}

#body-parts5 .body_parts_title::before {
  top: -30%;
  right: -170px;
  width: 170px;
  transform: rotate(-30deg);
}

#body-parts6 {
  top: 490px;
  right: 40px;
}

#body-parts6 .body_parts_title::before {
  top: -10%;
  left: -190px;
  width: 190px;
  transform: rotate(20deg);
}

#body-parts7 {
  top: 550px;
  left: 60px;
}

#body-parts7 .body_parts_title::before {
  top: 70%;
  right: -175px;
  width: 160px;
  transform: rotate(10deg);
}


/* ----- 各部位のタイトル ----- */
.body_parts_title {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 6px 47px 6px 27px;
  background: var(--main-color);
  background: #21469B;
  background: linear-gradient(225deg, rgba(33, 70, 155, 1) 0%, rgba(8, 49, 144, 1) 100%);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 120%;
  text-align: center;
}

.body_parts_title:hover {
  background: #ffffff;
  color: var(--main-color);
}

.body_parts_title::before {
  content: "";
  position: absolute;
  display: block;
  height: 1px;
  background: var(--main-color);
  z-index: 1;
}

.body_parts_title::after{
  content: "";
  position: absolute;
  background: url(../images/common/arrow-right.svg) no-repeat center / calc(131px * 0.1) calc(150px * 0.1), rgba(255, 255, 255, 0.4);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  transition: right 0.2s;
  z-index: 0;
}

.body_parts_title:hover::after{
  background: url(../images/common/arrow-right.svg) no-repeat center / calc(131px * 0.1) calc(150px * 0.1), rgba(8, 49, 144, 0.4);
  right: 6px;
}

/* -----　部位ごとの病状・病名　----- */
.body-parts_search {
  margin: 10px 0 0;
}

.body-parts_search li {
  line-height: 1.5;
}

.body-parts_search li:not(:last-child) {
  margin-bottom: 5px;
}

.body-parts_search li a {
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 95%;
}

/* ==============================================
  *SP　お悩みの部位から探す（追加コンテンツ）
============================================== */
@media screen and (max-width: 640px) {
  .body-parts {
    background: url(../images/front/bg_body-parts_sp.jpg) no-repeat center / cover;
  }
  .body-parts .inner {
    flex-flow: column;
    gap: 0;
  }

  .body-parts_wrap {
    max-width: 450px;
  }

  .body-parts_img {
    width: 55%;
  }

  /* ----- 各部位の共通設定 ----- */
  /* .body_parts_list>li {
    padding: 8px;
  } */

  /* ----- 各部位の位置 ----- */
  #body-parts1 {
    top: 20px;
    left: 15px;
  }

  #body-parts2 {
    top: 40px;
    right: 0;
  }

  #body-parts3 {
    top: 19%;
    left: 0;
  }

  #body-parts4 {
    top: 33%;
    right: 0;
  }

  #body-parts5 {
    top: 52%;
    left: 10px;
  }

  #body-parts6 {
    top: 65%;
    right: 0;
  }

  #body-parts7 {
    top: 88%;
    left: 0;
  }

  /* ----- 各部位のタイトル ----- */
  .body_parts_title {
    padding: 10px 25px 10px 10px;
    font-size: 90%;
    line-height: 1.5;
  }

  .body_parts_title::before {
    display: none;
  }

  .body_parts_title::after{
    background: url(../images/common/arrow-right.svg) no-repeat center / calc(131px * 0.08) calc(150px * 0.08), rgba(255, 255, 255, 0.4);
    width: 18px;
    height: 18px;
    right: 5px;
  }

  /* -----　部位ごとの病状・病名　----- */
  .body-parts_search {
    display: none;
  }
}

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

  *当院の特徴（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: var(--bg-color);
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 20px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc((100% - 40px) / 3);
  height: auto;
  padding: 9px 9px;
  position: relative;
  z-index: 0;
}

.feature_item::before{
  content: '';
  position: absolute;
  background: var(--main-color);
  width: 125px;
  height: 100px;
  top: 0;
  left: 0;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  z-index: -1;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: #ffffff;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.feature_num {
  margin: 0 0 0 !important;
  color: var(--line-color);
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 460%; 
  line-height: 1;
  letter-spacing: 0.03em;
  position: absolute;
  bottom: -15px;
  right: 0;
  z-index: -1;
  opacity: 0.35;
}

.feature_item:first-of-type .feature_num {
  letter-spacing: 0.06em;
}

.feature_num .small_text{
  font-size: 23%;
  letter-spacing: 0.12em;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 70px;
  margin-bottom: 20px;
}

.feature_title h3 {
  padding-bottom: 15px;
  border-bottom: dotted 2px var(--line-color);
  color: var(--main-color);
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 120%;
  line-height: 1.5;
  text-align: center;
}

.feature_text p{
  line-height: 1.8;
}

.feature_button {
  display: flex;
  flex-flow: column;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 25px;
}

.feature_button .btn01 {
  text-align: center;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .feature .inner{
    padding: 70px 11px;
  }

  .feature_list {
    gap: 30px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_title {
    min-height: auto;
    margin-bottom: 15px !important;
  }
}

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

  *ピックアップ（パターン02） - 追加コンテンツ

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.pickup .inner {
  width: 100%;
  max-width: none;
  padding: 100px 60px 80px;
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
}

.pickup_item {
  width: calc((100% - 0px) / 2);
  padding: 100px 50px;
  position: relative;
  z-index: 0;
}

.pickup_inner {
  display: flex;
  flex-flow: column;
  justify-content: center;
  max-width: 550px;
  height: auto;
  margin: 0 auto;
}

.pickup_title {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 20px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  border-bottom: 2px dotted #fff;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pickup_title h2, .pickup_title h3 {
  background: none;
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 170%;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.pickup_title .eng {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 3px;
  padding: 0 13px;
  width: fit-content;
  font-family: var(--en-font);
  font-weight: 600;
  font-size: 110%;
  position: relative;
  z-index: 0;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.pickup_title .eng::before{
  content: '';
  position: absolute;
  border-top: 2px solid #fff;
  width: 7px;
  height: 1px;
  top: 48%;
  left: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.pickup_title .eng::after{
  content: '';
  position: absolute;
  border-top: 2px solid #fff;
  width: 7px;
  height: 1px;
  top: 48%;
  right: 0;
  transform: translateY(-50%);
  z-index: -1;
}

.pickup_img {
  position: relative;
  z-index: 1;
}

.pickup_text {
  margin: 30px 0;
  font-family: var(--jp-font);
  font-weight: 400;
  font-size: 95%;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.pickup_text p:not(:last-of-type){
  margin-bottom: 1em;
}

.pickup_buttons {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 10px;
  height: 100%;
  margin-top: auto;
}

.pickup_btn {
  width: calc(50% - 5px);
}

.pickup_btn a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px 43px 10px 28px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  font-family: var(--jp-font);
  font-weight: 700;
  font-size: 95%;
  line-height: 1.6;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.pickup_btn a:hover {
  background: #ffffff;
  color: var(--main-color);
}

.pickup_btn a::before{
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: url(../images/common/arrow-right.svg) no-repeat center / calc(131px * 0.1) calc(150px * 0.1), rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
  transition: right 0.2s;
}

.pickup_btn a:hover::before{
  right: 9px;
  background: url(../images/common/arrow-right.svg) no-repeat center / calc(131px * 0.1) calc(150px * 0.1), rgba(8, 49, 144, 0.4);
}

/* ----- 奇数 ----- */
.pickup_item:nth-child(odd) {
  background: linear-gradient(225deg, rgb(145 190 207 / 60%) 0%, rgb(20 72 96 / 60%) 40%, rgb(0, 44, 64, 0.6) 100%), url(../images/front/pickup01_v2.jpg) no-repeat top / cover;
}

/* ----- 偶数 ----- */
.pickup_item:nth-child(even) {
  background: linear-gradient(225deg, rgb(174 210 223 / 60%) 0%, rgb(39 54 90 / 60%) 50%, rgb(3, 20, 58, 0.6) 100%), url(../images/front/pickup02_v2.jpg) no-repeat top / cover;
}


/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .pickup .inner {
    padding: 80px 0 0;
  }

  .pickup .top_title {
    padding: 0 20px;
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: 140%;
    letter-spacing: 0.1em;
  }

  .pickup_list {
    width: 100%;
    padding: 0 20px 20px;
  }

  .pickup_item {
    width: 100%;
    padding: 30px 20px 40px!important;
  }

  .pickup_title {
    min-height: unset;
    padding: 0 10px 15px;
    font-size: 110%;
  }

  .pickup_title::before {
    bottom: -20px;
    width: 25px;
    height: 20px;
  }

  .pickup_inner {
    max-width: none;
    min-height: auto;
    margin: 0 !important;
  }

  .pickup_btn {
    width: 100%;
  }
}

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

  *医療コラム（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.column {
  background: var(--bg-color);
}

.column .column_list {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 50px 25px;
  padding: 30px;
  background: #ffffff;
}

.column .column_box {
  width: calc(25% - 18.75px);
}

.column .column_box dt a {
  display: block;
  padding: 15px 10px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 110%;
  text-align: center;
}

.column .column_box dd {
  padding: 10px 10px;
  border-bottom: 1px dashed var(--line-color);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .column .column_list {
    gap: 40px;
  }

  .column .column_box {
    width: 100%;
  }
}

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

  *無限スライダー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
#infinitySlider {
  padding: 10px 0;
}

#infinitySlider .splide__list {
  gap: 10px;
}

#infinitySlider .splide__slide {
  width: 400px !important;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #infinitySlider .splide__slide {
    width: 300px !important;
  }
}
