@charset "utf-8";
/*====================================================================
INFORMATION
        file name  :mycontest.css
        style info :

====================================================================*/

section{
        clear: both;
        width: 100%;
        padding: 50px 0;
        background-color: white;
        position: relative;
        z-index: 0;
}

h2{
        font-size: 350%;
        line-height: 120%;
        font-weight: bold;
        color: white;
        font-family: 'Libre Baskerville', serif;
        margin-bottom: 28px;
}

h2 span{
        color:#d71718;
}

h3{
        font-size: 240%;
        font-weight: normal;
        text-align: center;
        padding: 40px 0 10px 0;
        line-height: 0.9;
}

h3 span{
        font-size: 16px;
        line-height:0.9;
        font-weight: bold;
        font-family: 'Libre Baskerville', serif;
}

h4{
        font-size: 160%;
        font-weight: normal;
        text-align: center;
        margin-bottom: 12px;
      }

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

        h3{
            font-size: 180%;

        }
        h4{
            font-size: 120%;

        }
        .last-item{display: none!important;}
}
a{color: red;}
a:hover{color: #d71718;}

.red{color: red;}
.mb00{margin-bottom: 0!important;}

p.description{
        max-width: 850px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 120%;
}
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
}
.container{
    text-align: center;
}
.page-header{
    border-bottom: none;
}
.title-wrap{
    border-bottom: solid 1px #C7535D;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

body{
         background-image: url(../images/header-top.jpg);
     background-position: center right;
     background-size: cover;
}
/* ------------------------------
001: Header
 ------------------------------ */
#top-head {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0 10px 0;
    line-height: 1;
    z-index: 10;
}

#top-head .inner {
   width: 95%;
    margin: 0 auto;
}
#top-head .inner:after {
    content: "";
    clear: both;
    display: block;
}
#top-head a,
#top-head {
    color: #fff;
    text-decoration: none;
}
 
#top-head .inner {
    position: relative;
 
}
#top-head .logo {
    float: left;
    font-size: 32px;
}


#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    top: 18px;

}
#global-nav ul li {
    float: left;
    position: relative;
    font-size: 120%;
 
}
#global-nav ul li a {
  padding: 10px 20px;
  white-space: nowrap; 
}

#global-nav ul li a:hover{
color: red;
}

/* transition */
#top-head,
#top-head:after,
#top-head .logo,
#global-nav ul li,
#global-nav ul li a {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
/* Fixed */
#top-head.fixed {
    padding:0 10px;
    background: rgba(255,255,255,0.95);
}

#top-head.fixed .inner {
   width: 100%;
    margin: 0 auto;
}
 
#top-head.fixed:after {
    width: 100%;
    margin-top: 20px;
}

#top-head.fixed #global-nav ul li a {
    color: #333;   
}

#top-head.fixed #global-nav ul li a:hover{
    color: #d71718; 
}

#top-head.fixed:after {
    width: 100%;
    margin-top: 20px;
    content: "";
    position: absolute;
    right: 0px;
    height: 3px;
    bottom: -3px;
    left: 0px;
    color: transparent;
    width: 100%;
    /*
    background-repeat: no-repeat;
    background-image: url('../images/line.png');
    background-size: 100% 100%;
    */
}


#top-head .logo{
   max-width: 280px;
}

#top-head .logo svg{
     width: 100%;
}
.st0{fill:#ffffff;}
.st1{fill:#ffffff;}


#top-head.fixed .logo{
    max-width: 180px;
}

#top-head.fixed .st0{fill:#040000;}
#top-head.fixed .st1{fill:#D71718;}

/* 768px - 979px用（タブレット用）の記述 */
@media screen and (min-width: 768px) and (max-width: 979px) {
#global-nav ul li a {
  padding: 10px 10px;
}
}

@media screen and (max-width: 767px) {
#top-head .logo{
   max-width:200px;
   }
}

/* ==========================================================================
スマホ
========================================================================== */
.nav-toggle {
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 999999;
    padding: 10px 35px 16px 0px;
    cursor: pointer;
    z-index: 1000000000;
}
.nav-toggle:focus {
    outline: none;
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 1px;
    border-radius: 1px;
    background: #fff;
    cursor: pointer;
}

#top-head.fixed .nav-toggle span,
#top-head.fixed .nav-toggle span:before,
#top-head.fixed .nav-toggle span:after {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 1px;
    border-radius: 1px;
    background: #343434;
    cursor: pointer;
}

