@charset "UTF-8";

/* ---------------------
  - *基本設定
  - *タイトル
  - *メインビジュアル
  - *バナーエリア
  - *医院概要
  - *ご挨拶
  - *診療案内
  - *当院の特徴
  - *病状・病名から探す
  - *医療コラム
  - *無限スライダー
--------------------- */
/* ==================================================================================================================================

  *基本設定

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

section .inner {
  max-width: 1600px;
  padding: 140px 100px;
}

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

@media screen and (max-width: 1700px) {
  section .inner {
    padding-left: 50px;
    padding-right: 50px;
  }
}

/* ----- パララックス ----- */
.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: 90px 20px;
  }

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

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.top_title {
  margin-bottom: 80px;
  line-height: 1.5;
}

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

.top_title h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 140%;
  line-height: 1;
  white-space: nowrap;
}

.top_title h2::after {
  display: inline-block;
  content: "";
  width: 100%;
  height: 1px;
  background: var(--line-color);
}

.top_title .eng {
  position: relative;
  left: -7px;
  display: inline-block;
  margin-bottom: 24px;
  background: linear-gradient(-60deg, #64493b, #b19f8f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: 670%;
  font-family: var(--font-en);
  font-weight: 300;
  font-style: normal;
  opacity: .85;
}

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

  .top_title h2 {
    gap: 10px;
    font-size: 18px;
  }


  .top_title .eng {
    left: 0;
    margin-bottom: 16px;
    font-size: min(8vw, 32px);
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  height: 100vh;
  min-height: 780px;
  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#sliderBtn_prev {
  left: 20px;
}

.mvSlider .sliderBtn#sliderBtn_next {
  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#sliderBtn_prev span::before {
  content: "\f053";
}

.mvSlider .sliderBtn#sliderBtn_next span::before {
  content: "\f054";
}

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

/* ----- MVの画像 ----- */
.mvImg {
  position: relative;
  width: 100%;
  height: 100%;
}

.mvImg::before {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, rgb(88 68 58 / .5), rgb(174 156 141 / .5));
}

.mvImg::after {
  position: absolute;
  z-index: 1;
  bottom: -5%;
  left: -5%;
  content: "";
  width: 40%;
  height: auto;
  aspect-ratio: 768/656;
  background: url(../images/front/logo_white.svg) no-repeat center/ cover;
  opacity: .05;
}

.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%;
  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%;
  max-width: 1300px;
  height: 100%;
}

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

/* ----- MVバナー ----- */
.mv_bnr_wrap {
  position: absolute;
  bottom: 30px;
  left: 0;
  content: "";
  display: flex;
  justify-content: center;
  flex-flow: wrap;
  gap: 0 20px;
  width: 340px;
}

.mv_bnr_item {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 160px;
  height: auto;
  aspect-ratio: 1;
  background: rgb(81 53 39 / .85);
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 /.2);
  padding: 10px;
  text-align: center;
  transition: .2s ease-in-out;
}

.mv_bnr_item:first-of-type {
  margin: 0 5px;
}

.mv_bnr_item:nth-of-type(2) {
  background: rgb(131 108 83 / .85);
}

.mv_bnr_item:nth-of-type(3) {
  background: rgb(168 134 104 / .85);
}

.mv_bnr_item:hover {
  opacity: .9;
  filter: brightness(1.1);
}

.mv_bnr_text {
  padding-top: 3px;
  color: #ffffff;
  letter-spacing: .1em;
  line-height: 1.65;
  font-size: 120%;
  font-family: var(--font-jp);
  font-weight: 400;
  transition: .2s ease-in-out;
}

.mv_bnr_btn {
  padding: 3px 16px 2px;
  background: rgb(255 255 255 / .9);
  border-radius: 3em;
  font-size: 13px;
  color: var(--text-color);
  letter-spacing: .04em;
  font-family: var(--font-jp);
  font-weight: 300;
}

/* ----- 開院バナー ----- */
.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: 280px;
  height: 280px;
  padding: 15px;
  background: var(--main-color);
  border-radius: 50%;
  color: #ffffff;
  font-size: 110%;
  line-height: 1.5;
  text-align: center;
}

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

