/* 共通 */
html {
    font-size: 62.5%;
}

body {
    color: #222222;
    font-family: "Noto Sans JP", sans-serif;
    margin-top: 10rem;
}

/* ヘッダー */
.header {
    padding: 0 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 10rem;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #fff;
}

.header__logo {
    height: 100%;
    width: 22rem;
}

.header__logo a {
    height: inherit;
    display: flex;
    align-items: center;
}

.header__contact a {
    font-size: 2.4rem;
    font-weight: bold;
    line-height: calc(36 / 24);
    text-decoration: none;
    color: #222222;
    display: flex;
}

.header__contact a::before {
    content: "";
    width: 2.3rem;
    height: 2.3rem;
    display: inline-block;
    background: url(../img/icon-phone.svg) no-repeat center / contain;
    margin-top: 0.9rem;
    margin-right: 0.6rem;
}

.header__contact-text {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: calc(21 / 14);
}

.header__contact-text span {
    display: inline-block;
    margin-right: 1rem;
}

/* メインビジュアル */
.mv {
    height: calc(100vh - 10rem);
    min-height: 50rem;
    background: url(../img/mv-img.jpg) no-repeat center / cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 4.7rem;
}

.mv-title {
    text-align: right;
}

.mv__text {
    background-color: #fff;
    display: inline-block;
    padding: 1.2rem 2.4rem;
    font-size: 4rem;
    font-weight: bold;
    line-height: calc(60 / 40);
}

.mv__text:nth-child(n + 2) {
    margin-top: 2.4rem;
}

.mv__text--blue {
    color: #039898;
}

/* コンセプトセクション */
.concept {
    padding: 12rem 0 8rem;
    background-color: #fff;
}

.concept__inner {
    padding: 0 2.5rem;
    max-width: 101.4rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.concept__body {
    width: calc(395 / 964 * 100%);
}

/* .concept__title span{
    display: inline-block;
    background: linear-gradient(transparent 0%, transparent 65%, #FFF84B 65%, #FFF84B 100%);
} */

.concept__title span {
    display: inline;
    box-shadow: 0px -14px 0px #fff84b inset;
}

.concept__title span:nth-child(n + 2) {
    margin-top: 1.7rem;
}

.concept__img {
    width: calc(490 / 964 * 100%);
}

.concept__title {
    font-size: 2.8rem;
    font-weight: 500;
    line-height: calc(42 / 28);
}

.concept__text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(32 / 16);
    margin-top: 4rem;
    max-width: 36.8rem;
}

.concept__img img {
    aspect-ratio: 490 / 294;
    width: 100%;
    object-fit: cover;
}

/* ニュースセクション */
.news {
    padding: 8rem 0;
    background-color: #f8f8f8;
}

.news__inner {
    padding: 0 2.5rem;
    max-width: 101.4rem;
    margin: 0 auto;
}

.marker__title {
    text-align: center;
}

.marker__title--blue {
    padding: 0 1.04rem;
    display: inline;
    box-shadow: 0px -14px 0px #fff84b inset;
    font-size: 3.2rem;
    font-weight: bold;
    line-height: calc(48 / 32);
    color: #039898;
}

.news__container {
    background-color: #fff;
    margin-top: 3.5rem;
    padding: 1.2rem 8.2rem;
    height: 31.2rem;
    overflow: auto;
}

.news__item {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #707070;
    text-decoration: none;
    color: #222222;
    transition: 0.3s;
}

.news__item:hover {
    opacity: 0.7;
}

.news__meta {
    display: flex;
    align-items: center;
    margin-right: 3.2rem;
}

.new__date {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
    margin-right: 3.2rem;
}

.news__category {
    display: inline-block;
    padding: 0.4rem 1.6rem 0.5rem;
    background-color: #039898;
    border-radius: 1.7rem;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: calc(21 / 14);
}

.news__title-text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
}

/* ポイントセクション */
.point {
    padding: 8rem 0;
    background-color: #e7f6f6;
}

.point__inner {
    max-width: 121rem;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.point__title {
    text-align: center;
}

.point__title--blue {
    font-size: 3.2rem;
    font-weight: bold;
    line-height: calc(48 / 32);
    color: #039898;
}

.point__title--blue::before,
.point__title--blue::after {
    content: "";
    width: 3px;
    height: 6rem;
    display: inline-block;
    background-color: #039898;
}

.point__title--blue::before {
    transform: rotate(-35deg) translateX(-3.5rem);
}

.point__title--blue::after {
    transform: rotate(35deg) translateX(3.5rem);
}

.point__text {
    font-size: 1.6rem;
    line-height: calc(32 / 16);
    text-align: center;
    margin-top: 6.4rem;
}

.point__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.9rem;
    margin-top: 4rem;
}

