/* CSS Document */

*{
margin:0;
padding:0;
list-style: none;
}

html {
  font-size: 100%; 
}

body {
  width:100%;
  min-width:390px;
  font-weight: 300;
  text-align: center;
  box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif;
}

img {
max-width: 100%;
height: auto;
vertical-align: bottom;
}

a {
  color: #fff;
  text-decoration: none;
}

p{
line-height: 2;
}


/*---------------------------
       ヘッダーの設定 
---------------------------*/

/*モバイルファーストに書き換え*/
.header{
width: 100%;
height: 0;
/* メインビジュアル(画像の高さ/画像の横幅) ×100 */
padding-top:126.6%;
position:relative;
background-image: url("img/mv1-sp.jpg");
background-position: center center;
background-size:cover;
z-index: 10;
}

body:not(.home) .header{
width: 100%;
height: 0;
/* メインビジュアル(画像の高さ/画像の横幅) ×100 */
padding-top:126.6%;
position:relative;
background-image: url("img/mv2-sp.jpg");
background-position: center center;
background-size:cover;
z-index: 10;
}

@media screen and (min-width: 950px) {
.header{
padding-top:50%;
background-image: url("img/mv1-pc.jpg");
background-position: center center;
background-size:cover;
}

body:not(.home) .header{
padding-top:50%;
background-image: url("img/mv2-sp.jpg");
background-position: center center;
background-size:contain;
}
}

.logo{
position: absolute;
left:25px;
top:25px;
width:101px;
height:43px;
z-index: 20;
}

@media screen and (min-width: 950px) {
.logo{
position: absolute;
left:25px;
top:25px;
width:131px;
height:56px;
}
}


/* ハンバーガーメニュー */
.hamburger{
margin:15px auto 0;
width:980px;
height: auto;
max-width:100%;
justify-content: space-around;
}

.gnav {
       position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8);
        font-size: 16px;
        box-sizing: border-box;
        z-index: 10;
        padding-top: 50px;
        transition: .3s;
    }

.gnav.open {
        right: 0;
    }

.gnav .gnav-menu {
        padding: 0;
        width: 100%;
        height: 100%;
        display: block;
        flex-direction: column;
        text-align: center;
        /*justify-content: center; */
    }

.gnav .gnav-menu li {
        width: 86%;
        padding: 15px;
        /*border-bottom: #525252 1px solid;*/
}

.hamburger .btn-gnav {
    position: fixed;
    top: 4%;
    right: 10%;
    width: 44px;
    height: 48px;
    z-index: 20;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

/* 三本線 */
.hamburger .btn-gnav span {
    position: absolute;
    width: 100%;
    height: 4px;
    background: #333;
    -webkit-transition: all 400ms;
    transition: all 400ms;
}

.hamburger .btn-gnav span:nth-child(1) {
    top: 0;
}

.hamburger .btn-gnav span:nth-child(2) {
    top: 10px;
}

.hamburger .btn-gnav span:nth-child(3) {
    top: 20px;
}

/* ハンバーガーメニューをクリックした時のバッテン印 */
.hamburger .btn-gnav.open span:nth-child(1) {
    background: #333;
    top: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.hamburger .btn-gnav.open span:nth-child(2),
.hamburger .btn-gnav.open span:nth-child(3) {
    top: 6px;
    background: #333;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
}
/*.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 500;
}
*/
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
}

ハンバーガーメニューが開いたら表示
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}

/* メニューホバーの設定 */
.gnav-menu li a {
  padding-bottom: 5px;
  position: relative;
}

