@charset "UTF-8";
/* ========================================
  WE スキャン ワイヤレス LP（骨組み）
  配色・構成は WE スキャンLP（/scanner/we_scan/）に準拠
======================================== */
:root {
  --blue: #004ea2;
  --blue-dark: #003c7d;
  --blue-light: #eff7ff;
  --yellow: #fff959;
  --text: #353535;
  --gray: #f5f5f5;
  --line: #717171;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.is-popup-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
.sp { display: none; }
.br-sp { display: none; }
@media (max-width: 600px) {
  .sp, .br-sp { display: inline; }
  .br-pc { display: none; }
}

/* ---------- 仮画像（差し替え用プレースホルダー） ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #6b7f99;
  background: repeating-linear-gradient(45deg, #e9eef5 0 12px, #f3f6fa 12px 24px);
  border: 2px dashed #a9b8cc;
}
.ph--media { aspect-ratio: 16 / 9; border-radius: 16px; }

/* ========================================
  Header
======================================== */
/* スクロールに追従させない（ページ上部に固定表示しない） */
#header {
  position: relative;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
}
#header .contentIn { max-width: 1200px; margin: 0 auto; padding: 14px 20px; }
.weLogo img { width: 200px; }
@media (max-width: 600px) { .weLogo img { width: 150px; } }