.open_bnr .open_text {
  margin: 0 0 10px;
  font-size: 180%;
}

.open_bnr .nairankai_tit {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 5px 10px;
  background: #ffffff;
  border-radius: 300px;
  color: var(--main-color);
  font-size: 90%;
  text-align: center;
}

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .mainvisual {
    height: 330px;
    min-height: unset;
    padding-top: 70px;
  }

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

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

  .mvSlider .sliderBtn#sliderBtn_next {
    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 {
    position: static;
    width: 100%;
    max-width: 350px;
    border-radius: 0;
  }

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

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

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

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

  h1 {
    margin-bottom: 0;
    background: #fff;
  }
}

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

  *バナーエリア

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通設定 ----- */
.top_banner .banner_slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: var(--text-color);
}

/* 画像のみのバナー */
.top_banner .onlyimg .banner_slide {
  height: fit-content;
  padding: 0;
}

.top_banner .onlyimg .banner_slide img {
  width: 100%;
  height: auto;
  transition: opacity 0.2s;
}

.top_banner .onlyimg a.banner_slide:hover img {
  opacity: 0.5;
}

/* インプットバナー */
.top_banner .input .banner_slide {
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 15px;
  background: var(--bg-color);
}

.top_banner .input .banner_slide .slide_img {
  flex-shrink: 0;
  width: calc(30% - 10px);
  height: 100%;
}

.top_banner .input .banner_slide .slide_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top_banner .input .banner_slide .slide_inner {
  width: 100%;
  height: 100%;
  padding: 0 0 10px;
}

.top_banner .input .banner_slide .slide_title {
  margin: 0 auto 10px;
  padding: 5px;
  border-bottom: 1px solid var(--line-color);
  color: var(--main-color);
  font-size: 110%;
  line-height: 1.5;
}

.top_banner .input .banner_slide .slide_content {
  font-size: 90%;
}

.top_banner .input a.banner_slide:hover {
  opacity: 0.6;
}

/* ----- グリッドバナー ----- */
.banner_grid ul {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
}

.banner_grid li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.3333333333% - 13.3333333333px);
}

/* ----- スライダーバナー ----- */
#bannerSlider {
  background: var(--bg-color);
}

#bannerSlider .inner {
  padding-bottom: 0;
}

#bannerSlider .splide {
  position: relative;
  z-index: 1;
}

#bannerSlider .splide__inner {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

/* スライドの設定  */
#bannerSlider .splide__slide {
  display: flex;
  align-items: center;
  width: 460px !important;
}

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

#bannerSlider .bannerSlider_arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0 1px 0;
  background: var(--main-color);
  font-size: 80%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_arrow:hover i {
  background: var(--sub-color);
}

#bannerSlider .bannerSlider_arrow_prev {
  left: 0;
}

#bannerSlider .bannerSlider_arrow_next {
  right: 0;
}

/* ページネーション */
#bannerSlider .bannerSlider_pagination {
  z-index: 1;
  display: flex;
  gap: 15px;
  margin: 30px auto 0;
}

#bannerSlider .bannerSlider_page {
  width: 10px;
  height: 10px;
  background-color: #e8e8e8;
  border-radius: 50%;
  transition: background 0.2s;
}

#bannerSlider .bannerSlider_page.is-active {
  background: var(--main-color);
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  #bannerSlider .inner {
    padding-top: 48px;
  }

  #bannerSlider .splide__slide {
    width: 100% !important;
  }

  /* ----- グリッドバナー ----- */
  .banner_grid li {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* ----- スライダーバナー ----- */
  #bannerSlider .splide__inner {
    position: relative;
    z-index: 1;
    padding: 0 10px;
  }

  /* スライダーのArrowボタン */
  #bannerSlider .bannerSlider_arrow {
    width: 32px;
    height: 32px;
  }

  #bannerSlider .bannerSlider_arrow i {
    padding: 0 0 1px 0;
  }

  #bannerSlider .bannerSlider_arrow_next {
    right: -15px;
  }

  #bannerSlider .bannerSlider_arrow_prev {
    left: -15px;
  }

  /* ページネーション */
  #bannerSlider .bannerSlider_pagination {
    gap: 12px;
    margin: 20px auto 0;
  }

  #bannerSlider .bannerSlider_page {
    width: 8px;
    height: 8px;
  }
}

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

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

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

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

