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

body {
    font-size: 16px;
    font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "游ゴシック体", "Yu Gothic", YuGothic, "メイリオ", Meiryo, sans-serif;
	height:100%;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
    color: #000;
    line-height: 1.8;
}
img {border:none; vertical-align:middle;}
a {color:#000;text-decoration: none;}
a i {vertical-align: middle;}
a:hover,
input[type="submit"]:hover,
input[type="reset"]:hover{
	opacity:0.8;
	filter:alpha(opacity=80);
	-ms-filter: "alpha( opacity=80 )";
	transition: 0.2s;
}
ul {padding-left: 0;}
li {list-style-type:none;}
header, main, article, footer, section, aside, nav, cite, figure, figcaption {display: block;}
h1,h2,h3,h4,h5,h6,p {margin-top: 0;margin-bottom: 0;}
.animation-add {visibility: hidden;}
main {width:100%;overflow:hidden;}
video {max-width:100%;}
/************************ float **********************************************/
.c-both {clear:both;}
.left {float:left;}
.right {float:right;}
.center {display:block;margin-left:auto; margin-right:auto;text-align:center;}
/***********************************flex***************************************/
.flex{display: flex;justify-content: space-between;}
.flex-re {flex-flow: row-reverse;}
.flex_s {justify-content: flex-start;}
.flex img {object-fit: cover;object-position: top;}
/************************************inner************************************/
.header_inner {
	width:98%; 
	margin-left:auto; margin-right:auto;
}
.inner {
	width:98%; max-width:1740px;
	margin-left:auto; margin-right:auto;
}
.middle_inner {
	width: 96%;max-width:1360px;
	margin-left:auto; margin-right:auto;
}
.s_inner {
	width: 96%;max-width:1180px;
	margin-left:auto; margin-right:auto;
}
.ss_inner {
	width: 96%;max-width:840px;
	margin-left:auto; margin-right:auto;
}
.gallery_inner {
    width: 90%; max-width: 1180px;
    margin-left:auto; margin-right:auto;
}
/*****************************************************************************************/
.heading {width: 100%;}
.half {width: 50%;}
.half_i {width:48%;}
.sp {display:none;}
.pc {display:block;}
.pr {position: relative;}
.pa {position: absolute;}
.tac {text-align: center;}
.of {overflow: hidden;display: block;}
/**********************************  color     *****************************************/
.bg_w {background: #FFFFFF;}
.bg_bk {background: #000;}
.bg_re {background: #d6011f;}
.fcw {color: #FFFFFF;}
.fcre {color: #d6011f;}
mark {background: linear-gradient(transparent 70%, #faf99c 30%);}
.tri1 {
    height: 13vw;
    background: linear-gradient(to top right, #000 50%, transparent 50.1%) bottom left/ 100% 100% no-repeat;
    bottom: 0;
    position: absolute;
    width: 100%;
    z-index: 1;
    bottom: 0;
    left: 0;
}
/**********************************  font     *****************************************/
.noto{font-family: 'Noto Sans JP', sans-serif;}
.dms{font-family: 'DM Sans', sans-serif;}
/**********************************  header  *****************************************/
header#header {
    padding-top: 0;
    position: absolute;
    width: 100%;
    z-index: 10;
    padding-bottom: 1em;
    top: 0;
}
header#header .material-icons {
    display: inline-block;
    color: #FFF;
    font-size: 4.5em;
}
header#header h1 {
    width: 30%;
    max-width: 300px;
    margin-top: 0.5em;
    margin-left: 0.75em;
}
header#header h1 a {
    display: block;
}
header#header h1 img {
    width: 100%;
    max-width: 300px;
}
header#header h1 span {
    display: block;
    font-size: 0.625em;
    font-weight: 500;
    letter-spacing: 0.2em;
}
header#header #spnav {
    position: absolute;
    right: 0;
    margin-top: 0;
    background-color: #000;
    padding: 0.25em 0 2em 0;
    max-width: 100px;
    box-sizing: border-box;
    width: 6.25em;
    min-height: 100px;
}
header#header #spnav a {
    display: block;
}
header#header #spnav a i {
    font-size: 3.5em;
}
header#header #spnav a span {
    line-height: 0px;
    letter-spacing: 0.1em;
}
#google_translate_element {
    right: 100px;
    top: 0em;
    width: 13.5em;
    max-width: 200px;
    padding: 2em 0;
    box-sizing: border-box;
    min-height: 100px;
    
}
/***********************************************追加***********************************************/
.overlay {
    position: fixed;
    background-image: url(../img/block/menu.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay nav {
    position: relative;
    height: 50%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 2.5em;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.25em;
    line-height: 1.2em;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: block;
    position: relative;
    opacity: 0;
    margin-bottom: 50px;
}

.overlay ul li a {
    display: block;
    position: relative;
    color: #FFF;
    text-decoration: none;
    overflow: hidden;
}

.overlay ul li a span {
    display: block;
    font-size: 0.35em;
    letter-spacing: 0;
    line-height: 2.25em;
}

.overlay ul li a:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 43.5%;
    width: 0%;
    transform: translateX(-50%);
    height: 3px;
    background: #FFF;
    transition: .35s;
}

.overlay ul li a:hover,
.overlay ul li a:focus,
.overlay ul li a:active {
    color: #d6011f;
}

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
    background-color: #d6011f;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
    margin-bottom: 0.5em;
    cursor: pointer;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
    margin-bottom: 0.5em;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
    margin-bottom: 0.5em;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .50s;
    margin-bottom: 0.5em;
}
.overlay.open li:nth-of-type(5) {
    animation-delay: .55s;
    margin-bottom: 0.5em;
}
.overlay.open li:nth-of-type(6) {
    animation-delay: .6s;
    margin-bottom: 0.5em;
}
.overlay.open li:nth-of-type(7) {
    animation-delay: .65s;
    margin-bottom: 0.5em;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}
