@charset "UTF-8";

/* Page Visual
---------------------------------------------------------------------------*/
#page_visual {
    position: relative;
    width: 100vw;
    height: 600px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    z-index: 99;
}

.page_visual_img img {
    position: absolute;
    width: 100%;
    height: 320px;
    bottom: 0;
    object-fit: cover;
    object-position: center;
}

.page_title {
    position: absolute;
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    top: 120px;
    left: 120px;
    z-index: 100;
}

.page_title p.page_title_en {
    font-size: calc(60 / var(--root-font-size) * 1rem);
    line-height: 1.0em;
    color: #e84730;
    display: flex;
    align-items: center;
    margin: 0 0 10px 0;
}

.page_title p.page_title_en::before {
    content: "";
    background: #e84730;
    position: absolute;
    width: 100px;
    height: 3px;
    margin-left: -120px;
}

.page_title p.page_title_jp {
    font-size: calc(30 / var(--root-font-size) * 1rem);
    line-height: 1.0em;
    color: #000;
}

.sub_visual {
    position: relative;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.sub_visual_img img {
    position: relative;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
}


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

    .page_title {
        left: 80px;
    }

}


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

    #page_visual {
        height: 600px;
    }

    .page_title {
        top: 180px;
        left: 25px;
    }

    .page_title p.page_title_en {
        font-size: calc(30 / var(--root-font-size) * 1rem);
        display: block;
        margin: 0 0 5px 0;
    }

    .page_title p.page_title_en::before {
        display: none;
    }

    .page_title p.page_title_jp {
        font-size: calc(24 / var(--root-font-size) * 1rem);
        line-height: 1.5em;
    }

}


/* Page Content
---------------------------------------------------------------------------*/
.page_content {
    position: relative;
    width: 100%;
    margin: 10px 0 30px 0;
    padding: 50px 240px 10px 10px;
}

