/* ========================================
   上海知勝プラスチック 公式サイト CSS
   日本企業サイト風 リニューアル版
   ======================================== */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ローカルフォント（サブセット最適化） */
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/noto-jp-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/noto-jp-700.woff2') format('woff2');
}

:root {
    /* ── メインカラー：濃い紺（日本製造業の信頼色） ── */
    --primary: #0F2B5B;           /* 濃い紺（メイン） */
    --primary-light: #2E7BC1;     /* 明るめの青（サブ） */
    --primary-dark: #0a1f42;      /* 濃い紺（ダーク） */
    --primary-soft: #1a3d73;      /* やや明るい紺 */

    /* ── アクセント：深めのオレンジ ── */
    --accent: #D35400;            /* 深めのオレンジ */
    --accent-light: #E67E22;      /* 明るめオレンジ */
    --accent-dark: #b04200;       /* ダークオレンジ */

    /* ── 背景・グレー ── */
    --bg: #F7F9FC;                /* 少し青みがかった白 */
    --bg-alt: #EEF2F7;            /* セクション背景用 */
    --border: #D5DCE4;            /* 淡いグレー（境界線） */
    --border-light: #E2E8F0;      /* より淡い境界線 */
    --gray-50: #F7F9FC;
    --gray-100: #EEF2F7;
    --gray-200: #D5DCE4;
    --gray-300: #c2cad4;
    --gray-400: #94a3b8;
    --gray-500: #6B7280;          /* 補足文字 */
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #2C3E50;          /* 本文文字色 */
    --gray-900: #1e293b;
    --white: #ffffff;

    /* ── 影 ── */
    --shadow-xs: 0 1px 3px rgba(15,43,91,0.06);
    --shadow-sm: 0 4px 16px rgba(15,43,91,0.08);
    --shadow: 0 6px 24px rgba(15,43,91,0.10);
    --shadow-md: 0 12px 32px rgba(15,43,91,0.14);
    --shadow-lg: 0 20px 48px rgba(15,43,91,0.18);

    /* ── 角丸 ── */
    --radius-sm: 6px;
    --radius: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;

    /* ── レイアウト ── */
    --max-width: 1200px;

    /* ── フォント ── */
    --font-jp: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック体", "YuGothic", "メイリオ", "Meiryo", "Hiragino Kaku Gothic ProN", sans-serif;
}

body {
    font-family: var(--font-jp);
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-800);
    background-color: var(--bg);
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--accent);
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

/* コンテナ */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 30px;
}

