@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *タイトル
  - *メインビジュアル
  - *医院紹介
  - *医師紹介
  - *アクセス
  - *ブログ
  - *404
------ */

@import url("variables.css");

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

  *基本設定

==================================================================================================================================*/
main section {
  margin-bottom: 80px;
}

main section:last-of-type {
  margin-bottom: 100px;
}

/* ----- 1カラム用 ------ */
/* 下層のコンテンツ幅 */
main section .inner, .breadcrumb .inner, .page_links .inner, .blog_wrap, .consultation_wrap {
  max-width: 1200px;
}

/* ----- 2カラム用 ------ */
/* .breadcrumb .inner , .blog_wrap{
  max-width: 1200px;
}

main .wrapper {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto 80px;
}

main .contents {
  width: 75%;
}
*/

/*==============================================
  *SP 基本設定
==============================================*/
@media screen and (max-width: 640px) {
  .inner {
    width: 100%;
    margin: auto;
    padding: 0 20px;
  }

  /* ----- 2カラム用 ------ */
  /* main .wrapper {
    flex-flow: column;
    gap: 0;
    margin-bottom: 80px;
  }

  main .contents {
    width: 100%;
  } */
}


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

  *パンくずリスト

==================================================================================================================================*/
.breadcrumb {
  margin: 30px auto!important;
}

.breadcrumb_list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
  font-family: var(--tsukushiA-R);
}

.breadcrumb_list li {
  position: relative;
  margin: 0;
  padding: 0;
  line-height: 1.5;
}

/* 共通スタイル：デフォルトでは矢印を表示 */
.breadcrumb_list li::after {
  content: "\f054";
  position: relative;
  top: -1px;
  padding: 0 10px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 70%;
}

/* 親タームが複数ある場合、最後以外にカンマを表示 */
.breadcrumb_list li.parent_term:has(~ .parent_term)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 子タームが複数ある場合、最後以外にカンマを表示 */
.breadcrumb_list li.child_term:has(~ .child_term)::after {
  content: ",";
  position: relative;
  top: 0;
  padding: 0 5px;
  font-family: inherit;
  font-weight: normal;
  font-size: 100%;
}

/* 最後の要素の矢印を消す */
.breadcrumb_list li:last-of-type::after {
  display: none;
}

/*==============================================
  *SP パンくずリスト
==============================================*/
@media screen and (max-width: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}


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

  *ページ内リンク

==================================================================================================================================*/
.page_links {
  margin-bottom: 50px;
}

.page_links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.page_links li {
  position: relative;
  z-index: 1;
}

.page_links li a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 15px;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 300px;
  font-family: var(--tsukushiA-R);
  color: #ffffff;
  font-size: 105%;
  text-align: center;
  transition: color 0.2s , background 0.2s;
}

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

/* 2列 */
.twoLinks li {
  width: calc((100% / 2) - (10px / 2));
}

/* 3列 */
.threeLinks li {
  width: calc((100% / 3) - (20px / 3));
}

/* オリジナル */
.originalLinks ul {
  gap: 13px 10px;
}

.originalLinks li {
  width: fit-content;
}

.originalLinks li a {
  padding: 5px 17px;
  font-size: 85%;
}

/*==============================================
  *SP ページ内リンク
==============================================*/
@media screen and (max-width: 640px) {
  .page_links li {
    width: 100%;
  }

  .originalLinks li {
    width: fit-content;
  }
}


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

  *ページャー

==================================================================================================================================*/
.pager {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 30px auto 0;
  font-size: 15px;
}

.pager > * {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 1px;
  background: #d7d7d7;
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
}

.pager .current {
  background: var(--main-color);
  color: #ffffff;
}

.pager a:hover {
  background: #929292;
  color: #ffffff;
}

.pager .next, .pager .prev {
  padding: 0 0 6px 1px;
  font-size: 150%;
}


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

  *書式設定

==================================================================================================================================*/
.mtem {
  margin-top: 2em;
}

.mbem {
  margin-bottom: 1em;
}

/* 段落余白 */
main .inner > *:not(h1,h2,h3,h4,h5) {
  margin-bottom: 2em;
}

main .inner > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 0;
}

/* ----- text ----- */
.text {
  position: relative;
}

