@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=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Noto+Sans+JP:wght@100..900&display=swap');


:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #111;
  --color-primary: #0077CA;
  --color-primary-shade: ;
  --color-primary-tint: #E6F2FA;
  --color-secondary: #E7161A;
  --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: #272727;
  --header-color-primary: linear-gradient(-131deg, rgba(13, 76, 160, 1) 0%, rgba(46, 167, 224, 1) 100%);
  ;
  --header-secondary: #03458B;
  --header-color-primary-shade: ;
  --header-color-primary-tint: #E7161A;
  /*------▼フッター設定▼------*/
  --footer-background: #E6E6E6;
  --footer-color-font: #111111;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Lato", sans-serif;
  --font-family03: "Barlow", 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;

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

  &.widecolor--gray {
    background-color: #F0F0F0;
  }
}

@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%;
  }
}

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

.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-lh200 {
  line-height: 2;
}

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

  .u-sp-pb0 {
    padding-bottom: 0 !important;
  }

  .u-sp-mb0 {
    margin-bottom: 0 !important;
  }

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

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

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

    &::before {
      content: none;
    }

    &:hover {
      opacity: 0.8;
    }
  }

  a.head_btn .header_tel {
    &:before {
      content: '\f095';
      display: inline-block;
      font-family: 'FontAwesome';
      font-size: 1.4rem;
      font-weight: 400;
      line-height: 1;
      margin-bottom: .1em;
      margin-right: 5px;
    }
  }

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

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

    >span {
      &:before {
        content: '\f0e0';
        display: inline-block;
        font-family: 'FontAwesome';
        font-size: 1.4rem;
        font-weight: 400;
        line-height: 1;
        margin-bottom: .1em;
        margin-right: 5px;
      }
    }
  }

  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(--color-primary);
  }
}

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

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

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

  nav#mainNav ul li a {
    padding: var(--px20) var(--px12);

    b,
    span {
      font-weight: 500;
    }

    &:hover {
      opacity: 0.6;
    }
  }

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

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

  #header a.head_btn.instagram_btn {
    background: var(--header-secondary);
    color: #fff;
    padding: min(calc(10px + (1vw - 19.2px) * 0.2232), 10px) var(--rem40);

    &:hover {
      background: var(--header-secondary);
      color: #fff;
      opacity: 0.8;
    }
  }

}

/*  消さない　↓↓↓↓ */
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(--rem60);

    &.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
------------------------------*/
.num_list01 {
  counter-reset: number;
  /*数字をリセット*/
  list-style-type: none !important;
  /*数字を一旦消す*/
}

.num_list01 .imgarea {
  position: relative;
  margin-bottom: var(--px20);
}

.num_list01 .imgarea:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: "0" counter(number);
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-background);
  font-family: var(--font-family02);
  font-weight: 400;
  font-size: 30px;
  border-radius: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  line-height: 68px;
  text-align: center;
  top: -34px;
  transform: translateX(-50%);
}

.num_list01 .num_listttl {
  text-align: center;
  font-weight: bold;
  font-size: var(--rem24w);
  position: relative;
  color: var(--color-primary);
  line-height: 1.5;
  margin-bottom: var(--rem20);
}

/* -------------------------------------------
   Image Overlap
------------------------------------------- */

.post {
  .c-image-overlap {
    display: flex;
    flex-direction: column;
    margin: var(--px60) auto;
    width: 100%;

    .c-image-overlap__figure {
      /* Reset */
      margin: 0;
      padding: 0;
      border: none;
      background: none;
      overflow: hidden;

      img {
        /* Required img styles & Reset */
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
      }
    }

    .c-image-overlap__figure--back {
      width: 70%;
      aspect-ratio: 788 / 508;
      align-self: flex-start;
      position: relative;
      z-index: 1;
    }

    .c-image-overlap__figure--front {
      width: 60%;
      aspect-ratio: 567 / 350;
      align-self: flex-end;
      margin-top: -20%;
      /* ネガティブマージンで画像を重ねる */
      position: relative;
      z-index: 2;
    }
  }
}




