@charset "UTF-8";
/*
Theme Name: 株式会社リバティ ロジ
Description: 株式会社リバティ ロジのテンプレートです
Version: 1.0
Author: E.Anzu
*/


/* ===== Tokens / Base ===== */
:root {
    --primary: #f87315;
    --primary-dark: #ea580c;
    --bg-light: #f6f6f8;
    --bg-dark: #111621;
    --text-main: #0e121b;

    --radius: .25rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --maxw: 1024px;
    --maxws: 350px;
    --maxwt: 600px;
    --shadow-md: 0 10px 24px rgba(0, 0, 0, .18);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Manrope', 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    background: var(--bg-light);
}

.box{
	opacity: 1;
}

/*==================================================
動かしたい動き（今回は” ふわっ” を採用）
===================================*/

.fadeUp {
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
	transform: translateY(100px);
  }

  to {
    opacity: 1;
	transform: translateY(0);
  }
}

/* 既存の <html class="dark"> 方式に合わせる */
.dark body {
    background: var(--bg-dark);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--maxws);
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width:768px) {
    .container {
        max-width: var(--maxwt);
        padding: 0 24px;
    }
}

@media (min-width:1025px) {
    .container {
        max-width: var(--maxw);
    }
}

.section {
    position: relative;
}

.section-divider {

    bottom: -1px;
    /* 1pxの隙間対策 */
    height: 70px;
    /* SVGの高さ */
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
}

.divider-svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* “次のセクションの背景色”に合わせる */
.section--orange .divider-svg path {
    fill: #ffffff;
    /* 次が白なら白 */
}

.section-rel {
    position: relative;
    overflow: hidden;
    /* 文字がはみ出してもスクロールバーが出ないように */
    padding-bottom: 50px;
    /* 文字を配置するスペースを確保 */
}

.section-bg-text {
    position: absolute;
    /* 右下を基点に配置 */
    bottom: -10px;
    right: 0;
    /* デザインの肝：巨大で透けた文字 */
    font-size: 50px;
    /* 画面幅に合わせてサイズが可変します */
    font-weight: 900;
    line-height: 1;
    color: #f87315;
    opacity: 0.5;
    /* さりげない存在感に */

    white-space: nowrap;
    /* 改行させない */
    pointer-events: none;
    /* 下にあるリンクやボタンの邪魔をしない */
    user-select: none;
    /* テキスト選択できないようにする */

}

@media (min-width:768px) {

    .section-rel {
        padding-bottom: 120px;
        /* 文字を配置するスペースを確保 */
    }

    .section-bg-text {
        font-size: 120px;
        bottom: -20px;
    }

}

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .90);
    backdrop-filter: blur(10px);
}

.dark .site-header {
    background: rgba(17, 22, 33, .90);
    border-bottom: 1px solid #1f2937;
}

