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

:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #111;
  --color-primary: #1BA931;
  --color-primary-shade: #000;
  --color-primary-tint: #EBF6D7;
  --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: #453920;
  --header-color-primary: #F29838;
  --header-secondary: #2CAD36;
  --header-color-primary-shade: #2CAD36;
  --header-color-primary-tint: #F29838;
  /*------▼フッター設定▼------*/
  --footer-background: #E4FDE2;
  --footer-color-font: #453920;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Quicksand", sans-serif;
  --font-family03: "Zen Maru Gothic", sans-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;
}

/*--アンカーリンク--------------------------------------------*/
.anchor-link_contents {
  margin-top: -80px !important;
  padding-top: 80px !important;
}

.anchor-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  font-weight: bold;
  color: var(--footer-background);
  max-width: 370px;
  width: 100%;
  border-radius: 50em;
  padding: var(--px20) var(--px40);
  position: relative;
  border: 1px solid var(--color-primary);

  &::before,
  &::after {
    content: "";
    position: absolute;
    bottom: calc(50% - 7px);
    right: 30px;
    width: 2px;
    height: 14px;
    border-radius: 9999px;
    background-color: var(--color-background);
    transform-origin: 50% calc(100% - 1px);
  }

  &::before {
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }

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

  &.anchor-link--special {
    max-width: 540px;
    width: 100%;
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;

    &::before,
    &::after {
      background-color: #fff;
    }

    &:hover {
      background: var(--color-primary-tint);
      color: var(--color-primary);

      &::before,
      &::after {
        background-color: var(--color-primary);
      }
    }
  }
}

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

    &::before,
    &::after {
      content: "";
      position: absolute;
      bottom: calc(50% - 5px);
      right: 20px;
      width: 2px;
      height: 10px;
      border-radius: 9999px;
      transform-origin: 50% calc(100% - 1px);
    }
  }
}

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

body:not(.page.home) .top-news {
  display: none;
}

body:not(.home)::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(/wp-content/uploads/page-bg-1.jpg);
  background-size: cover;
  background-position: top;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

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


/*--お知らせ　下線--------------------------------------------*/
.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--primary-tint {
  margin-right: calc(((100vw - 100%) / 2)* -1);
  margin-left: calc(((100vw - 100%) / 2)* -1);
  background-color: var(--color-primary-tint);
}

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

.widecolor--img {
  margin-right: calc(((100vw - 100%) / 2)* -1);
  margin-left: calc(((100vw - 100%) / 2)* -1);
  background: url(/wp-content/uploads/page-bg01.png) no-repeat center center / cover;
}

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

  .widecolor--primary,
  .widecolor--white,
  .widecolor--img {
    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_w340 {
  max-width: 340px !important;
}

.max_w600 {
  max-width: 600px;
}

.max_w800 {
  max-width: 800px;
}

.max_w840 {
  max-width: 840px;
}

.max_w880 {
  max-width: 880px;
}

.max_w1070 {
  max-width: 1070px;
}

/*---------背景色-----------*/
.bg_white {
  background: var(--color-background) !important;
}

.bg_gray {
  background: url(/wp-content/uploads/top-slider-bg02.jpg) no-repeat center /cover !important;
}

.bg_blue {
  background: #66AFFF !important;
}

.bg_green {
  background: #E0F6EB !important;
}

.bg_cream {
  background: #FAF2D4 !important;
}

.bg_pink {
  background: #FFB5B9 !important;
}

.bg_light-blue {
  background: #E6F4FF !important;
}

/*---------文字色-----------*/
.fc_primary {
  color: var(--color-primary) !important;
}

.fc_secondary {
  color: var(--color-secondary) !important;
}

.fc_black {
  color: var(--color-font) !important;
}

.fc_navy {
  color: var(--color-primary) !important;
}

.fc_white {
  color: #fff !important;
}

.fc_blue {
  color: #68A9DC !important;
}

.fc_green {
  color: #4DB983 !important;
}

.fc_yellow {
  color: #FBB74C !important;
}

/*---------文字-----------*/
.ff_01 {
  font-family: var(--font-family01) !important;
}

.ff_02 {
  font-family: var(--font-family02) !important;
}

.post p {
  line-height: 2;
}

/*---------margin-----------*/
.mt-auto {
  margin-top: auto !important;
}

/*---------フォントサイズ-----------*/
.fz14 {
  font-size: 14px;
}

.fz16 {
  font-size: var(--rem16);
}

.fz18 {
  font-size: var(--rem18);
}

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

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

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

.fz40 {
  font-size: var(--rem40);
}

.fz60 {
  font-size: var(--rem60);
}

.fz72 {
  font-size: var(--rem72);
}


/*---------フォント太さ-----------*/
.fw-mid {
  font-weight: 600;
}

/*---------リンク-----------*/
.txc_link {
  color: #1EB3EA;
  font-weight: bold;
}

/*---------gap-----------*/
.gap1 {
  gap: 1%;
}

/*---------flex-----------*/
.flex_g1 {
  flex-grow: 1;
}

/*---------行間-----------*/
.lh140 {
  line-height: 1.4 !important;
}

/*--------box-----------*/
.colorbox-white {
  background: var(--color-background);
  padding: var(--rem40) var(--rem48);
  border-radius: var(--rem40);
}

/*---------border-----------*/
.border-b1 {
  border-bottom: 1px solid var(--color-table-border) !important;
}

/*---------tab表示-----------*/
@media screen and (max-width: 768px) {
  .tab_w60 {
    width: 60% !important;
  }
}

/*---------sp表示-----------*/
@media screen and (max-width: 450px) {
  .sp-txt_l {
    text-align: left !important;
  }

  .sp-txt_c {
    text-align: center !important;
  }
}

/*----------------------------------------------
  title
----------------------------------------------*/
header#h1Header {
  background: var(--color-primary);
}

