@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@700&display=swap");

/* =========================================================
   HSK Co., Ltd. - Top Page Stylesheet
   Design: Dark navy / charcoal base, generous whitespace,
           English labels + Japanese headings (INFINITO inspired)
========================================================= */

/* ---------- Reset & Tokens ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  color: var(--c-text);
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.02em;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .25s ease, color .25s ease; }
a:hover { opacity: .7; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd { margin: 0; }

:root {
  --c-ink:        #0A0E1A;
  --c-navy:       #11192A;
  --c-navy-2:     #1A2434;
  --c-charcoal:   #2A2D33;
  --c-text:       #2A2D33;
  --c-text-sub:   #5B6270;
  --c-line:       #E5E7EC;
  --c-light:      #F6F6F8;
  --c-light-2:    #FAFAFB;
  --c-accent:       #4A6FA5;   /* trust blue */
  --c-accent-soft:  #7B92B5;   /* soft slate */
  --c-accent-deep:  #1F2D45;   /* deep navy */
  --c-accent-2:     #5B7FB3;   /* mid blue */
  --c-grad:         linear-gradient(135deg, #1F2D45 0%, #4A6FA5 60%, #7B92B5 100%);
  --c-grad-soft:    linear-gradient(135deg, #4A6FA5 0%, #7B92B5 100%);
  --c-grad-deep:    linear-gradient(135deg, #0F1A2D 0%, #1F2D45 50%, #2F4A6E 100%);
  --c-white:      #FFFFFF;

  --font-en: "Plus Jakarta Sans", "Helvetica Neue", Arial, sans-serif;

  --max:    1200px;
  --gutter: clamp(20px, 5vw, 48px);

  --pad-y:  clamp(80px, 10vw, 140px);
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.en-label {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--c-accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
}
.en-label-dark { color: var(--c-accent); }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  transition: background .3s ease, padding .3s ease;
}
.site-header.is-scrolled { background: rgba(10, 14, 26, 0.98); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.logo-mark {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
}
.logo-text { font-size: 13px; font-weight: 500; color: #fff; letter-spacing: 0.08em; }

.gnav { display: flex; align-items: center; gap: 32px; }
.gnav-list {
  display: flex;
  gap: 24px;
  align-items: center;
}
.gnav-list a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  position: relative;
  padding: 8px 0;
}
.gnav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width .3s ease;
}
.gnav-list a:hover { opacity: 1; color: var(--c-accent); }
.gnav-list a:hover::after { width: 100%; }
.gnav-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px;
}
.gnav-tel .en-label {
  margin: 0;
  font-size: 9px;
  color: var(--c-accent);
}
.gnav-tel .tel-num {
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.gnav-tel:hover { opacity: 1; background: rgba(255,255,255,0.05); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: none;
  padding: 0;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}
.hamburger span:nth-child(1) { top: 16px; }
.hamburger span:nth-child(2) { top: 22px; }
.hamburger span:nth-child(3) { top: 28px; }
.hamburger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .gnav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: var(--c-ink);
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 32px;
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 99;
    overflow-y: auto;
    gap: 0;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .gnav-list li { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .gnav-list a { display: block; padding: 18px 0; font-size: 15px; }
  .gnav-cta { width: 100%; margin-top: 24px; }
  .gnav-tel { width: 100%; align-items: center; padding: 16px; }
  .hamburger { display: block; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  min-width: 200px;
  text-align: center;
}
.btn:hover { opacity: 1; transform: translateY(-2px); }
.btn-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: .7;
}
.btn-primary { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-primary:hover { background: var(--c-navy-2); border-color: var(--c-navy-2); }
.btn-outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.btn-outline:hover { background: var(--c-ink); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { background: #fff; color: var(--c-ink); border-color: #fff; }
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.5); }
.btn-dark { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-dark:hover { background: var(--c-navy-2); }
.btn-blue {
  background: var(--c-grad);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px -8px rgba(74,111,165,0.55);
}
.btn-blue:hover {
  background: var(--c-grad-soft);
  box-shadow: 0 12px 28px -8px rgba(74,111,165,0.7);
}
.btn-text {
  background: transparent;
  color: var(--c-ink);
  border: none;
  padding: 12px 0;
  min-width: 0;
  border-bottom: 1px solid var(--c-ink);
  border-radius: 0;
}
.btn-text:hover { transform: none; opacity: .6; }
.btn-large { min-width: 260px; padding: 22px 40px; font-size: 15px; }

/* ---------- Section base ---------- */
.section {
  padding: var(--pad-y) 0;
  position: relative;
}
.section-light { background: var(--c-light); }
.section-dark { background: var(--c-ink); color: #fff; }
.section-head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 72px;
}
.section-head-left { text-align: left; max-width: none; }
.section-title {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 28px;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: break-word;
}
.hero-copy {
  word-break: keep-all;
  line-break: strict;
}
.section-title-dark { color: #fff; }
.section-lead {
  color: var(--c-text-sub);
  font-size: 15px;
  line-height: 2;
  margin-top: 0;
}
.section-lead-dark { color: rgba(255,255,255,0.75); }
.section-lead + .section-lead { margin-top: 20px; }
.section-cta {
  text-align: center;
  margin-top: 72px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    /* photo */
    url("../img/hero-bg.jpg") center/cover no-repeat,
    /* fallback gradient (shown if photo missing) */
    linear-gradient(135deg, #0A1224 0%, #142038 45%, #1F2D45 100%);
  z-index: 0;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 28%, rgba(91,127,179,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 72%, rgba(31,45,69,0.35) 0%, transparent 55%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* placeholder pattern that suggests a "site/control room" feel */
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: .6;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,14,26,0.78) 0%, rgba(10,14,26,0.55) 45%, rgba(10,14,26,0.35) 100%),
    linear-gradient(180deg, rgba(10,14,26,0.35) 0%, rgba(10,14,26,0.55) 100%);
  z-index: 1;
}
@media (max-width: 768px) {
  .hero-bg { background-position: 65% center; }
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(10,14,26,0.82) 0%, rgba(10,14,26,0.72) 50%, rgba(10,14,26,0.88) 100%);
  }
}
.hero-inner {
  position: relative;
  z-index: 2;
}
.hero-en { color: var(--c-accent); margin-bottom: 32px; }
.hero-copy {
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
}
.hero-sub {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2;
  color: rgba(255,255,255,0.8);
  margin-bottom: 56px;
  max-width: 680px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero-ctas .btn-primary {
  background: var(--c-grad);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 14px 30px -10px rgba(74,111,165,0.55);
}
.hero-ctas .btn-primary:hover {
  background: var(--c-grad-soft);
  box-shadow: 0 18px 36px -10px rgba(74,111,165,0.7);
}
.hero-ctas .btn-outline { color: #fff; border-color: rgba(255,255,255,0.6); }
.hero-ctas .btn-outline:hover { background: #fff; color: var(--c-ink); }
.hero-scroll {
  position: absolute;
  left: var(--gutter); bottom: 32px;
  z-index: 3;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px; height: 60px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), transparent);
  margin-left: 16px;
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.3); opacity: .3; }
  50% { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 768px) {
  .hero { padding: 100px 0 120px; }
  .hero-copy { font-size: clamp(28px, 9vw, 44px); }
  .hero-ctas .btn { width: 100%; min-width: 0; }
  .hero-scroll { display: none; }
}

/* ---------- CONCERNS ---------- */
.concern-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 16px;
  border-top: 1px solid var(--c-line);
}
.concern-list li {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  color: var(--c-charcoal);
}
.concern-list li:nth-child(odd) { border-right: 1px solid var(--c-line); padding-right: 32px; }
.concern-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .concern-list { grid-template-columns: 1fr; }
  .concern-list li { padding: 22px 4px; }
  .concern-list li:nth-child(odd) { border-right: none; padding-right: 4px; }
}

/* ---------- WHY HSK ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 16px;
}
.why-card {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 40px;
}
.why-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  margin-bottom: 24px;
}
.why-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.why-text {
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- SERVICE ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.service-card {
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10,14,26,0.08); }
.service-img {
  aspect-ratio: 4 / 3;
  background: var(--c-navy) center/cover no-repeat;
  position: relative;
  overflow: hidden;
  display: block;
}
.service-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,18,36,0.10) 0%, rgba(10,18,36,0.38) 100%);
}
.service-img[data-img="machine"]  { background-image: url("../img/service-machine.jpg");  background-position: 60% 40%; }
.service-img[data-img="facility"] { background-image: url("../img/service-facility.jpg"); background-position: center 30%; }
.service-img[data-img="traffic"]  { background-image: url("../img/service-traffic.jpg");  background-position: center 55%; }
.service-img[data-img="fire"]     { background-image: url("../img/service-fire.jpg");     background-position: center 32%; }
.service-img[data-img="camera"]   { background-image: url("../img/service-camera.jpg");   background-position: center 45%; }

/* ホームセキュリティ */
.service-img[data-img="home"] {
  background-image: url("../img/client-personal.jpg");
  background-position: center 45%;
}

.service-img[data-img="env"]      { background-image: url("../img/service-env.jpg");      background-position: center 60%; }
.service-card > .service-num,
.service-card > .service-title,
.service-card > .service-text {
  padding-left: 28px;
  padding-right: 28px;
}
.service-card .service-num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  margin-top: 28px;
  margin-bottom: 16px;
}
.service-card .service-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 14px;
}
.service-card .service-text {
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-text-sub);
  padding-bottom: 32px;
}



/* =========================================================
   SERVICE / タブレット
   768px〜1024px：2列表示
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .service-img {
    aspect-ratio: 4 / 3;
  }

  .service-card > .service-num,
  .service-card > .service-title,
  .service-card > .service-text {
    padding-left: 20px;
    padding-right: 20px;
  }

  .service-card .service-num {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .service-card .service-title {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .service-card .service-text {
    font-size: 12px;
    line-height: 1.8;
    padding-bottom: 24px;
  }
}


/* =========================================================
   SERVICE / スマホ
   767px以下：1列表示・余白調整
   ========================================================= */
@media (max-width: 767px) {

  /* 見出しとカードの間隔を縮める */
  #service .section-head {
    margin-bottom: 32px;
  }

  /* 説明文をコンパクトに */
  #service .section-lead {
    font-size: 12px;
    line-height: 1.85;
    letter-spacing: 0;
  }

  /* サービスカード */
  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

}









/* =========================================================
   CLIENTS / PREMIUM CARD DESIGN
   法人・個人のお客様
   PC・スマホ共通 ＋ ホバー演出
   ========================================================= */

/* ===== カード一覧 ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* ===== カード共通 ===== */
.client-card {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(90, 120, 165, .18);
  box-shadow: 0 12px 32px rgba(10, 20, 40, .07);

  transition:
    transform .4s ease,
    box-shadow .4s ease,
    border-color .4s ease;
}

/* カード全体をクリックできる */
.client-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.client-card-link:hover {
  opacity: 1;
}

/* ===== 写真 ===== */
.client-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;

  background-color: #1a2434;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;

  transition: filter .5s ease;
}

.client-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10,18,36,.03),
    rgba(10,18,36,.28)
  );
  pointer-events: none;
}

/* 法人の写真 */
.client-card-business .client-img {
  background-image: url("../img/client-business.jpg");
  background-position: center 55%;
}

/* 個人の写真 */
.client-card-personal .client-img {
  background-image: url("../img/client-personal.jpg");
  background-position: center 45%;
}

/* ===== カード本文 ===== */
.client-body {
  padding: 32px;
}

/* 法人：ダークネイビー */
.client-card-business {
  background: #0d1729;
  color: #fff;
}

/* 個人：ホワイト */
.client-card-personal {
  background: #fff;
  color: #172238;
  border-color: #e0e5ed;
}

/* 英語ラベル */
.client-body .en-label {
  display: block;
  margin: 0 0 12px;
  font-size: 10px;
  letter-spacing: .2em;
  color: #5f85b5;
}

.client-card-business .en-label {
  color: #8bb6ea;
}

/* ===== 見出し ===== */
.client-title {
  margin: 0 0 10px;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .035em;
  color: #172238;
}

.client-card-business .client-title {
  color: #fff;
}

/* ===== 説明文 ===== */
.client-copy {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.8;
  color: #647084;
}

.client-card-business .client-copy {
  color: #c3cee0;
}

/* ===== サービス一覧 ===== */
.client-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px 16px;

  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid #e2e7ee;
}

.client-card-business .client-list {
  border-top-color: rgba(170,200,235,.20);
}

.client-list li {
  position: relative;
  min-width: 0;
  padding-left: 17px;

  font-size: 12px;
  line-height: 1.65;
  font-weight: 500;
  color: #344154;
}

/* 左のアクセント */
.client-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .8em;
  width: 9px;
  height: 1px;
  background: #6387b8;
}

.client-card-business .client-list li {
  color: #e1e9f5;
}

.client-card-business .client-list li::before {
  background: #8bb6ea;
}

/* ===== 詳細を見る ===== */
.client-card-link::after {
  content: "VIEW DETAILS  ↗";
  display: block;
  margin: 0 32px 28px;
  padding-top: 15px;

  border-top: 1px solid rgba(130,160,200,.18);

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #668bb9;

  transition:
    letter-spacing .3s ease,
    color .3s ease;
}

.client-card-business .client-card-link::after {
  color: #9cbde5;
}

/* ===== PCホバー ===== */
@media (min-width: 901px) and (hover: hover) {
  .client-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 46px rgba(10,20,40,.16);
    border-color: rgba(120,165,220,.45);
  }

  .client-card:hover .client-img {
    filter: brightness(1.10);
  }

  .client-card:hover .client-card-link::after {
    letter-spacing: .22em;
  }
}

/* キーボードでの操作 */
.client-card:focus-within {
  outline: 2px solid #7da9df;
  outline-offset: 3px;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 900px) {
  .clients-grid {
    gap: 18px;
  }

  .client-body {
    padding: 26px 22px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {

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

  .client-card {
    border-radius: 11px;
  }

  .client-img {
    aspect-ratio: 16 / 8;
  }

  .client-body {
    padding: 22px 20px 18px;
  }

  .client-body .en-label {
    margin-bottom: 8px;
  }

  .client-title {
    margin-bottom: 7px;
    font-size: 21px;
  }

  .client-copy {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.7;
  }

  /* サービス一覧を2列に */
  .client-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
    padding-top: 18px;
  }

  .client-list li {
    padding-left: 13px;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: -.01em;
  }

  .client-list li::before {
    width: 7px;
  }

  .client-card-link::after {
    margin: 0 20px 20px;
    padding-top: 13px;
  }
}

/* ===== 小さいスマホ ===== */
@media (max-width: 360px) {
  .client-body {
    padding: 20px 15px 16px;
  }

  .client-list {
    column-gap: 7px;
  }

  .client-list li {
    font-size: 10.5px;
  }

  .client-card-link::after {
    margin-left: 15px;
    margin-right: 15px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .client-card,
  .client-img,
  .client-card-link::after {
    transition: none;
  }
}






/* =========================================================
   CAMERA SYSTEM / COMPLETE DESIGN
   PC：右端フルブリード＋自然な写真フェード
   SP：暗い写真背景＋コンパクトなレイアウト
   共通：シャンパンゴールドの特徴リスト
   ========================================================= */


/* =========================================================
   01. PC・スマホ共通
   ========================================================= */

.section-camera {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #0a0e1a;
}

.camera-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

/* 説明文の表示切り替え */
.camera-pc-copy {
  display: block;
}

.camera-sp-copy {
  display: none;
}


/* =========================================================
   02. PREMIUM GOLD LIST
   シャンパンゴールド×アイボリーホワイト
   ========================================================= */

.section-camera .camera-points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 32px 0 40px;
  padding: 0;
  counter-reset: camera-item;
}

.section-camera .camera-points li {
  counter-increment: camera-item;
  position: relative;

  padding: 12px 30px 12px 40px;
  margin: 0;

  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: .025em;
  color: #eee8dc;

  border-bottom: 1px solid rgba(199,173,126,.18);

  transition:
    color .35s ease,
    background .35s ease;
}

/* 左側のゴールド番号 */
.section-camera .camera-points li::before {
  content: counter(camera-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: auto;
  height: auto;
  background: none;

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: #c7ad7e;
}

/* 右側の小さなチェック */
.section-camera .camera-points li::after {
  content: "✓";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 12px;
  font-weight: 400;
  color: rgba(199,173,126,.75);
}


/* =========================================================
   03. カメラ写真・共通設定
   ========================================================= */

.camera-visual {
  position: relative;
  aspect-ratio: 4 / 5;

  background:
    #142038
    url("../img/camera-hero.jpg")
    center / cover no-repeat;

  border: 1px solid rgba(123,146,181,.18);
}

.camera-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    180deg,
    rgba(10,18,36,.20),
    rgba(10,18,36,.55)
  );
}

