/*!
Template:rishun
Theme Name: rishun_child
Theme URI: https://rishuntrading.co.jp
Description: Rishun is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: RishunTrading Limited.
Author URI: https://rishuntrading.co.jp
Version: 1.0.0
Requires at least: 1.0
Tested up to: 1.0.0
Requires PHP: 5.6.0
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Rishun WordPress theme, Copyright (C) 2022 RishunTrading Limited.
Rishun WordPress theme is licensed under the GPL.
Update Author:RishunTrading Limited
Update Author URI:https://rishuntrading.co.jp/
Version:1.0.0
*/
@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;700&display=swap');
/************************************************************/
:root {
    /* カラーパレット */
    --color-bg-white: #FFFFFF;
    --color-bg-light: #F4F7FA;
    --color-primary: #1B4A78;
    --color-accent: #D85C27;
    --color-text-main: #2C3E50;
    --color-text-muted: #64748B;
    --color-border: #E2E8F0;

    /* タイポグラフィ */
    --font-primary: 'Inter', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;

    /* コンポーネント */
    --border-radius-btn: 4px;
    --border-radius-card: 0px;
    --transition-hover: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-hover: 0 4px 6px rgba(0,0,0,0.1);
}
/*==========================================================*/
/* defalt define											*/
/*==========================================================*/
body, p{
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-text-main);
    line-height: 1.6;
}
body a{
    color: var(--color-primary);
    transition: var(--transition-hover);
}
body a:hover{
    color: var(--color-accent);
}
.nodata{
    color:#ff0000;
}
img{
    width:100%;
    height:auto;
}
.entry-body img{
    display:unset;
    width:auto;
    height: auto;
    max-width: 100%;
}
@media print {
    #mobile-menu {
        display: none !important;
    }
}

/*---- 共通ヘッダー・フッター調整 ----*/
/*
.site-header {
    position: relative;
    z-index: 1000;
    overflow: visible;
    opacity: 0;
    transform: translateY(-100%);
    animation: rishunHeaderDrop 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
    will-change: transform, opacity;
}
*/
.site-header-wrap {
    position: relative;
    z-index: 1000;
    overflow: visible;
    opacity: 0;
    transform: translateY(-100%);
    animation: rishunHeaderDrop 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
    will-change: transform, opacity;
    box-shadow:none;
}
.scrolled .site-header-wrap{
    backdrop-filter: blur(2px);
}
.site-header-container,
.site-header-nav,
.site-header-menu,
.site-header-menu > li {
    overflow: visible;
}

.site-header-menu > li.menu-item-has-children {
    position: relative;
}

.site-header-menu > li.menu-item-has-children > .sub-menu {
    z-index: 1001;
}

@keyframes rishunHeaderDrop {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header {
        opacity: 1;
        transform: none;
        animation: none;
        will-change: auto;
    }
}

.site-header-logo {
    font-family: var(--font-primary);
}
.site-header-logo a img{
    max-width: 250px;
}
.site-header-menu li a, .site-mobile-menu li a {
    font-family: var(--font-primary);
    font-weight: 500;
}
.site-header-inner{
    justify-content: flex-start;
}
@media(min-width:768px){
    .site-header-logo a img{
        max-width: unset;
        width:auto;
        height:35px;
    }
}
/*---- TOP page ----*/
/* ===== mv_sec：ヒーローセクション（額縁スライダー） ===== */
.mv-sec {
    position: relative;
    background-color: var(--color-bg-white);
    overflow: hidden;
    padding: 0;
}

/* 額縁外枠ラッパー：左右と上下に余白を持たせる */
.mv-frame-wrap {
    padding: 16px 12px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 額縁コンテナ：上下に紺色の装飾線を配置 */
.mv-frame {
    position: relative;
    overflow: hidden;
}
/* 上部の紺色装飾線 */
.mv-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
    z-index: 5;
}
/* 下部の紺色装飾線 */
.mv-frame::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--color-primary);
    z-index: 5;
}

/* スライダー本体 */
.mv-slider {
    position: relative;
    width: 100%;
    height: 500px;
}

/* 各スライド（クロスフェード用に全て重ねて配置） */
.mv-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.mv-slide.is-active {
    opacity: 1;
    z-index: 2;
}
.mv-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== テキストオーバーレイ：右側縦書き ===== */
.mv-copy-vertical {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    /* 右側のテキスト背景：薄い黒グラデーション */
    background: linear-gradient(to left, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    pointer-events: none;
    font-family: 'Noto Serif JP',serif;
}
.mv-copy-vertical-text {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.3em;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    /* Safari対応の縦書き設定 */
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    /* Safari用のテキスト方向を明示 */
    text-orientation: mixed;
    -webkit-text-orientation: mixed;
    white-space: nowrap;
}

/* ===== テキストオーバーレイ：下部横書き ===== */
.mv-copy-horizontal {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    padding: 40px 20px 24px;
    /* 下部のテキスト背景：可読性を確保するグラデーション座布団 */
    background: linear-gradient(to top, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
    pointer-events: none;
    font-family: 'Noto Serif JP',serif;
}
.mv-copy-horizontal-text {
    color: var(--color-text-main);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* ===== ボタン共通（既存の定義を維持） ===== */
.mv-action {
    margin-top: 24px;
}
.btn-custom-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-accent);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 26px;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    transition: var(--transition-hover);
    will-change: transform;
}
.btn-custom-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: #c95121;
}
.pc-slider{
    display:none;
}
/* ===== レスポンシブ：タブレット (768px〜) ===== */
@media (min-width: 768px) {
    .mv-frame-wrap {
        padding: 24px 32px;
    }
    .mv-copy-vertical {
        width: 72px;
    }
    .mv-copy-vertical-text {
        font-size: 26px;
        letter-spacing: 0.35em;
    }
    .mv-copy-horizontal {
        padding: 48px 32px 28px;
    }
    .mv-copy-horizontal-text {
        font-size: 28px;
    }
    .sp-slider{
        display:none;
    }
    .pc-slider{
        display:block;
    }
    .mv-slider{
        height:auto;
        aspect-ratio:5/3;
    }
}

/* ===== レスポンシブ：PC (992px〜) ===== */
@media (min-width: 992px) {
    .mv-frame-wrap {
        padding: 32px 48px;
    }
    .mv-copy-vertical {
        width: 88px;
    }
    .mv-copy-vertical-text {
        font-size: 32px;
        letter-spacing: 0.4em;
    }
    .mv-copy-horizontal {
        padding: 56px 48px 36px;
    }
    .mv-copy-horizontal-text {
        font-size: 36px;
    }
}

