@charset "utf-8";
/* レイアウトのためのCSS */

body{
    background:#CCCC66;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
	color: #333;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

body.appear{
    background:#fbfbfb;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
	text-decoration: none;
    outline: none;
}

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

/* font-family */

.heading{
    font-family: "GaramondPremrPro";
    font-size: 4vw;
    font-weight: bold;
    color: #CCCC66;
	line-height: 100%;
    animation-delay: 0.3s;
}

@media screen and (max-width:960px) {
.heading{
    font-size:3rem;
}
}

#container{
    overflow-x: hidden;
}

/* header */

#header{
    background:#fff;
}

#header h1{
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    position: absolute;
    top: 12px;
    left:15%;
    transform: translateX(-50%);
    color:#CCCC66;
}

#g-nav ul{
    display: flex;
    padding: 0 0 0 65%;
}
@media screen and (min-width:1910px) {
	#g-nav ul{
    display: flex;
    padding: 0 0 0 95%;
}
}

@media screen and (min-width:1300px) and ( max-width:1530px) {
   #g-nav ul{
    display: flex;
    padding: 0 0 0 55%;
}
	#g-nav ul li a {
    display: block;
    padding: 6px 8px;
}
}

#g-nav ul li{
  letter-spacing: 0.1em;
    white-space: nowrap;
}

#g-nav ul li:last-child{
     display: none;   
}

#g-nav ul li a{
    display: block;
    padding:6px 15px;
}

@media screen and (max-width:1300px) {
#header h1{
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    position: absolute;
    top: 25px;
    left:50%;
    transform: translateX(-50%);
    color:#CCCC66;
}
	
#g-nav ul{
    display: block;
    padding: 0;
}
   
#g-nav ul li a{
    padding:6px 15px;
}
}

#header ul#utility-navi{
    position: fixed;
    top:0;
    right:0;
    z-index: 999;
    display: flex;
    font-size: 0.8rem;
}

#header ul#utility-navi li{
    text-align: center;
}

#header ul#utility-navi li span{
    display: block;
}

#header ul#utility-navi li a{
    color: #fff;
    padding: 15px 0;
    display: block;
    width:100px;
    transition: all .5s;
}

#header ul#utility-navi li img{
    width:35%;
}  

#header ul#utility-navi li:first-child a{
     background:#666;
}

#header ul#utility-navi li:first-child a:hover{
     background:#888;   
}

#header ul#utility-navi li:last-child a{
     background:#CCCC66;
}

#header ul#utility-navi li:last-child a:hover{
     background:#A8A656;
}

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

#header h1{
    top:9px;
    transform: translateX(-70%);
}

 
#header ul#utility-navi li span{
    /*display:none;*/
	font-size: 10px;
	line-height: 12px;
}

#header ul#utility-navi li a{
    width: 35px;
    height: 70px;
    padding: 0;
}
    
#header ul#utility-navi li img {
    width: 45%;
    margin: 17px 0 0 0px;
}
   
}

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

#header h1{
    font-size: 1.3rem;
    top:14px;
    transform: translateX(-50%);
}
    
#g-nav ul li:last-child{
     display: block;   
}
    
/*#header ul#utility-navi li:first-child{
    display: none;    
}

#header ul#utility-navi li:last-child a{
     background:#666;
}

#header ul#utility-navi li:last-child a:hover{
     background:#888;   
}*/
}
/* lead */

#lead{
    position: relative;
    padding: 100px 0 0 0;
    height:100vh;
    
}

#slider-area{
    width:100%;
    height: 80vh;
    position: relative;
    top: 0;
    z-index: -1;
}

#slider-area #slider{
    width:100%;
    height: 80vh;
}



#lead .lead{
    position: absolute;
	color: #fff;
    top:360px;
    right:4%;
    font-size: 2rem;
    letter-spacing: 0.2em;
    line-height: 1.6;
    writing-mode: horizontal-tb;
    -webkit-writing-mode: horizontal-tb;
    -ms-writing-mode: horizontal-tb;
    white-space: nowrap;
}

