/* ===== Tokens（ロゴのシアン #00C2CB を基準） ===== */
:root {
  --bg: #FAFAF7;
  --white: #FFFFFF;
  --ink: #16262A;
  --sub: #566468;
  --line: #DDE3E3;
  --cyan: #00C2CB;
  --cyan-tint: #E6F6F7;
  --teal: #007A80;
  --error: #B4462F;

  --ff: 'M PLUS 1', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 10vw, 144px);
  --radius: 6px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { font-family: var(--ff); font-size: 15px; line-height: 1.95; letter-spacing: .04em; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.jp { word-break: auto-phrase; font-feature-settings: 'palt'; }
.nw { display: inline-block; }
.skip { position: absolute; left: 16px; top: -100px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 16px; }
.skip:focus { top: 16px; }
.container { width: min(var(--container), 100% - var(--gutter) * 2); margin-inline: auto; }
.muted { color: var(--sub); }

.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--teal); margin-bottom: 20px; }
.eyebrow::before { content: ''; width: 12px; height: 12px; border-radius: 2px; background: var(--cyan); }
.eyebrow--dark { color: var(--ink); }
.eyebrow--dark::before { background: var(--ink); }
.h2 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; line-height: 1.5; letter-spacing: .03em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 36px;
  border: 0; border-radius: var(--radius);
  background: var(--cyan); color: var(--ink);
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn--block { width: 100%; }
.link { font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 3px; text-underline-offset: 8px; transition: color .2s; }
.link:hover { color: var(--teal); }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(250, 250, 247, .97); transition: box-shadow .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 36px; padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
.header__logo img { width: auto; height: 36px; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 32px; }
.gnav a { font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.gnav a:hover { border-bottom-color: var(--cyan); }
.gnav__sp, .gnav__sp-btn { display: none; }
.header__recruit { font-size: 14px; font-weight: 700; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.header__recruit:hover { border-bottom-color: var(--cyan); }
.menu-btn { display: none; }

/* ===== Hero ===== */
.hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(72px, 9vw, 128px); }
.hero__inner { width: min(1280px, 100% - var(--gutter) * 2); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 72px); align-items: center; }
.hero__biz { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .08em; margin-bottom: 28px; }
.hero h1 { font-size: clamp(32px, 3.9vw, 56px); font-weight: 800; line-height: 1.42; letter-spacing: .02em; }
.hero__sub { margin-top: 28px; max-width: 31em; font-size: 16px; color: var(--sub); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }
.hero__photo { position: relative; margin: 0 20px 20px 0; }
.hero__photo::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; background: var(--cyan); border-radius: var(--radius); }
.hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 50%; border-radius: var(--radius); }

/* ===== Tech ===== */
.tech { background: var(--cyan-tint); padding: 40px 0; }
.tech__inner { display: grid; grid-template-columns: 1fr; gap: 16px; }
.tech__title { font-size: 15px; font-weight: 800; }
.tech__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 16px 32px; }
.tech__list dt { font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: .08em; }
.tech__list dd { font-size: 14px; font-weight: 500; }

/* ===== Vision ===== */
.vision { padding: var(--section) 0; }
.vision__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.vision__statement { font-size: clamp(32px, 4vw, 56px); font-weight: 800; line-height: 1.45; letter-spacing: .03em; }
.vision__lead { font-size: 17px; line-height: 2; }
.vision__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 6vw, 88px); }
.vision__list li { border-top: 3px solid var(--ink); padding-top: 24px; }
.vision__list h3 { font-size: 19px; font-weight: 800; line-height: 1.6; margin-bottom: 10px; }
.vision__list p { color: var(--sub); }