.page_content .content_head {
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: calc(30 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
}

.page_content .content_head .en {
    display: block;
    font-size: calc(20 / var(--root-font-size) * 1rem);
    color: #e84730;
    margin: 0 0 5px 3px;
}

.content_note {
    width: 100%;
    margin-top: 40px;
    padding: 40px;
    background: #f9f9f9;
}

.content_note_orange {
    display: block;
    font-size: calc(20 / var(--root-font-size) * 1rem);
    line-height: 1.0em;
    color: #e84730;
    margin-bottom: 10px;
}

.page_content_wrap {
    position: relative;
    display: flex;
    justify-content: space-between;
}

.page_content_wrap:not(:first-of-type) {
    margin-top: 30px;
}

.content_sub_head {
    position: relative;
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    width: 20%;
    padding: 0 15px 0 0;
    border-right: #e6e6e6 solid 1px;
}

.content_sub_head h5 {
    font-size: calc(24 / var(--root-font-size) * 1rem);
    line-height: 1.25em;
    color: #000;
    text-align: right;
}

.content_sub_head h5 .small {
    display: block;
    font-size: calc(15 / var(--root-font-size) * 1rem);
    line-height: 1.0em;
    color: #e84730;
    margin-bottom: 10px;
}

.page_content .content_info {
    position: relative;
    width: 80%;
    padding: 0 0 0 15px;
}

.content_info p:not(:last-child) {
    margin: 0 0 30px 0;
}

.content_info p.catch:not(:last-of-type) {
    margin: 0 0 60px 0;
}

h6.article_head {
    font-size: calc(20 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
    padding: 27px 25px 27px 25px;
    background: #f0f0f0;
    border-left: #e84730 solid 6px;
    margin: 45px 0 30px 0;
}

h6.article_head:first-child {
    margin: 0 0 30px 0;
}


.txt_head {
    display: block;
    position: relative;
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: calc(18 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
    margin: 0 0 10px 15px;
}

.txt_head::before {
    content: "";
    position: absolute;
    top: calc((8px + (18 / var(--root-font-size) * 1em) - 8px) / 2);
    left: -15px;
    width: 8px;
    height: 8px;
    background: #e84730;
    border-radius: 50%;
}

.content_info img {
    width: 100%;
}


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

    .page_content {
        padding: 100px 50px 100px 50px;
    }

    .page_content_wrap {
        flex-direction: column;
    }

    .page_content .content_info {
        width: 100%;
        margin: 50px 0 0 0;
        padding: 0;
    }

    .content_sub_head {
        width: 100%;
        padding: 0;
        border-right: none;
    }

    .content_sub_head h5 {
        text-align: left;
    }

}


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

    .page_content {
        margin: 10px 0 10px 0;
        padding: 80px 15px 80px 15px;
    }

    .page_content .content_head {
        font-size: calc(26 / var(--root-font-size) * 1rem);
    }

    .content_note {
        padding: 20px;
        background: #f9f9f9;
    }

    .page_content_wrap {
        display: block;
    }

    .page_content_wrap:not(:first-of-type) {
        margin-top: 80px;
    }

    h6.article_head {
        font-size: calc(16 / var(--root-font-size) * 1rem);
        padding: 15px 17px 15px 17px;
        border-left: #e84730 solid 3px;
        margin: 35px 0 20px 0;
    }

    h6.article_head:first-child {
        margin: 0 0 20px 0;
    }

    .txt_head {
        font-size: calc(16 / var(--root-font-size) * 1rem);
        margin: 0 0 5px 15px;
    }

    .txt_head::before {
        top: calc(((24 / var(--root-font-size) * 1em) - 8px) / 2);
    }

}


/* Page Point
---------------------------------------------------------------------------*/
.page_point {
    position: relative;
    width: 100%;
    margin: 30px 0 30px 0;
    padding: 150px 120px 150px 120px;
}

.page_point .content_info {
    position: relative;
    width: 70%;
}

.content_info_lead {
    position: relative;
    padding: 0 0 0 60px;
    margin: 0 0 30px 0;
}

.content_info_lead h4 {
    margin: 0 0 20px 0;
}

.point_item {
    position: relative;
    display: flex;
    width: 100%;
    padding: 30px 0 30px 0;
    border-top: #e6e6e6 solid 1px;
}

.point_item:last-of-type {
    padding: 30px 0 0 0;
}

.point_num {
    position: relative;
    padding: 0 50px 0 0;
    width: 23%;
    border-right: #e6e6e6 solid 1px;
}

.point_num::before {
    content: "";
    display: block;
    position: absolute;
    width: calc(100% + 1px);
    height: 45px;
    border-right: #e84730 solid 1px;
}

.point_num p {
    font-size: calc(30 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
    color: #e84730;
    letter-spacing: 1.5px;
    text-align: right;
}

.point_info {
    position: relative;
    padding: 0 50px 0 50px;
    width: 77%;
}

.point_title {
    margin: 0 0 20px 0;
}

.point_info_txt {
    width: 100%;
}

dl.point_list {
    width: 100%;
}

dl.point_list dt {
    position: relative;
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: calc(18 / var(--root-font-size) * 1rem);
    margin: 0 0 10px 15px;
}

dl.point_list dt::before {
    content: "";
    position: absolute;
    top: calc(4px + ((18 / var(--root-font-size) * 1em) - 8px) / 2);
    left: -15px;
    width: 8px;
    height: 8px;
    background: #e84730;
    border-radius: 50%;
}

dl.point_list dd {
    margin: 0 0 15px 15px;
}

dl.point_list dd:last-child {
    margin: 0 0 0 15px;
}


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

    .page_point {
        padding: 100px 50px 100px 50px;
    }

    .page_point .content_info {
        width: 100%;
        margin: 50px 0 0 0;
    }

    .content_info_lead {
        padding: 0;
    }

    .point_num {
        width: 18%;
    }

    .point_info {
        width: 82%;
    }

}


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

    .page_point {
        margin: 10px 0 10px 0;
        padding: 80px 15px 80px 15px;
    }

    .content_info_lead h4 {
        font-size: calc(30 / var(--root-font-size) * 1rem);
    }

    .point_item {
        display: block;
        width: 100%;
        padding: 20px 0 20px 0;
    }

    .point_item:last-of-type {
        padding: 20px 0 20px 0;
        border-bottom: #e6e6e6 solid 1px;
    }

    .point_num {
        padding: 0;
        width: 100%;
        border-right: none;
    }

    .point_num::before {
        display: none;
    }

    .point_num p {
        font-size: calc(24 / var(--root-font-size) * 1rem);
        text-align: left;
        margin: 0 0 10px 0;
    }

    .point_info {
        padding: 0;
        width: 100%;
    }

}


