@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Zen+Maru+Gothic&family=Zen+Old+Mincho&display=swap');



.contents {
    display: flex;
    justify-content: center;
    margin: 100px auto 0;
    max-width: 1296px;
}

main {
    background-color: #f4e4d0;
    color: #584338;
    font-size: 28px;
    max-width: 1000px;
    margin: auto;
    font-family: "Noto Sans JP", sans-serif;
}

main .tab {
    display: none;
}

main .sp {
    display: none;
}

main p,
main h2 {
    margin: 1em 0;
    line-height: 1.5;
}


.w100 {
    width: 100%;
}


#s01 h3 {
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.1em;
    font-size: 28px;
    font-weight: 500;
    font-family: "Noto Serif JP", serif;
}

#s02 {
    padding: 20px 0 100px;
}

#s02 .opening {
    position: relative;
    background-color: #fff;
    padding: 20px;
}

#s02 .opening::before {
    content: "";
    width: 100%;
    height: 100px;
    background: linear-gradient(transparent, #fff);
    position: absolute;
    top: -100px;
    left: 0;
    z-index: -1;
}

#s02 .opening::after {
    content: "";
    width: 100%;
    height: 100px;
    background: linear-gradient(#fff, transparent);
    position: absolute;
    bottom: -100px;
    left: 0;
    z-index: -1;
}


#s02 h3 {
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.2em;
    font-size: 40px;
    position: relative;
    width: fit-content;
    margin: 50px auto;
    font-family: "Noto Serif JP", serif;
}

#s02 h3::before {
    content: "";
    display: block;
    position: absolute;
    width: 275px;
    height: 38px;
    background-image: url(../img/opening/asset.png);
    background-size: cover;
    bottom: -20px;
    right: -10px;
    z-index: -1;
}

#s02 .points {
    width: 95%;
    display: flex;
    margin: auto;
}

#s02 .circle {
    position: absolute;
    border-radius: 50%;
    z-index: 1;
    background-color: #fff;
    text-align: center;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
}

#s02 .circle p {
    line-height: 1.3;
}

#s02 .circle img {
    width: 130px;
    display: block;
    margin: 20px auto;
}

#s02 .point1 {
    width: 310px;
    height: 500px;
    position: relative;
}

#s02 .point1>img {
    position: absolute;
    width: 243px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#s02 .point1 .circle {
    position: absolute;
    width: 310px;
    aspect-ratio: 1/1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#s02 .point1 .circle p {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#s02 .point2 {
    width: 280px;
    height: 500px;
    position: relative;
}

#s02 .point2>img {
    position: absolute;
    width: 243px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#s02 .point2 .circle {
    position: absolute;
    width: 280px;
    aspect-ratio: 1/1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

#s02 .point2 .circle p {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}



#s02 .point3 {
    width: 310px;
    height: 500px;
    position: relative;
}

#s02 .point3>img {
    position: absolute;
    width: 243px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

#s02 .point3 .circle {
    position: absolute;
    width: 310px;
    aspect-ratio: 1/1;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#s02 .point3 .circle p {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

#s02 .point3 .circle strong {
    font-size: 1.2em;
}

#s02 .point3 .attention {
    position: absolute;
    font-size: 17px;
    text-align: center;
    bottom: -80px;
    right: 0px;
    z-index: 20;
    width: 330px;
    font-weight: 500;
}


#s03 {
    position: relative;
    background-color: #fff;
    padding: 50px 5%;
}

#s03::before {
    content: "";
    width: 100%;
    height: 50px;
    background: linear-gradient(transparent, #fff);
    position: absolute;
    top: -50px;
    left: 0;
    z-index: -1;
}

main span {
    display: inline-block;
    font-family: "Zen Maru Gothic", sans-serif;
    font-size: 30px;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-right: 30px;
}

small {
    color: #584338;
}

span.pink {
    color: #CE8690;
}

span.green {
    color: #7DAAAB;
}

#s03 h2 {
    font-size: 31px;
    margin: 20px 0;
    font-weight: 500;
}

#s03 .more {
    width: 166px;
}

#s03 .cnt {
    display: flex;
    align-items: start;
    margin: 30px auto;
}

#s03 .cnt.cnt2 {
    flex-direction: row-reverse;
}