.point__card {
    background-color: #fff;
    border-radius: 1rem;
    padding: 3.2rem 2.5rem 2.4rem;
    box-shadow: 0 0.3rem 0.6rem rgba(3, 152, 152, 0.16);
    display: flex;
    flex-direction: column;
}

.point__card-title {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: calc(33 / 22);
    display: flex;
    align-items: center;
}

/* .point__number{
    font-size: 2.8rem;
    font-weight: bold;
    line-height: calc(40 / 28);
    color: #039898;
    display: inline;
    box-shadow: 0px -14px 0px #fff84b inset;
    padding: 0.3rem;
    margin-right: 1rem;
} */
.point__number {
    font-size: 2.8rem; /* 28px */
    font-weight: bold;
    line-height: calc(40 / 28);
    color: #039898;
    display: inline-block;
    position: relative; /* 黄色線の配置を制御 */
    padding: 0 0.3rem;
    margin-right: 1rem;
    z-index: 1; /* 数字を前面に */
}

.point__number::before {
    content: "";
    position: absolute;
    left: 50%; /* 要素の中央基準 */
    transform: translateX(-50%); /* 中央から左に半分ずらす */
    bottom: 10%; /* 数字の1/3の位置 */
    width: calc(100% + 0.3rem); /* 数字より少し長めに */
    height: 1rem; /* 黄色線の高さ */
    background-color: #fff84b;
    display: block;
    z-index: -1; /* 数字の下に配置 */
}

.point__card-text {
    font-size: 1.6rem;
    line-height: calc(32 / 16);
    margin-top: 2.4rem;
    flex-grow: 1;
}

.point__card-img {
    margin-top: 3.2rem;
}

.point__card-img img {
    width: 23rem;
    margin: 0 auto;
    aspect-ratio: 230 / 160;
    object-fit: contain;
}

/* フローセクション */
.flow {
    padding: 8rem 0;
    background-color: #fff;
}

.flow__inner {
    max-width: 81.8rem;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.flow__title {
    text-align: center;
}

.flow__title--blue {
    font-size: 3.2rem;
    font-weight: bold;
    line-height: calc(48 / 32);
    color: #039898;
    display: inline-flex;
    align-items: center;
}

.flow__title--blue::before,
.flow__title--blue::after {
    content: "";
    width: 8rem;
    height: 3px;
    background-color: #039898;
    display: inline-block;
}

.flow__title--blue::before {
    margin-right: 1.4rem;
}

.flow__title--blue::after {
    margin-left: 1.4rem;
}

.flow__list {
    margin: 4rem 0 0;
    padding: 0;
    list-style: none;
    counter-reset: number 0;
}

.flow__item {
    display: flex;
}

.flow__item:nth-child(n + 2) {
    margin-top: 2.4rem;
}

.flow__item::before {
    counter-increment: number 1;
    content: counter(number, decimal-leading-zero);
    background-color: #039898;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 8.2rem;
    font-size: 3.2rem;
    font-weight: 500;
    line-height: calc(46 / 32);
}

.flow__body {
    display: flex;
    border: 2px solid #039898;
    background-color: #e7f6f6;
    flex-grow: 1;
    padding: 1.6rem 0 1.6rem 2.4rem;
    align-items: center;
}

.flow__item-title {
    font-size: 2.2rem;
    font-weight: 500;
    line-height: calc(33 / 22);
    width: calc(212 / 686 * 100%);
}

.flow__item-text {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    padding: 1.3rem 0 1.3rem 2.4rem;
    border-left: 2px solid #039898;
}

/* プライスセクション */
.price {
    padding: 8rem 0;
    background-color: #f8f8f8;
}

.price__inner {
    max-width: 81.8rem;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.price-table-wrapper {
    margin-top: 4rem;
}

.price__table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0.3rem 1rem rgba(0, 0, 10, 0.16);
}

.price__table,
.price__table th,
.price__table td {
    border: 1px solid #afcccc;
}

.price__table th {
    background-color: #e7f6f6;
    font-size: 1.6rem;
    font-weight: bold;
    line-height: calc(24 / 16);
    width: 19.2rem;
    height: 8rem;
}

.price__table td {
    background-color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
    text-align: center;
}

/* コンタクトセクション */
.contact {
    padding: 8rem 0;
    background-color: #e7f6f6;
}

.contact__inner {
    max-width: 81.8rem;
    padding: 0 2.5rem;
    margin: 0 auto;
}

.contact__title {
    font-size: 3.2rem;
    font-weight: bold;
    line-height: calc(48 / 32);
    color: #039898;
    text-align: center;
    padding-bottom: 1.6rem;
    position: relative;
}

.contact__title::before {
    content: "";
    width: 6.4rem;
    height: 4px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-100%);
}

