@charset "utf-8";
:root {
    --color-bk: #3C3C3C;
    --color-wh: #fff;
    --color-gray: #818181;
    --color-lgray: #F8F8F8;
    --color-gr: #488E63;
    --color-lgr: #F8F8F8;
    --txt-size: 18px;
    --txt-lh: 1.5;
    --inner-size: 1050;
    --hd-height: 75;
    --content-wrap: 100;
    --content-side : calc(60 / var(--inner-size) * 100cqi);
}
html, body {
    color: var(--color-bk);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--txt-size);
    font-weight: 500;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: transparent;
    animation: fadeIn 1.5s ease 0s 1 normal;
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal
}
* { min-height: 0vw; }
.hidden { display: none; }
.grecaptcha-badge { visibility: hidden; }
/*--- 画面全体をフェードイン(animation設定) ---*/
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
h1, h2, h3, h4, h5, h6,
.sizeh1, .sizeh2, .sizeh3, .sizeh4, .sizeh5, .sizeh6 {
    font-weight: bold;
    line-height: 1.6;
    letter-spacing: 0.046em;
    margin-bottom: 0;
}
h1, .sizeh1 { font-size: 60px; }
h2, .sizeh2 { font-size: 50px; }
h3, .sizeh3 { font-size: 32px; }
h4, .sizeh4 { font-size: 26px; }
h5, .sizeh5 { font-size: 24px; }
h6, .sizeh6 { font-size: 20px; }

