/* ==========================================================================
   天草「月の塩」ブランドサイト CSS
   ========================================================================== */

/* 1. 変数定義 (CSS Variables)
   ========================================================================== */
:root {
  /* カラーシステム */
  --color-tsukishiro: #F5F6F8;     /* 月白: 淡いグレー */
  --color-midnight: #0B132B;       /* 深い藍: ベース背景 */
  --color-midnight-light: #1C2541; /* 少し明るい藍: コンポーネント用 */
  --color-silver: #D6DBD9;         /* 銀 */
  --color-gold: #E8D5B5;           /* 淡いゴールド: アクセント */
  --color-white: #FFFFFF;
  --color-text-main: #E2E8F0;
  --color-text-sub: #94A3B8;

  /* フォントシステム */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Inter', 'Outfit', 'Noto Sans JP', sans-serif;

  /* 余白・共通設定 */
  --transition-speed: 0.4s;
  --container-width: 1200px;
}

/* 2. リセット & ベーススタイル
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-midnight);
  color: var(--color-text-main);
  line-height: 1.8;
  font-weight: 300;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed), background-color var(--transition-speed);
}

li {
  list-style: none;
}

/* コモンコンポーネント */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--color-white);
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background-color: var(--color-gold);
}

.section-title .en-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* ボタン共通 */
.btn-gold {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-midnight);
  background-color: var(--color-gold);
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--color-gold);
  border-radius: 0;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232, 213, 181, 0.15);
  transition: all var(--transition-speed) cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--color-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(232, 213, 181, 0.3);
}

/* 3. ヘッダー (Header)
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color var(--transition-speed);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.header__logo a {
  display: flex;
  flex-direction: column;
}

.header__logo .logo-en {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--color-white);
}

.header__logo .logo-jp {
  font-family: var(--font-serif);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-top: 0.2rem;
}

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.header__nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
}

.header__nav-link:hover {
  color: var(--color-gold);
}

.header__btn {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-midnight);
  background-color: var(--color-gold);
  padding: 0.6rem 1.4rem;
  font-weight: 500;
}

.header__btn:hover {
  background-color: var(--color-white);
  color: var(--color-midnight);
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.header__burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--color-white);
  left: 0;
  transition: all 0.3s ease-in-out;
}

.header__burger span:nth-child(1) { top: 0; }
.header__burger span:nth-child(2) { top: 11px; }
.header__burger span:nth-child(3) { top: 22px; }

/* 4. ヒーローセクション (Hero Section)
   ========================================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.5rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(11, 19, 43, 0.4) 0%, rgba(11, 19, 43, 0.85) 100%);
  z-index: 2;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: slowZoom 20s infinite alternate ease-in-out;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 700px;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1.2s forwards cubic-bezier(0.16, 1, 0.3, 1) 0.5s;
}

.hero__sub {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-weight: 500;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: 0.18em;
  color: var(--color-white);
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero__desc {
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--color-silver);
  margin-bottom: 3rem;
  line-height: 2;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.hero__scroll-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-sub);
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background-color: var(--color-gold);
  animation: scrollDown 2s infinite ease-in-out;
}

/* 5. 月の塩とは (About Section)
   ========================================================================== */
.about {
  padding: 10rem 0;
  background-color: var(--color-midnight);
  position: relative;
}

.about__wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__lead {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--color-gold);
  line-height: 1.8;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

.about__text {
  font-size: 1rem;
  color: var(--color-text-main);
  text-align: justify;
  text-justify: inter-character;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

/* 6. 伝統の製法 (Process Section)
   ========================================================================== */
.process {
  padding: 10rem 0;
  background-color: var(--color-midnight-light);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 8rem;
}

.process__card {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  position: relative;
  transition: all var(--transition-speed);
}

.process__card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  background-color: rgba(255, 255, 255, 0.04);
}

.process__card-num {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 500;
  color: rgba(232, 213, 181, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.process__card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--color-white);
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.1em;
}

.process__card-desc {
  font-size: 0.88rem;
  color: var(--color-text-sub);
  line-height: 1.8;
}

.process__sub-block {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-top: 5rem;
}

.process__sub-img {
  flex: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.process__img {
  width: 100%;
  transition: transform 10s ease-in-out;
}

.process__sub-img:hover .process__img {
  transform: scale(1.08);
}

.process__sub-content {
  flex: 1.2;
}

.process__sub-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 2rem;
  letter-spacing: 0.12em;
}

.process__sub-text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 2.1;
  letter-spacing: 0.08em;
}

/* 7. 商品ラインアップ (Products Section)
   ========================================================================== */
.products {
  padding: 10rem 0;
  background-color: var(--color-midnight);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.product-card {
  background-color: var(--color-midnight-light);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 213, 181, 0.4);
}