.camera-visual::after {
  content: "CAMERA SYSTEM";
  position: absolute;
  bottom: 24px;
  left: 24px;

  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .3em;
  color: rgba(255,255,255,.4);
}


/* =========================================================
   04. PC専用 / 901px以上
   ========================================================= */

@media (min-width: 901px) {

  /* セクション全体 */
  .section-camera {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  /* 左右レイアウト */
  .section-camera .camera-inner {
    position: static;
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr);
    gap: 56px;
  }

  /* 左側の文字エリア */
  .section-camera .camera-text {
    position: relative;
    z-index: 2;
    grid-column: 1;
    min-width: 0;
  }

  /* 英語ラベル */
  .section-camera .camera-text > .en-label {
    margin-bottom: 16px;
  }

  /* 見出し */
  .section-camera .section-title {
    font-size: clamp(26px, 2.5vw, 33px);
    line-height: 1.5;
    margin-bottom: 20px;
  }

  /* 説明文 */
  .section-camera .section-lead {
    font-size: 13px;
    line-height: 1.85;
  }

  .section-camera .section-lead + .section-lead {
    margin-top: 14px;
  }

  /* 特徴リスト */
  .section-camera .camera-points {
    margin: 25px 0 30px;
  }

  .section-camera .camera-points li {
    padding: 12px 30px 12px 40px;
    font-size: 13px;
    line-height: 1.7;
  }

  /* 写真を右端まで広げる */
  .section-camera .camera-visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;

    width: 54%;
    height: 100%;
    aspect-ratio: auto;

    background-size: cover;
    background-position: center 38%;

    border: none;
    box-shadow: none;

    /* 左端を濃紺に自然になじませる */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.20) 12%,
      rgba(0,0,0,.65) 26%,
      #000 44%
    );

    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.20) 12%,
      rgba(0,0,0,.65) 26%,
      #000 44%
    );

    transition: filter .6s ease;
  }

  /* 写真全体の色味を少し落ち着かせる */
  .section-camera .camera-visual::before {
    background: rgba(8,15,29,.10);
  }

  /* 写真内ラベル */
  .section-camera .camera-visual::after {
    bottom: 28px;
    left: 32px;
    z-index: 2;
    color: rgba(255,255,255,.65);
    letter-spacing: .26em;
  }
}


/* =========================================================
   05. PCホバー演出
   ========================================================= */

@media (min-width: 901px) and (hover: hover) {

  /* 写真がほんの少し明るくなる */
  .section-camera .camera-visual:hover {
    filter: brightness(1.08);
  }

  /* ゴールドリストの上品なホバー */
  .section-camera .camera-points li:hover {
    color: #fff;
    background: rgba(192,166,115,.06);
  }
}






/* =========================================================
   06. タブレット / 768px〜900px
   スマホと同じ暗い背景写真にする
   ========================================================= */

@media (min-width: 768px) and (max-width: 900px) {

  /* セクションを写真の基準にする */
  .section-camera {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #050b16;
  }

  /* 写真を独立した列にしない */
  .section-camera .camera-inner {
    position: static;
    display: block;
  }

  /* 文章・ボタンを前面へ */
  .section-camera .camera-text {
    position: relative;
    z-index: 2;
    max-width: 720px;
    min-width: 0;
  }

  /* 写真を全面背景に */
  .section-camera .camera-visual {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;
    aspect-ratio: auto;

    background-size: cover;
    background-position: center 38%;

    border: none;
    box-shadow: none;

    -webkit-mask-image: none;
    mask-image: none;
  }

  /* 既存の::beforeを使って暗くする */
  .section-camera .camera-visual::before {
    background: linear-gradient(
      180deg,
      rgba(4,9,18,.90) 0%,
      rgba(4,9,18,.85) 45%,
      rgba(4,9,18,.92) 100%
    );
  }

  /* 写真内のラベルは非表示 */
  .section-camera .camera-visual::after {
    display: none;
  }


  /* タブレット：説明文を少しコンパクトに */
  .section-camera .section-lead {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0;
  }

  /* 2つ目の説明文との間隔 */
  .section-camera .section-lead + .section-lead {
    margin-top: 12px;
  }


}




/* =========================================================
   07. スマホ専用 / 767px以下
   ========================================================= */

@media (max-width: 767px) {

  /* ===== セクション全体 ===== */

  .section-camera {
    background: #050b16;
  }

  /* 画像は背景に、文章は前面に */
  .section-camera .camera-inner {
    position: static;
    display: block;
  }

  .section-camera .camera-text {
    position: relative;
    z-index: 2;
    min-width: 0;
  }

  /* ===== 説明文の切り替え ===== */

  .camera-pc-copy {
    display: none;
  }

  .camera-sp-copy {
    display: block;
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.85;
    color: rgba(255,255,255,.88);
  }

  /* ===== 見出し ===== */

  .camera-text .section-title {
    margin-bottom: 20px;
  }

  /* ===== ゴールドリスト ===== */

  .section-camera .camera-points {
    margin: 26px 0 30px;
    gap: 0;
  }

  .section-camera .camera-points li {
    padding: 12px 24px 12px 34px;
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: .01em;
  }

  .section-camera .camera-points li::before {
    font-size: 9px;
  }

  .section-camera .camera-points li::after {
    right: 2px;
    font-size: 11px;
  }

  /* ===== Color24 商品カード ===== */

  .camera-text .top-c24 {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    padding: 14px;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);

    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  .camera-text .top-c24 img {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    object-fit: contain;
  }

  .camera-text .top-c24-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 4px;
  }

  .camera-text .top-c24-content strong {
    display: block;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0;
  }

  .camera-text .top-c24-catch {
    display: block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
  }

  .camera-text .top-c24-desc {
    display: block;
    font-size: 11px;
    line-height: 1.7;
    overflow-wrap: anywhere;
  }

  /* ===== ボタン ===== */

  .camera-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .camera-actions .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
    padding: 14px 12px;
    font-size: 13px;
    text-align: center;
  }

  /* ===== 写真をセクション全体の背景に ===== */

  .section-camera .camera-visual {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;
    aspect-ratio: auto;

    background-size: cover;
    background-position: center center;

    border: none;
    box-shadow: none;

    -webkit-mask-image: none;
    mask-image: none;
  }

  /* かなり暗いオーバーレイ */
  .section-camera .camera-visual::before {
    background: linear-gradient(
      180deg,
      rgba(4,9,18,.92) 0%,
      rgba(4,9,18,.88) 45%,
      rgba(4,9,18,.94) 100%
    );
  }

  /* 写真内の英語ラベルを非表示 */
  .section-camera .camera-visual::after {
    display: none;
  }
}


/* =========================================================
   08. 動きを減らす設定
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .section-camera .camera-visual,
  .section-camera .camera-points li {
    transition: none;
  }
}





/* =========================================================
   AREA / KUMAMOTO PATROL
   背面タイポ＋HSKパトロール車
   ========================================================= */

#area {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f6f8fb;
  padding: 65px 0;
}

/* ===== 背面アニメーション ===== */
#area .area-motion {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* KUMAMOTO AREA */

#area .area-motion-type {
  position: absolute;
  top: 17%;
  right: 4%;
  width: 38%;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  font-family: Arial, sans-serif;
  font-size: clamp(40px, 4.5vw, 62px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.065em;
  line-height: .95;
  white-space: nowrap;
  color: rgba(23, 53, 91, .09);

  animation: areaTypeFloat 12s ease-in-out infinite alternate;
}


/* ===== 走る車 ===== */
#area .area-patrol-track {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

#area .area-patrol-car {
  position: absolute;
  right: 0;
  bottom: 0;

  width: clamp(320px, 38vw, 560px);
  height: auto;

  opacity: .6;
  filter: saturate(.85);

  animation: hskPatrolDrive 17s ease-in-out infinite;
  will-change: transform;
}

/* ===== 本文を前面に ===== */
#area .area-inner {
  position: relative;
  z-index: 1;
  display: block;
}

#area .area-text {
  position: relative;
  z-index: 2;
  max-width: 610px;
}

/* 見出し */
#area .section-title {
  font-size: clamp(27px, 2.5vw, 35px);
  line-height: 1.5;
}

/* 本文 */
#area .section-lead {
  line-height: 2;
}

/* ===== 注意書き ===== */
#area .area-note {
  font-size: 13px;
  color: var(--c-text-sub);
  background: rgba(255,255,255,.85);
  padding: 20px 24px;
  margin-top: 24px;
  border-left: 2px solid var(--c-accent);
  border-radius: 0 8px 8px 0;
  line-height: 1.85;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

/* ===== 所在地・電話・メール ===== */
#area .area-info {
  margin-top: 40px;
  padding: 10px 20px;
  background: rgba(255,255,255,.78);
  border-radius: 10px;
  border-top: 1px solid var(--c-line);
}

#area .area-info > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--c-line);
}

#area .area-info > div:last-child {
  border-bottom: none;
}

#area .area-info dt {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--c-accent);
  text-transform: uppercase;
  align-self: center;
}

#area .area-info dd {
  min-width: 0;
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* ===== タイポの動き ===== */
@keyframes areaTypeFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(18px);
  }
}

/* ===== 車が走る動き ===== */
/* 車が左向きなので右から左へ走る */
@keyframes hskPatrolDrive {
  0% {
    transform: translateX(110%);
    opacity: 0;
  }

  12% {
    opacity: .6;
  }

  32% {
    transform: translateX(-10vw);
    opacity: .6;
  }

  57% {
    transform: translateX(-10vw);
    opacity: .6;
  }

  85% {
    transform: translateX(calc(-100vw - 100%));
    opacity: .4;
  }

  100% {
    transform: translateX(calc(-100vw - 100%));
    opacity: 0;
  }
}



/* =========================================================
   AREA / タブレット・スマホ共通
   1024px以下は上部に車とタイポを配置
   ========================================================= */
@media (max-width: 1024px) {

  /* 上部に専用スペースを確保 */
  #area {
    padding: 220px 0 65px;
  }

  #area .area-inner {
    display: block;
  }

  /* アニメーションは上部だけ */
  #area .area-motion {
    top: 0;
    bottom: auto;
    height: 190px;
    background: linear-gradient(
      180deg,
      #eef3f9 0%,
      #f6f8fb 100%
    );
  }

  /* KUMAMOTO AREA */
  #area .area-motion-type {
    top: 40px;
    left: 6%;
    right: auto;
    width: auto;

    font-size: clamp(45px, 7vw, 72px);
    line-height: .95;
    letter-spacing: -.06em;
    color: rgba(23,53,91,.13);

    animation: areaTypeFloat 12s ease-in-out infinite alternate;
  }

  /* 車が走る範囲 */
  #area .area-patrol-track {
    top: 35px;
    left: 0;
    width: 100%;
    height: 150px;
    overflow: hidden;
  }

  /* タブレットの車 */
  #area .area-patrol-car {
    right: 0;
    bottom: 0;
    width: 220px;
    height: auto;
    opacity: .75;
    animation: hskPatrolDrive 17s ease-in-out infinite;
  }

  /* 本文 */
  #area .area-text {
    max-width: 100%;
  }
}

/* =========================================================
   AREA / スマホ
   767px以下はさらにコンパクトに
   ========================================================= */
@media (max-width: 767px) {

  #area {
    padding: 180px 0 50px;
  }

  #area .area-motion {
    height: 150px;
  }

  #area .area-motion-type {
    top: 30px;
    left: 20px;
    font-size: 36px;
    color: rgba(23,53,91,.15);
  }

  #area .area-patrol-track {
    top: 30px;
    height: 115px;
  }

  #area .area-patrol-car {
    width: 155px;
    opacity: .75;
  }

  #area .section-title {
    font-size: clamp(26px, 7vw, 32px);
  }

  #area .section-lead {
    line-height: 1.9;
  }

  /* 注意書き */
  #area .area-note {
    font-size: 11px;
    padding: 14px 8px;
    line-height: 1.8;
    letter-spacing: -.03em;
  }

  /* 所在地・電話・メール */
  #area .area-info {
    padding: 6px 14px;
    margin-top: 30px;
  }

  #area .area-info > div {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }

  #area .area-info dd {
    font-size: 12px;
  }
}



/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  #area .area-motion-type,
  #area .area-patrol-car {
    animation: none;
  }

  #area .area-patrol-car {
    transform: translateX(-10vw);
    opacity: .35;
  }
}





/* =========================================================
   GALLERY / INFINITE MARQUEE
   全画面共通・横一列・無限ループ
   ========================================================= */

.gallery-marquee {
  --gallery-gap: 16px;
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  width: max-content;
  animation: galleryMarquee 45s linear infinite;
}

.gallery-set {
  display: flex;
  flex: none;
  gap: var(--gallery-gap);
  padding-right: var(--gallery-gap);
}

/* ===== 写真 ===== */
.gallery-item {
  position: relative;
  flex: none;
  width: 340px;
  height: 230px;
  overflow: hidden;

  background-color: #1a2434;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: .78;
}

/* 写真の下側を暗くする */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(10,18,36,.62) 100%
  );
  pointer-events: none;
}

/* ===== 写真ごとの表示位置 ===== */

/* 警備員 */
.gallery-item[data-img="g1"] {
  background-image: url("../img/gallery-01.jpg");
  background-position: center 8%;
}

/* 防犯カメラ */
.gallery-item[data-img="g2"] {
  background-image: url("../img/gallery-02.jpg");
  background-position: center 45%;
}

/* パトロール車 */
.gallery-item[data-img="g3"] {
  background-image: url("../img/gallery-03.jpg");
  background-position: center 55%;
}

/* 高所作業 */
.gallery-item[data-img="g4"] {
  background-image: url("../img/gallery-04.jpg");
  background-position: center 40%;
}

/* スタッフ */
.gallery-item[data-img="g5"] {
  background-image: url("../img/gallery-05.jpg");
  background-position: center 50%;
}

/* 管制室 */
.gallery-item[data-img="g6"] {
  background-image: url("../img/gallery-06.jpg");
  background-position: center 60%;
}

/* ===== 英語ラベル ===== */
.gallery-cap {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(255,255,255,.9);
}

/* ===== 無限ループ ===== */
@keyframes galleryMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}



/* ===== タブレット ===== */
@media (max-width: 900px) {
  .gallery-marquee {
    --gallery-gap: 12px;
  }

  .gallery-item {
    width: 300px;
    height: 220px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .gallery-marquee {
    --gallery-gap: 10px;
  }

  .gallery-item {
    width: 240px;
    height: 180px;
  }

  .gallery-cap {
    font-size: 9px;
    letter-spacing: .14em;
  }

  .gallery-track {
    animation-duration: 38s;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .gallery-marquee {
    overflow-x: auto;
  }

  .gallery-track {
    animation: none;
  }
}




/* =========================================================
   RECRUIT / CINEMATIC PREMIUM DESIGN
   ========================================================= */

.section-recruit {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(95px, 11vw, 145px) 0;
  background: #0a1224;
}

/* ===== 背景写真：ゆっくりズーム ===== */
.recruit-bg {
  position: absolute;
  inset: -5%;
  z-index: 0;

  background: #0a1224
    url("../img/recruit-bg.jpg")
    center / cover no-repeat;

  animation: recruitSlowZoom 24s ease-in-out infinite alternate;
  will-change: transform;
}

/* ===== 写真を上品に暗くする ===== */
.recruit-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(
      180deg,
      rgba(7,14,30,.78) 0%,
      rgba(8,17,35,.72) 45%,
      rgba(7,14,30,.88) 100%
    );
}

/* ===== 動く青白い光 ===== */
.recruit-overlay::after {
  content: "";
  position: absolute;
  inset: -30%;

  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(118,167,225,.07) 48%,
    rgba(210,230,255,.10) 50%,
    rgba(118,167,225,.07) 52%,
    transparent 70%
  );

  transform: translateX(-50%);
  animation: recruitLightSweep 16s ease-in-out infinite;
  pointer-events: none;
}

