/*
Theme Name: NAKASEIKI
Theme URI: 
Author: SHIP-inc
Author URI: 
Description: NAKASEIKI Vietnam custom theme
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&family=Barlow+Semi+Condensed:wght@600;700&display=swap');

/* =============================================
   CSS Variables
   ============================================= */
:root {
    --color-primary: #3BADA6;
    --color-primary-dark: #2E8C86;
    --color-accent: #E8922A;
    --color-text: #1A1A1A;
    --color-text-light: #666666;
    --color-bg: #ffffff;
    --color-bg-beige: #FFE7C2;
    --color-bg-dark: #5C4A2A;
    --color-border: #E0E0E0;
    --font-main: 'Barlow', sans-serif;
    --font-heading: 'Barlow Semi Condensed', sans-serif;
    --container-width: 1280px;
    --container-padding: 40px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--color-text); background: var(--color-bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* =============================================
   Typography
   ============================================= */
h1, h2, h3, h4, h5, h6, h1, h2, h3, h4, h5, h6 { line-height: 1.3; font-weight: 700; font-family: var(--font-heading); }

/* =============================================
   Layout
   ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn--primary {
    background: var(--color-primary);
    color: #fff;
    border: 2px solid var(--color-primary);
}
.btn--primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); }
.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }
.btn--contact {
    background: #e99413;
    color: #fff;
    border-radius: 1000px;
    padding: 8px 24px;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.btn--contact:hover { opacity: 0.85; }
.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border-radius: 4px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--color-accent);
}
.btn--accent:hover { opacity: 0.85; }

/* Section title */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
}
.section-title-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.section-title-bar span {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #E8922A, #3BADA6);
    border-radius: 2px;
}

/* =============================================
   Header / Top Bar
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    transition: transform 0.35s ease;
}
.site-header.is-hidden {
    transform: translateY(-100%);
}

.top-bar {
    background: #efefef;
    font-family: var(--font-heading);
    font-size: 16px;
    color: #382c2c;
}
.top-bar__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 12px var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}
.top-bar__left { display: flex; align-items: center; gap: 32px; }
.top-bar__right { display: flex; align-items: center; gap: 32px; }
.top-bar__item {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #382c2c;
    font-family: var(--font-heading);
    font-size: 16px;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.top-bar__item:hover { color: var(--color-primary); }
.top-bar__item svg { flex-shrink: 0; color: #bb4a4b; }
.top-bar__phone {
    color: #bb4a4b;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.top-bar__phone:hover { color: #a03030; }
.top-bar__zalo { color: #382c2c; font-weight: 700; font-size: 18px; }

.main-nav { background: #fff; }
.main-nav__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 8px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-logo img { height: 90px; width: auto; }
/* nav-menu はSPオーバーレイ専用。PCでは完全に非表示 */
.nav-menu { display: none; }
.nav-pc { display: flex; align-items: center; gap: 30px; }
.nav-lang { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.nav-list a:hover { color: var(--color-primary); }
.nav-lang a {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}
.nav-lang a:hover { color: var(--color-primary); }
.nav-lang__active { color: var(--color-primary) !important; }
.nav-lang span { color: #ccc; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-text); border-radius: 2px; transition: all 0.3s; }
.nav-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: #e99413;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.nav-close:hover { opacity: 0.85; }

/* =============================================
   Footer
   ============================================= */
.site-footer { background: #efefef; }
.footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 32px var(--container-padding) 40px;
}
.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 48px;
}

/* ブランド */
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 32px;
    flex-shrink: 0;
}
.footer__logo img,
.footer__logo .custom-logo { width: 200px; height: auto; }
.footer__company-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer__company-name {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: #382c2c;
    line-height: 1.5;
}
.footer__address {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: #382c2c;
    line-height: 1.6;
    max-width: 336px;
}

/* 右側（ナビ + SNS） */
.footer__right {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    flex-shrink: 0;
    margin-top:40px;
}
.footer__nav {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}
.footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer__nav-title {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    color: #382c2c;
    line-height: 1;
}
.footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer__nav-list li a {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 500;
    color: #382c2c;
    transition: opacity 0.2s;
    white-space: nowrap;
    line-height: 1;
    display: block;
}
.footer__nav-list li a:hover { opacity: 0.7; }

