@charset "utf-8";
/*
Theme Name:mrp-child
Template:mrp
Version: 1.0.0
*/
/*
DesignCode CSS: ver 0.01
*/
/*------------------------------------------------------
Theme Material
------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Old+Mincho&display=swap');


:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #3B2C26;
  --color-primary: #4E8120;
  --color-primary-shade: ;
  --color-primary-tint: #F9FBF6;
  --color-secondary: ;
  --color-secondary-tint: ;
  --color-table-border: #CCC;
  --body-font-size: min(calc(1.6rem + (1vw - 1.92rem) * 0.1294), 1.6rem);
  /* 1.6-1.4rem (1920-375) */
  --body-font-family: "Noto Sans JP", sans-serif;
  --content-max-width: 1240px;
  /*------▼ヘッダー設定▼------*/
  --header-background: #fff;
  --header-color-font: #3B2C26;
  --header-color-primary: #4E8120;
  --header-secondary: ;
  --header-color-primary-shade: ;
  --header-color-primary-tint: ;
  /*------▼フッター設定▼------*/
  --footer-background: #4E8120;
  --footer-color-font: #fff;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Zen Old Mincho", serif;
  --font-family03: ;
  --font-family04: ;
}

/*--メディアクエリ--------------------------------------------*/
@media print,
screen and (min-width: 1024px) {}

@media print,
screen and (max-width: 1023px) {}

@media print,
screen and (min-width: 769px) {}

@media print,
screen and (max-width: 768px) {}

/* ==========================================================================
   Component Styles reset
   Scope: .post .package_parts
   ========================================================================== */

/* ボックスモデルの統一 */
.post .package_parts,
.post .package_parts * {
  box-sizing: border-box;
}

/* --- 見出し(h1-h6)のリセット --- */

.post .package_parts h1,
.post .package_parts h2,
.post .package_parts h3,
.post .package_parts h4,
.post .package_parts h5,
.post .package_parts h6 {
  margin: 0;
  padding: 0;
  border: none;
  /* 親テーマの線を消す */
  background: none;
  /* 親テーマの背景を消す */
  font-size: 100%;
  font-weight: normal;
  color: inherit;
  line-height: 1.5;
  box-shadow: none;
  text-shadow: none;
  width: auto;
  position: static;
}

/* 見出しの擬似要素(アイコン等)を消去 */
.post .package_parts h1::before,
.post .package_parts h1::after,
.post .package_parts h2::before,
.post .package_parts h2::after,
.post .package_parts h3::before,
.post .package_parts h3::after,
.post .package_parts h4::before,
.post .package_parts h4::after,
.post .package_parts h5::before,
.post .package_parts h5::after,
.post .package_parts h6::before,
.post .package_parts h6::after {
  content: none;
  display: none;
  background: transparent;
}

/* --- リスト(ul, ol, li)のリセット --- */
.post .package_parts ul,
.post .package_parts ol {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none;
}

.post .package_parts li {
  list-style: none;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  display: block;
  width: auto;
}

.post .package_parts li::before,
.post .package_parts li::after {
  content: none;
  display: none;
}

/* --- 定義リスト(dl, dt, dd)のリセット --- */
.post .package_parts dl,
.post .package_parts dt,
.post .package_parts dd {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-weight: normal;
  line-height: 1.5;
}

/* --- その他タグのリセット --- */
.post .package_parts p,
.post .package_parts figure,
.post .package_parts blockquote,
.post .package_parts dl,
.post .package_parts dt,
.post .package_parts dd {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.post .package_parts table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  border: none;
  background: none;
}

.post .package_parts th,
.post .package_parts td {
  padding: 0;
  border: none;
  background: none;
  text-align: left;
}

/* --- 画像のリセット --- */
.post .package_parts img {
  padding: 0 !important;
  border: none !important;
  margin: 0;
  max-width: 100%;
  height: auto;
  box-shadow: none !important;
  vertical-align: bottom;
  float: none;
  background: none !important;
}

/* --- リンクのリセット --- */
.post .package_parts a {
  text-decoration: none;
  color: inherit;
  transition: none;
  border: none;
}

/* --- WordPress固有クラスの無効化 --- */
.post .package_parts .aligncenter,
.post .package_parts .alignleft,
.post .package_parts .alignright {
  float: none;
  margin: 0;
  display: inline;
}