/* ===== Service ===== */
.service { padding: var(--section) 0; background: var(--white); }
.service__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.service__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.svc { display: flex; flex-direction: column; padding: 36px 32px 32px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
.svc__icon { width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 24px; }
.svc h3 { font-size: 21px; font-weight: 800; line-height: 1.55; margin-bottom: 14px; }
.svc p { color: var(--sub); flex: 1; }
.svc__link { margin-top: 28px; align-self: flex-start; font-size: 14px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.svc__link:hover { color: var(--teal); }
.svc--ses { background: var(--cyan); border-color: var(--cyan); }
.svc--ses h3 { font-size: 26px; }
.svc--ses p { color: var(--ink); }
.svc--ses .svc__link { text-decoration-color: var(--ink); }
.svc--ses .svc__link:hover { color: var(--ink); text-decoration-thickness: 3px; }

/* ===== Strengths ===== */
.strengths { padding: var(--section) 0; }
.strengths__inner { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.strengths__head { position: sticky; top: calc(var(--header-h) + 40px); }
.strengths__head .h2 { margin-bottom: 20px; }
.points { counter-reset: pt; }
.points li { counter-increment: pt; display: grid; grid-template-columns: 48px 1fr; gap: 24px; padding: 32px 0; border-top: 1px solid var(--line); }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points li::before { content: counter(pt); width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--radius); background: var(--cyan); font-size: 20px; font-weight: 800; letter-spacing: 0; }
.points li::before { grid-row: span 2; }
.points h3, .points p { grid-column: 2; }
.points h3 { font-size: 20px; font-weight: 800; line-height: 1.6; margin-bottom: 6px; }
.points p { color: var(--sub); }

/* ===== Mission ===== */
.mission { background: var(--cyan); padding: clamp(96px, 11vw, 160px) 0; }
.mission__message { font-size: clamp(30px, 4.2vw, 58px); font-weight: 800; line-height: 1.5; letter-spacing: .03em; }
.mission__text { max-width: 40em; margin-top: 36px; font-size: 16px; line-height: 2.05; font-weight: 500; }

/* ===== Company ===== */
.company { padding: var(--section) 0; }
.company__inner { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.outline { margin-top: 40px; border-top: 2px solid var(--ink); }
.outline > div { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.outline dt { font-weight: 800; }
.outline a { color: var(--teal); }
.recruit { background: var(--ink); color: #fff; border-radius: var(--radius); overflow: hidden; }
.recruit img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 45% 35%; }
.recruit__body { padding: 36px 36px 40px; }
.recruit .recruit__label { display: inline-block; padding: 2px 10px; border-radius: 3px; background: var(--cyan); color: var(--ink); font-size: 13px; font-weight: 800; }
.recruit h3 { font-size: 23px; font-weight: 800; line-height: 1.55; margin: 18px 0 12px; }
.recruit p { color: #A9B8BB; margin-bottom: 28px; }
.recruit .btn:hover { background: #fff; color: var(--ink); }

/* ===== Contact ===== */
.contact { padding: var(--section) 0; background: var(--cyan-tint); }
.contact__inner { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact .h2 { margin-bottom: 20px; }
.contact__mail { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(22, 38, 42, .16); font-size: 13px; color: var(--sub); }
.contact__mail a { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration-color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.form { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.field + .field { margin-top: 24px; }
.field label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; margin-bottom: 8px; }
.req { font-size: 11px; font-weight: 700; color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 12px 16px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius);
  font-size: 16px; line-height: 1.7; letter-spacing: .02em;
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316262A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.field textarea { min-height: 170px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #85908F; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9C3C3; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px var(--cyan-tint); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); background: var(--white); }
.field__error { display: none; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--error); }
.field.is-invalid .field__error { display: block; }
.form__note { margin: 28px 0 16px; font-size: 12px; color: var(--sub); }
.form .btn[disabled] { background: #D5DCDC; color: #465255; cursor: not-allowed; }
.form__status { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); background: var(--cyan-tint); font-size: 14px; line-height: 1.8; }
.form__status[hidden] { display: none; }

/* ===== Footer ===== */
.footer { background: var(--ink); color: #fff; padding: 72px 0 32px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__logo { width: 200px; }
.footer__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__ctas a { display: inline-flex; align-items: center; min-height: 52px; padding: 0 28px; border: 1.5px solid rgba(255,255,255,.5); border-radius: var(--radius); font-size: 14px; font-weight: 800; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.footer__ctas a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; padding-top: 40px; font-size: 14px; line-height: 1.95; color: #A9B8BB; }
.footer__cols h3 { font-size: 13px; color: #fff; font-weight: 800; margin-bottom: 10px; }
.footer__cols a { text-decoration: none; }
.footer__cols a:hover { color: #fff; }
.footer__cols ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer__copy { margin-top: 56px; font-size: 12px; color: #8A9A9D; }

/* ===== Motion ===== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__recruit { display: none; }
  .gnav ul { gap: 24px; }
  .tech__list { grid-template-columns: repeat(2, auto); justify-content: start; }
  .service__grid { grid-template-columns: 1fr 1fr; }
  .svc--ses { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__logo img { height: 30px; }
  .header__cta { display: none; }
  .menu-btn { display: grid; place-items: center; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--radius); background: var(--cyan); cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .25s var(--ease), background-color .25s; }
  .menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
  .menu-btn span::before { top: -6px; }
  .menu-btn span::after { top: 6px; }
  .is-menu-open .menu-btn span { background: transparent; }
  .is-menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
  .is-menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }
  .gnav { display: none; }
  .gnav.is-open { display: block; position: fixed; inset: var(--header-h) 0 0; background: var(--bg); padding: 16px var(--gutter) 40px; overflow-y: auto; }
  .gnav.is-open ul { flex-direction: column; gap: 0; }
  .gnav.is-open li { border-bottom: 1px solid var(--line); }
  .gnav.is-open a { display: block; padding: 18px 0; font-size: 18px; border: 0; }
  .gnav__sp { display: block; }
  .gnav.is-open .gnav__sp-btn { display: flex; margin-top: 32px; }

  .hero__inner, .vision__head, .service__head, .strengths__inner, .company__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero { padding: var(--header-h) 0 64px; }
  .hero__inner { width: 100%; display: flex; flex-direction: column; gap: 0; }
  .hero__photo { order: -1; margin: 0; }
  .hero__photo::before { content: none; }
  .hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(250, 250, 247, 0) 45%, rgba(250, 250, 247, .75) 78%, var(--bg) 100%); }
  .hero__photo img { aspect-ratio: 16 / 10; border-radius: 0; object-position: 60% 50%; }
  .hero__copy { position: relative; z-index: 1; margin-top: -88px; padding-inline: var(--gutter); }
  .hero__biz { margin-bottom: 16px; }
  .vision__list { grid-template-columns: 1fr; gap: 32px; }
  .service__grid { grid-template-columns: 1fr; }
  .strengths__head { position: static; }
  .outline > div { grid-template-columns: 1fr; gap: 2px; padding: 18px 0; }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .hero__ctas .btn { width: 100%; }
  .hero__photo img { aspect-ratio: 1 / 1; }
  .tech__list { grid-template-columns: 1fr; }
  .svc { padding: 28px 24px; }
  .points li { grid-template-columns: 40px 1fr; gap: 16px; }
  .points li::before { width: 40px; height: 40px; font-size: 17px; }
  .footer__ctas, .footer__ctas a { width: 100%; }
}
