@charset "utf-8";

/* ======================
beginner
====================== */
.beginner {
  padding-top: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
  padding-bottom: clamp(5.1875rem, 3.729rem + 3.038vw, 7.375rem);
  background-color: #fff;
}
.beginner__inner {
  padding-right: clamp(1.25rem, -9.917rem + 23.264vw, 18rem);
  padding-left: clamp(1.25rem, -9.917rem + 23.264vw, 18rem);
}
.beginner__container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.beginner__title {
  align-self: flex-start;
  width: fit-content;
  font-size: clamp(1.25rem, 0.75rem + 1.042vw, 2rem);
  font-weight: 500;
  line-height: clamp(2.5rem, 2.25rem + 0.521vw, 2.875rem);
  color: #1d1d1d;
}
.beginner__title-line {
  position: relative;
  display: block;
  width: fit-content;
  z-index: 0;
}
.beginner__title-line::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.08em;
  width: 100%;
  height: clamp(0.3125rem, 0.146rem + 0.347vw, 0.5625rem);
  background: linear-gradient(
    90deg,
    #171750 0%,
    rgba(70, 96, 163, 0.6) 57%,
    rgba(70, 96, 163, 0) 100%
  );
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1s ease;
  z-index: -1;
}
.beginner__title.is-show .beginner__title-line::after {
  transform: scaleX(1);
}
.beginner__text {
  margin-top: clamp(1.5rem, 0.542rem + 1.997vw, 2.9375rem);
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  font-weight: 500;
  line-height: 2;
  color: #1d1d1d;
}

