/* ===================================================
   日本酒ダイアグラム – style.css（整理版）
   =================================================== */

/* ===== CSS変数 ===== */
:root {
  --gold:        #d4af37;
  --gold-lt:     #f9e27d;
  --text:        #1a1a1a;
  --muted:       #444;
  --bg:          #ffffff;
  --section-max: 1100px;
  --gap:         clamp(32px, 5vw, 64px);
}

/* ===== ベース ===== */
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  margin: 0;
  color: var(--text);
  line-height: 1.9;
  letter-spacing: 0.05em;
  background: var(--bg);
}

p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin: 0 0 20px;
}

img, .btn {
  transition: all 0.4s ease;
}

/* ===== 見出し共通 ===== */
h1, h2, h3 {
  font-family: 'Noto Serif JP', serif;
  margin: 0;
  font-weight: bold;
  letter-spacing: 0.12em;
}

h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: 0.15em;
}

h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

/* h2 上部ラベル */
h2::before {
  content: "SECTION";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 4px;
  color: #ccc;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* h2 金ライン */
h2::after {
  content: "";
  display: block;
  width: 90%;
  max-width: var(--section-max);
  height: 1px;
  margin: 25px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    var(--gold-lt),
    var(--gold),
    transparent
  );
}

h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
  margin-bottom: 10px;
}

/* ===== セクション ===== */
.section {
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.section.gray {
  background: #f7f7f7;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  background: url("images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-inner {
  position: relative;
  color: #fff;
  text-align: center;
}

.hero-inner h1 {
  letter-spacing: 0.15em;
}

.hero-inner p {
  font-size: 18px;
  color: #fff;
  opacity: 0.9;
  margin-top: 10px;
}

.hero-logo {
  width: 350px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== キャッチコピー ===== */
.catch {
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  text-align: center;
  line-height: 1.3;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: #e60033;
  color: #fff;
  border-radius: 40px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.btn:hover {
  background: #ff3366;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* ===== グリッド ===== */
.grid {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: center;
  max-width: var(--section-max);
  margin: 0 auto;
}

.grid img {
  width: 100%;
  max-width: 400px;
}

.text {
  text-align: left;
}

/* ===== 画像スタイル共通 ===== */
.grid img,
.shop-item img,
.pf-block__img img,
.pf-profile__img img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.grid img:hover,
.shop-item img:hover {
  transform: translateY(-5px);
}

/* ===== カード ===== */
.card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.card.dark {
  background: #333;
  color: #fff;
}

/* ===== 店舗カード ===== */
.cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.shop-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ===== 店舗向けセクション ===== */
.shop-box {
  position: relative;
  max-width: var(--section-max);
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
}

.shop-box::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url("images/shop.jpg") center/cover no-repeat;
  z-index: 0;
}

.shop-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.85) 40%,
    rgba(255, 255, 255, 0) 70%
  );
}

.shop-content {
  max-width: 500px;
  padding: 40px;
}

.shop-content h2 {
  text-align: left;
  margin-bottom: 20px;
}

.shop-content p {
  margin-bottom: 20px;
}

/* ===== 店舗一覧 ===== */
.shop-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.shop-item {
  width: 480px;
  text-align: left;
}

.shop-item img {
  width: 100%;
  margin: 10px 0;
  transition: 0.3s;
}

.shop-item img:hover {
  transform: scale(1.03);
}

.shop-item h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.shop-link {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: #3366cc;
  text-decoration: underline;
}

.shop-link:hover {
  opacity: 0.7;
}

/* ===== QR ===== */
.qr img {
  width: 180px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.qr p {
  font-size: 14px;
}

/* ===== CTAカード ===== */
.contact-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-width: 420px;
  margin-left: 40px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-card p {
  font-family: 'Noto Serif JP', serif;
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.contact-card .qr {
  text-align: center;
}

.contact-card .qr img {
  width: 140px;
  margin-bottom: 10px;
}

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

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

footer.fade {
  transform: none;
  opacity: 1;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== プロフィールセクション ===== */
.pf-section {
  background: var(--bg);
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px);
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  text-align: left;
  margin-bottom: 100px;
  overflow: visible;
}

.pf-section__inner {
  max-width: var(--section-max);
  margin: 0 auto;
  text-align: left;
  overflow: visible;
}

/* プロフィールh2（他セクションと統一） */
.pf-section__title-wrap {
  text-align: center;
  margin: 0 0 clamp(40px, 7vw, 72px);
}

.pf-section__title-label {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  color: #999;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pf-section__title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  border: none;
  padding: 0;
  color: var(--text);
}

.pf-section__title::before {
  content: "SECTION";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 4px;
  color: #ccc;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

.pf-section__title::after {
  content: "";
  display: block;
  width: 90%;
  max-width: var(--section-max);
  height: 1px;
  margin: 25px auto 0;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold),
    var(--gold-lt),
    var(--gold),
    transparent
  );
}

.pf-section__title-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* ===== プロフィール ブロック（画像+テキスト）===== */
.pf-block {
  display: block;
  margin-bottom: 80px;
  position: relative;
}

.pf-block::after {
  content: "";
  display: block;
  clear: both;
}

.pf-block__img {
  float: left;
  width: 46%;
  margin: 0 32px 20px 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.pf-block--img-right .pf-block__img {
  float: right;
  margin: 0 0 20px 32px;
}

.pf-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pf-block__img:hover img {
  transform: scale(1.03);
}

.pf-block__body {
  display: block;
  text-align: left;
}

.pf-block__heading {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  margin: 0 0 18px;
  line-height: 1.5;
}

.pf-block__text {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 16px;
}

/* ===== プロフィールブロック（人物）===== */
.pf-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: start;
  max-width: var(--section-max);
  margin: 0 auto;
  box-sizing: border-box;
  border-top: 1px solid #e8e0d0;
  padding-top: clamp(40px, 6vw, 64px);
  margin-top: clamp(8px, 2vw, 16px);
}

.pf-profile__body {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 100%;
  box-sizing: border-box;
}

.pf-profile__label {
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
  margin: 0 0 20px;
}

.pf-profile__name {
  font-family: 'Noto Serif JP', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin: 0 0 20px;
  color: var(--text);
}

.pf-profile__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pf-profile__list li {
  font-size: 18px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 6px;
}

.pf-profile__list li strong {
  color: var(--text);
  font-weight: 500;
}

.pf-profile__img {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  max-width: 100%;
  box-sizing: border-box;
}

.pf-profile__img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.pf-profile__img:hover img {
  transform: scale(1.03);
}

/* ===== フッター ===== */
.footer {
  width: 100%;
  background: #1e2f4b;
  color: #fff;
  padding: 80px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.footer-inner {
  max-width: var(--section-max);
  margin: 0 auto;
  text-align: center;
}

.footer-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}

.footer-message {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.08em;
  line-height: 1.8;
  margin-bottom: 30px;
}

.footer-text {
  font-size: 14px;
  opacity: 0.9;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer-id {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.footer-id:hover {
  opacity: 0.7;
}

.footer-instagram img {
  width: 30px;
  height: 30px;
}

.insta-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}

.insta-wrap img {
  height: 75px;
  width: auto;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  .grid {
    flex-direction: column;
  }

  .catch {
    font-size: 24px;
  }

  .pf-block__img {
    float: none;
    width: 100%;
    position: relative;
    margin: 0 0 20px 0;
  }

  .pf-block__text {
    max-width: 100%;
  }

  .pf-profile {
    grid-template-columns: 1fr;
  }

  .pf-profile__img {
    order: 0;
  }

  .pf-profile__body {
    order: 1;
  }
}