header#h1Header h1.title {
  color: var(--color-background);
  font-weight: 500;
  font-size: var(--rem36);
  font-size: var(--rem42);
}

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

.post h1,
h1,
.post h2,
h2,
.post h3,
h3,
.post h4,
h4,
.post h5,
h5,
p,
div,
span {

  /*---------top-main-title-----------*/
  &.top-main-title {
    font-family: var(--font-family03);
    font-size: var(--rem36);
    font-weight: 600;
    text-align: left;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0;
    margin: 0 auto var(--rem40);
    border: none;
    background: transparent;

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

    .subtxt {
      font-family: var(--font-family02);
      display: block;
      font-size: var(--rem20);
      color: var(--color-primary);
      font-weight: bold;
      padding: 0;
      margin: var(--rem12) 0 0;
      border: none;
      background: transparent;
    }

    &.title-center {
      text-align: center;
    }

    &.title-c-orange {
      .subtxt {
        color: var(--header-color-primary);
      }
    }
  }

  /*---------top-secondary-title-----------*/
  &.page-main-title {
    font-family: var(--font-family02);
    font-size: var(--rem36);
    font-weight: 600;
    text-align: center;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0 0 var(--rem20);
    margin: 0 auto var(--rem40);
    border: none;
    background: transparent;
    position: relative;

    &:before {
      content: none;
    }

    &::after {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: var(--px80);
      content: "";
      height: 2px;
      border-radius: 2px;
      background: var(--color-primary);
    }

    .subtxt {
      font-family: var(--font-family03);
      display: block;
      font-size: var(--rem24);
      color: var(--color-primary);
      font-weight: 600;
      padding: 0;
      margin: 0;
      border: none;
      background: transparent;
    }

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

      &::after {
        left: 0;
        transform: initial;
      }
    }

  }

  /*---------page-main-title-----------*/
  &.page-main-title {
    font-size: var(--rem36);
    font-weight: 600;
    text-align: center;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0 0 var(--rem20);
    margin: 0 auto var(--rem60);
    border: none;
    background: transparent;

    .subtxt {
      display: block;
      font-size: var(--rem20);
      color: var(--color-primary);
      font-weight: 500;
      padding: 0;
      margin: 0;
      border: none;
      background: transparent;
    }

    &::before {
      content: none;
    }

    &::after {
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: var(--px80);
      border-bottom: 1px solid var(--color-primary);
      content: "";
    }
  }


  /*---------page-secondary-title-----------*/
  &.page-secondary-title {
    font-family: var(--font-family02);
    font-size: var(--rem28);
    font-weight: 500;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0;
    margin: 0 auto var(--rem20);
    border: none;
    background: transparent;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;

    &:before {
      content: "";
      display: block;
      background: url(/wp-content/uploads/list-icon.png) no-repeat;
      background-size: contain;
      line-height: 1;
      width: var(--px60);
      height: var(--px60);
      margin: 0 var(--rem16) 0 0;
    }

    &:after {
      content: none;
    }
  }

}


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

  .post h1,
  h1,
  .post h2,
  h2,
  .post h3,
  h3,
  .post h4,
  h4,
  .post h5,
  h5,
  p,
  div,
  span {}
}

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

  .post h1,
  h1,
  .post h2,
  h2,
  .post h3,
  h3,
  .post h4,
  h4,
  .post h5,
  h5,
  p,
  div,
  span {}
}

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

  .post h1,
  h1,
  .post h2,
  h2,
  .post h3,
  h3,
  .post h4,
  h4,
  .post h5,
  h5,
  p {

    /*---------txtstyle01-----------*/
  }
}

