@media screen and (max-width: 767.999px) {
  html {
    font-size: 10px;
  }
  .pc {
    display: none !important;
  }
  .marquee {
    font-weight: 300;
    font-size: 10rem;
    letter-spacing: 0.05em;
    line-height: 0.8em;
    display: flex;
  }
  .marquee span {
    padding-right: 0.5em;
    animation: 50s marquee 0s linear running infinite;
  }
  @keyframes marquee {
    from {
      transform: translate3d(0, 0, 0);
    }
    to {
      transform: translate3d(-100%, 0, 0);
    }
  }
  main#main {
    font-size: 1.4rem;
    letter-spacing: 0.08em;
  }
  #top {
    padding-top: 56px;
  }
  header {
    position: absolute;
    inset: 0 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 56px;
    padding: 0 0 0 15px;
    border-bottom: 1px solid #efefef;
  }
  header.off_screen {
    transition: all 0.2s linear;
    top: -56px;
  }
  header.off_screen.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  header.header_open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }
  header #header_logo {
    max-width: 179px;
  }
  header #header_menu_button {
    position: relative;
    padding: 0;
    margin: 0;
    border: none;
    background-image: linear-gradient(to right, #4984d1 0%, #83a9db 100%);
    width: 55px;
    height: 55px;
  }
  header #header_menu_button span {
    display: block;
    height: 2px;
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: #ffffff;
  }
  header #header_menu_button span::before, header #header_menu_button span::after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: #ffffff;
    transition: inherit;
  }
  header #header_menu_button span::before {
    top: -8px;
  }
  header #header_menu_button span:after {
    top: 8px;
  }
  header #header_menu_button[aria-expanded="true"] span {
    background-color: transparent;
  }
  header #header_menu_button[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }
  header #header_menu_button[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  header #header_navi {
    display: none;
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    padding: 0 23px;
    background: #FFFFFF;
  }
  header #header_navi.open {
    display: block;
    z-index: 998;
    overflow-y: auto;
    height: calc(100vh - 56px);
  }
  header #header_navi > ul {
    padding-bottom: 150px;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) {
    border-bottom: 1px solid #efefef;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) a,
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .parent_link {
    color: #333333;
    display: flex;
    width: 100%;
    font-weight: 500;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) > a,
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) > .parent_link {
    font-size: 1.6rem;
    padding: 25px 45px 25px 15px;
    position: relative;
    cursor: pointer;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) > a::after,
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) > .parent_link::after {
    content: "";
    width: 33px;
    height: 33px;
    background: url(/common/image/base/link_arw2_sp.png) no-repeat;
    background-size: cover;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list {
    display: grid;
    grid-template-rows: 0fr;
    margin: 0;
    padding: 0;
    transition: all 0.2s linear;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list > ul {
    overflow: hidden;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list > ul > li {
    padding-left: 30px;
    margin-top: 12px;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list > ul > li > a {
    font-size: 1.4rem;
    position: relative;
    padding-left: 10px;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area) .sub_list > ul > li > a::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #93b4e0;
    border-top: 2px solid #93b4e0;
    position: absolute;
    top: 50%;
    left: -10px;
    transform: translateY(-50%) rotate(45deg);
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area).parent > .parent_link::after {
    background: url(/common/image/base/icon_accordion_open_sp.png) no-repeat;
    background-size: cover;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area).parent.sub_open > .parent_link::after {
    background: url(/common/image/base/icon_accordion_close_sp.png) no-repeat;
    background-size: cover;
  }
  header #header_navi > ul > li:not(#header_sp_recruit):not(#header_sp_sub_area).parent.sub_open .sub_list {
    padding-bottom: 30px;
    grid-template-rows: 1fr;
  }
  header #header_navi > ul > li#header_sp_recruit {
    padding-top: 33px;
  }
  header #header_navi > ul > li#header_sp_recruit > a {
    display: flex;
    align-items: flex-end;
    color: #FFFFFF;
    width: 100%;
    height: 140px;
    padding: 0 0 15px 20px;
    position: relative;
  }
  header #header_navi > ul > li#header_sp_recruit > a::after {
    content: "";
    width: 40px;
    height: 40px;
    z-index: 2;
    background: url(/common/image/base/link_arw2_w.png) no-repeat;
    background-size: cover;
    position: absolute;
    bottom: 15px;
    right: 20px;
  }
  header #header_navi > ul > li#header_sp_recruit > a .image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  header #header_navi > ul > li#header_sp_recruit > a .image img {
    border-radius: 8px;
    width: 100%;
    height: 140px;
    object-fit: cover;
  }
  header #header_navi > ul > li#header_sp_recruit > a .txt {
    font-size: 1.9rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
  }
  header #header_navi > ul > li#header_sp_recruit > a .txt::before {
    font-family: "Rubik", sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    content: attr(data-en);
    position: absolute;
    left: 0;
    top: -18px;
  }
  header #header_navi > ul > li#header_sp_sub_area {
    padding: 0 10px;
  }
  header #header_navi > ul > li#header_sp_sub_area > ul {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
  }
  header #header_navi > ul > li#header_sp_sub_area > ul > li {
    width: 50%;
  }
  header #header_navi > ul > li#header_sp_sub_area > ul > li a {
    display: block;
    font-size: 1.2rem;
    color: #333333;
    padding: 7px 0;
  }
  footer {
    padding: 48px 20px 40px;
    letter-spacing: 0.05em;
  }
  footer #footer_navi {
    display: flex;
    flex-wrap: wrap;
    gap: 35px 0;
    padding: 0 10px;
  }
  footer #footer_navi_main {
    display: contents;
  }
  footer #footer_navi_main > dl {
    width: 50%;
  }
  footer #footer_navi_main > dl > dt a {
    font-size: 1.4rem;
    position: relative;
    font-weight: 500;
  }
  footer #footer_navi_main > dl > dt a::after {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%) rotate(45deg);
  }
  footer #footer_navi_main > dl > dd {
    margin-top: 14px;
  }
  footer #footer_navi_main > dl > dd ul li {
    font-size: 1.2rem;
    margin-top: 8px;
  }
  footer #footer_navi_main > dl > dd ul li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_navi_other {
    width: 50%;
  }
  footer #footer_navi_other ul li {
    font-size: 1.2rem;
    margin-top: 13px;
  }
  footer #footer_navi_other ul li:nth-of-type(1) {
    margin-top: 0;
  }
  footer #footer_group {
    border-radius: 10px;
    margin-top: 55px;
    padding: 25px;
  }
  footer #footer_group > dl > dt {
    font-size: 1.4rem;
    font-weight: 500;
  }
  footer #footer_group > dl > dd {
    margin-top: 18px;
  }
  footer #footer_group > dl > dd ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 10px;
  }
  footer #footer_group > dl > dd ul li {
    position: relative;
    font-size: 1.2rem;
    line-height: 1.2;
    border-right: 1px solid #dadbdc;
    padding-right: 10px;
  }
  footer #footer_group > dl > dd ul li:last-of-type {
    border-right: none;
  }
  footer #footer_logo_area {
    margin-top: 45px;
    text-align: center;
  }
  footer #footer_logo_area #footer_logo {
    margin: 0 auto;
    width: 190px;
  }
  footer #footer_logo_area #footer_copyright {
    margin-top: 30px;
    font-size: 1.1rem;
  }
}