/* ======================
point
====================== */
.point {
  position: relative;
  padding-top: clamp(3.75rem, 2.917rem + 1.736vw, 5rem);
  padding-bottom: clamp(5rem, 3.333rem + 3.472vw, 7.5rem);
  background-color: #4a4a4a;
  background-image: url("https://rkw.co.jp/system_panel/uploads/images/beginner1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 74, 74, 0.7);
  pointer-events: none;
  z-index: 0;
}
.point__inner {
  position: relative;
  padding: 0 clamp(1.25rem, -11.036rem + 19.2vw, 12rem);
  z-index: 1;
}
.point__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.point__sub {
  font-size: clamp(0.875rem, 0.708rem + 0.347vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
.point__main {
  margin-top: clamp(0.625rem, 0.417rem + 0.434vw, 0.9375rem);
  font-size: clamp(1.5rem, 0.833rem + 1.389vw, 2.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}
.point__items {
  display: grid;
      column-gap: 10px;
  row-gap: 40px;
    grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: clamp(2.5rem, 1.25rem + 2.604vw, 4.375rem);
}
.point__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.point-item__icon {
  width: clamp(7.8125rem, 4.604rem + 6.684vw, 12.625rem);
  height: auto;
}
.point-item__top {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: clamp(0.875rem, 0.458rem + 0.868vw, 1.5rem);
}
.point-item__check {
  flex-shrink: 0;
  width: clamp(1.0625rem, 0.896rem + 0.347vw, 1.3125rem);
  height: auto;
}
.point-item__title {
  font-size: clamp(0.875rem, 0.446rem + 0.67vw, 1.25rem);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
}
.point-item__text {
  margin-top: clamp(0.75rem, 0.667rem + 0.174vw, 0.875rem);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.75rem, 0.464rem + 0.45vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.5rem, 1.333rem + 0.347vw, 1.75rem);
  color: #fff;
  text-align: center;
}

@media (max-width: 1023px) {
  .point__items {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
  .point-item__title {
    font-size: 18px;
  }
  .point-item__text {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .point__sub {
    font-weight: 500;
  }
  .point__items {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 374px) {
  .point-item__title {
    font-size: 16px;
  }
}

/* ======================
flow
====================== */
.flow {
  padding-top: clamp(3.75rem, 1.25rem + 5.208vw, 7.5rem);
  padding-bottom: clamp(5rem, 3.333rem + 3.472vw, 7.5rem);
  background-color: #fff;
}
.flow__inner {
  padding-right: clamp(1.25rem, -14.458rem + 32.726vw, 24.8125rem);
  padding-left: clamp(1.25rem, -14.458rem + 32.726vw, 24.8125rem);
}
.flow__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.flow .title1 {
  margin-bottom: clamp(2.5rem, 1.667rem + 1.736vw, 3.75rem);
}
.flow .title1__top--center {
  justify-content: center;
}
.flow__items {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}
.flow__item {
  display: flex;
  align-items: stretch;
  width: 100%;
  background-color: #efefef;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.flow-item__left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding-top: clamp(1.5625rem, 0.062rem + 3.125vw, 3.8125rem);
  padding-right: clamp(1.25rem, -0.833rem + 4.34vw, 4.375rem);
  padding-bottom: clamp(1.5625rem, 0.062rem + 3.125vw, 3.8125rem);
  padding-left: clamp(1.25rem, -0.833rem + 4.34vw, 4.375rem);
}
.flow-item__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.3125rem, 0.188rem + 0.26vw, 0.5rem);
}
.flow-item__number {
  position: relative;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.5rem, 0.833rem + 1.39vw, 2.5rem);
  font-weight: 500;
  line-height: 1.5;
  color: #363d9b;
}
.flow-item__number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: clamp(2.125rem, 1.958rem + 0.347vw, 2.375rem);
  height: 2px;
  background-color: #373d9c;
}
.flow-item__main {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(1.25rem, 0.75rem + 1.042vw, 2rem);
  font-weight: 500;
  line-height: 1.5;
  color: #363d9b;
}
.flow-item__text {
  margin-top: clamp(1.375rem, 0.958rem + 0.868vw, 2rem);
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.5rem, 1.333rem + 0.347vw, 1.75rem);
  color: #1d1d1d;
}
.flow-item__right {
  flex-shrink: 0;
  width: 34.724%;
  max-width: 391px;
  aspect-ratio: 391 / 353;
}
.flow-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ======================
faq
====================== */
.faq {
  padding-top: clamp(3.75rem, 2.083rem + 3.472vw, 6.25rem);
  padding-bottom: clamp(3.75rem, 0.417rem + 6.944vw, 8.75rem);
  background-color: #fff;
}
.faq__inner {
  padding-right: clamp(1.25rem, -9.917rem + 23.264vw, 18rem);
  padding-left: clamp(1.25rem, -9.917rem + 23.264vw, 18rem);
}
.faq__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.faq .title1 {
  margin-bottom: clamp(2.5rem, 0.833rem + 3.472vw, 5rem);
}
.faq .title1__top--center {
  justify-content: center;
}
.accordion {
  width: 100%;
}
.accordion-header {
  position: relative;
  margin-top: clamp(2.5rem, 1.667rem + 1.736vw, 3.75rem);
  padding-right: clamp(1.875rem, 0.833rem + 2.17vw, 3.438rem);
  padding-bottom: clamp(0.75rem, 0.583rem + 0.347vw, 1rem);
  border-bottom: 1px solid #1d1d1d;
  cursor: pointer;
}
.accordion-header:first-child {
  margin-top: 0;
}
.accordion-header::before,
.accordion-header::after {
  position: absolute;
  content: "";
  top: clamp(0.625rem, 0.417rem + 0.434vw, 0.938rem);
  right: clamp(0rem, -1.458rem + 3.038vw, 2.188rem);
  width: clamp(0.875rem, 0.625rem + 0.521vw, 1.25rem);
  height: 1px;
  background: #1d1d1d;
}
.accordion-header::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}
.accordion-header.active::after {
  transform: rotate(0deg);
}
.accordion-header h3 {
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(0.875rem, 0.625rem + 0.521vw, 1.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: #1d1d1d;
}
.accordion-content {
  display: block;
  padding-top: clamp(0.625rem, -0.208rem + 1.736vw, 1.875rem);
}
.accordion-content p {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.875rem, 0.792rem + 0.174vw, 1rem);
  font-weight: 400;
  line-height: clamp(1.5rem, 1.375rem + 0.26vw, 1.688rem);
  color: #1d1d1d;
}

@media (max-width: 767px) {
  .flow__items {
    max-width: 500px;
  }
  .flow__item {
    flex-direction: column-reverse;
  }
  .flow-item__left {
    padding-top: 25px;
    padding-right: 20px;
    padding-bottom: 40px;
    padding-left: 20px;
  }
  .flow-item__text {
    font-size: 14px;
  }
  .flow-item__right {
    width: 100%;
    max-width: none;
    aspect-ratio: 335 / 180;
  }
  .accordion-header h3 {
        font-size: 18px;
    text-indent: -20px;
    margin-left: 20px;
  }
  .accordion-content {
    padding-left: 20px;
  }
}

@media (max-width: 413px) {
  .flow-item__text {
    font-size: 12px;
  }
}

@media (max-width: 374px) {
  .flow-item__title {
    flex-direction: column;
  }
  .flow-item__number {
    font-size: 28px;
  }
  .flow-item__main {
    font-size: 18px;
  }
  .accordion-header h3 {
        font-size: 16px;
  }
}