@charset "UTF-8";

/* ---------------------
  - *メインビジュアル
  - *共通要素
  - *タイトル
  - *ページ内リンク
  - *リスト
  - *レイアウト
  - *画像　左・右に設置
  - *アコーディオン
  - *テーブル
  - *パンくず
  - *サイドバー
  - *ブログ
  - *YOAKEとは
  - *代表メッセージ
  - *サービス
  - *選ばれる理由
  - *支援までの流れ
  - *導入実績
  - *事例紹介
  - *無料相談フォーム
  - *プライバシーポリシー
  - *お知らせ
--------------------- */
/*==================================================================================================================================

  *メインビジュアル

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

.main_headline {
  text-align: left;
  text-shadow: 0 0 5px var(--sub-color);
}

.main_headline .en_title {
  position: relative;
  color: #fff;
  font-family: var(--en);
  font-weight: 600;
  font-size: 120%;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.main_headline .en_title::before {
  content: "─ ";
  color: var(--main-color);
  font-weight: 400;
}

.main_headline .midashi {
  font-size: 200%;
  letter-spacing: 0.2em;
  line-height: 1.5;
  color: #fff;
  font-family: var(--jaM);
}

.main_headline .midashi::first-letter {
  color: var(--main-color);
}

.main_headline .sub_catch {
  margin-top: 10px;
  color: #fff;
  font-size: 14px;
  font-family: "Hiragino Kaku Gothic W3 JIS2004";
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
  text-align: left;
}

@media screen and (max-width: 640px) {
  .content_mv {
    height: 300px;
  }

  .content_mv_inner {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .main_headline .midashi {
    font-size: 150%;
  }
}

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

  *共通要素

==================================================================================================================================*/
.contents_bg {
  position: relative;
  background: linear-gradient(to Bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url(../images/bg_about_shape.png) no-repeat left top 100px,
    url(../images/mv_shape.png) no-repeat right bottom 100px;
}

.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(.single-post, .single-information, .single-record):not(.tax-cate_menu, .tax-cate_disease, .tax-cate_symptom, .tax-cate_case) .wrapper main {
  width: 68%;
}

@media screen and (max-width: 640px) {
  .contents_bg {
    background-size: auto, 90% auto, 80% auto;
  }

  :is(.single-post, .single-information, .single-record):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: 50px;
  }

  :is(.single-post, .single-information, .single-record):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: 60px;
}

/*--------------------text--------------------*/
section>.text:not(:last-of-type) {
  margin-bottom: 80px;
}

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

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

/*--------------------リンク無効（主にFAX番号に）--------------------*/
.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:not(:last-child) {
  margin-bottom: 1em;
}

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

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

  *タイトル

==================================================================================================================================*/
h2,
h3,
h4,
h5 {
  font-family: var(--jaM);
}

h2 {
  position: relative;
  padding: 0 0 20px;
  margin: 0 0 40px;
  line-height: 1.4;
  font-size: 200%;
  text-align: center;
}

@media screen and (max-width: 640px) {
  h2{
    font-size: 180%;
  }
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--main-color);
  margin: auto;
}

h2 span.sub{
  display: block;
  color: var(--main-color);
  font-size: 60%;
  letter-spacing: 0.15em;
  margin-bottom: 10px;
}

h3 {
  position: relative;
  border-bottom: 3px solid var(--main-color);
  padding: 8px;
  margin: 0 0 40px;
  line-height: 1.4;
  font-size: 160%;
}
h3::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 20%;
  height: 3px;
  background: var(--text-color);
}

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

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

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

  *ページ内リンク

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

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

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

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

  *リスト

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


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

  *テーブル

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

table {
  text-align: initial;
}

/* テーブル1 */
.tb01 {
  width: 100%;
}

.tb01 tr {
  border-bottom: 1px dotted var(--border-color);
}

.tb01 th {
  width: 25%;
  font-weight: unset;
}

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

