@charset "utf-8";

:root {
    --color-text-main: #1A1A1A;
    --color-main: #2C88BD;
    --color-secondary: #C8D7E0;
    --color-tertiary: #395780 ;
    --color-bg: #F0FCFF;
    --color-white: #FFFFFF;
    --color-over: #FFFFFF;
    --color-bg2: #E6EDF1;
    --color-bg3: #F4F4F4;
    --color-error: #F45353;
    --color-border: #A1A1A1;

    --font-main: "Noto Serif JP", serif;
    --font-secondary: "Cormorant Garamond", serif;

    --font-size-ss: 12px;
    --font-size-s: 13px;
    --font-size-m: 15px;
    --font-size-l: 20px;
    --font-size-l1: 24px;
    --font-size-l2: 30px;
    --font-size-l3: 100px;
    --font-size-l4: 161px;

    --content-size1: 1280px;
    --content-size2: 1024px;

}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 64px;

}
body {
    font-family: var(--font-main);
    line-height: 1.6;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: var(--font-size-m);
    min-width: 1280px;
    scroll-padding-top: 500px;


}

main {
    position: relative;
    overflow: hidden;
}

main::before {
    position: absolute;
    right:-300px;
    top:-100px;
    content: url(/common/img/main-bg2.svg);
    z-index: -2;
}

h3,
h4,
strong {
    line-height: 1.4;
}

small {
    font-size:0.6em !important;
}
.wrap {
    overflow: hidden;
}

.subFont {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-style: normal;
}


/*========= common ===============*/

.pc-only {
    display: block;
}
.sp-only {
    display: inherit;
}
a {
    transition-property: all;
    transition-duration: .8s;
}

a:hover  {
    opacity: 0.5;

}

.content-size1 {
    width:100%;
    max-width:var(--content-size1);
    margin:0 auto;

}

.content-size2 {
    width:100%;
    max-width:var(--content-size2);
    margin:0 auto;

}

.content-size3 {
    width:100%;
    max-width:800px;
    margin:0 auto;

}

.flex {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
}



.flex.flex-ai-start {
    align-items: flex-start;
}
.flex.flex-ai-stretch {
    align-items: stretch;
}
.flex.flex-jc-between {
    justify-content: space-between;
}

.flex.flex-jc-start {
    justify-content: flex-start;
}

.flex.flex-reverse {
    flex-flow: row-reverse;
}


.title-styleA {
    text-align: left;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}
.title-styleA h2 {
    font-size: var(--font-size-l2);
    font-weight: 700;

}
.title-styleA h3 {
    font-family: var(--font-secondary);
    font-weight: 500;

    font-style: normal;
    font-size:var(--font-size-m);
    color:var(--color-main);
    line-height: 1.0;
    margin-top:1em;

}



.title-styleA p {
    margin:0 0 30px;
}

.title-illust {
    position: absolute;
    right:0;
    top:0;
    transform: translateY(-100%);
    transform-origin:bottom right;

}

.title-styleB {
    text-align: center;
    position: relative;
    padding:60px 0;
    font-weight: 700;
}


.title-styleB h2  {
    position: relative;
    font-size:var(--font-size-l2);
    z-index: 2;


}

.title-styleB h3  {
    z-index: 1;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -55%);
    font-size:var(--font-size-l3);
    color:var(--color-secondary);
    font-weight: 400;
    line-height: 1.0;
    letter-spacing: 0.05em;

}

.title-styleB.bg-white h3  {
    color:var(--color-bg2);

}

.text-styleB {
    font-family: var(--font-secondary);
    color:var(--color-tertiary);
    transform: rotate(-10deg);
    transform-origin:0 100%;
    font-weight:400;
}


.title-styleC {
    color:var(--color-over);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

}

.title-styleC h2 {

    font-size: var(--font-size-l2);
    margin:0 0 30px;
}

.title-styleC h3 {      
    font-size: var(--font-size-l3);
    font-family: var(--font-secondary);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.0;
}


.no-top-padding {
    padding-top:0 !important;
}

.padding-style1 {
    padding:120px 0 80px;

}
.padding-style2 {
    padding:120px 0 100px;
    margin:100px 0 0;


}

.bnr-style01 {
    width: 1000px;
    display: flex;
    align-items: center;
    background-color: var(--color-main);
    color:var(--color-over);
}

.bnr-style01 .txt {
    padding:0 50px;
    width: 50%;
}

.bnr-style01 .txt p {
    padding:0.5em 0;
}

