@charset "UTF-8";
/* ============================================
   MIRAI Inc. JP — libretto-works inspired
   ============================================ */

/* --- Custom Properties --- */
:root {
  --dark: #1c1f22;
  --gray: #F4F2ED;
  --gray-mid: #777d85;
  --gray-muted: #88909b;
  --white: #FFFFFF;
  --primary: #2C5F2D;
  --primary-light: #4A8B4C;
  --secondary: #8FB55A;
  --accent: #D4A55A;
  --text: #262626;
  --text-muted: #767676;
  --border: #D8D3C8;
  --bg-warm: #EDE9E0;
  --primary-dark: #1E4420;
  --nav-h: 65px;
  --side-pad: 6.588%;
  --ease-out: cubic-bezier(0.76, 0.09, 0.215, 1);
}

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

html {
  font-size: 62.5%; /* 1rem = 10px */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  line-height: 1.9;
  color: var(--text);
  background: #FEFCF9;
  overflow-x: hidden;
}

/* body.loading-active { overflow: hidden; } */ /* ローディング一旦停止 */

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Container --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* --- Typography --- */
h1, h2, h3 { line-height: 1.4; font-weight: 700; }
h1 { font-weight: 800; }
h3 { font-weight: 500; }

.sec-ttl {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 4.8rem;
  letter-spacing: 0.25em;
  line-height: 1;
}

.sec-lead {
  font-size: 1.3rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 10px;
}

.sec-header {
  padding: 0 var(--side-pad);
  margin-bottom: 60px;
}

.sec-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--secondary);
  margin-top: 20px;
}

/* --- Thumb (shared image container) --- */
.thumb {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}

.thumb::after {
  content: "";
  display: block;
  padding-top: 63.1%;
}

.thumb img,
.thumb-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-placeholder {
  background: linear-gradient(145deg, #E8E3D8 0%, #D8D0C4 50%, #C8C0B4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-placeholder::after {
  content: attr(data-label);
  font-family: 'Syne', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  color: rgba(0,0,0,0.06);
  letter-spacing: 0.1em;
}

/* --- VIEW MORE button (text + underline) --- */
.view-more-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid var(--text);
  background: none;
  color: var(--text);
  font-family: 'Syne', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  transition: color .3s;
}

.view-more-button::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.view-more-label {
  position: relative;
}

.view-more-arrow {
  display: inline-block;
  transition: transform .3s ease;
  font-size: 1.4rem;
}

@media (min-width: 768px) {
  .view-more-button:hover {
    color: var(--primary);
  }
  .view-more-button:hover::after {
    transform: scaleX(1);
  }
  .view-more-button:hover .view-more-arrow {
    transform: translateX(6px);
  }
}

.btn { text-align: right; padding-right: var(--side-pad); width: 100%; }

.t-conceptArea > .btn {
  padding-right: 0;
}

@media (min-width: 1024px) {
  .t-conceptArea > .btn {
    order: 3;
    width: 50%;
    margin-left: auto;
    padding-right: var(--side-pad);
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: var(--white);
  z-index: 1001;
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-logo-icon { height: 2rem; width: auto; }
.nav.scrolled .nav-logo,
.nav-subpage .nav-logo { color: var(--text); }

.nav-links {
  display: none;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}

.nav.scrolled .nav-link,
.nav-subpage .nav-link { color: var(--text); }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-link--contact {
  padding: 8px 24px;
  border: 1px solid currentColor;
  border-radius: 0;
}
.nav-link--contact::after { display: none; }
.nav-link--contact:hover { background: var(--white); color: var(--dark); }
.nav.scrolled .nav-link--contact:hover { background: var(--dark); color: var(--white); }

/* Subpage nav */
.nav-subpage {
  background: rgba(255,255,255,0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-subpage .hamburger span { background: var(--text); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 1001;
  padding: 8px;
}
@media (min-width: 1024px) { .hamburger { display: none; } }

.hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--white);
  transition: transform .3s, opacity .3s, background .3s;
}
.nav.scrolled .hamburger span { background: var(--text); }

.hamburger.active span { background: var(--text); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--white);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.mobile-menu.active { opacity: 1; visibility: visible; }

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 var(--side-pad);
  gap: 4px;
}

.mobile-menu-link {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.mobile-menu-num {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  min-width: 36px;
}

/* ============================================
   VISUAL (HERO)
   ============================================ */
.visual {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .visual { height: 130vh; height: 130dvh; min-height: 900px; }
}

.visual-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.visual-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  will-change: transform;
}

.visual-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease;
  z-index: 1;
}
.visual-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.visual-slide picture,
.visual-slide img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.visual-slide img {
  transform-origin: center;
  will-change: transform;
}