.text > *:not(h1,h2,h3,h4,h5,h6) {
  margin-bottom: 2em;
}

.text > *:not(h1,h2,h3,h4,h5,h6):last-child {
  margin-bottom: 0;
}


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

  *タイトル

==================================================================================================================================*/
h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  margin-top: 3.5em;
  line-height: 1.75;
}

h2:first-of-type, h2 + h3, h3 + h4, h4 + h5, h5 + h6 {
  margin-top: 0;
}

h2 {
  margin-bottom: 18px;
  padding: 0 10px 15px 60px;
  border-bottom: 1px solid var(--line-color);
  font-size: 170%;
}

h2::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 5px;
  display: block;
  width: 38px;
  height: 35px;
  background: url(../images/logo.svg) no-repeat center / cover;
}

h3 {
  width: fit-content;
  margin-bottom: 25px;
  padding: 12px 50px;
  background: var(--bg-color);
  border-left: 10px solid var(--main-color);
  border-radius: 8px;
  font-size: 140%;
}

h4 {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-bottom: 25px;
  padding: 0 0 0 50px;
  border-radius: 8px;
  font-size: 140%;
}

h4 .recommend {
  position: relative;
  top: -2px;
  margin: 0 15px 0 5px;
}

h4::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  display: block;
  width: 40px;
  height: 30px;
  background: url(../images/tit_flower_info.png) no-repeat center / cover;
}

h5 {
  margin-bottom: 33px;
  color: var(--main-color);
  font-size: 130%;
}

@media screen and (max-width:640px) {
  h2 {
    padding: 0 5px 10px 50px;
    font-size: 150%;
  }
  h2::before {
    top: 4px;
    width: 32px;
    height: 30px;
  }

  h3 {
    padding: 10px 15px;
    border-left: 7px solid var(--main-color);
    font-size: 130%;
  }

  h4 {
    padding: 0 0 0 40px;
    font-size: 130%;
  }

  h4::before {
    top: 6px;
    width: 30px;
    height: 22px;
  }

  h5 {
    font-size: 120%;
  }
}


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

  *メインビジュアル

==================================================================================================================================*/
/* ----- #mainvisual ----- */
#mainvisual {
  position: relative;
  z-index: 1;
  height: auto;
  margin: 0 0 0 auto;
  background: var(--main-color);
  overflow: hidden;
}

#mainvisual .mainvisual_bg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 0 0 auto;
}

#mainvisual .mainvisual_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  object-position: center center;
}

#mainvisual .inner {
  height: 100%;
  padding: 0;
}

/* ----- 下層ページの見出し ----- */
.main_headline p {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 230px;
  font-family: var(--tsukushiA-R);
  color: var(--text-color);
  font-size: 200%;
  line-height: 1.5;
  text-align: center;
  filter: drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 5px #ffffff) drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 15px #ffffff) drop-shadow(0 0 15px #ffffff);
}

/*==============================================
  *SP メインビジュアル
==============================================*/
@media screen and (max-width: 640px) {
  .main_headline p {
    min-height: 180px;
    margin: 0;
    padding: 20px;
    font-size: 150%;
  }
}


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

  *医院紹介

==================================================================================================================================*/
.clinic_desc {
  width: 100%;
}

.clinic_desc dl {
  display: flex;
}

.clinic_desc dl dt {
  width: 20%;
  padding: 20px;
  border-bottom: 1px dotted var(--line-color);
  font-family: var(--tsukushiA-M);
  font-size: 110%;
}

.clinic_desc li:first-child dl dt {
  padding-top: 0;
}

.clinic_desc dl dd {
  width: 80%;
  padding: 20px;
  border-bottom: 1px dotted var(--line-color);
}

.clinic_desc dl dd .zipcode {
  margin-right: 10px;
}

.clinic_desc li:first-child dl dd {
  padding-top: 0;
}

.clinic_desc li:last-child dd {
  padding: 25px 0 40px;
}

.facilities_list {
  display: flex;
  flex-flow: wrap;
  gap: 30px 25px;
}

.facilities_item {
  width: calc((100% / 3) - (50px / 3));
  overflow: hidden;
}

.facilities_item dt {
  border: 1px solid var(--line-color);
  border-radius: 20px;
  overflow: hidden;
}

