html { font-size: 62.5%; } /* 10px */
body{
    font-size: 1.6rem; /* 16px */
    font-family: "游ゴシック", "Yu Gothic", "游ゴシック体", YuGothic, sans-serif;
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:after {
	content: "";
	display: block;
	clear: both;
}
 
.clearfix:before {
    content: "";
	display: block;
	clear: both;
}
 
.clearfix {
	display: block;
}

@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1
    }
}

a {
    text-decoration:none;
}

a:hover img {
    -webkit-opacity: 0.8;
    -moz-opacity: 0.8;
    -o-opacity: 0.8;
    filter: alpha(opacity=80);	/* IE lt 8 */
    -ms-filter: "alpha(opacity=80)"; /* IE 8 */
    opacity: 0.8;
}

a img {
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -ms-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

.cp_link {
	position: relative;
	padding: 0 0.2em;
	display: inline-block;
	transition: .3s;
	color: #121C46;
}
.cp_link::after {
	position: absolute;
	bottom: 0;
	left: 50%;
	content: '';
	width: 0;
	height: 1px;
	background-color: #121C46;
	transition: .3s;
	transform: translateX(-50%);
}
.cp_link:hover::after {
	width: 100%;
}
.cp_active {
	position: relative;
	padding: 0 0.2em;
	display: inline-block;
	transition: .3s;
	color: #000;
    border-bottom: 1px solid #121C46;
}

#topbg {
    background-image: url("../img/img_top01.jpg");
    background-size: cover;
    background-position: center;
    width: 100%;
}

#topbg p {
    text-align: center;
    font-size: 4rem;
    color: #9F3A40;
    width: 100%;
    position: absolute;
    margin-top: 45vh;
    font-weight: bold;
    letter-spacing: 0.1rem;
    text-shadow: 2px 2px 0 #FFF, -2px -2px 0 #FFF, -2px 2px 0 #FFF, 2px -2px 0 #FFF, 0px 2px 0 #FFF, 0-2px 0 #FFF, -2px 0 0 #FFF, 2px 0 0 #FFF;
}
#topbg p span {
    display: inline-block;
}
#topbg p span.arial {
    font-size: 5.8rem;
    font-family: "Arial Black", Gadget, "sans-serif";
    padding-right: 0.6rem;
}
#topbg p br {
    display: none;
}
#headerbg{
    width: 100%;
    height: 110px;
    background-image: url("../img/bg_header01.png");
    background-size: auto 110px;
    background-repeat: repeat-x;
    background-position: center;
    position: fixed;
    z-index: 100;
    transition: .6s;
}

#nav {
    max-width: 1000px;
    height: 100%;
    margin: auto;
    padding: 0 1%;
}

#nav ul {
    font-size: 1.4rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    float: right;
    margin-top: 2%;
}

#nav li {
    padding: 0 0 0 38px;
    list-style: none;
}
#nav li:first-child {
    padding: 0;
} 

#nav li.product {
    font-size: 1.6rem;
    font-weight: bold;
}

#nav img {
    width: 200px;
    margin-top: 2%;
}

#nav .menu-btn {
    display: none;
}

#content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 0;
}

#processBox {
    max-width: 1000px;
    margin: 0 auto;
    padding: 140px 0;
}

#content img {
    width: 100%;
    height: auto;
}

#content figure {
    margin: 100px auto;
    padding: 0px;
    position: relative;
}

#content figure #shadep {
    position: absolute;
    text-align: left;
    padding: 0px;
    margin: 0px;
    top: 0%;
    right: 10%;
    width: 30%;
}

#content figure #lightup {
    position: absolute;
    text-align: left;
    padding: 0px;
    margin: 0px;
    top: 0%;
    left: 10%;
    width: 30%;
}

#content figure h2 {
    padding: 0px;
    margin: 0px;
    font-weight: 500;
    letter-spacing: 0.2rem;
}

#content figure p {
    font-size: 1.6rem;
    font-weight: 500;
    margin: 5% auto;
    height: 100px;
}

#content figure a {
    display: block;
    width: 230px;
    padding: 10px;
    text-align: center;
    color: white;
    background-color: #6e6358;
    transition: ease-out .2s;
}

#content figure a:hover {
    display: block;
    width: 230px;
    padding: 10px;
    text-align: center;
    color: white;
    background-color: #dbc4ad;
}

#content h1 {
    font-size: 3em;
    text-align: center;
}

#footer1 {
    background-image: url("../img/bg_footer01.jpg");
    background-repeat: repeat-x;
    height: 140px;
}

