@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=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Zen+Kaku+Gothic+New&display=swap');

:root {
  /*------▼基本設定▼------*/
  --color-background: #D5D5D5;
  --color-font: #000;
  --color-primary: #333333;
  --color-primary-shade: ;
  --color-primary-tint: ;
  --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: "Zen Kaku Gothic New", serif;
  --content-max-width: 1240px;
  /*------▼ヘッダー設定▼------*/
  --header-background: #D5D5D5;
  --header-color-font: #444;
  --header-color-primary: #000;
  --header-color-primary-shade: ;
  --header-color-primary-tint: #444;
  /*------▼フッター設定▼------*/
  --footer-background: #D5D5D5;
  --footer-color-font: #000;
  --footer-color-primary: #000;
  /*------▼フォント設定▼------*/
  --font-family01: "Noto Sans JP", sans-serif;
  --font-family02: "Roboto", serif;
}

/*--メディアクエリ--------------------------------------------*/
@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;
}

/*--幅フル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: #EBF2FC;
}

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

#content,
body:not(.home) #content.wide {
  padding-bottom: 0;
}

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

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

  .content_inner {
    width: 100%;
  }

  .top-service_inner {
    width: 94%;
  }
}

@media print,
screen and (max-width: 450px) {
  .top-service_inner {
    width: 100%;
  }
}

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

/* =====================================
column
===================================== */
/* --------column_02-------- */
.sec01 {
  background: #f1f1f1;
}

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

.column02 {
  position: relative;
  padding: var(--px120) 0;
  margin-right: calc(((100vw - 100%) / 2)* -1);
  margin-left: calc(((100vw - 100%) / 2)* -1);
}

.column02:before {
  content: "";
  background: #aaa;
  width: 80%;
  height: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}

.column02_wrap {
  position: relative;
  width: 100%;
  margin: 0 auto;
  z-index: 1;
}

.column02 .txtarea {
  background: #fff;
  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;
}

.column02.rev:before {
  content: "";
  background: #4D4D4D;
  width: 80%;
  height: 100%;
  position: absolute;
  bottom: inherit;
  right: inherit;
  top: 0;
  left: 0;
  z-index: 0;
}

@media screen and (max-width: 768px) {
  .column02 {
    padding: var(--px80) 0;
  }

  .column02.rev .flexbox {
    flex-direction: row-reverse;
  }

  .column02.rev:before {
    width: 100%;
    height: calc((214 / 375) * 100vw);
  }

  .column02 .imgarea img {
    width: 85%;
    height: auto;
  }

  .column02 .txtarea {
    width: 85%;
    margin: -30px 0 0 auto;
    position: sticky;
  }
}

.post .txtstyle02,
.txtstyle02 {
  font-family: var(--font-family02);
  font-size: var(--rem36);
  font-weight: 600;
  text-align: left;
  margin: var(--rem36) auto;
  background: transparent;
  color: #111;
  line-height: 1.4;
  padding: 0;
}

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

.post .column02 .txtstyle02,
.column02 .txtstyle02 {
  font-size: var(--rem20);
  margin: var(--rem20) 0;
}

.post .txtstyle04,
.txtstyle04 {
  font-family: var(--font-family02);
  font-size: var(--rem36);
  font-weight: 600;
  text-align: left;
  margin: var(--rem36) auto;
  background: transparent;
  border: none;
  color: #111;
  line-height: 1.4;
  padding: 0;
}

.post .txtstyle04:before,
.txtstyle04:before {
  content: none;
}

.post .column02 .txtstyle04,
.column02 .txtstyle04 {
  font-size: var(--rem36);
}

.post .column02 .txtstyle04:after,
.column02 .txtstyle04:after {
  content: '';
  position: relative;
  visibility: visible;
  display: block;
  width: var(--px80);
  height: 3px;
  background: #111;
  margin: var(--rem30) 0 0 0.5rem;
}


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

