@charset "UTF-8";

/* ==========================================================
   ALLKNOT Corporate Site  -  共通スタイル v2
   コンセプト: エディトリアル × ビッグタイポ × 水色アクセント
   （信頼感のあるインクネイビーを軸に、Z世代向けに今っぽく）
   ========================================================== */

:root {
  --bg: #f5f3ec;          /* 温かみのあるオフホワイト */
  --ink: #0f1c30;         /* 濃紺（ほぼ黒に近いネイビー） */
  --ink-soft: #24334c;
  --accent: #81c4e4;      /* アクセント（元サイトの水色） */
  --accent-strong: #4fa8d4;
  --text: #1b2536;
  --text-sub: #5d6675;
  --line: #e3dfd2;
  --white: #ffffff;
  --radius: 22px;
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: 90px; }

body {
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 28, 48, 0.06);
}

.header__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo { display: flex; flex-direction: column; line-height: 1.25; }
.header__logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.header__logo-jp { font-size: 10px; color: var(--text-sub); letter-spacing: 0.22em; }

.gnav { display: none; }

.header__cta {
  display: none;
  background: var(--ink);
  color: var(--accent);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 28px;
  border-radius: 999px;
  transition: transform 0.25s, background 0.25s;
}
.header__cta:hover { transform: scale(1.05); }

/* ハンバーガー */
.menu-btn {
  width: 44px; height: 44px;
  border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 6px;
}
.menu-btn span {
  width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* SPメニュー */
.sp-nav {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  display: none;
  padding: 12px 0 24px;
}
.sp-nav.is-open { display: block; }
.sp-nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 28px;
  font-weight: 700;
  font-size: 17px;
  border-bottom: 1px solid rgba(15, 28, 48, 0.06);
}
.sp-nav a small {
  font-family: var(--font-en);
  color: var(--text-sub);
  font-size: 10px;
  letter-spacing: 0.18em;
}

@media (min-width: 900px) {
  .menu-btn, .sp-nav { display: none !important; }
  .gnav { display: flex; align-items: center; gap: 36px; }
  .gnav a {
    font-size: 14px;
    font-weight: 700;
    padding: 6px 2px;
    position: relative;
  }
  .gnav a small { display: none; }
  .gnav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 3px;
    border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
  }
  .gnav a:hover::after, .gnav a.is-current::after { transform: scaleX(1); }
  .header__cta { display: inline-block; }
}

/* ---------- セクション共通 ---------- */
.sec { padding: 96px 0; }
.sec--gray { background: var(--white); }
.sec--navy { background: var(--ink); color: #fff; }

.sec-head { margin-bottom: 56px; }
.sec-head--center { text-align: center; }

/* 見出しは「英字ドーン + 日本語ラベル」のエディトリアル型 */
.sec-head__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  text-transform: uppercase;
}
.sec--navy .sec-head__en { color: #fff; }
.sec-head__jp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--text);
}
.sec-head__jp::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid rgba(15, 28, 48, 0.2);
}
.sec--navy .sec-head__jp { color: #fff; }
.sec-head__lead { margin-top: 20px; color: var(--text-sub); max-width: 720px; }
.sec-head--center .sec-head__lead { margin-inline: auto; }

/* ボタン（ピル型） */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 230px;
  padding: 17px 36px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  border-radius: 999px;
  transition: transform 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
  cursor: pointer;
  border: none;
  font-family: var(--font-jp);
}
.btn::after {
  content: "→";
  font-family: var(--font-en);
  font-weight: 700;
  transition: transform 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(5px); }
.btn--navy { background: var(--ink); color: var(--accent); }
.btn--white { background: var(--accent); color: var(--ink); }
.btn--line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.7); }
.btn--line:hover { background: rgba(255,255,255,0.12); }

/* フェードイン */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ---------- 下層ページ共通：ページタイトル ---------- */
.page-head {
  margin-top: 72px;
  padding: 84px 0 48px;
}
.page-head__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(56px, 11vw, 130px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  text-transform: uppercase;
}
.page-head__jp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.page-head__jp::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid rgba(15, 28, 48, 0.2);
}

