@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=Nothing+You+Could+Do&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap');

:root {
  /*------▼基本設定▼------*/
  --color-background: #fff;
  --color-font: #252524;
  --color-primary: #0E5B9F;
  --color-primary-shade: ;
  --color-primary-tint: #AAA;
  --color-secondary: #103A67;
  --color-secondary-tint: #E36C54;
  --color-table-border: #CCCCCC;
  --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: #333;
  --header-color-primary: #0E5B9F;
  --color-secondary: #103A67;
  --header-color-primary-shade: ;
  --header-color-primary-tint: #103A67;
  /*------▼フッター設定▼------*/
  --footer-background: #0E5B9F;
  --footer-color-font: #fff;
  --footer-color-primary: ;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", serif;
  --font-family02: "Nothing You Could Do", serif;
  --font-family03: "Noto Serif JP", 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;
}

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

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

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

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

.widecolor01 {
  margin-right: calc(((100vw - 100%) / 2) * -1);
  margin-left: calc(((100vw - 100%) / 2) * -1);
  padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) calc((100vw - 100%) / 2) min(calc(150px + (1vw - 19.2px) * 3.2362), 150px);
  /* 120-80px (1920-375) */
  background-color: rgba(0, 0, 0, 0.05);
}

@media print,
screen and (max-width: 768px) {
  .widecolor {
    padding: min(calc(120px + (1vw - 19.2px) * 2.5890), 120px) 10% min(calc(150px + (1vw - 19.2px) * 3.2362), 150px) 10%;
    /* 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);
}

#content,
body:not(.home) #content.wide {

  margin: 0 auto;
}

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

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

  .content_inner {
    width: 100%;
  }
}

/* ==============================
utility
============================== */
.max_w690 {
  max-width: 690px;
}

.max_w840 {
  max-width: 840px;
}

/* ==============================
title
============================== */
h1,
h2,
h3,
h4,
h5 {

  /*---------txtstyle02-----------*/
  &.txtstyle02 {
    font-family: var(--font-family02);
    font-size: var(--rem48);
    font-weight: 600;
    text-align: center;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0;
    margin: var(--rem42) auto var(--rem30);
    border: none;
    background: transparent;

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

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

  /*---------txtstyle03-----------*/

  &.txtstyle03 {
    font-family: var(--font-family03);
    font-size: var(--rem48);
    font-weight: 600;
    text-align: left;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0;
    margin: var(--rem42) auto var(--rem30);
    border: none;
    background: transparent;

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

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

    &.txtstyle03--white {
      color: #fff;

      & .subtxt {
        color: #fff;
      }
    }
  }

  /*---------txtstyle10-----------*/

  &.txtstyle10 {
    font-family: var(--font-family03);
    font-size: var(--rem48);
    font-weight: 600;
    text-align: center;
    color: var(--color-font);
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0 0 var(--rem20);
    margin: var(--rem42) auto var(--rem60);
    border: none;
    background: transparent;
    position: relative;

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

    &::before {
      content: none;
    }

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

  /*---------txtstyle12-----------*/

  &.txtstyle12 {
    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 0 20px;
    margin: var(--rem42) auto var(--rem30);
    border: none;
    background: transparent;
    position: relative;

    &:before {
      content: none;
    }

    &:after {
      content: "";
      display: block;
      width: var(--rem120);
      height: 3px;
      background: var(--color-primary);
      position: absolute;
      left: 0;
      bottom: 0;
    }

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

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

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

      & .subtxt {
        color: var(--color-background);
      }
    }
  }

}

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

  h1,
  h2,
  h3,
  h4,
  h5 {}
}

/* ==============================
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: 414px) {
  .post .col2_list>li {
    width: 100%;
  }

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

/* ==============================
column
============================== */
/*---------column_02-----------*/
.sec01 {
  background: var(--color-secondary);
}

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

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

.column02:before {
  content: "";
  background: var(--color-primary);
  width: 80%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}

.column02_wrap {
  position: relative;
  z-index: 1;
}

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

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

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

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

/* rev */
.column02.rev:before {
  content: "";
  background: var(--color-primary);
  width: 80%;
  height: 100%;
  position: absolute;
  bottom: inherit;
  right: inherit;
  top: 0;
  left: 0;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .column02.rev .flexbox {
    flex-direction: row-reverse;
  }
}

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

.column05 {
  position: relative;
  margin: var(--px60) 0 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% -70px 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;
  }
}

/* ==============================
header
============================== */
#header {

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

    &::before {
      content: none;
    }

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

  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 span,
  nav#mainNav ul li.current-menu-item a span {
    color: var(--color-primary);
  }
}

/* ==============================
btn
============================== */
.linkBtn,
.post .linkBtn {
  width: 240px;
  border-radius: 0;
  font-weight: bold;

  &:hover {
    opacity: 0.6;
  }

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

    &::after {
      border-right: 1px solid var(--color-primary);
      border-bottom: 1px solid var(--color-primary);
    }
  }
}

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

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

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

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

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

/* ==============================
footer
============================== */
/* ==============================
CTA
============================== */
/*---------cta01_col2-----------*/
.cta01 {
  background: #f5f5f5;
  position: relative;
  z-index: 0;
  padding: var(--rem120) 0;

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

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

.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 880px;
  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 .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-primary);
  color: #fff;
}

/*メールボタン*/

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

.cta01 a.mailbtn {
  background: var(--color-secondary);
  color: #fff;
}

/*ボタンアイコン*/

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

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

/* ==============================
TOP
============================== */
/*---------ごあいさつ-----------*/
.top-greeting {
  background: url(/wp-content/uploads/top_greeting01.jpg) no-repeat center center / cover;
}

@media print,
screen and (max-width: 768px) {
  .top-greeting {
    padding-left: 5%;
    padding-right: 5%;
    background: url(/wp-content/uploads/top_greeting_sp-01.jpg) no-repeat center center / cover;
  }
}

/*---------会社概要-----------*/
.top-company {
  color: #fff;
}

/*---------採用情報-----------*/
.top-recruit {
  background: url(/wp-content/uploads/top_recruit-bg.jpg) no-repeat center center / cover;
}

/*---------事業内容-----------*/
.top-service {
  background: url(/wp-content/uploads/top_service-bg.jpg) no-repeat center center / cover;

  .top-service_list-item {
    padding: var(--rem80) var(--rem60);

    p {
      color: var(--color-background);
    }

    &.top-service_list-item--01 {
      background: url(/wp-content/uploads/top_service-bg01.jpg) no-repeat center center / cover;
    }

    &.top-service_list-item--02 {
      background: url(/wp-content/uploads/top_service-bg02.jpg) no-repeat center center / cover;
    }
  }
}

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

/*---------お知らせ-----------*/
.top-news {
  background-color: #F5F5F5;
}

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

/* ==============================
お問い合わせ
============================== */
.wpcf7-form {

  .linkBtn,
  .post .linkBtn {
    padding: initial;
  }
}

/* ==============================
採用情報
============================== */

.post .lead {
  font-size: var(--rem30);
  /* 3.2-2.4rem (1920-375) */
  font-weight: 500;
  line-height: 1.5;
}

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