/*
Theme Name: My Theme
Author: Sugioka Rinka
Description: モダンな感じのテーマ
Version: 1.0
*/

/* フォント */
body {
    font-family: "Helvetica Neue", "Noto Sans JP";
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    color: #262626;
    line-height: 1.5;
    letter-spacing: 0.07em;
}

h1 {
    font-family: "helvetica-neue-lt-pro", "Noto Sans JP", sans-serif;
    font-weight: 600;
    font-size: x-large;
    line-height: 1.8;
    letter-spacing: 0.07em;
    text-shadow: 0 0 8px gray;
}

._heading_en {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #9d9d9d;
    margin-bottom: 10px;
    text-transform: uppercase;
}

img {
    pointer-events: none;
    -webkit-touch-callout: none;
    user-select: none;
}

/* ====================================================================================
    ヘッダー
   ==================================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* 下層ページのヘッダー */
.site-header.sub-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.sub-header .nav-list li a {
    color: #333;
}

.site-header.sub-header .menu-trigger span {
    background-color: #333;
}

/* 管理バー表示対応 */
.admin-bar .site-header {
    top: 32px;
}

.header-inner {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
}

.site-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .nav-list a {
    color: #262626;
}

/* --- ハンバーガーデスクトップ表示（951px以上） --- */
.menu-trigger {
    display: none;
}

.nav-item-has-child {
    position: relative;
}

@media (max-width: 950px) {
    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        transition: all 0.5s ease;
        z-index: 999;
        padding: 100px 0px 0px 50px;
        box-sizing: border-box;
    }

    .header-nav.is-active {
        right: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-list a {
        color: #262626;
        font-size: 18px;
    }

    .nav-list>li {
        width: 100%;
    }

    .nav-list a,
    .nav-item-has-child>a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        text-align: left;
    }

    /* ハンバーガーの見た目 */
    .menu-trigger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        z-index: 1001;
    }

    .menu-trigger span {
        position: absolute;
        width: 100%;
        height: 2px;
        background-color: #fff;
        transition: all 0.4s;
    }

    .menu-trigger span:nth-child(1) {
        top: 0;
    }

    .menu-trigger span:nth-child(2) {
        top: 11px;
    }

    .menu-trigger span:nth-child(3) {
        top: 22px;
    }

    .menu-trigger.is-active span:nth-child(1) {
        transform: translateY(11px) rotate(-45deg);
        background-color: #000;
    }

    .menu-trigger.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-trigger.is-active span:nth-child(3) {
        transform: translateY(-11px) rotate(45deg);
        background-color: #000;
    }

    .menu-trigger span {
        background-color: #ffffff;
    }

    .site-header.scrolled .menu-trigger span {
        background-color: #262626;
    }

    .menu-trigger.is-active span {
        background-color: #262626;
    }

    .sub-menu {
        display: block;
        list-style: none;
        margin: 0 0 20px 0;
        padding-left: 20px;
        border-left: 1px solid #eee;
    }

    .nav-list .sub-menu li a {
        padding: 12px 0 12px 20px !important;
        font-size: 14px !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 951px) {
    .nav-item-has-child>a {
        cursor: default;
    }

    .sub-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 180px;
        background-color: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-item-has-child:hover .sub-menu {
        opacity: 1;
        visibility: visible;
        top: calc(100% + 10px);
    }

    .sub-menu li {
        width: 100%;
    }

    .sub-menu li a {
        display: block;
        padding: 10px 20px;
        font-size: 0.8rem;
        color: #262626;
        text-align: center;
        text-decoration: none;
    }

    .sub-menu li a:hover {
        background-color: #f9f9f9;
        color: #c46a4f;
    }

}

/* ====================================================================================
    フッター
   ==================================================================================== */

/* 下層のフッター調整 */
.sub-header~.site-footer,
.products_archive~.site-footer {
    padding: 40px 0;
}

.products_archive~.site-footer .footer-logo img {
    width: 150px;
    height: auto;
}

.products_archive~.site-footer .footer-nav li a {
    font-size: 12px;
}

.site-footer {
    position: relative;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 80px 0 40px;
    border-top: 1px solid #eee;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 15px;
}

.footer-sns {
    display: flex;
    gap: 20px;
}

.footer-sns a {
    color: #262626;
    font-size: 20px;
    transition: opacity 0.3s;
}

.footer-sns a:hover {
    opacity: 0.6;
}

.footer-nav {
    display: flex;
    gap: 30px;
    list-style: none;
    margin-bottom: 40px;
}

