/* 共通設定 */
html {
  font-size: 62.5%;
}

.inner {
  width: 85%;
  margin: 0 auto;
}

/* --------------------------------------------- */
/* ▼モバイルファースト (全環境に共通のデザイン) */
/* --------------------------------------------- */

/* header */
header {
  height: 65px;
  display: flex;
  align-items: center;
}
/* fv */
.fv {
  position: relative;
  height: auto;
  background: url("../images/AdobeStock_479729575 1.jpg");
  background-size: cover;

  p {
    background-color: #000;
    color: #fff;
    padding: 3px 15px;
    font-size: 1.6rem;

    &.band {
      width: fit-content;
    }
  }

  h1 {
    margin-top: 17px;
    font-size: 3.2rem;
    font-weight: 700;

    span {
      &.marker {
        background: linear-gradient(transparent 70%, #f7fd02 70%);
      }
      &.pink {
        color: #c7184b;
      }
    }
  }

  img {
    margin-top: 28px;
    width: 100%;
  }

  .cta {
    width: 100%;
    position: absolute;
    bottom: 0;
    a {
      width: 100%;
    }
    p {
      background-color: transparent;

      span {
        color: #f7fd02;
      }
    }
  }
}

/* cta */
.cta {
  background-color: #2e424c;
  padding: 30px 0 28px;
  p {
    color: #fff;
    text-align: center;
    font-size: 1.6rem;
  }
  a {
    span {
      color: #f7fd02;
    }
    p {
      border: 1px #fff solid;
      margin-top: 18px;
      padding: 27px 0;
      border-radius: 100px;
      background: linear-gradient(180deg, #f2953e 0%, #df5c44 100%);
      text-align: center;
      color: #fff;
      font-weight: 700;
      font-size: 1.8rem;
    }
  }
}

/* concept */
.concept {
  background: url("../images/background.jpg");
  background-size: cover;
  padding: 50px 0 65px;
  h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    span {
      background: linear-gradient(90deg, #c7184b 0%, #ffb93a 100%);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-size: 64px;
      font-weight: 500;
    }
    &::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      margin: 15px auto 27px;
      background-image: url("../images/line.svg");
      background-size: contain; /* 画像を要素に収める */
      background-repeat: no-repeat; /* 画像を繰り返さない */
    }
  }

  .txt1 {
    text-align: center;
  }
  .txt2 {
    margin-top: 24px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;

    span {
      color: #c7184b;
      background: linear-gradient(transparent 70%, #f7fd02 70%);
    }
  }
  .txt3 {
    margin-top: 40px;
    font-size: 1.6rem;
  }
  .txt4 {
    font-size: 1.6rem;
    font-weight: 500;
    span {
      color: #c7184b;
    }
  }

  .arrow {
    margin-top: 25px;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
  }

  ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    margin-top: 32px;
    row-gap: 20px;

    li {
      border-width: 0;
      display: flex;
      justify-content: center;
      width: 105px;
      height: 105px;
      background-color: #c7184b;
      border-radius: 100px;
      flex-direction: column;
      align-items: center;

      &:nth-of-type(3) {
        p {
          font-size: 1rem;
        }
      }
      img {
        width: 40px;
      }
      p {
        color: #fff;
        text-align: center;
        font-size: 1.6rem;
      }
    }
  }

  .why {
    position: relative;
    margin-top: 45px;
    border: 2px solid #ffb93a;
    border-radius: 10px;

    h2 {
      background-color: #f6f6f6;
      position: absolute;
      top: 0;
      left: 50%;
      transform: translate(-50%, -50%);
      white-space: nowrap;
      font-size: 2rem;
      font-weight: 700;
      width: fit-content;
    }

    p {
      padding: 40px;
      font-size: 1.6rem;
      font-weight: 500;
      span {
        color: #c7184b;
      }
    }
  }
}

/* point */
.point {
  padding: 54px 0 65px;
  background-color: #fff7ec;
  p {
    font-size: 1.6rem;
    text-align: center;
  }
  h1 {
    font-family: "Oswald", sans-serif;
    font-size: 6rem;
    font-weight: 400;
    background: linear-gradient(270deg, #ffb93a 0%, #c7184b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;

    span {
      font-size: 8.5rem;
      font-family: "din-condensed", sans-serif;
    }

    &::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      margin: 15px auto 27px;
      background-image: url("../images/line.svg");
      background-size: contain; /* 画像を要素に収める */
      background-repeat: no-repeat; /* 画像を繰り返さない */
    }
  }
  table {
    margin: 0 auto;
    tr {
      display: flex;
      flex-direction: column;
      margin: 20px 18px;
      margin: 0px 18px 30px;

      span {
        font-family: "din-condensed", sans-serif;
        font-size: 3rem;
        font-weight: 400;
      }
    }
    th {
      position: relative;
      height: 50px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 2rem;
      background-color: #c7184b;
      color: #fff;
      border-radius: 10px 10px 0px 0px;

      div {
        position: absolute;
        left: 17px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1;

        width: 34px;
        height: 34px;
        border-radius: 34px;
        background-color: #fff;
        color: #c7184b;
        font-size: 1.5rem;
        small {
          font-size: 0.7rem;
        }
      }
    }
    td {
      font-size: 1.6rem;
      background-color: #fff;
      border-radius: 0px 0px 10px 10px;
      padding: 25px 50px 35px;

      img {
        display: block;
        margin: 0 auto;
        max-width: 100%;
      }

      p {
        margin-top: 30px;
        text-align: left;
      }
    }
  }
}

/* ability */
.ability {
  padding: 60px 0 75px;
  background: url("../images/background.jpg");
  background-size: cover;

  p {
    font-size: 1.6rem;
    text-align: center;
  }
  h1 {
    font-family: "Oswald", sans-serif;
    font-size: 6rem;
    font-weight: 400;
    text-align: center;
    background: linear-gradient(270deg, #ffb93a 0%, #c7184b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    &::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      margin: 15px auto 27px;
      background-image: url("../images/line.svg");
      background-size: contain; /* 画像を要素に収める */
      background-repeat: no-repeat; /* 画像を繰り返さない */
    }
  }
  .ability_wrapper {
    display: flex;
    justify-content: center;
  }
  ul {
    margin-top: 27px;
    justify-items: center;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 30px;
    column-gap: 30px;
    li {
      border-width: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      background-color: #c7184b;
      width: 150px;
      height: 150px;
      border-radius: 150px;
      p {
        color: #fff;
      }
    }
  }
}

/* flow */
.flow {
  padding: 50px 0 75px;
  background: url("../images/background.jpg");
  background-size: cover;

  p {
    font-size: 1.6rem;
    text-align: center;
    color: #232323;

    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
  }
  h1 {
    font-family: Oswald;
    font-size: 6rem;
    font-weight: 400;
    background: linear-gradient(270deg, #ffb93a 0%, #c7184b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;

    &::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      margin: 15px auto 27px;
      background-image: url("../images/line.svg");
      background-size: contain; /* 画像を要素に収める */
      background-repeat: no-repeat; /* 画像を繰り返さない */
    }
  }

  .step {
    li {
      position: relative;
      border: 1px #f2953e solid;
      border-radius: 5px;
      padding: 27px 0 28px;
      margin-top: 30px;
      .step_number {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.5rem;
        width: 34px;
        height: 34px;
        background-color: #f2953e;
        border-radius: 34px;
        color: #fff;
        .step_number_font_s {
          font-size: 0.7rem;
        }
      }

      h2 {
        font-size: 2rem;
        text-align: center;
        font-weight: 500;
      }
    }
  }
  img {
    display: flex;
    margin: 20px auto;
  }
}

/* Q&A */
.QA {
  padding: 54px 0 50px;
  background-color: #fff7ec;
  h1 {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
  }
  dl {
    margin-top: 38px;
    font-size: 1.4rem;
    .qa_list_answer {
      display: none;
    }
    .qa_list_answer.is-open {
      display: flex;
    }
    dt {
      position: relative;
      padding: 20px 20px 20px 0;
      display: flex;
      border-top: 1px #9d9d9d solid;

      span.en {
        margin: 0 17px 0 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        border-radius: 30px;
        color: #fff;
        background-color: #000;
      }

      .crossBar {
        width: 21px;
        height: 21px;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);

        &::before {
          content: "";
          display: inline-block;
          width: 3px;
          height: 100%;
          background-color: #9d9d9d;
          position: absolute;
          top: 0;
          left: 50%;
          transform-origin: center center; /* 中心を基準にtransform */
          transform: translateX(-50%) rotate(0deg);
          transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
        }
        &::after {
          content: "";
          display: inline-block;
          width: 100%;
          height: 3px;
          background-color: #9d9d9d;
          position: absolute;
          top: 50%;
          left: 0;
          transform: translateY(-50%);
        }
      }
      &.is-open .crossBar::before {
        transform: translateX(-50%) rotate(90deg); /* 90度回転 */
      }
    }
    dt:last-of-type {
      border-bottom: 1px #9d9d9d solid;
    }
    dd {
      background-color: #fff;
      max-height: 0;
      overflow: hidden;
      transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
      padding: 20px 20px 20px 0;
      border-top: 1px #9d9d9d solid;

      span.en {
        margin: 0 17px 0 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        min-width: 30px;
        min-height: 30px;
        border-radius: 30px;
        color: #fff;
        background-color: #c7184b;
      }

      &.is-open {
        max-height: 100px;
      }
    }
    dd:last-of-type {
      border-bottom: 1px #9d9d9d solid;
    }
  }
}
ul {
  margin-top: 38px;
  li {
    border-top: 1px #000 solid;
    p {
      font-size: 1.4rem;
    }
  }
}