/*--全体の設定--------------------------------------------*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;

  .post p {
    line-height: 1.8;
  }
}

/*--表示の切り替え--------------------------------------------*/

body.home .c_commoncta,
body.page-contact .c_commoncta,
body.page-sitemap .c_commoncta,
body.page-privacy .c_commoncta {
  display: none;
}

.page_contents_inner+.page_contents_inner {
  margin-top: var(--px100);
}

#content,
body:not(.home) #content.wide {
  padding: var(--px100w) 0 var(--px120);
  margin: 0 auto;
}

.fw_contents {
  margin-top: 0;
  margin-bottom: 0;
}

#content:has(.fw_contents),
body:not(.home) #content:has(.fw_contents).wide {
  padding: 0;
}

.fw_contents .page_contents_inner:nth-child(even) {
  background: var(--color-background);
}

/*--お知らせ　下線--------------------------------------------*/
.postlist li {
  border-top: 1px solid #ddd;
}

.postlist li:last-child {
  border-bottom: 1px solid #ddd;
}

/*--fvの比率調整--------------------------------------------*/
#mainImg img {
  width: 100% !important;
  height: auto;
}

/*--幅フル100%背景色--------------------------------------------*/

.widecolor {
  margin-right: calc(((100vw - 100%) / 2)* -1);
  margin-left: calc(((100vw - 100%) / 2)* -1);
  background-color: var(--color-primary-tint);
}

@media print,
screen and (max-width: 768px) {

  .widecolor {
    padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) 5% min(calc(150px + (1vw - 19.2px) * 3.2362), 150px) 5%;
    /* 120-80px (1920-375) */
  }
}

.post .widecolor>h2:first-child {
  margin-top: 0 !important;
}

.widearea {
  margin-right: calc(((100vw - 100%) / 2)* -1);
  margin-left: calc(((100vw - 100%) / 2)* -1);
}

@media print,
screen and (max-width: 768px) {

  #content,
  #content.wide {
    width: 100%;
  }

  .content_inner {
    width: 100%;
  }
}

/*----------------------------------------------
  utility
----------------------------------------------*/
/* コンテンツ幅 */
.max_w640 {
  max-width: 640px;
}

.max_w730 {
  max-width: 730px;
}

.max_w780 {
  max-width: 780px;
}

.max_w1050 {
  max-width: 1050px;
}


/* 文字色 */
.u-fc--primary {
  color: var(--color-primary);
}

.u-fc--white {
  color: var(--color-background);
}

/* 文字サイズ */
.u-fz18 {
  font-size: var(--rem18);
}

.u-fz20 {
  font-size: var(--rem20w);
}

.u-fz24 {
  font-size: var(--rem24) !important;
}

.u-fz28 {
  font-size: var(--rem28);
}

.u-fz30 {
  font-size: var(--rem30);
}

/* 行間 */
.u-lh150 {
  line-height: 1.5;
}

.u-lh200 {
  line-height: 2;
}

/* 枠線 */
.u-border {
  border: 2px solid var(--color-font);
}

@media(max-width: 768px) {
  .u-sp--l {
    text-align: left !important;
  }

  /* サイズ調整 */
  .u-sp-w50 {
    width: 50%;
  }
}

/*----------------------------------------------
  header
----------------------------------------------*/
#header-layout {
  padding: 10px;
}

#header a.head_btn.tel_btn {
  margin-right: 10px;
  color: var(--color-font);

  &::before,
  &::before {
    content: none;
  }

  &:hover {
    opacity: 0.6;
  }
}

a.head_btn.tel_btn,
#header a.head_btn {
  border-radius: 0;
}

span.header_tel {
  display: flex;
  align-items: inherit;
  font-size: var(--rem24);
  color: var(--color-font);

  &:before {
    content: '\f095';
    display: inline-block;
    font-family: 'FontAwesome';
    font-size: var(--rem18);
    font-weight: 400;
    line-height: 1;
    margin-right: 5px;
    color: var(--color-primary);
  }
}

#header a.head_btn.mail_btn {
  border: 2px solid var(--header-color-primary);

  &::before {
    content: none;
  }

  &:hover {
    background: var(--header-color-primary);
    color: var(--color-background);
    opacity: 0.8;
  }

  .header_mail {
    display: flex;
    align-items: baseline;
    font-size: 1.8rem;

    &:before {
      content: none;
    }
  }
}

