@charset "UTF-8";
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:0;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type="button"]::-moz-focus-inner,[type="reset"]::-moz-focus-inner,[type="submit"]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type="button"]:-moz-focusring,[type="reset"]:-moz-focusring,[type="submit"]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type="number"]::-webkit-inner-spin-button,[type="number"]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type="search"]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}
*{ box-sizing: border-box;}
html{height: -webkit-fill-available;}
body{
    min-height: 100vh;
    min-height: -webkit-fill-available;
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    color: #111;
    line-height: 1.5;
}
body.scroll-lock{
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom:0px;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container_980{
    max-width: 980px;
    margin: 0 auto;
    padding: 0 20px;
}
.container_720{
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}
.marker_yellow {
    background: linear-gradient(to bottom, transparent 50%, #ff6 50%);
}
.marker_red {
    background: linear-gradient(to bottom, transparent 50%, #af1e2b 50%);
}
.ta_center{
    text-align: center !important;
}
.tc_yellow{
    color: yellow;
}
.tc_red{
    color: #af1e2b;
}
.tc_blue{
    color: #0f3568;
}
.ta_center{
    text-align: center;
}
.icon_zoom{
    position: relative;
}
.icon_zoom::before{
    content: "\e8ff";
    font-family: "material icons";
    font-size: 20px;
    text-align: center;
    color: #fff;
    line-height: 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f3568;
    display: block;
    position: absolute;
    bottom: 4px;
    right: 4px;
    z-index: 1;
}

h2.ttl{
    margin: 60px 0;
    text-align: center;
    font-size: 2rem;
    font-family: serif;
}
h2.ttl + p.caption{
    margin: -50px 0 60px;
    text-align: center;
}
h2.ttl + p.caption span{
    display: inline-block;
}
h2.ttl + p.caption span::before,
h2.ttl + p.caption span::after{
    content: "―";
    margin: 0 10px;
}

#wrap{
    width: 100%;
    position: relative;
}
#wrap header{
    width: 360px;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
}
#wrap main,
#wrap footer{
    width: calc(100% - 360px);
    margin-left: auto;
}
header{
    z-index: 100;
}
header .wrap{
    width: 100%;
    height: 100%;
    background: #fafafa;
    display: flex;
    flex-direction: column;
}
header #h_main{
    padding: 20px;
}
header #h_main .set .ttl h1{
    margin: 0;
}
header #h_main .set .ttl h1 a span img{
    max-width: 240px;
    transition: opacity .2s ease;
}
header #h_main .set .sp_nav{
    display: none;
}
header #h_nav{
    flex: 1;
    overflow-y: auto;
}
header #h_nav nav{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
header #h_nav nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
header #h_nav nav ul li.geneki{
    margin-top: 20px;
}
header #h_nav nav ul.main_nav{
    width: 100%;
    max-width: calc(100% - 20px);
    margin-top: 40px;
}
header #h_nav nav ul.main_nav li a{
    padding: 16px 20px;
    text-decoration: none;
    color: #222;
    display: block;
    border-bottom: 1px solid #eee;
    transition: padding .4s ease, border-color .4s ease;
}
header #h_nav nav ul.main_nav li.sub > a{
    cursor: pointer;
    position: relative;
}
header #h_nav nav ul.main_nav li.sub > a::after{
    content: "\e5cf";
    color: #999;
    font-family: "material icons";
    font-size: .75rem;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: calc(50% - 10px);
    right: 0;
    transition: transform .4s ease;
}
header #h_nav nav ul.main_nav li.sub > a.active::after{
    transform: rotate(180deg);
}
header #h_nav nav ul.main_nav li.sub ul{
    display: none;
}
header #h_nav nav ul.main_nav li.sub ul li a{
    padding-left: 30px;
}
header #h_nav nav ul.entry_nav{
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
header #h_nav nav ul.entry_nav li a{
    padding: 16px 0;
    display: block;
    text-decoration: none;
    text-align: center;
    background: #af1e2b;
    color: #fff;
    border-radius: 4px;
    transition: opacity .2s ease;
}
header #h_nav nav ul.entry_nav li.geneki a{
    font-size: .875rem;
    color: #111;
    background: none;
}
footer{
    background: #0f3568;
    color: #fafafa;
}
footer #copy{
    padding: 100px 0;
}
footer #copy .img {
    margin: 0 0 40px;
    text-align: center;
}
footer #copy .img a {
    transition: opacity .2s ease;
}
footer #copy .img a img {
    max-width: 100px;
    transition: max-width .4s ease;
}
footer #copy .txt p {
    font-size: .875rem;
    text-align: center;
}

/* form */
#form{
    padding: 60px 0;
    background: #f5f5f5;
}
#form input[type="text"],
#form input[type="tel"],
#form input[type="email"],
#form select,
#form textarea{
    width: 100%;
    padding: .5em;
    border: 1px solid #ccc;
    background: #fff;
    color: #111;
    border-radius: 4px;
}
#form select{
    line-height: 2rem;
}
#form textarea{
    height: 6em;
    resize: vertical;
}
#form .form_nav{
    margin: 40px 0;
}
#form .form_set ul.select_form{
    margin: 0;
    padding: 0;
    list-style: none;
}
#form .form_set ul.select_form > li{ display: none;}
#form .form_set ul.select_form > li:first-child{ display: block;}
#form .form_set ul.select_form > li > .cancelpolicy{
    margin: 20px 0;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
#form .form_set ul.select_form > li > .cancelpolicy > *:first-child{ margin-top: 0;}
#form .form_set ul.select_form > li > .cancelpolicy > *:last-child{ margin-bottom: 0;}

#form .form_set ul.form_list{
    margin: 0;
    padding: 0;
    list-style: none;
}
#form .form_set ul.form_list > li{
    padding: 12px 0;
    display: flex;
    flex-direction: row;
    gap: 40px;
    border-top: 1px dashed #ddd;
}
#form .form_set ul.form_list > li:first-child,
#form .form_set ul.form_list > li:last-child{
    border-top-style: solid;
    border-color: #ccc;
}
#form .form_set ul.form_list > li .ttl{
    width: 240px;
}
#form .form_set ul.form_list > li .ttl label{
    line-height: 40px;
    display: block;
    position: relative;
    font-weight: 600;
    font-size: .875rem;
}
#form .form_set ul.form_list > li .ttl label.required::after{
    content: "必須";
    color: rgb(255, 255, 255);
    font-size: 0.75rem;
    text-align: center;
    line-height: 20px;
    width: 40px;
    height: 20px;
    margin-top: -10px;
    display: inline-block;
    position: absolute;
    right: 0px;
    top: 50%;
    background: #af1e2b;
}
#form .form_set ul.form_list > li > .input{
    flex: 1;
}
#form .form_set ul.form_list > li > .input.cancelpolicy textarea{
    height: 120px;
    display: block;
}
#form .form_set ul.form_list > li > .input.cancelpolicy label{
    display: inline-block;
    margin-top: 8px;
    margin-left: -1em;
}