hgroup {
    color: var(--color-gr);
    text-align: center;
    display: block;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 48px;
}
hgroup h2,
hgroup p {
    font-weight: 600;
}
hgroup h2 {
    line-height: 1.5;
    letter-spacing: 0;
}
hgroup p {
    position: relative;
    z-index: 10;
    font-size: 16px;
    font-weight: 600;
    line-height: 2;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-inline: auto;
    margin-bottom: 14px;
}
hgroup p::after {
    content: "";
    display: block;
    width: 150px;
    height: 44px;
    position: absolute;
    top: -6px;
    left: calc(50% - 75px);
    z-index: -1;
    background-color: transparent;
    background-image: url(../img/icon-titline.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*--- aタグ ---*/
a, a:hover, a:focus { text-decoration: none; outline: none; }
a {
    color: #127aca;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    -webkit-transform: translateZ(0);
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
}
a:hover, a:focus { color: #00028A; }
a::before, a::after {
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

a.anchorpoint {
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

.btn-list {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px 3em;
}
.btn-list > a {
    position: relative;
    color: var(--color-bk);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}
.btn-list > a:hover { color: var(--color-gr); }
.btn-list > a:not(:last-of-type):after {
    content: "／";
    display: block;
    color: var(--color-bk);
    font-size: 1em;
    letter-spacing: 0;
    position: absolute;
    top: 0;
    left: calc(100% + 1em);
}


/*--- imgタグ ---*/
img {
    width: auto;
    max-width: 100%;
    height: auto;
}
.img-radius5 { border-radius: 5px; }
.img-aspect3-2 { aspect-ratio: 3 / 2; object-fit: cover; }

hr {
    margin: 30px 0 50px;
    border-top: 2px solid #DADDDE;
    opacity: .25;
}

/*--- マウスカーソルで選択したテキストの色と背景色 ---*/
::selection {
    /*color: var(--color-wh);*/
    background-color: rgba(18, 122, 202, 0.15);
}

/*--- 共通 ---*/
p {
    margin: 0 auto 20px;
	padding: 0;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.txt-en { font-family: "Roboto", sans-serif; }
.txt-set { display: inline-block; }
.txt-cp { font-size: 16px; }
.txt-lh1 { line-height: 1; }
.txt-lh15 { line-height: 1.5; }
.txt-lh2 { line-height: 2; }
.txt-lh25 { line-height: 2.5; }
.color-bk { color: var(--color-bk); }
.color-wh { color: var(--color-wh); }
.color-gray { color: var(--color-gray); }
.color-gr { color: var(--color-gr); }
.bg-gr { background-color: var(--color-gr); }
.bg-lgr { background-color: var(--color-lgr); }
.bg-or { background-color: var(--color-or); }
.bg-gray { background-color: var(--color-gray); }
.bg-lgray { background-color: var(--color-lgray); }
.bg-wh { background-color: var(--color-wh); }
.bg-none { background-color: transparent; }

/* --- flex-box --- */
.flex-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
/*--- grid-box ---*/
.grid-box {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}
.grid2 { grid-template-columns: repeat(2, 1fr) }
.grid3 { grid-template-columns: repeat(3, 1fr) }
.grid4 { grid-template-columns: repeat(4, 1fr) }
.grid5 { grid-template-columns: repeat(5, 1fr) }
.grid-gap0 { grid-gap: 0!important; }

.row {
    margin-right: -20px;
    margin-left: -20px;
}
.row > * {
    padding-right: 20px;
    padding-left: 20px;
}

/*--- ul ---*/
ul.list-2col,
ul.list-3col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-gap: 6px 10px;
}
ul.list-2col { grid-template-columns: repeat(2, auto); }
ul.list-3col { grid-template-columns: repeat(3, auto); }

/*--- table ---*/
table {
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
}
table tr th,
table tr td {
    vertical-align: baseline;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
table tr th {
    color: var(--color-gr);
    font-size: 20px;
    font-weight: 600;
}

table.table-line tr th,
table.table-line tr td { padding: 26px 0; }
table.table-line tr th {
    padding-right: 7em;
    border-bottom: 2px solid var(--color-gr);
}
table.table-line tr:first-of-type th { border-top: 2px solid var(--color-gr); }
table.table-line tr td { border-bottom: 2px solid #D3D3D3; }
table.table-line tr:first-of-type td { border-top: 2px solid #D3D3D3; }

table.table-bg { border-radius: 5px; overflow: hidden; }
table.table-bg tr:not(:last-of-type) { border-bottom: 2px solid var(--color-wh); }
table.table-bg tr th,
table.table-bg tr td { padding: 16px 18px; }
table.table-bg tr th { background-color: #E4EFE7; }
table.table-bg tr td { background-color: var(--color-lgray); }


/*--- .row-map ---*/
.row-map {
    line-height: 0;
    width: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}
.row-map iframe {
    width: 100%;
}

/* --------------------------------------------
    btn00
-------------------------------------------- */
.btn-wrap { margin-top: 3rem; }
.btn00 a,
.rela-btn > span {
    color: var(--color-wh);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.05em;
    overflow: hidden;
    display: inline-block;
    width: auto;
    height: 50px;
    margin: 0 auto 20px;
    padding: 14px 96px 14px 30px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    outline: none;
    background: linear-gradient(90deg, var(--color-ygr) 10%, var(--color-dbw) 90%);
    border-radius: 28px;
}
.btn00 a::before,
.rela-btn > span::before,
.btn00 a::after,
.rela-btn > span::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 10px;
    display: block;
    width: 52px;
    height: 32px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.btn00 a::before,
.rela-btn > span::before {
    background-color: var(--color-wh);
    border-radius: 20px;
}
.btn00 a::after,
.rela-btn > span::after {
    background-color: transparent;
    background-image: url(../img/icon-arrow01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.btn00 a:hover::before,
.rela-box:hover .rela-btn > span::before { background-color: #1D2326; }
.btn00 a:hover::after,
.rela-box:hover .rela-btn > span::after { filter: brightness(0) invert(1); transform: translateX(9px); }


.btn00-arrow {
    position: relative;
    display: block;
    width: 52px;
    height: 32px;
    background-color: var(--color-wh);
    border: 1px solid #1D2326;
    border-radius: 20px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.btn00-arrow::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: url(../img/icon-arrow01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.swiper-navigation-icon { display: none; }
.btn-box a:hover .btn00-arrow,
.swiper-button-next:hover .btn00-arrow,
.swiper-button-prev:hover .btn00-arrow { background-color: #1D2326; }
.btn-box a:hover .btn00-arrow::before,
.swiper-button-next:hover .btn00-arrow::before,
.swiper-button-prev:hover .btn00-arrow::before { filter: brightness(0) invert(1); transform: translateX(9px); }


/* --------------------------------------------
    ナビゲーション
-------------------------------------------- */
#hd01 {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 1000;
    transform: translateX(-50%);
    width: 96%;
    max-width: 1200px;
    height: calc(var(--hd-height) * 1px);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    transition: all 0.4s ease;
    background-color: var(--color-wh);
    border-radius: 0 0 7px 7px;
    filter: drop-shadow(0px 3px 6px rgba(0, 41, 109, 0.16));
    -webkit-filter: drop-shadow(0px 3px 6px rgba(0, 41, 109, 0.16));
    -ms-filter: drop-shadow(0px 3px 6px rgba(0, 41, 109, 0.16));
}
.hd-logo {
    font-size: 0;
    line-height: 1;
}
.hd-logo a {
    line-height: 1;
    display: block;
    height: 100%;
    padding: 13px;
}
.hd-logo a img { width: 227px; }


/*--- LIST STYLE ---*/
#g-nav { flex: 1; }
.g-nav-list {
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
    max-width: none;
}
.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100%;
    margin: 0;
    margin-right: 10px;
    padding: 0;
}
.nav-list > li {
    height: 100%;
    margin: 0 20px;
}
.nav-list > li:not(:last-child) { margin-bottom: 0; }
.nav-list > li a {
    color: var(--color-bk);
    font-weight: 500;
    line-height: calc(var(--hd-height) * 1px);
    letter-spacing: 0.02em;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
    cursor: pointer;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.g-nav-list .sns-btn-list {
    display: flex;
    align-items: center;
    gap: 10px;
}
.g-nav-list .sns-btn-list a { padding: 5px; }

.g-nav-list .nav-btn {
    color: var(--color-wh);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    width: 144px;
    height: 37px;
    margin-top: 18px;
    margin-inline: 20px;
    padding: 8px 16px 11px;
    background-color: var(--color-gr);
    border-radius: 20px;
}

/*--- OPEN NAVI ---*/
.panelactive #g-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    display: block;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
}

/*--- MENU / CLOSE BTN ---*/
.openbtn {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90px;
    height: calc(var(--hd-height) * 1px);
}
.openline {
    display: block;
    width: 36px;
    height: 36px;
    position: relative;
	cursor: pointer;
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    border-radius: 0;
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
    transition-property: width,background-color,border-color,color,fill,opacity;
}
.openbtn span {
    display: inline-block;
    position: relative;
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 3px;
	background-color: var(--color-gr);
    transition-duration: .4s;
    transition-timing-function: ease-in-out;
    transition-property: width,background-color,border-color,color,fill,opacity;
}
.openbtn span::before,
.openbtn span::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    z-index: 1;
    background-color: var(--color-gr);
    border-radius: 3px;
}
.openbtn span::before {
    top: -10px;
    animation: menu-bar01 .4s cubic-bezier(.075,.82,.165,1) 0s forwards;
}
@keyframes menu-bar01 {
    0% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px) rotate(26deg); }
    50% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px) rotate(0); }
    100% { -webkit-transform: translate(0, 0); transform: translate(0, 0) rotate(0); }
}
.openbtn span::after {
    top: 10px;
    animation: menu-bar03 .4s cubic-bezier(.075,.82,.165,1) 0s forwards;
}
@keyframes menu-bar03 {
    0% { -webkit-transform: translate(0, -10px); transform: translate(0, -10px) rotate(-26deg); }
    50% { -webkit-transform: translate(0, -10px); transform: translate(0, -10px) rotate(0); }
    100% { -webkit-transform: translate(0, 0); transform: translate(0, 0) rotate(0); }
}

/* OPEN Anime */
.panelactive .openbtn span { background-color: var(--color-wh); }
.panelactive .openbtn span::before { animation: menu-bar01-open .4s cubic-bezier(.785,.135,.15,.86) 0s forwards; }
@keyframes menu-bar01-open {
    0% { -webkit-transform: translate(0, 0); transform: translate(0, 0) rotate(0); }
    50% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px) rotate(0); }
    100% { -webkit-transform: translate(0, 10px); transform: translate(0, 10px) rotate(26deg); }
}
.panelactive .openbtn span::after { animation: menu-bar03-open .4s cubic-bezier(.785,.135,.15,.86) 0s forwards; }
@keyframes menu-bar03-open {
    0% { -webkit-transform: translate(0, 0); transform: translate(0, 0) rotate(0); }
    50% { -webkit-transform: translate(0, -10px); transform: translate(0, -10px) rotate(0); }
    100% { -webkit-transform: translate(0, -10px); transform: translate(0, -10px) rotate(-26deg); }
}
@media screen and (min-width: 1200px) {
    .openbtn { display: none; }
}
@media screen and (max-width: 1199px) {
    #g-nav .g-nav-list {
        opacity: 0;
        visibility: hidden;
        display: block;
        width: 100%;
        height: auto;
        padding: 20px 50px 60px;
        position: absolute;
        top: calc(var(--hd-height) * 1px);
        left: 0;
        background-color: var(--color-wh);
        -webkit-transition: all 0.4s;
        transition: all 0.4s;
    }
    .panelactive #hd01 { border-radius: 0; }
    .panelactive #g-nav .g-nav-list {
        opacity: 1;
        visibility: inherit;
        transform: translateY(0);
        z-index: 10;
    }
    .nav-list {
        display: block;
        height: auto;
        margin: 0 0 20px;
    }
    .nav-list > li { margin: 0; }
    .nav-list > li a {
        color: var(--color-bk);
        font-size: 20px;
        line-height: 60px;
        text-align: left;
        padding: 0;
        padding-left: 30px;
    }

    .nav-list > li a::before {
        content: '';
        position: absolute;
        top: 22px;
        left: 0;
        display: block;
        width: 20px;
        height: 18px;
        background-color: transparent;
        background-image: url(../img/icon-arrow.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        transform: scale(-1, 1);
    }
    .g-nav-list .sns-btn-list { margin-bottom: 30px; }
    .g-nav-list .nav-btn {
        font-size: 18px;
        display: block;
        width: 100%;
        height: auto;
        margin-inline: auto;
        padding: 20px 16px;
        border-radius: 36px;
    }
}
@media screen and (max-width: 767px) {
    .nav-list { overflow-y: auto; }
    .hd-logo { width: 195px; margin-left: 2%; }
    .hd-logo a { padding: 9px 5px; }
    .openbtn { width: 70px; }
    .openline { width: 32px; }
    #g-nav .g-nav-list { padding: 16px 7.5% 60px; }
    .nav-list > li a { font-size: 18px; line-height: 56px; padding-left: 26px; }
}

/* --------------------------------------------
    Content
-------------------------------------------- */
section {
    position: relative;
    overflow: hidden;
}
.sec-inner,
.sec-inner-start,
.sec-inner-end {
    box-sizing: content-box;
    container-type: inline-size;
    max-width: calc(var(--inner-size)* 1px);
    margin-inline: auto;
}
.sec-inner {
    padding-right: var(--content-side);
    padding-left: var(--content-side);
}
.sec-inner-start { padding-left: var(--content-side); }
.sec-inner-end { padding-right: var(--content-side); }
.content-wrap {
    padding-top: calc(var(--content-wrap) * 1px);
    padding-bottom: calc(var(--content-wrap) * 1px);
}

/*---------- sec00 ----------*/
.hd-txt {
    color: var(--color-wh);
    position: absolute;
    bottom: 60px;
    left: 70px;
    z-index: 10;
    filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.32));
    -webkit-filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.32));
    -ms-filter: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.32));
}
.hd-txt .main {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.032em;
}