.footer-nav a {
    text-decoration: none;
    color: #262626;
    font-size: 13px;
    font-weight: 500;
}

.copyright {
    font-size: 11px;
    color: #9d9d9d;
    text-align: right;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }

    .copyright {
        text-align: center;
    }
}

/* ====================================================================================
    TOP
   ==================================================================================== */

.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

.hero_text {

    text-shadow: 0 0 8px gray;

}

.hero_slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    z-index: 1;
}

.hero_slide.active {
    opacity: 1;
    z-index: 2;
}

.hero_img img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
}

/* テキストアニメーション */
.hero_copy {
    position: absolute;
    top: 50%;
    left: 10%;
    color: #fff;
    transform: translateY(20px);
    opacity: 0;
    transition: all 1s ease 0.5s;
}

.hero_slide.active .hero_copy {
    transform: translateY(0);
    opacity: 1;
}

/* Main */
.main_wrapper {
    position: relative;
    margin-top: 100vh;
    z-index: 10;
    background-color: #f4f2ed;
}

.section {
    padding: 100px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    padding: 0 20px;
}

/* NEWS */

.top_news {
    padding: 100px 0;
    background-color: #fff;
}

.news_container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.news_header {
    margin-bottom: 50px;
    text-align: center;
}

.news_list {
    border-top: 1px solid #eee;
    margin-bottom: 40px;
}

.news_item {
    border-bottom: 1px solid #eee;
}

.news_item a {
    display: flex;
    align-items: center;
    padding: 25px 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.news_item a:hover {
    background-color: #fcfbf9;
}

.news_date {
    font-size: 14px;
    color: #9d9d9d;
    width: 120px;
    font-family: "Roboto", sans-serif;
}

.news_category {
    font-size: 11px;
    background: #f4f2ed;
    padding: 2px 8px;
    margin-right: 20px;
    color: #666;
}

.news_title {
    font-size: 16px;
    color: #262626;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news_link {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.view-all-link {
    position: relative;
    display: inline-block;
    padding: 5px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 0.1em;
    color: #262626;
    text-decoration: none;
    text-transform: uppercase;
}

.view-all-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    height: 1px;
    background-color: #262626;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.view-all-link:hover::after {
    transform: scaleX(1);
}

.view-all-link::after {
    transform-origin: right;
}

.view-all-link:hover::after {
    transform-origin: left;
}

@media (max-width: 768px) {
    .news_item a {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news_date {
        width: auto;
    }
}

/* OEM */

.top_oem {
    padding: 120px 0;
    background-color: #f4f2ed;
}

.oem_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* 左画像 */
.oem_media {
    flex: 1.2;
}

.oem_media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* 右テキスト */
.oem_text {
    flex: 1;
}

.oem_text h2 {
    font-size: 28px;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: 500;
}

.oem_description {
    font-size: 15px;
    color: #666;
    margin-bottom: 40px;
    line-height: 2;
}

.oem_text ._heading_en {
    font-size: 14px;

}

.oem_btn_area {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-round {
    position: relative;
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #262626;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #262626;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

.btn-round:hover {
    color: #fff;
    background-color: #262626;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 950px) {
    .oem_container {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
    }

    .oem_text h2 {
        font-size: 22px;
    }
}

.top_recommend {
    padding: 100px 0;
    background-color: #fff;
}

.recommend_header {
    text-align: center;
    margin-bottom: 60px;
}

/* カードデザイン */
.recommend_card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    cursor: grab;
}

.recommend_card:active {
    cursor: grabbing;
}

.card_img img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 4px;
}

.card_content {
    padding: 15px 5px;
}

.card_content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
}

.card_content p {
    font-size: 12px;
    color: #666;
}

/* 製品一覧誘導 */

.top_all_products {
    padding: 60px 0 100px;
    background-color: #fff;
    text-align: center;
}

.all_products_content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #262626;
    letter-spacing: 0.05em;
}

.top_all_products .btn-round {
    min-width: 320px;
}

/* CONTACT */

.top_contact {
    padding: 100px 0 140px;
    background-color: #fff;
    text-align: center;
}

.contact_container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.contact_header {
    margin-bottom: 40px;
}

.contact_info {
    margin-bottom: 60px;
}

.contact_detail {
    font-size: 16px;
    line-height: 2;
    color: #262626;
}

.contact_detail span {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #9d9d9d;
}

