@charset "UTF-8";
/* =========================================================
   SecurAdapt LP
   ブレイクポイント：スマホ 〜767px / タブレット 768px〜 / PC 1024px〜
   ========================================================= */

/* ---------- 変数 ---------- */
:root {
  --color-brand: #2235af;
  --color-brand-dark: #0f1d79;
  --color-brand-deep: #192986;
  --color-brand-line: rgba(34, 53, 175, 0.25);
  --color-gold: #d8b400;
  --color-ink: #303030;
  --color-muted: #5e5e5e;
  --color-white: #fff;

  --font-sans: "Noto Sans JP", sans-serif;
  --font-mincho: "Shippori Mincho", serif;
  --font-en: Roboto, sans-serif;
}

/* ---------- リセット ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid currentColor;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  font-family: var(--font-sans);
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  line-height: inherit;
}

h1, h2, h3, p, hr {
  margin: 0;
}

h1, h2, h3 {
  font-size: inherit;
  font-weight: inherit;
}

hr {
  height: 0;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

img, svg {
  display: block;
  vertical-align: middle;
}

img {
  max-width: 100%;
  height: auto;
}

/* ---------- 共通 ---------- */
body {
  background-color: var(--color-white);
  color: var(--color-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  animation: fade-in 1s ease-out both; /* ページ表示時のフェードイン */
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 共通コンテナ（PC: 内寸1024px / タブレット: 左右48px / スマホ: 左右16px） */
.inner {
  width: 100%;
  max-width: 1152px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* 改行の出し分け */
.br-md { display: none; }   /* タブレット以上で表示 */
.br-sp { display: inline; } /* スマホのみ表示 */

/* ピル型ボタン（背景画像 btn-bg.png をボタンサイズに合わせて表示。背景色は画像の透過部分・読み込み前の下地） */
.btn-primary {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  white-space: nowrap;
  border-radius: 9999px;
  background: var(--color-brand) url("../images/btn-bg.png") center / cover no-repeat;
  font-weight: 500;
  color: var(--color-white);
  text-decoration: none;
}

/* hover：グラデーションを背景画像の上・文字の下にスクリーンで重ねる（opacity でフェード） */
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -10;
  border-radius: inherit;
  background-image: linear-gradient(276deg, #2280af 0%, rgba(34, 128, 175, 0) 80%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before,
.btn-primary:focus-visible::before {
  opacity: 0.9;
}

/* アウトラインのピル型ボタン（白背景・ブランドカラーの文字と枠線） */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: 1px solid var(--color-brand);
  border-radius: 9999px;
  background-color: var(--color-white);
  font-weight: 500;
  color: var(--color-brand);
  text-decoration: none;
  transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: #eef0fa;
}

/* ボタン右側の矢印アイコン「>」（文字色に合わせて表示） */
.btn-arrow {
  position: relative;
}

.btn-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.75rem;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

/* hover：矢印が少し右へ動く */
.btn-arrow:hover::after,
.btn-arrow:focus-visible::after {
  transform: translate(0.25rem, -50%);
}

/* セクションラベル「SERVICE」「BACKGROUND」 */
.section-label {
  white-space: pre;
  font-family: var(--font-en);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-gold);
}

/* ---------- ヘッダー＋ファーストビュー ---------- */
.fv {
  position: relative;
  overflow: hidden;
  background: var(--color-brand) url("../images/fv-noise.svg") 0 0 / 24px 24px;
}

.fv__network {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1280px;
  height: 820px;
  max-width: none;
  transform: translateX(-50%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* ヘッダーバー */
.site-header {
  position: relative;
  background-color: var(--color-white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 4rem;
}

.site-header__logo {
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--color-brand);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header__btn {
  height: 2.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

/* お問い合わせボタンはスマホでは非表示（タブレット以上で表示） */
.site-header__contact { display: none; }

/* ファーストビュー */
.hero {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: var(--color-white);
}

.hero__lead {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-gold);
}

.hero__title {
  font-family: var(--font-mincho);
  font-weight: 400;
  line-height: 1.25;
}

.hero__title-sub {
  display: block;
  margin-left: 0.125rem;
  font-size: 1.5rem;
  line-height: 2rem;
  letter-spacing: -0.05em;
}

.hero__title-main {
  display: block;
  white-space: nowrap;
  letter-spacing: -0.05em;
}

.hero__title-l {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.hero__title-s {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.hero__title-m {
  font-size: 1.875rem;
  line-height: 2.25rem;
  letter-spacing: 0;
}

.hero__text {
  margin-top: 1.5rem;
  font-size: 1rem;
  line-height: 1.5rem;
  letter-spacing: 0.04em;
}

/* ---------- 無料簡易診断キャンペーン ---------- */
.campaign {
  padding-top: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-brand-line);
  background-color: var(--color-white);
}

.campaign__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.campaign__badge {
  display: inline-flex;
  align-items: center;
  height: 1.75rem;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  background-color: var(--color-gold);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: var(--color-white);
}

.campaign__title {
  margin-top: 0.25rem;
  padding: 0.5rem 0.625rem;
  border-bottom: 2px solid var(--color-brand);
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--color-brand);
}

.campaign__text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 500;
}

/* 申込ボタン＋お問い合わせボタンの並び（幅が足りない時は折り返し） */
.campaign__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%; /* 画面幅が狭い時にボタンが左右の余白へはみ出さないように */
  margin-top: 1.5rem;
}

.campaign__btn {
  width: 22.5rem; /* 360px */
  max-width: 100%;
  height: 4.5rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  letter-spacing: 0.02em;
}

/* お問い合わせボタン（申込ボタンより一回り小さく） */
.campaign__contact {
  width: 15rem;
  max-width: 100%;
  height: 3.5rem;
  font-size: 0.9375rem;
  line-height: 1.5rem;
  letter-spacing: 0.02em;
}

/* ボタン内の「無料」バッジ（白背景・ブランドカラー文字・角丸） */
.campaign__btn-free {
  margin-right: 0.5rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  background-color: var(--color-white);
  color: var(--color-brand);
  font-weight: 700;
}

/* ---------- サービス紹介・導入背景 ---------- */
.service {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--color-white);
}

/* 背景（写真＋色の重ね） */
.service__bg {
  position: absolute;
  inset: 0;
  z-index: -10;
  isolation: isolate;
  background-color: var(--color-white);
}

.service__photo {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  aspect-ratio: 27 / 20;
}

.service__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  opacity: 0.8;
}

/* スマホ：写真の上端を白へなじませる */
.service__photo-fade {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0.7) 25%, transparent 60%);
}

