@charset "UTF-8";
#first_view {
    font-size: clamp(15px,1.8vw,22px);
    background: linear-gradient(
    180deg,
    #fff 40%,
    #fafeff 50%,
    #f4f9ff 60%,
    #dce2ee 100%
    );
}

.fv_wrap {
    height: 22em;
    display: flex;
    justify-content: center;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
    gap: 1em;
}

.fv_wrap .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 2em;
}

.fv_wrap h1 {
    font-size: 350%;
    letter-spacing: 0.13em;
    margin-bottom: 0.3em;
}

.fv_title_line {
    display: block;
    overflow: hidden;
}

.fv_title_inner {
    display: block;
    opacity: 0;
    transform: translateY(100%);
    animation: fvTitleReveal 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: 0.45s;
}

/* 2行目は0.18秒遅れて表示 */
.fv_title_inner--second {
    animation-delay: 1.5s;
}

/* 「から」「を」「える」 */
.fv_title small {
    font-size: 85%;
}

/* 「変」 */
.fv_change {
    display: inline-block;
    font-weight: inherit;
    color: inherit;

    animation: fvChangeColor 2.3s 2.35s ease forwards;
}

/* 下から出現 */
@keyframes fvTitleReveal {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 最後に「変」をブランドカラーへ */
@keyframes fvChangeColor {
    0% {
        color: inherit;
    }

    100% {
        color: var(--sub2);
    }
}

.fv_wrap .h1_sub {
    margin-bottom: 2em;
}

.fv_wrap .left img {
    width: 14em;
}

.fv_wrap .right {
    display: flex;
    align-items: flex-end;
}

.fv_wrap .right img {
    display: block;
    width: 25em;
}

.fv_obi {
    background-image: url(../img/fv_obi.webp);
    padding: 2em 5%;
}

.fv_obi p {
    font-size: 90%;
    text-align: center;
    line-height: 2;
    color: white;
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}

.fv_obi p span {
    font-size: 150%;
    color: #ff7;
    display: inline-block;
    padding: 0 0.3em;
}

@media screen and (max-width: 767px) {
    #first_view {
        font-size: clamp(14px, 4vw, 30px);
    }

    .fv_wrap {
        height: 20em;
        gap: 0;
        padding: 0 5%;
        overflow: hidden;
    }

    .fv_wrap .left {
        padding-bottom: 1em;
        width: 65%;
    }

    .fv_wrap h1 {
        font-size: 230%;
        letter-spacing: 0.1em;
        margin-bottom: 0.5em;
    }

    .fv_wrap .h1_sub {
        margin-bottom: 1.5em;
    }

    .fv_wrap .left img {
        width: 10em;
    }

    .fv_wrap .right {
        width: 35%;
    }

    .fv_wrap .right img {
        width: 20em;
    }

    .fv_obi {
        padding: 2em 5%;
    }

    .fv_obi p {
        font-size: 80%;
    }

    .fv_obi p span {
        font-size: 130%;
    }
}

/*===========================================
       プロフェッショナル
===========================================*/
#pro {
    background-image: url(../img/pro_back.webp);
    font-size: clamp(15px,1.6vw,20px);
}

.pro_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
}

.pro_box {
    background-color: white;
    padding: 1em;
    width: 45%;
    position: relative;
    box-shadow: 0.3em 0.3em 0.5em rgba(0,0,0,0.1);
}

.pro_box .border {
    border: 2px solid var(--pro1);
    padding: 1em;
    height: 100%;
}
.pro_box:nth-child(2) .border {
    border: 2px solid var(--pro2);
}
.pro_box:nth-child(3) .border {
    border: 2px solid var(--pro3);
}
.pro_box:nth-child(4) .border {
    border: 2px solid var(--pro4);
}

.pro_box .h3_box {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    border-bottom: 1px solid var(--pro1);
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}
.pro_box:nth-child(2) .h3_box {
    border-bottom: 1px solid var(--pro2);
}
.pro_box:nth-child(3) .h3_box {
    border-bottom: 1px solid var(--pro3);
}
.pro_box:nth-child(4) .h3_box {
    border-bottom: 1px solid var(--pro4);
}

