/* ============================================================
   匠建設 (TAKUMI KENSETSU) - Main Stylesheet
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --color-primary: #5C3D2E;
  --color-primary-light: #7A5543;
  --color-primary-dark: #3E2A1F;
  --color-accent: #3D6B4F;
  --color-accent-light: #4E8A63;
  --color-accent-dark: #2D5039;
  --color-bg: #F5EDE3;
  --color-bg-alt: #EDE3D5;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #D9CCBE;
  --color-border-light: #E8DDD1;
  --font-heading: 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --header-height: 80px;
  --section-padding: 100px;
  --container-width: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 20px rgba(92, 61, 46, 0.08);
  --shadow-hover: 0 8px 30px rgba(92, 61, 46, 0.15);
  --transition: 0.3s ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

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

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.sp-only {
  display: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius);
  text-align: center;
  transition: all var(--transition);
  cursor: pointer;
  letter-spacing: 0.05em;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: 2px solid var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(61, 107, 79, 0.3);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* ---------- Section Common ---------- */
.section {
  padding: var(--section-padding) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.08em;
}

.section-line {
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-desc {
  margin-top: 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(92, 61, 46, 0.1);
  height: 70px;
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 6px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-ja {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
}

.logo-en {
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.15em;
}

/* Global Nav */
.gnav-list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.gnav-list a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.gnav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.gnav-list a:hover::after,
.gnav-list a.active::after {
  width: 100%;
}

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-tel {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
}

.header-tel i {
  color: var(--color-accent);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition);
  border-radius: 1px;
}

.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);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(62, 42, 31, 0.3) 0%,
    rgba(62, 42, 31, 0.5) 50%,
    rgba(62, 42, 31, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-align: center;
  padding: 0 20px;
  padding-top: var(--header-height);
}

.hero-sub {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Dots */
.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  transition: all var(--transition);
  cursor: pointer;
}

.hero-dot.active {
  background-color: var(--color-white);
}

/* Hero Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1.2rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: all var(--transition);
}

.hero-arrow:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.hero-arrow-prev {
  left: 24px;
}

.hero-arrow-next {
  right: 24px;
}

/* ============================================================
   CONCEPT
   ============================================================ */
.concept {
  background-color: var(--color-white);
}

.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.concept-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.concept-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.concept-image:hover img {
  transform: scale(1.03);
}

.concept-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.concept-text {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 2;
}

.concept-features {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.concept-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.concept-feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-bg);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.concept-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.concept-feature p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================================
   WORKS
   ============================================================ */
.works {
  background-color: var(--color-bg);
}

.works-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

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

.work-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.work-card.hidden {
  display: none;
}

.work-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  border-radius: 50px;
}

.tag-new {
  background-color: var(--color-accent);
}

.tag-reform {
  background-color: #C17A34;
}

.tag-renovation {
  background-color: var(--color-primary);
}

.work-card-body {
  padding: 24px;
}

.work-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.5;
}

.work-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.work-card-meta i {
  color: var(--color-accent);
  margin-right: 4px;
}

.work-card-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================================
   SERVICE
   ============================================================ */
.service {
  background-color: var(--color-white);
}

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

.service-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-accent);
}

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

.service-card:hover .service-icon {
  background-color: var(--color-accent);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left;
}

.service-list {
  text-align: left;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--color-text);
  padding: 6px 0;
  border-bottom: 1px dashed var(--color-border-light);
}

.service-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--color-accent);
  margin-right: 8px;
  font-size: 0.75rem;
}

.service-list li:last-child {
  border-bottom: none;
}

/* ============================================================
   FLOW
   ============================================================ */
.flow {
  background-color: var(--color-bg);
}

.flow-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  width: 2px;
  height: 100%;
  background-color: var(--color-border);
}

.flow-step {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 36px;
  position: relative;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  transition: background-color var(--transition);
}

.flow-step:hover .flow-step-number {
  background-color: var(--color-accent);
}

