@charset "utf-8";


/* ヘッダー */
/* ヘッダーのJP/EN部分 */
.jp_en_link {
    display: flex;
}

/* ヘッダーメニュー右のアキ */
.l_header .md_gnavi {
    /* margin-right: 25px; */
}

/* マニュファクチャリング&アーカイブメントの行間調整 */
span.m_a_line {
    line-height: 2.2rem;
    display: inline-block;
}


/* 英語用トップページ */

.md_kv {
    position: relative;
}

.md_firstview_content {
    position: absolute;
    top: 40%;
    display: block;
    font-weight: 700;
    margin: auto;
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.md_catch span {
    font-size: 6.6rem;
}

.md_catch {
    font-size: 5.6rem;
}

.md_catch_sub {
    font-size: 3.2rem;
}



.md_kv img {
    width: 100%;
    height: 700px;
    object-fit: cover;
}

section.intro {
    padding: 80px 0;
    overflow: hidden;
    background: #E9EBEF;
}

.container {
    width: 80%;
    margin: auto;
}

.about-sankei {
    display: flex;
    gap: 20px;
    margin: auto;
    justify-content: space-around;
    align-items: center;
    position: relative;
    /* background: url(/wp-content/themes/sankei/img/index/bg_en_intro.svg) left 0PX top 0px / 40% auto no-repeat; */
}

.txt-box {
    max-width: 50%;
    width: 500px;
    padding: 5rem 0;
    background-image: url(/wp-content/themes/sankei/img/index/bg_en_intro.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    /* 背景の見せ方に合わせて cover / auto などへ変更 */
}


.title {
    margin-bottom: 56px;
    display: flex;
    align-items: center;
}

.title span {
    color: #071479;
    font-size: var(--FontSize-32, 32px);
    font-style: normal;
    font-weight: var(--FontWeight-700, 700);
    margin-left: 20px;
    line-height: normal;
}

/* contents */

.contents-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 20px 60px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #1a1a5e;
    margin-bottom: 50px;
    letter-spacing: 3px;
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.content-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    display: flex;
    flex-direction: column;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.content-card.full-width {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.card-footer {
    background: #1a1a5e;
    color: white;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: background 0.3s ease;
}

.card-footer:hover {
    background: #2a2a7e;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.card-arrow {
    font-size: 30px;
    line-height: 1;
}

.footer-decoration {
    background: repeating-linear-gradient(45deg,
            #e8a5b8,
            #e8a5b8 10px,
            #f0b5c5 10px,
            #f0b5c5 20px);
    height: 40px;
    position: relative;
    margin-top: 60px;
}

.footer-icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a90e2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.moreinfo-button {
    display: flex;
    width: 450px;
    max-width: 80%;
    height: 107px;
    padding: 10px;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    border: 2px solid #071479;
    background: #FFF;
    margin: 0px auto 64px;
    font-size: 2rem;
    font-weight: 700;
    color: #071479;
}

.moreinfo-button:hover {
    /* ホバー時の背景色と文字色を反転 */
    background-color: #071479;
    color: #fff;
    transition: 0.3s;
}


@media (max-width: 768px) {

    .md_catch span {
        font-size: 4rem;
    }

    .md_catch {
        font-size: 3.4rem;
    }

    .md_catch_sub {
        font-size: 2rem;
    }

    .md_firstview_content {
        top: 30%;
        right: 0;
        left: 0;
        width: 100%;
        padding: 0 2rem;
    }

    .about-sankei {
        display: block;
        flex-direction: column-reverse;
    }

    .txt-box {
        max-width: 100%;
    }

    section.intro {
        padding: 20px 0;
    }

    .contents-section {
        padding: 60px 20px 60px;
    }

    .about-sankei {
        /* background: url(/wp-content/themes/sankei/img/index/bg_en_intro.svg) left 0PX top 120px / 100% auto no-repeat; */
    }

    .contents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-card.full-width {
        grid-column: 1;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: 16px;
    }

    .content-card.full-width {
        max-width: inherit;
    }
}

@media (min-width: 820px) and (max-width: 1024px) {
    .about-sankei {
        gap: 30px;
    }

    .txt-box {
        width: inherit;
    }

    .contents-section {
        width: 90%;
    }

    .md_catch span {
        font-size: 5.3rem;
    }

    .md_catch {
        font-size: 4.5rem;
    }

    .md_catch_sub {
        font-size: 2.6rem;
    }

    .content-card.full-width {
        max-width: 47%;
    }
}


/* 商品一覧 */
.product_fl_col {
    flex-direction: column;
}

.aside-flex ul {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.aside-flex ul li {
    width: calc(100% / 3 - 10px);
    text-align: center;
}

.aside-flex .child-terms li {
    width: calc(100% / 2 - 8px);
    text-align: center;
}

.child-terms-wrap {
    display: none;
    max-width: 320px;
    background: #f3f5f9;
}


.child-terms-wrap.show {
    display: block;
}

.md_aside {
    width: 100%;
}

.md_aside_inner {
    padding: 10px 0;
}

.md_aside_inner>p {
    display: block;
    background: #071479;
    color: #fff;
    font-weight: 900;
    padding: 10px 15px;
    margin: 0 0 16px 0;
    position: relative;
    cursor: pointer;
    padding-right: 30px;
}

.md_aside_inner>p::after {
    content: '＋';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: content 0.2s;
}

.md_aside_inner>p.open::after {
    content: '－';
}

/* 追加・修正 */
.type-filter-toggle {
    position: relative;
    cursor: pointer;
    padding-right: 30px;
    background: #071479;
    color: #fff;
    font-weight: 900;
    padding: 10px 15px;
    margin: 0 0 16px 0;
    display: block;
}

.type-filter-toggle::after {
    content: '＋';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: content 0.2s;
}

.type-filter-toggle.open::after {
    content: '－';
}

.type-filter-container {
    display: none;
}

.type-filter-container.open {
    display: block;
}

.md_aside_inner>ul {
    display: none;
    margin-bottom: 32px;
}

.md_aside_inner>ul.open {
    display: flex;
}

.md_aside ul li .child-terms {
    padding: 0;
}

.md_aside ul li .child-terms>li p:hover {
    color: #fff;
}

.child-terms-wrap ul.child-terms {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.child-terms-wrap ul.child-terms li {
    margin: 0;
    padding: 0;
}

.filter-box {
    margin-bottom: 3rem;
}

.filter-box>p {
    font-weight: 700;
    color: #071479;
}

.filter-box>ul {
    display: flex;
    align-items: flex-start;
}

.filter-box>ul>li {
    background: #f3f5f9;
    margin-top: 10px;
}

.filter-box>ul>li p {
    cursor: pointer;
    display: block;
    padding: 10px 10px;
    transition: all 0.5s cubic-bezier(0, 0, 0.25, 1) 0s;
}

.filter-box>ul>li p:hover {
    background: rgba(7, 20, 121, 0.5);
    color: #fff;
}

.parent-filter {
    cursor: pointer;
    position: relative;
}

.parent-filter.expanded::after {
    content: '-';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.parent-filter:not(.expanded)::after {
    content: '+';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#md_product_list_area {
    width: 100%;
    margin-top: 5rem;
    display: none;
}

#md_product_list_area.show {
    display: flex;
}

.search-terms-list li {
    display: flex;
    place-content: inherit;
}

.search-terms-list li p {
    width: 100%;
    place-content: center;
}

@media (max-width: 767px) {
    .md_aside .md_aside_inner>.search-terms-list {
        display: none;
    }

    .md_aside_inner>.search-terms-list.open {
        display: flex;
        flex-direction: column;
    }

    .md_aside .md_aside_inner>.search-terms-list>li {
        width: 100%;
    }

    .filter-box>ul {
        flex-direction: column;
    }

    .aside-flex ul li {
        width: 100%;
        text-align: center;
    }

    .child-terms-wrap {
        max-width: inherit;
    }
}




/* フッター */
/* 2025.10.23追加 */
/* 海外版 */
.en-fnavi {
    display: flex;
    align-items: end;
    gap: 20px;
    margin-bottom: 8px;
}

.en_footer {
    background-image: inherit;
    background-color: #071479;
    color: #fff;
    position: relative;
    padding: 60px 5% 30px;
}

.md_logo-cont {
    display: flex;
    flex-wrap: wrap;
}

.md_logo-cont a {
    color: #071479;
    padding: 10px 30px;
    background-color: #fff;
    font-weight: 500;
    font-size: 1.6rem;
    text-align: center;
    width: 100%;
}

.en_footer .md_logo_wrap .md_logo-cont {
    align-items: center;
    display: flex;
    justify-content: center;
    font-size: 2.3rem 23px;
    font-weight: 700;
    margin-right: 30px;
    max-width: 180px;
    gap: 20px;
}

.en_footer .md_logo_wrap {
    align-items: flex-start;
}

.en_footer .md_fnavi_wrap {
    margin-top: 1rem;
}

.en_footer .md_footer_inner {
    margin: 0 auto 50px;
}

@media (max-width: 759px) {
    ul.md_fnavi.en-fnavi {
        display: block;
    }

    .en_footer .md_footer_inner {
        margin: 0 auto 90px;
    }

    .l_footer .md_fnavi:first-of-type {
        width: 100%;
    }
}