#header {
  position: relative;
}

/*背景*/
.header-Mar_Apr2025-view-BK {
  /*最背面*/
  background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/bg.png);
  background-size: cover;
  overflow: hidden;
  position: absolute;
  width: 100%;
  height: 124px;
  top: 30px;
  z-index: 0;
}
/**********************************************************/
/*左側*/
.header-Mar_Apr2025-view01 {
  /*左1番目*/
  background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left1.png);
  background-size: 100%;
  position: absolute;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 360px;
  height: 105px;
  left: 10px;
  top: 0px;
  z-index: 4;
}

.header-Mar_Apr2025-view02 {
  /*左2番目*/
  display: none;
  background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left2.png);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom;
  position: absolute;
  width: 515px;
  height: 125px;
  left: 0;
  bottom: 0;
  z-index: 3;
}

.header-Mar_Apr2025-view03 {
  /*左3番目*/
  display: none;
  background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left3.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  position: absolute;
  width: 502px;
  height: 183px;
  left: 0px;
  bottom: 0;
  z-index: 2;
}

.header-Mar_Apr2025-view04 {
  /*左4番目*/
  /*background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left4.png);*/
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  height: 125px;
  width: 200px;
  top: -23px;
  left: 5vw;
  z-index: 1;
}
/**********************************************************/

/*中央*/
.header-Mar_Apr2025-view05 {
  /*b*/
  /*display: none;*/
  background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/center.png);
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  width: 95px;
  height: 95px;
  left: 50%;
  bottom: 10px;
}
/**********************************************************/

/*右側*/
.header-Mar_Apr2025-view06 {
  /*右1番目*/
  display: none;
  background: url(https://kobayashi-naika-clinic.com/images/head/2025/12/right1.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  width: 155px;
  height: 90px;
  right: 5px;
  bottom: 0;
  z-index: 4;
}

.header-Mar_Apr2025-view07 {
  /*右2番目*/
  background: url(https://kobayashi-naika-clinic.com/images/head/2025/12/right2.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  width: 380px;
  height: 125px;
  right: 10px;
  top: -15px;
  z-index: 3;
  background-position: bottom;
}

.header-Mar_Apr2025-view08 {
  /*右3番目*/
  display: none;
  background: url(https://kobayashi-naika-clinic.com/images/head/2025/12/right3.png);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  width: 305px;
  height: 125px;
  right: 0;
  bottom: 0;
  z-index: 2;
}

.header-Mar_Apr2025-view09 {
  /*右4番目*/
  background: url(https://kobayashi-naika-clinic.com/images/head/2025/12/right4.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: bottom;
  position: absolute;
  width: 40px;
  height: 34px;
  right: 105px;
  top: 5px;
  z-index: 1;
}
/**********************************************************/
/*Pepper*/
#key_papper .peppar {
  position: absolute;
  left: 115px;
  bottom: 25px;
  z-index: 1000;
  height: 180px;
}
#key_papper .peppar img {
  display: block;
  width: 100%;
  height: auto;
}
#key_papper .peppar_fuki {
  left: 10px;
}

/*中央画像*/
#main_contents .paragraph.middle {
  /*2025.10投稿のご要望によりindexへ直接入力*/
  /*background: url(https://kobayashi-naika-clinic.com/images/head/2025/10/middle.png);*/
  background-repeat: no-repeat;
  background-position: right top 247px;
}

/**********************************************************/
/*2025/10依頼*/
.special {
  margin-top: 1em;
  width: 376px;
}
.special dl {
  width: 100%;
  margin-top: 1em;
}

/* --- レスポンシブ切替 Tablet--- */
@media screen and (min-width: 481px) and (max-width: 768px) {
  .header-Mar_Apr2025-view-BK {
    background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/bg_tab.png);
  }
  .header-Mar_Apr2025-view01 {
    display: block;
    background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left2_tab.png);
    width: 40px;
    height: 100%;
    left: 9.7%;
    top: -14px;
  }
  .header-Mar_Apr2025-view02 {
    display: block;
    background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/left3_tab.png);
    width: 23px;
    left: 55.2%;
    top: 19px;
    height: 70px;
  }
  .header-Mar_Apr2025-view03 {
    display: none;
  }
  .header-Mar_Apr2025-view04 {
    display: none;
  }
  .header-Mar_Apr2025-view05 {
    display: block;
    left: 52%;
  }
  .header-Mar_Apr2025-view06 {
    background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/right1_tab.png);
    display: block;
    bottom: 0;
    width: 345px;
    right: -8px;
  }
  .header-Mar_Apr2025-view07 {
    display: none;
  }
  .header-Mar_Apr2025-view08 {
    display: none;
  }
  .header-Mar_Apr2025-view09 {
    display: none;
  }
}

/* --- レスポンシブ切替 Mobile--- */
@media screen and (max-width: 480px) {
  /*最背面*/
  .header-Mar_Apr2025-view-BK {
    /*B*/
    /*b*/
    background-image: url(https://kobayashi-naika-clinic.com/images/head/2025/12/bg_mob.png);
    background-size: cover;
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 124px;
    top: 30px;
  }
  /**********************************************************/
  .header-Mar_Apr2025-view01 {
    /*左1番目*/
    display: none;
    left: 11px;
    width: 9vw;
    height: 14vw;
  }
  .header-Mar_Apr2025-view02 {
    /*左2番目*/
    display: none;
    width: 8vw;
    top: -117px;
    left: -13px;
  }
  .header-Mar_Apr2025-view03 {
    /*左3番目*/
    display: none;
    height: 104px;
    width: 82vw;
    top: unset;
    bottom: 0;
    left: -12vw !important;
  }
  .header-Mar_Apr2025-view04 {
    /*左4番目*/
    display: none;
    width: 260px;
  }
  /**********************************************************/
  .header-Mar_Apr2025-view05 {
    /*中央*/
    display: none;
  }
  /**********************************************************/
  .header-Mar_Apr2025-view06 {
    /*右1番目*/
    display: none;
    background-repeat: no-repeat;
    width: 100px;
    bottom: -28px;
    right: 5px;
  }
  .header-Mar_Apr2025-view07 {
    /*右2番目*/
    display: none;
    right: 67px;
    width: 80px;
    top: -77px;
  }
  .header-Mar_Apr2025-view08 {
    /*右3番目*/
    display: none;
    right: -69px;
    width: 48%;
  }
  .header-Mar_Apr2025-view09 {
    /*右4番目*/
    display: none;
    width: 135px;
    bottom: -43px;
    right: -49px;
  }
  /**********************************************************/
  /*PEPPER*/
  #key_papper .peppar {
    right: 40px !important;
    left: auto;
    bottom: 34px;
  }
  #key_papper .peppar img {
    width: auto !important;
    height: 240px;
  }
  #key_papper .peppar_fuki {
    left: auto;
    right: 140px;
    bottom: 119px;
  }

  #main_contents .paragraph.middle {
    padding-bottom: 50px;
    /*background: url(https://kobayashi-naika-clinic.com/images/head/2025/09/middle.png) !important;*/
    background-position: right 10px bottom 30px !important;
    background-repeat: no-repeat !important;
    background-size: 100% !important;
  }

  .special {
    width: 95%;
    margin: auto;
  }
}