/* ===== コンテンツ ===== */
.recruit-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

/* ===== 背面の巨大タイポ ===== */

/* 背面のRECRUITを輪郭文字に */
.recruit-inner::before {
  content: "RECRUIT";
  position: absolute;
  top: -95px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);

  font-family: Arial, sans-serif;
  font-size: clamp(110px, 18vw, 240px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.065em;
  line-height: 1;
  white-space: nowrap;

  color: transparent;
  -webkit-text-stroke: 1px rgba(210,230,255,.16);
  pointer-events: none;
}


/* 英語ラベル */
.section-recruit .en-label {
  position: relative;
  margin-bottom: 24px;
  color: #9fc4ee;
  letter-spacing: .32em;
}

/* ===== メイン見出し ===== */
.recruit-title {
  position: relative;
  margin: 0 auto 26px;

  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .055em;

  color: #fff;
  text-shadow: 0 3px 20px rgba(0,0,0,.25);
  .recruit-highlight {
  color: #a9ccef;
}
}

/* 見出しの下のアクセントライン */
.recruit-title::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin: 26px auto 0;

  background: linear-gradient(
    90deg,
    #6997c9,
    #c4ddfa
  );
}

/* ===== 説明文 ===== */
.recruit-lead {
  max-width: 680px;
  margin: 0 auto 32px;

  font-size: 13px;
  line-height: 2;
  letter-spacing: .025em;
  color: rgba(255,255,255,.87);
}

/* ===== 採用ボタン ===== */

.section-recruit .btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 56px;

  border: 1px solid rgba(183,213,245,.75);
  background: linear-gradient(
    135deg,
    rgba(86,132,188,.35),
    rgba(36,70,118,.45)
  );
  color: #fff;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-decoration: none;

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);

  box-shadow: 0 10px 35px rgba(0,0,0,.15);

  transition:
    background .35s ease,
    transform .35s ease,
    box-shadow .35s ease;
}


@media (hover: hover) {
  .section-recruit .btn-outline-light:hover {
    background: rgba(124,173,229,.20);
    border-color: #b6d5f5;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,.20);
  }
}

/* ===== アニメーション ===== */
@keyframes recruitSlowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.09);
  }
}

@keyframes recruitLightSweep {
  0%, 18% {
    transform: translateX(-55%);
    opacity: 0;
  }

  35% {
    opacity: 1;
  }

  65%, 100% {
    transform: translateX(55%);
    opacity: 0;
  }
}

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

 
.recruit-inner::before {
  top: -42px;
  font-size: clamp(65px, 11vw, 105px);
  -webkit-text-stroke: 1px rgba(210, 230, 255, .07);
}


  .recruit-title {
    font-size: clamp(29px, 4.5vw, 40px);
  }
}

/* =========================================================
   スマホ
   ========================================================= */

/* =========================================================
   RECRUIT / SMARTPHONE
   スマホ専用・文字と余白の最適化
   ========================================================= */
@media (max-width: 767px) {

  /* セクション全体 */
  .section-recruit {
    padding: 65px 0 70px;
  }

  /* 背景写真 */
  .recruit-bg {
    background-position: center;
  }

  /* 背面のRECRUITタイポ：極めて控えめに */
  .recruit-inner::before {
    top: -18px;
    font-size: 14vw;
    color: transparent;
    -webkit-text-stroke: .7px rgba(210, 230, 255, .04);
  }

  /* 英語ラベル */
  .section-recruit .en-label {
    margin-bottom: 16px;
    font-size: 10px;
    letter-spacing: .25em;
  }

  /* メイン見出し */
  .section-recruit .recruit-title {
    margin: 0 auto 20px;
    font-size: clamp(21px, 5.6vw, 25px);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: .01em;
  }

  /* 見出し下のアクセントライン */
  .recruit-title::after {
    width: 32px;
    height: 2px;
    margin: 18px auto 0;
  }

  /* 説明文：小さく・軽やかに */
  .section-recruit .recruit-lead {
    max-width: 340px;
    margin: 0 auto 28px;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0;

    color: rgba(255, 255, 255, .85);
  }

  /* 採用ボタン */
  .section-recruit .btn-outline-light {
    min-width: 210px;
    min-height: 50px;
    padding: 12px 24px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
  }
}


/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  .recruit-bg,
  .recruit-overlay::after {
    animation: none;
  }
}




/* =========================================================
   NEWS / CLEAN & MINIMAL
   PC・タブレット・スマホ対応
   ========================================================= */

#news {
  padding: 65px 0 75px;
  background: #fff;
}

/* 見出し部分の余白を調整 */
#news .section-head {
  margin-bottom: 35px;
}

#news .section-title {
  margin-bottom: 0;
}

/* ===== ニュース一覧 ===== */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e1e7ef;
}

.news-item {
  border-bottom: 1px solid #e1e7ef;
}

/* ===== 1件分 ===== */
.news-row {
  display: grid;
  grid-template-columns: 125px 110px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 23px 12px;

  transition: background .3s ease;
}

/* ===== 日付 ===== */
.news-date {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  color: #5b83b5;
  white-space: nowrap;
}

/* ===== カテゴリ ===== */
.news-cat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 92px;
  padding: 5px 12px;

  border: 1px solid #d8e3f0;
  border-radius: 30px;

  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #587ba7;
  background: #f8fafd;
}

/* ===== お知らせ本文 ===== */
.news-title {
  min-width: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: .025em;
  color: #172238;
}

/* ===== タブレット ===== */
@media (max-width: 1024px) {
  #news {
    padding: 55px 0 65px;
  }

  .news-row {
    grid-template-columns: 115px 95px minmax(0, 1fr);
    gap: 18px;
    padding: 21px 8px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  #news {
    padding: 50px 0 60px;
  }

  #news .section-head {
    margin-bottom: 25px;
  }

  .news-row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date category"
      "title title";
    column-gap: 14px;
    row-gap: 9px;
    padding: 19px 4px;
  }

  .news-date {
    grid-area: date;
    font-size: 11px;
  }

  .news-cat {
    grid-area: category;
    min-width: auto;
    padding: 4px 12px;
    font-size: 10px;
  }

  .news-title {
    grid-area: title;
    font-size: 13px;
    line-height: 1.75;
  }
}




/* =========================================================
   SOCIAL / INSTAGRAM CARD
   上品 × ほんのりかわいい
   ========================================================= */


#social {
  background: linear-gradient(
    135deg,
    #F7F3FA 0%,
    #F2F1F9 55%,
    #EDF3FA 100%
  );
  padding: 75px 0 85px;
}


/* 全体の見出し */
#social .section-head {
  margin-bottom: 35px;
}

#social .section-title {
  font-size: clamp(27px, 3.2vw, 39px);
}

#social .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* カード配置 */
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 510px;
  margin: 0 auto;
}

/* Instagramカード */
.social-card {
  display: block;
  position: relative;
  overflow: hidden;

  padding: 32px;
  background: #fff;
  border: 1px solid #eee4ef;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(35,30,60,.055);

  text-decoration: none;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* 上部の細いグラデーションライン */
.social-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;

  background: linear-gradient(
    90deg,
    #f6bb68 0%,
    #ee7395 35%,
    #c56bb5 65%,
    #8b80d7 100%
  );
}

/* 英語ラベル */
.social-card .en-label {
  margin-bottom: 12px;
  font-size: 10px;
  letter-spacing: .2em;
  color: #b17ab4;
}

/* アカウント名 */
.social-name {
  margin: 0 0 12px;

  font-size: 25px;
  font-weight: 700;
  letter-spacing: .015em;
  color: #16243b;
}

/* 説明 */
.social-text {
  font-size: 13px;
  line-height: 1.9;
  color: #68738a;
}

/* カード下部の誘導 */
.social-card::after {
  content: "Instagramを見る  ↗";
  display: block;
  margin-top: 25px;
  padding: 14px 16px;

  background: #fbf5fb;
  border-radius: 9px;

  color: #a05c9e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ホバー */
@media (hover: hover) {
  .social-card:hover {
    opacity: 1;
    transform: translateY(-5px);
    border-color: #d8bddc;
    box-shadow: 0 18px 44px rgba(60,35,85,.12);
  }
}

/* タブレット */
@media (max-width: 1024px) {
  #social {
    padding: 65px 0 75px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  #social {
    padding: 55px 0 65px;
  }

  #social .section-head {
    margin-bottom: 25px;
  }

 
 #social .section-title {
  font-size: clamp(20px, 5.2vw, 24px);
  line-height: 1.6;
  letter-spacing: -0.035em;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}


  #social .section-lead {
    font-size: 12px;
  }

  .social-grid {
    max-width: 100%;
  }

  .social-card {
    padding: 25px 22px;
    border-radius: 14px;
  }

  .social-name {
    font-size: 21px;
  }

  .social-text {
    font-size: 12px;
  }

  .social-card::after {
    margin-top: 20px;
    padding: 13px 14px;
    font-size: 11px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .social-card {
    transition: none;
  }
}




/* ---------- CONTACT ---------- */

/* =========================================================
   CONTACT / PREMIUM CLEAN DESIGN
   PC・タブレット・スマホ共通
   ========================================================= */

.section-contact {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #f5f8fc 0%,
    #edf3f9 55%,
    #f8fafc 100%
  );
  padding: 80px 0 95px;
}

/* ===== 背面タイポ ===== */
.section-contact::before {
  content: "CONTACT";
  position: absolute;
  top: 55px;
  right: -20px;
  font-family: Arial, sans-serif;
  font-size: clamp(100px, 16vw, 230px);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -.06em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(53, 91, 140, .035);
  pointer-events: none;
}

/* ===== 全体のコンテンツ ===== */
.section-contact > .container {
  position: relative;
  z-index: 1;
}

/* 見出しと説明文 */
.section-contact .section-head {
  margin-bottom: 38px;
}

.section-contact .section-title {
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.6;
}

.section-contact .section-lead {
  font-size: 13px;
  line-height: 2;
  color: #67768b;
}

/* =========================================================
   電話カード
   ========================================================= */

.contact-tel {
  position: relative;
  max-width: 720px;
  margin: 0 auto 30px;
  padding: 30px 24px;

  text-align: center;
  background: linear-gradient(
    135deg,
    #0e1a30,
    #1a3455
  );
  color: #fff;

  border: 1px solid rgba(139, 177, 225, .25);
  border-radius: 14px;

  box-shadow: 0 16px 36px rgba(19, 40, 70, .12);
}

/* 電話カードの上部ライン */
.contact-tel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(
    90deg,
    #6e9ccd,
    #d5e9ff,
    #6e9ccd
  );
}

.contact-tel .en-label {
  margin-bottom: 10px;
  color: #a6c7ed;
  font-size: 11px;
  letter-spacing: .25em;
}

.contact-tel-num {
  display: inline-block;
  margin-bottom: 8px;

  font-family: var(--font-en);
  font-size: clamp(28px, 4vw, 41px);
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.4;
  color: #fff;

  text-decoration: none;
  transition: color .3s ease;
}

.contact-tel-num:hover {
  opacity: 1;
  color: #b7d9ff;
}

.contact-tel-note {
  font-size: 12px;
  line-height: 1.8;
  color: rgba(225, 237, 255, .75);
}

/* =========================================================
   お問い合わせフォーム
   ========================================================= */

.contact-form {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 44px clamp(24px, 5vw, 50px);

  background: #fff;
  border: 1px solid #dfe8f2;
  border-radius: 16px;

  box-shadow: 0 16px 42px rgba(24, 48, 82, .055);
}

/* フォーム見出し：HTML追加不要 */
.contact-form::before {
  content: "お問い合わせフォーム";
  display: block;

  margin-bottom: 30px;
  padding-bottom: 18px;

  border-bottom: 1px solid #e5ebf3;

  font-size: 18px;
  font-weight: 700;
  letter-spacing: .05em;
  color: #172b47;
}

/* ===== 各入力項目 ===== */
.form-row {
  margin-bottom: 24px;
}

.form-row label {
  display: block;
  margin-bottom: 9px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1.65;
  color: #283c58;
}

/* 必須 */
.required {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;

  background: #294f7c;
  color: #fff;
  border-radius: 4px;

  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
}

/* 任意 */
.optional {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 7px;

  background: #f1f4f8;
  color: #76869a;
  border: 1px solid #e1e8ef;
  border-radius: 4px;

  font-size: 10px;
  letter-spacing: .04em;
}

/* ===== 入力欄 ===== */
.form-row input:not([type="checkbox"]),
.form-row select,
.form-row textarea {
  display: block;
  width: 100%;
  min-width: 0;

  padding: 14px 16px;

  background: #f8fafc;
  border: 1px solid #dce5ef;
  border-radius: 8px;

  color: #182b47;
  font: inherit;
  font-size: 14px;

  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  background: #fff;
  border-color: #648fc5;
  box-shadow: 0 0 0 3px rgba(100, 143, 197, .12);
}

.form-row textarea {
  min-height: 150px;
  resize: vertical;
}

/* ===== 同意チェック ===== */
.form-check {
  margin-top: 10px;
}

.form-check .check-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  cursor: pointer;
  font-weight: 400;
  letter-spacing: 0;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 4px 0 0;
  flex-shrink: 0;
  accent-color: #315e91;
}

.form-check a {
  color: #315e91;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===== 送信ボタン ===== */
.form-submit {
  margin-top: 34px;
  text-align: center;
}

.contact-form .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: min(100%, 320px);
  min-height: 54px;
  padding: 14px 30px;

  background: linear-gradient(
    135deg,
    #254e7e,
    #163457
  );
  border: 1px solid #254e7e;
  border-radius: 8px;

  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;

  cursor: pointer;

  transition:
    transform .3s ease,
    box-shadow .3s ease,
    background .3s ease;
}

@media (hover: hover) {
  .contact-form .btn-primary:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 62, 108, .2);
  }
}

