@charset "utf-8";
/* CSS Document */

body {
    font-size: 12px;
}

.sp {
    display: block;
}

.pc {
    display: none;
}

.left {
    float: none;
}

.right {
    float: none;
}

.half {
    width: 100%;
}
.sp_full {width:100%;}
/********** header *******************/
header#header {
    padding: 0.5em 0 0 0;
    height: 6.5em;
    background: #d6011f;
    position: relative;
    box-sizing: border-box;
}

#nav {
    position: absolute;
    background-color: #F8F8F8;
    z-index: 100;
    width: 98%;
}

#header_menu {
    margin-top: 0;
}

header#header h1 {
    width: 42%;
    margin-top: 0em;
    margin-bottom: 0;
    margin-left: 0.25em;
    line-height: 1.25em;
}

header#header h1 img {
    width: 100%;
    max-width: 230px;
}

header#header h1 span {
    display: block;
    font-size: 2.933vw;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-align: center;
    margin-right: 0.75em;
}

@media (min-width: 550px) and (max-width: 767px) {
    header#header h1 span {
        font-size: 0.667em;
    }
}

header#header #spnav a {
    position: relative;
    margin-top: 0;
    font-size: 1em;
    right: 0;
}

header#header #spnav a i {
    font-size: 3em;
}

header#header #spnav a span.fcw.center {
    line-height: 0px;
    font-size: 1.075em;
    margin-left: 2px;
}

header#header #spnav {
    margin-top: 0;
    padding: 1em 0 0em 0;
    width: 4.5em;
    top: 0;
    min-height: 6.5em;
}

#google_translate_element {
    right: 4.5em;
    width: 10.5em;
    padding: 1.5em 0 0 0;
    min-height: 60px;
    background-color: none;
}

.goog-te-gadget-simple .goog-te-menu-value span {
    font-size: 0.825em !important;
}

header#header nav ul#menu {
    display: none;
    text-align: left;
    padding: 1em 0 3em 0;
    box-sizing: border-box;
    margin-top: 0;
    width: 100%;
}

header#header ul li a {
    text-align: center;
    margin-left: 0;
}

header#header ul li {
    margin-top: 1.25em;
}

header#header ul li img {
    max-width: 40px;
    width: 15%;
}

header#header .right {
    margin-right: 0em;
}

.overlay nav {
    top: 29%;
    font-size: 1.75em;
}

.overlay ul li a span {
    font-size: 0.5em;
}

.s_inner {
    width: 90%;
}

/******************************top*********************************/
#top_slide img.pa {
    top: 57%;
    width: 60%;
}

.line_scroll {
    height: 4em;
    bottom: -2em;
}

#future {
    padding: 6.5em 0 4.5em 0;
}

#future h2 {
    font-size: 2.25em;
}

#future .left_cow,
#future .right_cow {
    width: 26%;
}

@media (min-width: 480px) and (max-width: 767px) {

    #future .left_cow,
    #future .right_cow {
        width: 10.25em;
    }
}

#future p.middle {
    font-size: 1.50em;
}

#future p.small {
    line-height: 2em;
    text-align: left;
}

#future .tac {
    margin-top: 3em;
}

#future .tac a {
    padding: 1em 9em 1em 2em;
    border: 2px solid #FFF;
}

#top_contents {
    padding: 5em 0 1em 0;
}

#top_contents h2 {
    font-size: 2.5em;
    margin-top: 4%;
    float: left;
    padding-left: 1.25em;
}

#top_contents h2::before {
    width: 25px;
}

#top_contents .center_cow {
    width: 48%;
    float: right;
}

#top_contents .flex {
    display: block;
}

#top_contents .flex div.bg_re {
    width: 100%;
    box-sizing: border-box;
    padding: 5% 3% 10% 4%;
    text-align: center;
}

#top_contents .flex div.img {
    width: 100%;
    margin-bottom: 2em;
}

#top_gallery {
    padding: 2em 0 3em 0;
}

#top_gallery img.left_cow2 {
    left: 0.5em;
    width: 27%;
}

#top_gallery img.right_cow2 {
    right: 0.5em;
    width: 27%;
}

#top_gallery h2 {
    font-size: 2.375em;
}

#top_gallery .bg_bk {
    padding: 3em 0 3em 0;
}

#top_gallery .bg_bk div.left {
    max-width: 370px;
    width: 48%;
    margin-right: 4%;
    margin-bottom: 1em;
    float: left;
}

#top_gallery .bg_bk div.left:nth-of-type(3n) {
    margin-right: 4%;
}

#top_gallery .bg_bk div.left:nth-of-type(even) {
    margin-right: 0;
}

#top_gallery .bg_bk .tac a {
    padding: 1em 9em 1em 2em;
}

/****************************footer****************************/
footer {
    padding: 2em 0 2em 0;
}

footer h3 a img:last-of-type {
    max-width: 377px;
    margin-top: 0.75em;
    width: 100%;
}

footer#footer ul li {
    display: block;
    margin-right: 0;
    margin-bottom: 0.5em;
}

footer .middle_inner div.left {
    width: 100%;
}

footer#footer p.copy {
    margin-top: 2em;
}

footer .middle_inner div.right {
    width: 100%;
}

footer h3 {
    text-align: center;
    width: 60%;
    display: block;
    margin: 0 auto 2em auto;
}

footer div.left {
    width: 100%;
    text-align: center;
    margin-top: 2em;
}

footer h3 a img {
    margin-left: -1em;
}

footer .right {
    width: 100%;
}