.facilities_item dd {
  padding: 15px 0;
}

.facilities_item dd p {
  padding-top: 5px;
}

.facilities_item h3 {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--tsukushiA-M);
  font-size: 125%;
  text-align: center;
}

.facilities_item h3::before, .facilities_item h3::after {
  display: none;
}

/* ----- 画像がない時用 ----- */
.facilities_item.noimg {
  padding: 15px;
}

/*==============================================
  *SP 医院紹介
==============================================*/
@media screen and (max-width: 640px) {
  .clinic_desc dl {
    display: block;
  }

  .clinic_desc dl dt {
    width: 100%;
    padding: 15px 0 5px;
    border-bottom: none;
  }

  .clinic_desc li:first-child dl dt {
    padding-top: 0;
  }

  .clinic_desc dl dd {
    width: 100%;
    padding: 0 0 15px;
  }

  .facilities_item {
    width: 100%;
  }
}


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

  *医師紹介

==================================================================================================================================*/
.doctor_box:not(:last-child) {
  margin: 0;
  padding: 0 0 60px;
}

.doctor_box:not(:first-child) h2 {
  margin-top: 20px;
}

.doctor_flex {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.doctor_text {
  width: 100%;
}

.doctor_text > *:not(:first-child) {
  margin-top: 30px!important;
}

.doctor_name {
  font-family: var(--tsukushiA-R);
  text-align: right;
}

.doctor_name .position {
  font-size: 140%;
  line-height: 1.75;
}

.doctor_name .name {
  font-size: 160%;
}

.doctor_img {
  flex-shrink: 0;
  width: 350px;
}

.doctor_img img {
  border-radius: 20px;
}

.doctor_career {
  margin-top: 30px;
}

.career_box {
  padding: 35px 40px;
  background: var(--bg-color);
  border-radius: 30px;
}

.career_box:not(:last-of-type) {
  margin-bottom: 20px;
}

.career_box h3 {
  margin: 0 0 5px;
  padding: 0;
  background: none;
  border: none;
  font-size: 140%;
}

.career_box h3::before, .career_box h3::after {
  display: none;
}

/* 日付あり */
.career_box dl {
  display: flex;
  gap: 10px;
  border-bottom: 1px dashed var(--line-color);
}

.career_box dl > * {
  padding: 10px 20px;
  font-family: var(--tsukushiA-R);
  font-size: 105%;
}

.career_box dt {
  width: 20%;
  font-weight: normal;
  text-align: center;
}

/* 日付なし */
.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
  font-family: var(--tsukushiA-R);
  font-size: 105%;
}

.doctor_freearea {
  margin-top: 30px;
}

/*==============================================
  *SP 医師紹介
==============================================*/
@media screen and (max-width: 640px) {
  .doctor_flex {
    flex-flow: column;
    gap: 30px;
  }

  .doctor_img {
    order: -1;
    width: 100%;
    margin: 0 auto;
  }

  .career_box {
    padding: 20px 25px;
  }

  .career_box h3 {
    margin: 0;
  }

  /* 日付あり */
  .career_box dl {
    flex-flow: column;
    gap: 0;
  }

  .career_box dl > * {
    padding: 10px;
  }

  .career_box dt {
    width: 100%;
    padding: 10px 10px 5px;
  }

  .career_box dd {
    width: 100%;
    padding: 5px 10px 10px;
  }

  /* 日付なし */
  .career_box li {
    padding: 10px;
  }
}


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

  *アクセス

==================================================================================================================================*/
/* GoogleMAPのみ */
.access .googlemap iframe {
  width: 100%;
  height: 400px;
  border-radius: 30px;
}

/* イラストマップのみ */
.access .illustmap {
  width: 100%;
  height: fit-content;
  text-align: center;
}

/* 両方を表示する時 */
.mapflex {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 30px;
}

.mapflex > * {
  display: flex;
  flex-grow: 1;
  align-items: stretch;
  width: calc(50% - 10px)!important;
}

.mapflex > .googlemap {
  position: relative;
  z-index: 1;
  flex-shrink: 1;
  width: calc(50% - 20px);
  height: auto;
}

