/*
  ============================================================
  SOUKEN不動産ページ — WordPress組み込み用CSS
  ============================================================
  
  すべてのクラスに "sk-" プレフィックスを付与し、
  既存WordPressテーマとの競合を防止しています。
  
  【必要なフォント】
  Google Fonts: Noto Serif JP, Noto Sans JP, Playfair Display, Lato
  ============================================================
*/

/* ─── Reset & Base ─── */
.sk-section *,
.sk-hero * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Container ─── */
.sk-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .sk-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .sk-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ─── Typography ─── */
.sk-heading-serif {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', '游明朝', serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: #333;
}

.sk-display-font {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sk-text-body {
  font-family: 'Noto Sans JP', 'Lato', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: 400;
  line-height: 2;
  color: #555;
}

.sk-label-mono {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  display: block;
}

.sk-label-mono--olive { color: #6b6e58; }
.sk-label-mono--small { font-size: 10px; color: #999; letter-spacing: 0.15em; }
.sk-label-mono--light { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ─── Heading Sizes ─── */
.sk-heading--xl { font-size: 1.5rem; }
.sk-heading--lg { font-size: 1.25rem; }
.sk-heading--md { font-size: 1.125rem; }
.sk-heading--sm { font-size: 1.125rem; }
.sk-heading--base { font-size: 1rem; }

@media (min-width: 768px) {
  .sk-heading--xl { font-size: 2.25rem; }
  .sk-heading--lg { font-size: 1.5rem; }
  .sk-heading--md { font-size: 1.25rem; }
}

/* ─── Text Utilities ─── */
.sk-text--lg { font-size: 1rem; }
.sk-text--sm { font-size: 0.875rem; }
.sk-text--xs { font-size: 0.75rem; }
.sk-text--bold { font-weight: 500; color: #333; }
.sk-text--muted { color: #999; }
.sk-text--olive { color: #6b6e58; }
.sk-text--white { color: #fff; }
.sk-text--light { color: rgba(255,255,255,0.7); font-size: 0.875rem; line-height: 1.9; }
.sk-text--light-muted { color: rgba(255,255,255,0.4); }
.sk-text-center-mobile { text-align: center; }

@media (min-width: 768px) {
  .sk-text--lg { font-size: 1.125rem; }
  .sk-text-center-mobile { text-align: left; }
}

/* ─── Spacing ─── */
.sk-mt-1 { margin-top: 0.25rem; }
.sk-mt-2 { margin-top: 0.5rem; }
.sk-mt-3 { margin-top: 0.75rem; }
.sk-mt-4 { margin-top: 1rem; }
.sk-mt-6 { margin-top: 1.5rem; }
.sk-mb-4 { margin-bottom: 1rem; }
.sk-mb-6 { margin-bottom: 1.5rem; }
.sk-mb-8 { margin-bottom: 2rem; }
.sk-mb-16 { margin-bottom: 4rem; }
.sk-gap-12 { gap: 3rem; }

@media (min-width: 768px) {
  .sk-gap-12 { gap: 3rem; }
}

/* ─── Section Backgrounds ─── */
.sk-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .sk-section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

.sk-section--white { background-color: #fff; }
.sk-section--beige { background-color: #fafaf6; }
.sk-section--dark { background-color: #3f4333; color: #fff; }
.sk-section--dark-cta { background-color: #3f4333; color: #fff; }

/* ─── Grid System ─── */
.sk-grid-12 {
  display: grid;
  gap: 2rem;
}

.sk-grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sk-grid-12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 3rem;
  }
  .sk-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .sk-col-4 { grid-column: span 4; }
  .sk-col-5 { grid-column: span 5; }
  .sk-col-7 { grid-column: span 7; }
  .sk-col-8 { grid-column: span 8; }
  .sk-items-center { align-items: center; }
}

/* ─── Section Header ─── */
.sk-section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.sk-section-header .sk-label-mono {
  margin-bottom: 1rem;
}

.sk-divider {
  width: 3rem;
  height: 2px;
  background-color: #6b6e58;
  margin: 1.5rem auto 0;
}

/* ─── Section Label ─── */
.sk-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.sk-section-label__line {
  width: 1.5rem;
  height: 2px;
  background-color: #6b6e58;
}

/* ─── Buttons ─── */
.sk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Lato', 'Noto Sans JP', sans-serif;
  letter-spacing: 0.08em;
}

.sk-btn--primary {
  background-color: #6b6e58;
  color: #fff;
}

.sk-btn--primary:hover {
  background-color: #565846;
}

.sk-btn--outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #fff;
  background: transparent;
}

.sk-btn--outline:hover {
  background-color: rgba(255,255,255,0.1);
}

/* ─── Links ─── */
.sk-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.sk-link:hover { gap: 0.75rem; }
.sk-link--olive { color: #6b6e58; }
.sk-link--brown { color: #7a4a45; }

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.sk-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

@media (min-width: 768px) {
  .sk-hero { min-height: 100vh; }
}

.sk-hero__bg {
  position: absolute;
  inset: 0;
}

.sk-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sk-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1));
}

.sk-hero__content {
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

@media (min-width: 768px) {
  .sk-hero__content { padding-bottom: 6rem; }
}

.sk-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sk-hero__label-line {
  width: 2rem;
  height: 2px;
  background-color: #fff;
}

.sk-hero__label .sk-label-mono {
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.2em;
  font-size: 12px;
}

.sk-hero__title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 1.875rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .sk-hero__title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .sk-hero__title { font-size: 3.75rem; }
}

.sk-hero__subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  line-height: 2;
  max-width: 42rem;
  margin-bottom: 2rem;
  font-family: 'Noto Sans JP', sans-serif;
}

@media (min-width: 768px) {
  .sk-hero__subtitle { font-size: 1.125rem; }
}

.sk-hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .sk-hero__buttons { flex-direction: row; }
}

.sk-hero__side-label {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

@media (min-width: 1024px) {
  .sk-hero__side-label { display: block; }
}

.sk-hero__side-label .sk-display-font {
  writing-mode: vertical-rl;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.3em;
}

.sk-br-md { display: none; }
@media (min-width: 768px) {
  .sk-br-md { display: inline; }
}

/* ═══════════════════════════════════════════
   LICENSE BADGE
   ═══════════════════════════════════════════ */
.sk-license {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}

.sk-license__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(107,110,88,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sk-license__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #333;
  font-family: 'Noto Sans JP', sans-serif;
}

.sk-license__number {
  font-size: 0.75rem;
  color: #999;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ═══════════════════════════════════════════
   3 POINTS CARDS
   ═══════════════════════════════════════════ */
.sk-points-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .sk-points-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.sk-point-card {
  background-color: #fff;
  padding: 2rem 2.5rem;
  position: relative;
  transition: box-shadow 0.5s ease;
}

.sk-point-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.sk-point-card__number {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: rgba(107,110,88,0.1);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  font-weight: 600;
}

@media (min-width: 768px) {
  .sk-point-card__number { font-size: 4.5rem; }
}

.sk-point-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(107,110,88,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #6b6e58;
}

.sk-point-card .sk-label-mono--small {
  margin-bottom: 0.5rem;
}

.sk-point-card .sk-heading-serif {
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   BIG ZERO (Commission Free)
   ═══════════════════════════════════════════ */
.sk-big-zero {
  position: relative;
  display: inline-block;
  margin-top: 1rem;
}

.sk-big-zero__num {
  font-family: 'Playfair Display', serif;
  font-size: 100px;
  color: #6b6e58;
  line-height: 1;
  display: block;
  font-weight: 600;
}

@media (min-width: 768px) {
  .sk-big-zero__num { font-size: 140px; }
}

@media (min-width: 1024px) {
  .sk-big-zero__num { font-size: 180px; }
}

.sk-big-zero__yen {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.875rem;
  color: #333;
  position: absolute;
  bottom: 0.5rem;
  right: -2rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .sk-big-zero__yen { font-size: 2.25rem; right: -3rem; }
}

/* ═══════════════════════════════════════════
   COMPARISON BOX
   ═══════════════════════════════════════════ */
.sk-comparison {
  background-color: #fafaf6;
  padding: 1.5rem 2rem;
}

.sk-comparison__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.sk-comparison__row:last-child { margin-bottom: 0; }

.sk-comparison__icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1;
}

.sk-comparison__icon--gray {
  background-color: #ddd;
  color: #fff;
}

.sk-comparison__icon--olive {
  background-color: #6b6e58;
}

/* ═══════════════════════════════════════════
   IMAGE WITH LABEL (Before/After)
   ═══════════════════════════════════════════ */
.sk-image-label-wrap {
  position: relative;
  overflow: hidden;
}

.sk-image-label-wrap__img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .sk-image-label-wrap__img { height: 20rem; }
}

.sk-image-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.375rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
}

.sk-image-label--dark { background-color: rgba(0,0,0,0.6); }
.sk-image-label--olive { background-color: #6b6e58; }

/* ═══════════════════════════════════════════
   BENEFITS GRID
   ═══════════════════════════════════════════ */
.sk-benefits-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .sk-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .sk-benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

.sk-benefit-card {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 1.5rem;
}

.sk-benefit-card__icon {
  color: #9ea38a;
  margin-bottom: 0.75rem;
}

.sk-benefit-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
}

.sk-benefit-card__text {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ═══════════════════════════════════════════
   FLOW / TIMELINE
   ═══════════════════════════════════════════ */
.sk-flow {
  max-width: 48rem;
  margin: 0 auto;
}

.sk-flow__step {
  display: flex;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .sk-flow__step { gap: 2.5rem; }
}

.sk-flow__timeline {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sk-flow__num {
  width: 3rem;
  height: 3rem;
  background-color: #6b6e58;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sk-flow__line {
  width: 1px;
  flex-grow: 1;
  background-color: rgba(107,110,88,0.2);
  min-height: 60px;
}

.sk-flow__step--last .sk-flow__timeline .sk-flow__line {
  display: none;
}

.sk-flow__content {
  padding-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .sk-flow__content { padding-bottom: 3.5rem; }
}

.sk-flow__content .sk-heading-serif {
  margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════
   AREA LIST
   ═══════════════════════════════════════════ */
.sk-area-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sk-area-item__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.sk-area-item__text {
  padding-left: 1.75rem;
  line-height: 2;
  color: #666;
}

/* ═══════════════════════════════════════════
   DESIGNER RENTAL IMAGE
   ═══════════════════════════════════════════ */
.sk-designer-image {
  position: relative;
}

.sk-designer-image__img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .sk-designer-image__img { height: 30rem; }
}

.sk-designer-image__badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background-color: #6b6e58;
  padding: 0.75rem 1.5rem;
}

@media (min-width: 768px) {
  .sk-designer-image__badge {
    bottom: -1.5rem;
    right: -1.5rem;
    padding: 1rem 2rem;
  }
}

.sk-designer-image__badge .sk-display-font {
  font-size: 0.875rem;
  color: #fff;
  letter-spacing: 0.08em;
}

@media (min-width: 768px) {
  .sk-designer-image__badge .sk-display-font { font-size: 1rem; }
}

/* ═══════════════════════════════════════════
   OWNER CARDS
   ═══════════════════════════════════════════ */
.sk-owner-grid {
  display: grid;
  gap: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .sk-owner-grid { grid-template-columns: repeat(2, 1fr); }
}

.sk-owner-card {
  background-color: #fff;
  padding: 2rem 2.5rem;
  border-left: 4px solid;
}

.sk-owner-card--olive { border-left-color: #6b6e58; }
.sk-owner-card--brown { border-left-color: #7a4a45; }

/* ═══════════════════════════════════════════
   CTA / CONTACT SECTION
   ═══════════════════════════════════════════ */
.sk-cta-inner {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.sk-cta-buttons {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .sk-cta-buttons { grid-template-columns: repeat(2, 1fr); }
}

.sk-cta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: background-color 0.3s ease;
  color: #fff;
}

.sk-cta-card:hover {
  background-color: rgba(255,255,255,0.05);
}

.sk-cta-card--primary {
  background-color: #6b6e58;
  border-color: transparent;
}

.sk-cta-card--primary:hover {
  background-color: #565846;
}

.sk-cta-card__label {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.sk-cta-card--primary .sk-cta-card__label {
  color: rgba(255,255,255,0.8);
}

.sk-cta-card__value {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.sk-cta-card--primary .sk-cta-card__value {
  font-size: 1.25rem;
}

.sk-cta-card__note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Noto Sans JP', sans-serif;
}

.sk-cta-card--primary .sk-cta-card__note {
  color: rgba(255,255,255,0.7);
}

.sk-mt-10 { margin-top: 2.5rem; }

/* ═══════════════════════════════════════════
   SCROLL ANIMATION (CSS Only)
   ═══════════════════════════════════════════ */
.sk-anim-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.sk-anim-item.sk-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay for children */
.sk-anim-section .sk-anim-item:nth-child(2) { transition-delay: 0.15s; }
.sk-anim-section .sk-anim-item:nth-child(3) { transition-delay: 0.3s; }
.sk-anim-section .sk-anim-item:nth-child(4) { transition-delay: 0.45s; }