#form .form_set ul.form_list p.memo {
    margin-bottom: 0;
    font-size: .75rem;
}
#form .form_set .chance_set .wpcf7-radio{
    display: grid;
    grid-template-columns: 1fr;
}
#form .form_set .chance_set .wpcf7-list-item{
    margin: 0;
}

#form .form_set .chance_set label{
    padding: 8px 4px;
    display: block;
}
#form .form_set .chance_set label:hover{
    background: #fafafa;
}
#form .form_set .chance_set label span{
    margin-left: 4px;
}
#form .form_set ul.name_list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
}
#form .form_set ul.name_list li{
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#form .form_set ul.name_list li .ttl{
    width: 40px;
    text-align: right;
}
#form .form_set ul.name_list li > .input{
    flex: 1;
}
#form .form_set ul.adr_list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
#form .form_set ul.adr_list li .ttl label{
    line-height: 1.5;
}
#form .form_set ul.adr_list li .zip input{
    width: 120px;
}
#form .form_set ul.hope_list{
    margin: 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#form .form_set ul.hope_list li{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#form .form_set ul.hope_list li .ttl{
    width: 80px;
    text-align: right;
}
#form .form_set ul.hope_list li > .input{
    flex: 1;
}
#form .form_set ul.form_list li.submit{
    padding: 30px 0;
    flex-direction: column;
    gap: 0;
}
#form .form_set ul.form_list li.submit p.policy{
    margin: 0 0 1em;
    text-align: center;
    font-size: .875rem;
}
#form .form_set ul.form_list li.submit .send{
    width: calc(100% - 40px);
    margin: 0 auto;
    color: #fff;
    border-radius: 4px;
    background: #af1e2b;
    position: relative;
    transition: opacity 0.2s ease;
}
#form .form_set ul.form_list li.submit .send::before{
    content: "\e163";
    font-family: "material icons";
    line-height: 20px;
    text-align: center;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
}
#form .form_set ul.form_list li.submit .send input[type="submit"]{
    width: 100%;
    padding: 20px 0;
    font-weight: 600;
    font-family: serif;
    color: #fff;
    border: none;
    border-radius: 4px;
    background: none;
    cursor: pointer;
    -webkit-appearance:none;
}
#form .form_set .contacthope{
    position: relative;
}
#form .form_set .contacthope > input{}
#form .form_set .contacthope .select{
    padding: 10px;
    background: #fff;
    box-shadow: 0 0 4px 4px rgba(0,0,0,.1);
    position: absolute;
    top: 44px;
    left: 0;
    z-index: 1;
    display: none;
}
#form .form_set .contacthope .select::before{
    content: "";
    width: 0;
    height: 0;
    display: block;
    border: 20px solid transparent;
    border-bottom: 20px solid #fff;
    filter: drop-shadow(0 -5px 4px rgba(0,0,0,.1));
    position: absolute;
    top: -39px;
    left: calc(50% - 20px);
}
#form .form_set .contacthope .select .close{
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-bottom: -10px;
    margin-top: 10px;
}
#form .form_set .contacthope .select .close a{
    width: 100%;
    padding: 10px 0;
    display: block;
    text-align: center;
    color: #666;
    font-size: .875rem;
    cursor: pointer;
}
#form .form_set .contacthope .select p{
    margin: .5em 0;
    font-size: .75rem;
    text-indent: -1em;
    padding-left: 1em;
}
#form .form_set .contacthope .select ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
#form .form_set .contacthope .select ul li a{
    padding: 10px;
    display: block;
    border: 1px solid #eee;
    border-radius: 4px;
    cursor: pointer;
}
#form .form_set .contacthope .select ul li a.active{
    border-color: #1967d2;
    background: #e8f0fe;
}
#form .form_set .contacthope .select ul li a.deactive{
    border-color: #ddd;
    background: #f1f3f4;
    cursor: inherit;
    pointer-events: none;
}
#form .form_set .contacthope .select ul li a .inner{
    display: flex;
    gap: 10px;
}
#form .form_set .contacthope .select ul li a .inner .img span{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    position: relative;
}
#form .form_set .contacthope .select ul li a .inner .img span.circle_quick,
#form .form_set .contacthope .select ul li a .inner .img span.circle_always{ background: #af1e2b;}
#form .form_set .contacthope .select ul li a .inner .img span.circle_8-10{ background-image: conic-gradient(#ddd 0deg 240deg, #af1e2b 240deg 300deg, #ddd 300deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_10-12{ background-image: conic-gradient(#ddd 0deg 300deg, #af1e2b 300deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_12-14{ background-image: conic-gradient(#af1e2b 0deg 60deg, #ddd 60deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_14-16{ background-image: conic-gradient(#ddd 0deg 60deg, #af1e2b 60deg 120deg, #ddd 120deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_16-18{ background-image: conic-gradient(#ddd 0deg 120deg, #af1e2b 120deg 180deg, #ddd 180deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_18-21{ background-image: conic-gradient(#ddd 0deg 180deg, #af1e2b 180deg 270deg, #ddd 270deg 360deg);}
#form .form_set .contacthope .select ul li a .inner .img span.circle_quick::before{
    content: "\e566";
    font-family: "material icons";
    color: #af1e2b;
    text-align: center;
    line-height: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
}
#form .form_set .contacthope .select ul li a .inner .txt{
    flex: 1;
    display: flex;
    align-items: center;
}
#form .form_set .contacthope .select ul li a .inner .txt span{
    font-size: .875rem;
    line-height: 1.2;
}
#form .form_set .contacthope .select{}
#form .form_set .contacthope{}

/* form plugin */
.grecaptcha-badge { visibility: hidden; }
#form .recaptcha p {
    text-align: center;
    font-size: .5rem;
    line-height: 1.5;
    color: #999;
}
.wpcf7-spinner, .wpcf7 .send .ajax-loader {
    position: absolute !important;
    bottom: -28px;
    left: 0;
}
.wpcf7-spinner {
    visibility: hidden;
    display: inline-block;
    background-color: #23282d;
    opacity: 0.75;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 100%;
    padding: 0;
    margin: 0 24px;
    position: relative;
}
form.sent ul.form_list,
span.wpcf7-not-valid-tip,
div.wpcf7-response-output,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing,
div.screen-reader-response{
    display: none;
}
form.invalid span.wpcf7-not-valid-tip,
form.invalid div.wpcf7-response-output,
form.sent div.wpcf7-response-output{
    display: block;
}

