@charset "UTF-8";

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

  *メインビジュアル

==================================================================================================================================*/
.content_mv {
  display: block;
  position: relative;
  height: 180px;
  overflow: hidden;
}

.content_mv .header_img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  position: absolute;
  z-index: -1;
  overflow: hidden;
  min-height: 100%;
  top: 0;
  bottom: 0;
  margin: auto;
}

.content_mv_inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  margin: 0 auto;
  width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_headline {
  text-align: center;
  text-shadow: 0 0 5px #fff;
}

.main_headline .midashi {
  font-size: 200%;
  letter-spacing: 0.2em;
  line-height: 1.5;
  font-weight: bold;
}

@media screen and (max-width: 640px) {
  .content_mv {
    height: 160px;
  }
  .content_mv_inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .main_headline .midashi {
    font-size: 150%;
  }
}

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

  *共通要素

==================================================================================================================================*/
.contents_bg {
  position: relative;
}

:is(.blog,.single-post,.archive,.category):not(.tax-cate_menu,.tax-cate_disease,.tax-cate_symptom,.tax-cate_case) .contents_bg:before {
  content: "";
  height: 100%;
  display: block;
  position: absolute;
  background: var(--bg-color);
  top: 0;
  width: calc((100% - 1200px) / 2);
  right: 0;
}

.wrapper {
  position: relative;
  width: 1200px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: auto;
  background: #fff;
  z-index: 2;
}

.wrapper main {
  width: 100%;
  padding: 30px 0 100px;
}

:is(.blog,.single-post,.archive,.category):not(.tax-cate_menu,.tax-cate_disease,.tax-cate_symptom,.tax-cate_case) .wrapper main {
  width: 68%;
}

@media screen and (max-width: 640px) {
  :is(.blog,.single-post,.archive,.category):not(.tax-cate_menu,.tax-cate_disease,.tax-cate_symptom,.tax-cate_case) .contents_bg:before {
    display: none;
  }

  .wrapper {
    width: 100%;
    display: block;
    padding: 20px 0 0;
  }

  .wrapper main {
    padding: 0 20px 0;
    margin-bottom: 40px;
  }

  :is(.blog,.single-post,.archive,.category):not(.tax-cate_menu,.tax-cate_disease,.tax-cate_symptom,.tax-cate_case) .wrapper main {
    width: 100%;
  }
}

/*--------------------section--------------------*/
.section:not(:last-child) {
  position: relative;
  margin-bottom: 80px;
}

/*--------------------フリーエリア--------------------*/
.freearea_img {
  max-width: 408px;
  text-align: center;
  margin: 0 auto 15px;
}

/*--------------------text--------------------*/
.text p {
  margin-bottom: 1em;
}

.text p:last-child {
  margin-bottom: 0;
}

/*--------------------リンク無効--------------------*/
.disable_link,
.disable_link * {
  color: inherit!important;
  text-decoration: none!important;
  pointer-events: none!important;
  cursor: default!important;
  border: none!important;
}

/*--------------------引用--------------------*/
blockquote {
  padding: 20px;
  background: #f0f0f0;
  color: #555;
  font-style: italic;
  font-size: 85%;
}

blockquote p:last-of-type {
  margin-bottom: 0;
}

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

  *タイトル

==================================================================================================================================*/
h2 {
  position: relative;
  padding: 0 0 8px;
  margin: 0 0 20px;
  line-height: 1.4;
  font-size: 160%;
  font-weight: bold;
  border-bottom: 2px solid var(--border-color);
}

h2:after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: 2px solid var(--main-color);
  bottom: -2px;
  width: 20%;
}

h3 {
  border-bottom: 1px solid var(--main-color);
  padding: 0 0 4px;
  margin: 0 0 20px;
  line-height: 1.4;
  font-size: 130%;
  font-weight: bold;
  display: table;
}

h4 {
  position: relative;
  margin: 0 0 5px;
  line-height: 1.6;
  font-size: 125%;
  font-weight: bold;
  color: var(--main-color);
  clear: both;
}

h5 {
  position: relative;
  margin: 0 0 15px;
  line-height: 1.4;
  font-size: 115%;
  font-weight: bold;
  color: var(--main-color);
  clear: both;
}

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

  *ページ内リンク

==================================================================================================================================*/
.ank_single {
  position: relative;
  margin-bottom: 80px;
}

.anklink {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 2%;
}

.anklink li {
  width: 49%;
}

.anklink li a {
  width: 100%;
  height: 100%;
  padding: 12px 10px;
  border: 1px solid var(--main-color);
  font-weight: bold;
  color: var(--main-color);
  line-height: 1.7;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (hover: hover) {
  .anklink li a {
    transition: 0.1s ease-in-out;
  }

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

/* 3カラム */
.anklink.anklink-3col li {
  width: 32%;
}

@media screen and (max-width: 640px) {
  .anklink {
    display: block;
  }

  .anklink li {
    width: 100%!important;
  }

  .anklink li:not(:last-child) {
    margin-bottom: 10px;
  }
}



/* .contentlink:not(:first-child) {
  margin-top: 25px;
} */


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

  *リスト

==================================================================================================================================*/
.list01:not(:last-child),
.list02:not(:last-child),
.list03:not(:last-child),
.list04:not(:last-child),
.list05:not(:last-child),
.list06:not(:last-child),
.list07:not(:last-child),
.list08:not(:last-child),
.list09:not(:last-child),
.list10:not(:last-child),
.list11:not(:last-child) {
  margin-bottom: 1em;
}

/* 余白のみ */
.list01 li:not(:last-child) {
  margin-bottom: 10px;
}

/* 下線 */
.list02 li {
  padding-bottom: 5px;
  border-bottom: 1px dotted var(--border-color);
}
.list02 li:not(:last-child) {
  margin-bottom: 5px;
}

/* まる */
.list03 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list03 li:not(:last-child) {
  margin-bottom: 10px;
}
.list03 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

/* 矢印 */
.list04 li {
  position: relative;
  padding-left: 16px;
  line-height: 2;
}
.list04 li:not(:last-child) {
  margin-bottom: 10px;
}
.list04 li::before {
  display: block;
  content: "";
  width: 6px;
  height: 10px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: var(--main-color);
  position: absolute;
  top: calc((2em - 10px) / 2);
  left: 0;
}

/* 矢印2 */
.list05 li {
  position: relative;
  padding-left: 16px;
  line-height: 2;
}
.list05 li:not(:last-child) {
  margin-bottom: 10px;
}
.list05 li:before {
  content: "";
  height: 6px;
  width: 6px;
  transform: rotate(45deg);
  background-color: transparent;
  border-width: 1px 1px 0 0;
  border-color: var(--main-color);
  border-style: solid;
  position: absolute;
  top: calc((2em - 8px) / 2);
  left: 0;
}

/* まる & 背景 */
.list06 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 30px;
  background-color:var(--bg-color);
}
.list06 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list06 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

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

/* まる & 枠 */
.list07 {
  border: 3px solid var(--border-color);
  padding: 30px;
}
.list07 li {
  position: relative;
  padding-left: 15px;
  line-height: 2;
}
.list07 li:not(:last-child) {
  margin-bottom: 10px;
}
.list07 li::before {
  display: block;
  position: absolute;
  top: calc((2em - 5px) / 2);
  left: 0;
  width: 5px;
  height: 5px;
  background-color: var(--main-color);
  border-radius: 50%;
  content: '';
}

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

/* チェック */
.list08 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  padding: 30px;
  background-color:var(--bg-color);
}
.list08 li {
  position: relative;
  margin-left: 28px;
  border-bottom: 1px dotted var(--border-color);
}
.list08 li:before {
  display: block;
  font-family: "Font Awesome 6 Free";
  font-size: 18px;
  font-weight: 900;
  content: "\f00c";
  color: var(--main-color);
  letter-spacing: 0;
  position: absolute;
  top: -2px;
  left: -28px;
}

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