/* SNS */
.footer__social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__social-link {
    width: 32px;
    height: 32px;
    color: #382c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.footer__social-link:hover { opacity: 0.7; }

/* コピーライトバー */
.footer__bottom {
    background: #e99413;
    padding: 24px 0;
    text-align: center;
}
.footer__bottom p {
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
}

  /* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    z-index: 2;
    min-height: 580px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    padding-bottom: 110px;
}
.hero__bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; }
.hero__slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); z-index: 1; }
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: #fff;
}
.hero__content .container {
    padding-top: 80px;
    padding-bottom: 40px;
}
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.85);
}
.hero__eyebrow::before {
    content: '';
    display: inline-block;
    width: 36px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    flex-shrink: 0;
}
.hero__title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 620px;
}
.hero__title span { color: var(--color-accent); }
.hero__text { font-size: 15px; max-width: 520px; margin-bottom: 32px; opacity: 0.9; line-height: 1.8; font-weight: 600; }
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__btns .btn { min-width: 220px; }

/* Stats - circular overlapping cards */
.hero__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(50%);
    z-index: 10;
}
.hero__stats-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}
.hero__stat {
    flex: 1;
    max-width: 220px;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.04);
}
.hero__stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    color: var(--color-accent);
    flex-shrink: 0;
}
.hero__stat-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.1;
    margin-bottom: 4px;
}
.hero__stat-label { font-size: 14px; color: #333; line-height: 1.5; font-weight: 700; }

/* =============================================
   Scroll Reveal Animation
   ============================================= */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal="fade-up"] { transform: translateY(40px); }
[data-reveal="fade-left"] { transform: translateX(-48px); }
[data-reveal="fade-right"] { transform: translateX(48px); }
[data-reveal].is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* =============================================
   Products Section
   ============================================= */
