@charset "UTF-8";

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

  *基本設定

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

section .inner {
  padding: 120px 0;
}

.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: 60px 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 {
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
  line-height: 1.5;
  text-align: center;
  padding-top: 65px;

  /* 左寄せ */
}

.top_title::before {
  content: "";
  background-image: url(../images/front/parts_img01.png);
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  width: 90px;
  height: 52px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
}

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

.top_title h2 {
  font-size: 240%;
  font-family: var(--main-font);
  color: var(--text-color);
  font-weight: 600;
}

.top_title .eng {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin-top: 10px;
  color: var(--main-color);
  font-family: var(--sub-font);
  font-weight: 600;
  font-size: 160%;
  letter-spacing: 0.1em;
  line-height: 1;
}

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

  .top_title::before {
    width: 70px;
    height: 40px;
  }

  .top_title h2 {
    font-size: 170%;
  }

  .top_title .eng {
    font-size: 140%;
    margin-top: 5px;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ 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: 38%;
  left: 0;
  z-index: 3;
  width: 100%;
  transform: translateY(-50%);
  padding: 0 40px;
}

.mvCatch .inner {
  position: relative;
  z-index: 1;
}

.mvCatch p {
  font-size: 240%;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff);
  font-family: var(--main-font);
  color: var(--text-color);
  font-weight: 600;
  padding-left: 10px;
}

.mvCatch p span.main-text {
  position: relative;
  z-index: 1;
  padding-right: 70px;
}

.mvCatch p span.main-text::before {
  content: "";
  width: 60px;
  height: 4px;
  background-color: var(--text-color);
  position: absolute;
  top: 50%;
  right: 0;
  border-radius: 9999px;
  box-shadow: 2px 2px 5px #fff, 2px -2px 5px #fff, -2px -2px 5px #fff, -2px 2px 5px #fff, 1px 1px 15px #fff, 1px -1px 15px #fff, -1px -1px 15px #fff, -1px 1px 15px #fff;
}

.mvCatch p span.sub-text {
  display: block;
  font-size: 70%;
  color: var(--main-light);
}

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

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

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

/* ----- 開院バナー ----- */
.open_bnr {
  position: absolute;
  bottom: 38px;
  display: inline-block;
  padding: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.open_bnr > * {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 260px;
  padding: 15px;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
  font-family: var(--main-font);
  background: var(--main-color);
  background: var(--gra01);
  border-radius: 50%;
  font-weight: 600;
  letter-spacing: normal;
}

.open_bnr-date01 {
  font-size: 100%;
}

.open_bnr-head {
  font-size: 200%;
  line-height: 1;
  margin: 5px auto 10px;
  font-weight: 600;
}

.open_bnr-subhead {
  width: calc(100% - 100px);
  background: #fff;
  margin-bottom: 5px;
  color: var(--main-light);
  border-radius: 9999px;
  font-weight: 600;
}

.open_bnr-date02 {
  font-size: 90%;
}

.open_bnr-date03 {
  font-size: 90%;
}


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

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

.mv-bnr {
  position: absolute;
  left: 285px;
  bottom: 38px;
  display: flex;
  gap: 15px;
}

.mv-bnr_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.mv-bnr_item {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 10px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
}

.mv-bnr_item::before {
  content: "";
  width: 100%;
  height: 100%;
  background-image: url(../images/front/parts_img03.png);
  background-size: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  opacity: 1;
  background-repeat: no-repeat;
}

.mv-bnr_item a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 210px;
  height: 210px;
  color: var(--main-color);
  font-family: var(--main-font);
  background: rgba(255, 255, 255, 0.6);
  font-size: 120%;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 50%;
  overflow: hidden;
  flex-direction: column;
}

.mv-bnr_item a:hover {
  opacity: 0.7;
}

.mv-bnr_item span.icon {
  width: 40px;
  margin-bottom: 10px;
  display: block;
}

