#header .topbox .rightbox {
  display: none !important;
}

@media all and (max-width: 768px) {
  .contactbox {
    height: auto !important;
  }
  .contactbox a {
    height: auto !important;
  }
  #header {
    width: auto;
    background: white;
  }
  #header .topbox {
    height: auto;
  }
  #header .topbox h1 {
    font-size: 11px;
    line-height: 1.5;
    float: none;
    margin-left: 10px;
    margin-top: 5px;
  }
  #header .topbox .rightbox {
    display: block;
    float: none;
    line-height: 1.5;
    margin: 10px 0;
  }
  #header .bottombox {
    margin: 10px 0 0px 0;
    height: auto;
    text-align: center;
  }
  #header .bottombox .telbox {
    font-size: 14px;
    bottom: 30px;
    float: none;
    position: static;
    margin: 5px 0;
  }
  #header .bottombox .logobox {
    width: 270px;
    height: auto;
    float: none;
    margin: auto;
  }
  #header_wrap {
    min-width: unset;
  }
  #wrapper {
    width: auto;
  }
  #mainImg {
    width: 100%;
    height: auto;
    padding-bottom: 80px;
    background-size: contain;
    margin: 0;
    background: none;
  }
  #mainImg img {
    width: 45%;
    max-width: 190px;
  }
  #mainImg img.mainBtn {
    top: auto;
    height: auto;
    max-width: 40%;
    left: 20px;
    right: 0;
    margin: 0;
    bottom: 40%;
  }
  #mainImg img.mainBtnMail {
    top: auto;
    height: auto;
    max-width: 40%;
    left: 20px;
    right: 0;
    margin: 0;
    bottom: 30%;
  }
  #mainImg h2.mainCopy {
    position: static;
  }
  #mainImg h2.mainCopy img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  fieldset, img {
    width: auto;
    max-width: 100%;
    height: auto;
  }
  div.allBtn a {
    background-size: contain;
    background-repeat: no-repeat;
    width: auto;
    height: 81px;
    background-position: center !important;
    background-image: url(../img/btn_all_sp.png);
  }
  div.allBtn a:hover {
    background-position: 0 0px;
  }
  p.pagetop {
    width: auto;
    margin: 5px 10px 20px 0;
  }
  .lp-box {
    padding: 0px 20px 0px 20px;
    width: auto;
    background-size: contain;
    margin: 0 12px 0 12px;
  }
  .lp-box p {
    width: auto !important;
    line-height: 1.7;
  }
  .lp-box ul.gList {
    width: auto;
  }
  .lp-box2 {
    width: 100%;
    margin: 0 !important;
    box-sizing: border-box;
  }
  .lp-box ul.voiceList {
    width: auto;
  }
  .lp-box ul.voiceList li {
    float: none;
    width: auto;
    height: auto;
    margin-right: 0;
  }
  .lp-box ul.voiceList li img {
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
  }
  .mid-blue {
    line-height: 1.5 !important;
    padding-bottom: 10px;
    margin: 30px 0 10px;
  }
  .map {
    width: auto;
    height: auto;
  }
  .map iframe {
    width: 100%;
  }
  #footer_wrap {
    min-width: unset;
  }
  #footer_wrap #footer {
    width: auto;
  }
  #footer_wrap #footer #copyright {
    min-width: unset;
    text-align: center;
    line-height: 1.5;
    margin: 20px 0;
    border: none;
  }
  table.tabSpec td {
    background-position: center !important;
    background-size: contain !important;
  }
}

@media all and (max-width: 768px) {
  .c_img_1 {
    margin: 10px 0 !important;
  }
}

@media all and (max-width: 768px) {
  .c_img_2 {
    text-align: center;
    margin: 30px 0 0;
  }
}

.c_img_2_1 {
  text-align: center;
}

@media all and (min-width: 769px) {
  .c_img_2_1_1 {
    margin-top: -16px;
  }
}

@media all and (max-width: 768px) {
  .c_img_3 {
    margin: 20px 0;
  }
}

@media all and (min-width: 769px) {
  .fRight_PC {
    float: right;
  }
}

@media all and (max-width: 768px) {
  .fRight_PC {
    float: none;
    text-align: center;
  }
}

.c_pagenav {
  position: absolute;
}

