@charset "UTF-8";
/*----------------------------------------------
スマホメニュー
----------------------------------------------*/
.wrapper {
  position: relative;
}

#btn-gnav {
  display: none;
}

@media screen and (max-width: 30000px) {
  #btn-gnav {
    position: fixed;
    top: 0px;
    right: 10px;
    z-index: 5;
    display: block;
    width: 95px;
    height: 90px;
    padding: 21px;
    cursor: pointer;
    background-color: #0071b8;
    border-radius: 0 0 20px 20px;
  }
  html.ccm-toolbar-visible #btn-gnav {
    top: 48px;
  }
  #btn-gnav::before {
    content: "MENU";
    position: absolute;
    bottom: 4px;
    color: #ffffff;
    left: 50%;
    transform: translateX(-50%);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
  }
  #btn-gnav span {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: ease 0.4s;
  }
  #btn-gnav span:nth-child(1) {
    top: 0px;
  }
  #btn-gnav span:nth-child(2) {
    margin: 12px 0;
  }
  #btn-gnav span:nth-child(3) {
    top: 0;
  }
  body.open {
    overflow: hidden;
  }
  body.open #btn-gnav {
    transform: translateX(0);
    background-color: unset;
  }
  body.open #btn-gnav span {
    background-color: #fff;
    text-decoration: none;
  }
  body.open #btn-gnav span:nth-child(1) {
    top: 16px;
    transform: rotate(45deg);
  }
  body.open #btn-gnav span:nth-child(2) {
    opacity: 0;
  }
  body.open #btn-gnav span:nth-child(3) {
    top: -12px;
    transform: rotate(-45deg);
  }
  #gnav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 100vh;
    padding: 120px 10px 160px 10px;
    background: rgba(0, 113, 184, 0.9);
    overflow-y: auto;
  }
  #gnav > ul {
    min-height: fit-content;
    display: flex;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    gap: 100px 70px;
    flex-wrap: wrap;
  }
  #gnav > ul > li {
    width: fit-content;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
    line-height: 1.5;
  }
  #gnav > ul > li > a {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    height: auto;
    color: #fff;
    font-size: 18px;
    line-height: 1.5;
    padding-bottom: 5px;
    text-decoration: none;
  }
  #gnav > ul > li ul li {
    text-align: left;
    border-top: none;
    display: flex;
    align-items: center;
  }
  #gnav > ul > li ul li:not(:first-child) {
    margin-top: 20px;
  }
  #gnav > ul > li ul li:last-child {
    margin-bottom: 20px;
  }
  #gnav > ul > li ul li::before {
    color: #fff;
    content: "・";
  }
  #gnav > ul > li ul li a {
    text-align: left;
    display: flex;
    justify-content: flex-start;
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
  }
}
@media screen and (max-width: 767px) {
  #btn-gnav {
    width: 65px;
    height: 60px;
    border-radius: 0 0 10px 10px;
    padding: 16px;
    padding-top: 10px;
    right: 7px;
  }
  #btn-gnav::before {
    font-size: 12px;
    font-weight: 700;
    bottom: 3px;
  }
  #btn-gnav span {
    position: relative;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: ease 0.4s;
  }
  #btn-gnav span:nth-child(1) {
    top: 0px;
  }
  #btn-gnav span:nth-child(2) {
    margin: 8px 0;
  }
  #btn-gnav span:nth-child(3) {
    top: 0;
  }
  body.open {
    overflow: hidden;
  }
  body.open #btn-gnav {
    transform: translateX(0);
    background-color: unset;
    right: 0;
  }
  body.open #btn-gnav span {
    background-color: #fff;
    text-decoration: none;
  }
  body.open #btn-gnav span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
  }
  body.open #btn-gnav span:nth-child(2) {
    opacity: 0;
  }
  body.open #btn-gnav span:nth-child(3) {
    top: -7px;
    transform: rotate(-45deg);
  }
  #gnav {
    padding: 70px 0 160px 0;
  }
  #gnav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: unset;
  }
  #gnav ul > li {
    position: relative;
    width: 100%;
    /* 右側のボタン（＋／−） */
    /* ▼ 子メニュー（初期：閉じ） */
    /* ▼ 子メニューが開いた時（ここが変更ポイント） */
    /* ▼ ボタンの表示を − に（これも ul.open に合わせる） */
  }
  #gnav ul > li > a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    text-decoration: none;
    color: #fff;
    border-top: 1px solid rgba(184, 184, 184, 0.603);
    border-bottom: 1px solid rgba(184, 184, 184, 0.603);
  }
  #gnav ul > li > .toggle-btn {
    position: absolute;
    right: 0;
    top: 0px;
    width: 54px;
    height: 54px;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
  }
  #gnav ul > li > .toggle-btn::before {
    content: "+";
    /* 初期表示 */
    color: #fff;
  }
  #gnav ul > li > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease;
    padding-left: 16px;
  }
  #gnav ul > li > ul li:not(:first-child) {
    margin-top: unset;
  }
  #gnav ul > li > ul li a {
    padding: 4px 0;
    display: block;
    font-size: 14px;
    width: 100%;
    border: unset;
  }
  #gnav ul > li > ul.open {
    max-height: 500px;
    /* 必要であれば調整 */
  }
  #gnav ul > li > ul.open ~ .toggle-btn::before,
#gnav ul > li > .toggle-btn[aria-expanded=true]::before {
    content: "−";
  }
}

/*# sourceMappingURL=sp_nav.css.map */