.contact_btn_area {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.top_contact .btn-round {
    min-width: 280px;
}

@media (max-width: 768px) {
    .contact_btn_area {
        flex-direction: column;
        align-items: center;
    }

    .top_contact .btn-round {
        width: 100%;
        max-width: 320px;
    }
}

/* ====================================================================================
    製品一覧
   ==================================================================================== */

.products_archive {
    padding: 80px 0;
    padding-top: 100px;
    background-color: #fff;
}

.archive_header {
    text-align: center;
    margin-bottom: 60px;
}

.archive_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* 4カラムのグリッドレイアウト */
.product_grid {
    display: block !important;
    margin: 0 -10px;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
}

.product_item {
    width: 25%;
    padding: 10px;
    float: left;
    position: relative;
}

@media (max-width: 950px) {
    .product_item {
        width: 50%;
    }
}

.product_card {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.product_card:hover {
    transform: none;
}

.product_card:hover .p_img img {
    transform: scale(1.1);
}

/* 画像 */
.p_img {
    background-color: #fff;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.p_img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

/* テキスト */
.p_num {
    display: block;
    font-size: 0.8em;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    margin-bottom: 4px;
    flex-shrink: 0;
}

.p_name {
    font-size: 0.8em;
    line-height: 1.4;
    color: #000;
    font-weight: 600;
}

.p_info {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-top: 10px;
}

@media (max-width: 950px) {
    .product_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* モーダルのスタイル */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s;
    pointer-events: none;
}

.modal.is-active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.modal_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal_content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    padding: 60px 40px 40px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    overflow: auto;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s;
}

.modal.is-active .modal_content {
    transform: translateY(0);
}

.modal_inner {
    display: flex;
    gap: 40px;
}

/* 画像 */
.modal_left {
    width: 45%;
}

.main_view {
    border: 1px solid #eee;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.main_view img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.thumb_list {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.thumb_list li {
    width: 60px;
    height: 60px;
    border: 1px solid #eee;
    cursor: pointer;
}

.thumb_list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* スペック */
.modal_right {
    width: 55%;
}

.modal_p_num {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #262626;
    margin-bottom: 10px;
}

.modal_p_name {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #262626;
    padding-bottom: 10px;
    line-height: 1.2;
}

.spec_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.spec_table th {
    text-align: left;
    font-size: 13px;
    color: #888;
    font-weight: normal;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    width: 140px;
    vertical-align: middle;
}

.spec_table td {
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    line-height: 1.5;
}

.spec_table th,
.spec_table td {
    padding: 8px 0;
}

.spec_table tr:last-child th,
.spec_table tr:last-child td {
    border-bottom: none;
}

.modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    color: #888;
}

.modal_close:hover {
    color: #000;
}

.modal_nav {
    position: static;
}

.nav_btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #fff;
    font-size: 50px;
    cursor: pointer;
    z-index: 1001;
    padding: 20px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav_btn:hover {
    opacity: 1;
}

.nav_prev {
    left: 2vw;
}

.nav_next {
    right: 2vw;
}

@media (max-width: 1050px) {

    .nav_btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;

        width: 40px;
        height: 40px;
        font-size: 18px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;

        z-index: 10005;
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        border: 1px solid #eee;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        opacity: 1 !important;
    }

    .nav_prev {
        left: 20px;
    }

    .nav_next {
        right: 20px;
    }

    .modal_content {
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    .modal_inner {
        flex-direction: column;
    }

    .modal_left,
    .modal_right {
        width: 100%;
    }
}

/* 絞り込み */
.filter_area {
    margin-bottom: 40px;
    text-align: center;
}

.search_box {
    margin-bottom: 25px;
    text-align: center;
}

.search_box input {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    margin-bottom: 20px;
}

#p_search {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 15px;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    outline: none;
}

#p_search:focus {
    background-color: #fff;
    border-color: #262626;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter_buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.filter_btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter_btn.is-active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.is_new_item .product_card::before {
    content: "NEW";
    position: absolute;
    top: 10px;
    left: 10px;
    background: #c46a4f;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 2px;
    z-index: 5;
}

.sort_area {
    margin: 20px 0;
    padding-right: 5px;
    text-align: right;
}

#sort_select {
    padding: 10px 35px 10px 15px;
    border: 1px solid #eee;
    border-radius: 30px;
    font-size: 13px;
    color: #666;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    transition: border-color 0.3s;
}

#sort_select:hover {
    border-color: #bbb;
}

.sort_icon_m {
    display: none;
    /* PCではアイコンを隠す */
}

#mobile_filter_toggle {
    display: none;
}

.product_grid {
    display: block !important;
    /* Isotopeが計算しやすくする */
    overflow: hidden;
}