/* セクション共通 */
.section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--bg-alt);
}

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

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    position: relative;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.section-title .ja {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.section-title .en {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: var(--accent);
    margin: 15px auto 0;
}

.section-title p {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 15px;
    line-height: 1.8;
}

.section-lead {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 2;
}

/* ボタン */
.btn {
    display: inline-block;
    padding: 13px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
    letter-spacing: 0.05em;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 2px 0 rgba(0,0,0,0.08);
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border-bottom: 2px solid var(--accent-dark);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
    border-bottom: 2px solid var(--primary-dark);
}

.btn-secondary:hover {
    background-color: var(--primary-soft);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    box-shadow: none;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-ghost {
    background-color: var(--white);
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background-color: var(--bg);
    color: var(--primary);
    border-color: var(--primary-light);
}

.btn-arrow::after {
    content: ' →';
    transition: transform 0.25s ease;
    display: inline-block;
}

.btn-arrow:hover::after {
    transform: translateX(3px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* リンクボタン（右矢印） */
.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    position: relative;
    padding-right: 20px;
    transition: color 0.25s ease;
}

.link-arrow::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: all 0.25s ease;
}

.link-arrow:hover {
    color: var(--accent);
    text-decoration: none;
}

.link-arrow:hover::after {
    right: -4px;
}

/* リストマーカー */
.list-marker {
    padding-left: 18px;
}

.list-marker li {
    position: relative;
    padding-left: 2px;
    margin-bottom: 6px;
    font-size: 14px;
}

.list-marker li::before {
    content: '▶';
    position: absolute;
    left: -16px;
    top: 4px;
    font-size: 10px;
    color: var(--accent);
}

/* ========================================
   インフォメーションバー（最上部）
   ======================================== */
.info-bar {
    background-color: var(--primary);
    color: var(--white);
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.info-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.info-bar-company {
    font-weight: 600;
    letter-spacing: 0.05em;
}

.info-bar-tel {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-bar-tel .tel-icon {
    font-size: 13px;
    display: inline-flex;
    align-items: center;
}

.info-bar-tel .tel-number {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.info-bar-tel .tel-hours {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 2px;
}

.info-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-bar-btn {
    display: inline-block;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    line-height: 1.5;
}

.info-bar-btn:hover {
    text-decoration: none;
}

.info-bar-btn-white {
    background-color: var(--white);
    color: var(--primary);
}

.info-bar-btn-white:hover {
    background-color: var(--bg-alt);
    color: var(--primary);
}

.info-bar-btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.info-bar-btn-accent:hover {
    background-color: var(--accent-light);
    color: var(--white);
}

.info-bar-btn .btn-icon {
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background-color: var(--white);
    box-shadow: var(--shadow-xs);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text .main {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: 0.03em;
}

.logo-text .sub {
    font-size: 10px;
    color: var(--gray-500);
    letter-spacing: 0.05em;
}

.logo-tagline {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-contact {
    text-align: right;
}

.header-contact .tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    letter-spacing: 0.03em;
}

.header-contact .tel-label {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.header-contact .hours {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px;
}

.header-contact-btn {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-btn-envelope {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    border-bottom: 2px solid var(--primary-dark);
    text-decoration: none;
}

.contact-btn-envelope:hover {
    background-color: var(--primary-soft);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(15,43,91,0.2);
}

.contact-btn-envelope .envelope-icon {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

/* グローバルナビ */
.gnav {
    background-color: var(--primary);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.gnav-inner {
    display: flex;
    justify-content: center;
}

.gnav-list {
    display: flex;
    list-style: none;
    width: 100%;
}

.gnav-item {
    position: relative;
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.gnav-item:first-child {
    border-left: 1px solid rgba(255,255,255,0.08);
}

.gnav-item > a {
    display: block;
    padding: 15px 10px;
    color: var(--white);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: background-color 0.25s ease;
    text-decoration: none;
    position: relative;
}

.gnav-item > a:hover {
    background-color: var(--primary-soft);
    color: var(--white);
    text-decoration: none;
}

.gnav-item.current > a {
    background-color: var(--accent);
}

.gnav-item.current > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: var(--white);
}

/* メガドロップダウン（製品情報） */
.gnav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 100;
    border: 1px solid var(--border-light);
    border-top: none;
    min-width: 260px;
}

.gnav-item:hover .gnav-dropdown {
    opacity: 1;
    visibility: visible;
}

.gnav-dropdown-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border-light);
    text-align: left;
    letter-spacing: 0.05em;
}

.gnav-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gnav-dropdown-list a {
    display: block;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    text-align: left;
    text-decoration: none;
}

.gnav-dropdown-list a:hover {
    background-color: var(--bg);
    color: var(--accent);
    text-decoration: none;
}

.gnav-dropdown-list a::before {
    content: '▸';
    color: var(--primary-light);
    margin-right: 8px;
    font-size: 10px;
}

.gnav-dropdown-list a:hover::before {
    color: var(--accent);
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 22px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* ========================================
   ヒーローエリア
   ======================================== */
.hero {
    position: relative;
    height: 560px;
    background-color: var(--primary-dark);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/factory-1.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.55;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10,32,69,0.82) 0%, rgba(10,32,69,0.52) 52%, rgba(10,32,69,0.28) 100%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 680px;
    text-align: left;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 2;
    margin-bottom: 35px;
    opacity: 0.95;
    letter-spacing: 0.03em;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ヒーロー軽量入場アニメーション */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-tag,
.hero-title,
.hero-subtitle,
.hero-buttons {
    animation: heroFadeUp 0.7s ease both;
}

.hero-title { animation-delay: 0.1s; }
.hero-subtitle { animation-delay: 0.2s; }
.hero-buttons { animation-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .hero-tag,
    .hero-title,
    .hero-subtitle,
    .hero-buttons {
        animation: none;
    }
}

/* ========================================
   お知らせ・新着情報
   ======================================== */
.news-section {
    padding: 50px 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-light);
}

.news-inner {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.news-label {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-top: 2px;
}

.news-label .ja {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.news-label .en {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-light);
    transition: background-color 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background-color: var(--bg);
    text-decoration: none;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
    border-radius: var(--radius-sm);
}

.news-date {
    font-size: 13px;
    color: var(--gray-600);
    flex-shrink: 0;
    letter-spacing: 0.05em;
    width: 100px;
}

.news-category {
    display: inline-block;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.news-category.news {
    background-color: var(--primary);
    color: var(--white);
}

.news-category.blog {
    background-color: var(--primary-light);
    color: var(--white);
}

.news-category.media {
    background-color: var(--gray-500);
    color: var(--white);
}

.news-title {
    flex: 1;
    font-size: 14px;
    color: var(--gray-800);
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item:hover .news-title {
    color: var(--accent);
}

.news-more {
    flex-shrink: 0;
    padding-top: 8px;
}

.news-more a {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.news-more a:hover {
    color: var(--accent);
}

/* ========================================
   特徴セクション
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background-color: var(--white);
    padding: 35px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 3px solid var(--accent);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    text-align: center;
    letter-spacing: 0.03em;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.9;
    text-align: left;
}

/* ========================================
   製品一覧
   ======================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    text-decoration: none;
}

.product-card-img {
    height: 180px;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

.product-card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.product-card p {
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.8;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    font-weight: 600;
    font-size: 13px;
    align-self: flex-start;
    letter-spacing: 0.03em;
    text-decoration: none;
    position: relative;
    padding-right: 20px;
}

.product-card-link::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: all 0.25s ease;
}

.product-card:hover .product-card-link::after {
    right: -3px;
}

/* ========================================
   設備紹介
   ======================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.equipment-item {
    background-color: var(--white);
    padding: 25px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--primary);
}

.equipment-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(3px);
}

.equipment-count {
    font-size: 34px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.equipment-count span {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-500);
    margin-left: 2px;
}

.equipment-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    letter-spacing: 0.03em;
}

/* ========================================
   実績・お客様の声
   ======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial-card {
    background-color: var(--white);
    padding: 30px 28px 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    border: 1px solid var(--border-light);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 8px;
    left: 18px;
    font-size: 55px;
    color: var(--accent);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.testimonial-info .company {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

.testimonial-info .name {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* クライアントロゴ */
.clients-section {
    padding: 55px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.clients-title {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.clients-title .ja {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.clients-title .en {
    font-size: 11px;
    color: var(--gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.client-logo {
    padding: 20px 15px;
    text-align: center;
    background-color: var(--bg);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--gray-500);
    font-size: 13px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    filter: grayscale(100%);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.client-logo:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--primary-light);
    filter: grayscale(0%);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

/* ========================================
   CTAセクション
   ======================================== */
.cta-section {
    background-color: var(--primary);
    padding: 65px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/factory-2.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.cta-section p {
    font-size: 15px;
    margin-bottom: 28px;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background-color: var(--accent);
    color: var(--white);
    border-bottom: 2px solid var(--accent-dark);
}

.cta-buttons .btn-primary:hover {
    background-color: var(--accent-light);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background-color: var(--primary-dark);
    color: var(--gray-300);
    padding: 55px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 35px;
    margin-bottom: 35px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo .logo-text .main {
    color: var(--white);
    font-size: 20px;
}

.footer-logo .logo-text .sub {
    color: var(--gray-400);
}

.footer-about p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 15px;
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

.footer-contact-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-contact-info p {
    font-size: 13px;
    color: var(--gray-400);
    margin-bottom: 6px;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.footer-contact-info svg {
    vertical-align: -0.15em;
    margin-right: 4px;
}

.footer-contact-info .footer-tel {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 3px;
}

.footer-contact-info .footer-hours {
    font-size: 11px;
    color: var(--gray-500);
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.footer-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.05em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    color: var(--gray-400);
    font-size: 13px;
    transition: color 0.25s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    display: inline-block;
}

.footer-nav a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-nav a::before {
    content: '▸';
    color: var(--primary-light);
    margin-right: 7px;
    font-size: 9px;
    opacity: 0.7;
}

.footer-nav a:hover::before {
    color: var(--accent);
    opacity: 1;
}

.footer-cta-box {
    background-color: rgba(255,255,255,0.06);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-cta-box .cta-tel {
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.03em;
    margin-bottom: 3px;
    text-align: center;
}

.footer-cta-box .cta-hours {
    font-size: 11px;
    color: var(--gray-400);
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.footer-cta-box .btn {
    width: 100%;
    margin-bottom: 8px;
    font-size: 13px;
    padding: 10px 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.03em;
}

.footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 12px;
    text-decoration: none;
    letter-spacing: 0.03em;
}

.footer-bottom-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* ========================================
   パンくずリスト
   ======================================== */
.breadcrumb {
    background-color: var(--bg);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--gray-600);
    align-items: center;
    letter-spacing: 0.03em;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    line-height: 1;
}

.breadcrumb li::after {
    content: '›';
    margin: 0 10px;
    color: var(--gray-400);
    font-size: 14px;
}

.breadcrumb li:last-child::after {
    display: none;
}

.breadcrumb li:last-child {
    color: var(--gray-800);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

.breadcrumb .home-icon {
    font-size: 13px;
    margin-right: 2px;
}

/* ========================================
   下層ページ共通
   ======================================== */
.page-header {
    background-color: var(--primary);
    padding: 55px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/factory-3.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.page-header-inner {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.page-header p {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 0.03em;
}

/* テーブルスタイル */
.table-catalog {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    border: 1px solid var(--border);
}

.table-catalog th,
.table-catalog td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.7;
}

.table-catalog th {
    background-color: var(--bg-alt);
    font-weight: 600;
    color: var(--primary);
    width: 30%;
    white-space: nowrap;
    letter-spacing: 0.03em;
    border-right: 1px solid var(--border-light);
}

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

.table-catalog tr:hover td {
    background-color: var(--bg);
}

/* 従来のテーブルクラス互換 */
.table-basic {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: 14px;
    border: 1px solid var(--border);
}

.table-basic th,
.table-basic td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    line-height: 1.7;
}

.table-basic th {
    background-color: var(--bg-alt);
    font-weight: 600;
    color: var(--primary);
    width: 30%;
    white-space: nowrap;
    letter-spacing: 0.03em;
    border-right: 1px solid var(--border-light);
}

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

.table-basic tr:hover td {
    background-color: var(--bg);
}

/* Q&A アコーディオン */
.accordion-item {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-header {
    padding: 16px 22px;
    background-color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.25s ease;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 14.5px;
    line-height: 1.6;
    gap: 15px;
}

.accordion-header:hover {
    background-color: var(--bg);
}

.accordion-header .q-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 14px;
}

.accordion-header .q-text {
    flex: 1;
}

.accordion-header .toggle-icon {
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.accordion-header .toggle-icon::before,
.accordion-header .toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--gray-500);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.accordion-header .toggle-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-header .toggle-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-header.active .toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.accordion-header.active .toggle-icon::before {
    background-color: var(--accent);
}

.accordion-body {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--bg);
}

.accordion-body.open {
    padding: 20px 22px;
    max-height: 600px;
}

.accordion-body-inner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.accordion-body .a-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--radius-sm);
    text-align: center;
    line-height: 28px;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 14px;
}

.accordion-body p {
    flex: 1;
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.9;
}

/* プロセスステップ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    position: relative;
}

.process-step {
    background-color: var(--white);
    padding: 22px 14px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    position: relative;
    border-top: 3px solid var(--accent);
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent);
}

.step-number {
    width: 36px;
    height: 36px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin: 0 auto 12px;
}

.process-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.process-step p {
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* 沿革タイムライン */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border);
}

.timeline-item {
    display: flex;
    margin-bottom: 25px;
    position: relative;
}

.timeline-year {
    width: 100px;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    padding-right: 28px;
    text-align: right;
    position: relative;
    line-height: 1.3;
    letter-spacing: 0.03em;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 6px;
    width: 14px;
    height: 14px;
    background-color: var(--accent);
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 0 0 2px var(--accent);
    z-index: 1;
}

.timeline-content {
    background-color: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1;
    margin-left: 30px;
    border-left: 3px solid var(--primary);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--primary);
}

.timeline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ========================================
   製品ページ
   ======================================== */
.product-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
}

.product-hero-img {
    height: 400px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

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

.product-hero-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    line-height: 1.5;
    letter-spacing: 0.03em;
}

.product-hero-info .lead {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.9;
    margin-bottom: 25px;
}

.product-features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 25px 0;
}

.product-feature-point {
    background-color: var(--bg-alt);
    padding: 12px 8px;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    letter-spacing: 0.02em;
    line-height: 1.3;
}

/* 用途リスト */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.usage-item {
    background-color: var(--white);
    padding: 22px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.usage-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);

    border-color: var(--primary-light);
}

.usage-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
}

.usage-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.usage-item p {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* 関連製品 */
.related-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 45px 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 22px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    font-size: 14px;
    letter-spacing: 0.03em;
}

.form-label .required {
    background-color: var(--accent);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.form-label .optional {
    background-color: var(--gray-400);
    color: var(--white);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: 8px;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: var(--white);
    color: var(--gray-800);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(46,123,193,0.12);
}

.form-textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.8;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-check input[type="checkbox"] {
    margin-top: 5px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.form-check-label {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.7;
}

.form-submit {
    text-align: center;
    margin-top: 35px;
}

.form-submit .btn {
    padding: 16px 60px;
    font-size: 15px;
}

/* 連絡先情報 */
.contact-info-box {
    background-color: var(--white);
    padding: 35px 40px;
    border-radius: var(--radius-lg);
    margin-top: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.contact-info-box h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
    letter-spacing: 0.03em;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-item {
    margin-bottom: 18px;
}

.contact-info-item .label {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
    letter-spacing: 0.05em;
}

.contact-info-item .value {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-800);
    letter-spacing: 0.02em;
}

.contact-info-item .value.email {
    font-size: 15px;
    color: var(--primary-light);
}

.map-placeholder {
    height: 250px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    font-size: 14px;
    border: 2px dashed var(--border);
    letter-spacing: 0.03em;
}

/* ========================================
   ブログページ
   ======================================== */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.blog-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);

    border-color: var(--primary-light);
}

.blog-card-img {
    width: 100%;
    height: 170px;
    background-color: var(--bg-alt);
    position: relative;
    overflow: hidden;
}

.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent);
    color: var(--white);
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.blog-card-body {
    padding: 18px 20px;
}

.blog-card-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.blog-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.blog-card:hover .blog-card-title {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 45px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    color: var(--gray-700);
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--border);
    transition: all 0.25s ease;
    text-decoration: none;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    text-decoration: none;
}

/* サイドバー */
.sidebar-widget {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.widget-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    letter-spacing: 0.05em;
}

.widget-categories ul {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.widget-categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    font-size: 13px;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.widget-categories a:hover {
    background-color: var(--bg);
    color: var(--accent);
}

.widget-categories .count {
    background-color: var(--bg-alt);
    padding: 1px 7px;
    border-radius: 10px;
    font-size: 11px;
    color: var(--gray-500);
}

.widget-popular ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-popular li {
    display: flex;
    gap: 10px;
}

.widget-popular-img {
    width: 65px;
    height: 65px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    overflow: hidden;
}

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

.widget-popular-info {
    flex: 1;
    min-width: 0;
}

.widget-popular-info .title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.widget-popular-info .title:hover {
    color: var(--accent);
}

.widget-popular-info .date {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 3px;
}

.widget-archive ul {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.widget-archive a {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 13px;
    color: var(--gray-700);
    transition: color 0.2s ease;
    text-decoration: none;
    border-radius: var(--radius-sm);
}

.widget-archive a:hover {
    color: var(--accent);
    background-color: var(--bg);
}

/* ========================================
   OEMページ
   ======================================== */
.oem-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.oem-feature-item {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--primary);
}

.oem-feature-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);

    border-color: var(--primary-light);
}

.oem-feature-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.oem-feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.oem-feature-item p {
    font-size: 13px;
    color: var(--gray-600);
    line-height: 1.8;
    text-align: left;
}

/* 対応製品 */
.oem-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.oem-product-card {
    background-color: var(--white);
    padding: 22px 18px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    display: block;
}

.oem-product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
    text-decoration: none;
    border-color: var(--primary-light);
}

.oem-product-card .icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.oem-product-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 0.03em;
}

.oem-product-card p {
    font-size: 12.5px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   会社概要ページ
   ======================================== */
.about-message {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 60px;
}

.about-message h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 22px;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.about-message p {
    font-size: 15px;
    color: var(--gray-700);
    line-height: 2;
    text-align: left;
}

.quality-system {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.quality-card {
    background-color: var(--white);
    padding: 28px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-top: 3px solid var(--accent);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--accent);
}

.quality-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);

    border-color: var(--primary-light);
}

.quality-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

.quality-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    letter-spacing: 0.03em;
}

.quality-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.9;
}

/* ========================================
   ページトップへ戻るボタン
   ======================================== */
.page-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-top.show {
    opacity: 1;
    visibility: visible;
}

.page-top a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
    transition: all 0.25s ease;
    border-bottom: 2px solid var(--primary-dark);
    writing-mode: horizontal-tb;
    flex-direction: column;
    line-height: 1;
}