.clinic .news .inner {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 80px;
  padding: 140px 100px;
}

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

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

.clinic .news .top_title .eng {
  font-size: 460%;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.clinic .news .top_title h2 {
  position: relative;
  display: block;
  padding-left: 35px;
  font-size: 130%;
}

.clinic .news .top_title h2::after {
  position: absolute;
  top: 50%;
  right: auto;
  left: 0;
  transform: translateY(-50%);
  width: 22px;
  height: 1px;
}

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

.clinic .news .btn01 a {
  width: 100%;
}

/* ----- 医院概要 ----- */
.clinic .info .inner {
  display: -webkit-box;
  display: -ms-flexbox;
  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;
}

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

.clinic .info address>*::before {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: 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-size: 30px;
  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: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  margin: 20px auto 0;
  padding: 20px;
  background: #ffffff;
}

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

.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 .top_title h2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
  }

  .clinic .news .top_title h2::after {
    position: static;
    width: 100%;
  }

  .clinic .news .top_title .eng {
    margin-bottom: 16px;
    font-size: min(8vw, 32px);
  }

  .clinic .news .news_left {
    width: 100%;
  }

  /* ----- お知らせ ----- */
  .clinic .news .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    gap: 0;
    padding: 90px 20px;
  }

  /* ----- 医院概要 ----- */
  .clinic .info .inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    padding: 0 20px 70px;
  }

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

  .clinic .info .speciality {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    gap: 10px;
    padding: 10px;
  }

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

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

  *ご挨拶（パターン01）

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

.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_profile {
  padding: 20px;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1.75;
  text-align: center;
}

.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_flex {
    flex-flow: column-reverse;
    gap: 25px;
  }

  .greeting_left {
    width: 100%;
  }

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

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.medical {
  background: url(../images/front/bg_texture01.png) no-repeat right top / 40% auto, url(../images/front/bg_texture02.png) no-repeat left top / 55% auto, url(../images/front/bg_texture03.png) no-repeat left bottom / 55% auto, url(../images/front/bg_texture04.png) no-repeat right bottom / 30% auto;
  background-color: var(--bg-color);
}

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

.medical_item {
  position: relative;
  z-index: 1;
  width: calc((100% / 5) - (20px * 4 / 5));
  height: auto;
  aspect-ratio: 1;
}

.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 {
  position: relative;
  z-index: 2;
  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);
  text-align: center;
  transition: .2s ease-in-out;
}

.medical_inner::before {
  position: absolute;
  bottom: 4px;
  right: 4px;
  content: "";
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  background: var(--sub-color);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: .2s;
}

.medical_item:hover .medical_inner {
  filter: brightness(1.05);
}

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

.medical_icon {
  width: 100%;
  max-width: 100px;
  margin: 0 auto 15px !important;
  padding: 20px;
  background: linear-gradient(-60deg, #58443a, #ae9c8d);
  border-radius: 50%;
}

.medical_title h3 {
  color: var(--text-color);
  letter-spacing: .1em;
  font-size: 120%;
  transition: color 0.2s;
}

.medical_item:hover .medical_title h3 {
  color: var(--sub-color);
}

.medical_title_eng {
  color: var(--main-color);
  font-size: 12px;
  font-family: var(--font-en);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}


.medical_item:hover .medical_title_eng {
  color: var(--sub-color);
  transition: color 0.2s;
}

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

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

.medical_item:nth-of-type(-n + 3)::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, rgb(88 68 58 / .5), rgb(174 156 141 / .3));
  pointer-events: none;
}

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

.medical_item:nth-of-type(-n + 3) .medical_inner::before{
	content: none;
}

.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_img {
  overflow: hidden;
}

.medical_item:nth-of-type(-n + 3) .medical_img img {
  transition: .2s ease-in-out;
}

.medical_item:nth-of-type(-n + 3):hover .medical_img img {
  transform: scale(1.1);
}

.medical_item:nth-of-type(-n + 3) .medical_title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column-reverse;
  gap: 1px;
}