/* ===== レスポンシブ：大画面 (1200px〜) ===== */
@media (min-width: 1200px) {
    .mv-copy-vertical {
        width: 100px;
    }
    .mv-copy-vertical-text {
        font-size: 36px;
    }
    .mv-copy-horizontal-text {
        font-size: 40px;
    }
}

/*---- concept_section（想像・創造・力） ----*/
/* フォント：明朝体ベース */
.concept-section {
    font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho ProN', serif;
    background-color: var(--color-bg-white);
    padding: 0;
    overflow: hidden;
}
.concept-inner {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* SVG曲線あしらい（PC版のみ表示） */
.concept-curve {
    display: none;
}

/* ===== テキストブロック共通 ===== */
.concept-block {
    position: relative;
}
.concept-block-text {
    display: inline-block;
}
/* 漢字行 */
.concept-kanji {
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: baseline;
    font-family: 'Noto Serif JP',serif;
}
/* 1文字目：大きくカラー */
.concept-char-main {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}
.concept-char--orange { color: #D95C00; }
.concept-char--blue   { color: #195bba; }
.concept-char--purple { color: #a8006b; }

/* 2文字目：黒で標準サイズ */
.concept-char-sub {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1;
    margin-left: 2px;
}

/* 漢字下の水平線 */
.concept-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text-main);
    margin-top: 4px;
}

/* 英字 */
.concept-en {
    font-family: serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
    letter-spacing: 0.1em;
    margin: 6px 0 0 0;
    text-align: right;
}

/* ===== SP版レイアウト（767px以下） ===== */
/* 画像エリア */
.concept-block-img {
    width: 75%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.concept-block-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* SP版：テキストを画像に重ねて絶対配置 */
.concept-block-text {
    position: absolute;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.88);
    padding: 12px 16px 8px;
    width:150px;
}

/* SP版：ジグザグ配置 */
/* 1枚目（想像）：画像左寄せ、テキスト右上 */
.concept-block--idea .concept-block-img {
    margin-left: 0;
    margin-right: auto;
}
.concept-block--idea .concept-block-text {
    top: 8px;
    right: 0;
}

/* 2枚目（創造）：画像右寄せ、テキスト左上 */
.concept-block--craft .concept-block-img {
    margin-left: auto;
    margin-right: 0;
}
.concept-block--craft .concept-block-text {
    top: 8px;
    left: 0;
}

/* 3枚目（力）：画像左寄せ、テキスト右上 */
.concept-block--power .concept-block-img {
    margin-left: 0;
    margin-right: auto;
}
.concept-block--power .concept-block-text {
    top: 8px;
    right: 0;
}

/* SP版：区切り線（画面幅いっぱい） */
.concept-sp-divider {
    border: none;
    border-top: 1px solid var(--color-text-main);
    margin: 0;
    opacity: 0.3;
}

/* ===== PC版レイアウト（768px以上） ===== */
@media (min-width: 768px) {
    .concept-section {
        padding: 80px 24px;
    }
    .concept-inner {
        min-height: 460px;
    }

    /* SVG曲線あしらいを表示 */
/*
    .concept-curve {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }
*/
    .concept-curve {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }
    .concept-curve-path {
        fill: none;
        stroke: #1f2933;
        stroke-width: 2;
        stroke-linecap: round;
        opacity: 0.85;
    }

    /* SP版画像を非表示 */
    .concept-block-img {
        display: none;
    }

    /* SP版区切り線を非表示 */
    .concept-sp-divider {
        display: none;
    }

    /* テキストブロック共通：absoluteで自由配置 */
    .concept-block {
        position: absolute;
        z-index: 1;
    }
    .concept-block-text {
        position: static;
        background-color: transparent;
        padding: 0;
        width:200px;
    }
    .concept-block--power .concept-block-text{
        width:150px;
    }
    /* 1文字目のサイズをPC用に拡大 */
    .concept-char-main {
        font-size: 80px;
    }
    .concept-char-sub {
        font-size: 44px;
        margin-left: 4px;
    }
    .concept-en {
        font-size: 20px;
        margin-top: 8px;
    }
    .concept-line {
        margin-top: 6px;
    }

    /* 想像：左上エリア */
    .concept-block--idea {
        top: 0;
        left: 30%;
    }

    /* 創造：左下エリア */
    .concept-block--craft {
        bottom: 0;
        left: 5%;
    }

    /* 力：右中央エリア */
    .concept-block--power {
        top: 40%;
        right: 7%;
        transform: translateY(-50%);
    }
}

/* ===== PC大画面 (992px以上) ===== */
@media (min-width: 992px) {
    .concept-section {
        padding: 100px 48px;
    }
    .concept-inner {
        min-height: 520px;
    }
    .concept-char-main {
        font-size: 100px;
    }
    .concept-char-sub {
        font-size: 54px;
    }
    .concept-en {
        font-size: 22px;
    }
    .concept-block-text {
        width:250px;
    }
    .concept-block--power .concept-block-text{
        width:200px;
    }
    .concept-block--idea {
        top: 0;
        left: 30%;
    }
    .concept-block--craft {
        bottom: 0;
        left: 5%;
    }
    .concept-block--power {
        top: 42%;
        right: 10%;
    }
}

/* ===== 大画面 (1200px以上) ===== */
@media (min-width: 1200px) {
    .concept-inner {
        min-height: 560px;
    }
    .concept-char-main {
        font-size: 120px;
    }
    .concept-char-sub {
        font-size: 64px;
        margin-left: 6px;
    }
    .concept-en {
        font-size: 24px;
        margin-top: 10px;
    }
    .concept-block-text {
        width:300px;
    }
    .concept-block--power .concept-block-text{
        width:250px;
    }
}

/* ===== コンセプト スクロール連動アニメーション ===== */
.concept-block .concept-block-text {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.concept-section.is-concept-active .concept-block--idea .concept-block-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.concept-section.is-concept-active .concept-block--craft .concept-block-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.45s;
}

.concept-section.is-concept-active .concept-block--power .concept-block-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

@media (prefers-reduced-motion: reduce) {
    .concept-block .concept-block-text {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*---- concerns_sec ----*/
.concerns-sec {
    background-color: var(--color-bg-light);
    padding: 64px 0;
}
.sec-title-wrap {
    margin-bottom: 40px;
}
.sec-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}
.sec-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
}
.concern-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card); /* 0px */
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.concern-card-personal {
    border-top: 4px solid #3A73AA;
}
.concern-card-corporate {
    border-top: 4px solid var(--color-accent);
}
.concern-card-header {
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
    margin-bottom: 24px;
    text-align: center;
}
.concern-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
}
.concern-subtitle {
    display: block;
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: normal;
    margin-top: 6px;
}
.concern-list-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}
.concern-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.concern-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-main);
}
.concern-list li::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 6px;
    position: absolute;
    left: 0;
    top: 1.3em;
    color: var(--color-text-muted);
}
.concern-list.success li::before {
    content: "\f00c";
    font-size: 12px;
    top: 0.3em;
    color: var(--color-primary);
}
.concern-card-corporate .concern-list.success li::before {
    color: var(--color-accent);
}
.concern-card-footer {
    padding-top: 24px;
}
.btn-custom-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    transition: var(--transition-hover);
    will-change: transform;
}
.btn-custom-ghost:hover {
    color: #ffffff;
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

@media (min-width: 768px) {
    .concerns-sec {
        padding: 80px 0;
    }
    .sec-title {
        font-size: 28px;
    }
    .concern-card {
        padding: 40px 32px;
    }
    .concern-card-title {
        font-size: 32px;
    }
}
@media (min-width: 992px) {
    .concerns-sec {
        padding: 100px 0;
    }
    .sec-title {
        font-size: 32px;
    }
    .concern-card {
        padding: 48px 40px;
    }
    .btn-custom-ghost {
        padding: 14px 32px;
    }
}

/*---- strengths_sec ----*/
.strengths-sec {
    background-color: var(--color-bg-white);
    padding: 64px 0;
}
.strength-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card); /* 0px */
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: var(--transition-hover);
    position: relative;
}
.strength-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--color-primary);
}
.strength-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--color-border);
}
.strength-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.strength-number {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 900;
    color: rgba(27, 74, 120, 0.06);
    line-height: 1;
}
.strength-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.4;
}
.strength-subtitle {
    font-size: 16px;
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-top: 6px;
}
.strength-card-text {
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.1em;
    color: var(--color-text-main);
    margin: 0;
}

