@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jacques+Francois+Shadow&display=swap');

:root {
    --main-bg-color: #fff1e5;
    --blue: #142d54;
    --red: #bb332c;
    --txt-color: #333333;
}


html {
    font-size: 0.694vw;
    background-color: var(--main-bg-color);
    /* background-color: #afdada; */
    /* background-color: #84eed8; */
}

p {
    font-size: 2rem;
    font-weight: 500;
    color: var(--txt-color);
    margin: 0;
}

a {
    text-decoration: none;
    color: var(--txt-color);
}

h1,
h2 {
    margin: 0;
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 2.4rem;
}

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

ul,
li {
    font-size: 2rem;
}

.sp {
    display: none !important;
}

.copy_right {
    font-size: 12px;
}

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

    .pc {
        display: none !important;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 20px;
    }

    p {
        font-size: 18px;
    }

    li {
        font-size: 16px;
    }

    .copy_right {

        font-size: 10px;
    }

}


.inner {
    padding: 2rem 4rem;
    /* width: 84rem; */
    margin: 0 auto;
}

/* Header */

header {
    width: 100%;
    display: flex;
    position: relative;


}

.head_logo {
    /* margin: 0 auto; */

}

.head_logo img {
    width: 36rem;
    height: 20rem;
    object-fit: cover;
}


.gnav-category {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 3rem;
    padding: 0 4rem;
    display: none;
}

.gnav-category li {
    text-align: center;
}

.gnav-category li a {
    color: var(--txt-color);
    text-decoration: none;
}

.gnav-category li a:hover {
    opacity: 0.4;
    transition: 0.6s;
}

/* header sp */
.menu-toggle {
    width: 14rem;
    height: 14rem;
    background-color: var(--blue);
    position: relative;
    right: 0;
    top: -18rem;

}

.menu_border {
    position: absolute;
    background-color: #fff;
    width: 90%;
    height: 1.8px;
    top: 50%;
}

.menu_border::before {
    content: '';
    position: absolute;
    height: 1.8px;
    width: 100%;
    top: -4rem;
    left: 0;
    background-color: #fff;
}

.menu_border::after {
    content: '';
    position: absolute;
    height: 1.8px;
    width: 100%;
    bottom: -4rem;
    left: 0;
    background-color: #fff;
}

#top-business,
#top-international,
#top-innovation,
#top-it,
#top-health,
#top-culture,
#top-earth,
#top-stock,
#top-science,
#top-etc {
    transition: 0.8s;

}

/* banner seciton */
.localAds {
    text-align: center;
    background-color: #fff;
    margin-bottom: 4rem;
}

.localAds img {
    width: 80rem;
    height: 34rem;
    object-fit: cover;

}

.header-centerlogo img {
    /* width:40rem;
    height:40rem; */
    width: 22rem;
    height: 19rem;
    object-fit: cover;
}


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

    .head_logo img {
        width: 54rem;
        height: 25rem;
    }

    .header-centerlogo img {
        width: 29rem;
        height: 28rem;
    }

    /* ハンバーガーメニュー */
    .sp.menu-toggle {
        display: block !important;
        z-index: 100;
    }

    .sp.nav {
        display: grid !important;
        grid-auto-flow: column;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: var(--blue);
        transition: 0.6s;
        opacity: 0.9;
        transform: translateX(-100%);

    }

    .sp.nav.open {
        transform: translateX(0);

    }

    .gnav-category {
        grid-template-columns: repeat(1, 1fr);
        padding: 12rem 0;
    }

    .gnav-category li a {
        color: #fff;
    }

    .sp .menu-toggle .menu_border {
        display: none;
    }
}

/* Main view */
.mv-img img {
    width: 45rem;
    height: 35rem;
    object-fit: cover;
}

.mv-img {
    padding-bottom: 4rem;
    text-align: center;
}

.mv-inner {
    width: fit-content;
    padding: 0 4rem 8rem;
    margin: 0 auto;
}

.mv-h1,
.mv-h2 {
    text-align: center;
    padding: 0 26rem;
    position: relative;
}

.mv-h1::after,
.mv-h2::after {
    content: '';
    position: absolute;
    width: 74%;
    height: 3px;
    bottom: 0;
    left: 15%;
    background-color: #333333;
}

.top-main-title {
    text-align: center;
    padding-bottom: 4rem;
    font-size: 7.8rem;
    font-weight: 400;
    font-family: sans-serif;
    font-weight: 600;
    /* font-family: "Jacques Francois Shadow", serif; */
}

@media screen and (max-width: 767px) {
    .top-main-title {
        font-size: 8.8rem;
    }


}

/* Article List */
.top-news-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.category-title {
    color: #142d54;
}

.news-category {
    background-color: #fff;
    padding: 2rem;
    height: fit-content;
}

.news-title {
    border-bottom: solid 2px;
    display: inline;
    margin: 2rem 0;
}


.news-item {
    padding: 1rem 0;
}

.news-item:nth-of-type(n + 4) {
    display: none;
}

.news-details {
    padding-bottom: 2rem;
    line-height: 1;
}


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

    /* mv */
    .mv-inner {
        width: 100%;
    }

    .mv-img img {
        width: 80%;
        height: 64rem;
    }

    /* Articles */
    .top-news-articles {
        grid-template-columns: repeat(1, 1fr);
    }

    .mv-h1,
    .mv-h2 {
        padding: 6rem 0 2rem;

    }

    .mv-h2 {
        font-size: 18px;
    }

    .mv-h1::after,
    .mv-h2::after {
        width: 100%;
        left: 0;
    }



}


/* Footer */
.footer-nav {
    display: flex;
    justify-content: space-between;
}

.footer-ul {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer-nav .news-reference li a {
    border-bottom: solid 1px;

}

.footer-nav li {
    text-align: left;
}

footer {
    padding: 8rem 4rem 2rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 26rem;
    height: 10rem;
    object-fit: cover;
}

.copy_right {
    text-align: center;
}

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

    .footer-logo img {
        width: 54rem;
        height: 24rem;
        object-fit: cover;
    }

}

/* editorial page */
.header-centerlogo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.editorial-list {
    display: grid;
    gap: 7rem;
    margin: 4rem 18rem;
    padding: 2rem 6rem;
    background: #fff;

}

.editorial-list .title {
    line-height: 1;
    padding-bottom: 1rem;
}

.editorial-list .summery {
    line-height: 1;
}



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

    .editorial-list {
        padding: 8rem 4rem;
        margin: 4rem 8rem;
    }

}