/*---------- services ----------*/
.services-box {
    gap: 8px;
    margin-bottom: 8px;
}
.services-box .services-item {
    align-items: initial;
    border-radius: 5px;
    overflow: hidden;
}
.services-item .img-item {
    position: relative;
}
.services-item .img-item .cp-item {
    color: var(--color-wh);
    font-size: 24px;
    font-weight: 700;
    position: absolute;
    top: 12px;
    left: 20px;
    z-index: 10;
}

.services-item .txt-item {
    padding: 15px 20px;
    background-color: var(--color-lgray);
}
.services-item .txt-item p { font-size: 16px; text-align: justify; }
.services-item .txt-item p:last-of-type { margin-bottom: 0; }

.list-box .services-item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}
.full-box .services-item .img-item { flex: 1; flex-grow: 1; }
.services-item .img-item img { width: 100%; height: 100%; object-fit: cover; }
.full-box .services-item .txt-item { width: 22em; padding: 22px 30px; }

/*---------- works ----------*/
.slider-wrap { position: relative; }
.works-slider { position: relative; overflow: hidden; }
.works-slider .swiper-slide { width: 300px; }
.works-slider .swiper-slide a { color: var(--color-bk); }
.works-slider .swiper-slide .img img {
    aspect-ratio: 4 /3;
    object-fit: cover;
    border-radius: 5px;
}
.works-slider .swiper-slide .txt {
    font-size: 20px;
    padding: 2px 5px;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
    width: 50px;
    height: 50px;
    top: 110px!important;
}
.swiper-button-prev { left: auto !important; right: calc(100% + 16px)!important; }
.swiper-button-next { left: calc(100% + 16px)!important; right: auto!important; }
.swiper-button-prev::after,
.swiper-button-next::after {
    content: "";
    display: block;
    width: 14px;
    height: 32px;
    margin: auto;
    background-image: url(../img/icon-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.swiper-button-prev::after { transform: scale(-1, 1); }


/*---------- flow ----------*/
.flow-box .flow-item {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 30px;
}
.flow-box .flow-item:not(:last-child) {
    margin-bottom: 45px;
}
.flow-box .flow-item .num { width: 135px; }
.flow-box .flow-item .txt-box { 
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    gap: 26px;
    padding: 24px 26px;
    background-color: var(--color-lgr);
    border-radius: 5px;
}
.flow-box .flow-item .txt-box .icon { width: 126px; }
.flow-box .flow-item .txt-box .txt { flex: 1; }
.flow-box .flow-item .txt-box .txt .tit {
    color: var(--color-gr);
    font-weight: 700;
    margin-bottom: 10px;
}
.flow-box .flow-item .txt-box .txt p:last-of-type { margin-bottom: 0; }

.flow-box .flow-item:not(:last-child)::before {
    content: '';
    background-color: var(--color-gr);
    width: 4px;
    height: 100%;
    position: absolute;
    top: calc(50% + 30px);
    left: 65px;
}

/*---------- full-img ----------*/
.full-img img {
    aspect-ratio: 1280 / 357;
    object-fit: cover;
    object-position: center;
}

/*---------- company ----------*/
.company-box { gap: 42px; }
.company-box:not(:last-of-type) { margin-bottom: 60px; }
.company-box h3 { margin-bottom: 50px; }
.company-box .txt-box { flex: 1; }
.company-box .txt-box p { line-height: 1.8; }
.company-box .img { width: 370px; }

.tel-btn {
    color: var(--color-wh);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 10px;
    width: fit-content;
    margin: 2rem auto 3rem;
    padding: 8px 26px;
    background-color: var(--color-gr);
    border-radius: 6px;
}
.tel-btn .icon {
    filter: brightness(0) invert(1);
}

/*---------- full-map ----------*/
.full-map {
    line-height: 0;
    width: 100%;
    height: 453px;
    overflow: hidden;
}
.full-map iframe {
    width: 100%;
    height: 700px;
    margin-top: -140px;
}


/* --------------------------------------------
    footer
-------------------------------------------- */
#ft01 {
    font-size: 16px;
    position: relative;
    z-index: 5;
}
#ft01 p {
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}
#ft01 a { color: var(--color-wh); }
.ft-wrap {
    align-items: center;
    position: relative;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 20px;
}
.ft-logo {
    width: 227px;
    margin-bottom: 26px;
    filter: brightness(0) invert(1);
}
.ft-txt {
    line-height: 2;
    margin-bottom: 30px;
}
.ft-cp {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-align: right;
}