.product_item {
    position: relative;
    /* これがないとIsotopeが配置に失敗することがあります */
}

@media (max-width: 768px) {

    /* 検索窓とスクロールバー全体を画面下に固定する場合 */
    .filter_area {
        position: fixed;
        bottom: env(safe-area-inset-bottom);
        left: 0;
        width: 100%;
        background: #fff;
        z-index: 10001;
        /* 下の隙間を埋めるため padding-bottom を env(safe-area-inset-bottom) に最適化 */
        padding: 15px 0 calc(10px + env(safe-area-inset-bottom));
        margin-bottom: 0 !important;
        /* 余計なマージンを削除 */
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    }

    .search_box {
        padding: 0 20px; /* 左右に20pxの余裕を追加 */
        margin-bottom: 1px; /* カテゴリボタンとの隙間を25pxから10pxに短縮 */
    }

    #p_search {
        width: 100%;
        max-width: 100%;
        height: 40px;
        font-size: 16px;
        background-color: #f2f2f2;
        border: none;
        border-radius: 22px; /* 高さに合わせて綺麗な丸みに */
    }

    /* 横スクロールの設定 */
    .mobile_scroll_bar {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .mobile_scroll_inner {
        padding: 0 20px; /* ここで左右にしっかり余裕を持たせる */
        display: inline-block; /* 中身に合わせて幅を広げる */
    }

    /* スクロールバーを非表示にする（見た目がスッキリします） */
    .mobile_scroll_bar::-webkit-scrollbar {
        display: none;
    }

    /* ボタンの並びを横一列に固定 */
    .filter_buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px;
        align-items: center;
        padding-bottom: 10px;
    }

    .filter_btn {
        padding: 6px 14px; /* 8px → 6px に。横幅はキープ */
        font-size: 12px;
        border-radius: 17px; /* 高さに合わせて角丸を微調整 */
    }

    /* 各ボタンが縮まないように固定 */
    .filter_btn,
    .sort_wrapper {
        flex: 0 0 auto;
        /* 幅を自動（中身の文字量）で維持 */
    }

    /* 並び替えセレクトボックスのデザイン調整 */
    #sort_select {
        height: 34px;
        padding: 0 30px 0 15px !important;
        border-radius: 20px;
        border: 1px solid #ddd;
        font-size: 12px;
        appearance: none;
        background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
        background-repeat: no-repeat;
        background-position: right 8px center;
        background-size: 10px;
        background-color: #fff;
    }

    .filter_area::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 100px; /* 十分な長さ */
        background: #fff;
    }
}

/* PCではこのエリアを普通のレイアウトに戻すか、既存のfilter_areaを使う */
@media (min-width: 769px) {
    .filter_area_bottom {
        position: static;
        box-shadow: none;
        background: none;
    }
}

/* ====================================================================================
    特集ページ
   ==================================================================================== */

