/*
Theme Name: wen-corp
Theme URI: 
Author: w-endless
Author URI: 
Description: w-endlessのコーポレートテーマ
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wen-corp
Tags: 
*/
body.customize-support .header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.customize-support .header {
        top: 46px;
    }
}

@media screen and (max-width: 600px) {
    body.customize-support .header.bgon {
        top: 0;
    }
}

.mvunder {
    position: relative;
    background-color: var(--bg-color-black)
}

.post-thumbnail,
.top_main {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.post-thumbnail img,
.top_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.post-thumbnail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto auto;
    background-color: rgba(0, 0, 0, 0.4);

}

.mvunder .page_ttl {
    color: #fff;
    position: relative;
    z-index: 1;
}

.contents-page .mvunder .page_ttl {
    font-weight: 900;
    font-size: 3rem;
}

.mvunder .page_ttl .en {
    display: inline-block;
    letter-spacing: 0;
    color: var(--text-color-red);
    text-transform: uppercase
}

.mvunder .page_ttl .jp {
    display: block;
    font-weight: 900;
    letter-spacing: 0.2em
}

.mvunder .leadtxt {
    line-height: 2;
    color: #fff
}

.contents-page .mvunder .page_ttl {
    max-width: 1200px;
    margin: auto;
    line-height: 1.6;
}

@media screen and (min-width: 897px) {
    .mvunder {
        min-height: 580px;
        padding: 110px 5%;
        display: flex;
        align-items: center;
    }

    .mvunder .page_ttl .en {
        font-size: 12rem;
        text-indent: -.075em
    }

    .mvunder .page_ttl .jp {
        margin-top: 12px;
        font-size: 2.6rem
    }

    .mvunder .leadtxt {
        margin-top: 36px;
        font-size: 1.6rem
    }
}

@media screen and (max-width: 896px) {
    .mvunder {
        padding: 60px 5% 70px;
    }

    .mvunder .page_ttl .en {
        font-size: 5.2rem
    }

    .mvunder .page_ttl .jp {
        margin-top: 8px;
        font-size: 1.8rem
    }

    .mvunder .leadtxt {
        margin-top: 24px;
        font-size: 1.4rem
    }
}

.breadcrumb {
    position: absolute;
    bottom: 20px;
    left: 5%;
    right: 5%;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
}

.breadcrumb ul::-webkit-scrollbar {
    display: none;
}

.breadcrumb li {
    color: #fff;
    flex-shrink: 0;
}

.breadcrumb li.arrow {
    position: relative;
    padding-left: 16px;
    margin-left: 12px
}

.breadcrumb li.arrow:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    border-style: solid;
    border-top: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-left: 5px solid #ccc;
    border-right: 0
}

.breadcrumb .home {
    display: block;
    border-radius: 50%;
    background-color: #535353;
    background-image: url(https://www.w-endless.co.jp/asset/img/common/icon_home.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.breadcrumb .txt {
    display: block;
    padding: 8px 14px;
    background-color: #535353;
    border-radius: 14px;
    letter-spacing: 0.04em;
    color: #fff
}

.breadcrumb .txt.current {
    background-color: #fff;
    color: #000
}

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

    .breadcrumb .home {
        width: 28px;
        height: 28px;
        background-size: 12px
    }

    .breadcrumb .txt {
        font-size: 1.2rem
    }

    .breadcrumb .news_ttl {
        margin-top: 10px
    }

    .breadcrumb .news_ttl .ttl {
        font-size: 1.2rem
    }

}

@media screen and (min-width: 897px) {
    .breadcrumb .home {
        width: 30px;
        height: 30px;
        background-size: 16px
    }

    .breadcrumb .txt {
        font-size: 1.4rem
    }

    .breadcrumb .news_ttl .ttl {
        font-size: 1.4rem
    }
}

.l-main {
    padding: 60px 10%;
    font-size: 1.6rem;
    line-height: 1.6;
    background: #fff;
}

@media screen and (max-width: 896px) {
    .l-main {
        padding: 60px 5%;
    }
}

.post-content h2 {
    font-size: 2.4rem;
    line-height: 1.4;
}

.post-content h3 {
    font-size: 2rem;
    line-height: 1.5;
}

.post-content h4 {
    font-size: 1.8rem;
    line-height: 1.5;
}

.post-content h5 {
    font-size: 1.6rem;
    line-height: 1.5;
}

/* ▼20260928追加 本文の見出し余白（最初の見出し以外） */
.post-content :is(h2, h3, h4, h5)~ :is(h2, h3, h4, h5) {
    margin-top: 3em;
}

.post-content>*:not(:last-child) {
    margin-bottom: 2rem;
}

/* ▲20260928追加ここまで */

/* ▼20260928追加 記事一覧（3カラム） */
.post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 50px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.post-list__item {
    width: calc((100% - 50px * 2) / 3);
}

.post-list__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-list__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    background-color: #eee;
}

.post-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.post-list__link:hover .post-list__thumb img {
    transform: scale(1.05);
}

.post-list__noimg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #999;
}

.post-list__body {
    padding-top: 14px;
}

.post_info {
    text-align: right;
}

.post-list__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1.3rem;
    color: #888;
    letter-spacing: 0.04em;
}

.post-list__icon {
    flex-shrink: 0;
    width: 20px;
}

.post-list__title {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.6;
    transition: color .3s ease;
}

.post-list__link:hover .post-list__title {
    color: var(--text-color-red);
}

.post-list__none {
    text-align: center;
}

/* ページネーション */
.l-main .pagination {
    margin-top: 60px;
}

.l-main .pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.l-main .pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 1.4rem;
    color: #333;
    text-decoration: none;
}

.l-main .pagination .page-numbers.current {
    background-color: #000;
    border-color: #000;
    color: #fff;
}

.l-main .pagination .page-numbers.dots {
    border: none;
}

@media screen and (max-width: 960px) {
    .post-list {
        gap: 30px 20px;
    }

    .post-list__item {
        width: calc((100% - 20px) / 2);
    }
}

@media screen and (max-width: 600px) {
    .post-list__item {
        width: 100%;
    }
}

/* ▲20260928追加ここまで */