#form .entry_flow ul.flow_list{
    max-width: 720px;
    margin: 0 auto;
    padding: 40px 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 40px;
    border-top: 1px solid #ccc;
}
#form .entry_flow ul.flow_list li{
    flex: 1;
    max-width: 240px;
}
#form .entry_flow ul.flow_list li .img{
    text-align: center;
}
#form .entry_flow ul.flow_list li .img img{
    width: 100%;
    max-width: 60px;
    filter: invert(15%) sepia(15%) saturate(6932%) hue-rotate(358deg) brightness(75%) contrast(112%);
}
#form .entry_flow ul.flow_list li .txt{
    text-align: center;
}
#form .entry_flow ul.flow_list li .txt p{
    line-height: 1.5;
    margin-bottom: 0;
    font-size: .875rem;
}
#form ul.other_list{
    margin: 40px 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1vw;
}
#form ul.other_list li{
    flex: 1;
    text-align: center;
    border: 1px solid #ccc;
    padding: 20px;
}
#form ul.other_list li .ttl{
    margin: 0 0 20px;
}
#form ul.other_list li .link a{
    width: 100%;
    height: 60px;
    padding: 0;
    display: inline-block;
    text-decoration: none;
    line-height: 60px;
    color: #333;
    font-size: 1rem;
    background: #eee;
    position: relative;
    transition: background 0.2s ease;
}
#form ul.other_list li .link a::after{
    content: "\e037";
    font-family: "material icons";
    font-weight: 600;
    font-size: .75rem;
    line-height: 16px;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background: #af1e2b;
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
}
/* achievement */
#achievement{
    margin: 100px 0;
}
.result_set{
    margin: 100px 0;
    text-align: center;
}
.result_set h3{
    font-family: serif;
    font-size: 2rem;
}
.result_set p.caption{
    font-size: 1.25rem;
    font-weight: 600;
}
.result_set p.pr{
    margin-top: 40px;
    font-size: 1.25rem;
    color: #af1e2b;
}
.result_set ul{
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2vw;
}
.result_set ul li .main{
    line-height: 1.2;
    font-size: 8rem;
    font-family: serif;
    font-weight: 600;
    color: #af1e2b;
}
.result_set ul li .main small{
    margin-left: 4px;
    font-size: 3rem;
}
#achievement ul.result_list{
    margin: 60px 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5vw 2vw;
}
#achievement ul.result_list li{
    display: flex;
    justify-content: space-between;
    position: relative;
}
#achievement ul.result_list li::after{
    content: "";
    width: 100%;
    height: 0;
    border-bottom: 1px dashed #ddd;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
#achievement ul.result_list li > *{
    background: #fff;
    position: relative;
    z-index: 1;
    line-height: 1;
}
#achievement ul.result_list li .ttl{
    padding: .25rem 0;
    padding-right: 10px;
}
#achievement ul.result_list li .pass{
    padding-left: 10px;
}
#achievement ul.result_list li .pass span{
    font-size: 1.5rem;
}
#achievement ul.result_list li .pass small{
    margin-left: 4px;
    font-size: 1rem;
}
#achievement ul.result_list li .pass small + span{
    margin-left: 10px;
}
#achievement ul.result_list li.ttl{
    justify-content: flex-end;
}
#achievement ul.result_list li.ttl::after{
    display: none;
}
#achievement h3.ttl{
    font-family: serif;
    font-size: 1.25rem;
    position: relative;
}
/*
#achievement h3.ttl::after{
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #ccc;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
*/
#achievement h3.ttl span{
    padding-right: 20px;
    background: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
}


/* casepopup */
.casepopup{
    display: none;
    width: calc(100% - 360px);
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
}
.casepopup .wrap{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.casepopup .wrap > .bg{
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,.95);
    position: absolute;
    top: 0;
    left: 0;
}
.casepopup .wrap .set{
    width: calc(100% - 40px);
    max-width: 940px;
    border: 1px solid #eee;
    background: #fff;
    position: relative;
    z-index: 1;
}
.casepopup .wrap .set .close{
    position: fixed;
    top: 0;
    right: 0;
}
.casepopup .wrap .set .close a{
    width: 60px;
    height: 60px;
    display: block;
    position: relative;
    text-decoration: none;
    color: #666;
    cursor: pointer;
}
.casepopup .wrap .set .close a::before{
    content: "\e5cd";
    font-family: "material icons";
    font-size: 28px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    display: block;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
}
.casepopup .wrap .set .close a span{
    text-indent: -9999px;
    display: block;
}
.casepopup .wrap .set .inner ul.voice_list{
    margin: 0;
    padding: 0;
    list-style: none;
}
.casepopup .wrap .set .inner ul.voice_list li{
    width: 100%;
    height: calc(100vh - 100px);
    overflow-y: auto;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .head img{
    width: 100%;
    height: auto;
    display: block;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body{
    padding: 40px;
    display: flex;
    flex-direction: row-reverse;
    gap: 40px;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .main{
    flex: 1;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .main article h2{
    font-family: serif;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .main article p{
    text-align: justify;
    line-height: 1.8;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .sub{
    width: 280px;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .sub .img{
    margin-bottom: 40px;
}
.casepopup .wrap .set .inner ul.voice_list li .voice .body .sub .img img{
    width: 100%;
    height: auto;
    margin-top: -120px;
    display: block;
}
/* common_pr */
.common_pr{
    margin: 40px 0;
}
.common_pr .pr_set{
    border: 1px solid #ccc;
    padding: 20px;
}
.common_pr .pr_set h2{
    margin: 0;
    text-align: center;
    font-family: serif;
    font-size: 2rem;
    color: #af1e2b;
}
.common_pr .pr_set p{
    text-align: center;
}
.common_pr .pr_set p.memo{
    font-size: .75rem;
    color: #666;
}
.common_pr .pr_set p.caption{
    margin: 20px 0 .5em;
    color: #af1e2b;
    font-size: .875rem;
}
.common_pr .pr_set .link a{
    padding: 16px 0;
    display: block;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    background: #af1e2b;
    color: #fff;
    border-radius: 4px;
    transition: opacity .2s ease;
    position: relative;
}
.common_pr .pr_set .link a::after{
    content: "\e409";
    font-family: "material icons";
    font-size: 1rem;
    font-weight: 300;
    text-align: center;
    line-height: 20px;
    width: 30px;
    height: 20px;
    display: block;
    position: absolute;
    top: calc(50% - 10px);
    right: 0;
}
.common_pr .pr_set.book{
    padding: 40px;
    display: flex;
    gap: 40px;
}
.common_pr .pr_set.book .img{
    width: 40%;
    max-width: 300px;
}
.common_pr .pr_set.book .img img{
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 0 10px rgba(0,0,0,.2);
}
.common_pr .pr_set.book .txt{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.common_pr .pr_set.media{}
.common_pr .pr_set.media figure{
    margin: 0;
}
.common_pr .pr_set.media figure a{}
.common_pr .pr_set.media figure a img{
    max-width: 100%;
    height: auto;
    transition: opacity .2s ease;
}
.common_pr .pr_set.media figure a:hover img{
    opacity: .6;
}
.common_pr .pr_set.media figure figcaption{
    font-size: .75rem;
    color: #666;
    text-align: center;
}


#kv .wrap{
    width: 100%;
    height: 0;
    padding-top: calc(var(--vh, 1vh) * 100);
    position: relative;
}
#kv .wrap .set,
#kv .wrap .bg{
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
#kv .wrap .set{
    z-index: 1;
    background-color:transparent;
}
#kv .wrap .set .inner{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}
#kv .wrap .set .ttl{
    margin: 40px 0;
}
#kv .wrap .set .ttl h1{
    text-align: right;
    margin: 0;
}
#kv .wrap .set .ttl h1 > span{
    padding: .3em 1em;
    display: inline-block;
    background: #fff;
    color: #0f3568;
    font-size: 2.5rem;
    font-family: serif;
    letter-spacing: .2em;
    box-shadow: 0 0 8px rgba(0,0,0,.2);
    transition: all .2s;
}
#kv .wrap .set .ttl h1 > * + span{
    margin: .3em 0 0;
}
#kv .wrap .set .ttl .caption{
    margin: 0 2.5rem 2rem 0;
}
#kv .wrap .set .ttl .caption p{
    margin: 0;
    text-align: right;
    font-size: 1.25rem;
    font-family: serif;
    font-weight: 600;
    line-height: 2;
    color: #fff;
}
#kv .wrap .set .ttl .caption p > span{
    margin: 4px 0;
    padding: 0 1.5rem;
    display: inline-block;
    background: #0f3568;
    border-radius: 4px;
}

