@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 120px 0;
}

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

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

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

  *タイトル

================================================================================================================================== */
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}

[class*="eng"] {
  font-family: "filson-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.top_title {
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
}

.top_title h2 {
  font-size: 24px;
  letter-spacing: .1em;
}

.top_title .eng {
  display: block;
  color: var(--main-color);
  font-size: 70px;
  letter-spacing: .1em;
  line-height: 1.2;
  background: linear-gradient(to bottom, var(--main-color) 0%, var(--main-color) 50%, #a8e6cf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  margin-bottom: 5px;
}

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

  .top_title h2 {
    font-size: clamp(20px, 5.9vw, 22px);
  }

  .top_title .eng {
    font-size: clamp(30px, 13vw, 50px);
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 800px;
  overflow: hidden;
}

.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%;
}

.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;
}

.mvCatch p {
  font-size: 220%;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
}

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

.mvContents .inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

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

.open_bnr {
  position: absolute;
  bottom: 50px;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 260px;
  aspect-ratio: 1;
  padding: 15px;
  background: url(../images/front/open_bg.png) center/80% auto no-repeat, linear-gradient(135deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0) 60%, #a6ffdd 100%), url(../images/front/mv_info_bg.jpg) center/cover no-repeat;
  border-radius: 50%;
  color: #ffffff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.5;
  text-align: center;
}

.open_bnr_date {
  font-size: 125%;
}

.open_bnr_title {
  font-size: 163%;
  margin-top: 5px;
}

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

.mvInfo {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 50px;
  left: 285px;
}

.mvInfo > *,
.mvInfo a {
  color: #fff;
}

.mvInfo > * {
  width: 180px;
  aspect-ratio: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  background: url(../images/front/circle_dec.png) center/calc(100% - 12px) auto no-repeat, url(../images/front/mv_info_bg.jpg) center/cover no-repeat;
  border-radius: 50%;
  padding: 10px 10px 20px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.7;
  text-align: center;
  overflow: hidden;
}

.mvInfo > *::before {
  display: block;
  content: "";
  width: 34px;
  aspect-ratio: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% auto;
  margin-bottom: 5px;
}

.mvInfo > *:nth-child(1)::before {
  background-image: url(../images/front/mv_info_icon1.png);
}

.mvInfo > *:nth-child(2)::before {
  background-image: url(../images/front/mv_info_icon2.png);
}

.mvInfo > *:nth-child(3)::before {
  background-image: url(../images/front/mv_info_icon3.png);
}

@media (hover: hover) {
  .mvInfo a:hover {
    transform: translateY(-6px);
  }
}

.mvInfo_fsL {
  font-size: 125%;
  line-height: 1;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 300px;
  }

  /* ----- スライダーの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: 20px;
    display: none;
  }

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

  .mvCatch p {
    font-size: 130%;
    line-height: 1.75;
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 3px #ffffff);
  }

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

  .open_bnr,
  .mvInfo {
    max-width: 400px;
  }

  .open_bnr {
    position: static;
    width: 100%;
    border-radius: 0;
  }

  .open_bnr > * {
    width: 100%;
    aspect-ratio: auto;
    padding: 15px 20px;
    border-radius: 20px;
    background-size: auto 140%, auto, cover;
  }

  .mvInfo {
    justify-content: center;
    gap: 5px;
    position: static;
  }

  .mvInfo > * {
    width: calc((100% - 10px) / 3);
    aspect-ratio: auto;
    border-radius: 20px;
    padding: 10px 6px;
    font-size: clamp(11px, 3.5vw, 16px);
    background: url(../images/front/mv_info_bg.jpg) center/cover no-repeat;
    outline: 1px solid rgb(255 255 255 / 0.8);
    outline-offset: -4px;
  }

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

  .sp_only .inner {
    padding: 0 5%;
  }

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

  .sp_only_contents > *{
    width: 100%;
  }
}

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

  *医院概要

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
}

/* ----- お知らせ ----- */
.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;
}

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

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

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

/* ----- 医院概要 ----- */
.clinic .info {
  background: var(--bg-color);
}

.clinic .info .inner {
  display: flex;
  gap: 40px;
}

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

.clinic .info .office_hour table {
  background: #fff;
}

.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: 5px 0 5px 50px;
  font-size: 30px;
  font-family: "filson-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
}

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

.clinic .info address .fax {
  margin-top: 15px;
  padding: 5px 0 5px 50px;
  font-size: 30px;
  line-height: 1;
}

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

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

.clinic .info .speciality {
  display: flex;
  margin: 20px auto 0;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
}