/* Ken Burns */
.visual-slide[data-animation="zoom-in-right"].active img   { animation: kb1 12s cubic-bezier(.25,.46,.45,.94) both; }
.visual-slide[data-animation="zoom-out-left"].active img    { animation: kb2 12s cubic-bezier(.25,.46,.45,.94) both; }
.visual-slide[data-animation="zoom-in-center"].active img   { animation: kb3 12s cubic-bezier(.25,.46,.45,.94) both; }
.visual-slide[data-animation="zoom-out-right"].active img   { animation: kb4 12s cubic-bezier(.25,.46,.45,.94) both; }

@keyframes kb1 { from { transform: scale(1.05); } to { transform: scale(1.25) translateX(-3%); } }
@keyframes kb2 { from { transform: scale(1.25) translateX(3%); } to { transform: scale(1.05); } }
@keyframes kb3 { from { transform: scale(1.05); } to { transform: scale(1.3); } }
@keyframes kb4 { from { transform: scale(1.25) translateX(-3%); } to { transform: scale(1.05); } }

.visual-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(
    to right,
    rgba(28,31,34,0.65) 0%,
    rgba(28,31,34,0.3) 50%,
    transparent 100%
  );
  z-index: 3;
}

/* Hero icon (petal animation) */
.visual-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 120px;
  height: 120px;
}

@media (min-width: 768px) {
  .visual-icon {
    left: auto;
    right: var(--side-pad);
    width: 300px;
    height: 300px;
    transform: translate(-100%, -150%);
  }
}

.petal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.8);
  will-change: opacity, transform;
}

.motion .petal {
  animation: petalFadeIn 0.6s ease-out forwards;
}

@keyframes petalFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.motion .petal-1 { animation-delay: 0.4s; }
.motion .petal-2 { animation-delay: 0.7s; }
.motion .petal-3 { animation-delay: 1.0s; }
.motion .petal-4 { animation-delay: 1.3s; }
.motion .petal-5 { animation-delay: 1.6s; }
.motion .petal-6 { animation-delay: 1.9s; }
.motion .petal-7 { animation-delay: 2.2s; }

/* Hero title */
.visual-ttl {
  position: absolute;
  right: var(--side-pad);
  top: 80%;
  transform: translateY(-80%);
  z-index: 4;
  text-align: right;
}

@media (min-width: 768px) {
  .visual-ttl {
    top: 55%;
    transform: translateY(-50%);
  }
}

.visual-ttl__main {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 3.2rem;
  line-height: 1.45;
  letter-spacing: 0.15em;
  color: var(--white);
  padding-bottom: 15px;
}

@media (min-width: 768px) {
  .visual-ttl__main { font-size: 6.4rem; }
}

@media (min-width: 1200px) {
  .visual-ttl__main { font-size: 8.2rem; }
}

.ttl-line {
  overflow: hidden;
  display: block;
  line-height: 1.2;
  margin: 0.2em 0;
}

.ttl-line__inner {
  display: block;
  transform: translateY(100%) !important;
  opacity: 0 !important;
  transition: none;
}