/*---- industries_sec ----*/
.industries-sec {
    background-color: var(--color-bg-light);
    padding: 64px 0;
}
.sec-subtitle {
    font-size: 16px;
    color: var(--color-text-main);
}
.industry-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card); /* 0px */
    padding: 32px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.industry-card-main {
    border-top: 4px solid var(--color-primary);
}
.industry-card-sub {
    border-top: 4px solid var(--color-accent);
}
.industry-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.4;
}
.industry-card-text {
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.7;
    color: var(--color-text-main);
    margin: 0;
}
.btn-custom-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 26px;
    border-radius: var(--border-radius-btn);
    text-decoration: none;
    transition: var(--transition-hover);
    will-change: transform;
}
.btn-custom-secondary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background-color: #13385b;
}

@media (min-width: 768px) {
    .strengths-sec, .industries-sec {
        padding: 80px 0;
    }
    .strength-card {
        padding: 40px 32px;
    }
    .industry-card {
        padding: 40px 32px;
    }
    .industry-card-title {
        font-size: 24px;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .strengths-sec, .industries-sec {
        padding: 100px 0;
    }
    .strength-card {
        padding: 48px 32px;
    }
    .industry-card {
        padding: 48px 40px;
    }
    .industry-card-title {
        font-size: 26px;
    }
    .industries-sec .btn-custom-secondary,.industries-sec .btn-custom-primary{
        min-height: 97px;
    }
}

/*---- cases_sec ----*/
.cases-sec {
    background-color: var(--color-bg-white);
    padding: 64px 0;
}
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.case-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card); /* 0px */
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    overflow: hidden;
}
.case-img-col {
    background-color: var(--color-bg-light);
}
.case-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.case-content {
    padding: 24px;
}
.case-meta {
    margin-bottom: 12px;
}
.case-industry {
    display: inline-block;
    background-color: var(--color-bg-light);
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    padding: 6px 12px;
    border-left: 3px solid var(--color-primary);
}
.case-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 24px;
    line-height: 1.4;
}
.case-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.case-detail-item {
    background-color: var(--color-bg-white);
}
.case-detail-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.case-detail-text {
    font-size: 16px;
    letter-spacing: 0.1em;
    line-height: 1.7;
    color: var(--color-text-main);
    margin: 0;
    padding-left: 28px;
}
.case-detail-result {
    background-color: rgba(27, 74, 120, 0.03);
    padding: 16px;
    border-left: 3px solid var(--color-primary);
}
.case-detail-result .case-detail-text {
    padding-left: 0;
    margin-top: 8px;
    font-weight: 600;
}

@media (min-width: 768px) {
    .cases-sec {
        padding: 80px 0;
    }
    .case-content {
        padding: 32px;
    }
    .case-title {
        font-size: 22px;
    }
    .case-detail-heading{
        font-size: 20px;
    }
}
@media (min-width: 992px) {
    .cases-sec {
        padding: 100px 0;
    }
    .cases-list {
        gap: 64px;
    }
    .case-content {
        padding: 40px 48px;
    }
    .case-title {
        font-size: 26px;
    }
    .case-img {
        aspect-ratio: auto;
        height: 100%;
    }
}

/*---- insta_sec ----*/
.insta-sec {
    background-color: var(--color-bg-light);
    padding: 64px 0;
}
:root {
    --rishun-insta-main-color: var(--color-accent);
}
.rishun-insta-timestamp,
.rishun-insta-writer,
.rishun-insta-caption,
.rishun-insta-link {
    display: none !important;
}

@media (min-width: 768px) {
    .insta-sec {
        padding: 80px 0;
    }
}
@media (min-width: 992px) {
    .insta-sec {
        padding: 100px 0;
    }
}