/*----------------------------------------------
  column
----------------------------------------------*/
/*---------column01-----------*/
.column01 {
  position: relative;
  margin: 0;
  padding: 0;
}

.column01_wrap {
  position: relative;
  margin: 0 auto;
  z-index: 1;
}

.column01 .txtarea {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--px80) var(--px40);
  margin: 0;
}

/* .column01 .txtarea .txtinner {
  max-width: 540px;
} */

.column01 .imgarea {
  overflow: hidden;
  line-height: 0;
  margin: 0;
}

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

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

  .column01 {
    .flexbox {
      display: block;

      .imgarea {
        width: 100%;
      }

      .txtarea {
        width: 100%;
      }
    }
  }
}

/*---------column04-----------*/
.sec01 {
  background: #F5F5F5;
}

.toptxtarea {
  max-width: 960px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.column04 {
  position: relative;
  padding: var(--px120) 0 0;
  margin: 0;
}

.column04:before {
  content: "";
  background: var(--color-primary);
  width: 100%;
  height: 25%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.column04_wrap {
  position: relative;
  max-width: 1600px;
  width: 94%;
  margin: 0 auto;
  z-index: 1;
}

.column04 .txtarea {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--px80) var(--px40);
  margin: 0;
}

.column04 .txtarea .txtinner {
  max-width: 540px;
}

.column04 .imgarea {
  overflow: hidden;
  line-height: 0;
  margin: 0;
}

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

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


/*---------column05-----------*/
.column05 {
  position: relative;
  margin: 0;
}


.column05_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: flex-end;
  z-index: 20;
}

.column05_wrap+.column05_wrap {
  margin-top: calc(100px + 70px);
}

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

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

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

.column05 .txtarea .txtinner {
  max-width: 540px;
}

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

  /*左右反転*/
  .column05_wrap+.column05_wrap {
    margin-top: calc(100px + 70px);
  }

  .column05_wrap.rev {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .column05_wrap.rev .txtarea {
    margin: 0 -5% auto auto;
  }
}

@media print,
screen and (max-width: 1023px) {
  .column05_wrap+.column05_wrap {
    margin-top: calc(100px + (1vw - 10.23px) * 7.7160);
  }

  .column05_wrap.rev {
    flex-direction: row;
  }

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

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

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

/*---------column05_02-----------*/
.column05_02 {
  position: relative;
  margin: var(--px60) 0 0;
}


.column05_02_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;
  z-index: 20;
}

.column05_02_wrap+.column05_02_wrap {
  margin-top: calc(100px + 70px);
}

.column05_02 .imgarea {
  position: relative;
  width: 50%;
}

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

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

.column05_02 .txtarea .txtinner {
  max-width: 540px;
  padding: 20px;
}

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

  /*左右反転*/
  .column05_02_wrap+.column05_02_wrap {
    margin-top: calc(100px + 70px);
  }

  .column05_02_wrap.rev {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
  }

  .column05_02_wrap.rev .txtarea {
    margin: 0 -5% auto auto;
  }
}

@media print,
screen and (max-width: 1023px) {
  .column05_02_wrap+.column05_02_wrap {
    margin-top: calc(100px + (1vw - 10.23px) * 7.7160);
  }

  .column05_02_wrap.rev {
    flex-direction: row;
  }

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

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

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



/*---------column06-----------*/
.column06 {
  position: relative;
}

.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: 50%;
  border-radius: 0 var(--rem40) var(--rem40) 0;
}

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

.column06 .txtarea {
  position: relative;
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--px80) var(--px40);
  margin: 0 auto;
  z-index: 10;
  border-radius: var(--rem40) 0 0 var(--rem40);
}