#s03 .cnt p {
    margin: 0;
}

#s03 .cnt>img {
    width: 45%;
}

#s03 .cnt>div {
    width: calc(55% - 20px);
}

#s03 .cnt1>img {
    margin-right: 20px;
}

#s03 .cnt2>img {
    margin-left: 20px;
}

#s03 .color {
    display: block;
    width: 380px;
    margin: 20px 0;
}

#s03 .more {
    width: 166px;
}

#s03 h2 {
    font-size: 35px;
    margin: 20px 0;
}

#s03 .grid {
    display: grid;
    font-size: 18px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

#s03 .grid>div {
    text-align: center;
    padding: 10px 0;
    border: 2px #584338 solid;
}

#s03 .select {
    border-top: #584338 2px solid;
    border-bottom: #584338 2px solid;
    padding: 20px 0;
    position: relative;
}


#s03 .select::before {
    content: "";
    border-top: transparent 20px solid;
    border-right: transparent 20px solid;
    border-bottom: #584338 20px solid;
    border-left: #584338 20px solid;
    position: absolute;
    top: -40px;
    left: 70%;
}


#s03 .select::after {
    content: "";
    border-top: transparent 19px solid;
    border-right: transparent 19px solid;
    border-bottom: #fff 19px solid;
    border-left: #fff 19px solid;
    position: absolute;
    top: -36px;
    left: calc(70% + 2px);
}

#s03 .select_color {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
}

#s03 .select_color>div:first-child img {
    width: 100%;
    max-width: 185px;
}

#s03 .select_ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

#s03 .select_ribbon>div:first-child img {
    width: 100%;
    max-width: 160px;
}

#s03 p {
    font-size: 18px;
}


#s04 {
    position: relative;
    background-color: #fff;
    padding: 30px 0 0;
}

#s04 h2 {
    text-align: center;
    letter-spacing: 0.1em;
    font-size: 42px;
    font-weight: 500;
    font-family: "Noto Serif JP", serif;
    position: relative;
    width: fit-content;
    margin: 30px auto;
}

#s04 h2::before {
    content: "";
    display: block;
    position: absolute;
    width: 55px;
    height: 130px;
    background-image: url(../img/opening/title_l.png);
    background-size: cover;
    bottom: -10px;
    left: -60px;
}

#s04 h2::after {
    content: "";
    display: block;
    position: absolute;
    width: 55px;
    height: 130px;
    background-image: url(../img/opening/title_r.png);
    background-size: cover;
    bottom: -10px;
    right: -60px;
}

#s04 .custom {
    background-color: #CE8690;
    padding: 20px 1.5% 50px;
}

#s04 .custom_title {
    width: 98%;
    margin: auto;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 20px 0;
}

#s04 .custom_title p {
    margin: 0;
    font-weight: 500;
}

#s04 .custom_title h3 {
    margin: 0;
    font-weight: 500;
    font-size: 42px;
    font-family: "Noto Serif JP", serif;
}


#s04 .custom_title img {
    width: 185px;
    display: block;
    margin-right: 30px;
}

#s04 .custom .cnt {
    background-color: #fff;
    padding: 3% 2%;
}

#s04 .custom .cnt .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    height: auto;
    line-height: 1.5;
}



#s04 .attention {
    font-size: 19px;
    margin: 20px 0;
}

#s04 .custom .cnt .grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    height: auto;
    line-height: 1.5;
}

#s04 b {
    display: inline-block;
    padding: 2px 0 5px;
    width: 130px;
    color: #fff;
    background-color: #584338;
    text-align: center;
    border-radius: 30px;
    margin-right: 20px;
}

#s04 .u_line {
    text-align: center;
    font-weight: 700;
    background: linear-gradient(transparent 0%, transparent 70%, #E9D8BB 70%, #E9D8BB 100%);

}

#s04 .u_line strong {
    font-size: 1.5em;
}

#s04 .msg {
    display: flex;
}

#s04 .msg img {
    width: 504px;
    display: block;
    margin-right: 40px;
}

#s04 .msg h3 {
    font-size: 28px;
    line-height: 1.5;
    font-weight: 500;
}


