/* ============================================================
   KYOTECH Front Page Styles
   フロントページ専用スタイル
   ※ サイト全体の共通スタイルは style.css に記述
   ============================================================ */

/* --- セクション内コンテンツ幅 --- */
.kyotech-reason .inner,
.kyotech-greeting .inner,
.kyotech-service .inner,
.kyotech-works .inner,
.kyotech-news .inner,
.kyotech-area .inner,
.kyotech-cta .inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* --- セクション見出し共通 --- */
.kyotech-section-header {
    text-align: center;
    margin-bottom: 40px;
}
.kyotech-section-header .kyotech-section-sub {
    margin-bottom: 6px;
}
.kyotech-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 6px;
    color: var(--kt-text);
    letter-spacing: 0.05em;
}
.kyotech-section-title--light {
    color: #fff;
}
.kyotech-section-sub {
    font-size: 15px;
    color: var(--kt-cyan);
    text-align: center;
    margin-bottom: 44px;
    letter-spacing: 3px;
    font-weight: 500;
}


/* ============================================================
   1. MAIN VISUAL
   ============================================================ */
.kyotech-mv {
    position: relative;
    height: 80vh;
    min-height: 520px;
    max-height: 800px;
    overflow: hidden;
}
.kyotech-mv .splide,
.kyotech-mv .splide__track,
.kyotech-mv .splide__list,
.kyotech-mv .splide__slide {
    height: 100%;
}
.kyotech-mv__slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    animation: mvKenBurns 10s ease-out forwards;
}
/* Ken Burnsエフェクト：ズーム + パン（横移動）で動きを強調 */
@keyframes mvKenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.2) translate(-2%, -1%);
    }
}
.kyotech-mv__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.kyotech-mv__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
}
.kyotech-mv__inner {
    max-width: 820px;
    width: 100%;
}
.kyotech-mv__sub {
    font-size: 16px;
    color: var(--kt-cyan);
    letter-spacing: 6px;
    margin-bottom: 24px;
    text-align: center;
}
.kyotech-mv__title {
    font-size: 56px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: 0.04em;
}
.kyotech-mv__desc {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 40px;
    line-height: 1.9;
    text-align: center;
}
.kyotech-mv__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

/* 電話とメールで共通のベース */
.kyotech-mv__cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 240px;
    box-sizing: border-box;
}
.kyotech-mv__cta-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kyotech-mv__cta-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    text-align: left;
}
.kyotech-mv__cta-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
    font-weight: 500;
}
.kyotech-mv__cta-main {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.kyotech-mv__cta-main--num {
    font-family: var(--kt-font-num);
    font-size: 22px;
    letter-spacing: 0.8px;
}

/* 電話：白背景＋ダーク */
.kyotech-mv__cta--tel {
    background: #fff;
    color: var(--kt-dark);
}
.kyotech-mv__cta--tel:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--kt-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.kyotech-mv__cta--tel .kyotech-mv__cta-icon {
    color: var(--kt-cyan-dark);
}
.kyotech-mv__cta--tel .kyotech-mv__cta-label {
    color: var(--kt-text-light);
}

/* メール：シアン背景 */
.kyotech-mv__cta--mail {
    background: var(--kt-cyan);
    color: #fff;
}
.kyotech-mv__cta--mail:hover {
    background: var(--kt-cyan-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 167, 225, 0.35);
}
.kyotech-mv__cta--mail .kyotech-mv__cta-icon {
    color: #fff;
}
.kyotech-mv__cta--mail .kyotech-mv__cta-label {
    color: rgba(255, 255, 255, 0.85);
}
.pc-only {
    display: inline;
}
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .kyotech-mv {
        height: 70vh;
        min-height: 450px;
    }
    .kyotech-mv__content {
        align-items: flex-start;
        text-align: left;
        padding: 0 24px;
    }
    .kyotech-mv__inner {
        max-width: 100%;
    }
    .kyotech-mv__sub {
        text-align: left;
        font-size: 13px;
        letter-spacing: 4px;
        margin-bottom: 18px;
    }
    .kyotech-mv__title {
        font-size: 30px;
        text-align: left;
        line-height: 1.5;
        margin-bottom: 18px;
        letter-spacing: 0.02em;
    }
    .kyotech-mv__desc {
        font-size: 15px;
        text-align: left;
        line-height: 1.8;
        margin-bottom: 28px;
    }
    .kyotech-mv__btns {
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
    }
    .kyotech-mv__cta {
        min-width: 0;
        width: 100%;
        padding: 10px 18px;
        gap: 10px;
    }
    .kyotech-mv__cta-main {
        font-size: 15px;
    }
    .kyotech-mv__cta-main--num {
        font-size: 19px;
    }
    .kyotech-mv__cta-label {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 2px;
    }
    .pc-only {
        display: none;
    }
    .sp-only {
        display: inline;
    }
}


