@charset "utf-8";
/*========= VISUAL ===============*/
.visual {
  background: url(../images/contactvisual.webp) center / cover;
}

/*****  VISUAL SP *****/
@media screen and (max-width: 768px){
    .visual {
        background: url(../images/contactvisual_sp.webp) center / cover;
    }
} /* SP 768px */

/*========= RECEPTION ===============*/
#reception {
    width: min(100%, 1280px);
    margin-inline: auto;
    background: linear-gradient(160deg, rgba(var(--font-black-rgb), 0.04), rgba(255, 255, 255, 0.6));
    border: 1px solid rgba(var(--font-black-rgb), 0.08);
    padding: 2% 7% 4%;
    margin: 10% auto;
}

.reception__title {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: rgba(var(--font-black-rgb), 0.7);
    font-size: clamp(2.8rem, 2.77vw, 4rem);
    letter-spacing: 0.04em;
}

.reception__title::before {
    content: '▼';
    color: var(--main-purple);
    font-size: 0.65em;
    transform: translateY(-0.05em);
}

.reception__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.6rem, 2vw, 2.4rem);
}

.reception__item {
    padding: clamp(2rem, 2.2vw, 2.8rem);
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 251, 252, 0.96));
    border: 1px solid rgba(var(--font-black-rgb), 0.06);
    box-shadow: 0 10px 24px rgba(var(--font-black-rgb), 0.07);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(1.1rem, 1.2vw, 1.6rem);
}

.reception__heading {
    color: rgba(var(--font-black-rgb), 0.7);
    font-size: clamp(1.8rem, 1.56vw, 2.4rem);
    font-weight: 700;
    line-height: 1.4;
}