/* 点線 & 横並び */
.list09 {
  padding: 30px;
  background-color: var(--bg-color);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.list09 li {
  border-bottom: 1px dotted var(--border-color);
}

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

/* 線で囲む & 横並び */
.list10 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 5px;
}
.list10 li {
  padding: 3px 8px;
  border: 1px solid var(--border-color);
}

/* 米印 */
.list11 > * {
  color: #888;
  font-size: 95%;
  padding-left: 1em;
  text-indent: -1em;
}
.list11 > *:not(:last-child) {
  margin-bottom: 5px;
}
.list11 > *::before {
  content: "※";
}

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

  *レイアウト

==================================================================================================================================*/
/* --------------layout共通タイトル-------------- */
.layout_tit {
  color: var(--main-color);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}
.layout_tit:not(:last-child) {
  margin-bottom: 15px;
}
.layout_tit em,
.layout_tit span {
  margin-right: 10px;
  color: var(--sub-color);
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 150%;
  line-height: 1;
}

/* layout小タイトル */
.layout_tit_02 {
  color: var(--sub-color);
  font-size: 18px;
  font-weight: bold;
  line-height: 1.8;
}
.layout_tit_02:not(:first-child) {
  margin-top: 20px;
}
.layout_tit_02:not(:last-child) {
  margin-bottom: 15px;
}

.layout01:not(:last-child),
.layout02:not(:last-child),
.layout03:not(:last-child),
.layout04:not(:last-child),
.layout05:not(:last-child),
.layout06:not(:last-child),
.layout07:not(:last-child),
.layout08:not(:last-child),
.layout09:not(:last-child),
.layout10:not(:last-child),
.layout11:not(:last-child),
.layout12:not(:last-child) {
  margin-bottom: 1em;
}

/* 左にタイトル、右に文章 */
.layout01 {
  position: relative;
}
.layout01::before,
.layout01 .layout01_box::after {
  content: "";
  width: 100%;
  border-top: 1px solid var(--border-color);
  position: absolute;
  left: 0;
}
.layout01::before {
  top: -3px;
}
.layout01 .layout01_box {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  margin: 5px 0;
}
.layout01 .layout01_box::after {
  bottom: -3px;
}
.layout01 .layout01_title {
  width: 30%;
  background-color: var(--bg-color);
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 20px;
}
.layout01 .layout01_title.layout_tit,
.layout01 .layout01_title .layout_tit {
  margin-bottom: 0;
}
.layout01 .layout01_title.layout_tit em,
.layout01 .layout01_title .layout_tit em {
  display: block;
  margin-right: 0;
}
.layout01 .layout01_text {
  width: 70%;
  padding: 3%;
}

@media screen and (max-width: 640px) {
  .layout01 .layout01_box {
    display: block;
  }

  .layout01 .layout01_title {
    display: block;
    width: 100%;
  }

  .layout01 .layout01_text {
    width: 100%;
  }
}

/* 2列 */
.layout02 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px 2%;
}
.layout02 .layout02_box {
  width: 49%;
  padding: 30px;
  background-color: var(--bg-color);
}

@media screen and (max-width: 640px) {
  .layout02 {
    display: block;
  }

  .layout02 .layout02_box {
    width: 100%;
    padding: 20px;
  }

  .layout02 .layout02_box:not(:last-child) {
    margin-bottom: 20px;
  }

  .layout02 .layout02_box img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }
}

/* 画像が左、右にタイトル、タイトル下に文章 */
.layout03 .layout03_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout03 .layout03_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout03 .layout03_title {
  width: 27%;
  padding: 2%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
}
.layout03 .layout03_text {
  width: 73%;
  padding: 1% 3%;
}

@media screen and (max-width: 640px) {
  .layout03 .layout03_box {
    display: block;
    padding-bottom: 20px;
  }

  .layout03 .layout03_title {
    width: 100%;
  }

  .layout03 .layout03_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout03 .layout03_text {
    width: 100%;
    padding: 20px 3% 0;
  }
}

/* 画像が左、右にタイトル、タイトル下に文章、タイトルと文章のエリアは背景色が別の色 */
.layout04 .layout04_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout04 .layout04_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout04 .layout04_title {
  width: 27%;
  padding-right: 2%;
  display: flex;
  align-items: center;
}
.layout04 .layout04_text {
  width: 73%;
  padding: 3%;
  background-color: #fff;
}

@media screen and (max-width: 640px) {
  .layout04 .layout04_box {
    display: block;
  }

  .layout04 .layout04_title {
    width: 100%;
    padding: 2%;
  }

  .layout04 .layout04_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout04 .layout04_text {
    width: 100%;
  }
}

