@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700;800&display=swap');

/* ==========================================================
   使い方
   トップページ   : <body class="page-home">
   お知らせページ : <body class="page-news">
   ========================================================== */


/* ==========================================================
   共通（両ページ）
   ========================================================== */
:root {
    --navy: #061a30;
    --navy2: #082744;
    --blue: #0877ee;
    --cyan: #2ab8ff;
    --ink: #102b4c;
    --muted: #5f7187;
    --pale: #f2f7fc;
    --white: #fff;
    --line: #dbe7f3;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.8;
}

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

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

button {
    font: inherit;
}



/* --- 共通ヘッダー（両ページ同じものを使う） --- */
.container {
    width: min(var(--max), calc(100% - 48px));
    margin: auto;
}

.header {
    --max: 1180px; /* お知らせページでもヘッダー幅をトップと揃える */
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(13, 67, 116, .12);
    backdrop-filter: blur(12px);
}

.header .nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

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

.header .brand-mark {
    color: var(--blue);
    font-weight: 900;
    font-size: 43px;
    line-height: 1;
    letter-spacing: -5px;
    font-style: italic;
}

.header .brand-mark img {
    height: 80px;
    width: auto;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.2;
}

.brand-en {
    display: block;
    font-size: 9px;
    letter-spacing: .28em;
    color: #71839a;
    margin-top: 3px;
}

.header .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.2vw, 30px);
    font-size: 13px;
    font-weight: 700;
}

.header .nav-links a {
    position: relative;
    padding: 10px 0;
}

.header .nav-links a:hover,
.header .nav-links a.active {
    color: var(--blue);
}

.header .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blue);
}

/* --- プルダウンメニュー（PC：ホバーで表示） --- */
.header .has-sub {
    position: relative;
}

/* 「サービス」見出し（押してもページ移動しない、プルダウンを開くだけ） */
.header .sub-toggle {
    padding: 10px 0;
    border: 0;
    background: none;
    color: inherit;
    font-weight: 700;
    cursor: default;
}

/* 今いるページのメニュー（例：会社概要ページの「会社概要」） */
.header .sub-toggle.active {
    position: relative;
    color: var(--blue);
}

.header .sub-toggle.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--blue);
}

.header .has-sub:hover .sub-toggle,
.header .has-sub:focus-within .sub-toggle {
    color: var(--blue);
}

.header .caret {
    display: inline-block;
    margin-left: 4px;
    font-size: 10px;
    transition: transform .2s;
}

.header .has-sub:hover .caret,
.header .has-sub:focus-within .caret {
    transform: rotate(180deg);
}

.header .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 30;
    min-width: 210px;
    padding-top: 14px;            /* 親メニューとの間のすき間（ここを通ってもメニューが消えない） */
    transform: translate(-50%, 6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
}

.header .has-sub:hover .sub-menu,
.header .has-sub:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.header .sub-menu-inner {
    background: #fff;
    border: 1px solid var(--line);
    border-top: 2px solid var(--blue);
    box-shadow: 0 14px 30px rgba(15, 55, 91, .14);
    padding: 8px 0;
}

.header .nav-links .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: var(--ink);
}

.header .nav-links .sub-menu a:hover {
    background: var(--pale);
    color: var(--blue);
}

.header .nav-links .sub-menu a::after {
    display: none;
}

/* お問い合わせボタン（nav-links 内でも形が崩れないよう a.nav-cta で指定） */
.header .nav-links a.nav-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 21px;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    font-weight: 700;
    font-size: 13px;
    transition: .2s;
    border: 1px solid transparent;
}

.header .nav-links a.nav-cta:hover {
    background: var(--blue);
    color: white;
    transform: translateY(-2px);
}

.header .menu-toggle {
    display: none;
    background: none;
    border: 0;
    color: var(--navy);
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .header .nav { min-height: 68px; }
    .header .nav-links a.nav-cta { display: none; }
    .header .nav-links { gap: 14px; font-size: 12px; }
}

