@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=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #111;
  --color-primary: #9B5763;
  --color-primary-shade: ;
  --color-primary-tint: ;
  --color-secondary: #BA993A;
  --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: #111;
  --header-color-primary: #9B5763;
  --header-secondary: #BA993A;
  --header-color-primary-shade: ;
  --header-color-primary-tint: ;
  /*------▼フッター設定▼------*/
  --footer-background: #9B5763;
  --footer-color-font: #fff;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Noto Serif JP", serif;
  --font-family03: "EB Garamond", serif;
  --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) {}

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

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

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

body.home .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(--px80);
  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: #F5F5F5;
}

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

  .widecolor {
    padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) 0 min(calc(150px + (1vw - 19.2px) * 3.2362), 150px) 0;
    /* 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;
}

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

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

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

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

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

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

.u-fz32 {
  font-size: var(--rem32);
}

/* 行間 */
.u-lh200 {
  line-height: 2;
}

/* 文字 */
.u-ff02 {
  font-family: var(--font-family02);
}

/* 文字揃え */
@media(max-width: 768px) {
  .u-sp--l {
    text-align: left !important;
  }
}

/*----------------------------------------------
  header
----------------------------------------------*/
#header {

  a.head_btn.tel_btn {
    display: flex;
    align-items: center;
    font-size: 2.2rem;
    background: none;
    color: var(--header-color-font);
    background-color: var(--color-background);
    position: relative;

    &::before {
      content: "";
      display: block;
      background: var(--color-font);
      width: 1px;
      height: 60px;
      position: absolute;
      top: 50%;
      left: 0;
      transform: translateY(-50%);
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
    }

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

  a.head_btn .header_tel {
    font-family: var(--font-family03);
    font-size: var(--rem28);
    font-weight: 500;
    color: var(--header-color-primary);

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

  a.head_btn .header_time {
    font-family: var(--font-family01);

    .note {
      b {
        font-family: var(--font-family02);
        font-size: 500;
      }
    }

    &::before {
      content: none;
    }
  }

  a.head_btn.mail_btn {
    &::before {
      content: none;
    }

    >span {
      &:before {
        content: '\f0e0';
        display: block;
        font-family: 'FontAwesome';
        font-size: var(--rem20);
        font-weight: 400;
        line-height: 1;
        margin-bottom: .1em;
        text-align: center;
      }
    }
  }

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

.spmenu #menu p {
  transform: translateX(-50%);
  left: 50%;
  white-space: nowrap;
}

@media print,
screen and (min-width: 1024px) {
  nav#mainNav ul li a {
    padding: var(--px10) var(--px12);

    &:hover {
      opacity: 0.6;
    }
  }

  nav#mainNav ul li:last-child>a {
    padding-right: var(--rem30);
  }


  #header a.head_btn.mail_btn {
    background: var(--header-color-primary);
    color: var(--header-background);
    position: relative;

    &:hover {
      opacity: 0.8;
    }
  }

  nav#mainNav ul li a span {
    color: var(--header-secondary);
  }
}

@media print,
screen and (min-width: 1024px) {
  nav#mainNav ul li li {
    background: var(--color-background);
  }

  nav#mainNav ul,
  #header .header__nav-contact {
    font-family: var(--font-family02);
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}


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

  &.c-list--col2,
  &.c-list--sp-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);
  }
}

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

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

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

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

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

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

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

/*-----------------------------
card
------------------------------*/
.c-card {
  background: var(--color-background);
  position: relative;

  .c-card__num {
    font-family: var(--font-family03);
    color: var(--color-secondary);
    font-size: var(--rem60);
    position: absolute;
    left: 0;
    top: -60px;
    font-weight: bold;
  }

  .c-card__image {
    aspect-ratio: 380 / 284;
    overflow: hidden;
    margin-bottom: var(--rem20);

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

  .c-card__txt {
    padding-bottom: var(--rem20);
  }
}

@media print,
screen and (max-width: 768px) {
  .c-card {
    display: block;

    .c-card__num {
      top: -40px;
    }
  }
}

.c-cardlink {
  position: relative;
  display: block;
  width: 100%;

  .cardlink-title {
    color: var(--color-background);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-background);
    z-index: 1;


    .cardlink-title__en {
      display: block;
      font-family: var(--font-family03);
      font-size: var(--rem72);
      font-weight: 400;
      text-align: center;
      line-height: 1;
    }

    .cardlink-title__ja {
      display: block;
      font-family: var(--font-family02);
      font-size: var(--rem28);
      line-height: 1;
      text-align: center;
    }
  }

  .cardlink__image {
    position: absolute;
    top: 0;
  }
}


/*-----------------------------
btn
------------------------------*/
.post .linkBtn {
  &:hover {
    background: var(--color-primary);
    color: var(--color-background);
    opacity: 0.8;
  }

  &.linkBtn--white {
    background: var(--color-background);
    color: var(--color-font);

    &:after {
      border-color: var(--color-font);
    }

    &:hover {
      background: var(--color-background);
      color: var(--color-font);
      opacity: 0.8;

      &:after {
        border-color: var(--color-font);
      }
    }
  }
}

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

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

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

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

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

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

/*-----------------------------
TOP
------------------------------*/
/* title */
.post .main-title,
.main-title {
  text-align: center;
  background: none;
  margin: 0 auto var(--rem40);

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

  .main-title__en {
    display: block;
    font-family: var(--font-family03);
    font-size: var(--rem72);
    font-weight: 400;

    &::first-letter {
      color: var(--color-secondary);
      font-size: var(--rem80);
    }
  }

  .main-title__ja {
    display: block;
    font-family: var(--font-family02);
    font-size: var(--rem28);
    line-height: 1;
  }

  &.main-title--white {
    color: var(--color-background);

    .main-title__en {
      &::first-letter {
        color: var(--color-background);
      }
    }
  }
}

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