.flow-step-content {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 28px;
  flex: 1;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.flow-step:hover .flow-step-content {
  box-shadow: var(--shadow-hover);
}

.flow-step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.flow-step-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================================
   COMPANY
   ============================================================ */
.company {
  background-color: var(--color-white);
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.company-table {
  font-size: 0.9rem;
}

.company-table th,
.company-table td {
  padding: 16px;
  border-bottom: 1px solid var(--color-border-light);
  vertical-align: top;
}

.company-table th {
  font-weight: 600;
  color: var(--color-primary);
  width: 140px;
  white-space: nowrap;
  background-color: var(--color-bg);
}

.company-table td {
  color: var(--color-text);
}

.company-table td a {
  color: var(--color-accent);
  font-weight: 600;
}

.company-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.company-map iframe {
  display: block;
}

.company-access {
  margin-top: 24px;
}

.company-access h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.company-access h3 i {
  color: var(--color-accent);
  margin-right: 8px;
}

.company-access li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.company-access li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

/* ============================================================
   NEWS
   ============================================================ */
.news {
  background-color: var(--color-bg);
}

.news-list {
  max-width: 900px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: all var(--transition);
  text-decoration: none;
}

.news-item:hover {
  padding-left: 12px;
}

.news-item:first-child {
  border-top: 1px solid var(--color-border-light);
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
}

.news-tag-info {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.news-tag-works {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.news-tag-media {
  background-color: #C17A34;
  color: var(--color-white);
}

.news-title {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
}

.news-item:hover .news-title {
  color: var(--color-accent);
}

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
}

.contact-inner {
  text-align: center;
}

.contact-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.6;
}

.contact-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 48px;
  line-height: 1.9;
}

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.contact-phone,
.contact-form-link {
  text-align: center;
}

.contact-phone-label,
.contact-form-label {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 12px;
}

.contact-phone-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transition: opacity var(--transition);
}

.contact-phone-number:hover {
  opacity: 0.8;
  color: var(--color-white);
}

.contact-phone-hours {
  font-size: 0.8rem;
  opacity: 0.7;
}

.contact-form-link .btn {
  margin-bottom: 12px;
}

.contact-form-note {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo .logo-mark {
  background-color: rgba(255, 255, 255, 0.15);
}

.footer-logo .logo-ja {
  color: var(--color-white);
}

.footer-logo .logo-en {
  color: rgba(255, 255, 255, 0.6);
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-address a {
  color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  font-size: 1rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-white);
}

.footer-license {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-license p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.6;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   MOBILE BOTTOM BAR
   ============================================================ */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: var(--color-white);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.mobile-bottom-tel {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.mobile-bottom-tel:hover {
  color: var(--color-white);
}

.mobile-bottom-contact {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.mobile-bottom-contact:hover {
  color: var(--color-white);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(92, 61, 46, 0.3);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 998;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .gnav {
    display: none;
  }

  .header-tel {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile Nav */
  .gnav.open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    align-items: center;
    justify-content: center;
  }

  .gnav.open .gnav-list {
    flex-direction: column;
    gap: 24px;
  }

  .gnav.open .gnav-list a {
    font-size: 1.2rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --section-padding: 60px;
  }

  .sp-only {
    display: inline;
  }

  .hero {
    min-height: 500px;
    max-height: 700px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-arrow {
    display: none;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .concept-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .concept-image img {
    height: 280px;
  }

  .concept-heading {
    font-size: 1.3rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .flow-timeline::before {
    left: 28px;
  }

  .flow-step-number {
    width: 56px;
    height: 56px;
    font-size: 1.1rem;
  }

  .flow-step {
    gap: 16px;
  }

  .flow-step-content {
    padding: 20px;
  }

  .company-table th {
    width: 100px;
    font-size: 0.8rem;
  }

  .company-table td {
    font-size: 0.85rem;
  }

  .news-item {
    flex-wrap: wrap;
    gap: 8px;
  }

  .news-title {
    width: 100%;
  }

  .contact-title {
    font-size: 1.5rem;
  }

  .contact-phone-number {
    font-size: 1.8rem;
  }

  .contact-actions {
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col-brand {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-address {
    text-align: center;
  }

  /* Mobile bottom bar */
  .mobile-bottom-bar {
    display: flex;
  }

  .mobile-bottom-btn {
    flex: 1;
  }

  .back-to-top {
    bottom: 80px;
  }

  .footer {
    padding-bottom: 60px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .hero-btns .btn {
    width: 100%;
    max-width: 280px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .flow-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .flow-timeline::before {
    display: none;
  }
}