.product-card__img-wrapper {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.02);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.product-card:hover .product-card__img {
  transform: scale(1.05);
}

.product-card__title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.badge-cert {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  background-color: rgba(232, 213, 181, 0.15);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.1rem 0.5rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.product-card__price {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  color: var(--color-gold);
  font-weight: 500;
}

.product-card__price-sub {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-top: 0.2rem;
  margin-bottom: 1.5rem;
}

.tax-in {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  font-weight: 300;
}

.product-card__desc {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  text-align: justify;
}

.product-card__btn {
  display: block;
  width: 100%;
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.product-card__btn:hover {
  background-color: var(--color-gold);
  color: var(--color-midnight);
}

/* プレミアムカード（ピラミッドフレークなど）の特別演出 */
.premium-card {
  border-color: rgba(232, 213, 181, 0.25);
  position: relative;
}

.premium-card::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: var(--color-gold);
  color: var(--color-midnight);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  padding: 0.2rem 1.2rem;
}

/* 品質および仕様テーブル */
.products__spec {
  background-color: var(--color-midnight-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem;
}

.products__spec-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-white);
  margin-bottom: 2.5rem;
  text-align: center;
  letter-spacing: 0.1em;
}

.table-wrapper {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.spec-table th, .spec-table td {
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem 1.5rem;
  text-align: left;
  font-size: 0.9rem;
}

.spec-table th {
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--color-gold);
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.spec-table td {
  color: var(--color-text-main);
  line-height: 1.7;
}

.products__spec-note {
  font-size: 0.78rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

/* 8. 愉しみ方 (Usage Section)
   ========================================================================== */
.usage {
  padding: 10rem 0;
  background-color: var(--color-midnight-light);
}

.usage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.usage__item {
  position: relative;
  padding-left: 2rem;
  border-left: 1px solid rgba(232, 213, 181, 0.3);
}

.usage__item-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.08em;
}

.usage__item-text {
  font-size: 0.88rem;
  color: var(--color-text-main);
  line-height: 2;
  text-align: justify;
}

/* 9. つくり手のストーリー (Story Section)
   ========================================================================== */
.story {
  padding: 15rem 0;
  position: relative;
  background-color: var(--color-midnight);
}

.story::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.7) 50%, rgba(11, 19, 43, 0.9) 100%), url('../moonsalt_assets/muramoto_salt_workshop.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.story__wrapper {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: auto;
  background-color: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 5rem 4rem;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.story__content h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--color-white);
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.12em;
}

.story__text {
  font-size: 0.95rem;
  color: var(--color-text-main);
  line-height: 2.2;
  text-align: justify;
}

/* 10. 塩爺の物語 note新着 (Note News Section)
   ========================================================================== */
.note-news {
  padding: 10rem 0;
  background:
    radial-gradient(circle at top, rgba(232, 213, 181, 0.08), transparent 34rem),
    linear-gradient(180deg, var(--color-midnight) 0%, var(--color-midnight-light) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.note-news__lead {
  max-width: 760px;
  margin: -1.5rem auto 4rem;
  color: var(--color-text-main);
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 2.1;
  letter-spacing: 0.08em;
  text-align: center;
}

.note-news__list,
.note-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  align-items: stretch;
}

.note-news__card {
  overflow: hidden;
  min-height: 100%;
  background-color: rgba(11, 19, 43, 0.72);
  border: 1px solid rgba(232, 213, 181, 0.16);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.note-news__card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 213, 181, 0.5);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.note-news__thumb {
  display: block;
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%;
  background: rgba(12, 31, 48, 0.85);
  overflow: hidden;
}

.note-news__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.note-news__card:hover .note-news__thumb img {
  transform: scale(1.04);
}

.note-news__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 2rem;
}

.note-news__date {
  margin-bottom: 0.85rem;
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.note-news__title,
.note-news__body h3 {
  margin-bottom: 1rem;
  color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.note-news__body h3 a {
  color: inherit;
  text-decoration: none;
}

.note-news__excerpt,
.note-news__body p:not(.note-news__date) {
  flex-grow: 1;
  color: var(--color-text-sub);
  font-size: 0.86rem;
  line-height: 1.85;
}

.note-news__card-more,
.note-news__readmore {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--color-gold);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-decoration: none;
}

.note-news__card--loading,
.note-news__fallback {
  grid-column: 1 / -1;
  padding: 3rem 2rem;
  color: var(--color-text-main);
  text-align: center;
}

.note-news__fallback-text {
  margin-bottom: 1.5rem;
  color: var(--color-text-main);
}

.note-news__more {
  margin-top: 3rem;
  text-align: center;
}

/* 11. FAQセクション (FAQ Section)
   ========================================================================== */
.faq {
  padding: 10rem 0;
  background-color: var(--color-midnight-light);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq__item {
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 2rem;
  transition: all 0.3s;
}

.faq__item:hover {
  border-color: rgba(232, 213, 181, 0.3);
}

.faq__item-q {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-white);
  cursor: pointer;
  position: relative;
  padding-right: 2rem;
  display: flex;
  align-items: center;
}

.faq__item-q::before {
  content: 'Q.';
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-gold);
  margin-right: 0.8rem;
}