/***********************************************footer***********************************************/
footer {
    padding: 3em 0 5em 0;
}
footer .middle_inner div.left {
    width: 30%;
}
footer .middle_inner div.right {
    width: 70%;
}
footer h3 {
    width: 100%;
    max-width: 310px;
}
footer h3 a {display: block;}
footer h3 a img {max-width: 310px;}
footer .left p {
    font-size: 0.875em;
    margin-top: 1em;
}
footer .right ul {
    margin-top: 3em;
}
footer .right ul li {
    display: inline-block;
    margin-left: 2em;
    font-size: 0.875em;
}
footer .right p {
    text-align: right;
    margin-top: 2.5em;
    font-size: 0.75em;
    letter-spacing: 0.1em;
}
footer .right ul li:first-of-type {
    margin-left: 0;
}
footer h3 a img:first-of-type {
    max-width: 300px;
}
footer h3 a img:last-of-type {
    max-width: 337px;
} 
/**********************************contents_top common************************************/
p.scroll {
    left: calc(50% - 1.75em);
    bottom: 3.5em;
    z-index: 9;
    font-size: 0.875em;
    letter-spacing: 0;
}

.line_scroll {
    background: #fff;
    display: block;
    height: 6em;
    width: 1px;
    margin: auto;
    position: absolute;
    z-index: 9;
    left: calc(50% - 1px);
    bottom: -4em;
}

.line_red {
    background: #d6011f;
    display: block;
    height: 6em;
    width: 1px;
    margin: auto;
    position: absolute;
    z-index: 9;
    left: calc(50% - 1px);
    top: -2em;
}

.line {
    display: block;
    margin: auto;
    border-left: 1px solid #000;
    height: 60px;
    box-sizing: border-box;
    width: 1px;
}

#contents_top h2 {
    font-size: 3.750vw;
    left: 0;
    right: 0;
    top: calc(50% - 1em);
    z-index: 0;
    margin: auto;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.2em;
}

.contents_left_cow {
    top: -9em;
    left: 2em;
    z-index: 2;
    max-width: 600px;
    width: 32%;
}

.contents_right_cow {
    top: -9em;
    right: 2em;
    z-index: 2;
    max-width: 600px;
    width: 32%;
}

/************************************************top************************************************/
section {
    position: relative;
}