.page-top a::before {
    content: '▲';
    font-size: 10px;
    margin-bottom: 2px;
}

.page-top a:hover {
    background-color: var(--primary-soft);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-6px);
    box-shadow: 0 6px 14px rgba(15,43,91,0.25);
}

/* ========================================
   セクション番号付きタイトル補助
   ======================================== */
.section-num {
    display: inline-block;
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

/* ========================================
   レスポンシブ対応
   ======================================== */

/* タブレット */
@media screen and (max-width: 1024px) {
    .section {
        padding: 65px 0;
    }

    .container {
        padding: 0 25px;
    }

    .hero {
        height: 480px;
    }

    .hero-title {
        font-size: 32px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .usage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .related-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .oem-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .oem-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .quality-system {
        grid-template-columns: repeat(3, 1fr);
    }

    .blog-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-inner {
        flex-direction: column;
        gap: 15px;
    }

    .news-more {
        align-self: flex-end;
        padding-top: 0;
    }
}

/* スマートフォン */
@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
        line-height: 1.8;
    }

    .section {
        padding: 45px 0;
    }

    .container {
        padding: 0 18px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .section-title .ja {
        font-size: 22px;
    }

    .section-title .en {
        font-size: 10px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    /* インフォメーションバー */
    .info-bar {
        font-size: 11px;
        padding: 6px 0;
    }

    .info-bar-inner {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .info-bar-left {
        gap: 10px;
    }

    .info-bar-tel .tel-number {
        font-size: 13px;
    }

    .info-bar-right {
        width: 100%;
    }

    .info-bar-btn {
        padding: 5px 12px;
        font-size: 11px;
        flex: 1;
        text-align: center;
    }

    /* ヘッダー */
    .header-inner {
        padding: 14px 0;
    }

    .header-contact {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .contact-btn-envelope {
        display: none;
    }

    .gnav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--primary);
        z-index: 1000;
        transition: right 0.3s ease;
        overflow-y: auto;
    }

    .gnav.active {
        right: 0;
    }

    .gnav-inner {
        display: block;
    }

    .gnav-list {
        flex-direction: column;
        padding-top: 70px;
    }

    .gnav-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-align: left;
    }

    .gnav-item:first-child {
        border-left: none;
    }

    .gnav-item > a {
        padding: 14px 20px;
        font-size: 14px;
    }

    .gnav-item.current > a::after {
        display: none;
    }

    .gnav-dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background-color: rgba(0, 0, 0, 0.15);
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
        padding: 8px 0;
        border: none;
    }

    .gnav-dropdown-title {
        display: none;
    }

    .gnav-dropdown-list a {
        color: rgba(255, 255, 255, 0.85);
        padding: 9px 28px;
        font-size: 13px;
    }

    .logo-text .main {
        font-size: 16px;
    }

    .logo-text .sub {
        font-size: 9px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* ヒーロー */
    .hero {
        height: auto;
        padding: 55px 0;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* お知らせ */
    .news-section {
        padding: 35px 0;
    }

    .news-inner {
        gap: 12px;
    }

    .news-date {
        width: 80px;
        font-size: 12px;
    }

    .news-category {
        width: auto;
        padding: 2px 8px;
        font-size: 10px;
    }

    .news-title {
        font-size: 13px;
        white-space: normal;
        line-height: 1.5;
    }

    .news-more {
        align-self: flex-end;
    }

    /* グリッド系 */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .equipment-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cta-section {
        padding: 50px 0;
    }

    .cta-section h2 {
        font-size: 22px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* フッター */
    .footer {
        padding: 40px 0 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    /* 下層ページ */
    .page-header {
        padding: 35px 0;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .page-header p {
        font-size: 13px;
    }

    .product-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .product-hero-img {
        height: 260px;
    }

    .product-hero-info h1 {
        font-size: 22px;
    }

    .product-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .usage-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .related-products {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .table-basic th,
    .table-basic td,
    .table-catalog th,
    .table-catalog td {
        padding: 12px 14px;
        font-size: 13px;
        display: block;
        width: 100%;
        border-right: none;
    }

    .table-basic th,
    .table-catalog th {
        background-color: var(--bg-alt);
        border-bottom: none;
        font-weight: 700;
    }

    .table-basic tr,
    .table-catalog tr {
        display: block;
        margin-bottom: 1px;
    }

    /* 沿革 */
    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        width: auto;
        text-align: left;
        padding-left: 45px;
        padding-right: 0;
        margin-bottom: 8px;
        font-size: 15px;
    }

    .timeline-year::after {
        left: 11px;
        right: auto;
    }

    .timeline-content {
        margin-left: 35px;
        padding: 15px 18px;
    }

    /* OEM */
    .oem-features {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .oem-products {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    /* 品質管理 */
    .quality-system {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    /* お問い合わせ */
    .contact-form {
        padding: 28px 22px;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-info-box {
        padding: 25px;
    }

    /* ブログ */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .sidebar {
        grid-template-columns: 1fr;
    }

    .about-message h2 {
        font-size: 20px;
    }

    /* ページトップ */
    .page-top {
        right: 15px;
        bottom: 15px;
    }

    .page-top a {
        width: 44px;
        height: 44px;
        font-size: 11px;
    }
}

/* ========================================
   ブログ記事ページ（blog article page）
   ======================================== */
.article-main {
    min-width: 0;
}

.article {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 45px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

.article-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.article-category {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.article-date {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 10px;
    letter-spacing: 0.03em;
}

.article-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.article-eyecatch {
    width: 100%;
    height: 320px;
    background-color: var(--bg-alt);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 30px;
}

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

.article-lead {
    background-color: var(--bg-alt);
    padding: 22px 25px;
    border-radius: var(--radius-md);
    margin-bottom: 35px;
    border-left: 4px solid var(--accent);
}

.article-lead p {
    font-size: 15px;
    line-height: 1.9;
    color: var(--gray-700);
    margin: 0;
}

.article-body {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-800);
}

.article-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent);
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 28px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--primary-light);
    letter-spacing: 0.03em;
    line-height: 1.5;
}

.article-body p {
    margin-bottom: 16px;
    line-height: 2;
}

.article-body ul {
    margin: 15px 0 20px 20px;
    padding-left: 10px;
    list-style: none;
}

.article-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.8;
}

.article-body ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 12px;
    color: var(--accent);
}

.article-body strong {
    color: var(--primary);
    font-weight: 700;
}

/* まとめ */
.article-summary {
    background-color: var(--bg-alt);
    padding: 25px 28px;
    border-radius: var(--radius-md);
    margin: 40px 0 30px;
    border: 1px solid var(--border-light);
}

.article-summary h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    padding-left: 0;
    border-left: none;
    letter-spacing: 0.03em;
}

.article-summary p {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-700);
    margin: 0;
}

/* 関連記事 */
.related-articles {
    margin: 30px 0 40px;
}

.related-articles h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-article-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--gray-800);
    transition: all 0.25s ease;
}

.related-article-item:hover {
    border-color: var(--primary-light);
    background-color: var(--bg);
    transform: translateX(3px);
    text-decoration: none;
    color: var(--accent);
}

.related-article-item .ra-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.related-article-item .ra-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.related-article-item .ra-arrow {
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
}

/* 記事内CTA */
.article-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    color: var(--white);
    padding: 35px 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: 40px;
}