/* 3列に区切られたレイアウト。画像が左、画像の下にタイトル、右に文章 */
.layout05 .layout05_box {
  display: flex;
  background-color: var(--bg-color);
  padding: 2%;
}
.layout05 .layout05_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout05 .layout05_title {
  padding: 2%;
  width: 25%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.layout05 .layout05_text {
  padding: 1% 3%;
  width: 40%;
}
.layout05 .layout05_text:last-child {
  border-left: 1px solid var(--border-color);
}

@media screen and (max-width: 640px) {
  .layout05 .layout05_box {
    display: block;
    padding-bottom: 20px;
  }

  .layout05 .layout05_title {
    width: 100%;
    display: block;
  }

  .layout05 .layout05_title img {
    width: 70%;
    margin-inline: auto;
    display: block;
  }

  .layout05 .layout05_text {
    width: 100%;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 20px;
  }

  .layout05 .layout05_text:last-child {
    border-left: none;
  }
}

/* 3列に区切られたレイアウト。左がタイトル、真ん中と右に文章 */
.layout06 .layout06_box {
  display: flex;
  position: relative;
}
.layout06 .layout06_box:not(:last-child) {
  padding-bottom: 5px;
}
.layout06 .layout06_box::before,
.layout06 .layout06_box:last-child::after {
  content: "";
  width: 100%;
  border-top: 1px solid var(--border-color);
  position: absolute;
  left: 0;
}
.layout06 .layout06_box::before {
  top: -3px;
}
.layout06 .layout06_box:last-child::after {
  bottom: -3px;
}
.layout06 .layout06_title {
  width: 30%;
  background-color: var(--bg-color);
  text-align: center;
  display: flex;
  flex-flow: column;
  justify-content: center;
  padding: 20px;
}
.layout06 .layout06_title.layout_tit,
.layout06 .layout06_title .layout_tit {
  margin-bottom: 0;
}
.layout06 .layout06_title.layout_tit em,
.layout06 .layout06_title .layout_tit em {
  display: block;
  margin-right: 0;
}
.layout06 .layout06_text {
  width: 35%;
  padding: 2% 3%;
}
.layout06 .layout06_text:last-child {
  border-left: 1px solid var(--border-color);
}

@media screen and (max-width: 640px) {
  .layout06 .layout06_box {
    display: block;
  }

  .layout06 .layout06_title {
    display: block;
    width: 100%;
  }

  .layout06 .layout06_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout06 .layout06_text {
    width: 100%;
    padding-bottom: 0;
    padding-top: 0;
    margin-top: 20px;
  }

  .layout06 .layout06_text:last-child {
    border: none;
    padding-bottom: 20px;
  }
}

/* 3列 */
.layout07 {
  display: flex;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 20px 2%;
}
.layout07 .layout07_box {
  width: 32%;
  padding: 3%;
  background-color: var(--bg-color);
}
.layout07 .layout07_box .layout07_title {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 15px;
}

@media screen and (max-width: 640px) {
  .layout07 {
    display: block;
  }

  .layout07 .layout07_box {
    width: 100%;
    padding: 20px;
  }

  .layout07 .layout07_box:not(:last-child) {
    margin-bottom: 20px;
  }
}

/* 下矢印付き */
.layout08 .layout08_box {
  position: relative;
  padding: 3%;
  background-color: var(--bg-color);
}
.layout08 .layout08_box:not(:last-child) {
  margin-bottom: 25px;
}
.layout08 .layout08_box:not(:last-child)::before {
  position: absolute;
  right: 0px;
  left: 0;
  height: 7px;
  width: 7px;
  transform: rotate(135deg);
  background-color: transparent;
  border-top: 2px solid var(--main-color);
  border-right: 2px solid var(--main-color);
  content: "";
  bottom: -16px;
  margin: auto;
}
.layout08 .layout08_box .layout08_title {
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px dashed var(--border-color);
  margin-bottom: 15px;
}

@media screen and (max-width: 640px) {
  .layout08 .layout08_box {
    padding: 20px;
  }
}

/* 画像が左、画像の下にタイトル、右に文章 */
.layout09 .layout09_box {
  display: flex;
  background: var(--bg-color);
  padding: 2%;
}
.layout09 .layout09_box:not(:last-child) {
  margin-bottom: 20px;
}
.layout09 .layout09_title {
  padding: 2%;
  width: 27%;
  background-color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
}
.layout09 .layout09_text {
  padding: 1% 3%;
  width: 73%;
}

@media screen and (max-width: 640px) {
  .layout09 .layout09_box {
    display: block;
    padding-bottom: 20px;
  }

  .layout09 .layout09_title {
    width: 100%;
    display: block;
  }

  .layout09 .layout09_title img {
    width: 70%;
    margin: 0 auto;
    display: block;
  }

  .layout09 .layout09_text {
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 20px;
  }
}

/* 流れ */
.layout10 .flow_box {
  position: relative;
  display: flex;
  padding: 30px;
  background: var(--bg-color);
}
.layout10 .flow_box:nth-child(even) {
  background: #dfebf5;
}
.layout10 .flow_box::before {
  content: "";
  width: 4px;
  height: calc(100% - 4px);
  border-right: var(--sub-color) dotted 4px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 58px;
  margin: auto;
}
.layout10 .flow_box:first-child::before {
  top: 30px;
  bottom: auto;
  height: calc(100% - 32px);
}
.layout10 .flow_box:last-child::before {
  top: 2px;
  bottom: auto;
  height: 58px;
}
.layout10 .flow_box .number {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  margin-bottom: 0;
  margin-right: 4%;
  background: var(--main-color);
  border-radius: 50%;
  line-height: 1;
  color: #fff;
  font-size: 28px;
}
.layout10 .flow_box .layout10_box {
  width: 100%;
}

@media screen and (max-width: 640px) {
  .layout10 .flow_box {
    padding: 20px;
  }

  .layout10 .flow_box::before {
    display: none;
  }

  .layout10 .flow_box .number {
    width: 42px;
    height: 42px;
    margin-right: 20px;
    font-size: 20px;
  }
}

/* 症例 */
.layout11 {
  position: relative;
}
.layout11_box {
  padding: 8px;
  background: var(--bg-color);
}
[class^="layout11_image"] img {
  width: 100%;
}
[class^="layout11_text"] {
  margin-top: 8px;
}
[class^="layout11_text"] dl {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
[class^="layout11_text"] dl dt,
[class^="layout11_text"] dl dd,
[class^="layout11_text"] .desc {
  border: 1px solid var(--main-color);
}
[class^="layout11_text"] dl dt,
[class^="layout11_text"] dl dd {
  margin-bottom: 2px;
  padding: 12px;
}
[class^="layout11_text"] dl dt {
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 20%;
}
[class^="layout11_text"] dl dd {
  background: #fff;
  width: 80%;
}
[class^="layout11_text"] .desc {
  background: #fff;
  padding: 16px;
}

/* 症例 ver.2 */
.layout11_image02 {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.layout11_image02 span {
  display: block;
  width: 47%;
}
.layout11_image02 span:last-child::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 24px;
  color: var(--main-color);
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.layout11_text02 dl dt {
  margin-left: 2px;
  width: 15%;
}
.layout11_text02 dl dt:nth-of-type(odd) {
  margin-left: 0;
}
.layout11_text02 dl dd {
  width: calc(35% - 1px);
}

@media screen and (max-width: 640px) {
  [class^="layout11_text"] dl dt,
  [class^="layout11_text"] dl dd {
    margin-left: 0;
    width: 100%;
  }

  [class^="layout11_text"] dl dt {
    margin-bottom: 0;
  }

  [class^="layout11_text"] dl dd {
    margin-bottom: 10px;
  }

  .layout11_image02 {
    flex-wrap: wrap;
  }

  .layout11_image02 span {
    width: 100%;
  }

  .layout11_image02 span:last-child {
    margin-top: 40px;
    position: relative;
  }

  .layout11_image02 span:last-child::before {
    content: "\f078";
    top: calc((-40px - 1em) / 2);
    transform: translateX(-50%);
  }
}

/* 注意書き */
.layout12 {
  background: var(--bg-color);
  display: block;
  position: relative;
  padding: 25px;
}
.layout12 .layout12_mark {
  width: 55px;
  height: 55px;
  background: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  position: absolute;
  top: -15px;
  left: -5px;
  border-radius: 50%;
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  z-index: 2;
}
.layout12 .layout12_mark::before {
  position: absolute;
  width: 15px;
  height: 20px;
  bottom: -3px;
  right: -3px;
  margin: auto;
  clip-path: polygon(100% 85%, 40% 0, 0 53%);
  background-color: var(--main-color);
  z-index: 1;
  content: "";
}
.layout12 .layout_tit {
  padding-left: 40px;
}

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

  *画像　左か右に設置

==================================================================================================================================*/
.img_fl,
.img_fr {
  display: block;
  text-align: center;
  margin-bottom: 1em;
  position: relative;
}
.img_fl {
  float: left;
  margin-right: 30px;
}
.img_fr {
  float: right;
  margin-left: 30px;
}
.img_fl img,
.img_fr img {
  max-width: 300px;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 3px;
}

@media screen and (max-width: 640px) {
  .img_fl,
  .img_fr {
    float: none;
    margin: 0 0 1em 0;
  }

  .img_fl img,
  .img_fr img {
    max-width: 100%;
    max-height: none;
  }
}

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

  *アコーディオン

==================================================================================================================================*/
.accordion_tit {
  background-color: var(--bg-color);
  padding: 15px 50px 15px 20px;
  cursor: pointer;
  position: relative;
  margin-bottom: 15px;
  transition: background-color 0.3s, color 0.2s;
}
.accordion_tit::before,
.accordion_tit::after {
  display: block;
  content: "";
  width: 16px;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  right: 20px;
  top: 50%;
  transition: transform 0.3s, opacity 0.3s;
}
.accordion_tit::before {
  transform: rotate(90deg);
}
@media (hover: hover) {
  .accordion_tit {
    transition: background-color 0.3s;
  }
  .accordion_tit:hover {
    background-color: #cdcdcd;
  }
}
.accordion_tit.open {
  color: #fff;
  background: var(--main-color);
}
.accordion_tit.open::before {
  opacity: 0;
  transform: rotate(180deg);
}
.accordion_tit.open::after {
  background: #fff;
}
.accordion_text {
  display: none;
  padding: 0 20px 30px;
}

/* Q&A */
.accordion.accordion-qa .accordion_tit,
.accordion.accordion-qa .accordion_text {
  padding-left: 55px;
  position: relative;
}
.accordion.accordion-qa .accordion_tit > *:before,
.accordion.accordion-qa .accordion_text:before {
  font-family: "Times New Roman", Times, serif;
  font-weight: normal;
  font-size: 175%;
  line-height: 1;
  position: absolute;
  left: 20px;
}
.accordion.accordion-qa .accordion_tit > *:before {
  color: var(--main-color);
  content: "Q.";
  top: 15px;
  transition: color 0.2s;
}
.accordion.accordion-qa .accordion_tit.open > *:before {
  color: #fff;
}
.accordion.accordion-qa .accordion_text:before {
  color: var(--sub-color);
  content: "A.";
  top: 0;
}

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

  *テーブル

==================================================================================================================================*/
td img.aligncenter,
th img.aligncenter {
  width: -moz-fit-content;
  width: -webkit-fit-content;
  width: fit-content;
  margin: 0 !important;
}

table {
  text-align: initial;
}

table th p,
table td p {
  margin: 0 !important;
}

/*テーブル1*/
.tb01 {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin: 10px 0;
}

.tb01 tr {
  border-bottom: 1px dotted var(--border-color);
  display: flex;
  vertical-align: middle;
}

.tb01 th {
  text-align: left;
  font-weight: normal;
  width: 25%;
}

.tb01 td {
  text-align: left;
  font-weight: normal;
}
.tb01 th + td {
  width: 75%;
}

/*本文中のテーブル*/
.tb03 {
  width: 100%;
  border-spacing: 1px;
  border-collapse: separate;
  background-color: var(--border-color);
}

.tb03 td,
.tb03 th {
  padding: 8px 20px;
}

.tb03 th {
  font-weight: bold;
  text-align: left;
  background-color: var(--bg-color);
}

.tb03 th span {
  font-size: 13px;
}

.tb03 td {
  background-color: #fff;
  text-align: center;
}

@media screen and (max-width: 640px) {
  .sp_w100 th,
  .sp_w100 td {
    width: 100% !important;
    display: block !important;
    border-top: none;
  }

  .sp_w100 tr:first-child th,
  .sp_w100 tr:first-child td:first-child {
    border-top: 1px solid var(--border-color);
  }

  .tb01 {
    width: 100%;
    table-layout: fixed;
    white-space: inherit;
  }

  .tb01 th {
    width: 30%;
  }

  .tb01 th + td {
    width: 70%;
  }

  .tb03,
  .tb03 th {
    white-space: inherit;
  }

  .tb03.w075par {
    width: 100%;
  }

  .tb04,
  .tb04 th {
    white-space: normal;
  }

  .tb04 th {
    font-size: 13px;
  }

  .tb04 td,
  .tb04 th {
    padding: 2%;
  }
}

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

  *パンくず

==================================================================================================================================*/
.breadcrumb {
  width: 100%;
  margin-bottom: 50px;
  position: relative;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  line-height: 1.5;
}
.breadcrumb li:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 75%;
  letter-spacing: 0;
  content: "\f054";
  padding-left: 10px;
}
.breadcrumb li:last-child:after {
  display: none;
}

@media screen and (max-width: 640px) {
  .breadcrumb {
    font-size: 13px;
  }
}

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

  *サイドバー

==================================================================================================================================*/
.side_area {
  width: 28%;
  padding: 50px 2%;
  background: var(--bg-color);
}

.side_box:not(:last-child) {
  margin-bottom: 40px;
}

.side_area .side_title {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: solid 2px var(--main-color);
  text-align: left;
  line-height: 1.6;
}

.side_area .side_title i {
  margin-right: 12px;
  vertical-align: middle;
  color: var(--main-color);
}

.side_area li a {
  color: var(--text-color);
}
.side_area ul.children li.cat-item a{
  padding-left: 1em;
}
.side_area ul.children li.cat-item a::before{
  content: "－";
}
.side_area li a:hover {
  color: var(--main-color) !important;
}

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

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

  *ブログ

==================================================================================================================================*/
/*----------ブログ共通パーツ----------*/
/* 日付・カテゴリ */
.blog_category i {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 5px;
  color: var(--main-color);
}

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

@media (hover: hover) {
  .blog_category li a:hover {
    color: var(--main-color);
  }
}

/* ページャー */
.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding-left: 10px;
  margin-top: 40px;
}
.page-numbers {
  min-width: 2.5em;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  flex-flow: column;
  justify-content: center;
  text-align: center;
  border-radius: 50%;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: .1em;
  margin-right: 10px;
  margin-bottom: 10px;
}
.page-numbers.current,
a.page-numbers:hover {
  background: var(--main-color);
  color: #fff;
}
a.page-numbers {
  text-decoration: none;
  transition: all 0.2s linear;
  background: var(--bg-color);
  color: var(--main-color);
}

.pager a:active {
  box-shadow: 1px 1px 3px -1px rgba(0, 0, 0, 0.55);
}

/*----------記事一覧----------*/
.blog_list {
  display: flex;
  flex-flow: wrap;
  gap: 30px 18px;
}

.blog_list_item {
  display: flex;
  flex-flow: column;
  width: calc((100% - 36px) / 3);
  border-top: 4px solid var(--main-color);/*記事ボックスの上の色*/
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 15px 25px;
  background-color: #fff;
}

/* サムネイル */
.blog_list_item_thum {
  max-height: 150px;
  aspect-ratio: 240 / 150;
  text-align: center;
  margin-bottom: 15px;
}

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

/* タイトル */
.blog_list_item_tit {
  /* reset css */
  display: block;
  position: static;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  padding: 0;
  line-height: inherit;
  border: none;
  background: none;
  opacity: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  text-align: left;
  color: inherit;
  overflow: visible;
  letter-spacing: inherit;
  text-shadow: none;
  box-shadow: none;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 15px;
}

.blog_list_item_tit::before,
.blog_list_item_tit::after {
  display: none;
}

.blog_list_item .blog_category {
  font-size: 87%;
  line-height: 1.5;
  margin-bottom: 40px;
}

.blog_list_item .blog_category li:not(:last-child) {
  margin-bottom: 5px;
}

.blog_list_item_text {
  margin-bottom: 15px;
}

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

.blog_list_item > .btn01 a {
  margin: 0;
}

/*----------記事----------*/
/* サムネイル */
.blog_single_thum {
  margin: 0 auto 30px;
  text-align: center;
}
.blog_single_thum img {
  width: auto;
  max-height: 700px;
}

/* 目次 */
#toc_container {
  margin-bottom: 50px;
  padding: 25px 30px;
  background: var(--bg-color);
}
.toc_title {
  font-size: 120%;
  font-weight: bold;
  line-height: 1.6;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--main-color);
  margin-bottom: 15px;
}
.toc_list {
  font-size: 93%;
}
.toc_list a {
  color: var(--text-color);
}
@media (hover: hover) {
  .toc_list a:hover {
    color: var(--sub-color);
  }
}
.toc_list > li:not(:last-child) {
  margin-bottom: 10px;
}
.toc_list > li ul {
  padding-left: 10px;
}
.toc_list > li ul li a::before {
  content: "-";
  display: inline-block;
  margin-right: 5px;
}

