/*
Theme Name: saloot
Version: 1.0
Description: saloot.jp専用WordPressテーマ
*/

img {
  height: auto;
}

.uppercase {
  text-transform: uppercase;
}

#top_visual img {
  height: auto;
}

#gnav .current-menu-item a {
  color: #6d1476;
  opacity: 1;
}
#gnav .current-menu-item a::before {
  width: 40px;
}

/* post contents body style */
.detail p,
.post-content-body p {
  margin: 0 0 2em;
  line-height: 1.6;
}
.post-content-body h2 {
  padding: 2em 0 0;
  margin-bottom: 4em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.post-content-body h2::before {
  position: absolute;
  display: block;
  content: "";
  background: #ccc;
  height: 1px;
  width: 100%;
  left: 0;
  z-index: 1;
}
.post-content-body h2 > span {
  position: relative;
  display: inline-block;
  background: #fff;
  z-index: 1;
  padding-right: 5px;
  max-width: 70%;
  font-size: 130%;
  font-weight: 500;
  line-height: 1.4;
}
.post-content-body .wp-block-image {
  margin: 0 0 2em;
  text-align: center;
  overflow: hidden;
}
.post-content-body .wp-block-image img {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.post-content-body ul:not(.toc_list):not(.check):not(.circle),
.post-content-body ol:not(.toc_list):not(.check):not(.circle) {
  background: #f5f5f5;
  padding: 2em 30px 1em;
  margin: 0 0 2em;
}
.post-content-body ul:not(.toc_list):not(.check):not(.circle) li,
.post-content-body ol:not(.toc_list):not(.check):not(.circle) li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1em;
}
.post-content-body ul:not(.toc_list):not(.check):not(.circle) li:before {
  content: "・";
  padding-right: 0.5em;
}
.post-content-body ol:not(.toc_list):not(.check):not(.circle) {
  counter-reset: item;
}
.post-content-body ol:not(.toc_list):not(.check):not(.circle) li:before {
  counter-increment: item;
  content: counter(item) ".";
  padding-right: 0.5em;
}

/* table of content plus  */
#toc_container {
  border: 1px solid #ddd;
  padding: 30px;
  margin-bottom: 2em;
}
.toc_title {
  margin: 0 !important;
  font-weight: bold;
  font-size: 120%;
  position: relative;
  cursor: pointer;
}
.toc_title::before,
.toc_title::after {
  content: "";
  width: 10px;
  height: 2px;
  background: #111;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translate(0, -50%);
  transition: 0.3s;
}
.toc_title::after {
  width: 2px;
  height: 10px;
  right: 14px;
  opacity: 0;
}
.toc_title.open::after {
  opacity: 1;
}
.toc_list {
  padding: 2em 0 0;
}
.toc_list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1em;
}
.toc_list li::before {
  content: "";
  width: 1em;
  height: 1em;
  background: url(./img/common/down.png) no-repeat center center/contain;
  display: inline-block;
  margin: 0 10px 0 0;
  flex: 0 1 1em;
}
.toc_list li > * {
  flex: 1 0 0;
}

/* WP-PageNavi */
.wp-pagenavi {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  padding: 0 20px 60px;
  box-sizing: border-box;
}
.wp-pagenavi > * {
  margin: 0 20px;
}
.wp-pagenavi span,
.wp-pagenavi a {
  color: #999;
}
.wp-pagenavi .current {
  color: #111;
  font-weight: bold;
}

/* post type "page" */
.whatssaloot #area01 img {
  height: auto;
}
.whatssaloot #area01 .box02 {
  flex-flow: row-reverse nowrap;
}
@media screen and (max-width: 768px) {
  .whatssaloot #area01 .box02 {
    flex-flow: column;
  }
}

.single-content-body {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}
.single-content-body p {
  margin: 0 0 1.6em;
  line-height: 1.6;
}
body:not(.contact):not(.conf):not(.complete) .single-content-body h2 {
  text-align: center;
  font-size: 180%;
  margin: 0 0 70px;
  font-family: "Noto Serif JP", "Noto Serif KR", serif;
}
.single-content-body h3 {
  font-size: 120%;
  font-weight: bold;
  margin-bottom: 1.5em;
  line-height: 1.3;
}
.single-content-body p + h3 {
  margin-top: 2.7em;
}

/* form */
.form_text {
  margin-bottom:0 !important;
}
.form_box .mw_wp_form .error {
  display: block;
  color: red;
  padding: 10px;
  font-size: 100%;
}
.conf .form_box .mw_wp_form .error,
.conf .form_box .mw_wp_form em.required,
.conf .form_box .mw_wp_form em.any {
  display: none;
}
.conf .form_list dl dd {
  padding: 30px 20px;
}

.wp-block-embed-youtube {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}
.wp-block-embed-youtube iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
}