/* Content Table
---------------------------------------------------------------------------*/
table.content_table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.content_table_wrap {
    margin: 60px 0 0 0;
}

.content_head_wrap {
    margin-bottom: 30px;
}

table.content_table tr {
    width: 100%;
    display: flex;
    align-items: stretch;
}

table.content_table th {
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    text-align: left;
    width: 20%;
    display: inline-block;
    padding: 30px 20px 30px 20px;
    border-top: solid 1px #e6e6e6;
}

table.content_table td {
    text-align: justify;
    width: 80%;
    display: inline-block;
    padding: 30px 20px 30px 20px;
    border-top: solid 1px #e6e6e6;
}

table.content_table tr:last-child th {
    border-bottom: solid 1px #e6e6e6
}

table.content_table tr:last-child td {
    border-bottom: solid 1px #e6e6e6;
}

table.content_table td ul.td_list {
    padding-left: 15px;
}

table.content_table td ul.td_list li {
    position: relative;
}

table.content_table td ul.td_list li::before {
    content: "";
    position: absolute;
    top: calc(6px + ((15 / var(--root-font-size) * 1em) - 3px) / 2);
    left: -15px;
    width: 6px;
    height: 6px;
    background: #e84730;
    border-radius: 50%;
}


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

    .content_table_wrap {
        margin: 60px 0 0 0;
    }

    table.content_table {
        width: 100%;
    }

    table.content_table tr {
        display: block;
    }

    table.content_table th {
        width: 100%;
        padding: 20px 20px 20px 20px;
        background: #f9f9f9;
    }

    table.content_table td {
        width: 100%;
        padding: 20px 20px 20px 20px;
    }

    table.content_table tr:last-child th {
        border-bottom: none;
    }

    table.content_table tr:last-child td {
        border-bottom: solid 1px #e6e6e6;
    }

}


/* Page Mission
---------------------------------------------------------------------------*/
#page_mission {
    padding: 150px 120px 150px 120px;
}

#page_mission p.catch {
    margin-top: -0.5em;
}


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

    #page_mission {
        padding: 100px 50px 100px 50px;
    }

}


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

    #page_mission {
        padding: 80px 15px 80px 15px;
    }

    #top_about .sec_info h4 {
        margin: 0 0 30px 0;
    }

    #top_about .link_btn {
        margin: 0;
    }

}


/* Page Reason
---------------------------------------------------------------------------*/
#page_reason .content_sub_head {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.box_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 85px 40px;
    justify-content: space-between;
}

.box_item {
    width: calc(50% - 40px);
}

h4.reason_title {
    font-size: calc(25 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
    color: #e84730;
}

.title_line {
    position: relative;
    padding: 25px 0 25px 0;
}

.title_line .title_line_gray {
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #e6e6e6;
}

.title_line .title_line_orange {
    position: absolute;
    display: block;
    width: 60px;
    height: 1px;
    background: #e84730;
}


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

    #page_reason .content_sub_head {
        align-items: flex-start;
    }

}

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

    #page_reason .content_sub_head {
        display: block;
    }

    .box_wrap {
        display: block;
    }

    .box_item {
        width: 100%;
        margin: 40px 0 0 0;
    }

    .box_item:first-of-type {
        margin: 0;
    }

    h4.reason_title {
        font-size: calc(24 / var(--root-font-size) * 1rem);
    }

    .title_line {
        padding: 15px 0 15px 0;
    }

}


/* Page Service
---------------------------------------------------------------------------*/
#page_service .point_item:first-of-type {
    padding: 0 0 30px 0;
    border-top: none;
}

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

    #page_service .point_item:first-of-type {
        padding: 30px 0 30px 0;
        border-top: #e6e6e6 solid 1px;
    }

}


/* Page Recruit
---------------------------------------------------------------------------*/
#staff {
    margin: 30px 0 30px 0;
    padding: 100px 120px 100px 120px;
}