/* ============================================================
   2. REASON（選ばれる理由）
   ============================================================ */
.kyotech-reason {
    background: #e8f4fb;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.kyotech-reason .inner {
    position: relative;
    z-index: 2;
}
.kyotech-reason__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* --- アニメーション定義 --- */
@keyframes kt-reason-fade-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.kyotech-reason__card {
    position: relative;
    background: #fff;
    border: 1px solid #cfe6f3;
    padding: 44px 32px 36px;
    text-align: left;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.4s ease;
    cursor: default;

    /* 初期状態：非表示（JSで is-visible 付与時にアニメーション開始） */
    opacity: 0;
    transform: translateY(40px);
}
.kyotech-reason__card.is-visible {
    animation: kt-reason-fade-up 0.8s ease forwards;
}
.kyotech-reason__card.is-visible:nth-child(1) { animation-delay: 0.05s; }
.kyotech-reason__card.is-visible:nth-child(2) { animation-delay: 0.25s; }
.kyotech-reason__card.is-visible:nth-child(3) { animation-delay: 0.45s; }

/* 上端のシアンライン（ホバーで左から伸びる） */
.kyotech-reason__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--kt-cyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

/* 背景の大きな番号 */
.kyotech-reason__card::after {
    content: attr(data-num);
    position: absolute;
    top: -16px;
    right: 0;
    font-family: var(--kt-font-num);
    font-size: 140px;
    font-weight: 700;
    font-style: italic;
    color: rgba(44, 167, 225, 0.12);
    line-height: 1;
    pointer-events: none;
    transition: color 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

/* 斜めシャインエフェクト用の追加レイヤー */
.kyotech-reason__card .kyotech-reason__shine {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(44, 167, 225, 0.08) 50%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.9s ease;
    pointer-events: none;
    z-index: 1;
}

/* ホバー時（PCのみ適用） */
@media (hover: hover) {
    .kyotech-reason__card:hover {
        transform: translateY(-8px) !important;
        border-color: rgba(44, 167, 225, 0.5);
        box-shadow: 0 12px 28px rgba(44, 167, 225, 0.18);
    }
    .kyotech-reason__card:hover::before {
        transform: scaleX(1);
    }
    .kyotech-reason__card:hover::after {
        color: rgba(44, 167, 225, 0.22);
        transform: translate(-6px, -6px);
    }
    .kyotech-reason__card:hover .kyotech-reason__shine {
        transform: translateX(50%);
    }
    .kyotech-reason__card:hover .kyotech-reason__divider {
        width: 60px;
        background: var(--kt-cyan);
    }
}

/* 英語キャッチ */
.kyotech-reason__label {
    font-size: 12px;
    color: var(--kt-cyan);
    letter-spacing: 3px;
    margin: 0 0 14px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* タイトル */
.kyotech-reason__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 18px;
    text-align: left;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* 区切りライン（タイトル下） */
.kyotech-reason__divider {
    width: 32px;
    height: 2px;
    background: var(--kt-cyan);
    margin-bottom: 18px;
    transition: width 0.5s ease, background 0.5s ease;
    position: relative;
    z-index: 2;
}

/* 説明文 */
.kyotech-reason__desc {
    font-size: 15px;
    color: #5a6573;
    line-height: 1.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* タブレット */
@media (max-width: 991px) {
    .kyotech-reason__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .kyotech-reason {
        padding: 60px 0;
    }
    .kyotech-reason__card {
        padding: 36px 24px 28px;
    }
    .kyotech-reason__card::after {
        font-size: 110px;
        top: -10px;
    }
    .kyotech-reason__title {
        font-size: 19px;
    }
    .kyotech-reason__desc {
        font-size: 13px;
    }
    /* スマホでは1枚ずつスクロールで見えるので delay をリセット（各カードが画面に入るたびに単独で発火） */
    .kyotech-reason__card.is-visible:nth-child(1),
    .kyotech-reason__card.is-visible:nth-child(2),
    .kyotech-reason__card.is-visible:nth-child(3) {
        animation-delay: 0s;
    }
}


/* ============================================================
   3. GREETING（代表あいさつ）
   ============================================================ */
.kyotech-greeting {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
    /* コンクリート風グラデーション（明るめ） */
    background-color: #f5f4f1;
    background-image:
        radial-gradient(ellipse at 15% 20%, rgba(200, 198, 192, 0.2) 0%, transparent 25%),
        radial-gradient(ellipse at 85% 60%, rgba(214, 212, 206, 0.18) 0%, transparent 30%),
        radial-gradient(ellipse at 40% 80%, rgba(190, 188, 182, 0.14) 0%, transparent 20%),
        radial-gradient(circle at 70% 30%, rgba(205, 203, 197, 0.12) 0%, transparent 15%),
        radial-gradient(circle at 25% 70%, rgba(196, 194, 188, 0.14) 0%, transparent 12%),
        linear-gradient(135deg, #f7f6f3 0%, #ecebe6 100%);
}

/* 細かなノイズテクスチャ（SVG turbulence） */
.kyotech-greeting::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/%3E%3C/svg%3E");
    opacity: 0.2;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* 左上のシアンアクセント */
.kyotech-greeting::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 4px;
    background: var(--kt-cyan);
    z-index: 2;
}

.kyotech-greeting .inner {
    position: relative;
    z-index: 3;
    max-width: 820px;
}

/* 見出し部分 */
.kyotech-greeting .kyotech-section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.kyotech-greeting .kyotech-section-title {
    color: var(--kt-dark);
    margin-bottom: 12px;
}
/* 見出し下の短いシアンライン */
.kyotech-greeting .kyotech-section-header::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--kt-cyan);
    margin: 0 auto;
}

/* 本文 */
.kyotech-greeting__text {
    padding: 0 1rem;
    margin-top: 0;
}
.kyotech-greeting__text p {
    font-size: 17px;
    line-height: 2.1;
    color: #222;
    margin-bottom: 20px;
}
.kyotech-greeting__text p:last-child {
    margin-bottom: 0;
}

/* 署名 */
.kyotech-greeting__sign {
    text-align: right;
    margin-top: 1.75rem;
    font-size: 26px;
    font-weight: 500;
    color: var(--kt-dark);
    padding-right: 1rem;
    letter-spacing: 0.08em;
}

/* 右下の装飾マーク */
.kyotech-greeting .kyotech-greeting__mark {
    position: absolute;
    bottom: 24px;
    right: 28px;
    font-size: 10px;
    color: rgba(26, 26, 46, 0.35);
    letter-spacing: 2px;
    z-index: 2;
    font-family: 'Courier New', monospace;
    margin: 0;
}

/* スマホ */
@media (max-width: 768px) {
    .kyotech-greeting {
        padding: 60px 0;
    }
    .kyotech-greeting__text {
        padding: 0;
    }
    .kyotech-greeting__text p {
        font-size: 15px;
        line-height: 2;
    }
    .kyotech-greeting__sign {
        padding-right: 0;
        font-size: 16px;
    }
    .kyotech-greeting .kyotech-greeting__mark {
        font-size: 9px;
        right: 16px;
        bottom: 16px;
    }
}


/* ============================================================
   4. SERVICE（事業内容）
   ============================================================ */
.kyotech-service {
    padding: 90px 0;
}
.kyotech-service__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* カード全体 */
.kyotech-service__card {
    position: relative;
    border: 1px solid var(--kt-border);
    border-radius: 0;
    overflow: hidden;
    text-align: left;
    text-decoration: none;
    color: var(--kt-text);
    display: flex;
    flex-direction: column;
    background: #fff;
    transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}
.kyotech-service__card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
    border-color: var(--kt-cyan);
    color: var(--kt-text);
}