#top_slide img.pa {
    top: calc(50% - 45px);
    left: 0;
    right: 0;
    max-width: 600px;
    width: 40%;
    margin: auto;
    z-index: 1;
}

#future {
    padding: 12.5em 0 11.5em 0;
}

#future .middle_inner {
    position: relative;
    z-index: 2;
}

#future h2 {
    font-size: 4.500em;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.050em;
    margin-bottom: 0.75em;
}

#future p.middle {
    font-size: 1.750em;
    letter-spacing: 0.05em;
    margin-bottom: 1.25em;
}

#future p.small {
    letter-spacing: 0.05em;
    line-height: 2.25em;
}

#future .left_cow {
    left: 0;
    top: 2em;
    max-width: 575px;
    width: 31%;
    z-index: 3;
}

#future .right_cow {
    right: 0;
    top: 2em;
    max-width: 575px;
    width: 31%;
    z-index: 3;
}

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

#future .tac a {
    position: relative;
    display: inline-block;
    padding: 1em 26em 1em 2em;
    border: 2px solid #FFF;
    overflow: hidden;
}

#future .tac a:before {
    content: "";
    position: absolute;
    left: -100%;
    background-color: blue;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
    transition: all .5s;
}

#future .tac a:hover:before {
    left: 0;
}

#future .tac a i {
    right: 1.5em;
    top: 1.4em;
}

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

#top_contents h2 {
    font-size: 3.375em;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.050em;
    position: relative;
    padding-left: 1.75em;
    margin-top: 2.25em;
}

#top_contents h2:before {
    content: "";
    background: #000;
    height: 1px;
    width: 60px;
    position: absolute;
    left: 0;
    top: 0.5em;
}

#top_contents .flex div.bg_re {
    width: 35%;
    box-sizing: border-box;
    padding: 8% 3% 0 4%;
}

#top_contents .flex div.bg_re h3 {
    font-size: 2.125em;
    letter-spacing: 0.025em;
    font-weight: 400;
}

#top_contents .flex div.bg_re p.middle {
    font-size: 1.50em;
    letter-spacing: 0.05em;
    font-weight: 400;
    margin-bottom: 1em;
}

#top_contents .flex div.bg_re p.small {
    font-size: 0.875em;
    letter-spacing: 0.05em;
    margin-bottom: 2em;
    font-weight: 400;
}

#top_contents .flex div.bg_re a {
    padding: 0.5em 2.25em 1em 0em;
    border-bottom: 2px solid #fff;
}

#top_contents .flex div.bg_re a i {
    right: 0.25em;
    top: 0.85em;
}

#top_contents .flex div.img {
    max-width: 884px;
    width: 65%;
}

#top_contents .center_cow {
    max-width: 900px;
    width: 67%;
}

#top_gallery h2 {
    font-size: 3.375em;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.5em;
    margin: 0.75em auto 1em auto;
}

#top_gallery {
    padding: 5.5em 0 8.5em 0;
}

#top_gallery img.left_cow2 {
    left: 2em;
    top: 4em;
    z-index: 0;
    max-width: 600px;
    width: 32%;
}

#top_gallery img.right_cow2 {
    right: 2em;
    top: 4em;
    z-index: 0;
    max-width: 600px;
    width: 32%;
}

#top_gallery .bg_bk {
    box-sizing: border-box;
    padding: 6em 0 5em 0;
    ;
    position: relative;
    z-index: 1;
}

#top_gallery .bg_bk div.left {
    max-width: 370px;
    width: 31.35%;
    margin-right: calc(5.95% / 2);
    margin-bottom: 3em;
}

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

#top_gallery .bg_bk .tac {
    margin-top: 2em;
}

#top_gallery .bg_bk .tac a {
    position: relative;
    display: inline-block;
    padding: 1.25em 26em 1.25em 2em;
    border: 2px solid #FFF;
    overflow: hidden;
}

#top_gallery .bg_bk .tac a:before {
    content: "";
    position: absolute;
    left: -100%;
    background-color: #d6011f;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: -1;
    transition: all .5s;
}

#top_gallery .bg_bk .tac a:hover:before {
    left: 0;
}

#top_gallery .bg_bk .tac a:hover,
#top_gallery .bg_bk .tac a:hover i {
    color: #FFF;
}

