:root {
  --navy: #0a2a4a;
  --sky: #5bb8f5;
  --light-blue: #eef7fd;
  --text: #333333;
  --white: #ffffff;
  --gray: #f5f7fa;
  --border: #e5e7eb;

  --shadow:
    0 10px 30px rgba(10, 42, 74, 0.08);

  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: min(1120px, 92%);
  margin: auto;
}

.narrow {
  width: min(800px, 92%);
}

/* ========================
   Header
======================== */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  gap: 10px;
}

.logo-main {
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.logo-sub {
  color: #555;
  font-size: 0.78rem;
}

.header-tel {
  background: var(--navy);
  color: white;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  text-align: center;
}

.header-tel::before {
  content: "お電話はこちら";
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
}

.header-tel-num {
  font-size: 1rem;
}

.header-tel:hover {
  background: var(--sky);
  transform: translateY(-2px);
}

/* ========================
   Hero
======================== */

.hero {
  position: relative;
  min-height: 100vh;

  background:
    url("hero.jpg")
    center center / cover no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  color: var(--navy);
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(255,255,255,0.15),
      rgba(255,255,255,0.05)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(90%, 850px);
}

.hero-sub {
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: var(--navy);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: white;
  -webkit-text-stroke: 2px var(--navy);
  text-stroke: 2px var(--navy);
}

.hero-copy {
  font-size: 1.05rem;
  margin-bottom: 40px;
  color: var(--navy);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s ease;
  font-size: 0.95rem;
}

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

.btn-primary:hover {
  background: var(--sky);
  transform: translateY(-3px);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border);
  color: var(--navy);
}

.btn-secondary:hover {
  background: var(--light-blue);
  transform: translateY(-3px);
}

.scroll-guide {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

  color: var(--navy);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
}

.scroll-guide::before {
  content: "▼";
  display: block;
  text-align: center;
  margin-bottom: 6px;
  animation: scrollMove 1.8s infinite;
}

@keyframes scrollMove {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(18px);
    opacity: 0;
  }
}

/* ========================
   Section
======================== */

.section {
  padding: 90px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  color: var(--sky);
  font-weight: 700;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.section-heading h2 {
  color: var(--navy);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-top: 10px;
}

/* ========================
   About
======================== */

.about {
  background: white;
}

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

.about-label {
  display: block;
  margin-bottom: 12px;
  color: var(--sky);
  font-weight: 700;
}

.about-text h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 1.6rem;
  font-weight: 700;
}

.about-text p {
  font-size: 0.95rem;
  margin-top: 16px;
}

.about-image img {
  border-radius: var(--radius);
  height: 320px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* ========================
   Service
======================== */

.service {
  background: var(--gray);
}

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

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow);

  transition: 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-number {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 8px;
  text-align: left;
}

.service-icon {
  font-size: 3rem;
  margin: 12px 0 18px;
  filter: hue-rotate(180deg) saturate(0.5);
  color: var(--sky);
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 12px;
  font-size: 1.05rem;
}

.service-card p {
  font-size: 0.88rem;
  color: #555;
}

/* ========================
   Works
======================== */

.works {
  background: var(--gray);
}

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

.gallery-grid img {
  border-radius: 18px;
  height: 280px;
  object-fit: cover;
  box-shadow: var(--shadow);

  transition: 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ========================
   Reasons
======================== */

.reasons {
  background: white;
}

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

.reason-card {
  text-align: center;
  padding: 20px;
}

.reason-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: white;
}

.reason-card h3 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.15rem;
}

.reason-card p {
  font-size: 0.92rem;
  color: #555;
}

/* ========================
   Other business
======================== */

.combined-section {
  background: var(--gray);
}

.combined-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 24px;
}

.sub-business-card,
.company-card {
  background: var(--light-blue);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}

.company-card {
  background: white;
}

.snow-icon {
  font-size: 2rem;
  color: var(--sky);
  display: block;
  margin-bottom: 8px;
}

.sub-business-text h3,
.company-info h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.sub-business-text p {
  font-size: 0.88rem;
  color: #555;
}

.sub-business-img img,
.company-img img {
  border-radius: 12px;
  height: 240px;
  object-fit: cover;
}

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

.company-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.company-row span {
  color: var(--navy);
  font-weight: 700;
}

.company-row p {
  color: #333;
}

/* ========================
   Contact
======================== */

.contact {
  background: linear-gradient(135deg, var(--navy), #123d67);
  padding: 50px 0;
}

.contact-card {
  background: white;
  border-radius: var(--radius);
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 30px;
  box-shadow: var(--shadow);
}

.contact-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-phone-icon {
  width: 70px;
  height: 70px;
  background: var(--sky);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-text h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.contact-text p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0;
}

.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: var(--navy);
  border: 2px solid var(--border);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 18px 30px;
  border-radius: 14px;
  transition: 0.3s ease;
}

.contact-btn:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

/* ========================
   Footer
======================== */

.footer {
  background: #071d34;
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 28px 0;
  font-size: 0.9rem;
}

/* ========================
   Fade Animation
======================== */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

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

/* ========================
   Responsive
======================== */

@media (max-width: 960px) {

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

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

@media (max-width: 768px) {

  .section {
    padding: 70px 0;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .reason-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .company-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .about-grid,
  .combined-grid,
  .sub-business-card,
  .company-card,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .service-card,
  .reason-card {
    padding: 24px;
  }

  .contact-left {
    flex-direction: column;
    text-align: center;
  }

  .gallery-grid img {
    height: 240px;
  }

  .contact-btn {
    width: 100%;
    padding: 20px;
  }
}
