@charset "utf-8";

body,html,h1,h2,h3,p,ul,li{
  margin: 0;
  padding: 0;
  line-height: 1.0;
  font-family: "Hiragino Kaku Gothic ProN",Meiriyo,sans-serif;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}

/*共通CSS*/
.innerwrap{
  max-width: 960px;
  margin: 0 auto;
  padding:1em 0;
}

/* header */

header{
  border-bottom:2px solid #971235 ;
}

header .nav{
  display: flex;
  justify-content: space-between;
}

header .nav .logo{
  width: 40%;  
  padding:0 16px;
  box-sizing:border-box;
}


header .nav .logo h1{
  font-family: 'Great Vibes', cursive;
  color: #971235;
  margin: 0 auto;
  font-size: 34px; 
}

header .nav .logo p{
  padding: 0px;
  font-size: 13px;
}

header nav{
  width:60%;
}


/* Navgation */

/* sp用 nav,sp-nav */
.sp-btn,.sp-nav{
  display: none;
}


/* pc用 Nav*/


nav ul{
  display:flex ;
  justify-content: space-between;
}


nav ul li{
  line-height: 1.5;
  width: 20%;
  text-align: center;
}

nav ul li>a{
  color: black;
  line-height: 56px;
  border-bottom: 3px solid transparent;
}

nav ul li >a:hover{
  border-bottom: 3px solid #971235;
}


/* Key-visual設定 */
.key-visual {
  height: 300px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  max-width: 960px;
}


.key-visual.image01{
  background: url(../img/main1.png) no-repeat center/cover;
}
.key-visual.image02{
  background: url(../img/main2.png) no-repeat center center/cover;
}
.key-visual.image03{
  background: url(../img/main3.png) no-repeat center center/cover;
}
.key-visual.image04{
  background: url(../img/main4.png) no-repeat center center/cover;
}


/* main  */
.contents-box {
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
}

.contents-box .contents {
  width: 25%;
}

.contents-box .contents + .contents {
  margin-left: 2%;
}

.contents-box .contents:hover {
  opacity: 0.7;
  cursor: pointer;
}

.contents-box .contents h2 {
  color: black;
  white-space: nowrap;
  margin-bottom: .3em;
  padding: 0.3em;
  padding-left: 1em;
  border-left: 0.3em solid #971235;
}

.contents-box .contents h2 + p {
  padding-top: 70%;
  margin-bottom: 1em;

  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;

}

.contents-box .contents h2 + p + p {
   line-height: 1.7;
  color: black;
}

.contents-box .contents h2 + p {
  background: url(../img/box1.png) no-repeat 0 0/cover;
}

.contents-box .contents:nth-child(2) h2 + p {
  background: url(../img/box2.png) no-repeat 0 0/cover;
}

.contents-box .contents:nth-child(3) h2 + p {
  background: url(../img/box3.png) no-repeat 0 0/cover;
}

.contents-box .contents:nth-child(4) h2 + p {
  background: url(../img/box4.png) no-repeat 0 0/cover;

}


/*footer設定*/
footer {
  background: #CAA473;
}

footer p {
  text-align: center;
  color: white;
  padding: 2em 0;
  font-weight: bold;
}





@media screen and (max-width:520px){

  /* header 設定 */
  header {
    border-bottom: 0;
  }
  
  header .nav {
   display: block;
   
  }
  
  header .nav .logo {
   width: 100%;
   padding-bottom: 10px;
   text-align: center;
   border-bottom: 2px solid #971235
  }
  
  header .nav .logo h1 {
    font-size: 34px;
  }
  
 
  header nav {
    position: relative;
    width: 100%;
   }

 /*navigation設定*/

.pc-nav{
  display: none;
}
/****メニュー開閉ボタン****/
  nav .sp-btn{
  display: block;
  width: 50px;
  height: 50px;
  border:2px solid #971235;
  border-radius: 5px;
  position: absolute;
  right: 5px;
  top:-70px;
  color:#971235;
  font-weight: bold;
  font-size:14px;
  text-align: center;
  line-height: 50px;
  background-color: #fff;
  transition:400ms;
  }
  
  nav .sp-btn.open{
  background-color: #971235;
  color:#fff;
  }
  
  
  nav .sp-nav{
   display: block;
   width: 100%;
   position: absolute;
   z-index: 10000;
   display: none;
  }
  

  nav .sp-nav li {
    width: 100%;
    border-bottom: 1px solid #971235;
    text-align: center;
    background-color: rgba(255, 255, 255,0.8);
    line-height: 70px;
  }
  
  nav ul li > a {
   display: block;
  }
  
  nav ul li > a:hover {
   color:#fff;
   background-color: rgba(124, 8, 105, 0.8);
   border-bottom: 0;
  }
  
  /* Keyvis */
  .bx-wrapper{
   margin-bottom: 20px;
 }

  
  /* contents-box 設定 */
  .contents-box {
   flex-wrap: wrap;
   
  }
  
  .contents-box .contents {
    width: 48%;
    margin-bottom: 40px;
  }
  
   .contents-box .contents h2 {
    white-space: nowrap;
    margin-bottom: 10px;
    padding: 0.3em;
    padding-left: 5px;
    border-left:10px solid #971235;
    font-size: 20px;
  }
   
}

@media screen and (max-width:393px){

/* contents-box 設定 */
.contents-box {
  display: block;
  max-width: 100%;
 }
 .contents-box .contents {
  width: 100%;
  margin-bottom: 40px;
}
}