/* ===============================
   基本設定
   =============================== */

:root {
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-surface-soft: #f9fafb;
  --color-border: #e5e7eb;
  --color-border-strong: #d1d5db;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --color-accent: #111827;
  --header-height: 80px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --transition-fast: 0.22s ease-out;
  --transition-slow: 0.55s cubic-bezier(0.19, 1, 0.22, 1);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Yu Gothic", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

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

a:hover {
  text-decoration: none;
}

/* SP / PC */

.u-sp {
  display: inline;
}

.u-pc {
  display: none;
}

@media (min-width: 768px) {
  .u-sp {
    display: none;
  }
  .u-pc {
    display: inline;
  }
}

/* ===============================
   レイアウト共通
   =============================== */

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* ▼ RECRUIT（採用情報）見やすくするカード風デザイン */
.recruit-panel {
  background: #fafafa;
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid #eee;
}

.recruit-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.recruit-card {
  padding: 24px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e5e5e5;
  transition: all .25s ease;
}

.recruit-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
}

.recruit-card p {
  margin-bottom: 12px;
  color: #555;
}

.recruit-link {
  font-weight: 600;
  color: #1a73e8;
  display: inline-block;
  margin-top: 4px;
}

.recruit-card:hover {
  background: #f7faff;
  border-color: #d2e3fc;
  transform: translateY(-2px);
}



@media (min-width: 1200px) {
  .container {
    width: min(1040px, 100% - 80px);
  }
}

.section {
  padding: 96px 0;
}

.section + .section {
  border-top: 1px solid var(--color-border);
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}

.section-subtitle {
  margin: 0;
  font-size: clamp(24px, 3vw, 28px);
  font-weight: 600;
}

/* ===============================
   ヘッダー
   =============================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 50;
  background-color: rgba(249, 250, 251, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.2s ease-out, border-color 0.2s ease-out,
    background-color 0.2s ease-out;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  background-color: rgba(249, 250, 251, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* ★ ロゴを2〜3倍に */
.header-logo img {
  height: 56px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo img {
    height: 80px;
  }
}

/* グローバルナビ */

.global-nav {
  position: relative;
}

.nav-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

#global-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: calc(var(--header-height) - 8px);
  right: -8px;
  min-width: 220px;
  background-color: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.22s ease-out, padding 0.22s ease-out;
}

#global-nav-list.is-open {
  max-height: 320px;
  padding: 10px 0;
}

#global-nav-list li {
  margin: 0;
}

#global-nav-list a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111827;
}

#global-nav-list a:hover {
  background-color: #f3f4f6;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }
  #global-nav-list {
    position: static;
    display: flex;
    align-items: center;
    gap: 28px;
    background: transparent;
    box-shadow: none;
    max-height: none;
    padding: 0;
  }
  #global-nav-list a {
    padding: 0;
    font-size: 13px;
    letter-spacing: 0.16em;
    color: #111827;
    text-transform: uppercase;
  }
  #global-nav-list a:hover {
    background: none;
    color: #000000;
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-fast),
    color var(--transition-fast), border-color var(--transition-fast),
    transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.btn-primary {
  background-color: #111827;
  border-color: #000000;
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  border-color: #ffffff;
  color: #ffffff;
  background-color: transparent;
}

.btn-outline:hover {
  background-color: #ffffff;
  color: #111827;
}

/* ===============================
   MAIN レイアウト
   =============================== */

main {
  padding-top: var(--header-height);
}

/* ===============================
   FV（TOP）
   =============================== */
/* ===== TOP FV（黒グラデベースに戻す） ===== */

.fv {
  padding: 140px 0 120px;
  background: radial-gradient(circle at 0% 0%, #1f2937 0, #020617 55%, #020617 100%);
  color: #f9fafb;
  border-bottom: none;
}

.fv-inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.fv-lead {
  margin: 0;
  font-size: 15px;
  color: #d1d5db;
}

/* ラベルは暗い背景用の配色に */
.fv-label-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e5e7eb;
}


.jpx-badge {
  height: 51px;
  width: auto;
  background-color: white;
}

.fv-copy {
  max-width: 680px;
}

.fv-eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.fv-title {
  font-size: clamp(39px, 3.4vw, 38px);
  line-height: 1.4;
  margin: 40px 0 40px; /* 上下の余白を広めに */
  letter-spacing: 0.08em;
}

/* PC幅では強制的に1行にする */
@media (min-width: 1024px) {
  .fv-title {
    white-space: nowrap;
  }
}


