/* 株式会社イトポン コーポレートサイト
   白と青を基調に、太い和文見出しと英字の大見出しで力強く。
   要所に濃紺のセクションを入れて、メリハリをつける */
:root {
  --blue: #0b7fc4;
  --blue-deep: #075f98;
  --cyan: #1fb8e3;
  --grad: linear-gradient(100deg, #0b7fc4 0%, #1fb8e3 100%);
  --navy: #0b1c30;
  --navy-2: #12304d;
  --ink: #0f1e2c;
  --body: #34424f;
  --muted: #687684;
  --sky: #eef6fb;
  --sky-2: #d6e9f5;
  --line: #dfe7ee;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius: 18px;
  --shadow: 0 12px 36px rgba(11, 28, 48, 0.08);
  --shadow-hover: 0 22px 50px rgba(11, 28, 48, 0.16);
  --font-en: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font-ja);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.95;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 900;
  line-height: 1.45;
}

h1 {
  font-size: 2em;
}

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

.narrow {
  width: min(900px, 100% - 64px);
}

.todo {
  display: inline-block;
  padding: 0 6px;
  border-radius: 4px;
  background: #fff1bf;
  color: #7a5600;
  font-size: 0.9em;
  font-weight: 700;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.logo {
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.logo span {
  color: var(--blue);
}

.gnav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.gnav ul {
  display: flex;
  gap: 34px;
}

.gnav ul a {
  position: relative;
  display: block;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.gnav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.gnav ul a:hover,
.gnav ul a[aria-current="page"] {
  color: var(--blue);
}

.gnav ul a:hover::after,
.gnav ul a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 9px 9px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(11, 127, 196, 0.28);
  font: 700 15px/1 var(--font-ja);
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn .arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn .arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s var(--ease);
}

.btn:hover {
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(11, 28, 48, 0.3);
  transform: translateY(-2px);
}

.btn:hover .arrow svg {
  transform: translateX(3px);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.btn-light .arrow {
  background: var(--blue);
  color: var(--white);
}

.btn-light:hover {
  background: var(--cyan);
  color: var(--white);
}

.btn-light:hover .arrow {
  background: var(--white);
  color: var(--blue);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-outline .arrow {
  background: var(--ink);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.btn-outline:hover .arrow {
  background: var(--white);
  color: var(--ink);
}

.btn-sm {
  gap: 12px;
  padding: 6px 6px 6px 20px;
  font-size: 13px;
  box-shadow: none;
}

.btn-sm .arrow {
  width: 32px;
  height: 32px;
}

/* ---------- 見出し(英字の大見出し + 和文) ---------- */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.sec-head .en {
  display: block;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.sec-head .ja {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.sec-head .ja::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--grad);
}

.sec-head.center {
  text-align: center;
}

.sec-head.center .ja {
  justify-content: center;
}

.sec-title {
  margin-top: 28px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.section {
  padding: 150px 0;
}

.section-sky {
  background: var(--sky);
}

.lead-text {
  font-size: 17px;
  line-height: 2.1;
}

/* 濃紺のセクション(光のにじみを背景に置く) */
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  isolation: isolate;
}

.section-dark::before,
.section-dark::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.section-dark::before {
  top: -160px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: #0b7fc4;
}

.section-dark::after {
  bottom: -200px;
  left: -160px;
  width: 520px;
  height: 520px;
  background: #13a3cf;
  opacity: 0.3;
}

.section-dark h2,
.section-dark h3,
.section-dark .sec-head .en {
  color: var(--white);
}

.section-dark .sec-head .ja,
.section-dark .label {
  color: #7fd3f0;
}

/* ---------- トップ: ファーストビュー ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 110px;
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(31, 184, 227, 0.16), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(11, 127, 196, 0.1), transparent 70%),
    var(--white);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span b {
  color: var(--blue);
  font-family: var(--font-en);
  font-weight: 600;
}

.hero-en {
  margin-top: 28px;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: clamp(56px, 6.4vw, 100px);
  font-weight: 600;
  line-height: 0.92;
  white-space: nowrap;
  letter-spacing: -0.04em;
}

.hero-en > span {
  display: block;
}

.hero h1 {
  margin-top: 32px;
  font-size: clamp(24px, 2.5vw, 34px);
  letter-spacing: 0.06em;
  line-height: 1.6;
}

.hero-lead {
  margin-top: 18px;
  max-width: 31em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  padding: 0 0 80px 40px;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 200px 32px 32px 32px;
  box-shadow: var(--shadow-hover);
}

.hero-screen {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66%;
  padding: 10px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 24px 60px rgba(11, 28, 48, 0.22);
}

.hero-screen img {
  border-radius: 10px;
}

.hero-chip {
  position: absolute;
  top: 28px;
  right: -14px;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(11, 127, 196, 0.4);
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.hero-chip small {
  display: block;
  font-family: var(--font-ja);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@keyframes float {
  50% { transform: translateY(-10px); }
}

/* 流れるキーワードの帯 */
.marquee {
  overflow: hidden;
  padding: 26px 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-en);
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  user-select: none;
}

.marquee-track {
  display: inline-flex;
  animation: marquee 36s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
}

.marquee i {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 0.9em;
  border-radius: 50%;
  background: var(--grad);
}

.marquee em {
  font-style: normal;
  color: #7fd3f0;
}

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

/* ---------- What we do(DX / AX / 業務効率化) ---------- */
.wwd-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
}

.wwd-head .lead-text {
  color: rgba(255, 255, 255, 0.78);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 72px;
}

.pillar {
  position: relative;
  padding: 40px 34px 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(127, 211, 240, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.pillar .pillar-key {
  font-family: var(--font-en);
  font-size: 84px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #ffffff 0%, #7fd3f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pillar .pillar-key.is-small {
  font-size: 56px;
  line-height: 1.5;
}

.pillar h3 {
  margin-top: 22px;
  font-size: 21px;
}

.pillar p {
  margin-top: 12px;
  font-size: 15px;
}

.pillar ul {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.pillar li {
  position: relative;
  padding-left: 18px;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fd3f0;
}

.wwd-foot {
  margin-top: 56px;
  text-align: center;
}

/* ---------- トップ: About ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  align-items: start;
}

.statement {
  color: var(--ink);
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 900;
  line-height: 1.75;
  letter-spacing: 0.06em;
}

.statement em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--sky-2) 64%);
}

.about-intro .lead-text {
  margin-top: 28px;
}

.about-intro .btn {
  margin-top: 40px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 96px;
}

.value {
  position: relative;
  overflow: hidden;
  padding: 40px 34px 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.value::after {
  content: attr(data-key);
  position: absolute;
  right: -6px;
  bottom: -22px;
  color: var(--sky);
  font-family: var(--font-en);
  font-size: 104px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  z-index: 0;
  transition: color 0.35s var(--ease);
}

.value > * {
  position: relative;
  z-index: 1;
}

.value:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.value:hover::after {
  color: var(--sky-2);
}

.value-no {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.value h3 {
  margin-top: 14px;
  font-size: 21px;
}

.value p {
  margin-top: 12px;
  font-size: 15px;
}

/* ---------- 事業紹介 ---------- */
.services {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}

.services-side {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.services-side p {
  margin-top: 28px;
}

.services-side .btn {
  margin-top: 32px;
}

.service-list {
  display: grid;
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 20px 30px 20px 20px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

a.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sky);
}

.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  transition: transform 0.6s var(--ease);
}

a.service-card:hover .service-thumb img {
  transform: scale(1.05);
}

.service-thumb.is-graphic {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
}

.service-thumb.is-graphic::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 70% 30%, rgba(31, 184, 227, 0.55), transparent 55%);
}

.service-thumb.is-graphic span {
  position: relative;
  font-family: var(--font-en);
  font-size: 46px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.service-thumb.is-graphic span em {
  font-style: normal;
  color: #7fd3f0;
}

.service-thumb.is-soon {
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, var(--sky), var(--sky-2));
}

.service-thumb.is-soon svg {
  width: 72px;
  height: 72px;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.tag.is-gray {
  background: #eef1f4;
  color: var(--muted);
}

.service-no {
  margin-right: 10px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
}

.service-card h3 {
  margin-top: 10px;
  font-size: 24px;
}

.service-card h3 small {
  margin-left: 10px;
  color: var(--muted);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.service-card p {
  margin-top: 8px;
  font-size: 15px;
}

.circle-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.circle-arrow svg {
  width: 15px;
  height: 15px;
}

a:hover .circle-arrow {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

/* ---------- トップ: ルーツ ---------- */
.roots {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

.roots-photos {
  position: relative;
  padding-bottom: 72px;
}

.roots-photos img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.roots-photos .main {
  width: 84%;
  aspect-ratio: 4 / 3;
}

.roots-photos .sub {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 1;
  border: 8px solid var(--white);
}

.roots-text .lead-text {
  margin-top: 28px;
}

.roots-facts {
  display: grid;
  gap: 4px;
  margin-top: 28px;
}

.roots-facts li {
  position: relative;
  padding-left: 22px;
}

.roots-facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--grad);
}

.roots-text .btn {
  margin-top: 36px;
}

/* ---------- 採用への誘導(青いパネルと流れるタイル) ---------- */
.recruit-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  overflow: hidden;
  padding: 96px 0 96px 80px;
  border-radius: 40px;
  background: linear-gradient(125deg, #1fb8e3 0%, #0b7fc4 40%, #0a4f8a 100%);
  color: rgba(255, 255, 255, 0.88);
}

.recruit-panel .sec-head .en,
.recruit-panel h3 {
  color: var(--white);
}

.recruit-panel .sec-head .ja {
  color: var(--white);
}

.recruit-panel .sec-head .ja::before {
  background: var(--white);
}

.recruit-panel h3 {
  margin-top: 36px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.65;
  letter-spacing: 0.06em;
}

.recruit-panel p {
  margin-top: 20px;
  max-width: 28em;
}

.recruit-panel .btn {
  margin-top: 36px;
}

.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 560px;
  margin: -96px 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent);
}

.tiles-col {
  display: grid;
  gap: 16px;
  align-content: start;
  animation: tiles-up 40s linear infinite;
}

.tiles-col:nth-child(2) {
  animation-direction: reverse;
  animation-duration: 46s;
}

.tile {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
}

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

.tile.is-screen {
  padding: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.tile.is-screen img {
  border-radius: 8px;
  object-position: left top;
}

.tile.is-word {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: center;
  line-height: 1;
}

.tile.is-word small {
  display: block;
  margin-top: 10px;
  color: #7fd3f0;
  font-family: var(--font-ja);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tile.is-word.is-white {
  background: var(--white);
  color: var(--ink);
}

.tile.is-word.is-white small {
  color: var(--blue);
}

@keyframes tiles-up {
  to { transform: translateY(-50%); }
}

/* ---------- 下部の2枚カード ---------- */
.end-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.end-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background: var(--sky);
  text-decoration: none;
  transition: transform 0.35s var(--ease), background-color 0.35s var(--ease);
}

.end-link.is-dark {
  background: var(--navy);
}

.end-link.is-dark .sec-head .en {
  color: var(--white);
}

.end-link.is-dark .sec-head .ja {
  color: #7fd3f0;
}

.end-link.is-dark .circle-arrow {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.end-link:hover {
  transform: translateY(-4px);
}

.end-link .sec-head .en {
  font-size: clamp(40px, 4.4vw, 60px);
}

.end-link .sec-head .ja {
  margin-top: 10px;
}

.end-link .circle-arrow {
  width: 64px;
  height: 64px;
}

/* ---------- 下層ページの見出し ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 0 72px;
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(31, 184, 227, 0.16), transparent 70%),
    var(--white);
}

.page-hero .sec-head .en {
  font-size: clamp(60px, 9vw, 128px);
}

.page-hero p.page-lead {
  margin-top: 32px;
  max-width: 40em;
  color: var(--ink);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.9;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.wide-photo {
  width: 100%;
  aspect-ratio: 21 / 8;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- About ---------- */
.mission {
  text-align: center;
}

.mission h2 {
  margin-top: 24px;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

.mission p {
  max-width: 40em;
  margin: 36px auto 0;
  font-size: 17px;
  line-height: 2.2;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.is-reverse > :first-child {
  order: 2;
}

.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.split img.is-screen {
  object-fit: contain;
  object-position: center;
  padding: 16px;
  background: var(--white);
}

.split h2 {
  margin-top: 24px;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.65;
}

.split p {
  margin-top: 20px;
}

.split .btn {
  margin-top: 32px;
}

.message {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  padding: 64px;
  border-radius: 40px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.message-photo {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sky), var(--sky-2));
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

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

.message-body h3 {
  margin: 8px 0 24px;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.7;
}

.signature {
  margin-top: 32px;
  text-align: right;
  color: var(--ink);
}

.signature b {
  margin-left: 16px;
  font-size: 22px;
  letter-spacing: 0.16em;
}

/* ---------- 表 ---------- */
.info-table {
  margin-top: 56px;
  border-top: 2px solid var(--ink);
}

.info-table > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 26px 8px;
  border-bottom: 1px solid var(--line);
}

.info-table dt {
  color: var(--ink);
  font-weight: 700;
}

.info-table dd li + li {
  margin-top: 4px;
}

.group-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-top: 56px;
}

.group-card .info-table {
  margin-top: 0;
}

.group-card .btn {
  margin-top: 32px;
}

.map {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

.photo-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
  margin-top: 64px;
}

.photo-row img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ---------- 事業内容 ---------- */
.svc-block + .svc-block {
  margin-top: 140px;
}

.svc-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
}

.svc-title .no {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 600;
}

.svc-title h2 {
  font-size: clamp(30px, 4vw, 52px);
  letter-spacing: 0.04em;
}

.svc-lead {
  margin-top: 24px;
  max-width: 44em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 32px 26px 34px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.step-no {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.step h3 {
  margin-top: 18px;
  font-size: 18px;
}

.step p {
  margin-top: 10px;
  font-size: 14px;
}

.genbaru {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
  margin-top: 48px;
}

.genbaru h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.65;
}

.genbaru p {
  margin-top: 18px;
}

.genbaru .btn {
  margin-top: 36px;
}

.screens {
  position: relative;
  padding-bottom: 48px;
}

.screens img {
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
}

.screens .back {
  width: 88%;
}

.screens .front {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26%;
  border: 5px solid var(--navy);
  border-radius: 20px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 72px;
}

.feature {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--blue);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.feature:hover .feature-icon {
  background: var(--blue);
  color: var(--white);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature h3 {
  margin-top: 18px;
  font-size: 18px;
}

.feature p {
  margin-top: 8px;
  font-size: 14px;
}

.soon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-top: 48px;
  padding: 56px;
  border-radius: 40px;
  background: var(--sky);
}

.soon p {
  margin-top: 16px;
}

.soon-visual {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--white), var(--sky-2));
  color: var(--blue);
}

.soon-visual svg {
  width: 96px;
  height: 96px;
}

/* ---------- 採用 ---------- */
.recruit-visual {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
}

.recruit-visual > * {
  overflow: hidden;
  border-radius: var(--radius);
}

.recruit-visual > :first-child {
  grid-row: span 2;
}

.recruit-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-visual .is-screen {
  padding: 14px;
  background: var(--sky);
}

.recruit-visual .is-screen img {
  border-radius: 8px;
  object-position: left top;
}

.recruit-visual .tile.is-word {
  aspect-ratio: auto;
}

.people {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 64px;
}

.people li {
  padding: 38px 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.people .value-no {
  display: block;
}

.people h3 {
  margin-top: 12px;
  font-size: 20px;
}

.people p {
  margin-top: 10px;
  font-size: 15px;
}

.apply {
  margin-top: 64px;
  padding: 56px 48px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.apply h3 {
  color: var(--white);
  font-size: 24px;
}

.apply p {
  margin-top: 12px;
}

.apply .btn {
  margin-top: 28px;
}

/* ---------- お問い合わせフォーム ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-side p + p {
  margin-top: 16px;
}

.contact-mail {
  margin-top: 28px;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--sky);
  font-size: 15px;
}

.contact-mail a {
  color: var(--blue);
  font-weight: 700;
}

.form-panel {
  padding: 48px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.field + .field,
.field-row + .field,
.field + .field-row,
.field-row + .field-row {
  margin-top: 24px;
}

.field-row > .field {
  margin-top: 0;
}

.field label,
.field legend {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.req,
.opt {
  padding: 1px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.req {
  background: var(--blue);
  color: var(--white);
}

.opt {
  background: #eef1f4;
  color: var(--muted);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--sky);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.field input:hover,
.field textarea:hover {
  border-color: var(--sky-2);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 127, 196, 0.12);
}

.field textarea {
  min-height: 180px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border-color: #d14343;
}

.kinds {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.field .kind {
  position: relative;
  display: block;
  margin: 0;
}

.field .kind input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.kind span {
  display: block;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--body);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.kind:hover span {
  border-color: var(--blue);
  color: var(--blue);
}

.kind input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.kind input:focus-visible + span {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.field-error {
  margin-top: 6px;
  color: #c03636;
  font-size: 13px;
}

.field-error:empty {
  display: none;
}

.agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 14px;
}

.agree input {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
}

.agree a {
  color: var(--blue);
}

.form-actions {
  margin-top: 28px;
  text-align: center;
}

.form-actions .btn[disabled] {
  opacity: 0.6;
  pointer-events: none;
}

.form-status {
  margin-top: 16px;
  color: #c03636;
  font-size: 14px;
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
}

.form-done {
  padding: 32px 8px;
  text-align: center;
}

.form-done h2 {
  font-size: 22px;
}

.form-done p {
  margin-top: 16px;
}

/* ---------- 規約ページ ---------- */
.legal section + section {
  margin-top: 48px;
}

.legal h2 {
  font-size: 20px;
}

.legal p,
.legal ul {
  margin-top: 12px;
}

.legal ul li {
  position: relative;
  padding-left: 18px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

.legal .info-table {
  margin-top: 16px;
  border-top-width: 1px;
}

.legal-date {
  margin-top: 56px;
  color: var(--muted);
  text-align: right;
}

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 150px;
  padding: 96px 0 40px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -200px;
  right: -100px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: #0b7fc4;
  filter: blur(110px);
  opacity: 0.45;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}

.site-footer .logo {
  color: var(--white);
  font-size: 34px;
}

.site-footer .logo span {
  color: #7fd3f0;
}

.footer-company {
  margin-top: 28px;
  font-size: 14px;
  line-height: 2;
}

.footer-company b {
  color: var(--white);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 24px;
}

.footer-nav a {
  display: block;
  text-decoration: none;
}

.footer-nav .en {
  display: block;
  color: var(--white);
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}

.footer-nav .ja {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.footer-nav a:hover .en {
  color: #7fd3f0;
}

.footer-big {
  margin-top: 72px;
  color: rgba(255, 255, 255, 0.06);
  font-family: var(--font-en);
  font-size: clamp(80px, 17vw, 250px);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
  white-space: nowrap;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.footer-bottom a {
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

/* ---------- 動き ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.hero-copy > *,
.hero-visual {
  animation: rise 1s var(--ease) both;
}

.hero-copy > :nth-child(2) { animation-delay: 0.08s; }
.hero-copy > :nth-child(3) { animation-delay: 0.16s; }
.hero-copy > :nth-child(4) { animation-delay: 0.24s; }
.hero-copy > :nth-child(5) { animation-delay: 0.32s; }
.hero-visual { animation-delay: 0.2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (hover: none) {
  .btn:hover,
  .value:hover,
  .pillar:hover,
  a.service-card:hover,
  .end-link:hover,
  .feature:hover,
  .step:hover {
    transform: none;
  }
}

/* ---------- タブレット ---------- */
@media (max-width: 1080px) {
  .gnav ul {
    gap: 22px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services-side {
    position: static;
  }

  .service-card {
    grid-template-columns: 220px 1fr auto;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }

  .step:nth-child(2)::after {
    display: none;
  }
}

/* ---------- スマホ ---------- */
@media (max-width: 860px) {
  :root {
    --header-h: 64px;
  }

  body {
    font-size: 15px;
  }

  .lead-text {
    font-size: 15.5px;
  }

  .container,
  .narrow {
    width: calc(100% - 32px);
  }

  .section {
    padding: 96px 0;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .menu-toggle {
    position: relative;
    z-index: 60;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--white);
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .menu-toggle span:nth-child(1) { transform: translateY(-6px); }
  .menu-toggle span:nth-child(3) { transform: translateY(6px); }
  .menu-open .menu-toggle span:nth-child(1) { transform: rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: rotate(-45deg); }

  .gnav {
    position: fixed;
    inset: 0;
    z-index: 55;
    display: grid;
    place-items: center;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .menu-open .gnav {
    opacity: 1;
    visibility: visible;
  }

  .menu-open .logo {
    position: relative;
    z-index: 60;
    color: var(--white);
  }

  .gnav ul {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .gnav ul a {
    color: var(--white);
    font-size: 36px;
  }

  .hero {
    padding: calc(var(--header-h) + 36px) 0 88px;
  }

  .hero-en {
    font-size: 60px;
  }

  .hero-visual {
    padding: 0 0 56px 0;
  }

  .hero-photo {
    aspect-ratio: 4 / 3.4;
    border-radius: 120px 24px 24px 24px;
  }

  .hero-screen {
    left: -6px;
    width: 72%;
    padding: 6px;
    border-radius: 12px;
  }

  .hero-chip {
    top: -18px;
    right: 6px;
    width: 96px;
    height: 96px;
    font-size: 19px;
  }

  .hero-inner,
  .wwd-head,
  .about-intro,
  .roots,
  .split,
  .genbaru,
  .soon,
  .group-card,
  .contact-wrap,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .split.is-reverse > :first-child {
    order: 0;
  }

  .pillars,
  .values,
  .people,
  .feature-grid,
  .end-links,
  .steps {
    grid-template-columns: 1fr;
  }

  .step::after {
    display: none;
  }

  .pillars,
  .values {
    margin-top: 48px;
  }

  .pillar .pillar-key {
    font-size: 64px;
  }

  .service-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 16px 26px;
  }

  .service-card .circle-arrow {
    display: none;
  }

  .recruit-panel {
    grid-template-columns: 1fr;
    padding: 56px 24px 0;
    border-radius: 28px;
  }

  .tiles {
    height: 380px;
    margin: 0 -24px;
  }

  .end-link {
    padding: 40px 28px;
  }

  .end-link .circle-arrow {
    width: 52px;
    height: 52px;
  }

  .message {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 22px;
    border-radius: 28px;
  }

  .message-photo {
    aspect-ratio: 16 / 9;
  }

  .info-table > div {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 4px;
  }

  .photo-row {
    grid-template-columns: 1fr 1fr;
  }

  .photo-row img:first-child {
    grid-column: span 2;
  }

  .photo-row img {
    height: 180px;
  }

  .recruit-visual {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 150px 150px;
  }

  .recruit-visual > :first-child {
    grid-row: auto;
    grid-column: span 2;
  }

  .soon {
    padding: 32px 22px;
    border-radius: 28px;
  }

  .form-panel {
    padding: 28px 20px;
  }

  .field-row,
  .kinds {
    grid-template-columns: 1fr;
  }

  .apply {
    padding: 40px 22px;
  }

  .map iframe {
    height: 300px;
  }

  .wide-photo {
    aspect-ratio: 16 / 10;
  }

  .svc-block + .svc-block {
    margin-top: 96px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column-reverse;
  }
}

/* 採用ページの白い文字タイルは、白背景に溶けないよう淡い青にする */
.recruit-visual .tile.is-word.is-white {
  background: var(--sky);
}
