/* ====================================
   全体のリセット & フォント
   ==================================== */
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: 18px;
}

/* ====================================
   見出し
   ==================================== */
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: 750px) {
  h2::before,
  h2::after {
    display: none;
  }
}
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; }

/* ====================================
   ハンバーガーメニュー
   ==================================== */
.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: 600px){
  .hamburger-demo-menubox { display: none; }
}
.hamburger { display: none; }

/* ====================================
   プロジェクト共通
   ==================================== */
.section {
  max-width: 1200px;
  margin: auto;
}
.craft-project-title {
  display: block;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  color: white;
  background-color: #405162;
  padding: 20px 0;
  margin: 2px auto 10px;
  max-width: 800px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
}

/* ====================================
   画像整列
   ==================================== */
.flex img,
.craft-centered-image-group img,
.craft-centered-single-image img,
.craft-centered-image img {
  width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;

}

.craft-centered-image-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.craft-centered-image {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 600px;
}
/*koko*/
.section:has(.craft-centered-image-group) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
   max-width: 1000px; /* 横幅を制限して真ん中に */
  margin: 0 auto; /* 全体を中央に */
}

/* テキスト整え */
.section:has(.craft-centered-image-group) .craft-centered-text {
  max-width: 540px;
  text-align: left;
}

/* 画像サイズを小さく */
.craft-centered-image-group img {
  width: 250px;
  height: auto;
  border-radius: 8px;
}

/* スマホ時は縦に戻す */
@media (max-width: 700px) {
  .section:has(.craft-centered-image-group) {
    flex-direction: column;
    align-items: center;
  }
  .section:has(.craft-centered-image-group) .craft-centered-text {
    text-align: left;
  }
  .craft-centered-image-group img {
    width: 50%;
  }
}
.section:has(.craft-centered-image-group) .craft-centered-text,
.section:has(.craft-centered-image-group) .craft-centered-image-group {
    margin: 20px 0 0 0;   /* マージンをゼロに */
}

.section .craft-centered-text:first-of-type {
  margin-top: 0 !important;
}

/* ====================================
   強調テキスト・青ボックス・リンク系
   ==================================== */
.craft-centered-text {
  text-align: left;
  white-space: pre-line;
  line-height: 1.2;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 20px;
  color: #333;
}
.craft-highlight-text {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding-top: 80px;
  margin-top: 20px;
  color: #003366;
  user-select: none;
  position: relative;
}
/* 左側のテキスト（最初の <p>） */
.flex .craft-centered-text:first-of-type {
    max-width: 800px; /* 好きな幅に調整 */
}

/* 右側のテキスト（2つ目の <p>） */
.flex .craft-centered-text:nth-of-type(2) {
    max-width: 800px; /* 好きな幅に調整 */
}

.craft-highlight-word {
  position: relative;
  display: inline-block;
  margin: 0 6px;
  padding: 4px 12px;
  z-index: 1;
}
.craft-highlight-word::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background-color: #2196F3;
  border-radius: 50%;
  opacity: 0.2;
  z-index: -1;
}
.blue-box {
  background: #e0f7fa;
  padding: 20px;
  text-align: center;
  max-width: none;
  width: 100vw;
  margin: 0 calc(50% - 50vw); /* 中央寄せされている余白を打ち消す */
}
.craft-reference-title {
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  color: #405162;
}
.craft-image-link-only a {
  display: block;
  margin: 5px auto;
  padding: 0;
  line-height: 1;
  color: #405162;
  font-weight: bold;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
}
.craft-image-link-only a:hover { text-decoration: underline; }
.craft-centered-text {
  padding-left: 16px;
  padding-right: 16px;
}

/* ====================================
   コラボ画像
   ==================================== */
.collabo-1,
.collabo-3 {
  display: block;
  margin: 0 auto;
  width: 600px !important;
  height: auto;
  max-width: 100%;
}
.collabo-img2 img {
    border-radius: 0 !important;
}
/* ====================================
   ビールセクション
   ==================================== */
