@charset "utf-8";
/*---------- TOP -----------*/
header {
border-bottom: 1px solid #eee;}
/***** mi *****/
#mi_add {
  padding: 0 6px;
  margin-right: 6px;
}
#mi_box {
  padding: 10px 75px 10px 30px;
  border: 2px solid #e14b5a;
  background: #ffffff;
  width: fit-content;
}
#mi_box li:nth-child(2) {
  position: absolute;
  top: calc(50% - 60px);
  right: -60px;
}
#mi_bln {
  width: 126px;
}
#nav {background: #f5f5f5;}
/***** campaign *****/
.campaign {
  background: url(../img/campaign/bg_pc.webp) no-repeat center top;
}
.campaign_icon {
  position: absolute;
}
.lead_txt {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.lead_txt::before, .lead_txt::after {
  content: "";
  display: block;
  width: 1px;
  height: 30px;
  background: #444444;
  margin: 0 10px;
}
.lead_txt::before {
  transform: rotate(-30deg);
}
.lead_txt::after {
  transform: rotate(30deg);
}
.lead_txt.white::before, .lead_txt.white::after {
  background: #ffffff;
}

@media screen and (min-width: 481px) {
  #h_logo img {width: 363px;}
  #mi {
    background: url(../img/mi/bg_pc.jpg) no-repeat center top;
    height: 476px;
  }
  #mi_ttl02 {
    width: 78px;
    position: absolute;
    top: 66px;
    right: 50px;
  }
  .campaign_icon {
    width: 104px;
    top: -18px;
    left: 70px;
  }
}
@media screen and (max-width:480px) {
  #h_logo img {width: 268px;}
  /*---------- TOP -----------*/
  #mi {background: url(../img/mi/bg_sp.jpg) no-repeat center bottom; background-size: cover;}
  #mi .box {
    padding-top: 15px;
    min-height: 555px;
  }
  #mi h1 {font-size: 2.1rem;}
  #mi h1 strong {font-size: 4.5rem;}
  #mi h2 {
    font-size: 7.2rem;
    margin-bottom: 1rem;
  }
  #mi h3 {
    margin-bottom: 173px;
  }
  #mi_box li:nth-child(2) {
    width: 120px;
  }
  #mi_box {
    padding: 10px 75px 10px 20px;
    width: calc(100% - 60px);
  }
  #mi_box li:nth-child(2) {
    right: -45px;
  }
  
  #nav_box li {
    width: calc(50% - 2.5px);
    margin-bottom: 5px;
  }
  #nav_box li:nth-child(n+3) {
    margin-bottom: 0;
  }
  .campaign {
    background-size: cover;
    background-position: center top;
  }
  .campaign .m_box.pt45 {padding-top: 30px;}
  .campaign_box {margin-bottom: 15px;}
  .campaign_icon {
    width: 16%;
    top: -11px;
    left: 3%;
  }
  .lead_txt {font-size: 2.1rem;}
  #floating {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 101;
    background: #ffffffd9;
  }
  #floating .box {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media screen and (max-width:430px) {
  #mi {
    background: url(../img/mi/bg_sp.jpg) no-repeat center -90px;
    background-size: cover;
  }
  #mi h3 {
    margin-bottom: 185px;
    font-size: 2.6rem;
  }
}

@media screen and (max-width:429px) {
  #h_logo img {width: 268px;}
  /*---------- TOP -----------*/
  #mi {background: url(../img/mi/bg_sp.jpg) no-repeat center bottom; background-size: cover;}
  #mi .box {
    min-height: 580px;
  }
  #mi h3 {
    margin-bottom: 185px;
    font-size: 2.5rem;
  }
}
@media screen and (max-width:415px) {
  #mi .box {
    min-height: 570px;
  }
  #mi h3 {
    font-size: 2.4rem;
  }
}
@media screen and (max-width:390px) {
  #mi .box {min-height: 550px;}

  #mi h3 {
    font-size: 2.4rem;
    margin-bottom: 173px;
  }
  #mi_box {
    padding: 10px 50px 10px 20px;
    width: calc(100% - 50px);
  }
  #mi_box li:nth-child(2) {
    top: calc(50% - 52px);
    right: -60px;
  }
  #mi_bln {
    width: 110px;
  }
}
@media screen and (max-width:375px) {
  
  #mi {
    background: url(../img/mi/bg_sp.jpg) no-repeat center bottom;
    background-size: cover;
  }
  #mi h3 {
    font-size: 2.3rem;
}
}
@media screen and (max-width:360px) {
  #mi {
    background: url(../img/mi/bg_sp.jpg) no-repeat center bottom;
    background-size: cover;
  }
  #mi h3 {
    font-size: 2.2rem;
}
}