/* -------------------------------------------
   Place
------------------------------------------- */

.post {
  .c-place {
    position: relative;
    overflow: hidden;

    h2,
    p {
      margin: 0;
      padding: 0;
      border: none;
      background: none;
      text-align: left;

      &::after {
        content: none;
      }
    }

    .c-place__figure {
      /* Reset */
      margin: 0;
      padding: 0;
      border: none;
      background: none;
      /* Trimming fram */
      aspect-ratio: 29 / 36;
      overflow: hidden;
      line-height: 0;

      img {
        /* Required img styles & Reset */
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        object-fit: cover;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: none !important;
        box-shadow: none !important;
      }
    }

    .c-place__body {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      background-color: rgba(0, 119, 202, 0.8);
      /* デザインに合わせた半透明の青 */
      color: #fff;
      padding: var(--px40) var(--px20);
      z-index: 1;
    }

    .c-place__title {
      font-weight: 600;
      line-height: 1.5;
      font-size: var(--rem20);
      color: var(--color-background);
    }

    .c-place__subtitle {
      font-family: var(--font-family02);
      letter-spacing: 0.05em;
    }
  }
}

@media screen and (max-width: 768px) {
  .post {
    .c-place {
      .c-place__figure {
        aspect-ratio: 1 / 1;
      }

      .c-place__body {
        position: static;
        background-color: rgb(0, 102, 164);
        /* SP時はベタ塗り */
        padding: var(--px30) var(--px20);
      }
    }
  }
}

.cardstyle01 {
  .cardstyle01__title {
    color: var(--color-primary);
    font-size: var(--rem18);
    margin-bottom: 10px;
    font-weight: bold;
  }
}

.card01_list.cardstyle03>li {
  padding: 16px;
  background: #fff;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, .2);

  .imgarea {
    margin-bottom: var(--rem20);
  }


  .cardstyle03__title {
    font-size: var(--rem18);
    text-align: center;
    margin-bottom: var(--px20);
    font-weight: bold;
  }
}

ul.box_style01>li {
  position: relative;
  gap: 40px;
  width: 100%;
  background: #fff;
  padding: min(calc(40px + (1vw - 19.2px) * 0.6472), 40px) min(calc(35px + (1vw - 19.2px) * 0.6472), 35px);
  border-radius: 20px;
  -webkit-box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  box-shadow: 0 0 30px rgba(0, 0, 0, .1);
  margin-bottom: 30px;
  text-align: left;
}

.post ul.box_style01 .box_style_ttl {
  width: 100%;
  font-size: min(calc(2.8rem + (1vw - 19.2px) * 0.4531), 2.8rem);
  /* 2.8-2.1rem (1920-375) */
  font-weight: 400;
  padding: 0.6rem 0 0.6rem 2rem;
  margin: 0 0 min(calc(15px + (1vw - 19.2px) * 0.4531), 15px);
  /*15-10px (1920-375) */
  border-bottom: none;
  border-left: 10px solid #BFDDF1;
  text-align: left;
  line-height: 1.4;
}

@media screen and (min-width: 769px) {
  ul.box_style01>li {
    display: flex;
  }
}



