﻿/* ============================================
   Trans Supporter - Main Stylesheet
   (my-creative 銉欍兗銈广€併儘銈ゃ儞銉?#1e3a5f 銈儵銉?
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');

html { overflow-x: hidden; scroll-behavior: smooth; }

/* 鈹€鈹€ 鑳屾櫙銈兗銉愩兗銉偆 鈹€鈹€ */
.main-bg {
  background: var(--bg);
}

/* 鈹€鈹€ 銉嗐偅銉冦偒銉?鈹€鈹€ */
.ticker-bar {
  display: flex;
  align-items: center;
  background: #060d1a;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0, 200, 255, 0.025) 3px,
      rgba(0, 200, 255, 0.025) 4px
    );
  border-top: 1px solid rgba(0, 200, 255, 0.35);
  border-bottom: 1px solid rgba(0, 200, 255, 0.35);
  height: 48px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 200, 255, 0.15), inset 0 0 24px rgba(0, 200, 255, 0.04);
}

.ticker-label {
  flex-shrink: 0;
  background: rgba(0, 200, 255, 0.14);
  border: 1px solid rgba(0, 200, 255, 0.45);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0 0.9rem;
  margin: 0 0.7rem 0 0.6rem;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.ticker-label:hover {
  background: rgba(0, 200, 255, 0.28);
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.35);
  transform: translateY(-1px);
}

.ticker-bell-svg {
  width: 14px;
  height: 16px;
  flex-shrink: 0;
}

.ticker-label-text {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: max-width 0.25s ease, opacity 0.2s ease;
}

.ticker-label:hover .ticker-label-text {
  max-width: 60px;
  opacity: 1;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  color: #00d4ff;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.7);
  animation: ticker-scroll 40s linear infinite;
  will-change: transform;
}

@keyframes ticker-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.site-header-sticky {
  position: sticky;
  top: 0;
  z-index: 300;
  background: var(--bg);
}

/* 鈹€鈹€ 銉娿儞銈层兗銈枫儳銉炽儛銉?鈹€鈹€ */
.top-nav {
  background: var(--bg);
  box-shadow: none;
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 96%);
  margin: 0 auto;
  height: 64px;
  position: relative;
}

.top-nav-home {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 1.2rem;
  border-radius: 8px;
  transition: color 0.2s, transform 0.15s;
  padding: 0.3rem 0.6rem;
}
.top-nav-home svg {
  width: 60px;
  height: 55px;
  overflow: visible;
}

.top-nav-home:hover {
  color: #374151;
  transform: translateY(-1px);
}

.home-door {
  transform-box: fill-box;
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.top-nav-home:hover .home-door {
  transform: scaleX(0.22);
}

.top-nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.mobile-social-row {
  display: none;
}

.top-nav-btn {
  background: none;
  border: none;
  color: #374151;
  font-family: 'Dela Gothic One', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  padding: 0.55rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
  display: block;
  text-align: center;
}

.top-nav-btn:hover {
  color: #374151;
  transform: translateY(-2px);
}

/* 今いるページ：枠・背景が無いので、文字の下に緑の線を引いて示す */
.top-nav-btn.top-nav-active {
  color: #1e293b;
  text-decoration: underline;
  text-decoration-color: #2e8b1f;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.nav-btn-accent {
  color: #2e8b1f;
}

.top-nav-logo-btn {
  font-family: -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
  color: #111827;
}
.top-nav-logo-line {
  display: block;
}
.top-nav-logo-accent {
  color: #2e8b1f;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #1e3a5f;
  font-size: 1.85rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  position: relative;
  z-index: 300;
}

@media (max-width: 1024px) {
  .hamburger { display: block; }

  .top-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: -4%;
    right: -4%;
    background: #e6d8b8;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 0.8rem 1rem;
    gap: 1.8rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    z-index: 200;
  }

  .top-nav-links.open { display: flex; }
  .top-nav-btn { text-align: center; padding: 0.5rem 0.8rem; font-size: 0.9rem; }
  .top-nav-img-btn img { height: 28px; }
  .mobile-social-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.2rem;
  }
  .mobile-social-btn img { height: 34px; display: block; }
  .mobile-social-company-name { height: 22px; width: auto; }
}

/* 鈹€鈹€ 銉涖兗銉犮儦銉笺偢灏傜敤锛氱敤HOME銉栢儶銉炽偗銈掗潪琛ㄧず 鈹€鈹€ */
.home-page .top-nav-home { display: none; }
.home-page .top-nav-links.open { display: flex; }

/* 鈹€鈹€ 銉掋兗銉兗鍐呯甫銉娿儞 鈹€鈹€ */