/*--------------------ブログ エディター用--------------------*/
.alignleft {
  display: inline;
  float: left;
}

.alignright {
  display: inline;
  float: right;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

blockquote.alignleft,
.wp-caption.alignleft,
img.alignleft {
  margin: 0.4em 1.6em 1.6em 0;
}

blockquote.alignright,
.wp-caption.alignright,
img.alignright {
  margin: 0.4em 0 1.6em 1.6em;
}

blockquote.aligncenter,
.wp-caption.aligncenter,
img.aligncenter {
  clear: both;
  margin-top: 0.4em;
  margin-bottom: 1.6em;
}

.wp-caption.alignleft,
.wp-caption.alignright,
.wp-caption.aligncenter {
  margin-bottom: 1.2em;
}

/*整形済みテキスト*/
.blog_single_text pre {
  font-weight: 400;
  margin-top: 20px;
  padding: 20px;
  background-color: var(--bg-color);
  color: #7F7F7F;
  overflow: auto;
}

/*引用*/
.blog_single_text blockquote {
  position: relative;
  color: #3F3F3F;
  margin-top: 20px;
  padding: 20px 20px 20px 70px;
  background-color: var(--bg-color);
}

.blog_single_text blockquote::before {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: "icomoon";
  content: "\e909";
  font-size: 3rem;
  color: #D9D9D9;
}

.blog_single_text blockquote *:first-child {
  margin-top: 0;
}

/*ライン*/
.blog_single_text hr {
  margin-top: 40px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/*----------サイド----------*/
.side_blog_item:not(:last-child) {
  border-bottom: 1px solid var(--border-color);
}

.side_blog_item a {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 15px;
  padding-bottom: 15px;
}

.side_blog_item_thum {
  width: 100px;
  height: 100px;
  overflow: hidden;
}

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

@media (hover: hover) {
  .side_blog_item_thum img {
    transition: transform .2s;
  }
  .side_blog_item a:hover .side_blog_item_thum img {
    transform: scale(1.1);
  }
}

.side_blog_item_title {
  font-size: 94%;
  flex: 1;
  line-height: 1.8;
}

@media screen and (max-width: 640px) {
  /*----------記事一覧----------*/
  .blog_list {
    display: block;
  }

  .blog_list_item {
    display: block;
    width: 100%;
  }

  .blog_list_item:not(:last-child) {
    margin-bottom: 30px;
  }

  /* サムネイル */
  .blog_list_item_thum {
    max-height: none;
    aspect-ratio: auto;
  }

  .blog_list_item_thum img {
    height: auto;
    -o-object-fit: fill;
        object-fit: fill;
  }

  /*----------記事----------*/
  .blog_single_thum img {
    max-height: 320px;
  }

  /* 目次 */
  #toc_container {
    padding: 20px;
  }

  /*----------サイド----------*/
  .side_blog_item_title {
    font-size: 100%;
  }
}

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

  *医師紹介

==================================================================================================================================*/
.doctor_greeting_flex {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  margin-bottom: 20px;
}

.doctor_greeting_center {
  margin-bottom: 20px;
}

.doctor_greeting_center .text {
  margin-bottom: 0;
}

.doctor_greeting_flex .text {
  width: 67%;
  margin-bottom: 0;
}

.doctor_greeting_flex .text_w100 {
  width: 100%;
  margin-bottom: 0;
}

.text_w100 > p:not(:last-child) {
  margin-bottom: 22px;
}

.doctor_img {
  width: 30%;
  margin-bottom: 20px;
}

.doctor_greeting_center .doctor_img {
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/*----------キャッチコピー----------*/
.doctor_catch{
  color: var(--main-color);
  font-size: 130%;
  font-weight: bold;
}
/*----------署名----------*/
.doctor_name {
  font-weight: bold;
  text-align: right;
}
.text .doctor_name p{
  margin-bottom: 0;
}
.doctor_name .carr{
  font-size: 100%;
}
.doctor_name .carr span{
  font-size: 110%;
}
.doctor_name .name{
  font-size: 150%;
}
.doctor_name .name span{
  font-size: 80%;
}
.doctor_greeting_center .doctor_name {
  text-align: center;
}

/*----------経歴・資格----------*/
.doctor_carr_box {
  width: 100%;
  padding: 3%;
  box-sizing: border-box;
  background: var(--bg-color);
  margin-bottom: 15px;
}

.doctor_carr_box .text p {
  margin-bottom: 0;
}

/*----------院長紹介その他----------*/
.sec_doctor_etc {
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 640px) {
  .doctor_greeting_flex {
    display: block;
  }

  .doctor_greeting_flex .text {
    width: 100%;
  }

  .doctor_img,
  .doctor_greeting_center .doctor_img {
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .doctor_greeting_center .doctor_img {
    max-width: none;
  }

  /*----------経歴・資格----------*/
  .doctor_carr_wrap {
    display: block;
  }

  .doctor_carr_box {
    width: 100%;
    margin-bottom: 20px;
  }

  .doctor_carr_box:last-child {
    margin-bottom: 0;
  }
}

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

  *診療案内

==================================================================================================================================*/
.sec_medical .text {
  margin-bottom: 0;
}
.medical_list > li {
  margin-bottom: 80px;
}
.medical_list .btn01 a {
  margin-bottom: 0;
}

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

  *病名から探す

==================================================================================================================================*/
.sec_disease > *:not(:last-child) {
  margin-bottom: 80px;
}
.disease_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}
.disease_flex .disease_img {
  width: 30%;
}
.disease_flex .disease_text {
  width: 68%;
}

@media screen and (max-width: 640px) {
  .disease_flex {
    display: block;
  }
  .disease_flex .disease_img,
  .disease_flex .disease_text {
    width: 100%;
  }
  .disease_flex .disease_img {
    text-align: center;
    margin-bottom: 15px;
  }
}

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

  *症状から探す

==================================================================================================================================*/
.sec_symptom > *:not(:last-child) {
  margin-bottom: 80px;
}
.symptom_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}
.symptom_flex .symptom_img {
  width: 30%;
}
.symptom_flex .symptom_text {
  width: 68%;
}

@media screen and (max-width: 640px) {
  .symptom_flex {
    display: block;
  }
  .symptom_flex .symptom_img,
  .symptom_flex .symptom_text {
    width: 100%;
  }
  .symptom_flex .symptom_img {
    text-align: center;
    margin-bottom: 15px;
  }
}

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

  *症例

==================================================================================================================================*/
/*-------------------一覧ページ-------------------*/
.sec_case > *:not(:last-child) {
  margin-bottom: 80px;
}
.case_flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}
.case_flex .case_img {
  width: 30%;
}
.case_flex .case_text {
  width: 68%;
}

