@charset "UTF-8";
/** メニューを中央に配置するためのインナー */
.section-inner {
width: 980px;
max-width: 100%;
margin: auto;
}

/** PC 用 */
@media (min-width: 769px) {
    /** グローバルナビ項目 (1階層目) */
    .global-nav-item {
        display: flex;
        position: relative;
    }
    .global-nav-item > a {
        display: block;
        position: relative;
        width: 100%;
        padding: 10px 0;
        text-align: center;
        text-decoration: none;
        transform: rotate(0.05deg);
    }
    .global-nav-item > a::after {
        display: block;
        content: '';
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        height: 3px;
        background: #8fde27;
        opacity: 0;
        transition: 0.2s opacity;
    }
    .global-nav-item:hover > a::after {
        opacity: 1;
    }

    /** グローバルナビリスト (2階層目) */
    /*.global-nav-sub-item {
        width: 20%;
    }*/
    .global-nav-sub-item-list {
        position: absolute;
        top: 100%;
        /*width: 100%;*/
        width: auto;
        left: 50%;
        background: #474d8f;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        opacity: 0;
        transform: translateX(-50%);
        transition: 1s opacity;
        pointer-events: none;
        z-index: 100;
        /*display: flex;*/
        justify-content: space-evenly;


        position: absolute;
        top: 100%;
        width: calc(100% + 30px);
        min-width: 220px;
        left: 50%;
        background: #474d8f;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        opacity: 0;
        transform: translateX(-50%);
        transition: 0.8s opacity;
        pointer-events: none;
        z-index: 100;


    }
    .global-nav-item:hover > .global-nav-sub-item-list,
    .global-nav-sub-item-list:hover {
        opacity: 1;
        pointer-events: all;
    }
    /** グローバルナビ項目 (2階層目) */
    .global-nav-sub-item > a {
        display: flex;
        align-items: center;
        position: relative;
        padding: 15px 30px 15px 20px;
        /*border-top: 1px dotted #ddd;*/
        font-size: 14px;
        color: white;
        text-align: left;
        text-decoration: none;
        transform: rotate(0.05deg);        
    }
    .global-nav-sub-item > a::before {
        box-sizing: border-box;
        content: "";
        display: block;
        margin-right: 5px;
        width: 10px;
        height: 10px;
        border-width: 0 3px 3px 0;
        transform-origin: center;
        transform: translateX(-25%) rotate(-45deg);
    }
    .global-nav-sub-item:first-child > a {
        border-top: none;
    }
    .global-nav-sub-item > a:hover {
        background: hsl(200, 100%, 97%);
        color: #464d8f;
    }
    .global-nav-toggle {
        display: none;
    }
}