/* Motion active state */
.motion .ttl-line:nth-child(1) .ttl-line__inner {
  transition: 0.8s var(--ease-out) 2.8s !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.motion .ttl-line:nth-child(2) .ttl-line__inner {
  transition: 0.8s var(--ease-out) 2.95s !important;
  transform: translateY(0) !important;
  opacity: 1 !important;
}

.visual-ttl__sub {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  font-weight: 400;
  color: var(--white);
  opacity: 0 !important;
  transition: none;
}

.motion .visual-ttl__sub {
  opacity: 0.7 !important;
  transition: opacity .3s linear 3.6s !important;
}

/* Scroll indicator */
.visual-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 4;
}

.visual-scroll span:first-child {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.5);
}

.visual-scroll__line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  position: relative;
}

.visual-scroll__line::after {
  content: '';
  position: absolute;
  top: 0; left: -2px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--secondary);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(50px); }
}

/* ============================================
   CONCEPT / ABOUT
   ============================================ */
.t-conceptArea {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 80px var(--side-pad) 100px;
}

@media (min-width: 1024px) {
  .t-conceptArea {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 120px 0 140px;
  }
}

.t-conceptArea__bg {
  content: "";
  width: 86.5%;
  height: calc(100% + 80px);
  background: linear-gradient(165deg, #F4F2ED, #EDE9E0 60%, #E8E3D8);
  position: absolute;
  top: -80px;
  right: 0;
  z-index: -1;
}

.t-conceptArea__img {
  width: 100%;
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .t-conceptArea__img {
    width: 33%;
    height: 640px;
    margin-right: 8%;
    margin-bottom: 0;
    flex-shrink: 0;
    order: 1;
  }
  .t-conceptArea__img .thumb { width: 100%; height: 100%; }
  .t-conceptArea__img .thumb::after { padding-top: 0; }
  .t-conceptArea__img .thumb img { height: 100%; }
}

.t-conceptArea-block {
  position: relative;
  width: 100%;
}

@media (min-width: 1024px) {
  .t-conceptArea-block { width: 50%; padding-right: var(--side-pad); order: 2; }
}

.t-conceptArea-block__label {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 30px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

@media (min-width: 1024px) {
  .t-conceptArea-block__label {
    /* 横書きのまま、通常配置 */
  }
}

.t-conceptArea-block__ttl {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
}

.t-conceptArea-block__txt {
  font-size: 1.5rem;
  line-height: 2.4;
  margin-bottom: 50px;
}

.t-conceptArea-block__txt p {
  margin-bottom: 1.2em;
}

/* ============================================
   WORKS / PROJECTS
   ============================================ */
.t-worksArea {
  position: relative;
  padding: 100px 0 120px;
}

.t-worksArea__bg {
  width: 86.5%;
  height: 100%;
  background: var(--gray);
  position: absolute;
  top: 0; right: 0;
  z-index: -1;
}

.worksList {
  padding: 0 var(--side-pad) 80px;
}

.worksList ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.worksList ul li {
  width: 100%;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .worksList ul li {
    width: 46.5%;
    margin-bottom: 20px;
  }
  .worksList ul li:nth-child(2n) {
    margin-top: 80px;
  }
}

.worksList .thumb { background: var(--gray); }

.worksList a {
  display: block;
  position: relative;
}

.worksList .thumb img {
  transition: transform .8s ease;
}

@media (min-width: 768px) {
  .worksList a:hover .thumb img { transform: scale(1.06); }
}

.worksList a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .5s ease;
}

@media (min-width: 768px) {
  .worksList a:hover::after { width: 100%; }
}

.works-ttl {
  padding-left: 0;
  margin-top: 15px;
  letter-spacing: 0.1em;
  line-height: 2;
}

@media (min-width: 768px) {
  .works-ttl { padding-left: 10px; }
}

.works-ttl dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  position: relative;
  letter-spacing: 0.1em;
}

