@charset "UTF-8";

.center {
  text-align: center;
}

p {
  text-align: left;
}

@media (max-width: 600px) {
  p {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.p-space {
  text-align: center;
  padding-left: 20px;
  padding-right: 20px;
}  
/* ====================================
   全体のリセット & フォント
   ==================================== */
body {
  font-family: 'Noto Serif JP', '游明朝体', 'Yu Mincho',
               'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN',
               'MS 明朝', serif;
  margin: 0;
  padding: 0;
  background: #fff;
  color: #333;
  font-size: 1rem;
}

/* ====================================
   見出し
   ==================================== */
h2 {
  font-size: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Libre Baskerville', serif;
  margin: 40px 0;
  text-align: center;
  color: #44546a;
  font-weight: bold;
  letter-spacing: 2px;
  position: relative;
  padding: 0 10px;
}
h2::before,
h2::after {
 content: "";
  flex: 1; /* ← 横線の長さを自動調整 */
  height: 2px;
  background: #44546a;
  opacity: 0.6;
}
h2::before { left: 0; }
h2::after  { right: 0; }
@media (max-width: 600px) {
  h2::before,
  h2::after {
    display: none;
    font-size: 50px;
  }
}

h3 {
  text-align: center;
  margin: 0 0 1rem;
}

/* ====================================
   ヘッダー & ナビゲーション
   ==================================== */
header {
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  text-align: center;
}
header .logo {
  max-width: 250px;
  height: auto;
  display: inline-block;
}
nav {
  background-color: #44546a;
  position: sticky;
  top: 0;           /* ここで画面上に固定される位置を指定 */
  z-index: 9999;
}
.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 10px 0;
}
.nav-list li { margin: 0 20px; }
.nav-list li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 18px;
}
.nav-list a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  h2 {
    font-size: 50px;
    gap: 0.5em;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0;
  }
}
/* ====================================
   ハンバーガーメニュー
   ==================================== */
.hamburger-demo-menubox * { font-size: 16px; }
.hamburger-demo-menubox li { font-size: 14px; }
.input-hidden { display: none; }
.hamburger-demo-switch {
  cursor: pointer;
  position: fixed;
  right: 3%;
  top: 0;
  z-index: 9999;
  width: 4em;
  height: 4em;
}
#hamburger-demo1:checked ~ .hamburger-demo-switch {
  position: fixed;
}
.hamburger-switch-line1,
.hamburger-switch-line1:before,
.hamburger-switch-line1:after {
  width: 25px;
  height: 3px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: .3s;
  content: "";
}
.hamburger-switch-line1 {
  transform: translate(-50%, -50%);
}
.hamburger-switch-line1:before { transform: translate(-50%, -300%); }
.hamburger-switch-line1:after  { transform: translate(-50%, 200%); }
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1 {
  width: 0;
}
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:before {
  transform: rotate(45deg) translate(-40%, 325%);
}
#hamburger-demo1:checked ~ .hamburger-demo-switch .hamburger-switch-line1:after {
  transform: rotate(-45deg) translate(-40%, -325%);
}
.hamburger-demo-menuwrap {
  position: fixed;
  top: 0;
  left: 100%;
  width: 70%;
  height: 100%;
  background: #44546a;
  padding: 5em 3% 2em;
  z-index: 9998;
  transition: .3s;
  overflow-y: scroll;
}
.hamburger-demo-menulist {
  margin-right: 3%;
  padding-left: 5% !important;
  list-style: none;
}
.hamburger-demo-menulist li { margin: 20px 0; }
.hamburger-demo-menulist li a {
  text-decoration: none;
  color: #f5f5f5;
  display: block;
  font-size: 18px;
  padding: 10px;
}
#hamburger-demo1:checked ~ .hamburger-demo-menuwrap {
  left: 30%;
}
#hamburger-demo1:checked ~ .hamburger-demo-cover {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9997;
  background: rgba(3,3,3,.5);
  display: block;
}
@media (min-width: 750px){
  .hamburger-demo-menubox { display: none; }
}
.hamburger { display: none; }


.site-footer {
  text-align: center;
  padding: 20px 0 40px;
  background-color: #fff;
  color: #333;
  font-size: 14px;
}


.footer-line {
  border-top: 2px dashed #6b7280; /* グレーの点線 */
  width: 100%;
  margin-bottom: 10px;
}


.footer-text {
  margin: 10px 0;
}


.footer-icons {
  margin-top: 10px;
}


.footer-icons a {
  display: inline-block;
  margin: 0 10px;
}


.footer-icons img {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  transition: opacity 0.3s;
}


.footer-icons img:hover {
  opacity: 0.7;
}


.wrapper {
  width: 100%;        
  margin: 0 auto;
  font-size: 18px;
}

/* スマホ用 (最大768px) */
@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

.gallery {
    display: grid;              /* 横並びにする基本指定 */
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;    /* 中央寄せ（space-betweenなども可） */
    gap: 0px;                  /* 画像の間隔 */
    padding-left: 10%;
    padding-right: 10%;
  }
  .gallery img {
    width: 100%;               /* 各画像のサイズ */
    height: auto;               /* 縦横比を維持 */
  }
  @media (max-width: 600px) {
    .gallery{
      grid-template-columns: repeat(2, 1fr); /* 2列にする */ 
      padding-left: 0%;
      padding-right: 0%;
    }
    .gallery img{
      width: 80%;
    }
  }


.brew-text {
  max-width: 600px;
}

  @media(min-width: 800px){
    .brew-text {
      width: 50%;
  }
  .brew-text section {
    padding-left: 0;
    padding-right: 0;
  }

  .brew-text p {
    padding-left: 0;
    padding-right: 0;
  }
  }
  
.ingredients {
  display: grid;
  grid-template-columns: 130px 1fr; /* 左: 用語, 右: 説明 */
  gap: 10px 0px;
  padding-left: 10%;
  padding-right: 10%;
}

dt {
  font-weight: bold;
  text-align: left;
}

dd {
  margin: 0; /* デフォルトのインデントを消す */
  text-align: left;
}

@media(max-width: 600px){
    .ingredients {
      padding-left: 10%;
      padding-right: 10%;
    }
  }

section {
 font-weight: bold;
 font-family: "Meiryo"; 
 text-align: left;
}

@media (max-width: 600px) {
  section {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ============================
    工程カード（影ありデザイン）
============================ */

.brew-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  margin: 40px auto;
  width: 90%;
  max-width: 900px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}

/* 画像領域 */
.brew-media img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}
.brew-media {
  flex: 0 0 45%;     /* 画像が左エリアの45％を占める */
}

/* テキスト領域 */
.brew-body {
  flex: 1;
}

.brew-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 12px;
}

.brew-desc {
  line-height: 1.8;
  margin: 0;
}

/* 偶数工程だけ逆向き */
@media (min-width: 800px){
  .step:nth-of-type(even) .brew-card {
    flex-direction: row-reverse;
  }
}

/* スマホ対応 */
@media (max-width: 800px){
  .brew-card {
    flex-direction: column;
    padding: 18px;
  }
  .brew-media img {
    width: 100%;
    max-width: 360px;
  }
  .brew-body{
    padding: 3%;
  }
}

