/* ======================================
  RESET CSS（接骨院がく / WordPress向け）
  - 崩しすぎない
  - WP標準と共存
====================================== */

/* ----------------------------------
  box-sizing を全体に適用
---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ----------------------------------
  余白・装飾の初期化
---------------------------------- */
html, body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote,
dl, dd,
ul, ol,
pre {
  margin: 0;
  padding: 0;
}

/* ----------------------------------
  HTML5 要素をブロック化
---------------------------------- */
article, aside, footer, header, nav, section, main, figure {
  display: block;
}

/* ----------------------------------
  body 初期設定
---------------------------------- */
body {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* ----------------------------------
  リスト（ナビ・症状一覧対策）
---------------------------------- */
ul, ol {
  list-style: none;
}

/* ----------------------------------
  テーブル初期化（料金表・施術表）
---------------------------------- */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ----------------------------------
  画像・SVG
---------------------------------- */
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ----------------------------------
  リンク初期化
---------------------------------- */
a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------
  フォーム要素（予約・お問い合わせ）
---------------------------------- */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

/* ボタンは pointer を付与 */
button {
  cursor: pointer;
}

/* ----------------------------------
  WordPress特有の対策
---------------------------------- */

/* エディタが吐く img のズレ防止 */
.wp-block-image img {
  height: auto;
}

/* iframe（GoogleMap・YouTube） */
iframe {
  max-width: 100%;
}

/* strong, em の暴走防止 */
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}