@charset "utf-8";

main {
    background-color: #efefef;
}

h2 {
    font-size: 30px;
}

h2 .small_title2 {
    font-size: 18px;
    display: block;
    margin-top: 40px;
}

h3 {
    font-size: 22px;
    font-weight: 500;
    color: #254489;
    line-height: 30px;
    text-align: center;
    padding-bottom: 14px;
    border-bottom: 1px dotted #000;
}

.eyecatch_contact {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    background-color: #254489;
}

.eyecatch_wrap {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    display: flex;
    flex-direction: row;
}
 
.title {
    width: 40%;
    height: 450px;
    font-size: 34px;
    line-height: 60px;
    text-align: right;
    color: #fff;
    margin-right: 20px;
    font-weight: 300;
    padding-top: 160px;
}

.entry {
    display: block;
}

.contact_image {
    width: 60%;
    height: 450px;
    background-image: url("../img/contact_eyecatch.jpg");
    background-repeat: no-repeat;
    background-position: 20% 50%;
    background-size: cover;
}

.contact_container {
    width: 100%;
    height: auto;
    margin-top: calc(50px + 5vw);
    padding-bottom: calc(50px + 5vw);
}

.contact_contain {
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.contact_contain p {
    text-align: center;
}

.contact_contain img {
    width: 100%;
    height: auto;
}

.contact_phone {
    width: 80%;
    max-width: 300px;
    height: 40px;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin: 0 auto;
    padding: 20px 0 8px 0;
}

.contact_tanto {
    text-align: center;
    margin-bottom: 20px;
}

.uketuke {
    margin-bottom:  50px;
    text-align: center;
}

.m50 {
    width: 100%;
    height: 50px;
}

p {
    margin-top: 20px;
    font-weight: 300;
    letter-spacing: 0;
    line-height: 32px;
}

a.policy_a {
    text-decoration: underline;
}

.contact_mark {
    display: inline-block;
    color: #333;           /* 文字色をグレーに指定 */
    text-align: center;    /* 文字を中央寄せにする */
    min-width: 200px;      /* 長くなっても大丈夫なようにmin-widthで横幅指定 */
    background: #FFF;      /* 背景色を指定 */
    border: 1px solid #666;/* 枠線をつける */
    padding: 8px;          /* 適度な余白 */
    display: inline-block; /* widthを効かせるために指定 */
    position: relative;    /* 基準値とする */
}

.contact_mark::after {
    content: '';           /* 疑似要素に必須 */
    position: absolute;    /* 相対位置に指定 */
    bottom: 0;             /* 下から0pxの位置に指定。 */
    left: 50%;             /* 左から50%の位置に指定 */
    width: 10px;           /* 四角形の横幅を指定 */
    height: 10px;          /* 四角形の高さを指定 */
    background: #FFF;      /* 背景色を指定 */
    border-right: 1px solid #666; /* 右側にborder */
    border-bottom: 1px solid #666;/* 下側にborder */
    transform: translate(-50%,55%) rotate(45deg); /* 表示位置を左方向に半分戻し、下方向に移動。かつ45度時計回りに回転 */
    transform-origin:center center; /* 回転の基準位置を中心に指定 */
}

.recruit_button_wrap {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin: 30px 0;
}

.recruit_button,
.recruit_button a,
.recruit_button a:link,
.recruit_button a:visited {
    display: block;
    width:180px;
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: #fff;
    background-color: #f39700;
    border-radius: 30px;
}

.recruit_button:hover {
    opacity: .8;
}

/*form*/
summary {
    text-decoration: none;
    color: #efefef;
}

.outline_table {
    width: 90%;
    padding: 5%;
    height: auto;
    background-color: #fff;
}
.outline_case {
    width: 98%;
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #ccc;
}
.left_side {
    width: 30%;
    max-width: 300px;
    padding: 1%;
    margin: 1%;
    height: auto;
    text-align: center;
    background-color:#f8f8ff;
}
.right_side {
    width: 62%;
    padding: 2%;
}
input.entry {
    width: calc(100% - 12px);
    font-size: 18px;
    font-weight: 300;
    padding:5px;
    border: 1px solid #ccc;
}
select {
    font-size: 18px;
    font-weight: 300;
    width: 100%;
    max-width: 300px;
}
option{
    font-size: 18px;
    font-weight: 300;
    padding: 2px;
}
textarea {
    display: block;
    width: calc(100% - 12px);
    height: 150px;
    font-size: 18px;
    font-weight: 300;
    padding:5px;
    border: 1px solid #ccc;
}
.submitBox {
    width: 100%;
    height: 40px;
    margin: 30px 0 ;
    text-align: center;
}
.send {
    width: 160px;
    background-color: #254489;
    color: #fff;
    text-align: 40px;
    height: 40px;
    margin: 0 auto;
    border: 0;
    border-radius: 20px;
    font-size: 18px;
    border: 2px solid #254489;
}

.send:hover {
    background-color: #fff;
    color: #254489;
}

.hissu {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: -20px;
    padding-top: 0;
    color: red;
}

.hissu_option {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: -0;
    color: red;
}
.ninsho {
    font-size: 16px;
    color:#000;
    font-weight: 300;
}


@media screen and (max-width:550px) {
    .outline_case {
        flex-direction: column;
    }

    .left_side{
        width: 100%;
        max-width: 1000px;
    }

    .right_side {
        width: 100%;
    }

    option{
         width: 100%;
         max-width: 1000px;
    }

    .hissu,
    .hissu_option {
        text-align: right;
    }
}

@media screen and (max-width:750px) {

    .eyecatch_wrap {
        flex-direction: column;
        background-color: #fff;
    }

    h1.title {
        width: 90%;
        height: 80px;
        font-size: 26px;
        line-height: 80px;
        text-align: left;
        margin-left: 5%;
        background-color:#fff;
        color: #000;
        padding-top: 0;
    } 

    .entry {
        display: inline-block;
    }

    .entry::before {
        content: "・";
    }
     
    .contact_image {
        width: 100%;
        height: 450px;
        background-position: 100% 10%;
        background-size: cover;
    }
}