#lead .lead span{
     display: block; 
    padding: 100px 0 0 0;
}


@media screen and (max-width:768px) {
#slider-area {
    width: 100%;
    height: 90vh;
    left: 0;
    }
    #slider-area #slider{
    height: 90vh;
}
    
#lead h2.heading{
    top: 120px;
}
    
#lead{
    padding:80px 0 0 0;
}
    
#lead .lead{
    right:7%;
    top:320px;
}

}

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

#lead .lead {
    font-size: 1.3rem;
    right:5%;

} 
}

@media screen and (max-width:350px) {
#lead .lead {
    right:2%;
} 
    
}

/* lead2 */

#lead2{
    position: relative;
    padding: 120px 0 0 0;
    height: 80vh;
}

#lead2 h1{
  position: absolute;
  z-index: 2;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size:3vw;
  line-height: 150%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.slider {
    position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 80vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/

.slider-item01 {
    background:url(/themes/universalhome/img/main_01.jpg);
}

.slider-item02 {
    background:url(/themes/universalhome/img/main_02.jpg);
}

.slider-item03 {
    background:url(/themes/universalhome/img/main_03.jpg);
}

.slider-item04 {
    background:url(/themes/universalhome/img/main_04.jpg);
}

.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:80vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}

/*矢印の設定*/

.slick-prev, 
.slick-next {
    position: absolute;
  z-index: 3;
    top: 42%;
    cursor: pointer;/*マウスカーソルを指マークに*/
    outline: none;/*クリックをしたら出てくる枠線を消す*/
    border-top: 2px solid #fff;/*矢印の色*/
    border-right: 2px solid #fff;/*矢印の色*/
    height: 25px;
    width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
    left:2.5%;
    transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
    right:2.5%;
    transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
  position: relative;
  z-index: 3;
    text-align:center;
  margin:-50px 0 0 0;/*ドットの位置*/
}

.slick-dots li {
    display:inline-block;
  margin:0 5px;
}

.slick-dots button {
    color: transparent;
    outline: none;
    width:8px;/*ドットボタンのサイズ*/
    height:8px;/*ドットボタンのサイズ*/
    display:block;
    border-radius:50%;
    background:#fff;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
    background:#333;/*ドットボタンの現在地表示の色*/
}

@media screen and (max-width:800px) {
	#lead2{
    position: relative;
    padding: 110px 0 0 0;
    height: 60vh;
}
	#lead2 h1{
      position: absolute;
      z-index: 2;
      top: 55%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      font-size:4vw;
      line-height: 150%;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
    }
	.slider {
    position:relative;
  z-index: 1;
  /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
  height: 60vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
	.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height:60vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
}
@media screen and (max-width:425px) {
	#lead2 h1{
      position: absolute;
      z-index: 2;
      top: 55%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      font-size:6vw;
      line-height: 150%;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #fff;
    }
}

/* service */

#service{
    position: relative;
    text-align: center;
    padding: 100px 0 0 0;
    
}

#service header{
    background:#CCCC66;
    color: #fff;
    width:90%;
    padding: 50px 0 50px 0;
    z-index: 1;
}

#service header h2{
    font-size: 2rem;
    margin: 20px 0 20px 0;
    letter-spacing: 0.1em;
}

#service header h2 br{
     display: none;   
}

#service header p{
    margin: 0 0 30px 0;
	font-size: 20px;
}

#service header p br{
     display: none;   
}

#service .service-area{
    background:#fff;
    padding: 70px;
    width:70%;
    position: relative;
    top: 0px;
    left: 10%;
    z-index: 2;
}

#service .service-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#service .service-area ul li{
    opacity: 0;
    width:22%;
    padding: 0 0 50px 0;
}

#service .service-area ul li a{
    display: block;
	font-size: 1.2rem;
}