.reception__action {
    width: 100%;
    min-height: 56px;
    margin-top: clamp(0.2rem, 0.4vw, 0.6rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(90, 122, 16, 0.45);
    background: linear-gradient(120deg, #eeffa8 0%, #c6e645 8%, #8EC21F 20%, #5a7a10 48%, #6a9014 68%, #8EC21F 85%, #7aa818 100%);
    color: #fff;
    font-size: clamp(1.8rem, 1.52vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.reception__action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(90, 122, 16, 0.28);
    filter: brightness(1.04);
}

.reception__action:focus-visible {
    outline: 2px solid rgba(var(--main-purple-rgb), 0.5);
    outline-offset: 2px;
}

.reception__tel {
    margin-top: clamp(0.2rem, 0.4vw, 0.6rem);
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    color: #5a7a10;
    font-size: clamp(2.2rem, 1.87vw, 2.8rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.reception__tel::before {
    content: '☎';
    font-size: 0.9em;
}

@media screen and (max-width: 1024px) {
    .reception__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .reception {
        padding: 2rem 1.6rem;
        border-radius: 16px;
    }

    .reception__list {
        grid-template-columns: 1fr;
    }

    .reception__item {
        border-radius: 22px;
        padding: 1.8rem 1.5rem;
    }

    .reception__action {
        min-height: 52px;
        font-size: 1.7rem;
    }

    .reception__tel {
        font-size: clamp(2rem, 5.2vw, 2.4rem);
    }

    .reception__heading {
        font-size: clamp(1.9rem, 5vw, 2.4rem);
    }
}

@media screen and (max-width: 420px) {
    .reception__tel {
        font-size: 1.9rem;
        letter-spacing: 0;
    }
}

/*========= FORM ===============*/
.form {
    margin: 8rem auto;
    max-width: 720px;
}

.form__item {
    border-top: 1px solid rgba(var(--font-black-rgb), 0.1);
    padding: 24px 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.form__label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: 500;
    font-size: 1.8rem;
    line-height: 1;
}

.form__label.isMsg {
    margin: 8px 0 auto;
}

.form__required {
    border-radius: 6px;
    margin-left: 8px;
    padding: 8px 0;
    width: 48px;
    display: inline-block;
    text-align: center;
    background: var(--main-purple);
    color: var(--font-white);
    font-size: 1.4rem;
    line-height: 0.5;
}

.form__input {
    border: 1px solid rgba(var(--font-black-rgb), 0.2);
    border-radius: 6px;
    margin-left: 40px;
    height: 48px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: rgba(var(--font-black-rgb), 0.05);
    font-size: 1.8rem;
    display: inline-flex;
}

input {
    width: 100%;
    padding: 0 1em;
}

.form__textarea {
    border: 1px solid rgba(var(--font-black-rgb), 0.2);
    border-radius: 6px;
    margin-left: 40px;
    height: 216px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: rgba(var(--font-black-rgb), 0.05);
    font-size: 1.8rem;
}

textarea {
    width: 100%;
    height: 100%;
    padding: 1rem;
}

#toiawase {
    padding: 0;
    padding-left: 1rem;
}

.form__btn {
    text-align: center;
    border-radius: 6px;
    margin: 32px auto 0;
    padding: 24px 0;
    width: 400px;
    display: block;
    letter-spacing: 0.05em;
    background: var(--main-purple);
    color: var(--font-white);
    font-weight: bold;
    font-size: 2rem;
}

/*** select ***/
.select {
    display: inline-block;
    position: relative;
    border: 1px solid rgba(var(--font-black-rgb), 0.2);
    vertical-align: middle;
    border-radius: 6px;
}

.select select {
    appearance: none;
    max-width: 410px;
    min-width: 320px;
    padding: 11px 15px;
    cursor: pointer;
    font-size: 1.8rem;
}

.select::before {
    position: absolute;
    top: 28px;
    right: 16px;
    width: 0;
    height: 0;
    border-width: 10px 5px 0 5px;
    border-style: solid;
    border-color: var(--font-black) transparent transparent transparent;
    content: "";
    pointer-events: none;
}

.form__label--select {
    max-width: 288px;
}

.form__size {
    font-size: 1.4rem;
}

/* checkbox */
.agreebox {
    text-align: center;
}

.agreebox .agree_check {
    display: none;
}

.agreebox .txt {
    position: relative;
    padding-left: 2rem;
    font-size: clamp(1.3rem, 1.11vw, 1.6rem);
    text-align: center;
}

.agreebox .txt:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 18px;
    height: 18px;
    border-radius: 2px;
    border: 2px solid var(--main-purple);
}

.agreebox .txt:after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    transform: rotate(45deg);
    width: 6px;
    height: 12px;
    border: 1px solid var(--font-white);
    border-width: 0 2px 2px 0;
}

.agreebox .agree_check:checked+.txt:before {
    background-color: var(--main-purple);
}

.agreebox a {
    color: var(--main-purple);
    text-decoration: underline;
    font-size: 1.8rem;
    font-size: clamp(1.6rem, 1.25vw, 1.8rem);
    font-weight: 800;
    padding: 0 0.5rem 0 1.5rem;
}

/*** form sp ***/
@media screen and (max-width: 768px) {
    .form {
        margin: 40px auto 0;
        width: 90%;
    }

    .form__input,
    .form__textarea {
        margin-left: 12px;
    }

    .form__label--select {
        max-width: 262px;
    }
} /*** form sp 768px***/

@media screen and (max-width: 580px) {
    .form {
      margin-top: 40px;
      max-width: 400px;
    }

    .form__item {
        padding: 16px 14px;
        flex-wrap: wrap;
    }

    .form__label {
        max-width: inherit;
        display: flex;
        align-items: center;
        font-size: 1.5rem;
    }

    .form__label.isMsg {
        margin-top: 0;
    }

    .form__required {
        border-radius: 4px;
        padding: 4px 0;
        width: 32px;
        font-size: 1rem;
    }

    .form__input {
        margin: 18px 0 0 0;
        height: 40px;
        flex: inherit;
        font-size: 1.5rem;
    }

    .select {
        margin: 18px 0 0 0;
    }

    .select select {
        font-size: 1.5rem;
    }

    .form__textarea {
        margin: 18px 0 0 0;
        height: 200px;
        flex: inherit;
        font-size: 1.5rem;
    }

    .form__btn {
        margin-top: 24px;
        padding: 16px 0;
        width: 240px;
        font-size: 1.6rem;
    }
} /*** form sp 580px***/