.bnr-style01 .txt h3 {
    font-size: var(--font-size-l1);
    margin-bottom:0.5em;

}

.bnr-style01 .img {
    width: 50%;

}

.bnr-style01 .img img {
    object-fit: cover;
    width:100%;
}

.btn-styleA {
    font-size: var(--font-size-l);
    position: relative;
    display: inline-block;
    background-color: var(--color-main);
    color:var(--color-over);
    padding:1em 2em;
    min-width: 300px;
    border-radius: 5px;
    text-align: center;
    z-index: 1;

}
/*
.btn-styleA::after {
    position: absolute;
    content: url(/common/img/btn-mark1.svg);
    right:5px;
    bottom:0;

}
    */
.btn-styleA img {
    padding:0 0.5em;
    vertical-align: middle;
    height:1.2em;
    display: inline;

}
.btn-styleB {

    position: relative;
    display: flex;
    flex-wrap: nowrap;
    background-color: var(--color-main);
    color:var(--color-over);
    padding:0.7em 1em 0.5em;
    min-width: 300px;
    border-radius: 5px;
    text-align: center;
    z-index: 1;
    align-items: center;
    justify-content: center;
    font-size:var(--font-size-l3);

    min-height:90px;

}
.btn-styleB::after {
    position: absolute;
    content: url(/common/img/btn-mark1.svg);
    right:5px;
    bottom:-5px;

}
.btn-styleB > div {

}
.btn-styleB > div > strong {
    display: block;
    width: 100%;
}
.btn-styleB > div > small {
    width: 100%;
    display: block;


}
.btn-styleB img {
    padding-right:0.5em;
    height:35px;

}

.btn-area {
    text-align: center;
    margin:50px 0;
}

.bg-style1 {
    background-color: var(--color-bg);
}
.bg-style2 {
    background-color: var(--color-main);

}

/*========= loading ===============*/
#loading {
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    z-index: 1000;
    background-color: var(--color-main);
    transition: all 0.5s;
    pointer-events: none;
    clip-path: circle(100vw at 50% 50%);
}
#loading #loading-anime {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    max-width:300px;
}

body.loaded #loading {

    clip-path: circle(0px at 50% 50%);
    pointer-events: auto;

}

/*========= header ===============*/
#header {
    position: absolute;
    width: 100%;
    z-index: 10;
    transition: all 0.4s ease-in;

}



#header > * {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
#header > nav {

}

#header  #nav > #nav-main {
    border:1px solid rgba(255,255,255,0);
}

#header-logo {
    position: relative;
    transition: all 0.4s ease-in;
    padding:15px 0;

}

#header-logo a  {
    display: flex;
    flex-wrap: nowrap;
    gap:10px;
    align-items: center;

}
#header-logo img {
    width: 190px;
}

#header-logo a img:last-child {
    width: 240px !important;
}

#header.fixed {
    background-color: var(--color-main);
    position: fixed;
}

#header.open {
    background-color: var(--color-main);
}



#nav {
    color:var(--color-over);
    display: flex;
    justify-content: space-around;
    gap:8px;





}

#nav-main {
  

}
#nav-main ul {
    display: flex;


}
#nav-main ul li {
    width:150px;
    position: relative;
    display: flex;
    align-items: center;


}

#nav-main ul li::before {

    display: block;
    content:'';
    width:1px;
    height:20px;
    background-color: var(--color-white);
}

#nav-main ul li:first-child::before {
    display: none;


}

#nav-main ul li:last-child {


}

#nav-main ul li a {
    display: block;
    width:100%;
    padding:30px 0 30px;
    text-align: center;
    position: relative;
    font-size: var(--font-size-m);
    background-position: center -10px;
    background-repeat: no-repeat;

}

#nav-main ul li a:hover {


}

#nav-main ul li a:active {


}

#nav-main ul li.nav-contact {
    width: auto;
}

#nav-main ul li.nav-contact::before {
    display: none;
}

#nav-main ul li.nav-contact a {
    margin:1em 0;
    display: flex;
    flex-wrap: nowrap;
    gap:1em;
    color:var(--color-main);
    background-color: var(--color-white);
    padding:1em 2em;

}

#nav-main ul li.nav-contact a span {
    white-space: nowrap;
}