/* 鈹€鈹€ 銈般儹銉笺儛銉?鈹€鈹€ */
:root {
  --bg:     #f7edd5;
  --text:   #111827;
  --accent: #1e3a5f;
  --card:   #ffffff;
  --border: #d1d5db;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* 鈹€鈹€ 銈点偆銉堛儤銉冦儉銉?鈹€鈹€ */
.site-header {
  width: 100%;
  padding: 0.1rem 2.6% 0.1rem 2%;
  box-sizing: border-box;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.site-company-name {
  height: 15px;
  width: auto;
  display: block;
  flex-shrink: 0;
  margin-top: -4px;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.88rem;
  font-weight: 700;
  color: #1e3a5f;
  line-height: 1.6;
}

.header-phone div:first-child {
  font-size: 1.15rem;
  font-weight: 900;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-insta {
  display: flex;
  align-items: center;
  transition: opacity 0.2s, transform 0.2s;
}
.header-insta img {
  height: 66px;
  width: auto;
  display: block;
}
.header-insta:hover {
  opacity: 0.8;
  transform: scale(1.08);
}

/* ===== 鑱栧厜銉堛儵銉炽偣 銉愩儕銉?===== */
.seiko-banner-link {
  display: block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.seiko-banner-link:hover {
  opacity: 0.85;
  transform: scale(1.03);
}
.seiko-banner-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.seiko-banner {
  position: relative;
  height: 54px;
  display: inline-block;
}
.seiko-img {
  height: 54px;
  width: auto;
  display: block;
  border-radius: 5px;
}
.seiko-img-1 {
  position: absolute;
  top: 0;
  left: 0;
}
@keyframes seiko-fade-0 {
  0%,  42% { opacity: 1; }
  50%, 92% { opacity: 0; }
  100%     { opacity: 1; }
}
@keyframes seiko-fade-1 {
  0%,  42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100%     { opacity: 0; }
}
.seiko-img-0 { animation: seiko-fade-0 3.6s ease-in-out infinite; }
.seiko-img-1 { animation: seiko-fade-1 3.6s ease-in-out infinite; }

.header-contact-btn {
  flex-shrink: 0;
  background-color: #16a34a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.65rem 1.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.header-contact-mail-icon {
  vertical-align: -2px;
  margin-left: 6px;
}
@media (hover: hover) and (pointer: fine) {
  .header-contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  }
}

.corner-tape-tl {
  position: absolute;
  top: -2px;
  left: -2px;
  width: 22px;
  height: 10px;
  background: repeating-linear-gradient(-45deg, #f2c94c 0, #f2c94c 4px, #1a1a1a 4px, #1a1a1a 8px);
  clip-path: polygon(0 0, 0 100%, 100% 0);
  border-radius: 2px 0 0 0;
  pointer-events: none;
}

/* 鈹€鈹€ 澶櫧銇忋倠銇忋倠 鈹€鈹€ */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.sunny-spin {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 120px;
  height: auto;
  animation: spin 4s linear infinite;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* 鈹€鈹€ 銈兗銉椼儖銉炽偘銈兗銉愩兗銉偆 鈹€鈹€ */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #ffffff;
  overflow: hidden;
}

.intro-overlay .truck-stage {
  height: 100vh;
  background: transparent;
}

/* 鈹€鈹€ 銉偞鐞冧綋銈儖銉°兗銈枫儳銉?鈹€鈹€ */
.intro-bg {
  position: fixed;
  inset: 0;
  z-index: 9001;
  background-color: #060d1a;
  background-image:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(255, 255, 255, 0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 15%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 80% 60%, rgba(255, 255, 255, 0.85) 50%, transparent 51%),
    radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 10% 70%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 35%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 50% 50%, rgba(255, 255, 255, 0.55) 50%, transparent 51%);
  background-repeat: repeat;
  background-size: 220px 220px;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
}

.shooting-star {
  position: absolute;
  width: 130px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.95));
  border-radius: 2px;
  box-shadow: 0 0 8px 1px rgba(255, 255, 255, 0.5);
  opacity: 0;
  pointer-events: none;
}

.shooting-star-1 { top: 66%; left: 10%; animation: shooting-star-fly-1 6.5s linear 1.2s infinite; }
.shooting-star-2 { top: 72%; left: 58%; animation: shooting-star-fly-2 7.4s linear 3.6s infinite; }
.shooting-star-3 { top: 50%; left: 32%; animation: shooting-star-fly-3 6.9s linear 5.8s infinite; }

@keyframes shooting-star-fly-1 {
  0%   { opacity: 0; transform: translate(0, 0) rotate(-28deg); }
  3%   { opacity: 1; }
  10%  { opacity: 0.85; }
  24%  { opacity: 0; transform: translate(280px, -150px) rotate(-28deg); }
  100% { opacity: 0; }
}

@keyframes shooting-star-fly-2 {
  0%   { opacity: 0; transform: translate(0, 0) rotate(-36deg); }
  3%   { opacity: 1; }
  10%  { opacity: 0.85; }
  24%  { opacity: 0; transform: translate(260px, -190px) rotate(-36deg); }
  100% { opacity: 0; }
}

@keyframes shooting-star-fly-3 {
  0%   { opacity: 0; transform: translate(0, 0) rotate(-22deg); }
  3%   { opacity: 1; }
  10%  { opacity: 0.85; }
  24%  { opacity: 0; transform: translate(300px, -120px) rotate(-22deg); }
  100% { opacity: 0; }
}

.logo-ball-anim {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9002;
  width: 80px;
  height: 80px;
  pointer-events: none;
  opacity: 0;
}

.intro-vertical-text {
  position: fixed;
  top: 50%;
  z-index: 9003;
  display: none;
  opacity: 0;
  pointer-events: none;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #f9fafb;
  height: 94vh;
  max-height: 94vh;
}

.intro-vertical-main {
  margin: 0;
  margin-inline-end: 0.6em;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.6;
}

.intro-vertical-emphasis {
  font-size: 72px;
}

.intro-vertical-sub {
  margin: 0;
  font-size: 28px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.6;
}

.intro-vertical-point {
  margin: 0;
  margin-inline-end: 0.5em;
  font-size: 28px;
  font-weight: 500;
  color: #cbd5e1;
  line-height: 1.6;
}

.intro-vertical-solution {
  margin: 0;
  margin-inline-end: 0.1em;
  font-size: 34px;
  font-weight: 700;
  color: #4ade80;
  line-height: 1.6;
}

.intro-vertical-closing {
  margin: 0;
  font-size: 25px;
  font-weight: 500;
  color: #9ca3af;
  line-height: 1.6;
}

.intro-company-name {
  position: fixed;
  left: 2rem;
  bottom: 2rem;
  z-index: 9003;
  display: none;
  opacity: 0;
  pointer-events: none;
  color: #82d848;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: 2px solid #82d848;
  border-radius: 6px;
  transform: rotate(-3deg);
}

.intro-company-suffix {
  font-size: 11px;
  color: #cbd5e1;
}

/* スマホの縦画面では地球が画面幅ギリギリまで大きくなり、左右の縦書きテキストが
   入り切らない。文字は非表示にして、会社名スタンプを上部に表示する */
@media (max-width: 1024px) {
  .intro-vertical-left { display: none !important; }
  .intro-company-name {
    top: 2rem !important;
    bottom: auto !important;
    font-size: 13px;
    padding: 6px 12px;
  }

  /* 右側のキャッチコピーだけ、横書きにして画面上部に復活させる。
     表示/非表示（display）はJS側（GSAP）の制御にそのまま任せ、位置・向きだけを
     !importantで上書きする（displayまで!importantで固定すると、スキップ時にJSが
     display:noneにしようとしても消えなくなってしまう） */
  #introVerticalRight.intro-vertical-text {
    position: fixed !important;
    top: 6.5rem !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateX(-50%) !important;
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    height: auto !important;
    max-height: none !important;
    width: 88vw !important;
    text-align: center !important;
  }
  #introVerticalRight .intro-vertical-main { font-size: 20px; margin-inline-end: 0; }
  #introVerticalRight .intro-vertical-emphasis { font-size: 26px; }
  #introVerticalRight .intro-vertical-sub { font-size: 14px; }
}