.breadcrumb {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-sub);
  padding: 10px 0;
  background: transparent;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span::before { content: "→"; font-family: var(--font-en); margin: 0 10px; color: #b6ac96; }

/* ---------- ヒーロー（トップ） ---------- */
.hero { padding: 150px 0 0; }
.hero__title { line-height: 1; margin-bottom: 34px; }
.hero__en {
  font-family: var(--font-en);
  font-weight: 700;
  display: block;
  font-size: clamp(58px, 12.5vw, 158px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-transform: uppercase;
}
.hero__en--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
}
.hero__row {
  display: grid;
  gap: 24px 60px;
  grid-template-columns: 1fr;
  align-items: end;
  margin-bottom: 48px;
}
@media (min-width: 900px) { .hero__row { grid-template-columns: auto 1fr; } }
.hero__jp {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--ink);
}
.hero__jp em {
  font-style: normal;
  background: linear-gradient(transparent 64%, var(--accent) 64%);
}
.hero__lead { color: var(--text-sub); max-width: 560px; margin-bottom: 24px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__img {
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__img img {
  width: 100%;
  height: clamp(300px, 46vw, 540px);
  object-fit: cover;
}

/* ---------- マーキー（流れる帯） ---------- */
.marquee {
  background: var(--ink);
  color: var(--accent);
  overflow: hidden;
  padding: 16px 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
}
.hero + .marquee, .marquee--flat { margin-top: 0; }
.marquee__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 26s linear infinite;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.marquee__track span { padding-right: 0; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- トップ：ミッション ---------- */
.mission { text-align: center; }
.mission .sec-head__jp {
  display: block;
  font-size: clamp(23px, 3.4vw, 36px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin-top: 20px;
}
.mission .sec-head__jp::before { display: none; }
.mission__text { max-width: 760px; margin-inline: auto; color: var(--text-sub); }

/* ---------- サービスカード ---------- */
.service-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.sec > .inner > .service-grid .service-card { background: var(--white); }
section:not(.sec--gray) .service-card { background: var(--white); }
.sec--gray .service-card { background: var(--bg); }
.service-card:hover { box-shadow: 0 16px 36px rgba(15, 28, 48, 0.12); transform: translateY(-5px); }
.service-card__img { height: 190px; overflow: hidden; }
.service-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service-card__num {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.service-card__title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 12px; line-height: 1.5; }
.service-card__text { font-size: 13.5px; color: var(--text-sub); flex: 1; }
.service-card__link {
  margin-top: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card__link::after {
  content: "→";
  font-family: var(--font-en);
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s;
}
.service-card:hover .service-card__link::after { transform: translateX(5px); }

/* ---------- 強み（数字） ---------- */
.strength { background: var(--ink); border-radius: 0; }
.strength::before { display: none; }
.strength .sec-head__en { color: #fff; }
.strength .sec-head__jp { color: #cdd6e4; }
.strength-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .strength-grid { grid-template-columns: repeat(3, 1fr); } }
.strength-item {
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.strength-item__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 16px;
  margin-bottom: 18px;
}
.strength-item__num {
  font-family: var(--font-en);
  font-size: clamp(56px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
  color: var(--accent);
}
.strength-item__num small { font-size: 22px; font-family: var(--font-jp); font-weight: 700; margin-left: 6px; color: #fff; }
.strength-item__text { font-size: 13px; color: #c3cbd8; }

/* ---------- ニュースリスト ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item { border-bottom: 1px solid var(--line); }
.news-item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  padding: 26px 10px;
  transition: background 0.25s, border-radius 0.25s;
}
.news-item a:hover { background: rgba(129, 196, 228, 0.22); }
.news-item__date {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.08em;
  min-width: 92px;
}
.news-item__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 14px;
  white-space: nowrap;
}
.news-item__title { flex: 1; font-size: 14.5px; font-weight: 500; min-width: 240px; }
.news-more { text-align: center; margin-top: 44px; }

/* ---------- トップ：会社概要ダイジェスト ---------- */
.about-flex {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-flex { grid-template-columns: 1.1fr 1fr; } }
.about-flex__img { border-radius: var(--radius); overflow: hidden; }
.about-flex__img img { width: 100%; height: 100%; object-fit: cover; }

/* 概要テーブル */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  border-bottom: 1px solid var(--line);
  padding: 18px 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
.info-table th {
  width: 130px;
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- CTA帯 ---------- */
.cta {
  background: transparent;
  padding: 40px 0 96px;
}
.cta::before { display: none; }
.cta .inner {
  position: relative;
  background: var(--ink);
  border-radius: calc(var(--radius) + 8px);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
  max-width: 1120px;
}
.cta__en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta__en em { font-style: normal; color: var(--accent); }
.cta__title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.cta__title::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
}
.cta__text { color: #c3cbd8; margin-bottom: 36px; font-size: 14px; }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: #c3cbd8; font-size: 13px; }
.footer__main {
  max-width: 1120px;
  margin-inline: auto;
  padding: 64px 24px 44px;
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer__main { grid-template-columns: 1.2fr 1fr; } }
.footer__logo-en {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
}
.footer__logo-jp { font-size: 11px; letter-spacing: 0.22em; margin-bottom: 18px; }
.footer__addr { line-height: 1.9; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-content: start; }
.footer__nav a { padding: 4px 0; font-weight: 500; }
.footer__nav a:hover { color: var(--accent); }
.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  padding: 18px 20px;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8b96a8;
}

/* ---------- サービス詳細ページ ---------- */
.service-detail {
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: 1fr;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-of-type { border-bottom: none; }
@media (min-width: 900px) {
  .service-detail { grid-template-columns: 1fr 1fr; gap: 64px; }
  .service-detail:nth-of-type(even) .service-detail__img { order: 2; }
}
.service-detail__img { border-radius: var(--radius); overflow: hidden; }
.service-detail__img img { width: 100%; height: 340px; object-fit: cover; }
.service-detail__num {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--ink);
  background: var(--accent);
  border-radius: 999px;
  padding: 4px 18px;
  margin-bottom: 14px;
}
.service-detail__title { font-size: 26px; font-weight: 900; color: var(--ink); margin-bottom: 16px; line-height: 1.5; }
.service-detail__text { color: var(--text-sub); margin-bottom: 22px; }
.check-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 14px;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- お問い合わせフォーム ---------- */
.contact-note {
  background: rgba(129, 196, 228, 0.28);
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13.5px;
  margin-bottom: 40px;
}
.form { max-width: 720px; margin-inline: auto; }
.form__row { margin-bottom: 28px; }
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
  color: var(--ink);
}
.form__req, .form__opt {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 12px;
  border-radius: 999px;
}
.form__req { background: var(--ink); color: var(--accent); }
.form__opt { background: #e6e2d6; color: var(--text-sub); }
.form__input, .form__select, .form__textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: var(--font-jp);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(129, 196, 228, 0.45);
}
.form__textarea { min-height: 180px; resize: vertical; }
.form__submit { text-align: center; margin-top: 40px; }
.form__privacy { font-size: 12.5px; color: var(--text-sub); text-align: center; margin-top: 16px; }

/* ---------- レスポンシブ微調整 ---------- */
@media (max-width: 599px) {
  .sec { padding: 68px 0; }
  .hero { padding-top: 120px; }
  .btn { width: 100%; }
  .cta .inner { padding: 56px 20px; }
}
.pc-only { display: none; }
@media (min-width: 900px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

/* ==========================================================
   モーション（v3 追加）
   ========================================================== */

/* ヒーローの登場アニメーション */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(46px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes hero-zoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero__title .hero__en:nth-child(1) { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both; }
.hero__title .hero__en:nth-child(2) { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both; }
.hero__jp   { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.34s both; }
.hero__lead { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.46s both; }
.hero__btns { animation: rise-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.58s both; }
.hero__img  { animation: rise-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }
.hero__img img { animation: hero-zoom 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.55s both; }

/* マーカー線がスッと引かれる */
@keyframes marker-draw { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.hero__jp em {
  background-repeat: no-repeat;
  animation: marker-draw 0.7s ease-out 1.1s both;
}

/* カードなどの時間差表示 */
.service-grid > *:nth-child(2) { transition-delay: 0.1s; }
.service-grid > *:nth-child(3) { transition-delay: 0.2s; }
.service-grid > *:nth-child(4) { transition-delay: 0.3s; }
.service-grid > *:nth-child(5) { transition-delay: 0.4s; }
.strength-grid > *:nth-child(2) { transition-delay: 0.12s; }
.strength-grid > *:nth-child(3) { transition-delay: 0.24s; }

/* 数字がぽよんと出る */
@keyframes pop-in {
  0%   { opacity: 0; transform: scale(0.5); }
  70%  { transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.strength-item.visible .strength-item__num {
  animation: pop-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

/* 見出しの水色ドットがふわふわ */
@keyframes dot-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.sec-head__jp::before, .page-head__jp::before, .cta__title::before {
  animation: dot-bob 2.6s ease-in-out infinite;
}

/* カードのホバーをちょっと遊びのある動きに */
.service-card:hover { transform: translateY(-6px); }
.service-card__link::after { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .service-card__link::after { transform: translateX(6px); }

/* ニュース行のホバーでスッと右へ */
.news-item a { transition: background 0.25s, padding-left 0.3s ease; }
.news-item a:hover { padding-left: 22px; }

/* ヘッダー：スクロールで影 */
.header { transition: box-shadow 0.3s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 28, 48, 0.09); }

/* CTAボタンの矢印がゆらゆら誘う */
@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(5px); }
}
.cta .btn::after { animation: nudge 1.6s ease-in-out infinite; }

/* 動きを減らしたい設定の人には全部止める */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================
   柔らかい図形（ブロブ）と仕上げ（v4 追加）
   ========================================================== */

/* ゆっくり形を変えながらふわふわ漂う共通アニメーション */
@keyframes blob-drift {
  0%, 100% {
    border-radius: 64% 36% 56% 44% / 48% 64% 36% 52%;
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    border-radius: 42% 58% 46% 54% / 64% 42% 58% 36%;
    transform: translate(14px, -20px) rotate(4deg);
  }
  66% {
    border-radius: 54% 46% 66% 34% / 42% 58% 44% 56%;
    transform: translate(-12px, 14px) rotate(-4deg);
  }
}

/* ヒーロー：タイトルの後ろに大きな水色ブロブ、コピー横に小さなブロブ */
.hero .inner { position: relative; isolation: isolate; }
.hero .inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70px;
  right: -60px;
  width: clamp(260px, 38vw, 520px);
  height: clamp(260px, 38vw, 520px);
  background: linear-gradient(135deg, #cde9f8 0%, #a3d6ef 100%);
  animation: blob-drift 16s ease-in-out infinite;
}
.hero .inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 90px;
  left: -70px;
  width: clamp(120px, 14vw, 190px);
  height: clamp(120px, 14vw, 190px);
  background: rgba(129, 196, 228, 0.45);
  animation: blob-drift 12s ease-in-out 1.5s infinite reverse;
}

/* ヒーロー写真：左上だけ大きく丸い、柔らかい非対称の角 */
.hero__img { border-radius: clamp(70px, 9vw, 130px) 28px 28px 28px; }

/* ミッション：文章の後ろに淡いブロブ */
.mission .inner { position: relative; isolation: isolate; }
.mission .inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -50px;
  left: 50%;
  margin-left: clamp(-260px, -24vw, -160px);
  width: clamp(220px, 30vw, 400px);
  height: clamp(200px, 26vw, 340px);
  background: linear-gradient(160deg, #e3f3fb 0%, #c2e3f5 100%);
  animation: blob-drift 18s ease-in-out infinite;
}

/* 強みセクション：角丸の塊にして、中に淡いブロブを浮かべる */
.strength {
  position: relative;
  overflow: hidden;
  border-radius: 44px;
  max-width: 1240px;
  margin-inline: auto;
  width: calc(100% - 32px);
}
.strength::before {
  content: "";
  display: block;
  position: absolute;
  top: -60px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(129, 196, 228, 0.14);
  animation: blob-drift 15s ease-in-out infinite;
}
.strength::after {
  content: "";
  position: absolute;
  bottom: -80px;
  right: -60px;
  width: 340px;
  height: 340px;
  background: rgba(255, 255, 255, 0.05);
  animation: blob-drift 19s ease-in-out 2s infinite reverse;
}
.strength .inner { position: relative; z-index: 1; }

/* 会社概要ダイジェスト写真：右下だけ大きく丸く */
.about-flex__img { border-radius: 28px 28px clamp(60px, 8vw, 110px) 28px; }

/* CTA：角の内側に小さなブロブをふたつ */
.cta .inner { overflow: hidden; isolation: isolate; }
.cta .inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -50px;
  left: -40px;
  width: 220px;
  height: 220px;
  background: rgba(129, 196, 228, 0.2);
  animation: blob-drift 14s ease-in-out infinite;
}
.cta .inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: -60px;
  right: -50px;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.06);
  animation: blob-drift 17s ease-in-out 1s infinite reverse;
}

/* 下層ページタイトル：後ろに淡いブロブ */
.page-head .inner { position: relative; isolation: isolate; }
.page-head .inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60px;
  left: clamp(120px, 22vw, 320px);
  width: clamp(200px, 26vw, 360px);
  height: clamp(180px, 22vw, 300px);
  background: linear-gradient(140deg, #d8eefa 0%, #aedaf1 100%);
  animation: blob-drift 16s ease-in-out infinite;
}

/* テキスト選択も水色に（小さなこだわり） */
::selection { background: rgba(129, 196, 228, 0.55); color: var(--ink); }

/* ブロブが画面端からはみ出しても横スクロールさせない */
html, body { overflow-x: hidden; }

/* ==========================================================
   エディトリアル仕上げ（v5 追加）
   ========================================================== */

/* セリフ体イタリックのアクセント（Knot "the" Future.） */
.en-serif {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  -webkit-text-stroke: 0;
  color: var(--accent-strong);
  margin-right: 0.06em;
}

/* CTAの "Knot" もセリフ体イタリックに */
.cta__en em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--accent);
  padding-inline: 0.04em;
}

/* ヒーロー写真の上でまわる円形バッジ */
.hero__img { position: relative; }
.hero__badge {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: clamp(92px, 11vw, 132px);
  height: clamp(92px, 11vw, 132px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 28, 48, 0.32);
  backdrop-filter: blur(6px);
  border-radius: 50%;
}
.hero__badge svg {
  position: absolute;
  inset: 6%;
  width: 88%;
  height: 88%;
  animation: badge-spin 18s linear infinite;
}
.hero__badge text {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.22em;
  fill: #fff;
}
.hero__badge-mark {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent);
}
@keyframes badge-spin { to { transform: rotate(360deg); } }

/* マーキー：交互にアウトライン文字でリズムを */
.marquee__track b {
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
}

/* サービスカード：淡いゴースト番号（01〜05） */
.service-grid { counter-reset: svc; }
.service-grid .service-card { counter-increment: svc; }
.service-card__body { position: relative; }
.service-card__body::before {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 12px;
  right: 20px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  color: rgba(129, 196, 228, 0.4);
  pointer-events: none;
}
.service-card__num { display: none; }

/* フッター：上の角を丸く、ロゴを大きく */
.footer { border-radius: 44px 44px 0 0; }
.footer__logo-en {
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: 0.01em;
}
.footer__logo-jp { margin-top: 2px; }

/* ほんのり紙のような質感（ごく薄いノイズ） */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================
   サービス詳細の充実化 + FAQ（v6 追加）
   ========================================================== */

/* ご依頼の流れ（FLOW） */
.flow { margin: 30px 0 6px; }
.flow__label {
  display: block;
  font-family: var(--font-en);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.flow-steps { display: flex; flex-direction: column; }
.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 4px;
  border-bottom: 1px dashed var(--line);
}
.flow-step:last-child { border-bottom: none; }
.flow-step__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: var(--accent-strong);
  min-width: 30px;
  line-height: 1.4;
}
.flow-step__body strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.flow-step__body span { font-size: 12.5px; color: var(--text-sub); line-height: 1.7; }

/* こんな方に（タグ） */
.for-whom { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.for-whom span {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(129, 196, 228, 0.16);
  border: 1px solid rgba(129, 196, 228, 0.45);
  border-radius: 999px;
  padding: 7px 18px;
  transition: background 0.25s;
}
.for-whom span:hover { background: rgba(129, 196, 228, 0.32); }

/* FAQ アコーディオン */
.faq { max-width: 860px; margin-inline: auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  border-radius: 14px;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ""; }
.faq-item summary:hover { background: rgba(129, 196, 228, 0.1); }
.faq-q::before {
  content: "Q.";
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent-strong);
  margin-right: 10px;
}
.faq-toggle {
  position: relative;
  width: 22px; height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform 0.3s;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 10px; height: 2px; }
.faq-toggle::after { width: 2px; height: 10px; transition: opacity 0.2s; }
.faq-item[open] .faq-toggle { transform: rotate(180deg); background: var(--accent-strong); }
.faq-item[open] .faq-toggle::after { opacity: 0; }
.faq-a {
  display: flex;
  gap: 10px;
  padding: 0 12px 26px 42px;
  color: var(--text-sub);
  font-size: 13.5px;
  line-height: 1.9;
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.faq-item[open] .faq-a { animation: faq-open 0.35s ease both; }

@media (max-width: 599px) {
  .faq-item summary { padding: 20px 6px; font-size: 14px; }
  .faq-a { padding: 0 6px 22px 30px; }
}

/* ==========================================================
   v7: 洗練・余白調整 / 実績・数字・理由・メッセージ / 新アニメーション
   ========================================================== */

/* --- 余白のリズムを整える（ゆったりめに統一） --- */
.sec { padding: clamp(76px, 9vw, 118px) 0; }
.sec-head { margin-bottom: clamp(42px, 6vw, 66px); }
.mission__text { max-width: 680px; }
.sec-head__lead { line-height: 2.1; }
.service-detail { padding: 72px 0; }
.hero__row { margin-bottom: 56px; }
.page-head { padding: 92px 0 54px; }

/* --- companyページ等、下層のミッションはブロブを重ねない --- */
.breadcrumb + .mission .inner::before { display: none; }

/* --- ヒーロー：1文字ずつ立ち上がるタイトル --- */
.hero__title { overflow: hidden; }
.hero__title .hero__en:nth-child(1),
.hero__title .hero__en:nth-child(2) { animation: none; opacity: 1; }
.hero__en .char {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  animation: char-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes char-rise {
  to { transform: translateY(0); opacity: 1; }
}

/* --- 画像のワイプ表示（水色パネルがスッと抜けて現れる） --- */
.img-wipe { position: relative; overflow: hidden; }
.img-wipe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.85s cubic-bezier(0.7, 0, 0.2, 1) 0.1s;
  z-index: 1;
}
.img-wipe img {
  transform: scale(1.12);
  transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}
.img-wipe.is-shown::after { transform: scaleX(0); }
.img-wipe.is-shown img { transform: scale(1); }
.img-wipe.no-anim::after { transition: none; transform: scaleX(0); }
.img-wipe.no-anim img { transition: none; transform: scale(1); }

/* --- セクション見出しがクリップから立ち上がる --- */
.sec-head__en { clip-path: inset(0 0 0 0); }
.fade-up .sec-head__en {
  display: block;
  transform: translateY(40%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.6s ease 0.1s;
}
.fade-up.visible .sec-head__en { transform: translateY(0); opacity: 1; }

/* --- スクロール進捗バー --- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  z-index: 101;
  border-radius: 0 3px 3px 0;
}

/* --- マーキー：ホバーで一時停止 --- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- WORKS（実績） ---------- */
.works-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.work-card:hover { box-shadow: 0 16px 36px rgba(15, 28, 48, 0.12); transform: translateY(-5px); }
.work-card__img { height: 240px; overflow: hidden; }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.work-card:hover .work-card__img img { transform: scale(1.05); }
.work-card__body { padding: 26px 28px 30px; }
.work-card__cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  background: rgba(129, 196, 228, 0.35);
  border-radius: 999px;
  padding: 3px 14px;
  margin-bottom: 14px;
}
.work-card__title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.work-card__text { font-size: 13px; color: var(--text-sub); }
.works-more { text-align: center; margin-top: 44px; }

/* ---------- NUMBERS（数字で見るALLKNOT） ---------- */
.num-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .num-grid { grid-template-columns: repeat(4, 1fr); } }
.num-item {
  text-align: center;
  padding: 34px 12px 30px;
  border-radius: var(--radius);
  background: var(--bg);
}
.num-item__val {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.15;
  color: var(--ink);
}
.num-item__val small {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 17px;
  color: var(--accent-strong);
  margin-left: 3px;
}
.num-item__label { display: block; font-size: 12.5px; color: var(--text-sub); margin-top: 8px; font-weight: 500; }
.num-note { font-size: 11.5px; color: var(--text-sub); text-align: center; margin-top: 22px; }

/* ---------- REASON（選ばれる理由の深掘り、STRENGTH内） ---------- */
.reason-grid {
  display: grid;
  gap: 14px 40px;
  grid-template-columns: 1fr;
  margin-top: 54px;
}
@media (min-width: 800px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
.reason {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 20px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.reason__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent);
  line-height: 1.9;
  min-width: 28px;
}
.reason__body strong { display: block; color: #fff; font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.reason__body p { font-size: 12.5px; color: #c3cbd8; line-height: 1.8; }

/* ---------- MESSAGE（代表メッセージ、companyページ） ---------- */
.message { max-width: 780px; margin-inline: auto; }
.message__quote {
  position: relative;
  font-size: clamp(19px, 2.6vw, 26px);
  font-weight: 900;
  color: var(--ink);
  line-height: 2;
  letter-spacing: 0.06em;
  margin-bottom: 34px;
  padding-top: 46px;
}
.message__quote::before {
  content: "\201C";
  position: absolute;
  top: 0; left: -6px;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-size: 84px;
  line-height: 1;
  color: var(--accent);
}
.message__body p { color: var(--text-sub); margin-bottom: 20px; }
.message__sign { text-align: right; font-size: 13.5px; color: var(--text-sub); margin-top: 30px; }
.message__sign strong { font-size: 17px; color: var(--ink); margin-left: 10px; }

/* ==========================================================
   v9: 仕上げ調整
   ① 濃い背景のボタンは白文字
   ② 角丸を全体的に控えめに
   ③ 余白・ディテールをベストなバランスに
   ========================================================== */

/* --- ① 濃色ボタンの文字を白に --- */
.btn--navy { color: #fff; }
.btn--navy:hover { background: var(--accent-strong); color: #fff; }
.header__cta { color: #fff; }
.form__req { color: #fff; }

/* --- ② 角丸を抑える --- */
:root { --radius: 14px; }
.btn { border-radius: 12px; }
.header__cta { border-radius: 12px; }
.strength { border-radius: 22px; }
.cta .inner { border-radius: 22px; }
.footer { border-radius: 22px 22px 0 0; }
.form__input, .form__select, .form__textarea { border-radius: 10px; }
.faq-item summary { border-radius: 10px; }
.contact-note { border-radius: 10px; }
.hero__img { border-radius: clamp(36px, 5vw, 64px) 18px 18px 18px; }
.about-flex__img { border-radius: 18px 18px clamp(32px, 4.5vw, 56px) 18px; }
.hero__badge { border-radius: 50%; }
.news-item__cat, .work-card__cat, .for-whom span, .strength-item__label,
.service-detail__num, .form__req, .form__opt { border-radius: 6px; }

/* --- ③ 余白・ディテール調整 --- */
.inner { padding-inline: clamp(20px, 4vw, 32px); }
.sec { padding: clamp(72px, 8.5vw, 110px) 0; }
.sec-head { margin-bottom: clamp(40px, 5.5vw, 58px); }
.sec-head__lead { margin-top: 16px; }
.page-head { padding: 78px 0 46px; }

.hero { padding: clamp(126px, 15vh, 158px) 0 0; }
.hero__title { margin-bottom: 30px; }
.hero__row { gap: 20px 56px; margin-bottom: 46px; }
.hero__lead { margin-bottom: 24px; }
.marquee { padding: 13px 0; }

.service-grid, .works-grid { gap: 22px; }
.service-card__body { padding: 24px 24px 26px; }
.work-card__body { padding: 24px 26px 28px; }
.work-card__img { height: 225px; }

.strength-grid { gap: 16px; }
.strength-item { padding: 34px 26px; }
.reason-grid { gap: 10px 36px; margin-top: 46px; }
.reason { padding: 18px 6px; }

.num-grid { gap: 14px; }
.num-item { padding: 30px 12px 26px; }

.news-item a { padding: 22px 8px; }
.service-detail { padding: clamp(52px, 6.5vw, 76px) 0; }
.flow { margin: 26px 0 4px; }
.faq-item summary { padding: 22px 10px; }

.cta { padding: 32px 0 clamp(72px, 8.5vw, 100px); }
.cta .inner { padding: clamp(56px, 7vw, 74px) 24px; }
.cta__text { margin-bottom: 30px; }
.footer__main { padding: 52px 24px 36px; gap: 32px; }
.message__quote { margin-bottom: 30px; }

/* ==========================================================
   v10: 自社プロダクト（PRODUCTS）ページ
   ========================================================== */

.products-note { font-size: 12px; color: var(--text-sub); text-align: center; margin-top: 14px; }

.product {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: center;
  padding: clamp(44px, 5.5vw, 64px) 0;
  border-bottom: 1px solid var(--line);
}
.product:last-of-type { border-bottom: none; }
@media (min-width: 860px) {
  .product { grid-template-columns: 320px 1fr; gap: 52px; }
}

/* プロダクトのモノグラムタイル */
.product__tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}
.product__tile::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -44px;
  width: 150px;
  height: 150px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(255, 255, 255, 0.14);
  animation: blob-drift 16s ease-in-out infinite;
}
.product__logo {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.01em;
  color: #fff;
}
.product__kana { font-size: 11px; letter-spacing: 0.22em; color: rgba(255, 255, 255, 0.75); }
.product__tile--1 { background: linear-gradient(135deg, #0f1c30 0%, #1e3a5c 100%); }
.product__tile--2 { background: linear-gradient(135deg, #4fa8d4 0%, #2d7fae 100%); }
.product__tile--3 { background: linear-gradient(135deg, #16283f 0%, #34567c 100%); }
.product__tile--4 { background: linear-gradient(135deg, #6db9dd 0%, #4192bd 100%); }
.product__tile--5 { background: linear-gradient(135deg, #22354e 0%, #0f1c30 100%); }

.product__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.product__status {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 6px;
}
.product__status--dev { background: var(--ink); color: #fff; }
.product__status--beta { background: var(--accent); color: var(--ink); }
.product__status--plan { background: transparent; color: var(--text-sub); border: 1px solid var(--line); }
.product__cat { font-size: 12px; font-weight: 700; color: var(--accent-strong); letter-spacing: 0.08em; }

.product__name { font-size: 24px; font-weight: 900; color: var(--ink); line-height: 1.4; margin-bottom: 6px; font-family: var(--font-en); }
.product__name small { font-size: 12px; font-weight: 500; color: var(--text-sub); font-family: var(--font-jp); margin-left: 8px; }
.product__tagline { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.product__desc { font-size: 13.5px; color: var(--text-sub); margin-bottom: 18px; }
.product__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.product__tags span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink);
  background: rgba(129, 196, 228, 0.16);
  border: 1px solid rgba(129, 196, 228, 0.45);
  border-radius: 6px;
  padding: 5px 14px;
}

/* トップページのプロダクトティザー */
.product-teaser-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .product-teaser-grid { grid-template-columns: repeat(5, 1fr); } }
.product-teaser {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 22px 18px 20px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.product-teaser:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15, 28, 48, 0.1); }
.product-teaser__logo { font-family: var(--font-en); font-weight: 700; font-size: 17px; color: var(--ink); display: block; }
.product-teaser__text { font-size: 11.5px; color: var(--text-sub); line-height: 1.7; display: block; margin-top: 6px; }
.product-teaser__status { font-size: 10px; font-weight: 700; color: var(--accent-strong); display: block; margin-top: 8px; letter-spacing: 0.08em; }
@media (max-width: 899px) {
  .product-teaser-grid > .product-teaser:last-child { grid-column: 1 / -1; }
}

/* ==========================================================
   v11: 導入事例 / 採用 / プライバシーポリシー
   ========================================================== */

/* --- 導入事例 --- */
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  margin-bottom: 26px;
}
.case:last-of-type { margin-bottom: 0; }
.case__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}
.case__num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
}
.case__client { font-size: 12.5px; color: var(--text-sub); font-weight: 500; }
.case__quote {
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.case__body p { font-size: 13.5px; color: var(--text-sub); }
.case__results {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.case__result {
  background: rgba(129, 196, 228, 0.14);
  border: 1px solid rgba(129, 196, 228, 0.4);
  border-radius: 10px;
  padding: 14px 22px;
  min-width: 160px;
  text-align: center;
}
.case__result strong {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--ink);
}
.case__result strong small { font-family: var(--font-jp); font-size: 13px; font-weight: 700; color: var(--accent-strong); margin-left: 2px; }
.case__result span { font-size: 11.5px; color: var(--text-sub); font-weight: 500; }

/* --- 採用 --- */
.recruit-style__title {
  display: block;
  font-size: 17px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}
.job {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 38px);
  margin-bottom: 22px;
}
.job__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 12px;
}
.job__title { font-size: 20px; font-weight: 700; color: var(--ink); }
.job__desc { font-size: 13.5px; color: var(--text-sub); margin-bottom: 16px; }
.works-more .products-note { margin-top: 14px; }

/* --- プライバシーポリシー等の規約ページ --- */
.legal { max-width: 800px; margin-inline: auto; font-size: 14px; }
.legal h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 14px;
  margin: 40px 0 14px;
  line-height: 1.6;
}
.legal p { color: var(--text-sub); margin-bottom: 10px; }
.legal ul { margin: 8px 0 10px; padding-left: 4px; }
.legal ul li {
  position: relative;
  padding: 3px 0 3px 20px;
  color: var(--text-sub);
}
.legal ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.legal a { color: var(--accent-strong); text-decoration: underline; }
.legal__date { margin-top: 44px; text-align: right; color: var(--text-sub); }

/* ==========================================================
   v12: サービス4本化 / 無料PoC / 開発実績
   ========================================================== */

/* サービス4枚は2×2で */
@media (min-width: 1000px) {
  .service-grid--four { grid-template-columns: repeat(2, 1fr); }
}
.service-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--ink);
  border-radius: 5px;
  padding: 2px 10px;
  margin-left: 10px;
  letter-spacing: 0.08em;
  vertical-align: 1px;
}
.service-badge--poc { background: var(--accent-strong); margin-left: 6px; }

/* 淡い水色の帯 */
.sec--tint { background: #e9f3fa; }

/* 無料PoCステップ */
.poc-steps {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  counter-reset: poc;
}
@media (min-width: 860px) { .poc-steps { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.poc-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px 24px;
  box-shadow: 0 6px 18px rgba(15, 28, 48, 0.06);
}
.poc-step__num {
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-strong);
  margin-bottom: 8px;
}
.poc-step strong { display: block; font-size: 15.5px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.poc-step p { font-size: 12px; color: var(--text-sub); line-height: 1.8; }
@media (min-width: 860px) {
  .poc-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--accent-strong);
    z-index: 1;
  }
}

/* 開発実績ティザー3枚 */
@media (min-width: 900px) {
  .product-teaser-grid--three { grid-template-columns: repeat(3, 1fr); }
}
.product-teaser-grid--three .product-teaser__logo { font-family: var(--font-jp); font-size: 16px; }

/* 開発実績ページ末尾のPoC案内 */
.poc-note {
  margin-top: 56px;
  background: #e9f3fa;
  border-radius: var(--radius);
  text-align: center;
  padding: clamp(40px, 5vw, 56px) 24px;
}
.poc-note__title {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.poc-note__title em {
  font-style: normal;
  background: linear-gradient(transparent 62%, rgba(129, 196, 228, 0.8) 62%);
  padding-inline: 2px;
}
.poc-note__text { font-size: 13.5px; color: var(--text-sub); max-width: 640px; margin: 0 auto 26px; }

/* ==========================================================
   v13: WordPress 記事ページ・ページネーション
   ========================================================== */

.post { max-width: 800px; margin-inline: auto; }
.post__head { margin-bottom: 28px; }
.post__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.post__title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; color: var(--ink); line-height: 1.7; letter-spacing: 0.05em; }
.post__thumb { border-radius: var(--radius); overflow: hidden; margin-bottom: 32px; }
.post__thumb img { width: 100%; height: auto; }
.post__content { font-size: 15px; color: var(--text); }
.post__content p { margin-bottom: 1.4em; }
.post__content h2 {
  font-size: 21px; font-weight: 700; color: var(--ink);
  border-left: 3px solid var(--accent);
  padding-left: 14px; margin: 44px 0 18px; line-height: 1.6;
}
.post__content h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 34px 0 14px; }
.post__content img { border-radius: 12px; height: auto; margin: 10px 0; }
.post__content a { color: var(--accent-strong); text-decoration: underline; }
.post__content ul, .post__content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.post__content ul li { list-style: disc; margin-bottom: 4px; }
.post__content ol li { list-style: decimal; margin-bottom: 4px; }
.post__content blockquote {
  border-left: 3px solid var(--line);
  padding: 4px 0 4px 18px;
  color: var(--text-sub);
  margin: 0 0 1.4em;
}
.post__content .aligncenter { margin-inline: auto; }
.post__back { text-align: center; margin-top: 48px; }

/* ページネーション */
.news-pagination { margin-top: 44px; }
.news-pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.news-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--line);
  font-family: var(--font-en); font-weight: 700; font-size: 14px;
  color: var(--ink); background: var(--white);
  transition: background 0.2s;
}
.news-pagination .page-numbers:hover { background: rgba(129, 196, 228, 0.2); }
.news-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.news-pagination .page-numbers.dots { border: none; background: transparent; }

/* ==========================================================
   v14: 新コピー ALL YOU IMAGINE, WE KNOT.（セリフ体全廃）
   ========================================================== */

/* ヒーロー3行構成にあわせてサイズ調整 */
.hero__en { font-size: clamp(44px, 8.8vw, 112px); }

/* 2行目はソリッドの水色（セリフ体の代わりのアクセント） */
.hero__en--accent {
  color: var(--accent-strong);
  -webkit-text-stroke: 0;
}

/* CTAの "Knot" もセリフ体をやめて水色の同ファミリーに */
.cta__en em {
  font-family: var(--font-en);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: inherit;
  padding-inline: 0;
}

/* 代表メッセージの引用符もセリフ体をやめる */
.message__quote::before {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 64px;
  top: -6px;
}

/* ==========================================================
   v15: 公開前おしゃれ総仕上げ
   - 回転バッジ廃止 / 下層FVに背景色＋小ブロブ複数
   - 全体に小さめブロブを追加 / 開発実績＝スクショ掲載
   - お知らせ＝画像カード / 取引実績
   ========================================================== */

/* --- 下層ページFV: 淡いグラデ背景 + 小ブロブを散らす --- */
.page-head {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #e7f2fa 0%, #f3f1e9 52%, #dfeef8 100%);
  padding: 96px 0 58px;
}
.page-head .inner { position: relative; isolation: auto; z-index: 1; }
.page-head .inner::before {
  width: clamp(150px, 19vw, 250px);
  height: clamp(130px, 16vw, 210px);
  top: -46px;
  left: clamp(200px, 32vw, 500px);
  opacity: 0.85;
}
.page-head::before,
.page-head::after {
  content: "";
  position: absolute;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  animation: blob-drift 17s ease-in-out infinite;
}
.page-head::before {
  width: clamp(80px, 9vw, 120px);
  height: clamp(72px, 8vw, 108px);
  right: 10%;
  top: 16%;
  background: rgba(129, 196, 228, 0.42);
}
.page-head::after {
  width: clamp(44px, 5vw, 64px);
  height: clamp(40px, 4.5vw, 58px);
  right: 27%;
  bottom: 8%;
  background: rgba(15, 28, 48, 0.09);
  animation-delay: 2.2s;
  animation-direction: reverse;
}
.breadcrumb { border-top: none; }

/* --- 小さめブロブを各所に（さりげなく） --- */
.faq { position: relative; }
.faq::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -60px;
  width: 96px;
  height: 88px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.25);
  animation: blob-drift 15s ease-in-out infinite;
}
.form { position: relative; }
.form::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -90px;
  width: 110px;
  height: 100px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.22);
  animation: blob-drift 16s ease-in-out infinite reverse;
  z-index: -1;
}
.footer { position: relative; overflow: hidden; }
.footer::before,
.footer::after {
  content: "";
  position: absolute;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  animation: blob-drift 19s ease-in-out infinite;
  pointer-events: none;
}
.footer::before {
  width: 200px;
  height: 180px;
  right: -60px;
  top: -70px;
  background: rgba(129, 196, 228, 0.1);
}
.footer::after {
  width: 90px;
  height: 82px;
  left: 12%;
  bottom: 14%;
  background: rgba(255, 255, 255, 0.05);
  animation-delay: 3s;
  animation-direction: reverse;
}
#numbers .inner { position: relative; }
#numbers .inner::after {
  content: "";
  position: absolute;
  top: -30px;
  left: -70px;
  width: 90px;
  height: 82px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.28);
  animation: blob-drift 14s ease-in-out infinite;
}