.service__tint {
  position: absolute;
  inset: 0;
  background-color: var(--color-brand);
  mix-blend-mode: screen;
}

.service__veil {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.85) 45%, rgba(255, 255, 255, 0.3));
}

/* PC：写真の左端を白へなじませる */
.service__edge {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 180px;
  background-image: linear-gradient(to right, #fff, rgba(255, 255, 255, 0.85) 30%, transparent);
}

.service__inner {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.service__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.5rem;
  row-gap: 0.25rem;
  margin-top: 0.75rem;
  font-family: var(--font-mincho);
  font-weight: 400;
  color: var(--color-brand);
}

.service__title-en {
  font-size: 2.25rem;
  line-height: 44px;
}

.service__title-ja {
  font-size: 1rem;
  line-height: 1.5rem;
}

.service__text {
  max-width: 48rem;
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 1.75rem;
}

.service__divider {
  max-width: 48rem;
  margin-top: 3rem;
  border-top: 1px solid var(--color-brand-line);
}

.background {
  margin-top: 1.5rem;
}

.background__title {
  margin-top: 0.75rem;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.background__text {
  max-width: 42rem;
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 26px;
}

.background__source {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 22px;
  color: var(--color-muted);
}

.background__source a {
  text-decoration: underline;
}

.background__source a:hover {
  color: var(--color-brand);
}

/* ---------- フッター ---------- */
.site-footer {
  position: relative;
  height: 11rem;
  overflow: hidden;
  background-color: var(--color-brand);
  background-image: linear-gradient(to bottom, var(--color-brand), var(--color-brand-dark));
  text-align: center;
  color: var(--color-white);
}

.site-footer__bg {
  position: absolute;
  inset: 0;
  background: url("../images/footer-bg.svg") 0 0 / auto 100% repeat-x;
}

/* 背景テキストのループ */
.site-footer__marquee {
  position: absolute;
  left: 0;
  right: 0;
  top: 120px;
  overflow: hidden;
  font-family: var(--font-en);
  font-size: 3.75rem;
  line-height: 1;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand);
  pointer-events: none;
}

.site-footer__marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marquee 40s linear infinite; /* 速度は秒数で調整 */
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-footer__name {
  position: relative;
  padding-top: 3rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
}

.site-footer__company {
  position: relative;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}

.site-footer__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__link:hover,
.site-footer__link:focus-visible {
  opacity: 0.7;
}

/* ---------- 表示アニメーション ----------
   見出しや文章を下からふわっと順番に表示
   - JS が有効な環境（html.js）だけ初期状態を非表示にする
   - 表示順は各要素の style="--reveal-delay:〇〇ms" で調整 */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--reveal-delay, 0ms);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   タブレット（768px〜）
   ========================================================= */
