@charset "UTF-8";
/*!
 * reset.css
 */

/* ============================================================
   Box sizing
============================================================ */
*,
::before,
::after {
  box-sizing: border-box;
}

/* ============================================================
   Root / HTML
============================================================ */
:root {
  /* スクロールバーを常に確保してレイアウトシフトを防ぐ */
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html {
  padding: 0;
  font-size: 62.5%; /* 1rem = 10px */
  background-color: #fff;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   Body
============================================================ */

body {
  margin: 0;
  font-family:
    "Roboto", "Noto Sans JP",
    "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",
    "メイリオ", Meiryo, sans-serif;
  font-size: clamp(1.4rem, 1.6vw, 1.8rem);
  font-weight: 500;
  line-height: 1.8;
  color: #000;
  /* 日本語組版 */
  font-feature-settings: "palt";
  text-align: justify;
  /* 長い単語・URLの折り返し */
  overflow-wrap: break-word;
  /* フォントカーニング有効化 */
  font-kerning: normal;
}

/* ============================================================
   Headings
============================================================ */

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 3vw, 4rem);
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: break-word;
}

h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.4vw, 2.8rem);
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: break-word;
}

h3 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  line-height: 1.6;
  font-weight: 600;
  overflow-wrap: break-word;
}

h4, h5, h6 {
  margin: 0;
  font-size: clamp(1.5rem, 1.8vw, 1.8rem);
  font-weight: 600;
  overflow-wrap: break-word;
}

/* ============================================================
   Text elements
============================================================ */
p {
  margin: 0;
  overflow-wrap: break-word;
}

figure {
  margin: 0;
  padding: 0;
}

small {
  font-size: 0.75em;
}

/* ============================================================
   Links
============================================================ */
a {
  color: inherit;
  text-decoration: none;
  touch-action: manipulation;
	transition: color 0.3s ease;
}

@media (hover: hover) {
	a:hover {
		color: #ff8400;
		opacity: 0.7;
	}
}

:target {
   scroll-margin-top: clamp(60px, 12vw, 90px);
}

/* ============================================================
   Images / Media
   縦横比を保持しつつ、親要素を超えないように制御
============================================================ */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================================
   Lists
============================================================ */
ol,
ul {
  margin: 0;
  padding: 0;
  margin-inline-start: 0;
  list-style: none;
}

/* ============================================================
   Definition list
============================================================ */
dl,
dt,
dd {
  margin: 0;
  padding: 0;
}

/* ============================================================
   Forms / Buttons
   フォント継承・スタイルリセット
============================================================ */
button,
input,
select,
textarea {
  font: inherit; /* family / size / weight をまとめて継承 */
  color: inherit;
  letter-spacing: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

textarea {
  resize: vertical;
}

/* ============================================================
   Table
============================================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ============================================================
   Fieldset
============================================================ */
fieldset {
  margin: 0;
  padding: 0;
  border: none;
}

/* ============================================================
   HR
============================================================ */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: none;
  border-top: 1px solid currentColor;
  margin: 0;
}

/* ============================================================
   Abbr
============================================================ */
abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}

/* ============================================================
   Hidden
============================================================ */
[hidden] {
  display: none !important;
}

/* ============================================================
   Code
============================================================ */
code,
kbd,
pre,
samp {
  font-family: ui-monospace, "Cascadia Code", "Source Code Pro",
    Menlo, Consolas, "DejaVu Sans Mono", monospace;
  font-size: 0.9em;
}

pre {
  overflow: auto;
}

/* ============================================================
   Focus
   キーボード操作時のみアウトラインを表示（クリック時は非表示）
============================================================ */
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* ============================================================
   Accessibility
   アニメーション軽減設定を尊重
============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   Selection
============================================================ */
::selection {
  background-color: #b3d4fc;
  color: #000;
  text-shadow: none;
}

/* ============================================================
   Responsive — SP
============================================================ */
@media only screen and (max-width: 768px) {
  body {
    line-height: 1.6;
  }
}

/* ============================================================
   stagger reset
   ------------------------------------------------------------
   JS有効時、common.js が初期状態を当てるまでの一瞬を隠す（FOUC対策）。
   common.js が gsap.set / 初期styleを当てると同時に各要素へ
   .is-stagger-ready を付けるので、それ以降はJSのインライン管理へ移行。
============================================================ */
.js-anim .js-stagger > *,
.js-anim .js-stagger .js-stagger-item {
  opacity: 0;
}

/* JSが初期状態を引き継いだ要素はCSS隠しを解除（インラインstyleが優先） */
.js-anim .js-stagger > .is-stagger-ready,
.js-anim .js-stagger .js-stagger-item.is-stagger-ready {
  opacity: unset;
}