/*---- faq_sec ----*/
.faq-sec {
    background-color: var(--color-bg-white);
    padding: 64px 0;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 16px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
    transition: background-color 0.3s;
}
.faq-question:hover {
    background-color: var(--color-bg-light);
}
.faq-icon-q {
    color: var(--color-primary);
    font-size: 20px;
    margin-right: 16px;
    font-family: 'Inter', sans-serif;
}
.faq-text {
    flex-grow: 1;
    line-height: 1.5;
}
.faq-toggle-icon {
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 16px;
    flex-shrink: 0;
}
.faq-toggle-icon::before,
.faq-toggle-icon::after {
    content: "";
    position: absolute;
    background-color: var(--color-primary);
    transition: transform 0.3s ease;
}
.faq-toggle-icon::before {
    top: 50%;
    left: 0;
    width: 16px;
    height: 2px;
    transform: translateY(-50%);
}
.faq-toggle-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 16px;
    transform: translateX(-50%);
}
.faq-question.is-open .faq-toggle-icon::after {
    transform: translateX(-50%) rotate(90deg);
}
.faq-answer {
    display: none;
    padding: 0 16px 32px 16px;
    background-color: transparent;
}
.faq-answer-inner {
    display: flex;
    align-items: flex-start;
    padding: 24px;
    background-color: #F4F7FA; /* 明示的にグレー背景を指定 */
    border-radius: var(--border-radius-card); /* 0px */
    border: 1px solid var(--color-border); /* 同化を防ぐ枠線 */
}
.faq-icon-a {
    color: var(--color-accent);
    font-size: 20px;
    font-weight: 700;
    margin-right: 16px;
    font-family: 'Inter', sans-serif;
}
.faq-answer-inner .faq-text {
    color: var(--color-text-main);
    font-weight: normal;
    font-size: 15px;
}