.feature-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background: #000;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.feature-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.feature-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-hero-text {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.feature-hero-text h1 {
    font-size: clamp(24px, 5vw, 42px);
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.feature-hero-text .subtitle {
    font-size: 18px;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.feature-content {
    padding: 80px 0;
    background: #fff;
}

.feature-content .inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.entry-content {
    line-height: 2;
    font-size: 16px;
    color: #333;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2em 0;
}

.feature-footer {
    padding-bottom: 100px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 15px 50px;
    background: #262626;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-back:hover {
    background: #9d9d9d;
    transform: translateY(-3px);
}

.entry-content>* {
    margin-bottom: 2rem;
}

.entry-content h2 {
    font-size: 24px;
    border-bottom: 2px solid #262626;
    padding-bottom: 10px;
    margin-top: 4rem;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-media-text__media img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-body .wp-block-image img {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.wp-block-media-text {
    margin-bottom: 40px;
    gap: 30px;
}

.feature-body h2 {
    font-size: 24px;
    margin: 60px 0 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #262626;
}

/* ====================================================================================
    ニュース詳細
   ==================================================================================== */

.single-post-main {
    padding-top: 120px;
    background: #fff;
}

.post-title {
    font-size: 28px;
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-content .entry-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    line-height: 2;
    font-size: 16px;
}

.nav-links a {
    display: block;
    text-decoration: none;
    color: #262626;
    transition: 0.3s;
}

.nav-post-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.nav-links a:hover .nav-post-title {
    color: #9d9d9d;
}

.nav-back {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #262626;
    color: #262626;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-outline:hover {
    background: #262626;
    color: #fff;
}

@media (max-width: 600px) {
    .nav-links {
        flex-direction: column;
    }

    .nav-prev,
    .nav-next {
        width: 100%;
    }
}

/* ニュース詳細 */
.sub-header-margin {
    padding-top: 120px;
}

.post-header {
    margin-bottom: 40px;
    padding-top: 60px;
}

.post-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: none;
}

.post-title-line {
    width: 100%;
    height: 1px;
    background-color: #bababa;
    margin-top: 5px;
}

.post-meta {
    text-align: right;
    margin-bottom: 10px;
    padding-right: 50px;
}

.post-date {
    font-family: 'Montserrat', sans-serif;
    color: #9d9d9d;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.post-content {
    padding-top: 40px;
}

.entry-content {
    line-height: 2;
    margin-bottom: 80px;
}

.post-navigation {
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20%;
}

.entry-content a,
.nav-links a {
    color: #c46a4f;
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-content a:hover,
.nav-links a:hover {
    color: #9d9d9d;
}

.entry-content a,
.nav-post-title {
    display: inline;
    background-image: linear-gradient(#3a4f63, #3a4f63);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s;
}

.entry-content a:hover,
.nav-links a:hover .nav-post-title {
    background-size: 100% 1px;
}

.nav-prev,
.nav-next {
    width: 45%;
    display: flex;
    flex-direction: column;
}

.nav-prev {
    text-align: left;
    align-items: flex-start;
}

.nav-next {
    text-align: right;
    align-items: flex-end;
}

.nav-links a {
    display: block;
    width: 100%;
    text-decoration: none;
}

.nav-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    color: #9d9d9d;
    margin-bottom: 5px;
}

@media (max-width: 950px) {
    .post-meta {
        text-align: right;
        margin-bottom: 10px;
    }

    .nav-links {
        flex-direction: column;
        padding: 0 5% 5%;
        gap: 40px;
    }

    .nav-prev,
    .nav-next {
        width: 100%;
        text-align: center;
    }

    .nav-label {
        font-size: 13px;
        margin-bottom: 8px;
    }

}

/* ====================================================================================
    NEWS ViewMore
   ==================================================================================== */

/* --- News Archive Page --- */
.sub-hero-news {
    background-color: #f4f2ed;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.news-archive-wrapper {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 40px;
}

.news-list-container {
    border-top: 1px solid #262626;
}

.news-list-item {
    border-bottom: 1px solid #eee;
}

.news-list-link {
    display: flex;
    align-items: center;
    padding: 30px 10px;
    text-decoration: none;
    color: #262626;
    transition: background 0.3s;
}

.news-list-link:hover {
    background-color: #fafafa;
}

.news-meta {
    display: flex;
    align-items: center;
    width: 250px;
    flex-shrink: 0;
}

.news-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #9d9d9d;
    margin-right: 20px;
}

.news-category {
    font-size: 10px;
    padding: 2px 10px;
    border: 1px solid #9d9d9d;
    color: #9d9d9d;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-list-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0;
    flex-grow: 1;
    line-height: 1.6;
}

.news-arrow {
    width: 20px;
    height: 1px;
    background: #262626;
    position: relative;
    margin-left: 20px;
}

.news-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 6px;
    height: 6px;
    border-top: 1px solid #262626;
    border-right: 1px solid #262626;
    transform: rotate(45deg);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .news-list-link {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0;
    }

    .news-meta {
        width: 100%;
        margin-bottom: 10px;
    }

    .news-arrow {
        display: none;
    }
}

/* ====================================================================================
    OEM
   ==================================================================================== */

.oem-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.oem-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.oem-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.oem-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.oem-hero-content h1 {
    font-size: 40px;
    letter-spacing: 0.2em;
}

.inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    width: 100%;
    box-sizing: border-box;
}

.oem-strength {
    padding: 100px 0;
}

.oem-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.oem-flex-img {
    flex: 0 0 50%;
    border-radius: 4px;
}

.oem-flex-img img {
    width: 100%;
    height: auto;
    display: block;
}

.oem-flex-text {
    flex: 1;
}

.strength-item {
    margin-bottom: 50px;
    counter-increment: strength-count;
}

.strength-item::before {
    content: "0" counter(strength-count);
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #828282;
    margin-bottom: 5px;
}

.strength-item h2 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #262626;
    letter-spacing: 0.1em;
}

.strength-item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 13px;
    line-height: 2.2;
    color: #555;
    margin: 0;
}

@media (max-width: 768px) {
    .oem-flex {
        flex-direction: column;
        gap: 30px;
    }

    .oem-flex-img,
    .oem-flex-text {
        width: 100%;
    }
}