/* --------------------------------------------
    Responsive
-------------------------------------------- */
@media screen and (max-width: 991px) {
    :root {
        --txt-size: 18px;
        --content-wrap: 80;
    }
    h1, .sizeh1 { font-size: 56px; }
    h2, .sizeh2 { font-size: 42px; }
    h3, .sizeh3 { font-size: 28px; }
    h4, .sizeh4 { font-size: 22px; }
    h5, .sizeh5 { font-size: 20px; }
    h6, .sizeh6 { font-size: 18px; }
    .txt-cp { font-size: 15px; }
    table tr th { font-size: 18px; }
    table tr td { font-size: 16px; }
    table.table-line tr th,
    table.table-line tr td { padding: 20px 0; }
    table.table-line tr th { padding-right: 3em; }
    ul.list-3col { grid-template-columns: repeat(2, auto); }
    
    .main-slider,
    .main-slider .swiper-slide img { height: 92vh; min-height: 460px; object-fit: cover; }
    .full-box .services-item {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 0;
    }
    .full-box .services-item .txt-item { width: 100%; }
    .services-box.list-box { grid-template-columns: repeat(2, 1fr); }
    .services-item .img-item .cp-item { font-size: 22px; }
    .services-item .img-item .cp-item br { display: none; }
    .swiper-button-prev { right: 100%!important; }
    .swiper-button-next { left: 100%!important; }
    .flow-box .flow-item { gap: 20px; }
    .flow-box .flow-item:not(:last-child) { margin-bottom: 30px; }
    .flow-box .flow-item:not(:last-child)::before { left: 47px; }
    .flow-box .flow-item .num { width: 96px; }
    .flow-box .flow-item .txt-box { gap: 20px; }
    .flow-box .flow-item .txt-box .icon { width: 100px; }
    .flow-box .flow-item .txt-box .txt p { font-size: 16px; }
    .company-box { gap: 30px; }
    .company-box h3 { margin-bottom: 26px; }
}
@media screen and (max-width: 767px) {
    :root {
        --txt-size: 16px;
        --content-wrap: 80;
        --content-side : 7.5%;
    }
    h1, .sizeh1 { font-size: 36px; }
    h2, .sizeh2 { font-size: 32px; }
    h3, .sizeh3 { font-size: 28px; }
    h4, .sizeh4 { font-size: 24px; }
    h5, .sizeh5 { font-size: 20px; }
    h6, .sizeh6 { font-size: 17px; }
    .txt-cp { font-size: 14px; }
    .grid2 { grid-template-columns: repeat(1, 1fr); }
    .grid4 { grid-template-columns: repeat(2, 1fr); }
    ul.list-2col,
    ul.list-3col { grid-template-columns: repeat(1, auto); }
    table tr th,
    table tr td { display: block; padding: 10px 12px; }
    table tr th { font-size: 16px; }
    table tr td { font-size: 15px; }
    table.table-line tr th,
    table.table-line tr td { padding: 16px 0; }
    table.table-line tr th { padding-bottom: 0; border-bottom: none; }
    table.table-line tr td { padding-top: 8px; }
    table.table-line tr:first-of-type td { border-top: none; }
    .full-map { height: 300px; }
    .full-map iframe { height: 500px; margin-top: -85px; }
    section { overflow-x: hidden; }
    .sec-inner {
        padding-right: var(--content-side);
        padding-left: var(--content-side);
    }
    .sec-inner-start { padding-left: var(--content-side); }
    .sec-inner-end { padding-right: var(--content-side); }
    .hd-txt { bottom: 50px; left: 7.5%; }
    .services-box { margin-bottom: 20px; }
    .full-box .services-item { grid-template-columns: 1fr; grid-gap: 0; }
    .services-box.list-box { grid-template-columns: 1fr; grid-gap: 20px; }
    .services-item .txt-item,
    .full-box .services-item .txt-item { padding: 16px 20px 20px; }
    .services-item .img-item .cp-item { font-size: 18px; left: 16px; }
    .list-box .services-item { grid-template-rows: auto; grid-row: auto; }
    .works-slider .swiper-slide { width: 200px; }
    .works-slider .swiper-slide .txt { font-size: 17px; }
    .swiper-button-prev, .swiper-button-next { top: 72px !important; }
    .flow-box .flow-item { flex-direction: column; gap: 0; }
    .flow-box .flow-item:not(:last-child)::before { display: none; }
    .flow-box .flow-item .num { position: relative; z-index: 10; width: 86px; }
    .flow-box .flow-item .txt-box .icon { display: none; }
    .flow-box .flow-item .txt-box {
        margin-top: -46px;
        padding-top: 60px;
    }
    .full-img img { aspect-ratio: 3 / 2; }
    .company-box { flex-direction: column; }
    .company-box .img { width: 100%; max-width: 300px; }
    .tel-btn { font-size: 24px; }
    .ft-wrap { padding-top: 30px; }
    .ft-logo { width: 195px; margin-bottom: 20px; }
    .ft-txt { font-size: 14px; }
}
@media screen and (max-width: 575px) {
    :root {
        --content-side : 6%;
        --hd-height: 60;
        --content-wrap: 60;
    }
    .services-item .txt-item p { font-size: 15px; }
    .swiper-button-box { display: none; }
}

