/* ============================================================
   SECTION 01: MV
   ============================================================ */
/*@media screen {
	html { margin-top: 20px !important;
	} }*/

.mv {
  width: 100%;
  background: var(--bg);
  overflow: hidden;
}

.mv-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
  position: relative;
  min-height: calc(100vh - 72px); /* ヘッダー高さ分を引く */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 円形テキスト */
.mv-circle-text {
  position: absolute;
  top: 2%;
  left: 25%;
  width: 170px;
  height: 170px;
  animation: rotateSlow 25s linear infinite;
  z-index: 4;
}


/**
** section .top_mv：メインビジュアル ────────────────────────────────────
**/

.mv .mv-arch-wrap{
	width: 90%;
	height:640px;
	margin: 0 auto;
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-evenly;
}:

.mv-arch-wrap .main {
    margin: 0 10px;
    -webkit-flex: 2;
    flex: 2;
  }
.mv-arch-wrap .side {
    -webkit-flex: 1;
    flex: 1;
	padding-top: 120px;
  }

.mv .mv-arch-wrap .has-parallax{
  display: flex;
	width:530px;
  color: #fff;
  text-align: center;
  height: 100%;
  justify-content: center;
  align-items: center;
  background:url("/wp-content/themes/AlluneDesign/assets/img/bg.jpg") center center / cover no-repeat;
  background-attachment: fixed;
  --bdr: 380;
    background-color: #fff;
    border: .15em solid #bca68b;
    border-top-left-radius: calc(var(--bdr) * 1em / 16);
    border-top-right-radius: calc(var(--bdr) * 1em / 16);
    font-size: 1vw;
    position: relative;
	box-shadow: 0 0 2px 2px #fff inset,
0 0 4px 4px #fff inset,
0 0 8px 8px #fff inset,
0 0 12px 12px #fff inset;
}


/* 左キャッチ */
.mv-copy-left {
  position: absolute;
  left: 40px;
  top: 45%;
  transform: translateY(-50%);
  z-index: 4;
  max-width: 230px;
}

.mv-catch {
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin-bottom: 22px;
}

.mv-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 2.6;
  color: var(--ink-mid);
  letter-spacing: 0.06em;
}

/* 右縦書き */
.mv-copy-right {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
	display: grid;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    z-index: 4;
    height: 80%;
}

.mv-right-main {
  font-size: clamp(20px, 2.2vw, 32px);
  /*font-size: clamp(16px, 1.9vw, 24px);*/
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.18em;
  color: var(--ink);
}

.mv-right-sub {
    font-size: 13px;
    font-weight: 300;
    line-height: 2.2;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    padding-top: 15%;
    padding-right: 10px;
}

/* ============================================================
   SECTION 02: STATS
   ============================================================ */
.stats-section {
  background: var(--bg);
  padding: 64px 4%;
}

.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stats-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  line-height: 1.7;
}

.stats-lead {
  font-size: 12px;
  font-weight: 300;
  line-height: 2.3;
  color: var(--ink-mid);
  margin-bottom: 52px;
  letter-spacing: 0.03em;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 0 60px;
}

.stat-icon {
  height: 48px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.18em;
  font-weight: 300;
  line-height: 1;
}

