@charset "UTF-8";
/* ==========================================================================
   PHYLAX ランディングページ
   - 色・余白などは :root の変数をいじれば全体に反映されます
   - 写真は images/ フォルダの同名ファイルを差し替えるだけでOK
   ========================================================================== */

:root {
  /* ---- カラー ---- */
  --c-navy:      #082A36; /* フッターなど一番濃い色 */
  --c-deep:      #0B3D46; /* 見出しの色 */
  --c-teal:      #12857C; /* メインカラー */
  --c-teal-l:    #1FA890; /* グラフなどの明るいティール */
  --c-mint:      #E9F6F2; /* 薄い背景 */
  --c-mint-2:    #CDEBE3; /* もう少し濃い薄背景 */
  --c-yellow:    #FFD23F; /* アクセント（ボタン） */
  --c-yellow-d:  #F2B705;
  --c-ink:       #10333D; /* 本文 */
  --c-muted:     #3D5C64; /* 補足テキスト */
  --c-gray:      #6E888F;
  --c-line:      #E4EEEC;
  --c-red:       #E0654E; /* 「必須」バッジ・注意アイコン */

  /* ---- グラデーション ---- */
  --g-hero: linear-gradient(158deg, #072B36 0%, #0C5B5F 46%, #17A38D 100%);
  --g-dark: linear-gradient(200deg, #0B3D46 0%, #0E6A66 58%, #14907F 100%);

  /* ---- 書体 ---- */
  --f-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --f-disp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;

  /* ---- レイアウト ---- */
  --w-container: 1080px;
  --pad-side: 24px;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* iPhone（Safari）が、幅の広いブロックの文字を勝手に拡大するのを止めます。
   Cookieバナーの説明文だけが大きく表示されるのは、この機能が原因です。 */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-ink);
  background: #FFFFFF;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
a { color: var(--c-teal); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { color: #0B5A54; }

/* ---------- 共通パーツ ---------- */
.l-container { width: 100%; max-width: var(--w-container); margin: 0 auto; padding: 0 var(--pad-side); }

.c-label { font-size: 12px; font-weight: 700; letter-spacing: .24em; color: var(--c-teal); }
.c-label--light { color: var(--c-yellow); }

.c-heading {
  font-family: var(--f-disp);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--c-deep);
  line-height: 1.5;
  text-align: center;
}
.c-heading em { font-style: normal; color: var(--c-teal); }
.c-heading--light { color: #FFFFFF; }

.c-sechead { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 64px; padding: 14px 40px; border-radius: 999px;
  font-size: 17px; font-weight: 700; text-align: center; border: 0; cursor: pointer;
  font-family: var(--f-body);
}
.c-btn svg { flex-shrink: 0; }
.c-btn--primary { background: var(--c-yellow); color: #0A3038; box-shadow: 0 12px 28px rgba(3,26,32,.28); }
.c-btn--primary:hover { background: var(--c-yellow-d); color: #0A3038; }
.c-btn--ghost { background: transparent; color: #FFFFFF; border: 1px solid rgba(255,255,255,.6); min-height: 56px; font-size: 16px; font-weight: 500; }
.c-btn--ghost:hover { background: rgba(255,255,255,.12); color: #FFFFFF; }
.c-btn--dark { background: #0A3038; color: #FFFFFF; min-height: 52px; font-size: 14px; padding: 12px 28px; white-space: nowrap; flex-shrink: 0; }
.c-btn--dark:hover { background: #06222A; color: #FFFFFF; }

.c-wave { display: block; width: 100%; height: auto; line-height: 0; }

/* ==========================================================================
   ヘッダー
   ========================================================================== */
.p-header { position: relative; z-index: 5; }
.p-header__inner { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; }
.p-header__burger { display: none; }
.p-logo { display: flex; align-items: center; gap: 10px; }
a.p-logo { transition: opacity .2s; }
a.p-logo:hover { opacity: .78; }
.p-logo__name { font-family: var(--f-disp); color: #FFFFFF; font-size: 22px; font-weight: 900; letter-spacing: .14em; }
.p-logo__kana { color: rgba(255,255,255,.7); font-size: 11px; letter-spacing: .18em; }
.p-nav { display: flex; align-items: center; gap: 20px; }
.p-nav a { color: rgba(255,255,255,.88); font-size: 13px; }
.p-nav a:hover { color: #FFFFFF; }
.p-nav a[aria-current="page"] { color: #FFFFFF; font-weight: 700; border-bottom: 2px solid var(--c-yellow); padding-bottom: 3px; }
.p-nav__cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--c-yellow); color: #0A3038 !important; font-size: 13px; font-weight: 700;
}
.p-nav__cta:hover { background: var(--c-yellow-d); }

/* ==========================================================================
   ヒーロー
   ========================================================================== */
.p-hero { position: relative; background: #072B36; overflow: hidden; }

/* FV背景写真とオーバーレイ（写真は js/parallax.js でゆっくり動きます） */
.p-hero__bg {
  position: absolute; left: 0; top: -14%; width: 100%; height: 128%; z-index: 0;
  will-change: transform;
}
/* 明るい写真を使っているため、白抜き文字が読めるよう写真側を暗く調整しています。
   暗い写真に差し替えたときは filter の行を削除してください。 */
.p-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: brightness(.58); }
.p-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(158deg, rgba(7,43,54,.50) 0%, rgba(12,91,95,.50) 46%, rgba(23,163,141,.50) 100%);
}

.p-hero__deco1 { position: absolute; z-index: 2; width: 620px; height: 620px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); top: -180px; right: -160px; }
.p-hero__deco2 { position: absolute; z-index: 2; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.05); top: 240px; left: -180px; }
.p-hero__inner { position: relative; z-index: 2; padding-top: 54px; text-align: center; }

.p-hero__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.p-hero__pills li {
  display: inline-flex; align-items: center; min-height: 34px; padding: 4px 18px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 999px;
  color: #FFFFFF; font-size: 13px; font-weight: 500;
}
.p-hero__eyebrow { color: var(--c-yellow); font-size: 15px; font-weight: 700; letter-spacing: .08em; margin-bottom: 18px; line-height: 1.7; }
.p-hero__title {
  font-family: var(--f-disp); color: #FFFFFF; font-weight: 900;
  font-size: clamp(28px, 4.2vw, 48px); line-height: 1.45; letter-spacing: .01em; text-wrap: balance;
}
.p-hero__marker { background: linear-gradient(transparent 66%, rgba(255,210,63,.85) 66%); padding: 0 4px; white-space: nowrap; }
.p-hero__lead { color: rgba(255,255,255,.9); font-size: clamp(14px, 1.5vw, 17px); line-height: 2; margin-top: 26px; }
.p-hero__cta { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }

.p-pillars { display: flex; justify-content: center; gap: 44px; margin-top: 56px; }
.p-pillars__item { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.p-pillars__photo {
  width: 168px; height: 168px; border-radius: 50%; overflow: hidden;
  border: 3px solid rgba(255,255,255,.5); background: rgba(255,255,255,.14);
}
.p-pillars__photo img { width: 100%; height: 100%; object-fit: cover; }
.p-pillars__name { color: #FFFFFF; font-size: 16px; font-weight: 700; }
.p-pillars__note { color: rgba(255,255,255,.72); font-size: 12px; }
.p-hero__wave { position: relative; z-index: 2; margin-top: 48px; }

/* ==========================================================================
   お悩み
   ========================================================================== */
.p-issues { background: var(--c-mint); padding: 12px 0 92px; }
.p-issues .c-sechead { margin-bottom: 52px; }
.p-issues__badge {
  display: inline-flex; align-items: center; min-height: 28px; padding: 4px 20px; border-radius: 999px;
  background: var(--c-teal); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .22em;
}
.p-issues__grid { display: grid; grid-template-columns: 1fr 300px 1fr; gap: 28px; align-items: center; }
.p-issues__col { display: flex; flex-direction: column; gap: 18px; }
.p-issues__item {
  display: flex; align-items: flex-start; gap: 14px;
  background: #FFFFFF; border-radius: 16px; padding: 22px 24px;
  box-shadow: 0 10px 24px rgba(11,61,70,.07);
  font-size: 15px; line-height: 1.8; font-weight: 500;
}
.p-issues__item svg { flex-shrink: 0; margin-top: 4px; }
.p-issues__visual img { width: 300px; height: 300px; border-radius: 50%; object-fit: cover; margin: 0 auto; }

/* ==========================================================================
   サービス（できること）
   ========================================================================== */
.p-service { position: relative; background: var(--g-dark); padding-bottom: 88px; overflow: hidden; }
.p-service__inner { position: relative; padding-top: 34px; }
.p-service__lead { color: rgba(255,255,255,.86); font-size: clamp(13px, 1.4vw, 16px); line-height: 2; margin-top: 6px; text-align: center; }

/* 管理画面モック */
.p-mock { background: #FFFFFF; border-radius: 20px; padding: 22px; margin-top: 44px; box-shadow: 0 26px 60px rgba(3,26,32,.32); }
.p-mock__bar { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid var(--c-line); }
.p-mock__dots { display: flex; gap: 6px; }
.p-mock__dots span { width: 10px; height: 10px; border-radius: 50%; background: #E5EDEB; }
.p-mock__title { font-size: 12px; color: #7A9299; margin-left: 8px; }
.p-mock__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 20px 0 4px; }
.p-kpi { background: #F2F9F7; border-radius: 12px; padding: 16px 18px; }
.p-kpi--warn { background: #FFF7E2; }
.p-kpi__label { font-size: 11px; color: var(--c-gray); font-weight: 500; }
.p-kpi--warn .p-kpi__label { color: #93763A; }
.p-kpi__value { font-family: var(--f-disp); font-size: 30px; font-weight: 900; color: var(--c-teal); line-height: 1.2; }
.p-kpi__value span { font-size: 14px; }
.p-kpi--warn .p-kpi__value { color: #D99500; }
.p-mock__body { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 22px 4px 6px; }
.p-mock__subtitle { font-size: 12px; font-weight: 700; color: var(--c-deep); }
.p-bars { display: flex; flex-direction: column; gap: 11px; }
.p-bar { display: flex; align-items: center; gap: 12px; }
.p-bar__name { font-size: 11px; color: var(--c-gray); width: 68px; flex-shrink: 0; }
.p-bar__track { flex: 1; height: 9px; border-radius: 999px; background: #EAF2F0; }
.p-bar__fill { height: 9px; border-radius: 999px; background: var(--c-teal-l); }
.p-bar__fill--warn { background: var(--c-yellow-d); }
.p-bar__num { font-size: 11px; color: var(--c-deep); width: 26px; text-align: right; }
.p-qa { background: #F7FBFA; border: 1px solid var(--c-line); border-radius: 12px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.p-qa__q { font-size: 12px; font-weight: 700; color: var(--c-deep); line-height: 1.7; }
.p-qa__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.p-qa__choices span { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 12px; border-radius: 999px; background: #FFFFFF; border: 1px solid #D7E5E2; color: var(--c-gray); font-size: 11px; }
.p-qa__choices .is-selected { background: var(--c-teal-l); border-color: var(--c-teal-l); color: #FFFFFF; font-weight: 700; }
.p-qa__ai { font-size: 11px; color: #55707A; line-height: 1.9; border-top: 1px dashed #D7E5E2; padding-top: 10px; }

.p-caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 48px; }
.p-caps__btn {
  width: 100%; height: 100%;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 16px;
  padding: 24px 18px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #FFFFFF; font-family: var(--f-body); font-size: 13px; font-weight: 700; text-align: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.p-caps__btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,210,63,.6); transform: translateY(-3px); }
.p-caps__btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; }
.p-caps__name { line-height: 1.5; }
.p-caps__more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: auto; padding-top: 4px;
  font-size: 11px; font-weight: 700; color: var(--c-yellow); letter-spacing: .04em;
}
.p-service__cta { display: flex; justify-content: center; margin-top: 44px; }

/* ==========================================================================
   特徴
   ========================================================================== */
.p-feature { background: #FFFFFF; padding: 88px 0 96px; }
.p-feature .c-sechead { margin-bottom: 56px; }
.p-feature__grid { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.p-feature__mark {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 116px; height: 116px; border-radius: 50%; background: var(--c-deep); border: 7px solid #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2;
}
.p-feature__mark b { font-family: var(--f-disp); color: #FFFFFF; font-size: 15px; font-weight: 900; letter-spacing: .1em; }
.p-feature__mark small { color: var(--c-yellow); font-size: 10px; letter-spacing: .14em; margin-top: 3px; }
.p-feature__item { background: var(--c-mint); border-radius: 22px; padding: 38px 36px; display: flex; flex-direction: column; gap: 14px; }
.p-feature__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.p-feature__item h3 { font-family: var(--f-disp); font-size: clamp(18px, 2vw, 23px); font-weight: 900; color: var(--c-deep); line-height: 1.5; }
.p-feature__num { font-family: var(--f-disp); font-size: 40px; font-weight: 900; color: #B9DED4; line-height: 1; }
.p-feature__item p { font-size: 14px; line-height: 2; color: var(--c-muted); }

/* ==========================================================================
   活用シーン
   ========================================================================== */
.p-case { background: #F3FAF8; padding: 84px 0 92px; }
.p-case .c-sechead { margin-bottom: 50px; }
.p-case__list { display: flex; flex-direction: column; gap: 22px; }
.p-case__item {
  background: #FFFFFF; border-radius: 20px; padding: 30px 34px;
  display: flex; gap: 28px; align-items: center; box-shadow: 0 10px 26px rgba(11,61,70,.06);
}
.p-case__photo { flex-shrink: 0; width: 132px; height: 132px; border-radius: 18px; overflow: hidden; }
.p-case__photo img { width: 100%; height: 100%; object-fit: cover; }
.p-case__body { display: flex; flex-direction: column; gap: 10px; }
.p-case__head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.p-case__no {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 12px; border-radius: 6px;
  background: var(--c-deep); color: var(--c-yellow); font-size: 11px; font-weight: 700; letter-spacing: .1em;
}
.p-case__item h3 { font-family: var(--f-disp); font-size: clamp(17px, 1.9vw, 21px); font-weight: 900; color: var(--c-deep); }
.p-case__item p { font-size: 14px; line-height: 2; color: var(--c-muted); }

/* ==========================================================================
   料金プラン
   ========================================================================== */
.p-plan { background: var(--g-dark); padding: 84px 0 92px; }
.p-plan .c-sechead { margin-bottom: 46px; }
.p-plan__note { color: rgba(255,255,255,.82); font-size: 14px; text-align: center; }
.p-plan__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.p-plan__card { background: #FFFFFF; border-radius: 18px; overflow: hidden; }
.p-plan__cap { background: var(--c-mint); padding: 16px; text-align: center; font-family: var(--f-disp); font-size: 17px; font-weight: 900; color: var(--c-deep); }
.p-plan__price { padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.p-plan__price b { font-family: var(--f-disp); font-size: 38px; font-weight: 900; color: var(--c-teal); line-height: 1.1; }
.p-plan__price b span { font-size: 17px; color: var(--c-deep); }
.p-plan__price small { font-size: 12px; color: var(--c-gray); }
.p-plan__over {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 14px;
  padding: 18px; margin-top: 18px; text-align: center;
}
.p-plan__over b { font-family: var(--f-disp); color: #FFFFFF; font-size: 17px; font-weight: 900; }
.p-plan__over span { color: rgba(255,255,255,.85); font-size: 14px; }

.p-subsidy {
  background: linear-gradient(96deg, var(--c-yellow) 0%, #FFC212 100%); border-radius: 18px;
  padding: 26px 32px; margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.p-subsidy__body { display: flex; align-items: center; gap: 18px; }
.p-subsidy h3 { font-family: var(--f-disp); font-size: clamp(17px, 2vw, 21px); font-weight: 900; color: #0A3038; line-height: 1.5; }
.p-subsidy p { font-size: 13px; color: #4A3D12; line-height: 1.8; }
.p-subsidy svg { flex-shrink: 0; }

.p-option { background: #FFFFFF; border-radius: 18px; padding: 32px 36px; margin-top: 26px; }
.p-option h3 { font-family: var(--f-disp); font-size: 20px; font-weight: 900; color: var(--c-deep); margin-bottom: 20px; }
.p-option__row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.p-option__row:last-child { border-bottom: 0; }
.p-option__row dt { font-size: 15px; font-weight: 500; color: var(--c-ink); }
.p-option__row dd { margin: 0; font-size: 14px; color: var(--c-muted); text-align: right; }
.p-plan__disclaimer { font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.9; margin-top: 18px; }

/* ==========================================================================
   お問い合わせ
   ========================================================================== */
.p-contact { background: var(--c-mint); padding: 84px 0 88px; }
.p-contact__lead { font-size: 15px; color: var(--c-muted); line-height: 2; text-align: center; margin-top: 6px; }
.p-form { background: #FFFFFF; border-radius: 22px; padding: 44px 56px; margin-top: 28px; }
.p-form__row { display: flex; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid #EDF4F2; }
.p-form__row:last-of-type { border-bottom: 0; align-items: flex-start; }
.p-form__label { width: 200px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--c-deep); }
.p-form__tag { display: inline-flex; align-items: center; min-height: 22px; padding: 2px 8px; border-radius: 4px; color: #FFFFFF; font-size: 11px; font-weight: 700; }
.p-form__tag--req { background: var(--c-red); }
.p-form__tag--opt { background: #9CB2B8; }
.p-form input, .p-form textarea {
  flex: 1; width: 100%; min-height: 48px; padding: 12px 14px;
  border-radius: 8px; background: #F5F9F8; border: 1px solid #E1EBE9;
  font-family: var(--f-body); font-size: 15px; color: var(--c-ink);
}
.p-form textarea { min-height: 128px; resize: vertical; }
.p-form input:focus, .p-form textarea:focus { outline: 2px solid var(--c-teal-l); outline-offset: 1px; background: #FFFFFF; }
/* ボット除け（画面には表示しない） */
.p-form__honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 同意チェック（プライバシーポリシー・利用規約）
   ▼ 上下の間隔はこの1行の margin で調整します（上18px / 左右0 / 下0） */
.p-form__agree { margin: 18px 0 0; text-align: center; }
.p-form__agree label {
  display: inline-flex; align-items: flex-start; gap: 10px;
  cursor: pointer; line-height: 1.75; text-align: left;
  font-size: 14px; font-weight: 500; color: var(--c-deep);
}
.p-form__agree input[type="checkbox"] {
  flex: 0 0 auto; width: 18px; height: 18px; min-height: 0;
  margin: 4px 0 0; padding: 0; border-radius: 4px;
  accent-color: var(--c-teal);
}
.p-form__agree a { text-decoration: underline; }

/* ▼ 送信ボタンの位置はこの margin-top で調整します（小さくすると上に寄ります） */
.p-form__submit { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 14px; }
.p-form__tel { font-size: 12px; color: var(--c-gray); }

/* ==========================================================================
   フッター
   ========================================================================== */
.p-footer { background: var(--c-navy); padding: 56px 0 34px; }
.p-footer__inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.p-footer__about { display: flex; flex-direction: column; gap: 14px; }
.p-footer__about p { color: rgba(255,255,255,.6); font-size: 12px; line-height: 2; }
.p-footer__nav { display: flex; gap: 64px; flex-wrap: wrap; }
.p-footer__nav h4 { color: var(--c-yellow); font-size: 11px; font-weight: 700; letter-spacing: .16em; margin-bottom: 12px; }
.p-footer__nav li { margin-bottom: 12px; }
.p-footer__nav a { color: rgba(255,255,255,.8); font-size: 13px; display: inline-flex; align-items: center; min-height: 24px; }
.p-footer__nav a:hover { color: #FFFFFF; }
.p-footer__copy { color: rgba(255,255,255,.4); font-size: 11px; text-align: center; padding-top: 24px; }

/* ==========================================================================
   スマートフォン（900px 以下）
   ========================================================================== */
@media (max-width: 900px) {
  :root { --pad-side: 20px; }

  /* ヘッダー：ナビはハンバーガーに */
  .p-nav { display: none; }
  .p-header__burger {
    display: flex; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center; border: 0; cursor: pointer;
  }

  /* ヒーロー */
  /* FV背景写真が横長のため、SPでは被写体（右側）が見えるよう表示位置をずらしています */
  .p-hero__bg img { object-position: 72% center; }
  .p-hero__inner { padding-top: 24px; }
  .p-hero__pills li { font-size: 11px; min-height: 28px; padding: 3px 13px; }
  .p-hero__eyebrow { font-size: 12px; }
  .p-hero__cta { flex-direction: column; gap: 12px; }
  .p-hero__cta .c-btn { width: 100%; }
  .p-pillars { gap: 10px; margin-top: 32px; }
  .p-pillars__item { flex: 1; gap: 10px; }
  .p-pillars__photo { width: 100%; max-width: 108px; height: auto; aspect-ratio: 1 / 1; }
  .p-pillars__name { font-size: 12px; }
  .p-pillars__note { font-size: 10px; }
  .p-hero__wave { margin-top: 30px; }

  /* お悩み */
  .p-issues { padding-bottom: 56px; }
  .p-issues .c-sechead { margin-bottom: 26px; }
  .p-issues__grid { grid-template-columns: 1fr; gap: 14px; }
  .p-issues__col { gap: 12px; }
  .p-issues__item { padding: 18px; font-size: 14px; }
  .p-issues__visual { order: -1; }
  .p-issues__visual img { width: 220px; height: 220px; }

  /* サービス */
  .p-service { padding-bottom: 56px; }
  .p-mock { margin-top: 26px; padding: 16px; border-radius: 16px; }
  .p-mock__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .p-mock__body { grid-template-columns: 1fr; gap: 20px; }
  .p-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
  .p-caps__btn { padding: 18px 10px 14px; font-size: 12px; gap: 8px; }
  .p-caps__more { font-size: 10px; }
  .p-service__cta { margin-top: 26px; }
  .p-service__cta .c-btn { width: 100%; }

  /* 特徴 */
  .p-feature { padding: 56px 0 60px; }
  .p-feature .c-sechead { margin-bottom: 28px; }
  .p-feature__grid { grid-template-columns: 1fr; gap: 14px; }
  .p-feature__mark { display: none; }
  .p-feature__item { padding: 24px 22px; border-radius: 18px; }
  .p-feature__num { font-size: 30px; }
  .p-feature__item p { font-size: 13px; line-height: 1.95; }

  /* 活用シーン */
  .p-case { padding: 54px 0 58px; }
  .p-case .c-sechead { margin-bottom: 26px; }
  .p-case__list { gap: 14px; }
  .p-case__item { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 20px; border-radius: 16px; }
  .p-case__photo { width: 100%; height: 160px; }
  .p-case__item p { font-size: 13px; line-height: 1.95; }

  /* 料金 */
  .p-plan { padding: 54px 0 60px; }
  .p-plan .c-sechead { margin-bottom: 26px; }
  .p-plan__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .p-plan__cap { font-size: 14px; padding: 11px; }
  .p-plan__price { padding: 18px 10px; }
  .p-plan__price b { font-size: 30px; }
  .p-plan__over { flex-direction: column; gap: 6px; }
  .p-subsidy { flex-direction: column; text-align: center; padding: 22px 20px; margin-top: 20px; }
  .p-subsidy__body { flex-direction: column; gap: 10px; }
  .p-subsidy .c-btn { width: 100%; }
  .p-option { padding: 24px 20px; margin-top: 20px; }
  .p-option h3 { font-size: 17px; margin-bottom: 14px; }
  .p-option__row { flex-direction: column; align-items: flex-start; gap: 5px; padding: 14px 0; }
  .p-option__row dt { font-size: 14px; font-weight: 700; }
  .p-option__row dd { text-align: left; font-size: 12px; line-height: 1.8; }

  /* お問い合わせ */
  .p-contact { padding: 54px 0 58px; }
  .p-contact__lead { font-size: 13px; }
  .p-form { padding: 24px 20px; border-radius: 18px; }
  .p-form__row { flex-direction: column; align-items: flex-start !important; gap: 8px; padding: 12px 0; border-bottom: 0; }
  .p-form__label { width: auto; font-size: 13px; }

  /* フッター */
  .p-footer { padding: 40px 0 26px; }
  .p-footer__inner { flex-direction: column; gap: 24px; }
  .p-footer__nav { gap: 32px; }
  .p-footer__nav a { min-height: 44px; }
}

/* ==========================================================================
   下層ページ共通（faq / security / company / privacy / terms）
   ========================================================================== */
.p-pagehead { position: relative; background: var(--g-hero); overflow: hidden; padding-bottom: 56px; }
.p-pagehead__inner { position: relative; z-index: 2; text-align: center; padding-top: 52px; }
.p-pagehead__en { display: block; color: var(--c-yellow); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.p-pagehead__title { font-family: var(--f-disp); color: #FFFFFF; font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; margin-top: 10px; }
.p-pagehead__lead { color: rgba(255,255,255,.86); font-size: 15px; line-height: 2; margin-top: 14px; }
.p-crumb { position: relative; z-index: 2; padding-top: 20px; font-size: 12px; color: rgba(255,255,255,.65); }
.p-crumb a { color: rgba(255,255,255,.85); }
.p-crumb a:hover { color: #FFFFFF; }

.p-main { background: #FFFFFF; padding: 72px 0 96px; }

/* 公開前の注意バナー（公開時は該当ブロックごと削除してください） */
.p-draft {
  background: #FFF4D6; border: 1px solid var(--c-yellow-d); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 40px; font-size: 13px; line-height: 1.9; color: #6B5205;
  max-width: 900px; margin-left: auto; margin-right: auto;
}
.p-draft b { color: #4A3D12; }

/* 文書ページ（プライバシーポリシー・利用規約） */
.p-doc { max-width: 840px; margin: 0 auto; }
.p-doc__intro { font-size: 15px; line-height: 2; color: var(--c-muted); margin-bottom: 32px; }
.p-doc h2 {
  font-family: var(--f-disp); font-size: 20px; font-weight: 900; color: var(--c-deep);
  margin: 44px 0 14px; padding-left: 14px; border-left: 4px solid var(--c-teal); line-height: 1.6;
}
.p-doc > h2:first-of-type { margin-top: 0; }
.p-doc h3 { font-size: 16px; font-weight: 700; color: var(--c-deep); margin: 24px 0 8px; }
.p-doc p { font-size: 15px; line-height: 2; color: var(--c-muted); margin-bottom: 16px; }
.p-doc ol, .p-doc ul { margin: 0 0 16px; padding-left: 1.6em; }
.p-doc ol > li { list-style: decimal; }
.p-doc ul > li { list-style: disc; }
.p-doc li { font-size: 15px; line-height: 2; color: var(--c-muted); margin-bottom: 6px; }
.p-doc__meta { font-size: 13px; color: var(--c-gray); text-align: right; margin-top: 48px; line-height: 2; }

/* よくある質問 */
.p-faq { max-width: 860px; margin: 0 auto; }
.p-faq__cat { font-family: var(--f-disp); font-size: 20px; font-weight: 900; color: var(--c-deep); margin: 48px 0 18px; display: flex; align-items: center; gap: 12px; }
.p-faq__cat:first-child { margin-top: 0; }
.p-faq__cat::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.p-faq__list { display: flex; flex-direction: column; gap: 14px; }
.p-faq__item { background: #FFFFFF; border: 1px solid var(--c-line); border-radius: 16px; padding: 24px 26px; }
.p-faq__q, .p-faq__a { display: flex; gap: 14px; align-items: flex-start; }
.p-faq__q { font-family: var(--f-disp); font-size: 17px; font-weight: 900; color: var(--c-deep); line-height: 1.7; }
.p-faq__a { margin-top: 14px; padding-top: 16px; border-top: 1px dashed var(--c-line); font-size: 14px; line-height: 2; color: var(--c-muted); }
.p-faq__badge {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp); font-weight: 900; font-size: 14px;
}
.p-faq__badge--q { background: var(--c-teal); color: #FFFFFF; }
.p-faq__badge--a { background: var(--c-yellow); color: #0A3038; }

/* セキュリティ */
.p-sec { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.p-sec__item { background: var(--c-mint); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; gap: 12px; }
.p-sec__icon { width: 52px; height: 52px; border-radius: 14px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.p-sec__item h3 { font-family: var(--f-disp); font-size: 18px; font-weight: 900; color: var(--c-deep); line-height: 1.6; }
.p-sec__item p { font-size: 14px; line-height: 1.95; color: var(--c-muted); }
.p-sec__foot { max-width: 900px; margin: 32px auto 0; font-size: 13px; line-height: 2; color: var(--c-gray); }

/* 会社概要 */
.p-profile { max-width: 840px; margin: 0 auto; }
.p-profile__row { display: flex; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--c-line); }
.p-profile__row:first-child { border-top: 1px solid var(--c-line); }
.p-profile__row dt { width: 200px; flex-shrink: 0; font-size: 15px; font-weight: 700; color: var(--c-deep); }
.p-profile__row dd { margin: 0; font-size: 15px; line-height: 1.9; color: var(--c-muted); }

/* 下層ページ末尾のCTA */
.p-cta { background: var(--g-dark); padding: 64px 0 68px; text-align: center; }
.p-cta h2 { font-family: var(--f-disp); color: #FFFFFF; font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; line-height: 1.6; }
.p-cta p { color: rgba(255,255,255,.85); font-size: 14px; line-height: 2; margin-top: 12px; }
.p-cta__btns { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }

@media (max-width: 900px) {
  .p-pagehead { padding-bottom: 36px; }
  .p-pagehead__inner { padding-top: 32px; }
  .p-pagehead__lead { font-size: 13px; }
  .p-main { padding: 44px 0 56px; }
  .p-draft { margin-bottom: 28px; padding: 14px 16px; font-size: 12px; }
  .p-doc h2 { font-size: 17px; margin: 32px 0 12px; }
  .p-doc p, .p-doc li, .p-doc__intro { font-size: 14px; line-height: 1.95; }
  .p-faq__cat { font-size: 17px; margin: 32px 0 14px; }
  .p-faq__item { padding: 20px; border-radius: 14px; }
  .p-faq__q { font-size: 15px; }
  .p-faq__a { font-size: 13px; }
  .p-sec { grid-template-columns: 1fr; gap: 12px; }
  .p-sec__item { padding: 22px 20px; border-radius: 14px; }
  .p-profile__row { flex-direction: column; gap: 6px; padding: 16px 2px; }
  .p-profile__row dt { width: auto; font-size: 14px; }
  .p-profile__row dd { font-size: 14px; }
  .p-cta { padding: 44px 0 48px; }
  .p-cta__btns { flex-direction: column; gap: 12px; }
  .p-cta__btns .c-btn { width: 100%; }
}

/* ==========================================================================
   スマートフォン用メニュー（js/menu.js が生成）
   ========================================================================== */
body.is-menu-open { overflow: hidden; }

.p-drawer {
  position: fixed; inset: 0; z-index: 100;
  background: var(--g-hero);
  padding: 92px 24px 48px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.p-drawer.is-open { opacity: 1; visibility: visible; transform: none; }

.p-drawer__close {
  position: fixed; top: 18px; right: 20px; z-index: 101;
  width: 46px; height: 46px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
}
.p-drawer__close:hover { background: rgba(255,255,255,.26); }

.p-drawer__list { display: flex; flex-direction: column; }
.p-drawer__link {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; color: #FFFFFF; font-size: 16px; font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.p-drawer__link:hover { color: #FFFFFF; opacity: .75; }
.p-drawer__link[aria-current="page"] { color: var(--c-yellow); }
.p-drawer__link::after {
  content: ""; width: 8px; height: 8px; flex-shrink: 0;
  border-top: 2px solid rgba(255,255,255,.5); border-right: 2px solid rgba(255,255,255,.5);
  transform: rotate(45deg);
}
.p-drawer__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 62px; margin-top: 32px; border-radius: 999px;
  background: var(--c-yellow); color: #0A3038 !important; font-size: 16px; font-weight: 700;
}
.p-drawer__cta:hover { background: var(--c-yellow-d); }

/* PC幅では使わない */
@media (min-width: 901px) {
  .p-drawer { display: none !important; }
}

/* OS側で「視差効果を減らす」設定のときは背景を動かさない */
@media (prefers-reduced-motion: reduce) {
  .p-hero__bg { transform: none !important; }
}

/* ==========================================================================
   LPのブログセクション（FVの下）
   ========================================================================== */
.p-lpblog { background: #FFFFFF; padding: 84px 0 92px; }
.p-lpblog .c-sechead { margin-bottom: 48px; }
.p-lpblog__lead { font-size: 15px; line-height: 2; color: var(--c-muted); text-align: center; margin-top: 4px; }
.p-lpblog__more { display: flex; justify-content: center; margin-top: 48px; }

.p-blog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }

.p-card {
  display: flex; flex-direction: column; background: #FFFFFF;
  border: 1px solid var(--c-line); border-radius: 18px; overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.p-card:hover { box-shadow: 0 16px 34px rgba(11,61,70,.10); transform: translateY(-3px); }
.p-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--c-mint); overflow: hidden; }
.p-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.p-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 26px; flex-grow: 1; }
.p-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.p-card__title { font-family: var(--f-disp); font-size: 17px; font-weight: 900; color: var(--c-deep); line-height: 1.6; }
.p-card a.p-card__title:hover { color: var(--c-teal); }
.p-card__excerpt { font-size: 13px; line-height: 1.9; color: var(--c-muted); }
.p-card__more { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 700; color: var(--c-teal); display: inline-flex; align-items: center; gap: 6px; }

.p-cat {
  display: inline-flex; align-items: center; min-height: 24px; padding: 2px 12px; border-radius: 6px;
  background: var(--c-mint); color: var(--c-teal); font-size: 11px; font-weight: 700;
}
.p-cat:hover { background: var(--c-mint-2); color: var(--c-teal); }
.p-date { font-size: 12px; color: var(--c-gray); font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .p-lpblog { padding: 54px 0 58px; }
  .p-lpblog .c-sechead { margin-bottom: 26px; }
  .p-lpblog__lead { font-size: 13px; }
  .p-lpblog__more { margin-top: 28px; }
  .p-lpblog__more .c-btn { width: 100%; }
  .p-blog { grid-template-columns: 1fr; gap: 16px; }
  .p-card__body { padding: 18px 18px 22px; }
  .p-card__title { font-size: 16px; }
}

/* ブログセクションの直後にお悩みセクションが来る場合の余白調整 */
.p-lpblog + .p-issues { padding-top: 84px; }
@media (max-width: 900px) {
  .p-lpblog + .p-issues { padding-top: 52px; }
}

/* ==========================================================================
   フッターのSNSアイコン
   ========================================================================== */
.p-sns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.p-sns a {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.82);
  transition: background .2s, border-color .2s, color .2s;
}
.p-sns a:hover { background: var(--c-yellow); border-color: var(--c-yellow); color: #0A3038; }

/* ==========================================================================
   LPブログのカルーセル（自動スクロール＋左右の矢印）
   - 速度は js/blog-carousel.js の SPEED で調整します（0にすると自動スクロール停止）
   - マウスを乗せる／矢印やスワイプで操作する間は自動スクロールが止まります
   ========================================================================== */
.p-lpblog__carousel { position: relative; }

.p-lpblog__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  /* カードの影が切れないよう、上下に少し余白 */
  padding: 6px 0 18px;
  margin-bottom: -12px;
  /* スクロールバーは隠す（矢印とスワイプで操作します） */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* 左右の見切れをふんわり見せる */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}
.p-lpblog__viewport::-webkit-scrollbar { display: none; }

.p-marquee {
  --item: 340px;   /* カード1枚の幅 */
  --gap: 26px;     /* カード間の余白 */
  display: flex;
  gap: var(--gap);
  width: max-content;
}
.p-marquee > .p-card { width: var(--item); flex-shrink: 0; }

/* --- 左右の矢印 --- */
.p-lpblog__nav { display: contents; }

.p-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--c-line);
  background: #FFFFFF;
  color: var(--c-teal);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(11,61,70,.14);
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.p-carousel__btn:hover { background: var(--c-teal); color: #FFFFFF; border-color: var(--c-teal); }
.p-carousel__btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }
.p-carousel__btn--prev { left: 4px; }
.p-carousel__btn--next { right: 4px; }

/* 画面が広いときは、カードに重ならないよう外側に出す */
@media (min-width: 1200px) {
  .p-carousel__btn--prev { left: -62px; }
  .p-carousel__btn--next { right: -62px; }
}

/* 記事が少なくてループできないときはJSが矢印を隠します */
.p-lpblog__carousel[data-carousel-static] .p-lpblog__nav { display: none; }

@media (max-width: 900px) {
  .p-marquee { --item: 280px; --gap: 16px; }
  /* 画面からはみ出さないよう、左右に少し余白を持たせる */
  .p-lpblog__viewport { margin: 0 calc(var(--pad-side) * -1) -12px; padding: 6px var(--pad-side) 18px; }

  /* スマホでは矢印をカードの下に並べる（カードに重ねると押しにくいため） */
  .p-lpblog__nav { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
  .p-carousel__btn { position: static; transform: none; width: 44px; height: 44px; }
}

/* 本文中の表（プライバシーポリシーのCookie一覧など）。狭い画面では横スクロールします */
.p-doc__table { overflow-x: auto; margin: 8px 0 20px; -webkit-overflow-scrolling: touch; }
.p-doc__table table { border-collapse: collapse; width: 100%; min-width: 560px; }
.p-doc__table th, .p-doc__table td {
  border: 1px solid var(--c-line);
  padding: 10px 14px;
  font-size: 13.5px;
  line-height: 1.85;
  text-align: left;
  vertical-align: top;
  color: var(--c-muted);
}
.p-doc__table th { background: var(--c-mint); color: var(--c-deep); font-weight: 700; white-space: nowrap; }
.p-doc__table--narrow table { min-width: 0; }
.p-doc__table--narrow th { width: 30%; }

/* 3列レイアウト（セキュリティの可用性・バックアップ・監査など） */
.p-sec3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin: 4px 0 28px; }
.p-sec3 h3 { margin-top: 0; padding-bottom: 10px; border-bottom: 2px solid var(--c-teal); display: inline-block; }
.p-sec3 ul { margin-top: 12px; }
.p-doc__note { font-size: 12.5px !important; color: var(--c-gray) !important; border-top: 1px solid var(--c-line); padding-top: 16px; margin-top: 32px !important; }
@media (max-width: 760px) {
  .p-sec3 { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Cookie同意バナー（画面下部）
   - 表示・非表示は js/cookie-consent.js が制御します
   - 文言の変更も js/cookie-consent.js の中です
   ========================================================================== */
.p-cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;                      /* ハンバーガーメニュー（100）より前面 */
  background: var(--c-navy);
  color: rgba(255,255,255,.9);
  box-shadow: 0 -8px 30px rgba(8,42,54,.22);
  transform: translateY(100%);
  transition: transform .32s ease;
}
.p-cookie.is-shown { transform: translateY(0); }

.p-cookie__inner {
  max-width: var(--w-container);
  margin: 0 auto;
  padding: 18px var(--pad-side);
  display: flex;
  align-items: center;
  gap: 24px;
}

.p-cookie__text { font-size: 13px; line-height: 1.9; margin: 0; }
.p-cookie__link { color: var(--c-yellow); text-decoration: underline; margin-left: 6px; white-space: nowrap; }
.p-cookie__link:hover { color: #FFFFFF; }

.p-cookie__btns { display: flex; gap: 10px; flex-shrink: 0; }

.p-cookie__btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.p-cookie__btn--ok {
  background: var(--c-yellow);
  color: #0A3038;
  border: 1px solid var(--c-yellow);
}
.p-cookie__btn--ok:hover { background: var(--c-yellow-d); border-color: var(--c-yellow-d); }
.p-cookie__btn--deny {
  background: transparent;
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.42);
}
.p-cookie__btn--deny:hover { background: rgba(255,255,255,.1); color: #FFFFFF; }
.p-cookie__btn:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

@media (max-width: 700px) {
  .p-cookie__inner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px var(--pad-side) 18px; }
  /* ボタンの文字（13px）と同じ大きさに揃えます */
  .p-cookie__text { font-size: 13px; line-height: 1.75; }
  .p-cookie__btns { justify-content: stretch; }
  .p-cookie__btn { flex: 1; padding: 13px 12px; }
}

/* 動きを減らす設定のときは、せり上がりのアニメーションをやめます */
@media (prefers-reduced-motion: reduce) {
  .p-cookie { transition: none; }
}

/* ==========================================================================
   機能詳細のモーダル
   - 開閉は js/modal.js が制御します
   ========================================================================== */
.p-modal {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  /* hidden 属性が付いている間は必ず隠す（display指定に負けないよう明示） */
  padding: 24px;
  opacity: 0;
  transition: opacity .26s ease;
}
.p-modal[hidden] { display: none !important; }
.p-modal.is-open { opacity: 1; }

.p-modal__overlay { position: absolute; inset: 0; background: rgba(6,26,32,.62); backdrop-filter: blur(2px); }

.p-modal__panel {
  position: relative;
  width: 100%; max-width: 720px; max-height: 88vh;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: #FFFFFF; border-radius: 22px;
  box-shadow: 0 30px 70px rgba(6,26,32,.36);
  transform: translateY(18px) scale(.98);
  transition: transform .26s ease;
}
.p-modal.is-open .p-modal__panel { transform: translateY(0) scale(1); }

.p-modal__close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.92); color: var(--c-deep);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 14px rgba(6,26,32,.18);
  transition: background .2s, color .2s;
}
.p-modal__close:hover { background: var(--c-deep); color: #FFFFFF; }
.p-modal__close:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 2px; }

.p-modal__photo { aspect-ratio: 16 / 9; background: var(--c-mint); overflow: hidden; }
.p-modal__photo img { width: 100%; height: 100%; object-fit: cover; }

.p-modal__body { padding: 30px 34px 34px; }
.p-modal__label { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--c-teal); }
.p-modal__title { font-family: var(--f-disp); font-size: 25px; font-weight: 900; color: var(--c-deep); line-height: 1.5; margin: 8px 0 0; }
.p-modal__sub { font-size: 14px; font-weight: 700; color: var(--c-teal); line-height: 1.8; margin: 8px 0 18px; }
.p-modal__body p { font-size: 14.5px; line-height: 1.95; color: var(--c-muted); margin: 0 0 14px; }
.p-modal__body strong { color: var(--c-deep); font-weight: 700; }
.p-modal__body ul { margin: 0 0 16px; padding: 0; }
.p-modal__body ul li {
  position: relative; padding-left: 20px; margin-bottom: 8px;
  font-size: 14.5px; line-height: 1.9; color: var(--c-muted); list-style: none;
}
.p-modal__body ul li::before {
  content: ""; position: absolute; left: 2px; top: 12px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--c-teal-l);
}
.p-modal__note { font-size: 12.5px !important; line-height: 1.9; color: var(--c-gray) !important; background: var(--c-mint); border-radius: 12px; padding: 14px 16px; }
.p-modal__cta { margin-top: 22px; }
.p-modal__cta .c-btn { width: 100%; min-height: 56px; font-size: 15px; }

@media (max-width: 700px) {
  .p-modal { padding: 0; align-items: flex-end; }
  .p-modal__panel { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; }
  .p-modal__body { padding: 24px 20px 28px; }
  .p-modal__title { font-size: 21px; }
  .p-modal__sub { font-size: 13px; }
  .p-modal__body p, .p-modal__body ul li { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .p-modal, .p-modal__panel { transition: none; }
}

/* ==========================================================================
   ページトップへ戻るボタン（右下）
   - ボタンは js/backtotop.js が自動で作ります
   ========================================================================== */
.p-totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%;
  border: 0; background: var(--c-deep); color: #FFFFFF;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(6,26,32,.3);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, visibility .25s, transform .25s, background .2s, bottom .25s;
}
.p-totop.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.p-totop:hover { background: var(--c-teal); }
.p-totop:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; }
.p-totop__text { font-size: 9px; font-weight: 700; letter-spacing: .1em; line-height: 1; }

@media (max-width: 700px) {
  .p-totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .p-totop { transition: opacity .01s, visibility .01s; }
}

/* ==========================================================================
   コンプライアンス
   ========================================================================== */
.p-comp { background: var(--c-mint); padding: 84px 0 92px; }
.p-comp__lead { font-size: 15px; line-height: 2; color: var(--c-muted); text-align: center; margin-top: 4px; }
.p-comp__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 44px; align-items: start; margin-top: 52px; }

/* --- お知らせ配信の画面イメージ --- */
.p-notice { background: #FFFFFF; border-radius: 20px; padding: 20px; box-shadow: 0 20px 46px rgba(11,61,70,.12); position: sticky; top: 24px; }
.p-notice__body { padding-top: 18px; }
.p-notice__field { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--c-gray); margin-bottom: 8px; }

.p-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.p-chips span {
  display: inline-flex; align-items: center; min-height: 30px; padding: 3px 13px;
  border-radius: 999px; border: 1px solid var(--c-line);
  font-size: 12px; font-weight: 700; color: var(--c-gray); background: #FFFFFF;
}
.p-chips .is-on { background: var(--c-teal); border-color: var(--c-teal); color: #FFFFFF; }
.p-chips .is-alert { background: #FDECE8; border-color: #F4C4B9; color: #C0472F; }

.p-notice__box { background: var(--c-mint); border-radius: 14px; padding: 16px 16px 14px; margin-bottom: 18px; }
.p-notice__ttl { font-size: 13.5px; font-weight: 700; color: var(--c-deep); line-height: 1.65; }
.p-notice__txt { font-size: 12.5px; line-height: 1.85; color: var(--c-muted); margin-top: 8px; }
.p-notice__link { font-size: 12px; font-weight: 700; color: var(--c-teal); margin-top: 10px; }

.p-notice__send {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 46px; border-radius: 999px; background: var(--c-deep); color: #FFFFFF;
  font-size: 13.5px; font-weight: 700;
}

/* --- 右側の4項目 --- */
.p-comp__list { display: flex; flex-direction: column; gap: 26px; }
.p-comp__list li { display: flex; gap: 16px; align-items: flex-start; }
.p-comp__icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px;
  background: #FFFFFF; color: var(--c-teal);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--c-mint-2);
}
.p-comp__list h3 { font-family: var(--f-disp); font-size: 17px; font-weight: 900; color: var(--c-deep); line-height: 1.6; }
.p-comp__list p { font-size: 14px; line-height: 1.95; color: var(--c-muted); margin-top: 6px; }
.p-comp__list strong { color: var(--c-deep); font-weight: 700; }
.p-comp__badge {
  display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 6px;
  background: var(--c-yellow); color: #0A3038; font-family: var(--f-body);
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; vertical-align: middle;
}
.p-comp__note { font-size: 12px; line-height: 1.9; color: var(--c-gray); margin-top: 40px; text-align: center; }

@media (max-width: 900px) {
  .p-comp { padding: 54px 0 58px; }
  .p-comp__lead { font-size: 13px; }
  .p-comp__grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .p-notice { position: static; padding: 16px; border-radius: 16px; }
  .p-comp__list { gap: 20px; }
  .p-comp__list li { gap: 12px; }
  .p-comp__icon { width: 40px; height: 40px; border-radius: 10px; }
  .p-comp__list h3 { font-size: 15.5px; }
  .p-comp__list p { font-size: 13.5px; }
  .p-comp__note { margin-top: 26px; text-align: left; padding-right: 56px; }
}

/* ==========================================================================
   スクロールで左右から出す演出
   - 対象は data-reveal が付いた要素（js/reveal.js が制御）
   - <head> で html に js-reveal が付いたときだけ隠します。
     JavaScriptが無効な環境では、何も隠れません
   ========================================================================== */
.js-reveal [data-reveal] {
  /* ↓ 動く量と速さは、この2行だけで調整できます */
  --reveal-shift: 130px;   /* 横に動く距離。大きいほど大きく動きます */
  --reveal-time: 1.25s;    /* かかる時間。大きいほどゆっくりになります */

  opacity: 0;
  transition: opacity var(--reveal-time) cubic-bezier(.16,.68,.32,1),
              transform var(--reveal-time) cubic-bezier(.16,.68,.32,1);
  will-change: opacity, transform;
}
.js-reveal [data-reveal="right"] { transform: translateX(var(--reveal-shift)); }
.js-reveal [data-reveal="left"]  { transform: translateX(calc(var(--reveal-shift) * -1)); }

/* 出し終えたら transform を完全に消す。要素が残したままだと、
   中の position: sticky や fixed の基準がずれることがあるためです */
.js-reveal [data-reveal].is-in   { opacity: 1; transform: none; will-change: auto; }

/* --- 中身を1つずつ、少し遅れて立ち上げる --- */
/* ずらす間隔は js/reveal.js の STAGGER で調整します */
/* 準備中だけアニメーションを止める（js/reveal.js が一瞬だけ付けます） */
.js-reveal-init [data-reveal],
.js-reveal-init [data-reveal-item] { transition: none !important; }

/* ここは transform ではなく translate を使います。
   transform を使うと、中央寄せなどに transform を使っている要素
   （FEATUREの丸バッジなど）の指定を上書きして、位置が崩れてしまうためです。
   translate は元の transform に足し算されるので、崩れません。 */
.js-reveal [data-reveal] [data-reveal-item] {
  opacity: 0;
  translate: 0 38px;
  transition: opacity .9s cubic-bezier(.16,.68,.32,1),
              translate .9s cubic-bezier(.16,.68,.32,1);
  will-change: opacity, translate;
}
.js-reveal [data-reveal].is-in [data-reveal-item] { opacity: 1; translate: none; }

/* 横に動かすため、はみ出しを切っておく。
   overflow: clip はスクロール領域を作らないので、中の position: sticky は生きたままです。
   （hidden は clip に対応していない古いブラウザ向けの保険） */
.p-issues, .p-service, .p-comp, .p-feature, .p-case, .p-plan, .p-contact {
  overflow-x: hidden;
  overflow-x: clip;
  overflow-y: visible;
}
body { overflow-x: hidden; overflow-x: clip; }

@media (max-width: 900px) {
  /* スマホは画面が狭いので、動く量を控えめに */
  .js-reveal [data-reveal] { --reveal-shift: 72px; }
}

/* OS側で「視差効果を減らす」設定のときは動かさない */
@media (prefers-reduced-motion: reduce) {
  .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
}