.medical_item:nth-of-type(-n + 3) .medical_title h3 {
  text-align: right;
  font-size: 160%;
  color: #fff;
}

.medical_item:nth-of-type(-n + 3) .medical_title_eng {
  color: #fff;
  font-size: 16px;
  text-align: left;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
  .medical_list {
    gap: 15px 10px;
  }

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

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

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

  .medical_icon {
    width: 50%;
    padding: 13px;
  }

  .medical_title h3 {
    font-size: min(3.6vw, 16px);
  }

  .medical_title_eng {
    font-size: min(2.4vw, 14px);
  }

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

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

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

  .medical_item:nth-of-type(-n + 3) .medical_title {
    bottom: 8px;
    left: 20px;
  }

  .medical_item:nth-of-type(-n + 3) .medical_title h3 {
    font-size: min(4.5vw, 20px);
  }

  .medical_item:nth-of-type(-n + 3) .medical_title_eng {
    font-size: 12px;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.feature {
  background: url(../images/front/feature_bg.jpg) no-repeat center / cover;
}

.feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 80px 40px;
}

.feature_item {
  display: flex;
  flex-flow: column;
  width: calc((100% / 3) - (80px / 3));
  height: auto;
}

.feature_num {
  margin: 0 0 0 !important;
  letter-spacing: .1em;
  font-size: 150%;
  font-family: var(--font-en);
  font-weight: 300;
}

.feature_num span {
  padding-left: 4px;
  color: var(--sub-color);
  font-size: 170%;
}

.feature_img {
  margin-bottom: 20px;
}

.feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
}

.feature_title {
  display: flex;
  flex-flow: column;
  justify-content: center;
  min-height: 96px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-color);
}

.feature_title h3 {
  color: var(--main-color);
  font-size: 150%;
  letter-spacing: .1em;
  line-height: 1.75;
  text-align: center;
}

.feature_text {
  margin-bottom: 32px;
}

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

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

@media screen and (min-width: 641px) {
  .feature_button .btn01 a {
    min-width: 342px;
  }
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
	.feature {
    background: url(../images/front/feature_bg_sp.jpg) no-repeat center / cover;
}
  .feature_list {
    gap: 50px;
  }

  .feature_item {
    width: 100%;
  }

  .feature_img {
    margin-bottom: 24px;
  }


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

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

  .feature_text {
    margin-bottom: 24px;
  }

  .feature_button .btn01 a {
    width: 100%;
  }
}

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

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

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.search {
  position: relative;
  background: linear-gradient(20deg, rgb(88 68 58 / .5), rgb(174 156 141 / .3)), url(../images/front/search_bg.jpg) no-repeat center / cover;
}

.search .top_title .eng {
  background: #fff;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search .top_title h2 {
  color: #fff;
}

.search .top_title h2::after {
  background: #fff;
}

.search .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
}

.search .tab_list li {
  display: flex;
  flex: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 19px 20px 18px;
  background: #adadad;
  border: 1px solid #adadad;
  border-bottom: none;
  color: #ffffff;
  letter-spacing: .1em;
  font-size: 130%;
  font-family: var(--font-jp);
  font-weight: 400;
  cursor: pointer;
  transition: .2s ease-in-out;
}

.search .tab_list li.is-active {
  background: var(--main-color);
  border-color: #736964;
}

/* ----- パネル ----- */
.search .panel {
  display: none;
  min-height: 750px;
  margin: 0 !important;
  padding: 20px;
  background: rgb(255 255 255 / .9);
}

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

/* ----- 項目 ----- */
.search_list {
  display: grid;
  grid-template-columns: repeat(5, 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);
  letter-spacing: .1em;
  font-family: var(--font-jp);
  font-weight: 400;
}

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

.search_list a::before {
  position: absolute;
  bottom: 4px;
  right: 4px;
  content: "";
  width: 8px;
  height: auto;
  aspect-ratio: 1;
  background: var(--sub-color);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  transition: .2s;
}

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