#kv .wrap .set .more a{
    width: 300px;
    margin: 0 40px 40px;
    padding: 0 40px;
    display: block;
    background: #0f3568;
    color: #fff;
    text-align: center;
    text-decoration: none;
    line-height: 60px;
    border-radius: 30px;
    position: relative;
    animation: kvmore_bg 4s ease infinite;
    transition: background .4s ease;
}
#kv .wrap .set .more a::before{
    content: "";
    width: 10px;
    height: 30px;
    display: block;
    border: 2px solid #fff;
    border-radius: 10px;
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translate(0, -50%);
}
#kv .wrap .set .more a::after{
    content: "";
    width: 8px;
    height: 8px;
    display: block;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    left: 33px;
    top: 25%;
    transform: translate(0, -50%);
    opacity: 0;
    animation: 4s kvmore_dot infinite;
}

#kv .wrap .bg{
    pointer-events:none;
}
#kv .wrap .bg .slider .slide .inner{
        width: 100%;
    height: 0;
    padding-top: calc(var(--vh, 1vh) * 100);
    position: relative;
}
#kv .wrap .bg .slider .slide .img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#kv .wrap .bg .slider .slide img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* story */
#story{}
#story .greeting{
    padding: 100px 0;
}
#story .greeting h2{
    text-align: center;
    font-size: 2.5rem;
    font-family: serif;
    line-height: 1.8;
}
#story .greeting h3{
    line-height: 1.8;
    text-align: center;
}
#story .greeting ul{
    max-width: 720px;
    margin: 100px auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
#story .greeting ul li{
    padding: 0 60px;
    background: #f5f5f5;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    line-height: 60px;
    border-radius: 30px;
    position: relative;
}
#story .greeting ul li::before{
    content: "\e5ca";
    font-family: "material icons";
    text-align: center;
    line-height: 40px;
    color: #af1e2b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    display: block;
    position: absolute;
    left: 10px;
    top: calc(50% - 20px);
}
#story .greeting ul li.ttl{
    background: none;
    font-size: 1rem;
    color: #0f3568;
}
#story .greeting ul li.ttl::before{
    display: none;
}
#story .greeting ul li.ttl span{
    position: relative;
}
#story .greeting ul li.ttl span::before,
#story .greeting ul li.ttl span::after{
    content: "↓";
    margin: 0 10px;
}
#story .greeting{}
#story .kv{
    position: relative;
    overflow: hidden;
}
#story .kv .txt{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#story .kv .txt h2{
    margin: 0;
    line-height: 1.5;
}
#story .kv .txt h2 span{
    padding: 1em 1em;
    display: inline-block;
    background: #fff;
    color: #0f3568;
    font-size: 2rem;
    font-family: serif;
    letter-spacing: .2em;
    box-shadow: 0 0 8px rgb(0 0 0 / 20%);
    transition: all .2s;
}
#story .kv .img{
    width: 100%;
    height: 0;
    padding-top: 40%; 
    position: relative;
    overflow: hidden;
}
#story .kv .img picture{
    width: 100%;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
#story .kv .img picture img{
    width: 100%;
    height: auto;
    display: block;
}
#story .story{
    margin: 100px 0;
}
#story .story .background{
    margin: 40px 0;
    padding: 2vw;
    background: #f5f5f5;
    border-radius: 8px;
}
#story .story .background p{
    margin: .4em 0;
    padding-left: 40px;
    position: relative;
}
#story .story .background p::before{
    content: "●";
    font-size: 2rem;
    font-weight: 600;
    text-align: left;
    line-height: 20px;
    color: #af1e2b;
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    left: 0;
}
#story .story .interview .graph{
    max-width: 720px;
    margin: 60px 0;
    padding: 0 0 40px;
    border: 1px solid #ddd;
}
#story .story .interview .graph h3{
    margin: -.5em 0 40px;
    text-align: center;
    line-height: 1;
    position: relative;
    font-size: 1.25rem;
}
#story .story .interview .graph h3::before{
    display: none;
}