/* 画像エリア（グラデーションオーバーレイ＋サービス名を重ねる） */
.kyotech-service__img {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #ddd;
}
.kyotech-service__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.kyotech-service__card:hover .kyotech-service__img img {
    transform: scale(1.06);
}
/* 画像下部のグラデーション（サービス名の可読性確保） */
.kyotech-service__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
    z-index: 1;
}

/* 画像上のサービス名 */
.kyotech-service__name-wrap {
    position: absolute;
    bottom: 12px;
    left: 14px;
    right: 14px;
    z-index: 2;
    color: #fff;
}
.kyotech-service__name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    display: block;
}

/* カード下部：説明文＋VIEW MORE */
.kyotech-service__body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}
.kyotech-service__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.75;
    margin: 0;
}
.kyotech-service__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--kt-cyan);
    font-weight: 500;
    letter-spacing: 1.5px;
    transition: gap 0.3s ease, color 0.3s ease;
}
.kyotech-service__more svg {
    transition: transform 0.3s ease;
}
.kyotech-service__card:hover .kyotech-service__more {
    gap: 10px;
    color: var(--kt-cyan-dark);
}
.kyotech-service__card:hover .kyotech-service__more svg {
    transform: translateX(3px);
}

/* タブレット */
@media (max-width: 991px) {
    .kyotech-service__grid {
        gap: 14px;
    }
    .kyotech-service__img {
        height: 170px;
    }
}