.panel_flex .search_img {
  width: 100%;
  margin: 0 !important;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 640px) {
	.search {
    background: linear-gradient(20deg, rgb(88 68 58 / .5), rgb(174 156 141 / .3)), url(../images/front/search_bg_sp.jpg) no-repeat center / cover;
}
  .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: 120%;
    transform: translate(0, 0) !important;
  }

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

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

  .search_list a {
    min-height: 48px;
    padding: 10px;
    line-height: 1.7;
    font-size: 13px;
  }

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

  .panel_flex .search_img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .panel_flex .search_img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .panel_flex .search_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    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: 20px 0;
}

#infinitySlider .splide__list {
  gap: 20px;
}

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

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

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

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

==================================================================================================================================*/
.pickup {
  position: relative;
  background: linear-gradient(20deg, rgb(88 68 58 / .6), rgb(174 156 141 / .34)), url(../images/front/pickup_bg.jpg) no-repeat center / cover;
}

.pickup_list {
  display: flex;
  flex-flow: wrap;
  gap: 100px;
}

.pickup_item {
  display: flex;
  gap: 60px;
}

.pickup_img {
  position: relative;
  z-index: 1;
  width: 45%;
  flex-shrink: 0;
  overflow: hidden;
}

.pickup_img::before {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, rgb(88 68 58 / .05), rgb(174 156 141 / .05));
  pointer-events: none;
}

.pickup_img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup_inner {
  position: relative;
}

.pickup_title {
  margin-bottom: 32px;
  line-height: 1.5;
}

.pickup_title h2, .pickup_title h3 {
  position: relative;
  padding-left: 35px;
  font-size: 130%;
  color: #fff;
}

.pickup_title h2::before,
.pickup_title h3::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 2px;
  width: 22px;
  height: 1px;
  background: #fff;
}

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

.pickup_title .eng {
  position: relative;
  left: -3px;
  display: inline-block;
  margin-bottom: 24px;
  color: #fff;
  font-size: 460%;
  letter-spacing: 0.05em;
  line-height: 1.1;
  text-transform: uppercase;
  opacity: 0.8;
  font-family: var(--font-en);
  font-weight: 300;
  font-style: normal;
}

.pickup_text {
  margin-bottom: 30px;
  color: #fff;
}

.pickup_link {
  display: flex;
  flex-flow: wrap;
  gap: 10px;
  margin-top: auto;
}

.pickup_link .pickup_btn {
  display: flex;
  width: calc((100% / 2) - (10px / 2));
  height: auto;
}

.pickup_link .pickup_btn a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  padding: 16px 45px 15px 21px;
  background: rgb(255 255 255 / .95);
  border: 1px solid #fff;
  color: var(--main-color);
  font-size: 100%;
  font-family: var(--font-jp);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

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

.pickup_link .pickup_btn a::after {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  content: "";
  width: 40px;
  height: auto;
  aspect-ratio: 10 / 1;
  mask: url(../images/common/mask_arrow.png) no-repeat center / cover;
  background: var(--main-color);
  transition: 0.2s;
}

.pickup_link .pickup_btn a:hover::after {
  right: 7px;
  mask: url(../images/common/mask_arrow.png) no-repeat center / cover;
  background: #fff;
}

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

/*==============================================
  *SP　ピックアップ（追加コンテンツ）
==============================================*/
@media screen and (max-width:640px) {
	.pickup {
    position: relative;
    background: linear-gradient(20deg, rgb(88 68 58 / .6), rgb(174 156 141 / .34)), url(../images/front/pickup_bg_sp.jpg) no-repeat center / cover;
}
  .pickup_list {
    width: calc(100%);
  }

  .pickup_title {
    margin-bottom: 24px;
  }

  .pickup_title h2, .pickup_title h3 {
    font-size: min(4.5vw, 18px);
  }

  .pickup_title .eng {
    left: 0;
    margin-bottom: 16px;
    font-size: min(10vw, 40px);
  }

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

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

  .pickup_img img {
    position: static;
  }

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

  .pickup_link .pickup_btn {
    width: 100%;
  }

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

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

  *円グラフ - 追加コンテンツ

==================================================================================================================================*/
#chart {
  position: relative;
  background: url(../images/front/bg_texture01.png) no-repeat right top / 40% auto, url(../images/front/bg_texture02.png) no-repeat left top / 55% auto, url(../images/front/bg_texture03.png) no-repeat left bottom / 55% auto, url(../images/front/bg_texture04.png) no-repeat right bottom / 30% auto;
  background-color: var(--bg-color);
}