/* 送信後メッセージの表示はhidden属性を優先 */
#contact .form-status[hidden],
#contact .form-done[hidden] {
  display: none;
}

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

  .section-contact::before {
    font-size: 15vw;
  }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 767px) {
  .section-contact {
    padding: 55px 0 65px;
  }

  .section-contact::before {
    top: 30px;
    right: -12px;
    font-size: 16vw;
    color: rgba(53, 91, 140, .025);
  }

  .section-contact .section-head {
    margin-bottom: 28px;
  }

  .section-contact .section-title {
    font-size: clamp(24px, 6.5vw, 31px);
  }

  .section-contact .section-lead {
    font-size: 12px;
    line-height: 1.9;
  }

  .contact-tel {
    padding: 26px 16px;
    margin-bottom: 20px;
    border-radius: 12px;
  }

  .contact-tel-num {
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: .02em;
  }

  .contact-tel-note {
    font-size: 11px;
  }

  .contact-form {
    padding: 28px 18px;
    border-radius: 12px;
  }

  .contact-form::before {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .form-row {
    margin-bottom: 20px;
  }

  .form-row label {
    font-size: 12px;
  }

  .form-row input:not([type="checkbox"]),
  .form-row select,
  .form-row textarea {
    padding: 13px 12px;
    font-size: 14px;
  }

  .form-row textarea {
    min-height: 130px;
  }

  .contact-form .btn-primary {
    width: 100%;
    min-height: 52px;
  }
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {
  .contact-tel-num,
  .contact-form .btn-primary,
  .form-row input,
  .form-row select,
  .form-row textarea {
    transition: none;
  }
}


/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.7);
  padding-top: 80px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 64px;
}
.footer-logo {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.footer-tag {
  font-size: 13px;
  margin-bottom: 32px;
  line-height: 1.9;
}
.footer-info { display: grid; gap: 14px; font-size: 13px; }
.footer-info > div { display: grid; grid-template-columns: 80px 1fr; gap: 16px; }
.footer-info dt {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--c-accent);
}
.footer-info a { color: #fff; }
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--c-accent);
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 14px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 13px; }
.footer-col a:hover { color: #fff; opacity: 1; }
.footer-bottom {
  margin-top: 80px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-privacy { font-size: 12px; color: rgba(255,255,255,0.6); }
.copyright {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 600px) {
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
}

/* ---------- MOBILE FIXED CTA ---------- */
.sp-fixed-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--c-ink);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -8px 24px rgba(10,14,26,0.2);
}
.sp-fixed-cta a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.sp-fixed-cta a + a { border-left: 1px solid rgba(255,255,255,0.1); }
.sp-cta-tel { background: var(--c-grad); color: #fff !important; }
.sp-cta-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  opacity: .7;
  margin-bottom: 2px;
}
.sp-cta-label { font-size: 14px; font-weight: 600; }
@media (max-width: 768px) {
  .sp-fixed-cta { display: flex; }
  body { padding-bottom: 76px; }
}

/* =========================================================
   SUBPAGES / ADDITIONS (2026-09 client revision)
========================================================= */
.service-card { display:block; color:inherit; }
.service-card:hover { opacity:1; }

/* ---------- page hero ---------- */
.page-hero { position:relative; background:var(--c-ink); color:#fff; padding:160px 0 88px; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; background:center/cover no-repeat; opacity:.5; }
.page-hero::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(10,14,26,.94) 0%, rgba(10,14,26,.74) 55%, rgba(10,14,26,.42) 100%); }
.page-hero-inner { position:relative; z-index:2; }
.page-hero h1 { font-family:"Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size:clamp(30px,4.2vw,50px); font-weight:700; line-height:1.4; letter-spacing:.04em; margin:0 0 20px; word-break:keep-all; line-break:strict; }


.page-hero-lead {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.01em;
  max-width: 900px;
  text-shadow: 0 1px 5px rgba(0,0,0,0.5);
}



/* =========================================================
   HOME SECURITY / HERO TITLE
   ホームセキュリティ専用
   ========================================================= */

/* PC */
.home-security-hero h1 {
  max-width: 1100px;
  font-size: clamp(30px, 3.1vw, 42px);
  line-height: 1.6;
  letter-spacing: 0;
}

/* スマホ専用の改行をPC・タブレットでは隠す */
.home-security-hero .home-sp-break {
  display: none;
}

/* タブレット */
@media (min-width: 768px) and (max-width: 1024px) {
  .home-security-hero h1 {
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.55;
    letter-spacing: -.015em;
  }
}

/* スマホ */
@media (max-width: 767px) {
  .home-security-hero h1 {
    font-size: clamp(16px, 4.2vw, 18px);
    line-height: 1.65;
    letter-spacing: -.035em;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .home-security-hero .home-sp-break {
    display: inline;
  }
}




.breadcrumb { display:flex; flex-wrap:wrap; gap:10px; font-size:11px; color:rgba(255,255,255,.55); margin-bottom:28px; font-family:var(--font-en); letter-spacing:.12em; text-transform:uppercase; }
.breadcrumb a { color:rgba(255,255,255,.55); }
.breadcrumb span + span::before { content:"/"; margin-right:10px; opacity:.5; }
@media (max-width:768px){ .page-hero{ padding:120px 0 64px; } .page-hero::after{ background:linear-gradient(180deg, rgba(10,14,26,.85), rgba(10,14,26,.78)); } }

/* ---------- intro / lists ---------- */
.intro-text { max-width:860px; margin:0 auto; text-align:center; font-size:16px; line-height:2.1; color:var(--c-charcoal); }
.intro-text strong { color:var(--c-ink); font-weight:700; }
.intro-text + .intro-text { margin-top:20px; }
.check-list { display:grid; grid-template-columns:repeat(2,1fr); gap:14px 40px; max-width:900px; margin:40px auto 0; }
.check-list li { position:relative; padding-left:30px; font-size:15px; line-height:1.8; color:var(--c-charcoal); }
.check-list li::before { content:""; position:absolute; left:0; top:.5em; width:16px; height:16px; border-radius:50%; background:var(--c-grad); }
.check-list li::after { content:""; position:absolute; left:5px; top:calc(.5em + 4px); width:6px; height:3px; border-left:2px solid #fff; border-bottom:2px solid #fff; transform:rotate(-45deg); }
@media (max-width:640px){ .check-list{ grid-template-columns:1fr; } }
.notice-box { background:var(--c-light); border-left:2px solid var(--c-accent); padding:24px 28px; font-size:14px; line-height:1.9; color:var(--c-charcoal); max-width:960px; margin:40px auto 0; }
.notice-box.is-dark { background:rgba(255,255,255,.06); color:rgba(255,255,255,.85); }


/* =========================================================
   CAMERA FEATURES / PREMIUM CARDS
   防犯カメラページ専用
   ========================================================= */

/* 5つの特徴をカード配置 */
.check-list.camera-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
  counter-reset: camera-feature;
}

/* カード本体 */
.check-list.camera-feature-list > li {
  counter-increment: camera-feature;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;

  min-width: 0;
  min-height: 150px;
  padding: 28px 70px 28px 28px;

  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #f6f9fd 100%
  );

  border: 1px solid #dce7f3;
  border-radius: 14px;

  box-shadow: 0 10px 28px rgba(20,45,80,.07);

  color: #1d3554;
  font-size: 14px;
  line-height: 1.8;
}

/* 左上のアクセントライン */
.check-list.camera-feature-list > li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;

  width: 46px;
  height: 3px;

  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #5c8bbb, #b6d7f4);
}

/* 右上の番号 */
.check-list.camera-feature-list > li::after {
  content: counter(camera-feature, decimal-leading-zero);

  position: absolute;
  top: 20px;
  right: 24px;
  left: auto;

  width: auto;
  height: auto;

  border: 0;
  background: none;
  transform: none;

  font-family: var(--font-en);
  font-size: 23px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .04em;
  color: #a4c1e0;
}

/* タイトル */
.check-list.camera-feature-list > li > strong {
  display: block;
  padding: 0;
  margin: 0;

  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: #1d3554;
}

/* 説明文 */
.check-list.camera-feature-list > li > span {
  display: block;
  padding: 0;
  margin: 0;

  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
  color: #64748a;
}

/* 5枚目は横いっぱいに */
.check-list.camera-feature-list > li:last-child {
  grid-column: 1 / -1;
  min-height: 120px;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .check-list.camera-feature-list {
    gap: 14px;
  }

  .check-list.camera-feature-list > li {
    padding: 24px 55px 24px 22px;
    min-height: 145px;
  }

  .check-list.camera-feature-list > li > strong {
    font-size: 15px;
  }

  .check-list.camera-feature-list > li > span {
    font-size: 12px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .check-list.camera-feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .check-list.camera-feature-list > li,
  .check-list.camera-feature-list > li:last-child {
    grid-column: auto;
    min-height: 0;
    padding: 20px 56px 20px 18px;
    gap: 7px;
    border-radius: 11px;
  }

  .check-list.camera-feature-list > li::before {
    left: 18px;
    width: 34px;
  }

  .check-list.camera-feature-list > li::after {
    top: 18px;
    right: 17px;
    font-size: 19px;
  }

  .check-list.camera-feature-list > li > strong {
    font-size: 14px;
  }

  .check-list.camera-feature-list > li > span {
    font-size: 12px;
    line-height: 1.75;
  }
}




/* =========================================================
   Color24 / スマホだけ見出しをコンパクトに
   ========================================================= */

@media (max-width: 767px) {

  #color24 .section-head {
    margin-bottom: 36px;
  }

  #color24 .section-title {
    font-size: clamp(17px, 4.35vw, 19px);
    line-height: 1.65;
    letter-spacing: -0.055em;
    margin-bottom: 22px;
  }

  #color24 .section-lead {
    font-size: 12px;
    line-height: 1.85;
    max-width: 340px;
    margin: 0 auto;
  }
}






/* =========================================================
   CAMERA WORKS / INSTALLATION CASES
   ========================================================= */

.camera-works {
  background: #f4f6f9;
  padding: 85px 0 95px;
}

.camera-works .section-head {
  margin-bottom: 45px;
}

.camera-works .section-title {
  margin-bottom: 16px;
}

.camera-works .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* ===== PC：2列 ===== */
.camera-works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* カード */
.camera-work {
  overflow: hidden;
  min-width: 0;
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 6px;
  transition: transform .3s ease, box-shadow .3s ease;
}

/* 写真 */
.camera-work-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #dce4ed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 本文 */
.camera-work-body {
  padding: 25px 28px 28px;
}

/* CASE番号 */
.camera-work-num {
  margin-bottom: 12px;
  color: #6284b2;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

/* 見出し */
.camera-work-title {
  margin-bottom: 12px;
  color: #172b47;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
}

/* 強調文 */
.camera-work-lead {
  margin-bottom: 12px;
  color: #4976a8;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

/* 説明 */
.camera-work-text {
  color: #637186;
  font-size: 13px;
  line-height: 1.9;
}

/* ホバー */
@media (hover: hover) {
  .camera-work:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(20,45,80,.1);
  }
}

/* ===== タブレット：2列 ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .camera-works-grid {
    gap: 16px;
  }

  .camera-work-body {
    padding: 22px 20px;
  }

  .camera-work-title {
    font-size: 18px;
  }

  .camera-work-lead,
  .camera-work-text {
    font-size: 12px;
  }
}

/* ===== スマホ：1列 ===== */
@media (max-width: 767px) {
  .camera-works {
    padding: 55px 0 65px;
  }

  .camera-works .section-head {
    margin-bottom: 28px;
  }

  .camera-works-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .camera-work-img {
    aspect-ratio: 16 / 9;
  }

  .camera-work-body {
    padding: 20px;
  }

  .camera-work-title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .camera-work-lead {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .camera-work-text {
    font-size: 12px;
    line-height: 1.8;
  }
}




/* ---------- feature rows ---------- */
.feature-row { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.feature-row + .feature-row { margin-top:96px; }
.feature-row.is-reverse .feature-img { order:2; }
.feature-img { aspect-ratio:4/3; background:#1A2434 center/cover no-repeat; overflow:hidden; }
.feature-num { font-family:var(--font-en); font-size:12px; font-weight:700; letter-spacing:.2em; color:var(--c-accent); margin-bottom:16px; }
.feature-title { font-size:clamp(20px,2.2vw,26px); font-weight:700; line-height:1.5; letter-spacing:.04em; color:var(--c-ink); margin-bottom:12px; }
.feature-sub { font-size:15px; font-weight:600; color:var(--c-accent); margin-bottom:16px; line-height:1.7; }
.feature-text { font-size:15px; line-height:2; color:var(--c-text-sub); }
.feature-text + .feature-text { margin-top:12px; }
.section-dark .feature-title { color:#fff; }
.section-dark .feature-text { color:rgba(255,255,255,.75); }
@media (max-width:900px){ .feature-row{ grid-template-columns:1fr; gap:28px; } .feature-row + .feature-row{ margin-top:64px; } .feature-row.is-reverse .feature-img{ order:0; } }



/* =========================================================
   HOME SECURITY / SUPPORT
   PC・タブレット・スマホ対応
   ========================================================= */

.home-support {
  background: #f7f9fc;
}

.home-support .section-head {
  margin-bottom: 48px;
}

/* ===== 01. 地域密着の紹介 ===== */

.home-support-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;

  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 8px;
}

.home-support-photo {
  min-height: 390px;
  background-color: #dce4ed;
  background-size: cover;
  background-position: center 50%;
}

.home-support-intro-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.home-support-label {
  margin: 0 0 18px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #658ab8;
}

.home-support-heading {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .025em;
  color: #182d49;
}

.home-support-copy {
  margin: 0 0 15px;
  font-size: 13px;
  line-height: 2;
  color: #65748a;
}

.home-support-emphasis {
  margin-top: 14px;
  padding-top: 18px;
  border-top: 1px solid #e2e9f1;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  color: #315b89;
}

/* ===== 02. 選ばれる理由 ===== */

.home-support-strength {
  margin-top: 82px;
}

.home-support-strength-head {
  margin-bottom: 30px;
}

.home-support-strength-head .home-support-label {
  margin-bottom: 12px;
}

.home-support-strength-head h3 {
  margin: 0 0 12px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  color: #182d49;
}

.home-support-strength-head > p:last-child {
  font-size: 13px;
  line-height: 1.9;
  color: #64748a;
}

/* 左：4つの強み / 右：スタッフ写真 */
.home-support-strength-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  gap: 20px;
  align-items: stretch;
}

.home-support-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-support-benefit {
  min-width: 0;
  padding: 26px 22px;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 6px;
}

.home-support-num {
  display: block;
  margin-bottom: 20px;

  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #8aa9cc;
}

.home-support-benefit h4 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #1b3352;
}

.home-support-benefit p {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: #66768a;
}

/* スタッフ写真 */
.home-support-staff {
  position: relative;
  min-height: 420px;
  overflow: hidden;

  background-color: #14243a;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
}

.home-support-staff::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(10,18,36,.65) 100%
  );
}

.home-support-staff span {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 24px;

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  color: rgba(255,255,255,.9);
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {

  .home-support-photo {
    min-height: 340px;
  }

  .home-support-intro-body {
    padding: 28px;
  }

  .home-support-heading {
    font-size: 23px;
  }

  .home-support-strength-layout {
    grid-template-columns: 1fr;
  }

  .home-support-staff {
    min-height: 260px;
    background-position: center 40%;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {

  .home-support .section-head {
    margin-bottom: 30px;
  }

  .home-support-intro {
    grid-template-columns: 1fr;
  }

  .home-support-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .home-support-intro-body {
    padding: 26px 22px;
  }

  .home-support-label {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .home-support-heading {
    font-size: 21px;
    margin-bottom: 17px;
  }

  .home-support-copy {
    font-size: 12px;
    line-height: 1.9;
  }

  .home-support-emphasis {
    font-size: 12px;
  }

  .home-support-strength {
    margin-top: 55px;
  }

  .home-support-strength-head {
    margin-bottom: 22px;
  }

  .home-support-strength-head h3 {
    font-size: 21px;
  }

  .home-support-strength-head > p:last-child {
    font-size: 12px;
  }

  .home-support-strength-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* スマホでも2列でコンパクトに */
  .home-support-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-support-benefit {
    padding: 18px 14px;
  }

  .home-support-num {
    font-size: 19px;
    margin-bottom: 13px;
  }

  .home-support-benefit h4 {
    font-size: 12px;
    line-height: 1.55;
  }

  .home-support-benefit p {
    font-size: 11px;
    line-height: 1.8;
  }

  .home-support-staff {
    min-height: 0;
    aspect-ratio: 16 / 9;
    background-position: center 35%;
  }

  .home-support-staff span {
    left: 16px;
    bottom: 16px;
    font-size: 9px;
  }
}

/* 幅の狭いスマホでは読みやすさ優先 */
@media (max-width: 359px) {
  .home-support-benefits {
    grid-template-columns: 1fr;
  }
}




/* =========================================================
   HOME SECURITY / DEVICE
   PREMIUM PRODUCT DESIGN
   ========================================================= */

.home-device {
  background: #f5f7fa;
}

.home-device .section-head {
  margin-bottom: 48px;
}

.home-device-label {
  margin: 0 0 14px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #658ab7;
}

/* =========================================================
   01. RHS2 製品紹介
   ========================================================= */

.home-device-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 44px;

  padding: 28px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 10px;
}

.home-device-product-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;

  padding: 12px;
  background: #f3f6fa;
  border-radius: 6px;
}

.home-device-product-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

.home-device-product-body {
  min-width: 0;
  padding: 12px 8px 12px 0;
}

.home-device-product-title {
  margin: 0 0 22px;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .01em;
  color: #182e4a;
}

.home-device-product-text {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: #617187;
}

/* =========================================================
   02. 主な特長
   ========================================================= */

.home-device-features {
  margin-top: 80px;
}

.home-device-features-head {
  margin-bottom: 28px;
}

.home-device-heading {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  color: #182e4a;
}

.home-device-features-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px;
  align-items: stretch;
}

.home-device-feature-list {
  display: grid;
  gap: 10px;
}

.home-device-feature {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 16px;
  align-items: start;

  min-width: 0;
  padding: 21px 22px;

  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 6px;
}

.home-device-number {
  font-family: var(--font-en);
  font-size: 17px;
  font-weight: 700;
  color: #83a4c9;
}

.home-device-feature h4 {
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  color: #1d3554;
}

.home-device-feature p {
  margin: 0;
  font-size: 12px;
  line-height: 1.85;
  color: #65758b;
}

/* アプリ画像 */
.home-device-app-image {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 6px;
}

.home-device-app-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   03. RHS2 機能一覧
   ========================================================= */

.home-device-functions {
  margin-top: 84px;
  padding-top: 60px;
  border-top: 1px solid #dce5ef;
}

.home-device-functions-head {
  margin-bottom: 30px;
  text-align: center;
}

.home-device-functions-head .section-title {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 32px);
}

