/* ===========================================================
   Pet Atelier Ao — (CRJ WEB 制作サンプル / PREMIUM プラン)
   モノトーン + 極薄ピンクアクセント + 明朝体
   =========================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fafaf8;
  --bg-alt: #fff;
  --bg-soft: #f5efe9;
  --bg-blush: #f7ebe7;
  --fg: #111111;
  --fg-muted: #4a4a48;
  --fg-subtle: #8a8580;
  --line: #e8e3dc;
  --line-soft: #efeae3;
  --accent: #b7846e;
  --accent-soft: rgba(183, 132, 110, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-feature-settings: "palt";
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 明朝の見出し */
h1, h2, h3, h4,
.serif {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.5;
  color: var(--fg);
}

/* 英語ブランド(Cormorant) */
.brand-en,
.en {
  font-family: 'Cormorant Garamond', 'Noto Serif JP', serif;
  letter-spacing: 0.02em;
}

a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent);
}

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

/* ===========================================================
   多言語切替: data-lang でJS経由切替
   =========================================================== */
[data-lang="en"] { display: none; }
body.lang-en [data-lang="ja"] { display: none; }
body.lang-en [data-lang="en"] { display: inline; }
body.lang-en .block[data-lang="en"],
body.lang-en [data-lang="en"].block { display: block; }

/* ===========================================================
   固定UI: 左上「CRJ WEB に戻る」 / 右上「サンプルバッジ」 / 言語切替
   =========================================================== */
.back-link {
  position: fixed;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fg);
  padding: 8px 16px;
  border-radius: 100px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  font-weight: 500;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s ease, color 0.2s ease;
}

.back-link:hover {
  transform: translateX(-3px);
  color: var(--accent);
}

.back-link .arrow {
  transition: transform 0.25s ease;
}

.back-link:hover .arrow {
  transform: translateX(-2px);
}

/* サンプルバッジ (右上) */
.sample-badge {
  position: fixed;
  top: 16px;
  right: 16px;
  background: #1e1e1c;
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.3;
  z-index: 999;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  min-width: 200px;
  text-align: left;
}

.sample-badge-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-bottom: 3px;
}

.sample-badge-bottom {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: #e04a30;
}

.sample-badge .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e04a30;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* 言語切替ボタン (サンプルバッジの下) */
.lang-toggle {
  position: fixed;
  top: 92px;
  right: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--fg);
  padding: 7px 14px;
  border-radius: 100px;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-size: 12px;
  font-weight: 600;
  z-index: 998;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
  cursor: pointer;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.lang-toggle:hover {
  border-color: var(--fg);
}

.lang-toggle .current {
  font-weight: 600;
  color: var(--fg);
}

.lang-toggle .divider {
  color: var(--fg-subtle);
  font-weight: 300;
}

.lang-toggle .other {
  color: var(--fg-subtle);
  font-weight: 400;
}

body.lang-en .lang-toggle .current-ja {
  color: var(--fg-subtle);
  font-weight: 400;
}

body.lang-en .lang-toggle .current-en {
  color: var(--fg);
  font-weight: 600;
}

/* デフォルト: JAが濃い */
.lang-toggle .current-ja { color: var(--fg); font-weight: 600; }
.lang-toggle .current-en { color: var(--fg-subtle); font-weight: 400; }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding-top: 60px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg);
}

.brand-logo-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--fg-subtle);
  margin-top: 4px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.main-nav a {
  color: var(--fg);
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-weight: 500;
  font-size: 13px;
}

.main-nav a:hover {
  color: var(--accent);
}

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  max-height: 900px;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 40%,
    rgba(255, 255, 255, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 220px 40px 80px;
  color: #fff;
}

.hero-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.85);
  animation: fadeSlow 1.5s 0.3s ease-out both;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
  color: #fff;
  max-width: 620px;
  animation: fadeSlow 1.6s 0.6s ease-out both;
}

.hero-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.08em;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 48px;
  animation: fadeSlow 1.6s 0.9s ease-out both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeSlow 1.6s 1.2s ease-out both;
}

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

.btn-primary {
  background: #fff;
  color: var(--fg);
  padding: 16px 40px;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #fff;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  padding: 16px 40px;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.65);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.35em;
  z-index: 3;
  animation: fadeSlow 1.6s 1.5s ease-out both;
}