.mapflex > .googlemap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.access .location {
  position: relative;
  z-index: 1;
  padding: 0 0 0 40px;
  font-family: var(--tsukushiA-M);
}

.access .location::before {
  content: "\f3c5";
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  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: 13px;
}

.access .location span {
  display: inline-block;
  margin-right: 10px;
}

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

/* ----- ルート案内 ----- */
.route_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

.route_item {
  width: calc((100% / 2) - (30px / 2));
}

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

.route_title {
  position: relative;
  z-index: 1;
  min-height: 30px;
  padding: 0 0 0 40px;
  font-size: 110%;
}

.route_title .number {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 0 0 0 1px;
  background: var(--main-color);
  border-radius: 50%;
  font-family: var(--tsukushiA-M);
  color: #ffffff;
  font-size: 90%;
  line-height: 1;
}

.route_img {
  border-radius: 25px;
  overflow: hidden;
}

/*==============================================
  *SP アクセス
==============================================*/
@media screen and (max-width: 640px) {
  .mapflex > * {
    width: 100%!important;
  }

  /* -----　ルート案内 ----- */
  .route_list {
    gap: 30px;
  }
  .route_item {
    width: 100%;
  }
}


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

  *ブログ

==================================================================================================================================*/
.blog_wrap {
  display: flex;
  gap: 50px;
  margin: 0 auto 80px;
  padding: 0;
}

.blog_wrap .inner {
  width: 75%;
  margin: 0;
  padding: 0;
}

.blog_wrap .contents {
  display: flex;
  flex-flow: wrap;
  gap: 30px 20px;
  width: 100%;
  margin: 0!important;
}

.blog_box {
  display: flex;
  flex-flow: column;
  width: calc((100% / 3) - (40px / 3));
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
  border-radius: 20px;
  overflow: hidden;
}

/*サムネイル*/
.blog_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-bottom: solid 1px var(--line-color);
  text-align: center;
}

.blog_box .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  aspect-ratio: 13 / 9;
}

.blog_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 15px 15px 20px;
  border-top: none;
}

/* 見出し */
.blog_box h2.blog_title {
  margin: 0 0 15px;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 110%;
}

.blog_box h2.blog_title:before {
  display: none;
}

/* 日付 */
.blog_date {
  margin-bottom: 5px;
  font-family: var(--tsukushiA-R);
  font-size: 13px;
  line-height: 1.5;
}

.blog_date::before {
  content: "\f073";
  display: inline-block;
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
}

/* 日付・カテゴリ */
.blog_categorys {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  margin-bottom: 20px;
  font-family: var(--tsukushiA-R);
  line-height: 1.5;
}

.blog_categorys li a {
  display: inline-block;
  font-size: 13px;
  line-height: 1.5;
}

.blog_categorys li a::before {
  content: "\f02b";
  position: relative;
  top: 1px;
  display: inline-block;
  margin-right: 5px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
}

.blog_box .btn01 {
  margin-top: auto;
  text-align: center;
}

.blog_box .btn01 {
  min-width: auto;
}

/* ----- サイドバ ----- */
.sidebar {
  z-index: 3;
  flex-shrink: 0;
  width: 25%;
}

.side_box {
  padding: 20px;
  background: var(--bg-color);
  border-radius: 20px;
  font-family: var(--tsukushiA-R);
}

.side_box:not(:last-of-type) {
  margin-bottom: 30px;
}

.sidebar .side_title {
  position: relative;
  z-index: 1;
  margin-bottom: 15px;
  padding: 0 0 10px 5px;
  border-bottom: solid 1px var(--line-color);
  font-size: 120%;
  line-height: 1.5;
  text-align: left;
}

.sidebar .side_title i {
  margin-right: 10px;
  color: var(--main-color);
}

/* サイドバー（診療案内） */
.sidebar .medical ul li {
  padding: 10px 15px;
  border-bottom: 1px solid var(--line-color);
}

.sidebar .medical ul li a:hover {
  color: var(--main-color);
}

/* サムネイル付（人気記事・最近の投稿） - 人気記事はプラグインによる出力 */
.blog_list_thum {
  display: flex;
  flex-flow: column;
}

.blog_list_thum li {
  padding: 15px 0;
}

.blog_list_thum li:first-child {
  padding-top: 0;
}

