@charset "UTF-8";

@media screen and (max-width: 768px) {
  .fv {
    background-size: 190px;
  }

  .fv-illust {
    width: 45%;
  }

  .fv-container {
    padding: 40px 5% 60px;
  }

  .fv-ttl {
    width: 100%;
  }

  .fv-copy {
    font-size: 2rem;
  }

  .anchor-wrap {
    padding: 60px 5% 20px;
  }

  .anchor-wrap ul {
    flex-direction: column;
    gap: 18px;
  }

  .item {
    background-size: 100px;
  }

  .item-intro {
    padding: 60px 5%;
  }

  .item-intro::before,
  .item-intro::after {
    top: -22%;
    bottom: unset;
    width: 20%;
    background-size: contain;
  }

  .item-intro p {
    font-size: 2.2rem;
  }

  .item-list {
    padding: 0 5%;
  }

  .item-list::before {
    left: -4%;
    width: 11%;
  }

  .item-list::after {
    right: -4%;
    width: 11%;
  }

  .item-inner {
    flex-direction: column;
  }

  .item-group {
    width: 100%;
    margin-bottom: 20px;
  }

  .item-group > small {
    display: block;
    text-align: center;
    margin-top: 12px;
    opacity: 0.6;
  }

  .item-group p {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 20px;
    line-height: 1.8em;
  }

  .item-group h3 span {
    display: block;
    font-size: 4rem;
    text-align: center;
  }

  .item-group h3 span br {
    display: none;
  }

  .item-grid {
    gap: 2vw;
    width: 100%;
  }

  .item-ttl {
    max-width: 210px;
    margin-inline: auto;
  }

  .note {
    padding: 40px 5% 0;
  }

  .note p {
    font-size: 1.4rem;
  }

  .item-modal {
    flex-direction: column;
    width: 90%;
    max-height: 94%;
    padding: 0 5%;
    overflow: scroll;
  }

  .item-modal.open {
    gap: 20px;
    padding: 5%;
  }

  .item-detail {
    gap: 8px;
  }

  .item-info dt {
    font-size: 1.2rem;
    padding: 2px 4px;
  }

  .item-info dd {
    font-size: 1.2rem;
  }

  .item-detail h3 {
    font-size: 1.8rem;
  }

  .item-detail > span {
    font-size: 2rem;
  }

  .item-detail p {
    font-size: 1.4rem;
  }

  .item-img {
    width: 100%;
  }

  .item-detail {
    width: 100%;
  }

  .item-logo {
    height: 100px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 768px) {
  .item-intro::before,
  .item-intro::after {
    content: none;
  }
}