#story .story .interview .graph h3 span{
    display: inline-block;
    background: #fff;
    padding: 0 20px;
}
#story .story .interview .graph .img{
    padding: 0 40px 0;
}
#story .story .interview .graph .img img{
    width: 100%;
    height: auto;
}
#story .story .interview .graph .js{
    width: 100%;
    height: 0;
    padding-top: 50%;
    position: relative;
}
#story .story .interview .graph .js::before{
    content: "";
    width: 100%;
    height: 100%;
    background: url(../img/arrow.svg) no-repeat bottom 15% center;
    background-size: 80%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
    transition: background .2s;
}
#story .story .interview .graph .js canvas{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#story .story p{}
#story .story p.pickup{
    margin: 2.5em 0;
    font-size: 1.5rem;
    font-family: serif;
    font-weight: 600;
    text-align: center;
}
#story .story .interview{
    margin: 100px 0;
}
#story .story .interview h3{
    font-family: serif;
    font-size: 2rem;
    text-align: center;
    position: relative;
}
#story .story .interview h3::before{
    content: "";
    width: 100%;
    height: 1px;
    background: #ddd;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
}
#story .story .interview h3 span{
    padding: 0 2em;
    background: #fff;
    display: inline-block;
    position: relative;
    z-index: 1;
}
#story .story .interview h3 + p.caption{
    margin: -1rem 0 4rem;
    text-align: center;
    font-size: .875rem;
}
#story .story .interview h4{
    margin: 3rem 0;
    font-family: serif;
    font-size: 1.25rem;
}
#story .story .interview h4::after{
    content: "";
    width: 40px;
    height: 2px;
    background: #0f3568;
    display: block;
    margin: 20px 0 0;
}
#story .story .interview .pr_media{
    max-width: 600px;
    margin: 2rem 0;
}
#story .story .interview .pr_media a{
    padding: 10px;
    display: block;
    text-decoration: none;
    color: #111;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 0 4px rgba(0,0,0,.1);
    transition: box-shadow .2s;
}
#story .story .interview .pr_media a .inner{
    display: flex;
    flex-direction: row;
    gap: 10px;
}
#story .story .interview .pr_media a .inner .img{
    width: 30%;
    max-width: 240px;
}
#story .story .interview .pr_media a .inner .img figure{
    margin: 0;
}
#story .story .interview .pr_media a .inner .img figcaption{
    font-size: .75rem;
    margin: 0;
}
#story .story .interview .pr_media a .inner .img img{
    width: 100%;
    height: auto;
    display: block;
}
#story .story .interview .pr_media a .inner .txt{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#story .story .interview .pr_media a .inner .txt p{
    margin: 0;
    font-size: .875rem;
}
#story .story .interview .pr_media a .inner .txt p + p{
    margin-top: 1em;
}
#story .story .interview .pr_media a:hover{
    box-shadow: 0 0 4px rgba(0,0,0,.2);
}
#story .story .interview .pr_media a:hover .inner .img img{
    opacity: .8;
}
#story .story .interview .eyecatch{
    margin: 60px 0 20px;
}
#story .story .interview .eyecatch img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
#story .story .interview .history{}
#story .story .interview ul.lookback_list{
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ddd;
    border-radius: 8px;
}
#story .story .interview ul.lookback_list li{
    padding: 16px;
}
#story .story .interview ul.lookback_list li + li{
    border-top: 1px solid #eee;
}
#story .story .interview ul.lookback_list li .ttl{
    margin-bottom: 8px;
}
#story .story .interview ul.lookback_list li .ttl h5{
    margin: 0;
    font-size: 1.25rem;
    font-family: serif;
    color: #0f3568;
}
#story .story .interview ul.lookback_list li .detail{}
#story .story .interview ul.lookback_list li .detail p{
    margin: 0;
}
#story .story .interview ul.lookback_list li .detail p + p{
    margin: 1em 0 0;
}

#story .reason{
    margin: 100px 0;
}
#story .reason .kyotoijuku{
    text-align: center;
}
#story .reason .kyotoijuku h3{
    font-size: 2.5rem;
    font-family: serif;
}
#story .reason .kyotoijuku .logo{
    margin: 60px 0;
}
#story .reason .kyotoijuku .logo img{
    max-width: 240px;
}
#story .reason .reason_set h4{
    text-align: center;
    font-size: 3rem;
    font-family: serif;
}
#story .reason .reason_set h4 + p.caption{
    text-align: center;
    margin: -2rem 0 4rem;
}
#story .reason .reason_set ul.reason_list{
    margin: 0;
    padding: 0;
    list-style: none;
}
#story .reason .reason_set ul.reason_list li .inner .img img{
    width: 100%;
    height: auto;
}
#story .reason .reason_set ul.reason_list li .inner .txt{
    width: calc(100% - 200px);
    padding-bottom: 40px;
}
#story .reason .reason_set ul.reason_list li .inner .txt h5{
    margin-top: 0;
    padding-top: 60px;
    padding-left: 1rem;
    border-left: 3px solid #af1e2b;
    font-size: 1.75rem;
    font-family: serif;
    position: relative;
}
#story .reason .reason_set ul.reason_list li .inner .txt h5::before{
    content: attr(title);
    font-size: 1.25rem;
    line-height: 1;
    color: #af1e2b;
    padding: 4px 8px;
    border: 1px solid #af1e2b;
    display: inline-block;
    position: absolute;
    top: 16px;
    left: 1rem;
}
#story .reason .reason_set ul.reason_list li .inner .txt p{
    text-align: justify;
    line-height: 1.8;
}

.case .case_set{
    margin: 60px 0;
}
.case .case_set h3{
    text-align: center;
    font-family: serif;
    font-size: 2rem;
}
.case .case_set h3 + p{
    text-align: center;
    color: #0f3568;
}
.case .case_set ul.case_list{
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}
.case .case_set ul.case_list li a{
    display: block;
    width: 100%;
    height: 0;
    padding-top: 60%;
    position: relative;
    cursor: pointer;
    border: 1px solid #eee;
}
.case .case_set ul.case_list li a::before{
    content: attr(title);
    width: calc(100% - 8px);
    padding: 4px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
    background: #fff;
}
.case .case_set ul.case_list li a .inner{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}
.case .case_set ul.case_list li a .inner .img{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.case .case_set ul.case_list li a .inner .img img{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.case .case_set ul.case_list li a .inner .txt{
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    opacity: 0;
    transition: opacity .4s ease;
}
.case .case_set ul.case_list li a .inner .txt .ttl{
    text-align: center;
}
.case .case_set ul.case_list li a .inner .txt .score{
    display: flex;
    justify-content: center;
    align-items: center;
}
.case .case_set ul.case_list li a .inner .txt .score > *{
    font-size: 2.75rem;
    font-family: serif;
    font-weight: 600;
    line-height: 1.2;
}
.case .case_set ul.case_list li a .inner .txt .score .before{
    position: relative;
    padding-right: 40px;
}
.case .case_set ul.case_list li a .inner .txt .score .before::after{
    content: "\f1df";
    font-family: "material icons";
    font-size: 1.25rem;
    line-height: 30px;
    text-align: center;
    width: 40px;
    height: 30px;
    display: block;
    position: absolute;
    top: calc(50% - 15px);
    right: 0;
}
.case .case_set ul.case_list li a .inner .txt .score .after{
    font-size: 3rem;
    color: #af1e2b;
}
.case .case_set ul.case_list li a .inner .txt .university{
    text-align: center;
}
#tour{
    margin: 100px 0;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}
#tour::before{
    content: "";
    width: calc(100% + 20px);
    height: 1px;
    display: block;
    box-shadow: 0 0 10px rgba(0,0,0,.6);
    position: absolute;
    top: 0;
    left: -20px;
}
#tour h2{
    text-align: center;
    font-family: serif;
    font-size: 2.4rem;
}
#tour h2 + p.caption{
    text-align: center;
    font-size: 1.25rem;
}
#tour .video{
    margin: 100px 0;
}
#tour .video video{
    width: 100%;
    height: auto;
    display: block;
}
#tour .tour{
    margin: 60px 0;
}
#tour .tour h3{
    font-family: serif;
    font-weight: 600;
    text-align: center;
    font-size: 2rem;
}
#tour .tour h3 + p.caption{
    text-align: center;
    margin: -1em 0 2em;
}
#tour .tour ul.step_list{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
}
#tour .tour ul.step_list li + li{
    border-top: 1px solid #eee;
}
#tour .tour ul.step_list li .inner{
    padding: 24px;
    text-align: center;
}
#tour .tour ul.step_list li .inner h4{
    margin: 0;
    font-family: serif;
    font-size: 1.5rem;
    color: #0f3568;
}