.header-inner {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (min-width:768px) {
    .header-inner {
        height: 80px;
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background: var(--primary);
    color: #fff;
}

.brand-icon img {
    width: 100%;
}

.brand-title {
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: -.02em;
    margin: 0;
}

.gnav {
    display: none;
    margin-left: auto;
    gap: 24px;
    align-items: center;
}

.gnav-link {
    font-size: 14px;
    font-weight: 600;
    transition: color .2s;
}

.gnav-link:hover {
    color: var(--primary);
}

.gnav-link.is-active {
    color: var(--primary);
    font-weight: 800;
}

.menu-btn {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 8px;
    position: fixed;
    /* ← 重要 */
    top: 10px;
    right: 16px;
    z-index: 1001;
    /* メニューより上 */
}

/* ハンバーガー全体 */
.hamburger {
    width: 34px;
    height: 24px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 線 */
.bar {
    height: 3px;
    width: 100%;
    background: currentColor;
    border-radius: 999px;
    transition: transform .25s ease, opacity .2s ease;
    transform-origin: center;
}

/* 開いたとき：×にする */
.menu-btn.is-open .bar:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.menu-btn.is-open .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.is-open .bar:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

/* bodyがこのクラスを持っている間、スクロールを無効化する */
body.is-fixed {
    overflow: hidden;
    height: 100vh;
    /* iOS対策 */
    position: fixed;
    /* これで完全にロックされます */
    width: 100%;
}

/* メニュー本体 */
.global-menu {
    position: fixed;
    inset: 0;
    /* 四方0で全画面固定 */
    width: 100%;
    height: 100dvh;
    background: linear-gradient(135deg, #ffffff 0%, #fff7ed 100%);
    overflow: hidden;
    /* ロゴがはみ出してもスクロールバーが出ないように */

    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1000;
    overflow-y: auto;

    /* 中身を中央に寄せる */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* メニューリスト */
.global-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 24px;
    width: 100%;
    max-width: 500px;

    /* --- ここがポイント：下側に余白を作ってリストを上に押し上げる --- */
    margin-bottom: 10vh;
    /* 画面全体の高さの10%分、上にずらす */
}

/* 以下、li や a のスタイルは変更なし */

.global-menu.is-open {
    transform: translateX(0);
}

/* メニューリスト */
.global-menu .menu-list {
    list-style: none;
    margin: 0;
    padding: 100px 32px 40px;
    max-width: 500px;
    margin-left: auto;
}

/* リスト出現アニメーション */
.global-menu .menu-list li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.global-menu.is-open .menu-list li {
    opacity: 1;
    transform: translateY(0);
}

/* 順番に出現させるディレイ */
.global-menu.is-open .menu-list li:nth-child(1) {
    transition-delay: 0.1s;
}

.global-menu.is-open .menu-list li:nth-child(2) {
    transition-delay: 0.15s;
}

.global-menu.is-open .menu-list li:nth-child(3) {
    transition-delay: 0.2s;
}

.global-menu.is-open .menu-list li:nth-child(4) {
    transition-delay: 0.25s;
}

.global-menu .menu-list li+li {
    margin-top: 20px;
}

/* リンクボタンのベース（矢印の位置を制御するために position: relative を追加） */
.global-menu .menu-list a {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 5px;
    text-decoration: none;
    color: #1b1b1b;
    font-size: 17px;
    font-weight: 600;
    background: rgb(255, 255, 255, 0.8);
    box-shadow: 0 4px 20px rgb(248, 115, 21, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgb(248, 115, 21);
    transition: all 0.3s ease;

    /* 矢印を右端に置くための準備 */
    position: relative;
    padding-right: 50px;
    /* 矢印のスペースを確保 */
}

/* 矢印（>）の作成 */
.global-menu .menu-list a::after {
    content: "";
    position: absolute;
    right: 24px;
    /* 右端からの距離 */
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    /* 45度傾けてL字を作る */

    width: 8px;
    height: 8px;
    border-top: 2px solid #f87315;
    /* 上側の線 */
    border-right: 2px solid #f87315;
    /* 右側の線 */

    transition: all 0.3s ease;
}

/* 番号のデザイン */
.global-menu .menu-list .num {
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #f87315;
    /* 指定いただいたメインカラー */
    letter-spacing: 0.1em;
    padding-bottom: 2px;
    border-bottom: 2px solid rgb(248, 115, 21);
    transition: all 0.3s ease;
}

/* 背景ロゴの配置 */
.menu-bg-logo {
    position: absolute;
    bottom: -10%;
    /* 下側に見切れさせる */
    right: -10%;
    /* 右側に見切れさせる */
    width: 80vh;
    /* 画面の高さに対して巨大に設定 */
    max-width: 600px;

    /* メインカラーを薄くして馴染ませる */
    color: #f87315;
    opacity: 0.08;
    /* かなり薄くするのがオシャレのコツ */

    transform: rotate(-15deg);
    /* 少し傾ける */
    pointer-events: none;
    /* ロゴがクリックを邪魔しないように */
    z-index: -1;
    /* リストより背面に */

    /* メニューが開いた時に少し動かす演出（任意） */
    transition: transform 1s ease-out;
}

/* メニューが開いた時のロゴの動き */
.global-menu.is-open .menu-bg-logo {
    transform: rotate(-15deg) scale(1.1);
}

.menu-bg-logo svg {
    width: 100%;
    height: auto;
}


@media (min-width:768px) {
    .gnav {
        display: flex;
    }

    .menu-btn {
        display: none;
    }
}

/* ===== Hero ===== */
.hero {
    position: relative;
    overflow: hidden;
    background: #0b0f18;
}

@media (min-width:768px) {
    .hero {
        height: 800px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .80), rgba(0, 0, 0, .30));
}

.hero-inner {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(238, 140, 45, .30);
    background: rgba(238, 140, 45, .20);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--primary);
}

.hero-title {
    margin: 16px 0 18px;
    color: #fff;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.05;
    font-size: 40px;
}

@media (min-width:640px) {
    .hero-title {
        font-size: 56px;
    }
}

.hero-lead {
    margin: 0 0 28px;
    color: #e5e7eb;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (min-width:640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.btn {
    height: 38px;
    min-width: 100px;
    max-width: 150px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .2s, background-color .2s, border-color .2s;
}

@media (min-width:640px) {
    .btn {
        height: 48px;
        min-width: 160px;
        max-width: 200px;
    }
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.03);
}

.btn-ghost {
    background: rgba(255, 255, 255, .10);
    color: #fff;
    border-color: rgba(255, 255, 255, .30);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .20);
}

/* ===== Responsive utility ===== */
.sp-only {
    display: inline;
}

.pc-only {
    display: none;
}

@media (min-width:640px) {
    .sp-only {
        display: none;
    }

    .pc-only {
        display: inline;
    }
}

/* ===== News ===== */
.news {
    padding: 50px 0 0 0;
    background: #fff;
}

@media (min-width:768px) {
    .news {
        padding: 80px 0;
    }

}

@media (min-width:1025px) {
    .news {
        padding: 120px 0;
    }

}

.dark .news {
    background: #0f172a;
    /* 近い雰囲気の濃紺 */
}

/* 見出し部 */
.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

/* セクション共通っぽい見出し（このセクションだけでもOK） */
.section-eyebrow {
    margin: 0;
    color: var(--primary);
    font-size: .9em;
    font-weight: 800;
    text-transform: uppercase;
}

@media (min-width:768px) {
    .section-eyebrow {
        margin: 0 0 5px;
        font-size: 1em;
        font-weight: 900;
        letter-spacing: .18em;
    }
}

.section-title {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: var(--text-main);
}

@media (min-width:768px) {

    .section-title {
        font-size: 2em;
        font-weight: 900;
        letter-spacing: -.02em;
    }

}

.dark .section-title {
    color: #fff;
}

/* 一覧リンク */
.news-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    transition: color .2s, transform .2s;
    white-space: nowrap;
}