/*-------------------コンテンツページ-------------------*/
.box_case {
  padding: 10px;
  background: var(--bg-color);
}
.case_title {
  background: var(--main-color);
  margin-bottom: 10px;
}
.case_title h2 {
  text-align: center;
  color: #fff;
  font-size: 140%;
  padding: 8px;
  margin: 0;
  border: none;
}
.case_title h2::before,
.case_title h2::after {
  display: none;
}
.case_images {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.case_images > p {
  margin-top: 5px;
  width: 100%;
  line-height: 1.3;
  margin-bottom: 1em;
}
.case_before,
.case_after {
  position: relative;
  width: calc(50% - 5px);
}
.case_before h3,
.case_after h3 {
  text-align: center;
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #fff;
  border-bottom: none;
  padding: 24px 5px 8px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}
.case_images ul {
  position: relative;
  z-index: 0;
}
.case_images ul li:not(:first-child) {
  display: none;
}
.case_images ul li a {
  overflow: hidden;
  display: block;
}
.case_images ul li a img {
  width: 100%;
  height: 250px;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.2s;
}
.case_images ul li a:hover img {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.case_data dl {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
  background: var(--main-color);
}
.case_data dl dt {
  align-self: center;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  text-align: center;
  background: var(--main-color);
  width: 20%;
}
.case_data dl dd {
  background: #fff;
  border: 1px solid var(--main-color);
  padding: 10px;
  width: 80%;
}
.case_caption {
  padding: 20px 10px;
  border: 1px solid var(--main-color);
  background: #fff;
}

@media screen and (max-width: 640px) {
  /*-------------------一覧ページ-------------------*/
  .case_flex {
    display: block;
  }
  .case_flex .case_img,
  .case_flex .case_text {
    width: 100%;
  }
  .case_flex .case_img {
    text-align: center;
    margin-bottom: 15px;
  }

  /*-------------------コンテンツページ-------------------*/
  .case_before {
    margin-bottom: 10px;
  }
  .case_before,
  .case_after {
    width: 100%;
  }
  .case_images ul {
    width: 100%;
  }
  .case_images ul li a img {
    height: 150px;
  }
  .case_data dl {
    flex-wrap: wrap;
  }
  .case_data dl dt,
  .case_data dl dd {
    width: 100%;
  }
}

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

  *医院案内

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

.clinic_desc dl {
  display: flex;
}

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

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

.clinic_facilities_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2%;
}

.facilities_item {
  width: 32%;
  margin-bottom: 15px;
  background: var(--bg-color);
}

.facilities_item_img {
  overflow: hidden;
  background-color: var(--bg-color);
}

.facilities_item_img img {
  max-height: 260px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.facilities_item dd {
  padding: 15px;
}

.facilities_item dd h3 {
  font-weight: bold;
  font-size: 20px;
  display: table;
}

@media screen and (max-width: 640px) {
  .clinic_desc dl {
    display: block;
  }

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

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

  .clinic_sche .tb02 th,
  .clinic_sche .tb02 td {
    font-size: 12px;
  }

  .clinic_facilities_wrap {
    display: block;
  }

  .facilities_item {
    width: 100%;
    margin-bottom: 20px;
  }

  .facilities_item_img img {
    max-height: 390px;
  }
}

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

  *料金表

==================================================================================================================================*/
.price_wrap > .price_wrap:last-child {
  margin-bottom: 0;
}
.price_mb60:not(:last-child) {
  margin-bottom: 60px;
}

/*基本形-----------------------*/
.price_table {
  width: 100%;
}

.price_table:not(:last-child) {
  margin-bottom: 15px;
}

.price_table th {
  text-align: center;
  background-color: var(--bg-color);
}

.price_table tr td:nth-child(1) {
  width: 75%;
}

.price_table tr td:nth-child(2) {
  text-align: center;
  width: 25%;
}

.price_table th,
.price_table td {
  padding: 15px;
  border: 1px solid var(--border-color);
  vertical-align: middle;
}

/* ---------- 料金表テンプレート ---------- */
.price_wrap h2 {
  margin-bottom: 30px;
}

.middle_category_wrap {
  margin-bottom: 50px;
}

.middle_category_wrap:last-of-type {
  margin-bottom: 0;
}

/* アコーディオン表示の場合 */
.middle_category_wrap .accordion_title {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  padding: 15px;
  cursor: pointer;
  transition: background-color .3s;
  border-bottom: none;
  background: var(--bg-color);
  font-weight: bold;
}

.middle_category_wrap .accordion_title:hover {
  background: var(--sub-color);
}

.middle_category_wrap .accordion_title::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  transform: rotate(90deg);
  background: var(--main-color);
  transition: all .3s ease-in-out;
}

.middle_category_wrap .accordion_title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 15px;
  height: 2px;
  background: var(--main-color);
  transition: all .2s ease-in-out;
}