/* --- 導入実績とお問い合わせ --- */

.oem-nav-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.oem-nav-buttons .btn-outline {
    position: relative;
    display: inline-block;
    padding: 15px 50px;
    border: 1px solid #262626;
    border-radius: 30px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #262626;
    text-decoration: none;
    text-align: center;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

.oem-nav-buttons a:hover {
    color: #fff;
    background-color: #262626;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    padding-bottom: 50px;
}

/* --- アコーディオン --- */

.accordion-container {
    margin-bottom: 80px;
}

.accordion-nav {
    display: flex;
    gap: 60;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
}

.accordion-header {
    flex: none;
    max-width: 350px;
    padding: 20px 100px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #9d9d9d;
    position: relative;
}

.accordion-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #262626;
    transition: width 0.3s;
    transform: translateX(-50%);
}

.accordion-header:not(.is-active):hover .txt {
    color: #262626;
    transform: translateY(-3px);
    opacity: 0.7;
}

.accordion-header .txt {
    display: inline-block;
    transition: transform 0.3s ease;
}

.accordion-header.is-active {
    color: #262626;
    font-weight: 500;
    background: transparent;
}

.accordion-header.is-active::after {
    width: 100%;
}

.accordion-body {
    display: none;
    padding-top: 40px;
}

.body-lead {
    text-align: center;
    padding: 40px 0 40px;
    font-size: 15px;
    line-height: 2;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
    border-bottom: 1px solid #f0f0f0;
}

.accordion-body.is-open {
    display: block;
}

.item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.item-card {
    padding-top: 20px;
}

.item-card-flex {
    display: flex;
    gap: 30px;
    align-items: center;
}

.item-card h3 {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
}

.item-card-title {
    font-size: 16px;
    margin-bottom: 20px;
}

.item-card-flex {
    display: flex;
    gap: 20px;
}

.card-img {
    width: 40%;
    flex-shrink: 0;
}

.card-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.card-info {
    width: 60%;
}

.spec {
    margin-bottom: 12px;
    margin-top: 20px;
    font-size: 12px;
}

.spec span {
    display: inline-block;
    color: #fff;
    font-size: 13px;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 5px;
    letter-spacing: 0.08em;
}

.spec p {
    font-size: 12px;
    line-height: 2.0;
    color: #444;
    margin: 0;
    padding-left: 2px;
}

.spec:nth-child(1) span {
    background: #9dafb7;
}

.spec:nth-child(2) span {
    background: #b7a49d;
}

.spec:nth-child(3) span {
    background: #b1b1b1;
}