@media (min-width: 768px) {
    .faq-sec { padding: 80px 0; }
}
@media (min-width: 992px) {
    .faq-sec { padding: 100px 0; }
}
/* btn-custom font-size */
@media(min-width:768px){
    .btn-custom-ghost,.btn-custom-primary,.btn-custom-secondary{
        font-size: 20px;
    }
}
/*---- footer area ----*/
.footerwidget {
    margin-bottom: 40px;
}
.final-cta {
    background-color: var(--color-bg-white);
    padding: 48px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-card); /* 0px */
    border-top: 4px solid var(--color-accent);
}
.final-cta-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}
.final-cta-text {
    color: var(--color-text-main);
    margin-bottom: 32px;
    text-align: left;
}
.site-beforefooter {
    background-color: #1a5692;
    padding: 40px 0;
}
.site-footer-wrap {
    padding: 48px 0;
}
.site-footer-wrap .container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.footerwidget {
    margin-bottom: 32px;
}
.footer-company-info {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--footer-font-color);
    width: 100%;
    text-align: left;
}
.site-footer-nav {
    width: 100%;
    margin-bottom: 32px;
}
.site-footer-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-footer-menu > .menu-item {
    display: flex;
    flex-direction: column;
}
.site-footer-menu a,
.site-footer-menu a:not([href]) {
    color: var(--footer-font-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.3s;
}
.site-footer-menu a:not([href]){
    pointer-events: none;
}
.site-footer-menu a:hover {
    color: var(--color-border);
}
.site-footer-menu .sub-menu {
    list-style: none;
    padding: 0;
    margin: 12px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.site-footer-menu .sub-menu a {
    font-size: 16px;
    font-weight: normal;
    opacity: 0.85;
}
.site-footer-menu .sub-menu a:hover {
    opacity: 1;
}
.copyright {
    width: 100%;
    text-align: left;
    color: var(--footer-font-color, var(--color-text-main));
    font-size: 14px;
    opacity: 0.8;
    font-weight:400;
}
@media (min-width: 580px) {
    .site-footer-menu {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .final-cta-text {
        text-align: center;
    }
    .site-footer-menu {
        grid-template-columns: repeat(3, 1fr);
    }
    .copyright {
        margin-top: 48px;
        border-top: 1px solid var(--color-border);
        padding-top: 24px;
        text-align:center;
        letter-spacing:0.1em;
    }
}
@media (min-width: 992px) {
    .footerwidget {
        width: 25%;
        margin-bottom: 0;
    }
    .site-footer-nav {
        width: 75%;
        margin-bottom: 0;
    }
    .final-cta {
        padding: 64px 40px;
    }
    .final-cta-title {
        font-size: 28px;
    }
}

/*---- Header / Navigation Fixes ----*/
/* ハンバーガーボタンの独自アニメーション実装 */
.mobile-navi-btn {
    background-color: var(--color-primary) !important;
    background-image: none !important; /* 親テーマの画像アイコンを消去 */
    border-radius: 4px;
    position: relative;
    cursor: pointer;
}
.mobile-navi-btn span {
    display: block;
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    /* translateYではなくtranslateX(-50%)で中央寄せしつつ位置指定 */
    transform: translateX(-50%);
}
/* 各ラインの通常時の縦位置 (ボタン高さ48pxの中央は24px) */
.mobile-navi-btn span:nth-child(1) { top: 15px; }
.mobile-navi-btn span:nth-child(2) { top: 23px; } /* 中央 */
.mobile-navi-btn span:nth-child(3) { top: 31px; }

/* メニュー展開時のバツ印アニメーション */
.mobile-navi-btn.mobile-navi-open span:nth-child(1) {
    top: 23px;
    transform: translateX(-50%) rotate(45deg);
}
.mobile-navi-btn.mobile-navi-open span:nth-child(2) {
    opacity: 0;
}
.mobile-navi-btn.mobile-navi-open span:nth-child(3) {
    top: 23px;
    transform: translateX(-50%) rotate(-45deg);
}
/* PCヘッダーメニューのリンクが白くなるのを防ぐ */
.site-header-menu {
    align-items: center; /* ボタン類を中央揃え */
    gap: 8px; /* 項目間のベース余白 */
}
.site-header-menu > li > a,
.site-header-menu > li > a:not([href]) {
    color: var(--color-text-main) !important;
    font-weight: 700;
    letter-spacing: 0.05em !important; /* 窮屈な-1pxを上書き */
    padding: 10px 16px !important;
}
.site-header-menu > li > a:hover,
.site-header-menu > li > a:not([href]):hover {
    color: var(--color-primary) !important;
}

/* ヘッダーのサブメニュー調整 (親テーマの黒背景を上書き) */
.site-header-menu .sub-menu {
    background-color: var(--color-bg-white) !important;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 8px 0 !important;
}
.site-header-menu .sub-menu > li {
    background-color: transparent !important;
}
.site-header-menu .sub-menu > li > a {
    color: var(--color-text-main) !important;
    font-size: 15px !important;
    padding: 12px 24px !important;
    letter-spacing: 0.05em;
}
.site-header-menu .sub-menu > li > a:hover {
    color: var(--color-primary) !important;
    background-color: var(--color-bg-light) !important;
}

/* お問い合わせ (menu-ctt) のボタン化 */
.site-header-menu > .menu-ctt {
    margin-left: 16px;
}
.site-header-menu > .menu-ctt > a {
    background-color: var(--color-accent) !important;
    color: #ffffff !important;
    border-radius: var(--border-radius-btn);
    padding: 12px 32px !important;
    transition: var(--transition-hover) !important;
}
.site-header-menu > .menu-ctt > a:hover {
    background-color: #c95121 !important; /* アクセントカラーのホバー色 */
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.site-header-menu > .menu-ctt > a::before {
    display: none !important; /* 親テーマの下線アニメーションを消去 */
}

/*---- mobile menu area ----*/
.site-mobile-nav>div{
    background: transparent;
}
.site-mobile-menu {
    padding: 24px 16px;
}
.site-mobile-menu > .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-mobile-menu > .menu-item:last-child {
    border-bottom: none;
}
.site-mobile-menu a,
.site-mobile-menu a:not([href]) {
    display: block;
    padding: 16px 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--sp-menu-font-color, #ffffff);
    text-decoration: none;
    cursor: pointer;
}
.site-mobile-menu .sub-menu {
    background-color: rgba(0, 0, 0, 0.1); /* 少し暗くして階層を表現 */
    border-radius: 4px;
    margin: 0 8px 16px 8px;
    padding: 8px 0;
}
.site-mobile-menu .sub-menu a {
    font-size: 16px;
    font-weight: normal;
    padding: 12px 16px;
    color: var(--sp-menu-submenu-font-color, #ffffff);
    opacity: 0.9;
}
.site-mobile-menu .menu-ctt {
    margin-top: 32px;
    border-bottom: none;
}
.site-mobile-menu .menu-ctt a {
    background-color: var(--color-accent);
    color: #ffffff !important;
    text-align: center;
    border-radius: var(--border-radius-btn);
    padding: 16px;
    font-weight: 700;
}

/*---- Animations ----*/
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

.instawrap.fade-in{
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform: unset;
    will-change: auto;
}
.instawrap.fade-in.is-visible{
    transform: unset;
}

.js-scroll-blur-up {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(32px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, filter, transform;
}

.js-scroll-blur-up.is-show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .js-scroll-blur-up {
        opacity: 1;
        filter: none;
        transform: none;
        transition: none;
        will-change: auto;
    }
}

/*==========================================================*/
/* 固定ページ：お客様のお悩み
/*==========================================================*/
.trouble-intro_sec,
.trouble_sec {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
}
.trouble-intro_sec {
    padding-top: 64px;
}
.trouble_sec {
    padding-bottom: 80px;
}

/* 下層ページヘッダー */
.page-header-ttl {
    text-shadow: none !important;
    opacity: 0;
    filter: blur(10px);
    animation: rishunPageHeaderTitleBlur 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
    will-change: opacity, filter;
}

@keyframes rishunPageHeaderTitleBlur {
    0% {
        opacity: 0;
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-header-ttl {
        opacity: 1;
        filter: none;
        animation: none;
        will-change: auto;
    }
}

.page-header-ttl .en{
    margin-top: 10px;
}
/* イントロ・見出し */
.trouble-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}
.trouble-intro p {
    font-size: 18px;
    color: var(--color-text-sub);
}
.trouble-sec-header {
    margin-bottom: 32px;
}
.trouble-sec-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-primary);
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 16px;
}
.trouble-sec-badge {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    border: 1px solid var(--color-border);
    border-radius: 0;
    font-size: 16px;
    padding: 8px 16px;
    display: inline-block;
    font-weight: 700;
}

/* カードデザイン (2カラム・カード型UI) */
/* カードデザイン (2カラム・カード型UI) */
.trouble-card {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 0;
    padding: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition-hover);
}
@media (min-width: 768px) {
    .trouble-card {
        padding: 32px;
    }
}
.trouble-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* アイコンエリア（左カラム） */
.trouble-card-icon-area {
    background-color: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    min-height: 160px;
}

/* テキストエリア（右カラム） */
.trouble-card-text-area {
    background-color: #ffffff;
    padding: 1.5rem 0 0 0;
}
@media (min-width: 768px) {
    .trouble-card-text-area {
        padding: 0 0 0 2rem;
    }
}

.trouble-card-icon-large {
    font-size: 72px;
    color: var(--color-primary);
    opacity: 0.9;
}
@media (min-width: 768px) {
    .trouble-card-icon-area {
        min-height: auto;
    }
}
.trouble-card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 24px 0;
    line-height: 1.4;
    border-bottom: 1px solid var(--color-bg-light);
    padding-bottom: 16px;
}

/* 悩み・解決策エリア */
.trouble-box {
    margin-bottom: 24px;
}
.trouble-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 12px;
    margin-bottom: 12px;
    border-radius: 0;
}
.trouble-label-problem {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    border-left: 4px solid var(--color-text-sub);
}
.trouble-label-solution {
    background-color: rgba(216, 92, 39, 0.1);
    color: var(--color-accent);
    border-left: 4px solid var(--color-accent);
}
.trouble-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0;
}
.trouble-solution-highlight {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.trouble-solution-sub {
    font-size: 16px;
    color: var(--color-text-sub);
    margin: 0;
}

/* カードフッター (ボタン) */
.trouble-card-footer {
    margin-top: auto;
    padding-top: 24px;
    text-align: right;
}
.btn-trouble-action {
    display: inline-block;
    background-color: #ffffff;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 0;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-hover);
}
.btn-trouble-action:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
}

/* CTA追記用テキスト */
.final-cta-note {
    text-align: left;
    font-size: 16px;
    color: var(--color-text-main);
    margin-top: 25px;
    text-indent: -1rem;
    padding-left: 1rem;
}
@media(max-width:767.9px){
    .btn-trouble-action{
        position:relative;
        padding: 12px 30px 12px 24px;
    }
    .btn-trouble-action i{
        position:absolute;
        top:50%;
        right:5px;
        translate:0 -50%;
    }
}
@media(min-width:768px){
    .trouble-solution-highlight br{
        display:none;
    }
}
@media(min-width:992px){
    .final-cta-note {
        max-width:670px;
        margin-left:auto;
        margin-right:auto;
    }
}
/*==========================================================*/
/* 固定ページ：私たちにできる事 (.page-technology-sec)
/*==========================================================*/
.page-technology-sec {
    background-color: var(--color-bg-light);
    color: var(--color-text-main);
    padding-top: 64px;
    padding-bottom: 80px;
}