/* --- 開発実績: システムスクショ（ブラウザ風フレーム） --- */
.product { align-items: start; }
@media (min-width: 900px) {
  .product { grid-template-columns: 480px 1fr; gap: 48px; }
}
.product__shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 44px rgba(15, 28, 48, 0.14);
  padding-top: 32px;
}
.product__shot::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: #e9edf2;
  border-bottom: 1px solid #dde3ea;
}
.product__shot::after {
  content: "";
  position: absolute;
  top: 12px; left: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f97066;
  box-shadow: 14px 0 0 #fdb022, 28px 0 0 #47cd89;
}
.product__shot img {
  width: 100%;
  height: clamp(230px, 24vw, 310px);
  object-fit: cover;
  object-position: top left;
  display: block;
}
.product__results { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

/* --- お知らせ: 画像カードレイアウト --- */
.works-grid--three { }
@media (min-width: 1000px) { .works-grid--three { grid-template-columns: repeat(3, 1fr); } }
.works-grid--three .work-card__img { height: 180px; }
.works-grid--three .work-card__body { padding: 20px 22px 24px; }
.works-grid--three .work-card__title { font-size: 15px; }
.news-thumb--ph {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #14315c 0%, #0f1c30 100%);
}
.news-thumb--ph span {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.06em;
}
.news-thumb--ph small { font-size: 10px; color: #81c4e4; letter-spacing: 0.2em; }
.work-card__date {
  display: block;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

/* --- 会社概要: 取引実績 --- */
.clients-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 800px) { .clients-grid { grid-template-columns: repeat(3, 1fr); } }
.client {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px 14px;
  font-weight: 700;
  font-size: clamp(13.5px, 1.5vw, 16.5px);
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.clients-note { font-size: 11.5px; color: var(--text-sub); text-align: center; margin-top: 18px; }

/* 掲載許可が下りるまで取引実績を隠したい場合は、下の1行のコメント（/＊ ＊/）を外す
#clients { display: none !important; }
*/

/* ==========================================================
   v16: ロゴ画像 / 取引実績（正式名称・マスキング表示）
   ========================================================== */

.header__logo-img { height: 34px; width: auto; display: block; }
@media (max-width: 599px) { .header__logo-img { height: 29px; } }

.clients-inline { margin-top: 44px; }
.clients-inline__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 16px;
}
.clients-inline__title::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid rgba(15, 28, 48, 0.2);
}
.client { padding: 20px 12px; font-size: clamp(12px, 1.3vw, 14.5px); }

/* 「あえて隠している」見せ方のマスキング */
.client--masked {
  filter: blur(5.5px);
  opacity: 0.75;
  user-select: none;
  pointer-events: none;
}

/* 掲載許可が下りたら、下の1行のコメント（/＊ ＊/）を外すとマスキング解除
.client--masked { filter: none; opacity: 1; user-select: auto; pointer-events: auto; }
*/

/* ==========================================================
   v17: 開発実績カード＆詳細 / TOP再構成 / ブロブ増量
   ========================================================== */

/* --- ヒーロー下に余白（マーキー廃止に伴う） --- */
.hero { padding-bottom: clamp(40px, 5vw, 68px); }

/* --- サービスカード画像を大きく --- */
.service-card__img { height: 240px; }

/* --- ミッション: 巨大ブロブ1個 → 小さめ複数 --- */
.mission { position: relative; overflow: hidden; }
.mission .inner::before {
  width: clamp(130px, 15vw, 200px);
  height: clamp(110px, 13vw, 170px);
  top: -30px;
  margin-left: clamp(-320px, -30vw, -200px);
}
.mission .inner::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-40px, -3vw, -20px);
  bottom: -20px;
  width: clamp(80px, 9vw, 130px);
  height: clamp(70px, 8vw, 115px);
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.35);
  animation: blob-drift 14s ease-in-out 1s infinite reverse;
}
.mission::after {
  content: "";
  position: absolute;
  right: 22%;
  top: 14%;
  width: 46px;
  height: 42px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(15, 28, 48, 0.07);
  animation: blob-drift 18s ease-in-out infinite;
}
.breadcrumb + .mission .inner::after,
.breadcrumb + .mission::after { display: none; }

