/****************************
    element
****************************/
@font-face {
   font-family: MyWebFont01;
   src: url('font/font01.woff') format("woff");
}

body {
    font-family: "MyWebFont01","ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    letter-spacing: 0.1em;
}

a{
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

/* iOSでのデフォルトスタイルをリセット */
input[type="submit"],
input[type="button"] {
  border-radius: 0;
  -webkit-box-sizing: content-box;
  -webkit-appearance: button;
  appearance: button;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}
input[type="submit"]::-webkit-search-decoration,
input[type="button"]::-webkit-search-decoration {
  display: none;
}
input[type="submit"]::focus,
input[type="button"]::focus {
  outline-offset: -2px;
}

.common-ttl01{
    font-size: 30px;
    letter-spacing: 0.1em;
    margin-bottom: 5%;
    color: #333;
    font-weight: normal;
}

header{
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    padding: 35px;
}
header.fixed {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.15);
    padding: 20px;
}
header .logo{
    margin: 0 auto;
    padding: 5px;
    max-width: 140px;
}
header nav {
    text-align: center;
}
header nav li {
    display: inline-block;
    vertical-align: middle;
    padding: 0 55px 0;
    margin: 40px 0 0 0;
}
header nav li a {
    color: #333;
    font-size: 14px;
    display: block;
    letter-spacing: 0.1em;
}
header nav li a:hover {
    color: #777;
}

#main{
    /*  IE8以下の代替の背景画像  */
    background: url(images/bg.png);
    background-attachment: fixed;
    background-size: cover;
}
#main span{
    display: none;
}
 
#video-background {
    /*  動画を背景に設定するスタイルシート  */
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    min-width: 100%; 
    min-height: 100%;
    width: auto; 
    height: auto;
    z-index: 0;
}

#company{
    background: #fff;
    padding: 10%;
    text-align: center;
    position: relative;
    z-index: 1;
}
#company p{
    font-size: 12px;
    line-height: 28px;
    margin-bottom: 25px;
    color: #333;
}
#company ul li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}
#company ul li a{
    color: #333;
    font-size: 12px;
}
#company a.map {
    color: #ffffff;
    background: #333;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    padding: 15px 0px;
    display: block;
    width: 90px;
    margin: 50px auto 0;
    text-align: center;
}
#company a.map:hover{
    background: #777;
}

#contact{
    padding: 10%;
    background: #f7f7f7;
    text-align: center;
    position: relative;
    z-index: 1;
}
#contact table{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
#contact table th {
    font-weight: normal;
    text-align: left;
    padding: 20px 0 20px 0;
    font-size: 10px;
    letter-spacing: 0.1em;
    width: 140px;
    color: #656565;
    vertical-align: middle;

}
#contact table th span {
    border-left: solid 2px #dcdcdc;
    display: block;
    padding: 2px 0 2px 10px;
}
#contact table tr{
    border-bottom: dashed 1px #efefef;
}
#contact table tr:last-child{
    border-bottom: none;
}
#contact table tr:last-child th{
    vertical-align: top;
}
#contact table td{
    padding: 20px;
    color: #656565;
    text-align: left;
    vertical-align: middle;
}
#contact table td input {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: solid 1px #efefef;
    padding: 10px;
}
#contact table td input.tel{
    display: inline-block;
    width: 100px;
}
#contact table td textarea{
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    display: block;
    border: solid 1px #efefef;
    padding: 10px;
}
#contact #submit{
    display: inline-block;
    border: none;
    width: auto;
    color: #fff;
    margin: 30px auto 0;
    font-size: 16px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    padding: 10px 20px;
    background: #333;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
#contact #submit:hover{
    background: #777;
}
footer {
    padding: 45px;
    position: relative;
    z-index: 1;
    text-align: center;
}
footer img {
    width: 140px;
    margin-bottom: 0;
    float: left;
}
footer p {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin: 10px 0 0;
    color: #fff;
    float: right;
}
.check footer p {
    font-size: 10px;
    letter-spacing: 0.2em;
    margin: 10px 0 0;
    color: #333;
    float: right;
}
.check #contact {
    padding: 20% 10% 10%;
    background: #f7f7f7;
    text-align: center;
    position: relative;
    z-index: 1;
}
.error_text{
    text-align: center;
    font-size: 12px;
    margin: 30px 0 0;
}
.check_done{
    text-align: center;
    font-size: 14px;
    line-height: 30px;
}
.error_text a{
    color: #fff;
}
.check #contact td{
    font-size: 12px;
}

