:root {
  --primary: #38BDF8;
  --primary-dark: #0EA5E9;
  --primary-deeper: #0284C7;
  --primary-light: #E0F2FE;
  --primary-lighter: #F0F9FF;
  --accent-green: #34D399;
  --accent-green-dark: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-warm: #FB923C;
  --accent-warm-light: #FFF7ED;
  --text: #1E293B;
  --text-light: #475569;
  --text-muted: #64748B;
  --white: #FFFFFF;
  --cream: #F8FAFC;
  --border: #E2E8F0;
  --shadow: rgba(56, 189, 248, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  z-index: 1000; border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--primary-deeper);
}
.logo-drop { width: 42px; height: 42px; flex-shrink: 0; }
.logo-drop svg { width: 100%; height: 100%; }
.logo-name { font-size: 20px; font-weight: 700; color: var(--primary-deeper); letter-spacing: 0.04em; }
.logo-tagline { font-size: 10px; color: var(--text-muted); font-weight: 400; letter-spacing: 0.04em; }
.header-nav { display: flex; align-items: center; gap: 24px; }
.header-nav a {
  text-decoration: none; font-size: 16px; font-weight: 500;
  color: var(--text-light); transition: color 0.3s; padding: 4px 0;
}
.header-nav a:hover { color: var(--primary-deeper); }
.header-tel {
  display: flex; align-items: center; gap: 6px;
  color: var(--primary-deeper); text-decoration: none;
  font-family: 'Quicksand', sans-serif; font-weight: 700; font-size: 16px;
}
.btn-header {
  background: var(--primary-dark); color: white !important;
  padding: 9px 24px!important; border-radius: 24px;
  text-decoration: none; font-size: 16px; font-weight: 600;
  transition: all 0.3s;
}
.btn-header:hover { background: var(--primary-deeper); transform: translateY(-1px); color: white; }

/* スマホ用電話ボタン・ハンバーガー */
.header-tel-mobile {
  display: none;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%; color: var(--primary-deeper);
  background: var(--primary-light);
  text-decoration: none; font-size: 18px;
  margin-left: auto; margin-right: 8px;
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: none; padding: 0;
  cursor: pointer; position: relative;
}
.nav-toggle span {
  display: block; position: absolute; left: 8px;
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s, top 0.3s;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 19px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  margin-top: 72px; position: relative;
  min-height: 600px; overflow: hidden;
  display: flex; align-items: center;
  background: linear-gradient(180deg, var(--primary-lighter) 0%, #DBEAFE 30%, var(--white) 100%);
}
.hero-bg-photo {
  position: absolute; inset: 0;
  background-image: url('../img/hero-bk.jpg');
  background-size: cover; background-position: center 60%;
  opacity: 0.12;
}
.hero-clouds {
  position: absolute; top: 20px; left: 0; width: 100%; height: 80px; opacity: 0.25;
  pointer-events: none;
}
.cloud {
  position: absolute; background: white; border-radius: 50px;
  animation: cloud-move 60s linear infinite;
}
.cloud::before, .cloud::after {
  content: ''; position: absolute; background: white; border-radius: 50%;
}
.cloud-1 { width: 70px; height: 24px; top: 10px; left: 10%; }
.cloud-1::before { width: 30px; height: 30px; top: -16px; left: 12px; }
.cloud-1::after { width: 20px; height: 20px; top: -10px; left: 38px; }
.cloud-2 { width: 50px; height: 18px; top: 40px; left: 60%; animation-delay: -25s; }
.cloud-2::before { width: 24px; height: 24px; top: -12px; left: 8px; }
.cloud-2::after { width: 18px; height: 18px; top: -8px; left: 28px; }
.cloud-3 { width: 40px; height: 14px; top: 5px; left: 80%; animation-delay: -10s; }
.cloud-3::before { width: 18px; height: 18px; top: -10px; left: 6px; }
.cloud-3::after { width: 14px; height: 14px; top: -6px; left: 22px; }
@keyframes cloud-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-250px); }
}
@media (prefers-reduced-motion: reduce) {
  .cloud { animation: none; }
}
.hero-inner {
  max-width: 1100px; margin: 0 auto; padding: 64px 24px 80px;
  display: flex; align-items: center; gap: 48px;
  position: relative; z-index: 2;
}
.hero-content { flex: 1; }
.hero-title {
  font-size: 44px; font-weight: 900; line-height: 1.45;
  margin-bottom: 24px; color: var(--text);
}
.hero-title .water {
  color: var(--primary-deeper); position: relative; display: inline-block;
}
.hero-title .water::after {
  content: ''; position: absolute; bottom: 4px; left: 0;
  width: 100%; height: 10px;
  background: rgba(56, 189, 248, 0.2); border-radius: 5px; z-index: -1;
}
.hero-desc {
  font-size: 15px; color: var(--text-light);
  margin-bottom: 36px; line-height: 2.1;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-round {
  padding: 14px 32px; border-radius: 50px;
  text-decoration: none; font-size: 14px; font-weight: 700;
  transition: all 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-round span { font-size: 28px; line-height: 1; }
.btn-round.primary { background: var(--primary-dark); color: white; }
.btn-round.primary:hover {
  background: var(--primary-deeper); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
}
.btn-round.green { background: var(--accent-green-dark); color: white; }
.btn-round.green:hover {
  background: #059669; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.hero-photo { flex: 1; position: relative; }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 24px; box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  display: block;
}

/* ===== SECTION WAVE (セクション下端から次セクション色で競り上がる波) ===== */
.section-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%; height: 80px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}
.section-wave svg { width: 100%; height: 100%; display: block; }

/* ===== SECTION COMMON ===== */
.section { position: relative; padding: 96px 24px; }
/* 下に波があるセクションは内容と波の間に余白を確保 */
.section.has-wave { padding-bottom: 140px; }
.section-inner { max-width: 1000px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-en {
  font-family: 'Quicksand', sans-serif; font-size: 16px; font-weight: 700;
  color: var(--primary-dark); letter-spacing: 0.12em; margin-bottom: 8px;
}
.section-title { font-size: 30px; font-weight: 900; color: var(--text); margin-bottom: 12px; }
.section-desc { font-size: 14px; color: var(--text-light); line-height: 1.9; }
.section-dots { display: flex; gap: 6px; justify-content: center; margin-top: 16px; }
.section-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--primary-dark); opacity: 0.2; }
.section-dots span:nth-child(2) { opacity: 0.5; }
.section-dots span:nth-child(3) { opacity: 1; }
.bg-cream { background: var(--cream); }
.bg-blue { background: var(--primary-lighter); }