/* --- TOP各所に小ブロブ --- */
#services { position: relative; overflow: hidden; }
#services::before, #services::after {
  content: "";
  position: absolute;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  animation: blob-drift 16s ease-in-out infinite;
  pointer-events: none;
}
#services::before { width: 110px; height: 100px; left: -40px; top: 90px; background: rgba(129, 196, 228, 0.2); }
#services::after { width: 64px; height: 58px; right: 6%; bottom: 60px; background: rgba(129, 196, 228, 0.28); animation-direction: reverse; }
#news { position: relative; overflow: hidden; }
#news::before {
  content: "";
  position: absolute;
  right: -50px;
  top: 60px;
  width: 130px;
  height: 116px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.22);
  animation: blob-drift 15s ease-in-out infinite;
  pointer-events: none;
}
#development { position: relative; overflow: hidden; }
#development::before {
  content: "";
  position: absolute;
  left: -46px;
  bottom: 60px;
  width: 100px;
  height: 92px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.18);
  animation: blob-drift 17s ease-in-out infinite reverse;
  pointer-events: none;
}

/* --- 開発実績カード（2列×3行） --- */
.dev-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .dev-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .dev-grid--teaser { grid-template-columns: repeat(3, 1fr); } }
.dev-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s, transform 0.3s;
}
.dev-card:hover { box-shadow: 0 16px 36px rgba(15, 28, 48, 0.12); transform: translateY(-5px); }
.dev-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.dev-card__title { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.5; margin-bottom: 8px; }
.dev-card__text { font-size: 13px; color: var(--text-sub); }
.dev-card__results { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dev-card__results .case__result { padding: 10px 16px; min-width: 120px; }
.dev-card__results .case__result strong { font-size: 22px; }
.dev-card__more {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dev-card__more::after { content: "→"; font-family: var(--font-en); transition: transform 0.25s; }
.dev-card:hover .dev-card__more::after { transform: translateX(4px); }

/* カード内スクショはフラットに */
.product__shot--card {
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding-top: 28px;
}
.product__shot--card::before { height: 28px; }
.product__shot--card::after { top: 10px; }
.product__shot--card img { height: 210px; }
.dev-grid--teaser .product__shot--card img { height: 175px; }

/* --- 開発実績 詳細ページ --- */
.dev-detail__cat {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-strong);
  margin-left: 16px;
  vertical-align: middle;
  letter-spacing: 0.08em;
}
.dev-detail__shot { max-width: 900px; margin-inline: auto; }
.dev-detail__shot .product__shot img { height: clamp(280px, 38vw, 460px); }
.dev-detail__shot .products-note { margin-top: 12px; }
.dev-detail__intro { max-width: 760px; margin: 40px auto 0; text-align: center; }
.dev-detail__intro .product__tagline { font-size: clamp(18px, 2.4vw, 24px); margin-bottom: 14px; }
.dev-detail__desc { color: var(--text-sub); }
.dev-detail__h {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.dev-detail__h::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid rgba(15, 28, 48, 0.2);
}
.dev-detail__cols {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  margin-top: 52px;
}
@media (min-width: 860px) { .dev-detail__cols { grid-template-columns: 1fr 1fr; gap: 40px; } }
.dev-detail__col {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
}
.issue-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
}
.issue-list li::before {
  content: "!";
  position: absolute;
  left: 0; top: 8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #efe4da;
  color: #a05716;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dev-detail__results { margin-top: 44px; }
.dev-detail__others { margin-top: 60px; }
.dev-detail__others .works-more { margin-top: 32px; }

/* お客様の声 */
.voice {
  margin-top: 44px;
  background: #e9f3fa;
  border-radius: var(--radius);
  padding: clamp(30px, 4vw, 44px);
  position: relative;
  overflow: hidden;
}
.voice::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 160px;
  height: 145px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(255, 255, 255, 0.45);
  animation: blob-drift 16s ease-in-out infinite;
}
.voice > * { position: relative; z-index: 1; }
.voice__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-strong);
  border-radius: 6px;
  padding: 3px 14px;
  margin-bottom: 16px;
}
.voice__quote {
  font-size: clamp(15px, 1.9vw, 18px);
  font-weight: 700;
  color: var(--ink);
  line-height: 2;
  margin-bottom: 12px;
}
.voice__by { font-size: 12.5px; color: var(--text-sub); }
.voice .products-note { text-align: left; margin-top: 14px; }