/* スマホ */
@media (max-width: 768px) {
    .kyotech-service {
        padding: 60px 0;
    }
    .kyotech-service__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .kyotech-service__img {
        height: 130px;
    }
    .kyotech-service__name {
        font-size: 14px;
    }
    .kyotech-service__body {
        padding: 14px 14px 16px;
    }
    .kyotech-service__desc {
        font-size: 12px;
        line-height: 1.7;
    }
    .kyotech-service__more {
        font-size: 10px;
    }
}


/* ============================================================
   5. WORKS（施工事例）
   ============================================================ */
.kyotech-works {
    padding: 90px 0;
    background: var(--kt-gray-bg);
}
.kyotech-works__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 1000px;
    margin: 0 auto;
}

/* カード本体 */
.kyotech-works__item {
    display: flex;
    background: #fff;
    border: 1px solid var(--kt-border);
    overflow: hidden;
    align-items: stretch;
    text-decoration: none;
    color: var(--kt-text);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.kyotech-works__item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--kt-cyan);
    color: var(--kt-text);
}

/* Before/After のラッパー */
.kyotech-works__ba {
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
    position: relative;
}

/* Before/After 画像エリア */
.kyotech-works__before,
.kyotech-works__after {
    width: 170px;
    min-height: 140px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    background: #e8e8e8;
}
.kyotech-works__before img,
.kyotech-works__after img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* バッジ（BEFORE / AFTER） */
.kyotech-works__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    letter-spacing: 1.5px;
    z-index: 2;
}
.kyotech-works__badge--after {
    background: var(--kt-cyan);
    color: #fff;
}

/* Before→After間の矢印 */
.kyotech-works__ba-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    flex-shrink: 0;
    background: #fff;
    color: var(--kt-cyan);
}

/* プレースホルダー */
.kyotech-works__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
}

