@charset "utf-8";
/* casephotos */
.Page h4 {
  padding: 0;
  margin: 16px 10px 0;
}
.Page h4 a, .Page h4 a:link, .Page h4 a:visited {
  font-weight: 600;
  font-size: 90%;
}
.Page h5 {
  padding: 0px 15px;
  font-size: 80%;
  font-weight: 400;
}
.Page h5 span {
  display: block;
  background: #97bbd3;
  color: #fff;
  font-weight: 400;
  padding: 10px 20px;
  margin: 0 20px 5px 0;
  border-radius: 20px;
  width: 160px;
  text-align: center;
}
.Page .box {
  width: 100%;
}
.Page .tab {
  list-style: none;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.Page .tab li {
    margin: 0 3px 5px 0;
    background: #efefef;
    list-style-type: none;
}
.Page .tab li.current {
  background: #265280;
}
.Page .tab li a {
  display: block;
  padding: 5px 7px;
  color: #333;
  text-decoration: none;
  text-align: center;
  line-height: 1.4em;
}
.Page .tab li.current a {
  color: #fff;
}
.Page .tabContents {
  clear: both;
  display: none;
  padding: 10px;
}
.Page .tabContents.current {
  display: block;
}
.Page .flexBox2 ul {
  display: flex;
  flex-wrap: wrap;
}
.Page .flexBox2 > ul > li {
  width: calc(100% / 2 - 40px);
  background: #e8f0f9;
  margin: 5px;
  border-bottom: 2px solid #8fa7bb;
  border-right: 2px solid #c9dbe7;
  position: relative;
}
#S02 .detailBox {
  padding: 20px;
}
#S02 .detailBox .leftBox {}
#S02 .detailBox .leftBox img {
  height: 180px;
}
#S02 .detailBox .rightBox {
  width: 280px;
}
#S02 .detailBox .rightBox p {
  margin: 0 0 68px;
}
.Page .flexBox2 > ul > li .btnBox02 {
  margin: 0 auto 20px;
  position: absolute;
  width: 450px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
}
/* mobile */
@media screen and (max-width: 1024px) {

.Page .tab {
justify-content: flex-start;
}
.Page .tab li {
    width: 22.4%;
}
  .Page .flexBox2 > ul > li .btnBox02 {
    width: 80%;
  }
  #S02 .detailBox .leftBox img {
    height: auto;
  }
}
@media screen and (max-width:1000px) {
  .detailBox {
    flex-wrap: wrap;
    justify-content: center;
  }
  .Page h4 {
    height: 54px;
  }
  .Page h5 span {
    width: auto;
    margin: 10px auto;
  }
}
/*----------------------------------------------------------- 768px  */
@media screen and (max-width: 768px) {
.Page .contentsDetail {
    padding: 0 0 30px;
}
.Page h2 {
    text-align: left;
}
  .Page .tab {
    list-style: none;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
  }
  .Page .tab li {
    width: calc(100% / 2 - 30px);
    margin: 5px;
  }
  .Page h5 span {
    width: 80%;
  }
  .Page h4 {
    height: auto;
  }
}
/*----------------------------------------------------------- 700px  */
@media screen and (max-width: 700px) {
  .Page .flexBox2 > ul > li {
    width: 100%;
    margin: 5px 0;
  }
  #S02 .detailBox .rightBox {
    width: 100%;
    margin: 5px 0;
  }
  .Page .flexBox2 ul {
    width: auto;
  }
}
/*-----------------------------------------------------------  smartphone */
@media screen and (max-width: 480px) {
  h4.wpsm_panel-title {}
  #S02 .detailBox {
    padding: 20px 0;
  }
  .Page .tabContents {
    padding: 0px;
  }
}