@charset "UTF-8";
/* 基本設定：font-face、global は名前固定 */
/* =========================================================
FONT FACE
========================================================= */
/* Google FontsのCSSをHTMLから先に読み込みます。すべてdisplay=swapを指定。 */
/* 欧文：Manrope / 日本語：Noto Sans JP */
/* 変数とmixinの共通入口 */
/* =========================================================
VARIABLES
========================================================= */
:root {
  --blue: #174bff;
  --ink: #15223b;
  --muted: #53627a;
  --paper: #fbfcff;
  --pale-blue: #edf3ff;
  --mint: #c9f9df;
  --line: #dce5f3;
  --font-ja: "Noto Sans JP", sans-serif;
  --font-en: "Manrope", sans-serif;
}

/* =========================================================
MIXIN
========================================================= */
/* =========================================================
GLOBAL
========================================================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.intro-playing {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}

button {
  border: 0;
  background: none;
}

main {
  overflow: clip;
}

.en {
  font-family: var(--font-en);
  font-feature-settings: "ss01" on;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1100;
  background: white;
  padding: 12px 20px;
  border: 2px solid var(--blue);
}

.skip-link:focus {
  top: 10px;
}

.arrow-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* 本文とコンテナの共通設定：各モジュール・ページCSSで上書き可能 */
/*
 * 閲覧サイト共通の文字サイズ・コンテナ設定（package / docs の専用CSSは対象外）。
 * style.scss から各セクションより先に読み込みます。HTMLへのクラス追加は不要です。
 *
 * 本文の共通値を変更するときは下の変数を編集してください。
 * pタグには装飾・ラベルもあるため、一律のサイズリセットはせず、
 * 既存の本文セレクタを同じサイズごとにまとめています。
 * 見出し・装飾・行間・個別の例外は各ページ側に残します。
 * 共通のレスポンシブ設定はこのファイル下部、個別の例外は各ページ側に置きます。
 * 例外は font-size: var(--font-size-body); または必要な独自値で上書きします。
 */
:root {
  /* 文字サイズ：初期値はすべて現在のデザインと同じ */
  --font-size-caption: 10px;
  --font-size-note: 11px;
  --font-size-body-sm: 12px;
  --font-size-body: 13px;
  --font-size-body-lg: 14px;
  --font-size-lead: 15px;
  --font-size-base: 16px;
  /* コンテナ：幅の違いを保ったまま共通化 */
  --container-max-wide: 1400px;
  --container-max-standard: 1280px;
  --container-max-detail: 1180px;
  /* 左右余白の合計。例：112px = 左右56pxずつ */
  --container-gutters-desktop: 112px;
  --container-gutters-small-desktop: 80px;
  --container-gutters-tablet: 64px;
  --container-gutters-mobile: 40px;
}

body {
  font-size: var(--font-size-base);
}

/* 本文・説明文：11px */
.footer .footer-brand p,
.design-ready .ready-steps p,
.strengths-footnote,
.feature-developer .developer-name > p:last-child,
.integration-steps li p,
.f-flow-steps p,
.f-manual p,
.f-environment-note,
.g-flow-copy > .g-small-note,
.p-sale-note {
  font-size: var(--font-size-note);
}

/* 本文・説明文：12px */
.design-gallery .design-tile-description,
.design-versatility .versatility-bottom p,
.design-next .design-next-content > div > p,
.detail-note,
.detail-gallery-note,
.strengths-heading-side p,
.strength-card .strength-benefit,
.feature-integration .integration-use > p,
.feature-next .next-content > div > p,
.f-card p,
.f-faq-intro > p:not(.f-eyebrow),
.f-requirements-layout > div > p:last-child,
.g-support-note p,
.page-price .p-note,
.p-project-intro p,
.p-policy-note,
.home-voices blockquote > p,
.home-faq .faq-answer p,
.explore .hub-intro p + p,
.explore .card-copy p,
.first-view .price-note,
.introduction .answer-card p,
.points p {
  font-size: var(--font-size-body-sm);
}