.skip-intro {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9001;
  background: rgba(255, 244, 176, 0.95);
  border: 1px solid rgba(30, 58, 95, 0.3);
  color: #1e3a5f;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  letter-spacing: 0.03em;
}
.skip-intro:hover {
  background: rgba(255, 233, 130, 0.95);
}

/* 鈹€鈹€ 銉堛儵銉冦偗璧拌 鈹€鈹€ */
.truck-stage {
  position: relative;
  width: 100%;
  /* 銉樸儍銉€銉肩磩80px + 銉娿儞56px + 銉嗐偅銉冦偒銉?8px = 绱?84px 銈掑紩銇?*/
  height: calc(100vh - 184px);
  overflow: hidden;
  background: var(--bg);
}

.truck-img {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85vw;
  max-width: 1100px;
  height: auto;
  mix-blend-mode: multiply; /* 鐧借儗鏅倰閫忔槑銇銇涖倠 */
}

/* 鈹€鈹€ 銉掋兗銉兗 鈹€鈹€ */
.hero-area {
  display: flex;
  align-items: flex-start;
  padding: 0 0 0.8rem;
  margin-top: 0.5rem;
  overflow: visible;
}

.hero-logo {
  width: clamp(280px, 45vw, 550px);
  flex-shrink: 0;
  overflow: visible;
  position: relative;
  z-index: 200;
  transform: translateY(-7rem);
}
.logo-replay-tip {
  position: absolute;
  left: 6%;
  top: 42%;
  transform: translate(0, -50%);
  white-space: nowrap;
  background: #fff;
  color: #1a1a1a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 210;
}
.hero-logo:hover .logo-replay-tip {
  opacity: 1;
  transform: translate(-0.3rem, -50%);
}
/* スマホ・タブレット（またはマウスの無い端末）では、タップ後に「ホバー状態」が残って
   ラベルが出たままになるため表示しない（ロゴのタップで再生できるのは変わらない） */
@media (max-width: 1024px), (hover: none) {
  .logo-replay-tip { display: none; }
}

.hero-text {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 1.5rem;
}

.hero-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.hero-tagline {
  margin: 0;
  max-width: 32em;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  font-weight: 700;
  line-height: 1.8;
  color: #4b5563;
}

@media (max-width: 1024px) {
  .hero-area {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 1rem;
    margin-top: -1rem;
  }
  .hero-logo {
    /* オープニングのボールは、この大きさに合わせて止まる（index.html の #logoBallImg の大きさを基準にしている） */
    width: clamp(120px, 48vw, 200px);
    transform: none;
    z-index: auto;
  }
  .hero-text {
    padding-top: 0;
  }
  .hero-tagline {
    max-width: none;
  }
}
/* スマホ（幅600px以下）だけ、ロゴ（＝オープニングのボールが止まる大きさ）を大きくする */
@media (max-width: 600px) {
  .hero-logo {
    width: clamp(190px, 82vw, 360px);
    margin-top: -1.5rem;
  }
}

/* ============================================
   銈点儢銉氥兗銈稿叡閫氥儸銈ゃ偄銈︺儓
   ============================================ */

/* 銉氥兗銈搞偪銈ゃ儓銉儝銉笺儹銉?*/
.page-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2a5a8c 100%);
  padding: 2.5rem 2rem 2rem;
  color: white;
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.8rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.breadcrumb a:hover { color: white; }

.page-hero h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
}

/* 銈炽兂銉嗐兂銉勩偍銉偄 */
.page-content {
  padding: 3rem 2rem;
  background: var(--bg);
  min-height: 60vh;
}

.content-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section:last-child { margin-bottom: 0; }

/* ========================================
   写真ヒーローレイアウト共通（flow / qa / media）
   ======================================== */
.photo-layout .page-hero {
  background-color: var(--bg);
  background-position: left top;
  background-size: auto 100%;
  background-repeat: no-repeat;
  min-height: calc(28vw + 2rem);
  display: flex;
  align-items: flex-start;
  padding: 0.3rem 2rem;
}
.photo-layout .page-hero .page-hero-inner {
  margin: 0;
}
.photo-layout .page-hero h1 {
  color: white;
  font-size: 2.8rem;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.55);
}
/* コンテンツを写真に重ねる（flow / media） */
.photo-layout .page-content {
  margin-top: calc(-28vw);
  background: transparent;
  position: relative;
  z-index: 1;
}
.photo-layout .content-inner {
  max-width: none;
  margin: 0;
  padding: 0 2rem 0 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-layout .content-section {
  width: 68%;
}
/* QAリスト用 */
.photo-layout .page-hero-sub {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  color: white;
  text-shadow: 1px 2px 6px rgba(0,0,0,0.55);
}
.photo-layout .content-section h2 {
  margin-left: 60%;
  border-left: none;
  padding-left: 0;
}

.content-section h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1e3a5f;
  border-left: 4px solid #0099cc;
  padding-left: 0.8rem;
  margin-bottom: 1.2rem;
}