/* 導入見出し */
.tech-intro {
    margin-bottom: 48px;
}
.tech-en-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.tech-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}
.tech-intro p {
    font-size: 18px;
    color: var(--color-text-sub);
}

/* 技術リストラッパー */
.tech-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* 技術カードアイテム */
.tech-item {
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: var(--transition-hover);
}
.tech-item:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* アイコンエリア（左カラム） */
.tech-icon-area {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 160px;
}
.tech-icon-large {
    font-size: 56px;
    color: #ffffff;
    opacity: 1;
}

/* テキストエリア（中央カラム） */
.tech-text-area {
    padding: 2rem 2rem 0;
}
.tech-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 12px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-bg-light);
    display: inline-block;
}
.tech-desc {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-weight: 700;
}
.tech-feature-box {
    background-color: var(--color-bg-light);
    padding: 20px 24px;
    margin-bottom: 20px;
    border-left: 4px solid var(--color-accent);
}
.tech-feature-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}
.tech-feature-list {
    margin: 0;
    padding-left: 24px;
}
.tech-feature-list li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
}
.tech-feature-list li:last-child {
    margin-bottom: 0;
}
.tech-industry {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.tech-industry .badge {
    background-color: var(--color-text-main);
    color: #ffffff;
    font-size: 16px;
    font-weight: normal;
    padding: 6px 12px;
    border-radius: 0;
    margin-right: 12px;
    vertical-align: text-bottom;
    margin-bottom: 10px;
}

/* ボタンエリア（右カラム） */
.tech-btn-area {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
}
.btn-tech-action {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    padding: 16px 24px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-hover);
    width: 100%;
    text-align: center;
}
@media (min-width: 768px) {
    .tech-text-area{
        padding: 2rem;
    }
    .tech-industry{
        flex-direction: row;
        align-items: center;
    }
    .tech-industry .badge{
        margin-bottom: 0;
    }
    .tech-btn-area{
        padding: 0 2rem 0 0;
    }
    .btn-tech-action {
        width: auto;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-align: left;
    }
}
.btn-tech-action:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    text-decoration: none;
}
@media(min-width:992px){}

/*==========================================================*/
/* 固定ページ：業界別の対応 (.page-industry-sec)
/*==========================================================*/

/* 導入見出し */
.industry-intro {
    background-color: var(--color-bg-white);
    text-align: center;
}
.industry-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}
.industry-intro p {
    font-size: 18px;
    color: var(--color-text-sub);
    margin: 0;
}

/* 業界セクション共通 */
.industry-block {
    padding: 64px 0;
}
.industry-block--white {
    background-color: var(--color-bg-white);
}
.industry-block--gray {
    background-color: var(--color-bg-light);
}
.industry-block-header {
    border-left: 5px solid var(--color-primary);
    padding-left: 20px;
    margin-bottom: 40px;
}
.industry-block-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 1rem 0;
}
.industry-block-header p {
    font-size: 16px;
    color: var(--color-text-sub);
    margin: 0;
}

/* 2カラムグリッド（ニーズと強み） */
.industry-grid {
    margin-bottom: 40px;
}
.industry-panel {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 28px;
    height: 100%;
}
.industry-block--gray .industry-panel {
    background-color: var(--color-bg-white);
}
.industry-panel-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
    display: block;
}

/* チェックリスト */
.industry-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.industry-check-list li {
    font-size: 16px;
    line-height: 1.8;
    padding: 8px 0 8px 32px;
    position: relative;
    border-bottom: 1px solid var(--color-bg-light);
}
.industry-check-list li:last-child {
    border-bottom: none;
}
.industry-check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--color-primary);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 16px;
}

/* 通常リスト（対応製品・事例等） */
.industry-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.industry-ul li {
    font-size: 16px;
    line-height: 1.8;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid var(--color-bg-light);
}
.industry-ul li:last-child {
    border-bottom: none;
}
.industry-ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 14px;
}

/* 対応製品エリア */
.industry-product-box {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 0;
    padding: 28px;
    margin-bottom: 40px;
}
.industry-block--gray .industry-product-box {
    background-color: var(--color-bg-white);
}
.industry-product-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 16px 0;
}

/* 事例カード（3カラム） */
.industry-cases-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}
.industry-case-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.industry-block--gray .industry-case-card {
    background-color: var(--color-bg-white);
}

/* ダミー画像エリア（後日差し替え用） */
.industry-case-img-dummy {
    aspect-ratio: 4 / 3;
    background-color: var(--color-bg-light); /* デザインシステムの薄いグレー */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8fa3b8;
    font-size: 16px;
}
.industry-case-img-dummy i {
    font-size: 40px;
    opacity: 0.5;
}

/* 実写画像エリア（object-fit: contain で全体を見切れなく表示） */
.industry-case-img-real {
    width:100%;
    aspect-ratio:1080/607;
    background-color: var(--color-bg-light); /* 余白部分の背景色 */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.industry-case-img-real img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 画像全体が見切れないように枠内に収める */
}

.industry-case-body {
    padding: 20px;
    flex-grow: 1;
}
.industry-case-label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    background-color: var(--color-bg-light);
    color: var(--color-text-sub);
    padding: 4px 10px;
    margin-bottom: 10px;
    border-radius: 0;
}
.industry-case-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 10px;
    line-height: 1.6;
}

/* セクション内CTAボタン */
.btn-industry-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-primary);
    color: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    padding: 16px 26px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-hover);
}
.btn-industry-cta:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    text-decoration: none;
}

/* SNSボタン（アクセントカラー） */
.btn-industry-sns {
    display: flex;
    width:100%;
    max-width:380px;
    justify-content: center;
    align-items: center;
    background-color: var(--color-accent);
    color: #ffffff;
    border: 2px solid var(--color-accent);
    border-radius: 4px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-hover);
    margin-left:auto;
    margin-right:auto;
}
.btn-industry-sns i{
    font-size: 30px;
}
.btn-industry-sns:hover {
    background-color: #ffffff;
    color: var(--color-accent);
    text-decoration: none;
}

/* SNS誘導エリア */
.industry-sns-box {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-left: 5px solid var(--color-accent);
    border-radius: 0;
    padding: 28px;
    margin-top: 40px;
}
.industry-sns-box p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0 0 20px 0;
}