.news-more:hover {
    color: var(--primary-dark);
    transform: translateX(2px);
}

@media (max-width:767.98px) {
    .news-item {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-meta {
        min-width: auto;
    }

    .news-arrow {
        margin-left: auto;
    }
}

/* フッター（スマホだけ表示） */
.news-foot {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* ===== responsive utility（前回のが無い場合の保険） */
.pc-only-flex {
    display: none;
}

.sp-only-flex {
    display: flex;
}

@media (min-width:640px) {
    .pc-only-flex {
        display: inline-flex;
    }

    .sp-only-flex {
        display: none;
    }
}

/* ===== Services ===== */
.services {
    padding: 50px 0 30px 0;
    background: var(--bg-light);
}

@media (min-width:768px) {
    .services {
        padding: 80px 0;
    }
}

@media (min-width:1025px) {
    .services {
        padding: 120px 0;
    }
}

.dark .services {
    background: var(--bg-dark);
}

/* 見出し（中央寄せ版） */
.section-head.center {
    text-align: center;
    margin-bottom: 44px;
}

.section-lead {
    margin: 14px auto 0;
    max-width: 640px;
    font-size: .9em;
    line-height: 1.5;
}

@media (min-width:768px) {
    .section-lead {
        font-size: 1em;
        line-height: 1.8;
    }
}

.dark .section-lead {
    color: #9ca3af;
}

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

@media (min-width:640px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (min-width:1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

/* カード */
.service-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef0f3;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
    transform: translateY(0);
    transition: transform .22s, box-shadow .22s, border-color .22s;
}

.dark .service-card {
    background: #1f2937;
    border-color: #374151;
    box-shadow: none;
}

/* 画像 */
.service-media {
    height: 192px;
    background-size: cover;
    background-position: center;
    background-color: #e5e7eb;
}

/* 本文 */
.service-body {
    position: relative;
    padding: 22px 18px 20px;
}

.service-icon {
    position: absolute;
    right: 18px;
    top: -20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== スクロール順番表示（共通） ===== */
.js-stagger {
  opacity: 0;
  transform: translateY(14px); /* ← 控えめ */
  transition:
    opacity 1.15s cubic-bezier(.25, .8, .25, 1),
    transform 1.15s cubic-bezier(.25, .8, .25, 1);
  will-change: opacity, transform;
}

.js-stagger.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 画面内に入ったら表示（単独） ===== */
.js-reveal {
  opacity: 0;
  transform: translateY(12px); /* ← 小さく */
  transition:
    opacity 1.1s cubic-bezier(.25, .8, .25, 1),
    transform 1.1s cubic-bezier(.25, .8, .25, 1);
  will-change: opacity, transform;
}

.js-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .js-stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width:768px) {
    .service-icon {
        top: -28px;
        width: 50px;
        height: 50px;
    }
}

@media (min-width: 1025px) {
    .service-icon {
        width: 64px;
        height: 64px;
    }
}

.service-icon img {
    width: 100%;
}

.service-icon .material-symbols-outlined {
    font-size: 32px;
}

.service-title {
    margin: 0 0 10px;
    font-size: 1em;
    font-weight: 700;
    color: var(--text-main);
}

@media (min-width:768px) {
    .service-title {
        font-size: 1.1em;
        font-weight: 900;
        letter-spacing: -.02em;
    }
}

.dark .service-title {
    color: #fff;
}

.service-text {
    margin: 0;
    font-size: .9em;
    line-height: 1.5;
    color: #2d2d2d;
}

@media (min-width:768px) {
    .service-text {
        font-size: 1em;
        line-height: 1.8;
    }
}

.dark .service-text {
    color: #9ca3af;
}

/* ===== Strengths ===== */
.strengths {
    padding: 50px 0;
    background: #fff;
}

@media (min-width:768px) {
    .strengths {
        padding: 80px 0;
    }
}

@media (min-width:1025px) {
    .strengths {
        padding: 120px 0;
    }
}

.dark .strengths {
    background: #0f172a;
    border-top: 1px solid #1f2937;
    border-bottom: 1px solid #1f2937;
}

.strengths-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    align-items: center;
}

@media (min-width:1024px) {
    .strengths-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
}

/* Left */
.strengths-lead {
    margin: 10px 0 26px;
    font-size: .9em;
    line-height: 1.5;
    color: #1f1f1f;
}

@media (min-width:768px) {
    .strengths-lead {
        margin: 16px 0 26px;
        font-size: 1em;
        line-height: 1.8;
    }
}

.dark .strengths-lead {
    color: #cbd5e1;
}

.strength-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.strength-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.strength-ico {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(238, 140, 45, .12);
    color: var(--primary);
}

.dark .strength-ico {
    background: rgba(238, 140, 45, .16);
}

.strength-ico .material-symbols-outlined {
    font-size: 24px;
}

.strength-title {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-main);
}

@media (min-width:768px) {
    .strength-title {
        font-size: 1.1em;
        font-weight: 700;
        letter-spacing: -.02em;
    }
}

.dark .strength-title {
    color: #fff;
}

.strength-desc {
    margin: 6px 0 0;
    font-size: .9em;
    line-height: 1.5;
    color: #1f1f1f;
}

@media (min-width:768px) {
    .strength-desc {
        margin: 6px 0 0;
        font-size: 1em;
        line-height: 1.85;
    }
}

.dark .strength-desc {
    color: #9ca3af;
}

/* Right */
.strengths-right {
    position: relative;
}

.strengths-photo-frame {
    position: absolute;
    right: -10px;
    top: -10px;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    background: rgba(238, 140, 45, .12);
}

.dark .strengths-photo-frame {
    background: rgba(238, 140, 45, .10);
}

.strengths-photo {
    position: relative;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .18);
}