/* ---------------------------------------------
*  modal
--------------------------------------------- */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .4s;
}
.modal::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--color-bk);
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.2;
}
.modal:target,
.modal.active {
    visibility: visible;
    opacity: 1;
}
.modal_content {
    position: relative;
    width: 90%;
    max-width: calc(var(--inner-size)* 1px);
    height: auto;
    max-height: 86vh;
    background: #fff;
    padding: 80px 130px;
    border-radius: 5px;
    overflow-y: auto;
    filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.08));
    -webkit-filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.08));
    -ms-filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.08));
}
.modal_content .modal_wrap {
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}
.modal_content .modal_box {
    align-items: flex-end;
    gap: 70px;
    margin-bottom: 36px;
}
.ba-box { position: relative; }
.ba-box::before {
    content: "";
    display: block;
    width: 14px;
    height: 32px;
    margin: auto;
    position: absolute;
    top: calc(50% - 16px);
    left: calc(50% - 8px);
    z-index: 10;
    background-image: url(../img/icon-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
.modal_content .tit { margin-bottom: 36px; }
.modal_content .icon {
    color: var(--color-wh);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    display: block;
    width: fit-content;
    margin-bottom: 10px;
    padding: 2px 12px 3px;
    background-color: var(--color-gr);
    border-radius: 14px;
}
.modal_content .icon.bg-gray { background-color: var(--color-gray); }
.modal_content .img img { border-radius: 5px; }

.modal_close {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
    cursor: pointer;
}
@media screen and (max-width: 991px) {
    .modal_content { padding: 60px 50px; }
}
@media screen and (max-width: 767px) {
    .modal_content { padding: 46px 30px; /*overflow-y: auto;*/ }
    .modal_content .modal_box { flex-direction: column; gap: 50px; }
    .ba-box::before { transform: rotate(-90deg); top: 50%; }
}


/* --------------------------------------------
    MAIL FORM PRO
-------------------------------------------- */
.form-box {
    width: 100%;
    margin: 0;
    padding: 46px 60px;
    background-color: var(--color-wh);
    border-radius: 6px;
}
#mailformpro .must {
    display: inline-block;
    color: var(--color-gr);
    font-size: 18px;
    letter-spacing: 0.02em;
    float: none;
    margin-left: 12px;
    padding: 3px 12px 4px;
    background-color: #E4EFE7;
    border: none;
    border-radius: 4px;
    box-shadow: 0px 0px 0px transparent;
    text-shadow: 0px 0px 0px transparent;
    background-image: none !important;
}
#mailformpro dl.mailform-item {
    display: flex;
    align-items: baseline;
    margin: 0;
}
#mailformpro dl.mailform-item:not(:last-of-type) { border-bottom: 2px solid #D8D8D8; }
#mailformpro dt.mfp,
#mailformpro dd.mfp {
    font-size: 1rem;
    text-align: left;
    border-top: none;
    letter-spacing: 0.02em;
    margin: 0 auto;
    padding: 16px 0;
    background-color: transparent!important;
}
#mailformpro dt.mfp {
    font-size: 20px;
    font-weight: 600;
    width: 18rem;
}
#mailformpro dd.mfp { flex: 1; }
#mailformpro input:not([type="checkbox"]) {
    font-weight: 500;
    display: block;
    width: 100%!important;
    max-width: 100%;
    border: none;
    border-radius: 5px;
    background-color: var(--color-lgray)!important;
    padding: 14px 16px;
    box-shadow: 0 0 0 transparent;
}
#mailformpro input:not([type="checkbox"]):focus-visible { border-color: var(--color-gr); }
#mailformpro input[type="hidden"] { display: none!important; }