@media screen and (max-width:960px) {
    #service header{
        width:100%;
    }
    #service .service-area{
        width:80%;
        left:10%;
        padding: 80px 20px 30px 20px;
    }
#service .service-area ul li{
    width:40%;
    }   

#service header p br{
     display:block;   
}
}

@media screen and (max-width:768px) {
    #service{
        padding: 200px 0 0 0;
    }
	#service header h2{
    font-size: 1.6rem;
    margin: 20px 0 20px 0;
    letter-spacing: 0.1em;
}
}

@media screen and (max-width:550px) {
    #service .service-area{
    width:90%;
    left:5%;
    }
	#service header h2 br{
     display:block;   
}
}

@media screen and (max-width:400px) {
    #service .service-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
    
}

/* strong */

#strong{
    position: relative;
    padding:0 70px;
    
}

#strong h2{
    position: absolute;
    z-index: 2;
	font-size: 10vw;
}

.strong-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    
}

.strong-img{
    background:url("../img/pict_01.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.strong-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.strong-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.strong-content h3,
.strong-content p,
.strong-content .strong-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.strong-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .strong-content h3{/*IE11用ハック*/
    width:30%;
}

.strong-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .strong-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .strong-content .strong-btn{/*IE11用ハック*/
    width:10%;
}


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

.strong-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.strong-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.strong-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#strong{
    padding: 0 30px;
}
    
#strong h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .strong-img,
    .strong-content{
        width:100%;
    }
    
    .strong-img{
        height:40vh;
    }

    .strong-content{
    padding:50px 0 0 0;
    }
    
.strong-content h3,
.strong-content p,
.strong-content .strong-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .strong-content h3,
_:-ms-lang(x)::-ms-backdrop, .strong-content p,
_:-ms-lang(x)::-ms-backdrop, .strong-content .strong-btn{/*IE11用ハック*/
    width:100%;
}
    
.strong-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.strong-box{
    display: block;

}
    
.strong-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .strong-img{
        height:20vh;
    }
}

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

 .strong-content p br{
    display: none;
    }
}

/* eco */

#eco{
    position: relative;
    padding:0 70px;
    
}

#eco h2{
    position: absolute;
    right:2%;
    z-index: 2;
	font-size: 10vw;
}

.eco-area{
    display: flex;
    flex-wrap: wrap;
    
}

.eco-img{
    background:url("../img/pict_02.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.eco-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.eco-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.eco-content h3,
.eco-content p,
.eco-content .eco-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.eco-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .eco-content h3{/*IE11用ハック*/
    width:30%;
}

.eco-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .eco-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .eco-content .eco-btn{/*IE11用ハック*/
    width:10%;
}


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

.eco-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.eco-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.eco-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#eco{
    padding: 0 30px;
}
    
#eco h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .eco-img,
    .eco-content{
        width:100%;
    }
    
    .eco-img{
        height:40vh;
    }

    .eco-content{
    padding:50px 0 0 0;
    }
    
.eco-content h3,
.eco-content p,
.eco-content .eco-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .eco-content h3,
_:-ms-lang(x)::-ms-backdrop, .eco-content p,
_:-ms-lang(x)::-ms-backdrop, .eco-content .eco-btn{/*IE11用ハック*/
    width:100%;
}
    
.eco-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.eco-box{
    display: block;

}
    
.eco-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .eco-img{
        height:20vh;
    }
}

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

 .eco-content p br{
    display: none;
    }
}


/* liveLong */

#liveLong{
    position: relative;
    padding:0 70px;
    
}

#liveLong h2{
    position: absolute;
    z-index: 2;
	font-size: 10vw;
}

.liveLong-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    
}

