@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');

/* -------------------------------base(mobile)↓-------------------------------------- */
/* news_html */
main:has(.news_html){
    padding-left: 0;
    padding-right: 0;
}
main:has(.news_html)>header{
    width: calc(100% - calc(var(--site-padding) * 2));
    margin: auto;
}
main.full-sreen:has(.news_html)>header{
    height: 100vh;
}

.news_html{
    background-color: #ffffff;
    padding: var(--site-padding);
    font-family: "Noto Sans JP", sans-serif;
}
.news_html>h1{
    font-size: calc(30 * var(--site-font-size-ratio));
    font-weight: 900;
}
.news_html>time{
    font-size: calc(18 * var(--site-font-size-ratio));
    font-weight: 700;
    display: block;
}
.news_html>p,
.news_html>section{
    margin: calc(25 * var(--site-font-size-ratio)) auto;
    font-size: calc(22 * var(--site-font-size-ratio));
    font-weight: 400;
}
.news_html>section{
    margin: calc(10 * var(--site-font-size-ratio)) auto;
    font-size: calc(22 * var(--site-font-size-ratio));
}
.news_html img{
    display: block;
    max-width: 100%;
}
/* news_html */

/* landscape responsive */
@media screen and (max-width: 767px) and (orientation: landscape) {
}
/* landscape responsive */
/* -------------------------------base(mobile)↑-------------------------------------- */

/* -----------------desktop(include ipad)↓-------------------- */
@media screen and (min-width: 768px){
    /* news_html */
    .news_html{
        margin-top: calc(30 * var(--site-font-size-ratio));
    }
    main.full-sreen:has(.news_html)>header,
    main:has(.news_html)>header{
        height: auto;
        max-width: 100%;
    }
    main.full-sreen:has(.news_html)>header>div,
    main:has(.news_html)>header>div{
        background-color: #000000;
        max-width: 100%;
        top: 0;
    }
    .news_html>*{
        max-width: calc(980 * var(--site-font-size-ratio));
        margin: auto;
    }
    .news_html>h1{
        font-size: calc(32 * var(--site-font-size-ratio));
    }
    .news_html>time{
        font-size: calc(14 * var(--site-font-size-ratio));
    }
    .news_html>p,
    .news_html>section{
        margin: calc(15 * var(--site-font-size-ratio)) auto;
        font-size: calc(18 * var(--site-font-size-ratio));
    }
    .news_html>section{
        margin: calc(5 * var(--site-font-size-ratio)) auto;
        font-size: calc(18 * var(--site-font-size-ratio));
    }
    /* news_html */
}

@media screen and (min-width: 1440px){
}
/* -----------------desktop(include ipad)↓-------------------- */

/* all over the front page */