@charset "utf-8";

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  font-size: 100%;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background-color: #fcfaf5;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* header */
header {
  background-color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px 40px;
  z-index: 100;
}

.header-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  font-size: 1.5rem;
  color: #5d4037;
}

.js-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.js-nav li {
  font-size: 1rem;
}

.hamburger {
  display: none;
  position: relative;
  width: 30px;
  height: 24px;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #5d4037;
  transition: all 0.5s;
}

.hamburger span:nth-of-type(1) {
  top: 0;
}

.hamburger span:nth-of-type(2) {
  top: 11px;
}

.hamburger span:nth-of-type(3) {
  bottom: 0;
}

.hamburger.active span:nth-of-type(1) {
  transform: translateY(11px) rotate(-45deg);
}

.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
  transform: translateY(-11px) rotate(45deg);
}

/* main */
.hero {
  margin-top: 75px;
  height: 80vh;
  background-image: linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.3)), url(image/hero.jpg);
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-text {
  margin: 0 30px;
  padding: 35px 50px;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  border-radius: 8px;
}

h2 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #4e342e;
}

.inner {
  max-width: 1100px;
  padding: 0 20px;
  margin: 0 auto;
}

#about,
#menu {
  text-align: center;
}

#menu {
  margin-bottom: 100px;
  /* width: 100%; */
}

h3 {
  font-size: 2.7rem;
  color: #5d4037;
  margin-top: 100px;
}

#about p {
  margin-top: 70px;
  line-height: 1.8;
}

.menu-items {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}

.item {
  flex: 1;
  /* display: flex;
  flex-direction: column; */
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.item-image {
  /* width: 100%; */
  height: 300px;
  overflow: hidden;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.item-text {
  text-align: center;
  padding: 30px 0;
}

h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #5d4037;
}

/* footer */
footer {
  padding: 30px 20px;
  color: #fff;
  background-color: #5d4037;
  text-align: center;
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease; 
}

.fade-in.scroll-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  header {
    padding: 20px;
  }

  .js-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(93, 64, 55, 0.95);
    z-index: 99;
  }

  .js-nav ul {
    flex-direction: column;
    gap: 50px;
  }

  .js-nav li {
    font-size: 1.5rem;
    color: #fff;
  }

  .hamburger {
    display: block;
  }

  .hero-text {
    width: 100%;
    padding: 20px;
  }

  h2 {
    font-size: 1.8rem;
  }

  #menu {
    margin-bottom: 60px;
  }

  .menu-items {
    flex-direction: column;
  }

  .item {
    width: 100%;
  }

  .item-image {
    height: 200px;
  }
}