@media screen and (max-width: 1184px) {

    main .pc {
        display: none;
    }

    main .tab {
        display: block;
    }

    .contents {
        margin: 60px auto 0;
    }

    #s01 h3 {
        text-align: center;
        line-height: 1.8;
        font-family: "Zen Maru Gothic", sans-serif;
        letter-spacing: 0.1em;
        font-size: 25px;
        margin-bottom: 50px;
    }


    #s02 h3 {
        font-size: 30px;
    }

    #s02 h3::before {
        width: 200px;
        height: auto;
        aspect-ratio: 275/38;
        background-image: url(../img/opening/asset.png);
        background-size: cover;
        bottom: -10px;
        right: -10px;
        z-index: -1;
    }

    #s02 .points {
        width: 95%;
        display: flex;
        margin: auto;
    }

    #s02 .circle {
        position: absolute;
        border-radius: 50%;
        z-index: 1;
        text-align: center;
        font-family: "Zen Maru Gothic", sans-serif;
        font-weight: 700;
        font-size: 20px;
    }

    #s02 .circle img {
        width: 45%;
        display: block;
        margin: 20px auto;
    }

    #s02 .point1 {
        width: 34%;
        height: auto;
        aspect-ratio: 31/55;
        position: relative;
    }

    #s02 .point1>img {
        position: absolute;
        width: 80%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    #s02 .point1 .circle {
        position: absolute;
        width: 110%;
        aspect-ratio: 1/1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #s02 .point1 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    #s02 .point2 {
        width: 33%;
        height: auto;
        position: relative;
    }

    #s02 .point2>img {
        position: absolute;
        width: 85%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    #s02 .point2 .circle {
        position: absolute;
        width: 110%;
        aspect-ratio: 1/1;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #s02 .point2 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    #s02 .point3 {
        width: 34%;
        height: auto;
        position: relative;
    }

    #s02 .point3>img {
        position: absolute;
        width: 80%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }

    #s02 .point3 .circle {
        position: absolute;
        width: 110%;
        aspect-ratio: 1/1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    #s02 .point3 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }


    #s03 .cnt {
        width: 80%;
        margin: 30px auto;
        display: block;
    }

    #s03 .cnt>img {
        width: 100%;
        margin: 30px auto;
        display: block;
    }

    #s03 .cnt p {
        margin: 20px 0;
    }

    #s03 .cnt>div {
        width: 100%;
    }

    #s03 .select_color {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        font-size: 20px;
    }

    #s03 .select_ribbon {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        font-size: 20px;
    }

    #s04 h2 {
        font-size: 32px;
    }

    #s04 h2::before {
        width: 40px;
        height: auto;
        aspect-ratio: 55/130;
        bottom: -10px;
        left: -40px;
    }

    #s04 h2::after {
        width: 40px;
        height: auto;
        aspect-ratio: 55/130;
        bottom: -10px;
        right: -40px;
    }

    #s04 .custom_title img {
        width: 130px;
        margin-right: 25px;
    }

    #s04 .custom_title p {
        font-size: 22px;
    }

    #s04 .custom_title h3 {
        font-size: 32px;
    }

    #s04 .u_line {
        text-align: center;
        font-weight: 700;
        font-size: 20px;
        background: linear-gradient(transparent 0%, transparent 70%, #E9D8BB 70%, #E9D8BB 100%);
    }

    #s04 .attention {
        font-size: 16px;
        margin: 20px 0;
        text-align: center;
    }

    #s04 .msg {
        display: block;
    }

    #s04 .msg img {
        width: 80%;
        margin: auto;
    }

    #s04 .msg h3 {
        font-size: 25px;
        text-align: center;
    }
}