/* --- フッターロゴ --- */
.footer__logo-img { height: 28px; width: auto; display: block; margin-bottom: 8px; }


/* 本文をブロブより前面に（レイヤー保険） */
.hero > .inner,
.mission > .inner,
.strength > .inner,
.marquee__track { position: relative; z-index: 1; }

/* ==========================================================
   v18: 微調整（3列グリッド / marquee / CTA簡素化）
   ========================================================== */

/* 開発実績一覧は3列×2行 */
@media (min-width: 1000px) {
  .dev-grid { grid-template-columns: repeat(3, 1fr); }
  .dev-grid .dev-card__title { font-size: 15.5px; }
  .dev-grid .product__shot--card img { height: 185px; }
  .dev-grid .dev-card__results .case__result { padding: 8px 12px; min-width: 104px; }
  .dev-grid .dev-card__results .case__result strong { font-size: 19px; }
}

/* 詳しく見るの余白 */
.dev-card__more { margin-top: auto; padding-top: 16px; }

/* marquee: ヒーロー画像との間に余白 + 途切れないループ */
.marquee { margin-top: 0; }
.hero { padding-bottom: clamp(44px, 5.5vw, 72px); }
.marquee__track { will-change: transform; animation: marquee 30s linear infinite; }
@keyframes marquee {
  to { transform: translateX(calc(-100% / 3)); }
}