/*-----------------------------
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: transparent;
  font-weight: 600;
  padding: var(--rem20) 30px var(--rem20) 20px;
  margin: 0 auto 0;
  border: solid 2px var(--color-primary);
  border-radius: 0;
  transition: all .3s;
}

.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
  content: '\f138';
  position: absolute;
  font-size: var(--rem16);
  color: var(--color-secondary);
  font: var(--fa-font-solid);
  line-height: 1;
  top: 50%;
  right: 18px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: none;
  width: auto;
  height: auto;
  margin: 0;
  transition: 0.3s all;
}

.linkBtn--anchor::after {
  content: '\f13a' !important;
}

.post .linkBtn.linkBtn--mail {
  background: var(--header-color-primary);
  color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: space-around;
  border: none;

  &::before {
    content: '\f0e0';
    font-size: var(--rem16);
    color: var(--color-background);
    font: var(--fa-font-solid);
    line-height: 1;
    border: none;
    width: auto;
    height: auto;
    margin: 0;
    transition: 0.3s all;
  }

  &::after {
    content: none;
  }

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

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

.post .linkBtn:hover::after,
.linkBtn:hover::after,
a.linkBtn:hover::after {
  color: var(--color-secondary);
}

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

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

.post .anchor-link-title {
  text-align: center;
  border-bottom: 1px solid var(--color-primary);
  font-size: var(--rem30);
  margin: 0 auto var(--rem40);
}

/*-----------------------------
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 table.table_style04 th {
  background-color: transparent;
}

.post table.table_style04,
.post table.table_style04 th,
.post table.table_style04 td {
  border: none;
}

table.table_style04 tr:first-child {
  border-top: 1px solid #ababab;
}

table.table_style04 tr:last-child {
  border-bottom: 1px solid #ababab;
}

table.table_style04 tr {
  border-top: 1px dashed #ababab;
  letter-spacing: 1px;
}

table.table_style04 th,
table.table_style04 td {
  padding: 50px 30px;
}

table.table_style04 th {
  position: relative;
  color: var(--color-font);
  z-index: 0;
}

table.table_style04 th:before {
  position: absolute;
  content: "";
  background: rgb(247 247 247);
  top: 7px;
  left: 0;
  bottom: 7px;
  width: 100%;
  height: auto;
  z-index: -1;
}

table.table_style04 td ul li {
  padding-left: 1em;
  position: relative;
  line-height: 2;
}

table.table_style04 td ul li:before {
  position: absolute;
  content: "・";
  top: 0;
  left: 0;
}

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

  table.table_style04 th,
  table.table_style04 td {
    padding: 35px 10px;
    font-size: 1.4rem;
    vertical-align: middle;
  }

  table.table_style04 th {
    width: 32%;
  }

  table.table_style04 td {
    width: 68%;
  }
}

.contact_area {
  padding: min(calc(80px + (1vw - 19.2px) * 2.5890), 80px);
  /*80px-40px (1920-375)x*/
  text-align: center;
  background: var(--color-primary-tint);
  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;
}

.service-item {
  padding: var(--rem20) !important;
  margin-bottom: var(--rem20);
  background: var(--color-primary-tint);
  border-left: 3px solid var(--color-primary);

  .service-item__main {
    font-weight: bold;
    font-size: var(--rem30);
  }

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

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

.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);
  border: none;
  background: transparent;
  text-align: left;
  position: relative;


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

  &:after {
    content: '';
    position: relative;
    visibility: visible;
    display: block;
    width: var(--px80);
    height: 3px;
    margin: var(--rem20) 0 0 0.5rem;
    background: var(--color-secondary);
  }

  .main-title__en {
    display: block;
    font-size: var(--rem28);
    font-family: var(--font-family03);
    color: var(--color-primary);
    line-height: 1.2;
  }

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

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

    &::after {
      margin: var(--rem20) auto 0;
    }
  }
}

.column06 {
  position: relative;
  margin: 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: 50%;
}

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

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

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

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

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

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

.fullwide03 {
  position: relative;
  background: transparent;
}

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

.fullwide03_wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fullwide03_inner {
  max-width: 1240px;
}


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

      li {
        .txtarea {
          margin-bottom: var(--rem40);
        }
      }
    }
  }

  .fullwide03:before {
    height: 10%;
  }

  .l-instagram,
  .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 */
.post h2,
h2 {
  &::after {
    background-color: var(--color-secondary);
  }
}


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

}