.pro_box .h3_box span {
    color: var(--pro1);
    font-size: 200%;
}
.pro_box:nth-child(2) .h3_box span {
    color: var(--pro2);
}
.pro_box:nth-child(3) .h3_box span {
    color: var(--pro3);
}
.pro_box:nth-child(4) .h3_box span {
    color: var(--pro4);
}

.pro_box .h3_box h3 {
    font-size: 150%;
    padding-bottom: 0.1em;
    margin-left: 0.3em;
    letter-spacing: 0.1em;
}

.pro_box ul li {
    line-height: 1.5;
    text-align: center;
}

.pro_box ul li:not(:last-child) {
    margin-bottom: 0.5em;
}

.pro_box .btn {
    position: absolute;
    bottom: 0.5em;
    right: 0.5em;
    line-height: 1;
    background-color: var(--pro1);
    padding: 0.2em 1.5em 0.3em 1em;
    letter-spacing: 0.5em;
    color: white;
    font-size: 90%;
}
.pro_box:nth-child(2) .btn {
    background-color: var(--pro2);
}
.pro_box:nth-child(3) .btn {
    background-color: var(--pro3);
}
.pro_box:nth-child(4) .btn {
    background-color: var(--pro4);
}

.pro_box .btn:after {
    content: "";
    display: block;
    aspect-ratio: 1 / 2;
    width: 0.5em;
    height: 1em;
    background-image: url(../img/btn_arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 0.7em;
    transform: translateY(-50%);
    transition: all 0.2s;
}

.pro_box .btn:hover:after {
    right: 0.4em;
}

@media screen and (max-width: 767px) {
    #pro {
        font-size: clamp(12px, 2vw, 18px);
    }

    .pro_wrap {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2em;
    }

    .pro_box {
        padding: 0.5em;
        width: 100%;
    }

    .pro_box .border {
        border: 2px solid var(--pro1);
        padding: 1em;
    }

    .pro_box .btn {
        font-size: 100%;
    }
}

/*===========================================
       merit
===========================================*/
.merit_box {
    display: flex;
    font-size: clamp(14px,1.6vw,18px);
    background-color: white;
    box-shadow: 0.2em 0.2em 0.6em rgba(0,0,0,0.1);
}

.merit_box:not(:last-child) {
    margin-bottom: 2em;
}

.merit_box dt {
    background-color: var(--pro1);
    padding: 1em;
    color: white;
    width: 8em;
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}
.merit_box:nth-child(2) dt {
    background-color: var(--pro2);
}
.merit_box:nth-child(3) dt {
    background-color: var(--pro3);
}
.merit_box:nth-child(4) dt {
    background-color: var(--pro4);
}

.merit_box dt span {
    display: block;
    line-height: 1;
}

.merit_box dt span:first-child {
    font-size: 180%;
    margin-bottom: 0.2em;
}

.merit_box dt span:last-child {
    font-size: 120%;
}

.merit_box dd {
    display: flex;
    align-items: center;
    gap: 0 2.5%;
    padding: 1em;
    flex: 1;
    line-height: 1.3;
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
}

.merit_box dd .ttl {
    font-size: 140%;
    margin-bottom: 0.3em;
}

.merit_box dd .txt_box:first-child {
    min-width: 15em;
}

.merit_box dd .txt_box:last-child .ttl {
    color: var(--pro1);
}
.merit_box:nth-child(2) dd .txt_box:last-child .ttl {
    color: var(--pro2);
}
.merit_box:nth-child(3) dd .txt_box:last-child .ttl {
    color: var(--pro3);
}
.merit_box:nth-child(4) dd .txt_box:last-child .ttl {
    color: var(--pro4);
}

.merit_box dd .txt {
    font-size: 95%;
    color: #666;
    text-align: justify;
}

