@charset "UTF-8";

/* ------
  - *基本設定
  - *パンくずリスト
  - *ページ内リンク
  - *ページャー
  - *書式設定
  - *タイトル
  - *メインビジュアル
  - *医院案内
  - *医師紹介
  - *アクセス
  - *ブログ
  - *404
------ */
@import url("variables.css");

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

  *基本設定

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

/* ----- 1カラム用 ------ */
main section .inner, .breadcrumb .inner, .page_links .inner, .blog_wrap {
  max-width: 1100px;
}

/* ----- ナビ ------ */
@media screen and (min-width: 641px) {
  nav {
    padding-right: 50px;
  }
}

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

.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: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}

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

  *ページ内リンク

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

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

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

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

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

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

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

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

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

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

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

  *ページャー

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

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

  *サイドバー

================================================================================================================================== */
.sidebar {
  z-index: 3;
  flex-shrink: 0;
  width: 25%;
}

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

@media screen and (max-width: 640px) {
  .sidebar {
    width: 100%;
    margin: 0;
    padding: 0 20px;
  }

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

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

  *書式設定

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

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

  *タイトル

================================================================================================================================== */
.header_clinic_info {
  color: #fff;
}

h2, h3, h4, h5, h6 {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  line-height: 1.75;
}

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

h2:not(.affiliations_title h2) {
  margin: 0 0 15px;
  padding: 76px 0 20px;
  background: url(../images/logo_icon.svg) no-repeat center top / 75px auto;
  font-size: 180%;
  line-height: 1.6;
  text-align: center;
}

h2:not(.affiliations_title h2)::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 18px;
  background: var(--main-color);
}

h2:not(.affiliations_title h2):not(.news_title):not(.blog_title):first-letter {
  padding-right: 5px;
  font-size: 1.5em;
  color: var(--sub-color);
}

h3 {
  margin-bottom: 20px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-color);
  font-size: 140%;
  line-height: 1.6;
}

h4 {
  margin-bottom: 17px;
  color: var(--main-color);
  font-size: 125%;
}

h5 {
  margin-bottom: 15px;
  font-size: 110%;
}

@media screen and (max-width: 640px) {
  h2:not(.affiliations_title h2) {
    padding: 60px 0 25px;
    background: url(../images/logo_icon.svg) no-repeat center top / 60px auto;
    font-size: 150%;
  }
}

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

  *メインビジュアル

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

.mainvisual::before {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(rgb(0 0 0 / .4), rgb(0 0 0 / .2));
  z-index: 1;
}

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

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

.mainvisual .inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 450px;
  padding: 50px 0;
}

/* ----- 下層ページの見出し ----- */
.main_headline {
  padding-top: 200px;
  color: #fff;
  font-size: 190%;
  line-height: 1.5;
  text-align: center;
  filter: drop-shadow(0 0 5px #4c403e);
}

/* ==============================================
  *SP メインビジュアル
============================================== */
@media screen and (max-width: 640px) {
  .mainvisual {
    padding-top: 48px;
  }

  .mainvisual .inner {
    min-height: 180px;
    padding: 30px 20px;
  }

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

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

  *医院案内

================================================================================================================================== */
.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: flex;
  flex-flow: wrap;
  gap: 20px;
}

.facilities_item {
  width: calc(33.3333333333% - 13.3333333333px);
  background: var(--bg-color);
}

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

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

.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: 640px) {
  .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_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 {
  text-align: right;
}

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

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

.doctor_name .name span {
  margin-right: 8px;
  font-size: 80%;
}

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

.doctor_career {
  margin-top: 30px;
}

.career_box {
  padding: 30px;
  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(--text-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);
}

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

.career_box dt {
  width: 15%;
}

/* 日付なし */
.career_box li {
  padding: 10px 20px;
  border-bottom: 1px dashed var(--line-color);
}

/* フリーエリア */
.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;
  }
}

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

  *アクセス

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

.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: 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_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_box {
  display: flex;
  flex-flow: column;
  width: calc(33.3333333333% - 13.3333333333px);
  height: auto;
  background-color: #ffffff;
  border: solid 1px var(--line-color);
}