.middle_category_wrap .accordion_title.open::before {
  transform: rotate(180deg);
}

.middle_category_wrap .accordion_title.open::after {
  opacity: 0;
}

.middle_category_wrap .accordion_title span {
  display: block;
  padding-right: 50px;
}
/* アコーディオン表示の場合ここまで */

.middle_category_wrap .price_hosoku_up {
  margin-bottom: 20px;
}

.price_table_temp {
  width: 100%;
}

.price_table_temp:not(:last-child) {
  margin-bottom: 15px;
}

.price_table_temp th {
  text-align: center;
  background-color: var(--bg-color);
}

.price_table_temp tr td:nth-child(1) {
  width: 25%;
  text-align: center;
}

.price_table_temp tr td:nth-child(2) {
  width: 60%;
}

.price_table_temp tr td:nth-child(3) {
  width: 15%;
  white-space: nowrap;
  text-align: center;
}

.price_table_temp tr:has(td:nth-child(2):last-child) td {
  width: 50%;
  text-align: center;
}

.price_table_temp tr td[colspan="2"],
.price_table_temp tr td[colspan="3"] {
  text-align: left;
  background: var(--main-color);
  color: #fff;
  font-weight: bold;
  line-height: 1;
  padding: 10px 15px;
}

.price_table_temp th,
.price_table_temp td {
  padding: 15px;
  border: 1px solid var(--border-color);
  vertical-align: middle;
}
/* ---------- 料金表テンプレートここまで ---------- */