footer .right ul {
    text-align: center;
    margin-top: 3em;
    max-width: 31em;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

footer .right ul li {
    margin-left: 1.25em;
    display: inline-block;
    margin-bottom: 1em;
    font-size: 0.95em;
}

footer .right p {
    text-align: center;
    font-size: 1em;
    margin-top: 3em;
}

footer .left p {
    font-size: 1.125em;
    margin-bottom: 1em;
    display: block;
}

/*********************************contents_top common*********************************/
#contents_top h2 {
    font-size: 9.75vw;
}

.contents_left_cow {
    top: -3em;
    left: 0em;
}

.contents_right_cow {
    top: -3em;
    right: 0em;
}

/***********************************about*************************************/
section#town h2,
section#about h2 {
    font-size: 2.5em;
}

section#about,
section#profile {
    padding: 6em 0 9vw 0;
}

section#town {
    padding: 6em 0 17vw 0;
}

section#town p.small,
section#about p.small,
section#about .flex div p {
    font-size: 0.95em;
    text-align: left;
}

section#about .right_cow {
    top: -4%;
    max-width: 150px;
    width: 32%;
}

section#town .left_cow {
    top: 2em;
    max-width: 110px;
    width: 25%;
}

section#about .flex,
section#profile .flex {
    display: block;
}

section#about .flex div {
    width: 100%;
    display: block;
    margin: 0 auto 3em auto;
}

section#profile .profile {
    padding: 3em 2em;
}

section#profile .profile h3 {
    /*width: 66%;*/
    margin: 1em auto 3em auto;
    max-width: 200px;
}

section#profile h2 {
    font-size: 2.375em;
    margin-bottom: 0.5em;
}

section#profile h2::before {
    width: 42px;
}

section#about .flex div h3 {
    font-size: 2em;
    line-height: 1.8em;
}

section#about .flex div p {
    height: auto;
    margin-bottom: 1em;
}

/*movie*/
section#about .movies h3{
	padding-top: 1em;
	width: 100%;
	margin-top: 1em;
}

section#about .movies .flex div.video_container + div.video_container{
	padding-top: 0;
}

section#about .movies h3 span{
	margin-top: 0.2em;
}

section#about .movies .flex div.video_container p{
	margin: 0 auto 0.5em auto;
	text-align: center;
}

section#profile .map iframe {
    height: 250px;
}

section#profile .flex div.m_slide {
    padding: 4em 0 1em 0;
}

section#profile .flex div.m_slide .swiper-container {
    padding-bottom: 4em;
}

/***********************************recruit*************************************/
section#message h2,
section#voice h2,
section#requirements h2,
#page_contact h3 {
    font-size: 2.5em;
}

section#message p.middle,
section#voice p.middle,
#page_contact .flex a {
    font-size: 1.250em;
}

section#message p.small,
section#voice p.small {
    font-size: 0.95em;
    text-align: left;
}

section#message .flex {
    margin-top: 3em;
    display: block;
}

section#voice {
    padding: 6em 0 9vw 0;
}

section#message .left_cow,
section#message .right_cow {
    max-width: 130px;
}

section#voice div.img div.half img {
    margin: 0 auto 2em auto;
}

section#requirements .ss_inner {
    width: 96%;
}

section#requirements dl dt {    
    width: 5em;
}

section#requirements .left_cow2,
section#requirements .right_cow2 {
    top: 8vw;
    width: 20.75%;
    max-width: 80px;
}

#page_contact .flex {
    max-width: 1240px;
    margin: auto;
    display: block;
}

#page_contact .flex a {
    display: block;
    width: 80%;
    font-size: 1em;
    margin: 2em auto;
}

section#message .flex div.m_slide {
    padding: 3em 0 1em 0;
}

section#message {
    padding: 6em 0 16vw 0;
}

section#message .flex div.m_slide .swiper-container {
    padding-bottom: 4em;
}

/***********************************staff*************************************/
section#staff {
    padding: 14vw 0 16vw 0;
}

section#staff div.left {
    width: 90%;
    float: none;
    display: block;
}

section#staff .bg_w {
    padding: 2em 0 4em 0;
    width: 90%;
}

section#staff #staff1 {
    margin: 1em auto 6em auto;
}

section#staff #staff2,
section#staff #staff3,
section#staff #staff4,
section#staff #staff5,
section#staff #staff6,
section#staff #staff7,
section#staff #staff8,
section#staff #staff9,
section#staff #staff10 {
    margin: 1em auto 4.5em auto;
}
section#staff div.left:nth-of-type(3n+1) {
    clear:none;
}
section#staff div.left:nth-of-type(2n+1) {
    clear:both;	
}
/***********************************gallery*************************************/


section#gallery div.left {
    width: 49%;
    margin-right: 2%;
    margin-bottom: 0.75em;
    float: left;
}

section#gallery div.left:nth-of-type(3n) {
    margin-right: 2%;
}

section#gallery div.left:nth-of-type(2n) {
    margin-right: 0;
}

section#gallery .bg_bk {
    width: 90%;
    padding: 2em 0 2em 0;
}

.gallery_inner {
    width: 94%;
}
section#gallery h2 {
    font-size: 2.5em;
}
section#gallery .video_box, section#gallery .video_box:nth-of-type(2n) {float:none;}

/***********************************contact*************************************/
section#contact {
    padding: 6em 0 16vw 0;
}

section#contact p.p_1 {
    line-height: 1.8em;
    text-align: left;
    width: 96%;
}

.complete_text {
    text-align: left;
}

section#contact form dl dt {
    display: block;
    width: 94%;
    padding: 0.35em 1em 0.35em 1em;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}

section#contact form dl dd {
    display: block;
    padding: 0.75em 3% 1.5em 3%;
    width: 100%;
    margin-left: 0;
}

section#contact form dl dd input,
section#contact form dl dd textarea {
    width: 100%;
}

span.memo {
    margin-top: 1em;
}

form .flex {
    width: 86%;
}

form .flex a {
    width: 45%;
}