/* CTAの英字（CONTACT）はやや控えめに */
.cta__en { font-size: clamp(34px, 5.5vw, 62px); letter-spacing: 0.04em; }

/* --- TOPブロブ（v18時点の控えめな量） --- */
.hero__row { position: relative; }
.hero__row::after {
  content: "";
  position: absolute;
  right: 8%;
  top: -30px;
  width: 54px;
  height: 48px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.3);
  animation: blob-drift 13s ease-in-out infinite;
  z-index: -1;
}
#poc { position: relative; overflow: hidden; }
#poc::before, #poc::after {
  content: "";
  position: absolute;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  animation: blob-drift 16s ease-in-out infinite;
  pointer-events: none;
}
#poc::before { width: 140px; height: 126px; left: -50px; top: -40px; background: rgba(255, 255, 255, 0.65); }
#poc::after { width: 90px; height: 80px; right: 5%; bottom: -30px; background: rgba(129, 196, 228, 0.32); animation-direction: reverse; }
#faq { position: relative; overflow: hidden; }
#faq::before {
  content: "";
  position: absolute;
  left: -40px;
  bottom: 80px;
  width: 100px;
  height: 90px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.2);
  animation: blob-drift 18s ease-in-out infinite;
  pointer-events: none;
}
#services::after { width: 84px; height: 76px; }
#development::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 80px;
  width: 74px;
  height: 66px;
  border-radius: 62% 38% 54% 46% / 48% 62% 38% 52%;
  background: rgba(129, 196, 228, 0.24);
  animation: blob-drift 15s ease-in-out infinite;
  pointer-events: none;
}