.column06 .txtarea .txtinner {
  max-width: 690px;
  width: 100%;
}

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

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

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

  .column06 .rev .imgarea {
    border-radius: var(--rem40) 0 0 var(--rem40);
  }

  .column06_wrap.rev .txtarea {
    margin: 0 auto;
    border-radius: 0 var(--rem40) var(--rem40) 0;
  }
}

@media print,
screen and (max-width: 1023px) {
  .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: 768px) {
  .column06 .txtarea {
    padding: var(--px80) 5%;
  }
}

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

.post .col2_list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
}

.post .col2_list>li {
  width: 49%;
  margin-bottom: 2%;
}

@media print,
screen and (max-width: 450px) {
  .post .col2_list>li {
    width: 100%;
  }

  .post .col2_list>li:last-child {
    margin-bottom: 0;
  }
}

/*---------col03-----------*/
.post .col3_list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--rem40) var(--rem20);
}

.post .col3_list>li {
  width: 32%;
  display: flex;
  flex-direction: column;
}

@media print,
screen and (max-width: 768px) {
  .post .col3_list>li {
    width: 49%;
    margin-bottom: 10%;
  }

  .post .col3_list::before,
  .post .col3_list:after {
    content: none;
  }
}

@media print,
screen and (max-width: 450px) {
  .post .col3_list>li {
    width: 100%;
  }

  .post .col3_list>li:last-child {
    margin-bottom: 0;
  }
}

/*---------col4-----------*/
.post .col4_list {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--rem30);
}

.post .col4_list>li {
  width: 22%;
  margin-bottom: 1.5%
}

/* .post .col4_list::before {
  content: "";
  display: block;
  width: 24%;
  height: 0;
  order: 1;
}

.post .col4_list:after {
  content: "";
  display: block;
  width: 24%;
  height: 0;
} */

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

  .post .col4_list>li,
  .post .col4_list::before,
  .post .col4_list:after {
    width: 21.5%;
    margin-bottom: 2%;
  }
}

@media print,
screen and (max-width: 768px) {
  .post .col4_list>li {
    width: 44%;
  }

  .post .col4_list::before,
  .post .col4_list:after {
    content: none;
  }
}

@media print,
screen and (max-width: 450px) {
  .post .col4_list {
    margin-top: var(--rem40);
  }

  .post .col4_list>li {
    width: 90%;
  }

  .post .col4_list>li:last-child {
    margin-bottom: 0;
  }
}

/*---------col5-----------*/
.col5_list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--rem20);
  justify-content: center;

  li {
    width: calc((100% / 5) - 20px);
  }
}

@media print,
screen and (max-width: 768px) {
  .col5_list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rem20);
    justify-content: normal;

    li {
      width: 48%;
    }
  }
}

@media print,
screen and (max-width: 450px) {
  .col5_list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--rem20);
    justify-content: normal;

    li {
      width: 100%;
    }
  }
}

.link-img {
  .link-img_contents {
    display: inline-block;
    overflow: hidden;
    width: 100%;
    background: #111;

    img {
      height: auto;
      transition: transform .6s ease;
      /* ゆっくり変化させる */
    }
  }

  &:hover {
    .link-img_contents img {
      transform: scale(1.1);
    }
  }
}

/*----------------------------------------------
  cardstyle
----------------------------------------------*/
/*---------style05-------------*/
.cardstyle05>li {
  padding-bottom: 30px;
}

.card01_list.cardstyle05>li .imgarea {
  position: relative;
  border-radius: var(--rem20);
  overflow: hidden;
}

.card01_list.cardstyle05>li .txtarea {
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  background: #fff;
  padding: 20px 20px 30px 20px;
  max-width: 90%;
  margin: -30px auto;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.08);

  .card-title {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: var(--rem20);
    font-weight: bold;
    font-size: var(--rem20);
  }
}


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

.cta01 .cta01_wrap {
  max-width: 1240px;
  width: 90%;
  margin: 0 auto;
  padding: var(--px80);
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--rem30);
}

.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 940px;
  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(--px30) 0;
  text-align: center;
  box-sizing: border-box;
  transition: all ease .15s;
  border-radius: var(--px30);
}

.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(--rem12);
  color: var(--color-background);
  background: var(--color-font);
  border-radius: 50em;
  padding: 5px var(--px12);
}

.cta01 a.telbtn {
  background: var(--color-primary-tint);
  color: var(--color-font);

  .infotxt {
    font-size: 12px;
  }
}