/* 情報エリア（タイトル・詳細） */
.kyotech-works__info {
    flex: 1;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    min-width: 0;
}
.kyotech-works__type {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--kt-dark);
    line-height: 1.4;
}
.kyotech-works__detail {
    font-size: 14px;
    color: var(--kt-text-light);
    margin: 0;
    line-height: 1.5;
}

/* 右端の矢印カラム */
.kyotech-works__more-arrow {
    flex-shrink: 0;
    width: 60px;
    background: var(--kt-gray-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    border-left: 1px solid var(--kt-border);
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.kyotech-works__more-arrow svg {
    transition: transform 0.3s ease;
}
.kyotech-works__item:hover .kyotech-works__more-arrow {
    background: var(--kt-cyan);
    color: #fff;
    border-left-color: var(--kt-cyan);
}
.kyotech-works__item:hover .kyotech-works__more-arrow svg {
    transform: translateX(4px);
}

/* 一覧リンクボタン */
.kyotech-works__more {
    text-align: center;
    margin-top: 2.5rem;
}
.kyotech-works__more a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    padding: 14px 36px;
    color: var(--kt-dark);
    background: transparent;
    border: 1px solid var(--kt-dark);
    text-decoration: none;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.kyotech-works__more a:hover {
    background: var(--kt-dark);
    color: #fff;
    opacity: 1;
}
.kyotech-works__more a svg {
    transition: transform 0.3s ease;
}
.kyotech-works__more a:hover svg {
    transform: translateX(4px);
}

/* 空の表示 */
.kyotech-works__empty {
    text-align: center;
    color: var(--kt-text-light);
    font-size: 16px;
}

/* スマホ（600px以下） */
@media (max-width: 600px) {
    .kyotech-works {
        padding: 60px 0;
    }
    .kyotech-works__item {
        flex-wrap: wrap;
    }
    .kyotech-works__ba {
        width: 100%;
    }
    .kyotech-works__before,
    .kyotech-works__after {
        width: 50%;
        min-height: 120px;
    }
    .kyotech-works__ba-arrow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.92);
        padding: 6px;
        z-index: 3;
    }
    .kyotech-works__info {
        flex: 1;
        padding: 14px 16px;
    }
    .kyotech-works__type {
        font-size: 15px;
    }
    .kyotech-works__detail {
        font-size: 12px;
    }
    .kyotech-works__more-arrow {
        width: 44px;
    }
    .kyotech-works__more-arrow svg {
        width: 18px;
        height: 18px;
    }
    .kyotech-works__more a {
        font-size: 12px;
        padding: 12px 28px;
        letter-spacing: 1.5px;
    }
}


/* ============================================================
   6. NEWS（お知らせ）
   ============================================================ */
.kyotech-news {
    padding: 90px 0;
}
.kyotech-news__layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左カラム */
.kyotech-news__left {
    flex-shrink: 0;
    width: 220px;
}
.kyotech-news__sub {
    font-size: 12px;
    color: var(--kt-cyan);
    letter-spacing: 3px;
    margin: 0 0 8px;
    font-weight: 500;
}
.kyotech-news__heading {
    font-size: 32px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}
.kyotech-news__divider {
    width: 40px;
    height: 2px;
    background: var(--kt-cyan);
    margin-bottom: 24px;
}
.kyotech-news__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--kt-dark);
    text-decoration: none;
    letter-spacing: 1.5px;
    font-weight: 500;
    padding: 11px 24px;
    border: 1px solid var(--kt-dark);
    transition: all 0.3s ease;
}
.kyotech-news__link svg {
    transition: transform 0.3s ease;
}
.kyotech-news__link:hover {
    background: var(--kt-dark);
    color: #fff;
    opacity: 1;
}
.kyotech-news__link:hover svg {
    transform: translateX(4px);
}