.merit_box dd svg {
    aspect-ratio: 10 / 13;
    width: 5%;
    fill: var(--pro1);
}
.merit_box:nth-child(2) dd svg {
    fill: var(--pro2);
}
.merit_box:nth-child(3) dd svg {
    fill: var(--pro3);
}
.merit_box:nth-child(4) dd svg {
    fill: var(--pro4);
}

@media screen and (max-width: 767px) {
    .merit_box {
        font-size: clamp(12px, 2vw, 18px);
        flex-wrap: wrap;
    }

    .merit_box:not(:last-child) {
        margin-bottom: 2em;
    }

    .merit_box dt {
        width: 100%;
        padding: 0.7em 1em 0.5em;
    }

    .merit_box dt span {
        display: inline-block;
    }

    .merit_box dt span:first-child {
        font-size: 150%;
        margin-bottom: 0;
        margin-right: 0.5em;
    }

    .merit_box dd {
        flex-direction: column;
        align-items: center;
        gap: 1em;
    }

    .merit_box dd .ttl {
    }

    .merit_box dd .txt_box:first-child {
        min-width: 100%;
        text-align: center;
    }

    .merit_box dd .txt_box:last-child {
        text-align: center;
    }

    .merit_box dd .txt {
        text-align: center;
        font-size: 100%;
    }

    .merit_box dd svg {
        aspect-ratio: 13 / 10;
        width: 15%;
        transform: rotate(90deg);
        transform-origin: center center;
    }
}

/*===========================================
       point
===========================================*/
#point {
    background-image: url(../img/point_back.webp);
    background-attachment: fixed;
}

#point .common_h2 {
    color: white;
}

.point_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em;
    font-size: clamp(14px,1.6vw,18px);
}

.point_list li {
    letter-spacing: 0.1em;
    font-feature-settings: "palt";
    line-height: 1;
    text-align: center;
    background-color: var(--bg);;
    width: 20%;
    border-radius: 1em;
    box-shadow: 0.2em 0.2em 0.6em rgba(0,0,0,0.2);
    padding:0 1em 1.5em;
}

.point_list li img {
    width: 50%;
}

.point_list li p {
    color: var(--sub2);
    letter-spacing: 0;
    margin-bottom: 0.3em
}

@media screen and (max-width: 767px) {
    .point_list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5em;
        font-size: clamp(12px, 2.4vw, 20px);
    }

    .point_list li {
        letter-spacing: 0.1em;
        font-feature-settings: "palt";
        line-height: 1;
        text-align: center;
        background-color: var(--bg);
        ;
        width: 45%;
        border-radius: 1em;
        box-shadow: 0.2em 0.2em 0.6em rgba(0, 0, 0, 0.2);
        padding: 0 1em 1.5em;
    }

    .point_list li img {
        width: 50%;
    }

    .point_list li p {
        color: var(--sub2);
        letter-spacing: 0;
        margin-bottom: 0.3em
    }
}

/*===========================================
       contact
===========================================*/
#contact .c_txt {
    margin-bottom: 4vw;
}

#contact .c_txt .accent {
    color: var(--accent);
}

.Required {
    color: var(--accent);
}

.formTable {
    width: 100%;
    border-collapse: collapse;
    line-height: 1.5;
    font-size: 1.6rem;
}

.formTable tr {
    border-bottom: 1px solid #ccc;
}

.formTable tr:first-of-type {
    border-top: 1px solid #ccc;
}

.formTable th,.formTable td {
    padding: 2em 1em;
    box-sizing: border-box;
    background-color: white;
    text-align: justify;
    line-height: 2;
}

.formTable th {
    width: 15em;
    vertical-align: top;
}

.formTable td {
    width: calc(100% - 15em);
}

.formTable select {
    padding: 0.5em 1em;
    border-radius: 5px;
    background: #f9f9f9;
    border: 1px solid #777;
    box-sizing: border-box;
}

.formTable label {
    cursor: pointer;
}

.formTable .flex_box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 3em;
}

.choice_list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 0;
}