/* contact */
.contact {
  padding: 48px 0 60px;
  background: url("../images/background.jpg");
  background-size: cover;

  p {
    font-size: 1.6rem;
    font-weight: 500;
    text-align: center;
  }
  h1 {
    font-family: "Oswald", sans-serif;
    font-size: 6rem;
    font-weight: 400;
    text-align: center;
    background: linear-gradient(270deg, #ffb93a 0%, #c7184b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    &::after {
      content: "";
      display: block;
      width: 50px;
      height: 4px;
      margin: 15px auto 27px;
      background-image: url("../images/line.svg");
      background-size: contain; /* 画像を要素に収める */
      background-repeat: no-repeat; /* 画像を繰り返さない */
    }
  }
  .form {
    padding: 17px 25px 27px 25px;
    background-color: #fff;
    p {
      font-size: 1.4rem;
      text-align: left;
    }
    form {
      margin-top: 26px;

      div {
        display: flex;
        flex-direction: column;
        margin-top: 10px;

        &:first-child {
          margin-top: 0;
        }

        label {
          font-weight: 700;
        }
        input {
          margin-top: 10px;
          background-color: #f5f5f5;
          border-width: 0;
          color: #232323;
          padding: 5px 0 5px 13px;
        }
        textarea {
          box-sizing: border-box;
          margin-top: 10px;
          background-color: #f5f5f5;
          border-width: 0;
        }
      }
    }

    button {
      border-radius: 3px;
      padding: 8px 0;
      margin-top: 23px;
      width: 100%;
      color: #fff;
      background-color: #c7184b;
      border-width: 0;
    }
  }
}
/* footer */
footer {
  background-color: #2e424c;
  padding-top: 35px;
  padding-bottom: 50px;
  p {
    margin-top: 50px;
    color: #fff;
    font-size: 1.2rem;
    text-align: right;
  }
}

.fadeInDown {
  opacity: 0;
  transform: translateY(-100px);
}
@keyframes fadeIn {
  0% {
  }
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
.fadeIn {
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
/* -------------------------------------------- */
/* ▼タブレット用デザインとして付け足すデザイン */
/* -------------------------------------------- */
@media (min-width: 768px) {
  .fv {
    display: block;
  }
}

/* ------------------------------------ */
/* ▼PC用デザインとして付け足すデザイン */
/* ------------------------------------ */
@media (min-width: 1024px) {
  header {
    .inner {
      width: 85%;
      margin: 0 auto;
    }
  }
  .fv {
    display: flex;
    align-items: center;
    .fv_box {
      display: flex;
    }
    .fv_box_left {
      width: 50%;
    }
    .fv_box_right {
      width: 50%;
    }
    .inner {
      width: 85%;
      margin: 0 auto;
    }
  }

  .inner {
    width: 50%;
    margin: 0 auto;
  }

  /* ability */
  .ability {
    ul {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
  }
}