.liveLong-img{
    background:url("../img/pict_03.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.liveLong-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.liveLong-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.liveLong-content h3,
.liveLong-content p,
.liveLong-content .liveLong-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.liveLong-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .liveLong-content h3{/*IE11用ハック*/
    width:30%;
}

.liveLong-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .liveLong-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .liveLong-content .liveLong-btn{/*IE11用ハック*/
    width:10%;
}


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

.liveLong-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.liveLong-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.liveLong-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#liveLong{
    padding: 0 30px;
}
    
#liveLong h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .liveLong-img,
    .liveLong-content{
        width:100%;
    }
    
    .liveLong-img{
        height:40vh;
    }

    .liveLong-content{
    padding:50px 0 0 0;
    }
    
.liveLong-content h3,
.liveLong-content p,
.liveLong-content .liveLong-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .liveLong-content h3,
_:-ms-lang(x)::-ms-backdrop, .liveLong-content p,
_:-ms-lang(x)::-ms-backdrop, .liveLong-content .liveLong-btn{/*IE11用ハック*/
    width:100%;
}
    
.liveLong-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.liveLong-box{
    display: block;

}
    
.liveLong-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .liveLong-img{
        height:20vh;
    }
}

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

 .liveLong-content p br{
    display: none;
    }
}


/* quality */

#quality{
    position: relative;
    padding:0 70px;
    
}

#quality h2{
    position: absolute;
    z-index: 2;
	right:2%;
	font-size: 10vw;
}

.quality-area{
    display: flex;
    flex-wrap: wrap;
    
}

.quality-img{
    background:url("../img/pict_04.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.quality-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.quality-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.quality-content h3,
.quality-content p,
.quality-content .quality-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.quality-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .quality-content h3{/*IE11用ハック*/
    width:30%;
}

.quality-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .quality-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .quality-content .quality-btn{/*IE11用ハック*/
    width:10%;
}


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

.quality-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.quality-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.quality-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#quality{
    padding: 0 30px;
}
    
#quality h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .quality-img,
    .quality-content{
        width:100%;
    }
    
    .quality-img{
        height:40vh;
    }

    .quality-content{
    padding:50px 0 0 0;
    }
    
.quality-content h3,
.quality-content p,
.quality-content .quality-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .quality-content h3,
_:-ms-lang(x)::-ms-backdrop, .quality-content p,
_:-ms-lang(x)::-ms-backdrop, .quality-content .quality-btn{/*IE11用ハック*/
    width:100%;
}
    
.quality-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.quality-box{
    display: block;

}
    
.quality-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .quality-img{
        height:20vh;
    }
}

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

 .quality-content p br{
    display: none;
    }
}

/* inspection */

#inspection{
    position: relative;
    padding:0 70px;
    
}

#inspection h2{
    position: absolute;
    z-index: 2;
	font-size: 10vw;
}

.inspection-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    
}

.inspection-img{
    background:url("../img/pict_05.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.inspection-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.inspection-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.inspection-content h3,
.inspection-content p,
.inspection-content .inspection-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.inspection-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .inspection-content h3{/*IE11用ハック*/
    width:30%;
}

.inspection-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .inspection-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .inspection-content .inspection-btn{/*IE11用ハック*/
    width:10%;
}


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

.inspection-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.inspection-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.inspection-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#inspection{
    padding: 0 30px;
}
    
#inspection h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .inspection-img,
    .inspection-content{
        width:100%;
    }
    
    .inspection-img{
        height:40vh;
    }

    .inspection-content{
    padding:50px 0 0 0;
    }
    
.inspection-content h3,
.inspection-content p,
.inspection-content .inspection-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .inspection-content h3,
_:-ms-lang(x)::-ms-backdrop, .inspection-content p,
_:-ms-lang(x)::-ms-backdrop, .inspection-content .inspection-btn{/*IE11用ハック*/
    width:100%;
}
    
.inspection-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.inspection-box{
    display: block;

}
    
.inspection-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .inspection-img{
        height:20vh;
    }
}

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

 .inspection-content p br{
    display: none;
    }
}


/* design */

#design{
    position: relative;
    padding:0 70px;
    
}

