/* ===== 基本設定 ===== */
:root {
  /* ロゴから取った色(文字の紺・V字の青緑) */
  --c-brand: #1d7a93;          /* 基調の青緑(見出しの線・ラベル) */
  --c-brand-2: #2fd3b9;        /* 明るい青緑(ロゴのV字の明るい側) */
  --c-brand-3: #102541;        /* 紺(ロゴの文字色) */
  --c-ink: #102541;
  --c-text: #2e3a48;
  --c-mute: #8a8a8a;
  --c-line: #e6e6e6;
  --c-bg: #fdfdfd;
  --c-bg-soft: #f7f6f4;
  --c-dark: #0b0b0b;
  --grad: linear-gradient(135deg, var(--c-brand-2) 0%, var(--c-brand) 45%, var(--c-brand-3) 100%);
  /* 白い文字を乗せる所(ボタン・問い合わせ帯)は紺寄りにして読みやすくする */
  --grad-dark: linear-gradient(120deg, var(--c-brand-3) 0%, #16486a 55%, var(--c-brand) 100%);
  --f-en: "Poppins", sans-serif;
  --f-ja: "Noto Sans JP", sans-serif;
  --w-inner: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

.inner { width: min(var(--w-inner), 100% - 32px); margin-inline: auto; }

/* ===== ヘッダー ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(253, 253, 253, .92);
  backdrop-filter: blur(8px);
  transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--c-line); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 40px;
}
.header__brand { display: flex; align-items: center; gap: 14px; }
.header__logo { width: 150px; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-family: var(--f-en); font-size: 13px; font-weight: 500; color: var(--c-ink); transition: color .2s; }
.nav a:hover { color: var(--c-brand); }
.nav .nav__cta {
  padding: 6px 16px; border-radius: 3px; color: #fff; background: var(--grad-dark);
}
.nav .nav__cta:hover { color: #fff; opacity: .85; }
.menu-btn { display: none; }

/* ===== メインビジュアル ===== */
.hero {
  position: relative;
  display: flex; align-items: flex-start;
  padding: 176px 0 150px;   /* ヘッダー(72px)の下に約100pxの余白をとる */
  overflow: hidden;
}
.hero__body { position: relative; z-index: 1; width: min(var(--w-inner), 100% - 32px); margin-inline: auto; }
.hero__label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .25em; color: var(--c-brand);
}
.hero__label::before { content: ""; width: 40px; height: 1px; background: var(--c-brand); }
.hero__catch {
  margin-top: 28px;
  font-size: clamp(40px, 6.2vw, 84px); font-weight: 700; line-height: 1.35; letter-spacing: .04em;
  color: var(--c-ink);
}
.hero__sub { margin-top: 32px; max-width: 520px; }

/* 右上へ伸びる帯 */
.hero__ribbons { position: absolute; inset: 0; pointer-events: none; }
.ribbon {
  position: absolute; border-radius: 999px;
  transform-origin: left center; transform: rotate(-36deg);
  background: linear-gradient(90deg, var(--c-brand-3) 0%, var(--c-brand) 60%, var(--c-brand-2) 100%);
  animation: ribbon-in 2s cubic-bezier(.22, 1, .36, 1) .2s both;
}
.ribbon--1 { left: 52%; bottom: 8%;  width: min(52vw, 760px); height: clamp(44px, 6vw, 88px); }
.ribbon--2 { left: 66%; bottom: 4%;  width: min(36vw, 520px); height: clamp(22px, 3vw, 44px); opacity: .55; animation-delay: .15s; }
.ribbon--3 { left: 60%; bottom: 20%; width: min(30vw, 440px); height: 6px; opacity: .8; animation-delay: .3s; }
.ribbon-dot {
  position: absolute; left: 47%; bottom: 12%; width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-brand-2); animation: dot-in 1.2s 1.2s both;
}
@keyframes ribbon-in {
  from { opacity: 0; transform: rotate(-36deg) translateX(-30px); }
}
@keyframes dot-in {
  from { opacity: 0; }
}
.pc-only { display: inline; }
.hero__scroll {
  position: absolute; right: 40px; bottom: 40px;
  font-family: var(--f-en); font-size: 11px; letter-spacing: .2em;
  writing-mode: vertical-rl; color: var(--c-mute);
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 60px; margin: 12px auto 0;
  background: linear-gradient(var(--c-mute), transparent);
}

