@charset "utf-8";
/* CSS Document */

/**==================================================
 パンくず
================================================== **/
*[class*="breadcrumb"] {
  padding: 20px var(--base_width_half);
  font-size: 0.8em;
  letter-spacing: 0;
  color: var(--black);
  border: 1px solid var(--blue);
  border-left: none;
  border-right: none;
}

*[class*="breadcrumb"] p {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 10px;
  line-height: 1;
}

*[class*="breadcrumb"] a:first-of-type {
  font-family: var(--icons);
  line-height: 1;
}

*[class*="breadcrumb"] a {
  color: var(--blue);
}

*[class*="breadcrumb"] a,
*[class*="breadcrumb"] span:not(.separator) {
  --min-font: 12;
  --max-font: 13;

  opacity: 0.8;
}

/**================================================== 
 ページネーション
================================================== **/
.nav-links {
  position: relative;
  z-index: 5;
  display: flex;
  flex-flow: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin: 100px auto 80px;
  color: var(--blue);
  letter-spacing: 0;
}

.nav-links :is(span, a:not(.next, .prev)) {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 2em;
  height: 2em;
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: 50px;
}

.nav-links a:is(.next, .prev) {
  border-radius: 50px;
  padding: 0 15px;
}

.nav-links a:is(.next, .prev):hover {
  background: var(--blue);
  color: var(--white);
}

.nav-links :is(span, a:not(.next, .prev):hover) {
  background: var(--blue);
  color: var(--white);
}

@media screen and (max-width: 520px) {
  .nav-links {
    margin: 50px auto 40px;
  }

  .nav-links a:is(.next, .prev) {
    padding: 0 5px;
  }
}

/**================================================== 
カテゴリリンク
================================================== */
.catBtn {
  display: flex;
  flex-flow: wrap;
  gap: 20px;
  font-weight: bold;
  --c: var(--blue);
}

.catBtn h3 {
  min-width: 6em;
  --min-font: 18;
  --max-font: 20;
}

.catBtn a {
  position: relative;
  padding: 5px 40px;
  background: var(--Lgray);
  border-radius: 50px;
  --min-font: 18;
  --max-font: 20;
}

.catBtn a:hover,
.catBtn a.current {
  background: var(--c);
  color: var(--white);
}

.catBtn a:before {
  content: "arrow_forward";
  font-family: var(--icons);
  font-size: 1.2rem;
  display: inline-block;
  margin-right: 5px;
}

.catBtn+.catBtn {
  gap: 15px;
}

.catBtn+.catBtn a {
  padding: 5px 20px;
  background: var(--lightblue);
  border: none;
  color: var(--blue);
  --min-font: 13;
  --max-font: 15;
}

.catBtn+.catBtn a:hover,
.catBtn+.catBtn a.current {
  background: var(--blue);
  color: var(--white);
}

@media screen and (max-width: 520px) {
  .catBtn {
    margin: 0 0 50px;
    flex-flow: wrap;
    gap: 20px;
  }

  .catBtn+.catBtn {
    gap: 15px 25px;
  }
}

/**-----複数選択可-----**/
.refine {
  margin: 0 auto 60px;
}

.refine .catBtn {
  margin: 0 auto;
}

.refine .catBtn input {
  display: none;
}

.refine .catBtn label {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray);
  background: var(--black);
  padding: 5px 1.5em 5px 10px;
  text-align: center;
  position: relative;
}

.refine .catBtn label:before {
  display: block;
  width: 1em;
  content: "";
  font-family: var(--icons);
  line-height: 1;
}

.refine .catBtn label:hover,
.refine .catBtn input[type="checkbox"]:checked+label {
  background-color: var(--white);
  /* 背景色を変更 */
  color: var(--black);
}

.refine .catBtn input[type="checkbox"]:checked+label:before {
  content: "done";
  font-family: var(--icons);
}

.refine input[type="submit"] {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  width: fit-content;
  background: var(--gray);
  padding: 5px 30px;
  margin: 30px auto;
  border: 1px solid var(--white);
  border-radius: 50px;
}

/**================================================== 
 カテゴリシール
================================================== **/

.time {
  white-space: nowrap;
  --min-font: 13;
  --max-font: 14;
}

.cat_term {
  display: flex;
  align-items: center;
  flex-flow: wrap;
  gap: 5px;
}

.cat {
  display: inline-block;
  min-width: 100px;
  padding: 5px;
  border-radius: 3px;
  background: var(--c);
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  --min-font: 12;
  --max-font: 14;
  align-items: start;
}

.cattag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  --min-font: 12;
  --max-font: 14;
}

.cattag:before {
  content: "shoppingmode";
  font-family: var(--icons);
  line-height: 1;
}

.cat_term .cat {
  background: var(--c);
}

/**================================================== 
.smf-form
==================================================**/

form {
  display: block;
  width: 100%;
  margin: 40px auto;
  padding: 50px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 15px !important;
  margin: 5px 0 10px;
  background: var(--white);
  border: 1px solid var(--brown);
  border-radius: 5px;
  --min-font: 16;
  --max-font: 18;
}