/* サムネイル */
.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, .blog_box h2.blog_title:after {
  display: none;
}

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

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

.blog_single_box .blog_text h2 {
  margin-top: 50px;
  padding: 0 0 20px;
  background: none;
  font-size: 150%;
  font-weight: 400;
}

.blog_single_box .blog_text h2 {
  margin-top: 50px;
  padding: 0 0 20px;
  background: none;
  font-size: 140%;
  font-weight: 400;
}

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

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

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

404

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

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

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

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

採用情報

================================================================================================================================== */
.inner_recruit_status {
  position: relative;
  padding-top: 60px;
  margin-bottom: 100px;
}

.recruit_status_title {
  position: relative;
  margin: 0 0 20px !important;
  padding: 0 0 20px;
  font-size: 180%;
  line-height: 1.6;
  text-align: center;
}

.status_closed .recruit_status_title::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 18px;
  background: var(--main-color);
}

/* スクロール */
.recruit_scroll {
  display: flex;
  justify-self: center;
  align-items: center;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}

.recruit_scroll_text {
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--text-color);
  text-box: trim-both cap alphabetic;
  font-family: var(--font-en);
  font-weight: 400;
  font-style: normal;
}

.recruit_scroll_arrow {
  display: block;
  width: 1px;
  height: 30px;
  background: var(--line-color);
  position: relative;
  animation: scrollDown 1.5s infinite;
}

@keyframes scrollDown {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(10px);
  }

  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

.recruit_frame {
  position: relative;
  z-index: 1;
  padding: 40px 30px;
  background: var(--bg-color);
}

.recruit_frame .recruit_catch,
.recruit_frame .about_clinic {
  text-align: center;
}

.recruit_frame.one_point .img_fr img {
  max-height: 350px;
}

.recruit_catch,
.frame01 p.recruit_catch {
  font-size: 150%;
  line-height: 1.75;
}

.recruit_catch:has(+*),
.frame01 p.recruit_catch:has(+*) {
  margin-bottom: 20px;
}

.recruit_catch.cl_sub {
  padding: 5px 10px;
  background: var(--sub-color);
  color: #fff;
}

.recruit_check {
  padding: 40px 20px;
  background: #fff;
  border: none;
}

.recruit_check li {
  padding: 0 0 0 40px;
  font-size: 120%;
}

.recruit_video video {
  width: 100%;
  max-width: 700px;
}

/* ----- 知立南クリニックの魅力レイアウト01 ----- */
.recruit_feature01 {
  margin-bottom: 60px !important;
}

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

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

.recruit_feature01 .feature_img {
  width: 500px;
  flex-shrink: 0;
  margin-top: -30px;
}

.recruit_feature01 .feature_inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-flow: column;
  width: calc(100% + 50px);
  height: 100%;
  min-height: 350px;
  margin: 0 0 0 -50px;
  padding: 50px;
  background: var(--bg-color);
}

.recruit_feature01 .feature_inner>*:not(:last-child) {
  margin-bottom: 30px;
}

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

.recruit_feature01 .feature_title h3 {
  margin: 0 auto;
  padding: 0;
  color: var(--main-color);
  font-size: 150%;
  line-height: 1.75;
  border: none;
  background: none;
}

.recruit_feature01 .feature_num {
  margin: 0 0 5px !important;
  font-size: 120%;
}

.recruit_feature01 .feature_num span {
  color: var(--main-color);
  font-size: 130%;
}

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

.recruit_feature01 .feature_item .btn01>* {
  padding: 10px 40px 10px 30px;
  font-size: 95%;
}

.recruit_feature01 .btnflex_feature {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 5px;
  margin-top: auto;
}

/* 左右 */
.recruit_feature01 .feature_item:nth-child(even) {
  flex-flow: row-reverse;
}

.recruit_feature01 .feature_item:nth-child(even) .feature_inner {
  margin: 0 -50px 0 0;
}

/* ボタン横並び */
.recruit_feature01 .btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

.recruit_feature01 .btnflex_feature .btn01>* {
  width: 100%;
}

/* ----- 知立南クリニックの魅力レイアウト02 ----- */
.recruit_feature02 .feature_list {
  display: flex;
  flex-flow: wrap;
  gap: 50px 30px;
}

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

