/*
Theme Name: Kurazono SL
Theme URI: https://kurazono.jp
Author: Beef Kurazono
Author URI: https://kurazono.jp
Description: 倉薗牛オーナー様限定LP — シングルオリジン和牛 D2C
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kurazono-sl
*/

/* ==========================================================================
   ベース・タイポグラフィ
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-off-white: #f9f9f9;
  --color-text: #333333;
  --color-text-muted: #666666;
  --color-border: #e8e8e8;
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --spacing-section: clamp(5rem, 12vw, 9rem);
  --max-width-content: 42rem;
  --max-width-wide: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

.kz-lp {
  overflow-x: clip;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt" 1;
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
  overflow-x: clip;
  max-width: 100%;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 画像ブロック共通：ビューポート幅を超えないよう制約 */
.kz-media,
.kz-hero__bg,
.kz-full-bleed,
.kz-editorial__media,
.kz-offer__image {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.kz-media img,
.kz-hero__bg img,
.kz-full-bleed img,
.kz-editorial__media img,
.kz-offer__image img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   レイアウトユーティリティ
   ========================================================================== */

.kz-container {
  width: 100%;
  max-width: var(--max-width-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3rem);
  padding-right: clamp(1.25rem, 4vw, 3rem);
  min-width: 0;
}

section {
  max-width: 100%;
  overflow-x: clip;
}

.kz-container--narrow {
  max-width: var(--max-width-content);
}

.kz-section {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

.kz-section--alt {
  background-color: var(--color-off-white);
}

/* ==========================================================================
   見出し・テキスト装飾
   ========================================================================== */

.kz-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.kz-heading-xl {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: 0.08em;
  margin: 0 0 1.5rem;
  word-break: keep-all;
  line-break: strict;
}

/* 見出しの意図した改行（モバイルの泣き別れ防止） */
.kz-heading-line {
  display: block;
}

.kz-nowrap {
  white-space: nowrap;
}

@media (min-width: 768px) {
  #offer-heading .kz-heading-line:nth-child(2),
  #offer-heading .kz-heading-line--join-md {
    display: inline;
  }
}

@media (max-width: 767px) {
  .kz-heading-xl {
    font-size: clamp(1.375rem, 5.8vw, 1.625rem);
    letter-spacing: 0.05em;
    line-height: 1.75;
  }

  .kz-heading-lg {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    letter-spacing: 0.04em;
  }

  .kz-hero__badge {
    letter-spacing: 0.2em;
    max-width: 100%;
  }

  .kz-hero__title {
    letter-spacing: 0.06em;
    max-width: 100%;
  }
}

.kz-heading-lg {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin: 0 0 1.25rem;
}

.kz-heading-md {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

.kz-lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 2;
  color: var(--color-text);
}

.kz-body {
  font-size: clamp(0.9375rem, 1.5vw, 1rem);
  line-height: 2.05;
  color: var(--color-text);
}

.kz-body + .kz-body {
  margin-top: 1.75rem;
}

.kz-emphasis {
  display: inline;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.1em;
}

.kz-quote-mark {
  font-size: 3rem;
  line-height: 0;
  color: var(--color-border);
  display: block;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* ==========================================================================
   FV（ファーストビュー）
   ========================================================================== */

.kz-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.kz-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.kz-hero__bg img {
  object-position: center 40%;
}

.kz-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.55) 45%,
    rgba(255, 255, 255, 0.92) 75%,
    rgba(255, 255, 255, 1) 100%
  );
  z-index: 1;
}

.kz-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(6rem, 18vh, 10rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.kz-hero__badge {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  padding: 0.65em 1.4em;
  border: 1px solid var(--color-text);
  margin-bottom: 2rem;
}

.kz-hero__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.1em;
  max-width: 28em;
  margin: 0 0 2rem;
}

.kz-hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  color: var(--color-text-muted);
  margin-top: 3rem;
}

.kz-hero__scroll-line {
  width: 3rem;
  height: 1px;
  background: var(--color-text-muted);
  animation: kz-scroll-pulse 2s ease-in-out infinite;
}

@keyframes kz-scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleX(0.6); transform-origin: left; }
  50% { opacity: 1; transform: scaleX(1); }
}

/* ==========================================================================
   エディトリアル画像ブロック
   ========================================================================== */

