@charset "UTF-8";

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

  *基本設定

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
main section:not(:last-child) {
  margin-bottom: 100px;
}

main .wrapper {
  display: flex;
  gap: 50px;
  margin: 30px auto 100px;
}

main .contents {
  width: 100%;
}

/* ----- 1カラム用 ------ */
main .inner {
  max-width: 1200px;
}

/* ----- 2カラム用 ------ */
main .two_column.wrapper {
  max-width: 1200px;
}

main .two_column .inner {
  width: 100%;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  main section:not(:last-child) {
    margin-bottom: 80px;
  }

  main .wrapper {
    margin: 0 auto 80px;
  }

  /* ----- 1カラム用 ------ */
  main .inner {
    padding: 0 20px;
  }

  /* ----- 2カラム用 ------ */
  main .two_column.wrapper {
    flex-flow: column;
  }
}

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

  *パンくずリスト

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.breadcrumb {
  margin: 0 auto 30px !important;
}

.breadcrumb_list {
  counter-reset: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 0;
}

.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:has(~ .parent)::after,
.breadcrumb_list li.child:has(~ .child)::after,
.breadcrumb_list li.grandchild:has(~ .grandchild)::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: 768px) {
  .breadcrumb {
    font-size: 13px;
  }
}

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

  *ページ内リンク

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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;
}

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

.twoLinks a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 30px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 1000px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

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

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

.threeLinks a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 10px 30px;
  background: var(--sub-color);
  border: 1px solid var(--sub-color);
  border-radius: 1000px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #ffffff;
  text-align: center;
  transition: color 0.2s, background 0.2s;
}

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

/* ----- カスタムリンク ----- */
.customLinks ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px 30px;
}

.customLinks a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 15px 40px 15px 0;
  border-bottom: 1px solid var(--main-color);
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.1em;
  vertical-align: bottom;
  transition: background 0.2s, color 0.2s;
}

.customLinks a:hover {
  border-bottom: 1px solid var(--sub-color);
  color: var(--sub-color);
}

.customLinks a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  display: block;
  width: 10px;
  height: 10px;
  background: var(--main-color);
  border-radius: 50%;
  transform: translateY(-50%);
  transition: right 0.3s, background 0.3s;
}

.customLinks a:hover::before {
  right: 20px;
  background: var(--sub-color);
}

.customLinks a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: block;
  width: 25px;
  height: 1px;
  background: var(--main-color);
  transform: translateY(-50%);
  transition: background 0.3s;
}

.customLinks a:hover::before {
  background: var(--sub-color);
}

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

  /* ----- 2列 ----- */
  .twoLinks li {
    width: 100%;
  }

  /* ----- 3列 ----- */
  .threeLinks li {
    width: 100%;
  }

  /* ----- カスタムリンク ----- */
  .customLinks ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 30px;
  }

  .customLinks a {
    padding: 10px 30px 10px 0;
    font-size: 13px;
  }

  .customLinks a::before {
    width: 10px;
    height: 10px;
  }

  .customLinks a::before:hover::before {
    right: 15px;
    background: var(--sub-color);
  }

  .customLinks a::before::after {
    content: "";
    width: 20px;
  }
}

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

  *ページャー

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

/* ----- ページャーのボタン ----- */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0 0 1px 2px;
  background: #d7d7d7;
  border-radius: 50%;
  color: #ffffff;
  line-height: 1;
}

/* リンクの場合  */
a.page-numbers.prev, a.page-numbers.next {
  padding: 0 0 5px 1px;
  font-size: 170%;
}

a.page-numbers:hover {
  background: #929292;
  color: #ffffff;
}

/* 開いているページ */
.page-numbers.current {
  background: var(--main-color);
  color: #ffffff;
}

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

  *サイドバー

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.sidebar {
  z-index: 3;
  flex-shrink: 0;
  width: 300px;
}

.side_box {
  padding: 20px;
  background: var(--bg-color);
}

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

.side_box .children {
  padding-left: 10px;
}

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

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

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

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

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

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

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

  *タイトル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
main h2, main h3, main h4, main h5, main h6 {
  position: relative;
  z-index: 1;
  margin: 50px auto 25px 0;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

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

main h2 {
  padding: 25px 35px;
  background: var(--main-color);
  color: #ffffff;
  font-size: 150%;
}

main h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 1px solid #cfb880;
  transform: translate(-50%, -50%);
}

main h2:not(:first-child) {
  margin-top: 80px !important;
}

main h3 {
  padding: 15px 25px;
  border: 1px solid var(--main-color);
  font-size: 120%;
}

main h3::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  display: block;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  background: #fafafa;
  transform: translate(-50%, -50%);
}

main h4 {
  position: relative;
  width: fit-content;
  padding: 10px 22px 10px 25px;
  background: #f9f9f9;
  border-left: 5px solid var(--main-color);
  font-size: 125%;
}

main h5 {
  color: var(--main-color);
  font-size: 120%;
}

main h6 {
  font-size: 110%;
}