#top_gallery .bg_bk .tac a i {
    right: 1.5em;
    top: 1.4em;
}

/************************************************about***********************************************/
section#town {
    padding: 11em 0 16vw 0;
}

section#town .left_cow {
    left: 0;
    top: 2em;
    max-width: 575px;
    width: 31%;
    z-index: 3;
}

section#town h2 {
    font-size: 4.500em;
    font-weight: 400;
    line-height: 1.1em;
    margin-bottom: 0.5em;
}

section#town p.middle {
    font-size: 1.750em;
    letter-spacing: 0.025em;
    margin-bottom: 1em;
}

section#town p.small {
    font-weight: 500;
    line-height: 2.2em;
    letter-spacing: 0.025em;
}

section#about {
    padding: 11em 0 16vw 0;
}

section#about .right_cow {
    right: 0;
    top: -42%;
    max-width: 740px;
    width: 39%;
    z-index: 3;
}

section#about h2 {
    font-size: 4.500em;
    font-weight: 400;
    line-height: 1.1em;
    margin-bottom: 0.5em;
}

section#about p.middle {
    font-size: 1.750em;
    letter-spacing: 0.025em;
    margin-bottom: 1em;
}

section#about p.small {
    font-weight: 500;
    line-height: 2.2em;
    letter-spacing: 0.025em;
}

section#about .flex {
    margin-top: 5em;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


section#about .flex.f_end:after {
    margin-top: 5em;
	content: "";
    max-width: 370px;
    padding-top: 1.5em;
    width: 32%;
}








section#about .flex div {
    max-width: 370px;
    border-top: 2px solid #000;
    padding-top: 1.5em;
    width: 32%;
}

section#about .flex div h3 {
    font-size: 2.125em;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.2em
}

section#about .flex div h3 span {
    font-size: 0.559em;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 1.5em
}

section#about .flex div p {
    font-size: 0.938em;
    height: 9.5em;
    letter-spacing: 0.05em;
    margin-top: 2em;
    font-weight: 500;
}

section#about .flex div p a.kanki_system{
    text-decoration: underline;
    color: #d6011f;
}

section#about .flex div img {
    width: 100%;
}
/*movie*/
section#about .movies{
}
section#about .movies h3{
	font-size: 2.125em;
	font-weight: 400;
	letter-spacing: 0.025em;
	line-height: 1.2em;
	max-width: 370px;
	width: 32%;
	margin-top: 3em;
	border-top: 2px solid #000;
	padding-top: 0.7em;
}
section#about .movies h3 span{
	font-size: 0.559em;
	font-weight: 400;
	letter-spacing: 0.05em;
	line-height: 1.5em;
}
section#about .movies .flex{
	margin-top: 1em;
}
section#about .movies .flex div.video_container{
	border: none;
}
section#about .movies .flex div.video_container p{
	height:2em;
	margin:0 auto;
}
section#about .movies .flex div.video_container video{
	max-width:100%;
}
section#profile {
    padding: 11em 0 9vw 0;
}

section#profile h2 {
    font-size: 3.375em;
    font-weight: 400;
    letter-spacing: 0.025em;
    line-height: 1.050em;
    position: relative;
    padding-left: 1.75em;
    margin-bottom: 1.5em;
}

section#profile h2::before {
    content: "";
    background: #000;
    height: 1px;
    width: 60px;
    position: absolute;
    left: 0;
    top: 0.5em;
}

section#profile h2 span {
    font-size: 0.444em;
    margin-left: 1em;
}

section#profile .profile {
    padding: 8em 4em;
    box-sizing: border-box;
    background-color: #f1f1f1;
}

section#profile .profile h3 {
    max-width: 373px;
    width: 68%;
    margin-bottom: 3em;
}

section#profile .profile h3 img {
    width: 100%;
}

section#profile .profile dl {
    display: table;
    width: 100%;
}

section#profile .profile dl dt {
    display: table-cell;
    width: 7em;
    padding-right: 2em;
}

section#profile .profile dl dd {
    display: table-cell;
}

