/* screens smaller than 1360---------------------------------------------------------- */
@media only screen and (min-width: 641px) and (max-width: 1359px) {
  /*header*/
  /*------------------------------------------------------------------------------*/
  #top-head {
    position: static;
    height: 190px;
  }
  header h1 {
    height: 80px;
    top: 110px;
    left: 3%;
    width: 70%;
  }
  header #h_tel {
    display: none;
  }
  header #h_menu01 {
    right: 0;
    top: 0;
    height: 35px;
  }
  header #h_menu01 li {
    height: 35px;
    margin-right: 0;
  }
  header #h_menu01 a {
    border-left: 1px solid #ddd;
    padding: 0 20px;
  }
  header #h_menu02 {
    top: 35px;
    width: 100%;
    height: 75px;
  }
  header #h_menu02 li {
    height: 75px;
  }
  header #h_menu02 li img {
    display: inline-block;
    vertical-align: middle;
  }
  header #h_menu02 .sub {
    vertical-align: middle;
    display: inline-block;
    margin: 0 0 0 15px;
    letter-spacing: 0;
  }
  /*globalnav*/
  /*------------------------------------------------------------------------------*/
  #globalnav {
    width: 100%;
    position: static;
  }
  #gnav_btn {
    display: block;
    position: absolute;
    top: 110px;
    right: 2%;
  }
  #gnav_btn a {
    display: inline-block;
    position: relative;
    width: 70px;
    height: 70px;
  }
  #panel-btn-icon {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38px;
    height: 3px;
    margin: -2px 0 0 -22px;
    background: #013f98;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #panel-btn-icon .sub {
    display: block;
    padding-top: 22px;
    font-size: 11px;
    color: #013f98;
    letter-spacing: 0.08em;
    text-align: center;
  }
  #panel-btn-icon:before,
  #panel-btn-icon:after {
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    height: 3px;
    background: #013f98;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  #panel-btn-icon:before {
    width: 44px;
    margin-top: -15px;
  }
  #panel-btn-icon:after {
    width: 32px;
    margin-top: 11px;
  }
  #gnav_btn a .close {
    background: transparent;
  }
  #gnav_btn a .close:before,
  #gnav_btn a .close:after {
    margin-top: 0;
  }
  #gnav_btn a .close:before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    width: 38px;
  }
  #gnav_btn a .close:after {
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
    width: 38px;
  }
  #globalnav_in {
    display: block;
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 190px;
    left: 0;
    z-index: 10;
    background-color: #fff;
  }
  #globalnav ul {
    display: none;
  }
  #globalnav li:first-child {
    border-top: 1px solid #ddd;
  }
  #globalnav ul > li {
    width: 100%;
    float: none;
    border-bottom: 1px solid #ddd;
    height: auto;
    margin: 0;
    position: relative;
  }
  #globalnav ul > li:before {
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    left: 15px;
    width: 6px;
    height: 6px;
    border-top: solid 1px #36506c;
    border-right: solid 1px #36506c;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #globalnav ul > li a {
    padding: 18px 0 18px 35px;
    display: block;
    color: #36506c;
    border-bottom: none;
  }
  #globalnav li a:hover,
  #globalnav ul > li:hover a {
    border-bottom: none;
  }
  #globalnav li.main_current a {
    border-bottom: none;
  }
  #globalnav ul > li ul.menu_second {
    display: none !important;
  }
  #globalnav ul > li:hover ul.menu_second {
    display: none !important;
  }
  #globalnav ul > li:has(.menu_dropdown_btn)::before {
    display: none;
  }
  html.-is-overflowhidden {
    overflow: hidden;
  }
  #top-head:has(#gnav_btn .noScroll.current) {
    position: fixed;
  }
  #top-head:has(#gnav_btn .noScroll.current) #globalnav_in {
    max-height: calc(100dvh - 190px);
    overflow-y: scroll;
    scroll-behavior: smooth;
  }
  .menu_dropdown_btn {
    width: 100%;
    font-size: 14px;
    padding: 18px 0 18px 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #36506c;
    border-bottom: none;
  }
  .menu_dropdown_btn::before, .menu_dropdown_btn::after {
    height: 1px;
    background-color: #36506c;
    left: 15px;
    right: auto;
  }
  .menu_dropdown_wrap {
    border-top: 1px solid #ddd;
  }
  .menu_dropdown_wrap:not(.-is-open) {
    overflow: hidden;
    height: 0;
    visibility: hidden;
    opacity: 0;
  }
  .menu_dropdown_title {
    font-size: 14px;
  }
  .menu_dropdown_title a {
    display: block !important;
    padding: 12px !important;
  }
  .menu_dropdown_in {
    border: 0;
  }
  .menu_dropdown_in li::before {
    display: none !important;
  }
  .menu_dropdown_in li a {
    font-size: 14px;
    padding: 5px !important;
    color: #fff !important;
  }
  .menu_dropdown_mask {
    display: none;
  }
  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