nav#mainNav ul li.current-menu-item a b,
nav#mainNav ul li a:hover b,
nav#mainNav ul li a:active b,
nav#mainNav ul li.current-menu-parent a b {
  color: var(--header-color-primary);
}

nav#mainNav ul li li.current-menu-item a,
nav#mainNav ul li.current-menu-ancestor li.current-menu-item a {
  background: var(--color-background);
}

/*  消さない　↓↓↓↓ */
nav#mainNav ul li.current-menu-item a b,
nav#mainNav ul li a:hover b,
nav#mainNav ul li a:active b,
nav#mainNav ul li.current-menu-parent a b {
  color: inherit;
}

nav#mainNav ul li li a,
nav#mainNav ul li li.current-menu-item li a,
nav#mainNav ul li.current-menu-ancestor li a,
nav#mainNav ul li.current-menu-item li a {
  color: var(--color-font);
}

/*  消さない ↑↑↑↑ */

/*-----------------------------
list
------------------------------*/
.c-list {
  display: grid;
  gap: var(--rem40);

  &.c-list--col2 {
    grid-template-columns: repeat(2, 1fr);
  }

  &.c-list--col3 {
    grid-template-columns: repeat(3, 1fr);
  }

  &.c-list--col4 {
    grid-template-columns: repeat(4, 1fr);
  }

  &.c-list--col5 {
    grid-template-columns: repeat(5, 1fr);
    gap: var(--rem20);
  }
}

.c-flex {
  display: flex;
  gap: var(--rem40);

  &.c-flex--col3 {
    flex-wrap: wrap;
    justify-content: center;

    .c-flex__item {
      width: calc((100% / 3) - var(--rem40));
      border: 1px solid #CCCCCC;
    }
  }
}

@media(max-width: 780px) {
  .c-list {
    display: grid;
    gap: var(--rem20);

    &.c-list--col2,
    &.c-list--col3,
    &.c-list--col3.c-list--sp-col2,
    &.c-list--col4,
    &.c-list--col5,
    &.c-list--sp-col2 {
      grid-template-columns: repeat(2, 1fr);
    }
  }
}

@media(max-width: 450px) {
  .c-list {
    display: grid;
    gap: var(--rem40);

    &.c-list--col2,
    &.c-list--col3 {
      grid-template-columns: 1fr;
    }
  }

  .c-flex {
    &.c-flex--col3 {
      .c-flex__item {
        width: calc((100% / 2) - var(--rem40));
      }
    }
  }
}

/*-----------------------------
リスト
------------------------------*/

/*-----------------------------
card
------------------------------*/

.card01_list.cardstyle02>li {
  background: #fff;

  .txtarea {
    padding: 20px 20px 30px 20px;
  }

  .cardstyle02__title {
    margin-bottom: var(--rem20);

    .cardstyle02__number {
      color: var(--color-primary);
      font-size: var(--rem30);
      font-weight: bold;
    }

    .cardstyle02__txt {
      color: #314B12;
      font-size: var(--rem24);
      font-weight: 600;
      line-height: 1.4;
    }
  }
}

.card01_list.cardstyle02--noimg>li {
  background: #fff;
  margin-bottom: 0;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);

  .txtarea {
    padding: 20px 20px 30px 20px;
  }

  .c-list--col2__title02 {
    text-align: center;
    background: var(--color-primary);
    padding: var(--rem20) 10px;
    color: var(--color-background);
    font-weight: bold;

    &.dark-green {
      background: #314B12;
    }
  }
}


/*-----------------------------
btn
------------------------------*/
.linkBtn,
.post .linkBtn,
a.linkBtn,
.post .subimitarea .linkBtn input[type="submit"] {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 340px;
  font-size: var(--rem16);
  color: #fff;
  line-height: 1.8;
  text-align: center;
  background: var(--color-primary);
  font-weight: 600;
  padding: var(--rem20) 30px var(--rem20) 20px;
  margin: 0 auto 0;
  border: none;
  border-radius: 0;
  transition: all .3s;
}

.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
  border-color: #fff;
}