section#profile h3.fcre {
    font-size: 2.125em;
    letter-spacing: 0.025em;
    font-weight: 400;
    margin-top: 1em;
}

section#profile .map {
    max-width: 1360px;
    margin-top: 1em;
    position: relative;
    z-index: 3;
}

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

section#profile .flex div.m_slide .swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: block;
    max-width: 564px;
    width: 83%;
    padding-bottom: 3em;
}

section#profile .flex div.m_slide .swiper-container img {
    width: 100%;
}
section#about .rest_movie {max-height: 247px;height: 100%; background-color: black; width:100%;}

/************************************************gallery***********************************************/
section#gallery {
    padding: 10.75vw 0 16vw 0;
}

section#gallery div.left {
    max-width: 370px;
    width: 31.5%;
    margin-right: 2.75%;
    margin-bottom: 3em;
    float: left;
}

section#gallery .bg_bk {
    max-width: 1360px;
    padding: 6em 0 5em 0;
    position: relative;
    z-index: 3;
}

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

section#gallery div.left img {
    max-width: 370px;
}
section#gallery h2 {
  line-height: 1.4em;
  font-size: 4.500em;
  font-weight: 400;
  letter-spacing: 0.025em;
  margin-bottom: 0.125em;
}
section#gallery h2 span {
  font-size: 0.389em;
  letter-spacing: 0.075em;
  font-weight: 500;
}
section#gallery h2.movie_ttl {margin-top:0.75em;}
section#gallery .video_box {float:left; margin-bottom:2em;}
section#gallery .video_box:nth-of-type(2n) {float:right;}
section#gallery .video_box:nth-of-type(2n+1) {clear:both;}
/************************************************recruit************************************************/
section#message {
    padding: 11em 0 9vw 0;
}

section#message .left_cow {
    left: 0;
    top: 2em;
    max-width: 595px;
    width: 32%;
    z-index: 3;
}

section#message .right_cow {
    right: 0;
    top: 2em;
    max-width: 595px;
    width: 32%;
    z-index: 3;
}

section#message h2 {
    font-size: 4.500em;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 0.5em;
}

section#message p.middle {
    font-size: 1.750em;
    letter-spacing: 0.05em;
    line-height: 2em;
    margin-bottom: 1.75em;
}

section#message p.small {
    font-weight: 500;
    line-height: 2.2em;
    letter-spacing: 0.025em;
}

section#message .flex {
    margin-top: 6em;
    position: relative;
    z-index: 3;
}

section#message .flex div.ceo {
    padding: 2.5em 2em;
    box-sizing: border-box;
}

section#message .flex div.ceo img {
    max-width: 600px;
}

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

section#message .flex div.m_slide .swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: block;
    max-width: 564px;
    width: 83%;
    padding-bottom: 3em;
}

section#message .flex div.m_slide .swiper-container img {
    width: 100%;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #FFF !important;
}

.swiper-pagination-bullet {
    background: #b9b9b9 !important;
}

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

section#voice h2 {
    line-height: 1.4em;
    font-size: 4.500em;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 0.125em;
}

section#voice h2 span {
    font-size: 0.389em;
    letter-spacing: 0.075em;
    font-weight: 500;
}

section#voice p.small {
    font-weight: 500;
    line-height: 2.2em;
    letter-spacing: 0.025em;
}

section#voice div.img {
    margin-top: 5em;
    position: relative;
    z-index: 3;
}

section#voice div.img div.half {
    max-width: 680px;
}

section#voice div.img div.half img {
    max-width: 680px;
}

section#requirements {
    padding: 8em 0 10vw 0;
}

section#requirements h2 {
    line-height: 1.4em;
    font-size: 4.500em;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 0.125em;
}

section#requirements h2 span {
    font-size: 0.389em;
    letter-spacing: 0.075em;
    font-weight: 500;
}

section#requirements .left_cow2 {
    left: 0em;
    top: 11vw;
    z-index: 0;
    max-width: 487px;
    width: 25.75%;
}

section#requirements .right_cow2 {
    right: 0em;
    top: 11vw;
    z-index: 0;
    max-width: 487px;
    width: 25.75%;
}

section#requirements .ss_inner {
    max-width: 615px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

