@charset "UTF-8";
.anchor {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2.4em;

  margin: 0 auto 7rem auto;
}

@media (max-width: 991px) {
  .anchor {
    grid-template-columns: 1fr;
  }
}

.anchor-link-wrap {
  padding: 0;
  margin: 0;

  position: sticky;
  top: 0;
  align-self: start;

  cursor: pointer;
}

@media (max-width: 991px) {
  .anchor-link-wrap {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1em;
  }
}

.anchor-link-wrap li {
  list-style: none;
}

.anchor-link {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 0.5em;
  align-items: center;
}

@media (max-width: 991px) {
  .anchor-link {
    grid-template-columns: auto;
  }
}

.anchor-link .arrow {
  position: relative;
  left: 0;
  display: inline-block;
  width: 35px;
  height: 3px;
  margin: 5.5px 0;
  border-radius: 9999px;
  background-color: #ddd;
  transition: left 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 991px) {
  .anchor-link .arrow {
    display: none;
  }
}

.anchor-link-wrap li:hover .arrow,
.anchor-link-wrap li.is-active .arrow {
  left: 0.8em;
  background-color: #eaac00;
}

.anchor-link .arrow::before,
.anchor-link .arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1.5px);
  right: 0;
  width: 12px;
  height: 3px;
  border-radius: 9999px;
  background-color: #ddd;
  transform-origin: calc(100% - 1.5px) 50%;
  transition: background-color 0.3s ease;
}

.anchor-link-wrap li:hover .arrow::before,
.anchor-link-wrap li:hover .arrow::after,
.anchor-link-wrap li.is-active .arrow::before,
.anchor-link-wrap li.is-active .arrow::after {
  background-color: #eaac00;
}

.anchor-link-wrap a {
  display: block;
  padding: 1em;
  text-decoration: none; /* デフォルトの下線を消す */
  color: inherit; /* テキストの色を親から継承 */
  border-left: 3px solid #ddd;
  transition: border-left 0.3s ease;
}

@media (max-width: 991px) {
  .anchor-link-wrap a {
    padding: 0.56em;
    border: 2px solid #eaac00;
    border-radius: 0.3rem;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-align: center;
  }
}

.anchor-link-wrap li:hover a,
.anchor-link-wrap li.is-active a {
  border-left: 3px solid #eaac00;
}

@media (max-width: 991px) {
  .anchor-link-wrap li:hover a,
  .anchor-link-wrap li.is-active a {
    background-color: #eaac00;
    border: 2px solid #eaac00;
    color: #fff;
  }
}

.anchor-link .arrow::before {
  transform: rotate(37.5deg);
}

.anchor-link .arrow::after {
  transform: rotate(-37.5deg);
}

.anchor-target {
  padding: 2.4em;
  background-color: #fff;
  border-radius: 0.8rem;
  margin-bottom: 3rem;
}

.cactus {
  max-width: 100%;
  width: 48px;
}

.anchor-target-heading {
  display: grid;
  justify-items: center;
  gap: 0.5em;
  margin-bottom: 2em;
}

.anchor-target-heading_line {
  display: grid;
  grid-auto-flow: column;
  gap: 0.5em;
}

.anchor-target-heading_line span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #eaac00;
}

.anchor-target-heading h3 {
  color: rgb(51, 51, 51);
  font-weight: bold;
  padding-bottom: 0;
}

.anchor-target-sub-heading {
  padding-bottom: 0.6em;
  margin-bottom: 0.8em;
  position: relative;
}

.anchor-target-sub-heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 2px;
  background-color: #eaac00;
  z-index: 2;
}

.anchor-target-sub-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: 1;
}

.anchor-target-btn {
  display: block;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  background-color: #eaac00;
  box-shadow: 0 4px 0 0 #b18128;
  border-radius: 100vh;
  padding: 0.5em 1em;
  width: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.anchor-target-btn:hover {
  margin-top: 3px;
  transform: translateY(4px);
  box-shadow: 0 0 0 0 #b18128;
  color: #fff;
}

.okuwaki-photo-wrap {
  display: grid;
  grid-auto-flow: column;
  justify-items: center;
  align-items: center;
  gap: 1em;
}

@media (max-width: 991px) {
  .okuwaki-photo-wrap {
    grid-auto-flow: row;
    gap: 1.5em;
  }
}

.okuwaki-photo {
  border-radius: 50%;
  box-shadow: 1px 1px 10px #888;
}
