@charset "utf-8";
/* CSS Document */
@media screen and (min-width: 769px){
html{
font-size: 18px;
}
body{
margin: 0;
padding: 0;
}
p{
margin-top:5px;
}
a{
color: #000;
}
img{
}

.none{
display: none;
}

.ts{
font-size: 0.8rem;
}

.tl{
font-size: 1.6rem;
}

h1{
clear: both;
width: 100%;
max-width: 1000px;
min-width: 910px;
font-size: 1.5rem;
color: #000033;
font-weight: normal;
margin: 50px auto 0 auto;
background-color: #FFC6C7;
padding: 10px 0 5px 20px;
border-radius: 10px 10px 0 0 ;
}
h1:before {
content: "\f0e6";
font-family: FontAwesome;
padding: 0 10px 0 0;
}

h2{
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.8rem;
position: absolute;
padding:8px 300px;
color: #D50000;
border: 4px double#D50000;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 15px;
}

.head0{
width: 100%;
background: url("img/back_top.png");
height: 160px;
}

.head{
margin: 0 auto;
width: 100%;
max-width: 1200px;
min-width: 910px;
height: 174px;
position: relative;
}

.head1{
float: left;
position: absolute;
bottom: 0;
left: 30px;
}

.head2{
float: right;
position: absolute;
bottom: 15px;
right: 30px;
}

#menu0{
clear: both;
width: 100%;
border-bottom: 6px double #D50000;
padding: 0;
}
#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: 100%;
background: #FFC6C7;
text-align: center;
padding: 20px 0 10px 0;
color: #000033;
}
.foot a{
color: #D50000;
}
.foot1{
text-align: center;
display: inline-block;
}

.container1{
width: 982px;
padding: 18px;
margin: 0 auto 50px auto;
border-right: 1px solid #ccc;
border-bottom: 1px solid #ccc;
border-left: 1px solid #ccc;
border-radius: 0 0 10px 10px;
display: table;
}

.container2{
width: 980px;
padding: 18px;
margin: 0 auto 50px auto;
border: 1px solid #ccc;
border-radius: 10px;
display: table;
}

.right {
float: right;
margin-left: 2em;
margin-bottom: 3em;
}

.left {
float: left;
margin-right: 2em;
margin-bottom: 3em;
}

.center {
width: 982px;
padding: 18px;
border-right: 1px solid #ccc;
border-left: 1px solid #ccc;
text-align: center;
}
.center img{
width: 70%;
height: auto;
}


/* works */

.works_box{
clear: both;
margin: 35px auto;
font-size: 1rem;
}
.works_box:after{
content:"";
display: block;
clear: both;
}


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

.works_box2{
font-size: 1rem;
border-collapse: collapse;
width: 80%;
}

.works_box2 th{
border: solid 1px #666;
font-weight: normal;
padding: 5px;
text-align: center;
background-color: #fff;
}

.works_box2 td{
border: solid 1px #666;
padding: 5px 0 5px 15px;
background-color: #fff;
}

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

.contact th{
padding: 10px;
width: 200px;
font-weight: normal;
text-align: left;
}

.contact td{
padding: 10px;
margin-bottom: 20px;
font-weight: normal;
}





/*　ハンバーガーメニューボタン　*/
.hamburger {
display : block;
position: fixed;
z-index : 3;
right : 20px;
bottom   : 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;
bottom  : 0;
right : 0;
color: #fff;
background: rgba( 255,0,0,0.8 );
text-align: center;
width: 25%;
height: 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{
clear: both;
height: 450px;
background-position: center bottom;
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover; 
color: #000;
font-size: 3rem;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}

.parallaxtext{
padding: 60px;
margin: 0 auto;
width: 100%;
max-width: 1000px;
position: relative;
background: #fff;
}
.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");
}

}