.stat-num {
  font-size: clamp(32px, 3.3vw, 52px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.stat-num small {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 300;
  letter-spacing: 0.12em;
}

.stat-divider {
  width: 1px;
  height: 72px;
  background: var(--line);
  flex-shrink: 0;
  align-self: center;
}

/* ============================================================
   SECTION 03: SERVICE
   ============================================================ */
.service-section {
  background: var(--bg);
  padding: 80px 4%;
}

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

.service-heading {
  text-align: center;
  margin-bottom: 52px;
}

.svc-en {
  font-size: 34px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.svc-ja {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  font-weight: 300;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card { background: transparent; }

.svc-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 3px;
  line-height: 1;
}

.svc-label {
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  line-height: 1;
}

.svc-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-warm);
}

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

.service-card:hover .svc-img { transform: scale(1.03); }

.svc-cat {
  font-size: 12px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.svc-text {
  font-size: 12px;
  font-weight: 300;
  line-height: 2.1;
  color: var(--ink-mid);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.svc-link {
  font-size: 11px;
  color: var(--ink-mid);
  text-decoration: none;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}

.svc-link:hover { color: var(--terra); text-decoration: none; }

.svc-line {
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}

/* ============================================================
   SECTION 04: WORKS
   ============================================================ */
.works-section {
  background: var(--bg);
  padding: 72px 4%;
}

.works-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 52px;
  align-items: start;
}

.works-side { padding-top: 4px; }

.works-en {
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  line-height: 1;
}

.works-ja {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1;
}

.works-desc {
  font-size: 12px;
  font-weight: 300;
  line-height: 2.3;
  color: var(--ink-mid);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.works-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding: 11px 18px;
  border: 1px solid rgba(42,33,24,0.2);
  transition: color 0.22s, border-color 0.22s;
  white-space: nowrap;
}

.works-btn:hover { color: var(--terra); border-color: var(--terra); text-decoration: none; }

.works-arrow {
  font-size: 16px;
  transition: transform 0.22s;
}

.works-btn:hover .works-arrow { transform: translateX(3px); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.work-item { background: transparent; }

.work-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  margin-bottom: 10px;
  background: var(--bg-warm);
}

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

.work-item:hover .work-img { transform: scale(1.04); }

.work-cat {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 5px;
  line-height: 1.5;
}

.work-desc {
  font-size: 11px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-mid);
  letter-spacing: 0.02em;
}

/* ============================================================
   SECTION 05: CTA
   ============================================================ */
.cta-section {
  background: #ece3d8;
  overflow: hidden;
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  min-height: 160px;
}

.cta-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 160px;
  overflow: hidden;
}

.cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.cta-text-wrap {
  padding: 48px 52px;
}

.cta-title {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  white-space: nowrap;
}

.cta-body {
  font-size: 12px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 2.3;
  letter-spacing: 0.04em;
}

.cta-btn-wrap {
  padding: 48px 48px 48px 0;
  flex-shrink: 0;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: var(--navy);
  color: var(--cream);
  padding: 18px 32px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.28s;
}

.cta-btn:hover { background: var(--terra); color: var(--cream); text-decoration: none; }

.cta-btn-arrow {
  font-size: 18px;
  font-weight: 300;
  transition: transform 0.22s;
}

.cta-btn:hover .cta-btn-arrow { transform: translateX(4px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 1024px */
@media (max-width: 1024px) {
  .mv-copy-right { display: none; }
  .mv-arch-wrap  { width: 48%; }
  .works-grid    { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cta-title     { white-space: normal; font-size: 14px; }
  .cta-inner     { grid-template-columns: 200px 1fr auto; }
}

/* 768px */
@media (max-width: 768px) {
  /* MV */
  .mv-inner {
    flex-direction: column;
    padding: 24px 5% 48px;
    min-height: auto;
  }
  .mv-circle-text {
    position: relative;
    top: auto; left: auto;
    width: 90px; height: 90px;
    margin: 0 auto 20px;
  }
  .mv-arch-wrap {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 72%; max-width: 300px;
    margin: 0 auto 28px;
  }
  .mv-copy-left {
    position: relative;
    left: auto; top: auto;
    transform: none;
    max-width: 100%;
    text-align: center;
  }

  /* Stats */
  .stats-grid   { flex-direction: column; gap: 32px; }
  .stat-divider { width: 48px; height: 1px; }
  .stat-item    { padding: 0; align-items: center; }

  /* Service */
  .service-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Works */
  .works-inner { grid-template-columns: 1fr; gap: 28px; }
  .works-grid  { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-inner     { grid-template-columns: 1fr; }
  .cta-img-wrap  { min-height: 200px; }
  .cta-text-wrap { padding: 40px 5%; text-align: center; }
  .cta-btn-wrap  { padding: 0 5% 40px; display: flex; justify-content: center; }
}

/* 480px */
@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
  .mv-catch   { font-size: 24px; }
}