.gnav-menu li a::before {
  background: #000;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.gnav-menu li a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}
 

@media screen and (min-width: 950px) {

.hamburger{
margin:20px auto 0;
width:980px;
height: auto;
max-width:100%;
display:flex;
justify-content: space-around;
}

.btn-gnav {
    display: none;
}

.gnav {
width:1000px;
margin-left:300px;
position: absolute;
top: 0;
right:0;
font-size: 16px;
background-color: transparent;
/*z-index: 1;*/ 
}

.gnav .gnav-menu {
        padding: 0;
        width: 90%;
        height: 60px;
        display: block;
       /* flex-direction: column;*/
        text-align: center;
        z-index:50;
        /*justify-content: center; */
        /*background-color:none;*/
    }
   
.gnav .gnav-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;          
}

.gnav .gnav-menu li {
    margin: 0 auto;
    padding: 0 5px;
    width: 180px;
   cursor: pointer;
   }
  

.gnav .gnav-menu li a{
color: #333;
}


.black-bg{
display: none;
}
}

/* コンテンツ幅の設定 */
.wrapper{
color:#333333;
width: 100%;
background:url("img/bg-texture.jpg");
}

.wrapper-inner{
padding: 0 15px;
margin: 0 auto;
}

@media screen and (min-width: 950px) {
.wrapper-inner{
max-width:980px;
}
}


/*---------------------------
       ボタンの設定 
---------------------------*/
header .button{
display: block;
margin:0 auto;
margin-top:-30%;
width:48.7%;
padding:0.9em 3em;
background:#000;
color:#fff;
z-index: 20;
}

@media screen and (min-width: 950px) {
header .button{
display: none; 
}
}
section .button{
display: block;
margin:15px auto 0;
width:48.7%;
padding:0.9em 3em;
background:#000;
color:#fff;
}

@media screen and (min-width: 950px) {
section .button{
display: block;
margin:15px auto 0;
width:16%;
padding:0.9em 3em;
background:#000;
color:#fff;
}
}

/*---------------------------
       wrapper内の設定 
---------------------------*/
/* ロゴマークの位置 */
.logo-markonly{
width:9.487%;
height:auto;
margin:0px auto 35px;
}

/* h2タグ用 */
.section-title {
  display: inline-block;
  font-size:1.125rem;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}

/* セクション間の余白 */
section{
padding-top:45px;
margin-bottom:25px;
}

/*---------------------------
       スライダーの設定 
---------------------------*/
#slider{
width: calc(100% - 60px);
margin: 0 auto;
}


.slick-img img{
text-align: center;
height: auto;
width: 100%;
} 

/* スライダー矢印 */
.caption{
margin-top:20px;
color:#333;
}

.prev_icon{
  position: absolute;
  top: 107%;
  left: 80px;
  transform: translate(0,-50%) rotate( -180deg );
  width: 30px;
  z-index: 1;
}
.next_icon{
  position: absolute;
  top: 107%; 
  right:80px;
  transform: translate(0,-50%);
  width: 30px;
  z-index: 1;
}


@media screen and (min-width: 950px) {
.prev_icon{
  position: absolute;
  top: 100%;
  left: 240px;
  transform: translate(0,-50%) rotate( -180deg );
  width: 50px;
  z-index: 1;
}
.next_icon{
  position: absolute;
  top: 100%; 
  right:240px;
  transform: translate(0,-50%);
  width: 50px;
  z-index: 1;
}
}


/*---------------------------
    オーダープランの設定 
---------------------------*/

/* h3タグ用 */
.section-subtitle{
  display: inline-block;
  font-size:1rem;
  letter-spacing:0.03rem;
  margin-top:30px;
}