#design h2{
    position: absolute;
    z-index: 2;
	right:2%;
	font-size: 10vw;
}

.design-area{
    display: flex;
    flex-wrap: wrap;
    
}

.design-img{
    background:url("../img/pict_06.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.design-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.design-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.design-content h3,
.design-content p,
.design-content .design-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.design-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .design-content h3{/*IE11用ハック*/
    width:30%;
}

.design-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .design-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .design-content .design-btn{/*IE11用ハック*/
    width:10%;
}


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

.design-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.design-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.design-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#design{
    padding: 0 30px;
}
    
#design h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .design-img,
    .design-content{
        width:100%;
    }
    
    .design-img{
        height:40vh;
    }

    .design-content{
    padding:50px 0 0 0;
    }
    
.design-content h3,
.design-content p,
.design-content .design-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .design-content h3,
_:-ms-lang(x)::-ms-backdrop, .design-content p,
_:-ms-lang(x)::-ms-backdrop, .design-content .design-btn{/*IE11用ハック*/
    width:100%;
}
    
.design-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.design-box{
    display: block;

}
    
.design-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .design-img{
        height:20vh;
    }
}

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

 .design-content p br{
    display: none;
    }
}

/* tour */

#tour{
    position: relative;
    padding:0 70px;
    
}

#tour h2{
    position: absolute;
    z-index: 2;
	font-size: 10vw;
}

.tour-area{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    
}

.tour-img{
    background:url("../img/pict_07.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.tour-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.tour-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.tour-content h3,
.tour-content p,
.tour-content .tour-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.tour-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .tour-content h3{/*IE11用ハック*/
    width:30%;
}

.tour-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .tour-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .tour-content .tour-btn{/*IE11用ハック*/
    width:10%;
}


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

.tour-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.tour-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.tour-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#tour{
    padding: 0 30px;
}
    
#tour h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .tour-img,
    .tour-content{
        width:100%;
    }
    
    .tour-img{
        height:40vh;
    }

    .tour-content{
    padding:50px 0 0 0;
    }
    
.tour-content h3,
.tour-content p,
.tour-content .tour-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .tour-content h3,
_:-ms-lang(x)::-ms-backdrop, .tour-content p,
_:-ms-lang(x)::-ms-backdrop, .tour-content .tour-btn{/*IE11用ハック*/
    width:100%;
}
    
.tour-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.tour-box{
    display: block;

}
    
.tour-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .tour-img{
        height:20vh;
    }
}

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

 .tour-content p br{
    display: none;
    }
}

/* price */

#price{
    position: relative;
    padding:0 70px;
    
}

#price h2{
    position: absolute;
    z-index: 2;
	right:2%;
	font-size: 10vw;
}

.price-area{
    display: flex;
    flex-wrap: wrap;
    
}

.price-img{
    background:url("../img/pict_08.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.price-content{
    display: flex;
    justify-content: center;
    padding: 72px 0 0 0;
    width:45%;
}

.price-box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.price-content h3,
.price-content p,
.price-content .price-btn{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    height: 20em;
    letter-spacing: 0.1em;
}

.price-content h3{
    font-size:2.4rem;
    line-height: 2.5;
}

_:-ms-lang(x)::-ms-backdrop, .price-content h3{/*IE11用ハック*/
    width:30%;
}

.price-content p{
    line-height: 3;
    margin: 0 0 0 50px;
}

_:-ms-lang(x)::-ms-backdrop, .price-content p{/*IE11用ハック*/
    width:60%;
}

_:-ms-lang(x)::-ms-backdrop, .price-content .price-btn{/*IE11用ハック*/
    width:10%;
}


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

.price-content h3{
    line-height: 2;
    margin: 0 0 0 10px;
}

.price-content p{
    line-height: 3;
    margin: 0 0 0 20px;
}
    
}

@media screen and (max-width:1000px) {
.price-content p{
    line-height: 2;
}
}


