@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 736px) {
  html,
  body {
    min-width: 0;
    width: 100%;
    -webkit-text-size-adjust: 100%;
  }
  html {
    font-size: 2.67vw;
  }

  p,
  li,
  dt,
  dd {
    font-size: 1.2rem;
  }
  img {
    max-width: 100% !important;
    height: auto;
  }

  .sp_only {
    display: inherit;
  }

  .pc_only {
    display: none;
  }

  .sp_only_fl {
    display: flex !important;
  }

  .pc_only_fl {
    display: none !important;
  }

  .inner,
  .inner-900 {
    width: 94%;
    box-sizing: border-box;
    max-width: 100%;
    margin: 0 auto;
  }

  .Scroll-inner h1 a img {
    width: 170px;
  }
  .top .Scroll-inner h1 a img {
    width: 70px;
  }
  section {
    padding: 4rem 0;
  }

  header {
    position: fixed;
    padding: 0rem 0rem;
  }

  header h1 a img {
    width: 110px;
    padding: 0rem 0;
  }
  .header-inner {
    padding: 1.5rem 1rem;
  }
  .joks-portal header > h1 a img {
    width: 120px;
    padding: 1rem 0;
  }

  header > h1 a {
    display: block;
  }
  .top header > h1 a img {
    width: 35px;
  }

  .hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 300;
    border: none;
    width: 35px;
    height: 35px;
    left: unset;
    background: #000;
    border-radius: 0;
    display: none;
  }
  .top .hamburger {
    background: #8c0100;
  }
  .hamburger_border {
    position: absolute;
    right: 9px;
    width: 16px;
    height: 1px;
    background-color: #fff;
    transition: all 0.6s;
    counter-reset: #fff;
  }
  .hamburger_border_top {
    top: 10px;
  }

  .hamburger_border_center {
    top: 18px;
  }
  .hamburger_border_bottom {
    top: 25px;
  }
  .hamburger_border_menue {
    background: none;
    top: 49px;
    text-align: center;
    height: auto;
  }

  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 17px;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 17px;
  }
  .nav-open .hamburger_border_center,
  .nav-open .hamburger_border_menue {
    opacity: 0;
  }
  nav {
    position: fixed;
    right: -100%; /* 右から出てくる */
    width: 100%; /* スマホに収まるサイズ */
    transition: all 0.6s;
    z-index: 200;
    overflow: scroll;
    height: 100%;
    top: 0;
    margin-top: 0;
  }

  nav .inner {
    /* justify-content: space-between; */
    justify-content: flex-start;
    flex-direction: column;
    gap: 3rem;
    margin-top: 6rem;
  }

  nav .Scroll-inner {
    display: flex;
    background: #fff;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    padding: 3rem 2rem;
    height: 100%;
  }
  nav ul {
    grid-template-columns: 1fr;
    gap: 2rem;
    flex-direction: column;
    width: 100%;
  }
  nav ul.inner > li {
    border-bottom: solid 1px #ffaa35;
    padding: 2rem 0 !important;
  }
  nav ul > li > a {
    border-left: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 !important;
    color: #000 !important;
  }
  ul.inner > li.sp-sub_menu a::after {
    content: "";
    position: relative !important;
    display: block;
    width: 0;
    height: 0;
    top: unset !important;
    right: unset !important;
    border-left: 10px solid #ffaa35;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: unset;
  }
  ul.inner > li.sp-sub_menu > a::after {
    transform: rotate(90deg) !important;
  }

  ul.inner > li.sp-sub_menu.active > a::after {
    transform: rotate(-90deg) !important;
  }
  ul.inner > li a img {
    display: block;
  }
  li.sp-sub_menu {
    transition: all 0.6s;
  }
  li.sp-sub_menu ul {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 2.5rem;
    margin-top: 1rem;
    width: 100%;
    position: unset;
  }

  li.sp-sub_menu ul li > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    padding-left: 0px;
    margin-bottom: 8px !important;
    padding-left: 1rem !important;
  }
  li.sp-sub_menu ul li:last-of-type a {
    margin-bottom: 0 !important;
  }
  li.sp-sub_menu:nth-child(1) > ul:nth-child(2) > p {
    border-radius: 10px;
    background: #ffaa35;
    text-align: center;
    color: #fff;
    padding: 4px;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  li.sp-sub_menu ul p:nth-child(3) {
    margin-top: 1.5rem;
  }

  nav .inner-1200 {
    padding: 0;
  }
  nav .inner-1200 > ul {
    gap: 1.5rem;
    gap: 10px;
    flex-direction: unset;
    flex-wrap: wrap;
    padding: 2rem 0 1rem;
    border-bottom: solid 1px #ffaa35;
  }
  nav .inner-1200 > ul li img:nth-child(1) {
    margin-right: 5px;
  }
  .search-container {
    margin-top: 1rem;
  }

  .search-container > form:nth-child(1) > button:nth-child(1) {
    border: none;
    background: no-repeat;
  }
  .search-container > form:nth-child(1) {
    display: grid;
    grid-template-columns: 38px auto;
    empty-cells: ;
    width: 100%;
    gap: 10px;
  }
  .search-container > form:nth-child(1) > input:nth-child(2) {
    border: none;
    padding: 5px 10px;
  }

  /* 表示された時用のCSS */
  .nav-open nav {
    top: 0px;
    right: 0;
    margin-top: 0;
  }

  .nav-open .black_bg {
    opacity: 0.8;
    visibility: visible;
  }

  .nav-open .hamburger_border {
    background: #fff;
  }

  h1 a img {
    width: 120px;
  }

  .f-company {
    /* padding: 10rem 0; */
    padding: 5rem 0 2rem;
    margin-top: 8rem;
  }

  .f-company .inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 90%;
  }

  .f-company .inner > div {
    /* margin: 2rem 0; */
    margin: 1rem auto;
    width: 90%;
  }

  .f-company h3 {
    grid-area: unset;
    font-size: 0.9rem;
    display: none;
  }

  .f-company h2 {
    margin-top: 3rem;
    font-size: 1.7rem;
  }

  .f-company p {
    font-size: 1.3rem;
  }
  .f-company h1 a img {
    width: 180px;
    margin: auto;
    display: block;
  }
  footer {
    padding: 1rem 0;
  }

  .f-company > div:nth-child(1) > iframe:nth-child(3) {
    height: 200px;
    margin-left: calc(50% - 47vw);
    margin-right: calc(50% - 47vw);
    width: 94vw;
  }
  .copyright {
    font-size: 0.8rem;
    text-align: center;
  }

  .page-ttl {
    padding: 4rem 0 4rem !important;
    border-bottom: solid 1px;
    margin-bottom: 4rem;
  }
  .page-ttl h2 {
    font-size: 2rem;
  }

  .page-ttl h2 span {
    font-weight: normal;
  }

  .delivery_area .hamburger {
    background: #fff;
    border: solid 1px #000;
  }
  .delivery_area .hamburger_border {
    background: #000;
  }
  footer {
    display: none !important;
  }
  footer .inner {
    width: 100%;
  }


.follow-banner-sp {
  position: fixed;
  bottom: 0;
  z-index: 1000;
  display: block;
}

.follow-banner-sp > ul:nth-child(1) {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
}


.follow-banner-link img {
  width: 100% !important;
}
.access-area{
  margin-bottom: 3rem;
}
}