@media (min-width:1024px) {
    .strengths-photo-frame {
        right: -16px;
        top: -16px;
    }
}

/* ===== Contact CTA ===== */
.contact-cta {
    position: relative;
    padding: 50px 0;
    background: rgb(249 115 22);
    color: #fff;
    overflow: hidden;
}

@media (min-width:768px) {
    .contact-cta {
        padding: 80px 0;
    }
}

@media (min-width:1025px) {
    .contact-cta {
        padding: 100px 0;
    }
}

/* 背景のうっすら模様（radial） */
.contact-bg {
    position: absolute;
    inset: 0;
    opacity: .22;
    pointer-events: none;
}

/* 共通：菱形 */
.contact__shape {
    position: absolute;
    transform: rotate(45deg);
    opacity: .5;
}

/* 右下：枠のみ */
.contact__shape--ring {
    right: -80px;
    bottom: -80px;
    width: 384px;
    height: 384px;
    border: 20px solid #ffffff;
    background: transparent;
}

/* 左上：塗り */
.contact__shape--block {
    left: -80px;
    top: -80px;
    width: 256px;
    height: 256px;
    background: #ffffff;
}

.contact-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 880px;
}

.contact-title {
    margin: 0 0 16px;
    font-size: 1.3em;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.25;
}

@media (min-width:768px) {
    .contact-title {
        font-size: 36px;
    }
}

.contact-lead {
    margin: 0 auto 24px;
    max-width: 640px;
    font-size: .9em;
    line-height: 1.5;
    color: #fff;
}

@media (min-width:768px) {
    .contact-lead {
        font-size: 1em;
        line-height: 1.85;
    }
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

@media (min-width:640px) {
    .contact-actions {
        flex-direction: row;
        gap: 16px;
    }
}

/* このセクション用のボタン（既存 .btn があれば上に加算される） */
.btn.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: transparent;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
    height: 56px;
    padding: 0 28px;
    font-size: 1em;
}

.btn.btn-white:hover {
    transform: translateY(-1px);
    background: #f3f4f6;
}

.btn.btn-dark {
    background: rgb(12, 6, 50);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
    height: 56px;
    padding: 0 28px;
    font-size: 1em;
}

.btn.btn-dark:hover {
    transform: translateY(-1px);
    background: rgba(0, 0, 0, .20);
}

/* アイコン付き */
.contact-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 260px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1em;
}

@media (min-width:768px) {
    .contact-actions .btn {
        gap: 10px;
        font-weight: 700;
        font-size: 1.1em;
    }

}

.contact-actions .material-symbols-outlined {
    font-size: 35px;
    width: 35px;
}

/* ===== Footer ===== */
.site-footer {
    background: #0c1b36;
    /* ほぼ元の濃いグレー/ネイビー */
    color: #fff;
    padding: 64px 0 28px;
}

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

@media (min-width:768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 34px 28px;
    }
}

@media (min-width:1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 44px;
    }
}

/* Brand */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-ico {
    width: 30px;
}

.footer-brand-ico img {
    width: 100%;
}

.footer-brand-name {
    font-weight: 900;
    font-size: 18px;
    letter-spacing: -.02em;
}

.footer-address {
    margin: 0;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 600;
}

