@charset "UTF-8";
/* window-width LessThan 640px */

@media screen and (max-width: 800px) {
  .first-img {
    background: url(../images/750-1400.jpg) center center no-repeat;
    background-size: cover;
  }

  nav {
    height: calc(100% - 40px);
  }
  .navigation li {
    font-size: 3.6vw;
  }
  [id^="hpbag"] h3 {
    font-size: 4vw;
    margin: 20px 0;
  }
  [id^="hpbag"]>div {
    min-height: 96%;
  }
  .hb_content01, .hb_content02 {
    width: 100%;
  }
  .hb_content01 img {
    width: 60%;
  }
  .hb_content02 ul {
    font-size: 3.5vw;
    min-width: auto;
    max-width: 100%;
    width: auto;
    margin: 10px 0;
    padding-right: 1em;
    padding-left: 1.8em;
  }
  .hb_content02 li {
    margin-top: 6px;
  }
  .hb_content02 dl {
    font-size: 3.4vw;
    margin-top: 16px;
  }
  .hb_content02 dl:nth-child(3) {
    font-size: 5vw;
    margin-top: 10px;
  }
  .hb_button {
    font-size: 3.2vw;
    margin-top: 16px;
    padding: 0;
  }

  .hb_button a {
    display: inline-block;
    padding: 0.5em 0;
    width: 100%;
  }

  .close_button {
    font-size: 10px;
    top: 0;
    right: -14px;
    padding: 20px 5px 0;
    border-radius: 0;
  }
  .close_button::before, .close_button::after {
    width: 20px;
    height: 1px;
  }
  .close_button::before {
    bottom: 8px;
    left: 2px;
  }
  .close_button::after {
    bottom: 19px;
    left: 2px;
  }
  [id^="hpbag"] .hb_content01::before {
    content: "";
    /* display: none; */ /* yahoo!広告出稿の場合は、割引率非表示 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: absolute;
    top: -20px;
    left: 10px;
    width: 75px;
    height: 75px;
    background: #f00;
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
  }
  .hbprev, .hbnext {
    font-size: 12px;
    padding: 10px 5px;
  }
  .hbprev::before {
    left: calc(-3em - -5px);
    display: inline-block;
    border: solid 15px #b23f2c;
    border-top: solid transparent 15px;
    border-bottom: solid 15px transparent;
    border-left: solid 15px transparent;
  }
  .hbnext::after {
    right: calc(-3em - -5px);
    display: inline-block;
    border: solid 15px #b23f2c;
    border-top: solid transparent 15px;
    border-bottom: solid 15px transparent;
    border-right: solid 15px transparent;
  }
  .all_show div, .all_close div {
    font-size: 12px;
    position: relative;
    width: 61%;
    margin: 5px auto;
    padding: 8px 0;
    cursor: pointer;
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    text-align: center;
    color: #c93920;
    border: solid 1px;
    background: #fff;
    z-index: 1;
  }
  .all_show:hover div, .all_close:hover div {
    width: 33.333%;
    padding: 8px 0;
    color: #fff;
    background: #c93920;
    /* border-bottom: solid 6px #c93920; */
  }
}
