@charset "utf-8";

/* ==================================
   Reset + Base (LP向け / Mobile First)
================================== */

/* 1) 余白・ボックスモデル */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}

/* 2) 基準フォント（1rem=16px運用） */
html {
  font-size: 100%;               /* 1rem = 16px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* 3) Body（LPは読みやすさ優先） */
body {
  font-family: "Roboto", "Helvetica Neue", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;               /* 16px */
  line-height: 1.85;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  /* LPは justify より left が基本的に読みやすい */
  text-align: left;
  letter-spacing: 0.02em;
}

/* 4) タイポ（基本階層） */
p {
  font-size: clamp(1.0rem, 0.98rem + 0.25vw, 1.1rem); /* 16〜17.6px */
  line-height: 1.85;
}
p + p { margin-top: 1em; }

h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.8vw, 2.2rem);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h2 {
  font-size: clamp(1.35rem, 1.2rem + 1.2vw, 1.9rem);
  line-height: 1.35;
  margin: 1.2em 0 0.6em;
}
h3 {
  font-size: clamp(1.2rem, 1.1rem + 0.8vw, 1.55rem);
  line-height: 1.45;
  margin: 1.0em 0 0.5em;
}

/* 5) リスト */
ul, ol { list-style: none; margin: 0; padding: 0; }
li {
  font-size: clamp(1.0rem, 0.98rem + 0.25vw, 1.1rem);
  line-height: 1.85;
}

/* 6) 画像・メディア */
img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 7) リンク */
a {
  color: inherit;
  text-decoration: none;
  transition: opacity .2s ease;
}
a:hover { opacity: .85; }

/* 8) テーブル */
table { border-collapse: collapse; border-spacing: 0; }

/* 9) フォーム（最低限のリセット） */
button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}
button { cursor: pointer; }

/* 10) アクセシビリティ：フォーカスリング */
:where(a, button, input, textarea, select, [tabindex]):focus-visible{
  outline: 2px solid CanvasText;
  outline-offset: 2px;
}

/* 11) prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==================================
   Layout helpers (既存互換)
================================== */
#wrap {
  width: 100%;
  max-width: 2560px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
}

.clearfix::after { content: ""; display: block; clear: both; }

.block {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}
main .block {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ユーティリティ（必要な分だけ残す） */
.rel { position: relative; }
.z-in { z-index: 100; }
.flex { display: flex; }
.fww { flex-wrap: wrap; }
.fwr { flex-wrap: wrap-reverse; }
.aic { align-items: center; }
.jsc { justify-content: center; }
.jsb { justify-content: space-between; }
.tal { text-align: left !important; }
.tce, .ta-c { text-align: center; }
.red { color: red; }

.m20  { margin-top: 20px; }
.m50  { margin-top: 50px; }
.m100 { margin-top: 100px; }

/* ぶら下げインデント */
.ti { text-indent: -1em; padding-left: 1em; display: block; }
.ti1-5 { text-indent: -1.5em; padding-left: 1.5em; display: block; }

/* ブレーク制御（br専用にするの推奨） */
.Pc_Br { display: none; }
.Sp_Br { display: inline; }  /* brに付ける想定なら inline が安全 */
.pc { display: none; }
.sp { display: block; }

/* ==================================
   Responsive
================================== */
@media (min-width: 768px){
  .block { padding: 0 24px; }
}

@media (min-width: 992px){
  .Pc_Br { display: inline; }
  .Sp_Br { display: none; }
  .sp { display: none !important; }
  .pc { display: block !important; }
}