section#requirements dl {
    display: table;
    width: 100%;
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0.75em 0;
    font-weight: 500;
    font-size: 1.063em;
}

section#requirements dl dt {
    display: table-cell;
    width: 4em;
}

section#requirements dl dt dd {
    display: table-cell;
}

#page_contact {
    background-color: #f1f1f1;
    box-sizing: border-box;
    padding: 3em 5%;
    position: relative;
    z-index: 3;
    margin-top: 7em;
}

#page_contact .line_red {
    top: -4em;
}

#page_contact h3 {
    line-height: 1.4em;
    font-size: 4.500em;
    font-weight: 400;
    letter-spacing: 0.025em;
    margin-bottom: 0.5em;
}

#page_contact h3 span {
    font-size: 0.389em;
    letter-spacing: 0.075em;
    font-weight: 500;
}

#page_contact .s_inner {
    max-width: 1230px;
    width: 100%;
}

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

#page_contact .flex a {
    text-align: center;
    width: 48%;
    padding: 0.75em 0;
    font-size: 1.500em;
    letter-spacing: 0.1em;
}

#page_contact .flex a.bg_bk {}

#page_contact .flex a.bg_bk i {
    vertical-align: middle;
    margin-right: 0.5em;
    font-size: 1.25em;
}

#page_contact .flex a.bg_re {}

#page_contact .flex a.bg_re i {
    vertical-align: middle;
    margin-right: 0.5em;
    font-size: 1.25em;
}

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

section#staff .bg_w {
    padding: 6em 0 7em 0;
    position: relative;
    z-index: 3;
    background-color: #f1f1f1;
}

section#staff div.left {
    max-width: 420px;
    width: 31%;
    margin-right: 3.5%;
}

section#staff div.left:nth-of-type(3n) {
    margin-right: 0;
}
section#staff div.left:nth-of-type(3n+1) {
    clear:both;
}

section#staff div.left img:hover {
    opacity: 0;
    transition: 0.5s;
}

section#staff #staff1 {
    background-image: url(../img/staff/staff01_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    position: relative;
    margin-bottom: 4em;
}

section#staff #staff1 .name {
    font-size: 1.25em;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    bottom: -2.5em;
    position: absolute;
    padding: 1em 0;
    letter-spacing: 0.05em;
}

section#staff #staff1 .name span {
    font-size: 0.75em;
    margin-right: 1.5em;
}

section#staff #staff2 {
    background-image: url(../img/staff/staff2_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 1.5em;
    margin-bottom: 5.5em;
}

section#staff #staff3 {
    background-image: url(../img/staff/staff03_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 3em;
}

section#staff #staff4 {
    background-image: url(../img/staff/staff04_2_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-bottom: 4em;
}

section#staff #staff5 {
    background-image: url(../img/staff/staff05_2_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 1.5em;
    margin-bottom: 2em;
}

section#staff #staff6 {
    background-image: url(../img/staff/staff06_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 3em;
}
section#staff #staff7 {
    background-image: url(../img/staff/staff07_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 3em;
}
/*section#staff #staff8 {
    background-image: url(../img/staff/staff8_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 1.5em;
    margin-bottom: 2em;
}*/