@media screen and (min-width:320px) and ( max-width: 767px) {
/****************************
    element
****************************/
@font-face {
   font-family: MyWebFont01;
   src: url('font/font01.woff') format("woff");
}

body {
    font-family: "MyWebFont01","ヒラギノ明朝 ProN W3", "HiraMinProN-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
    letter-spacing: 0.1em;
}

a{
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}

.common-ttl01{
    font-size: 24px;
    letter-spacing: 0.1em;
    margin-bottom: 5%;
    color: #333;
    font-weight: normal;
}

header{
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    padding: 20px;
}
header.fixed {
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0 11px rgba(0, 0, 0, 0.15);
    padding: 20px;
}
header .logo{
    margin: 0 auto;
    padding: 5px;
    max-width: 80px;
}
header nav {
    left: -100%;
    position: fixed;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    width: 50%;
    background: #fff;
}
header nav.clicked {
    left: 0;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    top: 66px;
}
header nav ul{
    display: table;
    width: 100%;
}
header nav li {
    display: block;
    vertical-align: middle;
    padding: 20px 0;
    margin: 0;
    width: 100%;
}
header nav li a {
    color: #333;
    font-size: 11px;
    display: block;
    padding: 0 0 0 25px;
    letter-spacing: 0.1em;
    text-align: left;
}
header nav li a:hover {
    color: #777;
}

#sp-menu{
    width: 25px;
    height: 24px;
    position: absolute;
    top: 20px;
}
#sp-menu span {
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    background: #333;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
#sp-menu span.top-border {
    top: 0;
}
#sp-menu span.middle-border {
    top: 10px;
}
#sp-menu span.bottom-border {
    top: 20px;
}
#sp-menu.clicked span.top-border {
    transform: rotate(-45deg);
    top: 10px;
}
#sp-menu.clicked span.middle-border {
    width: 0;
}
#sp-menu.clicked span.bottom-border {
    transform: rotate(45deg);
    top: 10px;
}

#main{
    /*  IE8以下の代替の背景画像  */
    background: url(images/bg.png);
    background-attachment: fixed;
    background-size: cover;
    height: auto!important;
    position: relative;
}
#main span{
    display: block;
}
 
#video-background {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 0;
    top: 0;
    min-width: 0;
    min-height: 0;
    width: 100%;
    height: auto;
    z-index: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    margin: 0;
    float: none;
    display: none;
    height: auto!important;
}

#company{
    background: #fff;
    padding: 10%;
    text-align: center;
    position: relative;
    z-index: 1;
}
#company p{
    font-size: 12px;
    line-height: 28px;
    margin-bottom: 25px;
    color: #333;
}
#company ul li {
    display: inline-block;
    vertical-align: middle;
    margin: 0 15px;
}
#company ul li a{
    color: #333;
    font-size: 12px;
}
#company a.map {
    color: #ffffff;
    background: #333;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    padding: 10px 20px;
    display: inline-block;
    font-size: 16px;
    width: auto;
    margin: 50px auto 0;
    text-align: center;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
#company a.map:hover{
    background: #777;
}

#contact{
    padding: 10%;
    background: #f7f7f7;
    text-align: center;
    position: relative;
    z-index: 1;
}
#contact table{
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}
#contact table th {
    display: block;
    font-weight: normal;
    text-align: left;
    padding: 10px 0;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 0.1em;
    width: 100%;
    color: #656565;
    vertical-align: middle;
}
#contact table th span {
    border-left: solid 2px #dcdcdc;
    display: block;
    padding: 2px 0 2px 10px;
}
#contact table tbody{
    display: block;
}
#contact table tr{
    display: block;
    border-bottom: none;
}
#contact table tr:last-child{
    border-bottom: none;
}
#contact table tr:last-child th{
    vertical-align: top;
}
#contact table td {
    display: block;
    padding: 10px 0;
    box-sizing: border-box;
    color: #656565;
    text-align: left;
    vertical-align: middle;
}
#contact table td input {
    box-sizing: border-box;
    width: 100%;
    display: block;
    border: solid 1px #efefef;
    padding: 10px;
}
#contact table td input.tel{
    display: inline-block;
    width: 75px;
}
#contact table td textarea{
    box-sizing: border-box;
    width: 100%;
    min-height: 150px;
    display: block;
    border: solid 1px #efefef;
    padding: 10px;
}
#contact input#submit {
    display: inline-block;
    border: none;
    width: auto;
    color: #fff;
    margin: 20px auto 0;
    font-size: 16px;
    letter-spacing: 0.2em;
    text-indent: 0.2em;
    padding: 10px 20px;
    background: #333;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
}
#contact input#submit:hover{
    background: #777;
}
footer {
    padding: 15px;
    position: relative;
    z-index: 1;
    text-align: center;
    background: url(images/SKOUIL_imgp01.jpg);
    background-size: cover;
}
footer img {
    width: 80px;
    margin: 0 auto;
    float: none;
}
footer p {
    font-size: 10px;
    letter-spacing: 0.1em;
    margin: 10px 0 0;
    color: #fff;
    float: none;
    text-align: center;
}
}
