.topimg-mo {
  display: none;
}

.topimg-pc {
  display: block;
}

.nav__mob {
  display: none;
}

.nav__sub {
  display: block;
}

.openbtn,
#g-nav {
  display: none;
}

.monologo_sdc,
.mo-top,
.mo-contact {
  display: none;
}

@media (max-width: 768px) {
  header {
    width: 100%;
    height: 70px;
    background: var(--main-color);
    position: fixed;
    top: 0;
    z-index: 996;
  }

  .navbar,
  .pc-top,
  .floating-banner {
    display: none;
  }

  .openbtn,
  #g-nav {
    display: block;
    z-index: 998;
  }

  .monologo_sdc {
    display: block;
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin: auto;
    max-width: 135px;
    z-index: 998;
  }

  .mo-contact {
    display: block;
    position: fixed;
    z-index: 998;
    top: 10px;
    left: 25px;
    max-width: 50px;
  }

  .mo-top {
    display: block;
    padding-top: 70px;
  }

  #g-nav {
    display: none;
    position: fixed;
    z-index: -1;
    opacity: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background: var(--main-color);
    transition: all 0.3s;
  }

  #g-nav.panelactive {
    display: block;
    opacity: 1;
    z-index: 997;
  }

  #g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 997;
    background: var(--main-color);
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  #g-nav ul {
    display: none;
    position: absolute;
    width: 24rem;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #g-nav.panelactive ul {
    display: block;
    padding-top: 3rem;
  }

  #g-nav p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 900;
  }

  #g-nav li {
    list-style: none;
    text-align: left;
    font-size: 1.2rem;
  }

  #g-nav li a {
    color: #fff;
    text-decoration: none;
    padding: 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
  }

  .openbtn {
    position: fixed;
    z-index: 998;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
  }

  .openbtn span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #fff;
    width: 45%;
  }

  .openbtn span:nth-of-type(1) {
    top: 15px;
  }

  .openbtn span:nth-of-type(2) {
    top: 23px;
  }

  .openbtn span:nth-of-type(3) {
    top: 31px;
  }

  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }

  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }

  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }

  .btn span {
    font-size: 1.8rem;
  }

  ul {
    padding: 0;
  }

  .nav__sub {
    display: none !important;
  }

  .navbar .container {
    width: 100%;
    position: fixed;
    z-index: 5;
    background: #fff;
    padding: 1.5rem;
    top: 0;
  }

  .tab_item {
    width: calc(100% / 1);
    padding: 15px 0;
    font-size: 1.6rem;
    border-bottom: 3px solid #df0025;
    background-color: #ececec;
    text-align: center;
    color: #df0025;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
  }

  .tab_item_jun,
  .tab_item_sei {
    width: calc(100% / 1);
  }

  .color__logo {
    max-width: 150px;
  }

  .container {
    margin: 0 auto;
    padding-top: 9rem;
  }

  .topimg-mo {
    display: block;
  }

  .topimg-pc {
    display: none;
  }

  .top_text {
    font-size: 1.8rem;
    padding: 1rem 0;
  }

  .top_block {
    padding: 0.5rem 0;
  }

  .nav-banner {
    padding: 0;
  }

  .row {
    margin: 45px auto;
  }

  .contents-top {
    margin: 0 0 4rem;
  }
  section {
    margin-bottom: 4rem;
  }

  .contents-wrap:not(.block__background-image .contents-wrap) {
    padding: 0;
  }

  .color__btn3 {
    font-size: 2.6rem;
    width: calc(100% - 2rem);
  }

  .contact7 dt {
    float: left;
    clear: left;
    width: 35%;
    padding: 5px 10px 5px 0;
  }

  .contact7 dd {
    margin-left: 35%;
  }

  .btn_contact7 input {
    width: 70%;
    background-color: #005513;
    color: #fff;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.2em;
    border: 1px solid #005513;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -ms-transition: 0.3s;
    transition: 0.3s;
  }

  .btn_contact7 input:hover {
    background-color: #fff;
    color: #005513;
  }

  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }

  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }

  .table-wrap {
    max-width: none;
  }

  /* .tbl-r02 {
    width: 100%;
  } */

  .tbl-r02 th,
  .tbl-r02 td {
    border-bottom: none;
    font-size: 1.5rem;
  }

  .tbl-r02 th {
    padding-bottom: 0;
    width: 20%;
    min-width: 8rem;
  }

  /* .tbl-r02 td {
    padding: 0 0.5rem;
  }
} */
}

@media (max-width: 767.98px) {
  .nav__main {
    font-size: 1em;
  }

  .nav__sub {
    font-size: 1em;
  }

  .navbar.navbar-light .breadcrumb .nav-item.active > .nav-link,
  .navbar.navbar-light .navbar-nav .nav-item.active > .nav-link {
    background-color: #efefef;
    border-bottom: none;
  }
}