section#staff #staff9 {
    background-image: url(../img/staff/staff9_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-top: 3em;
}
section#staff #staff10 {
    background-image: url(../img/staff/staff10_hover.jpg);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    margin-bottom: 4em;
}
/************************************************contact************************************************/
section#contact {
    padding: 9em 0 16vw 0;
}
section#contact h3 {
}
section#contact p.p_1 {
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 2.2em;
    margin-bottom: 4em;
}
section#contact p.p_1 span {
    color: #d6001b;
}
section#contact .inner {
    padding: 4em 0 2em 0;
}
span.hissu {
    color: #F03;
    font-size: 12px;
}
span.h {
    color: #FFF;
    font-size: 0.7em;
    font-weight: normal;
    display: inline-block;
    padding: 1px 8px 0px 8px;
    border-radius: 3px;
    background-color: #d60019;
}
span.n {
    color: #FFF;
    font-size: 0.7em;
    font-weight: normal;
    display: inline-block;
    padding: 1px 8px 0px 8px;
    border-radius: 3px;
    background-color: #0059b3;
}
span.memo {
    color: #666;
    font-size: 0.75em;
    font-weight: 400;
    margin-top: 4.5em;
    display: block;
    text-align: left;
    padding-bottom: 0.125em;
    letter-spacing: 0.05em;
}
span.error {
    display: block;
    color: #F03;
    font-size: 0.75em;
    text-align: left;
    margin-left: 1.5em;
}
section#contact form dl {
    display: table;
    width: 100%;
    margin: 0.125em 0;
}
section#contact form dl dt {
    display: table-cell;
    vertical-align: middle;
    box-sizing: border-box;
    text-align: right;
    width: 16em;
    padding: 0.35em 1em 0.35em 0;
    font-size: 1em;
    background-color: #f1f1f1;
}
section#contact form dl dd {
    display: table-cell;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 0.75em 0 0.5em 1em;
}
section#contact form dl dd input {
    width: 98%;
    padding: 7px 10px;
    box-sizing: border-box;
    font-size: 1em;
}
section#contact form dl dd textarea {
    width: 98%;
    padding: 10px 10px;
    box-sizing: border-box;
    font-size: 1.125em;
    height: 6em;
}
section#contact form input[type="submit"] {
    -webkit-appearance: none;
    width: 68%;
    margin: 8% auto 6% auto;
    font-size: 1em;
    border: solid 1px #d6011f;
    cursor: pointer;
    padding: 0.5em 0 0.5em 0;
    letter-spacing: 0em;
    font-weight: 400;
}
form .flex {
    width: 70%;
}
form .flex a {
    text-decoration: none;
    font-size: 1.125em;
    width: 45%;
    margin: 3em auto 2em auto;
    padding: 0.5em 0em;
    cursor: pointer;
    box-sizing: border-box;
    color: #FFF;
}
form .flex a.back {
    background-color: #d72c2c;
    border: 1px solid #d72c2c;
}
form .flex a.post {
    background: #166797;
    border: 1px solid #166797;
}
.complete_text {
    text-align: center;
    margin-top: 4em;
}
/*******************************************pc**********************************************************/
@media (min-width: 1223px) and (max-width: 1480px) {
    .overlay nav {font-size: 2em;}
    section#requirements .left_cow2,
    section#requirements .right_cow2 {width: 23.75%;}
}
/*******************************************ipad pro****************************************************/
@media (min-width: 1024px) and (max-width: 1222px) {
    header#header #spnav {padding: 0.75em 0 2em 0;}
    #top_slide img.pa {top: calc(50% - 32px);}
    .overlay nav {font-size: 1.75em;}
    #top_contents .center_cow {width: 60%;}
    #top_contents h2 {margin-top: 1.25em;}
    #top_contents .flex div.bg_re {width: 40%;padding: 2% 1% 0 2%;}
    #top_contents .flex div.img {width: 60%;}
    footer .middle_inner div.left {width: 22%;}
    footer .right ul li {margin-left: 1.25em;}
    footer .middle_inner div.right {width: 77%;}
    section#staff #staff1 .name {padding: 0.75em 0;}
    section#gallery div.left {margin-bottom: 2em;}
    section#gallery .bg_bk {padding: 4em 0 2em 0;}
    section#requirements .left_cow2,
    section#requirements .right_cow2 {width: 18.75%;}
    section#about .right_cow {top: -21%;}
    section#about .flex div p {font-size: 0.9em;height: 11em;}
    section#profile {padding: 7em 0 9vw 0;}
    section#message .flex div.m_slide {padding: 6em 0 0 0;}
    section#profile .profile {padding: 4em 4em;}
	section#about .rest_movie {height: 44%;}
}