/** スマホ 用 */
@media (max-width: 768px) {
    /** グローバルナビリスト (1階層目) */
    .global-nav-item-list {
        width: 100%;
        height: 100vh;
        position: fixed;
        top: 65px;
        left: 100%;
        margin: auto;
        overflow: auto;
        z-index: 100;
        background: linear-gradient(#EFFBF1, #FCFEE9);
        transition: 0.2s all;
        pointer-events: none;
    }
    .global-nav.open .global-nav-item-list {
        left: 0;
        pointer-events: all;
    }
    /** グローバルナビ項目 (1階層目, 2階層目) のリンク */
    .global-nav-item a {
        display: flex;
        align-items: center;
        box-sizing: border-box;
        position: relative;
        width: 100%;
        padding: 15px 30px;
        font-size: 16px;
        color: #42b56d;
        text-decoration: none;
        transform: rotate(0.05deg);
        transition: 0.2s all;
    }
    .global-nav-item:last-child a {
        color: white!important;
    }
    .global-nav-item a:hover {
        background: hsl(200, 100%, 97%);
        color: #2a2d4e;
    }
    .global-nav-item > a::before,
    .global-nav-sub-item-list.open a::before {
        box-sizing: border-box;
        content: "";
        display: block;
        margin-right: 10px;
        width: 10px;
        height: 10px;
        border: solid  rgb(66 181 109);
        border-width: 0 3px 3px 0;
        transform-origin: center;
        transform: translateX(-25%) rotate(-45deg);
        transition: 0.2s all;
    }
    .global-nav-item > a.open::before {
        transform: translate(-25%, -2.5px) rotate(45deg);
    }
    .global-nav-sub-item a {
        padding-left: 45px;
    }
    /** グローバルナビリスト (2階層目) */
    .global-nav-sub-item-list:not(.open),
    .global-nav-sub-item-list:not(.open) * {
        overflow: hidden;
        opacity: 0;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-top-width: 0;
        border-bottom-width: 0;
        color: transparent;
        line-height: 0;
        transition: 0.2s margin, 0.2s padding, 0.2s border-width, 0.2s line-height, 0.2s opacity;
    }
    /*.global-nav-sub-item-list.open,
    .global-nav-sub-item-list.open * {
        transition: 0.2s margin, 0.2s padding, 0.2s border-width, 0.2s line-height, 0.2s opacity;
    }*/

    /** トグルボタン */
    .global-nav-button {
        box-sizing: border-box;
        position: fixed;
        top: 0;
        right: 0;
        width: 65px;
        height: 65px;
        background: #42b56d;
        z-index: 101;
        cursor: pointer;
    }
    .global-nav-button-icon {
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        width: calc(100% - 30px);
        height: 2px;
        margin-left: 15px;
        background: white;
        z-index: 100;
    }
    .global-nav-button-icon::before {
        position: relative;
        top: -10px;
        display: block;
        content: "";
        height: 2px;
        background: white;
        transition: 0.1s all;
    }
    .global-nav-button-icon::after {
        position: relative;
        top: 8px;
        display: block;
        content: "";
        height: 2px;
        background: white;
        transition: 0.1s all;
    }
    .global-nav-button.open .global-nav-button-icon {
        background: transparent;
    }
    .global-nav-button.open .global-nav-button-icon::before {
        top: -6px;
        transform: translateY(6px) rotate(45deg);
    }
    .global-nav-button.open .global-nav-button-icon::after {
        top: 3px;
        transform: translateY(-5px) rotate(-45deg);
    }
}




.header {
    position: sticky; /* headerを追従にする */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  }
  .header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
  }
  .logo {
    font-size: 1.25em;
    font-weight: bold;
  }
  
  /* ハンバーガーボタンのデザイン */
  .drawer__button {
    position: relative;
    width: 3rem;
    height: 3rem;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 999; /* メニューを開いている時もクリックできるよう設定 */
  }
  /* ハンバーガーボタン内の線 */
  .drawer__button > span {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2px;
    background-color: black;
    transform: translateX(-50%);
  }
  .drawer__button > span:first-child {
    transform: translate(-50%, calc(-50% - 0.5rem));
    transition: transform 0.3s ease;
  }
  .drawer__button > span:nth-child(2) {
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
  }
  .drawer__button > span:last-child {
    transform: translate(-50%, calc(-50% + 0.5rem));
    transition: transform 0.3s ease;
  }
  /* 展開時のデザイン */
  .drawer__button.active > span:first-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  .drawer__button.active > span:nth-child(2) {
    opacity: 0;
  }
  .drawer__button.active > span:last-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  /* メニューのデザイン */
  .drawer__nav {
    position: fixed; /* 追従ヘッダーなどでも表示できるよう設定しておく */
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  .drawer__nav.active {
    opacity: 1;
    visibility: visible;
  }
  .drawer__nav__inner {
    position: relative;
    width: 80%;
    height: 100%;
    background-color: white;
    padding: 4rem 1.5rem 1rem;
    margin: 0 0 0 auto;
    overflow: scroll;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .drawer__nav.active .drawer__nav__inner {
    transform: translateX(0);
  }
  .drawer__nav__menu {
    list-style: none;
    padding-left: 0;
  }
  .drawer__nav__link {
    display: block;
    color: black;
    text-decoration: none;
    padding: 1rem 1rem;
    border-bottom: solid 1px lightgray;
  }
  
  /* ハンバーガーメニュー展開時、背景を固定 */
  body.active {
    height: 100%;
    overflow: hidden;
  }
  