.contact__title::after {
    content: "";
    width: 6.4rem;
    height: 4px;
    background-color: #fff84b;
    display: inline-block;
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(100%);
}

.contact__text {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(32 / 16);
    text-align: center;
    margin-top: 4rem;
}

.form {
    background-color: #fff;
    margin-top: 4rem;
    padding: 6.4rem 9.8rem;
    border-radius: 2rem;
}

.form__item:nth-child(n + 2) {
    margin-top: 3rem;
}

.form__item-wrapper {
    display: flex;
    align-items: center;
}

/* コンタクトセクション */

.form__title {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
}

.form__required {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: calc(20 / 14);
    background-color: #fff84b;
    display: inline-block;
    padding: 0.2rem 1rem 0.3rem;
    border-radius: 0.3rem;
    margin-left: 1rem;
}

.form__input-wrapper {
    margin-top: 0.9rem;
}

.form__input-wrapper input[type="text"],
.form__input-wrapper input[type="email"],
.form__input-wrapper input[type="tel"],
.form__input-wrapper select,
.form__input-wrapper textarea {
    width: 100%;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    border-radius: 0.5rem;
    border: 1px solid #707070;
    background-color: #fff;
}

.form__input-wrapper input[type="text"],
.form__input-wrapper input[type="email"],
.form__input-wrapper input[type="tel"],
.form__input-wrapper textarea {
    padding: 0.9rem 2rem;
}

.form__input-wrapper select {
    padding: 0.9rem 5.2rem 0.9rem 2rem;
    appearance: none;
}

.form__input-wrapper input::placeholder,
.form__input-wrapper select:invalid,
.form__input-wrapper textarea::placeholder {
    color: #c8c8c8;
}

.form__input-select {
    position: relative;
}

.form__input-select::before {
    content: "▼";
    display: inline-block;
    font-size: 1rem;
    line-height: calc(15 / 10);
    color: #707070;
    position: absolute;
    right: 1.7rem;
    top: 50%;
    transform: translateY(-50%);
}

.form__radio {
    position: relative;
}

.form__radio label {
    font-size: 1.6rem;
    line-height: calc(24 / 16);
    display: flex;
    align-items: center;
    position: relative;
}

.form__radio label::before {
    content: "";
    display: inline-block;
    height: 2rem;
    width: 2rem;
    border: 1px solid #707070;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.form__radio input[type="radio"]:checked + label::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #039898;
    border-radius: 50%;
    position: absolute;
    top: 0.7rem;
    left: 0.5rem;
}

.form__radio:nth-child(n + 2) {
    margin-top: 1rem;
}

.form__radio input[type="radio"] {
    opacity: 0;
    position: absolute;
}

.form__input-wrapper textarea {
    height: 20rem;
    resize: none;
}

.form__agree {
    text-align: center;
    margin-top: 4rem;
    position: relative;
}

.form__agree label {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: calc(24 / 16);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.form__agree label::before {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border: 1px solid #707070;
    margin-right: 0.5rem;
}

.form__agree input[type="checkbox"]:checked + label::after {
    content: "";
    width: 0.7rem;
    height: 1.2rem;
    border-bottom: 3px solid #039898;
    border-right: 3px solid #039898;
    transform: rotate(45deg);
    position: absolute;
    top: 0.4rem;
    left: 0.6rem;
}

.form__agree label a {
    color: #222222;
    transition: 0.3s;
}

.form__agree label a {
    opacity: 0.7;
}

.form__agree input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.form__btn {
    text-align: center;
    margin-top: 4rem;
}

.btn {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: calc(24 / 16);
    color: #fff;
    background-color: #039898;
    border: none;
    padding: 1.6rem 8.8rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.3rem 1rem rgba(3, 152, 152, 0.2);
    transition: 0.3s;
}

.btn:hover {
    opacity: 0.7;
    cursor: pointer;
}

/* フッター */
.footer {
    padding: 4.2rem 0 3.3rem;
    background-color: #039898;
}

.footer__logo {
    text-align: center;
}

.footer__logo a {
    display: inline-block;
}

.footer__logo a img {
    width: 22rem;
}

.footer__nav {
    margin-top: 4rem;
}
.footer__list {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
}

.footer__nav-item a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: calc(22.5 / 15);
    padding: 0 2rem;
    transition: 0.3s;
}