#staff .page_content_wrap {
    margin-top: 80px;
}

.question_option:not(:last-child) {
    margin-bottom: 30px;
}

.check {
    display: none;
}

.question_num {
    font-size: calc(30 / var(--root-font-size) * 1rem);
    width: 50px;
    margin-right: 10px;
}

label.question_tit,
.question_detail {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
}

label.question_tit {
    display: flex;
    align-items: baseline;
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: calc(20 / var(--root-font-size) * 1rem);
    color: #e84730;
    padding-right: 30px;
    cursor: pointer;
}

label.question_tit:last-of-type {
    margin-bottom: 0;
}

label.question_tit::after,
label.question_tit::before {
    content: "";
    position: absolute;
    right: 0.5em;
    top: 9px;
    width: 2px;
    height: 16px;
    background-color: #e84730;
    transition: all 0.4s ease-out;
}

label.question_tit::after {
    transform: rotate(90deg);
}

.question_detail {
    background-color: #fff;
    max-height: 0;
    line-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out 0s, line-height 0.4s ease-out 0s, padding 0.4s ease-out 0s, opacity 0.6s 0.3s;
    -webkit-transition: max-height 0.4s ease-out 0s, line-height 0.4s ease-out 0s, padding 0.4s ease-out 0s, opacity 0.6s 0.3s;
    -moz-transition: max-height 0.4s ease-out 0s, line-height 0.4s ease-out 0s, padding 0.4s ease-out 0s, opacity 0.6s 0.3s;
    -ms-transition: max-height 0.4s ease-out 0s, line-height 0.4s ease-out 0s, padding 0.4s ease-out 0s, opacity 0.6s 0.3s;
    -o-transition: max-height 0.4s ease-out 0s, line-height 0.4s ease-out 0s, padding 0.4s ease-out 0s, opacity 0.6s 0.3s;
}

.check:checked+.question_tit+.question_detail {
    max-height: 9999px;
    line-height: 2.0;
    opacity: 1;
    margin: 30px 0 30px 0;
}

.check:checked+.question_tit+.question_detail:last-child {
    margin: 30px 0 0 0;
}

.check:checked+.question_tit::before {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}


#recruit {
    padding: 100px 120px 150px 120px;
}

#recruit.page_content {
    margin: 30px 0 0 0;
}

details {
    border-bottom: solid 1px #e6e6e6;
    margin-bottom: 30px;
}

details[open] {
    border-bottom: none;
}

summary {
    position: relative;
    display: block;
}

summary::-webkit-details-marker {
    display: none;
}

.summary_inner {
    font-family: YakuHanJP, 'HelveticaNowText_Bold', 'Tazugane_Gothic_Heavy', 'YuGothic', '游ゴシック', 'Yu Gothic', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: calc(15 / var(--root-font-size) * 1rem);
    color: #e84730;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 20px;
    cursor: pointer;
}

.icon {
    display: block;
    position: relative;
    width: 16px;
    transform-origin: center;
    transition: transform 0.4s;
    -webkit-transition: transform 0.4s;
    -moz-transition: transform 0.4s;
    -ms-transition: transform 0.4s;
    -o-transition: transform 0.4s;
}

/* アコーディオンが開いた時のスタイル */
details[open] .icon::before {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}

/* アイコンのバーのスタイル */
.icon::before,
.icon::after {
    content: "";
    position: absolute;
    top: 6.5px;
    width: 2px;
    height: 16px;
    background-color: #e84730;
    transition: all 0.4s ease-out;
}

.icon::after {
    transform: rotate(90deg);
}


