header {
    position: sticky;
    width: 100%;
    height: 100px;
    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: 150px;
}
header .header h1 a {
    width: 100%;
}
header .header h1 a img {
    width: 100%;
}
header .header nav {
    display: flex;
    gap: 40px;
}
header .header nav a {
    font-size: 24px;
    font-family: 'Moneygraphy-Rounded';
}

main {
    padding: 40px 0 100px;
    max-width: 1200px;
    margin: 0 auto;
}
#main {
    display: flex;
    flex-flow: column nowrap;
    gap: 40px;
}
main .top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    height: 50vh;
}
main .top .left {
    width: 40%;
    background-image: url(../img/main_img.png);
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    padding: 0 40px;
    line-height: 1.4;
}
main .top .center {
    line-height: 1.2;
    width: 25%;
    height: 100%;
    border-radius: 10px;
    background: #ec7274;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    padding: 30px;
    background-image: url(../img/icon1.png);
    background-position: right 30px bottom 30px;
    background-repeat: no-repeat;
    background-size: 100px;
}
main .top .right {
    width: 35%;
    display: flex;
    flex-flow: column nowrap;
    gap: 40px;
}
main .top .right a {
    height: 50%;
    width: 100%;
    border-radius: 10px;
    background-color: #de3b56;
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    padding: 30px;
    background-image: url(../img/icon2.png);
    background-position: right 30px bottom 30px;
    background-repeat: no-repeat;
    background-size: 100px;
}
main .top .right a:nth-of-type(2) {
    background-image: url(../img/icon3.png);
    background-color: #ff4b4b;
    background-position: right 30px bottom 20px;
}
main .mobileTop {
    display: none;
    flex-flow: column nowrap;
    gap: 2rem;
}
main .mobileTop .bnr {
    background-image: url(../img/main_img.png);
    background-size: cover;
    background-position: center center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.8rem;
    padding: 0 5rem;
    text-align: center;
    line-height: 1.4;
    height: 25rem;
}
main .mobileTop .menu {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
main .mobileTop .menu a {
    width: calc(100% / 3);
    height: 12rem;
    padding: 2rem 0;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    background-position: center bottom 1.5rem;
    background-size: 5rem;
    background-image: url(../img/icon1.png);
    background-repeat: no-repeat;
    background-color: #ec7274;
    border-radius: 1rem;
    color: #fff;
}
main .mobileTop .menu a:nth-of-type(2) {
    background-image: url(../img/icon2.png);
    background-color: #de3b56;
}
main .mobileTop .menu a:nth-of-type(3) {
    background-image: url(../img/icon3.png);
    background-color: #ff4b4b;
    background-position: center bottom 1rem;
}
main .middle {
    height: 200px;
    border-radius: 10px;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
main .middle img {
    width: 100px;
}
main .middle span {
    font-size: 30px;
    font-weight: 600;
}
main .bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
main .bottom a {
    width: calc(100% / 3);
    height: 200px;
    background-color: #fcb6ba;
    border-radius: 10px;
    padding: 30px;
    font-size: 30px;
    font-weight: 600;
    background-image: url(../img/icon5.png);
    background-position: right 30px bottom 30px;
    background-repeat: no-repeat;
    background-size: 80px;
}
main .bottom a:nth-of-type(2) {
    background-image: url(../img/icon6.png);
    background-size: auto 100px;
}
main .bottom a:nth-of-type(3) {
    background-image: url(../img/icon7.png);
    background-size: auto 100px;
}
main .bnr {
    margin-bottom: 40px;
    width: 100%;
}
main .bnr img {
    width: 100%;
}
main .mobileBnr {
    display: none;
    margin-bottom: 40px;
    width: 100%;
}
main .mobileBnr img {
    width: 100%;
}
main > h2 {
    margin-bottom: 40px;
    font-size: 24px;
    font-weight: 600;
    color: #ff4a4a;
}
main > pre {
    line-height: 1.4;
    color: #7e7e7e;
}
main .box {
    border-radius: 10px;
    background: #fff8f8;
    padding: 20px;
    margin-bottom: 40px;
}
main .box h3 {
    font-size: 20px;
    color: #dc314d;
    font-weight: 600;
    margin-bottom: 5px;
}
main .box pre {
    margin-bottom: 30px;
    line-height: 1.4;
    color: #7e7e7e;
}
main .box pre:last-child {
    margin: 0;
}
main .box pre em {
    font-weight: 800;
}

@media screen and (max-width: 1200px) {
    header .header {
        padding: 0 1.5rem;
    }
    main {
        padding: 2rem 1.5rem 10rem;
    }
}
@media screen and (max-width: 768px) {
    header {
        height: auto;
    }
    header .header h1 {
        width: 12rem;
    }
    header .header nav {
        gap: 1.5rem;
        width: 100%;
        padding: 0 1.5rem;
        justify-content: space-between;
    }
    header .header nav a {
        font-size: 1.6rem;
        width: 25%;
        text-align: center;
    }
    header .header {
        padding: 1.5rem 0;
        flex-flow: column nowrap;
        justify-content: space-between;
        gap: 1.5rem;
    }

    main .bnr {
        margin-bottom: 2rem;
    }
    main > h2 {
        margin-bottom: 2rem;
    }
    main > pre {
        font-size: 1.6rem;
    }
    main .box pre {
        font-size: 1.6rem;
    }
    main .box pre em {
        font-size: 1.6rem;
    }

    main .top {
        display: none;
    }
    main .mobileTop {
        display: flex;
    }

    main .middle {
        height: 8rem;
        padding: 0 1.5rem;
    }
    main .middle img {
        width: 5rem;
    }
    main .middle span {
        font-size: 1.6rem;
        line-height: 1.4;
    }
    main > .bnr {
        display: none;
    }
    main .mobileBnr {
        display: block;
    }

    main .bottom {
        gap: 2rem;
    }
    main .bottom a {
        height: 12rem;
        padding: 2rem 0;
        font-size: 1.6rem;
        text-align: center;
        background-position: center bottom 1.5rem;
        background-size: 5rem;
    }
    main .bottom a:nth-of-type(2) {
        background-size: auto 5rem;
    }
    main .bottom a:nth-of-type(3) {
        background-size: auto 5rem;
    }
}