/* screens smaller than 1120---------------------------------------------------------- */
@media only screen and (min-width: 641px) and (max-width: 1119px) {
  /*layout*/
  /*------------------------------------------------------------------------------*/
  .inner {
    width: 95%;
  }
  .pc {
    display: none;
  }
  .tb {
    display: inherit;
  }
  .tb_sp {
    display: inherit;
  }
  /*footer*/
  /*------------------------------------------------------------------------------*/
  #footer_box01 {
    padding: 0;
    margin-top: 0;
    background: none;
  }
  #footer_box01 .inner {
    width: 100%;
  }
  #footer_box01 #unit01 {
    position: static;
    background: none;
    -webkit-box-shadow: none;
            box-shadow: none;
    font-size: 14px;
    padding: 40px 3% 30px;
    width: 100%;
  }
  #footer_box01 #unit02 {
    padding: 15px 0;
    background-color: #013f99;
  }
  #footer_box01 #unit02 .f_menu,
  #footer_box01 #unit02 dl {
    width: 100%;
  }
  #footer_box01 #unit02 .f_menu li,
  #footer_box01 #unit02 dt {
    margin-bottom: 0;
    font-size: 15px;
  }
  #footer_box01 #unit02 .f_menu.line {
    border-top: 1px solid #2160b9;
    border-bottom: 1px solid #2160b9;
    margin: 15px 0;
    padding: 15px 0;
  }
  #footer_box01 #unit02 dt a,
  #footer_box01 #unit02 .f_menu a {
    padding: 8px 15px 8px 20px;
    display: block;
    position: relative;
  }
  #footer_box01 .acc {
    position: relative;
  }
  #footer_box01 .acc .f_acc {
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    top: 6px;
    right: 0;
    cursor: pointer;
  }
  #footer_box01 .acc .f_acc:before {
    content: "";
    width: 13px;
    height: 1px;
    background: #ccc;
    position: absolute;
    top: 12px;
    right: 8px;
  }
  #footer_box01 .acc .f_acc:after {
    content: "";
    width: 1px;
    height: 13px;
    background: #ccc;
    position: absolute;
    top: 6px;
    right: 14px;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  #footer_box01 .acc .f_acc.active:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    top: 6px;
    right: 14px;
  }
  #footer_box01 #unit02 dd {
    display: none;
    padding: 5px 10px 5px 20px;
    margin-left: 10px;
  }
  #footer_box01 #unit02 dd li {
    font-size: 13px;
    margin-bottom: 7px;
  }
  #footer_box02 {
    padding: 15px 0 10px;
    letter-spacing: 0;
  }
  #footer_box02 li {
    margin: 0 10px 5px 0;
    padding-right: 10px;
    font-size: 12px;
  }
  #footer_box03 {
    padding: 10px 0;
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/
/* screens smaller than 740---------------------------------------------------------- */
@media only screen and (min-width: 641px) and (max-width: 739px) {
  /*------------------------------------------------------------------------------*/
}
/*------------------------------------------------------------------------------*/