@media screen and (max-width: 640px) {
  .tb01 th {
    width: 30%;
  }

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

/* テーブル2 */
.tb02 {
  width: 100%;
  border-spacing: 1px;
  border-collapse: separate;
  background-color: var(--border-color);
}

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

.tb02 th {
  font-weight: bold;
  background-color: var(--bg-color);
}

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

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

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

  *パンくず

==================================================================================================================================*/
.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 {
  background: var(--bg-color);
  padding: 20px;
}

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

.side_area .side_title {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 15px;
  padding: 0;
  font-family: var(--jaM);
  border-bottom: solid 1px 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: "－";
}

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

/* =========================================
   お知らせ用サイドバー
========================================= */

.side_banner {
  background: var(--text-color);
  padding: 30px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.side_banner_title {
  font-size: 16px;
  font-family: var(--jaM);
  margin-bottom: 10px;
  color: #fff;
}

.side_banner_title span {
  font-size: 20px;
}

.side_banner_sub {
  font-size: 12px;
  margin-bottom: 20px;
  color: #ccc;
}

.side_banner .btn01 a {
  margin: 0;
  padding: 10px 30px 10px 15px;
  min-width: 200px;
}

/* ▼ 2. RECENT NEWS ▼ */
.side_title_info {
  color: var(--main-color);
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.side_recent_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.side_recent_item {
  border-bottom: 1px dashed #e5e5e5;
  padding: 15px 0;
}

.side_recent_item:last-child {
  border-bottom: none;
}

.side_recent_link {
  text-decoration: none;
  color: var(--text-color);
  display: flex;
  gap: 15px;
  transition: color 0.3s ease;
}

.side_recent_link:hover .side_recent_text {
  color: var(--main-color);
}

.side_recent_date {
  color: var(--main-color);
  font-family: var(--en);
  font-size: 12px;
  white-space: nowrap;
}

.side_recent_text {
  font-size: 14px;
  line-height: 1.4;
}

/* ▼ 3. CATEGORY ▼ */
.side_box_cat {
  background: #fbf2ef;
  padding: 20px;
}

.side_title_cat {
  color: var(--main-color);
  border-bottom: 1px solid #f0d4cc;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.side_cat_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.side_cat_link {
  display: block;
  background: #fff;
  padding: 10px;
  text-align: center;
  color: #666;
  font-size: 13px;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.side_cat_link:hover {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}

/* 著者 */
.side_box_author {
  border-top: 3px solid var(--main-color);
}

.side_author_profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.side_author_img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e5e5;
  flex-shrink: 0;
}

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

.side_author_name {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 5px;
}

.side_author_job {
  font-size: 11px;
  color: var(--main-color);
}

.side_author_text {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
}

/* =========================================
   サイドバー共通（導入実績）
========================================= */
.sidebar_widget {
  background-color: #f7f5f2;
  padding: 30px 25px;
  margin-bottom: 30px;
}

/* タイトル */
.sidebar_title {
  font-size: 13px;
  color: var(--main-color);
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #ebdcd5;
  letter-spacing: 0.05em;
  font-weight: bold;
}

/* =========================================
   リスト共通スタイル
========================================= */
.sidebar_related_list,
.sidebar_category_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar_related_list li,
.sidebar_category_list li {
  margin-bottom: 15px;
}

.sidebar_related_list li:last-child,
.sidebar_category_list li:last-child {
  margin-bottom: 0;
}

.sidebar_related_list a,
.sidebar_category_list a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
  display: block;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.sidebar_related_list a:hover,
.sidebar_category_list a:hover {
  color: var(--main-color);
}

/* =========================================
   科目から探すリスト（下線）
========================================= */
.sidebar_category_list li {
  border-bottom: 1px solid #ebdcd5;
  padding-bottom: 15px;
}

.sidebar_category_list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* データがない場合のテキスト */
.no_data {
  font-size: 13px;
  color: #999;
  margin: 0;
}

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

  *ブログ

==================================================================================================================================*/
/*----------ブログ共通パーツ----------*/
/* 日付・カテゴリ */
.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: 0 0 3px rgb(0 0 0 / 0.4);
}

/*----------記事一覧----------*/
.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 rgb(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%;
  }
}


/* 監修者情報ボックス */
.single-author-box {
  background-color: #faf8f7;
  border: 1px solid #f0e6e1;
  padding: 30px;
  margin-top: 60px;
  margin-bottom: 40px;
}

.author-label {
  color: var(--main-color);
  font-weight: bold;
  font-size: 16px;
  font-family: var(--jaM);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #f0e6e1;
}

.author-profile {
  display: flex;
  gap: 30px;
}

.author-img {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e5d8d3;
}

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

.author-job {
  color: var(--main-color);
}

.author-name {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.author-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
}

/* ナビゲーションボタン */
.single-nav-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-back-list,
.btn-next-post {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48%;
  padding: 15px;
  text-decoration: none;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  transition: 0.3s;
}

.btn-next-post {
  border-color: #e5e5e5;
  color: var(--text-color);
  justify-content: flex-end;
}

.btn-back-list:hover {
  background: #fbf2ef;
}

.btn-next-post:hover {
  background: #fafafa;
}
.btn-back-list:only-child {
    margin: 0 auto;
    width: 300px;
    max-width: 100%;
}

@media screen and (max-width: 640px) {
  .author-profile {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .single-nav-links {
    flex-direction: column;
  }

  .btn-back-list,
  .btn-next-post {
    width: 100%;
  }
}


/* 検索エリア */
/* 検索ボックス全体の白枠と余白 */
.searchandfilter {
  background-color: #fff;
  padding: 30px;
  border: 1px solid #e5e5e5;
  margin-bottom: 50px;
}

/* フォーム全体のレイアウト（Flexboxで並び替え） */
.searchandfilter>div>ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* =========================================
   上段：検索窓 ＆ 検索ボタン
========================================= */
/* 検索入力エリア（残り幅をすべて使う） - 1番目のli */
.searchandfilter>div>ul>li:nth-child(1) {
  flex: 1 1 auto;
  order: 1;
  /* 1番目に表示 */
  margin: 0;
}

.searchandfilter input[type="text"] {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 15px;
  background-color: #fcfcfc;
  box-sizing: border-box;
}

/* 検索ボタンエリア（右側に固定幅で配置） - 3番目のli */
.searchandfilter>div>ul>li:nth-child(3) {
  flex: 0 0 160px;
  /* ボタンの横幅 */
  order: 2;
  /* 2番目（検索窓の右）に表示 */
  margin: 0;
}

.searchandfilter input[type="submit"] {
  width: 100%;
  height: 100%;
  /* 検索窓と高さを揃える */
  padding: 15px;
  background-color: var(--main-color);
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  box-sizing: border-box;
}

.searchandfilter input[type="submit"]:hover {
  background-color: #d16b50;
}

/* =========================================
   下段：カテゴリー（グリッドボタン化）
========================================= */
/* カテゴリーエリア（全幅を使って下段へ） - 2番目のli */
.searchandfilter>div>ul>li:nth-child(2) {
  width: 100%;
  order: 3;
  /* 3番目（下段）に表示 */
  margin: 0;
}

/* ラジオボタンのリストを3カラムのグリッドに */
.searchandfilter>div>ul>li:nth-child(2)>ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* PCは3列 */
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.searchandfilter>div>ul>li:nth-child(2)>ul>li {
  margin: 0;
  padding: 0;
  position: relative;
}

/* 元の丸いラジオボタンを隠す */
.searchandfilter input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* ラベルを四角いボタン風にデザイン */
.searchandfilter label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 15px 10px;
  background-color: #f9f9f9;
  border: 1px solid #e5e5e5;
  color: var(--text-color);
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

/* ホバー時のスタイル */
.searchandfilter label:hover {
  border-color: var(--main-color);
  background-color: #fff;
}

/* 選択中（チェックが入っている）のスタイル */
.searchandfilter label:has(input[type="radio"]:checked) {
    background-color: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
    font-weight: bold;
}

@media screen and (max-width: 640px) {
  .searchandfilter{
    padding: 20px;
  }
  /* 検索窓とボタンを縦並びに */
  .searchandfilter>div>ul {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }

  .searchandfilter>div>ul>li:nth-child(3) {
    flex: auto;
    width: 100%;
  }

  /* カテゴリーを2列に */
  .searchandfilter>div>ul>li:nth-child(2)>ul {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* =========================================
   ブログ一覧：カードレイアウト
========================================= */
/* リスト全体をグリッドで3列に */
.blog_card_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    gap: 20px; /* カード同士の隙間 */
    margin-bottom: 60px;
}

/* 各カードの設定 */
.blog_card_item {
    background-color: #fff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

/* ホバー時に少しフワッと浮かせるエフェクト */
.blog_card_item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

/* リンクをカード全体に広げる */
.blog_card_link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: var(--text-color);
}

/* =========================================
   上部：サムネイル ＆ バッジ
========================================= */
.blog_card_thum {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10; /* 画像の比率（キャプチャに合わせた少し横長） */
    overflow: hidden;
    background-color: #e5e0dc; /* 画像がない時のグレー背景 */
}

/* サムネイル画像 */
.blog_card_thum img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ホバー時に画像を少しズーム */
.blog_card_item:hover .blog_card_thum img {
    transform: scale(1.05);
}

/* 左下のカテゴリーバッジ */
.blog_card_badge {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--main-color); /* テーマカラーのオレンジ */
    color: #fff;
    font-size: 12px;
    padding: 6px 15px;
    letter-spacing: 0.05em;
    z-index: 2;
}

/* =========================================
   下部：テキストエリア
========================================= */
.blog_card_body {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 高さが足りない場合も下まで伸ばす */
}

/* 日付 */
.blog_card_date {
    display: block;
    color: #a0908c; /* 薄い赤茶っぽいグレー */
    font-family: var(--en);
    font-size: 100%;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

/* タイトル */
.blog_card_title {
  text-align: left;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: var(--text-color);
    transition: color 0.3s ease;
    padding: 0;
}
.blog_card_title::before,
.blog_card_title::after{
  display: none;
}

.blog_card_item:hover .blog_card_title {
    color: var(--main-color); /* ホバーでタイトルもオレンジに */
}

/* 抜粋テキスト */
.blog_card_excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    margin-top: auto; /* テキストが短い場合でも一番下に揃える魔法のコード */
}


/* =========================================
   スマホ・タブレット対応
========================================= */
@media screen and (max-width: 1024px) {
    /* タブレットサイズでは2列に */
    .blog_card_list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    /* スマホサイズでは1列（縦並び）に */
    .blog_card_list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog_card_body {
        padding: 20px 15px;
    }
}

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

  *YOAKEとは

==================================================================================================================================*/
.box_appeal {
  background: linear-gradient(to Bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../images/bg_faq.jpg) no-repeat right bottom / cover;
  padding: 80px;
  color: #fff;
  font-family: "Hiragino Kaku Gothic W2 JIS2004";
  letter-spacing: 0.1em;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.profile_box dl {
  display: flex;
  flex-wrap: wrap;
}

.profile_box dl dt {
  width: 20%;
  border-bottom: 1px solid var(--main-color);
  padding: 20px;
  text-align: center;
  font-family: "Hiragino Kaku Gothic W4 JIS2004";
}

.profile_box dl dd {
  width: 80%;
  font-family: "Hiragino Kaku Gothic W2 JIS2004";
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

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

  .profile_box dl dt {
    width: 25%;
    padding: 15px 10px;
  }

  .profile_box dl dd {
    width: 75%;
    padding: 15px 10px;

  }
}

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

  *代表メッセージ

==================================================================================================================================*/
.message_box {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
}

.message_box figure {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.message_box figure::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/img_about_shape01.png) no-repeat left top / 120px auto,
    url(../images/img_about_shape02.png) no-repeat right bottom / 200px auto;
}

.message_box .message_text {
  max-width: 750px;
  width: 100%;
}

.message_box h2 {
  color: var(--main-color);
  font-size: 125%;
  text-align: left;
  padding: 0 0 20px;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid var(--border-color);
}

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

.message_text p:not(:last-of-type) {
  margin-bottom: 1.5em;
}

.message_name {
  font-family: var(--jaM);
  font-size: 120%;
  letter-spacing: 0.1em;
  margin-top: 40px;
}

.message_name span {
  color: var(--main-color);
  font-size: 80%;
  margin-right: 1em;
}

.message_box:nth-of-type(2) {
  margin-top: 100px;
  flex-direction: row-reverse;
}

@media screen and (max-width: 640px) {
  .message_box {
    flex-wrap: wrap;
  }
}

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

  *サービス

==================================================================================================================================*/
/* サービスTOP */
.service_content_wrap {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.service_item_detail {
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.service_item_detail a {
  position: relative;
  z-index: 0;
  display: block;
  padding: 45px;
  color: var(--text-color);
}

.service_item_detail a::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #fff;
  opacity: 0.8;
  transition: 0.5s ease;
}

.service_item_detail:nth-of-type(1) a {
  background: url(../images/img_service_list01.jpg) no-repeat center / cover;
}

.service_item_detail:nth-of-type(2) a {
  background: url(../images/img_service_list02.jpg) no-repeat center / cover;
}

.service_item_detail:nth-of-type(3) a {
  background: url(../images/img_service_list03.jpg) no-repeat center / cover;
}

.service_item_detail:nth-of-type(4) a {
  background: url(../images/img_service_list04.jpg) no-repeat center / cover;
}

@media (hover: hover) {
  .service_item_detail a:hover {
    color: #fff;
  }

  .service_item_detail a:hover::before {
    background: #000;
    opacity: 0.6;
  }
}

.service_item_detail .head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.service_item_detail .num {
  color: var(--main-color);
  font-family: var(--en);
  font-weight: 400;
  font-size: 110%;
}

.service_item_detail h2 {
  font-size: 150%;
  text-align: left;
  padding: 0;
  margin: 0;
}

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

.service_item_detail .more {
  text-align: right;
  font-family: "Hiragino Kaku Gothic W3 JIS2004";
  letter-spacing: 0.1em;
  margin-top: 25px;
}

/* サービス詳細 */
.service_intro {
  text-align: center;
  font-family: var(--jaM);
  font-size: 120%;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

.service_list_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 80px;
  justify-content: center;
}

.service_item {
  max-width: 550px;
  width: 100%;
  background: var(--bg-color);
  padding: 30px 50px 50px;
}

.service_item .icon {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  max-width: 100px;
  height: auto;
  aspect-ratio: 1/1;
  background: #fff;
  border-radius: 50%;
}

.service_item .icon img {
  width: 70px;
  height: auto;
}

.service_item h2 {
  font-size: 150%;
}

.service_item li {
  position: relative;
  font-size: 16px;
  font-family: "Hiragino Kaku Gothic W2 JIS2004";
  padding-left: 30px;
}

.service_item 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: 0;
}

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

  .service_item li {
    line-height: 1.5;
  }

  .service_item li:not(:last-of-type) {
    margin-bottom: 1em;
  }
}

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

  *選ばれる理由

==================================================================================================================================*/
.reason_item {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
}

.reason_item:not(:last-of-type) {
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 60px;
}

.reason_item:nth-of-type(even) {
  flex-direction: row-reverse;
  justify-content: right;
}

.reason_item .img {
  position: relative;
  width: 300px;
  height: auto;
  aspect-ratio: 1/1;
  overflow: hidden;
}

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

.reason_item .img .num {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: #fff;
  font-family: var(--en);
  font-weight: 400;
  font-size: 90px;
  line-height: 1;
}

.reason_item .detail {
  max-width: 750px;
  width: 100%;
}

.reason_item .detail h2 {
  text-align: left;
}

.reason_item .detail h2::before,
.reason_item .detail h2::after {
  display: none;
}

.reason_item .detail p {
  font-family: "Hiragino Kaku Gothic W2 JIS2004";
}

@media screen and (max-width: 640px) {
  .reason_item {
    gap: 20px;
    justify-content: center;
  }

  .reason_item:not(:last-of-type) {
    padding-bottom: 40px;
    margin-bottom: 40px;
  }

  .reason_item:nth-of-type(even) {
    justify-content: center;
  }

  .reason_item .detail h2 {
    padding: 0;
    font-size: 140%;
    margin-bottom: 20px;
  }
}

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

  *支援までの流れ

==================================================================================================================================*/
.flow_container {
  max-width: 800px;
  margin: 0 auto;
}

.flow_item {
  display: flex;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid #dcdcdc;
  gap: 30px;
}

.flow_item:last-child {
  border-bottom: none;
}

.flow_number {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--main-color);
  font-family: var(--en);
  font-weight: 600;
}