/*
#nav-popup {
    position: fixed;
    top: 0;
    left: 0;
    height:100vh;
    width:100vw;
    transition: all .8s ease-in-out;
    overflow: hidden;
    clip-path: circle(0px at 50% 50%);
}
#nav-popup.active {
    clip-path: circle(100vw at 50% 50%);


}
#nav-popup > div {

    width: 100vw;
    height: 100vh;
    pointer-events: none;
    overflow: hidden;
    backface-visibility: hidden;
    outline: 1px solid transparent;
    background-color: var(--color-main);
    z-index: 20;
    color:var(--color-over);
    padding:80px;
}

#nav-popup.active > div {
    pointer-events:inherit;
    visibility: visible;
}

#nav-popup > div > div {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    display: flex;
    align-items: center;

}


#nav-popup .nav-popup-logo {
    width:54%;
    text-align: center;
}
#nav-popup .nav-popup-logo img {
    width:200px;
}


#nav-popup ul {
    width:40%;

}

#nav-popup ul li a {
    width: 100%;

    display: block;
    padding:0.5em 2em;
    margin-top:10px;
    font-size: var(--font-size-l3);
    background-color: rgba(0,0,0,0.15);
    border-radius: 50px;
}
*/
/*========= ハンバーガーメニュー ===============*/
.openbtn {
    position: absolute;
    z-index: 9999;
    width:38px;
    height:55px;



    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);

}

.openbtn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 0;
    height: 2px;
    border-radius: 2px;

    background-color: var( --color-over);
    width: 100%;
}

.openbtn span:nth-of-type(1) {
    top: 15px;
}

.openbtn span:nth-of-type(2) {
    top: 27px;
}

.openbtn span:nth-of-type(3) {
    top: 39px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 0;
    transform: translateY(6px) rotate(-45deg);
    width: 100%;
}

.openbtn.active span:nth-of-type(2) {
    opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 0;
    transform: translateY(-6px) rotate(45deg);
    width: 100%;
}

/*========= footer ===============*/
footer {
    background-color: var(--color-bg2);

}

footer .footer-main {
    padding:30px 0;

}

footer .footer-main .logo img {
    width: 228px;

}

footer .footer-main > .flex {
    justify-content: space-between;
    align-items: center;
    margin-top:15px;


}

footer .footer-main .link  {
}

footer .footer-main .link li {
    border-right:1px solid var(--color-main);


}
footer .footer-main .link li:last-child {
    border-right:none;

}
footer .footer-main .link li:last-child a {
    padding-right: 0;
}

footer .footer-main .link li a {
    padding:0 3em;
    font-weight: 700;

}

footer .footer-main .address {
    align-items: flex-end;
}

footer .footer-main .address .flex {
    align-items: flex-end;
    gap:2em;


}

footer .footer-copy {
    font-family: var(--font-secondary);
}

/*========= common ===============*/
.contact-box {
    margin-top:80px;
}

.contact-box h6 {

}

.contact-box > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    justify-content: center;
}


.contact-box > ul > li {
    text-align: center;
    font-size:var(--font-size-l);


}

.contact-box > ul > li h6 {
    padding-bottom:0.5em;

}

.contact-box > ul > li a {
    width:350px;

}


.contact-box > ul > li a > * {

}

.contact-box > ul > li a > div > * {

}

/*========= mainvisual ===============*/
main {


}



main .main-visual {
    position: relative;
    /*padding-top:56.2%;*/
    height: 900px;

}


main .main-visual .fv-video {
    position: absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index: -1;
    overflow: hidden;
    line-height:0;
    height:100%;


}

main .main-visual .fv-video::before {
    position: absolute;
    top:0;
    left:0;
    display: block;
    content:'';
    width:100%;
    height:100%;
    background: linear-gradient(180deg, #2C88BD 18.75%, rgba(44, 136, 189, 0.20) 100%);
}


main .main-visual .fv-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;


}

main .main-visual .main-visual-cont {

}

main .main-visual .main-visual-cont > .fv-cont {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding:0 0 0 0;
    gap:0 200px;

}

main .main-visual-copy {

}

main .main-visual-copy > * {

}


main .main-visual h1 {

}

main .main-visual-slider {


}

main .slick-dotted.slick-slider {
    margin-bottom: 0;
}
main .slider img {
    width: 520px;
    height: 650px;



}


main .slider {
    width: 520px;
    height: 650px;



}

.slider .slick-slide {


}

.slider .slick-dots{
    width: 50px;
    right: -80px;
    bottom: initial;
    top: 50%;
    transform: translateY(-50%);
}