@media (min-width: 768px) {
  .inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .br-md { display: inline; }
  .br-sp { display: none; }

  .section-label {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* ヘッダー */
  .site-header__inner { height: 5rem; }

  .site-header__logo {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .site-header__contact { display: inline-flex; }

  .site-header__btn {
    height: 3rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    letter-spacing: 0.02em;
  }

  /* ファーストビュー */
  .hero { padding-bottom: 5rem; }

  .hero__lead {
    margin-bottom: 1rem;
    white-space: pre;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .hero__title-sub {
    margin-left: 0.25rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .hero__title-l { font-size: 3rem; line-height: 1; }
  .hero__title-s { font-size: 1.5rem; line-height: 2rem; }
  .hero__title-m { font-size: 2.25rem; line-height: 2.5rem; }

  .hero__text { margin-top: 1.75rem; }

  /* キャンペーン */
  .campaign__badge {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .campaign__title {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .campaign__text {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .campaign__actions { margin-top: 1.75rem; }

  /* サービス */
  .service__photo {
    inset: 0;
    aspect-ratio: auto;
  }

  .service__photo-fade { display: none; }

  .service__inner { padding-top: 5rem; }

  .service__title-en {
    font-size: 3rem;
    line-height: 60px;
  }

  .service__title-ja {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .service__text {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 2rem;
  }

  .service__divider { margin-top: 4rem; }

  .background { margin-top: 2rem; }

  .background__title {
    margin-top: 1rem;
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .background__text {
    margin-top: 2rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .background__source {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  /* フッター */
  .site-footer { height: 13rem; }

  .site-footer__marquee {
    top: 9rem;
    font-size: 4.5rem;
  }

  .site-footer__name {
    padding-top: 4rem;
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .site-footer__company {
    margin-top: 0.75rem;
    font-size: 1rem;
    line-height: 1.5rem;
  }
}

/* =========================================================
   PC（1024px〜）
   ========================================================= */
@media (min-width: 1024px) {
  .inner {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  /* キャンペーン：ボタン内の「無料」バッジ */
  .campaign__btn-free {
    font-size: 0.875rem;
    border-radius: 10px;
  }

  /* ファーストビュー */
  .hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }

  .hero__title-sub {
    margin-left: 0.375rem;
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .hero__title-l { font-size: 3.75rem; line-height: 1; }
  .hero__title-s { font-size: 1.875rem; line-height: 2.25rem; }
  .hero__title-m { font-size: 3rem; line-height: 1; }

  /* サービス */
  .service__bg {
    left: auto;
    width: calc(min(905px, 71%) + 20px);
  }

  .service__photo img { object-position: left bottom; }

  .service__edge { display: block; }

  .service__inner { padding-bottom: 4rem; }

  .service__title-en {
    font-size: 3.75rem;
    line-height: 1;
  }

  .service__title-ja {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .service__text { margin-top: 2.5rem; }

  .background { padding-left: 3rem; }

  .background__text { margin-top: 2.25rem; }

  /* フッター */
  .site-footer { height: 16rem; }

  .site-footer__marquee { font-size: 8rem; }

  .site-footer__company { margin-top: 1rem; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  body,
  .site-footer__marquee-track {
    animation: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