.faq__item-q::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-gold);
  transition: transform 0.3s;
}

.faq__item.active .faq__item-q::after {
  transform: rotate(45deg);
}

.faq__item-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s;
  padding-top: 0;
}

.faq__item.active .faq__item-a {
  max-height: 500px; /* 十分な高さ */
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1rem;
}

.faq__item-a p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* 12. フッター (Footer)
   ========================================================================== */
.footer {
  background-color: var(--color-midnight);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 6rem 0 3rem 0;
}

.footer__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.footer__info {
  max-width: 500px;
}

.footer__logo-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
}

.footer__addr {
  font-size: 0.9rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer__note {
  font-size: 0.8rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.footer__btn-shop {
  margin-top: 1rem;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
}

.footer__copyright {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  letter-spacing: 0.1em;
}

/* 13. キーフレームアニメーション
   ========================================================================== */
@keyframes slowZoom {
  0% { transform: scale(1.02); }
  100% { transform: scale(1.08); }
}

@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scrollDown {
  0% { top: -30px; }
  50% { top: 60px; }
  100% { top: 60px; }
}

/* 14. メディアクエリ (Responsive Design)
   ========================================================================== */

/* タブレットサイズ (1024px以下) */
@media screen and (max-width: 1024px) {
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-card.premium-card {
    grid-column: span 2;
    max-width: 500px;
    margin: 0 auto;
  }
  .process__sub-block {
    flex-direction: column;
    gap: 3rem;
  }
  .story__wrapper {
    max-width: 100%;
    margin-left: 0;
  }
  .note-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* モバイルサイズ (768px以下) */
@media screen and (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section-title {
    margin-bottom: 3rem;
  }

  .hero__title {
    font-size: 2.6rem;
  }

  .about {
    padding: 6rem 0;
  }

  .process {
    padding: 6rem 0;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 5rem;
  }

  .process__card {
    padding: 2.5rem 1.8rem;
  }

  .process__sub-title {
    font-size: 1.5rem;
  }

  .products {
    padding: 6rem 0;
  }

  .products__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-card.premium-card {
    grid-column: span 1;
  }

  .product-card {
    padding: 2rem 1.5rem;
  }

  .products__spec {
    padding: 2.5rem 1.5rem;
  }

  .usage {
    padding: 6rem 0;
  }

  .usage__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .usage__item {
    padding-left: 1.5rem;
  }

  .story {
    padding: 8rem 0;
  }

  .story__wrapper {
    padding: 3rem 2rem;
  }

  .note-news {
    padding: 6rem 0;
  }

  .note-news__lead {
    margin-bottom: 3rem;
    text-align: left;
  }

  .note-news__list,
  .note-news__grid {
    grid-template-columns: 1fr;
  }

  .note-news__body {
    padding: 1.6rem;
  }

  .faq {
    padding: 6rem 0;
  }

  .faq__item {
    padding: 1.2rem 1.5rem;
  }

  .footer {
    padding: 4rem 0 2rem 0;
  }

  .footer__wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  /* バーガーメニュー & スマホナビゲーション */
  .header__burger {
    display: block;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-midnight);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6rem 2rem 2rem 2rem;
    transition: right var(--transition-speed) ease-in-out;
  }

  .header__nav.active {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    width: 100%;
  }

  .header__btn {
    width: 100%;
    text-align: center;
    padding: 0.8rem;
  }

  /* バーガーメニューのアニメーション */
  .header__burger.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }
  .header__burger.active span:nth-child(2) {
    opacity: 0;
  }
  .header__burger.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}

/* 画像イメージ注記スタイル */
.img-note {
  display: block;
  font-size: 0.7rem;
  color: var(--color-text-sub);
  opacity: 0.65;
  margin-top: 0.5rem;
  text-align: center;
  letter-spacing: 0.05em;
}
.hero .img-note {
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  margin-top: 0;
  z-index: 4;
}
.story .img-note {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  z-index: 2;
}

/* 非公式サイトの免責文用スタイル */
.site-disclaimer {
  max-width: 960px;
  margin: 3rem auto 1.5rem;
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  text-align: center;
}

.site-disclaimer p {
  margin: 0;
}