.slider .slick-dots li button::before {
    width: 10px;
    height: 10px;
    border-radius: 0;
    content: '';
    display: block;
    background-color: var(--color-over);

}

/*========= message ===============*/
#sec-message {
    background: linear-gradient(122deg, #F4F4F4 35.34%, #C8D7E0 159.92%);
    padding-bottom: 230px;
}

#sec-message > div {
    position: relative;
}
#sec-message > div > .flex {
    gap:80px;
    align-items: center;

}

#sec-message > div::before {
    position: absolute;
    left: 20px;
    top: -100px;
    display: block;
    content:'MESSSAGE';
    font-family: var(--font-secondary);
    color:var(--color-over);
    font-size: var(--font-size-l4);
    transform: rotate(90deg);
    transform-origin: 0 0;




}

#sec-message .img {


}

#sec-message .txt h4 {

    line-height: 2.5;
    white-space: nowrap;


}

/*========= bnr ===============*/
#sec-bnr01 {
    margin-top:-120px;
}

/*========= news ===============*/

#sec-news {


}

#sec-news > .flex {
    gap:100px;
    width: 100%;
}

#sec-news .tit {
    width: 200px;
    margin-top:1.5em;

}

#sec-news .list {
    width:100%;


}

#sec-news .list li {
    border-bottom:1px dashed var(--color-border);

}

#sec-news .list li a {
    display: block;
    padding:1.5em 0 1.5em 80px;

}

#sec-news .list li a time {
    color:var(--color-main);
    display: block;
    font-size:var(--font-size-l);

    margin-bottom:0.5em;



}

/*========= service ===============*/
#sec-service {
    position: relative;
    background: linear-gradient(218deg, #F8F8F8 0%, #C8D7E0 100%);
}
/*
#sec-service::after {
    content:'';
    z-index: 1;
    position: absolute;
    bottom:0;
    left:0;
    width: 100%;
    height:100%;
    background:url('../img/service_bg01.png') center bottom no-repeat;
    background-size: contain;
    background-attachment: fixed;


}
*/
#sec-service .lead-txt {
    line-height: 1.8;
    text-align: center;
}

.service-list {
    position: relative;
    z-index: 2;
    margin:80px 0;
}

.service-list > h3 {
    font-weight: 700;
    font-size: var(--font-size-l);
    text-align: center;
    margin-bottom: 2em;
}

.service-list ul {
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap:30px;
}

.service-list ul > li {
    position: relative;
    width: calc(50% - 15px);
    background-color: var(--color-main);
    color:var(--color-over);
    display: flex;
    padding:10px 30px 10px 45px;

    gap:30px;
    align-items: center;
    min-height: 130px;

}
.service-list ul > li strong{
    font-size: var(--font-size-l);
}
.service-list ul > li p {
    padding-top:0.5em;
}

.service-list ul > li .memo {
    display: block;
    position: absolute;
    bottom: -1.8em;
    left:0;
    color:var(--color-text-main);

}

/*========= profile ===============*/

#sec-profile {
    padding-bottom:200px;

}

.profile-cont {
    background-color: var(--color-white);
    margin-top:-26px;
    padding:70px;
}

.profile-cont > div {
    gap:70px;
   align-items: flex-start;
}

.profile-cont > div > .img {
    width: 380px;
}

.profile-cont > div > .img img {
    width:100%;

}

.profile-cont > div > .txt {
    flex: 1;

}

.profile-cont .name {
    padding-bottom:1em;
    border-bottom:var(--color-border) 1px solid;
    margin-bottom: 1em;
}

.profile-cont .name > small {
    font-size: var(--font-size-l) !important;


    
}

.profile-cont .name h5 {
    font-size: var(--font-size-l1);
    font-weight: 700;

}

.profile-cont .name h5 small {
    font-family: var(--font-secondary);
    font-size: var(--font-size-l) !important;
    font-weight: 400;
    color:var(--color-main);
    margin-left: 1em;

}

.profile-cont .profile-style1 {

    margin:3em 0 0;
}

.profile-cont .profile-style1 h4 {
    align-items: center; 
    display: flex;
    
    color:var(--color-main);
    font-size: var(--font-size-l);
    font-weight: 700;
    gap:1em;
    margin-bottom: 0.8em;

}

.profile-cont .profile-style1 h5 {
    
    font-size: var(--font-size-m);
    font-weight: 700;
    margin-bottom: 0.8em;

}