.kz-editorial {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  min-width: 0;
  max-width: 100%;
}

.kz-editorial__text {
  min-width: 0;
  max-width: 100%;
}

.kz-philosophy-extra {
  max-width: var(--max-width-content);
  margin-top: clamp(3rem, 8vw, 5rem);
  min-width: 0;
}

@media (min-width: 768px) {
  .kz-editorial {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .kz-editorial--reverse .kz-editorial__media {
    order: 2;
  }

  .kz-editorial--reverse .kz-editorial__text {
    order: 1;
  }
}

.kz-editorial__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--color-off-white);
}

.kz-editorial__media img {
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.8s ease, transform 1.2s ease;
}

.kz-editorial__media:hover img {
  filter: grayscale(0%);
}

.kz-editorial__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

.kz-full-bleed {
  width: 100%;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: var(--color-off-white);
}

@media (max-width: 767px) {
  .kz-full-bleed {
    aspect-ratio: 4 / 3;
  }
}

.kz-full-bleed img {
  object-fit: cover;
}

/* ==========================================================================
   証明・血統書ブロック
   ========================================================================== */

.kz-proof-card {
  border: 1px solid var(--color-border);
  background: var(--color-white);
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: 2.5rem;
}

.kz-proof-card__title {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.kz-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-off-white);
  font-size: 0.9375rem;
}

.kz-proof-row:last-child {
  border-bottom: none;
}

.kz-proof-row__label {
  flex: 0 0 7rem;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.kz-proof-row__value {
  flex: 1;
  min-width: 0;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   オファーカード
   ========================================================================== */

.kz-offers {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  margin-top: 3rem;
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .kz-offers {
    grid-template-columns: 1fr 1fr;
  }
}

.kz-offer {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}

.kz-offer__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-off-white);
}

.kz-offer__image img {
  transition: transform 0.9s ease;
}

@media (hover: hover) {
  .kz-offer:hover .kz-offer__image img {
    transform: scale(1.03);
  }

  .kz-editorial__media:hover img {
    transform: scale(1.02);
  }
}

.kz-offer__body {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kz-offer__name {
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}

.kz-offer__weight {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.kz-offer__tagline {
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-off-white);
}

.kz-offer__desc {
  font-size: 0.9375rem;
  line-height: 2;
  flex: 1;
  margin-bottom: 1.75rem;
}

.kz-offer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  margin-bottom: 1.75rem;
}

.kz-offer__limit {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}

.kz-offer__limit strong {
  font-weight: 500;
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.kz-offer__price {
  text-align: right;
}

.kz-offer__price-label {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  display: block;
}

.kz-offer__price-value {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   ボタン
   ========================================================================== */

.kz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.15em 2em;
  font-family: var(--font-serif);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-align: center;
  color: var(--color-white);
  background-color: var(--color-text);
  border: 1px solid var(--color-text);
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.kz-btn:hover,
.kz-btn:focus {
  background-color: var(--color-white);
  color: var(--color-text);
  outline: none;
}

.kz-btn--outline {
  background-color: transparent;
  color: var(--color-text);
}

.kz-btn--outline:hover,
.kz-btn--outline:focus {
  background-color: var(--color-text);
  color: var(--color-white);
}

/* ==========================================================================
   締切・クロージング
   ========================================================================== */

.kz-deadline {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  border: 1px solid var(--color-border);
  background: var(--color-off-white);
  margin-top: 3rem;
}

.kz-deadline__label {
  font-size: 0.6875rem;
  letter-spacing: 0.28em;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
}

.kz-deadline__date {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.kz-signature {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
  text-align: right;
}

.kz-signature__company {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.kz-signature__name {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

/* ==========================================================================
   フッター
   ========================================================================== */

.kz-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.kz-footer__copy {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin: 0;
}

/* ==========================================================================
   区切り・装飾
   ========================================================================== */

.kz-divider {
  width: 3rem;
  height: 1px;
  background: var(--color-text);
  margin: 2.5rem 0;
}

.kz-divider--center {
  margin-left: auto;
  margin-right: auto;
}

.kz-stat {
  display: inline-block;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 0.15em;
  margin: 0.5rem 0 0.25rem;
}

.kz-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

/* AOS 初期状態のちらつき防止 */
[data-aos] {
  pointer-events: auto;
}