/*メールボタン*/

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

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

/*ボタンアイコン*/

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

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

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

/*----------------------------------------------
  header
----------------------------------------------*/

/*--------------google翻訳--------------*/
#flags ul li a {
  padding: 0 !important;
}

.gt_flex {
  display: flex;
  justify-content: flex-end;
  padding: 5px 10px;
  background: var(--header-secondary);
}

#flags {
  width: 160px !important;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.gt_flex #flags,
.gt_flex #google_language_translator {
  height: 30px;
}

.gt_flex ul#sortable li {
  height: 18px !important;
  display: block;
}

/*--------------google翻訳ここまで--------------*/
@media print,
screen and (min-width: 1024px) {
  #header {
    height: 100px;
  }

  .sticky-header #header-layout {
    height: 100px;
  }

  #header a.head_btn.tel_btn {
    flex-direction: row;
    font-family: var(--font-family02);
    font-size: var(--rem28);
  }

  #header a.head_btn::before {
    font-size: 1.8rem;
  }

  #header a.head_btn.tel_btn::before {
    margin-right: 5px;
  }
}

.tel-wrap {
  display: flex;
  background: var(--header-color-primary-shade);
  height: 100%;
  padding: var(--rem12) var(--rem30);

  .head_hours {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-background);
  }
}


#header a.head_btn:hover {
  background: var(--header-secondary);
  opacity: 0.8;
}

/*----------------------------------------------
  footer
----------------------------------------------*/
#footer .footer__logo img {
  max-width: 320px;
  max-height: var(--px160);
  -o-object-fit: contain;
  object-fit: contain;
}

/*----------------------------------------------
  link
----------------------------------------------*/
.txt-link {
  font-family: var(--font-family01);
  border-bottom: 1px solid var(--color-font);
  font-weight: 600;
}




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

.fullwide01_wrap {
  background: rgba(255, 255, 255, 0.85);
  max-width: 1240px;
  width: 94%;
  margin: 0 auto;
  padding: var(--px80);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--rem30);
}

.fullwide01_inner {
  max-width: 960px;
}

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