/* 右カラム */
.kyotech-news__right {
    flex: 1;
    min-width: 0;
}
.kyotech-news__item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: var(--kt-text);
    transition: background 0.2s ease;
}
.kyotech-news__item:first-child {
    border-top: 1px solid #f0f0f0;
}
.kyotech-news__item:hover {
    background: #fafbfc;
    color: var(--kt-text);
    opacity: 1;
}

/* 日付＋カテゴリ */
.kyotech-news__meta {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
}
.kyotech-news__date {
    font-family: var(--kt-font-num);
    font-size: 15px;
    color: var(--kt-text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.kyotech-news__cat {
    font-size: 11px;
    padding: 3px 10px;
    background: #f0f0f0;
    color: #666;
    letter-spacing: 1px;
    font-weight: 500;
    white-space: nowrap;
}

/* タイトル */
.kyotech-news__title {
    font-size: 15px;
    color: var(--kt-dark);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
    flex: 1;
    transition: color 0.2s ease;
}
.kyotech-news__item:hover .kyotech-news__title {
    color: var(--kt-cyan);
}

/* 空の表示 */
.kyotech-news__empty {
    text-align: center;
    color: var(--kt-text-light);
    font-size: 14px;
    padding: 40px 0;
}

/* タブレット・スマホ */
@media (max-width: 768px) {
    .kyotech-news {
        padding: 60px 0;
    }
    .kyotech-news__layout {
        flex-direction: column;
        gap: 24px;
    }
    .kyotech-news__left {
        width: 100%;
    }
    .kyotech-news__heading {
        font-size: 24px;
    }
    .kyotech-news__item {
        flex-direction: column;
        gap: 6px;
        padding: 14px 4px;
    }
    .kyotech-news__meta {
        min-width: 0;
    }
    .kyotech-news__title {
        font-size: 14px;
    }
}


/* ============================================================
   7. AREA（対応エリア）
   ============================================================ */
.kyotech-area {
    padding: 90px 0;
    background: var(--kt-gray-bg);
}
.kyotech-area .inner {
    max-width: 980px;
}

/* リード文 */
.kyotech-area__desc {
    font-size: 17px;
    color: #555;
    text-align: center;
    line-height: 1.9;
    margin-bottom: 32px;
}
.kyotech-area__desc strong {
    color: var(--kt-dark);
    font-weight: 700;
    font-size: 19px;
}

/* ボディ（2カラム：小地図 + リスト） */
.kyotech-area__body {
    display: flex;
    gap: 40px;
    background: #fff;
    border: 1px solid var(--kt-border);
    padding: 40px;
    align-items: center;
}

/* 小地図 */
.kyotech-area__map {
    flex-shrink: 0;
    width: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kyotech-area__map img {
    width: 100%;
    height: auto;
    max-width: 320px;
    display: block;
}
.kyotech-area__map-placeholder {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    background: rgba(44, 167, 225, 0.08);
    border: 1px dashed rgba(44, 167, 225, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kt-cyan);
    font-size: 14px;
}

/* リスト部分 */
.kyotech-area__lists {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* グループ（メイン・サブ共通） */
.kyotech-area__group {
    border-left: 3px solid var(--kt-cyan);
    padding-left: 18px;
}
.kyotech-area__group--sub {
    border-left-color: rgba(44, 167, 225, 0.3);
}
.kyotech-area__group-label {
    font-size: 12px;
    color: var(--kt-cyan);
    letter-spacing: 2px;
    font-weight: 500;
    margin: 0 0 6px;
}
.kyotech-area__group-label--sub {
    color: var(--kt-text-light);
}
.kyotech-area__group-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 10px;
    line-height: 1.4;
}
.kyotech-area__group-items {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin: 0;
}

/* タブレット・スマホ */
@media (max-width: 768px) {
    .kyotech-area {
        padding: 60px 0;
    }
    .kyotech-area__body {
        flex-direction: column;
        gap: 28px;
        padding: 28px 20px;
    }
    .kyotech-area__map {
        width: 100%;
    }
    .kyotech-area__map img {
        max-width: 280px;
        margin: 0 auto;
    }
    .kyotech-area__map-placeholder {
        max-width: 280px;
    }
    .kyotech-area__group-name {
        font-size: 16px;
    }
    .kyotech-area__group-items {
        font-size: 13px;
    }
}


/* ============================================================
   8. CTA（問い合わせ誘導）
   ============================================================ */
.kyotech-cta {
    background: var(--kt-navy);
    padding: 70px 0;
    text-align: center;
}
.kyotech-cta__title {
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}
.kyotech-cta__desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 32px;
    text-align: center;
}
.kyotech-cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: stretch;
}

/* 電話とメールで共通のベース */
.kyotech-cta__action {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 32px;
    border-radius: 0;
    text-decoration: none;
    transition: all 0.2s;
    min-width: 300px;
    box-sizing: border-box;
}
.kyotech-cta__action-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kyotech-cta__action-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
    text-align: left;
}
.kyotech-cta__action-label {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 4px;
}
.kyotech-cta__action-main {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.kyotech-cta__action-main--num {
    font-family: var(--kt-font-num);
    font-size: 28px;
}

/* 電話：白背景＋ダーク */
.kyotech-cta__action--tel {
    background: #fff;
    color: var(--kt-dark);
}
.kyotech-cta__action--tel:hover {
    color: var(--kt-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.kyotech-cta__action--tel .kyotech-cta__action-icon {
    color: var(--kt-cyan-dark);
}
.kyotech-cta__action--tel .kyotech-cta__action-label {
    color: var(--kt-text-light);
}

/* メール：シアン背景 */
.kyotech-cta__action--mail {
    background: var(--kt-cyan);
    color: #fff;
}
.kyotech-cta__action--mail:hover {
    background: var(--kt-cyan-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(44, 167, 225, 0.4);
}
.kyotech-cta__action--mail .kyotech-cta__action-icon {
    color: #fff;
}
.kyotech-cta__action--mail .kyotech-cta__action-label {
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
    .kyotech-cta__title {
        font-size: 24px;
    }
    .kyotech-cta__btns {
        width: 100%;
    }
    .kyotech-cta__action {
        min-width: 0;
        width: 100%;
        padding: 14px 24px;
        gap: 12px;
    }
    .kyotech-cta__action-main {
        font-size: 20px;
    }
    .kyotech-cta__action-main--num {
        font-size: 22px;
    }
    .kyotech-cta__action-label {
        font-size: 10px;
        letter-spacing: 1px;
    }
}


/* ============================================================
   9. WORKS DETAIL（施工事例 個別ページ）
   ============================================================ */
.kyotech-works-detail {
    padding: 60px 0 90px;
    background: #fff;
}
.kyotech-works-detail__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* パンくず */
.kyotech-works-detail__crumb {
    font-size: 12px;
    color: var(--kt-text-light);
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.kyotech-works-detail__crumb a {
    color: var(--kt-text-light);
    text-decoration: none;
    transition: color 0.2s;
}
.kyotech-works-detail__crumb a:hover {
    color: var(--kt-cyan);
}
.kyotech-works-detail__crumb-current {
    color: var(--kt-dark);
}

/* ページタイトル部 */
.kyotech-works-detail__header {
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--kt-dark);
    margin-bottom: 2rem;
}
.kyotech-works-detail__cat {
    display: inline-block;
    font-size: 10px;
    padding: 4px 12px;
    background: rgba(44, 167, 225, 0.1);
    color: var(--kt-cyan);
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 500;
}
.kyotech-works-detail__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0 0 10px;
    line-height: 1.4;
}
.kyotech-works-detail__date {
    font-size: 12px;
    color: var(--kt-text-light);
    font-family: var(--kt-font-num);
    letter-spacing: 1px;
}

/* 施工概要 */
.kyotech-works-detail__spec {
    background: var(--kt-gray-bg);
    padding: 24px 28px;
    margin-bottom: 3rem;
}
.kyotech-works-detail__spec-label {
    display: block;
    font-size: 11px;
    color: var(--kt-cyan);
    letter-spacing: 2px;
    margin-bottom: 14px;
    font-weight: 500;
}
.kyotech-works-detail__spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px 24px;
}
.kyotech-works-detail__spec-item {
    border-left: 2px solid var(--kt-cyan);
    padding-left: 14px;
}
.kyotech-works-detail__spec-item-label {
    font-size: 10px;
    color: var(--kt-text-light);
    letter-spacing: 1px;
    margin: 0 0 4px;
}
.kyotech-works-detail__spec-item-value {
    font-size: 15px;
    color: var(--kt-dark);
    font-weight: 500;
    margin: 0;
}

/* ステップセクション */
.kyotech-works-detail__step {
    margin-bottom: 3rem;
}
.kyotech-works-detail__step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.25rem;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.kyotech-works-detail__step-num {
    width: 44px;
    height: 44px;
    background: var(--kt-cyan);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-weight: 700;
    font-style: italic;
    font-size: 19px;
    flex-shrink: 0;
}
.kyotech-works-detail__step-label {
    font-size: 11px;
    color: var(--kt-cyan);
    letter-spacing: 2px;
    margin: 0 0 2px;
    font-weight: 500;
}
.kyotech-works-detail__step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--kt-dark);
    margin: 0;
    line-height: 1.3;
}