/* 本文をブロブより前面に（レイヤー保険） */
.hero > .inner,
.mission > .inner,
.strength > .inner,
.marquee__track { position: relative; z-index: 1; }

/* ==========================================================
   実績セクションの一時非表示スイッチ
   body に works-hidden クラスが付くと、実績関連が消えます。
   （WordPressは functions.php の ALLKNOT_SHOW_WORKS で自動制御）
   ========================================================== */
body.works-hidden #development,
body.works-hidden #clients {
  display: none !important;
}

/* ==========================================================
   Contact Form 7 対応
   （CF7が生成するマークアップを、テーマのフォームデザインに合わせる）
   ========================================================== */

/* CF7のラッパーはブロック要素に */
.wpcf7-form-control-wrap { display: block; }
.wpcf7 form .wpcf7-form-control-wrap { position: relative; }

/* CF7が付ける独自クラスを打ち消して、テーマの見た目を優先 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 15px 18px;
  font-size: 15px;
  font-family: var(--font-jp);
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7 select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235d6675' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(129, 196, 228, 0.45);
}

/* 未入力・エラー時 */
.wpcf7 .wpcf7-not-valid { border-color: #c0392b; }
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: #c0392b;
}

/* 送信後のメッセージ */
.wpcf7 form .wpcf7-response-output {
  margin: 28px 0 0;
  padding: 16px 20px;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: rgba(129, 196, 228, 0.2);
  color: var(--ink);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  background: #fbeae7;
  color: #a5352a;
}