/* Trans Supporter（外枠）に ST-Navi（内枠）を入れ子表示 */
.nest-outer {
  background: #ffe1b0;
  border: 3px solid #1e293b;
  border-radius: 14px;
  padding: 2rem;
}
.nest-outer > h2 {
  color: #1e293b;
  border-left: 4px solid #1e3a5f;
}
.nest-lead {
  font-size: 0.95rem;
  color: #1e293b;
  margin: -0.4rem 0 1.2rem 0.8rem;
}
.nest-inner {
  background: #fff6bf;
  border: 3px solid #1e293b;
  border-radius: 12px;
  padding: 1.8rem;
  margin-top: 2rem;
}
.nest-inner > h2 {
  color: #1e293b;
  border-left: 4px solid #0099cc;
}

.nest-req {
  margin-top: 1.5rem;
}
.nest-req-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.3rem;
}
.qa-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  margin-top: 0.8rem;
}
.qa-table th, .qa-table td {
  border: 1px solid #000;
  padding: 0.5rem 0.8rem;
  text-align: left;
  vertical-align: top;
  background: #fff;
}
.qa-table th {
  background: #eaf7dc;
  font-weight: 700;
  color: #1e3a5f;
  white-space: nowrap;
}
.qa-table caption {
  font-weight: 700;
  color: #0099cc;
  text-align: left;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}
.qa-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.5rem;
  line-height: 1.7;
}

/* 姗熻兘绱逛粙銉嗐兗銉栥儷 */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.feature-table th {
  background: #1e3a5f;
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 700;
  width: 32%;
  vertical-align: top;
}

.feature-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: top;
}

.feature-table tr:nth-child(even) td { background: #f8fafc; }

.feature-table td ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: #4a6080;
  margin: 0;
}

.feature-table td ul li { margin-bottom: 0.2rem; }

/* 灏庡叆銈广儐銉冦儣 */
.step-list { padding: 0; }

.step-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
  align-items: center;
  background: white;
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.step-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #1e3a5f, #2a5a8c);
  color: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.step-num strong { font-size: 1rem; display: block; }

.step-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: linear-gradient(transparent 55%, rgba(255, 225, 0, 0.55) 55%);
}

.step-body p, .step-body ul, .step-body dl {
  font-size: 0.88rem;
  color: #4a6080;
  line-height: 1.8;
}

.step-body ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.4rem 0;
}

.step-body dl dt {
  font-weight: 700;
  color: #1e3a5f;
  margin-top: 0.6rem;
}

.step-arrow {
  text-align: center;
  color: #0099cc;
  font-size: 1.4rem;
  padding-left: 28px;
  margin: -0.6rem 0;
}

/* Q&A */
.qa-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.2rem 0;
}

.qa-item:last-child { border-bottom: none; }

.qa-q {
  font-weight: 700;
  color: #1e3a5f;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.qa-q::before {
  content: 'Q';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #1e3a5f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

.qa-a {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  color: #4a6080;
  font-size: 0.88rem;
  line-height: 1.8;
}

.qa-a::before {
  content: 'A';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: #0099cc;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
}

/* 浼氱ぞ姒傝銉嗐兗銉栥儷 */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  font-size: 1.05rem;
}

.info-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.06);
}

.info-card-full { grid-column: 1 / -1; }

.info-card h3 {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #1e3a5f;
  font-weight: 800;
}

.info-card p {
  margin: 0;
  color: #1f2a3d;
  font-weight: 700;
  line-height: 1.8;
}

.info-card ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0;
  color: #1f2a3d;
  font-weight: 700;
  line-height: 1.8;
}

.info-card dl { margin: 0; color: #1f2a3d; font-weight: 700; line-height: 1.8; }
.info-card dl dt { font-weight: 800; color: #1e3a5f; margin-top: 0.4rem; }
.info-card dl dt:first-child { margin-top: 0; }
.info-card dl dd { margin: 0; }

/* 銈偗銈汇偣銉炪儍銉?*/
.map-img {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

/* 銉°儑銈ｃ偄銈兗銉?*/
.media-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.media-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  cursor: pointer;
  user-select: none;
  background: #fff;
  transition: background 0.15s;
}
.media-card-header:hover { background: #f8fafc; }

.media-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #1e3a5f;
  margin: 0;
}

.media-card-arrow {
  color: #1e3a5f;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
  transition: transform 0.25s ease;
}
.media-card.open .media-card-arrow {
  transform: rotate(180deg);
}

.media-card-body {
  display: none;
  padding: 0 1.25rem 1.25rem;
  overflow: hidden;
  background: #fff;
}

.media-thumb-wrap {
  float: left;
  width: 36%;
  margin: 0 1.5rem 1rem 0;
}

.media-thumb-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: opacity 0.2s;
}
.media-thumb-img:hover { opacity: 0.85; }

.click-note {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.3rem;
  text-align: center;
}

.media-card-body p {
  font-size: 0.88rem;
  color: #4a6080;
  line-height: 1.8;
}

.media-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  color: #94a3b8;
  font-size: 0.85rem;
}