/* ---- グラフのタブ ----- */
#chart .panel {
  padding: 60px 42px 56px;
  background: #fff;
}

#chart .tab_wrap {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  box-shadow: 0px 30px 20px rgb(47 29 10 / .2);
}

#chart .tab_list {
  display: flex;
  flex-flow: wrap;
  gap: 5px;
}

#chart .panel_wrap {
  box-shadow: 0px 30px 20px rgba(47, 29, 10, 0.1);
}

#chart .tab {
  position: relative;
  z-index: 1;
  display: block;
  flex: 1;
  width: calc((100% / 4) - (9px / 4));
  padding: 24px 20px;
  background: #8a8682;
  color: #fff;
  line-height: 1;
  letter-spacing: .12em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
  font-size: 187.5%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .tab.is-active {
  background: var(--main-color);
}

#chart .tab .jp {
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/* ----- 累計の数 ----- */
#chart .total_overall {
  position: relative;
  z-index: 1;
  display: none;
  margin: 20px auto 70px;
  font-size: 36px;
  text-align: center;
}

#chart .total_overall .total_overall_num {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 30px;
  color: var(--main-color);
  font-size: 150%;
  line-height: 1;
}

/* ----- タブごとの合計数 ----- */
#chart .total_graph {
  margin-bottom: 56px;
  text-align: center;
}

#chart .total_graph_text {
  color: var(--text-color);
  letter-spacing: .12em;
  line-height: 1;
  font-size: 187.5%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .total_graph_num {
  display: inline-block;
  padding: 0px 2px 0px 11px;
  background: linear-gradient(to top, rgb(81, 53, 39), rgb(131, 108, 83), rgb(168, 134, 104));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: 0.15em;
  font-size: 200%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

.total_graph_period {
  margin-top: 16px;
  color: var(--text-color);
  line-height: 1;
  letter-spacing: .12em;
  font-size: 110%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/* ----- グラフを囲う枠 ----- */
#chart .graph_container {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  gap: 0 33px;
}

#chart .graph_box {
  position: relative;
  z-index: 1;
  flex: 1;
  height: auto;
  margin: 0 auto;
  background: var(--bg-color);
}

/* ----- ラベル ----- */
#chart .graph_label {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 24px 10px 23px;
  color: #ffffff;
  text-align: center;
  letter-spacing: .12em;
  line-height: 1.41;
  font-size: 143.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .graph_label .small_label {
  font-size: 18px;
}

/* ----- 円グラフの数値（件数） ----- */
#chart .graph_count {
  position: relative;
  margin: 28px auto 32px;
  padding: 3px 20px;
  color: var(--main-color);
  text-align: center;
  line-height: 1.51;
  letter-spacing: .1em;
  font-size: 143.75%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}


#chart .graph_count_num {
  margin-right: 4px;
  letter-spacing: .15em;
  font-size: 3.3125rem;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

/* ---- 円グラフ ----- */
#chart .graph_content_wrap {
  position: relative;
  z-index: 1;
  top: -16px;
  max-width: 266px;
  margin: 0 auto 37px;
}

#chart .graph_content {
  position: relative;
  z-index: 1;
}

#chart .graph_content::before,
#chart .graph_content::after {
  position: absolute;
  z-index: 1;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
}

#chart .graph_content::before {
  width: 48%;
  background: rgb(255 255 255 / .22);
}

#chart .graph_content::after {
  width: 40%;
  background: #fff;
}


#chart .graph_content canvas {
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1;
  margin: 0 auto;
}

/* ----- タブの中のグラフでの割合（%） ----- */
#chart .graph_percentage {
  position: absolute;
  z-index: 2;
  top: 53%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--main-color);
  letter-spacing: .1em;
  line-height: 1;
  font-size: 150%;
  font-family: var(--font-jp);
  font-weight: 400;
  font-style: normal;
}

#chart .graph_percentage span {
  font-size: 200%;
}

/* ----- 説明文 ----- */
#chart .graph_explanation {
  margin-top: 30px;
}