.recruit_feature02 .feature_num {
  margin: 0 0 0 !important;
  font-size: 150%;
}

.recruit_feature02 .feature_num span {
  color: var(--main-color);
  font-size: 140%;
}

.recruit_feature02 .feature_inner {
  display: flex;
  flex-flow: column;
  height: 100%;
  padding: 25px 20px 30px;
  background: var(--bg-color);
}

.recruit_feature02 .feature_inner>*:not(:last-child) {
  margin-bottom: 30px;
}

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

.recruit_feature02 .feature_title h3 {
  margin: 0 auto;
  padding: 0;
  color: var(--main-color);
  font-size: 140%;
  line-height: 1.75;
  text-align: center;
  border: none;
  background: none;
}

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

.recruit_feature02 .feature_item .btn01>* {
  padding: 10px 40px 10px 30px;
  font-size: 95%;
}

.recruit_feature02 .btnflex_feature {
  display: flex;
  flex-flow: wrap;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

/* 横並び */
.recruit_feature02 .btnflex_feature .btn01 {
  width: calc(50% - 2.5px);
}

.recruit_feature02 .btnflex_feature .btn01>* {
  width: 100%;
}

/* ----- 先輩スタッフに聞いてみました ----- */
.chat_item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 40px;
}

.chat_item:nth-of-type(2n) {
  flex-direction: row-reverse;
}

.chat_icon {
  width: 120px;
  flex-shrink: 0;
}

.chat_icon img {
  width: 100%;
  border-radius: 50%;
}

.chat_content {
  position: relative;
  width: 100%;
  background: var(--bg-color);
  border-radius: 16px;
  padding: 20px 30px;
}


.chat_content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background: inherit;
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.chat_item:nth-of-type(2n) .chat_content::before {
  left: auto;
  right: -20px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.chat_q {
  position: relative;
  padding-left: 40px;
}

.chat_q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: calc(50% - 2px);
  transform: translateY(-50%);
  font-size: 150%;
  color: var(--sub-color02);
  text-align: center;
}

/* ==============================================
  *SP 採用情報
============================================== */
@media screen and (max-width: 640px) {
  .recruit_scroll {
    width: 100%;
  }

  .recruit_frame .about_clinic {
    text-align: left;
  }

  .recruit_catch,
  .frame01 p.recruit_catch {
    font-size: 130%;
  }

  .recruit_check {
    justify-content: flex-start;
    padding: 25px 30px;
  }

  .recruit_check li {
    padding: 0 0 0 24px;
    font-size: 110%;
  }

  /* ----- 知立南クリニックの魅力レイアウト01 ----- */
  .recruit_feature01 {
    padding-bottom: 0;
  }

  .recruit_feature01 .feature_list {
    gap: 40px;
  }

  .recruit_feature01 .feature_item {
    flex-flow: column;
    width: 100%;
    margin: 0;
  }

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

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

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

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

  .recruit_feature01 .feature_item .btn01 {
    text-align: center;
  }

  /* 左右 */
  .recruit_feature01 .feature_item:nth-child(even) {
    flex-flow: column;
  }

  .recruit_feature01 .feature_item:nth-child(even) .feature_inner {
    margin: 0 auto;
  }

  /* 横並び */
  .recruit_feature01 .btnflex_feature .btn01 {
    width: 100%;
  }

  /* ----- 知立南クリニックの魅力レイアウト02 ----- */
  .recruit_feature02 {
    padding-bottom: 0;
  }

  .recruit_feature02 .feature_list {
    gap: 30px;
  }

  .recruit_feature02 .feature_item {
    width: 100%;
  }

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

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

  .recruit_feature02 .feature_item .btn01 {
    text-align: center;
  }

  /* 横並び */
  .recruit_feature02 .btnflex_feature .btn01 {
    width: 100%;
  }

  /* 先輩写真に聞いてみた */
  .chat_item, .chat_item:nth-of-type(2n) {
    flex-direction: column;
    align-items: center;
  }

  .chat_content::before {
    top: -24px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .chat_item:nth-of-type(2n) .chat_content::before {
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(-90deg);
  }
}

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

  *お問い合わせフォーム

==================================================================================================================================*/
.wpcf7 {
  padding: 20px 0;
}

/* 募集中じゃない時はフォーム非表示 */
body.single-post-recruit:has(.status_closed) section:has(.wpcf7) {
  display: none;
}

form.wpcf7-form {
  padding: 50px;
  background: #fff;
  box-shadow: 0 0 5px rgb(0 0 0 / .1);
}

.wpcf7-form input[type="text"], .wpcf7-form input[type="date"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="email"], .wpcf7-form textarea {
  width: 100%;
  padding: 0 8px;
  border: 1px solid var(--line-color);
  box-sizing: border-box;
  background: #fff;
}

.wpcf7-form input.contact_previous {
  display: block !important;
  color: var(--main-color);
  transition: .2s ease;
}

.wpcf7-form input.contact_previous:hover {
  opacity: .8;
}

.wpcf7-form textarea {
  max-width: 100%;
  max-height: 200px;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: flex;
  align-items: center;
}

.contact_multiple_wrap {
  margin-bottom: 30px;
}

.contact_multiple_wrap p {
  margin-bottom: 12px;
}

.contact_multiple {
  padding: 0 20px;
}

.contact_multiple p:not(:last-of-type) {
  margin-bottom: 15px;
}

.wpcf7 form.sent .wpcf7-response-output {
  padding: 10px;
  border-color: var(--main-color);
  text-align: center;
}

/* リセットCSSで無効化されたスタイルを上書き */
input[type="radio"],
input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  margin: 0;
}

