  @charset "UTF-8";

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■COMMON
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#main_cont .bread {
  z-index: 5;
  position: relative;
}
#main_cont .bread li{
  color:#fff;
}
#main_sec{
  background-color:#7ec1db;
  margin-top: -150px;
}
@media only screen and (max-width: 767px) {
  #main_cont{
    padding-top:0;
  }
  #main_sec{
    margin-top: 0px;
  }
  }
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
　■トップ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#main_vs{
  width:100%;
  height:862px;
  background:url(/wp/wp-content/themes/ouhs_main/assets/img/4advantages/main.jpg) no-repeat center bottom;
  background-size:cover;
  text-align:center;
  padding:90px 0 0 0;
}
#main_vs h1{
  margin-bottom: 60px;
}
#main_vs p{
  color:#fff;
  font-size:2.0rem;
  line-height:2.1;
  font-weight: bold;
  letter-spacing:0.1em;
  font-feature-settings:"palt";
  text-shadow:0 0 2px rgba(0,0,0,0.5);
}
@media only screen and (max-width: 767px) {
  #main_vs{
    background-position:center top;
    height:450px;
    padding-top:60px;
  }
  #main_vs h1{
    margin-bottom:20px;
  }
  #main_vs img{
    width:85%;
    max-width:320px;
  }
  #main_vs p{
    font-size:1.3rem;
  }
}

.ad_block{
  position: relative;
  width:100%;
  background-color: #7ec1db;
  padding: 220px 0 25px;
  transform: skew(0deg, -7deg);
  margin: -100px 0 0 0;
  color:#fff;
}
#ad02,#ad04{
  background-color: #6ab5d2;
}

.ad_block .innerWrap{
  position:relative;
  z-index:100;

  max-width:1200px;
  transform: skew(0deg, 7deg);
  /*ぼやけ対策*/
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}
.ad_bottom{z-index:6;}
#ad01{z-index:5;}
#ad02{z-index:4;}
#ad03{z-index:3;}
#ad04{z-index:2;}

@media only screen and (max-width: 767px) {
  .ad_block{
    padding: 150px 0 0px;
    color:#fff;
  }
  .ad_block .innerWrap{
    position:relative;
  }
  .ad_block .innerWrap{
    padding-left:25px !important;
    padding-right:25px !important;
  }
}

/* 共通 */
.flex{
  width:100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  flex-wrap:wrap;
}
.flex .img_box,
.flex .txt_box{
  width:48%;
}
.flex .img_box img{
  width:100%;
}
@media only screen and (max-width: 767px) {
  .flex{
    display: block;
  }
  .flex .img_box,
  .flex .txt_box{
    width:100%;
  }

}

/* ad_block内 */
.ad_block .hd{
  border-bottom:8px solid #fff;
  margin-bottom:60px;
  position: relative;
}
.ad_block .content{
  max-width:1000px;
  margin:0 auto;
}
@media only screen and (max-width: 767px) {
  .ad_block .hd{
    border-bottom:4px solid #fff;
    margin-bottom:26px;
  }
  .ad_block .content{

  }

}

/* デフォルト */
.ad_block .hd div{
  display: flex;
}
.ad_block .hd div::after {
  content:'';
  color: rgba(255,255,255,0.3);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 16rem;
  font-style: italic;
  font-weight: 600;
  line-height: 0.6;
  letter-spacing: 0.03em;
  position: absolute;
  left: 0;
  bottom: 6px;
}
#ad01.ad_block .hd div::after {content: '01';}
#ad02.ad_block .hd div::after {content: '02';}
#ad03.ad_block .hd div::after {content: '03';}
#ad04.ad_block .hd div::after {content: '04';}

.ad_block .hd .adttl {
  font-size: 24px;
  line-height: 1;
  font-weight: 300;
  letter-spacing: 0.025em;
  padding: 10px 22px 0;
}
.ad_block .hd .adttl strong {
  font-size: 200%;
  font-weight: 300;
}
.ad_block .hd .adttl span{
  display: block;
}
.ad_block .hd .adjp {
  font-size: 4.8rem;
  font-weight: bold;
  padding: 7px 10px;
}
.ad_block .hd .aden {
  font-size: 10.8rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.025em;
  position:absolute;
  right:-6px;
  bottom:-16px;
}

@media only screen and (max-width: 767px) {
 
  .ad_block .hd div{
    display: block;
    text-align: center;
  }
  .ad_block .hd div::after {
    font-size: 10rem;
    left: calc(50% - 5rem);
    top: 0;
  }
  .ad_block .hd .adttl {
    font-size: 12px;
    padding: 0 22px;
  }
  .ad_block .hd .adttl strong {
  }
  .ad_block .hd .adttl span{
    display: inline;
  }
  .ad_block .hd .adjp {
    font-size: 3.2rem;
    font-weight: bold;
    line-height:1.5;
    padding: 0;
    margin-bottom:10px;
  }
  .ad_block .hd .aden {
    font-size: 13vw;
    line-height:0.7;
    position: relative;
    text-align:center;
    right:auto;
    bottom:auto;
  }
}

