@charset "utf-8";

/* page-hero */
.page-hero {
    background-image: url("../img/page-visual/online-consultation.jpg");
}
/* page-heroここまで */

/* section-check */
.check__contents {
    display: table;
    margin: 0 auto;
}

.check__heading-title {
    display: inline-block;
    padding: 8px 16px !important;
    color: #fff;
    background-color: var(--main-color);
    border-radius: 16px;
}

.check__important-title {
    margin-bottom: 16px;
    padding: 8px 16px;
    font-weight: normal;
    color: #ff0000;
    border: 1px solid #ff0000;;
}

.check__important-desc {
    line-height: 2;
    text-align: center;
}
/* section-checkここまで */

/* section-online */
.online__list {
    display: flex;
    flex-wrap: wrap;
}

.online__item {
    width: 50%;
    padding: 24px;
}

.online__item-inner {
    display: flex;
    gap: 40px;
    height: 100%;
    padding: 40px;
    border: 1px solid var(--main-color);
    border-radius: 16px;
}

.online__item-title {
    margin-bottom: 16px;
    font-weight: normal;
}

.online__item-cardlist {
    display: flex;
    gap: 24px;
    padding: 16px;
}

.online__item-card img {
    max-width: 64px;
}
/* section-onlineここまで */


/* section-prepare */
.prepare__list {
    display: flex;
    gap: 24px;
}

.prepare__item {
    width: 25%;
}

.prepare__item-inner {
    height: 100%;
    padding: 40px 24px;
    text-align: center;
    border-radius: 16px;
    background-color: var(--bg-color);
}

.prepare__item-card img {
    max-width: 64px;
}

.prepare__item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    margin-bottom: 32px;
}

.prepare__item-heading {
    display: table;
    margin: 0 auto;
}

.prepare__item-title {
    display: inline-block;
    text-align: left;
    font-weight: normal;
}

.prepare__item-cardlist {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.prepare__information {
    margin-top: 40px;
}

.prepare__information-text {
    margin-bottom: 40px;
    text-align: center;
}

.prepare__information-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.prepare__button {
    display: inline-flex;
    align-items: center;
    padding: 16px 64px 16px 16px;
    border-radius: 100vw;
}

/* section-prepareここまで */

/* section-flow */
.section-flow__inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--bg-color);
    border-radius: 16px;
}

.flow__contents {
    margin-top: 64px;
  }

  .flow__list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .flow__item {
    position: relative;
  }

  .flow__item-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: #fff;
    padding: 40px;
    border-radius: 24px;
  }

  .flow__number {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
  }

  .flow__number-step {
    font-size: 16px;
    font-weight: normal;
    color: #4A90E2;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
  }

  .flow__number-digit {
    font-size: 64px;
    font-weight: normal;
    color: #4A90E2;
    line-height: 1;
  }

  .flow__image {
    width: 30%;
  }

  .flow__image img {
    max-height: 160px;
    height: 100%;
  }

  .flow__content {
    flex: 1;
  }

  .flow__content-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
  }

  .flow__content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0;
  }

  .flow__arrow {
    display: flex;
    justify-content: flex-start;
    padding: 16px 24px;
  }

  .flow__arrow-icon {
    width: 64px;
    height: 64px;
    color: #4A90E2;
  }

  .flow__item:last-child .flow__arrow {
    display: none;
  }

  .flow__item:nth-child(3) .flow__image img,
  .flow__item:nth-child(4) .flow__image img {
    max-height: 128px;
  }

/* section-flowここまで */

/* section-comment */
.section-comment {
    padding-top: 0;
}

.comment__body {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.comment__icon img {
    max-width: 160px;
}

.comment__text {
    line-height: 2;
    font-size: 1.2em;
    color: var(--main-color);
}

.comment__frame {
    position: relative;
    background-color: #ffffff;
    border: 2px solid #4a90e2;
    border-radius: 100vw;
    padding: 16px 32px;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment__frame::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 20px 15px 0;
    border-color: transparent #4a90e2 transparent transparent;
}

.comment__frame::after {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 13px 18px 13px 0;
    border-color: transparent #ffffff transparent transparent;
}

.speech-bubble p {
    margin: 0;
    color: #4a90e2;
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
}

/* section-commentここまで */

@media screen and (max-width: 1024px) {
    .online__item-cardlist {
        flex-wrap: wrap;
        align-items: center;
        gap: 0;
        padding: 0;
    }

    .online__item-card {
        padding: 8px;
    }

    .prepare__list {
        flex-wrap: wrap;
        gap: 0;
    }

    .prepare__item {
        width: 50%;
        padding: 16px;
    }
}
@media screen and (max-width: 767px) {
    .online__item-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
        padding: 24px;
    }

    .online__item {
        width: 100%;
    }

    .online__item-icon {
        width: 100%;
        text-align: center;
    }

    .online__item-card img {
        max-width: 56px;
    }

    .prepare__item {
        width: 100%;
    }

    .prepare__item-cardlist {
        flex-wrap: wrap;
        align-items: center;
    }

    .prepare__item-card img {
        max-width: 48px;
    }

    .prepare__item-inner {
        padding: 24px;
    }

    .prepare__information-links {
        flex-wrap: wrap;
    }

    .section-flow__inner {
        padding: 32px 24px;
    }

    .flow__contents {
        margin-top: 32px;
    }

    .flow__item-inner {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        text-align: center;
    }

    .flow__image {
        width: 100%;
    }

    .flow__arrow {
        justify-content: center;
    }

      .flow__number-digit {
        font-size: 48px;
    }

      .flow__content-title {
        font-size: 24px;
    }

      .flow__content-text {
        font-size: 16px;
    }

      .flow__arrow-icon {
        width: 56px;
        height: 56px;
    }

    .comment__body {
        flex-wrap: wrap;
    }

    .comment__icon,
    .comment__frame {
        width: 100%;
    }

    .comment__icon {
        text-align: center;
    }

    .comment__frame::before {
        left: 50%;
        top: -20px;
        transform: translateX(-50%);
        border-width: 0 15px 20px 15px;
        border-color: transparent transparent #4a90e2 transparent;
    }

    .comment__frame::after {
        left: 50%;
        top: -17px;
        transform: translateX(-50%);
        border-width: 0 13px 18px 13px;
        border-color: transparent transparent #ffffff transparent;
    }

    .comment__text br {
        display: none;
    }
}
@media screen and (max-width: 599px) {
}