.home-device-function-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-device-function {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 0;
  min-height: 88px;
  padding: 18px 14px;

  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 5px;

  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
  text-align: center;
  overflow-wrap: anywhere;
  color: #294361;

  transition: border-color .3s ease,
              background .3s ease;
}

@media (hover: hover) {
  .home-device-function:hover {
    border-color: #8badcf;
    background: #f9fbfe;
  }
}

/* =========================================================
   TABLET / 768px〜1024px
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

  .home-device-product {
    gap: 26px;
    padding: 22px;
  }

  .home-device-product-title {
    font-size: 22px;
  }

  .home-device-features-layout {
    grid-template-columns: 1fr;
  }

  .home-device-app-image img {
    max-height: 340px;
  }

  .home-device-function-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   SMARTPHONE / 767px以下
   ========================================================= */

@media (max-width: 767px) {

  .home-device .section-head {
    margin-bottom: 30px;
  }

  /* 製品紹介 */
  .home-device-product {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .home-device-product-image {
    padding: 8px;
  }

  .home-device-product-image img {
    max-height: 240px;
  }

  .home-device-product-body {
    padding: 4px 5px 12px;
  }

  .home-device-label {
    font-size: 9px;
    margin-bottom: 12px;
  }

  .home-device-product-title {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.55;
  }

  .home-device-product-text {
    font-size: 12px;
    line-height: 1.9;
  }

  /* 主な特長 */
  .home-device-features {
    margin-top: 55px;
  }

  .home-device-features-head {
    margin-bottom: 22px;
  }

  .home-device-heading {
    font-size: 23px;
  }

  .home-device-features-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-device-feature-list {
    gap: 9px;
  }

  .home-device-feature {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 15px;
  }

  .home-device-number {
    font-size: 15px;
  }

  .home-device-feature h4 {
    font-size: 13px;
  }

  .home-device-feature p {
    font-size: 11px;
    line-height: 1.8;
  }

  .home-device-app-image {
    padding: 15px;
  }

  .home-device-app-image img {
    max-height: 300px;
  }

  /* 機能一覧 */
  .home-device-functions {
    margin-top: 55px;
    padding-top: 42px;
  }

  .home-device-functions-head {
    margin-bottom: 24px;
  }

  .home-device-functions-head .section-title {
    font-size: 23px;
  }

  .home-device-function-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-device-function {
    min-height: 72px;
    padding: 13px 9px;
    font-size: 11px;
    line-height: 1.6;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .home-device-function {
    transition: none;
  }
}



/* ---------- steps ---------- */
.steps { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.step { background:#fff; padding:32px 24px; border-top:2px solid var(--c-accent); }
.step-num { font-family:var(--font-en); font-size:11px; font-weight:700; letter-spacing:.2em; color:var(--c-accent); margin-bottom:14px; }
.step-title { font-size:16px; font-weight:700; color:var(--c-ink); margin-bottom:10px; line-height:1.5; }
.step-text { font-size:13px; line-height:1.9; color:var(--c-text-sub); }
@media (max-width:1000px){ .steps{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .steps{ grid-template-columns:1fr; } }

/* ---------- info table ---------- */
.info-table { border-top:1px solid var(--c-line); max-width:960px; margin:0 auto; }
.info-table > div { display:grid; grid-template-columns:200px 1fr; gap:24px; padding:20px 8px; border-bottom:1px solid var(--c-line); }
.info-table dt { font-size:14px; font-weight:600; color:var(--c-ink); }
.info-table dd { font-size:14px; line-height:1.9; color:var(--c-charcoal); }
.info-table dd a { text-decoration:underline; }
@media (max-width:640px){ .info-table > div{ grid-template-columns:1fr; gap:6px; } }

/* ---------- CTA band ---------- */
.cta-band { background:var(--c-ink); color:#fff; padding:96px 0; text-align:center; }
.cta-band .section-title { color:#fff; margin-bottom:16px; }
.cta-band .section-lead { color:rgba(255,255,255,.75); }
.cta-actions { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:36px; }
.cta-band .contact-tel-num { color:#fff; }







/* =========================================================
   GREETING / MINIMAL PRESIDENT MESSAGE
   PC・タブレット・スマホ対応
   ========================================================= */

#greeting {
  background: #fff;
}

#greeting .container {
  max-width: calc(1140px + var(--gutter) * 2);
}

#greeting .section-head {
  margin-bottom: 42px;
}

/* ===== 社長写真 ===== */
#greeting .greeting-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1.65 / 1;
  overflow: hidden;
  isolation: isolate;

  background: #eef2ef;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15,30,50,.08);
}

#greeting .greeting-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;

  filter: saturate(.97) contrast(1.025);
}

/* 左側だけほんのり白く、文字を読みやすく */
#greeting .greeting-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(245,249,247,.18) 0%,
    rgba(245,249,247,.07) 42%,
    transparent 65%
  );
}

/* ===== 写真の上の名言 ===== */
#greeting .greeting-quote {
  position: absolute;
  inset: 0;
  z-index: 2;

  margin: 0;
  padding: 0;

  font-family:
    "Shippori Mincho",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

  font-size: clamp(20px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.7;
  letter-spacing: .025em;
  color: #34383d;

  text-shadow: 0 1px 5px rgba(255,255,255,.40);
}

/* 名言の1行目・2行目 */
#greeting .greeting-quote span {
  position: absolute;
  display: block;
  white-space: nowrap;
}

#greeting .greeting-quote span:first-child {
  top: 35%;
  left: 2%;
}

#greeting .greeting-quote span:last-child {
  top: 47%;
  left: 20%;
}

/* ===== 本文 ===== */
#greeting .greeting-body {
  margin-top: 55px;

  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

  color: #333;
  letter-spacing: .03em;
}

#greeting .greeting-body p {
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 2;
  text-wrap: wrap;
  line-break: auto;
}

/* ===== 社長の署名：現行デザインを維持 ===== */
#greeting .greeting-body .greeting-sign {
  width: fit-content;
  margin: 60px 0 0 auto;

  font-family:
    "Noto Serif JP",
    "Hiragino Mincho ProN",
    "Yu Mincho",
    serif;

  font-size: 24px;
  font-weight: 700;
  letter-spacing: normal;
  white-space: nowrap;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1140px) {
  #greeting .greeting-quote {
    font-size: clamp(16px, 2.3vw, 25px);
  }

  #greeting .greeting-body {
    margin-top: 45px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {

  #greeting .greeting-visual {
    width: calc(100% + var(--gutter) * 2);
    margin: 0 calc(var(--gutter) * -1);

    aspect-ratio: 1.32 / 1;
    border-radius: 0;
    box-shadow: none;
  }

  #greeting .greeting-visual img {
    object-position: center 50%;
  }

  #greeting .greeting-quote {
    font-size: clamp(9px, 2.45vw, 12px);
    line-height: 1.6;
    letter-spacing: 0;
    text-shadow: 0 1px 3px rgba(255,255,255,.75);
  }

  #greeting .greeting-quote span:first-child {
    top: 34%;
    left: 2%;
  }

  #greeting .greeting-quote span:last-child {
    top: 46%;
    left: 20%;
  }

  #greeting .greeting-body {
    margin-top: 35px;
  }

  #greeting .greeting-body p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.95;
  }

  /* 署名の字間はそのまま */
  #greeting .greeting-body .greeting-sign {
    margin-top: 40px;
    font-size: 16px;
    letter-spacing: normal;
  }
}


/* ===== 名言がゆっくり浮かび上がる ===== */
@keyframes greetingQuoteFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1行目：3秒かけて表示 */
#greeting .greeting-quote span {
  animation: greetingQuoteFade 3s ease-out both;
}

/* 2行目：1秒遅れて表示 */
#greeting .greeting-quote span:last-child {
  animation-delay: 1s;
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  #greeting .greeting-quote span {
    animation: none;
  }
}







/* =========================================================
   CERTIFICATION & SDGs
   PC・タブレット・スマホ対応
   ========================================================= */

/* ===== セクション全体 ===== */
#certification {
  background: #f6f8fb;
}

#certification .section-head {
  margin-bottom: 44px;
}

#certification .section-lead {
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
  font-size: 13px;
  line-height: 1.95;
}

/* ===== 認定証：左右2列 ===== */
#certification .cert-wrap {
  display: grid;
  grid-template-columns:
    minmax(0, .95fr)
    minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

/* 認定証側 */
#certification .cert-frame {
  min-width: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid #dce5ef;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20,45,80,.05);
  text-align: center;
}

#certification .cert-frame > a {
  display: block;
}

#certification .cert-frame img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

/* PDFへのリンク */
#certification .cert-pdf-link {
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e7edf3;
  text-align: left;
}

#certification .cert-pdf-link a {
  color: #315e92;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

/* ===== 認定情報 ===== */
#certification .cert-wrap > div:last-child {
  min-width: 0;
}

#certification .cert-title {
  margin: 12px 0 26px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: #162b46;
}

#certification .cert-facts {
  margin: 0;
  border-top: 1px solid #dce4ee;
}

#certification .cert-facts > div {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #dce4ee;
}

#certification .cert-facts dt {
  font-size: 11px;
  font-weight: 700;
  color: #6489b7;
}

#certification .cert-facts dd {
  min-width: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #26384f;
}

/* ===== プライバシーマーク等 ===== */
#certification .badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  margin-top: 26px;
}

#certification .badges .badge {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;

  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 6px;
  box-shadow: none;
}

#certification .badges .badge img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex-shrink: 0;
}

#certification .badges .badge span {
  min-width: 0;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.6;
  color: #213a58;
  overflow-wrap: anywhere;
}

#certification .badges .badge small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  color: #7a8aa0;
}

/* =========================================================
   SDGs
   ========================================================= */

#certification .sdgs-section {
  margin-top: 100px;
  padding-top: 70px;
  border-top: 1px solid #dce4ee;
}

#certification .sdgs-section .section-head {
  margin-bottom: 38px;
}

/* アイコン一覧 */
#certification .sdgs-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;

  max-width: 900px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

/* SDGs画像は切り抜かず、正方形を維持 */
#certification .sdgs-grid img {
  display: block;
  width: 100%;
  max-width: 135px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

/* くまモン */
#certification .sdgs-kumamon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 38px auto 0;
  padding: 0;
  background: transparent;
}

#certification .sdgs-kumamon img {
  display: block;
  width: 190px;
  max-width: 45%;
  height: auto;
  object-fit: contain;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {

  #certification .cert-wrap {
    gap: 24px;
  }

  #certification .cert-frame {
    padding: 20px;
  }

  #certification .cert-title {
    font-size: 22px;
  }

  #certification .cert-facts > div {
    grid-template-columns: 75px minmax(0,1fr);
    gap: 10px;
  }

  #certification .badges {
    grid-template-columns: 1fr;
  }

  #certification .sdgs-grid {
    gap: 12px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {

  #certification .section-head {
    margin-bottom: 28px;
  }

  #certification .section-lead {
    font-size: 12px;
    line-height: 1.85;
  }

  /* 認定証を縦並び */
  #certification .cert-wrap {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  #certification .cert-frame {
    padding: 18px;
    border-radius: 6px;
  }

  #certification .cert-title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  #certification .cert-facts > div {
    grid-template-columns: 78px minmax(0,1fr);
    gap: 12px;
    padding: 13px 0;
  }

  #certification .cert-facts dt,
  #certification .cert-facts dd {
    font-size: 11px;
  }

  #certification .badges {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  #certification .badges .badge {
    padding: 12px;
  }

  #certification .badges .badge img {
    width: 45px;
    height: 45px;
  }

  /* SDGs */
  #certification .sdgs-section {
    margin-top: 60px;
    padding-top: 48px;
  }

  #certification .sdgs-section .section-head {
    margin-bottom: 28px;
  }

  #certification .sdgs-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
    max-width: 360px;
  }

  #certification .sdgs-grid img {
    max-width: 100%;
  }

  #certification .sdgs-kumamon {
    margin-top: 30px;
  }

  #certification .sdgs-kumamon img {
    width: 145px;
    max-width: 50%;
  }
}







/* =========================================================
   ACCESS / OFFICE LOCATIONS
   PC・タブレット・スマホ対応
   ========================================================= */

.section-access {
  background: #f7f9fc;
}

.section-access .section-head {
  margin-bottom: 44px;
}

.section-access .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* ===== 拠点一覧 ===== */
#access .map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

/* ===== 拠点カード ===== */
#access .map-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;

  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(20,45,80,.045);
}

/* ===== 拠点情報 ===== */
#access .access-info {
  padding: 28px 28px 22px;
  min-height: 190px;
}

#access .access-number {
  display: block;
  margin-bottom: 12px;

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: #6287b5;
}

#access .access-heading h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #172b47;
}

#access .access-address {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.85;
  color: #627287;
}

#access .access-tel {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: #627287;
}

#access .access-tel a {
  color: #244b7b;
  font-weight: 700;
}

/* ===== Googleマップ ===== */
#access .map-embed {
  position: relative;
  margin: 0 18px;
  overflow: hidden;
  aspect-ratio: auto;

  background: #e8eef5;
  border: 0;
  border-radius: 6px;
}

#access .map-embed iframe {
  display: block;
  width: 100%;
  height: 310px;
  border: 0;
}

/* ===== Googleマップへのリンク ===== */
#access .access-map-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  margin-top: auto;
  padding: 20px 28px;

  color: #315f92;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;

  transition: background .3s ease, color .3s ease;
}

#access .access-map-link span {
  font-size: 18px;
  font-weight: 400;
}

/* ホバー */
@media (hover: hover) {
  #access .access-map-link:hover {
    opacity: 1;
    background: #edf3fa;
    color: #183e69;
  }
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  #access .map-grid {
    gap: 16px;
  }

  #access .access-info {
    padding: 24px 20px 18px;
    min-height: 180px;
  }

  #access .map-embed iframe {
    height: 260px;
  }

  #access .access-map-link {
    padding: 17px 20px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .section-access .section-head {
    margin-bottom: 30px;
  }

  #access .map-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #access .map-card {
    border-radius: 8px;
  }

  #access .access-info {
    min-height: 0;
    padding: 22px 20px 18px;
  }

  #access .access-number {
    margin-bottom: 9px;
    font-size: 9px;
  }

  #access .access-heading h3 {
    margin-bottom: 12px;
    font-size: 21px;
  }

  #access .access-address,
  #access .access-tel {
    font-size: 12px;
  }

  #access .map-embed {
    margin: 0 12px;
  }

  #access .map-embed iframe {
    height: 240px;
  }

  #access .access-map-link {
    padding: 17px 20px;
    font-size: 12px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  #access .access-map-link {
    transition: none;
  }
}