.flow_number_label {
  font-size: 16px;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.flow_number_value {
  font-size: 48px;
}

.flow_content {
  flex-grow: 1;
  padding-top: 5px;
}

.flow_content h2 {
  font-size: 135%;
  margin: 0 0 15px 0;
  padding: 0;
  text-align: left;
  line-height: 1.4;
}

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

.flow_text {
  font-size: 100%;
  font-family: "Hiragino Kaku Gothic W2 JIS2004";
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 640px) {
  .flow_item {
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
  }

  .flow_number {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
  }

  .flow_number_label {
    font-size: 14px;
    margin-bottom: 0;
  }

  .flow_number_value {
    font-size: 32px;
  }

  .flow_content {
    padding-top: 0;
  }
}

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

  *導入実績

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

/*-------------------- ▼single-record.php▼ --------------------*/

.record_hero_wrap{
  margin-bottom: 60px;
}
.record_hero_wrap ul{
  display: flex;
  flex-wrap: wrap;
}
.record_hero_wrap ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}
.record_hero_wrap ul > li{
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--text-color);
}
.record_hero_wrap ul > li img{
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  margin: auto;
}
.record_hero_wrap ul > li span{
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  width: 100%;
  color: #fff;
  font-size: 12px;
  background: linear-gradient(to Top,rgba(0,0,0,0.6),rgba(0,0,0,0.3),transparent);
  text-align: left;
  padding: 10px 10px 5px;
}
.record_hero_wrap ul > li:first-child {
  grid-column: 1 / -1;
  max-height: 544px;
}
.record_hero_wrap ul > li:not(:first-child){
  height: 150px;
}
.record_hero_wrap ul:has(> li:last-child:nth-child(3)) {
  grid-template-columns: repeat(2, 1fr);
}
.record_hero_wrap ul:has(> li:last-child:nth-child(4)) {
  grid-template-columns: repeat(3, 1fr);
}
.record_hero_wrap ul:has(> li:last-child:nth-child(5)) {
    grid-template-columns: repeat(4, 1fr); /* 4列 */
}