.media-tag {
  display: inline-block;
  background: #e8f4fb;
  color: #1e3a5f;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.media-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #1e3a5f;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid #fde68a;
  background: #fffbea;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
}
.media-link:hover { background: #fef3c7; }

.loading-text {
  color: #9ca3af;
  font-size: 0.9rem;
  padding: 1rem 0;
}

/* デモ画面 2枚 + with */
.demo-with-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1.2rem;
  max-width: 1000px;
  margin: 0.3rem auto 2.5rem;
}
.demo-with-visual {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-shrink: 0;
  gap: 1.2rem;
}
.demo-with-img-link {
  display: flex;
  justify-content: center;
  transition: transform 0.2s, filter 0.2s;
}
.demo-with-img-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.06) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
}
.stnavi-img-link {
  display: block;
  text-align: center;
  transition: transform 0.2s, filter 0.2s;
}
.stnavi-img-link:hover {
  transform: translateY(-3px);
  filter: brightness(1.06) drop-shadow(0 6px 10px rgba(0, 0, 0, 0.2));
}
a.demo-with-cta {
  align-self: flex-start;
  position: relative;
  z-index: 2;
  top: 4.4rem;
  left: -7.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 1.4rem 2.6rem;
  font-size: 2rem;
  background-color: #6d1327;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0.22) 1.5px,
      rgba(0, 0, 0, 0.28) 1.5px, rgba(0, 0, 0, 0.28) 3px,
      transparent 3px, transparent 11px),
    radial-gradient(circle at 7px 7px, #ece3da 2px, transparent 2.1px),
    radial-gradient(circle at calc(100% - 7px) 7px, #ece3da 2px, transparent 2.1px),
    radial-gradient(circle at 7px calc(100% - 7px), #ece3da 2px, transparent 2.1px),
    radial-gradient(circle at calc(100% - 7px) calc(100% - 7px), #ece3da 2px, transparent 2.1px);
  color: #f0c674;
  border: 2px solid #2a0810;
  border-radius: 3px;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.1), 0 4px 0 #2a0810, 0 6px 12px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

a.demo-with-cta::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 22px;
  height: 10px;
  background: repeating-linear-gradient(45deg, #f2c94c 0, #f2c94c 4px, #1a1a1a 4px, #1a1a1a 8px);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  border-radius: 0 2px 0 0;
}

a.demo-with-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: -11px;
  width: 11px;
  height: calc(100% + 4px);
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(0, 0, 0, 0.4) 44% 56%, transparent 56% 100%),
    linear-gradient(180deg, #4a0f1c 0%, #1a0509 100%);
  clip-path: polygon(0 3px, 100% 0, 100% 100%, 0 calc(100% - 3px));
  border-radius: 0 2px 2px 0;
  opacity: 0;
  transition: opacity 0.2s;
}

a.demo-with-cta:hover::before {
  opacity: 1;
}

a.demo-with-cta:hover {
  background-color: #0d0d0d;
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #2a0810, 0 8px 14px rgba(0, 0, 0, 0.26);
}

a.demo-with-cta:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #2a0810, 0 2px 6px rgba(0, 0, 0, 0.2);
}

a.demo-with-cta .cta-ball {
  position: absolute;
  top: -4px;
  width: 26px;
  height: 26px;
  background-image: url('../images/cta-ball.svg');
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 3px 3px rgba(0, 0, 0, 0.35));
  opacity: 0;
  transform: translate(0, 0) scale(0.3) rotate(0deg);
  pointer-events: none;
  z-index: 3;
}
a.demo-with-cta .cta-ball-1 { right: -15px; }
a.demo-with-cta .cta-ball-2 { right: -15px; }
a.demo-with-cta .cta-ball-3 { right: -15px; }
a.demo-with-cta .cta-ball-4 { right: -15px; }
a.demo-with-cta .cta-ball-5 { right: -15px; }

a.demo-with-cta:hover .cta-ball-1 {
  animation: ctaBallRoll1 2.1s cubic-bezier(0.3, 0.1, 0.3, 1) both;
  animation-delay: 0.05s;
}
a.demo-with-cta:hover .cta-ball-2 {
  animation: ctaBallRoll2 2.1s cubic-bezier(0.3, 0.1, 0.3, 1) both;
  animation-delay: 0.2s;
}
a.demo-with-cta:hover .cta-ball-3 {
  animation: ctaBallRoll3 2.1s cubic-bezier(0.3, 0.1, 0.3, 1) both;
  animation-delay: 0.35s;
}
a.demo-with-cta:hover .cta-ball-4 {
  animation: ctaBallRoll4 2.1s cubic-bezier(0.3, 0.1, 0.3, 1) both;
  animation-delay: 0.5s;
}
a.demo-with-cta:hover .cta-ball-5 {
  animation: ctaBallRoll5 2.1s cubic-bezier(0.3, 0.1, 0.3, 1) both;
  animation-delay: 0.65s;
}