/* セクション内CTAエリア */
.industry-cta-area {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.industry-cta-area p {
    font-size: 16px;
    color: var(--color-text-sub);
    margin-bottom: 16px;
}

/*==========================================================*/
/* 固定ページ：会社案内 (.page-company-wrap)
/*==========================================================*/

/* セクション共通 */
.page-company-wrap .company-sec {
    padding: 72px 0;
}
.page-company-wrap .company-sec--white {
    background-color: #ffffff;
}
.page-company-wrap .company-sec--gray {
    background-color: var(--color-bg-light);
}

/* セクション見出し共通 */
.page-company-wrap .company-sec-heading {
    margin-bottom: 48px;
}
.page-company-wrap .company-sec-heading .en-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.page-company-wrap .company-sec-heading h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
}

/* === セクション1：ミッション === */
.company-mission-catch {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.5;
    margin-bottom: 28px;
    padding: 24px 32px;
    border-left: 6px solid var(--color-accent);
    background-color: var(--color-bg-light);
}
@media (min-width: 768px) {
    .company-mission-catch {
        font-size: 30px;
    }
}
.company-mission-body {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-main);
    margin: 0;
}

/* === セクション2：代表挨拶 === */
.company-ceo-img-wrap {
    text-align: center;
    margin-bottom: 32px;
}
@media (min-width: 768px) {
    .company-ceo-img-wrap {
        margin-bottom: 0;
    }
}
.company-ceo-img-wrap img {
    max-height: 500px;
    max-width: 100%;
    border-radius: 0;
    object-fit: contain;
}
.company-message-body p {
    font-size: 16px;
    line-height: 2;
    color: var(--color-text-main);
    margin-bottom: 20px;
}
.company-message-body p:last-of-type {
    margin-bottom: 0;
}
.company-ceo-name {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    font-size: 16px;
    color: var(--color-text-sub);
    text-align: right;
}
.company-ceo-name strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-top: 4px;
}

/* === セクション3：会社概要テーブル === */
.company-profile-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--color-border);
}
.company-profile-table th,
.company-profile-table td {
    padding: 18px 24px;
    font-size: 16px;
    line-height: 1.8;
    vertical-align: top;
    border: 1px solid var(--color-border);
    text-align: left;
}
.company-profile-table th {
    background-color: #EBF0F6; /* メインカラーの薄い色 */
    color: var(--color-text-main);
    font-weight: 700;
    width: 30%;
    white-space: nowrap;
}
.company-profile-table td {
    background-color: #ffffff;
    color: var(--color-text-main);
}
/* 事業内容のulをテーブル内でも見やすく */
.company-profile-table td ul {
    margin: 0;
    padding-left: 20px;
}
.company-profile-table td ul li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 4px;
}
.company-profile-table td ul li:last-child {
    margin-bottom: 0;
}
.company-profile-table td a {
    color: var(--color-primary);
    text-decoration: none;
}
.company-profile-table td a:hover {
    text-decoration: underline;
}
/* スマホ：th/tdを縦積みに */
@media (max-width: 767px) {
    .company-profile-table,
    .company-profile-table tbody,
    .company-profile-table tr,
    .company-profile-table th,
    .company-profile-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .company-profile-table tr {
        border-bottom: 1px solid var(--color-border);
    }
    .company-profile-table th {
        border-bottom: none;
        white-space: normal;
    }
    .company-profile-table td {
        border-top: none;
    }
}

/* === セクション4：アクセス === */
.company-map-wrap {
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 0;
    margin-bottom: 24px;
}
.company-map-wrap iframe {
    display: block;
}
.company-access-info {
    font-size: 16px;
    color: var(--color-text-main);
    line-height: 1.8;
    margin: 0;
}
.company-access-info i {
    color: var(--color-primary);
    margin-right: 8px;
}
.company-profile-table td a.faxnolink{
    pointer-events:none;
    color: var(--color-text-main);
}
@media(min-width:768px){
    .company-profile-table td a.telnolink {
        pointer-events:none;
        color: var(--color-text-main);
    }
}
/*==========================================================*/
/* 固定ページ：お問い合わせ (.page-contact-sec)
/*==========================================================*/
.page-contact-sec {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    padding: 60px 0 80px;
}

/* 導入リード文 */
.contact-intro {
    margin-bottom: 48px;
}
.contact-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 24px;
}
.contact-intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0;
}

/* 電話窓口ボックス */
.contact-tel-box {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 8px; /* 目立たせるための角丸 */
    padding: 40px 24px;
    margin-bottom: 64px;
}
.contact-tel-lead {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}
.contact-tel-link-wrap {
    margin-bottom: 12px;
}
.contact-tel-link-wrap i {
    font-size: 24px;
    color: var(--color-primary);
    vertical-align: middle;
    margin-right: 7px;
}
.contact-tel-link {
    font-size:30px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    vertical-align: middle;
}
.contact-tel-link:hover {
    color: var(--color-accent);
}
.contact-tel-time {
    font-size: 16px;
    color: var(--color-text-sub);
    margin: 0;
}
@media(min-width:768px){
    .contact-tel-link {
        font-size: 36px;
        pointer-events: none;
    }
    .contact-tel-link-wrap i{
        font-size:28px;
        margin-right: 12px;
    }
}
@media(min-width:992px){
}

/* CF7フォーム全体ラップ */
.cf7-form-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.cf7-form-wrap .form-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-main);
}
.cf7-form-wrap .badge {
    font-size: 13px;
    padding: 4px 8px;
    vertical-align: text-bottom;
}
.cf7-form-wrap .badge.bg-danger {
    background-color: #dc3545;
}
.cf7-form-wrap .badge.bg-secondary {
    background-color: #6c757d;
}

/* フォーム入力欄（input, textarea） */
.cf7-form-wrap .form-control {
    font-size: 16px !important; /* スマホでのズーム防止、可読性担保 */
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: 0; /* サイト全体ルールに合わせて角丸なし */
    background-color: #ffffff;
    color: var(--color-text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cf7-form-wrap .form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(27, 74, 120, 0.2); /* メインカラーの柔らかい枠線ハイライト */
}
.cf7-form-wrap textarea.form-control {
    resize: vertical;
}

/* ラジオボタン / チェックボックス */
.cf7-form-wrap .wpcf7-list-item {
    margin-right: 24px;
    margin-bottom: 8px;
    display: inline-block;
}
.cf7-form-wrap .wpcf7-list-item input[type="radio"],
.cf7-form-wrap .wpcf7-list-item input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.2); /* クリックしやすく拡大 */
}
.cf7-form-wrap .wpcf7-list-item-label {
    font-size: 16px;
    color: var(--color-text-main);
    cursor: pointer;
}