.products-section {
    padding: 0 0 100px;
    position: relative;
    z-index: 1;
    background-color: #e6e6e6;
    background-image: url('./assets/images/products-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.products-section__heading {
    background: transparent;
    padding: 170px 0 56px;
    margin-bottom: 0;
}
.products-section__heading-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.products-section__logo { height: 160px; width: auto; }
.products-section__title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    color: #231817;
    letter-spacing: 0.03em;
    white-space: nowrap;
}
.product-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    margin-bottom: 80px;
}
.product-row--reverse .product-row__image { order: 2; }
.product-row--reverse .product-row__content { order: 1; }
.product-row__image img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.product-row__title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
    letter-spacing: 0.03em;
}
.product-row__desc { font-size: 16px; color: #333; margin-bottom: 16px; line-height: 1.7; }
.product-row__subtitle { font-size: 14px; font-weight: 500; margin-bottom: 4px; margin-top: 12px; color: #333; }
.product-row__list { padding-left: 20px; margin-bottom: 8px; }
.product-row__list li { font-size: 14px; color: #333; line-height: 2; list-style: disc; }
.btn--product-list {
    background: #25977a;
    color: #fff;
    border-radius: 1000px;
    padding: 14px 48px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.1em;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.2s;
    margin-top: 8px;
    text-transform: capitalize;
}
.btn--product-list:hover { opacity: 0.85; }

/* =============================================
   Makers Section
   ============================================= */
.makers-section {
    padding: 80px 0;
    background-color: var(--color-bg-beige);
    background-image: url('./assets/images/makers-bg.png');
    background-size: cover;
    background-position: center;
}
.maker-card {
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.maker-card--reverse { flex-direction: row-reverse; }
.maker-card__content {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.maker-card__logo { max-height: 36px; width: auto; object-fit: contain; margin-bottom: 12px; }
.maker-card__desc { font-size: 13px; color: var(--color-text-light); line-height: 1.7; margin-bottom: 20px; }
.maker-card__btn { align-self: flex-start; border-radius: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.maker-card__images {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 20px 20px;
    align-content: start;
}
.maker-card__images img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    display: block;
}

/* =============================================
   Distributors Section
   ============================================= */
.distributors-section {
    padding: 80px 0 100px;
    background-color: #e6e6e6;
    background-image: url('./assets/images/products-bg.png');
    background-size: cover;
    background-position: center;
}

/* 4色バー（distributorsセクション専用） */
.distributors-section .section-title-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
    gap: 0;
}
.distributors-section .section-title-bar span {
    display: flex;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    gap: 0;
}
.distributors-section .section-title-bar span::before,
.distributors-section .section-title-bar span::after { display: none; }
.distributor-title-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.distributor-title-bar__inner {
    display: flex;
    height: 6px;
}
.distributor-title-bar__inner span {
    display: block;
    width: 40px;
    height: 6px;
}
.distributor-title-bar__inner span:nth-child(1) { background: #e99413; }
.distributor-title-bar__inner span:nth-child(2) { background: #d74087; }
.distributor-title-bar__inner span:nth-child(3) { background: #1c5c8e; }
.distributor-title-bar__inner span:nth-child(4) { background: #25977a; }

.distributors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
}
.distributor-card {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.15);
    border-radius: 0;
    padding: 32px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.distributor-card__name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    color: #231817;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.distributor-card__desc {
    font-size: 14px;
    color: #382c2c;
    line-height: 1.8;
    flex: 1;
    margin-bottom: 0;
}
.distributor-card__btn {
    align-self: flex-end;
    background: #25977a;
    color: #fff;
    border-radius: 1000px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s;
    margin-top: 8px;
}
.distributor-card__btn:hover { opacity: 0.85; }

/* =============================================
   Implementing Company
   ============================================= */
.implementing-section {
    padding: 80px 0;
    background: #fff;
}
@keyframes logo-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* コンテナ：overflow:hidden で外側を隠す */
.implementing-logos {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
/* アニメーションは内側のラッパーに適用 */
.logo-marquee-inner {
    display: flex;
    width: max-content;
    animation: logo-marquee 18s linear infinite;
}
.logo-marquee-inner:hover {
    animation-play-state: paused;
}
.implementing-logos .logo-track {
    display: flex;
    align-items: center;
    gap: 40px;
}
.implementing-logo-item {
    width: 200px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    flex-shrink: 0;
}
.implementing-logo-item img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* =============================================
   Certificates Section
   ============================================= */
.certificates-section {
    padding: 100px 0;
    background-color: #ffe7c2;
    background-image: url('./assets/images/makers-bg.png');
    background-size: cover;
    background-position: center;
}
.certificates-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.certificate-card {
    width: 200px;
    height: 286px;
    border: 1px solid #efefef;
    border-radius: 8px;
    box-shadow: 0 4px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}
.certificate-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =============================================
   CTA Section
   ============================================= */
.cta-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}
.cta-section__bg { position: absolute; inset: 0; z-index: 0; }
.cta-section__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(233,148,19,0.6) 0%, rgba(233,148,19,0.18) 100%);
    z-index: 1;
}
.cta-section__content {
    position: relative;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}
.cta-section__title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.2;
    margin-bottom: 0;
}
.cta-section__text {
    font-size: 16px;
    margin-bottom: 0;
    opacity: 1;
    line-height: 1.5;
}
.btn--cta {
    background: #25977a;
    color: #fff;
    border-radius: 8px;
    width: 240px;
    padding: 12px 0;
    font-family: var(--font-main);
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    display: block;
    transition: opacity 0.2s;
}
.btn--cta:hover { opacity: 0.85; }

/* =============================================
   Mobile Responsive (≤768px)
   ============================================= */
@media (max-width: 768px) {

    /* --- Variables --- */
    :root { --container-padding: 20px; }

    /* --- Header --- */
    .top-bar { display: none; }
    .site-logo img { height: 52px; }
    .main-nav__inner { padding: 14px var(--container-padding); }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #e99413;
        border-radius: 50%;
        gap: 0;
        flex-shrink: 0;
        flex-direction: column;
    }
    .nav-toggle span {
        width: 18px;
        height: 2px;
        background: #fff;
        border-radius: 1px;
        margin: 2px 0;
        transition: none;
    }
    /* --- SP メニュー --- */
    .nav-menu {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        flex-direction: column;
        background: #fff;
        z-index: 9999;
        overflow-y: auto;
        padding: 0;
        gap: 0;
        align-items: stretch;
    }
    .nav-menu.is-open { display: flex; }
    .nav-pc { display: none; }

    /* メニューヘッダー */
    .nav-menu__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 20px;
        height: 80px;
        flex-shrink: 0;
    }
    .nav-menu__logo { display: flex; align-items: center; }
    .nav-menu__logo img,
    .nav-menu__logo .custom-logo { height: 52px; width: auto; max-height: none; }

    /* 閉じるボタン */
    .nav-close {
        display: flex;
        position: static;
        width: 38px;
        height: 38px;
        background: #7d8490;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    /* 商品カテゴリリンク */
    .nav-products {
        display: flex;
        flex-direction: column;
        padding: 0 24px;
    }
    .nav-product-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid #f0f0f0;
        text-decoration: none;
    }
    .nav-product-item__img {
        width: 64px;
        height: auto;
        object-fit: contain;
        background: #efefef;
        flex-shrink: 0;
    }
    .nav-product-item__name {
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 700;
        color: #333;
        letter-spacing: 0.03em;
    }

    /* 言語切り替え */
    .nav-menu__manufacturers {
        padding: 24px 24px 0;
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 700;
        letter-spacing: 0.03em;
    }
    .nav-menu__manufacturers a { color: #333; }

    .nav-lang {
        padding: 24px 24px;
        font-family: var(--font-heading);
        font-size: 20px;
        font-weight: 700;
        color: #333;
        letter-spacing: 0.03em;
        gap: 8px;
    }
    .nav-lang a { color: #333; }
    .nav-lang span { color: #ccc; }

    /* フッターエリア */
    .nav-menu__footer {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 24px 40px;
        margin-top: auto;
    }
    .nav-menu__about {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .nav-menu__about-title {
        font-family: var(--font-heading);
        font-size: 16px;
        font-weight: 700;
        color: #000;
        padding-bottom: 6px;
    }
    .nav-menu__about a {
        font-family: var(--font-heading);
        font-size: 12px;
        color: #000;
    }
    .nav-menu__sns {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .nav-menu__sns a { color: #000; display: flex; }
    .nav-menu__sns a:hover { opacity: 0.7; }

    /* --- Hero --- */
    .hero {
        min-height: 720px;
        padding-bottom: 0;
        overflow: hidden;
    }
    .hero__stats { display: none; }
    .hero__content { display: flex; align-items: center; }
    .hero__content .container { padding-top: 0; padding-bottom: 0; }
    .hero__title { font-size: 40px; max-width: 100%; line-height: 1.1; }
    .hero__text { font-size: 14px; max-width: 100%; }
    .hero__btns { flex-direction: column; gap: 16px; }
    .hero__btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        padding: 17px 32px;
        border-radius: 10px;
        font-size: 16px;
        letter-spacing: 0.1em;
    }

    /* --- Products Section --- */
    .products-section { padding: 26px 0 40px; }
    .products-section__heading { padding: 0 0 32px; }
    .products-section__heading-inner { flex-direction: column; gap: 15px; }
    .products-section__logo { height: 96px; }
    .products-section__title { font-size: 32px; }
    .product-row {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }
    .product-row__image { order: 1 !important; }
    .product-row__content { order: 2 !important; }
    .product-row__image img { height: 248px; }
    .btn--product-list { width: 100%; text-align: center; justify-content: center; }

    /* --- Makers Section --- */
    .makers-section { padding: 56px 0; }
    .maker-card {
        flex-direction: column;
        border-radius: 16px;
        padding: 32px 16px;
        margin-bottom: 32px;
        gap: 32px;
        overflow: visible;
    }
    .maker-card--reverse { flex-direction: column; }

    /* content: 常に上（BalTecもSHOWAも） */
    .maker-card__content {
        flex: none;
        width: 100%;
        padding: 0;
        align-items: center;
        text-align: center;
        order: 1;
    }
    .maker-card__logo { max-height: 55px; margin-bottom: 16px; }
    .maker-card__desc { text-align: left; }
    .maker-card__btn { align-self: center; }

    /* images: 常に下 */
    .maker-card__images {
        flex: none;
        width: 100%;
        padding: 0;
        min-height: auto;
        order: 2;
        gap: 12px;
    }
    .maker-card__images img {
        width: 100%;
        height: auto;
        aspect-ratio: 684 / 436;
        object-fit: cover;
    }

    /* --- Distributors --- */
    .distributors-section { padding: 52px 0; }
    .distributors-grid { grid-template-columns: 1fr; gap: 0; }
    .distributor-card { padding: 18px 0; }
    .distributor-card__btn { align-self: auto; width: 100%; justify-content: center; }

    /* --- Implementing Company --- */
    .implementing-section { padding: 52px 0; }
    .implementing-logos {
        margin-left: calc(-1 * var(--container-padding));
        margin-right: calc(-1 * var(--container-padding));
    }
    .implementing-logos .logo-track { gap: 20px; }
    .implementing-logo-item { width: 140px; height: 90px; }
    .implementing-logo-item img { max-width: 110px; max-height: 60px; }

    /* --- Certificates --- */
    .certificates-section { padding: 52px 0; }
    .certificates-inner {
        justify-content: flex-start;
        gap: 8px;
        padding: 0 21px;
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    .certificate-card { flex-shrink: 0; }

    /* --- CTA Section --- */
    .cta-section { padding: 60px var(--container-padding); }
    .cta-section__overlay {
        background: linear-gradient(180deg, rgba(233,148,19,0.6) 0%, rgba(233,148,19,0.18) 100%);
    }
    .cta-section__content { align-items: center; text-align: center; }
    .cta-section__title { font-size: 40px; }
    .cta-section__text { text-align: center; }
    .btn--cta { margin: 0 auto; }

    /* --- Section Titles --- */
    .section-title { font-size: 28px; }

    /* --- Footer --- */
    .footer__inner { padding: 32px 20px 40px; }
    .footer__top { flex-direction: column; gap: 32px; }
    .footer__logo img,
    .footer__logo .custom-logo { height: 110px; }
    .footer__right { width: 100%; justify-content: space-between; gap: 40px; }
    .footer__nav { gap: 40px; }
    .footer__nav-col { gap: 16px; }
}

/* =============================================
   Category / Product Archive Pages
   ============================================= */

/* ヒーロー画像なし：ヘッダー下の白い余白をナビと同色に */
.cat-page--no-hero { background: #f7f7f7; }

/* ----- Hero Banner (親カテゴリ) ----- */
.cat-hero__img-sp { display: none; } /* PC では非表示 */
.cat-hero {
    position: relative;
    height: 440px;
    background: #c9d2d8 center / cover no-repeat;
    display: flex;
    align-items: flex-end;
}
.cat-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(233,148,19,0.12);
}
.cat-hero__name {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}
.cat-hero__name h1 {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* ----- Category Nav Bar ----- */
.cat-nav {
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
}
.cat-nav__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 14px var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
}
.cat-nav__item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #444;
    text-decoration: none;
    transition: color 0.2s;
}
.cat-nav__item:hover,
.cat-nav__item.is-active { color: #e99413; }
.cat-nav__icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}
.cat-nav__icon img {
    width: auto;
    height: auto;
    max-width: 46px;
    max-height: 52px;
    object-fit: contain;
}
.cat-nav__label {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

/* ----- Cat Section ----- */
.cat-section {
    background: #efefef;
    padding: 80px 0 100px;
}
.cat-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 56px;
}
.cat-section__head--feature {
    margin-top: 80px;
}
.cat-section__title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
    text-align: center;
}

/* 4-color bar */
.section-color-bar {
    display: flex;
}
.section-color-bar span {
    display: block;
    width: 63px;
    height: 6px;
}
.section-color-bar span:nth-child(1) { background: #e99413; }
.section-color-bar span:nth-child(2) { background: #d74087; }
.section-color-bar span:nth-child(3) { background: #1c5c8e; }
.section-color-bar span:nth-child(4) { background: #25977a; }

/* ----- Subcategory Grid (親カテゴリ) ----- */
.subcat-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: flex-start;
    margin-bottom: 80px;
}
.subcat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: calc((100% - 64px) / 3);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.subcat-card:hover { opacity: 0.8; }
.subcat-card__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #fff;
}
.subcat-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.subcat-card:hover .subcat-card__img img { transform: scale(1.04); }
.subcat-card__name {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 600;
    color: #382c2c;
    text-align: center;
    letter-spacing: 0.03em;
}

/* ----- Product Grid (子カテゴリ) ----- */
.product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}
.product-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: calc((100% - 64px) / 3);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.product-card:hover { opacity: 0.8; }
.product-card__img {
    width: 100%;
    aspect-ratio: 6 / 5;
    overflow: hidden;
    background: #fff;
}
.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__img-ph {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}
.product-card__name {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
    color: #382c2c;
    letter-spacing: 0.03em;
}

/* ----- Feature Grid ----- */
.cat-divider {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
    width: 100%;
}
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: calc((100% - 64px) / 3);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
}
.feature-card:hover { opacity: 0.8; }
.feature-card__img {
    width: 100%;
    aspect-ratio: 5 / 4;
    overflow: hidden;
    background: #fff;
}
.feature-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}
.feature-card:hover .feature-card__img img { transform: scale(1.04); }
.feature-card__name {
    font-family: var(--font-main);
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* ----- Misc ----- */
.cat-empty {
    text-align: center;
    color: #666;
    padding: 60px 0;
    font-size: 16px;
}
.cat-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

/* =============================================
   Category Pages – SP (≤ 767px)
   ============================================= */
@media (max-width: 767px) {

    /* Hero：画像の縦横比に合わせて可変 */
    .cat-hero { height: auto; background-image: none !important; }
    .cat-hero__img-sp { display: block; width: 100%; height: auto; }
    .cat-hero__name h1 { font-size: 36px; }

    /* Cat Nav: 横スクロール */
    .cat-nav__inner {
        justify-content: flex-start;
        gap: 24px;
        padding: 12px 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .cat-nav__inner::-webkit-scrollbar { display: none; }
    .cat-nav__icon { width: 40px; height: 40px; }
    .cat-nav__icon img { max-width: 36px; max-height: 40px; }
    .cat-nav__label { font-size: 13px; }

    /* Cat Section */
    .cat-section { padding: 52px 0 64px; }
    .cat-section__title { font-size: 32px; }
    .cat-section__head { margin-bottom: 36px; }
    .section-color-bar span { width: 40px; height: 5px; }

    /* Subcategory: 2列 */
    .subcat-grid { gap: 20px; margin-bottom: 24px; }
    .cat-section__head--feature { margin-top: 24px; }
    .subcat-card {
        width: calc((100% - 20px) / 2);
        gap: 10px;
    }
    .subcat-card__name { font-size: 15px; }

    /* Product: 2列 */
    .product-grid { gap: 20px; }
    .product-card {
        width: calc((100% - 20px) / 2);
        gap: 10px;
    }
    .product-card__name { font-size: 16px; }

    /* Feature: 2列 */
    .feature-grid { gap: 20px; }
    .feature-card {
        width: calc((100% - 20px) / 2);
        gap: 10px;
    }
    .feature-card__name { font-size: 15px; }
}
/* =============================================
   製品詳細ページ (single-products.php)
   ============================================= */

.product-detail-page {
    background: #f7f7f7;
}

/* ===== 詳細レイアウト ===== */
.product-detail-section {
    padding: 60px 0 80px;
}

.product-detail-layout {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

/* ===== 左カラム：ギャラリー ===== */
.product-gallery {
    flex: 0 0 534px;
    width: 534px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.product-gallery__main {
    width: 100%;
    aspect-ratio: 534 / 445;
    overflow: hidden;
    background: #e8e8e8;
}

.product-gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}

/* サムネイル */
.product-gallery__thumbs {
    width: 100%;
    display: flex;
    gap: 16px;
}

.product-gallery__thumb {
    flex: 1;
    border: none;
    padding: 0;
    cursor: pointer;
    background: none;
    overflow: hidden;
    aspect-ratio: 6 / 5;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery__thumb.is-active,
.product-gallery__thumb:hover {
    opacity: 1;
    outline: 2px solid #e99413;
}

/* ページネーションドット */
.product-gallery__dots {
    display: flex;
    gap: 11px;
    align-items: center;
}

.product-gallery__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #f4d6a8;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.product-gallery__dot.is-active {
    background: #e99413;
    transform: scale(1.25);
}

/* PDF・CAD ボタン */
.product-gallery__btns {
    width: 100%;
    display: flex;
    gap: 24px;
}

.btn--download {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #25977a;
    color: #fff;
    border-radius: 1000px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.btn--download:hover {
    opacity: 0.85;
}

/* ===== 右カラム：製品情報 ===== */
.product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* タイトル */
.product-info__title {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: baseline;
    line-height: 1.2;
}

.product-info__subcat {
    font-size: 30px;
    font-weight: 700;
    color: #382c2c;
    letter-spacing: 0.03em;
}

.product-info__model {
    font-size: 32px;
    font-weight: 700;
    color: #382c2c;
    letter-spacing: 0.03em;
}

/* スペックアイコン */
.product-spec-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
}

.product-spec-icon {
    width: 62px;
    height: 62px;
    flex-shrink: 0;
}

.product-spec-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 基本仕様テーブル */
.product-spec-table {
    width: 100%;
}

.product-spec-table__head {
    background: #f4d6a8;
    padding: 4px 12px;
    font-size: 20px;
    font-weight: 700;
    color: #382c2c;
    line-height: 40px;
    letter-spacing: 0.03em;
}

.product-spec-table__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 12px;
    font-size: 16px;
    color: #382c2c;
    letter-spacing: 0.03em;
    min-height: 40px;
}

.product-spec-table__row.is-even {
    background: #fff;
}

.product-spec-table__label {
    font-weight: 700;
    line-height: 32px;
}

.product-spec-table__value {
    font-weight: 400;
    text-align: right;
    line-height: 1.4;
}

/* 製品説明 */
.product-info__desc {
    font-size: 14px;
    line-height: 1.7;
    color: #382c2c;
    letter-spacing: 0.03em;
}

.product-info__desc p,
.product-info__desc ul,
.product-info__desc ol,
.product-info__desc h2,
.product-info__desc h3,
.product-info__desc h4 {
    margin-bottom: 1em;
}

.product-info__desc p:last-child,
.product-info__desc ul:last-child,
.product-info__desc ol:last-child {
    margin-bottom: 0;
}

.product-info__desc img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-top: 16px;
    margin-bottom: 16px;
}

.product-info__desc figure {
    margin: 16px 0;
}

/* =============================================
   製品詳細ページ SP
   ============================================= */
@media (max-width: 768px) {
    .product-detail-section {
        padding: 40px 0 60px;
    }

    .product-detail-layout {
        flex-direction: column;
        gap: 40px;
    }

    .product-gallery {
        flex: none;
        width: 100%;
    }

    .product-gallery__main {
        aspect-ratio: 480 / 400;
    }

    .product-gallery__thumbs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .product-gallery__thumb {
        flex: 0 0 calc(25% - 12px);
        min-width: 80px;
    }

    .product-info__subcat {
        font-size: 24px;
    }

    .product-info__model {
        font-size: 26px;
    }

    .product-spec-icon {
        flex: none;
        width: 50px;
        height: 50px;
    }

    .product-spec-table__row {
        flex-wrap: wrap;
        gap: 4px;
    }

    .product-spec-table__value {
        text-align: left;
    }

    .btn--download {
        padding: 10px 16px;
    }
}

.btn--download.btn--disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* =============================================
   パンくずリスト
   ============================================= */
.breadcrumb {
    background: #f0f0f0;
    padding: 10px 0;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    max-width: var(--container-width);
}

.breadcrumb__item {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.breadcrumb__item--current {
    color: #382c2c;
    font-weight: 600;
}

.breadcrumb__link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb__link:hover {
    color: #e99413;
}

.breadcrumb__sep {
    font-size: 11px;
    color: #aaa;
    line-height: 1;
}

@media (max-width: 768px) {
    .breadcrumb__list {
        padding: 0 20px;
        gap: 6px;
    }

    .breadcrumb__item {
        font-size: 12px;
    }
}

/* =============================================
   メーカー別製品一覧ページ (taxonomy-maker.php)
   ============================================= */

.maker-page {
    background: #fff;
}

/* ===== ヒーロー ===== */
.maker-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 553px;
}

.maker-hero__img {
    width: 100%;
    height: 553px;
    object-fit: cover;
    display: block;
}

.maker-hero__logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 220px;
}

.maker-hero__logo img {
    width: 100%;
    height: auto;
}

/* ===== メーカーナビ ===== */
.maker-nav {
    padding: 40px 0 56px;
    background: #fff;
}

.maker-nav .section-color-bar {
    justify-content: center;
    margin-bottom: 40px;
}

.maker-nav__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 56px;
}

.maker-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.maker-nav__item:hover { opacity: 0.75; }
.maker-nav__item.is-active { opacity: 1; }

.maker-nav__circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid transparent;
    background: #efefef;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.2s;
}

.maker-nav__item.is-active .maker-nav__circle {
    border-color: #e99413;
}

.maker-nav__circle img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.maker-nav__circle-text {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    text-align: center;
    padding: 8px;
}

.maker-nav__name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
}

/* ===== 製品グリッド ===== */
.maker-products-section {
    padding: 0 0 80px;
}

.maker-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 32px;
}