/* ---------- Color24 ---------- */

/* =========================================================
   Color24 / PRODUCT DESIGN
   PC・タブレット・スマホ対応
   ========================================================= */

/* 発売中バッジ */

/* =========================================================
   COLOR24 / PREMIUM PRODUCT DESIGN
   PC・タブレット・スマホ対応
   ========================================================= */

/* 発売中バッジ */
.c24-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 16px;
  background: var(--c-grad);
  color: #fff;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
}

/* ===== PC：左右の上端を揃える ===== */
.c24-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

/* ===== カメラ2台 ===== */
.c24-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.c24-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: 24px 14px 22px;

  text-align: center;
  background: #fff;
  border: 1px solid #dce5f0;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(25, 50, 85, .05);
}

/* カメラ写真 */
.c24-product img {
  display: block;
  width: 100%;
  height: 145px;
  aspect-ratio: auto;
  object-fit: contain;
  margin-bottom: 18px;
}

/* 英語ラベル */
.c24-type {
  display: block;
  margin-bottom: 7px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #7297c3;
}

/* 商品名 */
.c24-product h4 {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  color: #1b304d;
}

/* 基本性能 */
.c24-product .c24-product-spec {
  margin: 0 0 9px;
  font-size: 11px;
  line-height: 1.5;
  color: #65758c;
}

/* 補助光の距離 */
.c24-product .c24-product-range {
  width: 100%;
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid #e8edf4;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
  color: #4978ad;
}

/* ===== フルカラー監視のメリット ===== */
#color24 .c24-benefits-title {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
  margin-bottom: 20px;
}

#color24 .check-list.c24-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: none;
  margin: 0;
  padding: 0;
}

#color24 .c24-benefits > li {
  position: relative;
  min-width: 0;
  padding: 16px 18px 16px 54px;

  background: rgba(255,255,255,.8);
  border: 1px solid #e0e7f1;
  border-radius: 9px;

  font-size: 13px;
  line-height: 1.8;
  color: #35465f;
}

/* メリットのチェックアイコン */
#color24 .c24-benefits > li::before {
  content: "✓";
  position: absolute;
  top: 18px;
  left: 17px;

  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;

  border: 0;
  border-radius: 50%;
  background: #e8f0f9;
  color: #4978ad;
  font-size: 12px;
  font-weight: 700;
}

#color24 .c24-benefits > li::after {
  content: none;
  display: none;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .c24-hero {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .c24-products {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .c24-product img {
    height: 170px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .c24-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .c24-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .c24-product {
    padding: 18px 9px;
    border-radius: 10px;
  }

  .c24-product img {
    height: 95px;
    margin-bottom: 12px;
  }

  .c24-type {
    font-size: 8px;
    letter-spacing: .08em;
  }

  .c24-product h4 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .c24-product .c24-product-spec,
  .c24-product .c24-product-range {
    font-size: 10px;
  }

  #color24 .c24-benefits-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  #color24 .c24-benefits > li {
    padding: 14px 12px 14px 44px;
    font-size: 12px;
  }

  #color24 .c24-benefits > li::before {
    top: 15px;
    left: 12px;
    width: 21px;
    height: 21px;
  }
}



/* =========================================================
   COLOR24 / TECHNICAL FEATURES
   横幅いっぱい・メーカー仕様表風
   ========================================================= */

#color24 .c24-spec-block {
  margin: 45px auto 0;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 10px;
}

#color24 .c24-spec-label {
  margin-bottom: 6px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #7093bc;
}

#color24 .c24-spec-title {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 700;
  color: #1b304d;
}

/* 仕様一覧 */
#color24 .c24-spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}

#color24 .c24-spec-table > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  align-items: start;
  gap: 14px;

  padding: 13px 0;
  border-bottom: 1px solid #e7edf4;
}

#color24 .c24-spec-table dt {
  font-size: 12px;
  font-weight: 700;
  color: #5278a7;
}

#color24 .c24-spec-table dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  line-height: 1.75;
  color: #44546a;
}

/* タブレット */
@media (max-width: 1024px) {
  #color24 .c24-spec-block {
    padding: 25px 22px;
  }

  #color24 .c24-spec-table {
    grid-template-columns: 1fr;
  }
}

/* スマホ */
@media (max-width: 767px) {
  #color24 .c24-spec-block {
    margin-top: 30px;
    padding: 22px 17px;
    border-radius: 10px;
  }

  #color24 .c24-spec-title {
    font-size: 18px;
    margin-bottom: 14px;
  }

  #color24 .c24-spec-table > div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }

  #color24 .c24-spec-table dt {
    font-size: 11px;
  }

  #color24 .c24-spec-table dd {
    font-size: 11px;
    line-height: 1.7;
  }
}


.c24-compare { margin-top:56px; }
.c24-compare img { width:100%; height:auto; display:block; }
.spec-list { display:grid; gap:12px; margin-top:28px; }
.spec-list li { display:grid; grid-template-columns:140px 1fr; gap:16px; font-size:14px; padding-bottom:10px; border-bottom:1px solid var(--c-line); color:var(--c-charcoal); }
.spec-list li span:first-child { color:var(--c-accent); font-weight:600; }
.section-dark .spec-list li { border-color:rgba(255,255,255,.12); color:rgba(255,255,255,.85); }
.section-dark .spec-list li span:first-child { color:var(--c-accent-soft); }
.credit { font-size:12px; color:var(--c-text-sub); margin-top:16px; line-height:1.8; }
.credit a { text-decoration:underline; }
.section-dark .credit { color:rgba(255,255,255,.55); }
.top-c24 { display:flex; align-items:center; gap:16px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); padding:16px 20px; margin:28px 0 8px; }
.top-c24 img { width:96px; height:72px; object-fit:contain; flex-shrink:0; }
.top-c24 strong { display:block; font-size:15px; color:#fff; margin-bottom:2px; }
.top-c24 span { font-size:12px; color:rgba(255,255,255,.7); }
.camera-actions { display:flex; gap:12px; flex-wrap:wrap; margin-top:24px; }




/* =========================================================
   OUR STRENGTH / PROFESSIONAL SECURITY
   PC・タブレット・スマホ対応
   ========================================================= */

.section-planner {
  background: #fff;
  padding: 85px 0 95px;
}

/* セクション見出し */
.section-planner .section-head {
  margin-bottom: 48px;
}

.section-planner .section-title {
  margin-bottom: 16px;
  font-size: clamp(28px, 3vw, 38px);
}

.section-planner .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* ===== PC：写真左・文章右 ===== */
#camera-strength .planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 55px;
  align-items: center;
}

/* ===== 写真 ===== */
#camera-strength .planner-visual {
  position: relative;
  min-width: 0;
}

#camera-strength .planner-img {
  width: 100%;
  aspect-ratio: 4 / 4.5;
  max-width: none;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 40%;

  border-radius: 3px;
}

/* 写真下の英語ラベル */
#camera-strength .planner-photo-label {
  position: absolute;
  bottom: 20px;
  left: 22px;
  padding: 7px 11px;

  background: rgba(10, 20, 39, .76);
  color: #fff;

  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .19em;
}

/* ===== 右側：文章 ===== */
#camera-strength .planner-content {
  min-width: 0;
}

#camera-strength .planner-eyebrow {
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  color: #5c83b3;
}

#camera-strength .planner-title {
  margin-bottom: 24px;

  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .025em;
  color: #14243c;
}

#camera-strength .planner-description {
  margin: 0 0 22px;

  font-size: 14px;
  font-weight: 400;
  line-height: 2;
  color: #5f6e82;
}

/* ===== 専門資格 ===== */
#camera-strength .planner-cert {
  margin: 8px 0 24px;
  padding: 22px 0;

  border-top: 1px solid #dfe6ef;
  border-bottom: 1px solid #dfe6ef;
}

#camera-strength .planner-cert-label {
  margin-bottom: 12px;

  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #7291b8;
}

#camera-strength .planner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
}

#camera-strength .planner-tags span {
  display: inline-block;
  padding: 8px 13px;

  background: #edf3fa;
  border: 1px solid #e0e9f4;
  border-radius: 3px;

  color: #416895;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .025em;
}

/* ===== お問い合わせリンク ===== */
#camera-strength .planner-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 12px 0;
  border-bottom: 1px solid #688bb5;

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  color: #315b89;

  transition: gap .3s ease, color .3s ease;
}

#camera-strength .planner-link span {
  font-size: 17px;
}

@media (hover: hover) {
  #camera-strength .planner-link:hover {
    opacity: 1;
    gap: 34px;
    color: #183e69;
  }
}

/* =========================================================
   タブレット / 768〜1024px
   ========================================================= */
@media (min-width: 768px) and (max-width: 1024px) {

  .section-planner {
    padding: 70px 0 80px;
  }

  #camera-strength .planner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
  }

  #camera-strength .planner-img {
    aspect-ratio: 4 / 5;
  }

  #camera-strength .planner-title {
    font-size: 22px;
  }

  #camera-strength .planner-description {
    font-size: 12px;
    line-height: 1.85;
  }

  #camera-strength .planner-tags span {
    font-size: 11px;
  }
}

/* =========================================================
   スマホ / 767px以下
   ========================================================= */
@media (max-width: 767px) {

  .section-planner {
    padding: 55px 0 65px;
  }

  .section-planner .section-head {
    margin-bottom: 30px;
  }

  .section-planner .section-title {
    font-size: clamp(23px, 6vw, 29px);
  }

  .section-planner .section-lead {
    font-size: 12px;
  }

  #camera-strength .planner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  #camera-strength .planner-img {
    aspect-ratio: 16 / 11;
    background-position: center 35%;
  }

  #camera-strength .planner-photo-label {
    left: 14px;
    bottom: 14px;
    font-size: 8px;
  }

  #camera-strength .planner-eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }

  #camera-strength .planner-title {
    margin-bottom: 16px;
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.7;
  }

  #camera-strength .planner-description {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.9;
  }

  #camera-strength .planner-cert {
    padding: 18px 0;
    margin: 6px 0 20px;
  }

  #camera-strength .planner-tags {
    gap: 8px;
  }

  #camera-strength .planner-tags span {
    padding: 7px 10px;
    font-size: 11px;
  }

  #camera-strength .planner-link {
    font-size: 12px;
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  #camera-strength .planner-link {
    transition: none;
  }
}




/* ---------- icon grid / price ---------- */
.icon-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.icon-card { background:#fff; padding:32px 28px; border:1px solid var(--c-line); text-align:center; }
.icon-card img { width:96px; height:96px; object-fit:contain; margin:0 auto 20px; display:block; }
.icon-card h3 { font-size:17px; font-weight:700; color:var(--c-ink); margin-bottom:10px; line-height:1.5; }
.icon-card p { font-size:13px; line-height:1.9; color:var(--c-text-sub); text-align:left; }
@media (max-width:900px){ .icon-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .icon-grid{ grid-template-columns:1fr; } }
.price-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.price-card { background:#fff; padding:32px 28px; border:1px solid var(--c-line); }
.price-card h3 { font-size:18px; font-weight:700; color:var(--c-ink); margin-bottom:8px; }
.price-card .price { font-family:var(--font-en); font-size:26px; font-weight:700; color:var(--c-accent); margin-bottom:12px; }
.price-card p { font-size:13px; line-height:1.9; color:var(--c-text-sub); }
@media (max-width:800px){ .price-grid{ grid-template-columns:1fr; } }



/* =========================================================
   CAMERA LINEUP / PRODUCT CATALOG
   PC・タブレット・スマホ対応
   ========================================================= */

.camera-lineup {
  background: #f5f7fa;
  padding: 85px 0 95px;
}

.camera-lineup .section-head {
  margin-bottom: 54px;
}

.camera-lineup .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* ===== カテゴリー ===== */
.camera-lineup-group + .camera-lineup-group {
  margin-top: 52px;
}

.camera-lineup-heading {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #d8e2ed;
}

.camera-lineup-index {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #6487b2;
  white-space: nowrap;
}

.camera-lineup-heading h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: #192f4b;
}

/* ===== 製品一覧 ===== */
.camera-lineup-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.camera-lineup-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe7f0;
  border-radius: 5px;
}

/* 写真用スペース */
.camera-lineup-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 14px;

  background: linear-gradient(145deg, #f7f9fc, #eaf0f7);
  border-bottom: 1px solid #e9eef4;
}

/* 画像未登録時の仮表示 */
.camera-lineup-placeholder {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.7;
  text-align: center;
  color: #a2b4c8;
}

/* 後から写真を追加した場合 */
.camera-lineup-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 製品名 */
.camera-lineup-body {
  padding: 18px 16px 20px;
}

.camera-lineup-code {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .15em;
  color: #7897bb;
}

.camera-lineup-body h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  color: #1d3453;
}

/* 最後の案内 */
.camera-lineup-note {
  margin: 52px auto 0;
  padding: 24px 28px;
  max-width: 850px;
  text-align: center;
  background: #fff;
  border-left: 2px solid #7298c4;
  color: #62748a;
  font-size: 13px;
  line-height: 2;
}