/* チェックボックスのアイコン */
form#mailformpro label {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.item-checkbox { margin-bottom: 10px; }
.checkbox_icon {
    position: relative;
    width: 24px;
    height: 24px;
    appearance: none;
    background-color: #fff;
    border: solid 2px var(--color-gr);
    border-radius: 4px;
    box-shadow: 0 0 0 0 transparent;
    margin-top: -3px!important;
    vertical-align: middle;
    margin-right: 8px;
}
.checkbox_icon::before {
    content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    left: -1px;
    display: block;
    width: 21px;
    height: 21px;
    background-image: url(../img/icon-check.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.checkbox_icon:checked { background-color: var(--color-gr); }
.checkbox_icon:checked::before { opacity: 1; }
form#mailformpro label.mfp_checked {
    padding: 0!important;
    border: none!important;
    background-color: #fff!important;
    box-shadow: none!important;
}

#mailformpro textarea {
    display: block!important;
    height: 15em!important;
    width: 100%!important;
    max-width: 100%;
    padding: 15px 20px;
    background-color: var(--color-lgray);
    outline: none;
    border: none;
    border-radius: 20px;
    box-shadow: 0px 0px 0px transparent;
}
form#mailformpro label.mfp_not_checked { border: none!important; }
#mailformpro #mfp_hidden input { display: none!important; }

