@charset "utf-8";

/* ============================================================
   KIRINJI SYSTEM — 硬派・シンプル版
   色: 白 / 濃紺(#0A2540) / 青(#2E6FB0) の3色に集約
   動き: 登場アニメ + heroのSCROLL微動のみ。常時ループなし
============================================================ */

:root {
  --navy:      #0A2540;   /* 見出し・本文の濃紺 */
  --navy-soft: #33475C;   /* 補助テキスト */
  --blue:      #2E6FB0;   /* アクセント青(1色) */
  --line:      #E2E7EC;   /* 罫線 */
  --bg:        #FFFFFF;
  --bg-tint:   #F6F8FA;   /* ごく淡いグレー面 */
  --font-en: 'Montserrat', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--navy);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* 共通: eyebrow(英字ラベル) */
.eyebrow {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .34em;
  color: var(--blue);
  margin: 0 0 18px;
  display: inline-flex; align-items: center; gap: 16px;
}
/* 横棒: 土台の線 + 上を青い光が流れる */
.eyebrow::before {
  content: ""; display: block; width: 56px; height: 2px;
  background: rgba(46,111,176,.25);
  border-radius: 2px;
}
.eyebrow::after {
  content: ""; position: absolute; left: 0; top: 50%;
  margin-top: -1px;
  width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #3E93E6 40%, #9FD3FF 55%, #E4F3FF 65%, transparent);
  box-shadow: 0 0 6px 1px rgba(80,170,255,.7);
  animation: barGlow 2.4s linear infinite;
  pointer-events: none;
}
.eyebrow { position: relative; }
/* 光が横棒(56px幅)の内側を左から右へ流れる。24px幅の光が -6→38px を移動 */
@keyframes barGlow {
  0%   { transform: translateX(-6px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateX(38px); opacity: 0; }
}
.eyebrow.light { color: #9FC2E4; }
.eyebrow.light::before { background: rgba(159,194,228,.28); }
.eyebrow.light::after {
  background: linear-gradient(90deg, transparent, #9FD0FF 40%, #DDF0FF 55%, #FFFFFF 65%, transparent);
  box-shadow: 0 0 6px 1px rgba(200,225,255,.8);
}

/* 共通: セクション見出し */
.sec-title {
  margin: 0;
  font-size: clamp(23px, 2.6vw, 33px);
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.5;
  color: var(--navy);
}
.sec-head { margin-bottom: 56px; text-align: center; }

/* 共通: 登場リビール(スクロールで下から。1回だけ) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.25,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* 共通: テキストリンク */
.text-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-weight: 500;
  font-size: 13px; letter-spacing: .12em; color: var(--navy);
  text-decoration: none; transition: gap .3s, color .3s;
}
.text-link span { transition: transform .3s; }
.text-link:hover { color: var(--blue); }
.text-link:hover span { transform: translateX(5px); }

/* 共通: 枠線ボタン */
.btn-line {
  display: inline-flex; align-items: center; gap: 14px;
  margin-top: 36px; padding: 16px 36px;
  border: 1px solid var(--navy); color: var(--navy);
  font-size: 14px; letter-spacing: .08em; text-decoration: none;
  transition: color .35s, background .35s;
  position: relative; overflow: hidden;
}
.btn-line span { transition: transform .3s; }
.btn-line::before {
  content: ""; position: absolute; inset: 0; background: var(--navy);
  transform: translateX(-101%); transition: transform .35s ease; z-index: -1;
}
.btn-line:hover { color: #fff; }
.btn-line:hover::before { transform: translateX(0); }
.btn-line:hover span { transform: translateX(5px); }

/* 共通: 塗りボタン */
.btn-solid {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 44px; background: var(--blue); color: #fff;
  font-size: 14px; letter-spacing: .08em; text-decoration: none;
  transition: background .35s, transform .3s;
}
.btn-solid span { transition: transform .3s; }
.btn-solid:hover { background: #245C95; transform: translateY(-2px); }
.btn-solid:hover span { transform: translateX(5px); }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; z-index: 120;
  width: 100%; padding: 26px 40px;
  display: flex; justify-content: space-between; align-items: center;
  transition: padding .35s, background .35s, box-shadow .35s;
}
.site-header.scrolled {
  padding: 16px 40px;
}
.header-logo img { height: 34px; width: auto; transition: height .35s; }
.site-header.scrolled .header-logo img { height: 30px; }

.menu-btn {
  position: relative; z-index: 120;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
  border: none; background: transparent; color: var(--navy);
  font-size: 9px; font-weight: 300; letter-spacing: .5em;
  cursor: pointer; padding: 12px; min-width: 80px; min-height: 44px;
  transition: color .3s;
}
.menu-btn:hover { color: var(--blue); }
.menu-btn-line { display: block; width: 28px; height: 1px; background: currentColor; transition: .4s ease; }
.menu-btn-text { transition: .3s ease; }
/* ×化: テキストを消し2本線を中央でクロス */
.menu-btn.active { color: #fff; }
.menu-btn.active .menu-btn-text { opacity: 0; }
.menu-btn.active .menu-btn-line { position: absolute; top: 50%; right: 12px; width: 26px; }
.menu-btn.active .menu-btn-line:first-child { transform: rotate(40deg); }
.menu-btn.active .menu-btn-line:last-child  { transform: rotate(-40deg); }

/* ============================================================
   FULLSCREEN MENU
============================================================ */
.fullscreen-menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #C9CDD4 0%, #E3D2C4 45%, #F7D9C0 100%);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .6s ease, visibility .6s ease; overflow: hidden;
}
.fullscreen-menu.open { opacity: 1; visibility: visible; pointer-events: auto; }

.menu-light { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.menu-orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%,
    rgba(255,255,255,.85) 0%, rgba(255,255,255,.4) 38%,
    rgba(255,255,255,.1) 62%, transparent 78%);
  filter: blur(34px); mix-blend-mode: screen;
}
.menu-orb-1 { width: 280px; height: 280px; left: 8%;  top: 20%; animation: menuOrb1 9s ease-in-out infinite alternate; }
.menu-orb-2 { width: 360px; height: 360px; right: 12%; top: 30%; animation: menuOrb2 11s ease-in-out infinite alternate; }
.menu-orb-3 { width: 220px; height: 220px; left: 30%; bottom: 14%; animation: menuOrb3 8s ease-in-out infinite alternate; }
@keyframes menuOrb1 { 0% { transform: translate(0,0) scale(1); opacity: .6; } 100% { transform: translate(70px,-50px) scale(1.15); opacity: .95; } }
@keyframes menuOrb2 { 0% { transform: translate(0,0) scale(1); opacity: .5; } 100% { transform: translate(-80px,50px) scale(1.2); opacity: .85; } }
@keyframes menuOrb3 { 0% { transform: translate(0,0) scale(1); opacity: .55; } 100% { transform: translate(60px,40px) scale(1.18); opacity: .9; } }

.fullscreen-menu-inner {
  position: relative; z-index: 2; width: min(1100px, 88vw);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
}
.fullscreen-menu-nav { padding-left: 20px; }

.menu-subtitle {
  margin: 0 0 36px; color: rgba(13,27,42,.5);
  font-size: 9px; letter-spacing: .5em; font-weight: 400;
  display: flex; align-items: center; gap: 16px;
}
.menu-subtitle::before { content: ''; display: block; width: 28px; height: 1px; background: var(--blue); }

.fullscreen-menu-list { margin: 0; padding: 0; list-style: none; }
.fullscreen-menu-list li {
  margin: 0; opacity: 0; transform: translateX(-24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fullscreen-menu.open .fullscreen-menu-list li { opacity: 1; transform: translateX(0); }
.fullscreen-menu.open .fullscreen-menu-list li:nth-child(1) { transition-delay: .06s; }
.fullscreen-menu.open .fullscreen-menu-list li:nth-child(2) { transition-delay: .12s; }
.fullscreen-menu.open .fullscreen-menu-list li:nth-child(3) { transition-delay: .18s; }
.fullscreen-menu.open .fullscreen-menu-list li:nth-child(4) { transition-delay: .24s; }
.fullscreen-menu.open .fullscreen-menu-list li:nth-child(5) { transition-delay: .30s; }
.fullscreen-menu-list li + li a { border-top: 1px solid rgba(13,27,42,.1); }

.fullscreen-menu-list a {
  position: relative; display: inline-flex; align-items: center; gap: 0;
  color: #1A2A3E; text-decoration: none;
  font-size: clamp(20px, 2.4vw, 30px); font-weight: 300;
  letter-spacing: .06em; line-height: 1.2; padding: 18px 0;
  transition: color .35s ease, gap .35s ease;
}
.fullscreen-menu-list a::before {
  content: ""; width: 0; height: 1px;
  background: linear-gradient(90deg, var(--blue), #5BAEF0);
  transition: width .35s ease; flex-shrink: 0;
}
.fullscreen-menu-list a:hover { color: var(--blue); gap: 24px; }
.fullscreen-menu-list a:hover::before { width: 40px; }
.fullscreen-menu-list:hover a { opacity: .35; }
.fullscreen-menu-list:hover a:hover { opacity: 1; }

.fullscreen-menu-visual { display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.fullscreen-menu-visual img {
  width: auto; max-width: 88%; max-height: 200px; height: auto; object-fit: contain;
  opacity: 0; transform: scale(.92);
  transition: opacity 1s ease .3s, transform 1s ease .3s;
  filter: drop-shadow(0 12px 40px rgba(13,27,42,.15));
}
.fullscreen-menu.open .fullscreen-menu-visual img { opacity: .96; transform: scale(1); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden; background: #fff;
}
.hero-photo {
  position: absolute; inset: 0; z-index: 0;
  display: none;
  overflow: hidden;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero.has-photo .hero-photo { display: block; }
.hero.has-photo .hero-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.26) 0%, rgba(255,255,255,.10) 45%, rgba(255,255,255,.02) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 40px; }

/* HERO見出しを囲う薄い半透明の白パネル(写真背景でも文字が読みやすいように) */
.hero-copy {
  display: inline-block;
  background: rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 40px 48px 44px;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(10,37,64,.10);
}

/* タイトル下のピル状サブコピー */
.hero-badge {
  display: inline-block;
  margin: 30px 0 0;
  padding: 13px 28px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.5;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .8s ease .55s, transform .8s ease .55s;
}
.hero.play .hero-badge { opacity: 1; transform: translateY(0); }

.hero-eyebrow {
  font-family: var(--font-en); font-weight: 500; font-size: 12px;
  letter-spacing: .38em; color: var(--blue); margin: 0 0 28px;
  display: inline-flex; align-items: center; gap: 18px;
  position: relative;
  opacity: 0; transform: translateY(12px);
  transition: opacity .8s ease, transform .8s ease;
}
.hero-eyebrow::before {
  content: ""; display: block; width: 56px; height: 2px;
  background: rgba(46,111,176,.25); border-radius: 2px;
}
.hero-eyebrow::after {
  content: ""; position: absolute; left: 0; top: 50%;
  margin-top: -1px;
  width: 24px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #3E93E6 40%, #9FD3FF 55%, #E4F3FF 65%, transparent);
  box-shadow: 0 0 6px 1px rgba(80,170,255,.7);
  animation: barGlow 2.4s linear infinite;
  pointer-events: none;
}
.hero.play .hero-eyebrow { opacity: 1; transform: translateY(0); }

.hero-title { margin: 0; font-weight: 700; font-size: clamp(30px, 4.4vw, 60px); line-height: 1.6; letter-spacing: .02em; color: var(--navy); }
.hero-title .line { display: block; opacity: 0; transform: translateY(20px); }
.hero.play .hero-title .line { animation: lineUp .9s cubic-bezier(.2,.7,.25,1) both; }
.hero.play .hero-title .line:nth-child(1){ animation-delay:.15s; }
.hero.play .hero-title .line:nth-child(2){ animation-delay:.30s; }
.hero.play .hero-title .line:nth-child(3){ animation-delay:.45s; }
@keyframes lineUp { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }

.hero-lead {
  margin: 32px 0 0; font-size: 15px; line-height: 2.1; letter-spacing: .04em;
  color: var(--navy-soft); max-width: 460px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .9s ease .5s, transform .9s ease .5s;
}
.hero.play .hero-lead { opacity: 1; transform: translateY(0); }

.hero-scroll {
  position: absolute; left: 40px; bottom: 40px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-en); font-size: 10px; letter-spacing: .3em; color: #8A97A6;
  opacity: 0; transition: opacity 1s ease .9s;
}
.hero.play .hero-scroll { opacity: 1; }
.hero-scroll .bar { display: block; width: 44px; height: 1px; background: #C3CCD5; position: relative; overflow: hidden; }
.hero-scroll .bar::after {
  content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 100%;
  background: var(--blue); animation: scrollMove 2.4s ease-in-out infinite;
}
@keyframes scrollMove { 0%{transform:translateX(-14px);} 60%,100%{transform:translateX(44px);} }

/* ============================================================
   NEWS
============================================================ */
.news { padding: 120px 0; }
.news-list { list-style: none; margin: 0 0 40px; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a {
  display: grid; grid-template-columns: 130px 96px 1fr auto;
  align-items: center; gap: 28px; padding: 26px 8px;
  text-decoration: none; transition: background .3s, padding-left .3s;
}
.news-list a:hover { background: var(--bg-tint); padding-left: 20px; }
.news-list time { font-family: var(--font-en); font-size: 13px; letter-spacing: .06em; color: var(--navy-soft); }
.news-tag {
  justify-self: start; font-size: 11px; letter-spacing: .08em; color: var(--blue);
  border: 1px solid var(--blue); padding: 3px 12px; border-radius: 100px;
}
.news-text { margin: 0; font-size: 15px; color: var(--navy); }
.news-arrow { font-size: 15px; color: var(--blue); transition: transform .3s; }
.news-list a:hover .news-arrow { transform: translateX(5px); }

/* ============================================================
   BANNER (買取訴求) — 画面幅フル・左右余白なし・下は詰める
============================================================ */
.banner-sec { padding: 40px 0 0; }
.banner {
  display: block; width: 100%; overflow: hidden;
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.25,1);
}
.banner img { width: 100%; height: auto; display: block; }

/* ============================================================
   ABOUT — 写真斜め登場 + 文字スライドは維持
============================================================ */
.about { padding: 120px 0; background: var(--bg-tint); }
.about-grid { display: grid; grid-template-columns: 46% 1fr; gap: 72px; align-items: center; }

.about-photo-wrap { overflow: visible; }
.about-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(10,37,64,.16);
  opacity: 0; transform: translate(-60px, 36px) rotate(-5deg);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.about-photo.in { opacity: 1; transform: translate(0,0) rotate(-2.5deg); }
.about-photo:hover { transform: rotate(0deg) scale(1.02); transition: transform .5s ease; }

.about-body { opacity: 0; transform: translateX(60px); transition: opacity 1s ease .3s, transform 1.1s cubic-bezier(.22,.61,.36,1) .3s; }
.about-body.in { opacity: 1; transform: translateX(0); }
.about-text { margin: 0 0 22px; font-size: 16.5px; line-height: 2.05; color: #2A3B4D; letter-spacing: .02em; }

/* ============================================================
   SERVICE
============================================================ */
.service { padding: 120px 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
.svc-card { text-decoration: none; color: var(--navy); display: block; }
.svc-num {
  display: block; font-family: var(--font-en); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; color: var(--blue); margin-bottom: 14px;
}
.svc-img { overflow: hidden; border-radius: 4px; margin-bottom: 22px; }
.svc-img img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .6s ease; }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-card h3 { margin: 0 0 12px; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
.svc-card p { margin: 0; font-size: 14px; line-height: 1.9; color: var(--navy-soft); }

/* ============================================================
   CASE
============================================================ */
.case { padding: 120px 0; background: var(--bg-tint); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.case-pair {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  border-radius: 4px; overflow: hidden; margin-bottom: 18px;
  box-shadow: 0 16px 36px rgba(10,37,64,.12);
}
.case-pair figure { position: relative; margin: 0; aspect-ratio: 3/4; overflow: hidden; background: #d7dee6; }
.case-pair figure img { width: 100%; height: 100%; object-fit: cover; }
.case-label {
  position: absolute; top: 0; left: 0; right: 0; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 11px; font-weight: 600; letter-spacing: .1em;
  color: #fff; background: rgba(10,37,64,.82);
}
.case-label.after { background: var(--blue); }
.case-client { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: var(--navy); }
.case-desc { margin: 0; font-size: 14px; line-height: 1.85; color: var(--navy-soft); }

/* ============================================================
   CONTACT
============================================================ */
.contact { padding: 130px 0; background: var(--navy); }
.contact-inner { text-align: center; }
.contact-title { margin: 0 0 16px; font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; line-height: 1.6; color: #fff; letter-spacing: .03em; }
.contact-lead { margin: 0 0 40px; font-size: 16px; color: rgba(255,255,255,.82); letter-spacing: .04em; line-height: 1.9; }

/* ============================================================
   FOOTER
============================================================ */
.footer { background: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; }
.footer-info { padding: 72px 40px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; max-width: 560px; margin-left: auto; width: 100%; }
.footer-logo { height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.footer-address { font-style: normal; font-size: 14px; line-height: 2; color: var(--navy-soft); letter-spacing: .04em; }
.footer-address a { color: var(--blue); text-decoration: none; }
.footer-address a:hover { text-decoration: underline; }
.footer-map iframe { width: 100%; height: 100%; min-height: 320px; filter: grayscale(20%); }
.footer-bottom { border-top: 1px solid var(--line); text-align: center; padding: 24px; }
.footer-bottom small { font-family: var(--font-en); font-size: 11px; letter-spacing: .1em; color: var(--navy-soft); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { max-width: 460px; }
  .service-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-info { max-width: none; margin: 0; }
  .fullscreen-menu-inner { grid-template-columns: 1fr; gap: 20px; }
  .fullscreen-menu-visual { display: none; }
  .fullscreen-menu-nav { padding-left: 0; }
  .fullscreen-menu-list a { font-size: 22px; padding: 14px 0; }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .site-header, .site-header.scrolled { padding: 18px 22px; }
  .hero-inner { padding: 0 22px; }
  .hero-copy { padding: 28px 26px 32px; border-radius: 28px; }
  .hero-badge { font-size: 13px; padding: 11px 20px; margin-top: 24px; }
  .hero-scroll { left: 22px; }
  .news, .about, .service, .case { padding: 84px 0; }
  .contact { padding: 96px 0; }
  .news-list a { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 20px 4px; }
  .news-list time { grid-column: 1; }
  .news-tag { grid-column: 2; grid-row: 1; }
  .news-text { grid-column: 1 / -1; }
  .news-arrow { display: none; }
  .hero.has-photo .hero-photo::after {
    background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.14) 100%);
  }
}

/* reduced-motion 尊重 */
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-title .line, .hero-eyebrow, .hero-lead, .about-photo, .about-body { transition: opacity .4s ease; transform: none; }
  .hero-scroll .bar::after,
  .eyebrow::after, .hero-eyebrow::after { animation: none; }
}

/* ============================================================
   下層ページ 共通 (company / service / notice / contact)
============================================================ */

.page-head {
  padding: 190px 0 80px;
  background: var(--bg-tint);
  position: relative;
  text-align: center;
}
.page-head .eyebrow { margin-bottom: 20px; }
.page-head-title {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.5;
  color: var(--navy);
}
.page-head-lead {
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .02em;
  color: #2A3B4D;
  max-width: 680px;
}
/* 会社案内(横に画像があるページ)は上部まるごと左揃えを維持 */
.page-head.has-visual { text-align: left; }
.page-head-grid { text-align: left; }

.breadcrumb {
  margin: 0 0 28px;
  text-align: left;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--navy-soft);
}
.breadcrumb a { color: var(--navy-soft); text-decoration: none; transition: color .3s; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

.page-sec { padding: 110px 0; }
.page-sec.tint { background: var(--bg-tint); }

/* ---------- COMPANY: 会社概要テーブル ---------- */
.profile-table {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}
.profile-table th, .profile-table td {
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  line-height: 1.85;
  font-size: 13.5px;
}
.profile-table th {
  width: 175px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
}
.profile-table td { color: var(--navy-soft); }

/* ---------- COMPANY: 代表挨拶 ---------- */
.message-box { max-width: 640px; margin: 0 auto; }
.message-box p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2.05;
  letter-spacing: .02em;
  color: #2A3B4D;
}
.message-sign {
  margin-top: 40px;
  text-align: right;
  font-size: 14px;
  color: var(--navy-soft);
  letter-spacing: .08em;
}
.message-sign strong {
  display: inline-block;
  margin-left: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- SERVICE: 詳細ブロック ---------- */
.svc-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 100px;
}
.svc-detail:last-child { margin-bottom: 0; }
.svc-detail:nth-child(even) .svc-detail-img { order: 2; }
.svc-detail-img { overflow: hidden; border-radius: 4px; box-shadow: 0 20px 44px rgba(10,37,64,.12); }
.svc-detail-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.svc-detail-num {
  display: block;
  font-family: var(--font-en);
  font-size: 13px; font-weight: 600; letter-spacing: .1em;
  color: var(--blue); margin-bottom: 12px;
}
.svc-detail-body h2 {
  margin: 0 0 20px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; letter-spacing: .03em; color: var(--navy);
}
.svc-detail-body p {
  margin: 0;
  font-size: 16px; line-height: 2.05; letter-spacing: .02em; color: #2A3B4D;
}

/* ---------- NOTICE: お知らせ一覧 ---------- */
.notice-list { list-style: none; padding: 0; border-top: 1px solid var(--line); max-width: 780px; margin: 0 auto; }
.notice-list li { border-bottom: 1px solid var(--line); }
.notice-list a {
  display: grid; grid-template-columns: 130px 96px 1fr auto;
  align-items: center; gap: 28px; padding: 30px 8px;
  text-decoration: none; transition: background .3s, padding-left .3s;
}
.notice-list a:hover { background: var(--bg-tint); padding-left: 20px; }
.notice-list time { font-family: var(--font-en); font-size: 13px; letter-spacing: .06em; color: var(--navy-soft); }
.notice-list .news-tag { justify-self: start; }
.notice-list .notice-text { margin: 0; font-size: 15px; color: var(--navy); }
.notice-list .news-arrow { font-size: 15px; color: var(--blue); transition: transform .3s; }
.notice-list a:hover .news-arrow { transform: translateX(5px); }

/* ---------- CONTACT: フォーム ---------- */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-row { margin-bottom: 32px; }
.form-label {
  display: block;
  font-size: 14px; font-weight: 700; letter-spacing: .06em;
  color: var(--navy); margin-bottom: 12px;
}
.form-label em {
  font-style: normal; font-size: 11px; font-weight: 400;
  color: #fff; background: var(--blue);
  margin-left: 10px; padding: 3px 10px; border-radius: 100px;
  letter-spacing: .08em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 15px 16px;
  color: var(--navy);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .3s, box-shadow .3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: #A8B3BF; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46,111,176,.12);
}
.form-textarea { resize: vertical; min-height: 170px; }
.form-submit { text-align: center; margin-top: 44px; }
.contact-submit {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 56px;
  background: var(--blue); color: #fff;
  border: 0; border-radius: 4px;
  font-size: 15px; font-family: inherit; letter-spacing: .08em;
  cursor: pointer;
  transition: background .35s, transform .3s;
}
.contact-submit:hover { background: #245C95; transform: translateY(-2px); }

/* 連絡先カード */
.contact-info {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  max-width: 640px; margin: 0 auto 64px;
}
/* カードが1枚だけのとき: 中央寄せの単カラム */
.contact-info.single { grid-template-columns: minmax(0, 380px); justify-content: center; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 32px 28px; text-align: center;
}
.contact-card .label {
  font-family: var(--font-en); font-size: 11px; letter-spacing: .16em;
  color: var(--blue); margin: 0 0 12px;
}
.contact-card .value {
  margin: 0; font-size: 20px; font-weight: 700; color: var(--navy); letter-spacing: .02em;
}
.contact-card .note { margin: 8px 0 0; font-size: 12px; color: var(--navy-soft); }

@media (max-width: 900px) {
  .page-head { padding: 150px 0 60px; }
  .page-sec { padding: 80px 0; }
  .svc-detail { grid-template-columns: 1fr; gap: 32px; margin-bottom: 72px; }
  .svc-detail:nth-child(even) .svc-detail-img { order: 0; }
  .profile-table th, .profile-table td { display: block; width: 100%; padding: 14px 12px; }
  .profile-table th { border-bottom: none; padding-bottom: 0; }
  .notice-list a { grid-template-columns: 1fr auto; gap: 6px 16px; padding: 22px 4px; }
  .notice-list time { grid-column: 1; }
  .notice-list .news-tag { grid-column: 2; grid-row: 1; }
  .notice-list .notice-text { grid-column: 1 / -1; }
  .notice-list .news-arrow { display: none; }
  .contact-info { grid-template-columns: 1fr; }
}

/* ---------- COMPANY: ページ上部 2カラム(左テキスト / 右画像) ---------- */
.page-head.has-visual { padding-bottom: 100px; }
.page-head-grid {
  display: grid;
  grid-template-columns: 1fr 44%;
  gap: 64px;
  align-items: center;
  margin-top: 44px;
}
.page-head-body {
  opacity: 0; transform: translateX(-60px);
  transition: opacity 1s ease .3s, transform 1.1s cubic-bezier(.22,.61,.36,1) .3s;
}
.page-head-body.in { opacity: 1; transform: translateX(0); }
.page-head-body p {
  margin: 0 0 24px;
  font-size: 16px; line-height: 2.05; letter-spacing: .02em; color: #2A3B4D;
}
.page-head-body p:last-child { margin-bottom: 0; }

.page-head-photo {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px;
  box-shadow: 0 30px 60px rgba(10,37,64,.16);
  opacity: 0; transform: translate(60px, 36px) rotate(5deg);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(.22,.61,.36,1);
}
.page-head-photo.in { opacity: 1; transform: translate(0,0) rotate(2.5deg); }
.page-head-photo:hover { transform: rotate(0deg) scale(1.02); transition: transform .5s ease; }

@media (max-width: 900px) {
  .page-head-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-head-photo { max-width: 460px; }
  .page-head.has-visual { padding-bottom: 70px; }
}

/* ============================================================
   LOADER (黒幕 + 文字型の窓) + Sの中へ入る演出
============================================================ */

body.booting { background: #0B0B0D; }

#warp {
  position: fixed; inset: 0; z-index: 9998;
  width: 100%; height: 100%;
  pointer-events: none;
  transition: opacity .35s ease;
}
#warp.fading { opacity: 0; }
#warp.gone { display: none; }
#warpText {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  letter-spacing: .58em;
}

#loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  transition: opacity .5s ease;
}
#loader.fading { opacity: 0; }

/* 文字(SVG側・画面中央)のすぐ下に置く */
.loader-meter {
  display: flex; align-items: center; gap: 16px;
  margin-top: 78px;
}
.loader-bar {
  width: 220px; height: 2px; border-radius: 2px;
  background: rgba(255,255,255,.14);
  overflow: hidden;
  position: relative;
}
.loader-bar span {
  display: block; width: 0; height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #1C6FC4 0%, #4E9BE8 55%, #9FD3FF 85%, #FFFFFF 100%);
  box-shadow: 0 0 10px 2px rgba(80,170,255,.85),
              0 0 24px 6px rgba(60,150,255,.45);
}
.loader-percent {
  font-family: var(--font-en);
  font-size: 11px; font-weight: 500; letter-spacing: .16em;
  color: #BFE0FF;
  min-width: 46px; text-align: left;
  text-shadow: 0 0 12px rgba(80,170,255,.6);
}

.hero.booting .hero-inner,
.hero.booting .hero-scroll { opacity: 0; }
.hero .hero-photo { transition: opacity 1.5s ease; }
.hero.booting .hero-photo { opacity: 0; }
.hero.revealed .hero-photo { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  #warp { display: none; }
  body.booting { background: #fff; }
}
/* ============================================================
   追加: 可読性の強調 / 背景画像口 / 筆書体 / パララックス
============================================================ */

.about-text strong, .page-head-lead strong, .message-box p strong,
.svc-detail-body p strong, .contact-lead strong {
  font-weight: 700;
  color: var(--navy);
}
.contact-lead strong { color: #fff; }

.has-bg { position: relative; overflow: hidden; }
.has-bg > .container { position: relative; z-index: 2; }
.sec-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.sec-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sec-bg::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,.38);
}
.about.has-bg { background: transparent; }
.page-head.has-bg { background: transparent; }
.case.has-bg { background: transparent; }

.page-head-visual {
  display: grid;
  grid-template-columns: 1fr 42%;
  gap: 56px;
  align-items: center;
}
.page-head-visual .page-head-lead { margin-left: 0; text-align: left; max-width: none; }
.page-head-visual-text { text-align: left; }
.page-head-visual-img {
  overflow: hidden; border-radius: 6px;
  box-shadow: 0 24px 50px rgba(10,37,64,.14);
}
.page-head-visual-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
@media (max-width: 820px) {
  .page-head-visual { grid-template-columns: 1fr; gap: 32px; }
}

.message-sign strong.brush {
  font-family: 'Yuji Boku', 'Yuji Syuku', serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: .14em;
}
.message-sign .brush-title {
  font-family: 'Yuji Boku', 'Yuji Syuku', serif;
  font-size: 20px;
  letter-spacing: .12em;
  color: var(--navy);
}

/* キリンジ光 10Gbps バナー */
.hikari { padding: 110px 0; background: #fff; }
.hikari-inner { display: grid; grid-template-columns: minmax(300px, 44%) 1fr; align-items: center; gap: 56px; }
.hikari-logo img { width: 100%; height: auto; display: block; }
.hikari-lead { margin: 0 0 16px; font-size: clamp(22px, 2.5vw, 33px); font-weight: 900; line-height: 1.5; letter-spacing: 0; color: #111; }
.hikari-lead .nowrap, .hikari-sub .nowrap { white-space: nowrap; }
.hikari-sub { margin: 0; font-size: clamp(20px, 2.4vw, 31px); font-weight: 900; line-height: 1.5; letter-spacing: 0; color: #111; white-space: nowrap; }
.hikari-copy .nowrap { white-space: nowrap; }
.hikari-copy .grad {
  background-image: linear-gradient(100deg, #7B3FBE 0%, #2E40C8 50%, #35C5EE 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
@media (max-width: 860px) {
  .hikari { padding: 72px 0; }
  .hikari-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hikari-logo { max-width: 420px; margin: 0 auto; }
}
/* ロゴ/イラストを枠なしで配置(会社案内・採用ページ共通) */
.page-head-photo.is-logo {
  aspect-ratio: auto; object-fit: contain; border-radius: 0;
  box-shadow: none; background: transparent;
  transform: translate(60px, 36px); padding: 0 4%;
}
.page-head-photo.is-logo.in { transform: translate(0,0) rotate(0deg); }
.page-head-photo.is-logo:hover { transform: scale(1.03) rotate(0deg); }

/* 求人セクション */
.recruit { padding: 90px 0; background: #fff; }
.recruit-card {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 48px 56px; border-radius: 8px;
  background: linear-gradient(115deg, #1E5CA8 0%, #2E7FD6 55%, #35C5EE 100%);
  color: #fff; text-decoration: none; position: relative; overflow: hidden;
  transition: transform .4s ease, box-shadow .4s ease;
}
.recruit-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recruit-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(30,92,168,.86) 0%, rgba(46,127,214,.82) 55%, rgba(53,197,238,.78) 100%);
}
.recruit-body, .recruit-arrow { position: relative; z-index: 1; }
.recruit-card:hover { transform: translateY(-4px); box-shadow: 0 26px 55px rgba(10,37,64,.28); }
.recruit-card .eyebrow { color: #EAF4FF; margin-bottom: 14px; }
.recruit-title { margin: 0 0 14px; font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; letter-spacing: .03em; line-height: 1.5; color: #fff; }
.recruit-lead { margin: 0; font-size: 15px; line-height: 1.9; letter-spacing: .02em; color: rgba(255,255,255,.82); max-width: 620px; }
.recruit-arrow {
  display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0;
  font-family: var(--font-en); font-size: 14px; font-weight: 600; letter-spacing: .04em; white-space: nowrap;
  padding: 16px 26px; border: 1px solid rgba(255,255,255,.5); border-radius: 100px; color: #fff;
  transition: background .3s ease, border-color .3s ease;
}
.recruit-card:hover .recruit-arrow { background: #fff; border-color: #fff; color: var(--navy); }
.recruit-arrow svg { transition: transform .3s ease; }
.recruit-card:hover .recruit-arrow svg { transform: translateX(4px); }
@media (max-width: 780px) {
  .recruit { padding: 64px 0; }
  .recruit-card { flex-direction: column; align-items: flex-start; gap: 28px; padding: 36px 28px; }
}

/* 採用ページ (recruit.html) */
.recruit-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rp-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 36px 30px; transition: transform .4s ease, box-shadow .4s ease;
}
.rp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,37,64,.12); }
.rp-num {
  display: block; font-family: var(--font-en); font-size: 34px; font-weight: 700;
  line-height: 1; margin-bottom: 18px;
  background: linear-gradient(120deg, #1E3AA8, #2C63C8 45%, #35C5EE);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rp-card h3 { margin: 0 0 14px; font-size: 19px; font-weight: 700; line-height: 1.5; color: var(--navy); letter-spacing: .02em; }
.rp-card p { margin: 0; font-size: 14px; line-height: 1.95; color: #2A3B4D; letter-spacing: .02em; }

/* 募集要項テーブル(profile-table 流用 + 幅調整) */
.recruit-table { max-width: 820px; }
.recruit-table th { width: 150px; }
.recruit-table td strong { color: var(--navy); font-weight: 700; }

/* 選考フロー */
.recruit-flow { display: flex; align-items: stretch; justify-content: center; gap: 18px; flex-wrap: wrap; }
.rf-step {
  flex: 1; min-width: 160px; max-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 28px 20px; text-align: center;
}
.rf-num {
  display: block; font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; color: var(--blue); margin-bottom: 12px;
}
.rf-step p { margin: 0; font-size: 16px; font-weight: 700; color: var(--navy); }
.rf-arrow { display: flex; align-items: center; color: var(--blue); font-size: 20px; }
.recruit-flow-note { max-width: 820px; margin: 26px auto 0; font-size: 13px; line-height: 1.9; color: var(--navy-soft); text-align: center; }

@media (max-width: 900px) {
  .recruit-points { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; gap: 20px; }
  .recruit-flow { flex-direction: column; align-items: center; }
  .rf-step { max-width: 320px; width: 100%; }
  .rf-arrow { transform: rotate(90deg); }
}