@media (max-width: 640px) {
    .container { width: min(100% - 32px, var(--max)); }
    .header .menu-toggle { display: block; }
    .header .nav { flex-wrap: wrap; padding: 12px 0; }
    .header .brand-mark { font-size: 36px; }
    .header .brand-mark img { height: 56px; }
    .brand-name { font-size: 18px; }
    .header .nav-links { display: none; order: 3; width: 100%; padding: 8px 0 4px; flex-direction: column; align-items: stretch; gap: 0; }
    .header .nav-links.open { display: flex; }
    .header .nav-links a { padding: 10px 4px; border-top: 1px solid var(--line); }
    .header .nav-links a.active::after { display: none; }
    .header .sub-toggle.active::after { display: none; }
    /* スマホではプルダウンを開いた状態で一覧表示 */
    .header .has-sub { position: static; }
    .header .sub-toggle { display: block; width: 100%; padding: 10px 4px; border-top: 1px solid var(--line); text-align: left; color: var(--ink); }
    .header .caret { display: none; }
    .header .sub-menu { position: static; min-width: 0; padding: 0; transform: none; opacity: 1; visibility: visible; }
    .header .sub-menu-inner { border: 0; box-shadow: none; padding: 0 0 6px; }
    .header .nav-links .sub-menu a { padding: 7px 4px 7px 22px; border-top: 0; font-size: 12px; font-weight: 500; color: var(--muted); }
    .header .nav-links .sub-menu a::before { content: "– "; }
    .header .nav-links a.nav-cta { display: flex; margin-top: 10px; padding: 12px; border-top: 0; } /* スマホのメニュー内にはお問い合わせを表示 */
}

/* --- フッターのロゴ（両ページ） --- */
.footer .brand {
    display: flex;
    align-items: center;
}

.footer .brand-mark img {
    height: 80px;
    width: auto;
}

/* --- フッターのブランド名（両ページ） --- */
.footer .brand-name {
    color: #fff;
}


/* ==========================================================
   トップページ（.page-home）
   ========================================================== */
.page-home section {
    scroll-margin-top: 90px;
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 12px 21px;
    border-radius: 999px;
    background: var(--navy);
    color: white;
    font-weight: 700;
    font-size: 13px;
    transition: .2s;
    border: 1px solid transparent;
}

.btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

/* --- ヒーロー --- */
.page-home .hero {
    min-height: 390px;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: var(--navy);
}

.page-home .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--navy);
    background-image:
        linear-gradient(
            90deg,
            rgba(2, 17, 32, .96) 0%,
            rgba(3, 26, 48, .78) 40%,
            rgba(3, 26, 48, .12) 100%
        ),
        url("../img/top.jpg");
    background-size: cover;
    background-position: center;
}

.page-home .hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 25%;
    top: -25%;
    width: 1px;
    height: 160%;
    transform: rotate(35deg);
    background: rgba(57, 177, 255, .75);
    box-shadow: 0 0 24px #1687ff;
}

.page-home .hero-content {
    padding: 66px 0 72px;
    max-width: 610px;
}

.page-home .eyebrow {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
}

.page-home .hero .eyebrow {
    color: #65c7ff;
}

.page-home h1 {
    margin: 14px 0 18px;
    font-size: clamp(34px, 4.5vw, 54px);
    line-height: 1.35;
    letter-spacing: .04em;
}

.page-home .hero p {
    max-width: 500px;
    margin: 0 0 26px;
    font-size: 14px;
    color: #e0edf9;
}

.page-home .btn-primary {
    background: linear-gradient(120deg, #0877ee, #139efc);
    border-radius: 4px;
    padding: 13px 25px;
}

.page-home .hero-note {
    margin-top: 24px;
    color: #c0d7ee;
    font-size: 12px;
    letter-spacing: .12em;
}

/* --- サービス --- */
.page-home .services {
    background: var(--pale);
    padding: 54px 0 60px;
}

.page-home .section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 30px;
    margin-bottom: 25px;
}

.page-home .section-head h2,
.page-home .about h2,
.page-home .strengths h2,
.page-home .news h2 {
    margin: 2px 0 0;
    font-size: 29px;
    line-height: 1.4;
    letter-spacing: .04em;
}

.page-home .section-intro {
    max-width: 440px;
    margin: 0;
    font-size: 12px;
    color: var(--muted);
}

.page-home .short-line {
    width: 28px;
    height: 3px;
    background: var(--blue);
    margin-top: 12px;
}

.page-home .service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.page-home .service-card {
    background: #fff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 8px 25px rgba(15, 55, 91, .04);
    transition: .25s;
}

.page-home a.service-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.page-home a.service-card:hover .text-link span {
    display: inline-block;
    transform: translateX(4px);
}

.page-home .text-link span {
    transition: transform .2s;
}

.page-home .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 55, 91, .12);
}

.page-home .service-photo {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.page-home .photo-pc {
    background-image: url("../img/IMG_0697 (1).jpg");
}

.page-home .photo-repair {
    background-image: url("../img/S__90980369.jpg");
}

.page-home .photo-control {
    background-image: url("../img/FG281-ver2.5.jpg");
}

.page-home .photo-web {
    background-image: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=800&q=80");
}

.page-home .service-body {
    padding: 17px 17px 19px;
}

.page-home .service-title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 10px;
    font-size: 17px;
}

