/* ==============================================
   ハタケネット – stylesheet
   ============================================== */

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

:root {
  --navy:      #1a2744;
  --navy-light:#2a3a5c;
  --accent:    #1a2744;
  --white:     #ffffff;
  --gray-bg:   #f5f7fa;
  --gray-text: #666;
  --border:    #e0e4ec;
  --font: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: #333; line-height: 1.7; }
a    { text-decoration: none; color: inherit; }
img  { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* ---------- Buttons ---------- */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--navy-light); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--navy-light); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 4px;
  border: 1.5px solid var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-cta:hover { background: #eef0f5; }

/* ========== HEADER ========== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
nav { display: flex; align-items: center; gap: 32px; }
nav a {
  font-size: 0.85rem;
  color: #444;
  transition: color 0.2s;
}
nav a:hover { color: var(--navy); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a {
  font-size: 0.95rem;
  color: #444;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-drawer a:last-child { border-bottom: none; padding-top: 20px; }
.nav-drawer a:hover { color: var(--navy); }
.nav-drawer .btn-nav {
  margin-top: 4px;
  justify-content: center;
}

/* Scroll shadow */
header.scrolled { box-shadow: 0 2px 12px rgba(26,39,68,0.08); }

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: calc(100vh - 64px);
  padding: 60px 80px;
  gap: 60px;
  background: var(--white);
}
.hero-content { max-width: 520px; }
.hero-eyebrow {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero p {
  font-size: 0.95rem;
  color: var(--gray-text);
  line-height: 1.9;
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(26,39,68,0.12);
}

/* ========== WORRIES ========== */
.worries {
  padding: 64px 80px;
  background: var(--gray-bg);
  text-align: center;
}
.worries h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 36px;
}
.worries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto 40px;
}
.worry-item {
  background: var(--white);
  border-radius: 8px;
  padding: 24px 20px;
  font-size: 0.85rem;
  color: #444;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
}
.worry-check {
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.worries-solution {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}
.worries-solution span {
  border-bottom: 2px solid var(--navy);
  padding-bottom: 2px;
  color: var(--navy);
  font-weight: 700;
}

/* ========== SERVICE ========== */
.service {
  padding: 72px 80px;
  background: var(--white);
}
.service-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  align-items: start;
}
.service-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.service-intro p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 28px;
}
.service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  text-align: center;
  padding: 28px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: 0 4px 20px rgba(26,39,68,0.08); }
.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--navy);
}
.service-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.8rem; color: var(--gray-text); line-height: 1.7; }