.post .linkBtn:hover,
.linkBtn:hover,
a.linkBtn:hover,
.post .subimitarea .linkBtn input[type="submit"]:hover {
  color: #fff;
  background: var(--color-primary);
  opacity: 0.8;
}

.post .linkBtn:hover::after,
.linkBtn:hover::after,
a.linkBtn:hover::after {
  border-color: #fff;
}

.subimitarea>.linkBtn {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.post .subimitarea .linkBtn input[type="submit"] {
  margin-top: 0;
}

/*-----------------------------
table
------------------------------*/
.post table th {
  background: var(--color-primary);
  color: var(--color-background);
}

.post table td {
  background: #fff;
}

.post table th,
.post table td {
  padding: var(--rem20) var(--rem16);
}

.post .responsive--style02 {

  table {
    width: 100%;
    margin: var(--px30w) auto;
  }

  table,
  table th,
  table td {
    border: none;
  }

  table th {
    background: transparent;
  }

  table th,
  table td {
    border-bottom: dotted 1px var(--color-table-border);
    line-height: 2;
    padding: var(--px20) min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
    text-align: left;
  }

  table th,
  .post table th {
    width: 25%;
    color: var(--color-font);
    font-weight: bold;
    background: transparent;
  }

  table td {
    color: var(--color-font);
    background: transparent;
  }

  table:first-child {
    margin-top: 0;
  }

  table:last-child {
    margin-bottom: 0;
  }
}

/*-----------------------------
お問い合わせ
------------------------------*/

.wpcf7-form .must {
  background: var(--color-background);
  color: var(--color-primary);
}

.wpcf7-form .must.must_fn {
  background: var(--color-primary);
  color: #fff;
}

.subimitarea {
  .linkBtn {
    padding: 0;
  }
}

.page-thanks {
  h1.title.first {
    color: var(--color-font);
  }
}

/*-----------------------------
TOP
------------------------------*/
/* title */
.post .main-title,
.main-title {
  padding: 0;
  margin: 0 0 var(--rem40) !important;
  border: none;
  background: transparent;
  text-align: center;
  position: relative;


  &::before,
  &::after {
    content: none;
  }

  .main-title__en {
    display: block;
    font-size: var(--rem24);
    font-family: var(--font-family01);
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--rem20);
  }

  .main-title__ja {
    display: block;
    font-family: var(--font-family02);
    font-size: var(--rem42);
    color: var(--color-font);
    font-weight: bold;
  }

  &.main-title--left {
    text-align: left;
  }
}

@media screen and (max-width: 768px) {

  .post .main-title,
  .main-title {
    .main-title__ja {
      font-size: var(--rem30);
    }
  }
}

/* 新着情報 */
.l-news {
  background: url(/wp-content/uploads/top-news-bg.jpg) no-repeat center center / cover;
}

/*  お悩みについて*/
.post .package_parts {

  /* --- Common: c-checklist-block --- */

  .c-checklist-block {
    display: flex;
    flex-direction: column;
    gap: var(--px40);
  }

  .c-checklist-block__visual {
    width: 80%;
    margin: 0 auto;
  }

  .c-checklist-block__figure {
    width: 100%;
    aspect-ratio: 45 / 64;
    background-color: var(--color-secondary-tint);
    overflow: hidden;
    position: relative;
  }

  .c-checklist-block__figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .c-checklist-block__content {
    width: 100%;
  }

  .c-checklist-block__list {
    display: flex;
    flex-direction: column;
    gap: var(--px16);
  }

  .c-checklist-block__item {
    width: fit-content;
    background-color: var(--color-background);
    border-radius: 100px;
    padding: var(--px16) var(--px24);
    display: flex;
    align-items: center;
    gap: var(--px12);
  }

  .c-checklist-block__icon {
    flex: 0 0 auto;
    position: relative;
  }

  .c-checklist-block__icon::after {
    content: "\f058";
    display: inline-block;
    font: var(--fa-font-solid);
    color: var(--color-primary);
  }

  .c-checklist-block__text {
    font-weight: 700;
    line-height: 1.4;
    font-size: var(--px18);
    text-align: left;
  }

  .u-text-point {
    color: var(--color-primary);
  }
}

/* 院長解説動画 */
.video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;

  iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.video-frame-txt {
  padding: var(--rem40);
}