.mv-bnr_item span.icon img {
  filter: invert(91%) sepia(54%) saturate(628%) hue-rotate(328deg) brightness(100%) contrast(93%);
  filter: invert(68%) sepia(35%) saturate(1914%) hue-rotate(320deg) brightness(97%) contrast(91%);
  filter: invert(91%) sepia(75%) saturate(6136%) hue-rotate(313deg) brightness(98%) contrast(90%);
  filter: invert(26%) sepia(40%) saturate(405%) hue-rotate(352deg) brightness(99%) contrast(84%);
}

.mv-bnr_item.-item01 span.icon img {
	filter:none;
}


.mv-bnr_item:nth-child(1) span.text01 {
  font-size: 85%;
}

.mv-bnr_item:nth-child(1) span.text02 {
  font-size: 95%;
}

.mv-bnr_item:nth-child(2) span.text01 {
  font-size: 95%;
}

.mv-bnr_item:nth-child(2) span.text02 {
  font-size: 100%;
}

.mv-bnr_item:nth-child(3) span.text01 {
  font-size: 95%;
}

.mv-bnr_item:nth-child(3) span.text02 {
  font-size: 100%;
}



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

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

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

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

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

  .mvCatch p span.main-text {
    padding-right: 45px;
  }

  .mvCatch p span.main-text::before {
    width: 40px;
    height: 2px;
    box-shadow: none;
  }


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

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

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

  .open_bnr > *::before {
    opacity: 0.04;
  }

  .open_bnr-date01 {
    font-size: 100%;
  }

  .open_bnr-date02 br {
    display: none;
  }

  .open_bnr-head {
    font-size: 180%;
  }

  .open_bnr-subhead {
    width: calc(100% - 150px);
  }

  .mv-bnr {
    position: inherit;
    width: 100%;
    justify-content: center;
    max-width: 350px;
    flex-flow: column;
  }

  .mv-bnr_list {
    width: 100%;
    gap: 0 10px;
    flex-wrap: wrap;
  }

  .mv-bnr_item {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .mv-bnr_item::before {
    display: none;
  }

  .mv-bnr_item a {
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 100%;
    border-radius: 10px;
    flex-direction: inherit;
  }

  .mv-bnr_item a::before {
    width: 100px;
    height: 100px;
  }

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

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

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


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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.clinic {
  position: relative;
  z-index: 1;
  background-image: url(../images/front/bg_img01.png);
  background-size: cover;
    /* overflow: hidden; */
}

.clinic_inner::before {
  content: "";
  width: 1200px;
  height: 1030px;
  background-image: url(../images/front/parts_img05.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  top: -190px;
  right: -510px;
  z-index: -1;
  filter: invert(92%) sepia(7%) saturate(1179%) hue-rotate(339deg) brightness(102%) contrast(110%);
  opacity: 0.5;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.clinic::after {
  content: "";
  width: 990px;
  height: 920px;
  background-image: url(../images/front/parts_img04.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  bottom: -450px;
  left: -420px;
  z-index: -1;
  filter: invert(92%) sepia(7%) saturate(1179%) hue-rotate(339deg) brightness(102%) contrast(102%);
  opacity: 0.4;
}

.clinic_inner {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0 40px;
  overflow: hidden;
}




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

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

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

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

.clinic .news .top_title::before {
  display: none;
}

.clinic .news .top_title .eng {
  margin-top: 0;
  margin-bottom: 10px;
}

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

/* ----- 医院概要 ----- */
.clinic .info {
  position: relative;
  z-index: 1;
}

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

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

.clinic .info .office_hour .title {
  background: #ffffff;
}

.clinic .info .office_hour .table_wrapper {
  background: #ffffff;
  box-shadow: rgb(255 240 208) 0px 0px 9px 1px;
}

.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-light);
  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-size: 30px;
  line-height: 1;
  font-family: var(--main-font);
  font-weight: 600;
}

.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;
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--main-color);
}

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

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

.clinic .info .speciality {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  background: #ffffff;
  border-radius: 8px;
  font-family: var(--main-font);
  font-weight: 600;
  box-shadow: rgb(255 240 208) 0px 0px 9px 1px;
  color: var(--main-color);
}