/* ===== タブレット ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .camera-lineup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
  }

  .camera-lineup-body {
    padding: 16px 13px;
  }

  .camera-lineup-body h4 {
    font-size: 13px;
  }
}

/* ===== スマホ ===== */
@media (max-width: 767px) {
  .camera-lineup {
    padding: 55px 0 65px;
  }

  .camera-lineup .section-head {
    margin-bottom: 32px;
  }

  .camera-lineup .section-lead {
    font-size: 12px;
  }

  .camera-lineup-group + .camera-lineup-group {
    margin-top: 38px;
  }

  .camera-lineup-heading {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .camera-lineup-heading h3 {
    font-size: 16px;
  }

  .camera-lineup-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .camera-lineup-visual {
    aspect-ratio: 4 / 3;
    padding: 10px;
  }

  .camera-lineup-placeholder {
    font-size: 8px;
    letter-spacing: .07em;
  }

  .camera-lineup-body {
    padding: 13px 11px 16px;
  }

  .camera-lineup-code {
    font-size: 8px;
  }

  .camera-lineup-body h4 {
    font-size: 12px;
    line-height: 1.5;
  }

  .camera-lineup-note {
    margin-top: 35px;
    padding: 18px;
    font-size: 11px;
    line-height: 1.9;
    text-align: left;
  }
}




/* ---------- legal ---------- */
.legal { max-width:860px; margin:0 auto; }
.legal > p { font-size:14px; line-height:2; color:var(--c-charcoal); margin-bottom:16px; }
.legal h3 { font-size:20px; font-weight:700; color:var(--c-ink); margin:56px 0 16px; padding-bottom:12px; border-bottom:1px solid var(--c-line); }
.legal h4 { font-size:16px; font-weight:700; color:var(--c-ink); margin:32px 0 10px; }
.legal ol { list-style:decimal; padding-left:1.6em; display:grid; gap:10px; }
.legal li { font-size:14px; line-height:2; color:var(--c-charcoal); }
.legal table { width:100%; border-collapse:collapse; font-size:14px; margin-top:10px; }
.legal th, .legal td { border:1px solid var(--c-line); padding:10px 14px; text-align:left; vertical-align:top; line-height:1.8; }
.legal th { background:var(--c-light); font-weight:600; width:42%; }
.legal .sign { margin-top:32px; line-height:2; font-size:14px; color:var(--c-charcoal); }
.legal .pmark { display:flex; align-items:center; gap:16px; margin:24px 0; }
.legal .pmark img { width:80px; height:80px; }

.client-body > .client-list:last-child { margin-bottom: 0; }

/* ---------- header logo (SVG) ---------- */
.logo-img { display:block; height:48px; width:auto; }
.logo .logo-text { padding-left:14px; border-left:1px solid rgba(255,255,255,.22); line-height:1.2; }
@media (max-width:768px){ .logo-img{ height:40px; } .logo{ gap:10px; } .logo .logo-text{ font-size:12px; padding-left:10px; } }
.logo { flex-shrink:0; }
.logo-text, .gnav-list a, .gnav-tel .tel-num { white-space:nowrap; }
@media (min-width:1025px){
  .gnav { gap:24px; }
  .gnav-list { gap:20px; }
}
@media (min-width:1025px) and (max-width:1320px){
  .logo .logo-text { display:none; }
  .gnav-list { gap:16px; }
  .gnav-list a { font-size:12.5px; }
  .gnav-tel { padding:8px 14px; }
}

/* ---------- social (Instagram only) ---------- */
.social-grid.is-single { grid-template-columns:1fr; max-width:520px; }
.social-grid.is-single .social-card { text-align:center; }
.social-follow { display:inline-block; margin-top:20px; font-size:13px; font-weight:600; color:var(--c-accent); letter-spacing:.06em; }

/* ---------- certification strip (above footer) ---------- */
.cert-strip { background:#fff; border-top:1px solid var(--c-line); padding:44px 0; }
.cert-strip-inner { display:flex; align-items:center; justify-content:center; gap:clamp(24px,5vw,64px); flex-wrap:wrap; }
.cert-marks { display:flex; align-items:center; gap:clamp(20px,3.5vw,44px); flex-wrap:wrap; justify-content:center; }
.cert-marks img { height:76px; width:auto; object-fit:contain; }
.cert-marks li:first-child img { height:92px; }
.cert-pdf-btn {
  display:inline-flex; flex-direction:column; align-items:center; gap:4px;
  background:var(--c-grad); color:#fff; font-size:15px; font-weight:700; letter-spacing:.06em;
  padding:18px 34px; border-radius:4px; text-align:center;
  box-shadow:0 10px 26px -12px rgba(31,45,69,.6); transition:transform .25s ease, box-shadow .25s ease;
}
.cert-pdf-btn:hover { opacity:1; transform:translateY(-2px); box-shadow:0 14px 30px -12px rgba(31,45,69,.75); }
.cert-pdf-note { font-size:11px; font-weight:500; letter-spacing:.04em; opacity:.85; }
.cert-pdf-link { margin-top:14px; font-size:13px; font-weight:600; color:var(--c-accent); }
.cert-pdf-link a { text-decoration:underline; }
@media (max-width:768px){
  .cert-strip { padding:32px 0; }
  .cert-marks img { height:58px; }
  .cert-marks li:first-child img { height:72px; }
  .cert-pdf-btn { width:100%; max-width:340px; padding:16px 24px; font-size:14px; }
}

/* ---------- point cards (photo-less service items) ---------- */
.point-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:28px; }
.point-card { background:#fff; border:1px solid var(--c-line); border-top:2px solid var(--c-accent); padding:36px 32px; }
.point-num { font-family:var(--font-en); font-size:12px; font-weight:700; letter-spacing:.2em; color:var(--c-accent); margin-bottom:14px; }
.point-title { font-size:20px; font-weight:700; line-height:1.5; letter-spacing:.04em; color:var(--c-ink); margin-bottom:10px; }
.point-sub { font-size:14px; font-weight:600; color:var(--c-accent); line-height:1.7; margin-bottom:12px; }
.point-text { font-size:14px; line-height:2; color:var(--c-text-sub); }
.recruit-lead-box { max-width:860px; }
.section-dark .recruit-lead-box .feature-title { color:#fff; }
@media (max-width:860px){ .point-grid{ grid-template-columns:1fr; gap:20px; } .point-card{ padding:28px 24px; } }



/* =========================================================
   TRAFFIC SERVICES / 3 PREMIUM CARDS
   ========================================================= */

.traffic-services {
  background: #f7f9fc;
}

.traffic-services .section-head {
  margin-bottom: 45px;
}

.traffic-services .section-lead {
  font-size: 13px;
  line-height: 1.9;
}

/* ===== PC：3列 ===== */
.traffic-services .traffic-point-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.traffic-services .point-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;

  padding: 30px 26px 32px;
  background: #fff;
  border: 1px solid #dce5f0;
  border-top: 3px solid #5d86b6;
  border-radius: 5px;
  box-shadow: none;
}

/* 番号 */
.traffic-services .point-num {
  margin: 0 0 22px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #668cba;
}

/* 見出し */
.traffic-services .point-title {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0;
  color: #182d49;
}

/* リード文 */
.traffic-services .point-sub {
  margin: 0 0 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid #e8edf4;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
  color: #4f7aa9;
}

/* 説明文 */
.traffic-services .point-text {
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
  color: #647287;
}

/* ===== タブレット：2列 ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  .traffic-services .traffic-point-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .traffic-services .point-card {
    padding: 26px 22px;
  }

  .traffic-services .point-title {
    font-size: 17px;
  }

  .traffic-services .point-text {
    font-size: 12px;
  }

  /* 3枚目を横幅いっぱいに */
  .traffic-services .point-card:last-child {
    grid-column: 1 / -1;
  }
}

/* ===== スマホ：1列 ===== */
@media (max-width: 767px) {
  .traffic-services .section-head {
    margin-bottom: 28px;
  }

  .traffic-services .traffic-point-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .traffic-services .point-card {
    padding: 23px 20px;
  }

  .traffic-services .point-num {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .traffic-services .point-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .traffic-services .point-sub {
    font-size: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .traffic-services .point-text {
    font-size: 12px;
    line-height: 1.85;
  }
}



/* ---------- legal: customer harassment policy ---------- */
.legal h3.legal-first { margin-top:0; }
.legal-table-cat th { width:30%; white-space:nowrap; }
.legal-bullets { display:grid; gap:10px; margin:0 0 20px; }
.legal-bullets li { position:relative; padding-left:1.4em; }
.legal-bullets li::before { content:"○"; position:absolute; left:0; color:var(--c-accent); }
@media (max-width:640px){ .legal-table-cat th { width:auto; white-space:normal; } }
/* footer bottom: policy links */
.footer-policies { display:flex; flex-wrap:wrap; gap:8px 24px; }
.footer-col a.nowrap-phrase { word-break:keep-all; }

/* =========================================================
   Japanese line breaking (2026-10 mobile fix)
   Headings / leads / cells carry BudouX <wbr> phrase breaks;
   keep-all makes the browser break only at those points.
========================================================= */
h1, h2, h3, h4, dd, td, th, li,
.section-lead, .hero-sub, .intro-text, .page-hero-lead, .footer-tag, .client-copy,
.social-text, .contact-tel-note, .feature-sub, .point-sub, .greeting-sign,
.notice-box, .cert-pdf-link, .map-card p, .legal .sign {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}
.section-title, .hero-copy, .page-hero h1 { overflow-wrap: anywhere; text-wrap: balance; }
h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
.legal li { word-break: normal; }   /* legal body text: standard wrapping */

/* grid/flex children must be allowed to shrink below their content width */
.camera-inner > *, .area-inner > *, .feature-row > *, .c24-hero > *, .planner > *,
.greeting > *, .cert-wrap > *, .map-grid > *, .clients-grid > *, .service-grid > *,
.why-grid > *, .point-grid > *, .steps > *, .icon-grid > *, .price-grid > *,
.footer-inner > *, .footer-nav > *, .cert-strip-inner > * { min-width: 0; }

@media (max-width: 768px) {
  .section-title { font-size: 23px; letter-spacing: .02em; line-height: 1.6; }
  .recruit-title { font-size: 24px; }
  .page-hero h1 { font-size: 26px; letter-spacing: .02em; line-height: 1.5; }
  .section-head { margin-bottom: 48px; }
  .section-lead { font-size: 14px; letter-spacing: .02em; line-height: 1.95; }
  .hero-sub { font-size: 14px; letter-spacing: .02em; }
  .page-hero-lead { font-size: 14px; }
  .intro-text { font-size: 15px; }
  .feature-title { font-size: 19px; }
  .why-title { font-size: 18px; }
  .footer-tag { font-size: 12.5px; }
}

/* grid column variants (replaces inline styles so mobile rules can apply) */
.lineup-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.lineup-grid.cols-5 { grid-template-columns: repeat(5,1fr); }
.lineup-grid.cols-2-narrow { grid-template-columns: repeat(2,1fr); max-width:600px; margin:0 auto 48px; }
.steps.cols-3 { grid-template-columns: repeat(3,1fr); }
.icon-grid.cols-4 { grid-template-columns: repeat(4,1fr); }
.why-grid.cols-2-narrow { grid-template-columns: 1fr 1fr; max-width:900px; margin:0 auto; }
@media (max-width: 1000px) {
  .lineup-grid.cols-5, .lineup-grid.cols-4 { grid-template-columns: repeat(3,1fr); }
  .icon-grid.cols-4 { grid-template-columns: repeat(2,1fr); }
  .steps.cols-3 { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px) {
  .lineup-grid.cols-5, .lineup-grid.cols-4, .lineup-grid.cols-2-narrow { grid-template-columns: repeat(2,1fr); }
  .icon-grid.cols-4, .steps.cols-3, .why-grid.cols-2-narrow { grid-template-columns: 1fr; }
  .lineup-item { padding: 20px 12px; font-size: 12.5px; }
  /* spec list: label above value on phones */
  .spec-list li { grid-template-columns: 1fr; gap: 2px; }
}
/* body text: no line may start with ー, small kana, closing brackets */
p, li, dd, td, th { line-break: strict; }

.btn { word-break: keep-all; overflow-wrap: anywhere; }
.btn .btn-en { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 640px) {
  .legal table { font-size: 13px; }
  .legal th, .legal td { padding: 8px 10px; }
  .legal th { width: 40%; }
  /* category table: stack label above examples */
  .legal-table-cat, .legal-table-cat tbody, .legal-table-cat tr, .legal-table-cat th, .legal-table-cat td { display: block; width: auto; }
  .legal-table-cat td { border-top: none; margin-bottom: 10px; }
}

/* ---------- contact form states ---------- */
.hp-field { position:absolute !important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.field-error { margin-top:8px; font-size:13px; color:#B03A3A; }
.form-row [aria-invalid="true"] { border-color:#B03A3A; }
.form-status { margin-top:8px; text-align:center; font-size:14px; color:var(--c-accent); }
.form-status.is-error { color:#B03A3A; }
.contact-form button[disabled] { opacity:.6; cursor:wait; transform:none; }
.form-done { max-width:720px; margin:0 auto; background:#fff; padding:56px clamp(24px,5vw,56px); text-align:center; border-top:2px solid var(--c-accent); }
.form-done:focus { outline:none; }
.form-done-title { font-size:22px; font-weight:700; color:var(--c-ink); margin:4px 0 16px; }
.form-done p { font-size:14px; line-height:2; color:var(--c-charcoal); }
.form-done-note { margin-top:12px; font-size:13px !important; color:var(--c-text-sub) !important; }
.news-item .news-row { display:grid; grid-template-columns:140px 120px 1fr; gap:32px; padding:28px 8px; align-items:center; }
@media (max-width:768px){
  .news-item .news-row { grid-template-columns:auto auto; grid-template-areas:"date cat" "title title"; gap:8px 16px; padding:22px 4px; }
}


/* 会社案内などのページ上部・スマホ用説明文 */

/* スマホ版：ページ上部の説明文 */
@media (max-width: 767px) {
  .page-hero-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-hero-lead {
    max-width: 100%;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;
    letter-spacing: 0;
    color: rgba(255,255,255,0.95);
    text-shadow: 0 1px 3px rgba(0,0,0,0.35);
  }

  .page-hero-lead br {
  display: none;
}
}




/* 社長ごあいさつ：スマホ版の本文調整 */
@media (max-width: 767px) {
  .greeting-body {
    margin-top: 65px;
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.01em;
    color: #333;
  }

  .greeting-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;
    margin-bottom: 20px;
    letter-spacing: 0.01em;
  }

  .greeting-body p.greeting-sign {
    font-family: "Noto Serif JP", serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
    margin: 40px 0 0 auto;
  }
}


/* =========================================================
   HSK HERO EFFECTS / 統合管理
   背景ズーム → 丸い光 → ネットワーク → 文字演出
   ※ CTAボタンはこの直後にまとめて管理
   ========================================================= */

/* 1. 背景写真：11秒でゆっくり、でも分かるズーム */
.hero-bg {
  transform-origin: center center;
  will-change: transform;
  animation: heroZoom 11s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.14); }
}






/* ==========================================
   HERO スマホ背景・完成版
   左側モニター群を全画面表示
   背景を少し暗くして文字を読みやすく
   ========================================== */

@media (max-width: 767px) {

  /* ヒーロー全体の背景色 */
  .hero {
    background-color: #08111f;
  }

  /* 背景画像：人物を映さず左側を表示 */
  .hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    /* 写真を全画面に表示 */
    background-size: cover, cover;
    background-position: left center, center center;
    background-repeat: no-repeat, no-repeat;

    /* 切り抜き・フェードなし */
    -webkit-mask-image: none;
    mask-image: none;

    /* 控えめなズーム */
    transform-origin: left center;
    animation: heroZoomMobile 12s ease-in-out infinite alternate;
  }

  /* 背景を少し暗くして白文字を見やすく */
  .hero .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(8,15,29,.85) 0%,
      rgba(8,15,29,.79) 45%,
      rgba(8,15,29,.88) 100%
    );
  }
}

/* スマホ専用の背景ズーム */
@keyframes heroZoomMobile {
  from {
    transform: scale(1.01);
  }
  to {
    transform: scale(1.07);
  }
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .hero .hero-bg {
    animation: none;
    transform: scale(1.01);
  }
}






/* 2. 丸い光：画面に柔らかく漂う2レイヤー */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(circle at 18% 30%, rgba(210,235,255,.22), rgba(210,235,255,.10) 10%, transparent 22%),
    radial-gradient(circle at 72% 24%, rgba(165,215,255,.18), rgba(165,215,255,.08) 12%, transparent 26%),
    radial-gradient(circle at 82% 70%, rgba(185,225,255,.16), rgba(185,225,255,.07) 10%, transparent 24%);
  filter: blur(8px);
  animation: heroFloatLightA 16s ease-in-out infinite alternate;
}

.hero::after {
  background:
    radial-gradient(circle at 30% 72%, rgba(255,255,255,.16), rgba(255,255,255,.07) 10%, transparent 22%),
    radial-gradient(circle at 58% 42%, rgba(175,220,255,.16), rgba(175,220,255,.06) 12%, transparent 24%),
    radial-gradient(circle at 88% 38%, rgba(215,240,255,.14), rgba(215,240,255,.05) 10%, transparent 22%);
  filter: blur(10px);
  animation: heroFloatLightB 20s ease-in-out infinite alternate;
}

@keyframes heroFloatLightA {
  0%   { transform: translate(-2%, -1%) scale(1); opacity: .75; }
  35%  { transform: translate(2%, 2%) scale(1.08); opacity: 1; }
  70%  { transform: translate(-1%, 3%) scale(1.04); opacity: .85; }
  100% { transform: translate(3%, -2%) scale(1.10); opacity: .95; }
}

@keyframes heroFloatLightB {
  0%   { transform: translate(2%, 1%) scale(1); opacity: .6; }
  40%  { transform: translate(-2%, 3%) scale(1.06); opacity: .9; }
  75%  { transform: translate(1%, -2%) scale(1.10); opacity: .8; }
  100% { transform: translate(-3%, 2%) scale(1.04); opacity: .95; }
}

/* 3. 写真の奥行きを維持 */
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8,15,29,.86) 0%, rgba(12,23,43,.68) 45%, rgba(14,29,53,.40) 100%),
    linear-gradient(180deg, rgba(8,15,29,.12) 0%, rgba(8,15,29,.48) 100%);
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(180deg, rgba(8,15,29,.82) 0%, rgba(8,15,29,.72) 50%, rgba(8,15,29,.88) 100%);
  }
}