/* Titles + Links */
.footer-title {
    display: inline-block;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.02em;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Contact col */
.footer-note {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 600;
}

.footer-phone {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

.footer-hours {
    margin: 0;
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #ffffff;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    justify-content: space-between;
}

@media (min-width:768px) {
    .footer-bottom {
        flex-direction: row;
        align-items: center;
    }
}

.footer-copy {
    margin: 0;
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

.footer-bottom-links a {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    transition: color .2s;
}

.footer-bottom-links a:hover {
    color: #d1d5db;
}

/* ===== Contact Page ===== */
.page-main {
    flex: 1;
}

.contact-page {
    padding: 56px 0 36px;
}

/* Page head */
.page-head {
    padding: 32px 0 18px;
}

.page-title {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -.03em;
}

@media (min-width:768px) {
    .page-title {
        font-size: 40px;
    }
}

.page-lead {
    margin: 0;
    color: #0d0d0d;
    line-height: 1.8;
    font-size: 1em;
    font-weight: 500;
}

.dark .page-lead {
    color: #9ca3af;
}


/* Cards */
.contact-card,
.side-card {
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.contact-card {
    margin: 30px 0 150px 0;
}

.dark .contact-card,
.dark .side-card {
    background: #1a202c;
    border-color: #374151;
    box-shadow: none;
}

.contact-card {
    padding: 22px;
}

@media (min-width:768px) {
    .contact-card {
        padding: 28px;
    }
}

.card-title {
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e7ebf3;
    font-size: 1.1em;
    font-weight: 700;
}

.dark .card-title {
    border-bottom-color: #374151;
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width:768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1em;
    font-weight: 600;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    font-size: .9em;
    font-weight: 600;
    line-height: 1;
}

.badge.is-required {
    background: #fee2e2;
    color: #dc2626;
}

.badge.is-optional {
    background: #f3f4f6;
    color: #4b5563;
}

.input,
.select,
.textarea {
    width: 100%;
    border-radius: 5px;
    border: 1px solid #d0d7e7;
    background: #fbfbfb;
    color: #0e121b;
    font-size: 1em;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.dark .input,
.dark .select,
.dark .textarea {
    border-color: #4b5563;
    background: #111827;
    color: #fff;
}

.input,
.select {
    height: 48px;
    padding: 0 14px;
}

.textarea {
    min-height: 180px;
    padding: 14px;
    resize: vertical;
}

.input::placeholder,
.textarea::placeholder {
    color: #9ca3af;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--primary);
}

.select-wrap {
    position: relative;
}

.select {
    appearance: none;
    padding-right: 40px;
}

/* checkbox row */
.check-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-top: 2px;
}

.checkbox {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.check-text {
    color: #4e6797;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 600;
}

.dark .check-text {
    color: #9ca3af;
}

.link {
    color: var(--primary);
    font-weight: 900;
}

.link:hover {
    text-decoration: underline;
}

/* submit */
.form-actions {
    padding-top: 6px;
    text-align: center;
}

.btn-primary-lg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 160px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    transition: transform .15s, filter .2s;
}

@media (min-width:768px) {
    .btn-primary-lg {
        width: auto;
    }
}

.btn-primary-lg:hover {
    transform: translateY(-1px);
    filter: brightness(.95);
}

/* Side */
.contact-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-card {
    padding: 18px;
}

@media (min-width:768px) {
    .side-card {
        padding: 20px;
    }
}

/* Accent card */
.side-card.is-accent {
    background: rgba(25, 93, 230, .06);
    border-color: rgba(25, 93, 230, .22);
}

.dark .side-card.is-accent {
    background: rgba(25, 93, 230, .12);
    border-color: rgba(25, 93, 230, .22);
}

.side-head {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
}

.side-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
}

.side-text {
    margin: 0 0 12px;
    color: #4e6797;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 600;
}

.dark .side-text {
    color: #9ca3af;
}

.side-caption {
    margin: 0;
    color: #4e6797;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dark .side-caption {
    color: #9ca3af;
}

.side-tel {
    display: inline-block;
    margin-top: 6px;
    font-size: 26px;
    font-weight: 900;
    color: #0e121b;
    letter-spacing: -.02em;
    transition: color .2s;
}

.dark .side-tel {
    color: #fff;
}

.side-tel:hover {
    color: var(--primary);
}

.side-note {
    margin: 6px 0 0;
    font-size: 12px;
    color: #4e6797;
    font-weight: 600;
}

.dark .side-note {
    color: #9ca3af;
}

/* HQ card */
.side-title {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 900;
}

.side-title .material-symbols-outlined {
    color: #9ca3af;
}

.hq {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.hq-ico {
    width: 28px;
    min-width: 28px;
    margin-top: 2px;
    color: var(--primary);
}

.hq-body {
    display: flex;
    flex-direction: column;
}

.hq-name {
    margin: 0;
    font-weight: 900;
}

.hq-addr {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: #4e6797;
    font-weight: 600;
}

.dark .hq-addr {
    color: #9ca3af;
}

.hq-link {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 900;
    font-size: 13px;
}

.hq-link:hover {
    text-decoration: underline;
}

.hq-map {
    height: 180px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dark .hq-map {
    background: linear-gradient(135deg, #374151, #111827);
}

.hq-map .material-symbols-outlined {
    font-size: 40px;
    color: #9ca3af;
}

.dark .hq-map .material-symbols-outlined {
    color: #4b5563;
}

.lj-news {
    flex: 1;
}



/* responsive helper */
.lj-news-only-pc {
    display: none;
}

@media (min-width:640px) {
    .lj-news-only-pc {
        display: block;
    }
}

/* hero */
.lj-news-hero {
    padding: 40px 0 28px;
}

@media (min-width:640px) {
    .lj-news-hero {
        padding: 56px 0 36px;
    }
}

.lj-news-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 1em;
}

/* ホームなどのリンク */
.lj-news-breadcrumb a {
    color: var(--lj-text, #0e121b);
    text-decoration: none;
    font-weight: 500;
}

.lj-news-breadcrumb a:hover {
    color: var(--lj-primary, #ef8200);
}

/* 現在地だけオレンジ */
.lj-news-breadcrumb .current-item,
.lj-news-breadcrumb .current,
.lj-news-breadcrumb .bcn_breadcrumb_current,
.lj-news-breadcrumb .breadcrumb_last {
    color: var(--lj-sub, #ef8200);
    font-weight: 600;
}

/* 区切り */
.lj-news-breadcrumb .separator {
    font-size: 12px;
    opacity: .8;
}


.lj-news-hero__panel {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--lj-primary, #ef8200);
    padding: 44px 18px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
}

@media (min-width:640px) {
    .lj-news-hero__panel {
        padding: 72px 44px;
        border-radius: 24px;
    }
}

.lj-news-hero__bg {
    position: absolute;
    inset: 0;
    opacity: .10;
    background-size: cover;
    background-position: center;
    background-image: none;
    /* 画像を入れるならここ */
}

.lj-news-hero__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.lj-news-hero__title {
    margin: 0;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -.02em;
    color: #fff;
}

@media (min-width:640px) {
    .lj-news-hero__title {
        font-size: 40px;
    }
}

@media (min-width:768px) {
    .lj-news-hero__title {
        font-size: 48px;
    }
}

.lj-news-hero__lead {
    margin: 0;
    max-width: 640px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.8;
    color: rgba(219, 234, 254, 1);
}

@media (min-width:640px) {
    .lj-news-hero__lead {
        font-size: 15px;
    }
}

/* section */
.lj-news-section {
    padding: 0 0 150px;
}

/* filter */
.lj-news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 50px;
}

.lj-news-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    border: 1px solid rgb(29, 29, 29);
    background: #fff;
    color: var(--lj-sub, #1e1e1e);
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s, color .2s, border-color .2s, background .2s;
}

.dark .lj-news-chip {
    background: #1a202c;
    border-color: #374151;
    color: #d1d5db;
    box-shadow: none;
}

.lj-news-chip:hover {
    border-color: var(--lj-primary, #ef8200);
    color: var(--lj-primary, #ef8200);
    transform: translateY(-1px);
}

.lj-news-chip--active {
    background: var(--lj-primary, #ef8200);
    border-color: transparent;
    color: #fff;
}

.lj-news-chip--active:hover {
    color: #fff;
    transform: none;
}

/* month sticky */
.lj-news-month {
    position: sticky;
    top: 64px;
    z-index: 5;
    padding: 10px 0;
    backdrop-filter: blur(10px);
}

.dark .lj-news-month {
    background: rgba(17, 22, 33, .92);
}

.lj-news-month--mt {
    margin-top: 16px;
}

.lj-news-month__title {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--lj-sub, #1e1e1e);
}

.dark .lj-news-month__title {
    color: #6b7280;
}

/* list */
.lj-news-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 50px 0;
}

.lj-news-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .05);
    transition: box-shadow .2s, border-color .2s;
}

@media (min-width:768px) {
    .lj-news-item {
        flex-direction: row;
        gap: 16px;
        align-items: flex-start;
        padding: 18px 16px;
        border-radius: 10px;
    }
}


.dark .lj-news-item {
    background: #1a202c;
    border-color: rgba(255, 255, 255, .10);
    box-shadow: none;
}

@media (min-width:640px) {
    .lj-news-item {
        align-items: center;
        padding: 18px 18px;
    }
}

.lj-news-item:hover {
    border-color: #ef8200;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
}

.lj-news-item__meta {
    min-width: 140px;
    display: flex;
    vertical-align: middle;
    align-items: center;
    gap: 6px;
}

.lj-news-item__date {
    font-size: .85em;
    font-weight: 500;
    color: var(--lj-sub, #1d1d1d);
}

@media (min-width:768px) {
    .lj-news-item__date {
        font-size: 1em;
    }
}

.dark .lj-news-item__date {
    color: #9ca3af;
}

.lj-news-tag {
    display: inline-flex;
    width: fit-content;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: .8em;
    font-weight: 500;
    letter-spacing: .02em;
}

@media (min-width:768px) {
    .lj-news-tag {
        padding: 4px 8px;
        font-size: .9em;
        font-weight: 700;
    }
}

.lj-news-tag--important {
    background: #fee2e2;
    color: #dc2626;
}

.dark .lj-news-tag--important {
    background: rgba(127, 29, 29, .35);
    color: #fca5a5;
}

.lj-news-tag--operation {
    background: #dbeafe;
    color: var(--lj-primary, #195de6);
}

.dark .lj-news-tag--operation {
    background: rgba(30, 58, 138, .35);
    color: #93c5fd;
}

.lj-news-tag--press {
    background: #dcfce7;
    color: #16a34a;
}

.dark .lj-news-tag--press {
    background: rgba(20, 83, 45, .35);
    color: #86efac;
}

.lj-news-tag--maint {
    background: #f3f4f6;
    color: #4b5563;
}

.dark .lj-news-tag--maint {
    background: #374151;
    color: #d1d5db;
}

.lj-news-tag--info {
    background: #e9d5ff;
    color: #7c3aed;
}

.dark .lj-news-tag--info {
    background: rgba(88, 28, 135, .35);
    color: #d8b4fe;
}

.lj-news-item__body {
    width: 100%;
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    vertical-align: middle;
    align-items: center;
}

.lj-news-item__title {
    margin: 0;
    font-size: 1em;
    font-weight: 500;
    color: var(--lj-text, #0e121b);
    transition: color .2s;
}

@media (min-width:768px) {
    .lj-news-item__title {
        font-size: 1.1em;
        font-weight: 500;
    }
}

.dark .lj-news-item__title {
    color: #fff;
}

.lj-news-item:hover .lj-news-item__title {
    color: var(--lj-primary, #ef8200);
}

.lj-news-item__arrow {
    flex: 0 0 auto;
    color: #d1d5db;
    transition: transform .2s, color .2s;
}

.dark .lj-news-item__arrow {
    color: #4b5563;
}

.lj-news-item:hover .lj-news-item__arrow {
    transform: translateX(4px);
    color: var(--lj-primary, #ef8200);
}

/* pagination */
.lj-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.lj-news-pagebtn {
    height: 40px;
    min-width: 40px;
    padding: 0 12px;
    border-radius: 5px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--lj-sub, #1f1f1f);
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, box-shadow .2s;
}

.dark .lj-news-pagebtn {
    color: #9ca3af;
}

.lj-news-pagebtn:hover {
    background: #fff;
    color: var(--lj-primary, #ef8200);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .06);
}

.dark .lj-news-pagebtn:hover {
    background: #1a202c;
    color: #fff;
    box-shadow: none;
}

.lj-news-pagebtn--current {
    background: var(--lj-primary, #ef8200);
    color: #fff;
}

.lj-news-pagebtn--current:hover {
    background: var(--lj-primary, #ef8200);
    color: #fff;
}

.lj-news-pagebtn--icon {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lj-news-pagebtn:disabled {
    opacity: .45;
    cursor: not-allowed;
    box-shadow: none;
}

.lj-news-ellipsis {
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lj-sub, #4e6797);
}

.dark .lj-news-ellipsis {
    color: #6b7280;
}

/* ===== Logistics Japan - News Detail (scoped) ===== */

/* article */
.lj-nd-article {
    background: #fff;
    border: 1px solid #e7ebf3;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

@media (min-width:768px) {
    .lj-nd-article {
        padding: 40px;
    }
}

.dark .lj-nd-article {
    background: #1a2231;
    border-color: #2a3447;
    box-shadow: none;
}

.lj-nd-article__head {
    border-bottom: 1px solid #e7ebf3;
    padding-bottom: 22px;
    margin-bottom: 28px;
}

.dark .lj-nd-article__head {
    border-color: #2a3447;
}

.lj-nd-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 14px;
}

/* badge + date */
.lj-nd-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 1em;
    font-weight: 600;
    line-height: 1;
}

.lj-nd-badge--important {
    background: #fef2f2;
    color: #dc2626;
}

.dark .lj-nd-badge--important {
    background: rgba(127, 29, 29, .35);
    color: #fca5a5;
}

.lj-nd-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1em;
    font-weight: 600;
    color: #1c1c1c;
}

.dark .lj-nd-date {
    color: #9ca3af;
}

.lj-nd-date__icon {
    font-size: 18px;
}

.lj-nd-article__title {
    margin: 0;
    font-weight: 600;
    line-height: 1.25;
    color: #0e121b;
    font-size: 1.5em;
}

@media (min-width:768px) {
    .lj-nd-article__title {
        font-size: 28px;
    }
}

@media (min-width:1024px) {
    .lj-nd-article__title {
        font-size: 34px;
    }
}

.dark .lj-nd-article__title {
    color: #fff;
}

/* body */
.lj-nd-body {
    color: #0e121b;
}

.dark .lj-nd-body {
    color: #d1d5db;
}

.lj-nd-p {
    margin: 0 0 18px;
    line-height: 1.9;
}

.lj-nd-strong {
    font-weight: 900;
}

/* prev next */
.lj-nd-nav {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width:768px) {
    .lj-nd-nav {
        grid-template-columns: 1fr 1fr;
    }
}

.lj-nd-navcard {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid #e7ebf3;
    background: #fff;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}

.dark .lj-nd-navcard {
    background: #1a2231;
    border-color: #2a3447;
}

.lj-nd-navcard:hover {
    border-color: #ef8200;
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    transform: translateY(-1px);
}

.dark .lj-nd-navcard:hover {
    box-shadow: none;
}

.lj-nd-navcard__kicker {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #ef8200;
}

.dark .lj-nd-navcard__kicker {
    color: #9ca3af;
}

.lj-nd-navcard:hover .lj-nd-navcard__kicker {
    color: #ef8200;
}

.lj-nd-navcard__title {
    margin: 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.5;
    color: #323232;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dark .lj-nd-navcard__title {
    color: #fff;
}

.lj-nd-navcard:hover .lj-nd-navcard__title {
    color: #ef8200;
}

.lj-nd-navcard__date {
    font-size: .8em;
    font-weight: 700;
    color: #232323;
}

.dark .lj-nd-navcard__date {
    color: #9ca3af;
}

.lj-nd-navcard--next {
    align-items: flex-end;
    text-align: right;
}

/* back */
.lj-nd-backwrap {
    margin: 26px 0 150px 0;
    display: flex;
    justify-content: center;
}

.lj-nd-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 200px;
    padding: 12px 22px;
    border-radius: 10px;
    border: 1px solid #e7ebf3;
    background: #ef8200;
    color: #ffffff;
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    transition: border-color .2s, background .2s, transform .15s;
}

.dark .lj-nd-back {
    background: #ef8200;
    border-color: #ef8200;
    color: #fff;
    box-shadow: none;
}

.lj-nd-back:hover {

    transform: translateY(-1px);
}

.dark .lj-nd-back:hover {
    background: #2a3447;
}


/* ===== Logistics Japan - About (scoped) ===== */
.lj-about {
    padding: 50px 0;
    background: #f6f6f8;
}

@media (min-width:768px) {
    .lj-about {
        padding: 80px 0;
    }

}

@media (min-width:1025px) {
    .lj-about {
        padding: 120px 0;
    }

}

.dark .lj-about {
    background: #111621;
}


.lj-about__card {
    background: #ffffff;
    border-radius: 5px;
    padding: 15px;
}

@media (min-width:768px) {
    .lj-about__card {
        border-radius: 10px;
        padding: 30px;
    }
}

.dark .lj-about__card {
    background: #1f2937;
    /* 近い雰囲気のダーク面 */
    border-color: #2a3447;
    box-shadow: none;
}

.lj-about__dl {
    margin: 0;
}

.lj-about__row {
    display: grid;
    grid-template-columns: 75px 1fr;
    gap: 10px;
    padding: 5px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    transition: background .2s;
}

@media (min-width: 640px) {
    .lj-about__row {
        grid-template-columns: 180px 1fr;
        align-items: start;
        padding: 22px 24px;
        gap: 3px;
    }
}

.lj-about__row:first-child {
    border-top: none;
}

.dark .lj-about__row {
    border-top-color: #2a3447;
}

.lj-about__dt {
    margin: 0;
    font-weight: 500;
    color: #0e121b;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: .9em;
}

@media (min-width: 640px) {

    .lj-about__dt {
        font-size: 1em;
    }
}

.dark .lj-about__dt {
    color: #ffffff;
}

.lj-about__dd {
    margin: 0;
    color: #2e2e2e;
    line-height: 1.5;
    font-size: .9em;
}

@media (min-width: 640px) {
    .lj-about__dd {
        line-height: 1.9;
        font-size: 1em;
    }
}

.dark .lj-about__dd {
    color: #d1d5db;
}

.lj-about__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}

/* =========================
   404 design (keep class names)
   ========================= */

.lj-404 {
    position: relative;
    padding: clamp(44px, 6vw, 80px) 0 clamp(64px, 7vw, 110px);
    overflow: hidden;
}

/* Card */
.lj-404__card {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(22px, 3.2vw, 38px);
    border-radius: 10px;
    background: #fff
}

/* Title */
.lj-404__title {
    margin: 0 0 12px;
    font-size: 1.5em;
    line-height: 1.25;
    letter-spacing: .02em;
    text-align: center;
}

/* Text */
.lj-404__text {
    text-align: center;
    margin: 0 0 22px;
    line-height: 1.9;
    color: rgba(0, 0, 0, .72);
}

/* Actions */
.lj-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    justify-content: center;
}

.lj-404__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid rgba(0, 0, 0, .12);
    background: rgba(255, 255, 255, .92);
    color: rgba(0, 0, 0, .86);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.lj-404__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .18);
}

.lj-404__btn:active {
    transform: translateY(0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
}

.lj-404__btn--primary {
    border-color: rgba(0, 0, 0, 0);
    background: #ef8200;
    color: #fff;
}

.lj-404__btn--primary:hover {
    box-shadow: 0 20px 40px rgba(255, 138, 0, .28);
}

/* Background blobs: quieter & classy */
.lj-404__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Small screen: buttons full width, more stable */
@media (max-width: 520px) {
    .lj-404__actions {
        gap: 10px;
    }

    .lj-404__btn {
        width: 100%;
    }
}

/* =========================
   Contact Thanks (lj-thanks)
   ========================= */

.lj-thanks {
    position: relative;
    padding: clamp(44px, 6vw, 80px) 0 clamp(64px, 7vw, 110px);
    overflow: hidden;
}

.lj-thanks__card {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(22px, 3.2vw, 38px);
    border-radius: 10px;
    background: #fff;
}

.lj-thanks__title {
    margin: 0 0 12px;
    font-size: 1.5em;
    line-height: 1.25;
    letter-spacing: .02em;
    text-align: center;
}

.lj-thanks__text {
    margin: 0 0 18px;
    line-height: 1.9;
    color: rgba(0, 0, 0, .72);
    text-align: center;
}

/* info box */
.lj-thanks__info {
    margin-top: 14px;
    padding: 16px 16px;
    border-radius: 5px;
    background: rgba(0, 0, 0, .03);
    border: 1px solid rgba(0, 0, 0, .08);
}

.lj-thanks__infoTitle {
    margin: 0 0 10px;
    font-weight: 800;
    letter-spacing: .02em;
}

.lj-thanks__list {
    margin: 0;
    padding-left: 1.2em;
    line-height: 1.85;
    color: rgba(0, 0, 0, .74);
}

/* actions (center) */
.lj-thanks__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.lj-thanks__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid rgba(0, 0, 0, .12);
    background: rgba(255, 255, 255, .92);
    color: rgba(0, 0, 0, .86);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.lj-thanks__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
    border-color: rgba(0, 0, 0, .18);
}

.lj-thanks__btn--primary {
    border-color: rgba(0, 0, 0, 0);
    background: linear-gradient(135deg, #22c55e, #a3e635);
    color: #1b1b1b;
    box-shadow: 0 16px 34px rgba(34, 197, 94, .22);
}

.lj-thanks__btn--primary:hover {
    box-shadow: 0 20px 40px rgba(34, 197, 94, .28);
}

/* background blobs */
.lj-thanks__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 520px) {
    .lj-thanks__btn {
        width: 100%;
        max-width: 320px;
    }
}

.grecaptcha-badge {
    display: none;

}
