@charset "utf-8";

/* ====== 1. ブラウザデフォルトの調整 ====== */
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;
	text-decoration:none;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table,
table th,
table td {
	border-collapse: collapse;
	border-spacing: 0;
	background-color:none;
}

html, body {
  overflow-x: hidden;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
	line-height: 1;
}

*, *::before, *::after {
  box-sizing: inherit;
}

span:not([class]) {
  display: inline-block;
}

ol,
ul,
dl,
dd {
  list-style: none;
  list-style-type: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

:focus {
  outline: 2px solid var(--color_purple_light);
  outline-offset: 2px;
}
a:focus {
  outline: none;
}

input,
button,
select,
textarea {
  margin: 0;
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background: none;
  box-sizing: border-box;
  line-height: 1;
}

button, a {
  touch-action: manipulation;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ====== 2. Gutenberg / ブロックエディタのクラス調整 ====== */
.wp-block, .wp-block-group, .wp-block-navigation,
.wp-block-navigation__container, .wp-block-navigation-item,
.wp-block-list, .wp-block-paragraph, .wp-block-button,
.wp-block-post-template, .wp-block-query {
  margin: 0;
  padding: 0;
}
.wp-block-image {
  margin: 0 !important;
  text-align: center;
}
.wp-block-image img {
  display: block;
  margin: 0 auto;
}
.wp-block-heading, .wp-block-post-title,
.wp-block-post-terms, .wp-block-post-date {
  margin: 0;
  padding: 0;
  font-weight: normal;
}
.wp-block-list {
  list-style: none;
}
.wp-block-paragraph {
  margin-bottom: 1em;
  line-height: 1.6;
}
figure, figcaption {
  margin: 0;
  padding: 0;
}
.alignleft, .alignright, .aligncenter, .alignwide, .alignfull {
  margin: 0 auto;
  max-width: 100%;
}
.wp-block-button__link {
  display: inline-block;
  text-decoration: none;
  padding: 0.5em 1.5em;
  border: none;
  background-color: inherit;
  color: inherit;
}
.wp-block-table {
  border-collapse: collapse;
  width: 100%;
}
.wp-block-table td, .wp-block-table th {
  border: 1px solid #ccc;
  padding: 0.5em;
  text-align: left;
}

/* ====== 3. クラシックテーマクラスの調整 ====== */
.widget, .widget_nav_menu, .widget .menu-item,
.menu-g-menu-container, .menu-item-type-post_type, 
.menu-item-object-page {
  margin: 0;
  padding: 0;
}