.maker-product-card {
    width: calc((100% - 64px) / 3);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.maker-product-card__img {
    width: 100%;
    aspect-ratio: 275 / 172;
    overflow: hidden;
    background: #f0f0f0;
}

.maker-product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.maker-product-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.maker-product-card__name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
    line-height: 1.3;
}

.maker-product-card__desc {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.btn--pdf-dl {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 36px;
    background: #25977a;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: capitalize;
    text-decoration: none;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.btn--pdf-dl:hover { opacity: 0.85; }

.maker-empty {
    color: #666;
    font-size: 16px;
    padding: 40px 0;
}

/* ===== メーカーページ SP ===== */
@media (max-width: 768px) {
    .maker-hero__img {
        height: 240px;
    }

    .maker-hero__logo {
        max-width: 140px;
    }

    .maker-nav {
        padding: 32px 0 40px;
    }

    .maker-nav__scroll {
        overflow-x: auto;
        padding: 6px var(--container-padding);
    }

    .maker-nav__list {
        gap: 24px;
        flex-wrap: nowrap;
        width: max-content;
        margin: 0 auto;
        justify-content: flex-start;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
    }

    .maker-nav__circle {
        width: 100px;
        height: 100px;
    }

    .maker-nav__name {
        font-size: 14px;
    }

    .maker-product-grid {
        gap: 32px 16px;
    }

    .maker-product-card {
        width: 100%;
    }

    .maker-product-card__name {
        font-size: 16px;
    }

    .maker-product-card__desc {
        font-size: 14px;
    }
}

/* =============================================
   Corporate Profile Page
   ============================================= */
.profile-section {
    background: var(--bg-primary, #efefef);
    padding: 80px 0 100px;
}

.profile-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.profile-section__title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
}

.profile-table-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table__row {
    border-top: 1px solid #ccc;
}

.profile-table__row:last-child {
    border-bottom: 1px solid #ccc;
}

.profile-table__label {
    font-size: 13px;
    font-weight: 400;
    color: #616161;
    padding: 18px 0;
    vertical-align: top;
    width: 160px;
    white-space: nowrap;
}

.profile-table__value {
    font-size: 13px;
    font-weight: 400;
    color: #212121;
    padding: 18px 0 18px 20px;
    vertical-align: top;
    line-height: 1.8;
}

.profile-table__value p + p {
    margin-top: 6px;
}


@media (max-width: 768px) {
    .profile-section {
        padding: 40px 0 64px;
    }

    .profile-section__title {
        font-size: 32px;
    }

    .profile-section__head {
        margin-bottom: 32px;
    }

    .profile-table-wrap {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .profile-table__label {
        width: 90px;
        min-width: 90px;
    }


}

/* =============================================
   Contact Page
   ============================================= */
.contact-section {
    background: var(--bg-primary, #efefef);
    padding: 80px 0 100px;
}

.contact-section__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 60px;
}

.contact-section__title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    letter-spacing: 0.03em;
}

.contact-section__lead {
    font-size: 16px;
    color: #000;
    text-align: center;
}

.contact-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 80px 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* CF7 リセット */
.contact-form-wrap .wpcf7 form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-form-wrap .wpcf7 p {
    margin: 0;
}

.contact-form-wrap .wpcf7 br {
    display: none;
}

/* 2カラム行 */
.cf7-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.cf7-row--2col .cf7-field {
    flex: 1;
}

/* フィールド共通 */
.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.cf7-field label,
.cf7-field .cf7-label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
}


.contact-form-wrap .wpcf7 input[type="text"],
.contact-form-wrap .wpcf7 input[type="email"],
.contact-form-wrap .wpcf7 textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 14px;
    color: #000;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form-wrap .wpcf7 input[type="text"]:focus,
.contact-form-wrap .wpcf7 input[type="email"]:focus,
.contact-form-wrap .wpcf7 textarea:focus {
    border-color: rgba(0, 0, 0, 0.3);
}

.contact-form-wrap .wpcf7 textarea {
    height: 85px;
    resize: vertical;
}

/* Subject ラジオ */
.cf7-chips .wpcf7-radio {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.cf7-chips .wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.cf7-chips .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.cf7-hint {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 4px;
}

/* Needs ラジオ */
.cf7-radio-group .wpcf7-radio {
    display: flex;
    gap: 24px;
}

.cf7-radio-group .wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.cf7-radio-group .wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

/* 送信ボタン */
.cf7-submit {
    display: flex;
    justify-content: center;
}

.contact-form-wrap .wpcf7 input[type="submit"] {
    background: #25977a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 0;
    width: 240px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.contact-form-wrap .wpcf7 input[type="submit"]:hover {
    opacity: 0.85;
}

/* バリデーションメッセージ */
.contact-form-wrap .wpcf7-not-valid-tip {
    font-size: 12px;
    color: #e74c3c;
    margin-top: 4px;
}

.contact-form-wrap .wpcf7-response-output {
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
}

/* SP */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0 64px;
    }

    .contact-section__title {
        font-size: 32px;
    }

    .contact-section__head {
        margin-bottom: 32px;
    }

    .contact-form-wrap {
        padding: 40px 20px;
        border-radius: 12px;
    }

    .cf7-row--2col {
        flex-direction: column;
    }
}

/* ===== Thank You Page ===== */
.thank-you-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.thank-you-section {
    width: 100%;
    padding: 80px 0;
}

.thank-you-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

.thank-you-logo {
    display: block;
    margin-bottom: 40px;
}

.thank-you-logo img {
    width: 220px;
    height: auto;
}

.thank-you-title {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.thank-you-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.thank-you-btn {
    min-width: 200px;
}

@media (max-width: 768px) {
    .thank-you-title {
        font-size: 36px;
    }

    .thank-you-logo img {
        width: 160px;
    }

    .thank-you-text {
        font-size: 14px;
    }
}