@media screen and (min-width: 768px) {
  .post .package_parts {
    .c-checklist-block__visual {
      width: 80%;
      margin: var(--rem20) auto 0;
    }

    /* --- c-checklist-block --- */
    .c-checklist-block {
      flex-direction: row;
      align-items: flex-start;
      gap: var(--px60);
    }
  }
}


/*  当院について */
/*-----------------------------
column_06
------------------------------*/
.l-about {
  background: url(/wp-content/uploads/top-about-bg.jpg) no-repeat center center / cover;
}

.column06 {
  position: relative;
  margin: var(--px60) 0 0;
}

.column06_wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: center;
  z-index: 20;
}

.column06 .imgarea {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 60%;
}

.column06 .rev .imgarea {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  width: 55%;
}

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

.column06 .txtarea {
  position: relative;
  width: 45%;
  display: flex;
  align-items: center;
  justify-content: center;
  ;
  background: #fff;
  padding: var(--px80) var(--px40);
  margin: 0 auto 0 -5%;
  z-index: 10;
}

.column06 .txtarea .txtinner {
  max-width: 620px;
}

.column06_wrap+.column06_wrap {
  margin-top: var(--px80);
}

.column06_wrap.rev .txtarea {
  background: transparent;
}

@media print,
screen and (min-width: 1025px) {

  /*左右反転*/
  .column06_wrap.rev {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .column06_wrap.rev .txtarea {
    margin: 0 0 0 auto;
  }
}

@media print,
screen and (max-width: 1024px) {
  .column06_wrap.rev {
    flex-direction: row;
  }

  .column06 .imgarea,
  .column06 .txtarea {
    width: 90%;
  }

  .column06 .txtarea {
    margin: calc(-60px + (1vw - 10.23px) * -3.8580) 0 0 auto;
  }
}

@media print,
screen and (max-width: 1024px) {
  .column06 .txtarea {
    padding: var(--px80) 5%;
  }

  .column06 .rev .txtarea {
    margin: 0 auto;
  }

  .column06 .rev .imgarea {
    width: 100%;
  }
}

.post .list-box {
  padding: var(--rem30);
  background: var(--color-background);

  ul.list_checkbox>li {
    padding-bottom: .1em;
    border-bottom: 1px dashed var(--color-table-border);

  }
}

.post ul.list_checkbox>li:before {
  content: "\f058";
  color: var(--color-primary);
  font: var(--fa-font-solid);
  line-height: 1.8;
}

/* スマホ調整 */
@media print,
screen and (max-width: 1024px) {

  .l-column,
  .l-video,
  .l-strengths,
  .l-news {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/*-----------------------------
下層
------------------------------*/
/* kv */

#thumbImg::before,
header#h1Header::before {
  background: transparent;
}

header#h1Header h1.title {
  font-weight: bold;

  .title-en {
    display: block;
    color: var(--color-primary);
    font-size: var(--rem24);
    font-family: var(--font-family01);
    font-weight: bold;
  }

  .title-ja {
    display: block;
    font-family: var(--font-family02);
    font-size: var(--rem40);
    color: var(--color-font);
    font-weight: bold;
  }
}

/* title */
#content,
body:not(.home) {
  .post h3 {
    font-family: var(--font-family02);
    color: var(--color-font);
    border-bottom: 1px solid var(--color-font);
    font-size: var(--rem30);
  }
}

.post .page-title,
.page-title {
  font-size: var(--rem30);
  font-family: var(--font-family02);
  color: var(--color-font);
  margin-bottom: var(--rem40);

  &::before,
  &::after {
    content: none;
  }

  &.page-title--left {
    text-align: left;
  }

}

/* パンくず */
.breadcrumb {
  .title-en {
    display: none;
  }
}

/* テキストリンク */
.post a.link-txt-line {
  text-decoration: underline;
}

/* 初めての方へ */
.page-video {
  max-width: 780px;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 auto var(--rem40);
  overflow: hidden;

  iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.post {
  .c-step-list {
    display: flex;
    flex-direction: column;
    gap: var(--px60);
    counter-reset: step;

    h2,
    h3 {
      margin: 0;
      padding: 0;
      border: none;
      background: none;
      border-radius: 0;
      text-align: left;
      line-height: 1.5;
      color: var(--color-font);

      &::before,
      &::after {
        content: none;
        background: none;
        border: none;
      }
    }

    .c-step-list__item {
      position: relative;
      padding-left: var(--px40);
      counter-increment: step;

      &::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 0;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background-color: var(--color-font);
        transform: translateX(-50%);
        z-index: 2;
      }

      &::after {
        content: "";
        position: absolute;
        top: 18px;
        left: 0;
        bottom: calc(var(--px60) * -1);
        width: 1px;
        background-color: var(--color-table-border);
        transform: translateX(-50%);
        z-index: 1;
      }

      &:last-child::after {
        display: none;
      }
    }

    h3.c-step-list__subtitle {
      font-weight: 700;
      color: var(--color-primary) !important;
      letter-spacing: 0.1em;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      border: none !important;
      font-size: var(--rem14);
      font-family: var(--font-family01);
    }

    .c-step-list__number {
      margin-left: 0.3em;

      &::before {
        content: counter(step, decimal-leading-zero);
      }
    }

    .c-step-list__title-wrapper {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: var(--px20);
    }

    .c-step-list__title {
      font-weight: 700;
      font-size: var(--rem20);
    }

    .c-step-list__time {
      color: var(--color-font);
      border: 1px solid var(--color-table-border);
      padding: 4px 8px;
      background-color: var(--color-background);
    }

    .c-step-list__text {
      color: var(--color-font);
      line-height: 1.8;
      margin: 0;
    }
  }
}

@media screen and (max-width: 768px) {
  .post {
    .c-step-list {
      gap: var(--px40);

      .c-step-list__item {
        padding-left: var(--px30);

        &::after {
          bottom: calc(var(--px40) * -1);
        }
      }

      .c-step-list__title-wrapper {
        gap: 10px;
        margin-bottom: 12px;
      }
    }
  }
}

/* 店舗情報*/
.access-info {
  padding: var(--rem60);
  background: var(--color-primary-tint);
}

/* 院長プロフィール */
.profile-name-contents {
  margin-bottom: var(--rem20);

  .profile-name {
    font-size: var(--rem30);
    color: var(--color-font);
    font-family: var(--font-family02);
  }

  .profile-name-kana {
    color: #B1A288;
    font-size: var(--rem18);
  }
}

.profile-sns {
  display: flex;
  gap: 5px;

  >li {
    width: var(--px50);
    height: var(--px50);

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
}

.profile-wrap {
  align-items: flex-start;
}

.profile-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-table-border);
  padding-bottom: 1em;
}