.clinic .info .speciality .title {
  flex-shrink: 0;
  width: fit-content;
  padding: 10px 30px;
  background: var(--main-light);
  color: #ffffff;
  text-align: center;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
}

.clinic .info .googlemap iframe {
  height: 350px;
  border-radius: 10px;
}

.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_inner { 
    padding: 0;
  }

  .clinic::after {
    width: 400px;
    height: 370px;
    bottom: -50px;
    left: -170px;
    opacity: 0.6;
  }

  .clinic_inner::before {
    width: 340px;
    height: 340px;
    top: -20px;
    right: -180px;
    transform: rotate(-5deg);
    opacity: 0.6;
  }

  .clinic .news .inner {
    flex-flow: column;
    gap: 0;
    padding: 60px 20px;
  }

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

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

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

  .clinic .info .speciality .title {
    width: 100%;
    border-radius: 8px 8px 0 0;
    padding: 5px 10px;
  }

  .clinic .info .speciality .text {
    padding: 0 10px 10px;
  }

  .clinic .info address>*::before {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

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

  .clinic .info address .tel {
    padding: 0 0 0 43px;
  }

  .clinic .info address .fax {
    padding: 0 0 0 43px;
  }

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


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

  *ご挨拶（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.greeting {
  position: relative;
  background: #fffaea;
  padding: 0 40px;
}

.greeting::before {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.3;
}

.greeting::after {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  transform: scaleX(-1);
}

.greeting .inner {
  position: relative;
  z-index: 1;
}

.greeting .inner::before {
  content: "";
  width: 1200px;
  height: 1030px;
  background-image: url(../images/front/parts_img05.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  bottom: -190px;
  right: -600px;
  z-index: -1;
  filter: invert(92%) sepia(7%) saturate(1179%) hue-rotate(339deg) brightness(102%) contrast(110%);
  opacity: 0.4;
  transform: rotate(-45deg);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

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

.greeting_flex {
  display: flex;
  gap: 50px;
  margin-top: 120px;
}

.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 .btnflex {
    justify-content: center;
}

.greeting_text h3 {
  color: var(--accent-color);
  font-size: 135%;
  font-family: var(--main-font);
  font-weight: 600;
}

@media screen and (max-width: 1360px) { 
  .greeting_text h3 {
    font-size: 120%;
  }
}

.greeting_profile {
  color: var(--accent-color);
  line-height: 1.75;
  text-align: center;
  font-family: var(--main-font);
  font-weight: 600;
}

.greeting_profile-hospital {
  margin-top: 20px;
}

.greeting_profile-hospital img {
  max-width: 340px;
}

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

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

.greeting_profile .name span {
  font-size: 70%;
}

.greeting_profile-inner {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}

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

.greeting_img {
  background-image: url(../images/front/parts_img07.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  padding: 20px;
}

.greeting_img img {
  border-radius: 30px;
}

/* ----- 左右 ----- */
.greeting_flex:nth-child(even) {
  flex-flow: row-reverse;
  margin-top: 80px;
}



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

  .greeting::before {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .greeting::after {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .greeting .inner::before {
    width: 400px;
    height: 370px;
    bottom: -50px;
    right: -150px;
    opacity: 0.6;
    transform: rotate(-165deg);
  }

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

  .greeting_left {
    width: 100%;
  }

  .greeting_btn {
    margin-top: 30px;
  }

  .greeting_flex:nth-child(even) {
    margin-top: 0;
    flex-flow: column-reverse;
  }

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

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

  .greeting_profile .name span {
    font-size: 60%;
  }

  .greeting_profile-hospital img {
    max-width: 300px;
  }

  .greeting_text h3 {
    font-size: 110%;
    color: var(--main-color);
  }

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

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

  .greeting_img {
    padding: calc((30 / 640) * 100vw);
  }

  .greeting_img img {
    border-radius: 30px;
  }

}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  position: relative;
  z-index: 1;
  background: #fff9f1;
  padding: 0 40px;
}

.medical::before {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.3;
}

.medical::after {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  transform: scaleX(-1);
}

.medical .top_title {
  color: #ffffff;
}

.medical .top_title span {
  color: var(--main-color);
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc(25% - 15px);
  height: auto;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.medical_list .medical_item:nth-child(odd) {
  background-image: url(../images/front/parts_img08.png);
}

.medical_list .medical_item:nth-child(even) {
  background-image: url(../images/front/parts_img09.png);
}

.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: 270px; */
  min-height: 300px;
  padding: 30px 20px 40px;
  /* background: rgba(255, 255, 255, 0.9); */
  text-align: center;
}

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

.medical_icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255 255 255 / 80%);
  padding: 15px;
  border-radius: 9999px;
  margin-bottom: 5px !important;
}

.medical_icon img {
  filter: invert(87%) sepia(21%) saturate(1219%) hue-rotate(344deg) brightness(29%) contrast(88%);
}

.medical_title h3 {
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--main-font);
  font-weight: 600;
  line-height: 1.6;
}

.medical_title h3 span {
  font-size: 80%;
}

.medical_title_eng {
  margin-top: 5px;
  color: var(--main-color);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
  font-family: var(--sub-font);
  font-weight: 700;
}

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

.medical_btn span {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 auto;
  padding: 5px 25px 5px 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;
  border-radius: 9999px;
  min-width: 160px;
  font-family: var(--main-font);
  font-weight: 600;
  font-size: 90%;
}

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

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

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

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

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

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

  .medical::before {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .medical::after {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .medical_list {
    gap: 15px 10px;
  }

  .medical_item {
    width: calc(50% - 5px);
    background-size: 100% 100%;
  }

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

  .medical_inner {
    /* min-height: auto; */
    min-height: calc((290 / 640) * 100vw);
    padding: 0;
  }

  .medical_icon {
    width: calc((80 / 640) * 100vw);
    height: calc((80 / 640) * 100vw);
    margin-top: 10px !important;
    margin-bottom: 5px !important;
    padding: 8px;
  }

  .medical_title h3 {
    font-size: 110%;
    margin-top: 0;
  }

  .medical_title_eng {
    font-size: 11px;
  }

  .medical_btn span {
    padding: 5px 25px 5px 15px;
    min-width: auto;
    font-size: 80%;
  }

  /* ----- 先頭2つの設定----- */
  /* .medical_item:nth-of-type(-n + 2) {
    width: 100%;
    min-height: auto;
  }

  .medical_item:nth-of-type(-n + 2) .medical_inner {
    padding: 15px 20px 30px;
  }

  .medical_item:nth-of-type(-n + 2) .medical_icon {
    width: 30%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  position: relative;
  z-index: 1;
  background-image: url(../images/front/bg_img01.png);
  background-size: cover;
  overflow: hidden;
  padding: 0 40px;
}

.feature::before {
  content: "";
  width: 980px;
  height: 920px;
  background-image: url(../images/front/parts_img04.png);
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  top: -190px;
  left: -250px;
  z-index: -1;
  filter: invert(92%) sepia(7%) saturate(1179%) hue-rotate(339deg) brightness(102%) contrast(102%);
  opacity: 0.4;
  transform: rotate(95deg);
}

.feature::after {
  content: "";
  width: 1200px;
  height: 1030px;
  background-image: url(../images/front/parts_img05.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  bottom: -190px;
  right: -600px;
  z-index: -1;
  filter: invert(92%) sepia(7%) saturate(1179%) hue-rotate(339deg) brightness(102%) contrast(102%);
  opacity: 0.4;
  transform: rotate(-45deg);
}

.feature .inner {
  position: relative;
  z-index: 1;
  max-width: none;
}

.feature .inner::before {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.3;
}

.feature .inner::after {
  content: "";
  width: 50%;
  height: 50%;
  background-image: url(../images/front/bg_img03.png);
  background-size: cover;
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  transform: scaleX(-1);
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 100px 30px;
  margin: 100px auto 0;
  max-width: 1300px;
}

.feature_item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 20px);
  height: auto;
  box-shadow: rgb(255 240 208) 0px 0px 9px 1px;
  border-radius: 15px;
}

.feature_num {
  position: absolute;
  top: -70px;
  left: 0;
  margin: 0 !important;
  font-size: 300%;
  font-family: var(--sub-font);
  font-weight: 700;
  line-height: normal;
}

.feature_num span {
  color: var(--accent-color);
  font-size: 100%;
}

.feature_img img {
  border-radius: 20px 20px 0 0;
  outline: 1px dotted var(--main-light);
  outline-offset: -10px;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 25px 30px;
  background: #ffffff;
  border-radius: 0 0 15px 15px;
}

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

.feature_title h3 {
  position: relative;
  z-index: 1;
  color: var(--main-color);
  font-size: 140%;
  line-height: 1.75;
  text-align: center;
  font-weight: 600;
  font-family: var(--main-font);
  padding-bottom: 20px;
}

@media screen and (max-width: 1360px) { 
  .feature_title h3 {
    font-size: 130%;
  }
}

.feature_title h3::before {
  content: "";
  width: 75%;
  height: 10px;
  background-image: url(../images/front/parts_img02.png);
  background-size: 4%;
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  opacity: 0.9;
}

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

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

.feature_button .btn01 a {
  min-width: 180px;
}

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

  .feature::before {
    width: 400px;
    height: 370px;
    bottom: -50px;
    left: -170px;
    opacity: 0.6;
  }

  .feature::after {
    width: 400px;
    height: 370px;
    bottom: -110px;
    right: -170px;
    opacity: 0.6;
  }

  .feature .inner {
    padding: 50px 20px 50px;
  }

  .feature .inner::before {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .feature .inner::after {
    width: 100%;
    height: 50%;
    background-size: contain;
  }

  .feature_inner {
    padding: 20px 20px 20px;
    border-radius: 0 0 15px 15px;
  }

  .feature_list {
    gap: 60px;
    margin: 50px auto 0;
  }

  .feature_item {
    width: 100%;
  }

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

  .feature_num {
    top: -52px;
    font-size: 240%;
    right: 10px;
    left: inherit;
  }

  .feature_title h3 {
    font-size: 119%;
  }

  .feature_title h3::before {
    background-size: 4%;
    width: 100%;
  }

  .feature_button {
    flex-flow: column;
  }

  .feature_item:nth-child(even) .feature_num {
    left: 0;
    right: inherit;
  }

  .feature_img img {
    border-radius: 20px 20px 0 0;
    outline-offset: -5px;
  }


}

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

  *医療コラム（パターン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;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.pickup {
  position: relative;
  z-index: 1;
  padding: 0 40px;
  overflow: hidden;
}

.pickup::before {
  content: "";
  width: 100%;
  height: 100%;
  background: #fffaef;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.pickup::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.6) 40%,
    rgba(255, 255, 255, 0.4) 70%,
    rgba(255, 255, 255, 0) 100%
  );

  background: linear-gradient(to bottom, rgb(255, 253, 245) 0%, rgba(255, 253, 245, 0.6) 40%, rgba(255, 253, 245, 0.4) 70%, rgba(255, 253, 245, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.pickup .inner {
  width: 100%;
  max-width: none;
  padding: 120px 0 200px;
}

.pickup .inner::before {
  content: "";
  width: 590px;
  height: 582px;
  background-image: url(../images/front/parts_img06.png);
  background-size: cover;
  position: absolute;
  top: -60px;
  left: -25px;
  opacity: 0.5;
}

.pickup .inner::after {
  content: "";
  width: 590px;
  height: 582px;
  background-image: url(../images/front/parts_img06.png);
  background-size: cover;
  position: absolute;
  bottom: -60px;
  right: -25px;
  opacity: 0.5;
  transform: scaleX(-1) scaleY(-1)
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
}

.pickup_item {
  display: flex;
  align-items: center;
  width: 100%;
}

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

.pickup_img img {
  border-radius: 10px;
}

.pickup_inner {
  position: relative;
  z-index: 2;
  width: 55%;
  margin: 0 0 0 -70px;
  padding: 50px 50px 70px;
  background: rgb(255 245 225);
  border-radius: 20px;
  box-shadow: rgb(255 240 208) 0px 0px 9px 1px;
}

.pickup_title {
  position: relative;
  z-index: 2;
  margin: 0 auto 15px;
  text-align: center;
}

.pickup_title h2, .pickup_title h3 {
  position: relative;
  z-index: 1;
  background: none;
  font-size: 200%;
  font-family: var(--main-font);
  font-weight: 600;
  color: var(--main-color);
  line-height: 1.6;
  padding-bottom: 30px;
}

.pickup_title h2::before, .pickup_title h3::before {
  content: "";
  width: 75%;
  height: 10px;
  background-image: url(../images/front/parts_img02.png);
  background-size: 3%;
  background-repeat: repeat-x;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: -1;
  opacity: 0.9;
}

.pickup_title .eng {
  color: #fff;
  background: var(--accent-color);
  font-family: var(--sub-font);
  padding: 3px 20px 5px;
  border-radius: 9999px;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
}

.pickup_text {
  margin: 30px 0;
}

.pickup_text p {
  background: rgba(255, 255, 255, 0.75);
  padding: 20px 30px;
  border-radius: 10px;
}

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

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

.pickup_btn a {
  position: relative;
  display: inline-block;
  padding: 10px 45px 10px 35px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  color: #ffffff;
  font-size: 110%;
  letter-spacing: 0.15em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
  font-family: var(--main-font);
  font-weight: 600;
  border-radius: 5px;
  width: 100%;
}

.pickup_btn a:after {
  content: "\f061";
  position: absolute;
  top: 50%;
  right: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  transform: translateY(-50%);
  transition: right 0.2s;
}

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

/* ----- 偶数 ----- */
.pickup_item:nth-child(even) {
  flex-flow: row-reverse;
}

.pickup_item:nth-child(even) .pickup_inner {
  margin: 0 -70px 0 0;
}

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

  .pickup .inner {
    padding: 60px 20px;
  }

  .pickup .inner::before {
    width: 250px;
    height: 247px;
    top: -25px;
    left: -25px;
  }

  .pickup .inner::after {
    width: 250px;
    height: 247px;
    bottom: -25px;
    right: -25px;
  }


  .pickup .top_title {
    line-height: 1.4;
  }

  .pickup .top_title h2 {
    margin-bottom: 10px;
  }

  .pickup .top_title h2 span {
    font-size: 75%;
  }

  .pickup_title .eng {
    padding: 2px 20px 2px;
    margin-bottom: 15px;
  }

  .pickup_title {
    margin: 0 auto;
  }

  .pickup_text {
    margin: 20px auto 0;
  }

  .pickup_text p {
    padding: 20px 20px;
  }

  .pickup_list {
    width: 100%;
    gap: 30px;
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: 130%;
  }

  .pickup_title h2::before, .pickup_title h3::before {
    background-size: 5%;
    width: 100%;
  }

  .pickup_item {
    flex-flow: column;
    width: 100%;
  }

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

  .pickup_img img {
    border-radius: 10px 10px 0 0;
  }

  .pickup_inner {
    width: 100%;
    margin: 0 auto;
    padding: 20px 20px;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
  }

  .pickup_link {
    min-height: auto;
    margin-top: 20px;
  }

  .pickup_btn {
    width: 100%;
  }

  .pickup_btn a {
    padding: 7px 45px 7px 35px;
  }

  /* ----- 偶数 ----- */
  .pickup_item:nth-child(even) {
    flex-flow: column;
  }

  .pickup_item:nth-child(even) .pickup_img {
    margin: 0 0 0 auto;
  }

  .pickup_item:nth-child(even) .pickup_inner {
    margin: 0 auto;
  }
}


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

  *病状、症状から探す（パターン01）

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
  z-index: 1;
  background-image: url(../images/front/bg_img02.png);
  overflow: hidden;
  padding: 0 40px;
}

.search::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 40%, rgba(255, 255, 255, 0.4) 70%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.search .inner {
  max-width: none;
}

.search .inner::before {
  content: "";
  width: 590px;
  height: 582px;
  background-image: url(../images/front/parts_img06.png);
  background-size: cover;
  position: absolute;
  top: -60px;
  left: -25px;
  opacity: 0.5;
  z-index: 1;
}

.search .inner::after {
  content: "";
  width: 590px;
  height: 582px;
  background-image: url(../images/front/parts_img06.png);
  background-size: cover;
  position: absolute;
  top: -60px;
  right: -25px;
  opacity: 0.5;
  z-index: 1;
  transform: scaleX(-1);
}


.search .tab_wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 15px 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.search .tab_list li {
  display: flex;
  /* flex: 1; */
  /* flex-flow: column; */
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 10px 10px;
  background: #f1dfb3;
  color: #ffffff;
  font-size: 130%;
  cursor: pointer;
  transition: transform 0.2s, padding 0.2s;
  border-radius: 5px;
  font-family: var(--main-font);
  width: calc((100% - 40px) / 3);
  font-weight: 600;
  text-shadow: 2px 1px 2px rgb(198 178 128);
}

.search .tab_list li.is-active {
  background: var(--main-light);
  text-shadow: none;
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  margin: 0 !important;
  /* padding: 30px;
  background: var(--bg-color); */
  border-radius: 10px;
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  height: fit-content;
}

.search_list a {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  padding: 10px 30px;
  background: #ffffff;
  color: var(--text-color);
  font-size: 120%;
  font-family: var(--main-font);
  box-shadow: rgb(255 240 208) 0px 0px 9px 1px;
  border-radius: 5px;
  font-weight: 600;
}

.search_list a:hover {
  background: var(--main-color);
  color: #fff;
}

.search_list a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  z-index: 1;
  display: block;
  width: 22px;
  height: 22px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.2s;
}