/* ========== WHY ========== */
.why {
  padding: 72px 80px;
  background: var(--navy);
  color: var(--white);
}
.why-header {
  text-align: center;
  margin-bottom: 52px;
}
.why-header .section-label { color: rgba(255,255,255,0.6); }
.why-header h2 { font-size: 1.8rem; font-weight: 700; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.why-item { text-align: center; }
.why-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-icon svg { width: 26px; height: 26px; color: var(--white); }
.why-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.why-item p { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.8; }

/* ========== WORKS ========== */
.works {
  padding: 72px 80px;
  background: var(--white);
}
.works-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.works-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.works-intro p {
  font-size: 0.88rem;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 28px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.work-card { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.work-thumb {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #c8d4e8, #a0b4cc);
  position: relative;
  overflow: hidden;
}
.work-thumb-cafe    { background: linear-gradient(135deg, #d4c8a0, #b8a870); }
.work-thumb-seikotsu{ background: linear-gradient(135deg, #c8d4c8, #a0b8a0); }
.work-thumb-it      { background: linear-gradient(135deg, #1a2744, #2a3a5c); }
.work-thumb-cooking { background: linear-gradient(135deg, #e8d4c8, #c8a890); }
.work-thumb-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
}
.work-info { padding: 16px; }
.work-info h3 { font-size: 0.9rem; font-weight: 700; color: #333; margin-bottom: 10px; }
.work-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  padding: 3px 10px;
  border: 1px solid var(--navy);
  border-radius: 2px;
  color: var(--navy);
}

/* ========== FLOW ========== */
.flow {
  padding: 72px 80px;
  background: var(--gray-bg);
}
.flow-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.flow-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.flow-intro p { font-size: 0.88rem; color: var(--gray-text); line-height: 1.8; }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: start;
}
.flow-step { text-align: center; position: relative; }
.flow-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -8px;
  top: 22px;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
}
.flow-num {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 auto 10px;
}
.flow-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  color: var(--navy);
}
.flow-step h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.flow-step p { font-size: 0.72rem; color: var(--gray-text); line-height: 1.6; }

/* ========== PRICE + PROFILE ========== */
.price-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
}
.price {
  padding: 72px 60px;
  background: var(--white);
}
.price h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.price-desc { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 36px; }
.price-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 24px;
}
.price-card-label {
  font-size: 0.8rem;
  color: var(--gray-text);
  margin-bottom: 8px;
}
.price-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
}
.price-amount span { font-size: 1rem; font-weight: 600; }
.price-list {
  list-style: none;
  font-size: 0.8rem;
  color: #444;
  line-height: 2;
}
.price-list li::before { content: '✓ '; color: var(--navy); font-weight: 700; }
.price-note {
  font-size: 0.72rem;
  color: #aaa;
  margin-top: 8px;
}
.price-footer-note {
  font-size: 0.75rem;
  color: var(--gray-text);
  margin-top: 20px;
}

.profile {
  padding: 72px 60px;
  background: var(--gray-bg);
  display: grid;
  grid-template-columns: 1fr 160px;
  gap: 32px;
  align-items: center;
}
.profile-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.profile-content p {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.9;
  margin-bottom: 28px;
}
.profile-photo {
  width: 160px;
  height: 200px;
  background: linear-gradient(135deg, #c8d4e8, #8090b0);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.profile-photo-inner {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 90%;
  background: linear-gradient(180deg, transparent 0%, #a0b0c8 30%, #8090a8 100%);
  border-radius: 60% 60% 0 0;
}

/* ========== CTA ========== */
.cta {
  background: var(--navy);
  padding: 52px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-icon {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cta-icon svg { width: 24px; height: 24px; color: var(--white); }
.cta-text h2 { font-size: 1.3rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cta-text p  { font-size: 0.85rem; color: rgba(255,255,255,0.7); }
.cta-left { display: flex; align-items: center; gap: 20px; }

/* ========== FOOTER ========== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.5); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.75rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ========== SCROLL ANIMATION ========== */
.js-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  header { padding: 0 24px; }
  nav { gap: 20px; }
  .logo-img { height: 36px; }
  nav > a:not(.btn-nav) { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 40px; gap: 40px; }
  .hero h1 { font-size: 2rem; }
  .worries { padding: 48px 40px; }
  .worries-grid { grid-template-columns: repeat(2, 1fr); }
  .service { padding: 56px 40px; }
  .service-inner { grid-template-columns: 1fr; gap: 32px; }
  .service-cards { grid-template-columns: repeat(2, 1fr); }
  .why { padding: 56px 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .works { padding: 56px 40px; }
  .works-inner { grid-template-columns: 1fr; gap: 32px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { padding: 56px 40px; }
  .flow-inner { grid-template-columns: 1fr; gap: 24px; }
  .flow-steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .flow-step:not(:last-child)::after { display: none; }
  .price-profile { grid-template-columns: 1fr; }
  .price { padding: 56px 40px; }
  .profile { padding: 56px 40px; }
  .cta { padding: 40px; flex-direction: column; text-align: center; }
  .cta-left { flex-direction: column; }
  footer { padding: 20px 40px; }
}

@media (max-width: 640px) {
  header { padding: 0 20px; }
  .logo-img { height: 34px; }
  .hero { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero-image { display: none; }
  .hero h1 { font-size: 1.8rem; }
  .worries { padding: 40px 20px; }
  .worries-grid { grid-template-columns: 1fr; }
  .service { padding: 48px 20px; }
  .service-cards { grid-template-columns: 1fr; }
  .why { padding: 48px 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .works { padding: 48px 20px; }
  .works-grid { grid-template-columns: 1fr; }
  .flow { padding: 48px 20px; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); }
  .price { padding: 48px 20px; }
  .price-cards { grid-template-columns: 1fr; }
  .profile { padding: 48px 20px; grid-template-columns: 1fr; }
  .profile-photo { display: none; }
  .cta { padding: 40px 20px; }
  footer { padding: 20px; flex-direction: column; gap: 12px; text-align: center; }
}