.beer-section {
  padding: 40px 20px;
  background-color: #44546a;
  color: #fff;
  text-align: center;
}
.beer-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}
.img-wrap {
  position: relative; 
  display: inline-block;
}
.img-wrap .copyright {
  position: absolute;
  left: 8px; 
  bottom: 8px;
  font-size: 12px;
  color: #000000;
  text-shadow: 0 0 4px rgba(0,0,0,0.7);
  margin: 0;
}
.beer-card {
  width: 280px;
  text-align: center;
}
.beer-card img {
  width: auto;
  height: 300px;
}
.beer-name {
  text-decoration: underline;
  font-size: 20px;
  margin: 15px 0 10px;
}
.beer-desc {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}
.more-btn {
  height: 42px;        /* ← 自由に調整可能 */
  line-height: 42px;   /* ← 中央揃え */
  padding: 0 24px;     /* ← 横だけ余白をつける */
  font-size: 16px;
  background: linear-gradient(135deg, #000000);
  border-radius: 25px;
  text-decoration: none;
  color: white;
  font-weight: bold;
  display: inline-block;
}
.beer-more-btn::after {
  content: "→";
  position: absolute;
  right: 16px;
  opacity: 0;
  transition: all 0.3s ease;
}
.beer-more-btn:hover {
  background: linear-gradient(135deg, #a2b5ff, #cbd4ff);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  padding-right: 36px;
}

.beer-more-btn:hover::after {
  opacity: 1;
  right: 12px;
}
.more-line {
  display: flex;
  align-items: center;
  justify-content:center; /* 全体を右寄せ */
  gap: 30px; /* テキストとボタンの間隔 */
  margin-top: 10px;
}

.more-line .info-text {
  font-weight: bold;
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* ====================================
   プロジェクトセクション
   ==================================== */
.project-section {
  background-color: #fff;
  padding: 0px 40px;
  color: #333;
  font-family: "游明朝体", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "MS P明朝", serif;
}
.project-block {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.project-subtitle {
  text-align: center;
  font-size: 35px;
  font-weight: bold;
  color: #44546a;
  margin: 40px 0 20px;
  letter-spacing: 1px;
}
.project-img-left,
.project-img-right {
  width: 300px;
  max-width: 100%;
  border-radius: 8px;
}
.project-img-left  { margin-right: 30px; }
.project-img-right { margin-left: 30px; }
.project-text {
  max-width: 500px;
  font-size: 16px;
  line-height: 1.8;
}

/* ====================================
   参照サイト & フッター
   ==================================== */
.reference-site {
  text-align: center;
  margin: 20px;
  font-size: 15px;
  color: #333;
}
.reference-site a {
  color: #666;
  font-size: 13px;
  text-decoration: none;
}
.reference-site a:hover { text-decoration: underline; }
.site-footer {
  text-align: center;
  padding: 20px 0 40px;
  color: #333;
  font-size: 14px;
}
.footer-line {
  border-top: 2px dashed #44546a;
  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; }

/* ====================================
   レスポンシブ調整
   ==================================== */
@media (max-width:700px) {
  .nav-list li { margin: 10px 0; }
  .craft-project-title {
    font-size: 24px;
    padding: 12px 0;
    max-width: 100%;
  }
  .craft-centered-text,
  .craft-highlight-text {
    max-width: 90%;
    font-size: 14px;
    padding-top: 10px;
  }
  .craft-centered-image-group,
  .craft-centered-image,
  .craft-centered-single-image {
    flex-direction: column;
    gap: 10px;
    width: 90%;
    height: auto;
  }
  .flex img,
  .craft-centered-image-group img,
  .craft-centered-single-image img,
  .craft-centered-image img {
    width: 100%;
    height: auto;
  }
  .craft-reference-title,
  .craft-image-link-only a {
    font-size: 14px;
  }
}
@media (max-width: 700px) {
  .craft-centered-image-group img {
    max-width: 300px;  /* ← 好きなサイズに調整 */
    width: 100%;
    height: auto;
    margin: 0 auto;
    display: block;
  }
}
@media (min-width: 751px) {
  .craft-project-title {
    margin-top: 60px; /* 余白の大きさを調整 */
  }
}
@media (max-width:885px) {
  .project-block {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .project-img-left,
  .project-img-right {
    order: 1;
    margin: 0 0 15px 0;
    width: 90%;
  }
  .project-text {
    order: 2;
    max-width: 90%;
    font-size: 14px;
    line-height: 1.6;
  }
}
@media (max-width: 750px) {
  h2 {
    font-size: 65px;
    gap: 0.5em;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    padding: 0;
  }
  .section { padding: 20px 10px; }
  .flex,
  .craft-centered-image-group,
  .craft-centered-image,
  .craft-centered-single-image,
  .fruit-panel {
    display: block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .collabo-3 {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  h2 {
    font-size: 50px;
  }
  .section:has(.craft-centered-image-group) .craft-centered-text {
  max-width: 1000px;
  text-align: left;
}
}
.more-btn {
  display: inline-block;
  background: linear-gradient(135deg, #000000);
  border-radius: 25px;
  text-decoration: none;
  color: #f8f7f7;
  font-weight: bold;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  font-size: 16px;
}

.more-btn::after {
  content: "→";
  position: absolute;
  right: 16px;
  opacity: 0;
  transition: all 0.3s ease;
}

.more-btn:hover {
  background: linear-gradient(135deg, #a2b5ff, #cbd4ff);
  box-shadow: 0 6px 12px rgba(0,0,0,0.25);
  padding-right: 36px;
}

.more-btn:hover::after {
  opacity: 1;
  right: 12px;
}