/* ========================================
   HARBOR塗装 - Coastal Paint Specialist
   ======================================== */

:root {
  --teal: #0D6E6E;
  --teal-light: #0F8585;
  --teal-dark: #0A5858;
  --sand: #F5E6D3;
  --sand-light: #FBF4EC;
  --navy: #1B2838;
  --navy-light: #2A3A4E;
  --white: #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100: #F0F1F3;
  --gray-200: #E2E4E8;
  --gray-400: #9DA3AE;
  --gray-600: #6B7280;
  --gray-800: #374151;
  --rust: #E8735A;
  --font-en: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --shadow-sm: 0 1px 3px rgba(27,40,56,0.08);
  --shadow-md: 0 4px 20px rgba(27,40,56,0.1);
  --shadow-lg: 0 8px 40px rgba(27,40,56,0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-jp);
  color: var(--navy);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: inline; }
.sp-only { display: none; }

/* ---- Sample Banner ---- */
.sample-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1001;
}

.sample-banner a {
  color: var(--sand);
  text-decoration: underline;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 37px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(27,40,56,0.06);
  transition: box-shadow 0.3s, top 0.3s;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.logo-en {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.logo-jp {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-desktop a:hover {
  color: var(--teal);
}

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 30px rgba(0,0,0,0.15);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-inner {
  padding: 100px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  font-size: 16px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--teal);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  background: var(--teal);
  color: var(--white);
  padding: 16px;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 16px;
}

.mobile-nav-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.mobile-nav-phone {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--teal);
}

.mobile-nav-hours {
  font-size: 13px;
  color: var(--gray-600);
  margin-top: 4px;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(27,40,56,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,40,56,0.75) 0%, rgba(13,110,110,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.85;
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.9;
  opacity: 0.9;
  margin-bottom: 40px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13,110,110,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.btn-full {
  width: 100%;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--white);
  z-index: 2;
}

.hero-scroll span {
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ---- Section Common ---- */
.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label.center { text-align: center; }

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}

.section-title.center { text-align: center; }

.section-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.9;
  max-width: 640px;
}

.section-desc.center {
  text-align: center;
  margin: 0 auto 48px;
}

/* ---- About ---- */
.about {
  padding: 120px 0;
}

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

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-icon-wrap {
  width: 280px;
  height: 280px;
}

.about-icon-svg {
  width: 100%;
  height: 100%;
  animation: gentleRotate 30s linear infinite;
}

@keyframes gentleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-badge {
  position: absolute;
  bottom: 0;
  right: 20%;
  background: var(--teal);
  color: var(--white);
  padding: 16px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-num {
  display: block;
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.about-badge-unit {
  font-size: 12px;
  font-weight: 600;
  opacity: 0.9;
}

.about-lead {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-body {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.9;
}

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

.about-feat {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-feat-icon {
  width: 44px;
  height: 44px;
  background: var(--sand-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feat span {
  font-size: 14.5px;
  font-weight: 600;
}

/* ---- Salt Damage ---- */
.salt-damage {
  padding: 120px 0;
  background: var(--sand-light);
}

.salt-diagram {
  margin: 48px auto 64px;
  max-width: 900px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.salt-svg {
  min-width: 700px;
}

.salt-svg text {
  font-family: var(--font-jp);
}

.salt-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.salt-feat {
  background: var(--white);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.salt-feat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.salt-feat-num {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.3;
  margin-bottom: 12px;
}

.salt-feat h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.salt-feat p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ---- Services ---- */
.services {
  padding: 120px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.service-icon {
  margin-bottom: 20px;
}

.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-tags li {
  font-size: 12px;
  font-weight: 500;
  color: var(--teal);
  background: rgba(13,110,110,0.06);
  padding: 5px 14px;
  border-radius: 20px;
}

/* ---- Works ---- */
.works {
  padding: 120px 0;
  background: var(--gray-50);
}

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

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

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

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

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

.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 6px;
}

.work-info {
  padding: 24px 28px 28px;
}

.work-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-meta {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.work-detail {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ---- Numbers ---- */
.numbers {
  padding: 100px 0;
  background: var(--navy);
  color: var(--white);
}

.numbers .section-label {
  color: var(--sand);
}

.numbers .section-title {
  color: var(--white);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.number-item {
  text-align: center;
}

.number-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.counter {
  font-family: var(--font-en);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--sand);
}

.number-unit {
  font-size: 18px;
  font-weight: 600;
  color: var(--sand);
  opacity: 0.8;
}

.number-label {
  font-size: 14px;
  opacity: 0.7;
  margin-top: 12px;
}

/* ---- Flow ---- */
.flow {
  padding: 120px 0;
}

.flow-steps {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow-step {
  display: flex;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}

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

.flow-num {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.35;
  flex-shrink: 0;
  width: 56px;
  line-height: 1;
  padding-top: 4px;
}

.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flow-content p {
  font-size: 14.5px;
  color: var(--gray-600);
  line-height: 1.85;
}

/* ---- Company ---- */
.company {
  padding: 120px 0;
  background: var(--sand-light);
}

.company-table-wrap {
  max-width: 720px;
  margin: 48px auto 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

.company-table th,
.company-table td {
  padding: 18px 28px;
  font-size: 14.5px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 160px;
  background: var(--sand-light);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

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

/* ---- Contact ---- */
.contact {
  padding: 120px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: start;
}

.contact-desc {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-top: 16px;
  margin-bottom: 36px;
}

.contact-phone-block {
  background: var(--sand-light);
  padding: 28px 32px;
  border-radius: var(--radius);
}

.contact-phone-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 4px;
}

.contact-phone {
  font-family: var(--font-en);
  font-size: 30px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.contact-phone-hours {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 4px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.req {
  font-size: 11px;
  color: var(--rust);
  background: rgba(232,115,90,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-family: var(--font-jp);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,110,110,0.1);
}

.form-group textarea {
  resize: vertical;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo-text {
  font-size: 18px;
  font-weight: 700;
}

.footer-tagline {
  font-size: 14px;
  opacity: 0.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links a {
  font-size: 13.5px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  opacity: 0.5;
}

.footer-bottom a {
  opacity: 0.8;
  transition: opacity 0.2s;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    order: -1;
  }

  .about-icon-wrap {
    width: 220px;
    height: 220px;
  }

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

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

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }

  .header {
    top: 33px;
  }

  .header-inner {
    height: 60px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-scroll {
    display: none;
  }

  .about {
    padding: 80px 0;
  }

  .about-badge {
    right: 10%;
  }

  .salt-damage {
    padding: 80px 0;
  }

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

  .salt-feat {
    padding: 28px 24px;
  }

  .services {
    padding: 80px 0;
  }

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

  .service-card {
    padding: 32px 28px;
  }

  .works {
    padding: 80px 0;
  }

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

  .work-img {
    height: 200px;
  }

  .numbers {
    padding: 80px 0;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .counter {
    font-size: 44px;
  }

  .flow {
    padding: 80px 0;
  }

  .flow-step {
    gap: 20px;
    padding: 24px 0;
  }

  .flow-num {
    font-size: 26px;
    width: 44px;
  }

  .company {
    padding: 80px 0;
  }

  .company-table th {
    width: 110px;
    padding: 14px 16px;
    font-size: 13px;
  }

  .company-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  .contact {
    padding: 80px 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-links {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

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

  .about-icon-wrap {
    width: 180px;
    height: 180px;
  }

  .section-title {
    font-size: 22px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
  }

  .counter {
    font-size: 36px;
  }

  .number-unit {
    font-size: 15px;
  }

  .contact-phone {
    font-size: 24px;
  }
}