@media (max-width: 768px) {

    .oem-flex,
    .oem-nav-buttons,
    .accordion-nav,
    .item-grid,
    .item-card-flex {
        flex-direction: column;
    }

    .oem-nav-buttons .btn-outline,
    .oem-flex-img,
    .oem-flex-text,
    .card-img,
    .card-info {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .accordion-nav {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
    }

    .accordion-header {
        font-size: 14px;
        padding: 15px 5px;
        flex: 1;
        max-width: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .body-lead {
        padding: 30px 0;
        font-size: 13px;
        line-height: 1.8;
    }

    .item-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .item-card {
        border-top: 1px solid #eee;
    }

    .item-card-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .card-img img {
        aspect-ratio: 3 / 2;
        max-height: 250px;
    }

    .card-info {
        width: 100%;
        padding-left: 0;
    }

    .spec {
        margin-bottom: 15px;
    }

    .oem-items {
        padding-bottom: 60px;
    }
}

/* ====================================================================================
    問い合わせ
   ==================================================================================== */

.form-note {
    font-size: 12px;
    color: #d9534f;
    margin-bottom: 30px;
    text-align: right;
}

.contact-form {
    max-width: 800px;
    margin: 80px auto 120px;
}

.contact-list dt {
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 10px;
    color: #262626;
}

.contact-list dt .en {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    color: #9d9d9d;
    margin-left: 10px;
    letter-spacing: 0.1em;
}

.contact-list dd {
    margin-left: 0;
    margin-bottom: 40px;
}

.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    background: #fbfbfb;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
    transition: all 0.3s;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: #262626;
    background: #fff;
}

.contact-submit {
    margin: 80px 0;
    text-align: center;
}

.contact-submit input.wpcf7-submit,
.contact-submit .btn-outline {
    display: inline-block;
    width: 320px;
    max-width: 100%;
    padding: 20px 0;
    background-color: #fff;
    color: #262626;
    border: 1px solid #262626 !important;
    border-radius: 40px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.4s ease;
    appearance: none;
    -webkit-appearance: none;
}

.contact-submit input.wpcf7-submit:hover,
.contact-submit .btn-outline:hover {
    background-color: #262626;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.required {
    color: #d9534f;
    margin-left: 5px;
    font-weight: bold;
}

.unit-flex {
    display: flex;
    align-items: center;
    gap: 15px;
}

.unit-flex .wpcf7-form-control {
    width: 160px !important;
    margin-bottom: 0 !important;
}

.unit {
    font-size: 15px;
    color: #262626;
    white-space: nowrap;
    margin-left: 10px;
}

.wpcf7-not-valid-tip {
    color: #d9534f !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

@media (max-width: 768px) {
    .unit-flex .wpcf7-form-control {
        width: 120px !important;
    }
}

.contact-hero {
    margin-bottom: 100px;
}

.contact-form::before {
    content: "製品に関するご質問やご相談など、お気軽にお問い合わせください。";
    display: block;
    text-align: center;
    margin-bottom: 60px;
    font-size: 14px;
    color: #555;
}

.contact-faq-guide {
    text-align: center;
    background: #f9f9f9;
    padding: 40px;
    margin-bottom: 60px;
    border-radius: 2px;
}

.contact-faq-guide p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-text {
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    text-decoration: underline;
    text-underline-offset: 5px;
}

/* ====================================================================================
    会社概要
   ==================================================================================== */

.bg-muted {
    background-color: #f4f5f2;
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.concept-img {
    flex: 1;
}

.concept-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.concept-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.concept-text ._heading_en {
    display: block;
    font-size: 0.8rem;
    color: #9d9d9d;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}

.concept-text .catch {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.concept-text .text p {
    font-size: 1rem;
    line-height: 2.2;
    color: #444;
}

@media (max-width: 900px) {
    .flex-container {
        flex-direction: column;
        gap: 40px;
    }

    .concept-text {
        text-align: center;
    }
}

.company-page {
    padding-bottom: 100px;
}

.company-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
}

.company-content th {
    width: 30%;
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #eee;
    text-align: left;
    font-weight: 600;
}

.company-content td {
    padding: 20px;
    border: 1px solid #eee;
    line-height: 1.8;
}

.eruboshi-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fdfdfd;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.eruboshi-flex img {
    width: 60px;
    height: auto;
}

/* 沿革 */
.history-list {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid #eee;
    padding-left: 40px;
}

.history-item {
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s;
}

.history-item::before {
    content: "";
    position: absolute;
    left: -46px;
    top: 5px;
    width: 10px;
    height: 10px;
    background: #262626;
    border-radius: 50%;
}

.history-item.is-show {
    opacity: 1;
    transform: translateY(0);
}

.history-item .year {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #9d9d9d;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.history-item .event {
    font-size: 1rem;
    color: #262626;
    line-height: 1.6;
}

.sub-hero-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: #000;
}

.sub-hero-img {
    position: absolute;
    inset: 0;
    opacity: 0.5;
}

.sub-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-hero-copy {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding-top: 35vh;
}

.sub-hero-copy h1 {
    font-size: clamp(24px, 5vw, 40px);
    color: #fff;
}

.sub-main-wrapper {
    position: relative;
    margin-top: 70vh;
    z-index: 10;
    background-color: #fff;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.sub-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(24px, 3.5vw, 32px);
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.1em;
}

.sub-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #828282;
}

.section-padding {
    padding: 100px 0;
}

.summary-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
}

.summary-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.summary-table th {
    width: 250px;
    padding: 40px 0;
    text-align: left;
    vertical-align: top;
}

.summary-table th::before {
    content: attr(data-label-en);
    display: block;
    font-size: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    color: #c0c0c0;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.summary-table td {
    padding: 40px 0 40px 20px;
    font-size: 1rem;
    color: #262626;
    line-height: 2;
}

/* ベン図 */

.mission-venn-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}

.venn-diagram {
    position: relative;
    width: 300px;
    height: 300px;
}

.venn-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    mix-blend-mode: multiply;
    transition: transform 0.4s ease;
}

/* 信用 */
.circle-confidence {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(186, 202, 214, 0.8);
}

/* 開拓 */
.circle-pioneer {
    bottom: 20px;
    left: 0;
    background-color: rgba(198, 214, 186, 0.8);
}

/* 創意 */
.circle-originality {
    bottom: 20px;
    right: 0;
    background-color: rgba(214, 206, 186, 0.8);
}