#tour .tour ul.step_list li .inner p{
    margin: 1em 0 0;
    color: #666;
}

.f_fix{
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: none;
}
.f_fix .set{
    width: 100%;
    padding: 10px;
    background: #fff;
}
.f_fix .set ul{
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    gap: 10px;
}
.f_fix .set ul li{
    flex: 1;
}
.f_fix .set ul li a{
    height: 50px;
    display: block;
    background: #af1e2b;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    line-height: 50px;
    font-size: .875rem;
    font-weight: 600;
    position: relative;
}
.f_fix .set ul li.tel a{
    line-height: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.f_fix .set ul li a::after{
    font-family: "material icons";
    line-height: 20px;
    width: 40px;
    height: 20px;
    display: block;
    position: absolute;
    right: 0;
    top: calc(50% - 10px);
}
.f_fix .set ul li.entry a::after{ content: "\e5c5";}
.f_fix .set ul li.tel a::after{ content: "\e0cd";}
.f_fix .set ul li a span{}
.f_fix .set ul li a small{
    margin: 4px 0 0;
    font-weight: 300;
}

@keyframes kvmore_bg{
    0%{background: #0f3568;}
    80%{background: #36afe8;}
   100%{background: #0f3568;}
}
@keyframes kvmore_dot{
    0%{margin-top: 0; opacity: 0;}
    70%{margin-top: 25px; opacity: 1;}
    80%{margin-top: 25px; opacity: 1;}
    90%{margin-top: 25px; opacity: 0;}
    100%{margin-top: 0px; opacity: 0;}
}
@media (pointer: fine){
    header #h_nav nav ul.main_nav li a:hover{
        padding-left: 30px;
        padding-right: 10px;
        border-color: #666;
    }
    header #h_nav nav ul.main_nav li.sub ul li a:hover{
        padding-left: 40px;
        padding-right: 0;
    }
    header #h_nav nav ul.entry_nav li.geneki a:hover{
        opacity: 1;
        text-decoration: underline;
    }
    header #h_nav nav ul.entry_nav li a:hover{
        opacity: .8;
    }
    header #h_main .set .ttl h1 a:hover span img{
        opacity: .6;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav > a:hover{
        opacity: .8;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn a:hover{
        opacity: .6;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.tel a:hover{
        opacity: .6;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li a:hover{
        background: #fafafa;
    }
    footer #copy .img a:hover {
        opacity: .6;
    }
    #form .form_set ul.form_list li.submit .send:hover{
        opacity: .6;
    }
    #form ul.other_list li .link a:hover{
        opacity: .8;
    }
    #form .form_set .contacthope .select .close a:hover{
        background: #fafafa;
    }
    #form .form_set .contacthope .select ul li a:hover{
        border-color: #ccc;
    }
    
    .case .case_set ul.case_list li a:hover{
        border-color: #ccc;
    }
    .case .case_set ul.case_list li a:hover .inner .txt{
        opacity: 1;
    }
    .casepopup .wrap .set .close a:hover{
        color: #111;
    }
    .common_pr .pr_set .link a:hover{
        opacity: .8;
    }
    #kv .wrap .set .more a:hover{
        background: #1466d1;
        animation: none;
    }
    
}
@media screen and (max-width: 1199.98px){
    .case .case_set ul.case_list{
        grid-template-columns: 1fr 1fr;
    }
    .casepopup .wrap .set .close{
        right: 20px;
    }
    .casepopup .wrap .set .inner ul.voice_list li{
        height: calc(100vh - 60px);
    }
    .casepopup .wrap .set .inner ul.voice_list li .voice .body{
        flex-direction: column-reverse;
    }
    .casepopup .wrap .set .inner ul.voice_list li .voice .body .sub{
        width: 100%;
    }
    .casepopup .wrap .set .inner ul.voice_list li .voice .body .sub .img{
        display: none;
    }
    .common_pr .pr_set.book{
        padding: 20px;
        gap: 20px;
    }
    #kv .wrap .set .ttl h1 > span{
        font-size: 2rem;
    }
    #kv .wrap .set .ttl .caption{
        margin-bottom: 1.5rem;
    }
    #tour h2{
        font-size: 2rem;
    }
    #tour h2 + p.caption{
        margin-top: -.5em;
    }
    #tour .tour h3{
        font-size: 1.75rem;
    }
}
@media screen and (min-width: 1024px){}
@media screen and (max-width: 1023.98px){
    #wrap{
        padding-top: 50px;
    }
    #wrap header{
        width: 100%;
        min-width: inherit;
        height: inherit;
        position: fixed;
    }
    #wrap main,
    #wrap footer{
        width: 100%;
        min-width: inherit;
        margin-left: 0;
    }
    header .wrap{
        background: #fff;
        display: block;
    }
    header #h_main{
        height: 50px;
        padding: 0;
        position: relative;
        z-index: 1;
    }
    header #h_main .set{
        display: flex;
        justify-content: space-between;
    }
    header #h_main .set .ttl h1{
        margin: 0;
    }
    header #h_main .set .ttl h1 a{
        height: 50px;
        padding: 4px;
        display: block;
    }
    header #h_main .set .ttl h1 a span img{
        max-width: none;
        width: auto;
        height: 100%;
        display: block;
    }
    header #h_main .set .sp_nav{
        display: block;
    }
    header #h_main .set .sp_nav ul.sp_nav_list{
        height: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.tel a{
        padding: 0 12px;
        height: 100%;
        line-height: 1.2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-decoration: none;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.tel a span{
        color: #111;
        font-family: serif;
        font-weight: 600;
        font-size: 1.5rem;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.tel a small{
        color: #666;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav{
        position: relative;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav > a{
        padding: 0 30px 0 10px;
        display: inline-block;
        background: #af1e2b;
        text-decoration: none;
        color: #fff;
        font-size: .875rem;
        position: relative;
        cursor: pointer;
        transition: opacity .2s ease;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav > a::after{
        content: "\e313";
        font-family: "material icons";
        text-align: center;
        line-height: 20px;
        width: 30px;
        height: 20px;
        display: block;
        position: absolute;
        top: calc(50% - 10px);
        right: 0;
        transition: transform .2s ease;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav > a.active::after{
        transform: rotate(180deg);
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav > a span{
        line-height: 50px;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul{
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        display: none;
        position: fixed;
        right: 0;
        top: 50px;
        border-bottom: 1px solid #ddd;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul::after{
        content: "";
        width: calc(100% + 20px);
        height: 10px;
        box-shadow: 0 0 10px rgba(0,0,0,.4);
        display: block;
        position: absolute;
        bottom: 0px;
        left: -10px;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li{
        border-top: 1px solid #f5f5f5;
        position: relative;
        background: #fff;
        z-index: 1;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li:first-child{
        border-top: 1px solid #ddd;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li a{
        height: 60px;
        padding-right: 30px;
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        white-space: nowrap;
        text-decoration: none;
        color: #111;
        position: relative;
        transition: background .2s ease;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li a small{
        color: #666;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li a::after{
        content: "\e409";
        font-family: "material icons";
        text-align: center;
        line-height: 20px;
        width: 30px;
        height: 20px;
        display: block;
        position: absolute;
        top: calc(50% - 10px);
        right: 0;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li.tel a span{
        font-size: 1.25rem;
        padding-left: 24px;
        position: relative;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li.tel a span::before{
        content: "\e0b0";
        font-family: "material icons";
        line-height: 30px;
        width: 24px;
        height: 30px;
        display: block;
        position: absolute;
        top: calc(50% - 15px);
        left: 0;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.entry_nav ul li.tel a small{
        margin: 4px 0 0;
        font-size: .75rem;
        color: #999;
    }

    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn{
        width: 60px;
        height: 100%;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn a{
        width: 100%;
        height: 100%;
        display: block;
        text-decoration: none;
        cursor: pointer;
        transition: opacity .2s ease;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn a span{
        width: 100%;
        height: 100%;
        display: block;
        position: relative;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn a span::before{
        content: "\e5d2";
        font-family: "material icons";
        font-size: 1.5rem;
        text-align: center;
        line-height: 20px;
        width: 20px;
        height: 20px;
        display: block;
        position: absolute;
        top: calc(50% - 10px);
        left: calc(50% - 10px);
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.nav_btn a.active span::before{ content: "\e5cd";}

    header #h_nav{
        display: none;
        height: calc(100vh - 50px);
        overflow-y: auto;
    }
    header #h_nav nav{
        justify-content: flex-start;
    }
    header #h_nav nav ul{
        width: 100%;
        margin: 0 auto;
        padding: 0 10px;
    }
    header #h_nav nav ul.main_nav li.sub ul{
        padding: 0;
        padding-left: 20px;
    }
    .casepopup{
        width: 100%;
    }
    #kv .wrap{
        padding-top: calc(var(--vh, 1vh) * 100 - 50px);
    }
    #kv .wrap .set .more a{
        width: 260px;
        margin: 0 40px 40px;
    }
    #kv .wrap .bg .slider .slide .inner{
        padding-top: calc(var(--vh, 1vh) * 100 - 50px);
    }
}
@media screen and (min-width: 768px){
    .onlySP{ display: none;}
}
@media screen and (max-width: 767.98px){
    .onlyPC{ display: none;}
    .container,
    .container_980{
        padding: 0 12px;
    }
    header #h_main .set .sp_nav ul.sp_nav_list > li.tel{
        display: none;
    }
    #form{
        padding: 20px 0;
    }
    #form .form_set ul.form_list > li{
        padding: 12px 0;
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    #form .form_set ul.form_list > li .ttl{
        width: 100%;
    }
    #form .form_set ul.form_list > li .ttl label{
        line-height: 1.5;
    }
    #form .form_set .chance_set label{
        padding: 12px 4px;
    }
    #form .form_set .chance_set label span{
        margin-left: 12px;
    }
    #form .form_set ul.name_list li{
        gap: 4px;
    }
    #form .form_set ul.name_list li .ttl{
        width: 30px;
    }
    #form .form_set ul.name_list li .ttl label{
        line-height: 36px;
        font-size: .75rem;
    }
    #form .form_set ul.adr_list li .ttl label{
        font-size: .75rem;
    }
    #form .form_set ul.adr_list li .zip input{
        width: 120px;
    }
    #form .form_set ul.hope_list{
        gap: 4px;
    }
    #form .form_set ul.hope_list li{
        gap: 4px;
    }
    #form .form_set ul.hope_list li .ttl{
        width: 50px;
    }
    #form .form_set ul.hope_list li .ttl label{
        line-height: 36px;
        font-size: .75rem;
    }
    #form .form_set ul.form_list li.submit .send{
        width: 100%;
    }
    #form .entry_flow ul.flow_list{
        padding: 40px 0;
        flex-direction: column;
        gap: 60px;
    }
    #form .entry_flow ul.flow_list li{
        width: 100%;
        margin: 0 auto;
        max-width: 320px;
        display: flex;
        flex-direction: row;
    }
    #form .entry_flow ul.flow_list li + li{
        position: relative;
    }
    #form .entry_flow ul.flow_list li + li::before{
        content: "\e5db";
        font-family: "material icons";
        color: #999;
        width: 40px;
        height: 60px;
        text-align: center;
        line-height: 60px;
        display: block;
        position: absolute;
        top: -60px;
        left: calc(50% - 20px);
    }
    #form .entry_flow ul.flow_list li .img{
        width: 100px;
    }
    #form .entry_flow ul.flow_list li .txt{
        flex: 1;
        text-align: left;
    }
    #form .entry_flow ul.flow_list li .txt h3{
        margin-top: 0;
        margin-bottom: .8em;
    }
    #form ul.other_list{
        flex-direction: column;
    }
    #form ul.other_list li{
        padding: 16px;
    }
    #form ul.other_list li .ttl{
        margin: 0 0 16px;
    }
    #achievement{
        margin: 60px 0;
    }
    .result_set{
        margin: 40px 0;
    }
    .result_set h3{
        font-size: 1.75rem;
    }
    .result_set p.caption{
        margin-top: -1em;
        font-size: 1rem;
    }
    .result_set p.pr{
        margin: 60px 0;
    }
    .result_set ul{
        margin: 20px 0 0;
        gap: 4vw;
    }
    .result_set ul li .main{
        font-size: 6rem;
    }
    .result_set ul li .sub{
        font-size: .875rem;
    }
    #achievement ul.result_list{
        margin: 20px 0 40px;
        grid-template-columns: 1fr;
        gap: 3vw;
    }
    #achievement ul.result_list li.ttl:nth-child(2){
        display: none;
    }
    .case .case_set{
        margin: 60px 0 40px;
    }
    .case .case_set h3{
        font-size: 1.5rem;
    }
    .case .case_set h3 + p{
    }
    .case .case_set ul.case_list{
        gap: 8px;
    }
    .case .case_set ul.case_list li a{
        width: 100%;
        height: auto;
        padding: 0;
        display: block;
        border-radius: 8px;
        overflow: hidden;
    }
    .case .case_set ul.case_list li a::before{
        display: none;
    }
    .case .case_set ul.case_list li a .inner{
        width: 100%;
        height: 100%;
        position: relative;
    }
    .case .case_set ul.case_list li a .inner .img{
        height: 140px;
        position: relative;
    }
    .case .case_set ul.case_list li a .inner .txt{
        padding: 10px 0;
        opacity: 1;
        font-size: .875rem;
    }
    .case .case_set ul.case_list li a .inner .txt .ttl{
        font-size: .75rem;
    }
    .case .case_set ul.case_list li a .inner .txt .score > *{
        font-size: 1.5rem;
    }
    .case .case_set ul.case_list li a .inner .txt .score .before{
        padding-right: 30px;
    }
    .case .case_set ul.case_list li a .inner .txt .score .before::after{
        width: 30px;
        font-size: .875rem;
    }
    .case .case_set ul.case_list li a .inner .txt .score .after{
        font-size: 2.25rem;
        font-weight: 600;
    }
    .case .case_set ul.case_list li a .inner .txt .university{
        font-weight: 600;
        font-size: .75rem;
    }
    .casepopup .wrap .set .inner ul.voice_list li .voice .body{
        padding: 20px;
        gap: 20px;
    }
    .common_pr{
        margin: 20px 0;
    }
    .common_pr .pr_set h2{
        font-size: 1.75rem;
    }
    .common_pr .pr_set .link a{
        font-size: 1rem;
        font-weight: 400;
    }
    .common_pr .pr_set.book{
        flex-direction: column;
    }
    .common_pr .pr_set.book .img{
        width: 100%;
        padding: 20px 0;
        max-width: none;
    }
    .common_pr .pr_set.book .img img{
        width: 60%;
        margin: 0 auto;
        box-shadow: 4px 4px 10px rgba(0,0,0,.2);
        transform: rotate(3deg) translate3d(0, 0, 0);
    }
    .pr_limit{
        padding: 60px 0;
    }
    .pr_limit h2{
        font-size: 2rem;
    }
    .pr_limit .num{
        margin: 20px 0;
        font-size: 3.5rem;
    }
    .pr_limit .num span{
        font-size: 1.5em;
    }
    .pr_limit .num + p{
        font-size: 1.5rem;
    }
    #kv .wrap .set .ttl{
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        gap: 40px;
    }
    #kv .wrap .set .ttl h1 > span{
        padding: .3em 1em;
        font-size: 1.5rem;
    }
    #kv .wrap .set .ttl .caption{
        margin: 0 .5em 1em 0;
    }
    #kv .wrap .set .ttl .caption p{
        font-size: 1rem;
    }
    #kv .wrap .set .more{
        margin: 0 auto;
    }
    #kv .wrap .set .more a{
        width: 260px;
        margin: 0 40px 40px;
        line-height: 50px;
    }

    #story .greeting{
        margin: 20px 0;
        padding: 0;
    }
    #story .greeting h2{
        font-size: 1.75rem;
    }
    #story .greeting ul{
        margin: 60px auto;
    }
    #story .greeting ul li{
        padding: 16px 0;
        padding-left: 50px;
        font-size: 1rem;
        text-align: left;
        line-height: 1.5;
        border-radius: 25px;
    }
    #story .greeting ul li::before{
        line-height: 30px;
        width: 30px;
        height: 30px;
        top: calc(50% - 15px);
    }
    #story .greeting ul li.ttl{
        padding: 0;
        text-align: center;
    }
    #story .kv .txt{
        top: auto;
        bottom: 0;
    }
    #story .kv .txt h2 span{
        padding: .5em .5em 0;
        font-size: 1.75rem;
        letter-spacing: .1em;
    }
    #story .kv .img{
        width: 100%;
        height: auto;
        padding-top: 0; 
    }
    #story .kv .img picture{
        width: 100%;
        position: relative;
        top: 0;
        left: 0 ;
        transform: none;
    }
    #story .story{
        margin: 60px 0;
    }
    #story .story .background{
        padding: 4vw;
    }
    #story .story p{
        text-align: justify;
    }
    #story .story .interview .graph{
        margin: 40px 0;
        padding: 0 0 20px;
    }
    #story .story .interview .graph h3{
        margin: -.5em 0 20px;
    }
    #story .story .interview .graph .img{
        padding: 0 20px 0;
    }
    #story .story .interview .graph .js::before{
        background-size: 70%;
        background-position: bottom 30% left 60%;
    }
    #story .story p.pickup{
        margin: 2em 0;
        text-align: center;
        font-size: 1.5rem;
        font-family: serif;
        font-weight: 600;
    }
    #story .reason{
        margin: 60px 0;
    }
    #story .reason .reason_set h4{
        font-size: 1.5rem;
    }
    #story .reason .kyotoijuku{
        text-align: center;
    }
    #story .reason .kyotoijuku h3{
        font-size: 2rem;
    }
    #story .reason .reason_set ul.reason_list li .inner .txt{
        width: 100%;
        padding-bottom: 40px;
    }
    #story .reason .reason_set ul.reason_list li .inner .txt h5{
        padding-top: 50px;
        font-size: 1.25rem;
    }
    #story .reason .reason_set ul.reason_list li .inner .txt h5::before{
        font-size: 1rem;
        top: 15px;
    }
    #tour{
        margin: 60px 0;
        padding: 40px 0 0;
    }
    #tour h2{
        font-size: 1.5rem;
    }
    #tour h2 + p.caption{
        font-size: 1rem;
    }
    #tour .video{
        margin: 60px 0;
    }
    #tour .tour h3{
        font-size: 1.5rem;
    }
    #tour .tour ul.step_list{
        width: calc(100% - 40px);
        margin: 0 auto;
    }
    #tour .tour ul.step_list li .inner{
        padding: 20px;
        text-align: left;
    }
    #tour .tour ul.step_list li .inner h4{
        padding-left: 1em;
        font-size: 1.25rem;
        text-indent: -1em;
    }
}
@media screen and (max-width: 380.98px){
    header #h_main .set .ttl h1 a {
        padding: 10px;
    }
    #story .story .interview .graph .js::before{
        background-size: 60%;
        background-position: bottom 30% left 60%;
    }
}