/* 送信ボタン */
.btn-cf7-submit {
    display: inline-block;
    background-color: var(--color-accent);
    color: #ffffff;
    border: 2px solid var(--color-accent);
    border-radius: 4px; /* ボタンは角丸4px */
    padding: 16px 48px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-hover);
    width: 100%;
    max-width: 320px;
}
.btn-cf7-submit:hover {
    background-color: #ffffff;
    color: var(--color-accent);
}
/* CF7標準のローダー等の微調整 */
.cf7-form-wrap .wpcf7-spinner {
    margin: 10px auto 0;
    display: block;
}
.cf7-form-wrap .wpcf7-response-output {
    margin-top: 24px;
    font-size: 16px;
    border-radius: 0;
}

/*==========================================================*/
/* 固定ページ：プライバシーポリシー (.page-privacy-sec)
/*==========================================================*/
.page-privacy-sec {
    background-color: var(--color-bg-white);
    color: var(--color-text-main);
    padding: 80px 0;
}

/* 中央寄せのコンテンツラッパー */
.page-privacy-wrap {
    max-width: 800px;
    margin: 0 auto;
}
.page-privacy-wrap p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 24px; /* 段落ごとの余白 */
}
.page-privacy-wrap p:last-child {
    margin-bottom: 0;
}

/* リストアイテム */
.page-privacy-wrap ul {
    margin-bottom: 24px;
}
.page-privacy-wrap ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

/* 見出しとブロック */
.privacy-item {
    margin-bottom: 40px; /* 項目ごとの大きな余白 */
}
.privacy-item:last-child {
    margin-bottom: 0;
}
.privacy-item h3 {
    font-size: 20px; /* 小見出しだが16pxより大きくメリハリをつける */
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}
.privacy-item a {
    color: var(--color-primary);
    text-decoration: underline;
}
.privacy-item a:hover {
    color: var(--color-accent);
    text-decoration: none;
}

/*==========================================================*/
/* 制作事例ページ共通 (.page-works-wrap)
/*==========================================================*/
.page-works-wrap {
    color: var(--color-text-main);
}

/* ===== カテゴリーナビゲーション ===== */
.works-cat-nav {
    margin-bottom: 48px;
}
.works-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.works-cat-item {
    margin: 0;
}
.works-cat-btn {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-main);
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: 0; /* 角丸なし */
    padding: 8px 20px;
    text-decoration: none;
    transition: var(--transition-hover);
    line-height: 1.4;
}
.works-cat-btn:hover,
.works-cat-btn.is-active {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
    text-decoration: none;
}

/* ===== カードグリッド（一覧） ===== */
.works-card-grid {
    margin-bottom: 48px;
}
.works-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 0; /* 角丸なし */
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}
.works-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

/* 画像エリア（aspect-ratio固定・object-fit: contain） */
.works-card-img-link {
    display: block;
}
.works-card-img-wrap {
    aspect-ratio: 4 / 3;
    background-color: var(--color-bg-light); /* 余白部分の薄いグレー */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.works-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.works-card:hover .works-card-img-wrap img {
    transform: scale(1.03);
}

/* カード本文 */
.works-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.works-card-cats {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.works-card-cat {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    background-color: #EBF0F6;
    padding: 4px 10px;
    border-radius: 0;
    display: inline-block;
}
.works-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-main);
    margin: 0 0 12px 0;
    line-height: 1.5;
    flex-grow: 0;
}
.works-card-title a {
    color: inherit;
    text-decoration: none;
}
.works-card-title a:hover {
    color: var(--color-primary);
}
.works-card-summary {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-sub);
    margin: 0 0 16px 0;
    flex-grow: 1;
}
.works-card-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    display: inline-block;
    transition: color 0.2s ease;
}
.works-card-link:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
    text-decoration: none;
}

/* データなし */
.works-nodata {
    padding: 48px 0;
    text-align: center;
    color: var(--color-text-sub);
    font-size: 16px;
}

/* ===== 詳細ページ（single-works） ===== */
.page-works-single {
    max-width: 860px;
    margin: 0 auto;
}

/* ヘッダー（タイトル・メタ） */
.works-single-header {
    margin-bottom: 32px;
}
.works-single-cats {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.works-single-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-main);
    line-height: 1.5;
    margin: 0 0 12px 0;
}
@media (min-width: 768px) {
    .works-single-title {
        font-size: 32px;
    }
}
.works-single-meta {
    color: var(--color-text-sub);
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}
.works-single-date {
    font-size: 16px;
}

/* アイキャッチ画像エリア */
.works-single-thumbnail-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}
.works-single-thumbnail-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 見切れなし・全体表示 */
}

/* ACF概要エリア */
.works-single-summary {
    background-color: var(--color-bg-light);
    border-left: 5px solid var(--color-primary);
    padding: 20px 24px;
    margin-bottom: 32px;
}
.works-single-summary p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin: 0;
    font-weight: 600;
}

/* 本文エリア */
.works-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text-main);
    margin-bottom: 56px;
    border-top: 1px solid var(--color-border);
    padding-top: 32px;
}
.works-single-content p,
.works-single-content li {
    font-size: 16px;
    line-height: 1.8;
}
.works-single-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 16px;
    border-bottom: 2px solid var(--color-bg-light);
    padding-bottom: 8px;
}
.works-single-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
}
.works-single-content img {
    max-width: 100%;
    height: auto;
}

/* CTAエリア */
.works-single-cta {
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-top: 4px solid var(--color-primary);
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 40px;
}
.works-single-cta-lead {
    font-size: 16px;
    color: var(--color-text-main);
    margin-bottom: 24px;
    font-weight: 600;
}
.btn-works-contact {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    border: 2px solid var(--color-primary);
    border-radius: 4px;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-hover);
}
.btn-works-contact:hover {
    background-color: #ffffff;
    color: var(--color-primary);
    text-decoration: none;
}

/* 一覧戻りリンク */
.works-single-back {
    text-align: center;
    padding-bottom: 32px;
}
.works-back-link {
    font-size: 16px;
    color: var(--color-text-sub);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
}
.works-back-link:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    text-decoration: none;
}