@media screen and (max-width: 640px) {
  h2 {
    padding: 20px 25px;
    font-size: 135%;
  }

  h3 {
    padding: 10px 20px;
    font-size: 115%;
  }
}

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

  *メインビジュアル

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.mainvisual {
  position: relative;
  z-index: 1;
  background: var(--main-color);
  overflow: hidden;
}

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

.mainvisual .mainvisual_bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(86, 74, 43, 0.5);
}

.mainvisual .mainvisual_bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.mainvisual .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 450px;
  padding: 100px 0 50px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
}

/* ----- 下層ページの見出し ----- */
.main_headline {
  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: 768px) {
  .mainvisual .inner {
    min-height: 250px;
    padding: 30px 20px;
  }

  /* ----- 下層ページの見出し ----- */
  .main_headline {
    font-size: 150%;
  }
}

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

  *扉ページ

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.custom_post_wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 100px 50px;
}

.custom_post_item .btn01 {
  margin-top: 30px;
  text-align: right;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .custom_post_wrapper {
    grid-template-columns: repeat(1, 1fr);
    gap: 80px 50px;
  }
}

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

  *医院案内

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

.clinic_desc dl {
  display: flex;
}

.clinic_desc dt {
  width: 20%;
  padding: 15px;
  border-bottom: 1px dotted var(--line-color);
  font-weight: bold;
}

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

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

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

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

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

.two_column .facilities_list {
  grid-template-columns: repeat(2, 1fr);
}

.facilities_item {
  background: var(--bg-color);
}

.facilities_item dd {
  padding: 15px 20px;
}

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

.facilities_item h3 {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 125%;
}

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

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

.facilities_item.noimg p {
  margin-top: 5px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .clinic_desc dl {
    display: block;
  }

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

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

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

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

  .two_column .facilities_list {
    grid-template-columns: repeat(1, 1fr);
  }
}

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

  *医師紹介

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.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_catch {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 120%;
}

.doctor_logo {
  max-width: 250px;
  margin: 10px 0 15px auto;
}

.doctor_name {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-align: right;
}

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

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

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

.doctor_career {
  margin-top: 30px;
}

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

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

.career_box h3 {
  margin: 0 0 5px;
  padding: 0;
  background: none;
  border: none;
  color: var(--main-color);
  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);
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
}

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

.career_box dt {
  width: 15%;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 500;
}

/* 日付なし */
.career_box {
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

/* フリーエリア */
.doctor_freearea {
  margin-top: 30px;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .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;
  }
}

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

  *アクセス

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- MAP ----- */
.access .googlemap iframe {
  width: 100%;
  height: 400px;
}

/* イラストマップのみ */
.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-weight: bold;
}

.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 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(50% - 15px);
}

.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;
  background: var(--main-color);
  color: #ffffff;
  line-height: 1;
}

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .mapflex > * {
    width: 100% !important;
  }

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

  .route_item {
    width: 100%;
  }
}

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

  *ブログ

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
/* ----- 共通 ----- */
.wrapper_blog {
  display: flex;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto;
  margin: 30px auto 100px;
}

.blog_contents {
  width: 100%;
}

/* 日付 */
.blog_date {
  margin-bottom: 5px;
  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;
  line-height: 1.5;
}

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

.blog_categorys 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_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.75;
}

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

/* サムネイル */
.blog_item_thum {
  float: none;
  display: block;
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  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_item a:hover img {
  transform: scale(1.1);
}

/* タイトル */
.blog_item_title {
  padding: 5px 0;
}

/* カテゴリー */
.side_blog_category a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0 0 15px;
  color: var(--text-color);
}

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

.side_blog_category a::before {
  content: "-";
  position: absolute;
  top: 0;
  left: 0;
}

/* ----- アーカイブページ ----- */
.blog_article {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.blog_archive_box {
  display: flex;
  flex-flow: column;
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
}

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

.blog_archive_box .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 13/9;
}

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

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

.blog_archive_box h2.blog_title:before, .blog_archive_box h2.blog_title:after {
  display: none;
}

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

.blog_archive_box .btn01 > * {
  min-width: auto;
}

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

/* サムネイル */
.blog_single_box .thumbnail {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 30px;
  text-align: center;
}

/* 目次　 */
#index {
  margin: 0 0 30px;
  padding: 20px 30px;
  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 .index_h2 {
  position: relative;
  z-index: 1;
  padding: 5px 0 5px 20px;
  font-weight: bold;
  color: var(--text-color);
  font-size: 110%;
}

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

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

