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

:root {
  --green: #1bb89a;
  --green-dark: #15a085;
  --green-light: #e0f0ea;
  --green-pale: #dfeee7;
  --yellow: #fcd533;
  --yellow-hover: #f5cc1f;
  --blue-logo: #7cc4e8;
  --yellow-logo: #f5d547;
  --text: #333;
  --text-soft: #555;
  --text-mute: #777;
  --bg: #ffffff;
  --bg-cta: #f4e6dc;
  --bg-footer: #f7f5f3;
  --border: #e8e8e8;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.75; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* On wide screens, sit flush to the 1200px content box (matches the mock). */
@media (min-width: 1240px) {
  .container, header .header-inner { padding-left: 0; padding-right: 0; }
}

/* ===========================
   Logo (SVG)
=========================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.logo-text {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text);
}

/* ===========================
   Header
=========================== */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  padding: 18px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: 48px;
}
.contact-btn { margin-left: auto; }
/* Hamburger (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.nav a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-disabled {
  color: #c2c2c2;
  pointer-events: none;
  cursor: default;
}
.nav a.is-disabled::after { display: none; }
/* disabled footer items */
.footer-col h4.is-disabled { color: #c2c2c2; }
.footer-col a.is-disabled { color: #c2c2c2; pointer-events: none; cursor: default; }

.contact-btn {
  background: var(--yellow);
  color: var(--text);
  padding: 22px 28px 26px;
  border-radius: 0 0 16px 16px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
  top: -18px;
  box-shadow: 0 6px 14px rgba(252, 213, 51, 0.25);
  transition: background 0.2s, transform 0.2s;
}
.contact-btn:hover { background: var(--yellow-hover); opacity: 1; transform: translateY(2px); }
.contact-btn .icon { width: 22px; height: 22px; }

/* ===========================
   Hero
=========================== */
.hero {
  position: relative;
  height: 660px;
  background: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  top: 95px;
  left: 0;
  right: 0;
  height: 561px;
  overflow: hidden;
}
.hero-media img {
  /* fixed size: does NOT scale with window width (clipped instead).
     shifted right ~115px so the building matches the mock position. */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(calc(-50% + 115px));
  width: 1920px;
  max-width: none;
  height: auto;
  display: block;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: flex-start;
  z-index: 2;
}
.hero-text { width: 50%; padding-left: 57px; padding-top: 168px; }
.hero-lead {
  font-size: 16px;
  color: var(--text);
  letter-spacing: 0.1em;
  margin-bottom: 34px;
}
.hero-title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: 0.28em;
  color: var(--text);
  margin-bottom: 14px;
}
.hero-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 2.1;
  margin-bottom: 32px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-left: -57px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  min-width: 220px;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); opacity: 1; transform: translateY(-2px); }
.btn-outline {
  background: #fff;
  color: var(--green);
  border: 1.5px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: #fff; opacity: 1; transform: translateY(-2px); }
.btn-sm { min-width: 200px; padding: 14px 24px; font-size: 13px; }
.btn .arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.placeholder-label {
  position: absolute;
  background: rgba(255,255,255,0.85);
  color: #555;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  pointer-events: none;
}

/* 24h badge */
.badge-24h {
  position: absolute;
  bottom: 6px;
  right: calc(50% - 600px + 45px);
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  z-index: 3;
}
.badge-24h .num {
  font-size: 14px;
  color: var(--text);
}
.badge-24h .num strong {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-right: 2px;
  color: var(--green);
}
.badge-24h .label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--text);
  line-height: 1.7;
  margin-top: 4px;
}
.badge-24h .deco {
  width: 36px;
  height: 36px;
  position: absolute;
  bottom: 6px;
  right: -4px;
}

/* Curve divider */
.hero-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  z-index: 2;
  pointer-events: none;
}

/* ===========================
   Section common
=========================== */
.section {
  padding: 44px 0;
  position: relative;
}
.section-header {
  margin-bottom: 32px;
}
.section-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  color: var(--green);
  letter-spacing: 0.08em;
  font-style: italic;
  font-weight: 500;
  margin-bottom: 8px;
}
.section-title {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--text);
  margin-bottom: 10px;
}
.section-desc {
  font-size: 14px;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===========================
   Service
=========================== */
.service {
  background: #fff;
  padding-top: 20px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 4px;
}
.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.09);
}
.card-image {
  width: 100%;
  aspect-ratio: 382 / 158;
  background-color: #e8e0d4;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.card-body {
  padding: 14px 18px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.card-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  align-self: flex-start;
}
.card-desc {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  margin-bottom: 10px;
  flex: 1;
}
.card-link {
  color: var(--green);
  font-size: 13px;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.card-link .arrow {
  color: var(--green);
  font-size: 16px;
}

/* ===========================
   Feature
=========================== */
.feature {
  background: var(--green-pale);
  padding: 44px 0 32px;
}
.feature-inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 60px;
  align-items: center;
}
.feature-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.feature-item {
  text-align: center;
  padding: 20px 18px;
  position: relative;
}
.feature-item + .feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 70%;
  background: rgba(0,0,0,0.08);
}
.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-item h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  line-height: 1.6;
}
.feature-item p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

