@charset "utf-8";

/* 〜1200px */
@media screen and (max-width: 1200px) {
  section {
    margin-bottom: 150px;
  }
  .contents {
    width: calc(100% - 10%);
  }
}

/* 〜950px */
@media screen and (max-width: 950px) {
  .benefits-list {
    display: block;
  }
  .benefits-item {
    display: flex;
    align-items: center;
  }
  .benefits-item dt img {
    width: 100%;
    max-width: 60px;
  }
}
/* 〜780px */
@media screen and (max-width: 780px) {
  html {
    font-size: 90%;
  }

  .sp-only {
    display: block;
  }

  section {
    /* padding: 1.5em 1em; */
    margin-bottom: 60px;
  }

  section::before {
    width: 50px;
    height: 50px;
    top: -20px;
    right: -10px;
  }

  h2.heading2 {
    font-size: 1.4rem;
    /* white-space: nowrap; */
  }
  h3 {
    font-size: 1.2em;
  }
  .heading3-schedule {
    width: 100%;
    max-width: 400px;
    font-size: 1.0rem;
  }

  .theme-name {
    font-size: 1.6rem;
  }
  .present {
    width: 100%;
    max-width: 300px;
    margin-bottom: 3rem;
    margin: 0 auto;
  }
  .kazahaya-disc {
    margin-top: 4em;
  }
  .under-line-blue {
    font-size: 1.6rem;
  }
  .entry-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4em;
    box-sizing: border-box;
  }

  .entry-steps li {
    width: 100%;
    max-width: 400px;
  }

  #schedule dl div {
    display: flex;
    flex-direction: column;
  }
  #schedule dt {
    width: 100%;
  }
  #schedule dd {
    width: 100%;
  }
  .under-line::before {
    bottom: 0.4em;
  }
}

/* 〜600px：h2見出し装飾の調整 */
@media screen and (max-width: 600px) {
  h2.heading2::after {
    top: -16px;
    left: 8%;
    font-size: 60px;
  }
    h3 {
    font-size: 1.0em;
  }
  .treat:before {
    margin-right: 16px;
    transform: rotate(-45deg);
  }
  .treat:after {
      margin-left: 16px;
      transform: rotate(45deg);
  }
  .benefits-item dt img {
    max-width: 50px;
  } 
  .benefits-item dd {
    font-size: 1.0rem;
  }
  .benefits-item span {
    font-size: 1.8rem;
  }
}

/* 〜400px：さらに見出しサイズ調整 */
@media screen and (max-width: 400px) {
  h2.heading2 {
    font-size: 1.2rem;
  }
  h2.heading2::after {
    top: -15px;
    left: 16%;
    font-size: 50px;
  }

  .heading3-schedule {
    font-size: 0.8rem;
    /* white-space: nowrap; */
  }
}