.profile-cont .profile-style1 h4::after {
    content:'';
    display: block;
    flex-grow: 1; /* 横幅いっぱい */
   
    height:1px;
    background-color: var(--color-border);
    

}
.profile-cont .profile-style1 p {

}
.profile-cont .profile-style1 ul,
.profile-cont .profile-style1 ol
{
    list-style: none;
    text-indent: 0em;
    padding-left: 0em;
}


.profile-cont .profile-style1 ul li,
.profile-cont .profile-style1 ol li
 {
    display: flex; /* 点とリストを横並びに */
    align-items:baseline; /* 垂直方向に中央揃い */
    padding-bottom: 0.8em;
    position: relative;

}

.profile-cont .profile-style1 ul li::before,
.profile-cont .profile-style1 ol li::before {
    flex-shrink: 0; /* 点のサイズを固定 */
    width: 7px; /* 点の幅 */
    height: 7px; /* 点の高さ */
    margin-right: 1em; /* 点とテキストの間隔 */
    background-color: var(--color-main); /* 点の色 */
    border-radius: 50%; /* 点を丸くする */
    content: '';
}

.profile-cont .profile-style1 ol li::after{
    content:'';
    position: absolute;
    width: 1px;
    background-color:var(--color-main);
    height:100%;
    margin:0 3px;


}

.profile-cont .profile-style1 ol li:first-child::after{
    margin-top:1em;
}
.profile-cont .profile-style1 ol li:last-child::after{
    height:1em;
}

.profile-cont .profile-style1 .col-2 {
    flex-wrap: wrap;
    gap:1em 100px;

}
.profile-cont .profile-style1 .col-2 > * {
    width: calc(50% - 50px);

}


/*========= fee ===============*/
#sec-fee {
    position: relative;
    background-color:var(--color-bg2);

}


#sec-fee .lead-txt {
    line-height: 1.8;
    text-align: center;
}

.fee-style1 {
   margin: 4em 0;
}

.fee-style1 h3 {
   font-size: var(--font-size-l);
   font-weight: 700;
   border-bottom: 1px solid var(--color-border);
   padding-bottom:0.5em;
   margin-bottom:1em;
}
.fee-style1 h4 {
    padding:0.2em 0 0.2em 0.75em;
    border-left: 2px solid var(--color-main); 
    font-size: var(--font-size-l);
    margin: 2em 0 1em;

    font-weight: 700;

}

.fee-style1 table {
    width: 100%;
    border-collapse:separate;
    border-spacing:2px;

}

.fee-style1 table td,
.fee-style1 table th {
 padding:1em 3em;
 background-color: var(--color-white); 
 text-align: center;
}

.fee-style1 table th {
    background-color: var(--color-main);
    color:var(--color-over);

}


.fee-style1 dl {
    background-color: var(--color-white); 
    padding:0.5em 1.5em;
    display: flex;
    justify-content: center;
    font-size: var(--font-size-l);
}
.fee-style1 dl dt{
    padding: 0.5em 5em;
    font-weight: 400;
    border-right: 1px solid var(--color-border);
}

.fee-style1 dl dd{
    padding: 0.5em 5em;
}

.fee-table2 th {
    width:35%;
    text-align: left !important;
}
.fee-table2 td {
    text-align: left !important;

}

.fee-style1 ul {
    margin:0.5em 0;
}

.fee-style1 ul li {
    position: relative;
    text-indent: -1em;
    padding: 0 0 0.5em 1em;
    line-height: 1.4;
    
}

.fee-style1 ul li::before {
    content:'※';

}

/*========= access ===============*/
#sec-access {
   
}

.access-cont {
    justify-content: center;
    align-items: center;

}

.access-cont .txt {
    color:var(--color-over);
    flex-basis: 50%;
    padding-left:calc(100vw / 2 - var(--content-size1) / 2);
}

.access-cont .txt h4 {
    font-size: var(--font-size-l1);

}

.access-cont .txt address {
    margin-top:1em;

}

.access-cont .txt ul {
    list-style: disc;
    margin-left: 1em;
    margin-top:2em;

}

.access-cont .map {
    flex-basis: 50%;
    height:400px;
    overflow: hidden;
}

.access-cont .map iframe {


}



/*========= contact ===============*/
#sec-contact {

}

#sec-contact .lead-txt {
    text-align: center;

}

.contact-form-title {
    margin:3em 0;
    text-align: center;


}
.contact-form-title h5  {
    font-size:var(--font-size-l);
    margin-bottom:1em

}
.contact-form {

}