.column01_wrap {
  position: relative;
  max-width: 1600px;
  width: 94%;
  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 screen and (max-width: 768px) {
  .column01 .txtarea .txtinner {
    max-width: 100%;
  }

  .column01 .txtarea {
    padding: var(--px40) 0;
  }
}

/*---------txtstyle-----------*/

.post .txtstyle02,
.txtstyle02 {
  font-family: var(--font-family02);
  font-size: var(--rem36);
  font-weight: 600;
  text-align: left;
  margin: var(--rem36) auto;
  background: transparent;
  color: #111;
  line-height: 1.4;
  padding: 0;
}

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

.post .column01 .txtstyle02,
.column01 .txtstyle02 {
  font-size: var(--rem20);
  margin: var(--rem20) 0;
}

.post .txtstyle04,
.txtstyle04 {
  font-family: var(--font-family02);
  font-size: var(--rem36);
  font-weight: 600;
  text-align: left;
  margin: var(--rem36) auto;
  background: transparent;
  border: none;
  color: #111;
  line-height: 1.4;
  padding: 0;
}

.post .txtstyle04:before,
.txtstyle04:before {
  content: none;
}

.post .column01 .txtstyle04,
.column01 .txtstyle04 {
  font-size: var(--rem36);
}

.post .column01 .txtstyle04:after,
.column01 .txtstyle04:after {
  content: '';
  position: relative;
  visibility: visible;
  display: block;
  width: var(--px80);
  height: 3px;
  background: #111;
  margin: var(--rem30) 0 0 0.5rem;
}

/* =====================================
table
===================================== */
.post table.table_style02,
.post table.table_style02 th,
.post table.table_style02 td {
  border-width: 1px 0;
  border-color: var(--color-table-border);
  border-style: 1px dashed #636363;
}

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


/* =====================================
title
===================================== */
.post h2,
.post h3,
.post h4,
.post h5,
h2,
h3,
h4,
h5 {

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

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

  &.txtstyle02 {
    font-family: var(--font-family01);
    font-size: var(--rem36);
    font-weight: 600;
    text-align: center;
    color: #111;
    line-height: 1.4;
    overflow-wrap: break-word;
    padding: 0;
    margin: var(--rem42) auto var(--rem60);
    border: none;
    background: transparent;

    &:before {
      content: none;
    }

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

  &.txtstyle11 {
    font-family: var(--font-family02);
    font-size: var(--rem120);
    color: #6A6A6A;
    font-weight: 500;
    position: relative;

    span {
      position: absolute;
      right: 6%;
    }

    &:after {
      content: none;
    }
  }

  &.txtstyle12 {
    font-family: var(--font-family02);
    font-size: var(--rem120);
    color: #6A6A6A;
    font-weight: 500;
    position: relative;

    span {
      position: absolute;
      right: 6%;
    }

    &:after {
      content: none;
    }
  }

  &.txtstyle13 {
    font-family: var(--font-family02);
    font-size: var(--rem120);
    color: #6A6A6A;
    font-weight: 500;
    position: relative;
    text-align: left;

    span {
      position: absolute;
      right: 6%;
    }

    &:after {
      content: none;
    }
  }

  &.txtstyle14 {
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 0;
    margin-bottom: 10px;
  }

  &.txtstyle15 {
    color: #fff;
    background: linear-gradient(to right, #656464 45%, #D5D5D5);
    border: none;
    padding: 0.6em;
    line-height: 1;
  }

  &.txtstyle16 {
    font-size: var(--rem24w);
    font-family: var(--font-family01);
    font-weight: 600;
    border: none;
    position: relative;
    padding: 0 0 0 1.2em;

    &::before {
      content: '';
      position: absolute;
      width: .7em;
      height: 2px;
      background: var(--color-primary);
      top: .8em;
      left: 0;
    }
  }

  &.txtstyle17 {
    padding-left: 0;

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

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

  .post h2,
  .post h3,
  .post h4,
  .post h5,
  h2,
  h3,
  h4,
  h5 {
    &.txtstyle11 {

      span {
        right: 0;
      }
    }

    &.txtstyle13 {
      line-height: 1;
      margin-bottom: 0;
      text-align: center;
    }

    &.txtstyle14 {
      text-align: left;
    }
  }
}

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

  .post h2,
  .post h3,
  .post h4,
  .post h5,
  h2,
  h3,
  h4,
  h5 {
    &.txtstyle11 {
      font-size: var(--rem60);

      span {
        right: 0;
      }
    }

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

  }
}


/* =====================================
btn
===================================== */
/* --------linkBtn-------- */
.linkBtn,
.post .linkBtn,
a.linkBtn,
.post .subimitarea .linkBtn 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: var(--px40) auto 0;
  border-bottom: solid 2px;
  border-radius: 0;
  transition: all .3s;
}

.post .linkBtn::after,
.linkBtn::after,
a.linkBtn::after {
  border-color: #111;
}

.post .linkBtn:hover,
.linkBtn:hover,
a.linkBtn:hover,
.post .subimitarea .linkBtn input[type="submit"]:hover {
  color: var(--color-font);
  opacity: 0.5;
}

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

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

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

/* =====================================
header
===================================== */
#header {
  & .logo {
    visibility: hidden;
  }

  a.head_btn {
    color: var(--header-color-font);
    flex-direction: row;
    gap: 10px;

    span {
      font-size: var(--rem24);
      margin-top: -0.3em;
    }

    &::before {
      margin-bottom: -0.1em;
    }

    &.mail_btn {
      color: #fff;
      border-radius: 50em;
      width: 180px;
      height: 60px;
    }
  }

  .header_mail-list {
    display: flex;
    align-items: center;
  }
}

#header a.head_btn.tel_btn:hover {
  background: #fff;
}

