@charset "utf-8";

.line {
    display: flex;
    padding: 0 7.6%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
}

.line::after,
.form::after {
    display: block;
    border-top: 1px solid #ADADAD;
    content: "";
    position: absolute;
    padding-bottom: 1px;
    width: 85%;
    top: 30px;
}


.caution__title {
    color: var(--tekisuto, #2F4B25);
    font-family: "Hina Mincho";
    font-size: 2.2rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    margin-top: 30px;
}

.caution__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.schedule {
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    margin-top: 30px;
    line-height: 1.8;
}

.schedule::after {
    display: block;
    content: "";
    position: absolute;
    background-image: url(../images/clock.png);
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    left: 76px;
    top: 7px;
}

.payment__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.payment__content span {
    font-weight: 300;
}

.payment {
    font-size: 1.6rem;
    font-weight: 400;
    position: relative;
    margin-top: 30px;
    line-height: 1.8;
}

.payment::after {
    display: block;
    content: "";
    position: absolute;
    background-image: url(../images/coin.png);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
    left: 100px;
    top: 9px;
}

.payment__content img {
    display: block;
    width: 200px;
}

.caution__txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0px 17.2%;
    text-align: start;
}

.line__content {
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;

}

.caution__txt p {
    font-size: 1.6rem;
    font-weight: 350;
    line-height: 1.6;
    position: relative;
    text-align: start;
}

.caution__txt  p::before {
    display: block;
    border-left: 2px solid #727272;;
    content: "";
    position: absolute;
    height: 17px;
    left: -6px;
    top: 5px;
}

.contentlistLine {
    text-align: center;
    display: flex;
    align-items: center; 
    color: #2F4B25;
    font-family: "Hina Mincho";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    margin-top: 55px;
    position: relative;
    right: -24px;
}

.contact__title {
    text-align: center;
    display: flex;
    align-items: center; 
    color: #2F4B25;
    font-family: "Hina Mincho";
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    margin-top: 55px;
    position: relative;
    right: -24px;
}
.contentlist--line span {
    font-size: 19px;
    letter-spacing: 2.7px;
}

.contentlistLine::after {
    display: block;
    content: "";
    position: absolute;
    background-image: url(../images//1.jpg);
    width: 25px;
    height: 25px;
    background-size: contain;
    left: -31px;
    top: -2px;
    background-repeat: no-repeat;
}

.contact__title::after {
    display: block;
    content: "";
    position: absolute;
    background-image: url(../images//2.jpg);
    width: 25px;
    height: 25px;
    background-size: contain;
    left: -31px;
    top: -2px;
    background-repeat: no-repeat;
}

.reserve__txt {
    font-family: "Noto Sans JP";
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
    margin-top: 25px;
    justify-content: center;
    text-align: start;
}

.line__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    align-self: stretch;
}

.line__item {
    font-size: 1.6rem;
    font-weight: 350;
    line-height: 1;
}

.line__item p {
    color: #727272;
    font-size: 1rem;
    font-style: normal;
    font-weight: 350;
    line-height: 1.6;
}

.line__item:last-of-type{
    display: flex;
}

.line__btn {
    display: block;
    width: 240px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    top: 0;
}

.line__btn:hover {
    top: -10px;
    transition: 0.3s;
}

/* contact pc */

@media screen and (min-width: 769px) {
    .caution__title {
        font-size: 2.4rem;
        margin-top: 70px;
    }

    .schedule {
        font-size: 2rem;
    }

    .schedule::after {
        width: 24px;
        height: 24px;
        left: 89px;
        top: 4px;
    }

    .payment {
        font-size: 2rem;
        margin-top: 50px;
    }

    .payment::after {
        width: 22px;
        height: 22px;
        left: 121px;
        top: 8px;
    }

    .payment__content Img {
        width: 425px;
    }
    
    .caution__txt p {
        font-size: 1.8rem;
    }

    .caution__txt  p::before {
    border-left: 3.5px solid #727272;
    height: 16px;
    left: -8px;
    top: 8px;
}

    .contentlistLine {
        font-size: 2.4rem;
        margin-top: 70px;
    }

    .contentlistLine span {
        font-size: 2.6rem;
        letter-spacing: 3px;
    }

    .contentlistLine::after {
        top: 2px;
    }

    .line {
        gap: 0px;
    }

    .line__title {
        gap: 45px;
    }

    .line__content {
        gap: 26px;
        margin: 0px;
    }

    .reserve__txt {
        text-align: center;
        font-size: 1.8rem;
        margin-top: 35px;
        line-height: 2.4;
    }

    .line__item {
        font-size: 1.8rem;
    }

    .line__item p {
        font-size: 1.4rem;
    }

    .line__btn {
        width: 340px;
        margin-top: 50px;
    }


    .contact__title {
        font-size: 2.4rem;
        right: 0px;
        left: 31px;
        margin-top: 70px;
    }

    .contact__title::after {
        top: 0px;
    }

    .btn {
        margin-top: 30px;
    }

}



/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
form
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

.form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 7.6%; 
    position: relative;
}

.contact-form {
    background: #F5F5F5;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    max-width: 450px;
    width: 100%;
    display: flex;
    justify-self: center;
    flex-direction: column;
    margin: 45px 7.6% 0px;
}

.contact-form label {
    font-size: 14px;
    color: #2f4b25;
    margin-block: 8px;
    display: inline-block;
    text-align: left;
}

.contact-form input,
.contact-form textarea,
select {
    padding: 10px;
    border: 1px solid #2f4b25;
    border-radius: 3px;
    font-size: 1.4rem;
    color: #2f4b25;
    text-align: left;
}

select option {
  color: #2F4B25;
  background-color: #F8F9F5;
  font-size: 2rem;
}

.contact-form textarea {
    min-height: 80px;
    resize: vertical;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form .form-row div {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contact-form .required {
    color: #d9534f; /* 赤い必須マーク */
}

.contact-form button {
    padding: 12px;
    background: #2f4b25;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 20px;
}

.contact-form button:hover {
    background: #3c6130;
}

input[type="name"],
input[type="furigana"],
input[type="email"],
input[type="tel"],
input[type="course"],
input[type="address"],
input[type="date"],
input[type="time"],
input,textarea {
  text-align: left; /* ←これがポイント！ */
  padding-left: 10px; /* 余白を少し取ると見やすい */
  box-sizing: border-box;
}


/* form pc */

@media screen and (min-width: 769px) {

    .form,
    .line {
        margin-top: 30px;
    }

    .contact-form {
        max-width: 1030px;
        margin: 45px 14.2% 0px;
    }

    .contact-form .form-row {
        display: flex;
        flex-direction: row;
        gap: 10px;

    }

}

