/*
Theme Name: ap7.co.jp
Author: 
Description: 
Version: 250828
*/

/*=============================================================

WordPressやプラグインなどの調整

=============================================================*/

/* ブロックエディタ
=============================================================*/

.block-editor-wrapper {
  margin: 20px 0 0;
}

.block-editor-wrapper h1 {
  font-size: 32px;
}

@media only screen and (max-width: 767.98px) {
  .block-editor-wrapper h2 {
    font-size: 24px;
  }
}

.block-editor-wrapper h2 {
  font-size: 24px;
}

@media only screen and (max-width: 767.98px) {
  .block-editor-wrapper h2 {
    font-size: 20px;
  }
}

.block-editor-wrapper h3 {
  font-size: 20px;
}

@media only screen and (max-width: 767.98px) {
  .block-editor-wrapper h3 {
    font-size: 16px;
  }
}

.block-editor-wrapper h4,
.block-editor-wrapper h5,
.block-editor-wrapper h6 {
  font-size: 16px;
}

.block-editor-wrapper h1,
.block-editor-wrapper h2,
.block-editor-wrapper h3,
.block-editor-wrapper h4,
.block-editor-wrapper h5,
.block-editor-wrapper h6 {
  margin: 40px 0 0;
  line-height: 1.5em;
}

.block-editor-wrapper p {
  margin-top: 0.5em;
  line-height: 1.8em;
}

.block-editor-wrapper ul,
.block-editor-wrapper ol {
  margin-top: 0.5em;
  padding-left: 1em;
}

.block-editor-wrapper li {
  margin-top: 0.5em;
}

.block-editor-wrapper table {
  margin: 20px 0;
  border-collapse: collapse;
}

/* .block-editor-wrapper th,
.block-editor-wrapper td {
  padding: 0.5em;
  border: 1px solid #ccc;
} */

.block-editor-wrapper th {
  background-color: #f7f7f7;
}

.block-editor-wrapper .wp-block-table td,
.block-editor-wrapper .wp-block-table th {
  border: 1px solid #ccc;
}

/* .block-editor-wrapper dl {
  margin: 20px 0;
}

.block-editor-wrapper dt {
  margin-top: 20px;
  padding: 0.5em;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  font-weight: 700;
}

.block-editor-wrapper dd {
  padding: 0.5em;
  border-width: 0 1px 1px;
  border-style: none solid solid;
  border-color: #ccc;
} */

.block-editor-wrapper blockquote {
  box-sizing: border-box;
  position: relative;
  padding: 30px 15px 8px 15px;
  background: #f7f7f7;
  color: #ccc;
  font-style: italic;
}

.block-editor-wrapper blockquote:before {
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 3px;
  content: "“";
  color: #cfcfcf;
  font-size: 90px;
  line-height: 1;
  font-family: sans-serif;
}

.block-editor-wrapper blockquote p {
  margin: 10px 0;
  padding: 0;
  line-height: 1.8em;
}

.block-editor-wrapper blockquote cite {
  display: block;
  color: #ccc;
  font-size: 0.9em;
  text-align: right;
}

.block-editor-wrapper pre {
  white-space: pre-wrap;
}

.block-editor-wrapper q {
  color: #ccc;
  font-style: italic;
}

.block-editor-wrapper q:before {
  content: "「"; /* qの前を「に */
}

.block-editor-wrapper q:after {
  content: "」"; /* qの後を」に */
}

/* フォーム
=============================================================*/

/* input */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="range"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], textarea, select {
  padding: .5em;
  border: 1px solid #cccccc;
  border-radius: 3px;
  background-color: #ffffff;
  outline: none;
  max-width:100%;
  font-size:16px;
  line-height:1.2em;
  margin-top:10px;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="password"]:focus, input[type="search"]:focus, input[type="number"]:focus, input[type="tel"]:focus, input[type="range"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="week"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="color"]:focus, select:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-accent);
}

.contact {
  width:100%;
  max-width:768px;
}

.contact dl {
  margin-top:20px;
  display:flex;
  width:100%;
}

.contact dt {
  padding:20px 0 20px 20px;
  vertical-align: top;
  width: 30%;
  border-left: 5px solid #ff9900;
}

.contact dd {
  padding-left:20px;
  width:70%;
}

.accept {
  text-align: center;
}

.accept .wpcf7-list-item {
  margin: 0;
}

.form_b {
  margin-top: 40px;
  text-align: center;
}
input[type="submit"] {
  display: block;
  width: 100px;
  margin: auto;
  padding: .5em 0;
  border: none;
  background-color: #006eb7;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: .2em;
  text-align: center;
  text-indent: .2em;
  white-space: nowrap;
  cursor: pointer;
}

input[type="submit"]:disabled {
  color: #cccccc;
}

input[type="submit"]:hover {
  opacity: .8;
}

/* ページナビ
=============================================================*/
.wp-pagenavi {
  text-align: center;
	margin:40px 0;
}

.wp-pagenavi .page{
  display:inline-block;
  margin-top:10px;
}