.footer__nav-item a:hover {
    opacity: 0.7;
}

.footer__copyright {
    text-align: center;
    margin-top: 4rem;
}

.footer__copyright small {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: calc(18 / 12);
    color: #fff;
}

/* 画面幅が1210px以下のとき */
@media screen and (max-width: 1210px) {
    html {
        font-size: calc(10 / 1210 * 100vw);
    }
}

/* 画面幅が767px以下のとき */
@media screen and (max-width: 1210px) {
    html {
        font-size: 62.5%;
    }

    body {
        margin-top: 7rem;
    }

    /* ヘッダー */
    .header {
        padding: 0 2rem;
        height: 7rem;
    }

    .header__logo {
        width: 15rem;
    }

    .header__contact a {
        font-size: 1.7rem;
        line-height: calc(25.5 / 17);
    }

    .header__contact a::before {
        width: 1.6rem;
        height: 1.6rem;
        margin-top: 0.6rem;
        margin-right: 0.3rem;
    }

    .header__contact-text {
        font-size: 1.3rem;
        line-height: calc(21 / 13);
    }

    .header__contact-text span {
        margin-right: 0.6rem;
    }

    /* メインビジュアル */
    .mv {
        height: calc(100vh - 7rem);
        min-height: 30rem;
        background: url(../img/mv-img-sp.jpg) no-repeat center / cover;
        align-items: flex-end;
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 2rem;
        padding-bottom: 13.5rem;
    }

    .mv-title {
        text-align: right;
    }

    .mv__text {
        padding: 0.7rem 1.4rem 0.8rem;
        font-size: 2.2rem;
        line-height: calc(33 / 22);
    }

    .mv__text:nth-child(n + 2) {
        margin-top: 1.6rem;
    }

    /* コンセプトセクション */
    .concept {
        padding: 6rem 0;
    }

    .concept__inner {
        padding: 0 2rem;
        max-width: 100%;
        display: block;
    }

    .concept__body {
        width: 100%;
    }

    .concept__title span {
        display: inline;
        box-shadow: 0px -7px 0px #fff84b inset;
    }

    .concept__title span:nth-child(n + 2) {
        margin-top: 0.6rem;
    }

    .concept__img {
        width: 100%;
        margin-top: 3.2rem;
    }

    .concept__title {
        font-size: 2rem;
        line-height: calc(30 / 20);
    }

    .concept__text {
        margin-top: 4rem;
        max-width: 100%;
    }

    /* ニュースセクション */
    .news {
        padding: 6rem 0;
    }

    .news__inner {
        padding: 0 2rem;
        max-width: 100%;
    }

    .marker__title--blue {
        padding: 0 0.3rem;
        box-shadow: 0px -8px 0px #fff84b inset;
        font-size: 2.4rem;
        line-height: calc(24 / 24);
    }

    .news__container {
        margin-top: 3.2rem;
        padding: 1.2rem 4rem 2rem 2rem;
        height: 44rem;
        box-shadow: 0 0.3rem 1rem rgba(0, 0, 0, 0.16);
    }

    .news__item {
        padding: 2rem 0;
        display: block;
    }

    .news__meta {
        margin-right: 0;
    }

    .news__date {
        font-size: 1.4rem;
        font-weight: 500;
        line-height: calc(20 / 14);
        margin-right: 1.6rem;
    }

    .news__category {
        padding: 0.3rem 1.4rem 0.5rem;
        font-size: 1.2rem;
        line-height: calc(17 / 12);
    }

    /* ポイントセクション */
    .point {
        padding: 6rem 0;
    }

    .point__inner {
        max-width: 100%;
        padding: 0 2rem;
    }

    .point__title--blue {
        font-size: 2.4rem;
        line-height: calc(35 / 24);
    }

    .point__title--blue::before,
    .point__title--blue::after {
        height: 4rem;
    }

    .point__title--blue::before {
        transform: rotate(-35deg) translateX(-2rem);
    }

    .point__title--blue::after {
        transform: rotate(35deg) translateX(2rem);
    }

    .point__text {
        margin-top: 3.2rem;
    }

    .point__container {
        grid-template-columns: 1fr;
        gap: 2.4rem;
        margin-top: 2.4rem;
    }

    .point__card {
        padding: 2.4rem 2rem 0rem;
        display: block;
    }

    .point__card-title {
        font-size: 2rem;
        line-height: calc(30 / 20);
    }

    .point__number {
        font-size: 2.2rem;
        line-height: calc(32 / 22);
        padding: 0 0.1rem;
        margin-right: 0.8rem;
    }

    .point__number::before {
        height: 0.6rem; /* 黄色線の高さ */
    }

    .point__card-text {
        margin-top: 2rem;
    }

    .point__card-img {
        margin-top: 2.8rem;
    }

    /* フローセクション */
    .flow {
        padding: 6rem 0;
    }

    .flow__inner {
        max-width: 100%;
        padding: 0 2rem;
    }

    .flow__title--blue {
        font-size: 2.4rem;
        line-height: calc(48 / 24);
    }

    .flow__title--blue::before,
    .flow__title--blue::after {
        width: 7rem;
        height: 2px;
    }

    .flow__title--blue::before {
        margin-right: 1.3rem;
    }

    .flow__title--blue::after {
        margin-left: 1.3rem;
    }

    .flow__list {
        margin: 2.4rem 0 0;
    }

    .flow__item:nth-child(n + 2) {
        margin-top: 2rem;
    }

    .flow__item::before {
        width: 4rem;
        font-size: 2rem;
        line-height: calc(29 / 20);
        flex-shrink: 0;
    }

    .flow__body {
        padding: 1rem 2rem 1rem 0;
    }

    .flow__item-title {
        font-size: 1.4rem;
        font-weight: bold;
        line-height: calc(21 / 14);
        width: calc(118 / 297 * 100%);
        text-align: center;
    }

    .flow__item-text {
        font-size: 1.4rem;
        line-height: calc(24 / 14);
        padding: 0 0 0 1rem;
        width: calc(179 / 297 * 100%);
        min-height: 6.8rem;
        display: flex;
        align-items: center;
    }

    /* プライスセクション */
    .price {
        padding: 6rem 0;
    }

    .price__inner {
        max-width: 100%;
        padding: 0 2rem;
    }

    .price-table-wrapper {
        margin: 3.2rem 0 auto;
        overflow: auto;
    }

    .price__table {
        width: 40.3rem;
    }

    .price__table th {
        width: 8.4rem;
        height: 5.6rem;
    }

    .price__table th:first-child {
        width: 15rem;
    }

    /* コンタクトセクション */
    .contact {
        padding: 6rem 0 0;
    }

    .contact__inner {
        max-width: 100%;
        padding: 0 0;
    }

    .contact__title {
        font-size: 2.4rem;
        line-height: calc(35 / 24);
        padding-bottom: 1rem;
    }

    .contact__title::before {
        width: 3.2rem;
        height: 3px;
    }

    .contact__title::after {
        width: 3.2rem;
        height: 3px;
    }

    .contact__text {
        text-align: left;
        margin-top: 3.2rem;
        padding: 0 2rem;
    }

    .pc_only {
        display: none;
    }

    .form {
        margin-top: 3.2rem;
        padding: 3.2rem 2rem 6rem;
        border-radius: 0;
    }

    .form__input-wrapper select {
        padding: 0.9rem 3rem 0.9rem 2rem;
    }

    .form__input-select::before {
        right: 0.9rem;
    }

    .form__agree {
        margin-top: 3.2rem;
    }

    .form__btn {
        margin-top: 3.2rem;
    }

    /* フッター */
    .footer {
        padding: 4rem 0 2rem;
    }

    .footer__logo a img {
        width: 15rem;
    }

    .footer__nav {
        margin-top: 1.6rem;
    }
    .footer__list {
        display: block;
    }

    .footer__nav-item a {
        display: block;
        padding: 0.8rem 0;
        text-align: center;
    }

    .footer__copyright {
        margin-top: 1.6rem;
    }

}

@media screen and (max-width: 375px) {
    html{
        font-size: calc(10 / 375 *100vw);
    }
}
