/* ========================================

  style CSS

======================================== */

#contents #contentsBody {
  margin-top: 80px;
}
#contents #contentsBody p{
  text-align: justify;
  line-height: 1.8;
}
#contents .section+.section{
  margin-top: 80px;
}

#contents #mainArea{
  position: relative;
  background-image: url("../img/main.jpg");
  background-position: center center;
  background-size: cover;
  width: 100%;
  height: 450px;
}
#contents #mainArea h1{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  -webkit-transform: translateY(-50%) translateX(-50%);
}

/*contentsBody*/
#contentsBody .wrap{
  padding: 20px 8px 0;
}
#contentsBody h2{
  font-size: 22px;
  padding: 10px 20px 10px 20px;
  background: #732c0c;
  color: #e9e8da;
  border-radius: 5px;
}

/*intro*/
#intro{
  text-align: center;
}
#intro .videoWrapper{
  max-width: 800px;
  margin: 40px auto 0;
}
#intro .video{
  position:relative;
  width:100%;
  padding-top:56.25%;
}
#intro .video iframe{
  position:absolute;
  top:0;
  right:0;
  width:100%;
  height:100%;
}
#contentsBody #intro p{
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-align: center!important;
  line-height: 2;
}
#intro .member{
  margin-top: 40px;
}
#intro .member img{
  margin: 0 auto;
}

/*kyoten*/
#contentsBody .photoMM{
  margin-top: 40px;
}
#contentsBody .photoKiyomizu{
  margin-top: 60px;
}
#contentsBody .kyotenWrap{
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
#contentsBody .kyotenWrap h3{
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 0 10px 8px;
  line-height: 1.4;
  border-bottom: solid 2px rgba(35,25,20,1);
}
#contentsBody .kyotenWrap h3 span{
  font-size: 16px;
}
#contentsBody .kyotenWrap+.kyotenWrap{
  margin-top: 40px;
}
#contentsBody .kyotenWrap .col{
  width:56%;
}
#contentsBody .kyotenWrap .colMap{
  width: 40%;
}
#contentsBody .kyotenWrap .col table{
  width: 100%;
}
#contentsBody .kyotenWrap .col th{
  white-space: nowrap;
  padding: 15px 15px 15px 5px;
}
#contentsBody .kyotenWrap .col th,
#contentsBody .kyotenWrap .col td{
  border-bottom: dotted 1px rgba(35,25,20,.1);
}
#contentsBody .kyotenWrap .col tbody tr:last-child th,
#contentsBody .kyotenWrap .col tbody tr:last-child td{
  border-bottom:none;
}
#contentsBody .kyotenWrap .col td{
  padding: 15px 5px 15px 0;
}
#contentsBody .kyotenWrap .col td .caption{
  font-size: 13px;
  text-indent: -1em;
  margin-left: 1em;
}
#contentsBody .kyotenWrap .map {
  height: 0;
  overflow: hidden;
  padding-bottom: 85%;
  position: relative;
}
#contentsBody .kyotenWrap .map iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
}

/*btm*/
#contentsBody .btmContents{
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}
#contentsBody .btmContents .col{
  width: 48%;
}
#contentsBody p+.kouenList{
  margin-top: 10px;
}
#contentsBody .kouenList{
  display: flex;
  flex-wrap: wrap;
}
#contentsBody .kouenList li{
  margin-right: 15px;
  margin-bottom: 5px;
}
#contentsBody .kouenList li::first-letter{
  font-size: 13px;
  color: #732c0c;
}

.photoArea{
  background: url("../img/photo.jpg")no-repeat center center;
  background-size: cover;
  height: 480px;
  margin-top: 60px;
}


/* PC Styles
======================================== */
@media screen and (min-width: 1081px) {
  
}

/* Tablet Styles
======================================== */
@media screen and (min-width:601px) and (max-width:1080px) {
  
}
@media screen and (max-width:1080px) {
  #intro .member{
    width: 95%;
    margin: 40px auto 0;
  }
}

/* Mobile Styles
======================================== */
@media screen and (max-width: 600px) {
  #contents #mainArea{
    height: 280px;
  }
  
  /*contentsBody*/
  #contents #contentsBody {
    margin-top: 40px;
  }
  #contents .section+.section{
    margin-top: 40px;
  }
  #contentsBody .wrap{
    padding: 20px 8px 0;
  }
  #contentsBody h2{
    font-size: 18px;
    padding: 5px 10px 5px 10px;
    background: #732c0c;
    color: #e9e8da;
    border-radius: 5px;
  }
  
  /*intro*/
  #intro p br{
    display: none;
  }
  #contentsBody #intro p{
    font-size: 16px;
    text-align: left!important;
    line-height: 1.8;
  }
  #intro .videoWrapper{
    margin: 20px auto 0;
  }
  #intro .member{
    width: 95%;
    margin: 30px auto 0;
  }
  
  /*kyotenWrap*/
  #contentsBody .kyotenWrap{
    flex-direction: column;
    margin-top: 20px;
  }
  #contentsBody .kyotenWrap h3{
    font-size: 20px;
    padding: 5px 5px 8px;
    line-height: 1.4;
  }
  #contentsBody .kyotenWrap h3 span{
    font-size: 15px;
  }
  #contentsBody .kyotenWrap+.kyotenWrap{
    margin-top: 40px;
  }
  #contentsBody .kyotenWrap .col,
  #contentsBody .kyotenWrap .colMap{
    width: 100%;
  }
  #contentsBody .kyotenWrap .col+.colMap{
    margin-top: 20px;
  }
  #contentsBody .kyotenWrap .col th{
    white-space: nowrap;
    display: block;
    width: 100%;
    padding: 10px 5px 0 5px;
    font-weight: bold;
  }
  #contentsBody .kyotenWrap .col th{
     border-bottom:none;
  }
  #contentsBody .kyotenWrap .col td{
    display: block;
    width: 100%;
  }
  #contentsBody .kyotenWrap .col td{
    padding: 0 5px 10px 5px;
  }
  #contentsBody .kyotenWrap .map {
    padding-bottom: 60%;
  }
  
  
  /*btm*/
  #contentsBody .btmContents{
    flex-direction: column;
    margin-top: 40px;
  }
  #contentsBody .btmContents .col{
    width: 100%;
  }
  #contentsBody .btmContents .col+.col{
    margin-top: 40px;
  }
  #contentsBody p+.kouenList{
    margin-top: 10px;
  }
  #contentsBody .kouenList{
    display: flex;
    flex-wrap: wrap;
  }
  #contentsBody .kouenList li{
    margin-right: 15px;
    margin-bottom: 5px;
  }
  #contentsBody .kouenList li::first-letter{
    font-size: 13px;
    color: #732c0c;
  }

  .photoArea{
    height: 250px;
    margin-top: 40px;
  }
}