.ad_block .copy{
  font-size:3.4rem;
  font-weight: bold;
  line-height: 1.6;
  font-feature-settings: "palt";
  letter-spacing:0.025em;
  margin-bottom:50px;
}
.ad_block .txt{
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.9;
  margin-bottom:50px;
  text-align: justify;
}
.ad_block .btn{
  max-width:350px;
  font-size:1.6rem;
  font-weight: bold;
  text-align: center;
}
.ad_block .btn a{
  display: block;
  color:#fff;
  background-color:#234585;
  box-shadow:4px 4px 0 rgba(0,0,0,0.1);
  width:100%;
  padding:15px 15px;
}
.ad_block .note{
  font-size:1.3rem;
  font-weight: normal;
  margin-bottom:40px;
}
.ad_block .caption{
  font-size:1.4rem;
  font-weight: bold;
}

@media only screen and (max-width: 767px) {
  .ad_block .copy{
    font-size:1.8rem;
    line-height: 1.7;
    margin-bottom:25px;
  }
  .ad_block .txt{
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom:25px;
  }
  .ad_block .btn{
    max-width:250px;
    margin:0 auto;
    font-size:1.4rem;
  }
  .ad_block .btn a{
    width:100%;
  }
  .ad_block .note{
    font-size:1.1rem;
    margin-bottom:25px;
  }
  .ad_block .caption{
    font-size:0.9rem;
  }
}


/* 各ブロック指定 */
#ad01.ad_block{
  padding-top:130px;
  margin-top:-160px;
}
#ad01 .copy{
  text-align: center;
}
#ad01 .img01{
  margin-bottom:50px;
}
#ad01 .img01 img{
  width:100%;
}
#ad01 .img_box{
  width:58.2%;
}
#ad01 .txt_box{
  width:36%;
}
@media only screen and (max-width: 767px) {
  #ad01.ad_block {
    margin-top:-30px;
    padding-top:50px;
  }
  #ad01 .copy{
    text-align: left;
  }
  #ad01 .img01{
    width:auto;
    margin:0 -25px 25px;
  }
  #ad01 .img_box{
    width:100%;
    max-width:291px;
    margin:0 auto 20px;
  }
  #ad01 .txt_box{
    width:100%;
  }
}

#ad02{
  padding-bottom:15px;
}
#ad02 div.flex{
  margin-bottom:32px;
}
#ad02 .img_box{
  width:33.6%;
  height: auto;
}
#ad02 .txt_box{
  width:63%;
}
#ad02 ul{
  flex-direction: row;
  padding:0 11px;
}
#ad02 ul li{
  width:27%;
  margin:0 0 48px 0;
  position: relative;
}
#ad02 ul li::after{
  content:'';
  width:1px;
  height:240px;
  background-color:#b5dae9;
  position:absolute;
  right:-48px;
}
#ad02 ul li:nth-child(3n)::after{
   content:none;
}
#ad02 ul li img{
  width:100%;
}
#ad02 .btn{
  max-width:412px;
  margin:0 auto;
}
@media only screen and (max-width: 767px) {
  #ad02 div.flex{
    margin-bottom:16px;
  }
  #ad02 .img_box{
    width:70%;
    margin:0 auto 20px;
  }
  #ad02 .txt_box{
    width:100%;
  }
  #ad02 ul{
    display: flex;
    padding:0;
  }
  #ad02 ul li{
    width:42%;
    margin:0 0 24px 0;
  }
  #ad02 ul li::after{
    content:'';
    width:1px;
    height:125px;
    background-color:#b5dae9;
    position:absolute;
    right:-27px;
  }
  #ad02 ul li:nth-child(2n)::after{
    content:none;
  }
  #ad02 ul li:nth-child(3n)::after{
     content:'';
  }
  #ad02 ul li img{
    width:100%;
  }
  #ad02 .btn{
    max-width: 250px;
  }
}
#ad03{
  padding-bottom:90px;
}
#ad03 .txt_box{
  width:44%;
}
#ad03 .img_box{
  margin: 0 -100px;
  width: auto;
}
#ad03 .img_box img{
  margin-bottom:10px;
}
@media only screen and (max-width: 767px) {
  #ad03{
    padding-bottom:30px;
  }
  #ad03 .txt_box{
    width:100%;
  }
  #ad03 .img_box{
    margin: 0 0 25px 0;
  }
  #ad03 .img_box img{
  }
}

#ad04.ad_block{
  padding-bottom:240px;
}
#ad04 .flex{
  flex-direction: row;
}
#ad04 .img_box{
  margin: 0 -100px;
  width: auto;
}
#ad04 .copy{
  margin-bottom:32px;
}
@media only screen and (max-width: 767px) {
  #ad04.ad_block{
    padding-bottom:100px;
  }
  #ad04 .img_box{
    margin: 0 0 25px 0;
    width: 100%;
  }
  #ad04 .copy{
    margin-bottom:15px;
  }
}

.ad_bottom{
  height:350px;
  background:url(/wp/wp-content/themes/ouhs_main/assets/img/4advantages/bottom_img.jpg) no-repeat left top;
  background-size: cover;
  background-attachment:fixed;
  position: relative;
  margin-top:-140px;
}
.ad_bottom img{
  position:absolute;
  left:calc(50% - 500px);
  bottom:38px;
  width:220px;
  height: auto;
}

@media only screen and (max-width: 767px) {
  .ad_bottom{
    width:100%;
    height:200px;
    margin-top:-50px;
    background-attachment:local;
    background-size:600px auto;
    background-position:center center;
  }
  .ad_bottom img{
    left:25px;
    bottom:22px;
    width:150px;
  }  
}