/* よくあるご質問 */
.qa_list {
  cursor: pointer;
}

.qa_list .qa_list_inner dt {
  position: relative;
  font-weight: normal;
  margin: 1rem 0 0 0;
  display: flex;
  align-items: stretch;
  padding: 0rem 1rem 0rem 0rem;
  background: #ffffff;
  border: 1px solid #cccccc;
}

.qa_list .qa_list_inner dd .ans_flex {
  position: relative;
  font-weight: normal;
  margin: 0;
  display: flex;
  align-items: stretch;
  padding: 0;
  background: #ffffff;
}

.qa_list .qa_list_inner .a_ico {
  color: #AA0000;
  background: var(--color-background);
  line-height: 1.0;
  padding: 1rem 1rem 1rem 1rem;
  font-size: 2.2rem;
  border-right: 1px solid #cccccc;
  width: 100%;
  text-align: center;
  max-width: 90px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font-family);
}

.qa_list .qa_list_inner .q_ico {
  background: var(--color-primary);
  color: var(--color-background);
  line-height: 1.0;
  padding: 1rem 1rem 1rem 1rem;
  font-size: 2.2rem;
  font-weight: bold;
  width: 100%;
  text-align: center;
  max-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body-font-family);
  border-right: 1px solid #cccccc;
}

.qa_list .qa_list_inner .q_desc,
.qa_list .qa_list_inner .a_desc {
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  line-height: 1.7;
}

.qa_list .qa_list_inner .a_desc {
  line-height: 1.8;
  width: 100%;
}

.qa_list .qa_list_inner dt:after {
  content: '';
  position: absolute;
  top: 46%;
  right: 3rem;
  width: 12px;
  height: 12px;
  border-right: 1px solid #494949;
  border-bottom: 1px solid #494949;
  -webkit-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
}

