@charset "UTF-8";
/* 基礎設定 */
html, body {
    font-size: 18px;
    font-family: "Noto Sans JP", sans-serif;
    position: relative;
    font-weight: 400;
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: auto !important;
    overflow-x: hidden;
    animation: fadeIn 1s;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
/* body#cpage {  overflow-x: hidden;} */
/*--- 画面全体をフェードイン(animation設定) ---*/
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
.color-red { color: #E40046;}
.color-pn { color: #FA6582;}
.color-blue { color: #001F6B;}
.color-lblue { color: #E7ECF7;}
.color-wh{ color: #fff;}
.color-gr { color: #D6F0A8;}
.color-dgr { color: #465A64;}
.color-vgr { color: #73AE2E;}
.color-yg { color: #ABE8B9;}
.color-lgr{ color: #F4F595;}
.color-ye{ color: #FFF200;}
.color-ly{ color: #FFF9F4;}
.color-or{ color: #FFEABA;}
.color-prp{ color: #721DC8;}
.color-gray{ color: #7c7c7c;}
.color-bw{ color: #4D0001;}
.color-bk{ color: #000;}

.bg-red { background: #E40046;}
.bg-pn { background: #FCDBE4;}
.bg-blue { background: #001F6B;}
.bg-lblue { background: #E7ECF7;}
.bg-gr { background: #D6F0A8;}
.bg-dgr { background: #465A64;}
.bg-lgr { background: #F4F595;}
.bg-vgr { background: #73AE2E;}
.bg-yg { background: #ABE8B9;}
.bg-ye { background: #FFF200;}
.bg-lye { background: #FFF9F4;}
.bg-or { background: #FFEABA;}
.bg-lor { background: #ffecdc;}
.bg-bk { background: #000333;}
.bg-wh { background: #fff;}
.bg-gray { background: #7c7c7c;}
.bg-bw { background: #4D0001;}

.bg-box {
    padding: 1.5rem;
    border-radius: 5px;
    background: #EDF2F7;
    margin-bottom: 2rem;
}
.wh-box {
    padding: 1.5rem;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    color: #000;
    font-weight: 700;
    line-height: 1.3;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    padding: 0;
}
h1 { font-size: 38px;}
h2 { font-size: 32px;}
h3 { font-size: 29px;}
h4 { font-size: 26px;}
h5 { font-size: 22px;}
h6 { font-size: 15px;}


.tit-color {
    color: var(--main-color);
    font-weight: 700;
}
.box-wh {
    padding: 2.5em 3em;
    background-color: #fff;
    border-radius: 50px;
    box-sizing: border-box;
}
.box-gray {
    padding: 2.5em 3em;
    background-color: #F8F8F8;
    border-radius: 50px;
    box-sizing: border-box;
}

/*--- grid-box ---*/
.grid-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.5rem;
}
.grig-wrap0 { grid-gap: 0; }
.grid1 { grid-template-columns: repeat(1, 1fr); grid-gap: 0;}
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid5 { grid-template-columns: repeat(5, 1fr); }

hr { margin: 10px 0; border-top: 3px solid #466E6E; }

p {
    margin: 0 auto 1.5rem;
    padding: 0;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
a:link,a:visited,a:hover,a:active{ text-decoration: none;}
a {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
a[href^="tel:"] {
    color: var(--normal-color);
}


section {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}
.sec-inline img{
    max-width: 100%;
    height: auto;
}
.sec-inline-start { padding-inline-start: calc((100vw - 1000px) / 2);}
.sec-inline-end { padding-inline-end: calc((100vw - 1000px) / 2);}
.container-fluid{ padding: 0;}


ul, dd, figure {
    margin-bottom: 0;
}
ol { line-height: 2;}

/* ナビゲーション */
#head { 
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 85px;
    z-index: 999;
    transition: .3s;
}

#head h1 { margin: 0}
.h-logo .brand {
    max-width: 100px;
    width: 20vw;
    height: 100%;
    object-fit: contain;
}
.h-logo a {
    display: block;
    width: 100%;
    height: 100%;
}


.h-logo { 
    position: absolute;
    height: 85px;
    left: 15px;
}

.menu-wrap { 
    position: relative;
    height: 100%;
    transition: .3s;
    padding-top: 15px;
}
.menu-list { 
    position: relative;
    right: 0;
    height: 100%;
    align-items: center;
}
.menu-list > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding-left: 0;
    column-gap: 1.5em;
    margin-right: 1.5em;
    
}
.menu-list > ul > li {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-list > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: .25em;
    color: var(--normal-color);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.05em;
    transition: .3s ease-out;
}
.menu-list > ul > li > a img {
    width: 1.5em;
    height: 1.5em;
    aspect-ratio: 1;
}

.nav-menu ul { 
    position: relative;
    margin-bottom: 0;
}
.nav-menu ul li { 
    position: relative;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.nosc #head {
    position: fixed;
    top: 0;
}
.nosc .menu-list {
    display: none !important;
}
.nosc .h-logo {
    display: none;
}
.nosc .openbtn { 
    top: 15px;
}

/* ハンバーガーメニュー */
.openbtn {
    position: absolute;
    top: 25px;
    right: 2%;
    z-index: 1001;
    cursor: pointer;
    width: 45px;
    height: 45px;
    aspect-ratio: 1;
    border-radius: 100vmax;
    transition: 0.3s;
    background: var(--main-color);
}
#head.act .openbtn { right: 0;}
.openbtn span {
    display: block;
    transition: 0.3s;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 1px;
    background-color: #fff;
    width: 18px;
}
.openbtn span:nth-of-type(1) {
    top: 35%; 
}
.openbtn span:nth-of-type(2) {
    top: 50%; 
}
.openbtn span:nth-of-type(3) {
    top: 65%; 
}
.openbtn.active span:nth-of-type(1) {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(0px) rotate(-45deg);
}
.openbtn.active span:nth-of-type(2) {
    display: none;
}
.openbtn.active span:nth-of-type(3) {
    top: 50%;
    left: 50%;
    transform:  translateX(-50%) translateY(0px) rotate(45deg);
}
.openbtn.active span { width: 24px;}
/* ×印が横幅を広くしても消えない設定 */
.openbtn.active { display: block !important;}
.nosc .nav-menu { opacity: 0;}
.nosc .sp-menu.d-md-none {
    display: flex !important;
}
.nosc .menu-wrap .d-lg-none {
    display: flex !important;
}
.nosc .menu-wrap .d-xl-none {
    display: flex !important;
}
.nosc #top-menu { display: none !important;}

/* ハンバーガーメニュー内部 */
#clickarea {
    position: fixed;
    min-width: 300px;
    width: 30%;
    height: 100vh;
    top: 0;
    right: 0;
    background: var(--main-color);
    transition: .3s;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    overflow-x: hidden;
}
#clickarea.panelactive {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}
#clickarea.panelactive .click-list {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    z-index: 0;
}

#clickarea .click-list {
    padding-top: calc(2rem + 80px);
    padding-inline: 2rem;
    padding-bottom: 20rem;
}

.click-menu {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
}
.click-menu ul {
    list-style: none;
}
.click-menu > ul {
    position: relative;
    padding: 0;
}
.click-menu > ul > li {
    font-size: 14px;
    margin-bottom: 1.5rem;
}
.click-menu > ul > li .large-txt {
    font-family: var(--font-ja);
    font-size: 28px;
}
.click-menu > ul a {
    color: #fff;
    font-weight: 500;
}

/* ボタン類 */
.btn-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: 175px;
    height: 71px;
    overflow: hidden;
    right: -1px;
    background: #000;
    transition: .3s ease-out;
    z-index: 10;
    border-radius: 0 100vmax 100vmax 0;
    border: 1px solid #000;
}

.btn-menu a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    transition: .3s;
    padding: .5em 1.75em .5em 1.75em;
}


.btn01, .btn02 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: var(--btn-width);
    width: 80%;
    height: var(--btn-height);
    border-radius: 100vmax;
    border: 1px solid #000;
    text-align: center;
    overflow: hidden;
    transition: .3s ease-out;
    z-index: 10;
}
.btn02 {
    max-width: 160px;
}

.btn01 a, .btn02 a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    letter-spacing: -0.02em;
    border-radius: 100vmax;
    white-space: nowrap;
    color: #000;
    transition: .3s ease-out;
    padding-right: 2em;

    &::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 1.35em;
        transform: translateY(-50%);
        transition: .3s;
        width: 1em;
        height: 1em;
        max-height: 12px;
        background: url(../img/icon-right.png) center no-repeat;
        background-size: contain;
        z-index: 10;
    }
}
.btn02 a { 
    color: #000;

    &::after {
        filter: brightness(0) invert(1);
    }
}

.back-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    max-width: 300px;
    width: 80%;
    height: var(--btn-height);
    border-radius: 100vmax;
    border: 1px solid #000;
    text-align: center;
    overflow: hidden;
    transition: .3s ease-out;
    z-index: 10;
}
.back-btn a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 16px;
    letter-spacing: -0.02em;
    border-radius: 100vmax;
    white-space: nowrap;
    color: #000;
    transition: .3s ease-out;
}

.tel-btn {
    display: flex;
    align-items: center;
    gap: .5em;
    font-size: 36px;

    img {
        width: 1em;
        height: 1em;
        object-fit: contain;
    }
}
.tel-btn a {
    color: #333;
    font-weight: 500;
    line-height: 1;
}

/* TOPのsection設定 */
.sec-wrap {
    position: relative;
    width: 85%;
    max-width: 1000px;
    margin-inline: auto;
}
.fade-in-up {
    opacity: 0;
    transform: translateY(-40px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}
.is-visible {
    opacity: 1;
    transform: translateY(0);
}
button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
}
input:not([type=checkbox],[type=radio]) {
    appearance: none;
    border: none;
    outline: none;
}
input[type=checkbox], input[type="radio"] {
    cursor: pointer;
}

:root {
    --main-color: #5DAAE3;
    --sub-color: #FAF8F5;
    --normal-color: #333;

    --btn-width: 160px;
    --btn-height: 45px;

    --font-ja: "Noto Serif JP", serif;
}
.main-color { color: var(--main-color);}
.sub-color { color: var(--sub-color);}

/* TOP */
#maintop {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    padding-bottom: 5rem;

    &::after {
        content: "";
        position: absolute;
        top: -9vh;
        left: 0;
        width: 100%;
        height: 100%;
        background: url(../img/main-bg.png) top center no-repeat;
        background-size: cover;
        z-index: -1;
    }
}
.main-img {
    display: flex;
    justify-content: flex-end;
    width: 60vw;
    margin-left: auto;
    transform: translateY(4rem);
}
.main-img img {
    width: 60vw;
    object-fit: contain;
}
.main-txt {
    position: absolute;
    top: 34%;
    left: 10%;
    max-width: 400px;
    width: 35vw;
    z-index: 20;
}

.main-box {
    position: relative;
    z-index: 10;
}


.c-motion {
    position: absolute;
    transform: translateX(-50%);
}
.cloud01 {
    top: -3%;
    right: 20%;
    max-width: 205px;
    width: 16vw;

    animation: cloud-lb 10s ease-in-out infinite;
}
@keyframes cloud-lb {
	from { transform: translate(0px,0px); }
    to { transform: translate(0px,0px); }
    0% { transform: translate(0px,0px); } 
    50% { transform: translate(-30%,10%); }
    100% { transform: translate(0px,0px); }  
}
.cloud02 {
    top: 10%;
    left: 35%;
    max-width: 145px;
    width: 12vw;

    animation: cloud-rt 10s ease-in-out infinite;
}
@keyframes cloud-rt {
	from { transform: translate(0px,0px); }
    to { transform: translate(0px,0px); }
    0% { transform: translate(0px,0px); } 
    50% { transform: translate(30%,-10%); }
    100% { transform: translate(0px,0px); }  
}
.cloud03 {
    top: 46%;
    left: 52%;
    max-width: 105px;
    width: 8vw;

    animation: cloud-lb 10s ease-in-out infinite;
}

.top-page hgroup {
    h2 {
        font-size: 50px;
        font-weight: 400;
        margin-bottom: 0.25rem;
        font-family: var(--font-ja);
    }
    span {
        font-size: 16px;
        color: var(--main-color);
    }
}
.top-page #sec02, .top-page #sec03, .top-page #sec04 {
    &::before {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: -1;
    }
}
.top-page #sec02 {
    padding-top: 10rem;

    &::before {
        content: "";
        background: url(../img/border01.png) top center repeat-x;
        background-size: contain;
    }
}
.top-page #sec03 {
    padding-top: 10rem;

    &::before {
        content: "";
        background: url(../img/border02.png) top center repeat-x;
        background-size: contain;
    }
}
.top-page #sec04 {
    padding-top: 10rem;
    background: var(--sub-color);

    &::before {
        content: "";
        background: url(../img/border01.png) top center repeat-x;
        background-size: contain;
    }
}
.block-center {
    display: flex;
    justify-content: center;
}

/* #sec01 */
#sec01 {
    padding-bottom: 6rem;
}
#sec01 hgroup { margin-bottom: 3rem;}
.sec01-flex {
    display: flex;
    gap: 3rem;
}
.sec01-txt > p {
    line-height: 2.2;
}
.sec01-img {
    max-width: 495px;
}
.sec01-list {
    list-style: none;
    padding-left: 0;
    margin-top: 3.75rem;
}
.sec01-list li {
    position: relative;
    padding-left: 3em;
    margin-bottom: 1.5rem;

    &::before {
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 18px;
        line-height: 1;
        color: var(--main-color);
        width: 40px;
        aspect-ratio: 1;
        border: 1px solid var(--main-color);
        border-radius: 100vmax;
        padding-bottom: 2px;
        z-index: 10;
    }
}
.sec01-list li {
    &:nth-of-type(1)::before {
        content: "L";
    }
    &:nth-of-type(2)::before {
        content: "AE";
    }
    &:nth-of-type(3)::before {
        content: "T";
    }
    &:nth-of-type(4)::before {
        content: "F";
    }
}

/* #sec02 */
#sec02 {
    background: var(--sub-color);
}
#sec02 hgroup { 
    text-align: center;
    margin-bottom: 4rem;
}
.sec02-wrap {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 4.5rem 6.5rem;
}
.sec02-wrap .item p { line-height: 2;}
.sec02-wrap figure {
    margin-bottom: 1.5rem;
}
.sec02-wrap .tit {
    font-size: 26px;
    font-weight: 500;
    font-family: var(--font-ja);
    margin-bottom: 1.5rem;
}


/* #sec03 */
#sec03 hgroup { margin-bottom: 0;}
.sec03-txt {
    width: calc(100% - 17em);
    margin-left: auto;
}


/* #sec04 */
#sec04 { padding-top: 10rem;}
#sec04 hgroup { margin-bottom: 2rem;}


/* フッター*/
footer {
    position: relative;
    padding-top: 3rem;
    padding-bottom: 2rem;
    background: #fff;
    z-index: 10;
}
.ft-txt {
    max-width: 1000px;
    width: 85%;
    margin-inline: auto;
}
.ft-address {
    font-size: 16px;
    line-height: 2.2;
    text-align: left;
}
.ft-logo {
    margin-bottom: .75rem;

    img {
        max-width: 200px;
        width: 100%;
        object-fit: contain;
    }
}
.cr {
    font-size: 14px;
    text-align: end;
    margin-right: 3.5%;
}

/* contact */
.contact-form {
    margin-top: 4rem;
}
form#mailformpro { padding: 0 !important;}
.contact-form dl > div {
    margin: 0;
    margin-bottom: 2rem;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.contact-form dl > div.dd-start {
    align-items: flex-start;
}

.contact-form dl > div:last-child { border-bottom: none;}
form#mailformpro dl dt {
    display: flex;
    align-items: center;
    gap: 1em;
    width: auto;
    float: none;
    font-size: 18px;
    font-weight: 400;
    padding: 0;
    text-align: left;
    border-top: none;
    margin: 0px;
}
form#mailformpro dl dd {
    position: relative;
    border-top: none;
    margin: 0px;
    padding: 1px;
    text-align: left;
    border-radius: 5px;

    width: calc(100% - 310px);
}
form#mailformpro dl dd .form-box {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 400;
}
form#mailformpro dl dd .form-box input::placeholder, form#mailformpro dl dd .form-box textarea::placeholder { 
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
}
form#mailformpro label.mfp_checked {
    display: flex !important;
    gap: .25em;
}
form#mailformpro input:not([type=checkbox]), form#mailformpro label, form#mailformpro textarea, .scroll-txt {
    border: 1px solid var(--normal-color) !important;
    border-radius: 5px !important;
}
.problem ~ div.mfp_err {
    position: absolute;
    top: calc(100%);
    left: 0;
    margin-top: 0 !important;
    background-position: center left;
}
div.mfp_err.txtarea-err {
    position: absolute;
    top: calc(100%);
    left: 0;
    margin-top: 0 !important;
    background-position: center left;
}
.form-cb { 
    display: block !important;
    background: #fff;
    color: #000;
    width: 100%;
    padding: 12.5px !important;
    border-radius: 0 !important;
}
.form-cb input[type=checkbox] {
    position: relative;
    display: block;
    width: 1.25em;
    height: 1.25em;
    aspect-ratio: 1;
    border-radius: 4px !important;
    border: none !important;
    appearance: initial;
}
input[type='checkbox']:checked {
    appearance: auto;
}
.form-cb input[type=checkbox]::before {
    content: "";
    display: inline-block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border: 1px solid var(--normal-color);
    border-radius: 4px;
}
.form-cb input[type='checkbox']:checked::before {
    border: 1px solid #0d6efd;
}
.contact-form dl > div.dd-start dt { margin-top: 1rem !important;}

.contact-form dl label {
    margin-bottom: 0;
}
.contact-form dl dd {
    width: 100%;
    margin: 0;
}
.contact-form .must {
    color: var(--main-color) !important;
    font-size: 18px!important;
    line-height: 1!important;
    display: block;
    margin-inline: 0 !important;
    padding: 0!important;
    background: transparent !important;
    border-radius: 0!important;
    vertical-align: baseline!important;
    float: none !important;
    text-shadow: none;
    box-shadow: none;
    border: none;
    text-wrap: nowrap;
}
.contact-form dl dd textarea {
    width: 100% !important;
    max-height: 500px;
    height: 30vh !important;
    overflow-y: scroll;
}
.scroll-txt {
    width: 100%;
    max-height: 260px;
    padding: 0.5rem;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    padding: 1em;
    background: #fff;
}
.scroll-txt ul {
    list-style: disc;
    margin-bottom: 1rem !important;
    padding-left: 0 !important;

    li { margin-bottom: 1rem !important;}
}
.simplebar-content {
    padding: .75rem 1rem !important;
}
form#mailformpro label.mfp_not_checked {
    display: flex !important;
    align-items: stretch;
    gap: .5em;
    border: none;
}
.mfp_buttons button[type=submit] {
    background: transparent;
    border: 1px solid var(--normal-color);
    color: var(--normal-color) !important;
    text-shadow: none !important;
    max-width: var(--btn-width);
    width: 100%;
    max-height: var(--btn-height);
    padding: .5rem 2rem;
    transition: .3s ease-out;
    border-radius: 100vmax;
}
.mfp_buttons { margin-top: 3rem;}
.mfp_buttons button[type=submit], .mfp_element_button { 
    box-shadow: none !important;
    text-shadow: none !important;
}
.mfp_buttons button[type=submit] span {
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.02em;
    transition: .3s ease-out;
}
#mfp_button_cancel {
    border: none !important;
}
table#mfp_confirm_table tr th {
    color: #fff;
    background: var(--main-color);
}
table#mfp_confirm_table tr th, table#mfp_confirm_table tr td { font-size: 16px !important;}
table#mfp_confirm_table tr td { background: #fff;}
table#mfp_confirm_table tr:last-child th, table#mfp_confirm_table tr:last-child td { border-bottom: solid 1px #CCC !important;}
.contact-form dl dd input, .contact-form dl dd textarea { margin: 0 !important;}

.mfp_element_text,
.mfp_element_number,
.mfp_element_select-one,
.mfp_element_email,
.mfp_element_tel,
.mfp_element_textarea,
.mfp_element_date,
.mfp_element_password { 
    box-shadow: none;
    width: 100%;
    padding: 10px 15px;
    border-radius: 0;
    border: none;
}
.mfp_element_text,
.mfp_element_number,
.mfp_element_select-one,
.mfp_element_email,
.mfp_element_tel,
.form-cb {
    max-width: 470px;
}
form#mailformpro label { white-space: wrap;}
form#mailformpro dl dd ul, form#mailformpro dl dd ol {
    padding-left: 1em;
}
form#mailformpro dl dd ol li ul li {
    list-style: disc;
}
form#mailformpro dl dd ol li {
    list-style: auto;
    margin-bottom: 0.5rem;
}
.mfp_achroma { background-color: transparent;}
.mfp_colored { background-color: transparent;}
.ph-txt {
    position: absolute;
    font-size: 14px;
    color: #E5E5E5;
    opacity: .75;
}
textarea::placeholder, input::placeholder { 
    color: #C1C1C1;
}
table#mfp_confirm_table tr th, table#mfp_confirm_table tr td {
    font-size: 21px;
}
div#mfp_overlay_inner { width: 1200px;}
#mfp_button_send {
    background: #fff;
    border: 1px solid var(--main-color);
    color: var(--main-color);
    transform: .3s;
}
#mfp_button_cancel {
    background: #ccc;
    color: #000;
    text-shadow: none;
}


/*--- table ---*/

/* table-scroll */
.scroll-hint-icon { top: 50%!important; transform: translateY(-50%)!important; }
.scroll-hint-icon:before { width: 30px!important; height: 30px!important; }
.table-calc_list01 table {
    max-width: 100%;
}
.table-calc_list01 th,.table-calc_list01 td{
font-size: 0.65em !important;
padding: 3px !important;
}
.js-scrollable {
    width: 100%;
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    /* margin: 2.5rem auto; */
}

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

.about-list {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.about-list dt {
    width: 20%;
    font-weight: 400;
    display: flex;
    align-items: flex-start;
}
.about-list dt, .about-list dd {
    padding: 1.5rem;
    border-bottom: 1px solid #333;
    margin-bottom: 0;
}
.about-list dd{
    width: 80%;
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    line-height: 1.8;
}

.bg-wrap {
    padding: 1.5rem 1rem;
    background: #5d5d5d;
    margin-bottom: 2rem;
}
.about-tbl {
    width: 100%;
    margin-bottom: 2rem;

    th, td {
        vertical-align: top;
        padding: 1rem;
        font-weight: 400;
        line-height: 1.8;
    }
    tr:not(:last-child) th, tr:not(:last-child) td {
        border-bottom: 1px solid #4B4B4B;
    }
}
.about-tbl ul {
    list-style: none;
    padding: 0;
}
.about-tbl ul li {
    line-height: 2;
}

.about-flex {
    display: flex;
}
.about-flex .item {
    padding: 1rem;

    img {
        width: 100%;
        max-height: 210px;
        object-fit: contain;
        margin-inline: auto;
    }
}

.thanks-page footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}
div.mfp_thanks {
    padding: 2rem 0 !important;
}

div#mfp_overlay_background {
    height: 100vh !important;
}


@media (min-width: 1300px) {
    .sec-inline-start, .sec-inline-end {
        padding: 0;
    }

    .main-txt {
        max-width: 800px;
        width: 30vw;
    }

    .cloud03 {
        top: 38vh;
        left: 55%;
        max-width: 200px;
        width: 8vw;
    }
}
@media (max-width: 991px) {
    .h-logo .brand { 
        max-width: none;
        width: 70px;
    }
    .nosc #head { width: 100%;}
    .nosc .h-logo .brand { display: none;}
    .openbtn { 
        
    }
    .breadcrumb ul {
        padding-inline: initial;
    }
    .sec-inline-start {
        padding-inline: initial;
        padding-left: 7.5%;
    }
    .sec-inline-end {
        padding-inline: initial;
        padding-right: 7.5%;
    }
    .sec-inline {
        padding-inline: initial;
        padding-left: 6%;
        padding-right: 6%;
    }
    .grid-box {
        grid-gap: 1.5vw;
    }

    #maintop {
        padding-bottom: 2rem;

        &::after {
            content: "";
            top: 0;
            max-height: 775px;
            height: 100svh;
            background: url(../img/main-bg-lg.png) bottom center no-repeat;
            background-size: cover;
        }
    }
    .main-img {
        max-width: none;
        max-width: 650px;
        width: auto;
    }
    .main-img img {
        max-width: none;
        max-width: 650px;
        width: auto;
        height: 100svh;
        object-position: right;
    }

    .cloud01 {
        top: -3%;
        right: 15%;
        max-width: 140px;
    }
    .cloud02 {
        top: 5%;
        left: 30%;
        max-width: 110px;
    }
    .cloud03 {
        top: 21%;
        left: auto;
        right: 12rem;
        max-width: 80px;
        width: 8vw;
    }


    .main-txt {
        max-width: 400px;
        top: 20%;
    }

    .sec03-txt {
        width: calc(100% - 7em);
    }

    .ft-wrap {
        margin-bottom: 2rem;
    }
}
/* SPサイズ */
@media (max-width: 767px) {
    /* 基礎設定 */
    html, body { 
        /* overflow-x: hidden; */
        font-size: 16px;
    }
    .h-logo .brand { 
        width: 50px;
    }
    
    /* .openbtn { right: 1rem;} */
    h1 { font-size: 26px; }
    h2 { font-size: 24px; }
    .top-page hgroup {

        h2 {
            font-size: 30px;
        }

        span {
            font-size: 16px;
        }
    }
    h3 { font-size: 22px; }
    h4 { font-size: 20px; }
    h5 { font-size: 18px; }
    h6 { font-size: 16px; }
    .grid-box { grid-gap: 1rem;}
    
    .box-wh, .box-gray, .box-grad { padding: 2rem; }
    .is-hidden{
        visibility: hidden;
        opacity: 0;
    }
    .sec-inline {
        padding-left: 7.5%;
        padding-right: 7.5%;
    }
    section { padding: calc(40px + 1rem) 0 calc(40px + 1rem);}
    
    #clickarea.panelactive .click-list { width: 100%;}
    #clickarea { 
        width: 100%;
    }
    .click-menu {
        display: block;
    }
    .click-menu ul.menu-main { width: 100%;}
    .click-menu ul.menu-main > li {
        padding-bottom: 1.5rem;
    }
    .click-menu ul.menu-main .menu-sub {
        & > li:last-child {
            padding-bottom: 0;
        }
    }

    .nosc .menu-wrap { 
        width: 100%;
    }

    .main-img {
        width: 90vw;
    }
    .main-img img {
        width: 90vw;
        /* height: 100svh; */
    }

    .cloud03 {
        top: 20.5%;
        right: 14rem;
        max-width: 80px;
        width: 8vw;
    }

    #sec01 hgroup { margin-bottom: 1.5rem;}

    .sec01-flex {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .sec01-list li {
        margin-bottom: 1.5rem;

        &::before {
            font-size: 16px;
            width: 35px;
        }
    }
    .sec01-img { 
        width: 60%;
    }

    .sec02-wrap {
        gap: 4rem 3rem;
    }

    .flex-md-center {
        display: flex;
        justify-content: center;
    }

    .sec03-txt {
        width: 100%;
    }

    .contact-form { margin-top: 1.5rem;}

    .contact-form dl dd textarea { 
        width: 100%;
    }
    .contact-form dl > div.contact-short-item { display: block;}
    .contact-form dl dt {
        width: 100%;
        margin-right: 0;
        margin-bottom: auto;
        padding: 5px 0;
    }
    .contact-form dl dd { 
        width: 100%;
    }
    .contact-form dl dd input, .contact-form dl dd textarea { max-width: 100%;}
    .contact-form dl > div {
        display: block;
    }
    .contact-bg p { 
        margin: 1.5rem auto;
    }
    form#mailformpro dl dt {
        display: flex;
        align-items: center;
        gap: .25rem;
        width: 100%;
        margin-right: 0;
        margin-bottom: .5rem;
        text-align: left;
    }
    form#mailformpro dl dd {
        width: 100%;
    }
    table#mfp_confirm_table tr th, table#mfp_confirm_table tr td {
        font-size: 18px;
    }
    .mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password, form#mailformpro label {
        margin: 0 !important;
    }
    .mfp_buttons button[type=submit] span { font-size: 16px;}
    .contact-form dl dd input, .contact-form dl dd textarea { font-size: 16px;}
    .contact-form .must { font-size: 16px !important;}
    form#mailformpro dl dt, .scroll-txt {
        font-size: 16px;
    }
    form#mailformpro dl dd .form-box input::placeholder, form#mailformpro dl dd .form-box textarea::placeholder { font-size: 16px;}
    form#mailformpro label.mfp_not_checked { 
        font-size: 16px;
        margin-top: 0;
    }
    .contact-form dl > div.dd-start dt { margin-top: 0 !important;}


    .about-flex {
        display: block;
    }
    .about-flex .item {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 575px) {
    .grid2 { grid-template-columns: repeat(1, 1fr) !important; }
    .grid3 { grid-template-columns: repeat(1, 1fr) !important; }
    .grid4 { grid-template-columns: repeat(2, 1fr) !important; }
    .grid5 { grid-template-columns: repeat(2, 1fr) !important; }
    /* .btn01 { max-width: none;} */

    .openbtn { 
        width: 32px;
        height: 32px;
        right: 5%;
    }
    .openbtn span {
        width: 12.5px;
    }
    .openbtn.active span { width: 24px;}
    .h-logo {
        left: 5%;
        height: 60px;
    }

    .sec-wrap {
        width: 85%;
    }
    .table th, .table td {
        display: block;
        width: 100%;
    }
    .box-wh, .box-gray, .box-grad { padding: 2rem; }
    .sec-inline { padding-inline: initial; padding-left: 7%; padding-right: 7%; }
    
    .js-scrollable {
        width: 100%;
        overflow: scroll;
    }

    #maintop {
        &::after {
            content: "";
            height: 100vh;
        }
    }

    #sec01 {
        padding-bottom: 5rem;
    }

    .sec01-list { margin-top: 2rem;}

    .top-page #sec02 {
        padding-top: 6rem;
        padding-bottom: 5rem;

        &::before {
            content: "";
            background: url(../img/border01-sp.png) top center repeat-x;
            background-size: contain;
            height: 5rem;
        }
    }
    .top-page #sec03 {
        padding-top: 6rem;
        padding-bottom: 5rem;

        &::before {
            content: "";
            background: url(../img/border02-sp.png) top center repeat-x;
            background-size: contain;
            height: 5rem;
        }
    }
    .top-page #sec04 {
        padding-top: 6rem;

        &::before {
            content: "";
            background: url(../img/border01-sp.png) top center repeat-x;
            background-size: contain;
            height: 5rem;
        }
    }
    .nosc .openbtn { 
        top: 30px;
    }

    #maintop {
        max-height: 550px;
        height: 100dvh;

        &::after {
            content: "";
            height: 75svh;
            background: url(../img/main-bg-sp.png) bottom center no-repeat;
            background-size: cover;
        }
    }
    .main-img {
        max-width: none;
        width: 85vw;
        max-height: 500px;
        transform: translateY(0rem);
    }
    .main-img img {
        max-width: none;
        width: 85vw;
        max-height: 550px;
        object-position: top right;
        margin-top: 80px;
    }

    .cloud01 {
        top: -3%;
        right: 10%;
        max-width: 75px;
        width: 25vw;
    }
    .cloud02 {
        top: 10%;
        left: 45%;
        max-width: 50px;
        width: 20vw;
    }
    .cloud03 {
        top: 30%;
        right: 2rem;
        max-width: 40px;
        width: 15vw;
    }

    .main-txt {
        max-width: 280px;
        width: 55vw;
        top: 22.5%;
    }

    .top-page hgroup {
        h2 {
            margin-bottom: 0.25rem;
        }
    }
    #head {
        height: 55px;
        top: 0px;
    }

    #sec01 {
        padding-top: 100px;
    }

    .sec02-wrap .tit { font-size: 21px;}
    .sec02-wrap {
        grid-template-columns: auto;
    }

    .tel-btn a { font-size: 28px;}

    .sec01-img { 
        max-width: 245px;
        width: 85%;
    }

    .ft-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 1rem;
    }
    .mfp_element_text, .mfp_element_number, .mfp_element_select-one, .mfp_element_email, .mfp_element_tel, .mfp_element_textarea, .mfp_element_date, .mfp_element_password { 
        font-size: 1em;
        padding: 10px;
    }

    .grid-column2 .item { font-size: 18px;}

    .about-list dt, .about-list dd {
        width: 100%;
    }
    .about-list dt {
        font-size: 16px;
        border-bottom: none;
        padding-bottom: 0.5rem;
    }
    .about-list dd {
        padding-top: 0;
        padding: .5rem 1.5rem 1.5rem;
    }
    /* .about-list dd {
        font-size: 14px;
    } */
    

    .about-tbl {
        th, td {
            display: block;
            padding: 0rem .5rem;
        }
        tr:not(:first-child) th {
            padding-top: 1rem;
         }
        tr:not(:last-child) th {
            border-bottom: none;
        }
        tr:first-child td {
            border-top: none;
        }
        th { 
            font-size: 18px;
            padding-bottom: 1rem;
        }
        td {
            font-size: 14px;
            border-top: none;
            padding-bottom: 1rem;
            line-height: 1.8;
        }
    }
    .about-tbl ul li {
        margin-bottom: .5rem;
    }
}

@media (any-hover: hover) {
    .menu-list ul li a:hover, .ft-list a:hover {
        color: var(--main-color);
    }
    .ft-link .ft-menu > ul {
        li {
            a:hover {
                color: var(--main-color);       
            }
        }
    }
    .btn01:hover {
        background: var(--main-color);
        border: 1px solid var(--main-color);
    }
    .btn01:hover a {
        color: #fff;
        &::after {
            content: "";
            filter: brightness(0) invert(1);
        }
    }
    .btn02:hover a { 
        color: #000;
        filter: brightness(0) invert(0);
    }
    .btn02:hover {
        background: var(--sub-color);
    } 
    .btn-tel:hover {
        background: var(--sub-color);
    }
    .back-btn:hover {
        background: var(--main-color);
        border: 1px solid var(--main-color);

        a {
            color: #fff;
        }
    }
    .mfp_buttons button[type=submit]:hover {
        background: var(--main-color) !important;
        border: 1px solid var(--main-color) !important;

        span {
            color: #fff !important;
        }
    }
    #mfp_button_send:hover {
        color: #fff;
        background: var(--main-color);
    }


    .ft-txt a:hover { opacity: .5;}
}