.venn-content {
    mix-blend-mode: normal;
}

.venn-content span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #444;
}

.venn-content {
    font-size: 0.9rem;
    font-weight: 600;
    color: #262626;
}

.venn-circle:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

.circle-confidence:hover {
    transform: translateX(-50%) scale(1.05) !important;
}

@media (max-width: 768px) {

    .company-content th,
    .company-content td {
        display: block;
        width: 100%;
    }

    .company-content th {
        border-bottom: none;
    }

    .venn-diagram {
        width: 240px;
        height: 240px;
    }

    .venn-circle {
        width: 150px;
        height: 150px;
    }
}

/* ====================================================================================
    FAQ
   ==================================================================================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 60px 0 30px;
    padding-left: 15px;
    border-left: 4px solid #262626;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.faq-question {
    padding: 25px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}

.faq-question span {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #9d9d9d;
    margin-right: 20px;
}

.faq-question p {
    font-weight: 600;
    padding-right: 40px;
}

.faq-question .icon {
    position: absolute;
    right: 10px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #262626;
    border-bottom: 2px solid #262626;
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.faq-item.is-open .icon {
    transform: rotate(-135deg);
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    padding: 0 0 0 45px;
}

.faq-item.is-open .faq-answer {
    padding-bottom: 30px;
}

.faq-answer-inner {
    padding-top: 10px;
    padding-bottom: 30px;
}

.faq-answer p {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    font-size: 12px;
    margin: 0;
    padding-top: 10px;
}

.faq-answer a {
    color: #c46a4f;
    text-decoration: none;
    position: relative;
    display: inline-block;
    text-underline-offset: 4px;
    padding-bottom: 2px;
    transition: color 0.3s;
}

.faq-answer a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0%;
    width: 100%;
    height: 1px;
    background-color: #c46a4f;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

.faq-answer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sub-hero-faq {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    clip-path: ellipse(150% 100% at 50% 0%);
    background: #000;
}

.sub-hero-faq .sub-hero-img {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.sub-hero-faq .sub-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.sub-hero-faq .sub-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sub-hero-faq .sub-hero-content h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: #fff;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.sub-hero-faq ._heading_en {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

/* ====================================================================================
    プライバシーポリシー ページ
   ==================================================================================== */

.privacy-policy-container {
    /* ヘッダー固定分（80px〜100px程度）を確保して食い込みを防止 */
    padding-top: 120px; 
    padding-bottom: 100px;
    background-color: #fff;
    min-height: 100vh;
}

.privacy-inner {
    max-width: 800px; /* 読みやすい横幅に制限 */
    margin: 0 auto;
    padding: 0 25px;
}

.privacy-header {
    text-align: center;
    margin-bottom: 60px;
}

.privacy-header h1 {
    text-shadow: none; /* ポリシーページなので影は取ってスッキリさせる */
    color: #262626;
    margin-top: 10px;
}

.privacy-content {
    line-height: 2; /* 長文なので行間を広めに */
    color: #444;
}

.privacy-content h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee; /* 項目ごとに区切り線 */
    color: #262626;
}

.privacy-content p {
    margin-bottom: 20px;
    font-size: 15px;
}

.privacy-content ul {
    margin-bottom: 25px;
    padding-left: 1.5em;
}

.privacy-content li {
    margin-bottom: 10px;
    font-size: 15px;
    list-style-type: disc;
}

.legal-date {
    text-align: right;    /* 右寄せ */
    font-size: 13px;      /* 少し小さく */
    color: #9d9d9d;       /* _heading_en と同じグレー */
    margin-bottom: 30px;  /* 本文との間に少し隙間 */
}

/* スマホ対応 */
@media (max-width: 768px) {
    .privacy-policy-container {
        padding-top: 100px; /* スマホのヘッダー高さに合わせて調整 */
    }
    
    .privacy-header {
        margin-bottom: 40px;
    }
    
    .privacy-content h2 {
        font-size: 17px;
        margin-top: 40px;
    }
}

/* ====================================================================================
    サイトマップ
   ==================================================================================== */

   .sitemap-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.sitemap-group h2 {
    font-size: 18px;
    border-bottom: 2px solid #262626;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.sitemap-group ul {
    list-style: none;
    padding: 0;
}

.sitemap-group ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.sitemap-group ul li a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s;
}

.sitemap-group ul li a:hover {
    color: #c46a4f;
}

.sitemap-group ul ul {
    margin-top: 10px;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

@media (max-width: 768px) {
    .sitemap-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}