.blog_list_thum li:last-child {
  padding-bottom: 0;
}

.blog_list_thum li:not(:last-child) {
  border-bottom: 1px dashed var(--line-color);
}

.blog_list_thum li a {
  display: flex;
  gap: 10px;
  color: var(--text-color);
  font-size: 95%;
  line-height: 1.55;
}

.blog_list_thum li a:hover {
  color: var(--main-color);
}

.blog_item_thum {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}

.blog_item_thum img {
  float: none;
  display: block;
  width: auto;
  min-height: 100%;
  margin: 0;
  object-fit: cover;
  transition: transform 0.2s;
}

.blog_list_thum li a:hover .blog_item_thum img {
  transform: scale(1.1);
}

.blog_item_title {
  padding: 5px 0;
}

/* タイトルのみ */
.side_item {
  padding: 15px 5px 15px;
  border-bottom: 1px dashed var(--line-color);
}

.side_item a {
  color: var(--text-color);
  line-height: 1.65;
}

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

/* カテゴリー */
.side_category li {
  margin-bottom: 5px;
  padding: 0 5px;
}

.side_category li a {
  position: relative;
  z-index: 1;
  padding: 0 0 0 15px;
  color: var(--text-color);
}

.side_category li a::before {
  content: "-";
  position: absolute;
  top: -1px;
  left: 0;
  display: inline-block;
  align-self: start;
  line-height: 1;
}

.side_category li a:hover {
  color: var(--main-color);
}

/* ----- 記事ページ ----- */
.blog_single_box {
  width: 100%;
}

.single_thumbnail {
  margin: 0 auto 30px;
  text-align: center;
}

#index {
  margin: 0 0 30px;
  padding: 20px;
  background: var(--bg-color);
}

#index .index_title {
  margin: 0 0 0;
  font-weight: bold;
  font-size: 110%;
}

#index a {
  color: var(--text-color);
}

#index a:hover {
  color: var(--main-color);
}

#index ul .index_h2 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 20px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 110%;
}

#index ul .index_h2::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  display: block;
  width: 8px;
  height: 8px;
  background: var(--main-color);
}

#index ul .index_h3 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 25px;
}

#index ul .index_h3::before {
  content: "-";
  position: absolute;
  top: 5px;
  left: 10px;
}

.blog_single_box  .blog_text > *:not(h1,h2,h3,h4,h5) {
  margin-bottom: 2em;
}

.blog_single_box  .blog_text > *:not(h1,h2,h3,h4,h5):last-child {
  margin-bottom: 2em;
}


/*==============================================
  *SP ブログ
==============================================*/
@media screen and (max-width: 640px) {
  .blog_wrap {
    flex-flow: column;
    gap: 70px;
    width: 100%;
  }

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

  /* 一覧ページ */
  .blog_box {
    width: 100%;
  }

  .blog_box .thumbnail {
    height: auto;
    min-height: auto;
  }

  /* ----- サイドバー ----- */
  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

  .blog_box .thumbnail img {
    width: 100%;
    height: auto;
  }

  .side_box:not(:last-of-type) {
    margin-bottom: 20px;
  }

  .thumbnail {
    float: none;
    margin: 0;
    text-align: center;
  }

  .thumbnail img {
    width: 200px;
    max-width: 100%;
    height: 200px;
    max-height: unset;
    object-fit: cover;
  }
}


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

  *お悩み相談室

==================================================================================================================================*/
.consultation_wrap {
  display: flex;
  gap: 50px;
  margin: 0 auto 80px;
  padding: 0;
  font-family: var(--tsukushiA-R);
}

.consultation_wrap  .inner {
  width: 75%;
  margin: 0;
  padding: 0;
}

.consultation_wrap  .contents {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  width: 100%;
  margin: 0!important;
}

.consultation_box {
  width: 100%;
}

.consultation_box a {
  display: block;
  padding: 17px 20px 15px;
  background: var(--bg-color);
  border-radius: 15px;
}

.consultation_box a:hover {
  background: #ffeeee;
}

/* 見出し */
.consultation_box h2.consultation_title {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 120%;
}

.consultation_box h2.consultation_title:before {
  display: none;
}

.consultation_info {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 10px 15px;
  margin-bottom: 40px!important;
}