.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.7);
  margin: 12px auto 0;
  animation: scrollLine 2.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.3); opacity: 0.3; }
}

/* ===========================================================
   Section 共通
   =========================================================== */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px;
}

.section-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.section-kicker::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}

.section-lead {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 2.2;
  max-width: 680px;
  margin-bottom: 48px;
}

/* ===========================================================
   Philosophy (私たちの哲学)
   =========================================================== */
.philosophy {
  background: var(--bg-soft);
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 160px 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  align-items: start;
}

.philosophy-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--fg);
  letter-spacing: 0.04em;
}

.philosophy-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--fg-muted);
}

.philosophy-text p {
  margin-bottom: 24px;
}

.philosophy-text p:last-child {
  margin-bottom: 0;
}

.philosophy-text em {
  font-family: 'Noto Serif JP', serif;
  font-style: normal;
  color: var(--fg);
  font-weight: 500;
}

.philosophy-signature {
  margin-top: 40px;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--accent);
}

/* ===========================================================
   Puppies (現在迎えられる子犬たち)
   =========================================================== */
.puppies-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.puppy-card {
  color: var(--fg);
  display: flex;
  flex-direction: column;
}

.puppy-card-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  transition: transform 0.6s ease;
  position: relative;
  overflow: hidden;
}

.puppy-card:hover .puppy-card-img {
  transform: scale(1.02);
}

.puppy-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.08) 100%);
}

.puppy-card-no {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}

.puppy-card-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}

.puppy-card-meta {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 8px 20px;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.9;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.puppy-card-meta dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  font-weight: 600;
  padding-top: 4px;
}

.puppy-card-meta dd {
  color: var(--fg);
}

.puppy-card-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.95;
  margin: 20px 0;
}

.puppy-card-cta {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s ease, gap 0.25s ease;
}

.puppy-card:hover .puppy-card-cta {
  color: var(--accent);
  gap: 14px;
}

.puppies-note {
  margin-top: 56px;
  text-align: center;
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 1.9;
  padding: 24px 32px;
  background: var(--bg-blush);
  border-radius: 0;
}

.puppies-note strong {
  color: var(--fg);
  font-weight: 500;
}

/* ===========================================================
   Breeds (犬種紹介)
   =========================================================== */
.breeds {
  background: var(--bg-alt);
}

.breeds-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px;
}

.breeds-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 56px;
}

.breed-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.breed-item:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}

.breed-item:nth-child(even) .breed-image {
  order: 2;
}

.breed-image {
  aspect-ratio: 5 / 4;
  background-size: cover;
  background-position: center;
}

.breed-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 16px;
}

.breed-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.breed-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: var(--fg-subtle);
  margin-bottom: 28px;
}

.breed-desc {
  font-size: 15px;
  line-height: 2.15;
  color: var(--fg-muted);
  margin-bottom: 24px;
}

.breed-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.breed-specs li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 16px;
  font-size: 13px;
  color: var(--fg-muted);
}

.breed-specs .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  font-weight: 600;
  padding-top: 2px;
}

/* ===========================================================
   Process (お迎えまでの流れ)
   =========================================================== */
.process {
  background: var(--bg-soft);
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px;
  position: relative;
  margin-top: 56px;
  align-items: stretch;
}

.process-list::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.process-item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.process-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  /* 1行見出しと2行見出しの高さを揃える */
  min-height: calc(2em * 1.5);
}

.process-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2;
}

/* ===========================================================
   Aftercare
   =========================================================== */
.aftercare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 56px;
}

.aftercare-card {
  padding: 48px 32px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.aftercare-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.aftercare-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 28px;
}

.aftercare-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 14px;
  letter-spacing: 0.02em;
}

.aftercare-desc {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2.1;
}

/* ===========================================================
   Representative (代表者紹介)
   =========================================================== */
.rep {
  background: var(--bg-alt);
}

.rep-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 96px;
  align-items: center;
}

.rep-image {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-blush);
  position: relative;
}

.rep-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8d9c4 0%, #c9a876 100%);
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Cormorant Garamond', serif;
  font-size: 72px;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.rep-content {
  padding: 20px 0;
}