/* 縦にポトポト落ちて → 着地後は右へコロコロ転がる、の2段階 */
@keyframes ctaBallRoll1 {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  6%   { opacity: 1; transform: translate(1px, 0) scale(0.45) rotate(3deg); }
  20%  { opacity: 1; transform: translate(2px, 46px) scale(0.75) rotate(8deg); }
  30%  { opacity: 1; transform: translate(3px, 80px) scale(1.15) rotate(12deg); }
  40%  { opacity: 1; transform: translate(4px, 66px) scale(1.1) rotate(20deg); }
  55%  { opacity: 1; transform: translate(28px, 80px) scale(1.15) rotate(90deg); }
  72%  { opacity: 1; transform: translate(58px, 76px) scale(1.15) rotate(175deg); }
  88%  { opacity: 1; transform: translate(82px, 80px) scale(1.15) rotate(230deg); }
  100% { opacity: 1; transform: translate(100px, 78px) scale(1.15) rotate(270deg); }
}
@keyframes ctaBallRoll2 {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  6%   { opacity: 1; transform: translate(1px, 0) scale(0.42) rotate(3deg); }
  20%  { opacity: 1; transform: translate(2px, 50px) scale(0.7) rotate(8deg); }
  30%  { opacity: 1; transform: translate(3px, 88px) scale(1.05) rotate(12deg); }
  40%  { opacity: 1; transform: translate(4px, 74px) scale(1) rotate(22deg); }
  55%  { opacity: 1; transform: translate(36px, 88px) scale(1.05) rotate(100deg); }
  72%  { opacity: 1; transform: translate(74px, 82px) scale(1.05) rotate(200deg); }
  88%  { opacity: 1; transform: translate(104px, 88px) scale(1.05) rotate(260deg); }
  100% { opacity: 1; transform: translate(122px, 86px) scale(1.05) rotate(295deg); }
}
@keyframes ctaBallRoll3 {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  6%   { opacity: 1; transform: translate(0, 0) scale(0.4) rotate(2deg); }
  20%  { opacity: 1; transform: translate(1px, 54px) scale(0.65) rotate(7deg); }
  30%  { opacity: 1; transform: translate(2px, 92px) scale(1) rotate(11deg); }
  40%  { opacity: 1; transform: translate(3px, 76px) scale(0.95) rotate(24deg); }
  55%  { opacity: 1; transform: translate(48px, 92px) scale(1) rotate(110deg); }
  72%  { opacity: 1; transform: translate(96px, 86px) scale(1) rotate(215deg); }
  88%  { opacity: 1; transform: translate(134px, 92px) scale(1) rotate(275deg); }
  100% { opacity: 1; transform: translate(154px, 90px) scale(1) rotate(310deg); }
}
@keyframes ctaBallRoll4 {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  6%   { opacity: 1; transform: translate(-1px, 0) scale(0.35) rotate(2deg); }
  20%  { opacity: 1; transform: translate(0, 40px) scale(0.55) rotate(6deg); }
  30%  { opacity: 1; transform: translate(1px, 68px) scale(0.85) rotate(10deg); }
  40%  { opacity: 1; transform: translate(2px, 56px) scale(0.8) rotate(26deg); }
  55%  { opacity: 1; transform: translate(52px, 68px) scale(0.85) rotate(120deg); }
  72%  { opacity: 1; transform: translate(100px, 64px) scale(0.85) rotate(230deg); }
  88%  { opacity: 1; transform: translate(138px, 68px) scale(0.85) rotate(295deg); }
  100% { opacity: 1; transform: translate(156px, 66px) scale(0.85) rotate(330deg); }
}
@keyframes ctaBallRoll5 {
  0%   { transform: translate(0, 0) scale(0.3) rotate(0deg); opacity: 0; }
  6%   { opacity: 1; transform: translate(-1px, 0) scale(0.32) rotate(2deg); }
  20%  { opacity: 1; transform: translate(0, 36px) scale(0.5) rotate(5deg); }
  30%  { opacity: 1; transform: translate(1px, 60px) scale(0.75) rotate(9deg); }
  40%  { opacity: 1; transform: translate(2px, 50px) scale(0.7) rotate(24deg); }
  55%  { opacity: 1; transform: translate(58px, 60px) scale(0.75) rotate(130deg); }
  72%  { opacity: 1; transform: translate(112px, 56px) scale(0.75) rotate(245deg); }
  88%  { opacity: 1; transform: translate(152px, 60px) scale(0.75) rotate(310deg); }
  100% { opacity: 1; transform: translate(172px, 58px) scale(0.75) rotate(345deg); }
}
.demo-with-img {
  max-width: 320px;
  width: 100%;
  height: auto;
}
.demo-with-img-lg {
  max-width: 450px;
}
.demo-with-text {
  position: relative;
  bottom: 0;
  font-size: 3.6rem;
  font-weight: 900;
  font-style: italic;
  color: #a8d84a;
  -webkit-text-stroke: 2.2px #000;
  text-shadow: -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000, -1.5px 1.5px 0 #000, 1.5px 1.5px 0 #000;
}
@media (min-width: 1025px) {
  .demo-with-visual {
    display: grid;
    grid-template-columns: auto auto;
    align-items: end;
    justify-content: center;
    column-gap: 1.2rem;
    row-gap: 0.6rem;
  }
  .demo-with-img-link {
    grid-row: 2;
    grid-column: 1;
    position: relative;
    left: 4.2rem;
  }
  .demo-with-visual > .stnavi-img-link {
    grid-row: 2;
    grid-column: 2;
    position: relative;
    left: -2.5rem;
    bottom: 0.8rem;
  }
  .demo-with-text {
    grid-row: 1;
    grid-column: 1 / span 2;
    justify-self: center;
    bottom: -6rem;
    left: 3rem;
    z-index: 1;
  }
}
@media (max-width: 1024px) {
  .demo-with-section {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 0.8rem;
  }
  .demo-with-visual {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .demo-with-img { max-width: 55%; }
  .stnavi-img-link { margin-left: 50px; }
  .stnavi-img-link .demo-with-img { max-width: 75%; }
  .demo-with-text {
    bottom: 0;
    font-size: 1.8rem;
    -webkit-text-stroke: 1.2px #000;
  }
  a.demo-with-cta {
    align-self: center;
    position: static;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem;
  }
  a.demo-with-cta:hover {
    background-color: #6d1327;
    transform: none;
    box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.1), 0 4px 0 #2a0810, 0 6px 12px rgba(0, 0, 0, 0.22);
  }
  a.demo-with-cta:hover::before {
    opacity: 0;
  }
  a.demo-with-cta:hover .cta-ball {
    animation: none;
    opacity: 0;
  }
}

/* VISION（壁に掛けた画用紙＋白い額縁のイメージ） */
.vision-section {
  position: relative;
  margin: 2.5rem 0;
  padding: 2.5rem 0.7rem;
  background: #fdfbf3;
  border: 14px solid #ffffff;
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  color: #1f2937;
  text-align: center;
}
.vision-label {
  font-family: sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #4ade80;
  margin: 0 0 0.6rem;
}
.vision-title {
  font-family: 'Yuji Boku', serif;
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
  line-height: 1.6;
  color: #1f2937;
  text-wrap: balance;
}
.vision-title-break {
  display: none;
}
.vision-body {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}
.vision-body p {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", "Yu Gothic", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 2;
  color: #374151;
  margin-bottom: 0.8rem;
}
.vision-body p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .vision-section {
    padding: 1.8rem 0.5rem;
    border-width: 10px;
  }
  .vision-label {
    font-size: 1.8rem;
    letter-spacing: 0.12em;
  }
  .vision-title {
    font-size: 1.4rem;
  }
  .vision-title-break {
    display: inline;
  }
  .vision-body p {
    font-size: 0.95rem;
  }
}