.works-ttl dd {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.works-area {
  display: inline-block;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

/* ============================================
   SERVICE
   ============================================ */
.t-serviceArea {
  position: relative;
  padding: 100px 0 120px;
  background: radial-gradient(ellipse at 20% 50%, rgba(74,139,76,0.3), transparent 60%), var(--primary);
  overflow: hidden;
}

.t-serviceArea::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary);
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--ease-out);
}

.t-serviceArea.on::before {
  transform: scaleX(1);
}

.t-serviceArea .sec-ttl,
.t-serviceArea .sec-lead {
  color: var(--white);
  position: relative;
  z-index: 1;
}

.t-serviceArea .section-wrap {
  position: relative;
  z-index: 1;
}

.t-serviceArea-list {
  padding: 0 var(--side-pad);
}

.service-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 24px 20px;
  background: var(--white);
  border-radius: 4px;
  text-decoration: none;
  color: var(--text);
  transition: box-shadow .35s var(--ease-out), background .35s;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--secondary);
  transition: height .5s ease-out;
}

@media (min-width: 768px) {
  .service-card {
    grid-template-columns: 56px 240px 1fr 40px;
    align-items: center;
    gap: 0 28px;
    padding: 28px 32px;
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) {
  .service-card:hover {
    box-shadow: 0 2px 16px rgba(44,95,45,0.12);
  }
  .service-card:hover::before {
    height: 100%;
  }
}

.service-card__num {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  color: var(--primary);
  line-height: 1;
  padding-top: 2px;
  transition: color .35s;
}

@media (min-width: 768px) {
  .service-card:hover .service-card__num { color: var(--accent); transform: scale(1.15); }
}
.service-card__num { transition: color .35s, transform .35s; }

.service-card__body {
  grid-column: 2 / -1;
}

@media (min-width: 768px) {
  .service-card__body { grid-column: auto; }
}

.service-card__en {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  line-height: 1;
  margin-bottom: 6px;
}

.service-card__ttl {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.service-card__txt {
  grid-column: 2 / -1;
  font-size: 1.3rem;
  color: var(--text-muted);
  line-height: 1.9;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .service-card__txt {
    grid-column: auto;
    margin-top: 0;
  }
}

.service-card__arrow {
  display: none;
}

@media (min-width: 768px) {
  .service-card__arrow {
    display: block;
    font-size: 2rem;
    color: var(--secondary);
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
    justify-self: end;
  }
  .service-card:hover .service-card__arrow {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   NEWS
   ============================================ */
.t-newsArea {
  padding: 80px 0 100px;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 var(--side-pad);
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .news-list {
    flex-direction: row;
    gap: 30px;
  }
}

.news-list__item {
  width: 100%;
}

@media (min-width: 768px) {
  .news-list__item { flex: 1; }
}

.news-list__item a {
  display: block;
}

.news-list .thumb img {
  transition: transform .6s ease;
}

@media (min-width: 768px) {
  .news-list__item a:hover .thumb img { transform: scale(1.04); }
}

.date span {
  transition: background .3s, color .3s;
}

@media (min-width: 768px) {
  .news-list__item a:hover .date span {
    background: var(--primary);
    color: var(--white);
    padding: 2px 8px;
  }
}

.news-list .thumb::after { padding-top: 66.666%; }

.news-list-inner {
  line-height: 2;
  padding: 12px 0 0;
}

.date {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
}

.date span {
  display: inline-block;
  padding-left: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
}

.news-list__ttl {
  font-size: 1.4rem;
  font-weight: 500;
  padding: 5px 0 0;
  line-height: 1.8;
}

/* ============================================
   CONTACT CTA
   ============================================ */
.t-contactArea {
  background: linear-gradient(135deg, #F4F2ED, #EAE6DC);
  padding: 100px var(--side-pad);
  text-align: center;
}

.t-contactArea-inner {
  max-width: 800px;
  margin: 0 auto;
}

.t-contactArea__lead {
  font-size: 1.5rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.t-contactArea__btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--dark);
  position: relative;
  transition: color .3s;
}

@media (max-width: 767px) {
  .t-contactArea__btn { font-size: 3rem; }
}

.t-contactArea__btn::after {
  content: "";
  position: absolute;
  bottom: -8px; left: 0;
  width: 100%; height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}

.t-contactArea__btn:hover::after { transform: scaleX(1); }

.t-contactArea__btn-arrow {
  font-size: 2.4rem;
  transition: transform .3s;
}

.t-contactArea__btn:hover .t-contactArea__btn-arrow {
  transform: translateX(10px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: linear-gradient(180deg, #242830, var(--dark) 8%);
  color: var(--white);
  padding: 80px var(--side-pad) 40px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), transparent);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px 40px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-nav a {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  transition: color .3s;
  position: relative;
  padding-bottom: 2px;
}

.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--secondary);
  transition: width .3s ease;
}

.footer-nav a:hover { color: var(--white); }
.footer-nav a:hover::after { width: 100%; }

.footer-sns {
  margin-bottom: 40px;
}

.footer-sns a {
  color: rgba(255,255,255,0.4);
  transition: color .3s;
}

.footer-sns a:hover { color: var(--white); }

.footer-info {
  margin-bottom: 60px;
}

.footer-company {
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.footer-info p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-info a {
  color: rgba(255,255,255,0.5);
  transition: color .3s;
}

.footer-info a:hover { color: var(--white); }

.footer-bottom p {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform .7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children (organic intervals) */
.anim-fade:nth-child(2) { transition-delay: .08s; }
.anim-fade:nth-child(3) { transition-delay: .19s; }
.anim-fade:nth-child(4) { transition-delay: .28s; }
.anim-fade:nth-child(5) { transition-delay: .40s; }
.anim-fade:nth-child(6) { transition-delay: .50s; }

/* ============================================
   SUBPAGES
   ============================================ */
.page-content {
  padding-top: var(--nav-h);
}

.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: 10%;
  width: 1px;
  height: 200%;
  background: rgba(255,255,255,0.4);
  transform: rotate(15deg);
}

.page-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: 25%;
  width: 1px;
  height: 200%;
  background: rgba(255,255,255,0.3);
  transform: rotate(15deg);
}

.page-hero .container {
  padding: 0 var(--side-pad);
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 3.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

@media (min-width: 1024px) {
  .page-hero h1 { font-size: 5.2rem; }
}

.page-hero-sub {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.4);
  margin-top: 10px;
  letter-spacing: 0.1em;
}

.page-section {
  padding: 80px 0;
}

.page-section .container {
  padding: 0 var(--side-pad);
}

.page-section h2 {
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.section-alt { background: var(--bg-warm); }

.page-cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.page-cta .container {
  padding: 0 var(--side-pad);
}

.page-cta h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  color: var(--white);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.page-cta p { color: var(--text-muted); margin-bottom: 24px; }

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.footer-lang-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  justify-content: flex-end;
}

.lang-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.lang-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.lang-link.active {
  background: rgba(151, 188, 98, 0.15);
  border-color: var(--secondary);
  color: var(--secondary);
}

.lang-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.lang-text {
  font-family: 'Syne', sans-serif;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.lang-divider {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: 16px 48px;
  background: var(--primary);
  color: var(--white);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  transition: background .3s;
}

.btn-primary:hover { background: var(--primary-dark); }

/* Info table (company page) */
.info-table { max-width: 700px; margin: 0 auto; }

.info-table-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 640px) {
  .info-table-row { grid-template-columns: 160px 1fr; gap: 24px; }
}

.info-table dt { font-size: 1.3rem; font-weight: 500; color: var(--text-muted); }
.info-table dd { font-size: 1.5rem; }
.info-table dd a { color: var(--primary); }
.info-table dd a:hover { text-decoration: underline; }

.info-list li {
  padding: 4px 0 4px 16px;
  position: relative;
}

.info-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 1px;
  background: var(--primary);
}

/* Leadership Messages */
.leadership-section h2 { text-align: center; margin-bottom: 48px; }

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.leadership-grid:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

@media (min-width: 1024px) {
  .leadership-grid {
    grid-template-columns: 360px 1fr;
    gap: 56px;
  }
  .leadership-grid-reverse {
    grid-template-columns: 1fr 360px;
  }
}

.leadership-photo-wrap { position: relative; }

.leadership-photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@supports not (aspect-ratio: 3 / 4) {
  .leadership-photo { padding-bottom: 133.33%; }
}

.leadership-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leadership-body { padding: 8px 0; }

.leadership-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary);
}