/* 写真（1枚・100%幅） */
.kyotech-works-detail__photo {
    width: 100%;
    height: 360px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #e8e8e8;
}
.kyotech-works-detail__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 写真2枚グリッド */
.kyotech-works-detail__photos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 16px;
}
.kyotech-works-detail__photo--grid {
    height: 260px;
    margin-bottom: 0;
}

/* コメント */
.kyotech-works-detail__comment {
    font-size: 15px;
    line-height: 1.95;
    color: #444;
    margin: 0;
}
.kyotech-works-detail__comment-sub {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    margin: 12px 0 0;
    padding-left: 14px;
    border-left: 2px solid #e5e5e5;
}

/* 前後ナビ */
.kyotech-works-detail__pagenav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    margin-top: 3rem;
}
.kyotech-works-detail__pagenav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--kt-gray-bg);
    text-decoration: none;
    color: var(--kt-dark);
    transition: background 0.3s, border-color 0.3s;
    border: 1px solid var(--kt-border);
}
.kyotech-works-detail__pagenav-item:hover {
    background: #f0f1f3;
    border-color: var(--kt-cyan);
    color: var(--kt-dark);
}
.kyotech-works-detail__pagenav-item--next {
    text-align: right;
}
.kyotech-works-detail__pagenav-item--list {
    text-align: center;
    background: var(--kt-dark);
    color: #fff;
    border-color: var(--kt-dark);
}
.kyotech-works-detail__pagenav-item--list:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}
.kyotech-works-detail__pagenav-label {
    font-size: 11px;
    color: var(--kt-text-light);
    letter-spacing: 2px;
    font-weight: 500;
}
.kyotech-works-detail__pagenav-item--list .kyotech-works-detail__pagenav-label {
    color: rgba(255, 255, 255, 0.7);
}
.kyotech-works-detail__pagenav-title {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* タブレット・スマホ */
@media (max-width: 768px) {
    .kyotech-works-detail {
        padding: 40px 0 60px;
    }
    .kyotech-works-detail__title {
        font-size: 22px;
    }
    .kyotech-works-detail__spec {
        padding: 20px 22px;
    }
    .kyotech-works-detail__spec-list {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .kyotech-works-detail__step-title {
        font-size: 19px;
    }
    .kyotech-works-detail__photo {
        height: 240px;
    }
    .kyotech-works-detail__photos-grid {
        grid-template-columns: 1fr;
    }
    .kyotech-works-detail__photo--grid {
        height: 220px;
    }
    .kyotech-works-detail__comment {
        font-size: 14px;
    }
    .kyotech-works-detail__pagenav {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .kyotech-works-detail__pagenav-item--next {
        text-align: left;
    }
}