/*******************************************ipad********************************************************/
@media (min-width: 768px) and (max-width: 1023px) {
    .overlay nav {font-size: 1.75em;}
    header#header h1 {margin-top: 0em;margin-left: 0.5em;}
    header#header h1 span {font-size: 0.45em;letter-spacing: 0.1em;text-align: left;}
    header#header #spnav a i {font-size: 3em;}
    header#header #spnav a span {font-size: 0.875em;}
    #google_translate_element {width: 10.5em;padding: 1.125em 0;min-height: 70px;}
    header#header #spnav {padding: 0em 0 1em 0;min-height: 70px;}
    #top_slide img.pa {top: 57%;width: 37%;}
    .line_scroll {height: 4.5em;bottom: -3em;}
    p.scroll {bottom: 2em;}
    #future h2 {font-size: 3.25em;}
    #future {padding: 8.5em 0 7.5em 0;}
    #future p.middle {font-size: 1.50em;margin-bottom: 1em;}
    #future p.small {line-height: 1.8em;}
    #future .tac {margin-top: 3em;}
    #future .tac a {padding: 1em 14em 1em 2em;}
    #top_contents h2 {font-size: 2.375em;margin-top: 1.5em;}
    #top_contents h2::before {width: 50px;}
    #top_contents {padding: 5em 0 3em 0;}
    #top_contents .flex div.bg_re {width: 40%;box-sizing: border-box;padding: 3% 1% 0 2%;}
    #top_contents .flex div.img {width: 60%;}
    #top_contents .flex div.bg_re h3 {font-size: 1.75em;}
    #top_contents .flex div.bg_re p.middle {font-size: 1.1250em;margin-bottom: 0.5em;}
    #top_contents .flex div.bg_re p.small {font-size: 0.75em;margin-bottom: 1em;}
    #top_contents .flex div.bg_re a {padding: 0.5em 2.25em 0.25em 0em;}
    #top_gallery {padding: 3.5em 0 3.5em 0;}
    #top_gallery h2 {font-size: 2.375em;margin: 0.5em auto 0.75em auto;}
    #top_gallery .bg_bk {padding: 3em 0 3em 0;}
    #top_gallery .bg_bk div.left {margin-bottom: 1em;}
    #top_gallery .bg_bk .tac a {padding: 1em 14em 1em 2em;}
    #top_gallery .bg_bk .tac a i {top: 1.25em;}
    footer {padding: 3em 0 3em 0;}
    footer h3 a img:last-of-type {width: 67%;}
    footer .middle_inner div.left,
    footer .middle_inner div.left h3.left,
    footer .middle_inner div.left p.left,
    footer .middle_inner div.right {float: none;width: 100%;margin-left: auto;margin-right: auto;}


    footer .middle_inner div.left {text-align: center;}
    footer .right ul {float: none;text-align: center;}
    footer .right ul li {margin-left: 1em;}
    footer .right p {text-align: center;margin-top: 3.5em;}
    section#staff .bg_w {padding: 4em 0 3em 0;}
    section#staff #staff1 .name {font-size: 1em;bottom: -1.5em;padding: 0.5em 0;}
    section#gallery div.left {margin-bottom: 2em;}
    section#gallery .bg_bk {padding: 4em 0 2em 0;}
    section#message,section#voice,section#town,section#about,section#profile {padding: 6em 0 9vw 0;}
    section#message .flex,section#voice div.img {margin-top: 3em;}
    section#message h2,section#voice h2,section#requirements h2,#page_contact h3,section#town h2,section#about,section#gallery h2 {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,section#town p.small,section#about p.small {font-size: 0.95em;}
    section#requirements .left_cow2,section#requirements .right_cow2 {top: 6vw;width: 19.75%;}
    section#requirements .ss_inner {width: 58%;}
    section#requirements dl {font-size: 0.925em;}
    section#profile h2 {font-size: 2.125em;}
    section#town .left_cow {width: 26%;}
    section#about .right_cow {top: -10%;width: 28%;}
    section#about .flex div h3 {font-size: 1.75em;}
    section#about .flex div p {font-size: 0.9em;height: 12em;margin-top: 1em;}
    section#profile .profile {padding: 2em 2em;}
    section#profile .profile h3 {width: 70%;margin-bottom: 2em;}
    section#profile .profile dl {margin: 0.5em 0;}
    section#profile .flex div.m_slide {padding: 6em 0 0 0;}
    section#message .flex div.m_slide {padding: 5em 0 0 0;}
	section#about .rest_movie {height: 35%;}

}