.leadership-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.leadership-name-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.leadership-name-ja {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
}

.leadership-role {
  font-size: 1.2rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.leadership-text { line-height: 2.2; }

.leadership-text p { margin-bottom: 20px; }
.leadership-text p:last-child { margin-bottom: 0; }

.leadership-motto {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px !important;
  padding: 16px 20px;
  background: rgba(44, 95, 45, 0.04);
  border-left: 4px solid var(--primary);
  line-height: 1.7;
}

.leadership-sign {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 1023px) {
  .leadership-grid,
  .leadership-grid-reverse {
    grid-template-columns: 1fr;
  }
  .leadership-photo-wrap { order: -1; }
  .leadership-photo { max-width: 280px; }
}

.message-values {
  margin: 48px 0 0;
  padding: 28px;
  background: var(--white);
  text-align: center;
}

.message-values h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.values-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.values-list li {
  background: var(--gray);
  padding: 6px 16px;
  font-size: 1.3rem;
}

/* License */
.license-grid { display: grid; gap: 12px; max-width: 700px; margin: 0 auto; }

.license-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  background: var(--gray);
}

@media (min-width: 640px) {
  .license-item { flex-direction: row; justify-content: space-between; align-items: center; }
}

.license-name { font-weight: 500; font-size: 1.4rem; }
.license-detail { font-size: 1.2rem; color: var(--text-muted); }
.license-note { font-size: 1.2rem; color: var(--text-muted); margin-top: 16px; text-align: right; }

