/* =========================
   Google Fonts
========================= */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;500&display=swap');


/* =========================
   variables
========================= */
:root {
  --bg: #000000;
  --text: #e0e0e0;
  --text-sub: #999999;
  --text-muted: #777777;

  --line: #222222;
  --border: #1a1a1a;
  --border-hover: #2a2a2a;

  --accent: #c1121f;
}


/* =========================
   reset & base
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', serif;
  background-color: var(--bg);
  color: var(--text);

  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
}


/* =========================
   first-view
========================= */
.first-view {
  height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* hero image area */
.hero {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0.7);
}

/* intro text area */
.intro {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;

  border-bottom: 1px solid var(--line);
}

.intro-inner {
  padding: 40px 0 60px;
  text-align: center;
}

.intro .lead {
  font-size: 20px;
  line-height: 2.2;
  margin-bottom: 30px;
}

.intro .subtitle {
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}


/* scroll arrow */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;

  width: 24px;
  height: 24px;

  border-left: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);

  transform: translateX(-50%) rotate(-45deg);
}


/* =========================
   レイアウト
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 140px 0;
  border-bottom: 1px solid var(--line);
}


/* =========================
   文字
========================= */
h2 {
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  letter-spacing: 0.15em;
  color: #ffffff;

  margin-bottom: 100px;
  padding-bottom: 25px;

  border-bottom: 1px solid var(--accent);
}

h3 {
  font-size: 24px;
  font-weight: 400;
  margin: 100px 0 60px;
  letter-spacing: 0.1em;
  color: #ffffff;
}

h4 {
  font-size: 19px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  color: #ffffff;
}

h5 {
  font-size: 17px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  color: #ffffff;
}

p {
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}


/* =========================
   素材紹介
========================= */
.ingredient {
  margin-bottom: 50px;
  padding: 35px 30px;
  border: 1px solid var(--border);
}

.ingredient p {
  color: var(--text-sub);
}


/* =========================
   素材紹介(gird)
========================= */
.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 70px;
}

.ingredient-item {
  padding: 30px 25px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.ingredient-item:hover {
  border-color: var(--border-hover);
}

.ingredient-item p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
  margin-bottom: 0;
}


/* =========================
   オススメ
========================= */
.recipe {
  margin-bottom: 90px;
}

.recipe img {
  width: 100%;
  max-width: 500px;
  height: auto;
  display: block;
  margin-bottom: 30px;
}

.recipe p {
  line-height: 2;
}


/* =========================
   footer
========================= */
footer {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}

footer p {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}


/* =========================
   media query(mobile)
========================= */
@media (max-width: 414px) {

  body {
    font-size: 14px;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 80px 0;
  }

  .intro .lead {
    font-size: 15px;
    line-height: 2;
  }

  .intro .subtitle {
    font-size: 11px;
  }

  h2 {
    font-size: 22px;
    margin-bottom: 60px;
    padding-bottom: 20px;
  }

  h3 {
    font-size: 19px;
    margin: 60px 0 40px;
  }

  h4 {
    font-size: 17px;
  }

  h5 {
    font-size: 15px;
  }

  .ingredient {
    padding: 20px 15px;
    margin-bottom: 25px;
  }

  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
  }

  .ingredient-item {
    padding: 20px 15px;
  }

  .ingredient-item p {
    font-size: 12px;
    line-height: 1.6;
  }

  .recipe {
    margin-bottom: 60px;
  }

  footer {
    padding: 50px 0;
  }

  footer p {
    font-size: 11px;
  }
}


/* =========================
   mediaquery(tablet)
========================= */
@media (min-width: 415px) and (max-width: 768px) {

  .container {
    padding: 0 30px;
  }

  .section {
    padding: 100px 0;
  }

  .ingredient-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