@media screen and (max-width:768px) {
#price{
    padding: 0 30px;
}
    
#price h2 {
    position: relative;
    right: inherit;
    top: 20px;
}
    .price-img,
    .price-content{
        width:100%;
    }
    
    .price-img{
        height:40vh;
    }

    .price-content{
    padding:50px 0 0 0;
    }
    
.price-content h3,
.price-content p,
.price-content .price-btn{
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
    height: inherit;
    margin: 0 0 24px 0;
}
    
_:-ms-lang(x)::-ms-backdrop, .price-content h3,
_:-ms-lang(x)::-ms-backdrop, .price-content p,
_:-ms-lang(x)::-ms-backdrop, .price-content .price-btn{/*IE11用ハック*/
    width:100%;
}
    
.price-content h3{
    text-align: center;
    font-size: 1.2rem;

}
    
.price-box{
    display: block;

}
    
.price-box .btn{
    padding: 10px;
    display: block;
}
        
}


@media screen and (max-width:430px) {
    .price-img{
        height:20vh;
    }
}

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

 .price-content p br{
    display: none;
    }
}

/* history */

#history{
    position: relative;
    padding:0 70px;
    margin: 0 0 100px 0;
}

#history h2{
    position: absolute;
    right:45%;
    z-index: 2;
}


.history-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    
}

.history-img{
    background:url("../img/pict_02.jpg") no-repeat center;
    background-size: cover;
    height: 50vh;
    width:48%;
}

.history-content{
    width:45%;
    padding: 72px 0 0 0;
}


@media screen and (max-width:768px) {
#history{
    padding: 0 30px;
}
#history h2 {
    position: relative;
    right: inherit;
    top: 40px;
}
    .history-img,
    .history-content{
        width:100%;
    }
    
    .history-img{
        height:40vh;
    }

    .history-content{
    padding:50px 0 0 0;
    }  
}

@media screen and (max-width:430px) {
    .history-img{
        height:20vh;
    }
}

/* footer */

#footer{
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap:wrap;
    flex-direction: row-reverse;
}

#footer .footer-r {
    padding: 40px;
    background:#CCCC66;
    color: #fff;
}

#footer .footer-r .map-address{
    display: flex;
    justify-content: center;
    align-items: center;
}

#footer .footer-r .map-address address{
     font-style: normal;   
    margin: 0 0 4px 0;
}

#footer .footer-r .map-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 100px 0;
}

#footer .footer-r .map-area h2{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
    font-size: 1.3rem;
    width:10%;
    height: 10em;
    letter-spacing: 0.3em;
    text-align: center;
}

#footer .footer-r .map-area p {
     font-style: normal;
	color: #fff;
	line-height: 1.5;
    padding: 0 0 16px 0;
}

#footer .footer-r .map-area p a {
     font-style: normal;
	color: #fff;
	line-height: 1.5;
    padding: 0 0 16px 0;
	font-size: 24px;
}

.sns-banner{
	display: flex;
	flex-wrap:wrap;
}
.sns-banner li {
	width: calc(100%/6);/*←画像を横に4つ並べる場合*/
	padding:0 5px;/*←画像の左右に5pxの余白を入れる場合*/
	box-sizing:border-box;
}
.sns-banner li img {
	max-width:24px; /*画像のはみだしを防ぐ*/
	height: auto; /*画像の縦横比を維持 */
}

#footer .footer-r .map-area div.footerIcon a {
	display: inline-block !important; 
     font-style: normal;
	width: 24px;
	color: #fff;
    padding: 0 0 24px 0;
	display: block;
}

#footer .footer-r .map-address{
    width:30%;
}

#footer .footer-r .map-block{
    width:50%;
	margin-bottom: 32px;
}

#footer .footer-r .iframe-area {
  position: relative;
  padding-bottom: 51.65%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

