html {
    font-size: 20px;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    color: var(--black);
    scroll-behavior: smooth;
}

h2,h3,h4 {
    line-height: 1.3;
}

p,a {
    letter-spacing: 0.03em;
    line-height: 1.8;
}

a:hover {
    opacity: 0.85;
    transition: 0.5s;
}

img {
    image-rendering: -webkit-optimize-contrast;
}

:root {
    --green: #00783d;
    --light-gray: #f5f5f5;
    --gray: #eee;
    --dark-gray: #999999;
    --yellow: #dfeb1f;
    --white: #ffffff;
    --red: #e60012;
    --black: #222222;
    --blue: #3971ef;
}

.pt10{
    padding-top: 10px;
}
.pt20{
    padding-top: 20px;
}
.pt30{
    padding-top: 30px;
}
.pt40{
    padding-top: 40px;
}
.pt50{
    padding-top: 50px;
}

.pb10{
    padding-bottom: 10px;
}
.pb20{
    padding-bottom: 20px;
}
.pb30{
    padding-bottom: 30px;
}
.pb40{
    padding-bottom: 40px;
}
.pb50{
    padding-bottom: 50px;
}

.mt10{
    margin-top: 10px;
}
.mt20{
    margin-top: 20px;
}
.mt30{
    margin-top: 30px;
}
.mt40{
    margin-top: 40px!important;
}
.mt50{
    margin-top: 50px;
}

.mb10{
    margin-bottom: 10px;
}
.mb20{
    margin-bottom: 20px;
}
.mb30{
    margin-bottom: 30px;
}
.mb40{
    margin-bottom: 40px;
}
.mb50{
    margin-bottom: 50px;
}