@media screen and (max-width: 768px) {

    main .sp {
        display: block;
    }

    main {
        font-size: 18px;
    }

    main span {
        font-size: 22px;
        font-weight: 700;
    }

    small {
        font-size: 0.75em;
    }


    #s01 h3 {
        font-size: 16px;
    }

    #s02 h3 {
        font-size: 20px;
        letter-spacing: 0.05em;
        z-index: 1;
    }

    #s02 h3::before {
        width: 150px;
        aspect-ratio: 275/38;
        bottom: -10px;
        right: -10px;

    }

    #s02 .points {
        width: 95%;
        display: block;
        margin: auto;
    }

    #s02 .circle {
        position: absolute;
        border-radius: 50%;
        z-index: 1;
        text-align: center;
        font-family: "Zen Maru Gothic", sans-serif;
        font-weight: 700;
        font-size: 17px;
    }

    #s02 .circle img {
        width: 45%;
        display: block;
        margin: 20px auto;
    }

    #s02 .point1 {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        position: relative;
    }

    #s02 .point1>img {
        position: absolute;
        width: 50%;
        top: 0;
        left: 0;
        transform: translateX(0);
        z-index: 10;
    }

    #s02 .point1 .circle {
        position: absolute;
        width: 60%;
        aspect-ratio: 1/1;
        bottom: 10px;
        left: auto;
        right: 0;
        transform: translateX(0);
    }

    #s02 .point1 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    #s02 .point2 {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        position: relative;
    }

    #s02 .point2>img {
        position: absolute;
        width: 50%;
        bottom: auto;
        top: 0;
        left: auto;
        right: 0;
        transform: translateX(0);
        z-index: 10;
    }

    #s02 .point2 .circle {
        position: absolute;
        width: 60%;
        aspect-ratio: 1/1;
        top: auto;
        bottom: 10px;
        left: 0;
        transform: translateX(0);
    }

    #s02 .point2 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }



    #s02 .point3 {
        width: 100%;
        height: auto;
        aspect-ratio: 3/2;
        position: relative;
    }

    #s02 .point3>img {
        position: absolute;
        width: 50%;
        top: 0;
        left: 0;
        transform: translateX(0);
        z-index: 10;
    }

    #s02 .point3 .circle {
        position: absolute;
        width: 60%;
        aspect-ratio: 1/1;
        bottom: 10px;
        left: auto;
        right: 0;
        transform: translateX(0);
    }

    #s02 .point3 .circle p {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        font-size: 16px;
    }



    #s03 h2 {
        font-size: 25px;
        margin: 20px 0;
    }

    #s03 .more {
        width: 100px;
    }

    #s03 .grid {
        font-size: 15px;
        grid-template-columns: 1fr 1fr;
    }

    #s03 .color {
        width: 100%;
    }

    #s03 .freeMSG{
        font-size: 0.9em;
    }

    #s03 .cnt {
        width: 100%;
        margin: 30px auto;
        display: block;
    }

    #s03 .cnt>img {
        width: 100%;
        margin: 30px auto;
        display: block;
    }

    #s03 .cnt p {
        margin: 20px 0;
    }

    #s03 .cnt>div {
        width: 100%;
    }

    #s03 .select_color {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        font-size: 18px;
    }

    #s03 .select_ribbon {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        font-size: 18px;
    }

    #s04 h2 {
        font-size: 17px;
    }

    #s04 h2::before {
        width: 20px;
        height: auto;
        aspect-ratio: 55/130;
        bottom: -5px;
        left: -25px;
    }

    #s04 h2::after {
        width: 20px;
        height: auto;
        aspect-ratio: 55/130;
        bottom: -5px;
        right: -25px;
    }

    #s04 .custom_title {
        display: block;
    }

    #s04 .custom_title img {
        width: 35%;
        margin: 0 auto 20px;
    }

    #s04 .custom_title p {
        font-size: 18px;
        text-align: center;
    }

    #s04 .custom_title h3 {
        font-size: 28px;
        text-align: center;
    }

    #s04 .custom .cnt .grid {
        width: 80%;
        margin: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        font-size: 22px;
    }

    #s04 .u_line {
        text-align: center;
        font-weight: 700;
        font-size: 20px;
        background: linear-gradient(transparent 0%, transparent 80%, #E9D8BB 80%, #E9D8BB 100%);
    }

    #s04 .attention {
        font-size: 16px;
        margin: 20px 0;
        text-align: left;
    }

    #s04 .custom .cnt .grid2 {
        width: 80%;
        margin: auto;
        grid-template-columns: 1fr;
        gap: 20px;
        font-size: 20px;
    }

    #s04 .msg {
        display: block;
    }

    #s04 .msg img {
        width: 80%;
        margin: auto;
    }

    #s04 .msg h3 {
        font-size: 22px;
        text-align: center;
    }

}