::placeholder {
  color: #ccc;
  font-weight: 500;
  letter-spacing: 0.05em;
}
.form-box .policy-box {
    font-size: 0.8rem;
    width: 100%;
    height: 15em;
    overflow-y: scroll;
    background-color: var(--color-lgray);
    -webkit-writing-mode: horizontal-tb !important;
    text-rendering: auto;
    color: -internal-light-dark(black, white);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0px;
    text-shadow: none;
    display: inline-block;
    text-align: start;
    appearance: textarea;
    -webkit-rtl-ordering: logical;
    flex-direction: column;
    resize: auto;
    cursor: text;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    margin: 0em;
    padding: 0 26px;
    border-radius: 6px;
    border: none;
}
.form-box .policy-box p { margin: 0 auto; padding: 0; }
form#mailformpro label.mfp_checked {
    border: none;
    background-color: transparent;
    box-shadow: 0px 0px 0px transparent;
}
.mfp_element_submit, .mfp_element_reset, .mfp_element_button, button.mfp_next, button.mfp_prev {
    text-shadow: none !important;
}
.mfp_buttons button,
.mfp_buttons a {
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    background: var(--color-gr);
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
    padding: 16px 80px;
    border: 2px solid var(--color-gr);
    border-radius: 50px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}
.mfp_buttons button:hover,
.mfp_buttons a:hover {
    color: var(--color-gr);
    background: var(--color-wh);
    box-shadow: none;
}
div.mfp_err { background: none!important; }