/* Access */
.access-content { max-width: 700px; margin: 0 auto 20px; }
.access-content p { margin-bottom: 4px; }

.social-links { display: flex; gap: 12px; }

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--gray);
  color: var(--text);
  font-size: 1.3rem;
  transition: background .3s, color .3s;
}

.social-link:hover { background: var(--dark); color: var(--white); }
.social-icon { width: 18px; height: 18px; }

/* News page */
.news-article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .news-article { grid-template-columns: 240px 1fr; gap: 30px; }
}

.news-article:last-child { border-bottom: none; }
.news-article-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.news-placeholder-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #E0DDD6, #CCC8C0);
}

@supports not (aspect-ratio: 4 / 3) {
  .news-article-image img { height: auto; }
  .news-placeholder-image { padding-bottom: 75%; }
}

.news-article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.news-article-date { font-family: 'Syne', sans-serif; font-size: 1.2rem; color: var(--primary); font-weight: 600; letter-spacing: 0.15em; }
.news-article-category { font-size: 1.1rem; color: var(--text-muted); background: var(--gray); padding: 3px 10px; }
.news-article-title { font-size: 1.6rem; font-weight: 600; margin-bottom: 10px; line-height: 1.6; }
.news-article-body { font-size: 1.4rem; line-height: 2; color: var(--text-muted); }

/* Works page - Grid Layout */
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  /* padding: 0 var(--side-pad); */
}

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

@media (min-width: 1024px) {
  .works-grid {
    gap: 40px;
  }
}

.works-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

@media (min-width: 768px) {
  .works-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }
}

.works-card-image {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--gray);
}

.works-card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  z-index: 1;
  transition: opacity .3s ease;
  pointer-events: none;
}

@media (min-width: 768px) {
  .works-card:hover .works-card-image::before {
    opacity: 0.06;
  }
}

