@charset "utf-8";
/* ===================================
   Reset CSS for WordPress Themes
   -----------------------------------
   ・余白・フォントサイズの初期化
   ・画像やフォーム要素のリセット
   ・WordPress独自クラスを安全に保持
   =================================== */

/* 基本設定 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5要素の表示改善 */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

/* ベース設定 */
body {
  line-height: 1.6;
  word-wrap: break-word;
  color: #333;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", "Noto Sans JP", sans-serif;
}

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

/* リンク */
a {
  text-decoration: none;
  color: inherit;
}
a:hover, a:focus {
  opacity: 0.8;
  transition: 0.2s;
}

/* テーブル */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/* 画像 */
img {
  max-width: 100%;
  height: auto;
  border: none;
  display: block;
}

/* フォーム要素 */
input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border-radius: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* 引用・強調 */
blockquote {
  margin: 0;
  padding-left: 1em;
  border-left: 4px solid #ddd;
  color: #555;
}
strong {
  font-weight: 700;
}

/* WordPress 独自要素の軽微調整 */
.alignleft {
  float: left;
  margin-right: 1em;
}
.alignright {
  float: right;
  margin-left: 1em;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption {
  text-align: center;
  margin: 0.5em 0;
  font-size: 90%;
  color: #666;
}

/* Gutenberg / ブロックエディタ互換 */
.wp-block-image img {
  height: auto;
}
.wp-block-button__link {
  cursor: pointer;
}

/* box-sizingの統一 */
*, *::before, *::after {
  box-sizing: border-box;
}