.rep-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.rep-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  margin-bottom: 8px;
}

.rep-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 32px;
  font-weight: 500;
}

.rep-text {
  font-size: 15px;
  line-height: 2.2;
  color: var(--fg-muted);
}

.rep-text p {
  margin-bottom: 22px;
}

.rep-text p:last-child {
  margin-bottom: 0;
}

.rep-career {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg-subtle);
  line-height: 2;
}

.rep-note {
  margin-top: 36px;
  font-size: 11px;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
  line-height: 1.8;
}

/* ===========================================================
   Journal (ジャーナル)
   =========================================================== */
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  margin-top: 56px;
}

.journal-card {
  color: var(--fg);
  display: flex;
  flex-direction: column;
}

.journal-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  margin-bottom: 24px;
  transition: transform 0.6s ease;
}

.journal-card:hover .journal-img {
  transform: scale(1.02);
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
}

.journal-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.15em;
}

.journal-cat {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.2em;
}

.journal-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  transition: color 0.25s ease;
}

.journal-card:hover .journal-title {
  color: var(--accent);
}

.journal-excerpt {
  font-size: 13px;
  color: var(--fg-muted);
  line-height: 2;
}

.journal-foot {
  margin-top: 56px;
  text-align: center;
}

.journal-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--fg);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.journal-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ===========================================================
   Contact (見学のご予約)
   =========================================================== */
.contact {
  background: var(--bg-soft);
}

.contact-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 140px 40px;
  text-align: center;
}

.contact-kicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 24px;
}

.contact-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.contact-lead {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 2.1;
  max-width: 540px;
  margin: 0 auto 56px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.form-row.stack {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.form-row label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-weight: 600;
  padding-top: 14px;
}

.form-row.stack label {
  padding-top: 0;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 14px 2px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--fg);
  transition: border-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.form-row textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--fg);
  color: #fff;
  padding: 18px 48px;
  font-family: 'Cormorant Garamond', 'Noto Sans JP', serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.25s ease;
  margin-top: 16px;
  align-self: center;
}

.form-submit:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

.contact-disclaimer {
  margin-top: 32px;
  font-size: 11px;
  color: var(--fg-subtle);
  line-height: 1.9;
}

/* ===========================================================
   ABOUT THIS SAMPLE (CRJ WEB 営業セクション)
   =========================================================== */
.about-sample {
  background: #1e1e1c;
  color: #fff;
  padding: 120px 40px;
}

.about-sample-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-sample-kicker {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.about-sample-kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: #e04a30;
}

.about-sample-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #fff;
  letter-spacing: 0.02em;
}

.about-sample-title .brand {
  color: #e04a30;
  font-weight: 500;
}

.about-sample-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2.15;
  max-width: 720px;
  margin-bottom: 56px;
}

/* Premium と Standard の差分を並列表示 */
.about-sample-diff {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 64px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.diff-card {
  padding: 8px 0;
}

.diff-card-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.diff-card-label::before {
  content: "";
  width: 16px;
  height: 1px;
  background: #e04a30;
}

.diff-card-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.diff-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.95;
}

.diff-card-example {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
  font-style: italic;
}

/* Premium 全含有機能リスト */
.about-sample-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 48px;
}

.about-sample-price-wrap {
  display: flex;
  flex-direction: column;
}

.about-sample-price-label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 12px;
}

.about-sample-price {
  font-family: 'Noto Serif JP', serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
}

.about-sample-price .pre,
.about-sample-price .unit {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.55);
}

.about-sample-tax {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}

.about-sample-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-sample-specs li {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.about-sample-specs .label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding-top: 4px;
  font-weight: 600;
}

.about-sample-feat-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: #e04a30;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-sample-feat-list {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.about-sample-feat-list li {
  position: relative;
  padding-left: 24px;
}