.contact-form dl {
    display: flex;
    align-items: flex-start;
    margin:2em 0;


}

.contact-form dl dt {
    width:240px;
    position: relative;
    padding-right:0;
    text-align: left;
    margin-right:0;
    font-weight: 400;

}

.contact-form dl dt.required::after {
   content:'必須';
   color:var(--color-over);
   padding:0.2em 1em 0.1em;
   position: absolute;
   right:0;
   top:0;
   background-color: var(--color-main);
   text-align: center;
   white-space: nowrap;


}

.contact-form dl dt.pp {
    visibility: hidden;
}


.contact-form dl dd {
    width: calc(100% - 200px);
    text-align: left;
}
.contact-form dl dd input,
.contact-form dl dd textarea
{
    font-size:var(--font-main);
     background-color: var(--color-bg3);
     padding:0.8em;
     width: 100%;

}

#agreement {
    margin:1em 0;
}

#agreement #pp {
    display: block;


}
#agreement #pp .overflow-scroll {
    overflow-y: scroll;
    overflow-x:hidden;
    padding:1em 2em;
    font-size:var(--font-size-s);
    height:calc(100vh - 100px);


}

#agreement #pp h2  {
    padding:1.0em 0 0.3em;
    font-size:var(--font-size-m);

}

#agreement #pp .pp-text  {
    padding-left:1em;
}

#agreement #pp .pp-li  {
    padding-left:3em;
    text-indent: -1em;

}
#agreement #pp .pp-li::before  {
    content:'・';
}

#agreement #pp .text-end {
    text-align: right;

}

#agree_check {
    text-align: center;
    margin:1em 0;
}

#agree_check label {

}

.textdecoration_underline {
    text-decoration: underline;
    cursor: pointer;
}
#agree_check input[type="checkbox"] {
    background-color: var(--color-bg3);
    position: relative;
    width: 20px !important;
    height: 20px !important;
    vertical-align: -5px;
    margin-right:1em;
}

#agree_check input[type="checkbox"]:checked:before {
    position: absolute;
    top: 4px;
    left: 8px;
    transform: rotate(50deg);
    width: 8px;
    height: 15px;
    border-right: 3px solid var(--color-main);
    border-bottom: 3px solid  var(--color-main);
    content: '';
}

.error_blank {
    color:var(--color-error);
    padding:0.2em 1em;
    background-color: var(--color-error);
    color:var(--color-over);
    display: block;
    margin-bottom:3px;
    border-radius: 3px;;
}

.error_blank:empty {
    display: none;
}
.error_check {
    display: none;
    color:var(--color-error);
    padding:0.2em 1em;
    background-color: var(--color-error);
    color:var(--color-over);
    margin-bottom:3px;
    border-radius: 3px;

}

#form_submit {
    text-align: center;
    margin-top:3em;

}

#form_submit input {
    display: inline-block;
    width:240px;
    text-align: center;
}


#thnx {

    color:var(--color-text-main);
    text-align: center;
}

body .modal
 {
    position: fixed;
    top:0;
    left:0;
    height:100vh;
    width:100vw;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    padding:30px;
    pointer-events: none;
    transition: all .2s ease-out;
    opacity: 0;


}

.modal a.close-btn {
    cursor: pointer;
    position: absolute;
    top: -10px;
    right: -10px;
    border-radius: 50px;
    font-size: 30px;
    background-color: var(--color-white);
    color:var(--color-main);
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    vertical-align: middle;
}
.modal a.close-btn::before {
    content: '×';
    line-height: 40px;
    vertical-align: middle;;
}

.modal > div {
    font-size: var(--font-size-m);
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    background-color: var(--color-white);
    padding:0;
    pointer-events: none;
    border-radius: 10px;
    padding:30px;


}
.modal > div > div {


}


.modal > div h2 {
    color:var(--color-main);

    font-size:var(--font-size-l2);
    margin-bottom:0.5em
}

.modal > div  a.close {
    margin-top:1.5em;
    cursor: pointer;
}
.modal > div::after {
}
/*
body.modal-active .modal {
    position: fixed;
    opacity: 1;
}
body.modal-active .modal > div {
    position: fixed;
    opacity: 1;
    pointer-events: auto;

}
*/
.modal.modal-active {
    position: fixed;
    opacity: 1;

}
.modal.modal-active > div {
    position: fixed;
    opacity: 1;
    pointer-events: all;
    width: 90%;
}