.map-link {
  display: inline-block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  color: #2a5a8c;
  text-decoration: none;
  border: 1px solid #2a5a8c;
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.map-link:hover { background: #2a5a8c; color: #fff; }

/* フッターCTAラッパー */
.footer-cta {
  background: var(--bg);
  padding: 2.5rem 2rem;
}
.footer-cta .cta-box {
  max-width: 420px;
  margin: 0 auto;
}

/* お問い合わせCTA */
.cta-box {
  background: linear-gradient(135deg, #1e3a5f, #2a5a8c);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: white;
  margin-top: 2.5rem;
}

.cta-box h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

.cta-box p {
  font-size: 0.88rem;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

/* ホーム製品ボタン */
.product-img-btn {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}
.product-img-btn:hover {
  transform: translateY(-4px) scale(1.03);
  opacity: 0.88;
}

/* 機能カード */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.4rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.feature-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e3a5f;
  border-bottom: 2px solid #1e3a5f;
  padding-bottom: 0.5rem;
  margin-bottom: 0.8rem;
}
.feature-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.feature-card-list li {
  font-size: 0.88rem;
  color: #374151;
  padding-left: 1rem;
  position: relative;
}
.feature-card-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #0099cc;
  font-weight: 700;
}

/* 見える化セクション */
.visible-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
}
.visible-heading-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.visible-icon {
  height: 28px;
  width: auto;
  flex-shrink: 0;
}
.visible-heading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.4rem;
  display: inline-block;
  background: linear-gradient(transparent 55%, rgba(255, 225, 0, 0.55) 55%);
}
.visible-lead {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 1rem;
}
.visible-merits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.2rem;
}
.visible-merit {
  padding-bottom: 1rem;
}
.visible-merit:last-child {
  padding-bottom: 0;
}
.visible-merit h4 {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #d97706;
  background: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}
.visible-merit p {
  font-size: 0.88rem;
  color: #4b5563;
  line-height: 1.8;
  margin: 0;
}

.cta-btn {
  display: inline-block;
  background: #16a34a;
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (hover: hover) and (pointer: fine) {
  .cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  }
}

.cta-tel {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .media-thumb-wrap { float: none; width: 100%; margin: 0 0 1rem 0; }
  .content-inner { padding: 1.5rem 1rem; }
  .step-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
  }
  .step-left { flex-direction: row; align-self: center; }
  .feature-table th { width: 38%; }
  .page-content { padding: 2rem 1rem; }
  .nest-outer { padding: 1.2rem; }
  .nest-inner { padding: 1.2rem; margin-top: 1.5rem; }
}


/* 鈹€鈹€ 銉曘儍銈裤兗 鈹€鈹€ */
.footer-phone {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 0.6rem;
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: #6b7280;
  font-size: 0.88rem;
}

.footer-link {
  color: #6b7280;
  text-decoration: underline;
}
.footer-link:hover {
  color: #374151;
}
.footer-copy-break {
  display: none;
}

/* 鈹€鈹€ 銉偣銉濄兂銈枫儢 鈹€鈹€ */
@media (max-width: 1024px) {
  .site-header {
    flex-wrap: nowrap;
    padding: 0.5rem 3%;
    gap: 0.25rem;
  }

  .header-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    min-width: 0;
  }

  .site-logo { height: 32px; }

  .seiko-banner-col { display: none; }

  .header-phone {
    font-size: 0.72rem;
    line-height: 1.5;
  }

  .header-phone div:first-child { font-size: 0.9rem; }

  .header-right {
    align-items: flex-end;
    gap: 0;
    min-width: 0;
  }

  .header-actions { gap: 0.3rem; min-width: 0; }

  .header-insta { display: none; }

  .header-contact-btn {
    flex-shrink: 1;
    min-width: 0;
    font-size: 0.68rem;
    padding: 0.45rem 0.75rem;
    white-space: nowrap;
  }
  .header-contact-mail-icon {
    width: 13px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .header-phone { display: none; }
  .site-logo { height: 40px; }
  .header-insta img { height: 34px; }

  .header-contact-btn {
    font-size: 0.72rem;
    padding: 0.45rem 0.8rem;
  }
}

/* news-card / modal（news.htmlと共通） */
.news-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  background: #1e3a5f;
  height: 230px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.18); transform: translateY(-2px); }