/* ===== セクション共通 ===== */
.section { position: relative; padding: 120px 0; }
.section--soft { background: var(--c-bg-soft); }
.section-title { position: relative; margin-bottom: 72px; }
/* 英字はロゴの紺〜青緑で塗り、柔らかい影で少し浮かせる */
.section-title__en {
  display: inline-block;
  font-family: var(--f-en); font-weight: 600;
  font-size: clamp(64px, 11vw, 150px); line-height: 1.1; letter-spacing: -.01em;
  color: var(--c-ink);
  background: linear-gradient(120deg, var(--c-brand-3) 0%, var(--c-brand) 60%, var(--c-brand-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 18px rgba(16, 37, 65, .16));
  margin-left: -6px;
}
/* 日本語は英字に重ねず、下に「短い線+文字」で置く */
.section-title__ja {
  display: flex; align-items: center; gap: 14px;
  margin-top: 20px;
  font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; letter-spacing: .2em; color: var(--c-ink);
}
.section-title__ja::before { content: ""; width: 40px; height: 1px; background: var(--c-brand); }
.lead { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; line-height: 1.6; color: var(--c-ink); }
.sub-lead { font-size: 20px; font-weight: 700; color: var(--c-ink); }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 28px; border-radius: 2px;
  color: #fff; font-size: 14px; font-weight: 700;
  background: var(--grad-dark);
  transition: opacity .2s, transform .2s;
}
.btn::before { content: "›"; font-size: 18px; line-height: 1; }
.btn:hover { opacity: .85; transform: translateY(-1px); }
.center { text-align: center; }