/*ラジオボタンやチェックボックス */
.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-radio label {
  font-weight: normal;
}

.wpcf7-radio label,
.form_acceptance label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-radio {
  display: flex;
  align-items: center;
  gap: 15px 30px;
}

.wpcf7-form .wpcf7-checkbox label,
.wpcf7-form .wpcf7-radio label {
  margin-left: 5px;
  font-weight: normal;
}

input[type="radio"],
input[type="checkbox"] {
  width: auto;
  height: auto;
}

.form_content_textarea {
  display: block;
}

.form_content:not(:last-of-type) {
  margin-bottom: 32px;
}

.form_content>label {
  display: block;
  margin-bottom: 8px;
  letter-spacing: .1em;
}

.form_content>label>span {
  margin-right: 8px;
  padding: 4px 7px;
  font-size: 80%;
  color: #fff;
  background: var(--sub-color);
}

.contact_title {
  margin-top: 40px;
  margin-bottom: 16px;
}

.contact_sentence {
  margin-bottom: 16px;
}

/* 送信ボタンのスタイル */
.wpcf7-form input[type="submit"] {
  position: relative;
  display: block;
  width: 100%;
  font-size: 110%;
  margin-top: 32px;
  padding: 14px 45px 13px 35px;
  background: var(--main-color);
  border: 1px solid var(--line-color);
  color: #ffffff;
  letter-spacing: 0.15em;
  text-align: center;
  transition: background 0.2s, color 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
  background: #fff;
  color: var(--main-color);
  border-color: var(--main-color);
}

/* reCAPTCHA */
@media screen and (min-width: 641px) {
  .recaptcha_content {
    text-align: center;
  }
}

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

*SP お問い合わせ

==================================================================================================================================*/
@media screen and (max-width: 640px) {
  .wpcf7 form {
    padding: 30px 20px;
  }

  .wpcf7-form .form_content {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }

  .form_content>label>span {
    margin-right: 10px;
    padding: 4px 12px;
  }

  .contact_sentence {
    margin-bottom: 24px;
  }

  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="date"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form textarea {
    min-height: 32px;
    padding: 0px 8px;
  }

  .wpcf7-form input[type="submit"] {
    margin-top: 24px;
  }

  .contact_multiple {
    padding: 0 10px;
  }

  .wpcf7-form .form_content label,
  .wpcf7-form .form_content>*:not(label) {
    width: 100%;
  }

  .wpcf7-form .wpcf7-checkbox, .wpcf7-form .wpcf7-radio {
    gap: 15px 20px;
  }
}