#footer .footer-r .iframe-area iframe,
#footer .footer-r .iframe-area object,
#footer .footer-r .iframe-area embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#footer .footer-link{
    font-size: 0.9rem;
    padding: 0 0 0 50px;
}

#footer .footer-link li{
     display: inline-block;
}

#footer .footer-link a{
    color: #fff;
}

#footer .footer-link a::after{
    content:'/';
    padding: 0 10px;
}

#footer .footer-link li:last-child a::after{
    content:'';
    padding: 0;
}

#footer .footer-l{
    background:#333333;
}

#footer .footer-l .footer-contact{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #E6E6E6;
    height: 40vh;
}

#footer .footer-l .footer-contact-area h2 img{
    width: 205px;
    margin: 0;
	text-align: center;
}

#footer .footer-l .footer-contact-area p{
    font-size: 0.8rem;
    padding: 0 0 12px 0;
    display: inline-block;
}

#footer .footer-l .footer-contact-area a{
    font-size: 1.2rem;
    padding: 0 0 12px 0;
    display: inline-block;
}

#footer #copyright{
    background:#333333;
    color: #ccc;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20vh;
}

#footer #page-top{
    position: absolute;
    bottom:0;
    right: 0;
    width:80px;
    height:80px;
    background:#fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

#footer #page-top span{
    display: inline-block;
  width: 13px;
  height: 13px;
  border-top:2px solid #CCCC66;
  border-left: 2px solid #CCCC66;
  transform: rotate(45deg);
}


#footer .footer-r,
#footer .footer-l{
    width:100%;
}
    
#footer .footer-l .footer-contact,
#footer #copyright{
    height: inherit;
    padding: 40px 0;
}
    
#footer .footer-r .map-area h2{
    width:5%;
}
   
#footer .footer-link{
    text-align: center;
}
    


@media screen and (max-width:768px) {
    #footer .footer-r{
        padding:80px 30px;
    }
    
    #footer .footer-r .map-area{
        margin: 0;
    }
    #footer .footer-link{
        display: none;
    }
    
#footer .footer-r .map-area h2{
    width:100%;
    height: inherit;
    margin: 0 0 50px 0;
    -ms-writing-mode: lr-tb;
    -webkit-writing-mode: horizontal-tb;
    writing-mode: horizontal-tb;
}
#footer .footer-r .map-area h3{
	font-size: 1.2rem;
	}
	
#footer .footer-r .map-address{
        width:48%;
}
#footer .footer-r .map-address address {
    font-size: 1rem;
	line-height: 150%;
}
#footer .footer-r .map-address p {
    font-size: 0.9rem;
	line-height: 150%;
}
#footer #page-top{
        width:60px;
        height: 60px;
}
    
}

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

#footer .footer-r .map-address,  
#footer .footer-r .map-block{
        width:100%;
}
    
#footer .footer-r .map-address{
        margin: 0 0 50px 0;
}
}


/*==================================================
スライダーのためのcss
===================================*/
#jireiSlider {
    position: relative;
    padding:0px;
    margin: 0 0 100px 0;
}

.jireiSlider a img {
    width:100%;/*スライダー内の画像を横幅100%に*/
    height:auto;
}

/*slickのJSで書かれるタグ内、スライド左右の余白調整*/

.jireiSlider .slick-slide {
    margin:0 10px;/*スライド左右の余白調整*/
}

#jireiSlider h2 {
    text-align:center;
    padding-bottom:12px;
}

#jireiSlider p {
    text-align:center;
    padding-bottom:32px;
}

#jireiSlider ul.jireiSlider {
  margin:0;
  padding: 0;
  list-style: none;
}


/* news */

.news-img-wrapper{
    position:relative;
    z-index: 1;
    overflow: hidden;
    width:90%;
    height: 60vh;
}

.news-img{
    height: 60vh;
    background:url("../img/02.jpg") no-repeat center;
    background-size: cover;
}

