@charset "utf-8";

/* News List Page */

.tmNl {
    padding-top: calc(var(--header-height) + 90px);
    padding-bottom: 120px;
    position: relative;
    min-height: 100vh;
}

.tmNl__container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
}


/* 2カラム: 左 = kicker / 右 = list */

.tmNl__layout {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.tmNl__kicker {
    position: sticky;
    top: calc(var(--header-height) + 30px);
    max-width: 415px;
    width: 40%;
    margin: 0;
    font-size: var(--en-font-medium);
    color: #121212;
}

.tmNl__list {
    width: calc(100% - 415px);
    margin-right: calc(50% - 50vw);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tmNlItem {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(18, 18, 18, 0.2);
}

.tmNlItem__link {
    display: grid;
    grid-template-columns: 263px 1fr;
    column-gap: 47px;
    align-items: center;
}

.tmNlItem--last {
    border-bottom: 1px solid rgba(18, 18, 18, 0.2);
}

.tmNlItem__thumb {
    width: 263px;
    height: 164px;
    overflow: hidden;
}

.tmNlItem__thumbImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tmNlItem__date {
    display: block;
    font-size: 18px;
    color: #121212;
    margin: 0 0 10px;
}

.tmNlItem__title {
    margin: 0;
    font-size: var(--ja-font-medium);
    line-height: 1.6;
}

.tmNlItem__link {
    color: inherit;
    text-decoration: none;
}


/* single-news: align style to news-list */

.tmNl--single .tmNlItem--single {
    border-bottom: 0;
    padding-bottom: 0;
}

.tmNlItem__hero {
    width: 100%;
    max-width: 840px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.tmNlItem__heroImg {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tmNlItem__heading {
    margin: 0 0 16px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 400;
}

.tmNlDetail__body {
    max-width: 840px;
    font-size: 20px;
    line-height: 1.8;
}

.tmNlDetail__body p {
    margin: 0 0 16px;
}

.tmNlDetail__body a {
    color: inherit;
    text-decoration: underline;
}

.tmNlDetail__body h2,
.tmNlDetail__body h3,
.tmNlDetail__body h4 {
    margin: 42px 0 14px;
    color: #212121;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.tmNlDetail__body h2 {
    font-size: 30px;
    line-height: 1.45;
}

.tmNlDetail__body h3 {
    font-size: 24px;
    line-height: 1.5;
}

.tmNlDetail__body h4 {
    font-size: 20px;
    line-height: 1.6;
}

.tmNlDetail__body p+h2,
.tmNlDetail__body p+h3,
.tmNlDetail__body p+h4 {
    margin-top: 50px;
}

.tmNlDetail__body strong {
    font-weight: 600;
}

.tmNlDetail__body ul,
.tmNlDetail__body ol {
    margin: 0 0 22px;
    padding-left: 1.4em;
}

.tmNlDetail__body li {
    margin: 0 0 8px;
}

.tmNlDetail__body blockquote {
    margin: 28px 0;
    padding: 16px 22px;
    border-left: 1px solid rgba(18, 18, 18, 0.25);
    background: rgba(241, 240, 241, 0.65);
}

.tmNlDetail__body hr {
    margin: 34px 0;
    border: 0;
    border-top: 1px solid rgba(18, 18, 18, 0.2);
}

.tmNlDetail__body>*:first-child {
    margin-top: 0;
}

@media screen and (max-width: 1024px) {
    /* 2カラム: 左 = kicker / 右 = list */
    .tmNl__layout {
        display: flex;
        justify-content: space-between;
        align-items: start;
    }
    .tmNl__list {
        width: calc(100% - 300px);
        margin-right: 0;
    }
}

@media screen and (max-width: 768px) {
    .tmNl {
        padding-top: calc(var(--header-height) + 60px);
        padding-bottom: 60px;
    }
    /* 2カラム: 左 = kicker / 右 = list */
    .tmNl__layout {
        flex-direction: column;
        gap: 30px;
    }
    .tmNl__kicker {
        width: 100%;
        height: auto;
        position: relative;
        top: auto;
        font-size: var(--en-font-medium);
    }
    .tmNl__list {
        width: 85%;
        margin-left: auto;
        gap: 15px;
    }
    .tmNlItem {
        padding-bottom: 15px;
    }
    .tmNlItem__link {
        grid-template-columns: 1fr;
        row-gap: 10px;
        align-self: start;
    }
    .tmNlItem__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }
    .tmNlItem__meta {
        height: 100%;
    }
    .tmNlItem__date {
        font-size: 15px;
        margin: 0 0 10px;
    }
    .tmNlItem__title {
        margin: 0;
        font-size: var(--ja-font-medium);
        line-height: 1.6;
    }
    /* single-news: align style to news-list */
    /* sp用にフォントやサイズ等を全体的に調整 */
    .tmNl--single .tmNlItem--single {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .tmNlItem__hero {
        width: 100%;
        max-width: 100%;
        margin-top: 12px;
        margin-bottom: 16px;
    }
    .tmNlItem__heroImg {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
        border-radius: 5px;
    }
    .tmNlItem__heading {
        margin: 0 0 12px;
        font-size: 18px;
        line-height: 1.45;
        font-weight: 500;
        letter-spacing: 0.01em;
    }
    .tmNlDetail__body {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.7;
        word-break: break-word;
    }
    .tmNlDetail__body p {
        margin: 0 0 12px;
    }
    .tmNlDetail__body a {
        color: #1771c6;
        text-decoration: underline;
        word-break: break-all;
    }
    .tmNlDetail__body h2,
    .tmNlDetail__body h3,
    .tmNlDetail__body h4 {
        margin: 28px 0 10px;
        color: #212121;
        font-weight: 500;
        letter-spacing: 0.01em;
    }
    .tmNlDetail__body h2 {
        font-size: 20px;
        line-height: 1.35;
    }
    .tmNlDetail__body h3 {
        font-size: 17px;
        line-height: 1.4;
    }
    .tmNlDetail__body h4 {
        font-size: 15px;
        line-height: 1.55;
    }
    .tmNlDetail__body p+h2,
    .tmNlDetail__body p+h3,
    .tmNlDetail__body p+h4 {
        margin-top: 34px;
    }
    .tmNlDetail__body strong {
        font-weight: 700;
    }
    .tmNlDetail__body ul,
    .tmNlDetail__body ol {
        margin: 0 0 15px;
        padding-left: 1.2em;
    }
    .tmNlDetail__body li {
        margin: 0 0 6px;
        font-size: 15px;
        line-height: 1.6;
    }
    .tmNlDetail__body blockquote {
        margin: 16px 0;
        padding: 10px 14px;
        border-left: 2px solid rgba(18, 18, 18, 0.20);
        background: rgba(241, 240, 241, 0.45);
        font-size: 15px;
        line-height: 1.5;
    }
    .tmNlDetail__body hr {
        margin: 20px 0;
        border: 0;
        border-top: 1px solid rgba(18, 18, 18, 0.16);
    }
    .tmNlDetail__body>*:first-child {
        margin-top: 0;
    }
}