.center {
    text-align: center;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.text_blue {
    color: var(--blue);
}

main {
    max-width: 750px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 18px #e3e3e3;
}

header img {
    width: 100%;
}

.cv_area_bgi {
    background: url(../img/cv_area.png);
    background-repeat: no-repeat!important;
    background-size: contain!important;
    text-align: center;
    margin:0 25px;
}

.gray_bgc .cv_area_bgi {
    background: url(../img/cv_area02.png);
}

.sec_price .cv_area_bgi {
    background: url(../img/cv_area03.png);
}

.sec_faq .cv_area_bgi {
    background: url(../img/cv_area04.png);
}

.cv_area_bgi img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.cv_area_bgi a:first-of-type img{
    margin: 70px auto 20px;
}

.cv_area_bgi a:last-of-type img{
    margin-bottom: 25px;
}

img.btn_animate03 {
    margin: 0 auto;
    animation: beside 2s linear infinite;
    transform-origin:center;
    cursor: pointer;
}

@keyframes beside {
    0% { transform: translate(2px, 0px);}
    5% {transform: translate(-2px, 0px);}
    10% {transform: translate(2px, 0px);}
    15% {transform: translate(-2px, 0px);}
    20% {transform: translate(2px, 0px);}
    25% {transform: translate(-2px, 0px);}
    30% {transform: translate(0px, 0px);}
}

img.btn_animate04 {
    margin: 0 auto;
    animation: vertical 2s linear infinite;
    transform-origin:center;
    cursor: pointer;
}

@keyframes vertical {
    0% {transform: translate(0px, 2px);}
    5% {transform: translate(0px, -2px);}
    10% {transform: translate(0px, 2px);}
    15% {transform: translate(0px, -2px);}
    20% {transform: translate(0px, 2px);}
    25% {transform: translate(0px, -2px);}
    30% {transform: translate(0px, 0px)}
}

.worry_bgi {
    background: url(../img/worry_bgi.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    width: auto;
    margin-top: 50px;
    padding-top: 80rem;
}

.gray_bgc {
    position: relative;
    background: var(--light-gray);
    padding-bottom: 80px;
}

.top_tit {
    padding-top: 60px;
}

.tit_margin {
    padding-left: 3.4%;
    padding-right: 3.4%;
}

.top_tit h2 {
    font-size: 2em;
    font-weight: 800;
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: solid 2px var(--green);
    text-align: center;
}

.top_tit h2 strong {
    color: var(--green);
}

.top_tit p {
    padding-bottom: 40px;
}

.dormitory_img {
    padding-bottom: 50px;
}

.reason_bgi {
    position: relative;
    background: var(--green);
    padding: 80px 3.4%;
}

.opacity_tit {
    position: absolute;
    top: -15px;
    left: -10px;
    color: var(--white);
    opacity: 0.1;
    font-size: 6em;
}

.reason_bgi .top_tit h2 {
    margin-bottom: 0;
} 

.white_inner {
    background: var(--white);
    padding: 0 3.4% 50px;
    border-radius: 20px;
}

.top_content_box {
    padding-top: 70px;
}

.top_tit_h3 {
    position: relative;
    text-align: center;
    background: var(--light-gray);
    padding: 20px;
}

.top_tit_h3 h3 {
    font-weight: 700;
}

.top_tit_h3 span {
    position: absolute;
    top: -50px;
    left: 10px;
    font-size: 4em;
    font-weight: 500;
    font-family: "roboto";
    color: var(--green);
    letter-spacing: -0.02em;
}

.top_tit_h3 h3 {
    font-size: 1.5em;
}

.top_content_box img {
    width: 100%;
    padding-bottom: 20px;
}

.gray_bgc .opacity_tit {
    color: var(--green);
}

.top_white_box {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 0 18px #e3e3e3;
}

.top_white_box .top_tit_h3 h3 {
    color: var(--green);
}

.top_white_box .top_tit_h3 {
    background: none;
    padding: 0 0 20px;
}

.inner {
    margin: 0 3.4%;
}

.top_white_box img {
    width: 100%;
    padding-bottom: 20px;
}

.iframe_box iframe {
    width: 100%;
    height: 35vw;
    max-height: 400px;
}

.sec_slide {
    position: relative;
    padding: 0 3.4%;
}

.sec_slide .opacity_tit {
    font-size: 5.2em;
}

.swiper-pagination {
    bottom: var(--swiper-pagination-bottom, -25px)!important;
}

.gray_bgc .inner .top_white_box:last-of-type {
    margin-bottom: 20px;
}

.sec_equip .top_tit h2,
.sec_voice .top_tit h2,
.sec_staff .top_tit h2 {
    position: relative;
    margin-top: -70px;
    margin-bottom: 50px;
    z-index: 9;
    color: var(--white);
    border-bottom: solid 2px var(--white);
}

.meal_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.meal_box {
    width: 47%;
    padding-bottom: 50px;
    color: var(--white);
}

.meal_box img {
    width: 100%;
    height: auto;
}

.meal_box h3 {
    font-size: 1.2em;
    font-weight: 600;
    padding: 20px 0;
}

.meal_box p {
    font-size: 0.9em;
    line-height: 1.7;
}

.meal_inner .meal_box:last-of-type {
    padding-bottom: 0;
}

.flow_box {
    position: relative;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 0 18px #e3e3e3;
}

.flow_box span {
    position: absolute;
    top: -40px;
    left: 27px;
    color: var(--green);
    font-weight: 500;
    font-size: 3em;
    font-family: "roboto";
}

.flow_box_inner {
    display: flex;
    justify-content: space-between;
}

.sec_flow {
    padding-left: 3.4%;
    padding-right: 3.4%;
}

.sec_flow .top_tit h2 {
    margin-bottom: 70px;
}

.sec_flow .center {
    padding: 45px 0;
}

.flow_box_inner div:first-of-type{
    width: 57%;
}

.flow_box_inner div:last-of-type{
    width: 60%;
}

.flow_box_inner h3 {
    font-size: 1.2em;
    font-weight: 600;
    padding-bottom: 10px;
}

.flow_box_inner p {
    font-size: 0.9em;
}

.flow_box_inner img {
    width: 85%;
}

.read-more-2 {
    position: relative;
}

.read-more-2 p {
    display: -webkit-box;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 開く前に見せたい行数を指定 */
}

.read-more-2:has(:checked) p {
    display: block;
}

.read-more-2 p::after {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0) 0, hsla(0, 0%, 100%, .9) 50%, hsla(0, 0%, 100%, .9) 0, #fff);
    content: '';
}

.read-more-2:has(:checked) p::after {
    content: none;
}

.read-more-2 label {
    display: flex;
    align-items: center;
    gap: 0 4px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: #4f96f6;
    font-size: .9em;
}

.read-more-2 label:hover {
    color: #c7511f;
    text-decoration: underline;
    cursor: pointer;
}

.read-more-2:has(:checked) label {
    display: none;
}

.read-more-2 label::after {
    display: inline-block;
    width: 10px;
    height: 5px;
    background-color: #b6bdc3;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    content: '';
}

.read-more-2 input {
    display: none;
}

.voice_box,
.staff_box {
    background: var(--white);
    padding: 30px 30px 35px;
    border-radius: 20px;
    box-shadow: 0 0 18px #6f6f6f;
    margin-bottom: 60px;
}

.title_underline h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 7px;
    border-bottom: solid 3px var(--gray);
    position: relative;
}

