@charset "utf-8";
/* ==========================
common
========================== */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Noto Serif";
    font-style: normal;
    color: #333333;
    background-color: white;
    line-height: 1.5;
}

.container {
    padding: 0 9.7%;
}

img {
    max-width: 100%;
    height: auto;
}

.title {
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #333;
    color: white;
    font-family: "Noto sans";
    font-size: 6.4rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 140px;
    }
/* common SP */
@media screen and (max-width: 767px){
    html, body {
        overflow-x: hidden; /* 水平方向のはみ出し（overflow）を隠す（hidden） */
    }

    .container {
        padding: 0;
    }

    .section {
        padding: 0 8.5%;
    }

    .title {
        font-size: 5.0rem;
        }
}

/* ==========================
header
========================== */
.header {
    margin: 30px 0;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    display: flex;
}

.header__hamburger {
    display: none;
}

.header__logo {
    display: inline-block;
    margin-right: 20px;
}

.header__topic {
    color: #333;
    font-size: 2.8rem;
    font-weight: 400;
    align-items: center;
}

.nav__item {
    font-size: 1.8rem;
    font-weight: 400;
    margin-left: 30px;
}

/* ハンバーガーメニュー */

.hamburger {
    display: none;
}

/* ハンバーガーメニューの線 */
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: #333;
    position: relative;
    transition: ease .4s; /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
    display: block;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    margin: 8px 0;
  }
  
  .hamburger span:nth-child(3) {
    top: 0;
  }

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
    transform: translateX(0);
  }
  
.hamburger.active span:nth-child(1) {
    top: 7px;
    transform: rotate(45deg);
}
  
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
  
.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}

@media screen and (max-width: 767px){
    .hamburger {
        display: block;
    }
}

/* header-SP */
@media screen and (max-width: 767px){
    .header {
        background-color: #fff;
        z-index: 999;
        transition: transform 1s;
    }

    .header__inner {
        padding: 40px 6.4% 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: inherit;
        position: relative;
    }

    .nav__list {
        display: block;
        margin: 40px 3.2% 0;
    }

    .nav__item {
        margin-top: 40px;
    }
    .nav__item:first-child {
        display: none;
    }

    .header__hamburger {
        width: 36px;
        height: 100%;
      }
    
    .hamburger {
        z-index: 9999;
      }

    .header__nav {
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        transform: translateX(100%);
        background-color: #fff;
        transition: ease .4s;
        margin-top: 80px;
        z-index: 9990; /* ← この行を追加 */
    }

    .header__nav.active {
        transform: translateX(0);
    }
}