@media only screen and (max-width: 1180px) {
	.news-img-wrapper{
        position:relative;
        z-index: 1;
        overflow: hidden;
        width:100%;
        height: 50vh;
      }
    .news-img{
        height: 50vh;
        background:url("../img/02.jpg") no-repeat center;
        background-size: cover;
    }
}

@media only screen and (max-width: 800px) {
	.news-img-wrapper{
        position:relative;
        z-index: 1;
        overflow: hidden;
        width:100%;
        height: 40vh;
      }
    .news-img{
        height: 40vh;
        background:url("../img/02.jpg") no-repeat center;
        background-size: cover;
    }
}

@media only screen and (max-width: 648px) {
	.news-img-wrapper{
        position:relative;
        z-index: 1;
        overflow: hidden;
        width:100%;
        height: 30vh;
      }
    .news-img{
        height: 30vh;
        background:url("../img/02.jpg") no-repeat center;
        background-size: cover;
    }
}

@media only screen and (max-width: 425px) {
	.news-img-wrapper{
        position:relative;
        z-index: 1;
        overflow: hidden;
        width:100%;
        height: 20vh;
      }
    .news-img{
        height: 20vh;
        background:url("../img/02.jpg") no-repeat center;
        background-size: cover;
    }
}


#news{
    padding: 24px 0 5% 15%;
}

#news h2 {
	text-align: left;
	padding-bottom: 32px;
}

#news .area li{
    padding: 0;
}

#news .area time{
    display: block;
    color: #aaa;
}

#news .tab{
    position: relative;
    top:1px;
}

#news .tab-choice-area{
    border-top:1px solid #aaa;
    border-left:1px solid #aaa;
}

@media only screen and (max-width: 1110px) {
    .tab-area{
        width:100%;
    }
    
}

@media only screen and (max-width: 768px) {
#news {
    padding: 0 0 5% 30px;
}
}

/* gallery */

#gallery{
    margin: 0 0 5% 0;
}

#gallery li{
    overflow: hidden;
}

.gallery img{
    opacity: 0.5;
}

.gallery img:hover{
    opacity: 1;
}

/* contactBar */
#contactBar .contactBar-area{
    background:#fff;
    padding:32px 0 32px 0;
    width:100%;
    position: relative;
    z-index: 2;
}

#contactBar .contactBar-area ul{
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
/* スマホ表示用。flipDownを指定している親要素に指定しないとうまく動かない*/
    transform:  translate3d(0, 0, 0);
}

#contactBar .contactBar-area ul li{
    opacity: 0;
    width:22%;
    padding: 0 0 50px 0;
}

#contactBar .contactBar-area ul li a{
    display: block;
}

@media screen and (max-width:960px) {
    #contactBar .contactBar-area{
        width:80%;
        left:10%;
        padding: 80px 20px 30px 20px;
    }
#contactBar .contactBar-area ul li{
    width:100%;
    }   


}

@media screen and (max-width:768px) {
    #contactBar{
        padding: 0;
    }
}

@media screen and (max-width:550px) {
    #contactBar .service-area{
    width:90%;
    left:5%;
    }

}

@media screen and (max-width:400px) {
    #contactBar .contactBar-area{
    width:100%;
    left:0;
    font-size: 0.9rem;
}
    
}




.gmap {
height: 0;
overflow: hidden;
padding-bottom: 40%;
position: relative;
}
.gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}

.mb24{
	margin-bottom: 24px;
}

.mb16{
	margin-bottom: 16px;
}


.entryFormColumn .entryFormColumnHead .entryFormColumnHeadLayoutBox input, .entryFormColumn .entryFormColumnHead .entryFormColumnHeadLayoutBox select {
    position: relative;
    max-width: 140px;
    margin: 0 0 5px 0;
    color: #000;
}


.acms-pager-container {
	margin-top: 24px;
}

.pager li.cur {
    padding: 5px 20px !important;
    color: #FFF;
    background: #767676;
    border-radius: 3px;
}


.mt24 {
	margin-top: 24px;
}