.qa_list .qa_list_inner .active:after {
  top: 43%;
  right: 2rem;
  -webkit-transform: rotate(-135deg) translateY(-50%);
  transform: rotate(-135deg) translateY(-50%);
}

.qa_list .qa_list_inner dd {
  display: none;
  position: relative;
  padding: 0;
  margin: 0 0 1rem 0;
  border: 1px solid #cccccc;
  border-top: 0;
}

@media only screen and (max-width: 959px) {
  .qa_list .qa_list_inner {
    margin-bottom: 8rem;
  }
}

@media only screen and (max-width: 768px) {

  .qa_list .qa_list_inner .q_desc,
  .qa_list .qa_list_inner .a_desc {
    padding: 0.5rem 1rem 0.5rem 1rem;
  }

  .qa_list .qa_list_inner dt {
    padding: 0rem 1rem 0rem 0rem;
  }

  .qa_list .qa_list_inner .a_ico,
  .qa_list .qa_list_inner .q_ico {
    max-width: 50px;
    padding: 1.2rem 1.0rem;
  }

  .qa_list .qa_list_inner dt:after {
    right: 1.5rem;
    width: 6px;
    height: 6px;
  }

  .qa_list .qa_list_inner .active:after {
    right: 1.0rem;
  }
}

@media only screen and (max-width: 559px) {
  .qa_list .qa_list_inner dd {
    font-size: 1.4rem;
  }

  .qa_list .qa_list_inner {
    margin-bottom: 6rem;
  }

  .qa_list .qa_list_inner dt {
    font-size: 1.4rem;
  }
}


/*-----------------------------
Googleマップ
------------------------------*/
.googlemap {
  margin: 0 auto;
}

/*-----------------------------
サイトマップ
------------------------------*/
#sitemap_list {
  a {
    color: var(--color-font);
  }
}

/*-----------------------------
プライバシー・ポリシー
------------------------------*/

.page-privacy {
  h3 {
    margin-top: var(--rem40) !important;
    color: var(--color-font) !important;
    background: none !important;
    padding: 0 !important;
  }
}

/*-----------------------------
CTA
------------------------------*/
.cta01 {
  background: url(/wp-content/uploads/cta-bg.jpg) no-repeat center center / cover;
  position: relative;
  z-index: 0;
}

.cta01 .cta01_wrap {
  max-width: 1240px;
  width: 90%;
  margin: 0 auto;
  padding: var(--px80);
}

.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 1100px;
  margin: var(--px50) auto 0 auto;
}

.cta01 .ctabtnlist li {
  width: 50%;
  margin: 0;
  padding: 0;
  line-height: 1;
  display: flex;
}

.cta01 a.item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--px40) 0;
  text-align: center;
  box-sizing: border-box;
  color: #111;
  border-radius: 0;
  transition: all ease .15s;
}

.cta01 a.item:hover {
  opacity: 0.8;
}

@media print,
screen and (max-width: 768px) {

  .cta01 .ctabtnlist li,
  .cta01 .ctabtnlist a.item {
    width: 100%;
  }

  .cta01 .ctabtnlist li+li {
    margin-top: 1rem;
  }
}

/*ボタン共通パーツ*/

.cta01 .btnttl {
  display: block;
  font-weight: bold;
  margin-bottom: 1rem;
}

.cta01 .infotxt {
  font-size: var(--rem16);
  font-weight: 400;
}

/*電話ボタン*/

.cta01 .telnum {
  font-size: var(--rem36);
  margin-bottom: 1rem;
  font-weight: bold;
}

.cta01 .telbtn .btnttl {
  font-size: var(--rem20);
}

.cta01 a.telbtn {
  background: var(--color-background);
  color: var(--color-font);
  border: var(--color-primary) 1px solid;
}

/*メールボタン*/

.cta01 .mailbtn .btnttl {
  font-size: var(--rem24);
  line-height: 1.4;
}

.cta01 a.mailbtn {
  background: #4E8120;
  color: #fff;
}

/*LINEボタン*/

.cta01 a.linebtn {
  background: #6D562A;
  color: #fff;
}

.cta01 .linebtn .btnttl {
  font-size: var(--rem24);
}

/*ボタンアイコン*/