.page-lead {
  text-align: center;
  font-size: var(--rem40);
  font-weight: bold;
}

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

/* 事業内容 */
/* -------------------------------------------
   Step Grid (Process Flow)
   ------------------------------------------- */

.post {
  .c-step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--px30);
    margin: var(--px40) 0;
    overflow: hidden;
    padding: 10px 0;
    /* 矢印の見切れ防止 */

    .c-step-grid__item {
      position: relative;

      p {
        font-size: var(--rem18);
        margin-bottom: 10px;
        font-weight: bold;
      }
    }

    .c-step-grid__figure {
      margin: 0 !important;
      padding: 0 !important;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border: none !important;
      background: none !important;

      img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        display: block;
      }
    }

    /* 右矢印 */
    .c-step-grid__item--arrow-right {
      &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: calc(var(--px30) * -0.5);
        transform: translate(50%, -50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 14px 0 14px 18px;
        border-color: transparent transparent transparent #d00000;
        z-index: 2;
      }
    }

    /* 左矢印（折り返し表現用） */
    .c-step-grid__item--arrow-left {
      &::before {
        content: "";
        position: absolute;
        top: 50%;
        left: calc(var(--px30) * -0.5);
        transform: translate(-50%, -50%);
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 14px 0 14px 18px;
        border-color: transparent transparent transparent #d00000;
        z-index: 2;
      }
    }

    /* 画像2枚のグループ（Step 5） */
    .c-step-grid__group {
      grid-column: span 2;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: var(--px30);
      align-items: end;
    }
  }
}

@media screen and (max-width: 768px) {
  .post {
    .c-step-grid {
      grid-template-columns: 1fr;
      gap: var(--px40);
      overflow: visible;

      /* SP時は右矢印を下向き矢印に変更 */
      .c-step-grid__item--arrow-right {
        &::after {
          top: auto;
          bottom: calc(var(--px40) * -0.5);
          right: 50%;
          transform: translate(50%, 50%) rotate(90deg);
          border-width: 12px 0 12px 16px;
        }
      }

      /* SP時は縦1列なので左矢印は不要 */
      .c-step-grid__item--arrow-left {
        &::before {
          display: none;
        }
      }

      .c-step-grid__group {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: var(--px40);
      }
    }
  }
}

/* -------------------------------------------
   Step Gallery (Process Flow - 3, 2, 1 images)
   ------------------------------------------- */

.post {
  .c-step-gallery {
    display: grid;
    /* 全体を3列のグリッドとして定義 */
    grid-template-columns: repeat(3, 1fr);
    gap: var(--px30);
    margin: var(--px50) 0;
    /* 右端の折り返し矢印が見切れないようにパディングを確保 */
    padding: 10px 20px 10px 0;

    p {
      margin: 0 0 10px 0;
      font-weight: 600;
      font-size: var(--body-font-size);
      color: var(--color-font);
      line-height: 1.4;
    }

    .c-step-gallery__group {
      display: grid;
      gap: var(--px30);
      position: relative;
    }

    /* 各グループの占有カラム数 */
    .c-step-gallery__group--span3 {
      grid-column: span 3;
      grid-template-columns: repeat(3, 1fr);
    }

    .c-step-gallery__group--span2 {
      grid-column: span 2;
      grid-template-columns: repeat(2, 1fr);
    }

    .c-step-gallery__group--span1 {
      grid-column: span 1;
      grid-template-columns: repeat(1, 1fr);
    }

    /* グループ間の矢印 */
    .c-step-gallery__group--arrow-right::after {
      content: "";
      position: absolute;
      /* テキストの高さを考慮して画像の中央付近に配置 */
      top: 55%;
      /* デフォルトはグループ間のギャップ(30px)の中央に配置 */
      right: calc(var(--px30) * -0.5 - 9px);
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 14px 0 14px 18px;
      border-color: transparent transparent transparent #d00000;
      z-index: 2;
    }

    /* 3列をフルで使う上段（右端）の折り返し矢印の微調整 */
    .c-step-gallery__group--edge::after {
      right: -20px;
    }

    .c-step-gallery__item {
      position: relative;
      display: flex;
      flex-direction: column;
    }

    .c-step-gallery__figure {
      /* 親テーマのリセット */
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      background: none !important;
      aspect-ratio: 4 / 3;
      overflow: hidden;
    }

    /* テキストがない列の画像位置を下揃え（テキスト分余白）にする */
    .c-step-gallery__figure--mt {
      margin-top: auto !important;
    }

    .c-step-gallery__figure img {
      /* 親テーマのリセットと必須スタイル */
      width: 100% !important;
      height: 100% !important;
      max-width: none !important;
      max-height: none !important;
      object-fit: cover;
      margin: 0 !important;
      padding: 0 !important;
      border: none !important;
      display: block;
    }
  }
}