@media all and (min-width: 769px) {
  .c_pagenav {
    width: 100%;
    left: 20px;
    bottom: 0;
  }
}

@media all and (max-width: 768px) {
  .c_pagenav {
    background: url(../img/main_bg_1.png);
    background-position: center;
    left: 0;
    width: 100%;
    bottom: 0px;
    text-align: center;
  }
}

.c_pagenav li {
  display: inline-block;
  position: relative;
  width: 152px;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  margin-right: -3px;
  vertical-align: top;
  background: white;
}

@media all and (max-width: 768px) {
  .c_pagenav li {
    width: 32.3%;
    font-size: 10px;
    margin-bottom: 13px;
  }
}

@media all and (min-width: 769px) {
  .c_pagenav li:hover {
    background: #ffa611;
  }
}

@media all and (min-width: 769px) and (min-width: 769px) {
  .c_pagenav li:hover:after {
    content: '';
    border-top: 10px solid #ffa611;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 0px;
  }
}

@media all and (min-width: 769px) {
  .c_pagenav li:hover a {
    color: white;
  }
}

.c_pagenav li:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #ffa611;
}

.c_pagenav li a {
  color: #252525;
  padding: 16px 0 12px;
  text-decoration: none;
  display: block;
  line-height: 1.5;
}

@media all and (max-width: 768px) {
  .c_pagenav li a {
    letter-spacing: -0.6px;
  }
}

@media all and (min-width: 769px) {
  .c_pagenav li {
    width: 182px;
  }
}

@media all and (max-width: 768px) {
  .c_pagenav li:nth-child(4) {
    width: 48.7%;
  }
}

@media all and (max-width: 768px) {
  .c_pagenav li:nth-child(5) {
    width: 48.7%;
  }
}

h2:not(.mainCopy) {
  background: url(../img/h2_back.png) no-repeat;
  background-size: cover;
  color: #1450a7;
  font-weight: bold;
}

@media all and (min-width: 769px) {
  h2:not(.mainCopy) {
    font-size: 32px;
    padding: 20px 0 28px 44px;
  }
}

@media all and (max-width: 768px) {
  h2:not(.mainCopy) {
    font-size: 24px;
    margin-right: 20px;
    padding: 32px 0 42px 60px;
    line-height: 1.2;
  }
}

h2:not(.mainCopy).book {
  position: relative;
}

h2:not(.mainCopy).book:after {
  content: '';
  background: url(../img/icon_hl_book.png) no-repeat;
  position: absolute;
  right: 10px;
  background-size: contain;
}

@media all and (min-width: 769px) {
  h2:not(.mainCopy).book:after {
    width: 130px;
    height: 120px;
    top: 0;
  }
}

@media all and (max-width: 768px) {
  h2:not(.mainCopy).book:after {
    width: 50px;
    height: 60px;
    top: 30%;
  }
}

h2:not(.mainCopy).human {
  position: relative;
}

h2:not(.mainCopy).human:after {
  content: '';
  background: url(../img/icon_hl_human.png) no-repeat;
  position: absolute;
  background-size: contain;
}

@media all and (min-width: 769px) {
  h2:not(.mainCopy).human:after {
    width: 150px;
    height: 120px;
    top: 4px;
    right: 36px;
  }
}

@media all and (max-width: 768px) {
  h2:not(.mainCopy).human:after {
    width: 130px;
    height: 90px;
    bottom: -6px;
    right: 10px;
  }
}

@media all and (-ms-high-contrast: none) {
  h2:not(.mainCopy) {
    padding-top: 32px;
    padding-bottom: 30px;
  }
}

@-moz-document url-prefix() {}h3 {
  background: url(../img/h3_back.png) no-repeat;
  background-size: cover;
  color: #1450a7;
  font-weight: bold;
  font-size: 20px;
  padding: 25px 0 30px 46px;
}

@media all and (min-width: 769px) {
  h3 {
    margin-right: 20px;
  }
}

@media all and (max-width: 768px) {
  h3 {
    margin-right: 20px;
  }
}

@media all and (-ms-high-contrast: none) {
  h3 {
    margin-right: 0;
  }
}

@media all and (max-width: 768px) {
  .u_MQ__for_PC {
    display: none !important;
  }
}

@media all and (min-width: 769px) {
  .u_MQ__for_SP {
    display: none !important;
  }
}
