@charset "utf-8";
/* TOP */
#visualPC {
  display: block;
}
#visualSP {
  display: none;
}
.btnBox {
  margin: 0;
}
#visualBox {
  position: relative;
  height: 580px;
  background-image: url("/wp-content/themes/original-child/assets/img/top/visual.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
}
#visualBox #visual {
  position: relative;
  width: 100%;
}
#visualBox #copy {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 156px;
  min-width: 106px;
}
#visualBox #copy .text {}
#visualBox #copy h2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
#mBox h2 {
  font-family: "Marcellus", serif;
  font-weight: 500;
  font-size: 220%;
}
#mBox p {
  font-size: 120%;
  font-weight: 500;
  line-height: 2em;
}
#bnrBox {}
#bnrBox ul {}
#bnrBox ul li {
  padding: 0 0 20px;
}
#infoBox {
  padding: 0 0 5%;
}
#infoBox .contentsDetail {
  border-bottom: 1px solid #ccc;
  padding: 0 0 30px;
}
#infoBox h2 {
  font-family: "Marcellus", serif;
  font-weight: 500;
  font-size: 220%;
  display: flex;
  align-items: center; /* 垂直方向の真ん中に線を配置 */
  text-align: center;
}
#infoBox h2::before, #infoBox h2::after {
  content: "";
  flex-grow: 1; /* 線を可能な限り伸ばす */
  height: 1px; /* 線の太さ */
  background: #ccc; /* 線の色 */
}
/* テキストと線の間の余白 */
#infoBox h2::before {
  margin-right: 20px;
}
#infoBox h2::after {
  margin-left: 20px;
}
#infoBox dl {
  max-width: 550px;
  margin: auto;
}
#infoBox dt {
  background: inherit;
  color: #333;
  width: auto;
}
#infoBox dd::before {
  content: "｜";
}
#infoBox dd {
  background: inherit;
  width: auto;
}
#top .detailBox {
  height: clamp(150px, 25vw, 370px);
  padding: 0;
}
#top .leftBox {
  width: 860px;
  min-width: 500px;
  position: relative;
}
#top .leftBox img {
  position: absolute;
  top: -40px;
  left: 0;
  box-shadow: 5px 3px 15px -5px #777777;
}
#top .rightBox {
  width: 440px;
  padding: 50px 30px 0 30px;
  display: flex;
  flex-flow: column;
  align-items: flex-start;
}
#S01, #S02, #S03, #S04 {
  margin: 0 0 8%;
}
#S01, #S03, #S05 {
  background: #edf4f9;
}
#S02, #S04 {
  background: #efefef;
}
#S01 .contentsDetail, #S02 .contentsDetail, #S03 .contentsDetail, #S04 .contentsDetail, #S05 .contentsDetail {
  max-width: 1980px;
}
#S02 .detailBox, #S04 .detailBox {
  flex-direction: row-reverse;
}
#top .rightBox h2 {
  font-size: 140%;
  text-align: left;
  padding: 0 0 30px;
  margin: 0;
}
#top .rightBox h2 span {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
#top .rightBox h2 span::before {
  display: inline-block;
  font-family: 'Material Icons';
  content: '\e837';
  color: #2fbdd2;
  font-size: 120%;
}
#top .rightBox h2 small {
  font-family: "Noto Serif", serif;
  font-size: 60%;
  display: block;
  color: #666;
  letter-spacing: 0;
  padding: 10px 0 0;
}
#top .rightBox p {
  text-align: left;
  font-weight: 600;
  padding: 0 0 5%;
}
/*----------------------------------------------------------- 1280px */
@media screen and (max-width: 1280px) {
#top .detailBox {
    height: auto;
    flex-flow: column;
    align-items: center;
    padding: 20px 20px 40px;
}
  #top .leftBox img {
    position: static;
    box-shadow: none;
  }
}
/*----------------------------------------------------------- 1024px */
@media screen and (max-width: 1024px) {
  #footer02 {
    padding: 50px 50px;
  }
#mBox h2 {
    font-size: 180%;
    padding: 0;
    margin: 3% 0 0;
}
#mBox p {
    font-size: 90%;
    line-height: 1.8em;
    padding: 10px 10px 20px;
}
  #top .leftBox {
    width: 100%;
    height: auto;
    min-width: inherit;
  }
  #top .rightBox h2 {
    font-size: 120%;
}
  #bnrBox {
    padding: 2%;
  }
}
/*----------------------------------------------------------- 840px */
@media screen and (max-width: 840px) {
  #visualPC {
    display: none;
  }
  #visualSP {
    display: block;
  }
  #top .rightBox {
    width: auto;
  }
  .btnBox {
    margin: auto;
}
}
/*----------------------------------------------------------- 640px */
@media screen and (max-width: 640px) {
#visualBox {
    height: 480px;
}
}
/*----------------------------------------------------------- 480px */
@media screen and (max-width: 480px) {
#infoBox dl {
    border-bottom: 1px dashed #ddd;
}
#infoBox dl:last-child {border-bottom: none;}

#infoBox dd::before {
    content: "";
}

}