/* 4. JSが描画するネットワーク：既存JSはそのまま */
.hero { isolation: isolate; }
.hero-network-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }

/* 5. キャッチコピー：明朝体＋タイトル下の光 */
.hero-copy {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1.45;
  color: #fff;
  position: relative;
  padding-bottom: 28px;
  text-shadow: 0 3px 16px rgba(0,0,0,.35), 0 0 30px rgba(115,175,235,.12);
  animation: heroTitleReveal 1.5s cubic-bezier(.22,1,.36,1) .35s both;
}

.hero-copy::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 110px;
  height: 2px;
  background: linear-gradient(90deg, #a9dfff 0%, #5b8fc4 65%, transparent 100%);
  transform-origin: left;
  animation: heroLineReveal 1.2s ease-out 1.25s both;
}

.hero-en  { animation: heroFadeUp .9s ease-out .2s both; }
.hero-sub { animation: heroFadeUp 1.1s ease-out .9s both; }
/* CTAには個別の登場アニメーションがあるので、親は動かさない */

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroTitleReveal {
  from { opacity: 0; transform: translateY(38px); filter: blur(7px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes heroLineReveal {
  from { opacity: 0; transform: scaleX(0); }
  to   { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 767px) {
  .hero-copy { letter-spacing: .03em; line-height: 1.5; padding-bottom: 22px; }
  .hero-copy::after { width: 75px; }
}

/* 6. 動きを減らす設定（ヒーロー全体） */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; transform: scale(1.02); will-change: auto; }
  .hero::before, .hero::after, .hero-en, .hero-copy, .hero-sub,
  .hero-copy::after { animation: none; }
  .hero-network-canvas { display: none; }
  .hero-copy { opacity: 1; transform: none; filter: none; }
  .hero-copy::after { opacity: 1; transform: none; }
}


/* ==========================================
   HSK PREMIUM HERO CTA
   PC・スマホ共通デザイン
   メタリックな光 ＋ 登場アニメーション
   ========================================== */

/* ===== PC・共通：ボタンの配置 ===== */
.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
  width: 100%;
  margin-top: 0;
}

/* ===== 全ボタン共通 ===== */
.hero .hero-ctas .btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  min-width: 0;
  min-height: 62px;
  padding: 17px 25px;

  border-radius: 5px;

  font-size: 14px;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.5;

  color: #fff;
  text-align: center;
  opacity: 1;

  transition:
    transform .35s cubic-bezier(.2,.8,.2,1),
    background .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;

  /* 3つのボタンが順番に登場 */
  animation:
    hskCtaAppear .8s
    cubic-bezier(.22,1,.36,1)
    backwards;
}

/* ===== 登場タイミング ===== */
.hero .hero-ctas .btn:nth-child(1) {
  animation-delay: 1.35s;
}

.hero .hero-ctas .btn:nth-child(2) {
  animation-delay: 1.5s;
}

.hero .hero-ctas .btn:nth-child(3) {
  animation-delay: 1.65s;
}

@keyframes hskCtaAppear {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

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

/* ===== 英語ラベル ===== */
.hero .hero-ctas .btn-en {
  position: relative;
  z-index: 2;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  opacity: .76;
}

/* ==========================================
   電話ボタン：メインCTA
   ========================================== */

.hero .hero-ctas .btn-primary {
  background: linear-gradient(
    115deg,
    #2b4a71 0%,
    #4d76a7 55%,
    #375b87 100%
  );

  border: 1px solid rgba(190,220,255,.52);

  box-shadow:
    0 12px 30px rgba(4,15,35,.28),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(8,22,43,.3);
}

/* ===== 電話ボタンをキラッと光らせる ===== */
.hero .hero-ctas .btn-primary::before {
  content: "";
  position: absolute;
  z-index: 1;

  top: -70%;
  left: -65%;
  width: 48%;
  height: 240%;

  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,.03) 20%,
    rgba(224,243,255,.25) 44%,
    rgba(255,255,255,.60) 50%,
    rgba(224,243,255,.25) 56%,
    transparent 100%
  );

  transform: translateX(-120%) rotate(22deg);
  pointer-events: none;

  animation: hskButtonShine 6s ease-in-out infinite;
}

@keyframes hskButtonShine {
  0%, 48% {
    transform: translateX(-120%) rotate(22deg);
    opacity: 0;
  }

  53% {
    opacity: 1;
  }

  72% {
    transform: translateX(650%) rotate(22deg);
    opacity: 1;
  }

  80%, 100% {
    transform: translateX(650%) rotate(22deg);
    opacity: 0;
  }
}

/* ==========================================
   サブボタン：MAIL / SERVICE
   ========================================== */

.hero .hero-ctas .btn-outline,
.hero .hero-ctas .btn-ghost {
  background: rgba(12,24,43,.48);
  border: 1px solid rgba(210,225,245,.42);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.08),
    0 8px 22px rgba(0,0,0,.12);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ===== 全ボタンの矢印 ===== */
.hero .hero-ctas .btn::after {
  content: "↗";
  display: inline-block;
  position: relative;
  z-index: 2;

  margin-left: 5px;

  font-size: 17px;
  font-weight: 400;
  line-height: 1;
  color: #d9e9fa;

  transition: transform .3s ease;
}

/* ==========================================
   PC：ホバー演出
   ========================================== */

@media (hover: hover) {

  .hero .hero-ctas .btn:hover {
    opacity: 1;
    transform: translateY(-4px);
    border-color: rgba(225,240,255,.85);

    box-shadow:
      0 18px 38px rgba(0,0,0,.3),
      inset 0 1px 0 rgba(255,255,255,.2);
  }

  .hero .hero-ctas .btn-primary:hover {
    background: linear-gradient(
      115deg,
      #385b84,
      #628dbb,
      #416b98
    );
  }

  .hero .hero-ctas .btn-outline:hover,
  .hero .hero-ctas .btn-ghost:hover {
    background: rgba(55,86,124,.72);
    color: #fff;
  }

  .hero .hero-ctas .btn:hover::after {
    transform: translate(3px,-3px);
  }
}

/* ===== キーボード操作 ===== */
.hero .hero-ctas .btn:focus-visible {
  outline: 2px solid #d6efff;
  outline-offset: 4px;
}

/* ==========================================
   スマホ専用：電話1つ＋下2つ横並び
   ========================================== */

@media (max-width: 767px) {

  .hero .hero-sub {
    margin-bottom: 26px;
  }

  .hero .hero-ctas {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px;
    max-width: 100%;
  }

  /* スマホのボタン共通 */
  .hero .hero-ctas .btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 12px 8px;
    gap: 5px;

    border-radius: 5px;
    font-size: 12px;
    flex-direction: column;
  }

  /* 電話ボタンは1段目いっぱい */
  .hero .hero-ctas .btn-primary {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 12px;

    min-height: 64px;
    font-size: 15px;
  }

  /* 下2つはコンパクト */
  .hero .hero-ctas .btn-outline,
  .hero .hero-ctas .btn-ghost {
    gap: 5px;
    padding: 12px 5px;
  }

  /* 英語ラベル */
  .hero .hero-ctas .btn-en {
    font-size: 9px;
    letter-spacing: .13em;
  }

  /* 下2つの矢印は消す */
  .hero .hero-ctas .btn-outline::after,
  .hero .hero-ctas .btn-ghost::after {
    display: none;
  }

  /* タップしたとき */
  .hero .hero-ctas .btn:active {
    transform: scale(.975);
  }
}

/* ===== 小さいスマホ ===== */
@media (max-width: 360px) {

  .hero .hero-ctas .btn {
    font-size: 11px;
  }

  .hero .hero-ctas .btn-primary {
    font-size: 14px;
  }
}

/* ===== 動きを減らす設定 ===== */
@media (prefers-reduced-motion: reduce) {

  .hero .hero-ctas .btn,
  .hero .hero-ctas .btn::before,
  .hero .hero-ctas .btn::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ==========================================
   HSK SECURITY CONCERNS
   お悩み一覧・プレミアムカードデザイン
   ========================================== */

#concerns .concern-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 55px;
  padding: 0;
  list-style: none;
}

#concerns .concern-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 132px;
  padding: 28px 30px;

  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #f3f7fc 100%
  );

  border: 1px solid #dfe8f2;
  border-radius: 16px;

  box-shadow: 0 10px 30px rgba(20, 45, 80, 0.06);

  color: #25354a;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

/* 左上のブルーアクセント */
#concerns .concern-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #497db4, #a4d2ef);
  border-radius: 0 0 4px 4px;
}

/* 番号を丸いデザインに */
#concerns .concern-num {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  background: #e7eff8;
  color: #4778ae;
  border-radius: 50%;

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ホバーで上品に浮き上がる */
@media (hover: hover) {
  #concerns .concern-list li:hover {
    transform: translateY(-5px);
    border-color: #b9d0e8;
    box-shadow: 0 18px 38px rgba(20, 45, 80, 0.12);
  }
}

/* スマホ */
@media (max-width: 767px) {
  #concerns .concern-list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 35px;
  }

  #concerns .concern-list li {
    min-height: 95px;
    padding: 20px;
    gap: 16px;
    font-size: 14px;
    line-height: 1.7;
    border-radius: 12px;
  }

  #concerns .concern-num {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  #concerns .concern-list li::before {
    left: 20px;
    width: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #concerns .concern-list li {
    transition: none;
  }
}


/* ==========================================
   WHY HSK - PREMIUM DARK CARDS
   ========================================== */

/* 3列カード */
#about .why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 65px;
  align-items: stretch;
}

/* 各カード */
#about .why-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  height: 100%;
  padding: 38px 32px 42px;

  background: linear-gradient(
    145deg,
    rgba(34, 53, 82, 0.88),
    rgba(13, 23, 43, 0.92)
  );

  border: 1px solid rgba(145, 185, 225, 0.20);
  border-radius: 16px;

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);

  transition:
    transform .35s ease,
    border-color .35s ease,
    box-shadow .35s ease;
}

/* カード上部のブルーライン */
#about .why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 32px;
  width: 56px;
  height: 3px;

  background: linear-gradient(
    90deg,
    #4e89c6,
    #b2ddff
  );
}

/* 大きな番号 */
#about .why-num {
  margin: 0 0 32px;
  color: #83baf0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* タイトル */
#about .why-title {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* 説明文 */
#about .why-text {
  margin: 0;
  color: #c0ccdc;
  font-size: 14px;
  line-height: 2;
  font-weight: 400;
}

/* ホバー演出 */
@media (hover: hover) {
  #about .why-card:hover {
    transform: translateY(-7px);
    border-color: rgba(145, 200, 255, 0.5);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.26);
  }
}

/* タブレット */
@media (min-width: 768px) and (max-width: 1050px) {
  #about .why-grid {
    gap: 14px;
  }

  #about .why-card {
    padding: 30px 22px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  #about .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 30px;
  }

  #about .why-card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    grid-template-areas:
      "num title"
      "num text";
    column-gap: 14px;
    row-gap: 8px;

    min-height: 0;
    height: auto;
    padding: 18px 18px 18px 18px;
    border-radius: 12px;
  }

  #about .why-card::before {
    left: 18px;
    width: 34px;
    height: 2px;
  }

  #about .why-num {
    grid-area: num;
    font-size: 22px;
    line-height: 1;
    margin: 2px 0 0;
  }

  #about .why-title {
    grid-area: title;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 0.01em;
  }

  #about .why-text {
    grid-area: text;
    margin: 0;
    font-size: 12px;
    line-height: 1.7;
    color: #c7d2e2;
  }
}


/* ==========================================
   HSK SERVICE CARDS
   PC・スマホ統一デザイン 完成版
   ========================================== */

/* ===== カード一覧 ===== */
#service .service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

/* ===== カード本体 ===== */
#service .service-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  padding: 18px 18px 34px;

  background: linear-gradient(
    160deg,
    #ffffff 0%,
    #f6f9fd 100%
  );

  border: 1px solid #dfe7f1;
  border-radius: 18px;

  box-shadow: 0 14px 34px rgba(13, 28, 55, 0.07);

  text-decoration: none;
  color: inherit;

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

/* ===== 画像 ===== */
#service .service-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 16px;

  border-radius: 12px;
  background-size: cover;
  background-position: center;

  transition:
    transform .45s ease,
    filter .45s ease;
}

/* ===== 番号 ===== */
#service .service-num {
  margin: 0 0 10px;
  color: #5c86b9;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .10em;
}

/* ===== タイトル ===== */
#service .service-title {
  margin: 0 0 10px;
  color: #1b2a3f;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

/* ===== 説明文 ===== */
#service .service-text {
  margin: 0;
  color: #5c6677;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

/* ===== 右下の矢印 ===== */
#service .service-card::after {
  content: "→";
  position: absolute;
  right: 18px;
  bottom: 13px;
  color: #709bc9;
  font-size: 17px;
  transition: transform .3s ease;
}

/* ===== PCホバー ===== */
@media (hover: hover) {
  #service .service-card:hover {
    transform: translateY(-5px);
    border-color: #b9d1e8;
    box-shadow: 0 20px 42px rgba(13, 28, 55, .13);
  }

  #service .service-card:hover .service-img {
    transform: scale(1.025);
    filter: brightness(1.04);
  }

  #service .service-card:hover::after {
    transform: translateX(4px);
  }
}

/* ===== タブレット ===== */

/* ===== タブレット：サービスカードを2列に ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  #service .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  #service .service-card {
    padding: 14px 14px 28px;
  }

  #service .service-img {
    aspect-ratio: 16 / 10;
    margin-bottom: 12px;
  }

  #service .service-title {
    font-size: 17px;
  }

  #service .service-text {
    font-size: 12px;
    line-height: 1.75;
  }
}



/* ==========================================
   SERVICE スマホ専用・整理版
   ========================================== */

@media (max-width: 767px) {

  /* カード一覧 */
  #service .service-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  /* 画像左・文字右 */
  #service .service-card {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "img num"
      "img title"
      "img text";

    column-gap: 12px;
    row-gap: 5px;
    align-content: center;
    align-items: start;

    min-height: 132px;
    padding: 12px 12px 24px;
    border-radius: 13px;
  }

  /* 左の写真 */
  #service .service-img {
    grid-area: img;
    width: 100px;
    height: 108px;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    border-radius: 9px;
    align-self: center;
    background-size: cover;
  }

  /* 番号 */
  #service .service-num {
    grid-area: num;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 10px;
    line-height: 1.3;
    letter-spacing: .07em;
  }

  /* タイトル */
  #service .service-title {
    grid-area: title;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
  }

  /* 説明文 */
  #service .service-text {
    grid-area: text;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: -0.01em;
  }

  /* 右下の矢印 */
  #service .service-card::after {
    right: 12px;
    bottom: 7px;
    font-size: 14px;
  }
}

/* 小さいスマホ */
@media (max-width: 360px) {
  #service .service-card {
    grid-template-columns: 86px minmax(0, 1fr);
    column-gap: 10px;
  }

  #service .service-img {
    width: 86px;
    height: 104px;
  }

  #service .service-title {
    font-size: 13px;
  }
}







/* ==========================================
   HSK GLOBAL SCROLL ANIMATION
   全ページ共通アニメーション・統合版

   見出し・本文：下からフェード
   li：左からスライドフェード
   ========================================== */

/* 通常のフェード */
.hsk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity .85s cubic-bezier(.22,1,.36,1),
    transform .85s cubic-bezier(.22,1,.36,1);

  transition-delay: var(--reveal-delay, 0ms);
}

/* リスト専用：左からスライド */
.hsk-reveal.hsk-reveal-li {
  transform: translateX(-22px);
}

/* 表示状態 */
.hsk-reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

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