#recruit .link_btn a {
    margin: 0 0 0 auto;
}


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

    #staff,
    #recruit {
        padding: 100px 50px 100px 50px;
    }

}


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

    #staff,
    #recruit {
        margin: 10px 0 10px 0;
        padding: 80px 15px 80px 15px;
    }

    .question_num {
        font-size: calc(20 / var(--root-font-size) * 1rem);
        width: 30px;
        margin-right: 5px;
    }

    label.question_tit {
        font-size: calc(15 / var(--root-font-size) * 1rem);
    }

    label.question_tit::after,
    label.question_tit::before {
        top: 11px;
        width: 2px;
        height: 10px;
    }

    .check:checked+.question_tit+.question_detail {
        margin: 20px 0 20px 0;
    }

    .check:checked+.question_tit+.question_detail:last-child {
        margin: 20px 0 0 0;
    }

    #page_service .point_item:first-of-type {
        padding: 30px 0 30px 0;
        border-top: #e6e6e6 solid 1px;
    }

    #staff .page_content_wrap {
        margin-top: 60px;
    }

}


/* Page Company
---------------------------------------------------------------------------*/
#company {
    margin: 30px 0 0px 0;
    padding: 100px 120px 0 120px;
}

#company .content_table_wrap {
    margin-top: 0;
    margin-bottom: 150px;
}


@media screen and (max-width:1024px) {
    #company {
        padding: 100px 50px 0 50px;
    }
}


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

    #company {
        padding: 80px 15px 30px 15px;
    }

    #company .content_table_wrap {
        margin-top: 0;
        margin-bottom: 80px;
    }

}


/* Page News
---------------------------------------------------------------------------*/
.page_content#news_list {
    padding: 80px 120px 80px 120px;
}

#news_list .content_table_wrap {
    margin: 0;
}

#news_list .news_table {
    width: 100%;
}

#news_list .news_table .news_table_inner {
    width: 100%;
    border-top: solid 1px #e6e6e6;
    padding: 30px 10px 30px 10px;
}

#news_list .news_table .news_table_inner:last-child {
    border-bottom: solid 1px #e6e6e6;
}

#news_list .news_table_inner a {
    display: flex;
    font-size: calc(18 / var(--root-font-size) * 1rem);
    line-height: 1.5em;
    cursor: pointer;
}

#news_list .news_table .news_table_inner time {
    width: calc(20% - 10px);
    color: #e84730;
}

#news_list .news_title {
    width: calc(80% - 10px);
}

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

    .page_content#news_list {
        padding: 80px 50px 80px 50px;
    }

}

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

    .page_content#news_list {
        padding: 50px 15px 50px 15px;
    }

    #news_list .news_table .news_table_inner {
        padding: 20px 5px 20px 5px;
    }

    #news_list .news_table_inner a {
        display: block;
        font-size: calc(16 / var(--root-font-size) * 1rem);
        line-height: 1.2em;
    }

    #news_list .news_table .news_table_inner time {
        width: 100%;
    }

    #news_list .news_title {
        width: 100%;
        margin: 10px 0 0 0;
    }

}

#news {
    margin: 0;
    padding: 100px 120px 0 120px;
}

#news .page_content_wrap {
    margin-top: 0;
    margin-bottom: 100px;
}

#news .content_sub_head h5 {
    color: #e84730;
}


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

    #news {
        margin: 0;
        padding: 100px 50px 0 50px;
    }

}

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

    #news {
        padding: 50px 15px 30px 15px;
    }

    #news .content_info {
        margin: 15px 0 0 0;
    }

    #news .page_content_wrap {
        margin-bottom: 50px;
    }

    #news .content_sub_head h5 {
        font-size: calc(18 / var(--root-font-size) * 1rem);
        text-align: left;
    }

}



/* Page Contact
---------------------------------------------------------------------------*/
#contact {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 80px;
}

#contact .page_content_wrap {
    margin-top: 100px;
    margin-bottom: 0;
}

#pip {
    margin-bottom: 0;
    padding-top: 100px;
}

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

    #contact {
        padding: 30px 15px 80px 15px;
    }

    #contact .page_content_wrap {
        margin-top: 50px;
        margin-bottom: 0px;
    }

    #pip {
        padding: 30px 15px 80px 15px;
    }

    #pip .page_content_wrap {
        margin-top: 50px;
        margin-bottom: 0px;
    }

}


/* Contact Form
---------------------------------------------------------------------------*/
form#mail_form {
    width: 100%;
    margin: 50px auto 0 auto;
}

form#mail_form .form_table {
    width: 100%;
}

form#mail_form .form_table tr {
    display: flex;
    border-top: 1px solid #e6e6e6;
}