.clinic .info .speciality > * {
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-color);
  color: #ffffff;
  text-align: center;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.clinic .info .speciality .speciality_text {
  padding: 10px 20px;
  flex: 1;
}

.clinic .info .googlemap {
  border-radius: 20px;
  overflow: hidden;
}

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

.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 .news .inner {
    flex-flow: column;
    gap: 0;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    flex-flow: column;
  }

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

  .clinic .info address .tel {
    font-size: clamp(24px, 8vw, 30px);
  }

  .clinic .info .speciality {
    flex-flow: column;
  }

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

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

  *ご挨拶

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  z-index: 1;
  background: url(../images/front/greeting_bg.jpg) center/cover no-repeat;
}

.greeting_box {
  padding: 60px;
  position: relative;
}

.greeting_box::before {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: .9;
  border-radius: 40px;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
}

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

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

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

.greeting_left {
  flex-shrink: 0;
  width: 60%;
}

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

.greeting_text_catch {
  font-size: 26px;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .1em;
  margin-bottom: 1.5em!important;
}

.greeting_img img {
  border-radius: 20px 20px 0 0;
}

.greeting_profile {
  padding: 15px 20px;
  background: var(--main-color);
  color: #ffffff;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  line-height: 1.75;
  text-align: center;
  border-radius: 0 0 20px 20px;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .greeting .inner {
    padding-block: 60px;
  }

  .greeting_box {
    padding: 40px 20px;
  }

  .greeting_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

  .greeting_text_catch {
    font-size: clamp(18px, 5.9vw, 22px);
  }

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

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

  *診療案内

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../images/front/medical_bg_dmy.jpg) no-repeat center/cover;
}

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

.medical_list a {
  color: var(--text-color);
}

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.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%;
  padding: 30px 20px 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  text-align: center;
  position: relative;
}

.medical_inner::before {
  display: block;
  content: "";
  width: 94%;
  height: 94%;
  background: linear-gradient(45deg, #609ed5 0%, #609ed5 50%, #a6ffdd 100%);
  mask: url(../images/front/circle_dec.png) center/100% auto no-repeat;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.medical_inner > * {
  position: relative;
  z-index: 1;
}

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

.medical_icon {
  width: 70%;
  max-width: 80px;
  margin: 0 auto 15px !important;
}

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

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  word-break: normal;
}

.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);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical {
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url(../images/front/medical_bg_sp_dmy.jpg) no-repeat center/cover;
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    max-width: 240px;
    width: calc(50% - 5px);
  }

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

  .medical_inner {
    padding: 12%;
  }

  .medical_icon {
    width: 40%;
    max-width: 50px;
    margin-bottom: 5px!important;
  }

  .medical_title h3 {
    font-size: clamp(12px, 3.7vw, 18px);
  }

  .medical_title_eng {
    font-size: clamp(10px, 3.2vw, 14px);
  }
}

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

  *当院の特徴

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_bg.jpg) center top -30% repeat-y;
  border-bottom: 6px solid #fff;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 70px 30px;
}

.feature_item {
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: auto;
  margin-top: 50px;
}

.feature_img {
  flex-shrink: 0;
  width: 500px;
  margin-top: -50px;
  position: relative;
}

.feature_img::before {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  background: url(../images/front/feature_img_bg.jpg) center/100% auto no-repeat;
  border-radius: 20px;
  opacity: .9;
  pointer-events: none;
  position: absolute;
  top: -20px;
  left: -20px;
}

.feature_img img {
  border-radius: 20px;
  position: relative;
}

.feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 400px;
  margin: 0 0 0 -50px;
  padding: 50px 30px 50px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.feature_title {
  display: flex;
  flex-flow: column;
  margin-bottom: 20px;
}

.feature_title h3 {
  color: #609ed5;
  font-size: 150%;
  line-height: 1.75;
}

.feature_num {
  margin: 0 0 10px;
  color: #b0d1f0;
  font-size: 120%;
  font-family: "filson-soft", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.feature_num span {
  font-size: 130%;
}

.feature_button {
  display: flex;
  flex-flow: wrap;
  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 {
    background-size: 960px auto;
    background-position: center top 10%;
  }

  .feature_list {
    gap: 40px;
  }

  .feature_item {
    flex-flow: column;
    gap: 10px 0;
    width: 100%;
    margin: 0;
  }

  .feature_img {
    width: 100%;
    margin: 0;
  }

  .feature_img::before {
    top: -10px;
    left: -10px;
  }

  .feature_inner {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 30px 20px;
  }

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

  .feature_title h3 {
    font-size: clamp(18px, 4.8vw, 24px);
  }
}