@charset "utf-8";

/* 背景　流体 */
.background-svg {
    margin-top: -200px;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: -1;
}

.background-svg svg {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    position: fixed;
    top: 0;
    left: 0;
}

/* 見出しの装飾 */
.midashi {
    width: 500px;
    text-align: center;
    position: relative;
    border-radius: 50px;
    margin: 200px auto;
    padding: 1rem 2rem calc(1rem + 10px);
    background: #EFC0FF;
    font-size: 40px;
    font-weight: normal;
}

.midashi:before {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 100%;
    height: 100%;
    content: '';
    border: 2px solid #000;
    border-radius: 50px;
}

/* title名 */
.title {
    margin: 0 auto;
    text-align: left;
    font-size: 30px;
}

/* display */
.display {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
}

/* お問い合わせ */
.inquiry {
    width: 80%;
    margin: 0 auto;
    padding: 40px;
    border-radius: 40px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    border: 1px solid black;
}

.special01{
    background-color: #EFC0FF;
}

.special02{
    background-color: #f4dafd;
}

.name,
.mail,
.select {
    margin-bottom: 30px;
}

label {
    font-size: 30px;
}

button {
    display: block;
    width: fit-content;
    margin: 50px auto 0 auto;
    padding: 10px 50px;
    background-color: #FFEA69;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 25px;
    transition: .5s;
}

button:hover {
    background-color: #fff;
}

input,
textarea,
select {
    width: 100%;
    margin: 15px 0;
    padding: 10px 15px;
    border: 1px solid #000;
    border-radius: 20px;
    font-size: 25px;
}

select option {
    width: 500px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #EFC0FF;
    box-shadow: 0 0 5px rgba(163, 94, 165, 0.5);
}

/* アクセス */
.access {
    border-radius: 40px;
    border: 1px solid black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* displayで横並び */
.access-display {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

/* 長久手レッスン場所 */
.access-nagakute {
    width: 500px;
    padding: 30px 0 50px 40px;
}

/* 豊川レッスン場所 */
.access-toyokawa {
    width: 500px;
    padding: 30px 40px 50px 0;
}

/* 建物名 */
.access-name {
    font-size: 25px;
    padding: 0 0 0 25px;
}

/* Google Map 埋め込み */
.access-nagakute .map {
    text-align: center;
    margin: 30px 20px 0 20px;
}

.access-toyokawa .map {
    text-align: center;
    margin: 30px 20px 0 20px;
}

/* 住所 */
.address {
    font-size: 20px;
    padding: 0 0 0 25px;
}

/* スマホ対応　 ------------------------------------------------------- */
@media (max-width: 440px) {

    /* 背景　流体 */
    .background-svg {
        display: none;
    }

    /* 見出しの装飾 */
    .midashi {
        width: 300px;
        text-align: center;
        position: relative;
        border-radius: 50px;
        margin: 100px auto;
        padding: 1rem .5rem calc(1rem + 10px);
        background: #EFC0FF;
        font-size: 25px;
        font-weight: normal;
    }

    .midashi:before {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 100%;
        height: 100%;
        content: '';
        border: 2px solid #000;
        border-radius: 50px;
    }

    /* title名 */
    .title {
        margin: 0 auto;
        font-size: 18px;
    }

    /* display */
    .display {
        display: flex;
        justify-content: space-between;
    }

    /* お問い合わせ */
    .inquiry {
        width: 100%;
        padding: 20px;
        border-radius: 30px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        border: 1px solid black;
    }

    .name,
    .mail,
    .select {
        margin-bottom: 20px;
    }

    label {
        font-size: 20px;
    }

    button {
        display: block;
        width: fit-content;
        margin: 0 auto 0 auto;
        padding: 8px 25px;
        background-color: #FFEA69;
        border: 1px solid #000;
        border-radius: 15px;
        font-size: 18px;
        transition: .5s;
    }

    button:hover {
        background-color: #fff;
    }

    input,
    textarea,
    select {
        width: 100%;
        margin: 10px 0;
        padding: 5px 10px;
        border: 1px solid #000;
        border-radius: 10px;
        font-size: 15px;
    }

    select option {
        width: 500px;
    }

    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: #EFC0FF;
        box-shadow: 0 0 5px rgba(163, 94, 165, 0.5);
    }

    /* アクセス */
    .access {
        border-radius: 30px;
        border: 1px solid black;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    }

    /* displayで縦並び */
    .access-display {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    /* 長久手レッスン場所 */
    .access-nagakute {
        width: 100%;
        padding: 20px 25px;
    }

    /* 豊川レッスン場所 */
    .access-toyokawa {
        width: 100%;
        margin-top: 30px;
        padding: 20px 25px;
    }

    /* 建物名 */
    .access-name {
        font-size: 15px;
        padding: 0 0 0 20px;
    }

    /* 住所 */
    .address {
        font-size: 15px;
        padding: 0 0 0 20px;
    }

    /* Google Map 埋め込み */
    .access .map {
        position: relative;
        width: 100%;
        height: 0;
        margin: 30px 0 0 0;
        padding: 150px 0;
        text-align: center;
    }

    .access .map iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}