.title_underline h3:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px var(--green);
    bottom: -3px;
    width: 22%;
}

.sec_voice .voice_box:last-of-type {
    margin-bottom: 0;
}

.price_table {
    padding-bottom: 50px;
}

.price_table dl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.price_table dl dt {
    width: 30%;
    color: var(--white);
    background: var(--green);
    border-radius: 10px;
    height: 70px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 18px #e3e3e3;
}

.price_table dl dd {
    width: 68.5%;
    background: var(--white);
    border-radius: 10px;
    height: 70px;
    text-align: right;
    padding: 22px 10px 0 0;
    box-shadow: 0 0 18px #e3e3e3;
}

.price_table dl dd span {
    font-size: 0.75em;
    padding-right: 12px;
}

.price_table dl:last-of-type dd {
    padding: 11px 10px 0 0;
}

.price_inner {
    background: var(--white);
    padding: 50px 0 70px;
}

.gray_bgc.sec_price,
.gray_bgc.sec_faq {
    padding-bottom: 0;
}

.staff_tit h3 {
    padding-bottom: 12px;
    margin-bottom: 25px;
}

.staff_tit h3 span {
    font-size: 0.75em;
    border: solid 1px var(--black);
    padding: 0px 15px 2px;
    margin-right: 15px;
}

.staff_box img {
    width: 100%;
    padding-bottom: 30px;
}

.sec_staff .staff_box:last-of-type {
    margin-bottom: 0;
}

.faq_box {
    background: var(--white);
    padding: 30px 30px 35px;
    border-radius: 20px;
    box-shadow: 0 0 18px #e3e3e3;
    margin-bottom: 45px;
}

.faq_tit h3 {
    color: var(--green);
    font-size: 1.1em;
}

.faq_box .title_underline h3 {
    margin-bottom: 15px;
}

.faq_box p {
    font-weight: 500;
}

.faq_box p a {
    color: var(--blue)
}

.sec_faq .faq_box:nth-of-type(8) {
    margin-bottom: 70px;
}

.faq_inner {
  padding-left: 3.4%;
  padding-right: 3.4%;  
}

.sec_lastly .top_tit h2 {
    color: var(--black);
    margin-bottom: 30px;
}

.sec_lastly img {
    width: 100%;
    padding-bottom: 30px;
}

.sec_lastly p {
    padding-bottom: 30px;
}

.lastly_tit {
    text-align: right;
}

.sec_lastly .top_tit {
    padding-top: 50px;
}

.lastly_tit h4 {
    font-weight: 500;
}

.lastly_tit p {
    font-size: 1.3em;
    padding-bottom: 0;
    font-family: "游明朝","Yu Mincho", serif;
    font-weight: 600;
}