.nav-toggle span:before {
    top: -10px
}
.nav-toggle span:after {
    bottom: -10px
}
.nav-toggle span, .nav-toggle span:before, .nav-toggle span:after {
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.nav-toggle.active span {
    background-color: transparent
}
.nav-toggle.active span:before, .nav-toggle.active span:after {
    top: 0
}
.nav-toggle.active span:before {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.nav-toggle.active span:after {
    top: 10px;
    -webkit-transform: translateY(-10px) rotate(-45deg);
    -ms-transform: translateY(-10px) rotate(-45deg);
    transform: translateY(-10px) rotate(-45deg);
}
.navicon {
    position: relative;
    height: 26px;
}
.navicon p {
    margin: 1px 50px 0 0
}
.navicon-fixed {
    position: fixed;
    top: 59px;
    right: 143px;
}
/* ==========================================================================
Nav Overlay
========================================================================== */
/* Overlay style */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(43, 43, 43, 0.95);
    z-index: 11;
}

/* Menu style */
.overlay nav {
    position: relative;
    top: 50%;
    height: 60%;
    text-align: center;
    font-size: 54px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.overlay ul {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}
.overlay ul li {
    display: block;
    float: left;
    margin-right: 20px;
}
.overlay ul li:last-child {
    margin-right: 0px
}
.overlay ul li i {
    display: block;
    margin-bottom: 10px;
    font-size: 40px;
}
.overlay ul li a {
    display: block;
    padding: 50px 0;
    min-width: 190px;
    border: 2px solid #fff;
    border-radius: 3px;
    background-color: #961313;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 15px;
    -webkit-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}
.overlay ul li a:hover, .overlay ul li a:focus {
    border-color: #FF9090;
    color: #FF9090;
}

/* Effects */
.overlay-boxify {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}
.overlay-boxify.open {
    visibility: visible;
    opacity: 1;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.overlay-boxify nav ul li {
    opacity: 0;
    -webkit-transform: translate3d(0, -80px, 0);
    transform: translate3d(0, -80px, 0);
    -webkit-transition: -webkit-transform 0.5s, opacity 0.5s;
    transition: transform 0.5s, opacity 0.5s;
}
.overlay-boxify.open nav ul:first-child li:first-child {
    -webkit-transition-delay: 0.05s;
    transition-delay: 0.05s;
}
.overlay-boxify.open nav ul:first-child li:nth-child(2) {
    -webkit-transition-delay: 0.1s;
    transition-delay: 0.1s;
}
.overlay-boxify.open nav ul:nth-child(2) li:first-child {
    -webkit-transition-delay: 0.15s;
    transition-delay: 0.15s;
}
.overlay-boxify.open nav ul:nth-child(2) li:nth-child(2) {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}
.overlay-boxify.open nav ul li {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
@media screen and (max-width:640px){
    .overlay ul{margin-left:0px;}
    .overlay ul li a{padding:20px 0;min-width:120px;font-size:12px;}
}

/* ==========================================================================
Waypoints
========================================================================== */
.wp1, .wp2, .wp3, .wp4, .wp5, .wp6 {
    visibility: hidden
}
.bounceInLeft, .bounceInRight, .fadeInUp, .fadeInUpDelay, .fadeInDown, .fadeInUpD, .fadeInLeft, .fadeInRight, .bounceInDown {
    visibility: visible
}
.delay-05s {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}
.delay-1s {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

/* ------------------------------
002: Navigation
 ------------------------------ */
#spnavi{
right: 0px;
top: 12px;
position: absolute;
z-index: 10000;}

#spnavi img{
  width: 100%;
}


#top-head.fixed #spnavi {
  right: 0px;
top: 12px;
}



/* ------------------------------
003: Footer
 ------------------------------ */

/* ------------------------------
 button
 ------------------------------ */
.button-wrapper {
    clear: both;
    position: relative;
    max-width: 225px;
    margin-left: auto;
    margin-right: auto;
    padding: 24px 0;
}
.button {
  display: block;
  width: 100%;
  border-width: 1px;
  border-style: solid;
  padding: 14px 0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  text-align: center;
  border-color: #d71718;
  background-color: #d71718;
  color: white;
  -webkit-transition: all .2s ease-in-out;
  -o-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}
.button:hover {
  background-color: #fff;
  color: #d71718;
}


/* ------------------------------
004: Main Visual
 ------------------------------ */
#main-visual-image{
        background-color: black;
        width: 100%;
        height: 680px;
        position: absolute;
        padding: 0 0;
}


#main-visual-text {
        background-color: transparent;
        height: 100vh;
}
#main-visual-text .container{
    background-color: transparent;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}



#main-visual-text .container p{
        font-size: 140%;
        margin-bottom: 12px;
        text-align: center;
}

#main-visual-text .container p span{
    color: red;
}
.bold{ font-weight: bold;}
.main-visual-pages{
        height: 550px;
        overflow: hidden;
}
@media screen and (max-width: 767px) {
 #main-visual-text .container{
        width: 100%;
        padding:20% 10px;
        text-align: center;
        color: white;
}
#main-visual-text .container p{
        font-size: 120%;
        margin-bottom: 12px;

}

    #main-visual-text h2{
        font-size: 250%;

    }
}