.about-sample-feat-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e04a30;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l3 3 5-5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.about-sample-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.about-sample-cta .btn-primary {
  background: #e04a30;
  color: #fff;
  padding: 16px 32px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: none;
  border: none;
  border-radius: 0;
  transition: background 0.25s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.about-sample-cta .btn-primary:hover {
  background: #c13d26;
  color: #fff;
  transform: translateY(-2px);
}

.about-sample-cta .btn-ghost {
  background: transparent;
  color: #fff;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: none;
  transition: border-color 0.25s ease, transform 0.2s ease;
}

.about-sample-cta .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.about-sample-note {
  margin-top: 32px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.38);
  letter-spacing: 0.04em;
  line-height: 1.9;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--fg);
  color: rgba(255, 255, 255, 0.88);
  padding: 80px 40px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-brand .brand-logo-main {
  color: #fff;
  font-size: 22px;
}

.footer-brand .brand-logo-sub {
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand-desc {
  margin-top: 20px;
  font-size: 12px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-bottom: 20px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  transition: color 0.25s ease;
}

.footer-list a:hover {
  color: var(--accent);
}

.footer-info {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 2;
}

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

.footer-brand-gl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.footer-brand-gl:hover {
  color: var(--accent);
}

.footer-sample-note {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
}

.footer-sample-note a {
  color: var(--accent);
  font-weight: 500;
}

/* ===========================================================
   fade-up
   =========================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

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

.stagger > .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-up:nth-child(2) { transition-delay: 0.15s; }
.stagger > .fade-up:nth-child(3) { transition-delay: 0.3s; }
.stagger > .fade-up:nth-child(4) { transition-delay: 0.45s; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 900px) {
  .back-link,
  .sample-badge {
    top: 12px;
  }

  .back-link {
    left: 12px;
    font-size: 11px;
    padding: 6px 12px;
  }

  .sample-badge {
    right: 12px;
    padding: 8px 14px;
    min-width: auto;
    border-radius: 12px;
  }

  .sample-badge-top {
    font-size: 9px;
  }

  .sample-badge-bottom {
    font-size: 11px;
  }

  .lang-toggle {
    top: 82px;
    right: 12px;
    font-size: 11px;
    padding: 6px 12px;
  }

  .site-header {
    padding-top: 48px;
  }

  .header-inner {
    padding: 14px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .main-nav {
    order: 3;
    width: 100%;
  }

  .main-nav ul {
    gap: 18px;
    font-size: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .brand-logo-main {
    font-size: 20px;
  }

  .hero {
    height: auto;
    min-height: 600px;
    max-height: none;
  }

  .hero-content {
    padding: 160px 24px 100px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 13px;
  }

  .section,
  .philosophy-inner,
  .breeds-inner,
  .process-inner,
  .rep-inner,
  .contact-inner {
    padding: 80px 24px;
  }

  .about-sample {
    padding: 80px 24px;
  }

  .philosophy-inner,
  .rep-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .puppies-grid,
  .aftercare-grid,
  .journal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .breed-item,
  .breed-item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .breed-item:nth-child(even) .breed-image {
    order: 0;
  }

  .breeds-list {
    gap: 56px;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .process-list::before {
    display: none;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .form-row label {
    padding-top: 0;
  }

  .about-sample-diff {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .about-sample-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .about-sample-feat-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .process-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .rep-name {
    font-size: 28px;
  }
}

/* ===========================================================
   日本語禁則処理:単語途中での改行を防ぐ(本文 + 見出し)
   =========================================================== */
p,
li,
dd,
h1,
h2,
h3,
h4,
.hero-title,
.hero-sub,
.section-title,
.section-lead,
.about-title,
.about-text p,
.philosophy-title,
.philosophy-text p,
.staff-name,
.staff-desc,
.facility-title,
.facility-desc,
.puppy-card-name,
.puppy-card-desc,
.breed-name,
.breed-desc,
.process-title,
.process-desc,
.schedule-desc,
.safety-title,
.safety-desc,
.aftercare-desc,
.gallery-comment,
.journal-excerpt,
.rep-text p,
.fv-title,
.fv-desc,
.menu-note,
.owner-name,
.owner-text p,
.room-name,
.room-desc,
.aside-note,
.contact-lead {
  word-break: keep-all;
  overflow-wrap: break-word;
  line-break: strict;
}

/* ===========================================================
   320px 最狭 (iPhone SE第1世代) の安全マージン
   =========================================================== */
@media (max-width: 360px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  body > *, body > * > * {
    max-width: 100%;
    box-sizing: border-box;
  }
  h1, h2, h3, p, li {
    word-break: keep-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}