.article-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    padding-left: 0;
    border-left: none;
    letter-spacing: 0.03em;
}

.article-cta p {
    font-size: 14px;
    margin-bottom: 22px;
    opacity: 0.95;
    line-height: 1.8;
}

.article-cta .cta-buttons {
    justify-content: center;
}

/* プライバシーポリシーページ */
.privacy-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    max-width: 900px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    margin: 35px 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-light);
}

.privacy-content p {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.privacy-content ul {
    margin: 12px 0 18px 20px;
}

.privacy-content ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-700);
}

.privacy-content ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: var(--accent);
}

/* レスポンシブ - 記事ページ */
@media screen and (max-width: 768px) {
    .article {
        padding: 25px 20px;
    }

    .article-title {
        font-size: 20px;
    }

    .article-eyecatch {
        height: 200px;
    }

    .article-body h2 {
        font-size: 18px;
    }

    .article-body h3 {
        font-size: 16px;
    }

    .article-summary {
        padding: 20px 22px;
    }

    .article-cta {
        padding: 28px 25px;
    }

    .article-cta h3 {
        font-size: 17px;
    }

    .privacy-content {
        padding: 28px 22px;
    }

    .privacy-content h2 {
        font-size: 18px;
    }
}


/* ============================================================
   言語切替 / Language Switcher
   ============================================================ */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-right: 15px;
    z-index: 100;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #d5dce4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0F2B5B;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: var(--shadow-xs);
}

.lang-switcher-btn:hover {
    border-color: #2E7BC1;
    background: #f5f9fd;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(15,43,91,0.10);
}

.lang-icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.lang-current {
    white-space: nowrap;
}

.lang-arrow {
    font-size: 9px;
    color: #8896a7;
    transition: transform 0.2s ease;
}

.lang-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #e0e5ec;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    min-width: 130px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-item {
    display: block;
    padding: 10px 15px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.lang-dropdown-item:hover {
    background: #f0f6fc;
    color: #2E7BC1;
}

.lang-dropdown-item:first-child {
    border-radius: 0;
}

.lang-dropdown-item:last-child {
    border-radius: 0;
}

/* レスポンシブ対応 */
@media (max-width: 960px) {
    .lang-switcher {
        display: none;
    }
}