.consultation_box .consultation_info {
  margin-bottom: 10px!important;
}

/* 日付 */
.consultation_date {
  flex-shrink: 0;
  color: var(--text-color)!important;
  font-size: 13px;
  line-height: 1.5;
}

.consultation_date::before {
  content: "\f073";
  display: inline-block;
  margin-right: 7px;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  color: var(--main-color);
}

/*カテゴリ */
.consultation_categorys {
  display: flex;
  flex-flow: wrap;
  gap: 0 5px;
  line-height: 1.5;
}

.consultation_categorys li {
  display: inline-block;
  height: fit-content;
  padding: 2px 20px;
  background: var(--main-color);
  border-radius: 300px;
  color: #ffffff;
  font-size: 80%;
  line-height: 1.5;
}

.consultation_content {
  display: flex;
  align-items: flex-start;
  gap: 70px;
  height: fit-content;
}

.consultation_inner {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.consultation_profile {
  flex-shrink: 0;
  width: 100px;
}

/* アイコン（写真）とテキストがある場合のみ、テキストにmarginをつける */
.consultation_profile > *:nth-child(2) {
  margin-top: 10px;
}

.consultation_profile_icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 38px;
}

.consultation_profile_img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
}

.consultation_profile_img img {
  object-fit: cover;
}

.consultation_profile_icon.woman {
  background: var(--bg-color);
  color: var(--main-color);
}

.consultation_profile_icon.men {
  background: #eff4fb;
  color: #5d86bb;
}

.consultation_profile_icon.other {
  background: #f4f4f4;
  color: #8e8e8e;
}

.consultation_profile_text {
  height: fit-content;
  font-size: 90%;
  text-align: center;
}

.consultation_text {
  /* display: flex;
  justify-content: center;
  align-items: center; */
  width: 100%;
  height: auto;
  padding: 20px;
  border: 1px solid var(--line-color);
  border-radius: 15px;
}

.consultation_text > :not(:last-child) {
  margin-bottom: 1em;
}

/* 相談者 */
.consultation_question {
  margin: 0 auto 30px!important;
}

/* 回答者 */
.consultation_answer .consultation_inner {
  flex-direction: row-reverse;
}

.consultation_answer .consultation_profile {
  width: 120px;
}


@media screen and (max-width:640px) {
  .consultation_wrap {
    flex-flow: column;
    gap: 70px;
    width: 100%;
  }

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

  .consultation_date {
    font-size: 12px;
  }

  .consultation_categorys li {
    padding: 2px 13px;
    font-size: 75%;
  }

  .consultation_box h2.consultation_title {
    font-size: 110%;
  }

  .consultation_question {
    margin-bottom: 30px!important;
  }

  .consultation_inner {
    gap: 20px;
  }

  .consultation_profile {
    width: 70px;
  }

  .consultation_answer .consultation_profile {
    width: 70px;
  }

  .consultation_profile_icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .consultation_profile_img {
    width: 70px;
    height: 70px;
  }
}


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

  *料金表

==================================================================================================================================*/
body:not(.page-id-15) .price-only {
  display: none;
}

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

  *ドクターズコスメ

==================================================================================================================================*/
.cosme {
  padding: 30px 40px;
  background: var(--bg-color);
  border-radius: 30px;
}

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

.item_img {
  flex-shrink: 0;
  width: 30%;
}

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

.item_description > * {
  margin-bottom: 1em;
}

.item_name {
  width: 100%;
  margin: 0 0 20px!important;
}

.description_title {
  padding: 4px 30px 6px;
  background: var(--main-color);
  border-radius: 300px;
  font-family: var(--tsukushiA-M);
  color: #ffffff;
  font-size: 110%;
}

.description_title:not(:first-of-type) {
  margin-top: 35px;
}

.description_subtitle {
  width: fit-content;
  margin: 35px 0 20px;
  padding: 4px 30px 6px;
  background: #ffffff;
  border-radius: 300px;
  font-family: var(--tsukushiA-M);
  color: var(--main-color);
}

.description_title + .description_subtitle {
  margin-top: 0!important;
}

.description_notice {
  font-family: var(--tsukushiA-M);
  color: var(--main-color);
}