/*----------------------------------------------
  table
----------------------------------------------*/
.post table th {
  width: 25%;
  color: var(--color-font);
  font-weight: 600;
  background: var(--color-primary-tint);
}

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

  &.btn-c-orange {
    color: var(--header-color-primary);
    border: solid 2px var(--header-color-primary);

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

    &:hover {
      color: #fff;
      background: var(--header-color-primary);

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

.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
  border-color: var(--color-primary);
}

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

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

/* ----------btn02----------- */
.linkBtn02,
.post .linkBtn02,
a.linkBtn02 {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 240px;
  font-size: var(--rem16);
  color: var(--color-font);
  line-height: 1.8;
  text-align: left;
  background: transparent;
  font-weight: 600;
  padding: var(--rem20) 30px 10px 20px;
  margin: 0 auto 0;
  border-bottom: solid 2px #36C9C6;
  border-radius: 0;
  transition: all .3s;
}

.post {
  .subimitarea .linkBtn02 input[type="submit"] {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 240px;
    font-size: var(--rem16);
    color: #111;
    line-height: 1.8;
    text-align: left;
    background: transparent;
    font-weight: 600;
    padding: var(--rem20) 30px var(--rem20) 20px;
    margin: 0 auto 0;
    border-bottom: solid 2px #36C9C6;
    border-radius: 0;
    transition: all .3s;
  }

  .linkBtn02::after {
    content: '\f0a9';
    position: absolute;
    font-size: var(--rem20);
    color: #36C9C6;
    font-family: 'FontAwesome';
    font-weight: 400;
    line-height: 1;
    top: 55%;
    right: 18px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    border: none;
    width: auto;
    height: auto;
    margin: 0;
    transition: 0.3s all;
  }
}

.linkBtn02::after,
a.linkBtn02::after {
  content: '\f0a9';
  position: absolute;
  font-size: var(--rem16);
  color: #111;
  font-family: 'FontAwesome';
  font-weight: 400;
  line-height: 1;
  top: 55%;
  right: 18px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: none;
  width: auto;
  height: auto;
  margin: 0;
  transition: 0.3s all;
}


.post {
  .subimitarea .linkBtn02 input[type="submit"]:hover {
    border-bottom: solid 2px transparent;
    background: var(--color-primary-tint);
    color: #fff;
  }
}


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

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

.card-link {
  &:hover {
    opacity: 0.8;
  }
}

/* ----------btn03----------- */
.linkBtn03,
.post .linkBtn03,
a.linkBtn03 {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 440px;
  height: 100%;
  font-size: var(--rem24);
  color: var(--color-font);
  line-height: 1.8;
  text-align: center;
  background: var(--header-color-primary);
  font-weight: 600;
  padding: var(--rem20);
  margin: 0 auto 0;
  border-radius: 50em;
  transition: all .3s;
  white-space: nowrap;

  .subtxt {
    font-size: var(--rem14);
    display: block;
  }

  &:hover {
    opacity: 0.8;
  }
}

.post {
  .subimitarea .linkBtn03 input[type="submit"] {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 240px;
    font-size: var(--rem16);
    color: var(--color-font);
    line-height: 1.8;
    text-align: left;
    background: var(--header-color-primary);
    font-weight: 600;
    padding: var(--rem20);
    margin: 0 auto 0;
    border-radius: 0;
    transition: all .3s;
  }
}

/*----------------------------------------------
  teleco_v1
----------------------------------------------*/
.teleco_v1 h2 {
  width: 100%;
}

.teleco_v1 .w50.image_box {
  position: relative;
  overflow: hidden;
}

.teleco_v1 .w50.image_box::before {
  content: '';
  display: block;
}

.teleco_v1 .w50.image_box img {
  position: absolute;
  width: 102%;
  height: auto;
  max-width: none;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.teleco_v1 .w50.text_box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: min(calc(80px + (1vw - 19.2px) * 3.5599), 100px);
  /* 120-65px (1920-375) */
}

@media print,
screen and (min-width: 769px) {
  .teleco_v1 .w50.image_box::before {
    padding-top: calc(550px + (1vw - 19.2px) * 17.3762);
  }

  .teleco_v1 .w50.image_box img {
    width: auto;
    height: 116%;
  }
}

.flexinnerBtn {
  align-self: normal;
}

@media print,
screen and (max-width: 768px) {
  .teleco_v1 .w50.image_box {
    margin-bottom: 0;
  }

  .teleco_v1 .w50.image_box::before {
    padding-top: calc(350px + (1vw - 7.68px) * 27.9898);
  }

  .teleco_v1 .w50.text_box {
    padding: 20px;
    margin-bottom: 0;
  }
}


/* ==========================
TOP
=========================== */
.top-about {
  .linkBtn {
    max-width: 100%;
  }
}

.top-group {
  position: relative;

  &::before {
    content: "";
    width: 150px;
    height: 340px;
    display: block;
    background: url(/wp-content/uploads/top-group-bg-left.png) no-repeat center / contain;
    position: absolute;
    left: -220px;
    top: var(--px120);
  }

  &::after {
    content: "";
    width: 150px;
    height: 340px;
    display: block;
    background: url(/wp-content/uploads/top-group-bg-right.png) no-repeat center / contain;
    position: absolute;
    right: -220px;
    bottom: 0;
  }
}

.top-news {
  padding: 350px 0 var(--px120);
}


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

  .top-concept,
  .top-news {
    padding: var(--px120) 5%;
  }
}


/* ==========================
院長挨拶・医師の紹介
=========================== */
.post .staff_name {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: flex-start;
  background: none;
  border: none;
  border-bottom: 2px solid var(--color-font);
  margin: min(calc(120px + (1vw - 19.2px) * 5.178), 120px) 0 min(calc(45px + (1vw - 19.2px) * 1.2945), 45px);
  /* -- 1920 120px 375 40px -- */
  /* -- 1920 45px 375 25px -- */
  padding: 0 0 0.5em;
  color: #404040;
  font-family: inherit;
  font-size: min(calc(3.6rem + (1vw - 19.2px) * 0.9709), 3.6rem);
  /* -- 1920 3.6rem 375 2.1rem -- */
  font-weight: 700;
  text-align: left;
  line-height: 1.35;
  letter-spacing: normal;
  gap: 0.15em 1em;
}

.post .staff_name::before,
.post .staff_name::after {
  content: none;
}

.staff_name span.sub {
  color: var(--color-primary);
  font-weight: 500;
  font-size: min(calc(2.1rem + (1vw - 19.2px) * 0.3883), 2.1rem);
  text-align: left;
  letter-spacing: normal;
}