.works-card-image::after {
  content: "";
  display: block;
  padding-top: 66.666%; /* 3:2 aspect ratio */
}

.works-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .works-card:hover .works-card-image img {
    transform: scale(1.05);
  }
}

.works-placeholder-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(130deg, #E5E0D8, #D0CBC2, #C4BEB4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.works-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.works-card-area {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.works-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.5;
  color: var(--text);
}

.works-card-body {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-muted);
  flex: 1;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.pagination-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-current {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Recruit page */
.recruit-message {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.recruit-message h2 {
  font-size: 2.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-align: center;
}

.recruit-message p {
  font-size: 1.5rem;
  line-height: 2.2;
  margin-bottom: 16px;
  color: var(--text);
}

.recruit-jobs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 var(--side-pad);
}

@media (min-width: 768px) {
  .recruit-jobs {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

.recruit-job-card {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  padding: 28px;
  transition: box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .recruit-job-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
}

.recruit-job-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.recruit-job-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
  transition: width .5s ease;
}

@media (min-width: 768px) {
  .recruit-job-card:hover .recruit-job-header::after {
    width: 100%;
  }
}

.recruit-job-title {
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.recruit-job-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 500;
  align-self: flex-start;
}

.recruit-job-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.recruit-job-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

@media (min-width: 640px) {
  .recruit-job-row {
    grid-template-columns: 100px 1fr;
    gap: 16px;
  }
}

.recruit-job-row dt {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary);
}

.recruit-job-row dd {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text);
}

.recruit-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 0 var(--side-pad);
  max-width: 900px;
  margin: 0 auto;
}

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

.recruit-benefit-item {
  padding: 24px;
  background: var(--gray);
  border-top: 3px solid var(--primary);
}

.recruit-benefit-item:nth-child(2) { border-top-color: var(--secondary); }
.recruit-benefit-item:nth-child(3) { border-top-color: var(--accent); }
.recruit-benefit-item:nth-child(4) { border-top-color: var(--primary-light); }

.recruit-benefit-item h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary);
}

.recruit-benefit-item p {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-muted);
}

.recruit-apply {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--side-pad);
}

.recruit-apply-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.recruit-apply-step:last-child {
  border-bottom: none;
}

.recruit-apply-num {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  border-radius: 50%;
}

.recruit-apply-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.recruit-apply-content p {
  font-size: 1.4rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.recruit-apply-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.recruit-apply-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 500;
  transition: background 0.3s;
}

.recruit-apply-link:hover {
  background: var(--primary-light);
}

.recruit-apply-contact span {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.recruit-apply-phone {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.recruit-apply-phone:hover {
  text-decoration: underline;
}

.recruit-note {
  max-width: 800px;
  margin: 40px auto 0;
  padding: 20px var(--side-pad);
  background: var(--gray);
}

.recruit-note p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.recruit-note p:last-child {
  margin-bottom: 0;
}

/* Contact page */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

@media (min-width: 1024px) {
  .contact-page-grid { grid-template-columns: 1fr 2fr; gap: 80px; }
}

.contact-info-column h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 30px; }
.contact-info-item { padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.contact-info-label { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); margin-bottom: 4px; display: block; }
.contact-info-value { font-size: 1.5rem; color: var(--text); display: block; }
a.contact-info-value:hover { color: var(--primary); }

.contact-social { padding-top: 12px; }

.contact-form-column h2 {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.contact-page-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .form-row-2col { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; }

.contact-page-form label { font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; }
.required { color: #c44; }

.contact-page-form input,
.contact-page-form select,
.contact-page-form textarea {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  transition: border-color .3s, border-bottom-width .3s;
  width: 100%;
}

.contact-page-form input:focus,
.contact-page-form select:focus,
.contact-page-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  border-bottom-width: 2px;
  box-shadow: none;
}

.contact-page-form select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23767676' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact-page-form textarea { resize: vertical; min-height: 160px; }

.form-note { font-size: 1.2rem; color: var(--text-muted); }
.form-note p { margin-bottom: 4px; }

.form-group-checkbox {
  margin: 8px 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkbox-text {
  flex: 1;
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--text);
}

.checkbox-text a {
  color: var(--primary);
  text-decoration: underline;
}

.checkbox-text a:hover {
  color: var(--primary-dark);
}

.checkbox-text .required {
  color: #d32f2f;
  margin-left: 4px;
}

.btn-submit-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 60px;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .3s;
  width: 100%;
}

.btn-submit-large .view-more-arrow,
.btn-submit-large span:last-child {
  transition: transform .3s ease;
}

@media (min-width: 640px) { .btn-submit-large { width: auto; } }

.btn-submit-large:hover { background: var(--primary-dark); }
.btn-submit-large:hover .view-more-arrow,
.btn-submit-large:hover span:last-child { transform: translateX(6px); }

.form-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--gray);
  max-width: 500px;
  margin: 0 auto;
}