/* ===== About ===== */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; padding-left: 50px; }
.about__text { margin-top: 32px; max-width: 460px; }
/* コンセプトカード(資金 × 技術 = 挑戦を前へ) */
.concept { background: #fff; border-radius: 14px; padding: 36px 40px 32px; box-shadow: 0 24px 48px rgba(16, 37, 65, .14), 0 4px 12px rgba(16, 37, 65, .06); }
.concept__label { font-family: var(--f-en); font-size: 11px; font-weight: 600; letter-spacing: .18em; color: var(--c-brand); text-transform: uppercase; margin-bottom: 20px; }
.concept__item { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 14px; }
.concept__en { font-family: var(--f-en); font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--c-ink); }
.concept__ja { font-size: 13px; font-weight: 700; color: var(--c-brand); }
.concept__desc { grid-column: 1 / -1; margin-top: 6px; font-size: 13px; line-height: 1.8; color: var(--c-text); }
.concept__means { grid-column: 1 / -1; margin-top: 10px; }
.concept__means li { display: flex; gap: 12px; padding: 6px 0; font-size: 13px; line-height: 1.7; border-bottom: 1px dashed var(--c-line); }
.concept__means li:last-child { border-bottom: 0; }
.concept__means b { flex-shrink: 0; width: 4.5em; font-family: var(--f-en); font-weight: 600; color: var(--c-ink); }
.concept__op { margin: 12px 0; font-family: var(--f-en); font-size: 22px; font-weight: 300; line-height: 1; color: var(--c-brand); }
.concept__result {
  display: flex; align-items: baseline; gap: 14px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-line);
  font-size: 24px; font-weight: 700; color: var(--c-ink);
}
.concept__result span { font-family: var(--f-en); font-weight: 300; color: var(--c-brand); }
.concept__result b {
  font-family: var(--f-en); font-size: 30px; font-weight: 600;
  background: linear-gradient(120deg, var(--c-brand-3) 0%, var(--c-brand) 60%, var(--c-brand-2) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ===== Business ===== */
.biz { margin: 0; padding-left: 50px; max-width: 900px; }
.biz__row:first-child { border-top: 1px solid #d9d9d9; }
.biz__row { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 36px 0; border-bottom: 1px solid #d9d9d9; }
.biz dt { font-size: 20px; font-weight: 700; color: var(--c-ink); }
.biz dd { margin: 0; padding-top: 2px; }
.biz__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  padding: 10px 22px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: #fff; background: var(--grad-dark);
  transition: opacity .2s, transform .2s;
}
.biz__link::after { content: "›"; font-size: 18px; line-height: 1; }
.biz__link:hover { opacity: .88; transform: translateY(-1px); }
.biz dd .biz__link { display: flex; width: fit-content; }

/* ===== Company ===== */
.mission, .values, .profile { padding-left: 50px; }
.values, .profile { margin-top: 96px; }
.mission__label { font-family: var(--f-en); font-size: 13px; font-weight: 600; letter-spacing: .15em; color: var(--c-brand); margin-bottom: 20px; }
.mission__text { font-size: clamp(26px, 3.6vw, 44px); font-weight: 700; color: var(--c-ink); line-height: 1.5; }
.mission__desc { margin-top: 20px; max-width: 560px; }
.values__list { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 0 48px; border-top: 1px solid var(--c-line); max-width: 900px; }
.values__list li { padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.values__en { display: block; font-family: var(--f-en); font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--c-ink); }
.values__ja { display: block; margin-top: 4px; font-size: 14px; }
.sp-only { display: none; }
.profile dl { display: grid; grid-template-columns: 160px 1fr; border-top: 1px solid var(--c-line); max-width: 860px; }
.profile dt, .profile dd { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.profile dt { font-weight: 700; color: var(--c-ink); }
.profile dd a { color: var(--c-brand); text-decoration: underline; }

/* ===== News ===== */
.news__list { padding-left: 50px; max-width: 900px; }
.news__item { display: flex; gap: 32px; padding: 18px 0; border-bottom: 1px solid var(--c-line); font-size: 14px; }
.news__date { flex-shrink: 0; font-family: var(--f-en); font-size: 12px; color: var(--c-mute); }
.news__title { font-weight: 700; color: var(--c-ink); }

/* ===== お問い合わせ帯 ===== */
.cta { background: var(--grad-dark); color: #fff; padding: 96px 0; }
.cta__grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding-left: 50px; }
.cta h2 { font-size: 22px; letter-spacing: .15em; }
.cta p { margin-top: 16px; font-size: 14px; }
.cta__link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 32px; background: #fff; color: var(--c-brand-3);
  font-weight: 700; border-radius: 2px; transition: transform .2s;
}
.cta__link:hover { transform: translateY(-2px); }

/* ===== フッター ===== */
/* ロゴの文字が紺色のため、フッターは素材の使用例と同じ薄い水色にする */
.footer { background: #eaf5fb; color: var(--c-ink); padding: 72px 0 40px; text-align: center; font-size: 13px; }
.footer__logo { width: 220px; margin: 0 auto 24px; }
.footer__addr { margin-top: 24px; line-height: 2; }
.footer__nav { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.footer__nav a { padding: 0 14px; border-left: 1px solid var(--c-ink); }
.footer__nav a:last-child { border-right: 1px solid var(--c-ink); }
.footer__copy { margin-top: 40px; font-family: var(--f-en); font-size: 12px; color: var(--c-mute); }


/* ===== スマホ ===== */
@media (max-width: 860px) {
  .header__inner { height: 60px; padding: 0 16px; }
  .header__logo { width: 120px; }
  .menu-btn {
    display: block; position: relative; width: 32px; height: 24px;
    background: none; border: 0; padding: 0; cursor: pointer;
  }
  .menu-btn span, .menu-btn::before, .menu-btn::after {
    content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: var(--c-ink); transition: .3s;
  }
  .menu-btn::before { top: 2px; }
  .menu-btn span { top: 11px; }
  .menu-btn::after { top: 20px; }
  .is-menu-open .menu-btn::before { top: 11px; transform: rotate(45deg); }
  .is-menu-open .menu-btn span { opacity: 0; }
  .is-menu-open .menu-btn::after { top: 11px; transform: rotate(-45deg); }
  .nav {
    position: fixed; inset: 60px 0 auto; flex-direction: column; gap: 0;
    background: #fff; padding: 8px 16px 24px; box-shadow: 0 8px 16px rgba(0,0,0,.06);
    transform: translateY(-120%); transition: transform .35s;
  }
  .is-menu-open .nav { transform: none; }
  .nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
  .nav .nav__cta { margin-top: 16px; text-align: center; border: 0; }

  .hero { min-height: 740px; padding-top: 128px; }
  .ribbon--1 { left: 18%; bottom: 10%; width: 90vw; }
  .ribbon--2 { left: 46%; bottom: 5%; width: 60vw; }
  .ribbon--3 { left: 30%; bottom: 26%; width: 50vw; height: 4px; }
  .ribbon-dot { left: 10%; bottom: 6%; width: 14px; height: 14px; }
  .pc-only { display: none; }
  .hero__scroll { display: none; }
  .section { padding: 80px 0; }
  .section-title { margin-bottom: 48px; }
  .about__grid, .cta__grid { grid-template-columns: 1fr; gap: 40px; padding-left: 0; }
  .biz, .mission, .values, .profile, .news__list { padding-left: 0; }
  .values, .profile { margin-top: 64px; }
  .biz__row { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
  .values__list { grid-template-columns: 1fr; }
  .concept { padding: 28px 24px 24px; }
  .concept__en { font-size: 22px; }
  .concept__result { font-size: 20px; }
  .sp-only { display: inline; }
  .profile dl { grid-template-columns: 1fr; }
  .profile dt { padding-bottom: 0; border-bottom: 0; }
  .profile dd { padding-top: 4px; }
  .news__item { flex-direction: column; gap: 4px; }
}

/* ===== 動き(落ち着いた表示) ===== */
/* 共通のなめらかな減速カーブ */
:root { --ease-calm: cubic-bezier(.22, 1, .36, 1); }

/* メインビジュアル: ラベル → キャッチ1行目 → 2行目 → 説明文 の順に、ゆっくり浮かび上がる */
.js .hero-in, .js .hero__line {
  display: inline-block;
  opacity: 0; transform: translateY(14px);
  transition: opacity 1.4s var(--ease-calm), transform 1.4s var(--ease-calm);
}
.js .hero__label.hero-in { display: flex; }
.js .hero__sub.hero-in { display: block; }
.is-loaded .hero-in, .is-loaded .hero__line { opacity: 1; transform: none; }
.is-loaded .hero__label { transition-delay: .1s; }
.is-loaded .hero__line:first-child { transition-delay: .3s; }
.is-loaded .hero__line:last-child { transition-delay: .55s; }
.is-loaded .hero__sub { transition-delay: .9s; }

/* 帯と丸は、ページの準備ができてから動かす */
.js .ribbon, .js .ribbon-dot { animation-play-state: paused; }
.is-loaded .ribbon, .is-loaded .ribbon-dot { animation-play-state: running; }

/* 「視差効果を減らす」設定の人には動きを出さない */
@media (prefers-reduced-motion: reduce) {
  .ribbon, .ribbon-dot { animation: none !important; }
  .js .hero-in, .js .hero__line { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== 404ページ ===== */
.notfound { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; padding: 40px 16px; text-align: center; }
.notfound img { width: 200px; }
.notfound__code { font-family: var(--f-en); font-size: 64px; font-weight: 600; line-height: 1; color: var(--c-brand); }

/* ===== 下層ページ(お問い合わせ・プライバシーポリシー) ===== */
.page { padding: 150px 0 120px; }
.page__inner { max-width: 820px; }
.page__lead { margin-bottom: 48px; }

.form__row { display: grid; gap: 8px; margin-bottom: 24px; }
.form__row label { font-size: 14px; font-weight: 700; color: var(--c-ink); }
.req, .opt { margin-left: 10px; padding: 1px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; vertical-align: 1px; }
.req { color: #fff; background: var(--c-brand); }
.opt { color: var(--c-mute); background: #eef1f3; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-size: 16px; color: var(--c-ink);
  background: #fff; border: 1px solid #d5dbe0; border-radius: 6px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 180px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(29, 122, 147, .15); }
/* 人には見せない入力欄(スパム対策) */
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__agree { display: flex; align-items: center; gap: 10px; margin: 8px 0 24px; font-size: 14px; }
.form__agree input { width: 18px; height: 18px; accent-color: var(--c-brand); }
.form__agree a { color: var(--c-brand); text-decoration: underline; }
.form__error { margin-bottom: 20px; padding: 12px 16px; border-radius: 6px; font-size: 14px; color: #a12a2a; background: #fbeaea; }
.form__submit { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 14px 40px; }
.form__submit:disabled { opacity: .6; cursor: default; }
.form__done { padding: 40px; border-radius: 14px; background: #fff; box-shadow: 0 24px 48px rgba(16, 37, 65, .10); }
.form__done-title { font-size: 22px; font-weight: 700; color: var(--c-ink); margin-bottom: 12px; }
.form__done .btn { margin-top: 24px; }

.policy h2 { margin: 40px 0 12px; font-size: 18px; color: var(--c-ink); }
.policy ul { list-style: disc; padding-left: 1.5em; margin: 8px 0; }
.policy p + p { margin-top: 12px; }
.policy a { color: var(--c-brand); text-decoration: underline; word-break: break-all; }
.policy__date { margin-top: 48px; color: var(--c-mute); font-size: 14px; }

@media (max-width: 860px) {
  .page { padding: 110px 0 80px; }
  .form__done { padding: 28px 20px; }
}