.record_detail{
  margin-bottom: 60px;
}
.record_detail dl{
  display: flex;
  flex-wrap: wrap;
}
.record_detail dl dt{
  display: flex;
  align-items: center;
  position: relative;
  width: 25%;
  padding: 15px;
  background: var(--bg-color);
  margin-bottom: 5px;
  font-family: "Hiragino Kaku Gothic W5 JIS2004";
  letter-spacing: 0.1em;
}
.record_detail dl dt::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 1px;
  height: 80%;
  background: var(--main-color);
  opacity: 0.2;
}
.record_detail dl dd{
  width: 75%;
  padding: 15px;
  background: var(--bg-color);
  margin-bottom: 5px;
}
.over_service_detail{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.over_service_detail li{
  color: var(--main-color);
  font-size: 13px;
  border: 1px solid var(--main-color);
  background: rgba(232,142,114,0.1);
  padding: 1px 10px;
}
.record_detail dl dd .success strong{
  font-size: 160%;
  color: var(--main-color);
  font-family: roma,"Hiragino Kaku Gothic W4 JIS2004";
  margin-right: 0.25em;
}

@media screen and (max-width: 640px) {
  .record_hero_wrap ul > li:not(:first-child){
    height: 125px;
  }
  .record_hero_wrap ul:has(> li:last-child:nth-child(3)),
  .record_hero_wrap ul:has(> li:last-child:nth-child(4)),
  .record_hero_wrap ul:has(> li:last-child:nth-child(5)) {
    grid-template-columns: repeat(2, 1fr);
  }
  .record_detail dl :is(dt,dd){
    width: 100%;
  }
  .record_detail dl dt{
    text-align: center;
    margin-bottom: 0;
    padding: 10px;
    justify-content: center;
  }
  .record_detail dl dt::after{
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    height: 1px;
  }
  .record_detail dl dd{
    padding: 15px 5%;
    margin-bottom: 15px;
  }
}


/* =========================================
  その他の導入実績
========================================= */
.other_works_area {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

/* =========================================
   リストとカード
========================================= */
.other_works_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.other_works_card {
  display: block;
  text-decoration: none;
  color: #333;
  background-color: #fcfbf9;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.other_works_card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

/* --- サムネイル部分 --- */
.other_works_card .card_thumb {
  position: relative;
  background-color: #ddd;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.other_works_card .card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.2s ease;
}

.other_works_card:hover .card_thumb img{
  transform: scale(1.05);
}

/* 左下のオレンジラベル */
.other_works_card .card_label {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--main-color);
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  letter-spacing: 0.2em;
}

/* --- テキスト部分 --- */
.other_works_card .card_content {
  padding: 20px;
}

.other_works_card .card_pref {
  display: block;
  font-size: 12px;
  color: #777;
  margin-bottom: 5px;
}

.other_works_card .card_title {
  font-size: 110%;
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: #333;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--main-color);
}
.other_works_card .card_title::before{
  height: 1px;
  bottom: -1px;
}

.other_works_card .card_result {
  font-size: 100%;
  color: var(--main-color);
  margin: 0;
  display: flex;
  align-items: center;
  font-family: var(--jaM);
  letter-spacing: 0.05em;
}

@media screen and (max-width: 640px) {
  .other_works_list {
    grid-template-columns: 1fr;
  }
}
/*-------------------- ▲single-record.php▲ --------------------*/

/*-------------------- ▼archive-record.php▼ --------------------*/
/* =========================================
   カテゴリー絞り込みボタン
========================================= */
.record_filter_area{
  margin-bottom: 40px;
}
.record_filter_area .filter_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.record_filter_area .filter_btn {
  appearance: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  /* 薄いグレーの線 */
  color: #555;
  padding: 10px 25px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ホバー時＆アクティブ（選択中）時のスタイル */
.record_filter_area .filter_btn:hover,
.record_filter_area .filter_btn.is-active {
  border-color: var(--main-color);
  color: var(--main-color);
}

/* =========================================
   カード一覧エリア
========================================= */
.record_card_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.record_card_item {
  background-color: #fcfbf9;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}

.record_card_item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.record_card_link {
  display: block;
  text-decoration: none;
  color: #333;
  height: 100%;
}

/* --- サムネイル --- */
.record_card_item .card_thumb {
  position: relative;
  background-color: #e3deda;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.record_card_item .card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.2s ease;
}
.record_card_item:hover .card_thumb img{
  transform: scale(1.05);
}

/* 左下ラベル */
.record_card_item .card_label {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--main-color);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  font-weight: bold;
}

/* --- テキストエリア --- */
.record_card_item .card_content {
  padding: 20px;
}

.record_card_item .card_content .card_title {
  font-size: 100%;
  margin: 0 0 15px 0;
  color: #333;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-width: 1px;
}
.record_card_item .card_content .card_title::before{
  height: 1px;
  bottom: -1px;
}

.record_card_item .card_pref {
  font-size: 12px;
  color: #333;
  font-weight: normal;
}

.record_card_item .card_result {
  font-size: 18px;
  color: var(--main-color);
  margin: 0;
  font-family: var(--jaM);
}

/* =========================================
   レスポンシブ（スマホ対応）
========================================= */
@media screen and (max-width: 1024px) {
  /* タブレットは3列 */
  .record_card_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 640px) {
  /* スマホは2列 */
  .record_card_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter_btn {
    padding: 8px 15px;
    font-size: 13px;
  }
}

@media screen and (max-width: 320px) {
  /* 狭いスマホは1列 */
  .record_card_list {
    grid-template-columns: 1fr;
  }
}


/*-------------------- ▲archive-record.php▲ --------------------*/


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

  *事例紹介

==================================================================================================================================*/
/*-------------------- ▼single-case.php▼ --------------------*/
.case_single{
  max-width: 1000px;
  margin: 0 auto;
}

/* ハッシュタグ風カテゴリ */
.case_single_tags {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.case_single_tags li {
  font-size: 10px;
  color: var(--main-color);
  background-color: #f0f0f0;
  padding: 3px 10px;
  border: 1px solid #ebdcd5;
}

.case_single h2{
  text-align: left;
  letter-spacing: 0.1em;
}
.case_single h2::before{
  left: 0;
  right: auto;
}

.case_clinic_data{
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 20px;
}
.case_clinic_data li{
  width: calc((100% - 4px) / 3);
  font-size: 17px;
  font-weight: bold;
  padding: 15px 20px;
  background: #f7f5f2;
}
.case_clinic_data li span{
  display: block;
  color: var(--main-color);
  font-size: 14px;
  line-height: 1.3;
}
.case_mv{
  position: relative;
  text-align: center;
  background: #F7F5F2;
  width: 100%;
  max-height: 450px;
  overflow: hidden;
  margin-bottom: 40px;
}
.case_mv img{
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 450px;
}

.case_achieve{
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: 60px;
}
.case_achieve li{
  width: calc((100% - 4px)/3);
  color: #fff;
  text-align: center;
  background: var(--text-color);
  border: 1px solid var(--main-color);
  padding: 15px 20px;
}
.case_achieve li strong{
  display: block;
  color: var(--main-color);
  font-family: var(--jaL);
  font-size: 250%;
  line-height: 1.3;
  letter-spacing: 0.1em;
}
.case_achieve li span{
  font-size: 80%;
}

.case_interview {
  background-color: var(--bg-color); /* キャプチャのような淡いベージュ背景 */
  padding: 60px 40px;
  margin-top: 60px;
}

.case_interview_container {
  max-width: 800px;
  margin: 0 auto;
}

/* 各インタビューのブロック */
.interview_block {
  position: relative;
  margin-bottom: 60px;
}
.interview_block:last-child {
  margin-bottom: 0;
}

/* =========================================
  ヘッダー（アイコンと名前）
========================================= */
.interview_header {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--border-color); /* 下線 */
  padding-bottom: 30px;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

/* アイコン（丸く切り抜く） */
.interview_icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #e3deda; /* 画像が透過の場合の背景色 */
  flex-shrink: 0;
  margin: 0;
}
.interview_icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 人物名 */
.interview_name .name{
  font-size: 110%;
  font-weight: bold;
  color: var(--text-color);
  line-height: 1.6;
}
.interview_name .clinic_name{
  font-size: 90%;
  color: #555;
}

/* =========================================
  Q&Aリスト
========================================= */
.interview_qa_list {
  margin: 0;
  padding: 0;
}

.qa_item {
  margin-bottom: 40px;
}
.qa_item:last-child {
  margin-bottom: 0;
}

/* 質問（Q） */
.question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-color);
  margin-bottom: 15px;
  line-height: 1.5;
}

.question::before {
  content: "Q";
  font-family: var(--en);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
}

/* 回答（A） */
.answer {
  margin: 0 0 0 30px; /* Qの文字幅に合わせて左に余白を設ける */
  font-size: 15px;
  color: #555;
  line-height: 1.8;
}

@media screen and (max-width: 640px) {
  .case_clinic_data li{
    width: 100%;
    padding: 15px;
    font-size: 100%;
  }
  .case_clinic_data li span{
    display: inline-block;
    font-size: 13px;
    min-width: 80px;
    margin-right: 1em;
  }
  .case_mv{
    max-height: 250px;
    margin-bottom: 20px;
  }
  .case_mv img{
    object-fit: cover;
    width: 100%;
    height: 250px;
  }
  .case_achieve li{
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    justify-content: center;
    padding: 15px 5px;
  }
  .case_achieve li strong{
    font-size: 150%;
  }
  .case_interview {
    padding: 40px 20px;
  }

  .interview_icon {
    width: 60px;
    height: 60px;
  }

  .question::before {
    font-size: 20px;
  }

  .answer {
    margin-left: 0;
  }
}
/*-------------------- ▲single-case.php▲ --------------------*/

/*-------------------- ▼page-case.php▼ --------------------*/
/* =========================================
   検索（フィルター）エリア
========================================= */
.case_filter_area {
  margin-bottom: 50px;
}

/* タブ部分 */
.case_filter_area .filter_tabs {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 1px solid #e0e0e0;
}

.case_filter_area .filter_tabs li {
  padding: 15px 30px;
  background-color: #f7f5f2;
  color: #555;
  font-size: 14px;
  border: 1px solid #e0e0e0;
  border-bottom: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.case_filter_area .filter_tabs li.is-active {
  background-color: #fff;
  color: var(--main-color);
  font-weight: bold;
}

/* ボタン群のラップ（初期状態では非アクティブを非表示に） */
.case_filter_area .filter_buttons_wrap {
  display: none;
  background-color: #f7f5f2;
  padding: 25px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.case_filter_area .filter_buttons_wrap.is-active {
  display: block;
}

.case_filter_area .filter_buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case_filter_area .filter_buttons .filter_btn {
  appearance: none;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: #555;
  padding: 8px 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* 選択中（黒背景） */
.case_filter_area .filter_buttons .filter_btn:hover,
.case_filter_area .filter_buttons .filter_btn.is-active {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* =========================================
   カード一覧エリア（3列Grid）
========================================= */
.case_card_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.case_card_item {
  background-color: #fcfbf9;
  border: 1px solid #eee;
  transition: box-shadow 0.3s ease;
}

.case_card_item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.case_card_link {
  display: block;
  text-decoration: none;
  color: #333;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* --- サムネイル --- */
.case_card_item .card_thumb {
  position: relative;
  background-color: #e3deda;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.case_card_item .card_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: 0.2s ease;
}
.case_card_item:hover .card_thumb img{
  transform: scale(1.05);
}

/* --- テキストエリア --- */
.case_card_item .card_content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case_card_item .card_clinic_name {
  font-size: 13px;
  color: #555;
  margin: 0 0 15px 0;
}

.case_card_item .card_title {
  font-size: 110%;
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: #333;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--main-color);
}
.case_card_item .card_title::before{
  height: 1px;
  bottom: -1px;
}

/* ハッシュタグ風カテゴリ */
.case_card_item .card_tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case_card_item .card_tags li {
  font-size: 11px;
  color: #555;
  background-color: #f0f0f0;
  padding: 4px 10px;
  border: 1px solid #ebdcd5;
}

/* ページャーの間隔調整 */
.case_list_wrap .pager {
  margin-top: 50px;
}

@media screen and (max-width: 640px) {
  .case_card_list {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case_filter_area .filter_tabs li {
    width: calc(100% / 3);
    padding: 10px;
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
  }
  .case_card_item .card_content{
    padding: 15px;
  }
}

@media screen and (max-width: 320px) {
  .case_card_list {
    grid-template-columns: 1fr;
  }
}
/* =========================================
   Ajax切り替え時のフワッとアニメーション
========================================= */
#js-case-list {
    transition: opacity 0.3s ease; /* 0.3秒かけて透明度を変化させる */
}

.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity .3s;
}

/*-------------------- ▲page-case.php▲ --------------------*/


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

  *無料相談フォーム

==================================================================================================================================*/
/* =========================================
   お問い合わせフォーム 全体レイアウト
========================================= */
.form-row-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.form-item {
  margin-bottom: 30px;
}

.form-row-col2 {
  display: flex;
  gap: 30px;
}

.form-row-col2 .form-item {
  flex: 1;
}

@media screen and (max-width: 640px) {
  .form-row-col2 {
    flex-direction: column;
    gap: 0;
  }
}

/* =========================================
   ラベルとバッジ
========================================= */
.form-label {
  font-weight: bold;
  font-size: 15px;
  color: var(--text-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  font-weight: normal;
}

.badge-req {
  background-color: var(--main-color);
  color: #fff;
}

.badge-opt {
  background-color: #ccc;
  color: #fff;
}

.badge-multi {
  background-color: #fbf2ef;
  color: var(--main-color);
  border: 1px solid #f0d4cc;
}

/* =========================================
   入力フィールド（共通）
========================================= */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: #fff;
  box-sizing: border-box;
  transition: 0.3s;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--main-color);
  outline: none;
}

.wpcf7 textarea {
  height: 150px;
  resize: vertical;
}

/* =========================================
   チェックボックス（カード型レイアウト）
========================================= */
/* Gridで2カラムに */
.topics-checkbox .wpcf7-checkbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

@media screen and (max-width: 640px) {
  .topics-checkbox .wpcf7-checkbox {
    grid-template-columns: 1fr;
  }
}

/* inputを隠してラベル全体をクリック領域にする */
.topics-checkbox .wpcf7-list-item {
  display: block;
  margin: 0;
}

.topics-checkbox input[type="checkbox"] {
  display: none;
}

/* カード自体のデザイン */
.topics-checkbox .wpcf7-list-item-label {
  display: block;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

/* ホバー時とチェック時のスタイル */
.topics-checkbox .wpcf7-list-item-label:hover {
  border-color: var(--main-color);
  background-color: #fcf9f8;
}

.topics-checkbox input[type="checkbox"]:checked+.wpcf7-list-item-label {
  border-color: var(--main-color);
  background-color: #fbf2ef;
  box-shadow: 0 2px 10px rgba(224, 122, 95, 0.1);
}

/* カード内のテキストデザイン */
.topic-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.topic-num {
  color: var(--main-color);
  font-size: 18px;
  line-height: 1;
}

.topic-title {
  font-weight: bold;
  font-size: 16px;
  color: var(--text-color);
}

.topic-card-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 28px;
}

.topic-desc {
  font-size: 13px;
  color: #666;
}

.topic-ex {
  font-size: 12px;
  color: #999;
}

/* =========================================
   同意チェックボックス＆送信ボタン
========================================= */
.consent-wrap {
  text-align: center;
  margin-top: 40px;
}

.consent-wrap a {
  color: var(--main-color);
  text-decoration: underline;
}

.submit-wrap {
  text-align: center;
}

.submit-wrap input[type="submit"] {
  background-color: var(--main-color);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 20px 60px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  max-width: 400px;
  transition: 0.3s;
}

.submit-wrap input[type="submit"]:hover {
  background-color: #d16b50;
  opacity: 0.9;
}

.submit-wrap .wpcf7-spinner {
  display: block;
}


/* サンクスページ */
.thanks {
  max-width: 800px;
  margin: auto;
}

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

  *プライバシーポリシー

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

  *お知らせ

==================================================================================================================================*/
.info-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 50px 0;
}

.info-tabs li a {
  display: block;
  padding: 10px 25px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* ホバー時と現在いるカテゴリー（カレント）のスタイル */
.info-tabs li a:hover,
.info-tabs li a.current-cat,
.info-tabs li a.is-active {
  border-color: var(--main-color);
  color: var(--main-color);
}

.info-archive-list {
  border-top: 1px solid var(--border-color);
  /* 一番上のライン */
}

.info-archive-item {
  display: flex;
  align-items: flex-start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
  gap: 40px;
}

/* ▼ 左側（カテゴリーと日付） ▼ */
.info-archive-meta {
  width: 140px;
  /* 左側の幅を固定 */
  flex-shrink: 0;
  text-align: center;
}

.info-archive-category {
  display: block;
  color: #fff;
  background: var(--main-color);
  font-size: 12px;
  padding: 8px 10px;
  margin-bottom: 15px;
}

.info-archive-date {
  display: block;
  color: var(--main-color);
  font-family: var(--en);
  font-size: 100%;
  letter-spacing: 0.05em;
}

.info-archive-body {
  flex-grow: 1;
}

.info-archive-body .btn01 a {
  min-width: 200px;
  padding: 5px 15px 5px 30px;
}

.info-archive-title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.5;
  text-align: left;
  padding: 0;
}

.info-archive-title::before,
.info-archive-title::after {
  display: none;
}

.info-archive-title a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s;
}

.info-archive-title a:hover {
  color: var(--main-color);
}

.info-archive-excerpt {
  margin: 0 0 15px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

.info-archive-more {
  display: inline-block;
  color: var(--main-color);
  font-size: 13px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.info-archive-more:hover {
  opacity: 0.7;
}


@media screen and (max-width: 640px) {
  .info-tabs li a {
    padding: 10px 15px;
    font-size: 13px;
  }

  /* リストを縦並びに */
  .info-archive-item {
    flex-direction: column;
    gap: 15px;
    padding: 25px 0;
  }

  /* メタ情報（日付とカテゴリー）を横並びに変更 */
  .info-archive-meta {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }

  .info-archive-category {
    margin-bottom: 0;
    /* 下余白を消す */
    padding: 5px 12px;
  }

  .info-archive-body {
    width: 100%;
  }

  /* タイトルの文字サイズ調整 */
  .info-archive-title {
    font-size: 16px;
  }
}

/* =========================================
   記事詳細ページ
========================================= */
/* リスト全体を縦並びにする */
.blog_class {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  gap: 10px;
  /* 日付とカテゴリーの縦の隙間 */
  font-size: 15px;
}

/* 各項目（アイコンとテキスト）を横並びに */
.blog_class li {
  display: flex;
  align-items: center;
  gap: 8px;
  /* アイコンとテキストの隙間 */
  color: var(--text-color);
  /* 日付などの基本テキスト色 */
}

/* アイコン自体の色とサイズ */
.blog_class li i {
  color: var(--text-color);
  /* アイコンはダークグレー（黒） */
  font-size: 1.1em;
}

/* カテゴリーテキストの色（テーマカラー） */
.blog_class li a {
  color: var(--main-color);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

/* カテゴリーにホバーした時 */
.blog_class li a:hover {
  opacity: 0.7;
}

.blog_title h2 {
  padding: 0 0 10px;
  text-align: left;
  font-size: 150%;
  border-bottom: 3px solid var(--border-color);
}

.blog_title h2::before {
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 30%;
  height: 3px;
  background: var(--main-color);
  margin: 0;
}

.blog_title h2::after {
  display: none;
}