section {
  margin: 100px auto;
}
.cl-blue {
  color: #58ADCA;
}
.mod_btn01 {
  width: fit-content;
  max-width: none;
  margin: 0;
  padding: 0.18rem 0.1rem 0.18rem 0.2rem;
}
.mod_btn01 > span {
  font-size: 16px;
  gap: 10px;
  justify-content: space-between;
}
.mod_btn01.cl-purple {
  background-color: #836497;
}
.mod_btn01.border:not(:hover) {
  background-color: #fff;
}
.mod_btn01.border {
  border: 1px solid #58ADCA;
}
.mod_btn01.border:hover {
  border-color: #343f55;
}
.mod_btn01.border:not(:hover) > span {
  color: #58ADCA;
}
.mod_btn01.border:not(:hover) span:after {
  border-color: #58ADCA;
}
.mod_btn01.sapporo  span:after {
  transform: rotate(135deg) translate(-5px, 0px) skew(-5deg, -5deg);
}

.howto-inner {
  box-sizing: border-box;
}
.howto-head {
  text-align: center;
}
.howto-head-title {
  font-size: 40px;
  font-weight: 700;
  line-height: calc(60/40);
}
.howto-head-text {
  margin-top: 30px;
  font-size: 16px;
  line-height: calc(28/16);
}
.howto-day {
  position: relative;
  padding-block: 80px;
  z-index: 1;
}
.howto-day.day2 {
  padding-bottom: 0;
}
.howto-day.day2::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 851px;
  height: 513px;
  background: url(/assets/image/howto-bg.webp) no-repeat top right / contain;
  z-index: -1;
}
.howto-day-title {
  font-size: 32px;
  font-weight: 700;
  line-height: calc(40/32);
  margin-bottom: 30px;
}
.howto-day-title + p {
  font-size: 16px;
  line-height: calc(28/16);
}
.howto-day.day1 {
  margin-top: 80px;
  background-color: #f5f5f5;
}
.howto-day-head .inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 45px;
}
.howto-day-head-date {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 199px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid #343f55;
  background-color: #fff;
  font-family: "Montserrat", system-ui;
  font-size: 42px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: capitalize;
}
.howto-day.day2 .howto-day-head-date {
  background-color: #f5f5f5;
}
.howto-day-btn {
  margin-top: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.howto-day-btn .mod_btn01:nth-child(1) {
  background-color: #ea7913;
}
.howto-day-btn .mod_btn01:nth-child(2) {
  background-color: #3999ed;
}
.howto-day-images {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 40px;
}
.howto-day-images figure {
  display: block;
  width: clamp(200px, calc(228 / 736 * 100%), 342px);
}
.howto-day-images figure img {
  width: 100%;
  vertical-align: bottom;
}
.howto-day-images figure figcaption {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: -0.01em;
}
.howto-day-images figure figcaption a {
  /* border-bottom: 1px solid currentColor; */
  text-decoration: underline;
  font-weight: 700;
}
.howto-day-images figure figcaption a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 5px;
  margin-left: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='レイヤー 2' viewBox='0 0 12.57 7.29'%3E%3Cpath d='M12.07.5 6.29 6.29.5.5' style='fill:none;stroke:%2358adca;stroke-miterlimit:10;stroke-width:2.42px'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
  transform: rotate(-90deg);
}
.howto-day-images figure figcaption a:not([target="_blank"])::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 5px;
  margin-left: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' data-name='レイヤー 2' viewBox='0 0 12.57 7.29'%3E%3Cpath d='M12.07.5 6.29 6.29.5.5' style='fill:none;stroke:%2358adca;stroke-miterlimit:10;stroke-width:2.42px'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}
.howto-day-col {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
  margin-top: 188px;
}
.howto-day.day2 .howto-day-col > img {
  order: 2;
}
.howto-day-col::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translate(-50%, -100%);
  width: 1px;
  height: 60px;
  background-color: #58ADCA;
}
.howto-day-col > img {
  width: calc(576 / 1080 * 100%);
}
.howto-day-col > div {
  width: calc(452 / 1080 * 100%);
}
.howto-day .time {
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
  padding: 5px 10px;
  color: #fff;
  background-color: #58ADCA;
  font-family: "Montserrat", system-ui;
  font-size: 16px;
  font-weight: 500;
  transform: translateY(0.05em);
}
.howto-day .time .time-colon {
  display: inline-block;
  margin-left: 0.16em;
  margin-right: 0.10em;
  transform: translateY(-0.05em);
}
.howto-day-col .mod_btn01 {
  display: block;
  min-width: 328px;
  margin-top: 20px;
}
.howto-sapporo {
  margin-top: 75px;
  padding: 80px 20px;
  text-align: center;
  background-color: #e5eff2;
}
.howto-sapporo-title {
  font-size: 24px;
  font-weight: 700;
}
.howto-sapporo a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(85%, 618px);
  margin: 25px auto 0;
  transition: opacity 0.3s ease;
}
.howto-sapporo a:hover {
  opacity: 0.7;
}
.howto-sapporo a img {
  width: 100%;
  vertical-align: bottom;
}

@media (min-width: 768px) {
  .howto-inner {
    max-width: calc(1080px + 0.5rem);
    padding-inline: 0.25rem;
    margin-inline: auto;
    box-sizing: border-box;
  }
}

@media (max-width: 850px) {
  .howto-day.day2::before {
    width: 760px;
  }
}

@media (max-width: 767px) {
  section {
    margin: 50px auto;
  }
  .mod_btn01 {
    width: 100%;
  }
  .mod_btn01 > span {
    justify-content: center;
  }
  .howto-inner {
    padding-inline: 20px;
  }
  .howto-head-title {
    font-size: 24px;
  }
  .howto-head-text {
    margin-top: 15px;
    font-size: 14px;
  }
  .howto-day {
    padding-block: 60px;
    overflow-x: clip;
  }
  .howto-day.day1 {
    margin-top: 60px;
  }
  .howto-day.day2::before {
    width: 375px;
  }
  .howto-day-head .inner {
    flex-direction: column;
    justify-content: center;
  }
  .howto-day-head-date {
    width: 120px;
    font-size: 25px;
  }
  .howto-day-title {
    font-size: 24px;
  }
  .howto-day-title + p {
    font-size: 14px;
  }
  .howto-day-col {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 120px;
  }
  .howto-day-col::before {
    height: 40px;
    top: -40px;
  }
  .howto-day-images {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .howto-day-images figure {
    width: 100%;
    text-align: center;
  }
  .howto-day-images figure img {
    width: min(calc(300 / 375 * 100vw), 400px);
  }
  .howto-day-col > img {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
    max-width: none;
    order: 2;
  }
  .howto-day-col > div {
    width: 100%;
  }
  .howto-sapporo {
    margin-top: 60px;
    padding: 60px 20px;
  }
  .howto-sapporo-title {
    font-size: 18px;
  }
}

@media (min-width: 375px) and (max-width: 767px) {
  .howto-day-title {
    min-width: 336px;
  }
}

@media (max-width: 374px) {
  .mod_btn01,
  .howto-day-col .mod_btn01 {
    min-width: auto;
    width: 100%;
  }
}