#footer2 {
    background-color: #121c46;
    height: 420px;
}

#footer2 #box {
    max-width: 1000px;
    margin: auto;
}

#footer2 #logoarea {
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer2 #logoarea img {
    width: 200px;
}

#footer2 p {
    font-size: 1.4rem;
    color: #979aa4;
    font-weight: normal;
    float: right;
}


/*----- content 共通 -----*/

.contentBg {
    background-repeat: no-repeat;
    background-position: center;
    height: 320px; 
    background-color: #000;
}
.contentBg h1 {
    text-align: center;
    font-size: 4.5rem;
    color: #FFF;
    width: 100%;
    position: absolute;
    margin-top: 150px;
    text-shadow:0px 0px 5px #000000;
    /*font-weight: bold;*/
    letter-spacing: 0.3rem;
    /*text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, 0px 1px 0 #000, 0-1px 0 #000, -1px 0 0 #000, 1px 0 0 #000;*/
}
#shade .contentBg {
    background-image: url("../img/img_shade01.jpg");
}
#lightUp .contentBg {
    background-image: url("../img/img_lightup01.jpg");
}
#process .contentBg {
    background-image: url("../img/img_process01.jpg");
}
#company .contentBg {
    background-image: url("../img/img_company01.jpg");
}
#contact .contentBg {
    background-image: url("../img/img_contact01.jpg");
}





@media screen and (max-width : 320px ){
    #topbg {
        background-image: url("../img/sp_img_top01.jpg");
        background-position:center 45px;
        background-size: cover;
        width: 100%;
    }
    
    #topbg p {
        font-size: 3.0rem;
        margin-top: 40vh;
    }
    #topbg p span.arial {
        font-size: 4.2rem;
    }
}

@media screen and (max-width : 580px) {
    #content h1 {
        font-size: 2.2em;
        text-align: center;
  }
}

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

    #headerbg {
        width: 100%;
        height: 45px;
        background-image: none;
        background-color: white;
        position: fixed;
    }
    #topbg p {
        margin-top: 40vh;
    }
    #topbg p br {
        display: inline;
    }
    #nav {
        padding: 0 ;
    }
    #nav ul {
        width: 100%;
        display: block;
        list-style: none;
        overflow: hidden;
        background-color: rgba(255,255,255,0.98);
        margin-top: 0%;
      }
      
    #nav li {
        display: block;
        padding: 20px 20px 10px;
        border-right: 1px solid #f4f4f4;
        text-decoration: none;
    }
    
    #nav li:first-child {
        padding: 20px 20px 10px;
    } 
    #nav li:last-child {
        padding: 20px 20px 30px;
    } 

    #nav .menu {
        clear: both;
        max-height: 0;
        transition: max-height .2s ease-out;
    }

    /* menu icon */

    #nav .menu-icon {
        cursor: pointer;
        display: block;
        float: right;
        padding: 20px 20px;
        position: relative;
        user-select: none;
    }
    
    #nav .menu-icon .navicon {
        background: #121C46;
        display: block;
        height: 2px;
        position: relative;
        transition: background .2s ease-out;
        width: 18px;
    }
    
    #nav .menu-icon .navicon:before,
    #nav .menu-icon .navicon:after {
        background: #121C46;
        content: '';
        display: block;
        height: 100%;
        position: absolute;
        transition: all .2s ease-out;
        width: 100%;
    }
    
    #nav .menu-icon .navicon:before {
        top: 6px;
    }
    
    #nav .menu-icon .navicon:after {
        top: -6px;
    }
    
    #nav img{
        width: 160px;
        margin-top: 10px;
        margin-left: 1%;
    }
    
    /* menu btn */
    
    #nav .menu-btn {
        display: none;
    }
    
    #nav .menu-btn:checked ~ .menu {
        max-height: 400px;
    }
    
    #nav .menu-btn:checked ~ .menu-icon .navicon {
        background: transparent;
    }
    
    #nav .menu-btn:checked ~ .menu-icon .navicon:before {
        transform: rotate(-45deg);
    }
    
    #nav .menu-btn:checked ~ .menu-icon .navicon:after {
        transform: rotate(45deg);
    }
    
    #nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
    #nav .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
        top: 0;
    }
    #content {
      max-width: 1000px;
      margin: 0 auto;
      padding: 60px 0 100px;
    }
    
    #content img{
        width: 100%;
        max-width: auto;
        height: auto;
    }
    
  .contentBg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 200px;
    background-color: #000;
  }
  .contentBg h1 {
    font-size: 3.5rem;
    position: absolute;
    margin-top: 100px;
  }
}