.choice_list li {
    list-style: none;
    width: calc(50% - 1em);
    display: flex;
    align-items: flex-start;
}

.choice_list.wide li {
    width: 100%;
}

.formTable td .choice_list input[type=checkbox] {
    width: 1em;
    vertical-align: top;
    margin: 0.7em 0.5em 0 0;
}

.formTable td .choice_list label {
    transition: all 0.2s;
}

.formTable td .choice_list input:checked + label,.formTable td .choice_list input:hover + label,.formTable td .choice_list label:hover {
    color: #004a9e;
}

.formTable input[type="text"],.formTable textarea {
    width: 100%;
    padding: 0.5em 1em;
    border-radius: 5px;
    background: #f9f9f9;
    outline: 0px solid #777;
    border: 1px solid #777;
    transition: all 0.2s;
    box-sizing: border-box;
}

.formTable input[type="text"]:focus,.formTable textarea:focus {
    outline: 1px solid #777;
}

.formTable input.w15em {
    width: 15em;
}

.formTable input[type="text"]:-webkit-autofill {
    box-shadow: 0 0 0px 1000px #f9f9f9 inset;
}

.form_btn {
    margin: 50px 0 0px;
    display: flex;
    justify-content: center;
    gap: 0 50px;
}

.form_btn input {
    width: 9em;
    padding: 0.5em 1em;
    background: white;
    border: 1px solid #777;
    font-size: 1.6rem;
    color: #4d4d4d;
    border-radius: 5px;
    transition: all 0.2s;
    text-align: center;
}

.form_btn input:hover {
    background: var(--main);
    color: white;
    border: 1px solid var(--main);
}

.agree {
    text-align: center;
    margin: 30px auto;
    font-size: 1.4rem;
}

.agree a {
    text-decoration: underline;
}

@media all and (max-width: 767px) {
    #contact {
        padding: 40px 15px;
    }

    #contact.check {
        padding: 20px 15px 40px;
    }

    #contact_wrap {
        width: 100%;
    }

    .ov_txt {
        text-align: justify;
        font-size: 14px;
        line-height: 2;
        margin-bottom: 30px;
    }

    .formTable tr {
        border-bottom: 1px solid #ccc;
        display: flex;
        flex-wrap: wrap;
    }

    .formTable tr:first-of-type {
        border-top: 1px solid #ccc;
    }

    .formTable th {
        padding: 1.5em 0em 0.5em;
        width: 100%;
        display: block;
    }

    .formTable td {
        padding: 0.5em 0em 1.5em;
        width: 100%;
    }

    .formTable .flex_box {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 0.5em 3em;
    }

    .choice_wrap {
        padding: 0;
    }

    .choice_list li {
        width: 100%;
        font-size: 14px;
    }
    
    .form_btn {
        margin: 40px 0 0px;
        gap: 0 30px;
    }
    
    .form_btn input {
        font-size: 14px;
    }
}

/*------------ 確認画面 ------------*/
.check_ttl {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
}

.check_txt {
    width: 800px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #777;
    line-height: 2;
}

.check_txt2 {
    text-align: center;
    margin-bottom: 30px;
}

.error_box {
    width: 50vw;
    margin: 0 auto;
    font-size: 16px;
    border: 1px solid #777;
    padding: 30px;
    display: flex;
    flex-flow: column;
    gap: 10px;
}

.error_messe {
    display: inline-block;
}

.formTable.check tr:nth-child(2n) th,.formTable.check tr:nth-child(2n) td {
    background: #f9f9f9;
}

@media all and (max-width: 767px) {
    .check_ttl {
        text-align: justify;
        font-size: 14px;
    }

    .check_txt {
        width: 100%;
        padding: 20px;
    }

    .check_txt2 {
        text-align: justify;
    }

    .formTable.check th {
        padding: 1.5em 1em 0.5em;
    }

    .formTable.check td {
        padding: 0.5em 1em 1.5em;
    }
    
    .error_box {
        width: 100%;
        font-size: 14px;
        padding: 20px;
    }
}