form input[name="addpost"] {
  width: 10em;
}

form textarea {
  min-height: 10em;
}

form label {
  display: block;
  letter-spacing: 0;
}

form dl {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 0 0 30px;
}

form dl dt {
  width: 30%;
  padding: 20px;
  background: var(--Lgray);
  font-weight: bold;
  color: var(--brown);
}

form dl dt p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

form dl dd {
  flex: 1;
  padding-top: 6px;
}

form dl dd label {
  display: inline-block;
  padding: 3px 15px;
  margin-right: 15px;
  background: var(--Lgray);
  border-radius: 3px;
}

.smf-form {
  margin: var(--s) 5% 0;
  background: var(--white);
}

.smf-form a {
  color: var(--blue);
  text-decoration: underline;
}

.smf-form a:hover {
  text-decoration: none;
}

.smf-item__col--label {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 15px;
  background: var(--blue);
  color: var(--white);
  font-weight: bold;
  --_margin-2: 0;
}

.smf-item__description {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 3px 10px;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--pink);
  background-color: var(--white);
  border-radius: 50px;
}

.smf-item__col--controls {
  padding: 20px 15px 30px;
}

.smf-label {
  border: 1px solid var(--LLgray);
  padding: 10px 15px;
  margin: 0 0 5px;
  border-radius: 3px;
}

.smf-label:hover {
  background: var(--lightblue);
}

@media screen and (max-width: 1100px) {
  form {
    margin: 20px auto;
    padding: 0;
  }

  form dl {
    flex-flow: column;
    gap: 10px;
    margin: 0 0 30px;
  }

  form dl dt {
    width: 100%;
    padding: 10px 20px;
  }

  form dl dd {
    width: 100%;
  }

  .smf-form {
    margin: var(--s) 0 0;
  }

  .smf-item__col--controls {
    padding: 15px 0 0;
  }
}

/*==================================================
 プライバシーポリシー
==================================================*/

.c-form-privacy {
  height: 360px;
  margin: 50px 0 0;
  padding: 50px 35px;
  border: 1px solid var(--gray);
  text-align: left;
  overflow-y: auto;
}

form .agree {
  display: block;
  text-align: center;
  font-size: 1.1em;
}

@media screen and (max-width: 520px) {
  .c-form-privacy {
    margin: 20px 0 0;
    padding: 20px 15px;
  }

  form .agree {
    font-size: 1em;
  }
}

/*==================================================
 フォームボタン
==================================================*/
.smf-action .smf-button-control__control {
  -webkit-appearance: none;
  display: grid;
  align-items: center;
  min-width: 246px;
  width: fit-content;
  min-height: 54px;
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  color: var(--white);
  background-color: var(--blue);
  background-image: none;
  border: 1px solid var(--blue);
  border-radius: 50px;
}

/*==================================================
 記事出力
==================================================*/
.post_free :is(h1, h2, h3, h4, h5, h6) {
  margin: 50px 0;
  font-weight: bold;
  color: var(--blue);
}

.post_free h1 {
  --min-font: 20;
  --max-font: 36;
}