@media print,
screen and (max-width: 768px) {
  #header {
    & .logo {
      visibility: initial;
    }
  }

  body.mobile #header .logo .mark {
    visibility: hidden;
  }
}

/* =====================================
footer
===================================== */

/*---------cta01_col2-----------*/
.cta01 {
  background: linear-gradient(transparent, #757575);
  position: relative;
  z-index: 0;
}

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

.cta01 .ctabtnlist {
  justify-content: space-between;
  max-width: 640px;
  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.item {
    padding: var(--px50) 0;
  }
}

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

.cta01 .btnttl {
  display: block;
  font-weight: bold;
}

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

/*電話ボタン*/

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

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

.cta01 a.telbtn {
  background: #333;
  color: #fff;
}

/*メールボタン*/

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

.cta01 a.mailbtn {
  background: #fff;
  color: #111;
}

/*ボタンアイコン*/

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

@media print,
screen and (max-width: 750px) {
  .cta01 .telnum {
    font-size: var(--rem30);
  }

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

}

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

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

.cta01 .cta01_wrap {
  padding: 13rem var(--px80) 9rem;
}

/* =====================================
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: 48%;
  margin-bottom: 6%;
}

@media print,
screen and (max-width: 414px) {
  .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;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  flex-wrap: wrap;
}

.post .col3_list>li {
  width: 32%;
  margin-bottom: 2%;
}

.post .col3_list::before {
  content: "";
  display: block;
  width: 32%;
  height: 0;
  order: 1;
}

.post .col3_list:after {
  content: "";
  display: block;
  width: 32%;
  height: 0;
}

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

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

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

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

/* =====================================
TOP
===================================== */
/* --------common-------- */
@media print,
screen and (max-width: 768px) {
  .front_contents {
    padding: var(--px120) 0 0;
  }
}

/* --------mv-------- */
#mainImg img {
  width: 100% !important;
  height: auto;
}

/* --------top-greeting-------- */
.top-greeting {
  .top-greeting_column02-wrap {
    padding-top: var(--rem120);
  }
}

/* --------top-service-------- */
.top-service {
  position: relative;
  padding: calc(12rem + (1vw - 1.92rem) * 2.5890) 0 calc(65rem + (1vw - 1.92rem) * 24.5955);

  &::before {
    content: "";
    display: block;
    width: 100%;
    height: calc((511 / 1920)* 100vw);
    background: url(/wp-content/uploads/service-logo.png) no-repeat right / contain;
    position: absolute;
    top: 2%;
    right: 3%;
  }

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: calc((524 / 1920)* 100vw);
    background: url(/wp-content/uploads/service-pic.jpg) no-repeat left / contain;
    position: absolute;
    bottom: 0;
    left: 3%;
  }
}

.top-service_inner {
  position: relative;

  .top-service_title-wrap {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
  }

  .top-service_textarea {
    display: inline-block;
    position: absolute;
    left: 0;
    bottom: 15%;
  }
}