.news-card-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 0; background: #eaf0f7; }
.news-card-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 0.7rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
}
.news-card-meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.news-new-badge { background: #ef4444; color: #fff; font-size: 0.65rem; font-weight: 700; padding: 0.1rem 0.45rem; border-radius: 999px; }
.news-date { font-size: 0.78rem; color: rgba(255,255,255,0.85); }
.news-card h2 { font-size: 0.92rem; font-weight: 700; color: #fff; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 画像なし時のプレースホルダー */
.news-card-no-img { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #1e3a5f 0%, #2a5a8c 100%); }
.news-empty { text-align: center; color: #9ca3af; padding: 2.5rem 0; font-size: 0.9rem; }

.news-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.52); z-index: 350; align-items: center; justify-content: center; padding: 1rem; }
.news-modal-overlay.open { display: flex; }
.news-modal { background: #fff; border-radius: 14px; padding: 2rem; width: 100%; max-width: 660px; max-height: 88vh; overflow-y: auto; position: relative; }
.news-modal-close { position: absolute; top: 1rem; right: 1rem; background: #f1f5f9; border: none; border-radius: 50%; width: 2rem; height: 2rem; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.news-modal-date { font-size: 0.82rem; color: #6b7280; margin-bottom: 0.5rem; }
.news-modal h2 { font-size: 1.2rem; font-weight: 800; color: #1e3a5f; margin: 0 0 1rem; }
.news-modal img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 10px; margin-bottom: 1rem; background: #f8fafc; }
.news-modal-body { font-size: 0.92rem; color: #374151; line-height: 1.9; white-space: pre-line; }
#homeNewsModalGallery { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.modal-gallery-main { width: 100%; height: 260px; object-fit: contain; border-radius: 10px; background: #f8fafc; cursor: zoom-in; }
.modal-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.modal-gallery-sub { width: 100%; height: 120px; object-fit: contain; border-radius: 8px; background: #f8fafc; cursor: zoom-in; }

.img-zoom-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 500; align-items: center; justify-content: center; padding: 2rem; cursor: zoom-out; }
.img-zoom-overlay.open { display: flex; }
.img-zoom-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 6px; }
.news-modal-link-btn { display: inline-flex; align-items: center; gap: 0.4rem; background: #1e3a5f; color: white; padding: 0.6rem 1.4rem; border-radius: 0; font-size: 0.95rem; font-weight: 600; text-decoration: none; margin-bottom: 1rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); }
.news-modal-link-btn:hover { background: #152c47; }
.news-modal-link-img { max-width: 180px; max-height: 100px; object-fit: contain; border-radius: 8px; display: block; transition: opacity 0.2s; }
.news-modal-link-img:hover { opacity: 0.8; }
.modal-link-img-btn { display: inline-block; border: 3px solid #fde68a; background: #fffbea; border-radius: 12px; padding: 6px; }

@media (max-width: 600px) {
  .news-card { flex-direction: column; align-items: flex-start; }
  .news-card-thumb { width: 100%; height: 150px; }
}

#news-anchor { background: var(--bg); margin-top: -6rem; }

/* ===== news-stage（トラックアニメーション＋カレンダー） ===== */
.news-stage {
  position: relative;
  width: 100%;
  min-height: 100px;
  background: var(--bg);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}
.news-body-wrap {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0.5rem auto 0;
  padding: 0 1rem;
}
.news-cal-wrap {
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 0.5rem;
  margin-left: -2rem;
}

#truckWrap { margin-left: 40px; }
#truckWrap.truck-slide { animation: truckMoveX 10s ease-in forwards; }
#truckWrap.truck-frame-3 { transform: translateX(15px); }
@keyframes truckMoveX { from { transform: translateX(0); } to { transform: translateX(min(65vw, 640px)); } }

.truck-anim-img { height: 85px; width: auto; object-fit: contain; }
.truck-anim-img.truck-bounce { animation: truckBounce 0.6s ease-in-out infinite; }
@keyframes truckBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.news-list-wrap { flex: 1; min-width: 0; padding: 0; }
.news-section-header { position: relative; display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.1rem; margin-bottom: 1rem; }
.news-section-header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 15px;
  background: linear-gradient(to bottom, #2e8b1f 0 6px, #fff 6px 9px, #a8d84a 9px 15px);
}
.news-section-label { font-size: 1.05rem; font-weight: 700; color: #1e3a5f; }
.news-all-btn { font-size: 0.78rem; color: #1e3a5f; font-weight: 600; text-decoration: none; padding: 0.25rem 0.7rem; border: 1px solid #1e3a5f; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.news-all-btn:hover { background: #1e3a5f; color: #fff; }

/* カルーセル */
.news-carousel-wrap { display: flex; align-items: center; gap: 0.5rem; }
.news-carousel-viewport { flex: 1; overflow: hidden; border-radius: 12px; }
.news-list { display: flex; flex-direction: row; transition: transform 0.35s ease; }
.news-card { min-width: 100%; flex-shrink: 0; cursor: pointer; }
.news-carousel-btn {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: #c25a00;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: background 0.2s, opacity 0.2s;
}
.news-carousel-btn:hover { background: #9c4800; }
.news-carousel-btn:disabled { opacity: 0.3; cursor: default; pointer-events: none; }
.news-carousel-dots { display: flex; justify-content: center; gap: 0.4rem; margin-top: 0.8rem; }
.news-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: #d1d5db; cursor: pointer; transition: background 0.2s; }
.news-carousel-dot.active { background: #1e3a5f; }

@media (max-width: 600px) {
  #truckWrap { margin-left: 0; }
  /* スマホはmargin-leftが0になり枠も狭いため、65vw基準だと枠からはみ出して見切れてしまう */
  @keyframes truckMoveX { from { transform: translateX(0); } to { transform: translateX(min(35vw, 150px)); } }
}

@media (max-width: 1024px) {
  .news-body-wrap { flex-direction: column; align-items: stretch; }
  .news-list-wrap { width: 100%; }
  .news-cal-wrap { width: 100%; }
  #news-anchor { margin-top: 1rem; }
}

/* ===== フッターCTA レスポンシブ ===== */
@media (max-width: 1024px) {
  .footer-cta { padding: 1.5rem 1rem; }
  .cta-box { padding: 1.5rem 1rem; }
  .cta-tel { font-size: 1.3rem; letter-spacing: 0.02em; }
  .cta-btn { padding: 0.65rem 1.4rem; font-size: 0.88rem; }
  .site-footer { font-size: 0.75rem; padding: 1rem 1.5rem; }
  .footer-copy-break { display: inline; }
}

/* ===== photo-layout レスポンシブ（flow / qa / media） ===== */
@media (max-width: 1024px) {
  .photo-layout .page-hero {
    background-size: contain;
    background-position: center top;
    min-height: 44vw;
    padding: 0.3rem 1rem;
  }
  .photo-layout .page-hero h1 {
    font-size: 1.5rem;
  }
  .photo-layout .page-hero-sub {
    font-size: 0.9rem;
  }
  .photo-layout .page-content {
    margin-top: 0;
  }
  .photo-layout .content-inner {
    padding: 1.5rem 1rem;
    align-items: flex-start;
  }
  .photo-layout .content-section {
    width: 100%;
  }
  .photo-layout .content-section h2 {
    margin-left: 0;
  }
  .photo-layout .qa-list {
    max-width: 100%;
    padding: 0;
  }
}

/* ===== 大きめの外部モニター向け：横幅だけ少し広げる（サイト共通） ===== */
@media (min-width: 1700px) {
  .content-inner {
    max-width: 1100px;
  }
  .page-hero-inner {
    max-width: 1300px;
  }
  .photo-layout .content-section {
    width: 76%;
  }
  .news-body-wrap {
    max-width: 860px;
  }
  /* .content-innerが広がる分、フォークリフトの移動距離も広げる */
  @keyframes truckMoveX { from { transform: translateX(0); } to { transform: translateX(800px); } }
}
