/* 数値計算関連の関数を使うために必要 (math.divなど)*/
/* PCとSPの表示非表示の切り替え */
/*(md)px以上で表示*/
@media not all and (min-width: 769px) {
  .pc-only {
    display: none;
  }
}

/*モバイルのみ表示*/
@media screen and (min-width: 769px) {
  .sp-only {
    display: none;
  }
}

/*
 * iro code. リセットCSS 2025（本番用・コメント軽量版）
 */
/* ボックスモデル */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* マージンリセット */
body, h1, h2, h3, h4, h5, h6, p, ul, ol, figure, blockquote, dl, dd {
  margin: 0;
  padding: 0;
}

/* HTML基本設定 */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* body基本設定 */
body {
  min-height: 100vh;
  min-height: 100dvh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* リスト */
ul, ol {
  list-style: none;
}

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

/* 見出し */
h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* 段落 */
p {
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* リンク */
a {
  text-decoration: none;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* フォーム */
input, button, textarea, select {
  font: inherit;
  color: inherit;
}

textarea {
  resize: vertical;
}

input[type=submit],
input[type=button],
label, button, select {
  cursor: pointer;
}

/* アクセシビリティ配慮 */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
    interpolate-size: allow-keywords;
  }
}
/* リキッドレイアウト対応のための設定 */
body {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
}

.font-script {
  font-family: "Mrs Saint Delafield", cursive;
  font-weight: 400;
  font-style: normal;
}

html {
  font-size: 16px;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 769px) {
  html {
    font-size: 1.3333333333vw;
  }
}
@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}
.h1-dn {
  display: none;
}

.inner {
  width: 100%;
  padding-inline: 20px;
  margin-inline: auto;
}
@media screen and (min-width: 769px) {
  .inner {
    max-width: 1920px;
    padding-inline: 25px;
  }
}
/* ========================================
   共通リンクスタイル
======================================== */

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
}