@media screen and (max-width: 640px) {
  .price_table tr td {
    display: block;
  }

  .price_table tr:first-child {
    display: none;
  }

  .price_table tr td:nth-child(1) {
    text-align: center;
    font-weight: bold;
    border-top: none;
    background: var(--bg-color);
    width: 100%;
  }

  .price_table tr:nth-child(2) td:nth-child(1) {
    border-top: 1px solid var(--border-color);
  }

  .price_table tr td:nth-child(2) {
    border-top: none;
    text-align: center;
    width: 100%;
  }

  /* ---------- 料金表テンプレート（スマホ）---------- */
  .price_table_temp tr:first-child {
    display: none;
  }

  .price_table_temp tr td:nth-child(1) {
    background-color: var(--bg-color);
    font-weight: bold;
  }

  .price_table_temp {
    border-bottom: 1px solid var(--border-color);
  }

  .price_table_temp tr:first-child {
    display: none;
  }

  .price_table_temp th {
    border-bottom: none;
  }

  .price_table_temp td {
    display: block;
    border-bottom: none;
  }

  .price_table_temp tr td:nth-child(1) {
    width: 100%;
  }

  .price_table_temp tr td:nth-child(2) {
    width: 100%;
  }

  .price_table_temp tr td:nth-child(3) {
    width: 100%;
    white-space: normal;
  }

  .price_table_temp tr:has(td:nth-child(2):last-child) td {
    width: 100%;
    text-align: center;
  }

  .price_table_temp tr:has(td:nth-child(3):last-child) td:nth-of-type(2):empty {
    display: none;
  }

  .price_table_temp tr td[colspan="2"],
  .price_table_temp tr td[colspan="3"] {
    text-align: left;
    background: var(--main-color);
    color: #fff;
    font-weight: bold;
    line-height: 1;
    padding: 10px 15px;
  }
  /* ---------- 料金表テンプレート（スマホ）ここまで---------- */
}

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

  *求人案内