/*確認画面*/
#mfp_overlay {
    position: fixed !important;
    top: 50% !important;
    left: 50%!important;
    transform: translate(-50%, -50%);
    max-height: 86vh;
    overflow-y: auto;
    width: 640px!important;
    max-width: 90%;
    background-color: #fff;
    border-radius: 16px !important;
}
#mfp_overlay_inner {
    padding: 2rem!important;
    border-radius: 16px!important;
    max-height: 86vh;
    overflow-y: auto;
    background-color: transparent!important;
    box-shadow: none!important;
    border-radius: 0 !important;
    max-width: 100%!important;
}
div#mfp_overlay_inner > h4 {
    text-align: center;
    margin-bottom: 16px;
}
table#mfp_confirm_table tr th,
table#mfp_confirm_table tr td {
    font-size: 1rem !important;
    padding: 8px 16px !important;
    border-color: #ccc!important;
}
table#mfp_confirm_table tr:last-child th,
table#mfp_confirm_table tr:last-child td { border-bottom: #ccc; }
div#mfp_overlay_inner .mfp_buttons {
    display: flex;
    gap: 12px;
}
@media screen and (max-width: 991px) {
    #mailformpro dl.mailform-item { flex-direction: column; }
    #mailformpro dt.mfp,
    #mailformpro dd.mfp { width: 100%; }
    #mailformpro dt.mfp { padding-top: 20px; padding-bottom: 0; }
    #mailformpro dd.mfp { padding-top: 10px; padding-bottom: 20px; }
}
@media screen and (max-width: 767px) {
    .form-box { padding: 16px 20px; }
    #mailformpro dt.mfp { font-size: 16px; }
    #mailformpro .must { font-size: 14px; }
    #mailformpro input:not([type="checkbox"]) { font-size: 15px; padding: 12px 14px; }
}
@media screen and (max-width: 575px) {
    .form-box { padding: 16px; }
    #mailformpro textarea { padding: 13px 16px; }
    div#mfp_overlay_inner { padding: 26px 16px !important; }
    div#mfp_overlay_inner > h4 { font-size: 18px; }
    div#mfp_overlay_inner .mfp_buttons { display: block; }
    div#mfp_overlay_inner table#mfp_confirm_table { margin-bottom: 30px; }
    div#mfp_overlay_inner div.mfp_buttons button {
        display: block;
        width: 100%;
        margin: 0;
        padding: 13px 20px;
    }
    .thanks-content .sizeh5 { font-size: 18px; }
}