@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=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Noto+Sans+JP:wght@100..900&display=swap');

:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #111;
  --color-primary: #132A88;
  --color-primary-shade: ;
  --color-primary-tint: #F29903;
  --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: #444;
  --header-color-primary: #132A88;
  --header-secondary: ;
  --header-color-primary-shade: ;
  --header-color-primary-tint: #F29903;
  /*------▼フッター設定▼------*/
  --footer-background: #fff;
  --footer-color-font: #111;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Josefin Sans", sans-serif;
  --font-family03: ;
  --font-family04: ;
}

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

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

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

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

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

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

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

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

@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
----------------------------------------------*/
/* 文字色 */
.u-fc--white {
  color: var(--color-background);
}

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

@media(max-width: 780px) {
  .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: #fff;
    background-color: var(--color-primary);

    &::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 a {
    padding: var(--px20) var(--px12);

    &:hover {
      opacity: 0.6;
    }
  }

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

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

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

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

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

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

    &.c-list--col2,
    &.c-list--col3,
    &.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(--rem20);

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

/*-----------------------------
card
------------------------------*/
.c-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background);

  .c-card__image {
    aspect-ratio: 400 / 284;
    overflow: hidden;

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

  .c-card__txt {
    background: var(--color-background);
    padding: var(--rem30) var(--rem20);

    .cardttl {
      border: none;
      margin: 0 0 var(--rem30);
      font-size: var(--rem24);
      padding: 0;
      color: var(--color-primary);
      font-weight: bold;
      text-align: center;
    }
  }
}

/*-----------------------------
btn
------------------------------*/
.linkBtn,
.post .linkBtn {
  width: 300px;
  max-width: initial;
  color: #fff;
  background: var(--color-primary-tint);
}

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

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

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

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

/*-----------------------------
TOP
------------------------------*/
/* title */
.post .main-title,
.main-title {
  text-align: left;
  line-height: 1.2;

  &::before {
    content: none;
  }

  &::after {
    content: '';
    position: relative;
    visibility: visible;
    display: block;
    width: var(--px160);
    height: 3px;
    margin: var(--rem14) 0 0;
    background: var(--color-primary-tint);
  }


  .main-title__en {
    font-family: var(--font-family02);
    color: var(--color-primary);
    font-size: var(--rem72);
  }

  .main-title__ja {
    display: block;
    font-family: var(--font-family01);
    font-size: var(--rem24);
  }

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

    .main-title__ja {
      color: var(--color-background);
    }
  }

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

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

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

  .column05 {
    position: relative;
  }

  .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: 1152 / 620;
    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 -70px -5%;
    z-index: 10;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
  }

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

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

    /*左右反転*/
    .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% -70px auto;
    }
  }
}

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

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


/* l-service */
.l-service {

  .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-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #ffffff;
    padding: min(calc(120px + (1vw - 19.2px) * 3.5599), 120px);
    /* 120-65px (1920-375) */

    .teleco-title {
      border: none;
      padding: 0;
      margin: 0 0 var(--rem40);
      font-size: var(--rem36);
      text-align: left;
    }

    .teleco-read {
      font-weight: bold;
      font-size: var(--rem20);
      margin-bottom: var(--rem20);
    }
  }

  .flexinnerBtn {
    align-self: normal;
  }
}

@media print,
screen and (min-width: 769px) {
  .l-service {
    .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%;
    }
  }
}

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

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

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

/*-----------------------------
下層
------------------------------*/
/* title */
.post .page-title,
.page-title {
  text-align: left;
  line-height: 1.2;

  &::before {
    content: none;
  }

  &::after {
    content: '';
    position: relative;
    visibility: visible;
    display: block;
    width: var(--px80);
    height: 3px;
    margin: var(--rem14) 0 0;
    background: var(--color-primary-tint);
  }


  .page-title__en {
    font-family: var(--font-family02);
    color: var(--color-primary);
    font-size: var(--rem36);
  }

  .page-title__ja {
    display: block;
    font-family: var(--font-family01);
    font-size: var(--rem20);
  }

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

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

body:not(.home) {
  h3 {
    text-align: center;
    font-size: var(--rem30w);
  }
}


/* 事業内容 */
.post .p-service {
  .link_btn {
    position: relative;
    display: inline-block;
    color: #fff;
    background: var(--color-primary-tint);
    width: 100%;
    font-size: var(--rem16);
    font-weight: 500;
    letter-spacing: .1rem;
    line-height: 1.6;
    text-align: center;
    padding: 14px var(--px40) 12px;
    border-radius: 0;
    -webkit-transition: .3s;
    transition: .3s;
  }

  .link_btn::after {
    content: '\f078';
    position: absolute;
    font-size: .85em;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    top: 50%;
    right: var(--rem16);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }

  .link_btn:hover {
    opacity: 0.8;
  }

  /*---ボタンリストレイアウト---*/

  ul.linkbtn_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: center;
    margin: var(--px40) auto;
    gap: 1%;
  }

  ul.linkbtn_list>li {
    width: auto;
    margin-bottom: var(--px20);
    text-align: center;
  }

  ul.linkbtn_list>li a.link_btn {
    width: auto;
    min-width: 300px;
    height: 100%;
    max-width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

@media print,
screen and (max-width: 640px) {
  .post .p-service {
    .post ul.linkbtn_list>li {
      width: 100%;
    }

    .post ul.linkbtn_list>li a.link_btn {
      max-width: none;
      width: 100%;
      min-width: auto;
    }
  }
}

.p-service {

  .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-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: #ffffff;
    padding: min(calc(80px + (1vw - 19.2px) * 3.5599), 80px);
    /* 120-65px (1920-375) */

    .teleco-title02 {
      padding: 0;
      font-size: var(--rem20);

      &::before {
        content: none;
      }

      &:after {
        content: "";
        position: relative;
        visibility: visible;
        display: block;
        width: 4em;
        height: 2px;
        background: var(--color-primary);
        margin: var(--rem14) auto 0;
      }
    }
  }

  .flexinnerBtn {
    align-self: normal;
  }
}

@media print,
screen and (min-width: 769px) {
  .p-service {
    .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%;
    }
  }
}

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

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

/*-----------------------------
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: 100%;
  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;
  margin: var(--px50) auto 0 auto;
}

.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(--px30);
  text-align: center;
  box-sizing: border-box;
  color: #111;
  border-radius: 0;
  transition: all ease .15s;
}

.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 .infotxt {
  font-size: var(--rem16);
  font-weight: 400;
}

.cta02 .btnttl {
  display: block;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.4;
  font-size: var(--rem20);
}


/*電話ボタン*/

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

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

/*メールボタン*/

.cta02 .mailarea.item {
  background: #fff;
}

.cta02 a.mailbtn {
  background: var(--color-primary-tint);
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 400px;
  width: 90%;
  border-radius: 50vh;
  padding: 20px;
  margin: 0 0 1rem 0;
}

/*ボタンアイコン*/

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

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

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

/*----------------------------------------------
  footer
----------------------------------------------*/
#footer .footer__logo img {
  max-height: var(--px100);
}


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