select {
    /* セレクトボックスのスタイルをリセット */
    -webkit-appearance: none; /* Safari, Chrome用 */
    -moz-appearance: none; /* Firefox用 */
    appearance: none; /* 標準プロパティ */
}

#privacy,
#admin {
    padding: 20px;
}

#admin {
    padding-bottom: 60px;
}

.c-complete {
    background-color: #339ecc;
}

.p-kiyaku,
.p-inquiry {
    background-color: #fff;
    padding: 50px 20px 0;
}

.p-kiyaku__inner,
.p-inquiry__inner {
    width: 1240px;
    max-width: 100%;
    margin-inline: auto;
}

.p-kiyaku__title,
.p-inquiry__title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
}

#privacy p {
    margin: 20px 0;
    padding: 0;
    line-height: 1.75em;
}

#privacy ul {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
}
#privacy ul li h3 {
    margin: 50px 0 20px 0;
    padding: 0;
    font-size: 18px;
    font-weight: bold;
}
#privacy ul li h3.recruit {
    margin: 30px 0 20px 0;
    padding: 0;
    font-size: 18px;
}
#privacy ul p {
    margin: 10px 0;
    padding: 0;
}

#privacy ul p.eyecatch,
#privacy ul p.eyecatch2 {
    margin: -50px 0 0 0;
    padding: 100px 0 0 0;
}
#privacy ul p.recurit_application {
    margin: 20px 0 0 0;
}
#privacy ul li h3 + p {
    margin-top: 0;
}
#privacy ul li h4 {
    margin: 30px 0 0 0;
    padding: 0;
}
#privacy ul li ul {
    margin: 0 0 0 20px;
    list-style: disc;
    overflow: visible;
}
#privacy ul li ul li {
    line-height: 1.75em;
}

@media screen and (max-width: 739px) {
    #privacy.recruit {
        padding-top: 0px;
    }
    #privacy ul p.eyecatch {
        margin: -20px 0 0 0;
        padding: 40px 0 0 0;
    }
    #privacy ul p.eyecatch img,
    #privacy ul p.eyecatch2 img {
        width: 100%;
    }
}