/* SP用スタイル */
@media screen and (max-width: 768px) {
  .post {
    .c-step-gallery {
      grid-template-columns: 1fr;
      gap: var(--px60);
      /* 矢印配置用に上下の余白を広げる */
      padding-right: 0;

      .c-step-gallery__group {
        grid-column: span 1;
        grid-template-columns: 1fr;
        gap: var(--px20);
      }

      /* SP時は縦積みのため画像位置揃えのマージンを解除 */
      .c-step-gallery__figure--mt {
        margin-top: 0 !important;
      }

      /* SP時は矢印を下向きに変更し、要素の下端中央へ配置 */
      .c-step-gallery__group--arrow-right::after {
        top: auto;
        bottom: -35px;
        right: 50%;
        transform: translateX(50%) rotate(90deg);
        border-width: 12px 0 12px 16px;
      }

      /* SP時は右端用の微調整をリセット */
      .c-step-gallery__group--edge::after {
        right: 50%;
      }
    }
  }
}

.about-pc {
  padding: var(--rem40);
  background: #F0F0F0;

  .about-pc__title {
    font-size: var(--rem28);
    font-weight: bold;
    text-align: center;
    margin-bottom: var(--rem20);
  }
}

/* 会社情報 */
.company-policy {
  padding: var(--rem60) var(--rem20);
  background: var(--color-primary-tint);
  display: flex;
  justify-content: center;
  align-items: center;

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

  ol {
    font-size: var(--rem20);
    font-weight: 600;
  }
}

/* 採用情報 */
.post .lead {
  font-size: var(--rem30);
  /* 3.2-2.4rem (1920-375) */
  font-weight: 500;
}

.marker.blue {
  background: linear-gradient(transparent 60%, #BFDDF1 60%);
}

.post .lead_en {
  font-size: min(calc(1.8rem + (1vw - 19.2px) * 0.3236), 1.8rem);
  /* -- 1920 1.8rem 375 1.3rem -- */
  letter-spacing: 0.8rem;
}

.benefit-list {
  background: #FAFAFA;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--rem40);
}

/*-----------------------------
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;
  background: var(--color-background);
  padding: var(--px80) var(--px40);
}

.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 920px;
  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;
  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 a.mailbtn {
    padding: var(--rem48) 0 !important;
  }
}

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

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

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

.cta01 a.telbtn {
  background: var(--color-secondary);
  color: var(--color-background);
}

/*メールボタン*/

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



/*-----------------------------
footer
------------------------------*/
.socialicon {
  display: flex;
  justify-content: center;
}

#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(--px200);
  }

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


/*-----------------------------
news
------------------------------*/
.post .time,
.postlist .time,
.post2b .time,
.post4b .time {
  background: var(--color-secondary);
}

.post .time a,
.post2b .time a,
.post4b .time a,
.postlist .time a {
  color: var(--color-font);
}

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

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

  a#scrollUp {
    bottom: 70px;
  }
}