@charset "UTF-8";

/* =====================================================
   reset.css
   Modern CSS Reset for IYOPLAN ADS
   Purpose:
   - ブラウザ差異の吸収
   - 意図しない余白・装飾の排除
   - レイアウト設計をシンプルにする
   ===================================================== */


/* -----------------------------------------------------
   1. グローバルリセット
----------------------------------------------------- */

/* すべての要素を border-box に統一 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* デフォルト余白の削除 */
* {
  margin: 0;
  padding: 0;
}


/* -----------------------------------------------------
   2. HTML / BODY 基本設定
----------------------------------------------------- */

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
          text-size-adjust: 100%;
}

body {
  line-height: 1;
}


/* -----------------------------------------------------
   3. メディア要素
----------------------------------------------------- */

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}


/* -----------------------------------------------------
   4. テキスト・リンク
----------------------------------------------------- */

a {
  color: inherit;
  text-decoration: none;
}


/* -----------------------------------------------------
   5. リスト
----------------------------------------------------- */

ul,
ol {
  list-style: none;
}


/* -----------------------------------------------------
   6. テーブル
----------------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* -----------------------------------------------------
   7. フォーム要素
----------------------------------------------------- */

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

button {
  cursor: pointer;
}


/* -----------------------------------------------------
   8. 引用要素
----------------------------------------------------- */

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: "";
}


/* -----------------------------------------------------
   9. アクセシビリティ・ユーティリティ
----------------------------------------------------- */

/* 視覚的に非表示だがスクリーンリーダーには残す */
.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}


