@charset "utf-8";
/* *************************************** */
/* 【モバイル版】 */
/* *************************************** */

/* **********************【パンくず】********************** */
.breadcrumb-001 {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  z-index: 900;
  display: flex;
  gap: 0 12px;
  list-style: none;
  font-size: 0.75rem;
  margin: 8px;
  padding: 8px 16px;
  background-color: #00880a;
  border-radius: 20px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* 下スクロール時だけ表示 */
.breadcrumb-001.is-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.breadcrumb-001 li {
  display: flex;
  align-items: center;
}

.breadcrumb-001 li:first-child::before {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.breadcrumb-001 li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: 0.2em;
  height: 0.2em;
  margin-left: 8px;
  border-top: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
  content: "";
}

.breadcrumb-001 a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.7rem;
}

/* ***************************** */
/* header styles are defined in layout.css */
/* ***************************** */

header .social-icons a {
  margin-left: 8px;
}

header .social-icons img {
  width: 16px;
  height: 16px;
}

/* ページトップに戻るボタン */
.scroll-top {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background-color: #ff6e00;
  color: #ffffff;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 1000;
}

.scroll-top.is-visible {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* **********************【詳しくはこちらボタン】********************** */
.button-49 {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 220px;
  margin: 24px auto 32px;
  padding: 12px 20px;
  border: 2px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 2px #00880a;
  background-color: #00880a;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  font-family: "Zen Maru Gothic", sans-serif;
  transition: all 0.3s ease;
}

.button-49 a {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.button-49::after {
  transform: rotate(45deg);
  width: 4px;
  height: 4px;
  margin-left: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  content: "";
}

.button-49:hover,
.button-49:focus {
  background-color: #00a923;
  border-color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
  transform: translateY(-1px);
}

.button-49:active {
  transform: scale(0.98);
}

/* *************************************** */
/* 【PC版】 */
/* *************************************** */
@media (min-width: 769px) {
  /* **********************【パンくず】********************** */
  .breadcrumb-001 {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    z-index: 900;

    display: flex;
    gap: 0 22px;
    list-style: none;
    font-size: 0.9em;
    margin: 10px;
    padding: 10px 30px;
    background-color: #00880a; /* ←修正：下地を確保 */
    border-radius: 30px;

    /* ■スクロールで表示 */
    opacity: 0; /* ←初期は非表示 */
    transform: translateY(-10px);
    pointer-events: none; /* ←修正：非表示時に触れない */
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }
  /* 下スクロール時だけ表示 */
  .breadcrumb-001.is-show {
    opacity: 1; /* ←修正 */
    transform: translateY(0);
    pointer-events: auto; /* ←修正 */
  }

  .breadcrumb-001 li {
    display: flex;
    align-items: center;
  }

  .breadcrumb-001 li:first-child::before {
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 4px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23ffffff'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    content: "";
  }

  .breadcrumb-001 li:not(:last-child)::after {
    display: inline-block;
    transform: rotate(45deg);
    width: 0.3em;
    height: 0.3em;
    margin-left: 10px;
    border-top: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    content: "";
  }

  .breadcrumb-001 a {
    color: #ffffff;
    text-decoration: none;
  }

  /* <!-- *****************************【ナビ】***************************** --> */

  header .logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #23fc43;
    text-decoration: none;
  }

  header nav ul {
    list-style-type: none;
    display: flex;
    gap: 20px;
  }

  header nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    font-weight: bold;
  }

  header nav ul li a:hover {
    color: #ff6e00;
  }

  /* ***************************** */

  header .social-icons a {
    margin-left: 15px;
  }

  header .social-icons img {
    width: 24px;
    height: 24px;
  }

  /* ページトップに戻るボタン */
  .scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6e00;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: none; /* 初期状態では非表示 */
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
  }
  .scroll-top:hover {
    background-color: #fff;
    color: #ff6e00;
  }

  /* **********************【詳しくはこちらボタン】********************** */
  .button-49 {
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 250px; */
    width: 100%;
    max-width: 300px;
    margin: 0 auto 30px;
    padding: 0.9em 2em;
    border: 2px solid #fff;
    border-radius: 5px;
    box-shadow: 0 0 0 3px #00880a;
    background-color: #00880a;
    color: #fff;
    font-weight: 600;
    font-size: 1em;
    font-family: "Zen Maru Gothic", sans-serif;
  }

  .button-49::after {
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    margin-left: 10px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    content: "";
  }
}