.post_free h2 {
  --min-font: 18;
  --max-font: 32;
  position: relative;

  background: linear-gradient(to right, var(--blue), var(--skyblue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.post_free h2:after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  margin-top: 30px;
  background: linear-gradient(to bottom, var(--blue) 0%, var(--skyblue) 100%);
}

.post_free h3 {
  --min-font: 18;
  --max-font: 26;
  padding: 5px 0 5px 20px;
  border-left: 2px solid var(--blue);
}

.post_free h4 {
  --min-font: 16;
  --max-font: 22;
  display: flex;
  align-items: center;
  gap: 15px;
}

.post_free h4:before {
  content: "";
  width: 40px;
  height: 1px;
  border-bottom: 2px solid var(--blue);
}

.post_free h5 {
  --min-font: 16;
  --max-font: 22;
}

.post_free h6 {
  --min-font: 16;
  --max-font: 18;
}

.post_free strong {
  font-weight: bold;
  background: linear-gradient(transparent 55%, var(--yellow) 45%);
}

.post_free em {
  font-style: italic;
}

.post_free a {
  text-decoration: underline;
  color: var(--blue);
}

.post_free a:hover {
  text-decoration: none;
}

.post_free img {
  max-width: var(--base_minwidth);
  margin: 30px 0;
}

.post_free hr {
  height: 1px;
  background: var(--gray);
  border: none;
  margin: 20px auto;
}

.post_free p {
  line-height: 1.8;
  letter-spacing: 0.3rem;
}

.post_free ul {
  list-style-type: disc;
  margin-left: 2em;
  padding: 15px 0;
}

.post_free ol {
  list-style-type: decimal;
  margin-left: 2.5em;
  padding: 15px 0;
}

.post_free blockquote {
  background: var(--Lgray);
  padding: 30px;
  border-left: 1px solid var(--blue);
}

.post_free table {
  border-top: 1px solid var(--gray);
  border-left: 1px solid var(--gray);
  margin: 15px 0;
  letter-spacing: 0;
}

.post_free table th {
  font-weight: bold;
}

.post_free table :is(th, td) {
  border-bottom: 1px solid var(--gray);
  border-right: 1px solid var(--gray);
  padding: 10px;
}

@media screen and (max-width: 520px) {
  .post_free :is(h1, h2, h3, h4, h5, h6) {
    margin: 30px 0;
  }
}

/*--END media max-width--*/

/*==================================================
目次
==================================================*/
.post_pagemap {
  background: var(--lightblue);
  border: 1px solid var(--blue);
  border-radius: 10px;
  margin: 60px auto;
  color: var(--black);
  letter-spacing: 0;
  overflow: hidden;
}

.post_pagemap p {
  font-weight: bold;
  background: var(--blue);
  color: var(--white);
  margin: 0;
  padding: 15px 30px;
  --fzrem: 1.8rem;
}

.post_pagemap>ol {
  padding: 30px;
  display: flex;
  flex-flow: column;
  gap: 15px;
  margin: 15px 1em;
}

.post_pagemap ol>li {
  position: relative;
  width: 100%;
  padding: 0 0 0 1em;
  counter-increment: li;
}

.post_pagemap ol>li:before {
  position: absolute;
  top: 0;
  left: 0;
  content: counter(li) ".";
}

.post_pagemap ol>li>ol>li {
  counter-increment: li2;
}

.post_pagemap ol>li>ol>li:before {
  content: counter(li2) ".";
}

.post_pagemap ol a {
  text-decoration: underline;
}

.post_pagemap ol a:hover {
  text-decoration: none;
}

@media screen and (max-width: 520px) {
  .post_pagemap {
    margin: 40px auto 20px;
  }

  .post_pagemap>ol {
    padding: 10px;
    display: flex;
    flex-flow: column;
    gap: 15px;
    margin: 15px 0;
    margin-left: 1.5em;
  }

  .post_pagemap>ol ol {
    margin-left: 0;
  }
}

/*==================================================
 詳細記事ナビ
==================================================*/
.post_nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 150px;
  margin: 100px auto 0;

  color: var(--blue);
  letter-spacing: 0;
}

.post_nav a {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 20px;
  background: var(--lightblue);
  border-radius: 3px;
}

.post_nav a.nav-prev:before {
  content: "«";
}

.post_nav a.nav-next:after {
  content: "»";
}

@media screen and (max-width: 520px) {
  .post_nav {
    flex-flow: column;
    gap: 0;
    margin: 100px auto 0;
    letter-spacing: 0;
  }

  .post_nav a.nav-prev {
    border-bottom: 3px solid var(--white);
  }
}

/*==================================================
 ブロック
==================================================*/
/*
  section-spacer-block
----------------------------------------*/
.space {
  height: var(--height_pc);
}

@media screen and (max-width: 520px) {
  .space {
    height: var(--height_sp);
  }
}

/*==================================================
 popup builder
==================================================*/
/* ポップアップコンテナ */
#popup-container {
  max-width: 400px !important;
  position: relative !important;
  width: 100%;
  margin: 0 auto;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  #popup-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 20px;
  }
}

/* ポップアップ画像 */
#popup-container__image {
  margin: 0;
}

#popup-container__image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ポップアップボタン */
#popup-container__button {
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
}

@media (max-width: 768px) {
  #popup-container__button {
    bottom: 1.7vw;
    gap: 1.1vw;
  }
}

#popup-container__button .wp-block-button {
  display: block;
  width: 80%;
  margin: 0 auto;
}

@media (max-width: 768px) {
  #popup-container__button .wp-block-button {
    width: 100%;
  }
}

#popup-container__button .wp-block-button a {
  font-size: 16px;
  padding: 10px 0;
  text-align: center;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: block;
}

@media (max-width: 768px) {
  #popup-container__button .wp-block-button a {
    font-size: 3.7vw;
    padding: 2.6vw 0;
  }
}

#popup-container__button .wp-block-button a:hover {
  /* transform: translateY(-2px); */
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); */
}

#popup-container__button .popup-btn-primary a {
  background-color: #a49053;
  color: #fff;
}

#popup-container__button .popup-btn-secondary a {
  background-color: #a94343;
  color: #fff;
}

#popup-container__button .popup-btn-secondary a span {
  display: inline-block;
  font-size: 0.9em;
  margin-top: 2px;
}

/* 閉じるボタン */
.popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 30px;
  height: 30px;
  background-color: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #666;
  transition: all 0.3s ease;
  z-index: 10000;
}

.popup-close:hover {
  background-color: #f0f0f0;
  border-color: #999;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .popup-close {
    top: -10px;
    right: -10px;
    width: 25px;
    height: 25px;
    font-size: 16px;
  }
}