/* -- staff_messagehead -- */

.post .staff_messagehead {
  font-size: min(calc(2.4rem + (1vw - 19.2px) * 0.4531), 2.4rem);
  /* 2.4-1.7rem (1920-375) */
  font-weight: 600;
  letter-spacing: .1rem;
  padding: 0;
  margin: min(calc(70px + (1vw - 19.2px) * 2.2654), 70px) auto min(calc(20px + (1vw - 19.2px) * 0.6472), 35px);
  /* 70-35px auto 35-25px (1920-375) */
  border-bottom: none;
}

.post .staff_messagehead::before {
  content: none;
  position: relative;
  width: auto;
  height: auto;
  top: auto;
  left: auto;
}

/* ==========================
六ツ木診療所について
=========================== */
.post .lead {
  font-size: var(--rem20);
  /* 3.2-2.4rem (1920-375) */
  font-weight: bold;
}


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

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

/* ==========================
外来
=========================== */
.clinic {
  &.table-wrapper {
    overflow-x: auto;
    max-width: 100%;
  }

  table {
    border-collapse: collapse;
    min-width: 900px;
    width: 100%;

    th,
    td {
      border: 1px solid #BDBDBD;
      padding: 8px;
      text-align: center;
      vertical-align: middle;
      white-space: nowrap;
    }

    th {
      background-color: #B6B6B6;
      color: var(--color-background);
      width: initial;
    }

    /* 曜日列（3列目以降）を均等幅に設定 */
    th:nth-child(n+3),
    td:nth-child(n+3) {
      width: 100px;
    }

  }

  .gray-header {
    background-color: #989898;
    color: var(--color-background);
  }

  .time-slot {
    background-color: #6392D4;
    font-weight: bold;
    color: var(--color-background);
  }

  .orange {
    background-color: #E4B067;
    color: var(--color-background);
  }

  .light-orange {
    background: #FFF8EE;
  }

  .light-blue {
    background: #FAFDFF;
  }

  .slash {
    background: repeating-linear-gradient(45deg,
        #fff,
        #fff 4px,
        #ccc 4px,
        #ccc 8px);
  }
}

.note-clinic {
  color: var(--color-background);
  background: var(--color-primary);
  padding: var(--rem20);
}

/* ==========================
その他の設定
=========================== */
/* 蛍光ライン */
span.marker.yellow {
  background: linear-gradient(transparent 60%, #FEFFAC 60%);
  font-weight: 600;
}

/* Googleマップ */
.googlemap {
  max-width: 880px;
  width: 100%;
}

/* ==========================
外来
=========================== */
.time-card {

  li {
    display: flex;
    flex-direction: column;
  }

  .time-card-title {
    width: 100%;
    text-align: center;
    background: #989898;
    border: none;
    margin-bottom: 0;
    color: var(--color-background);

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

  .time-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-background);
    flex: 1;
    font-weight: bold;


    &.bg-orange {
      background: #FBAB3A;
    }

    &.bg-yellow {
      background: #FFD037;
    }

    &.bg-blue {
      background: #79A1FF;
    }
  }
}

.price-table-wrap {
  table th {
    background: #fff;
  }
}


/* ==========================
採用
=========================== */
.post .lead {
  font-size: var(--rem20);
  /* 3.2-2.4rem (1920-375) */
  font-weight: bold;
}

.post .lead_en {
  font-size: var(--rem20);
  /* -- 1920 1.8rem 375 1.3rem -- */
  color: var(--color-font);
  font-family: var(--font-family02);
  letter-spacing: 0.8rem;
}

span.marker.green {
  background: linear-gradient(transparent 60%, #EBF6D7 60%);
}

/*--contact_area-------------------------------------*/

.contact_area {
  padding: min(calc(80px + (1vw - 19.2px) * 2.5890), 80px);
  /*80px-40px (1920-375)x*/
  text-align: center;
  background: #EBF6D7;
  margin-top: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px);
}

.post .contact_ttl {
  font-size: min(calc(2.8rem + (1vw - 19.2px) * 0.4531), 2.8rem);
  /* 2.8-2.1rem (1920-375) */
  font-weight: 600;
  text-align: center;
  letter-spacing: .2rem;
  padding: 0;
  margin: min(calc(120px + (1vw - 19.2px) * 3.5599), 120px) auto min(calc(50px + (1vw - 19.2px) * 0.9709), 50px);
  /* 120-65px auto 50-35px (1920-375) */
}

.post .contact_ttl::before {
  content: none;
  position: relative;
  width: auto;
  height: auto;
  top: auto;
  left: auto;
}

.post .contact_ttl::after {
  content: '';
  position: relative;
  visibility: visible;
  display: block;
  width: 2.2em;
  height: 3px;
  background: var(--color-primary);
  margin: 0.6em auto 0;
}

.contact_read {
  margin: 0 0 min(calc(30px + (1vw - 19.2px) * 0.9709), 30px);
  /*30px-15px (1920-375)*/
  text-align: center;
}

.button_wrap,
.post .button_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.button_wrap>*,
.post .button_wrap>* {
  margin: 10px !important;
}

.contact_area .linkBtn,
.contact_area .post .linkBtn {
  padding: 0;
}

.contact_area .linkBtn a {
  color: var(--color-primary);
  padding: 0.8em 1.2em;
  display: block;

  &:hover {
    color: var(--color-background);
  }
}

#menu-item-327,
#menu-item-325,
#menu-item-324,
#menu-item-319 {

  b {
    color: var(--color-font) !important;
  }
}