/* 送信中のスピナー */
.wpcf7-spinner { margin: 0 0 0 12px; vertical-align: middle; }

/* プライバシーポリシー同意チェック */
.form__consent {
  margin: 4px 0 8px;
  text-align: center;
  font-size: 13.5px;
}
.form__consent .wpcf7-list-item { margin: 0; }
.form__consent .wpcf7-list-item-label { margin-left: 8px; }
.form__consent label {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  color: var(--text-sub);
}
.form__consent input[type="checkbox"] {
  width: 19px;
  height: 19px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.form__consent input[type="checkbox"]:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.form__consent input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.form__consent a { color: var(--accent-strong); text-decoration: underline; }

/* 送信ボタン（CF7のsubmitにテーマのbtnを適用） */
.wpcf7 .form__submit input[type="submit"] { cursor: pointer; }
.wpcf7 .form__submit .btn--navy:hover { background: var(--accent-strong); }

/* CF7: ラベルと入力欄の余白調整（CF7のpタグ・spanによる隙間を詰める） */
.wpcf7 .form__row { margin-bottom: 24px; }
.wpcf7 .form__row p { margin: 0; }
.wpcf7 .form__label { margin-bottom: 8px; }
.wpcf7 br { display: none; }
.wpcf7 .form__consent p,
.wpcf7 .form__submit p:not(.form__privacy) { margin: 0; }
.wpcf7 .form__submit { margin-top: 32px; }

/* ==========================================================
   サービスページ：FLOW（ご依頼の流れ）と「こんな方に」タグを一時非表示
   復活させるときは、この2行を削除するかコメントアウトしてください。
   ========================================================== */
.service-detail .flow { display: none !important; }
.service-detail .for-whom { display: none !important; }

/* ==========================================================
   ヒーロー：右カラムを狭くさせず、ボタンを横並びで固定
   ========================================================== */
@media (min-width: 900px) {
  .hero__row { grid-template-columns: minmax(0, 1fr) minmax(500px, 1fr); }
  .hero__btns { flex-wrap: nowrap; }
  .hero__btns .btn { min-width: 0; padding-inline: 28px; white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  .hero__jp { font-size: clamp(20px, 2.6vw, 28px); }
}

/* FV：大きいブロブに重なる小ブロブを削除 */
.hero__row::after { display: none; }

/* ヒーロー：日本語見出しは折り返さず、ボタンは横並びを維持 */
@media (min-width: 900px) {
  .hero__row { grid-template-columns: max-content minmax(440px, 1fr); }
  .hero__jp { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  .hero__jp { font-size: clamp(19px, 2.3vw, 26px); }
}

/* ヒーロー：ボタン2つを同じ大きさに */
@media (min-width: 900px) {
  .hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 460px; }
  .hero__btns .btn { width: 100%; min-width: 0; padding-inline: 20px; }
}

/* ヒーロー：英字タイトルと日本語見出しの間を詰めて hero__row を押し上げる */
@media (min-width: 900px) {
  .hero__title { margin-bottom: 8px; }
  .hero__row { align-items: end; margin-top: 0; }
  .hero__jp { line-height: 1.5; }
}

/* ヒーロー：日本語見出しをタイトル直下に密着させ、右カラムも上へ */
@media (min-width: 900px) {
  .hero__row { align-items: start; gap: 12px 56px; margin-bottom: 40px; }
  .hero__jp { padding-top: 6px; }
}

/* ヒーロー：右カラム（リード＋ボタン）を日本語見出しの高さに寄せる */
@media (min-width: 900px) {
  .hero__row { align-items: center; margin-bottom: 36px; }
  .hero__lead { margin-bottom: 18px; }
}

/* ヒーロー：見出しは上揃え、右カラムは見出しに被せるようマイナスマージンで持ち上げ */
@media (min-width: 900px) {
  .hero__row { align-items: start; }
  .hero__row > div { margin-top: -120px; }
}
@media (min-width: 900px) and (max-width: 1080px) {
  .hero__row > div { margin-top: -90px; }
}

/* 代表メッセージ署名：改行後の名前を少し大きく */
.message__sign strong { display: inline-block; margin-top: 4px; margin-left: 0; font-size: 18px; }

/* ヒーロー：右カラムの持ち上げを取り消し、日本語見出しを右カラムに対して上下中央に */
@media (min-width: 900px) {
  .hero__row > div { margin-top: 0; }
  .hero__row { align-items: center; margin-bottom: 40px; }
  .hero__jp { padding-top: 0; }
}

/* ==========================================================
   お問い合わせ送信完了ページ
   ========================================================== */
.thanks {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
}
.thanks__icon {
  width: 64px; height: 64px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.thanks__title { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; color: var(--ink); margin-bottom: 18px; letter-spacing: 0.04em; }
.thanks__text { color: var(--text); margin-bottom: 14px; }
.thanks__note { font-size: 12.5px; color: var(--text-sub); margin-bottom: 30px; }
.thanks__btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.thanks__btns .btn { min-width: 200px; }

/* ==========================================================
   z-index 整理（reCAPTCHA等の外部UIを最前面に）
   ========================================================== */
body::after { z-index: 1; }              /* 紙質感ノイズは最背面近くに */
.header { z-index: 900; }
.sp-nav { z-index: 890; }
.progress-bar { z-index: 901; }
/* reCAPTCHA バッジ・チャレンジは常に最前面 */
.grecaptcha-badge { z-index: 2147483000 !important; }

/* ==========================================================
   SPメニュー：開いたら全画面表示
   ========================================================== */
@media (max-width: 899px) {
  .sp-nav {
    top: 72px;
    left: 0; right: 0; bottom: 0;
    height: calc(100dvh - 72px);
    border-bottom: none;
    border-radius: 0;
    padding: 24px 0 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: none;
    flex-direction: column;
  }
  .sp-nav.is-open { display: flex; }
  .sp-nav a {
    font-size: 19px;
    padding: 18px 28px;
  }
  .sp-nav a small { font-size: 11px; }
  /* 最後のお問い合わせはボタン風に */
  .sp-nav a:last-child {
    margin: 24px 28px 0;
    padding: 16px 20px;
    justify-content: center;
    background: var(--ink);
    color: #fff;
    border-radius: 12px;
    border-bottom: none;
  }
  .sp-nav a:last-child small { color: rgba(255,255,255,.7); }
  /* メニュー表示中は背景をスクロールさせない */
  body.menu-open { overflow: hidden; }
}

/* パンくずの区切りを → から > に */
.breadcrumb span::before { content: ">"; font-family: var(--font-en); font-weight: 600; margin: 0 8px; color: #b6ac96; }