.cta01 .telnum::before {
  content: '';
  display: inline-block;
  font-family: 'Font Awesome 5 Free', 'FontAwesome';
  font-weight: 900;
  margin-right: 1rem;
}

.cta01 .telnum::before {
  content: '\f095';
  color: var(--color-primary);
}

/*-----------------------------
footer
------------------------------*/
/* ----全体LAYOUT調整----*/

.footer__inner {
  width: 94%;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: var(--px40);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5%;
  border-bottom: solid 1px;
}

@media print,
screen and (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

#copyright {
  width: 94%;
  max-width: 1240px;
}

/* ----------------------------
right
----------------------------*/

#footer .footnav ul {
  justify-content: flex-end;
}

@media print,
screen and (max-width: 768px) {
  #footer .footnav ul {
    justify-content: center;
    margin-top: var(--px40);
  }
}

/*footer navi ico*/

#footer .footnav ul>li {
  position: relative;
  line-height: 1.4;
  padding: 0 min(calc(16px + (1vw - 19.2px) * 0.4531), 16px) 0 25px;
  /* 16-9px、15-8px (1920-375) */
  margin-bottom: 10px;
}

#footer .footnav ul>li::before {
  left: 0;
  display: block;
  content: '';
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  -webkit-transform: translateY(-50%) rotate(-45deg);
  transform: translateY(-50%) rotate(-45deg);
  margin-top: 0;
  background: transparent;
}

#footer .footnav ul>li::after {
  content: none;
}

/* ----------------------------
left
----------------------------*/

#footer .footer__logo:not(:last-child) {
  margin: 0;
  text-align: left;
}

.leftarea .logoare {
  display: flex;
  flex-direction: column;
  gap: var(--px14);
  line-height: 1;
}

.footer__catchphrase {
  line-height: 1.2;
  text-align: left;
}

@media print,
screen and (max-width: 768px) {
  #footer .footer__logo:not(:last-child) {
    text-align: center;
  }

  .footer__catchphrase {
    text-align: center;
  }
}

/* ----------------------------
SNSアイコン
----------------------------*/

/*LAYOUT調整*/

#footer .socialicon ul,
.socialicon ul {
  -webkit-box-pack: start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
  gap: 10px;
}

#footer .socialicon ul li,
.socialicon ul li {
  padding: 0;
}

@media print,
screen and (max-width: 768px) {

  #footer .socialicon ul,
  .socialicon ul {
    justify-content: center;
  }
}

/*アイコンサイズ調整*/

#footer .socialicon .fa-facebook:before,
#footer .socialicon .fa-twitter:before,
#footer .socialicon .fa-youtube:before,
#footer .socialicon .fa-instagram:before,
#footer .socialicon .fa-x-twitter:before,
#footer .socialicon .fa-line:before,
#footer .socialicon .fa-tiktok:before {
  font-size: var(--rem24);
}

#footer ul {
  margin: initial;
}

.icon-note {
  width: 50px;

  img {
    width: 100%;
  }
}


@media print,
screen and (max-width: 768px) {
  #footer .footer__logo img {
    max-height: var(--px80);
  }

  .fa,
  .fa-brands,
  .fa-classic,
  .fa-regular,
  .fa-solid,
  .fab,
  .far,
  .fas {
    width: auto;
  }
}

/* ----------------------------
TOPへボタン
----------------------------*/
a#scrollUp {
  background: var(--color-primary);
  opacity: 1;
}

@media print,
screen and (max-width: 768px) {

  a#scrollUp {
    bottom: 70px;
  }
}


/* ==========================================================================
   c-floating-banner
   ========================================================================== */

.page-contact {
  .c-floating-banner {
    display: none;
  }
}

.c-floating-banner {
  position: fixed;
  bottom: calc(60px + 2%);
  right: 0;
  z-index: 100;

  .c-floating-banner__link {
    display: block;
    transition: all .2s;

    &:hover {
      .c-floating-banner__img {
        opacity: .7;
      }
    }
  }

  .c-floating-banner__img {
    width: 100%;
    max-width: var(--px80);
    height: auto;
  }
}

@media screen and (max-width: 768px) {
  .c-floating-banner {
    display: none;
  }
}

/* ----------------------------
ギャラリー
----------------------------*/
.post .gallery {
  dl.gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
  }
}