.page-home .service-icon {
    color: var(--blue);
    font-size: 21px;
    width: 25px;
}

.page-home .service-body p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
    margin: 0 0 13px;
}

.page-home .text-link {
    color: var(--blue);
    font-weight: 800;
    font-size: 12px;
}

.page-home .text-link span {
    margin-left: 5px;
}

/* --- 強み --- */
.page-home .strengths {
    color: #fff;
    background:
        linear-gradient(
            110deg,
            rgba(3, 24, 44, .96),
            rgba(4, 47, 81, .88)
        ),
        url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1800&q=80")
        center / cover;
    padding: 60px 0;
}

.page-home .strength-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.page-home .strengths h2 {
    font-size: 30px;
}

.page-home .strengths .copy {
    color: #d4e3f1;
    font-size: 13px;
    max-width: 390px;
}

.page-home .strength-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 23px 28px;
}

.page-home .strength-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.page-home .round-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border: 1px solid #138ce8;
    border-radius: 50%;
    color: #52baff;
    font-size: 23px;
}

.page-home .strength-item strong {
    display: block;
    font-size: 14px;
}

.page-home .strength-item small {
    color: #c0d4e7;
    font-size: 11px;
}

/* --- 会社紹介 --- */
.page-home .about {
    padding: 60px 0;
    background: #fff;
}

.page-home .about-panel {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    min-height: 245px;
    background: #f1f7fc;
    overflow: hidden;
}

.page-home .about-copy {
    padding: 32px;
}

.page-home .about-copy p {
    font-size: 13px;
    color: var(--muted);
}

.page-home .about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 245px;
}

.page-home .about-image {
    background-size: cover;
    background-position: center;
    min-height: 245px;
}

.page-home .about-image:first-child {
    background-image: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=800&q=80");
}

.page-home .about-image:last-child {
    background-image: url("https://images.unsplash.com/photo-1581092160562-40aa08e78837?auto=format&fit=crop&w=800&q=80");
}

/* --- お知らせ（トップ内） --- */
.page-home .news {
    padding: 60px 45px;
}

.page-home .news-layout {
    display: grid;
    grid-template-columns: .7fr 1.3fr;
    gap: 45px;
    padding: 30px;
}

.page-home .news-list {
    border-top: 1px solid var(--line);
}