/* ========================================
  FV
  キービジュアル（fv_kv.jpg：背景＋実機のみ）を右側の背景として敷き、
  左側は画像の左端の色に合わせたグラデーションでつなぐ
  文字サイズは画面幅に合わせて clamp() で伸縮（1440px幅で最大）
======================================== */
.fv {
  position: relative;
  display: flex;
  align-items: center; /* 文字ブロックを上下中央に */
  min-height: 820px;
  overflow: hidden;
  background: linear-gradient(180deg, #f0f3e2 0%, #e5efeb 20%, #cae6f5 42%, #aedcf6 62%, #aedcf6 100%);
}
/* 背景画像：FVの高さいっぱいの正方形を右寄せ（右端の余白部分は画面外へ） */
.fv__bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -2%;
  aspect-ratio: 1 / 1;
}
/* 画像の左端を透明にフェードさせ、左側のグラデーション背景と継ぎ目なくつなぐ */
.fv__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 24%);
}
.fv__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 72px;
}
.fv__content { color: var(--text); }
.fv__label-wrap { display: flex; align-items: center; gap: 18px; }
.fv__label {
  display: inline-block;
  padding: 8px 24px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 20px);
  border-radius: 100px;
}
.fv__badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(120px, 11.4vw, 164px);
  height: clamp(120px, 11.4vw, 164px);
  border-radius: 50%;
  background: var(--yellow);
  color: var(--blue);
  font-weight: 900;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.3;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 78, 162, .15);
}
.fv__title { margin-top: 32px; font-size: clamp(40px, 4.4vw, 64px); font-weight: 900; line-height: 1.3; color: var(--blue); letter-spacing: .01em; }
.fv__title-line { display: block; }
.fv__product-name { margin-top: clamp(24px, 2.6vw, 36px); font-size: clamp(36px, 4vw, 58px); font-weight: 900; letter-spacing: .03em; line-height: 1.2; color: var(--blue); }
/* 薬機法表記：「項目名：」と内容を2列にそろえる */
.fv__product-info {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 2px 2.4em;
  margin-top: 24px;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.7;
}
.fv__product-info > div { display: contents; }
.fv__product-info > div > div:last-child { font-weight: 500; }
/* 1101〜1200px：文字幅に対して画像が大きくなるため、実機を少し右へ */
@media (max-width: 1200px) {
  .fv__bg { right: -7%; }
}
/* 1100px以下：文字 → 背景画像（実機）の縦並び。画像の上端をぼかして背景色とつなぐ */
@media (max-width: 1100px) {
  .fv { min-height: 0; flex-direction: column; align-items: stretch; }
  .fv__bg { position: relative; top: auto; bottom: auto; right: auto; order: 2; width: 100%; aspect-ratio: 6 / 5; margin-top: -40px; }
  .fv__bg-img {
    object-position: 50% 30%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
            mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .fv__inner { order: 1; width: 100%; padding: 48px 24px 8px; }
  .fv { background: linear-gradient(180deg, #f0f3e2 0%, #e5efeb 25%, #cae6f5 100%); }
}
@media (max-width: 600px) {
  .fv__inner { padding: 28px 16px 8px; }
  .fv__bg { aspect-ratio: 1 / 1; margin-top: -24px; }
  .fv__label { padding: 6px 16px; font-size: 14px; white-space: nowrap; }
  .fv__label-wrap { gap: 12px; }
  .fv__badge { width: 104px; height: 104px; font-size: 16px; }
  .fv__title { margin-top: 22px; font-size: 40px; }
  .fv__product-name { margin-top: 22px; font-size: min(32px, 7.6vw); white-space: nowrap; letter-spacing: 0; }
  .fv__product-info { margin-top: 18px; column-gap: 1em; font-size: 12px; }
}

/* ========================================
  Features
======================================== */
.features { padding: 120px 24px; background: linear-gradient(180deg, #fff 0%, var(--blue-light) 100%); }
.features__inner { max-width: 1240px; margin: 0 auto; }
.features__header { text-align: center; }
.features__title { font-weight: 900; color: var(--blue); line-height: 1.3; }
.features__title-name { font-size: 52px; }
.features__title-text { font-size: 36px; color: var(--text); }
.features__title-num { font-size: 96px; padding: 0 6px; }
.features__list { display: flex; flex-direction: column; gap: 120px; margin-top: 88px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 64px; }
.feature--reverse { grid-template-columns: 7fr 5fr; }
.feature--reverse .feature__body { order: 2; }
.feature__no { display: flex; align-items: center; gap: 16px; color: var(--blue); }
.feature__no::after { content: ""; flex: 0 0 64px; height: 3px; background: var(--blue); border-radius: 2px; }
.feature__no-num { font-size: 88px; font-weight: 900; line-height: 1; letter-spacing: -.02em; }
.feature__content { margin-top: 20px; }
.feature__heading { font-size: 40px; font-weight: 900; line-height: 1.4; color: var(--blue); }
/* 数値の見出し（例：通信距離 最長 10m） */
.feature__stat { margin-top: 24px; color: var(--blue); line-height: 1; }
.feature__stat-label { display: block; font-size: 16px; font-weight: 700; color: var(--text); }
.feature__stat-value { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.feature__stat-num { font-size: 80px; font-weight: 900; letter-spacing: -.02em; }
.feature__stat-unit { font-size: 28px; font-weight: 900; }
.feature__text { margin-top: 24px; font-size: 19px; line-height: 1.9; }
.feature__marker {
  font-weight: 700;
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
}
.feature__media-img { width: 100%; border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 78, 162, .15); }
.feature__note { margin-top: 12px; font-size: 14px; color: #6b6b6b; }

/* タブレット・スマホ：番号 → 見出し → 画像 → 数値 → 本文 の縦並び */
@media (max-width: 900px) {
  .features { padding: 88px 24px; }
  .features__title-name { font-size: 40px; }
  .features__title-text { font-size: 28px; }
  .features__title-num { font-size: 72px; }
  .features__list { gap: 96px; margin-top: 64px; }
  .feature, .feature--reverse { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .feature__body, .feature__content { display: contents; }
  .feature__no { order: 1; }
  .feature__heading { order: 2; margin-top: 12px; }
  .feature__media { order: 3; margin-top: 28px; }
  .feature__stat { order: 4; margin-top: 28px; }
  .feature__text { order: 5; margin-top: 24px; }
  .feature__note { order: 6; }
  .feature__no-num { font-size: 72px; }
  .feature__heading { font-size: 34px; }
  .feature__text { font-size: 18px; }
}
@media (max-width: 600px) {
  .features { padding: 64px 16px; }
  .features__title-name { font-size: 28px; }
  .features__title-text { font-size: 21px; }
  .features__title-num { font-size: 56px; }
  .features__list { gap: 72px; margin-top: 44px; }
  .feature__no { gap: 12px; }
  .feature__no::after { flex-basis: 40px; height: 2px; }
  .feature__no-num { font-size: 60px; }
  .feature__heading { font-size: 26px; margin-top: 8px; }
  .feature__media { margin-top: 20px; }
  .feature__media-img { border-radius: 16px; box-shadow: 0 12px 30px rgba(0, 78, 162, .14); }
  .feature__stat { margin-top: 22px; }
  .feature__stat-label { font-size: 14px; }
  .feature__stat-num { font-size: 60px; }
  .feature__stat-unit { font-size: 22px; }
  .feature__text { margin-top: 20px; font-size: 16px; line-height: 1.85; }
  /* 1〜2文字だけ次行に落ちるのを防ぐ（対応ブラウザでは文節単位で改行） */
  .feature__text, .feature__heading { word-break: auto-phrase; text-wrap: pretty; }
  .feature__note { font-size: 12px; }
}

/* ========================================
  Contact
======================================== */
.contact { padding: 88px 20px; background: var(--gray); }
.contact__container { max-width: 800px; margin: 0 auto; }
.contact__header { text-align: center; }
.contact__title { font-size: 34px; font-weight: 900; color: var(--blue); line-height: 1.4; }
.contact__form { margin-top: 40px; }
.contact__field + .contact__field { margin-top: 20px; }
.contact__label { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.contact__required { padding: 2px 8px; font-size: 12px; color: #fff; background: #c93764; border-radius: 4px; }
.contact__input {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.contact__input:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
.contact__privacy { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
.contact__privacy-item { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.contact__checkbox { width: 18px; height: 18px; accent-color: var(--blue); }
.contact__privacy-text a { color: var(--blue); }
.contact__button {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 32px auto 0;
  padding: 18px;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  border: none;
  border-radius: 100px;
  cursor: pointer;
}
.contact__button:hover { background: var(--blue-dark); }
.contact__notice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  margin-top: 56px;
  padding: 28px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 12px;
}
.contact__notice-header { display: flex; align-items: center; gap: 10px; }
.contact__notice-badge { padding: 2px 10px; font-size: 13px; font-weight: 700; color: #fff; background: #c93764; border-radius: 4px; }
.contact__notice-title { font-size: 17px; font-weight: 700; color: var(--blue); }
.contact__notice-body { margin-top: 12px; font-size: 13px; }
.contact__notice-right { align-self: center; text-align: center; padding-left: 28px; border-left: 1px solid #dfdfdf; }
.contact__notice-tel-label { font-size: 13px; font-weight: 700; }
.contact__notice-tel-number { display: block; font-size: 28px; font-weight: 900; color: var(--blue); text-decoration: none; }
.contact__notice-tel-hours { font-size: 12px; }
.contact__notice-tel-hours-day { padding: 0 4px; font-weight: 700; }
@media (max-width: 600px) {
  .contact { padding: 56px 16px; }
  .contact__title { font-size: 24px; }
  .contact__notice { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .contact__notice-right { padding: 20px 0 0; border-left: none; border-top: 1px solid #dfdfdf; }
}

/* ========================================
  Popup（歯科医師確認）
======================================== */
.popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, .7);
}
.is-confirmed .popup { display: none; }
.popup__panel {
  position: relative;
  width: 76%;
  max-width: 1100px;
  max-height: 100%;
  overflow: auto;
  padding: clamp(64px, 7vw, 100px) 20px clamp(48px, 6.25vw, 90px);
  background: #fff;
  text-align: center;
}
.popup__logo { position: absolute; top: clamp(12px, 2vw, 24px); left: clamp(12px, 2.8vw, 32px); width: clamp(140px, 17vw, 220px); }
.popup__heading { font-size: clamp(28px, 5vw, 56px); font-weight: 700; line-height: 1.4; }
.popup__heading strong {
  color: var(--blue);
  padding-bottom: .1em;
  background-image: linear-gradient(to right, var(--blue) 0, var(--blue) 5px, transparent 5px);
  background-size: 10px 4px;
  background-position: left bottom;
  background-repeat: repeat-x;
}
.popup__actions { display: flex; justify-content: center; gap: 18px; margin-top: clamp(28px, 4.8vw, 64px); }
.popup__btn {
  position: relative;
  width: 18em;
  padding: 1.3em 3em;
  font: inherit;
  font-size: clamp(14px, 1.5vw, 20px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--blue);
  text-decoration: none;
  background: #fff;
  border: 3px solid var(--blue);
  border-radius: 100px;
  cursor: pointer;
}
.popup__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.2em;
  width: .5em;
  height: .5em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.popup__btn.blue { color: #fff; background: var(--blue); }
.popup__btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .popup__panel { width: 100%; padding: 72px 16px 48px; }
  .popup__logo { top: 12px; left: 12px; width: 140px; }
  .popup__heading { font-size: 32px; }
  .popup__actions { flex-direction: column; align-items: center; gap: 10px; margin-top: 32px; }
  .popup__btn { width: 100%; max-width: 300px; font-size: 16px; }
}

/* ========================================
  Footer
======================================== */
#footer { background: var(--blue); color: #fff; }
#footer .contentIn { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
#footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 32px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
#footer .links a { text-decoration: none; }
#footer .links a:hover { text-decoration: underline; }
.copyArea { background: var(--blue-dark); }
.copyArea .copy { font-size: 12px; text-align: center; }