.form-success-icon {
  width: 56px; height: 56px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  margin: 0 auto 20px;
}

.form-success h2 { font-size: 1.8rem; margin-bottom: 12px; }
.form-success p { margin-bottom: 8px; color: var(--text-muted); font-size: 1.4rem; }

.form-success .btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 1.3rem;
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 4px;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.empty-message {
  text-align: center;
  color: var(--text-muted);
  padding: 60px 0;
  font-size: 1.4rem;
}

/* ============================================
   SERVICE DETAIL (service.php)
   ============================================ */
.service-detail-header {
  text-align: center;
  margin-bottom: 48px;
}

.service-detail-num {
  display: inline-block;
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-detail-en {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  color: var(--gray-mid);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.service-detail-header h2 {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
}

.service-detail-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .service-detail-body {
    grid-template-columns: 45% 1fr;
    gap: 48px;
  }

  .section-alt .service-detail-body {
    direction: rtl;
  }

  .section-alt .service-detail-body > * {
    direction: ltr;
  }
}

.service-detail-image {
  width: 100%;
}

.service-placeholder-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

@supports not (aspect-ratio: 4 / 3) {
  .service-placeholder-image { padding-bottom: 75%; }
}

.service-placeholder-image::after {
  content: attr(data-label);
}

#estate .service-placeholder-image {
  background: linear-gradient(135deg, #5a4e3c 0%, #8b7d6b 100%);
}

#landscaping .service-placeholder-image {
  background: linear-gradient(135deg, #2d6a4f 0%, #52b788 100%);
}

#civil .service-placeholder-image {
  background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
}

#agriculture .service-placeholder-image {
  background: linear-gradient(135deg, #6b7c3e 0%, #a4b862 100%);
}

.service-detail-content p {
  font-size: 1.5rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 24px;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  position: relative;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--primary);
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
}

.service-features li + li {
  margin-top: 4px;
}

/* ============================================
   PRIVACY POLICY (privacy.php)
   ============================================ */
.privacy-content h2 {
  text-align: left;
  font-size: 1.8rem;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.privacy-content h2:first-of-type {
  margin-top: 32px;
}

.privacy-content p {
  font-size: 1.4rem;
  line-height: 2;
  margin-bottom: 8px;
}

.privacy-content ul {
  margin: 8px 0 16px 1.5em;
  list-style: disc;
}

.privacy-content ul li {
  font-size: 1.4rem;
  line-height: 2;
}

.privacy-contact {
  background: var(--bg-warm);
  padding: 24px;
  border-radius: 4px;
  margin-top: 16px;
}

.privacy-contact p {
  margin-bottom: 4px;
}

/* --- Footer privacy link --- */
.footer-privacy-link {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .anim-fade { opacity: 1; transform: none; }
  .ttl-line__inner { transform: none; opacity: 1; }
  .visual-ttl__sub { opacity: 0.7; }
}