/* ===========================
   CTA
=========================== */
.cta-section {
  background: var(--green-pale);
  padding-bottom: 44px;
}
.cta-box {
  background: #f6efe8 url('img/contact_back.png') center/cover no-repeat;
  border-radius: 8px;
  padding: 34px 50px;
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-text h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  color: var(--text);
}
.cta-text p {
  font-size: 13px;
  color: var(--text-soft);
}
.cta-btn {
  background: var(--yellow);
  color: var(--text);
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(252, 213, 51, 0.3);
  transition: all 0.2s;
}
.cta-btn:hover { background: var(--yellow-hover); opacity: 1; transform: translateY(-2px); }
/* ===========================
   Footer
=========================== */
.footer {
  background: var(--bg-footer);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.4fr 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 2;
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  color: var(--text);
}
.footer-col ul li {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}
.footer-col ul li a:hover { color: var(--green); opacity: 1; }
.footer-contact .tel {
  font-size: 26px;
  font-weight: 500;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.footer-contact .tel .ico {
  width: 22px; height: 22px;
  color: var(--green);
}
.footer-contact .info {
  font-size: 12px;
  color: var(--text-soft);
  line-height: 2;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.footer-contact .info strong {
  font-weight: 500;
  color: var(--text);
}

.copyright-bar {
  background: var(--green);
  color: #fff;
  padding: 14px 0;
  margin-top: 40px;
}
.copyright-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.copyright-links {
  display: flex;
  gap: 24px;
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 980px) {
  /* Header: hamburger dropdown menu */
  .nav-toggle { display: flex; }
  .logo-text { white-space: nowrap; font-size: 16px; }
  .contact-btn { margin-left: 12px; padding: 15px 16px 17px; }
  .contact-btn span { white-space: nowrap; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    background: #fff;
    padding: 6px 24px 14px;
    box-shadow: 0 14px 22px rgba(0,0,0,0.08);
    border-top: 1px solid var(--border);
  }
  .header.nav-open .nav { display: flex; }
  .nav a { padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .nav a::after { display: none; }
  .header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero: prominent image banner, text below, badge overlapping */
  .hero { height: auto; }
  .hero-media {
    position: static;
    height: 250px;
    overflow: hidden;
  }
  .hero-media img {
    position: static;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 64% 42%;
  }
  .hero-overlay { position: static; height: auto; display: block; }
  .hero-text { width: 100%; padding: 26px 0 6px; }
  .hero-buttons { margin-left: 0; }
  .hero-title { font-size: 36px; }
  .hero-curve { display: none; }
  /* 24h badge: circle -> readable horizontal pill floating on the image */
  .badge-24h {
    top: 198px;
    left: 16px;
    right: auto;
    bottom: auto;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  }
  .badge-24h .num { color: #fff; font-size: 13px; line-height: 1; }
  .badge-24h .num strong { color: #fff; font-size: 18px; margin-right: 1px; }
  .badge-24h .label {
    color: #fff;
    font-size: 13px;
    line-height: 1;
    letter-spacing: 0.02em;
    margin-top: 0;
  }
  .badge-24h .label br { display: none; }
  .badge-24h .deco { display: none; }

  .service-grid { grid-template-columns: 1fr; }
  /* tighter letter-spacing on small screens */
  .section-title { letter-spacing: 0.08em; }
  /* tighter "Feature" section spacing */
  .feature { padding: 32px 0 24px; }
  .feature-inner { grid-template-columns: 1fr; gap: 14px; }
  .feature-items { grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
  .feature-item { padding: 12px 14px; }
  .feature-item .feature-icon { margin-bottom: 8px; }
  .feature-item h3 { margin-bottom: 6px; line-height: 1.45; letter-spacing: 0.02em; }
  .feature-item + .feature-item::before { display: none; }
  .cta-box { grid-template-columns: 1fr; justify-content: stretch; text-align: center; padding: 30px 24px; background-position: bottom right; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .copyright-inner { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 560px) {
  .hero-title { font-size: 28px; letter-spacing: 0.1em; }
  .section-title { font-size: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-items { grid-template-columns: 1fr; gap: 0; }
  .feature-item { padding: 9px 14px; }
  .btn { min-width: 180px; padding: 14px 22px; }
  .hero-buttons { flex-direction: column; }
}