form#mail_form .form_table tr:last-child {
    border-bottom: 1px solid #e6e6e6;
}

form#mail_form th {
    display: flex;
    justify-content: space-between;
    width: 25%;
    padding: 40px 10px;
}

form#mail_form td {
    width: 75%;
    padding: 25px 10px;
}

form#mail_form .select_wrap,
form#mail_form select {
    cursor: pointer;
    display: inline-block;
}

::placeholder {
    color: #ccc;
}

form#mail_form .text_input {
    width: 100%;
    padding: 15px;
    background: #fff;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    font-family: inherit;
}

form#mail_form .text_area {
    width: 100%;
    padding: 15px;
    resize: vertical;
    background: #fff;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

form#mail_form th span.require {
    display: inline-block;
    color: #e84730;
    font-size: 0.8em;
}

.select_wrap {
    position: relative;
    display: inline-block;
    width: 30%;
}

select::-ms-expand {
    display: none;
}

select {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    font: inherit;
    font-size: 100%;
    color: #000;
    padding: 15px 66px 15px 15px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: linear-gradient(to right, #e6e6e6, #e6e6e6);
    background-position: top 10px right 50px;
    background-size: 1px 40px;
    background-repeat: no-repeat;
}

.select_wrap::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
}

.select_wrap::after {
    content: '';
    position: absolute;
    top: 2px;
    bottom: 0;
    right: 18px;
    width: 0;
    height: 0;
    margin: auto 0;
    border-style: solid;
    border-width: 10px 8px 0 8px;
    border-color: #ccc transparent transparent transparent;
}

.error {
    font-size: 1.0em;
    color: #e84730;
    margin: 5px 0 0 0;
    background: url(img/error.gif) no-repeat 0px 3px;
}

form#mail_form input[type="submit"] {
    font-size: calc(15 / var(--root-font-size) * 1rem);
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.5em;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

#form_submit {
    position: relative;
    margin: 50px 10px 0 auto;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.5em;
    padding: 30px 0;
    width: calc(75% - 20px);
    text-decoration: none;
    background: #e84730;
    border-radius: 50vh;
    -webkit-border-radius: 50vh;
    -moz-border-radius: 50vh;
    -ms-border-radius: 50vh;
    -o-border-radius: 50vh;
    transition: 0.5s all linear;
    -webkit-transition: 0.5s all linear;
    -moz-transition: 0.5s all linear;
    -ms-transition: 0.5s all linear;
    -o-transition: 0.5s all linear;
    cursor: pointer;
}

#form_submit:hover,
#form_submit.active:hover {
    background: #000;
    opacity: 1;
}

#form_submit::after {
    content: "";
    background: #fff;
    width: 7px;
    height: 7px;
    position: absolute;
    right: 27px;
    top: calc(50% - 3.5px);
    border-radius: 50%;
}

#form_submit:hover::after {
    animation-name: Wink;
    animation-duration: 0.3s;
    animation-timing-function: ease-in-out;
}

@keyframes Wink {
    0% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }

    50% {
        transform: scale(0.1);
        -webkit-transform: scale(0.1);
        -moz-transform: scale(0.1);
        -ms-transform: scale(0.1);
        -o-transform: scale(0.1);
    }

    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
    }
}



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

    form#mail_form {
        width: 100%;
        margin: 40px auto 0 auto;
        padding: 0;
    }

    .select_wrap {
        width: 60%;
    }

    #form_submit {
        width: 75%;
        margin: 50px 0 0 auto;
    }

}


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

    form#mail_form tr {
        flex-direction: column;
        border-top: none;
    }

    form#mail_form tr:last-child {
        border-bottom: none;
    }

    form#mail_form th {
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid #e6e6e6;
    }

    form#mail_form td {
        width: 100%;
        padding: 15px 0;
    }

    .select_wrap {
        width: 100%;
    }

    form#mail_form .text_input {
        padding: 15px 10px;
    }

    form#mail_form .text_area {
        padding: 15px 10px;
    }

    form#mail_form #form_submit {
        margin-top: 30px;
    }

    #form_submit {
        width: 100%;
        padding: 18px 0;
    }

}