/* お問い合わせページ
--------------------------------------------------------- */
#contact {
    box-sizing: border-box;
    width: 920px;
    margin: 20px auto 0;
    border-top: solid 1px #ddd;
}
#contact dl {
    border-bottom: solid 1px #ddd;
    font-size: 15px;
    color: #666;
}
#contact dl.last {
    border-bottom: solid 3px #ddd;
    margin-bottom: 40px;
}
#contact dl dt {
    display: table-cell;
    box-sizing: border-box;
    padding: 28px 30px;
    width: 280px;
    vertical-align: middle;
    font-weight: bold;
}
#contact dl dd {
    display: table-cell;
    padding: 28px 0;
}
#contact dl dd .note {
    margin-top: 10px;
    font-size: 13px;
}
#contact input {
    box-sizing: border-box;
    font-size: 14px;
    color: #555;
    background-color: #e5e5e5;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 10px;
    width: 400px;
    margin-left: 0;
    display: block;
}
#contact input::placeholder {
    color: #999;
}
#contact textarea {
    box-sizing: border-box;
    width: 600px;
    height: 200px;
    background-color: #e5e5e5;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 5px 10px;
    font-size: 14px;
    color: #555;
    font-weight: normal;
    line-height: 1.5;
}
#contact select {
    box-sizing: border-box;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #e5e5e5;
    width: 400px;
    height: 36px;
    padding-left: 10px;
    font-size: 14px;
    color: #555;
    background-image: url(../../img/arrow-select.png);
    background-size: 6px 6px;
    background-repeat: no-repeat;
    background-position: right 10px center;
}
#contact option {
    background-color: #fff;
    padding-top: 5px;
}
/* IE8+, Chrome */
input,
button {
    outline: 0;
}
/* Firefox */
input::-moz-focus-inner,
button::-moz-focus-inner,
select::-moz-focus-inner {
    border: none;
    outline: none;
}
/* =========================================================
 下層ページスマホ用レイアウト
========================================================= */
@media screen and (max-width: 739px) {
    /* お問い合わせページ
--------------------------------------------------------- */
    #admin {
        box-sizing: border-box;
        width: 100%;
        padding: 20px 10px 25px;
    }
    #contact {
        width: 100%;
        margin: 0;
    }
    #contact dl {
        font-size: 13px;
    }
    #contact dl.last {
        border-bottom: solid 2px #ddd;
        margin-bottom: 25px;
    }
    #contact dl dt {
        display: block;
        box-sizing: border-box;
        padding: 12px 0;
        width: 100%;
        vertical-align: middle;
        font-weight: bold;
    }
    #contact dl dd {
        display: block;
        padding: 0 0 15px;
    }
    #contact dl dd .note {
        font-size: 12px;
        margin-top: 0;
    }
    #contact input {
        box-sizing: border-box;
        font-size: 16px;
        color: #555;
        padding: 10px;
        width: 100%;
        margin-left: 0;
        margin-bottom: 0;
        display: block;
    }
    #contact textarea {
        box-sizing: border-box;
        width: 100%;
        height: 150px;
        background-color: #e5e5e5;
        border: none;
        box-shadow: none;
        border-radius: 0;
        padding: 10px;
        font-size: 16px;
        color: #555;
        font-weight: normal;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    #contact select {
        box-sizing: border-box;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background-color: #e5e5e5;
        width: 100%;
        height: 36px;
        padding-left: 10px;
        font-size: 16px;
        color: #666;
        background-image: url(../../img/arrow-select.png);
        background-repeat: no-repeat;
        background-position: right 10px center;
    }
    #contact option {
        font-size: 16px;
        text-align: left;
    }

    #contact ::-webkit-input-placeholder {
        font-size: 12px;
        vertical-align: middle;
        padding-top: 0;
    }
    #contact ::-moz-placeholder {
        font-size: 12px;
        vertical-align: middle;
        padding-top: 0;
    }
    #contact :-ms-input-placeholder {
        font-size: 12px;
        vertical-align: middle;
        padding-top: 0;
    }
}

.must {
    color: #f00;
}

/* ----------------------------------------- 問い合わせフォーム -----------------------------------------------*/

#contact input {
    display: block;
}
#contact dl dd .note {
    display: block;
}

#contact.complete {
    border: none;
    text-align: center;
}
#contact.complete p:first-child {
    font-size: 24px;
    line-height: 150%;
    margin-bottom: 20px;
}
#contact.complete p + input[type="button"] {
    margin-top: 60px;
}

#main-visual table {
    width: 100%;
}

#contact input.submitbtn,
#contact button.submitbtn {
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
    margin-bottom: 40px;
}
#contact ul.button input.submitbtn {
    display: inline-block;
}

#contact input.submitbtn,
ul.button input.submitbtn,
#contact button.submitbtn {
    border: none;
    border-radius: 0;
    box-shadow: none;
    background-color: #000;
    color: #fff;
    width: 360px;
    font-size: 22px;
    text-align: center;
    padding-top: 27px;
    padding-bottom: 27px;
    margin: 0 auto;
    cursor: pointer;
    -webkit-transition: 0.8s;
    -moz-transition: 0.8s;
    -o-transition: 0.8s;
    -ms-transition: 0.8s;
    transition: 0.8s;
}
#contact input.submitbtn:hover,
ul.button input.submitbtn:hover {
    background-color: #333;
}

div.g-recaptcha {
    margin: 20px auto;
    text-align: center;
    width: 300px;
}
div.recaptcha-message {
    margin: 20px auto;
    text-align: center;
}
.error {
    color: red;
    display: inline-block;
    margin-left: 0px;
}

#contact ul.button {
    margin: 0;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

#contact ul.button li {
    margin: 0;
    padding: 0;
    display: inline-block;
}