/* ===== SERVICES ===== */
.services-flex { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: white; border-radius: 0 16px 16px 0; padding: 28px 28px 28px 24px;
  border: 1px solid var(--border); border-left: 4px solid var(--primary-dark);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex; gap: 20px; align-items: flex-start;
}
.svc-card:hover {
  transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow);
}
.svc-card.green { border-left-color: var(--accent-green-dark); }
.svc-card.warm  { border-left-color: var(--accent-warm); }
.svc-icon {
  width: 80px; height: 80px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; overflow: hidden;
}
.svc-icon.blue  { background: var(--primary-light); }
.svc-icon.green { background: var(--accent-green-light); }
.svc-icon.warm  { background: var(--accent-warm-light); }
.svc-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-info h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.svc-info p  { font-size: 14px; color: var(--text-light); line-height: 1.9; }
.svc-area-badge {
  display: inline-block; font-size: 10px; padding: 3px 12px;
  border-radius: 4px; background: var(--primary-light);
  color: var(--primary-deeper); font-weight: 600; margin-top: 10px;
  letter-spacing: 0.02em;
}
.villa-card {
  margin-top: 20px; background: white; border-radius: 0 16px 16px 0;
  padding: 28px 28px 28px 24px;
  border: 1px solid var(--border); border-left: 4px solid var(--primary-dark);
  display: flex; gap: 24px; align-items: center;
  transition: all 0.35s;
}
.villa-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--shadow); }
.villa-card img {
  width: 200px; height: 140px; object-fit: cover;
  border-radius: 12px; flex-shrink: 0;
}
.villa-card-text h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.villa-card-text p  { font-size: 14px; color: var(--text-light); line-height: 2; }
.villa-card-text p span{
      display: block;
    font-size: 14px;
}
/* ===== ABOUT ===== */
.about-wrap { display: flex; gap: 48px; align-items: center; }
.about-photos { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-photo-item { border-radius: 16px; overflow: hidden; }
.about-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-photo-item:first-child { grid-column: span 2; }
.about-photo-item:first-child img { aspect-ratio: 2 / 1; }
.about-photo-item:not(:first-child) img { aspect-ratio: 1; }
.about-text-area { flex: 1; }
.about-text-area h3 {
  font-size: 26px; font-weight: 900; line-height: 1.6;
  margin-bottom: 24px; color: var(--text);
}
.about-text-area p { font-size: 14px; color: var(--text-light); line-height: 2.1; margin-bottom: 14px; }

/* ===== COMPANY TABLE ===== */
.company-tbl {
  width: 100%; border-collapse: collapse; margin-top: 48px;
  background: white; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
}
.company-tbl tr { border-bottom: 1px solid var(--border); }
.company-tbl tr:last-child { border-bottom: none; }
.company-tbl th {
  text-align: left; padding: 18px 24px; font-size: 16px; font-weight: 600;
  color: var(--primary-deeper); width: 140px; background: var(--primary-lighter);
  vertical-align: top;
}
.company-tbl td { padding: 18px 24px; font-size: 14px; line-height: 1.8; }
.company-tbl td a { color: var(--primary-deeper); text-decoration: none; font-weight: 600; }

/* ===== MESSAGE ===== */
.message-wrap {
  background: white; border-radius: 28px; padding: 48px 56px;
  max-width: 820px; margin: 0 auto;
  border: 1px solid var(--border); box-shadow: 0 8px 32px var(--shadow);
}
.message-body h3 {
  font-size: 24px; font-weight: 900; margin-bottom: 20px;
  color: var(--text); line-height: 1.6;
}
.message-body p { font-size: 14px; color: var(--text-light); line-height: 2.1; margin-bottom: 12px; }
.message-sig { margin-top: 24px; font-size: 12px; color: var(--text-muted); text-align: right; }
.message-sig strong { display: block; font-size: 20px; color: var(--text); margin-top: 6px; font-weight: 900; }

/* ===== STAFF VOICE ===== */
.voice-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.voice-card {
  background: white; border-radius: 20px; padding: 28px;
  border: 1px solid var(--border); transition: all 0.4s;
}
.voice-card:hover { box-shadow: 0 12px 32px var(--shadow); transform: translateY(-4px); }
.voice-top { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; }
.voice-avatar {
  width: 150px; height: 150px; background: var(--primary-light);
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.voice-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.voice-meta { text-align: center; }
.voice-meta h4 { font-size: 15px; font-weight: 700; }
.voice-meta .role { font-size: 11px; color: var(--primary-dark); font-weight: 600; }
.voice-card p {
  font-size: 14px; color: var(--text-light); line-height: 2;
  position: relative; padding-left: 16px;
}
.voice-card p::before {
  content: '\201C'; position: absolute; left: 0; top: -4px;
  font-size: 24px; color: var(--primary-dark); opacity: 0.3; font-family: serif;
}

/* ===== RECRUIT ===== */
.recruit-box {
  background: linear-gradient(135deg, var(--accent-green-dark) 0%, #059669 100%);
  border-radius: 24px; padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; color: white; position: relative; overflow: hidden;
  margin-top: 48px;
}
.recruit-box::before {
  content: ''; position: absolute; top: -30%; right: -5%;
  width: 300px; height: 300px; background: rgba(255, 255, 255, 0.08); border-radius: 50%;
}
.recruit-box h3 { font-size: 24px; font-weight: 900; margin-bottom: 8px; position: relative; z-index: 2; }
.recruit-box p { font-size: 16px; opacity: 0.9; position: relative; z-index: 2; }
.btn-white {
  background: white; color: var(--accent-green-dark);
  padding: 14px 36px; border-radius: 50px;
  text-decoration: none; font-size: 14px; font-weight: 800;
  transition: all 0.3s; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  position: relative; z-index: 2;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

/* ===== CONTACT ===== */
.contact-wrap { text-align: center; max-width: 700px; margin: 0 auto; }
.contact-wrap > p { font-size: 14px; color: var(--text-light); margin-bottom: 36px; line-height: 1.9; }
.contact-note { font-size: 12px; color: var(--text-muted); }
.contact-cards { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.ct-card {
  flex: 1; min-width: 220px; background: white; border-radius: 20px;
  padding: 36px 28px; border: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: all 0.4s; display: block;
}
.ct-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow); border-color: transparent; }
.ct-icon {
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.ct-icon.tel-icon  {
  width: 48px; height: 48px; font-size: 20px;
  background: var(--primary-light); color: var(--primary-deeper);
}
.ct-icon.mail-icon {
  width: 64px; height: 64px; font-size: 28px;
  background: var(--accent-green-light); color: var(--accent-green-dark);
}
.ct-card h4 { font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 10px; letter-spacing: 0.04em; }
.ct-card .val { font-family: 'Quicksand', sans-serif; font-size: 24px; font-weight: 700; color: var(--primary-deeper); }
.ct-card .mail-val { font-size: 18px; word-break: break-all; line-height: 1.4; }
.ct-card .note { font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.insta-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; padding: 12px 24px;
  background: white; border: 1px solid var(--border); border-radius: 50px;
  text-decoration: none; color: var(--text); font-size: 16px; font-weight: 600;
  transition: all 0.3s;
}
.insta-link:hover { border-color: #E1306C; box-shadow: 0 4px 16px rgba(225, 48, 108, 0.08); }
.insta-dot {
  width: 28px; height: 28px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 14px; font-weight: 700;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, #EFF6FF 0%, #F0FDFA 100%);
  color: var(--text-light);
  padding: 56px 24px 24px;
}
.footer-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; justify-content: space-between; gap: 48px; margin-bottom: 36px;
}
.footer-brand .f-logo {
  background: linear-gradient(90deg, var(--primary-dark), var(--accent-green-dark));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px; font-weight: 700; margin-bottom: 12px;
}
.footer-brand p { font-size: 16px; line-height: 2; color: var(--text-muted); }
.footer-brand a { color: var(--primary-dark); text-decoration: none; }
.footer-menu { display: flex; gap: 40px; }
.footer-menu-group h5 {
  color: var(--primary-deeper); font-size: 14px; font-weight: 700;
  margin-bottom: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-family: 'Quicksand', sans-serif;
}
.footer-menu-group a {
  display: block; color: var(--text-muted); text-decoration: none;
  font-size: 15px; padding: 3px 0; transition: color 0.3s;
}
.footer-menu-group a:hover { color: var(--primary-dark); }
.footer-copy {
  max-width: 1000px; margin: 0 auto; padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center; font-size: 11px; font-family: 'Quicksand', sans-serif;
  color: var(--text-muted); letter-spacing: 0.06em;
}

/* ===== FOCUS (アクセシビリティ) ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px; border-radius: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner { padding: 0 16px; }
  .logo-tagline { display: none; }
  .header-nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: white; flex-direction: column;
    align-items: stretch; gap: 0;
    padding: 8px 16px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .header-nav.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .header-nav a {
    padding: 14px 4px; font-size: 14px;
    border-bottom: 1px solid var(--border);
  }
  .header-nav a:last-child { border-bottom: none; }
  .header-nav .header-tel {
    font-size: 18px; justify-content: center;
  }
  .header-nav .btn-header {
    text-align: center; padding: 12px 24px; margin-top: 8px;
  }
  .header-tel-mobile { display: inline-flex; }
  .nav-toggle { display: block; }

  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; gap: 32px; padding: 40px 20px 60px; }
  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 14px; }
  .hero-photo img { aspect-ratio: 16 / 11; }

  .section { padding: 64px 20px; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: 24px; }

  .services-flex { grid-template-columns: 1fr; }
  .svc-card { padding: 20px; gap: 16px; }
  .svc-icon { width: 64px; height: 64px; border-radius: 14px; }

  .villa-card { flex-direction: column; align-items: stretch; padding: 20px; }
  .villa-card img { width: 100%; height: 180px; }

  .about-wrap { flex-direction: column; gap: 32px; }
  .about-text-area h3 { font-size: 22px; }

  /* テーブルを縦積み */
  .company-tbl { display: block; }
  .company-tbl tbody { display: block; }
  .company-tbl tr {
    display: block; padding: 14px 16px;
  }
  .company-tbl th,
  .company-tbl td {
    display: block; width: 100%;
    padding: 0; background: transparent;
  }
  .company-tbl th {
    font-size: 11px; margin-bottom: 4px;
    color: var(--primary-deeper);
  }
  .company-tbl td { font-size: 16px; }

  .message-wrap { padding: 28px 22px; }
  .message-body h3 { font-size: 20px; }

  .voice-cards { grid-template-columns: 1fr; }
  .voice-avatar { width: 110px; height: 110px; }

  .recruit-box { flex-direction: column; text-align: center; padding: 32px 24px; }
  .recruit-box h3 { font-size: 20px; }

  .contact-cards { flex-direction: column; }
  .ct-card { padding: 28px 20px; }
  .ct-card .val { font-size: 22px; }
  .ct-card .mail-val { font-size: 16px; }

  .footer { padding: 40px 20px 20px; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-menu { flex-direction: column; gap: 16px; }
}

/* ===== FADE IN ===== */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.no-js .fade-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { transition: none; opacity: 1; transform: none; }
}