.sec_lastly .white_inner {
    padding-bottom: 30px;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.footer_iframe iframe {
    width: 100%;
    height: 100%;
}

.flex div:first-of-type {
    width: 40%;
}

.form_inner {
    padding-left: 3.4%;
    padding-right: 3.4%;
}

.form_table table {
    width: 100%;
}

.form_table table tr {
    display: flex;
    padding-bottom: 30px;
    align-items: center;
}

.form_table table th,
.form_table table td {
    font-size: 1em;
    font-weight: 500;
}

.form_table table th {
    width: 30%;
    color: var(--green);
    font-weight: 600;
}

.form_table table td {
    width: 100%;
}

.form_table table td input,
.form_table table td textarea {
   border: solid 1px var(--dark-gray);
   background: var(--white);
   border-radius: 8px;
   padding: 0 10px;
   height: 50px;
   width: 100%;
}

.form_table table td textarea {
    height: 200px;
    padding: 15px 10px;
}

.form_table table th span {
    width: 60px;
    text-align: center;
    border-radius: 6px;
    padding-left: 3px;
    color: var(--red);
    margin-top: 6px;
}

.form_btn {
    margin-top: 30px;
}

.form_btn input:first-of-type {
    margin-right: 15px;
}

.form_btn input,
.form_btn a {
    font-weight: 500;
    background: #ff7d52;
    background: linear-gradient(180deg, rgba(254, 174, 59, 1) 0%, rgba(255, 113, 60, 1) 100%);
    color: var(--white);
    padding: 8px 30px;
    border-radius: 40px;
    text-align: center;
    font-size: 1em;
}

.form_btn input:hover {
    opacity: 0.85;
    transition: 0.5s;
}

.footer_copy small {
    width: 100%;
    display: block;
    background: var(--green);
    color: var(--white);
    padding: 17px;
    font-size: 0.7em;
    font-weight: 500;
}

.form_table .top_tit_center {
    padding-bottom: 30px;
}

.form_text p {
    padding-bottom: 40px;
    font-size: 0.9em;
}

input[type="radio" i] {
    background-color: initial;
    cursor: default;
    appearance: auto;
    box-sizing: border-box;
    margin: 3px 3px 0px 5px;
    padding: initial;
    border: initial;
}

.form_radio td {
    display: flex;
    flex-wrap: wrap;
}

.form_radio td {
    line-height: 2.5;
}

.form_radio td label {
    width: 30%;
}

.form_radio td input {
    width: auto!important;
    height: auto!important;
    margin-bottom: 6px;
}

.form_confirm input:last-of-type {
    margin-left: 30px;
}

.form_wrap table tr {
    border-bottom: solid 1px var(--gray);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.sec_thanks_form p {
    font-size: 0.9em;
}

.sec_thanks_form .form_btn {
    margin: 40px 0 70px;
}

.sec_thanks_form .top_tit_center {
    margin-bottom: 30px;
}

.sec_thanks_form .form_btn a {
    padding: 12px 45px;
}

.footer_iframe {
    width: 50%;
}

footer {
    padding: 50px 3.4% 0;
}

footer p {
    font-weight: 500;
    line-height: 1.5;
    padding-bottom: 20px;
}

footer small {
    display: block;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 15px;
    margin-top: 70px;
    background: var(--green);
    color: var(--white);
}

.sp_only {
    display: none;
}

.pc_only {
    display: block;
}

.form_confirm {
    margin: 20px 0  80px;
}

@media (max-width: 650px) {
    html {
        font-size: 16px;
        line-height: 1.6;
    }
    .sp_ctr_area {
        width: 100%;
        position: fixed;
        bottom: 0;
        z-index: 99;
        display: flex!important;
        justify-content: space-between;
        padding: 10px 7px;
        background: #f1f1f1;;
    }
    .sp_ctr_area a {
        position: relative;
        color: var(--white);
        padding: 10px;
        width: 49%;
        border-radius: 6px;
        text-align: center;
        font-weight: 500;
        box-shadow: 2px 2px 4px #bdbdbd;
    }
    .sp_ctr_area a:first-of-type {
        background: #FEAE3B;
        background: linear-gradient(180deg,rgba(254, 174, 59, 1) 0%, rgba(255, 113, 60, 1) 100%);
    }
    .sp_ctr_area a:last-of-type {
        background: #03D65A;
        background: linear-gradient(180deg,rgba(3, 214, 90, 1) 0%, rgba(6, 199, 85, 1) 100%);
    }
    .sp_ctr_area a i {
        position: absolute;
        right: 5px;
        bottom: 16px;
    }
    .cv_area_bgi {
        margin: 0 15px;
        padding: 3px 10px 0;
    }
    .cv_area_bgi img {
        /* width: 95%; */
    }
    .cv_area_bgi a:first-of-type img {
        margin: 30px auto 10px;
        padding-top: 15px;
    }
    .worry_bgi {
        margin-top: 30px;
        background-size: contain;
        padding-top: 213%;
    }
    .dormitory_img img {
        width: 100%;
    }
    .top_content_box img {
        width: 100%;
    }
    .top_white_box img {
        width: 100%;
    }
    .staff_box img {
        width: 100%;
    }
    .white_inner {
        padding: 0 4% 50px;
    }
    .white_inner img {
        width: 100%;
    }
    .top_tit {
        padding-top: 50px;
    }
    .top_tit h2 {
        font-size: 1.9em;
        margin-bottom: 30px;
    }
    .top_tit p {
        padding-bottom: 25px;
    }
    .top_tit_h3 h3 {
        font-size: 1.5em;
    }
    .top_tit_h3 span {
        font-size: 3.4em;
    }
    .opacity_tit {
        font-size: 3.7em;
        left: 0px;
    }
    .top_tit_h3 span {
        font-weight: 600;
    }
    .sec_slide .opacity_tit {
        font-size: 3em;
    }
    .sec_equip .top_tit h2,
    .sec_voice .top_tit h2,
    .sec_staff .top_tit h2 {
        margin-bottom: 25px;
    }
    .dormitory_img {
        padding-bottom: 25px;
    }
    .gray_bgc {
        padding-bottom: 30px;
    }
    .gray_bgc.sec_support {
        padding-bottom: 60px;
    }
    .swiper-slide {
        text-align: center;
    }
    .reason_bgi {
        padding: 70px 3.4%;
    }
    .iframe_box iframe {
        height: 53vw;
    }
    .gray_bgc.sec_flow {
        padding-bottom: 60px;
    }
    .flow_box_inner {
        display: block;
    }
    .flow_box_inner div:first-of-type {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .flow_box_inner h3 {
        font-size: 1.4em;
    }
    .flow_box_inner div:last-of-type {
        width: 100%;
        padding-top: 25px;
    }
    .flow_box_inner p {
        font-size: 1em;
    }
    .flow_box_inner img {
        width: 100%;
    }
    .flow_box span {
        font-weight: 600;
    }
    .meal_box h3 {
        font-size: 1.35em;
        padding: 20px 0 15px;
    }
    .meal_box p {
        font-size: 1em;
    }
    .meal_box {
        width: 100%;
        padding-bottom: 45px;
    }
    .read-more-2 label {
        font-size: 1.0em;
    }
    .top_white_box {
        margin-bottom: 45px;
        padding: 35px 4%;
    }
    .staff_tit h3 span {
        font-size: 0.7em;
        margin-right: 10px;
    }
    .voice_box, .staff_box {
        padding: 25px 4% 30px;
        border-radius: 10px;
        margin-bottom: 45px;
    }
    .staff_tit h3 {
        margin-bottom: 20px;
    }
    .sec_flow .center {
        padding: 40px 0 50px;
    }
    .flow_box {
        padding: 35px 4%;
    }
    .price_table dl dt {
        width: 40%;
    }
    .price_table dl dd {
        width: 56.5%;
    }
    .price_inner {
        padding: 35px 0 20px;
    }
    .faq_box {
        padding: 30px 4% 25px;
        margin-bottom: 40px;
    }
    .faq_tit h3 {
        font-size: 1.3em;
    }
    .sec_lastly .top_tit {
        padding-top: 35px;
    }
    .flex {
        display: block;
    }
    .flex div:first-of-type {
        width: 100%;
        padding-bottom: 40px;
    }
    .footer_iframe {
        width: 100%;
        height: 40vh;
    }
    .sp_only {
        display: block;
    }
    .pc_only {
        display: none;
    }
    .form_table table tr {
        display: block;
    }
    .form_table table th {
        width: 100%;
        display: block;
        padding-bottom: 10px;
    }
    .form_table table td {
        width: 93vw;
    }
    .form_table table td input, .form_table table td textarea {
        width: 100%;
    }
    .form_btn {
        margin-top: 10px;
        margin-bottom: 30px;
    }
    .sec_thanks_form p {
        font-size: 1em;
    }
    .footer_copy small {
        font-size: 0.9em;
    }
    .sec_thanks_form .top_tit {
        padding-bottom: 15px;
    }
    .sec_thanks_form .form_btn {
        margin: 60px 0 90px;
    }
}

@media (max-width: 550px) {
    .form_btn {
        text-align: center;
    }
    .form_btn input {
        display: block;
        margin: 0 auto;
    }
    .form_btn input:first-of-type {
        margin-right: auto;
        margin-bottom: 25px;
    }
    input.form_confirm_input {
        width: 60%;
        margin-bottom: 30px;
        margin-left: auto!important;
    }
}

@media (max-width: 470px) {
        .cv_area_bgi a:first-of-type img {
        padding-top: 0;
    }
}

@media (max-width: 350px) {
        .form_table table td {
            width: 90vw;
        }
}