.top-time-wrap {
  position: relative;
  z-index: 1;
}

.top-time {
  max-width: 910px;
  background: var(--color-background);
  box-shadow: -6px 6px 24px 0px rgba(0, 0, 0, 0.1);
  padding: var(--rem20) var(--rem40);
  position: absolute;
  right: 0;
  top: -130px;
  border-radius: var(--rem40) 0 0 var(--rem40);

  .clinic-schedule {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    /* ← 均等幅にするポイント */
    font-size: 14px;
    text-align: center;
  }

  .clinic-schedule th,
  .clinic-schedule td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: center;
  }

  /* ヘッダー */
  .clinic-schedule thead th {
    font-weight: bold;
    background: var(--color-background);
  }

  /* 行見出し（診察時間の列）は固定幅 */
  .clinic-schedule th[scope="row"] {
    text-align: left;
    background: var(--color-background);
    width: 120px;
    /* ここで1列目だけ固定幅 */
  }

  /* 曜日列は均等幅（残りを自動で割り振り） */
  .clinic-schedule thead th:not(:first-child),
  .clinic-schedule td {
    width: calc((100% - 120px) / 7);
  }

  /* 色分け */
  .clinic-schedule .doctor {
    color: #d85b7f;
    /* 赤 */
    font-weight: bold;
  }

  .clinic-schedule .sub {
    color: #2b6ed2;
    /* 青 */
    font-weight: bold;
  }

  .clinic-schedule .close {
    color: #999;
    /* グレー */
  }

  .note {
    margin-top: 8px;
    font-size: 13px;
  }

  .note .doctor {
    color: #d85b7f;
    font-weight: bold;
  }

  .note .sub {
    color: #2b6ed2;
    font-weight: bold;
  }
}

@media print,
screen and (max-width: 1025px) {
  .top-time {
    position: initial;
    border-radius: var(--rem40);
    margin: 0 auto;
  }

  .top-time-wrap {
    padding: var(--px120) 5% 0;
  }

  .top-news {
    padding: var(--px120) 0;
  }
}

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

  .top-group,
  .top-news {
    padding: var(--px120) 5%;
  }
}

/*--テーブル--------------------------------------------*/

.post table.table_style02,
.post table.table_style02 th,
.post table.table_style02 td {
  border-width: 0 0 1px 0;
  border-color: var(--color-table-border);
}

.post table.table_style02 {
  margin: min(calc(30px + (1vw - 19.2px) * 0.6472), 30px) auto;
  /* 30-20px (1920-375) */
}

.post table.table_style02 th,
.post table.table_style02 td {
  font-size: min(calc(1.6rem + (1vw - 19.2px) * 0.1294), 1.6rem);
  padding: min(calc(20px + (1vw - 19.2px) * 0.5580), 20px) min(calc(15px + (1vw - 19.2px) * 0.3236), 15px);
  /* 20-15px 15-10px (1920-375) */
}

.post table.table_style02 th {
  width: 25%;
  font-weight: 600;
}

.post table.table_style02:first-child {
  margin-top: 0;
}

.post table.table_style02:last-child {
  margin-bottom: 0;
}


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


/*-----------------------------
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 {
      grid-template-columns: 1fr;
    }
  }

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