.top-service_list-left {
  max-width: 840px;

  li {
    position: relative;
  }

  li a {
    display: inline-block;
    width: 100%;
    position: relative;
    color: #fff;
    vertical-align: middle;

    &.top-service01 {
      &::before {
        content: "";
        display: block;
        padding-top: calc((454 / 1920)* 100vw);
        background: url(/wp-content/uploads/service01-off.png) no-repeat center center / cover;
        transition: 0.5s;
      }

      &:hover::before {
        background: url(/wp-content/uploads/service01-on.png) no-repeat center center / cover;
      }
    }

    &.top-service02 {
      &::before {
        content: "";
        display: block;
        padding-top: calc((454 / 1920)* 100vw);
        background: url(/wp-content/uploads/service02-off.png) no-repeat center center / cover;
        transition: 0.5s;
      }

      &:hover::before {
        background: url(/wp-content/uploads/service02-on.png) no-repeat center center / cover;
      }
    }

    & .top-service_txtarea {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
    }

    &.top-service_linkarea {
      display: block;
      width: 100%;
      padding: 10px;
      background: var(--color-primary);
      text-align: right;
      position: absolute;
      bottom: 0;

      span {
        position: relative;
        color: #fff;
        font-size: var(--px18);
        padding-right: 20px;

        &::before,
        &:after {
          content: "";
          display: inline-block;
          position: absolute;
          top: 50%;
          right: 0;
          width: 14px;
          height: 2px;
          border-radius: 9999px;
          background-color: #fff;
          transform-origin: calc(100% - 1px) 50%;
        }

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

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

.top-service_list-right {
  max-width: 840px;
  margin: 0 0 0 auto !important;
  padding-top: var(--px240);

  li a {
    display: inline-block;
    width: 100%;
    position: relative;
    color: #fff;

    &.top-service03 {
      &::before {
        content: "";
        display: block;
        padding-top: calc((454 / 1920)* 100vw);
        background: url(/wp-content/uploads/service03-off.png) no-repeat center center / cover;
        transition: 0.5s;
      }

      &:hover::before {
        background: url(/wp-content/uploads/service03-on.png) no-repeat center center / cover;
      }
    }

    &.top-service04 {
      &::before {
        content: "";
        display: block;
        padding-top: calc((454 / 1920)* 100vw);
        background: url(/wp-content/uploads/service04-off.png) no-repeat center center / cover;
        transition: 0.5s;
      }

      &:hover::before {
        background: url(/wp-content/uploads/service04-on.png) no-repeat center center / cover;
      }
    }

    & .top-service_txtarea {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
    }

  }
}

@media print,
screen and (max-width: 1240px) {
  .top-service_inner {
    .top-service_textarea {
      display: inline-block;
      position: absolute;
      left: 0;
      bottom: -13%;
    }
  }
}


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

    &::before {
      height: calc((511 / 750)* 100vw);
      background: url(/wp-content/uploads/service-logo.png) no-repeat left / contain;
      top: 2%;
      right: 3%;
    }

    &::after {
      height: calc((260 / 750)* 100vw);
      bottom: 0;
      left: 0%;
      background: url(/wp-content/uploads/service-pic.jpg) no-repeat left / cover;
    }

    .top-service_inner {
      text-align: center;
    }
  }

  .top-service_list-left {
    justify-content: center !important;

    li {
      margin-bottom: 8% !important;
      width: 80% !important;
    }

    li a {
      display: block;
      width: 100%;
      margin: 0 auto;

      &.top-service01,
      &.top-service02 {
        &::before {
          padding-top: calc((280 / 375)* 100vw);
        }
      }

      & .top-service_txtarea {
        display: inline-block;
        width: 80%;
        top: 50%;
        left: 50%;
        text-align: left;
      }
    }
  }

  .top-service_list-right {
    padding-top: 0 !important;

    li {
      margin-bottom: 8% !important;
      width: 100% !important;
    }

    li a {
      display: block;
      width: 80%;
      margin: 0 auto;

      &.top-service03,
      &.top-service04 {
        &::before {
          padding-top: calc((280 / 375)* 100vw);
        }
      }

      .top-service_txtarea {
        display: inline-block;
        width: 80%;
        top: 50%;
        left: 50%;
        text-align: left;
      }
    }
  }

  .top-service_inner {
    position: initial;

    .top-service_title-wrap {
      position: relative;

      .txtstyle13 {
        position: absolute;
        top: -270%;
        left: -4%;
      }
    }

    .top-service_textarea {
      position: initial;
    }
  }

}

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


  .top-service_inner {
    .top-service_title-wrap {
      top: 48%;
    }
  }
}


/* --------top-news-------- */
.top-news {
  padding: calc(8rem + (1vw - 1.92rem) * -2.5890) 0 calc(46rem + (1vw - 1.92rem) * 18.1230);
  position: relative;

  &::after {
    content: "";
    display: block;
    width: 100%;
    height: calc((342 / 1920)* 100vw);
    background: url(/wp-content/uploads/top_news-bg.jpg) no-repeat center bottom / cover;
    position: absolute;
    bottom: 0;
  }
}

.postlist li:first-child {
  border-top: 1px solid #ccc;
}

.postlist li {
  border-bottom: 1px solid #ccc;
}

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

    &::after {
      height: calc((130/ 750)* 100vw);
      bottom: 0;
      left: 0;
    }
  }
}

/* =====================================
SERVICE
===================================== */
.page-service_works-contents {
  background-color: #fff;
}

.works-pic {
  &>figure:first-of-type {
    position: relative;

    &::before {
      content: "";
      border: solid transparent;
      position: absolute;
      top: 38%;
      left: calc(100% + 20px);
      border-width: 22px;
      border-top-color: var(--color-primary);
      transform: rotate(-90deg);
    }

    &:after {
      content: "";
      border: solid transparent;
      position: absolute;
      top: 45%;
      left: calc(100% + 30px);
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
      border-width: 20px;
    }
  }
}

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

  .works-pic {
    &>figure:first-of-type {
      margin-bottom: 60px;

      &::before {
        transform: rotate(-90deg);
        top: calc(100% + 8px);
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
      }

      &:after {
        top: calc(100% + 20px);
        left: 50%;
        transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
      }
    }
  }
}

/* =====================================
お問い合わせ
===================================== */
.wpcf7-form .must {
  background: var(--color-primary);
}

.post table td {
  background: #fff;
}

/* =====================================
お問い合わせ
===================================== */
.post ul#sitemap_list.sitemap_disp_level_0>li a {
  font-family: var(--font-family01);
}