@charset "utf-8";

html {
    font-size: 62.5%;
}

body{
    background: #fff;
    font-family: 'Noto Serif JP', Sorts Mill Goudy,serif,Noto Sans;
    letter-spacing:0.1em;
    color: #333;
    font-size:1rem;
    line-height:1.85;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%; 
    word-wrap: break-word;
    margin: 0;
    box-sizing: border-box;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
	text-decoration: none;
  outline: none;
}

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

/*===========================================================*/
/*g-nav*/
/*===========================================================*/
.navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      padding: 20px 40px;
      display: flex;
      justify-content: flex-end;
      align-items: center;
      z-index: 1000;
    }

    .menu-button {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: white;
      border: 1px solid black;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 8px;
      transition: all 0.4s ease;
      position: relative;
    }

    .menu-button:hover {
      background: #f5f5f5;
      transform: scale(1.05);
    }

    .menu-button span {
      width: 24px;
      height: 2px;
      background: black;
      transition: all 0.8s ease;
      position: absolute;
    }

    .menu-button span:first-child {
      top: 22px;
    }

    .menu-button span:last-child {
      bottom: 22px;
    }

    .menu-button.active span:first-child {
      top: 50%;
      transform: translateY(-50%) rotate(45deg);
    }

    .menu-button.active span:last-child {
      bottom: 50%;
      transform: translateY(50%) rotate(-45deg);
    }

    .menu-overlay {
      position: fixed;
      top: 0;
      right: -100%;
      width: 100%;
      height: 100vh;
      background: white;
      transition: right 1s cubic-bezier(0.77, 0, 0.175, 1);
      z-index: 999;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .menu-overlay.active {
      right: 0;
    }

    .menu-items {
      list-style: none;
      text-align: center;
    }

    .menu-items li {
      margin: 40px 0;
      opacity: 0;
      transform: translateY(20px);
      transition: all 0.8s ease;
    }

    .menu-overlay.active .menu-items li {
      opacity: 1;
      transform: translateY(0);
    }

    .menu-overlay.active .menu-items li:nth-child(1) {
      transition-delay: 0.3s;
    }

    .menu-overlay.active .menu-items li:nth-child(2) {
      transition-delay: 0.5s;
    }

    .menu-overlay.active .menu-items li:nth-child(3) {
      transition-delay: 0.7s;
    }

    .menu-overlay.active .menu-items li:nth-child(4) {
      transition-delay: 0.9s;
    }

    .menu-items a {
      color: black;
      text-decoration: none;
      font-size: 48px;
      font-weight: 300;
      letter-spacing: 4px;
      position: relative;
      display: inline-block;
      transition: all 0.3s ease;
    }

    .menu-items a::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      width: 0;
      height: 2px;
      background: black;
      transition: all 0.4s ease;
      transform: translateX(-50%);
    }

    .menu-items a:hover {
      opacity: 0.5;
    }

    .menu-items a:hover::after {
      width: 100%;
    }

    .content {
      padding: 120px 40px;
      color: black;
      max-width: 800px;
      margin: 0 auto;
    }

    .content h1 {
      font-size: 48px;
      margin-bottom: 20px;
    }

    .content p {
      font-size: 18px;
      line-height: 1.6;
      opacity: 0.9;
    }

    @media (max-width: 768px) {
      .menu-items a {
        font-size: 36px;
      }

      .content h1 {
        font-size: 36px;
      }
    }

/*===========================================================*/
/*footer_long*/
/*===========================================================*/
.footer_long {
  margin-top: 40px;
    padding: 40px 20px;
    justify-content: flex-end;
    align-items: center;
    background-image: url(../img/footer_long.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
}

.footer_menu_long {
  display: flex;
  gap: 30px;
  justify-content: center;
  font-size: 2rem;
}

.footer_menu_long :hover {
  opacity: 0.7;
}

.footer_icon_long {
  display: flex;
  margin: 20px auto;
  width: 100px;
  height: 100px;
  gap: 60px;
}

.footer_icon_long :hover {
  opacity: 0.7;
}

.footer_txt_long {
  text-align: center;
}

.copy {
  text-align: center;
}
