@charset "utf-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");

.wahl-series {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  color: #1d1e21;
  padding-bottom: 160px;
}

.wahl-series * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.wahl-series span {
  font-size: inherit;
}

.wahl-series img {
  max-width: 100%;
  height: auto;
}

.wahl-series a {
  transition: all 0.3s;
  text-decoration: none !important;
}

.wahl-series a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.wahl-series h2,
.wahl-series h3,
.wahl-series h4 {
  line-height: 1.4;
  font-weight: bold;
}

.fz12 {
  font-size: 12px !important;
}

.fz14 {
  font-size: 14px !important;
}

.fz15 {
  font-size: 15px !important;
}

.fz16 {
  font-size: 16px !important;
}

.fz18 {
  font-size: 18px !important;
}

.fz20 {
  font-size: 20px !important;
}

.fz22 {
  font-size: 22px !important;
}

.fz24 {
  font-size: 24px !important;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb80 {
  margin-bottom: 80px;
}

.mb100 {
  margin-bottom: 100px;
}

.inner {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0 15px;
}

.bold {
  font-weight: bold;
}

.t-center {
  text-align: center;
}

.sp-only {
  display: none;
}

.bg-gray {
  background-color: #f5f5f5;
}

.title1 {
  font-size: 28px;
  font-family: "Noto Serif JP", serif;
  text-align: center;
}

.title1__sub {
  display: block;
  font-size: 16px !important;
  margin-bottom: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 275px;
  height: 60px;
  background-color: #1d1e21;
  color: #fff !important;
  border-radius: 4px;
  font-weight: bold;
  position: relative;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
  &::before {
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }
  &.btn--purple {
    background-color: #282f72;
    &::before {
      content: "\f054";
    }
  }
  &.btn--large {
    max-width: 350px;
    font-size: 16px;
  }
}

.btn:hover {
  text-decoration: none;
  opacity: 0.7;
}

.about {
  padding: 80px 0;
  .about-title {
    text-align: center;
    background-color: #000;
    color: #fff;
    font-weight: bold;
    padding: 7px 10px 9px;
  }
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  &.about-flex--reverse {
    flex-direction: row-reverse;
  }
  .img {
    width: 450px;
    flex-shrink: 0;
  }
}

.item-type {
  .item-type__title {
    max-width: 700px;
    border-bottom: 2px solid #000;
    position: relative;
    padding-bottom: 30px;
    margin: 0 auto 70px;
    display: flex;
    align-items: center;
    gap: 40px;
    &::after {
      content: "";
      width: 22px;
      height: 12px;
      background-color: #000;
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translate(-50%, 100%);
      clip-path: polygon(0 0, 100% 0, 50% 100%);
    }
  }
}

.box {
  padding: 30px 50px 40px;
}

.item-box {
  padding: 30px 40px;
  border-radius: 10px;
  background-color: #fff;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 30px;
  .label {
    background-color: #ff5100;
    color: #fff;
    border-radius: 2px;
    padding: 0 10px 1px;
    font-size: 14px;
    width: fit-content;
    margin-bottom: 5px;
  }
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.column3 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  .column3__item {
    width: 280px;
  }
}

.book-box {
  background-color: #f0f7ff;
  padding: 50px;
  display: flex;
  gap: 50px;
}

.insta-box {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 10px;
  border: 3px solid #000;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 30px 60px;
  .txt {
    text-align: center;
    font-weight: 900;
    h3 {
      font-weight: 900;
      border-bottom: 1px solid #000;
      padding-bottom: 8px;
      margin-bottom: 10px;
    }
  }
}

@media screen and (max-width: 768px) {
  .wahl-series {
    font-size: 15px;
    padding-bottom: 100px;
  }

  .wahl-series span {
    font-size: inherit;
  }

  .sp-only {
    display: block;
  }

  .pc-only {
    display: none;
  }

  .title1,
  .title2 {
    font-size: 20px;
  }

  .fz24,
  .fz22,
  .fz20 {
    font-size: 18px !important;
  }

  .fz18 {
    font-size: 16px !important;
  }

  .about {
    padding: 60px 0;
  }

  .about-flex {
    flex-direction: column;
    gap: 20px;
    &.about-flex--reverse {
      flex-direction: column;
    }
    .img {
      width: 100%;
      text-align: center;
    }
  }

  .item-type {
    .item-type__title {
      flex-direction: column;
      gap: 20px;
    }
  }

  .box {
    padding: 40px 15px 20px;
  }

  .item-box {
    padding: 20px 15px;
    border-radius: 5px;
    grid-template-columns: 1fr;
    gap: 20px;
    .img {
      width: 100%;
      text-align: center;
    }
  }

  .btn-wrap {
    flex-direction: column;
    align-items: center;
  }

  .column3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    .column3__item {
      width: 100%;
      .btn {
        margin: 0 auto;
      }
    }
  }

  .book-box {
    padding: 20px 15px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .insta-box {
    flex-direction: column;
    gap: 20px;
    padding: 20px 15px;
  }
}