@media screen and (max-width:640px) {
  .cosme {
    padding: 25px;
  }

  .cosme_inner {
    flex-flow: column;
    gap: 20px;
  }

  .item_img {
    width: 100%;
  }
}


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

  *初回限定お試しプラン

==================================================================================================================================*/
.plan {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.plan_box {
  display: flex;
  flex-flow: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.plan_title {
  display: block;
  gap: 10px;
  padding: 10px 20px;
  background: var(--main-color);
  font-family: var(--tsukushiA-M);
  color: #ffffff;
  font-size: 120%;
  text-align: center;
}

.plan_text {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px 15px;
  background: var(--bg-color);
  font-family: var(--tsukushiA-M);
  font-size: 110%;
  text-align: center;
}

.plan_price {
  color: var(--main-color);
  font-size: 130%;
}

.plan_caution {
  font-family: var(--tsukushiA-M);
  color: var(--main-color);
  font-size: 105%;
}

@media screen and (max-width:640px) {
  .plan {
    grid-template-columns: repeat(1,1fr);
  }
}


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

お問い合わせ

==================================================================================================================================*/
.contact {
  width: 100%;
  margin-bottom: 30px;
}

.contact dl {
  display: flex;
  flex-flow: wrap;
  border-top: 1px solid var(--line-color);
}

.contact dl:last-of-type {
  border-bottom: 1px solid var(--line-color);
}

.contact dt, .contact dd {
  padding: 25px 15px;
}

.contact dt {
  display: flex;
  align-items: center;
  width: 33%;
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-family: var(--tsukushiA-M);
  font-style: normal;
  font-weight: 400;
  font-size: 110%;
}

.contact dd {
  width: 65%;
  font-family: var(--tsukushiA-M);
}

.contact_box:not(:last-child) {
  margin-bottom: 25px;
}

/* 必須 */
.required {
  display: inline-block;
  margin: 0 15px 0 0;
  padding: 3px 10px;
  background: var(--main-color);
  border-radius: 5px;
  color: #ffffff;
  font-size: 80%;
}

/* dd側のタイトル */
.contact_title {
  width: fit-content;
  min-width: 100px;
  margin-bottom: 15px;
  padding: 3px 20px;
  background: var(--sub-color);
  border-radius: 300px;
  font-family: var(--tsukushiA-M);
  color: #ffffff;
  font-size: 90%;
  text-align: center;
}

/* 入力欄 */
.contact textarea, .contact input[type="email"], .contact input[type="text"], .contact input[type="tel"] {
  width: 100% !important;
  padding: 15px;
  background: var(--bg-color) !important;
  border: none;
  border-radius: 10px;
  resize: vertical;
}

/* ラジオボタン */
input[type="radio"] {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.wpcf7-radio .wpcf7-list-item {
  margin: 0;
}

.wpcf7-radio .wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wpcf7-radio .wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid var(--main-color);
  border-radius: 50%;
}

.wpcf7-radio .wpcf7-list-item-label::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 4px;
  display: block;
  display: none;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

input[type="radio"]:checked + span.wpcf7-list-item-label::after,
input[type="radio"]:checked + input[type="hidden"] + span.wpcf7-list-item-label::after {
  display: block;
}

/* チェックボックス */
.wpcf7-checkbox {
  display: flex;
  gap: 20px;
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}


.wpcf7-checkbox input {
  display: none;
}

.wpcf7-checkbox input + span {
  position: relative;
  display: inline-block;
  padding-left: 28px;
}

.wpcf7-checkbox input + span::after, .wpcf7-checkbox input + span::before {
  content: "";
  position: absolute;
  top: 0;
  display: block;
}

.wpcf7-checkbox input + span::before {
  top: 50%;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border: 1px solid var(--line-color);
  border-radius: 5px;
  transform: translateY(-50%);
}

.wpcf7-checkbox input + span::after {
  top: 50%;
  left: 4px;
  display: none;
  width: 12px;
  height: 12px;
  background-color: var(--main-color);
  border: none;
  border-radius: 3px;
  transform: translateY(-50%);
}

.wpcf7-checkbox input:checked + span::after,
.wpcf7-checkbox input:checked + input[type="hidden"] + span::after {
  display: block;
}


/* ドロップダウンメニュー */
.reserve_date p {
  display: flex;
  gap: 10px;
}

.wpcf7-select {
  width: 100%;
  padding: 7px 25px;
  background: var(--bg-color);
  border-radius: 10px;
  font-family: var(--tsukushiA-R);

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* ボタン */
.submit_text {
  margin-bottom: 30px;
  text-align: center;
}

.contact_btn_flex {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 30px;
}

.contact_btn.submit input,
.contact_btn.submit button {
  width: 100%;
  min-width: 250px;
  padding: 10px 25px 10px 30px;
  border: none;
  border-radius: 10px;
  border-radius: 300px;
  font-family: var(--tsukushiA-M);
  color: #ffffff;
  font-size: 120%;
  letter-spacing: 0.1em;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s , background 0.2s;
}

.contact_btn.submit input,
.contact_btn.submit button {
  background: var(--main-color);
  border: 1px solid var(--main-color);
}

.contact_btn.submit  input:hover {
  background: #ffffff;
  color: var(--main-color);
}

.contact_btn.submit input:disabled {
  background: var(--main-color);
  border: 1px solid var(--main-color);
  color: #ffffff;
  opacity: 1;
}

.contact_btn.previous input {
  background: #a4a4a4;
  border: 1px solid #a4a4a4;
}

.contact_btn.previous input:hover {
  background: #ffffff;
  color: #a4a4a4;
}


.thanks_text {
  text-align: center;
}

/* ぐるぐるボタン削除 */
.wpcf7-spinner {
  display: none!important;
}

/* 必須項目エラー */
.wpcf7-not-valid-tip {
  margin-top: 13px;
}

/* .wpcf7-response-output {
  display: none;
} */

/* recaptcha */
.grecaptcha-badge {
  bottom: 200px!important;
  z-index: 1000;
}

@media screen and (max-width: 640px) {
  .contact dl {
    padding: 20px 0 25px;
  }
  .contact dl > * {
    width: 100%;
    padding: 0;
  }
  .contact dl dt {
    margin-bottom: 15px;
    font-size: 110%;
  }

  /* recaptcha */
  .grecaptcha-badge {
    bottom: 160px!important;
  }
}


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

footer前の予約ゾーン

==================================================================================================================================*/
.treatment-info {
  display: flex;
  flex-flow: column;
  gap: 30px 50px;
  margin-bottom: 80px;
  padding-top: 80px;
  border-top: dashed 1px var(--line-color);
}

.treatment-info_banner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.treatment-info_banner_item a:hover {
  opacity: 0.5;
}

.treatment-info_inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px 30px;
}

.treatment-info_box {
  display: flex;
  flex-flow: column;
  padding: 30px;
  /* border: 1px solid var(--line-color); */
  background: var(--bg-color);
  border-radius: 30px;
  font-family: var(--tsukushiA-M);
}

.treatment-info_box > *:not(:last-child , .btn01) {
  margin-bottom: 1em;
}

.treatment-info_box > *:not(.btn01):last-of-type {
  margin-bottom: 35px!important;
}

.treatment-info_title {
  width: 100%;
  margin: 0 auto 20px!important;
  padding: 10px 20px;
  background: #ffffff;
  border-radius: 1000px;
  color: var(--main-color);
  font-size: 120%;
  text-align: center;
}

.treatment-info_box .btn01 {
  margin-top: auto;
  text-align: center;
}

.treatment-info_box .btn01 > * {
  padding: 10px 60px 10px 50px;
}

@media screen and (max-width:640px) {
  .treatment-info {
    padding-top: 60px;
  }

  .treatment-info_banner {
    grid-template-columns: repeat(1,1fr);
  }

  .treatment-info_inner {
    grid-template-columns: repeat(1,1fr);
  }

  .treatment-info_box {
    padding: 20px;
  }
}


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

404

==================================================================================================================================*/
.error404 main .inner {
  padding: 50px 0 60px;
}

.error404 main .inner p {
  text-align: center;
}

/*==============================================
  *SP 404
==============================================*/
@media screen and (max-width: 640px) {
  .error404 main .inner {
    padding: 0 20px 60px;
  }
  .error404 main .inner p {
    text-align: start;
  }
}