.page-home .news-row {
    display: grid;
    grid-template-columns: 90px 100px 1fr;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.page-home a.news-row {
    transition: background .2s;
}

.page-home a.news-row:hover {
    background: var(--pale);
}

.page-home a.news-row:hover span:last-child {
    color: var(--blue);
}

.page-home .tag {
    white-space: nowrap;
}

.page-home .news-row time {
    color: var(--muted);
}

/* 新着情報の「もっと見る」（一覧の右下） */
.page-home .news-more {
    grid-column: 2;
    justify-self: end;
    margin-top: -30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    transition: .2s;
}

.page-home .news-more:hover {
    background: var(--blue);
    color: #fff;
}

.page-home .news-more span {
    transition: transform .2s;
}

.page-home .news-more:hover span {
    transform: translateX(3px);
}

.page-home .tag {
    color: var(--blue);
    background: #e5f3ff;
    padding: 2px 7px;
    text-align: center;
    font-size: 10px;
}

/* --- お問い合わせ帯 --- */
.contact-band {
    margin: 10px 0 0;
    padding: 26px;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(
            90deg,
            rgba(4, 28, 50, .9),
            rgba(4, 48, 84, .8)
        ),
        url("../img/hp-contact-bg.png") center / cover;
}

.contact-band h2 {
    margin: 0 0 8px;
    font-size: 21px;
}

.contact-band p {
    margin: 0 0 15px;
    color: #dceafa;
    font-size: 13px;
}

.btn-outline {
    border: 1px solid #8bcfff;
    background: transparent;
}

/* --- フッター --- */
.footer {
    background: #04172a;
    color: #d7e6f5;
    padding: 28px 0 18px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 11px;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11px;
    color: #a8c1d8;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: 22px;
    padding-top: 14px;
    font-size: 10px;
    color: #94aec6;
}

/* --- レスポンシブ（トップ） --- */
@media (max-width: 900px) {
    .page-home .service-grid { grid-template-columns: repeat(2, 1fr); }
    .page-home .strength-layout { gap: 30px; }
    .page-home .about-panel { grid-template-columns: 1fr; }
    .page-home .about-visual,
    .page-home .about-image { min-height: 180px; }
}

@media (max-width: 640px) {
    .page-home .hero { min-height: 470px; align-items: end; background-position: 62% center; }
    .page-home .hero::before { background-image: linear-gradient(0deg, rgba(2,17,32,.98) 0%, rgba(3,26,48,.8) 54%, rgba(3,26,48,.18) 100%), url("../img/top.jpg"); background-position: 60% center; }
    .page-home .hero::after { display: none; }
    .page-home .hero-content { padding: 55px 0 40px; }
    .page-home h1 { font-size: 35px; }
    .page-home .section-head { display: block; }
    .page-home .section-intro { margin-top: 18px; }
    .page-home .service-grid { grid-template-columns: 1fr; }
    .page-home .service-photo { height: 190px; }
    .page-home .strength-layout,
    .page-home .news-layout { grid-template-columns: 1fr; gap: 25px; }
    .page-home .strength-grid { gap: 20px 12px; }
    .page-home .strength-item { align-items: flex-start; gap: 10px; }
    .page-home .round-icon { width: 42px; height: 42px; font-size: 19px; }
    .page-home .about-copy { padding: 25px; }
    .page-home .news-row { grid-template-columns: 78px 86px 1fr; gap: 7px; font-size: 11px; }
    .page-home .news-more { grid-column: 1; margin-top: -10px; }
    .page-home .news { padding: 50px 0; }
    .page-home .news-layout { padding: 0 0 20px; }
    .footer-main { align-items: flex-start; flex-direction: column; }
    .footer-links { gap: 12px; }
}


/* ==========================================================
   お知らせページ（.page-news）
   ========================================================== */

/* このページだけ元の色・横幅を使う */
.page-news {
    --ink: #142d49;
    --muted: #718196;
    --line: #e1eaf3;
    --max: 1160px;
}

/* --- ヒーロー --- */
.page-news .hero { color: white; background: radial-gradient(ellipse at 82% 10%, #124d7c 0, transparent 38%), linear-gradient(110deg, #04172b, #082b4d 70%, #064477); }
.page-news .wrap { width: min(var(--max), calc(100% - 48px)); margin: auto; padding: 50px 0 35px; }
.page-news .eyebrow { font-size: 10px; letter-spacing: .23em; font-weight: 800; color: #1685ed; }
.page-news .hero .eyebrow { color: #6bcaff; }
.page-news .hero h1 { font-size: 40px; letter-spacing: .08em; margin: 5px 0; }
.page-news .hero p { font-size: 13px; color: #d6e5f3; margin: 0; }
.page-news .crumb { display: flex; gap: 12px; font-size: 11px; color: #b8cde0; margin-top: 25px; }

/* --- メイン・サイドバー --- */
.page-news .main-area { background: #f4f8fc; padding: 55px 0 85px; }
.page-news .layout { width: min(var(--max), calc(100% - 48px)); margin: auto; display: grid; grid-template-columns: 235px minmax(0, 1fr); gap: 38px; align-items: start; }
.page-news .sidebar { position: sticky; top: 100px; }
.page-news .side-box { background: white; border: 1px solid var(--line); padding: 22px 20px; }
.page-news .side-box h2 { font-size: 12px; letter-spacing: .16em; color: var(--navy); margin: 0 0 14px; }
.page-news .side-box h2 small { display: block; font-size: 10px; letter-spacing: 0; color: #91a0b1; font-weight: 400; }
.page-news .category { width: 100%; display: flex; justify-content: space-between; padding: 12px 3px; border: 0; border-top: 1px solid #edf1f5; background: white; color: #52677e; text-align: left; font-size: 13px; cursor: pointer; }
.page-news .category:hover,
.page-news .category.active { color: var(--blue); font-weight: 700; }
.page-news .category i { font-style: normal; color: var(--blue); }
.page-news .archive { margin-top: 16px; }
.page-news .year { border-top: 1px solid #edf1f5; }
.page-news .year-toggle { width: 100%; display: flex; justify-content: space-between; padding: 11px 2px; border: 0; background: white; color: #405873; font-size: 13px; font-weight: 700; cursor: pointer; }
.page-news .year-toggle i { font-style: normal; color: var(--blue); }
.page-news .months { padding: 0 0 8px 12px; }
.page-news .months button { display: block; width: 100%; padding: 5px 0; border: 0; background: white; color: #718196; text-align: left; font-size: 12px; cursor: pointer; }
.page-news .months button:hover,
.page-news .months button.selected { color: var(--blue); }
.page-news .months span { color: #9aa8b7; }
.page-news .side-note { margin-top: 16px; padding: 18px; color: #dceafa; background: linear-gradient(145deg, #061a30, #0a3b65); }
.page-news .side-note b { font-size: 9px; letter-spacing: .18em; color: #6bcaff; }
.page-news .side-note p { font-size: 11px; margin: 8px 0 0; }

/* --- 記事一覧 --- */
.page-news .list-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 20px; }
.page-news .list-head h2 { font-size: 25px; color: var(--navy); margin: 3px 0 0; }
.page-news .list-head > span { font-size: 10px; letter-spacing: .13em; color: #8b9bad; }
.page-news .article { background: white; border: 1px solid var(--line); margin-bottom: 17px; box-shadow: 0 5px 18px #0f375b09; transition: .2s; }
.page-news .article:hover { transform: translateY(-3px); box-shadow: 0 12px 28px #0f375b18; }
.page-news .article > a { display: grid; grid-template-columns: 230px 1fr; min-height: 174px; }
.page-news .photo { position: relative; display: flex; align-items: end; padding: 15px; background-position: center; background-size: cover; overflow: hidden; }
.page-news .photo:before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #021222a8, transparent 65%); }
.page-news .photo span { position: relative; color: white; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.page-news .photo-news { background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=900&q=85'); }
.page-news .photo-pc { background-image: url('https://images.unsplash.com/photo-1496181133206-80ce9b88a853?auto=format&fit=crop&w=900&q=85'); }
.page-news .photo-control { background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=900&q=85'); }
.page-news .photo-repair { background-image: url('https://images.unsplash.com/photo-1581092921461-eab62e97a780?auto=format&fit=crop&w=900&q=85'); }
.page-news .article-body { padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; }
.page-news .meta { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; }
.page-news .meta time { font-size: 11px; color: #8b9bad; }
.page-news .meta label { font-size: 10px; color: var(--blue); background: #eaf4ff; padding: 3px 10px; }
.page-news .article h3 { font-size: 16px; line-height: 1.6; margin: 0 0 7px; color: var(--ink); }
.page-news .article p { font-size: 12px; line-height: 1.85; color: var(--muted); margin: 0; }
.page-news .more { font-size: 11px; color: var(--blue); margin-top: 10px; }
.page-news .empty { padding: 40px; background: white; text-align: center; color: var(--muted); font-size: 13px; }
.page-news .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.page-news .pagination button { min-width: 36px; height: 36px; padding: 0 10px; cursor: pointer; border: 1px solid #dce6f0; background: white; color: #52677e; font-size: 12px; }
.page-news .pagination .selected { background: var(--blue); border-color: var(--blue); color: white; }
.page-news .pagination button:disabled { opacity: .45; }

/* --- フッター --- */

/* --- レスポンシブ（お知らせ） --- */
@media (max-width: 900px) {
    .page-news .layout { grid-template-columns: 205px 1fr; gap: 24px; }
    .page-news .article > a { grid-template-columns: 185px 1fr; }
}

@media (max-width: 640px) {
    .page-news .wrap,
    .page-news .layout { width: calc(100% - 32px); }
    .page-news .wrap { padding: 38px 0 27px; }
    .page-news .hero h1 { font-size: 32px; }
    .page-news .main-area { padding: 34px 0 55px; }
    .page-news .layout { grid-template-columns: 1fr; gap: 26px; }
    .page-news .sidebar { position: static; }
    .page-news .side-box { padding: 17px; }
    .page-news .side-note { display: none; }
    .page-news .list-head h2 { font-size: 22px; }
    .page-news .article > a { grid-template-columns: 1fr; }
    .page-news .photo { min-height: 165px; }
    .page-news .article-body { padding: 16px 18px 19px; }
    .page-news .article h3 { font-size: 15px; }
        }


/* ==========================================================
   サービス詳細ページ（.page-service）
   ========================================================== */
.page-service section {
    scroll-margin-top: 90px;
}

/* ヘッダーで今いるサービスを強調 */
.header .nav-links .sub-menu a.current {
    color: var(--blue);
    background: var(--pale);
}

/* --- ページ見出し --- */
.page-service .page-hero {
    color: #fff;
    background:
        linear-gradient(110deg, rgba(4, 23, 43, .95), rgba(8, 43, 77, .85) 60%, rgba(6, 68, 119, .55)),
        var(--hero-img, none) center / cover,
        var(--navy);
}

/* ページごとの写真（見出しの背景・導入の写真） */
.page-service.svc-repair  { --hero-img: url("../img/S__90980369.jpg"); }
.page-service.svc-control { --hero-img: url("../img/FG281-ver2.5.jpg"); }
.page-service.svc-sales   { --hero-img: url("../img/IMG_0697 (1).jpg"); }
.page-service.svc-web     { --hero-img: url("https://images.unsplash.com/photo-1461749280684-dccba630e2f6?auto=format&fit=crop&w=1600&q=80"); }
.page-service.svc-about   { --hero-img: url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80"); }

.page-service .page-hero-inner {
    padding: 56px 0 40px;
}

.page-service .eyebrow {
    text-transform: uppercase;
    letter-spacing: .22em;
    font-size: 11px;
    font-weight: 800;
    color: var(--blue);
}

.page-service .page-hero .eyebrow {
    color: #6bcaff;
}

.page-service .page-hero h1 {
    margin: 6px 0 10px;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.4;
    letter-spacing: .06em;
}

.page-service .page-hero p {
    max-width: 560px;
    margin: 0;
    font-size: 14px;
    color: #d6e5f3;
}

.page-service .crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    font-size: 11px;
    color: #b8cde0;
}

.page-service .crumb a:hover {
    color: #fff;
}

/* --- セクション共通 --- */
.page-service .block {
    padding: 64px 0;
}

.page-service .block.pale {
    background: var(--pale);
}

.page-service .block-head {
    margin-bottom: 28px;
}

.page-service .block-head h2 {
    margin: 2px 0 0;
    font-size: 27px;
    line-height: 1.4;
    letter-spacing: .04em;
}

.page-service .block-head p {
    margin: 14px 0 0;
    max-width: 640px;
    font-size: 13px;
    color: var(--muted);
}

.page-service .short-line {
    width: 28px;
    height: 3px;
    background: var(--blue);
    margin-top: 12px;
}

/* --- 導入（文章＋写真） --- */
.page-service .intro {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
}

.page-service .intro p {
    font-size: 14px;
    color: var(--muted);
}

.page-service .intro-photo {
    min-height: 300px;
    background: var(--hero-img, none) center / cover, #dfe8f1;
    box-shadow: 0 18px 40px rgba(15, 55, 91, .15);
}

/* --- お困りごと --- */
.page-service .trouble-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.page-service .trouble {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #e0eaf4;
    box-shadow: 0 8px 25px rgba(15, 55, 91, .04);
}

.page-service .trouble-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e5f3ff;
    color: var(--blue);
    font-size: 17px;
}

.page-service .trouble strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
}

.page-service .trouble small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.7;
    color: var(--muted);
}

/* --- 対応内容 --- */
.page-service .menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.page-service .menu-card {
    padding: 24px 22px;
    border: 1px solid var(--line);
    border-top: 3px solid var(--blue);
    background: #fff;
    transition: .25s;
}

.page-service .menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 55, 91, .1);
}

.page-service .menu-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-size: 16px;
}

.page-service .menu-card h3 span {
    color: var(--blue);
    font-size: 19px;
}

.page-service .menu-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
    color: var(--muted);
}

.page-service .note {
    margin: 22px 0 0;
    padding: 16px 20px;
    border-left: 3px solid var(--blue);
    background: var(--pale);
    font-size: 12px;
    color: var(--muted);
}

/* --- ご依頼の流れ --- */
.page-service .flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.page-service .flow li {
    position: relative;
    padding: 26px 20px 22px;
    background: #fff;
    border: 1px solid #e0eaf4;
    counter-increment: step;
}

.page-service .flow li::before {
    content: "STEP " counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--blue);
}

.page-service .flow li:not(:last-child)::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: -14px;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
}

.page-service .flow strong {
    display: block;
    font-size: 15px;
    margin-bottom: 6px;
}

.page-service .flow p {
    margin: 0;
    font-size: 12px;
    line-height: 1.85;
    color: var(--muted);
}

/* --- よくある質問 --- */
.page-service .faq {
    max-width: 860px;
    border-top: 1px solid var(--line);
}

.page-service .faq details {
    border-bottom: 1px solid var(--line);
}

.page-service .faq summary {
    position: relative;
    padding: 18px 40px 18px 34px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.page-service .faq summary::-webkit-details-marker {
    display: none;
}

.page-service .faq summary::before {
    content: "Q";
    position: absolute;
    left: 4px;
    color: var(--blue);
    font-weight: 800;
}

.page-service .faq summary::after {
    content: "+";
    position: absolute;
    right: 8px;
    color: var(--blue);
    font-size: 18px;
    line-height: 1.4;
}

.page-service .faq details[open] summary::after {
    content: "−";
}

.page-service .faq details p {
    position: relative;
    margin: 0;
    padding: 0 20px 20px 34px;
    font-size: 13px;
    color: var(--muted);
}

.page-service .faq details p::before {
    content: "A";
    position: absolute;
    left: 4px;
    color: #9aa8b7;
    font-weight: 800;
}

/* --- 対応できる機器・技術（タグ） --- */
.page-service .tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page-service .tech-list li {
    padding: 8px 16px;
    border: 1px solid #cfe2f5;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

/* --- 購入方法（PC販売） --- */
.page-service .shop-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.page-service .shop-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    transition: .25s;
}

.page-service .shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(15, 55, 91, .1);
}

.page-service .shop-card strong {
    font-size: 17px;
}

.page-service .shop-card small {
    font-size: 12px;
    color: var(--muted);
}

.page-service .shop-card .text-link {
    margin-top: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

/* --- お問い合わせ帯（サービスページ） --- */
.page-service .contact-wrap {
    padding: 0 0 64px;
}

.page-service .contact-band {
    padding: 40px 26px;
}

/* --- レスポンシブ（サービス） --- */
@media (max-width: 900px) {
    .page-service .trouble-grid { grid-template-columns: repeat(2, 1fr); }
    .page-service .menu-grid { grid-template-columns: repeat(2, 1fr); }
    .page-service .flow { grid-template-columns: repeat(2, 1fr); }
    .page-service .flow li:nth-child(2)::after { display: none; }
    .page-service .intro { gap: 30px; }
}

@media (max-width: 640px) {
    .page-service .page-hero-inner { padding: 42px 0 30px; }
    .page-service .block { padding: 48px 0; }
    .page-service .block-head h2 { font-size: 23px; }
    .page-service .intro { grid-template-columns: 1fr; }
    .page-service .intro-photo { min-height: 210px; }
    .page-service .trouble-grid,
    .page-service .menu-grid,
    .page-service .flow { grid-template-columns: 1fr; }
    .page-service .flow li::after { display: none; }
    .page-service .shop-grid { grid-template-columns: 1fr; }
    .page-service .contact-wrap { padding-bottom: 48px; }
}


/* ==========================================================
   記事ページ（.page-article） ※ articles/ フォルダの記事
   ========================================================== */
.page-article {
    background: #f4f8fc;
}

.page-article .article-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 22px 0 0;
    font-size: 11px;
    color: #8b9bad;
}

.page-article .article-crumb a:hover {
    color: var(--blue);
}

.page-article .post-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);   /* 新着情報ページと同じく、サイドメニューを左に */
    gap: 38px;
    align-items: start;
    max-width: 1100px;
    margin: 18px auto 40px;
}

.page-article .post {
    margin: 0;
    padding: 46px 56px 40px;
    background: #fff;
    border: 1px solid var(--line);
}

.page-article .post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-article .post-meta time {
    font-size: 12px;
    color: #8b9bad;
}

.page-article .post-cat {
    padding: 3px 10px;
    font-size: 11px;
    color: var(--blue);
    background: #eaf4ff;
}

.page-article .post-head h1 {
    margin: 12px 0 0;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
    font-size: clamp(22px, 3vw, 28px);
    line-height: 1.55;
    letter-spacing: .03em;
}

.page-article .post-photo {
    margin: 28px 0 0;
}

.page-article .post-photo img {
    width: 100%;
    height: auto;
    background: #dfe8f1;
}

.page-article .post-body {
    margin-top: 28px;
    font-size: 15px;
    line-height: 2;
}

.page-article .post-body h2 {
    margin: 40px 0 14px;
    padding: 6px 0 6px 14px;
    border-left: 4px solid var(--blue);
    font-size: 20px;
    line-height: 1.5;
}

.page-article .post-body h3 {
    margin: 28px 0 10px;
    font-size: 17px;
}

.page-article .post-body p {
    margin: 0 0 18px;
}

.page-article .post-body ul,
.page-article .post-body ol {
    margin: 0 0 18px;
    padding: 16px 20px 16px 38px;
    background: var(--pale);
}

.page-article .post-body img {
    margin: 10px 0 20px;
    height: auto;
}

.page-article .post-body a {
    color: var(--blue);
    text-decoration: underline;
}

.page-article .post-point {
    margin: 32px 0 0;
    padding: 20px 24px;
    border: 1px solid #cfe2f5;
    background: #f6fbff;
}

.page-article .post-point strong {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 14px;
}

.page-article .post-point p {
    margin: 0;
    font-size: 14px;
}

.page-article .post-foot {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.page-article .post-back {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.page-article .post-contact {
    max-width: 1100px;
    padding-bottom: 60px;
}

.page-article .post-contact .contact-band {
    padding: 36px 26px;
}

@media (max-width: 640px) {
    .page-article .post-layout { grid-template-columns: 1fr; gap: 24px; margin: 14px auto 30px; }
    .page-article .post { padding: 28px 20px 26px; }
    .page-article .post-body { font-size: 14px; }
    .page-article .post-body h2 { font-size: 18px; margin-top: 32px; }
    .page-article .post-contact { padding-bottom: 44px; }
}


/* ==========================================================
   会社概要ページ（about.html）
   ========================================================== */
.page-service .signature {
    margin-top: 22px;
    text-align: right;
    font-weight: 700;
    color: var(--ink);
}

/* --- 会社概要の表 --- */
.page-service .profile-table {
    max-width: 900px;
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
}

.page-service .profile-table > div {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-top: 1px solid var(--line);
}

.page-service .profile-table > div:first-child {
    border-top: 0;
}

.page-service .profile-table dt {
    padding: 18px 22px;
    background: #f7fafd;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}

.page-service .profile-table dd {
    margin: 0;
    padding: 18px 24px;
    font-size: 14px;
}

.page-service .profile-table ul {
    margin: 0;
    padding-left: 1.2em;
}

.page-service .profile-table a {
    color: var(--blue);
}

/* --- 事業内容（4つのカード） --- */
.page-service .biz-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.page-service .biz-grid .menu-card {
    display: flex;
    flex-direction: column;
}

.page-service .biz-grid .menu-card p {
    flex: 1;
}

.page-service .biz-more {
    margin-top: 14px;
    font-size: 12px;
    color: var(--blue);
}

/* --- 予定表の枠 --- */
.page-service .cal-box {
    padding: 26px 28px 22px;
    background: #fff;
    border: 1px solid var(--line);
}

.page-service .cal-note {
    margin: 12px 0 0;
    font-size: 12px;
    color: var(--muted);
}

/* --- Googleカレンダーの埋め込み --- */
.page-service .gcal-wrap iframe {
    display: block;
    width: 100%;
    height: 620px;
    border: 0;
}

.page-service .gcal-empty {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 30px;
    background: var(--pale);
    text-align: center;
    font-size: 14px;
    line-height: 2;
    color: var(--muted);
}

@media (max-width: 900px) {
    .page-service .biz-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .page-service .profile-table > div { grid-template-columns: 1fr; }
    .page-service .profile-table dt { padding: 12px 16px; }
    .page-service .profile-table dd { padding: 12px 16px 16px; }
    .page-service .biz-grid { grid-template-columns: 1fr; }
    .page-service .cal-box { padding: 18px 14px; }
    .page-service .gcal-wrap iframe { height: 520px; }
}


/* --- 記事ページのサイドメニュー --- */
.page-article .post-side {
    order: -1;                 /* PCでは記事より左に表示 */
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.page-article .side-box {
    padding: 20px 18px;
    background: #fff;
    border: 1px solid var(--line);
}

.page-article .side-box h2 {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: .16em;
    color: var(--navy);
}

.page-article .side-box h2 small {
    display: block;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0;
    color: #91a0b1;
}

.page-article .side-link {
    display: flex;
    justify-content: space-between;
    padding: 10px 2px;
    border-top: 1px solid #edf1f5;
    font-size: 13px;
    color: #52677e;
}

.page-article .side-link:hover {
    color: var(--blue);
}

.page-article .side-count {
    color: #9aa8b7;
    font-size: 12px;
}

.page-article .side-post {
    display: block;
    padding: 10px 2px;
    border-top: 1px solid #edf1f5;
    font-size: 13px;
    line-height: 1.6;
    color: #405873;
}

.page-article .side-post time {
    display: block;
    font-size: 11px;
    color: #9aa8b7;
}

.page-article .side-post:hover,
.page-article .side-post.is-current {
    color: var(--blue);
}

.page-article .side-post.is-current {
    font-weight: 700;
}

@media (max-width: 900px) {
    .page-article .post-layout { grid-template-columns: 1fr; }
    .page-article .post-side { position: static; order: 0; }   /* スマホでは記事の下 */
}

/* --- フッターのサイトマップ（全ページ） --- */
.footer-main { align-items: flex-start; }
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 18px 56px;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col-title {
    margin: 0 0 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.footer-col a {
    font-size: 12px;
    color: #a8c1d8;
    text-decoration: none;
    transition: color .2s;
}
.footer-col a:hover { color: #fff; }
.footer-col .footer-col-title a { font-size: 13px; color: #fff; }
.footer-col .footer-col-title a:hover { color: #7fb8ff; }

@media (max-width: 900px) {
    .footer-main { flex-direction: column; gap: 26px; }
    .footer-nav { grid-template-columns: repeat(2, 1fr); gap: 26px 24px; width: 100%; }
}