:root {
    --white: #ffffff;
    --light-gray: #e6e8e8;
    --dark-gray: #595959;
    --gray: #5e5e5e;
    --black: #333333;
    --pink: #F36B6F;
    --light-pink: #FFF7FB;
    --blue: #0066C0;
    --aqua-blue: #88CDF4;
    --light-blue: #F5FAFE;
    --red: #B91A39;
    --yellow: #FFF200;
}

body {
    font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
}

p{
    color: var(--black);
}

.main{
    position: relative;
    display: inline-block;
}

.cta-box{
    position: absolute;
    top: 50%;
    left: 4%;
    margin-top: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-box img{
    width: min(36.8vw,450px);
    height: auto;
}

.cta-box img.title{
    width: min(36.8vw,580px);
    margin-bottom: 20px;
}

.btn-cta {
    display: inline-block;
    padding: 12px 24px;
    background: var(--blue);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    text-align: center;
    font-size: min(1.8vw,24px);
    box-shadow: 0 6px 14px rgba(11, 113, 201, 0.25);
    transition: transform .14s ease, box-shadow .14s ease;
    width: min(36.8vw,450px);
    position: relative;
}

.btn-cta::before{
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent #fff;
    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
}

.top-primary-btn{
    position: absolute;
    bottom: 130px;
    left: 5%;
    transform: translateX(-50%); /* 中央寄せ */
    padding: 28px 56px;
    background-color: var(--blue);
    color: var(--white);
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 3vw;
}

.top-btn a{
    position: relative;
}

.top-btn a::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14vw;
    height: 16vw;
    transform: translateX(-50%);
    background-image: url("../img/fv-btn.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 767px){
    .top-btn{
        display: none;
    }
}

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

.message__content{
    text-align: center;
    margin: 60px auto;
    max-width: 980px;
    background-color: var(--light-pink);
    border-radius: 16px;
    border: 3px solid var(--pink);
    padding: 48px;
    position: relative;
}

@media (min-width: 768px){
.message__content::before{
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14vw;
    height: 16vw;
    max-width: 170px;
    max-height: 240px;
    background-image: url("../img/wedding-couple.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
}

.message__title{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--pink);
}

.message__text{
    position: relative;
    font-size: 24px;
    font-weight: 700;
}

.strong.pink{
    color: var(--pink);
}

.strong.yellow{
    color: var(--yellow);
}

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

.strong{
    font-weight: 700;
}

.skill{
    background-color: var(--light-blue);
}

.skill__container{
    padding: 48px 0 80px;
}

.skill__balloon{
    background-color: var(--white);
    border-radius: 16px;
    padding: 48px;
    margin: 0 auto;
    max-width: 980px;
    position: relative;
    z-index: 2;
}

.skill__balloon::before{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -75px;
    border: 70px solid transparent;
    border-top: 52px solid var(--white);
}

.skill__balloon--title{
    text-align: center;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 48px;
    color: var(--blue);
}

.skill__balloon--content{
    display: flex;
    gap: 24px;
    justify-content: center;
}

.skill__balloon--detail{
    width: calc(100% / 3);
}

.skill__balloon--detail img{
    border-radius: 16px;
    width: 100%;
    height: auto;
}

.skill__balloon--detail.one,
.skill__balloon--detail.two,
.skill__balloon--detail.three{
    position: relative;
}

.skill__balloon--detail.one::before{
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: 70px;
    height: 70px;
    background-image: url("../img/number-1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.skill__balloon--detail.two::before{
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: 70px;
    height: 70px;
    background-image: url("../img/number-2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.skill__balloon--detail.three::before{
    content: "";
    position: absolute;
    top: -10px;
    left: -20px;
    width: 70px;
    height: 70px;
    background-image: url("../img/number-3.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.skill__balloon--detail p{
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-top: 8px;
}

.skill__strong{
    padding: 80px 0;
}

.skill__strong p{
    color: var(--white);
    font-weight: 700;
    font-size: 48px;
    text-align: center;
    margin-top: 80px;
    z-index: 2;
    position: relative;
}

.skill__method--wrap{
    padding-top: 200px;
}

.skill__method--detail--wrap{
    text-align: center;
    margin-bottom: 48px;
}

.skill__method--detail--wrap h2{
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--blue);
}

.skill__method--detail--wrap p{
    font-size: 20px;
}

.skill__method--content{
    background-color: var(--light-blue);
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 0 auto;
    max-width: 980px;
}

.skill__method--detail{
    background-color: var(--white);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    border: 1px solid var(--aqua-blue);
    width: calc(100% / 3);
    box-sizing: border-box;
}

.skill__method--detail.license{
    margin: 48px auto 0;
    width: 980px;
    display: flex;
    gap: 40px;
    margin-bottom: 100px;
    background-color: #fafafa;
    border-color: var(--pink);
}

.skill__method--detail--text{
    font-size: 18px;
    font-weight: 700;
    margin: 16px 0;
}

.skill__method--detail--description{
    font-size: 18px;
    text-align: left;
}

.skill__method--content--wrap{
    background-color: var(--light-blue);
}

.skill__method--detail--license{
    font-size: 24px;
    font-weight: 700;
}

.skill__method--detail--license--wrap{
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill__method--point{
    background-color: var(--light-pink);
    width: 980px;
    margin: 0 auto;
    border-radius: 16px;
    padding: 60px 24px 24px;
    box-sizing: border-box;
    border: 1px solid var(--pink);
    position: relative;
}

.skill__method--point::before{
    content: "";
    position: absolute;
    top: -70px;
    left: 47%;
    transform: translateX(-50%);
    background-image: url("..//img/balloon-pc.svg");
    width: 890px;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
}

.skill__method--point--content{
    display: flex;
    gap: 48px;
}

.skill__method--point--text{
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 24px;
    font-weight: 700;
}

.skill__method--point--wrap{
    display: flex;
    flex-direction: column;
    gap: 36px;
    justify-content: center;
}

.bg-circle{
    background-color: var(--aqua-blue);
    overflow: hidden;
    margin-top: -80px;
}

.bg-circle-wrap{
    position: relative;
    z-index: 2;
}

.bg-circle-wrap::before{
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 130%;
    height: 480px;
    background-color: var(--light-blue);
    border-radius: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    z-index: -1;
}

.cv-btn{
    text-align: center;
    margin: 60px auto;
    font-size: 24px;
    font-weight: 700;
}

.cv-btn span{
    color: var(--black);
}

.cv-btn p{
    color: var(--blue);
    position: relative;
    margin-bottom: 16px;
    display: inline-block;
}

.cv-btn p::before{
    position: absolute;
    left: -36px;
    top: 0;
    content: "";
    width: 2px;
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
    transform: rotate(-25deg);
}

.cv-btn p::after{
    position: absolute;
    content: "";
    right: -36px;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--blue);
    border-radius: 3px;
    transform: rotate(25deg);
}

.cv-btn a{
    background-color: var(--blue);
    color: var(--white);
    padding: 24px 64px;
    border-radius: 50px;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.cv-btn a::after{
    content: '';
    display: inline-block;
    border-style: solid;
    border-width: 10px 0 10px 14px;
    border-color: transparent transparent transparent #fff;
    display: inline-block;
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
}

.case{
    background-color: var(--light-pink);
    border: 1px solid var(--pink);
    border-radius: 16px;
    padding: 60px;
    max-width: 980px;
    margin: 0 auto 60px;
}

.case__title--wrap{
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 36px;
}

.case__content--wrap{
    background-color: var(--white);
    border-radius: 8px;
    padding: 48px;
    text-align: center;
}

.case__content--title{
    background-color: var(--pink);
    font-weight: 700;
    text-align: center;
    display: inline-block;
    padding: 16px 48px;
    border-radius: 16px;
}

.case__content--title .main{
    font-size: 36px;
    color: var(--white);
}

.case__content--title .sub{
    font-size: 24px;
    color: var(--white);
}

.case__content--img{
    display: flex;
    justify-content: center;
    gap: 56px;
    margin: 36px auto;
}

.case__content--voice{
    border: 2px solid var(--pink);
    border-radius: 8px;
    padding: 24px 36px;
}

.case__content--voice-title{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 28px;
    font-weight: 700;
    border-bottom: 2px solid var(--pink);
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.case__content--voice-title p{
    color: var(--pink);
}

.case__content--voice-text{
    display: flex;
    align-items: center;
    gap: 24px;
}

.case__content--voice-text.detail{
    text-align: left;
    flex-direction: column;
    font-size: 20px;
}

.flow{
    background-color: var(--light-blue);
    padding: 80px 0;
}

.flow h2,
.faq h2{
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 36px;
    color: var(--blue);
}

.flow__img{
    max-width: 980px;
    margin: 0 auto;
}

.flow__attention{
    margin: 0 auto;
    display: block;
    max-width: 710px;
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    padding: 12px 32px;
    border-radius: 12px;
    margin-top: 36px;
}

.flow__attention--title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 8px;
}

.flow__attention--text{
    font-size: 14px;
}

.flow__attention--text .mini{
    font-size: 12px;
}

.faq__wrap{
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.faq__content{
    background-color: var(--light-blue);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 36px;
    font-size: 20px;
    font-weight: 700;
}

.faq__question,
.faq__answer{
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer__content{
    margin-bottom: 16px;
}

.footer-logo-area{
    margin-top: 120px;
    text-align: center;
}

.link-list{
    margin: 60px auto 40px;
    font-size: 12px;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.link-list span{
    background-color: #000;
    height: 10px;
    width: 1px;
}

.footer small{
    font-size: 12px;
    color: var(--gray);
}

.attention{
    font-size: 10px;
    color: var(--dark-gray);
}

@media screen and (min-width: 768px){
    .sp-block{
        display: none;
    }
}

/* タブレット: 〜1023px */
@media (max-width: 1023px) {
.message__content{
    max-width: 720px;
    padding: 24px;
}

.message__content img{
    width: 30px;
}

.message__title{
    font-size: 24px;
}

.message__text{
    font-size: 18px;
}

.skill__balloon{
    max-width: 720px;
}

.skill__balloon--detail.one::before, 
.skill__balloon--detail.two::before,
.skill__balloon--detail.three::before{
    top: -20px;
    width: 50px;
    height: 50px;
}

.skill__method--detail.license,
.skill__method--content,
.skill__method--point,
.case,
.flow__img,
.faq__wrap{
    max-width: 720px;
}

.skill__method--point::before{
    top: -53px;
    width: 660px;
}

.case__content--img{
    overflow: scroll;
    justify-content: flex-start;
}

.flow__img img{
    max-width: 720px;
}

.sp-block.wedding{
        width: 120px;
        height: auto;
        margin-top: 24px;
    }
}

/* スマホ: 〜599px */
@media (max-width: 599px){
    .pc-block{
        display: none;
    }
    .cv-btn,
    .message__content{
        margin: 60px 16px;
    }

    .cv-btn a{
        padding: 16px 36px;
    }

    .cv-btn a::after{
        right: 20px;
    }

    .message__title{
        margin-bottom: 24px;
    }

    .message__text{
        font-size: 14px;
    }

    .skill__balloon{
        max-width: 350px;
        padding: 24px;
    }

    .skill__balloon--title h2{
        font-size: 24px;
    }

    .skill__balloon--content{
        flex-direction: column;
    }

    .skill__balloon--detail{
        width: 100%;
    }

    .skill__balloon--detail p{
        font-size: 20px;
    }

    .skill__balloon::before{
        margin-left: -37px;
        border: 40px solid transparent;
        border-top: 42px solid var(--white);
    }

    .skill__strong{
        padding: 80px 0 40px;
    }

    .skill__strong p{
        font-size: 24px;
    }

    .skill__method--content{
        flex-direction: column;
    }

    .skill__method--detail{
        width: 100%;
    }

    .bg-circle-wrap::before{
        width: 150%;
        height: 380px;
    }

    .skill__method--wrap{
        padding-top: 60px;
    }

    .skill__method--detail--wrap{
        margin-bottom: 24px;
    }

    .skill__method--detail--wrap h2{
        font-size: 24px;
    }

    .skill__method--detail--wrap p{
        margin: 0 16px;
        font-size: 16px;
    }

    .skill__method--content{
        max-width: 350px;
    }

    .skill__method--detail.license{
        max-width: 350px;
        flex-direction: column;
    }

    .skill__method--detail.license img{
        margin: 0 auto;
    }

    .skill__method--detail--license,
    .strong{
        text-align: center;
    }

    .skill__method--detail--license{
        font-size: 20px;
    }

    .skill__method--detail--license--wrap .attention{
        font-size: 10px;
    }

    .skill__method--point::before{
        background-image: url("..//img/balloon-sp.svg");
        width: 350px;
        height: 160px;
    }

    .skill__method--point{
        max-width: 350px;
        padding: 90px 24px 24px;
    }

    .skill__method--point--content{
        flex-direction: column-reverse;
    }

    .skill__method--point--text{
        font-size: 18px;
    }

    .counselor-woman{
        margin: 0 auto;
    }

    .case{
        max-width: 350px;
        padding: 36px 16px;
    }

    .case__title{
        font-size: 24px;
    }

    .case__content--wrap{
        padding: 24px 16px;
    }

    .case__content--title{
        padding: 16px 8px;
    }

    .case__content--title .sub{
        font-size: 18px;
    }

    .case__content--title .main{
        font-size: 16px;
        margin: 4px auto;
    }

    .case__content--title .sub{
        font-size: 14px;
    }

    .case__content--img{
        align-items: center;
        gap: 24px;
    }

    .case__content--img img{
        width: 180px;
        height: 180px;
    }

    .case__content--voice{
        padding: 24px 16px;
    }

    .case__content--voice-text{
        flex-direction: column-reverse;
    }

    .case__content--voice-title{
        font-size: 20px;
    }

    .case__content--voice-title img{
        width: 24px;
    }

    .flow__img{
        text-align: center;
    }

    .flow__img-detail img{
        max-width: 240px;
    }

    .flow__attention{
        max-width: 350px;
    }

    .faq__wrap{
        max-width: 350px;
    }

    .link-list{
        gap: 16px;
    }

    .sp-link{
        pointer-events: none;
    }

    .license-title{
        gap: 8px;
        display: flex;
        flex-direction: column;
    }
}