/* ----- グラフ下のフリーエリア ----- */
.chart_bnr_wrap {
  background: #eee;
}

.chart_bnr_inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 21px;
  padding: 67px 80px 63px;
}

.chart_bnr_item {
  transition: .2s ease-in-out;
  overflow: hidden;
}

.chart_bnr_item img {
  transition: .2s ease-in-out;
}

.chart_bnr_item:hover img {
  opacity: 0.7;
  transform: scale(1.02);
}

/* ----- 2個目 ----- */
#chart .graph_box:nth-of-type(2n) .graph_count {
  color: rgb(131, 108, 83);
}

#chart .graph_box:nth-of-type(2n) .graph_percentage {
  color: rgb(131, 108, 83);
}

/* ----- 3個目 ----- */
#chart .graph_box:nth-of-type(3n) .graph_count {
  color: rgb(168, 134, 104);
}

#chart .graph_box:nth-of-type(3n) .graph_percentage {
  color: rgb(168, 134, 104);
}

/*==============================================
  *SP 円グラフ
==============================================*/
@media screen and (max-width: 640px) {
  #chart {
    background: var(--bg-color);
  }

  #chart .inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  #chart .top_title {
    padding-left: 10px;
  }

  /* ----- 累計の数 ----- */
  #chart .total_overall {
    margin: 0 auto 30px;
    font-size: 26px;
  }

  #chart .total_overall::before {
    display: none;
  }

  #chart .total_overall_text {
    display: block;
    margin: 0 auto 5px;
  }

  #chart .total_overall .total_overall_num {
    padding: 0 10px 0 0;
    font-size: 130%;
  }

  #chart .tab_wrap {
    box-shadow: 0px 10px 20px rgb(47 29 10 / .2);
  }

  #chart .tab_list {
    flex-flow: wrap;
    gap: 3px;
    padding: 0 3px;
  }

  #chart .tab {
    width: calc((100% / 2) - (6px / 2));
    flex: auto;
    padding: 10px 20px;
    font-size: 120%;
  }

	#chart .tab1{
		width: 100%;
	}
  #chart .tab::after {
    right: 10px;
    width: 7px;
    height: 7px;
  }

  #chart .panel {
    position: relative;
    padding: 40px 3px;
  }

  #chart .panel::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: "";
    width: calc(100% + 20px);
    height: 100%;
    background: #fff;
  }

  /* ----- タブごとの合計数 ----- */
  #chart .total_graph {
    position: relative;
    z-index: 1;
    margin-bottom: 38px;
  }

  #chart .total_graph_text {
    display: block;
    font-size: 125%;
  }

  .total_graph_period {
    margin-top: 10px;
    font-size: 90%;
  }

  #chart .total_graph_num {
    padding: 0 10px 0;
    font-size: 150%;
  }

  /* ----- グラフを囲う枠 ----- */
  #chart .graph_container {
    gap: 3px;
  }

  #chart .graph_box {
    width: 100%;
  }

  /* ----- ラベル ----- */
  #chart .graph_label {
    padding: 2vw 0;
    font-size: min(4vw, 20px);
  }

  #chart .graph_label .small_label {
    font-size: 23px;
  }

  /* ----- 円グラフの数値（件数） ----- */
  #chart .graph_count {
    padding: 7px 2vw;
    margin: 8px auto 0px;
    font-size: 100%;
  }

  #chart .graph_count_num {
    margin-right: 0;
    font-size: min(6vw, 32px);
  }

  /* ---- 円グラフ ----- */
  #chart .graph_content_wrap {
    top: 0;
    max-width: unset;
    margin-bottom: 32px;
  }

  #chart .graph_content canvas {
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
  }

  /* ----- タブの中のグラフでの割合（%） ----- */
  #chart .graph_percentage {
    font-size: 80%;
  }

  /* ----- 説明文 ----- */
  #chart .graph_explanation {
    margin-top: 20px;
  }

  #chart .graph_percentage span {
    font-size: min(6vw, 40px);
  }

  /* フリーエリア */
  .chart_bnr_inner {
    grid-template-columns: repeat(1, 1fr);
    padding: 40px 20px;
  }
}