/* ------------------------------
005: Home
 ------------------------------ */
 .home{

    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

.home{
    padding: 0;
    height:100vh;
}
#main-visual-image.home {
    height: 100vh;
    z-index: -1;
}
#main-visual-image .pattern {
    background: url(../images/dot.png);
    position: absolute;
    right: 0;
    top: 0;
    min-width: 100%;
    height: inherit;
    z-index: 2;
}
#main-visual-image video {
    position: absolute;
    right: 0;
    top: 0;
    min-width: 100%;
    min-height: 100vh;
    z-index: 1;
    filter:brightness(60%);
}
#main-visual-image div.homemovie-box {
    position: relative;
    z-index: 3;
    top: 50%;
    margin-top: -162px;
}

#main-visual-text.home .container{padding: 20% 10px;}




#request{
        background-color: #4a4a4a;
        color: white;
        text-align: center;
}

#request h3{
    color: #ffffff;
    color: var(--white);
    font-weight: normal;
    padding-bottom: 20px;
}
#request p{
        font-size: 140%;
        max-width: 800px;
        margin: 0 auto;
}

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

}

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

}

@media screen and (max-width: 767px) {
#request h3{
    font-size: 160%;
}
#request p{font-size: 120%;}


#main-visual-text {


}

#main-visual-image.home{
    height: 100vh;
}
}

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

}


.bussiness-item{
    font-size: 120%;
    margin-bottom: 36px;
}

.bussiness-item p{
    text-align: left;
}
.thum{
    margin-bottom: 12px;
}

/* ------------------------------
 company
 ------------------------------ */
 #company{
    background: #F1F1F1;
}

.table{
    max-width: 600px;
    margin-left:auto;
    margin-right:auto;
    text-align: left;
}
.table td {border: 1px solid #ddd;}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table tr:nth-child(odd) {
    background-color: #fff;
}

.one{min-width: 110px;}

/* ------------------------------
 access
 ------------------------------ */
#access{}
#map {

margin-bottom: 12px;
}

#map {
height: 0;
overflow: hidden;
padding-bottom: 56.25%;
position: relative;
}
#map iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
#access {
    font-size: 122%;
}
/* ------------------------------
 Footer
 ------------------------------ */
#footer {
        background-color: #222222;
        color: white;
        text-align: center;
}

footer p{font-size: 120%;padding: 30px 0;}

.sns-icon {display: none;}
.sns-icon li{
        width: 50px;
}
.sns-icon li img{width: 100%;}
.footer-nav ul li{
        font-size: 120%;
}


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

}

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

}

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

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

}

/* ------------------------------
 Contact
 ------------------------------ */
 .main-visual-pages{
        height: 500px!important;
        overflow: hidden;
}

 #main-visual-text.main-visual-pages .container {
    width: 100%;
    padding:15% 10px;
    text-align: center;
    color: white;
    max-width: 850px;
}

@media screen and (min-width: 1024px) {
 #main-visual-text.main-visual-pages .container {
    padding:10% 10px;
}
}
@media screen and (max-width: 767px) {
#main-visual-image,
.main-visual-pages{height: 300px!important;overflow: hidden;}
 #main-visual-text.main-visual-pages .container {
    width: 100%;
    padding:20% 10px;
    text-align: center;
    color: white;
}
.main-visual-pages p{text-align: center!important;}
}

@media screen and (max-width: 500px) {
#main-visual-image,
.main-visual-pages{height: 300px!important;
min-height: 300px!important;}
 #main-visual-text.main-visual-pages .container {
    width: 100%;
    padding:30% 10px;
    text-align: center;
    color: white;
}

}

#main-visual-image.contact{
        height: 550px;
        background-image: url(../images/header-contact.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
}
#main-visual-image.contact-thanks{
        height: 550px;
        background-image: url(../images/header-thanks.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top center;
}
.contact-block{
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
}

.contact-block p{
    font-size: 120%;
}

.contact-block input{
        padding: 4px;
        border-radius: 4px;
        background-color: #FFF8F8;
        border: solid 1px #FBCACA;
        font-size: 160%;
        margin-bottom: 20px;
        width: 100%;
         -webkit-transition: width 1s ease;
        -moz-transition: width 1s ease;
        -o-transition: width 1s ease;
        -ms-transition: width 1s ease;
        transition: width 1s ease;
}


.contact-block input[type="text"]:focus{
        background-color: #ffffff;
        color: #333333;     
}

.contact-block textarea{
    width: 100%;
    height: 100px;
    border: solid 1px #979797;
}

.contact-check{
    margin-bottom: 24px;
}
.font-check{
    font-size: 160%;
    font-weight: bold;
}