==================================================================================================================================*/
.recruit_freearea_inner .text {
  margin: 0;
}
.recruit_freearea_inner:not(:last-child) {
  margin-bottom: 30px;
}
.recruit_img {
  max-width: 408px;
  float: right;
  margin-left: 40px;
  margin-top: 7px;
  margin-bottom: 15px;
}
.recruit_table {
  width: 100%;
}
.recruit_table:not(:last-child) {
  margin-bottom: 30px;
}
.recruit_table th,
.recruit_table td {
  padding: 15px;
  border: 1px solid var(--border-color);
  vertical-align: middle;
}
.recruit_table th {
  text-align: center;
  background-color: var(--bg-color);
  width: 20%;
}
.sec_recruit .btn01 {
  text-align: center;
}
.sec_recruit .btn01 a {
  margin-top: 0;
  margin-bottom: 0;
}

@media screen and (max-width: 640px) {
  .recruit_img {
    float: none;
    text-align: center;
    margin: 0 auto 15px;
  }
  .recruit_table {
    border-bottom: 1px solid var(--border-color);
  }
  .recruit_table th,
  .recruit_table td {
    width: 100%;
    display: block;
    border-bottom: none;
  }
}

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

  *アクセス

==================================================================================================================================*/
.access_map {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.access_map iframe {
  width: 100%;
  height: 400px;
}

.access_map_flex{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.access_map_flex_item{
  width: 49%;
}

.access_add {
  display: flex;
  justify-content: space-between;
}

.access_add:not(:last-child) {
  margin-bottom: 20px;
}

.access_add dt {
  width: 14%;
}

.access_add dd {
  width: 86%;
}

.access_add dt i {
  color: var(--main-color);
  margin-right: 0.5em;
}

.access_desc {
  border: 1px solid var(--border-color);
  padding: 20px;
}

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

.access_route ul {
  counter-reset: count 0;
  display: flex;
  flex-wrap: wrap;
  gap: 25px 4%;
}

.access_route ul li {
  width: 48%;
}

.access_route ul .access_route_titNone::before,
.access_route ul li .title {
  font-size: 120%;
  font-weight: bold;
}

.access_route ul .access_route_titNone::before,
.access_route ul li .title::before {
  display: block;
  content: counter(count);
  counter-increment: count 1;
  color: #fff;
  line-height: 1;
  padding: 4px 8px;
  background: var(--sub-color);
}

.access_route ul .access_route_titNone::before {
  width: fit-content;
  margin-bottom: calc(.6em - 8px + 15px);/*(title line-height) - (before padding上下) + (title margin-bottom)*/
}

.access_route ul li .title {
  position: relative;
  line-height: 1.6;
  padding-left: 2em;
  margin-bottom: 15px;
}

.access_route ul li .title::before {
  position: absolute;
  left: 0;
  top: 0;
}

.access_route .text:last-child {
  margin: 0;
}

.access_route ul li img {
  width: auto;
  max-height: 250px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.access_route ul li img:not(:last-child) {
  margin-bottom: 15px;
}

@media screen and (max-width: 640px) {
  .access_map_flex {
    display: block;
  }

  .access_map_flex_item {
    width: 100%;
  }

  .access_map_flex_item:not(:last-child) {
    margin-bottom: 20px;
  }

  .access_add {
    display: block;
  }

  .access_add dt {
    width: 100%;
  }

  .access_add dd {
    width: 100%;
  }

  .access_route ul {
    display: block;
  }

  .access_route ul li {
    width: 100%;
  }

  .access_route ul li:not(:last-child) {
    margin-bottom: 25px;
  }
}

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

  *お知らせ

==================================================================================================================================*/
.news_list_wrap .news_item{
  border-bottom: 1px solid var(--border-color);
}
.news_info {
  padding: 30px 0;
}
/* 日付とカテゴリ名 */
.news_desc{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.news_date{
  margin-right: 1em;
}
.news_cate em{
  text-align: center;
  display: inline-block;
  padding: 0 10px;
  min-width: 110px;
}
/* タイトル */
.news_info h2 {
  background: none;
  border-bottom: none;
  padding: 0 0 8px;
  margin: 20px 0 10px;
  font-size: 140%;
}

.news_info h2:before,
.news_info h2:after {
  display: none;
}

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

  *お問い合わせ

==================================================================================================================================*/
.contact {
  margin: 0 auto;
  width: 700px;
}

.contact:not(:last-child) {
  margin-bottom: 50px;
}

.contact form {
  margin: 50px 0 0;
}

.contact p {
  margin: 15px 0 0;
}

.contact label {
  margin: 30px 0 0;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
}

.contact input,
.contact textarea {
  width: 100%;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  padding: 16px 8px;
}

.contact input[type=submit] {
  color: var(--main-color);
  border: 1px solid var(--main-color);
  width: 50%;
  margin: 0 auto;
  display: block;
  background: #fff;
  padding: 10px;
  cursor: pointer;
}

@media screen and (max-width: 640px) {
  .contact {
    margin: 0 auto;
    width: auto;
  }
}