/* ============================================================
   Smart Value — 下層ページ共通スタイル
   （ページヒーロー / 会社概要 / 事業詳細 / 実績 / 採用 / お問い合わせ）
   ============================================================ */

/* ---------- ページヒーロー ---------- */
.page-hero {
  position: relative; overflow: clip;
  padding: calc(var(--nav-h) + clamp(48px, 9vw, 100px)) 0 clamp(44px, 7vw, 80px);
  background:
    radial-gradient(760px 480px at 90% 0%, rgba(16, 185, 129, 0.12), transparent 60%),
    radial-gradient(560px 420px at 0% 100%, rgba(249, 115, 22, 0.07), transparent 60%),
    #ffffff;
}
.page-hero .dot-field { opacity: 0.55; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-size: 12.5px; color: var(--ink-faint); margin-bottom: clamp(20px, 4vw, 34px);
}
.breadcrumb a { transition: color 0.25s; }
.breadcrumb a:hover { color: var(--green-deep); }
.breadcrumb .bc-sep { opacity: 0.6; }
.breadcrumb [aria-current] { color: var(--ink-soft); font-weight: 500; }

.page-hero-en {
  font-family: var(--font-en); font-weight: 800;
  font-size: clamp(54px, 11vw, 118px);
  line-height: 1.02; letter-spacing: 0.01em;
  background: linear-gradient(110deg, var(--ink) 55%, #475569);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero-en--grad {
  background: linear-gradient(110deg, #059669, #06b6d4 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero-en--orange {
  background: linear-gradient(110deg, #ea580c, #fb923c 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero-jp {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 16px; font-weight: 800;
  font-size: clamp(15px, 2vw, 19px);
}
.page-hero-jp::before {
  content: ""; width: 34px; height: 4px; border-radius: 2px;
  background: var(--grad);
}
.page-hero-note {
  margin-top: clamp(24px, 4vw, 40px); max-width: 620px;
  padding-left: 20px; border-left: 3px solid var(--green);
  color: var(--ink-soft); font-size: clamp(14.5px, 1.6vw, 16px);
}
.page-hero-photo {
  margin-top: clamp(32px, 6vw, 56px);
  border-radius: calc(var(--radius) + 8px); overflow: clip;
  aspect-ratio: 21 / 9; background: #e5e7eb;
  box-shadow: var(--shadow-lg);
}
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  .page-hero-photo { aspect-ratio: 16 / 10; }
}

/* ---------- 汎用：本文ブロック ---------- */
.prose {
  max-width: 720px; color: var(--ink-soft);
  font-size: clamp(15px, 1.7vw, 16.5px); line-height: 2.15;
}
.prose + .prose { margin-top: 20px; }
.prose strong { color: var(--green-deep); }

.center { text-align: center; }
.center .prose { margin-inline: auto; }

/* ---------- 会社概要 ---------- */
.philosophy {
  position: relative; overflow: clip;
  background: linear-gradient(160deg, #052e16, #0f172a 75%);
  color: #fff;
}
.philosophy .sec-title { color: #fff; }
.philosophy-copy {
  margin-top: 30px; max-width: 680px;
  color: #cbd5e1; font-size: clamp(15px, 1.8vw, 17px); line-height: 2.3;
}
.philosophy-copy em { font-style: normal; color: #6ee7b7; font-weight: 700; }

.mv-block { max-width: 780px; margin-inline: auto; text-align: center; }
.mv-block + .mv-block { margin-top: clamp(56px, 9vw, 96px); }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.value-card {
  background: #fff; border: 1px solid #eef1f5; border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm); padding: 38px 28px;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s ease;
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-title { font-size: clamp(24px, 3vw, 32px); font-weight: 900; margin: 6px 0 12px; }
.value-text { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 767px) { .value-grid { grid-template-columns: 1fr; } }

.story-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
.story-photo {
  border-radius: calc(var(--radius) + 6px); overflow: clip;
  aspect-ratio: 4 / 3; background: #e5e7eb; box-shadow: var(--shadow-md);
}
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .story-grid { grid-template-columns: 1fr; } }

.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td {
  padding: clamp(18px, 2.6vw, 26px) 10px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left; vertical-align: top; font-size: 15px;
}
.profile-table th {
  width: 190px; color: var(--ink-faint); font-weight: 700;
  white-space: nowrap;
}
.profile-table td { color: var(--ink); }
.profile-table a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .profile-table th { width: 108px; font-size: 13px; }
  .profile-table td { font-size: 14px; }
}

/* ---------- 事業詳細 ---------- */
.svc-hero-catch {
  margin-top: 20px; font-weight: 800;
  font-size: clamp(19px, 2.8vw, 27px); line-height: 1.7;
}
.svc-hero-catch .zab { background-size: 100% 0.42em; }

.feature-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-row + .feature-row { margin-top: clamp(48px, 8vw, 84px); }
.feature-row:nth-child(even) .feature-photo { order: -1; }
.feature-num {
  font-family: var(--font-en); font-weight: 800; font-size: 13px;
  letter-spacing: 0.2em; color: var(--green-deep); display: block; margin-bottom: 10px;
}
.feature-row:nth-child(even) .feature-num { color: var(--orange-deep); }
.feature-title { font-size: clamp(21px, 2.8vw, 28px); font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
.feature-text { color: var(--ink-soft); font-size: 15px; }
.feature-photo {
  border-radius: calc(var(--radius) + 6px); overflow: clip;
  aspect-ratio: 4 / 3; background: #e5e7eb; box-shadow: var(--shadow-md);
}
.feature-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s var(--ease-expo);
}
.feature-row:hover .feature-photo img { transform: scale(1.05); }
@media (max-width: 767px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-photo { order: 0; }
}

.cando-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.cando-item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; border: 1px solid #eef1f5; border-radius: 16px;
  padding: 18px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease;
}
.cando-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cando-check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-deep);
  display: grid; place-items: center; margin-top: 2px;
}
.cando-item:nth-child(even) .cando-check { background: var(--orange-soft); color: var(--orange-deep); }
.cando-check svg { width: 14px; height: 14px; }
.cando-item b { display: block; font-size: 15px; }
.cando-item span { display: block; font-size: 12.5px; color: var(--ink-faint); margin-top: 2px; }
@media (max-width: 767px) { .cando-grid { grid-template-columns: 1fr; } }

.effect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.effect-card {
  position: relative; text-align: center;
  background: #fff; border: 1px solid #eef1f5; border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm); padding: 46px 24px 32px;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s ease;
}
.effect-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.effect-card .point-ribbon { left: 50%; transform: translateX(-50%); }
.effect-title { font-size: clamp(17px, 2vw, 20px); font-weight: 800; margin-bottom: 10px; }
.effect-text { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 767px) { .effect-grid { grid-template-columns: 1fr; gap: 26px; } }

.svc-backnav {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.svc-backnav .btn { padding: 14px 26px; font-size: 14px; }

/* ---------- 実績 ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 5vw, 46px); }
.filter-btn {
  padding: 10px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  background: #fff; border: 1.5px solid #e5e7eb; color: var(--ink-soft);
  transition: all 0.3s;
}
.filter-btn:hover { border-color: var(--green); color: var(--green-deep); }
.filter-btn.is-active { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.work-card {
  background: #fff; border: 1px solid #eef1f5; border-radius: calc(var(--radius) + 4px);
  overflow: clip; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s ease, opacity 0.35s ease;
}
.work-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.work-card.is-hidden { display: none; }
.work-media { aspect-ratio: 16 / 10; overflow: clip; background: #e5e7eb; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease-expo); }
.work-card:hover .work-media img { transform: scale(1.07); }
.work-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.work-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
  padding: 4px 12px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep);
}
.work-tag--orange { background: var(--orange-soft); color: var(--orange-deep); }
.work-title { font-size: 16.5px; font-weight: 800; line-height: 1.6; flex: 1; }
.work-client { font-size: 12.5px; color: var(--ink-faint); }
.work-more {
  font-family: var(--font-en); font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--green-deep); display: inline-flex; align-items: center; gap: 6px;
}
@media (max-width: 1023px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .works-grid { grid-template-columns: 1fr; } }

.works-note { margin-top: 26px; font-size: 12.5px; color: var(--ink-faint); }

/* ---------- 採用 ---------- */
.recruit-hero {
  position: relative; overflow: clip; color: #fff;
  padding: calc(var(--nav-h) + clamp(64px, 12vw, 130px)) 0 clamp(64px, 12vw, 130px);
  background: var(--dark);
}
.recruit-hero-bg { position: absolute; inset: 0; }
.recruit-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.recruit-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(5, 46, 22, 0.94) 25%, rgba(15, 23, 42, 0.6) 75%, rgba(249, 115, 22, 0.28));
}
.recruit-hero .container { position: relative; z-index: 1; }
.recruit-hero-title { color: #fff; font-size: clamp(34px, 6.4vw, 66px); font-weight: 900; line-height: 1.4; }
.recruit-hero-lead { margin-top: 24px; max-width: 600px; color: #d1fae5; font-size: clamp(14.5px, 1.7vw, 16.5px); }

.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); }
.culture-card {
  position: relative; overflow: clip;
  background: #fff; border: 1px solid #eef1f5; border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow-sm); padding: 36px 28px;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s ease;
}
.culture-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.culture-en {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(26px, 3vw, 34px);
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.culture-card:nth-child(2) .culture-en { background: var(--grad-orange); -webkit-background-clip: text; background-clip: text; }
.culture-title { font-size: 19px; font-weight: 800; margin: 10px 0 10px; }
.culture-text { font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 767px) { .culture-grid { grid-template-columns: 1fr; } }

.position-list { display: grid; gap: 16px; }
.position-card {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 30px); flex-wrap: wrap;
  background: #fff; border: 1px solid #eef1f5; border-radius: 20px;
  box-shadow: var(--shadow-sm); padding: clamp(22px, 3vw, 30px) clamp(20px, 3.4vw, 36px);
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s ease, border-color 0.3s;
}
.position-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); }
.position-type {
  flex: none; font-size: 11.5px; font-weight: 800; letter-spacing: 0.08em;
  padding: 6px 14px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-deep);
}
.position-type--orange { background: var(--orange-soft); color: var(--orange-deep); }
.position-main { flex: 1 1 300px; }
.position-name { font-size: 17.5px; font-weight: 800; }
.position-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.position-arrow {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid #e5e7eb;
  transition: all 0.35s;
}
.position-card:hover .position-arrow { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* ---------- お問い合わせ ---------- */
.contact-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 70px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: linear-gradient(150deg, #052e16, #0f172a 80%);
  color: #fff; border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 4vw, 42px); position: sticky; top: calc(var(--nav-h) + 20px);
}
.contact-info-card h2 { font-size: 21px; font-weight: 800; margin-bottom: 14px; }
.contact-info-card p { font-size: 14px; color: #cbd5e1; }
.contact-info-list { margin-top: 24px; display: grid; gap: 14px; }
.contact-info-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: #e2e8f0; }
.contact-info-list svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #6ee7b7; }
.contact-info-list a { color: #6ee7b7; text-decoration: underline; text-underline-offset: 3px; }

.contact-form { display: grid; gap: 22px; }
.form-field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.form-field .req {
  display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 800;
  color: #fff; background: var(--orange); border-radius: 6px; padding: 2px 8px;
  vertical-align: 2px;
}
.form-field .opt {
  display: inline-block; margin-left: 8px; font-size: 10.5px; font-weight: 700;
  color: var(--ink-faint); background: #eef1f5; border-radius: 6px; padding: 2px 8px;
  vertical-align: 2px;
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid #dfe4ea; border-radius: 14px;
  padding: 15px 18px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2.6'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center;
  padding-right: 46px;
}
.form-field textarea { min-height: 170px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.14);
}
.form-submit { margin-top: 6px; }
.form-submit .btn { width: 100%; justify-content: center; font-size: 16px; padding: 18px 34px; }
.form-note { font-size: 12.5px; color: var(--ink-faint); }

/* ---------- ページ下部CTA帯（下層共通） ---------- */
.page-cta {
  position: relative; overflow: clip; text-align: center; color: #fff;
  background: linear-gradient(120deg, #047857, #10b981 55%, #06b6d4);
  padding: clamp(64px, 10vw, 110px) 0;
}
.page-cta::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 50% 0%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 65% 90% at 50% 0%, #000, transparent 78%);
}
.page-cta .container { position: relative; z-index: 1; }
.page-cta-title { font-size: clamp(24px, 4vw, 40px); font-weight: 900; line-height: 1.5; }
.page-cta-text { margin-top: 14px; font-size: clamp(13.5px, 1.6vw, 15.5px); opacity: 0.94; }
.page-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.page-cta .btn--white:hover { color: var(--green-deep); }
