header {
    position: sticky;
    width: 100%;
    height: 80px;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
}
header .header {
    width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header .header h1 {
    width: 120px;
}
header .header h1 a {
    width: 100%;
}
header .header h1 a img {
    width: 100%;
}
header .header nav {
    display: flex;
    gap: 60px;
}
header .header nav a {
    font-size: 20px;
    color: #b2a6a8;
}

main {}
#sub {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 100px;
}

main .s1 {
    background: linear-gradient(to right, #f6e3c5, #edd0e7);
    height: 50vh;
}
main .s1Mobile {
    background: linear-gradient(to right, #f6e3c5, #edd0e7);
    height: 35rem;
    display: none;
}
main .s1.s1Mobile .text {
    padding: 5rem 1.5rem;
    margin: 0 !important;
    width: 100%;
    background-size: 20rem !important;
    gap: 3rem;
    justify-content: flex-start;
    background-position: right bottom;
}
main .s1.s1Mobile .text h2 {
    font-size: 2.8rem;
}
main .s1.s1Mobile .text p {
    font-size: 2.2rem;
}
main .s1 .text {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 60px;
    background-image: url(../img/top-img.png);
    background-size: 420px;
    background-repeat: no-repeat;
    background-position: right bottom;
}
main .s1 .text h2 {
    font-family: 'Hanwha';
    font-size: 36px;
    font-weight: 800;
    color: #cc1128;
}
main .s1 .text p {
    font-family: 'Hanwha';
    font-size: 28px;
    line-height: 1.4;
}
main .s2 {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}
main .s2 .info {
    width: calc(100% / 3);
    border-radius: 20px;
    padding: 40px 20px;
    border: 1px solid #e3e3e3;
    background-image: url(../img/img.png);
    background-repeat: no-repeat;
    background-position: right 2rem bottom 2rem;
}
main .s2 .info:nth-of-type(1) {
    background-color: #ef6266;
}
main .s2 .info:nth-of-type(1) h2 {
    color: #fff;
}
main .s2 .info:nth-of-type(1) p {
    color: #fff;
}
main .s2 .info h2 {
    font-family: 'Hanwha';
    font-size: 24px;
    font-weight: 800;
    color: #df1d35;
    margin-bottom: 20px;
}
main .s2 .info p {
    font-size: 18px;
    line-height: 1.4;
    color: #6b6668;
}
main .s3 {
    background: #f6f6f6;
    padding: 100px 0;
}
main .s3 .menu {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
    gap: 20px;
}
main .s3 .menu a {
    font-family: 'Hanwha';
    width: calc(100% / 3 - 15px);
    border-radius: 20px;
    border: 1px solid #cccccc;
    background: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    padding: 30px 20px;
    height: 150px;
    background-image: url(../img/pc-icon-1.png);
    background-repeat: no-repeat;
    background-size: 50px;
    background-position: right 2rem bottom 2rem;
}
main .s3 .menu a:nth-of-type(2) {
    background-image: url(../img/pc-icon-2.png);
}
main .s3 .menu a:nth-of-type(3) {
    background-image: url(../img/pc-icon-3.png);
}
main .s3 .menu a:nth-of-type(4) {
    background-image: url(../img/pc-icon-4.png);
}
main .s3 .menu a:nth-of-type(5) {
    background-image: url(../img/pc-icon-5.png);
}
main .s3 .menu a:nth-of-type(4) {
    width: calc((100% / 3 - 5px) * 2);
}

main > h2 {
    font-size: 24px;
    font-weight: 800;
    padding: 20px 0;
    border-bottom: 1px solid #3a2c2e;
    margin-bottom: 30px;
}
main > h3 {
    color: #cc1329;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}
main > pre {
    font-size: 18px;
    line-height: 1.4;
    color: #91898b;
    margin-bottom: 30px;
}
main > pre em {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
}
main .buttonWrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 30px;
}
main .buttonWrap a {
    width: 50%;
    border-radius: 30px;
    padding: 40px 0;
    background: #df1d35;
    font-size: 18px;
    color: #fff;
    font-weight: 600;
    text-align: center;
}
main .buttonWrap a:nth-of-type(2) {
    background: #ba081e;
}

@media screen and (max-width: 1200px) {
    header {
        padding: 0 1.5rem;
    }
    #sub {
        padding: 0 1.5rem;
    }
    main .buttonWrap {
        flex-flow: column nowrap;
    }
    main .buttonWrap a {
        width: 100%;
    }
    main .s1 .text {
        padding: 0 1.5rem;
        background-position: right 1.5rem bottom;
    }
    main .s2 {
        padding: 4rem 1.5rem;
    }
    main .s3 {
        padding: 4rem 1.5rem;
    }
}
@media screen and (max-width: 768px) {
    header {
        padding: 1.5rem 0;
        height: auto;
    }
    header .header {
        flex-flow: column nowrap;
        gap: 1.5rem;
    }
    header .header h1 {
        width: 8rem;
    }
    header .header nav {
        gap: 2rem;
    }
    header .header nav a {
        font-size: 1.8rem;
    }
    main .s1 {
        display: none;
    }
    main .s1Mobile {
        display: flex;
    }
    main .s2 {
        flex-flow: column nowrap;
    }
    main .s2 .info {
        width: 100%;
        height: 30rem;
        background-size: 5rem;
        padding: 3rem 2rem;
    }
    main .s3 .menu {
        gap: 1rem;
    }
    main .s3 .menu a {
        width: calc(50% - 0.5rem);
        padding: 2rem 1.5rem;
    }
    main .s3 .menu a:nth-of-type(4) {
        width: calc(50% - 0.5rem);
    }
    main .s3 .menu a:nth-of-type(5) {
        width: 100%;
    }
}