/* 本文・説明文：13px */
.page-designs .d-description,
.design-gallery .designs-heading > div > p:last-child,
.design-versatility .versatility-heading > p:last-child,
.features-hero .hero-description,
.strength-card .strength-description,
.feature-developer .developer-story > p:not(.developer-lead),
.feature-integration .integration-heading > p:last-child,
.feature-integration .integration-copy > p:not(.integration-small-label),
.f-mail-copy > p:not(.f-eyebrow):not(.f-mail-lead),
.f-cta-layout p:not(.f-eyebrow),
.g-flow-copy > .g-finish-message,
.g-before-copy > p,
.p-kit-item p,
.p-opportunity h2 + p,
.p-support-grid p,
.p-faq-heading > p:last-child,
.p-purchase-action > p + p,
.first-view .mail-toast p {
  font-size: var(--font-size-body);
}

/* 本文・説明文：14px */
.detail-card p,
.detail-band p,
.detail-price p,
.detail-document p,
.f-flow-bottom p,
.g-flow-copy > p,
.p-section-heading > p,
.p-hero-lead,
.p-payment-foot > p,
.p-update-panel h2 ~ p,
.p-closing-lead,
.next-step .next-copy > p,
.explore .use-case-route p,
.introduction .sentence p {
  font-size: var(--font-size-body-lg);
}

/* 本文・説明文：15px */
.design-versatility .combination-source p,
.detail-lead,
.f-hero-lead,
.first-view .lead {
  font-size: var(--font-size-lead);
}

