@charset "UTF-8";

:root {
    --font1: Avenir;
    --font2: Lato;
    --font3: Roboto;
    --font4: 'Noto Sans JP';
    --font5: 'M PLUS 1';
    --font6: 'M PLUS 1 Code';
    --font7: Murecho;
    --font8: Domine;
    --font9: 'Shadows Into Light Two';
    --font10: grandam;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: auto;
    }
}

@font-face {
    font-family: grandam;
    font-style: normal;
    font-weight: 400;
    src: url(https://storage.googleapis.com/studio-front/fonts/grandam.ttf) format("truetype")
}

@font-face {
    font-family: Material Icons;
    font-style: normal;
    font-weight: 400;
    src: url(https://storage.googleapis.com/production-os-assets/assets/material-icons/1629704621943/MaterialIcons-Regular.eot);
    src: local("Material Icons"), local("MaterialIcons-Regular"), url(https://storage.googleapis.com/production-os-assets/assets/material-icons/1629704621943/MaterialIcons-Regular.woff2) format("woff2"), url(https://storage.googleapis.com/production-os-assets/assets/material-icons/1629704621943/MaterialIcons-Regular.woff) format("woff"), url(https://storage.googleapis.com/production-os-assets/assets/material-icons/1629704621943/MaterialIcons-Regular.ttf) format("truetype")
}

/* 屏幕自适应调整时，元素动画显示 */
a, abbr, address, article, aside, audio, b, blockquote, body, button, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, input, ins, kbd, label, legend, li, main, mark, menu, nav, object, ol, p, pre, q, samp, section, select, small, span, strong, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, time, tr, ul, var, video {
    -webkit-font-smoothing: antialiased;
    -webkit-backface-visibility: hidden;
    transition: .3s cubic-bezier(.4, .4, 0, 1);
    word-spacing: 1px;
    text-decoration: none;
    color: #333;
}

.material-icons {
    word-wrap: normal;
    -webkit-font-smoothing: antialiased;
    direction: ltr;
    display: inline-block;
    font-family: Material Icons;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1;
    text-rendering: optimizeLegibility;
    text-transform: none;
    white-space: nowrap;
}

header {
    height: 500px;
    background-image: url(../img/contact_background.jpeg);
    background-position: 50%;
    background-size: cover;
}

header section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    height: 100%;
    background: rgba(74, 137, 220, 0.9);
}

header .header-back {
    margin-top: calc(10px + .5vw);
}

header .header-back a {
    font-family: var(--font1);
    font-size: 20px;
    font-weight: 700;
    color: #FFFFFF;
}

header .header-title {
    margin-top: calc(20px + 5vw);
    text-align: center;
    font-family: var(--font1);
    font-size: calc(2.8rem - .45vw) !important;
    font-weight: 900;
    color: #FFFFFF;
}

header .header-detail {
    margin-top: 65px;
    text-align: center;
    font-family: var(--font2);
    font-size: 20px;
    color: #FFFFFF;
}

section.contact-content {
    padding: 80px 40px;
    margin: 0 auto;
    max-width: 800px;
}

.contact-content .contact-detail {
    margin-bottom: 30px;
    min-width: 300px;
}

.contact-content .contact-input-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    font-family: var(--font2);
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.contact-content .contact-input input {
    padding: 14px 10px;
    background: #FFFFFF;
    border: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 20%) inset;
    font-family: var(--font2);
    font-size: 15px;
    width: 100%;
    max-width: 100%;
    color: #333;
}

.contact-content .contact-input input::-webkit-input-placeholder,
.contact-content .contact-textarea textarea::-webkit-input-placeholder {
    color: #AEAEAE;
}

.contact-content .contact-check {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    max-width: 490px;
}

.contact-content .contact-check label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-family: var(--font2);
    font-size: 15px;
    color: #333333;
}

.contact-content .contact-check label:hover {
    background: #FAFAFA;
}

.contact-content .contact-check input[type=checkbox] {
    height: 15px;
    margin: 0px 10px 0px 0px;
    width: 15px;
    max-width: calc(100% - 10px);
}

.contact-content .contact-hope {
    max-width: 500px;
}

.contact-content .contact-select {
    position: relative;
}

.contact-content .contact-select select {
    padding: 14px 10px;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #EEEEEE;
    border-left: 1px solid #EEEEEE;
    border-radius: 4px;
    border-right: 1px solid #EEEEEE;
    border-top: 1px solid #EEEEEE;
    box-shadow: none;
    font-family: var(--font2);
    font-size: 15px;
    color: #333333;
    -webkit-appearance: none;
    cursor: pointer;
}

.contact-content .contact-select i {
    display: flex;
    align-items: center;
    bottom: 0px;
    color: #BDBDBD;
    font-size: 20px;
    height: auto;
    left: auto;
    margin: 0 0 0 0;
    pointer-events: none;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 42px;
    max-width: 100%;
}

.contact-content .contact-textarea textarea {
    padding: 10px;
    height: 160px;
    width: 100%;
    background: #FFFFFF;
    border: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 0px 1px rgb(0 0 0 / 20%) inset;
    font-family: var(--font2);
    font-size: 15px;
    color: #333;
    -webkit-appearance: none;
    resize: none;
}

.contact-send-button {
    padding: 15px;
    background: rgba(74, 137, 220, 0.9);
    border: 0;
    border-radius: 25px;
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 20%);
    font-family: var(--font2);
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    height: 50px;
    line-height: 0;
}

footer {
    padding: 80px 30px;
    text-align: right;
    background: rgba(74, 137, 227, 0.9);
}

footer .footer-info-company {
    font-family: var(--font2);
    font-size: 18px;
    color: #FFFFFF;
}

footer .footer-info-copyright {
    font-family: var(--font2);
    font-size: 12px;
    color: #FFFFFF;
}

@media screen and (max-width: 375px) {
    .contact-content .contact-detail {
        min-width: 100% !important;
    }
}