@charset "utf-8";
/* CSS Document */
@media screen and (max-width:768px){
html{
font-size: 18px;
}
body{
margin: 30px 0 0 0;
}
p{
margin-top: 5px;
}
a{
color: #000;
}
img{
max-width: 100%;
height: auto;
}

.none{
}

.ts{
font-size: 0.8rem;
}

.tl{
font-size: 1.6rem;
}

h1{
clear: both;
width: 100%;
text-align: center;
font-size: 1.5rem;
color: #000033;
font-weight: normal;
margin: 50px auto 0 auto;
background-color: #FFC6C7;
padding: 5px 0;
}
h1:before {
content: "\f0e6";
font-family: FontAwesome;
padding: 0 10px 0 0;
}

h2{
width: 100%;
clear: both;
font-size: 1.4rem;
font-weight: normal;
margin-top: 30px;
margin-bottom: 5px;
}
h2:before {
content: "\f14a";
font-family: FontAwesome;
padding:0 10px 0 0;
}

h3{
font-size: 1.6rem;
padding:0;
color: #D50000;
border: 4px double#D50000;
background-color: rgba(255, 255, 255, 0.7);
width: 98%;
border-radius: 10px;
}

.head0{
width: 96%;
margin: 0 auto;
}

.head{
width: 100%;
}

.head1{
width: 100%;
text-align: center;
}

.head2{
width: 100%;
text-align: center;
}

#menu0{
display: none;
width: 100%;
border-top: 1px solid #D50000;
border-bottom: 1px solid #D50000;
}
#menu0 ::after{
content: "";
clear: both;
display: block;
}
#menu{
width: 100%;
max-width: 1200px;
min-width: 910px;
margin: 0 auto;
padding: 0;
}

#menu li{
display: block;
float: left;
width: 20%;
margin: 0 ;
padding: 0;
}
#menu li a{
display: block;
padding: 8px 0 5px;
background: #FFF;
color: #000;
text-align: center;
text-decoration: none;
font-size: 20px;
font-weight: normal;
border-collapse:collapse;
}
#menu li a:hover{
background: #D50000;
color: #fff;
}

.foot{
width: 96%;
margin: 0 auto;
border-top: 4px double#D50000;
text-align: center;
padding: 20px 0;
color: #D50000;
}
.foot p {
display: inline-block;
text-align: left;
}
.foot a{
color: #D50000;
}
.foot1{
margin: 0 auto;
text-align: center;
white-space: nowrap;
}

.container1{
width: 90%;
margin: 0 auto 50px auto;
display: block;
}

.container2{
width: 90%;
margin: 0 auto 50px auto;
display: block;
}
.container2:after{
content:"";
display: block;
clear: both;
}

.right {
width: 90%;
text-align: center;
}

.left {
float: left;
margin: 0 10px 0 0;
}


.center {
width: 100%;
margin: 0 auto;
}
.center img {
width: 100%;
}


/* works */

.works_box{
clear: both;
width: 90%;
margin: 0 auto;
font-size: 1rem;
}
.works_box:after{
content:"";
display: block;
clear: both;
}


.works_box1{
width: 100%;
text-align: left;
margin: 50px auto 30px auto;
}

.works_box2{
margin-top: 10px;
font-size: 1rem;
width: 100%;
border-collapse: collapse;
}

.works_box2 th{
font-weight: normal;
padding: 5px;
text-align: center;
background-color: #FFE280;
display: block;
}

.works_box2 td{
padding: 5px;
background-color: #FFF8E2;
display: block;
text-align: center;
margin-bottom: 10px;
}

.contact{
width: 90%;
margin: 0 auto;
}

.contact th{
padding: 5px 0;
width: 90%;
font-weight: normal;
text-align: left;
display: block;
}

.contact td{
padding: 5px 0;
width: 90%;
margin-bottom: 20px;
font-weight: normal;
display: block;
}

.contact input{
width: 100%;
}
.contact textarea{
width: 100%;
}




/*　ハンバーガーメニューボタン　*/
.hamburger {
display : block;
position: fixed;
z-index : 3;
right : 20px;
top   : 20px;
width : 42px;
height: 42px;
cursor: pointer;
text-align: center;
border: 2px solid #D50000;
border-radius: 5px;
}
.hamburger span {
display : block;
position: absolute;
width   : 30px;
height  : 2px ;
left    : 6px;
background : #D50000;

-webkit-transition: 0.3s ease-in-out;
-moz-transition   : 0.3s ease-in-out;
transition        : 0.3s ease-in-out;
}
.hamburger span:nth-child(1) {
top: 10px;
}
.hamburger span:nth-child(2) {
top: 20px;
}
.hamburger span:nth-child(3) {
top: 30px;
}

/* スマホメニューを開いてる時のボタン */
.hamburger.active span:nth-child(1) {
top : 20px;
left: 6px;
background :#fff;
-webkit-transform: rotate(-45deg);
-moz-transform   : rotate(-45deg);
transform        : rotate(-45deg);
}

.hamburger.active span:nth-child(2),
.hamburger.active span:nth-child(3) {
top: 20px;
background :#fff;
-webkit-transform: rotate(45deg);
-moz-transform   : rotate(45deg);
transform        : rotate(45deg);
}

/* メニュー背景　*/
nav.globalMenuSp {
position: fixed;
z-index : 2;
top  : 0;
left : 0;
color: #fff;
background: rgba( 255,0,0,0.8 );
text-align: center;
width: 100%;
transform: translateX(100%);
transition: all 0.6s;
}

nav.globalMenuSp ul {
margin: 0 auto;
padding: 0;
width: 100%;
}

nav.globalMenuSp ul li {
list-style-type: none;
padding: 0;
width: 100%;
transition: .4s all;
}
nav.globalMenuSp ul li:last-child {
padding-bottom: 0;
}
nav.globalMenuSp ul li:hover{
background :#FFDDDE;
}

nav.globalMenuSp ul li a {
display: block;
color: #fff;
padding: 1em 0;
text-decoration :none;
}

nav.globalMenuSp ul li a:hover{
color: #D50000;
}
/* クリックでjQueryで追加・削除 */
nav.globalMenuSp.active {
opacity: 100;
display: block;
transform: translateX(0%);
}


	
.parallax{
width: 100%;
height: auto;
min-height: 250px;
background-position: center center;
background-repeat: no-repeat;
background-attachment: local;
background-size: 100% auto; 
color: #000;
font-size: 3rem;
text-align: center;
display: flex;
align-items: center;
justify-content: center; 
margin-top: 15px;
}

.parallaxtext{
padding: 0;
margin: 0 auto;
width: 100%;
position: relative;
}
.parallaxtext:before{
content: "";
display: block;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100vh;
z-index: -2;
}
.parallaxtext::after{
content: "";
clear: both;
display: block;
}
.parallaxtext p{
line-height: 1.6rem;
}

.parallax.img01{
background-image: url("img/018.jpg");
}

}