@charset "utf-8";

.page_header .note {
    transform: translateY(85px);
    margin-top: 160px;
    font-weight: 700;
    /* font-size: 1.8rem; */
}

.news_content {
    padding: 0 3vw 0;
    margin-bottom: 80px;
    color: var(--text-color);
    font-size: 2.2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.news_content .inner {
    margin: 0 auto;
    font-size: inherit;
}

.news_content .inner::after {
    content: "";
    display: table;
    clear: both;
}

.news_content p {
    font-size: inherit;
    color: inherit;
    line-height: inherit;
    margin-bottom: 1.2em;
    color: var(--text-color);
}

.news_content p:last-child {
    margin-bottom: 0;
}

.news_content h2,
.news_content h3,
.news_content h4,
.news_content h5,
.news_content h6 {
    color: var(--text-color);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.05em;
}

.news_content h2 {
    font-size: 3.2rem;
    margin: 1.6em 0 0.55em;
}

.news_content h3 {
    font-size: 2.8rem;
    margin: 1.4em 0 0.5em;
}

.news_content h4 {
    font-size: 2.4rem;
    margin: 1.2em 0 0.45em;
}

.news_content h5,
.news_content h6 {
    font-size: 2rem;
    margin: 1em 0 0.4em;
}

.news_content h2:first-child,
.news_content h3:first-child,
.news_content h4:first-child {
    margin-top: 0;
}

.news_content a {
    color: var(--text-color);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
    font-size: inherit;
}

.news_content a:hover {
    opacity: 0.7;
}

.news_content strong,
.news_content b {
    font-weight: 800;
    color: inherit;
    font-size: inherit;
}

.news_content em,
.news_content i {
    font-style: italic;
    color: inherit;
    font-size: inherit;
}

.news_content :where(ul, ol) {
    margin: 0 0 1.2em;
    padding-left: 1.6em;
}

.news_content ul {
    list-style: disc;
    font-size: inherit;
}

.news_content ol {
    list-style: decimal;
    font-size: inherit;
}

.news_content li {
    list-style: inherit;
    margin: 0.35em 0;
    font-size: inherit;
    color: inherit;
    color: var(--text-color);
    line-height: inherit;
}

.news_content li > ul,
.news_content li > ol {
    margin-top: 0.4em;
    margin-bottom: 0.4em;
}

.news_content blockquote {
    margin: 1.4em 0;
    padding: 0.4em 0 0.4em 1.2em;
    border-left: 4px solid var(--y);
    color: var(--text-color);
    font-style: italic;
}

.news_content blockquote p:last-child {
    margin-bottom: 0;
}

.news_content hr {
    border: none;
    border-top: 1px solid rgba(15, 109, 160, 0.22);
    margin: 2em 0;
}

.news_content figure {
    margin: 1.5em 0;
}

.news_content figcaption {
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-color);
    opacity: 0.85;
    margin-top: 0.5em;
}

.news_content img {
    height: auto;
}

.news_content table {
    width: 100%;
    margin: 1.2em 0 1.6em;
    font-size: 1.8rem;
    line-height: 1.5;
}

.news_content th,
.news_content td {
    border: 1px solid rgba(15, 109, 160, 0.28);
    padding: 0.55em 0.75em;
    vertical-align: top;
}

.news_content th {
    background: rgba(15, 109, 160, 0.08);
    font-weight: 700;
    color: var(--text-color);
}

.news_content pre {
    overflow-x: auto;
    margin: 0 0 1.2em;
    padding: 1em 1.2em;
    background: rgba(15, 109, 160, 0.07);
    font-size: 1.8rem;
    line-height: 1.55;
    tab-size: 4;
}

.news_content code {
    font-size: 0.92em;
    padding: 0.15em 0.35em;
    background: rgba(15, 109, 160, 0.08);
}

.news_content pre code {
    padding: 0;
    background: none;
    font-size: inherit;
}

.news_content .alignleft {
    float: left;
    max-width: min(50%, 36rem);
    margin: 0.3em 1.4em 0.8em 0;
}

.news_content .alignright {
    float: right;
    max-width: min(50%, 36rem);
    margin: 0.3em 0 0.8em 1.4em;
}

.news_content .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.news_content .wp-block-embed__wrapper,
.news_content .wp-caption {
    max-width: 100%;
}

.news_content iframe {
    max-width: 100%;
}

.news_list_wrap {
    margin-bottom: 120px;
}
.news_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 3vw;
    position: relative;
    z-index: 1;
}
.news_list li a {
    display: flex;
    gap: 10px;
}
.news_list li a .date {
    width: 200px;
    color: var(--text-color);
    background-color: var(--wt);
    padding: 15px 20px;
    text-align: center;
    font-size: 2.2rem;
}
.news_list li a .title {
    width: calc(100% - 200px - 10px);
    color: var(--text-color);
    background-color: var(--wt);
    padding: 15px 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 2.2rem;
}
.news_list_wrap .more_button {
    width: 100%;
    background-color: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    display: inline-block;
    /* text-align: right; */
    font-size: 3.2rem;
    width: auto;
    padding-right: 85px;
    padding-bottom: 3px;
    background-image: url(../../common/img/drill-r-small.svg);
    background-size: 122px;
    background-position: right center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
}
.news_list_wrap .btn {
    margin-top: 30px;
    padding: 0 3vw;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}
.news_list_wrap .more_button:hover {
    opacity: 0.7;
    background-position: right -10px center;
}
/*---------------------------------------------------------------*\
	$736px
\*---------------------------------------------------------------*/

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

    .page_header .note {
        transform: translateY(0);
        margin-top: 90px;
        font-weight: 700;
        font-size: 1.8rem;
    }
    .news_content {
        padding: 0 20px 0;
        margin-bottom: 60px;
        font-size: 1.4rem;
        position: relative;
        z-index: 1;
    }

    .news_content .inner {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .news_content h2 {
        font-size: 2rem;
    }

    .news_content h3 {
        font-size: 2rem;
    }

    .news_content h4 {
        font-size: 1.8rem;
    }

    .news_content h5,
    .news_content h6 {
        font-size: 1.6rem;
    }

    .news_content table {
        font-size: 1.4rem;
    }

    .news_content pre {
        font-size: 1.3rem;
        padding: 0.85em 1em;
    }

    .news_content figcaption {
        font-size: 1.3rem;
    }

    .news_content .alignleft,
    .news_content .alignright {
        float: none;
        max-width: 100%;
        margin: 1em 0;
    }

    .news_list_wrap {
        margin-bottom: 60px;
    }
    .news_list {
        gap: 5px;
        padding: 0 20px;
    }
    .news_list li a {
        gap: 5px;
    }
    .news_list li a .date {
        width: 100px;
        padding: 5px 8px;
        font-size: 1.3rem;
        letter-spacing: 0;
    }
    .news_list li a .title {
        width: calc(100% - 100px - 5px);
        padding: 5px 10px;
        font-size: 1.3rem;
    }
    .news_list_wrap .more_button {
        font-size: 1.5rem;
        background-size: 43px;
        padding-right: 37px;
    }
}

/* news_list inview */
.news_list > li {
    opacity: 0;
    transform: translateY(30px);
}
.news_list > li.is-inview {
    animation: news-slide-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes news-slide-up {
    to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .news_list > li { opacity: 1; transform: none; }
}
