/*=====コンタクトフォーム=====*/
.p-ContactContents__Intro {
    margin-bottom: 24px;
}

.p-Form__FormHeading,
.p-Form__FormNote {
    text-align: center;
}

.p-ContactFormBlock {
    margin: 0 auto 56px;
}

.p-ContactForm {
    padding-top: 8px;
    border-top: 1px solid #ccc;
}

.p-ContactIntro__List {
    font-size: 1.7rem;

    margin: 1.5em 0;
}

.p-ContactIntro__List li {
    position: relative;
    padding-left: 1em;
    margin-bottom: 1em;
    line-height: 1.7;
    color: #444;
}

.p-ContactIntro__List li::before {
    content: "";
    position: absolute;
    top: 0.7em;
    left: 0;
    width: 0.5em;
    height: 0.5em;
    background-color: #6d8b74;
    border-radius: 50%;
}

.p-ContactForm__Field {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
    margin-bottom: 24px;
}

.p-ContactForm__Field::after {
    content: "";
    position: absolute;
    bottom: -32%;
    left: 0%;
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.p-ContactForm__Field label {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #464646;
}

.p-ContactForm__Field label span {
    color: #D94B45;
    margin-left: 0.5rem;
    font-size: 1.4rem;
}

.p-ContactForm__Field input,
.p-ContactForm__Field textarea {
    width: 75%;
    padding: 1rem;
    font-size: 1.4rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fff;
}

.p-ContactForm__Field input:focus,
.p-ContactForm__Field textarea:focus {
    outline: none;
    border-color: #DFA8A6;
    box-shadow: 0 0 0 2px #f7e7e6;
    transition: border-color 0.3s ease;
}

.p-ContactForm__Field textarea {
    resize: vertical;
    height: 304px;
}

.p-ContactForm__Submit {
    text-align: center;
}

.c-Button {
    background-color: #3A405A;
    color: #fff;
    font-size: 1.6rem;
    padding: 8px 80px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-bottom: 48px;
}

.c-Button:hover {
    background-color: #2e334a;
}

.p-ContactForm__Message p {
    text-align: center;
}

@media (max-width: 800px) {

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

    .p-ContactForm__Field {
        display: flex;
        flex-direction: column;
    }

    .p-ContactForm__Field label {
        font-size: 1.4rem;
        margin-right: auto;
    }

    .p-ContactForm__Field input,
    .p-ContactForm__Field textarea {
        width: 100%;
        font-size: 1rem;
    }
}

/*=====アクセス=====*/
.p-Access__InfoWrapper {
    display: flex;
    gap: 5%;
    justify-content: space-between;
    margin-bottom: 152px;
}

.p-Access__Map {
    width: 100%;
    max-width: 456px;
    aspect-ratio: 1 / 1;
    /* 幅と高さの比率 */
}

.p-Access__Map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 800px) {
    .p-Access__InfoWrapper {
        display: flex;
        flex-direction: column;
        margin-bottom: 48px;
    }

    .p-Access__Info {
        margin-bottom: 32px;
    }
}

#formMessage {
    color: #d9534f;
    font-size: 1.2rem;
}