.fv-lead {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.fv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.scroll-indicator {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
}

.scroll-line {
  margin-top: 6px;
  width: 1px;
  height: 36px;
  overflow: hidden;
  position: relative;
  background-color: #d1d5db;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: -36px 0 0;
  background: linear-gradient(to bottom, #111827, transparent);
  animation: scrollLine 1.4s linear infinite;
}

@keyframes scrollLine {
  0% {
    transform: translateY(-36px);
  }
  100% {
    transform: translateY(36px);
  }
}

/* ===============================
   ABOUT（会社理念ゾーンを太く）
   =============================== */

.section-about {
  background-color: #f9fafb;
  padding: 96px 0 104px;
}

/* カード風をやめて、余白＋ラインで見せる */
.section-about .section-inner {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* 左にライン＋見出し大きめ */
.section-about .section-header {
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid #111827;
}

.section-about .section-title {
  font-size: 13px;
  letter-spacing: 0.22em;
}

.section-about .section-subtitle {
  font-size: clamp(32px, 3.6vw, 38px);
  font-weight: 700;
}

/* 本文は少し大きく＆行間広め */
.section-about .section-body {
  max-width: 760px;
  margin-left: 20px;
  font-size: 16px;
  color: #4b5563;
}

.section-about .section-body p {
  margin: 0 0 18px;
}

.section-about .link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin-top: 4px;
  border-bottom: 1px solid transparent;
}

.section-about .link-more:hover {
  border-bottom-color: #111827;
}

/* ===============================
   SERVICE
   =============================== */

.section-services {
  background-color: var(--color-surface-soft);
}

.service-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

@media (min-width: 900px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  border-color: #111827;
}

.service-thumb {
  max-height: 220px;
  overflow: hidden;
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.service-content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.service-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.service-text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
}

.service-link {
  margin-top: auto;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}



/* ===============================
   COMPANY
   =============================== */

.section-company {
  background-color: var(--color-surface-soft);
}

.section-company .section-inner {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 40px 26px;
}

@media (min-width: 900px) {
  .section-company .section-inner {
    padding: 48px 40px;
  }
}

.company-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .company-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: flex-start;
  }
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--color-border-strong);
}

.company-table > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border-strong);
  font-size: 14px;
}

.company-table dt {
  color: var(--color-text-muted);
}

.company-table dd {
  margin: 0;
}

.company-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-badge {
  background-color: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  padding: 16px 16px 12px;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
}

.company-badge img {
  margin: 0 auto 8px;
  max-height: 55px;
}

/* ===============================
   CONTACT
   =============================== */

.section-contact {
  background-color: var(--color-surface);
}

.section-contact .section-inner {
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  padding: 40px 26px 44px;
}

.section-contact .section-header {
  margin-bottom: 16px;
}

.contact-text {
  margin: 0 0 20px;
  font-size: 15px;
  color: var(--color-text-muted);
}

/* ===============================
   サブページ（代表メッセージ）
   =============================== */

.subpage-main {
  padding-top: var(--header-height);
}

.sub-fv {
  background-color: #f3f4f6;
  border-bottom: 1px solid var(--color-border);
  padding: 120px 0 80px;
}

.sub-fv-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .sub-fv-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.sub-fv-label {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 10px;
}

.sub-fv-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 34px);
}

.sub-fv-lead {
  margin: 0;
  font-size: 15px;
  color: var(--color-text-muted);
}

.fv-photo-wrap--sub {
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
}

.fv-photo-wrap--sub img {
  width: 100%;
  height: auto;
}

/* メッセージ本文 */

.section-message {
  background-color: var(--color-surface);
  padding: 80px 0 72px;
}

.message-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 960px) {
  .message-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }
}

.message-profile {
    background-color: #ffffff;
}

.sub-fv-visual{
  padding-right: 50px;
}


.message-name {
  margin: 0 0 12px;
  font-size: 16px;
}

.message-name span {
  display: block;
  font-size: 20px;
}

.message-company {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.message-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.message-body {
  font-size: 15px;
}

.message-body p {
  margin: 0 0 18px;
}

.message-sign {
  margin-top: 32px;
}

/* メッセージ下部リンク */

.section-message-links {
  background-color: var(--color-surface-soft);
  padding: 72px 0 96px;
}

.message-links-inner {
  display: grid;
  gap: 20px;
}

@media (min-width: 900px) {
  .message-links-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.message-link-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 24px 24px 26px;
  box-shadow: var(--shadow-soft);
}

.card-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.message-link-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.message-link-card p {
  margin: 0 0 16px;
  font-size: 15px;
  color: var(--color-text-muted);
}

.message-link-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===============================
   フッター
   =============================== */

.site-footer {
  background-color: #111827;
  color: #e5e7eb;
  padding-top: 32px;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 960px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 2fr);
  }
}

/* ★ フッターロゴも大きめに */
.footer-logo {
  height: 52px;
  margin-bottom: 10px;
}

.footer-tagline {
  margin: 0;
  font-size: 12px;
  color: #9ca3af;
}

.footer-nav-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  font-size: 12px;
}

@media (min-width: 720px) {
  .footer-nav-wrap {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.footer-nav-group h4 {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-group li {
  margin-bottom: 4px;
}

.footer-nav-group a {
  color: #d1d5db;
}

.footer-nav-group a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 26px;
  padding: 14px 0 18px;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  color: #9ca3af;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #ffffff;
}

/* ===============================
   スクロールアニメーション
   =============================== */

[data-animate] {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

[data-animate][data-animate="fade-left"] {
  transform: translate3d(24px, 0, 0);
}

[data-animate][data-animate="fade-right"] {
  transform: translate3d(-24px, 0, 0);
}

/* 小さい画面の余白調整 */

@media (max-width: 599px) {
  .section {
    padding: 72px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .recruit-panel {
    padding-inline: 20px;
  }
  .message-link-card {
    padding-inline: 20px;
  }
}