/* 共通レスポンシブ：既存の画面幅・文字サイズを維持。単独の例外は各ページ側。 */
@media (min-width: 1024px) and (max-width: 1280px) {
  .design-gallery .design-tile-description,
  .explore .card-copy p,
  .first-view .mail-toast p {
    font-size: var(--font-size-note);
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .design-gallery .designs-heading > div > p:last-child,
  .feature-integration .integration-use > p,
  .home-voices blockquote > p,
  .home-faq .faq-answer p,
  .explore .hub-intro p + p,
  .explore .card-copy p {
    font-size: var(--font-size-note);
  }
  .design-next .design-next-content > div > p,
  .feature-next .next-content > div > p,
  .first-view .price-note,
  .first-view .mail-toast p,
  .introduction .sentence p,
  .introduction .answer-card p,
  .points p {
    font-size: var(--font-size-caption);
  }
  .features-hero .hero-description,
  .feature-developer .developer-story > p:not(.developer-lead),
  .feature-integration .integration-copy > p:not(.integration-small-label),
  .next-step .next-copy > p,
  .explore .use-case-route p,
  .first-view .lead {
    font-size: var(--font-size-body-sm);
  }
}
@media (max-width: 767px) {
  .footer .footer-brand p,
  .design-ready .ready-steps p,
  .strengths-footnote,
  .f-flow-steps p,
  .f-environment-note,
  .p-sale-note,
  .first-view .price-note {
    font-size: var(--font-size-caption);
  }
  .page-designs .d-description,
  .design-gallery .design-tile-description,
  .design-versatility .combination-source p,
  .features-hero .hero-description,
  .feature-developer .developer-story > p:not(.developer-lead),
  .feature-integration .integration-heading > p:last-child,
  .feature-integration .integration-copy > p:not(.integration-small-label),
  .f-hero-lead,
  .f-mail-copy > p:not(.f-eyebrow):not(.f-mail-lead),
  .f-cta-layout p:not(.f-eyebrow),
  .g-flow-copy > .g-finish-message,
  .p-project-intro p,
  .p-support-grid p,
  .p-faq-heading > p:last-child,
  .home-voices blockquote > p,
  .home-faq .faq-answer p,
  .next-step .next-copy > p,
  .explore .card-copy p,
  .introduction .sentence p {
    font-size: var(--font-size-body-sm);
  }
  .design-gallery .designs-heading > div > p:last-child,
  .design-versatility .versatility-heading > p:last-child,
  .design-versatility .versatility-bottom p,
  .design-next .design-next-content > div > p,
  .feature-next .next-content > div > p,
  .g-flow-copy > .g-small-note,
  .page-price .p-note,
  .p-policy-note,
  .explore .hub-intro p + p,
  .first-view .mail-toast p,
  .introduction .answer-card p,
  .points p {
    font-size: var(--font-size-note);
  }
  .strength-card .strength-description,
  .g-flow-copy > p,
  .p-section-heading > p,
  .p-kit-item p,
  .p-payment-foot > p,
  .p-update-panel h2 ~ p,
  .p-closing-lead,
  .first-view .lead {
    font-size: var(--font-size-body);
  }
}
/* Modules：全ページ共通 */
/* =========================================================
HEADER — 全ページ共通
========================================================= */
.header {
  position: relative;
  z-index: 20;
  background: var(--paper);
}
.header .inner {
  width: min(var(--container-max-wide), 100% - var(--container-gutters-desktop));
  margin-inline: auto;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.header .logo {
  font-family: var(--font-en);
  font-feature-settings: "ss01" on;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -1.3px;
  white-space: nowrap;
}
.header .logo-mark, .header .logo-dot {
  color: var(--blue);
}
.header .weight {
  font-weight: 800;
}
.header .site-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  font-weight: 600;
}
.header .site-menu a {
  transition: color 0.2s;
}
.header .site-menu a:hover {
  color: var(--blue);
}
.header .menu-demo {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 12px 0 12px 30px;
  border-left: 1px solid var(--line);
}
.header .menu-toggle {
  display: none;
}

/* -----------------------------------
Responsive: 768–1023 (Tablet)
----------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .header .inner {
    width: calc(100% - var(--container-gutters-tablet));
    min-height: 86px;
  }
  .header .logo {
    font-size: 24px;
    gap: 5px;
  }
  .header .site-menu {
    gap: 20px;
    font-size: 11px;
  }
  .header .menu-demo {
    padding-left: 20px;
    gap: 12px;
  }
}
/* -----------------------------------
Responsive: ～767 (Mobile)
----------------------------------- */
@media (max-width: 767px) {
  .header .inner {
    width: calc(100% - var(--container-gutters-mobile));
    min-height: 76px;
  }
  .header .logo {
    font-size: 23px;
    gap: 5px;
  }
  .header .logo-mark {
    width: 28px;
    height: 28px;
  }
  .header .site-menu {
    gap: 0;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 12px 24px 28px;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 20px rgba(21, 34, 59, 0.0392156863);
  }
  .header .site-menu a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }
  .header .menu-demo {
    border-left: 0;
    justify-content: space-between;
  }
  .header .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
  }
  .header .menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s;
  }
  .header .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .header .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  /* JSが無効でも、ナビゲーションは閲覧できます。 */
  html:not(.js-ready) .header .site-menu {
    position: static;
    box-shadow: none;
    padding: 0;
    font-size: 11px;
  }
  html:not(.js-ready) .header .inner {
    flex-wrap: wrap;
    padding-block: 16px;
  }
  html:not(.js-ready) .header .menu-toggle {
    display: none;
  }
}
/* =========================================================
BUTTON — 全ページ共通
========================================================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 64px;
  padding: 9px 10px 9px 26px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 0 #dce6ff;
}
.button .button-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1411764706);
  border-radius: 3px;
}
.button .arrow-icon {
  transition: transform 0.25s;
}
.button:hover {
  transform: translateY(-3px);
  background: #103bdd;
  box-shadow: 0 9px 0 #dce6ff;
}
.button:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* =========================================================
FOOTER — 全ページ共通
========================================================= */
.footer {
  padding: 42px 0 25px;
  background: var(--paper);
}
.footer .inner {
  width: min(var(--container-max-wide), 100% - var(--container-gutters-desktop));
  margin-inline: auto;
}
.footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer .footer-brand > a {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.065em;
}
.footer .footer-brand > a span {
  color: var(--blue);
}
.footer .footer-brand p {
  margin-top: 5px;
  color: var(--muted);
}
.footer .back-top {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.03em;
}
.footer .back-top > span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-size: 20px;
}
.footer .back-top:hover > span {
  background: var(--blue);
  color: #fff;
}
.footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 30px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
  font-size: 11px;
  font-weight: 500;
}
.footer .footer-nav a:hover {
  color: var(--blue);
}
.footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer small {
  font-size: inherit;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .footer .inner {
    width: calc(100% - var(--container-gutters-tablet));
  }
}
@media (max-width: 767px) {
  .footer {
    padding: 30px 0 22px;
  }
  .footer .inner {
    width: calc(100% - var(--container-gutters-mobile));
  }
  .footer .footer-brand > a {
    font-size: 25px;
  }
  .footer .back-top {
    font-size: 7px;
    gap: 8px;
  }
  .footer .back-top > span {
    width: 34px;
    height: 34px;
  }
  .footer .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 22px;
    margin-top: 23px;
    padding-block: 16px;
  }
  .footer .footer-nav a {
    padding: 9px 0;
    font-size: 11px;
  }
  .footer .footer-bottom {
    font-size: 6px;
    gap: 10px;
  }
}