.read-txt {
  font-family: var(--font-family02);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--rem20);
  font-size: var(--rem30);
  line-height: 1.4;
  font-weight: 500;
}

@media print,
screen and (max-width: 768px) {
  .read-txt {
    text-align: left;
  }
}


.fullwide01 {
  position: relative;
  background: url(/wp-content/uploads/about-bg.jpg) no-repeat center / cover;
}

.fullwide01_wrap {
  background: var(--color-background);
  max-width: 1240px;
  width: 94%;
  margin: 0 auto;
  padding: var(--px80);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullwide01_inner {
  max-width: 960px;
}

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

/* reason */
.fullwide03 {
  position: relative;
  background: transparent;
  padding: var(--px80) 0
}

.fullwide03:before {
  content: "";
  background: url(/wp-content/uploads/reason-bg.jpg) no-repeat center / cover;
  width: 100%;
  height: 40%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 0;
}

.fullwide03_wrap {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  width: 94%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullwide03_inner {
  max-width: 1240px;
}

@media print,
screen and (max-width: 768px) {
  .l-news {
    padding-left: 5%;
    padding-right: 5%;
  }
}

/*-----------------------------
下層
------------------------------*/
/* kv */
#thumbImg::before,
header#h1Header::before {
  background: transparent;
}

/* タイトル */
.post .page-title,
.page-title {
  text-align: center;
  background: none;
  margin: 0 auto var(--rem40);

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

  .page-title__en {
    display: block;
    font-family: var(--font-family03);
    font-size: var(--rem72);
    font-weight: 400;

    &::first-letter {
      color: var(--color-secondary);
      font-size: var(--rem80);
    }
  }

  .page-title__ja {
    display: block;
    font-family: var(--font-family02);
    font-size: var(--rem28);
    line-height: 1;
  }

  &.page-title--white {
    color: var(--color-background);

    .page-title__en {
      &::first-letter {
        color: var(--color-background);
      }
    }
  }
}

.post .cardtitle {
  border: none !important;

  .cardtitle__num {
    display: block;
    line-height: 1;
    color: #D6D6D6;
    font-size: var(--rem18);
    margin-bottom: 10px;
  }

  .cardtitle__disc {
    display: block;
    font-size: var(--rem20);
    color: var(--color-font);
  }
}

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

body:not(.home) #content {
  .post h2 {
    font-size: var(--rem30);
  }

  .post h3 {
    padding-left: 0;
    border-bottom: 1px solid var(--color-font);
  }
}


/*--list_style01--------------------------------------------*/

.post .list_style01 li {
  width: 100%;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  flex-shrink: 0;
  border-bottom: solid 1px #ddd;
}

.post .list_style01 li .head {
  width: 25%;
  padding: min(calc(10px + (1vw - 19.2px) * 0.3236), 10px) min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
  /* 30-20px 15-10px (1920-375) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post .list_style01 li .body {
  padding: min(calc(10px + (1vw - 19.2px) * 0.3236), 10px) min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
  /* 30-20px 15-10px (1920-375) */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post .list_style01 li:nth-child(odd) {
  background: #eee;
}

@media only screen and (max-width: 640px) {
  .post .list_style01 li {
    flex-direction: column;
  }

  .post .list_style01 li .head {
    width: 100%;
    padding-bottom: 0;
  }
}

/* faq */
.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: var(--color-font);
  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;
  }
}

/*-----------------------------
投稿
------------------------------*/
.p-post {
  h4 {
    padding-left: 0;
    font-size: var(--rem24);

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


/*-----------------------------
CTA
------------------------------*/
.cta02 {
  position: relative;
  padding: var(--px80) 0;
  z-index: 0;
}

.cta02:before {
  content: "";
  background: url(/wp-content/uploads/cta-bg.jpg) no-repeat center / cover;
  width: 100%;
  height: 75%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.cta02 .cta02_wrap {
  max-width: 1240px;
  width: 90%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.cta02 .ctabtnlist {
  justify-content: space-between;
  max-width: 1400px;
  margin: var(--px50) auto 0 auto;
  gap: var(--rem40);
}

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

.cta02 .item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--px40);
  text-align: center;
  box-sizing: border-box;
  border-radius: 0;
  transition: all ease .15s;
  box-shadow: 8px 10px 14px 0px rgba(0, 0, 0, 0.1);

}

.cta02 .item:hover {
  opacity: 0.8;
}

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

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

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

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

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

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

/*電話ボタン*/

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

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

.cta02 a.telbtn {
  background: #F1F1F1;
  color: var(--color-primary);
}

/*メールボタン*/

.cta02 .mailbtn .btnttl {
  font-size: var(--rem24);
}

.cta02 a.mailbtn {
  background: var(--color-primary);
  color: var(--color-background);
}

/*ボタンアイコン*/

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

.cta02 .mailbtn .btnttl::before {
  content: '\f0e0';
}

.cta02 .telnum::before {
  content: '\f3cd';
}

/*----------------------------------------------
  footer
----------------------------------------------*/
/*----------------------------------------------
  修正2026.2.26
----------------------------------------------*/
#header .logo img {
    max-width: 350px !important;
}
#footer .footer__logo img {
    max-width: 420px !important;
}