.flex-orderplan-container label{
    display: block;
    margin:20px;
    background: #fff;
    color: #000;
    padding-bottom: 30px;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.flex-orderplan-container input:checked+label{
    background: #222;
    color: #FFF;
}
.flex-orderplan-container input{
    display: none;
}

@media screen and (min-width: 950px) {
.flex-orderplan-container{
display:flex;
width:900px;
}

.orderplan_kaso_bg .form-inner{
margin:0 15%;
}

.flex-orderplan-container label{
width:95%;
/*.flex-orderplan-container li{
width:500px;
background: #fff;
position:relative;
padding-bottom: 30px;
margin:20px;
}*/
}
}


/*---------------------------
    お見積りフォームの設定 
---------------------------*/
.sp{
display: block;
text-align: left;
}

.pc{
display:none;
}

.table{
margin:0 auto;
}

.tabale th{
width:20%;
padding-bottom:10px;
}

.table td{
width:80%;
padding-bottom:10px;
}

table{
margin-left:26%;
}

tbody th,td{
margin-bottom:50px;
}

.orderplan_kaso_bg{
background: rgba(211,211,211,0.3);
padding:50px 0;
}

td input,select{
padding:10px;
width:100%;
margin-left:20px;
}

form{
margin-bottom:20px;
}
.submit-btn{
border: none;
}

.submit-btn input{
margin:0 auto;
padding:0.9em 3em;
background:#000;
color:#fff;

}

@media screen and (min-width: 950px) {
.sp{
display: none;
}
.pc{
display:block;
}
}

/*---------------------------
    よくあるご質問の設定 
---------------------------*/
/* アコーディオンの設定 */
.accordion-area {}
.accordion-area .accordion-one .ac-header {
  position: relative;
  z-index: +1;
  cursor: pointer;
  transition: .2s;
}

.accordion-area .accordion-one .ac-header .i-box:before, .accordion-area .accordion-one .ac-header .i-box:after {
  position: absolute;
  content: "";
  margin: auto;
  box-sizing: border-box;
  vertical-align: middle;
}
.accordion-area .accordion-one .ac-header .i-box:before {
  border-top: 2px solid #333333;
  width: 15px;
  height: 0;
  top: 0;
  bottom: 0;
  right: 0;
}
.accordion-area .accordion-one .ac-header .i-box:after {
  border-left: 2px solid #333333;
  width: 0;
  height: 15px;
  top: 0;
  bottom: 0;
  right: 6px;
  transition: .3s;
}

.accordion-area .accordion-one .ac-header.open .i-box:after {
  height: 0;
}

.accordion-area .accordion-one .ac-inner {
  display: none;
  text-align: left;
  padding-top:0.75rem;
  padding-bottom:1rem;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}
 
/* アコーディオンの設定 */ 
 
.p-faq-headinner {
  display: block;
  padding-left: 35px;
  position: relative;
  line-height: 1.5;
}

.p-faq-headinner p.p-faq-q-txt {
  font-size: 0.875rem;
  text-align: left;
}
.p-faq-bodyinner {
  display: block;
  padding-left: 60px;
  position: relative;
  line-height: 1.5;
}

.p-faq-bodyinner p.p-faq-a-txt {
  font-size: 0.875rem;
}

/* 質問下の余白設定 */ 
section:last-child{
padding-bottom:70px;
margin-bottom: 0;
}


/*---------------------------
    フッターの設定 
---------------------------*/
#footer{
width:100%;
background:url(img/bg-texture-footer.jpg);
background-position: center center;
background-size:cover;
color:#fff;
}

#footer-inner{
max-width:980px;
margin:0 auto;
padding-left:35px;
}

#footer-navi{
margin-top:40px;
margin-bottom:40px;
}

.footer-navi-flexcontainer{
display: flex;
flex-wrap: wrap;
}

.footer-navi-flexcontainer li{
width: calc(50% - 30px); /* margin padding分を引く */
margin: 1px;
padding: 10px;
text-align: left;
}

/* ホバーの設定 */
.footer-navi-flexcontainer li a {
  padding-bottom: 5px;
  position: relative;
}

.footer-navi-flexcontainer li a::before {
  background: #ffffff;
  content: '';
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform-origin: right top;
  transform: scale(0, 1);
  transition: transform .3s;
}
.footer-navi-flexcontainer li a:hover::before {
  transform-origin: center top;
  transform: scale(1, 1);
}

.info p{
text-align: left;
}

.info{
margin-bottom:60px;
}

.sns{
margin:0 auto 60px;
}

.sns img{
margin:0 12px;
}

#footer small{
text-align: center;
}