#index .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: 768px) {
  /* ----- 共通 ----- */
  .wrapper_blog {
    flex-flow: column;
    gap: 50px;
    width: 100%;
    margin: 30px auto 80px;
  }

  /* ----- アーカイブページ ----- */
  .blog_article {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .blog_archive_box {
    width: 100%;
  }

  /* サムネイル */
  .blog_archive_box .thumbnail {
    height: auto;
    min-height: auto;
  }

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

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

料金表

================================================================================================================================== */
.credit {
  display: flex;
  gap: 15px;
}

.credit li {
  border: 1px solid var(--line-color);
}

@media screen and (max-width: 768px) {
  .credit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

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

施術から探す

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

.menu_list {
  padding: 25px 20px;
  background: #ffffff;
}

.menu_category_title a {
  display: block;
  width: 100%;
  margin: 0 auto 15px;
  padding: 0 5px 8px;
  border-bottom: 1px solid var(--line-color);
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.menu_category_list {
  padding: 0 5px;
}

.menu_category_item:not(:last-child) {
  margin-bottom: 5px;
}

.menu_category_item a {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 0 0 0 15px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: var(--text-color);
  font-size: 90%;
}

.menu_category_item a::before {
  content: "-";
  position: absolute;
  top: 5px;
  left: 0;
  line-height: 1;
}

.menu_category_item a:hover {
  color: var(--sub-color);
}

@media screen and (max-width: 768px) {
  .menu .inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media screen and (max-width: 400px) {
  .menu .inner {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
  }
}

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

お問い合わせフォーム

================================================================================================================================== */
.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 {
  display: flex;
  align-items: center;
  width: 33%;
  padding: 25px 15px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 110%;
}

.contact dd {
  width: 65%;
  padding: 25px 15px;
}

/* --------------------------------------------------
コンタクトボックス
-------------------------------------------------- */
.contact_box:not(:last-child) {
  margin-bottom: 15px;
}

/* --------------------------------------------------
必須
-------------------------------------------------- */
.contact_required {
  display: inline-block;
  margin: 0 15px 0 0;
  padding: 3px 10px;
  background: #964848;
  color: #ffffff;
  font-size: 80%;
}

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

@media screen and (max-width: 768px) {
  .contact textarea, .contact input[type=email], .contact input[type=text], .contact input[type=tel], .contact input[type=number] {
    font-size: 14px;
  }
}

/* --------------------------------------------------
ContactForm7　- 注意書きメッセージ
-------------------------------------------------- */
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border: none;
  color: #dc3232;
  text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
  display: none;
}

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

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

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

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

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

/* --------------------------------------------------
ContactForm7　- チェックボックス
-------------------------------------------------- */
.wpcf7-checkbox {
  display: flex;
  flex-flow: wrap;
  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 {
  display: block;
}

/* --------------------------------------------------
ContactForm7　- ドロップダウンメニュー
-------------------------------------------------- */
.wpcf7-select {
  width: 100%;
  padding: 7px 25px;
  background: var(--bg-color);
  border-radius: 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7-file {
  display: block;
  width: 100%;
  padding: 0 30px 0 0;
  background-color: #ffffff;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .wpcf7-file {
    padding: 0 20px 0 0;
    font-size: 13px;
  }
}

input[type=file]::file-selector-button {
  height: 100%;
  margin-right: 30px;
  padding: 10px 20px;
  background: #c3c3c3;
  border: none;
  color: #ffffff;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  input[type=file]::file-selector-button {
    margin-right: 20px;
    padding: 10px 15px;
  }
}

/* --------------------------------------------------
送信ボタン
-------------------------------------------------- */
.contact_buttons {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px 30px;
}

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

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

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

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

@media screen and (max-width: 640px) {
  .contact dl {
    padding: 20px 0 25px;
  }

  .contact dt {
    width: 100%;
    margin-bottom: 15px;
    padding: 0;
    font-size: 110%;
  }

  .contact dd {
    width: 100%;
    padding: 0;
  }

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

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

お悩みから探す

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

.trouble_item {
  position: relative;
  z-index: 1;
  min-height: 140px;
  background: #a79077;
  overflow: hidden;
}

.trouble_item:hover {
  opacity: 0.8;
}

.trouble_item:first-of-type {
  display: none;
}

/* 全てのお悩みは非表示 */
#ALL.trouble_item {
  display: none;
}

.trouble_img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

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

.trouble_inner {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px 80px 20px 40px;
  color: #f2efeb;
}

.trouble_title .trouble_title_eng {
  font-family: "classico-urw", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
}

.trouble_title .trouble_title_eng span {
  display: block;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
}

.trouble_title .trouble_title_jp {
  margin-top: 10px;
  font-family: "shippori-mincho", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
}

@media screen and (max-width: 768px) {
  .trouble .inner {
    padding: 70px 20px 100px;
  }

  .trouble_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trouble_item {
    min-height: auto;
  }

  .trouble_inner {
    align-items: flex-start;
    padding: 13px 20px 15px 10px;
  }

  .trouble_title .trouble_title_eng {
    font-size: 18px;
  }

  .trouble_title .trouble_title_jp {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.65;
  }
}

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

404

================================================================================================================================== */
/* ----------------------------------------------------------------------
  ▼ PC
---------------------------------------------------------------------- */
.error404 main > .inner {
  padding: 20px 0 80px;
}

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

/* ----------------------------------------------------------------------
  ▼ SP
---------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
  .error404 main > .inner {
    padding: 0px 20px 60px;
  }
}