.search_list a:hover::before {
  background: #fff;
}

.search_list a::after {
  content: "\f054";
  position: absolute;
  top: 50%;
  right: 21px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 11px;
  transform: translateY(-50%);
  transition: right 0.2s;
  z-index: 1;
  color: #fff;
}

.search_list a:hover::after {
  color: var(--main-color);
}

/* ----- 画像あり ----- */
.panel_flex.is-active {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.panel_flex .search_img {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 !important;
}

.panel_flex .search_img img {
  width: 100%;
  border-radius: 20px;
  outline: 1px dotted var(--main-light);
  outline-offset: -10px;
}

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




/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {

  .search{ 
    padding: 0;
  }

  .search .inner::before {
    width: 250px;
    height: 247px;
    top: -25px;
    left: -25px;
  }

  .search .inner::after {
    display: none;
  }

  .search .tab_list {
    flex-flow: column;
    gap: 7px;
    margin: 0 0 15px;
  }

  .search .tab_list .tab {
    width: 100%;
    min-height: auto;
    padding: 10px !important;
    font-size: 110%;
    transform: translate(0, 0) !important;
  }

  .search_list a {
    font-size: 100%;
    justify-content: flex-start;
    padding: 8px 45px 8px 18px;
  }

  /* ----- パネル ----- */
  .search .panel {
    padding: 0;
  }

  .panel_flex .search_img img {
    border-radius: 14px;
    object-fit: cover;
    height: 150px;
    outline-offset: -5px;
  }

  /* ----- 項目 ----- */
  .search_list {
    grid-template-columns: repeat(1, 1fr);
  }

  /* ----- 画像あり ----- */
  .panel_flex.is-active {
    gap: 20px;
  }

  .panel_flex .search_img {
    width: 100%;
  }

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