/*
Theme Name: New life
Theme URI: https://ne-ne-life.com
Author: Exploration Holdings
Author URI: https://ne-ne-life.com
Description: New life 会員サービスLP - 4つのくらしサポート
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newlife
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ============================================
   DESIGN SYSTEM — Bright / Hopeful / Premium
   ============================================ */
:root {
  /* Primary: vivid yellow */
  --color-primary: #FFD200;
  --color-primary-light: #FFE34D;
  --color-primary-soft: #FFF9D6;
  --color-primary-glow: rgba(255,210,0,0.35);

  /* Accent: pure yellow for CTAs */
  --color-accent: #EBC600;
  --color-accent-light: #F0D000;
  --color-accent-soft: #FFFFD6;

  /* Text — softer, not heavy dark */
  --color-text: #4A4038;
  --color-text-secondary: #8C7E6E;
  --color-text-muted: #C0B5A6;

  /* Backgrounds — clearly yellow, sunny */
  --color-bg: #FFFFFF;
  --color-bg-warm: #FFFDE6;
  --color-bg-cream: #FFF8CC;
  --color-bg-sky: #FFF5B8;
  --color-bg-sunshine: linear-gradient(180deg, #FFFDE6 0%, #FFF3A0 100%);

  /* Borders — warm yellow tint */
  --color-border: #FFE9A0;
  --color-border-light: #FFF2C4;
  --color-white: #FFFFFF;
  --color-dark: #3D3428;

  /* Fonts */
  --font-display: 'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --font-body: 'Noto Sans JP', 'Inter', system-ui, sans-serif;

  /* Radius */
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  /* Shadows — golden, warm, light */
  --shadow-sm: 0 2px 8px rgba(245,166,35,0.06);
  --shadow-md: 0 6px 24px rgba(245,166,35,0.08);
  --shadow-lg: 0 12px 40px rgba(245,166,35,0.10);
  --shadow-xl: 0 20px 60px rgba(245,166,35,0.12);
  --shadow-glow: 0 8px 32px rgba(255,208,96,0.30);

  --ease: cubic-bezier(0.22,1,0.36,1);
}

*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.75;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--color-primary); text-decoration: none; transition: 0.3s var(--ease) }
a:hover { color: var(--color-accent) }
img { max-width: 100%; height: auto; display: block }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(240,232,220,0.6);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none }

.logo-img { width: 38px; height: 38px }

.brand-name {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: var(--color-dark); letter-spacing: -0.02em; white-space: nowrap;
}

.main-nav { display: flex; gap: 28px; font-size: 13px; font-weight: 500 }
.main-nav a { color: var(--color-text-secondary); letter-spacing: 0.02em }
.main-nav a:hover { color: var(--color-primary); text-decoration: none }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 22px; border-radius: 999px;
  background: linear-gradient(135deg, #FFD200 0%, #EBC600 100%);
  color: #3D3428 !important; font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; transition: 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(255,210,0,0.35);
}
.header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,210,0,0.50);
  color: var(--color-white) !important;
}

/* ============================================
   HERO — Full-screen cinematic, bright overlay
   ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}

.hero-photo-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(255,255,245,0.60) 0%,
    rgba(255,252,230,0.30) 35%,
    rgba(255,249,220,0.65) 100%
  );
}

.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 140px 24px 100px; max-width: 720px; margin: 0 auto;
}

.hero h1 {
  font-size: 42px; line-height: 1.5; font-weight: 800;
  color: var(--color-dark);
  margin: 0 0 20px; letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(255,255,255,0.6);
}

.hero-sub {
  font-size: 16px; color: var(--color-text-secondary); margin: 0 0 40px;
  line-height: 1.9; text-shadow: 0 1px 10px rgba(255,255,255,0.5);
}

/* CTA Button — large, sunny, inviting */
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 44px; border-radius: 999px;
  background: linear-gradient(135deg, #FFD200 0%, #EBC600 100%);
  color: #3D3428; font-size: 16px; font-weight: 700; border: none; cursor: pointer;
  transition: 0.4s var(--ease); letter-spacing: 0.04em;
  box-shadow: 0 8px 32px rgba(255,210,0,0.40);
  text-decoration: none;
}
.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 48px rgba(255,210,0,0.50);
  color: #fff; text-decoration: none;
}

.btn-cta-text { display: inline }
.btn-cta-arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(255,255,255,0.25); font-size: 16px;
  transition: 0.3s var(--ease);
}
.btn-cta:hover .btn-cta-arrow { background: rgba(255,255,255,0.4); transform: translateX(3px) }

.hero-notes {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  margin-top: 28px;
}
.hero-notes span {
  font-size: 13px; color: var(--color-text); font-weight: 500;
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255,255,240,0.85); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,220,150,0.4);
}

/* Scroll line */
.scroll-line {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(180deg, var(--color-primary-light), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite; z-index: 3;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) scaleY(0.6) }
  50% { opacity: 0.8; transform: translateX(-50%) scaleY(1) }
}

/* ============================================
   SECTIONS — Bright backgrounds
   ============================================ */
.section { padding: 100px 0 }
.section-dark { background: var(--color-bg-sky) }
.section-warm { background: var(--color-bg-warm) }
.section-accent {
  background: linear-gradient(135deg, #FFF9CC 0%, #FFF0A0 100%);
}

.section-header { text-align: center; margin-bottom: 64px }

.section-en {
  display: block; font-family: var(--font-display); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-primary);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 30px; font-weight: 800; margin: 0; letter-spacing: -0.02em; line-height: 1.4;
  color: var(--color-dark);
}

.section-header-light .section-en { color: var(--color-accent) }
.section-header-light h2 { color: var(--color-dark) }

/* ============================================
   SERVICE CARDS
   ============================================ */
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 36px 32px 32px;
  position: relative; transition: 0.4s var(--ease); overflow: hidden;
}

.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #FFD200, #FFE34D, #EBC600);
  opacity: 0; transition: 0.4s var(--ease);
}

.service-card:hover {
  box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent;
}
.service-card:hover::before { opacity: 1 }

.card-num {
  display: block; font-family: var(--font-display); font-size: 48px; font-weight: 800;
  color: var(--color-border); line-height: 1; margin-bottom: 12px; letter-spacing: -0.04em;
}

.card-icon { width: 56px; height: 56px; object-fit: contain; margin-bottom: 20px }

.service-card h3 {
  font-size: 18px; font-weight: 700; margin: 0 0 12px; color: var(--color-dark);
}

.service-card p {
  font-size: 13px; color: var(--color-text-secondary); margin: 0 0 16px; line-height: 1.8;
}

.service-card ul {
  list-style: none; padding: 0; margin: 0 0 20px;
}
.service-card ul li {
  font-size: 13px; color: var(--color-text-secondary); padding: 4px 0 4px 18px; position: relative;
}
.service-card ul li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--color-primary-light);
}

.card-price {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding-top: 16px; border-top: 1px solid var(--color-border);
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: var(--color-dark); letter-spacing: -0.02em;
}
.card-price small {
  font-size: 12px; font-weight: 500; color: var(--color-text-secondary);
}
.card-price em {
  font-style: normal; font-size: 11px; font-weight: 600;
  color: var(--color-primary); background: var(--color-primary-soft);
  padding: 3px 12px; border-radius: 999px;
}

/* ============================================
   FEATURES (選ばれる理由) — Premium redesign
   ============================================ */
.features-section {
  background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
  position: relative; overflow: hidden;
}
.features-section::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.features-section::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,159,28,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  position: relative; z-index: 1;
}

.feature-card {
  padding: 40px 32px 36px; border-radius: 20px;
  background: var(--color-white);
  border: 1px solid rgba(255,225,160,0.4);
  transition: 0.5s var(--ease); position: relative; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #FFD200, #FFE34D, #EBC600);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(255,210,0,0.12), 0 8px 24px rgba(0,0,0,0.04);
  border-color: rgba(255,210,0,0.3);
}
.feature-card:hover::before { transform: scaleX(1) }

.feature-card-icon {
  margin-bottom: 24px;
}

.feature-card-num {
  display: inline-block; font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
  color: var(--color-accent); background: var(--color-accent-soft);
  padding: 4px 14px; border-radius: 999px; margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 19px; font-weight: 800; margin: 0 0 14px; color: var(--color-dark);
  letter-spacing: -0.01em; line-height: 1.4;
}

.feature-card p {
  font-size: 14px; color: var(--color-text-secondary); line-height: 1.9; margin: 0 0 20px;
}

/* Tags */
.feature-card-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.feature-card-tags span {
  font-size: 11px; font-weight: 600; color: var(--color-text-secondary);
  padding: 4px 12px; border-radius: 999px;
  background: #F8F6F2; border: 1px solid #F0EBE0;
  transition: 0.3s var(--ease);
}
.feature-card:hover .feature-card-tags span {
  background: var(--color-primary-soft); border-color: rgba(255,210,0,0.3);
  color: #B8860B;
}

/* Price highlight */
.feature-card-highlight {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; border-radius: 12px;
  background: linear-gradient(135deg, #FFFDE6 0%, #FFF9CC 100%);
  border: 1px solid rgba(255,210,0,0.2);
}
.feature-price {
  font-family: var(--font-display); font-size: 32px; font-weight: 800;
  color: var(--color-dark); letter-spacing: -0.02em; line-height: 1;
}
.feature-price small {
  font-size: 13px; font-weight: 500; color: var(--color-text-secondary);
}
.feature-free {
  font-size: 12px; font-weight: 700; color: #B8860B;
  background: rgba(255,210,0,0.15); padding: 4px 12px; border-radius: 999px;
}

/* ============================================
   FLOW (ご利用の流れ)
   ============================================ */
.flow-row { display: flex; align-items: flex-start; gap: 0 }

.flow-card { flex: 1; text-align: center; padding: 0 20px }

.flow-badge {
  display: inline-block; font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; color: var(--color-white);
  background: linear-gradient(135deg, #FFD200, #EBC600);
  padding: 6px 18px; border-radius: 999px; margin-bottom: 20px;
}

.flow-icon {
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.flow-icon svg { filter: drop-shadow(0 4px 12px rgba(255,210,0,0.20)) }

.flow-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: var(--color-dark) }
.flow-card p { font-size: 13px; color: var(--color-text-secondary); margin: 0; line-height: 1.8 }

.flow-line {
  width: 60px; min-width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--color-border), var(--color-primary-light));
  margin-top: 22px;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}

.faq-item {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  overflow: hidden; transition: 0.3s var(--ease); background: var(--color-white);
}
.faq-item[open] {
  box-shadow: var(--shadow-md); border-color: var(--color-primary-light);
}

.faq-item summary {
  padding: 20px 24px; font-size: 15px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  color: var(--color-dark); transition: 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary::after {
  content: '+'; font-family: var(--font-display); font-size: 20px; font-weight: 300;
  color: var(--color-text-muted); transition: 0.3s var(--ease);
}
.faq-item[open] summary::after { content: '\2212'; color: var(--color-primary) }

.faq-item p {
  padding: 0 24px 20px; font-size: 14px; color: var(--color-text-secondary); margin: 0; line-height: 1.9;
}

/* ============================================
   CONTACT — warm & inviting (not dark)
   ============================================ */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: flex-start;
}

.contact-left h2 {
  font-size: 28px; font-weight: 800; color: var(--color-dark);
  margin: 0 0 16px; line-height: 1.5;
}

.contact-sub {
  font-size: 14px; color: var(--color-text-secondary); line-height: 1.9; margin: 0 0 28px;
}

.contact-tel {
  padding: 20px 24px; border-radius: var(--radius-sm);
  background: var(--color-white); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm); margin-bottom: 20px;
}
.contact-tel small {
  display: block; font-size: 10px; font-weight: 600; color: var(--color-primary);
  letter-spacing: 0.06em; margin-bottom: 4px;
}
.contact-tel strong {
  font-family: var(--font-display); font-size: 28px; font-weight: 800;
  color: var(--color-dark); letter-spacing: 0.02em;
}

.contact-badges { display: flex; gap: 10px; flex-wrap: wrap }
.contact-badges span {
  font-size: 11px; font-weight: 600; color: #B8860B;
  padding: 5px 14px; border: 1px solid #FFD200;
  border-radius: 999px; background: #FFF9D6;
}

/* Contact Form */
.contact-form {
  background: var(--color-white); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.contact-form h3 {
  font-size: 18px; font-weight: 700; margin: 0 0 24px; color: var(--color-dark);
}

.form-group { margin-bottom: 18px }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text);
}

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-xs);
  border: 1px solid var(--color-border); font-size: 14px; font-family: var(--font-body);
  transition: 0.3s var(--ease); background: var(--color-bg-warm);
}
input:focus, textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow); background: var(--color-white);
}
textarea { resize: vertical }

.btn-submit {
  display: block; width: 100%; padding: 15px; border: none; border-radius: var(--radius-xs);
  background: linear-gradient(135deg, #FFD200, #EBC600);
  color: #3D3428; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: 0.3s var(--ease); margin-top: 8px;
  box-shadow: 0 4px 16px rgba(255,210,0,0.35);
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,210,0,0.50);
}

.form-notes { margin-top: 20px }
.form-notes p {
  font-size: 11px; color: var(--color-text-muted); margin: 0 0 6px; line-height: 1.7;
}
.form-hours { font-weight: 600; color: var(--color-text-secondary) !important; margin-top: 12px !important }

/* ============================================
   HEADER CONTACT BUTTON
   ============================================ */
.header-contact-btn {
  padding: 9px 20px; border-radius: 999px;
  background: transparent; border: 1.5px solid var(--color-primary);
  color: var(--color-dark); font-weight: 600; font-size: 13px;
  cursor: pointer; transition: 0.3s var(--ease); letter-spacing: 0.02em;
  font-family: var(--font-body);
}
.header-contact-btn:hover {
  background: var(--color-primary-soft); border-color: var(--color-primary-light);
}

.header-tel {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 700; color: var(--color-dark);
  text-decoration: none; letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.header-tel:hover { color: var(--color-primary); }
.header-tel-icon { font-size: 16px; }

/* ============================================
   SLIDE-IN CONTACT PANEL
   ============================================ */
.contact-panel {
  position: fixed; inset: 0; z-index: 200;
  pointer-events: none; visibility: hidden;
}
.contact-panel.is-open {
  pointer-events: auto; visibility: visible;
}

.contact-panel-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0); transition: background 0.4s var(--ease);
}
.contact-panel.is-open .contact-panel-overlay {
  background: rgba(0,0,0,0.3);
}

.contact-panel-body {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 460px; max-width: 90vw;
  background: var(--color-white);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  padding: 32px 28px; overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.contact-panel.is-open .contact-panel-body {
  transform: translateX(0);
}

.contact-panel-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: var(--color-bg-cream); color: var(--color-text);
  font-size: 22px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; transition: 0.3s var(--ease);
  line-height: 1;
}
.contact-panel-close:hover {
  background: var(--color-primary-soft); color: var(--color-dark);
}

.contact-panel-body h3 {
  font-size: 20px; font-weight: 700; color: var(--color-dark);
  margin: 0 0 28px; padding-bottom: 16px;
  border-bottom: 2px solid var(--color-primary);
}

.contact-panel-body .form-group { margin-bottom: 18px }
.contact-panel-body .form-group label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--color-text);
}

.contact-panel-body .btn-submit {
  display: block; width: 100%; padding: 15px; border: none; border-radius: var(--radius-xs);
  background: linear-gradient(135deg, #FFD200, #EBC600);
  color: #3D3428; font-size: 15px; font-weight: 700; cursor: pointer;
  transition: 0.3s var(--ease); margin-top: 8px;
  box-shadow: 0 4px 16px rgba(255,210,0,0.35);
}
.contact-panel-body .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,210,0,0.50);
}

.contact-panel-body .form-notes { margin-top: 20px }
.contact-panel-body .form-notes p {
  font-size: 11px; color: var(--color-text-muted); margin: 0 0 6px; line-height: 1.7;
}

/* ============================================
   FOOTER — clean, light, Silicon Valley style
   ============================================ */
.site-footer {
  background: #FAFAFA; color: var(--color-text-secondary);
  padding: 56px 0 32px; border-top: 1px solid #F0EBE0;
}
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 10px }
.footer-logo { width: 32px; height: 32px }
.footer-brand .brand-name { color: var(--color-dark); font-size: 15px; font-weight: 700 }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px }
.footer-links a { font-size: 12px; color: var(--color-text-muted); font-weight: 500; transition: 0.3s var(--ease) }
.footer-links a:hover { color: var(--color-primary) }
.footer-copy {
  width: 100%; text-align: center; font-size: 11px; color: var(--color-text-muted);
  padding-top: 24px; border-top: 1px solid #F0EBE0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .main-nav { display: none }
  .hero {
    min-height: 85vh;
    background-size: cover;
    background-position: 65% center;
  }
  .hero-content { padding: 100px 20px 60px }
  .hero h1 { font-size: 28px }
  .hero-notes { flex-direction: column; align-items: center; gap: 8px }
  .section { padding: 64px 0 }
  .section-header h2 { font-size: 24px }
  .section-header { margin-bottom: 40px }
  .service-grid { grid-template-columns: 1fr }
  .feature-grid { grid-template-columns: 1fr; gap: 20px }
  .feature-card { padding: 32px 24px 28px }
  .flow-row { flex-direction: column; align-items: center }
  .flow-line {
    width: 2px; height: 32px; min-width: 2px;
    background: linear-gradient(180deg, var(--color-border), var(--color-primary-light));
  }
  .header-contact-btn { padding: 7px 14px; font-size: 11px }
}

@media (max-width: 600px) {
  .header-inner { height: auto; min-height: 56px; padding: 8px 0; flex-wrap: wrap; gap: 6px }
  .brand { gap: 6px }
  .brand-name { font-size: 15px }
  .logo-img { width: 30px; height: 30px }
  .header-cta { padding: 6px 12px; font-size: 11px }
  .header-contact-btn { padding: 6px 10px; font-size: 10px }
  .header-tel { font-size: 11px }
  .hero {
    min-height: 80vh;
    background-position: 60% center;
  }
  .hero-content { padding: 80px 16px 50px }
  .hero h1 { font-size: 24px }
  .hero-sub { font-size: 14px; margin-bottom: 28px }
  .btn-cta { padding: 15px 32px; font-size: 14px }
  .service-card { padding: 28px 24px 24px }
  .card-num { font-size: 36px }
  .card-price { font-size: 24px }
  .contact-panel-body { width: 100%; max-width: 100vw }
}

/* ============================================
   お知らせティッカー
   ============================================ */
.news-ticker-section {
    background: #fff;
    border-bottom: 1px solid rgba(235, 198, 0, 0.15);
    padding: 0;
    position: relative;
    z-index: 10;
}

.news-ticker-wrapper {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 20px;
    gap: 0;
    overflow: hidden;
}

.news-label-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    padding-right: 24px;
    border-right: 2px solid #EBC600;
    margin-right: 24px;
}

.news-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 0.15em;
    color: #1a1a1a;
}

.news-label-dot {
    width: 10px;
    height: 10px;
    background: #EBC600;
    border-radius: 50%;
    display: inline-block;
    animation: newsDotPulse 2s ease-in-out infinite;
}

@keyframes newsDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.news-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.news-ticker-content {
    display: flex;
    gap: 40px;
    white-space: nowrap;
}

.news-item {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

a.news-item:hover {
    color: #EBC600;
}

.news-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #999;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.news-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

.news-more-link {
    flex-shrink: 0;
    margin-left: 24px;
    padding-left: 24px;
    border-left: 2px solid #EBC600;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.news-more-link:hover {
    color: #EBC600;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .news-ticker-wrapper {
        padding: 12px 15px;
        gap: 0;
    }
    .news-label-wrap {
        padding-right: 14px;
        margin-right: 14px;
    }
    .news-label {
        font-size: 16px;
    }
    .news-label-dot {
        width: 8px;
        height: 8px;
    }
    .news-title {
        font-size: 15px;
    }
    .news-date {
        font-size: 13px;
    }
    .news-more-link {
        display: none;
    }
}

/* ============================================
   AIチャットボット
   ============================================ */
.nl-chatbot-toggle {
    position: fixed; bottom: 24px; right: 24px; z-index: 9999;
    width: 60px; height: 60px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #EBC600, #FFD200);
    box-shadow: 0 4px 20px rgba(235,198,0,0.4);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nl-chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(235,198,0,0.5);
}
.nl-chatbot-icon-close { display: none; }
.nl-chatbot.is-open .nl-chatbot-icon-open { display: none; }
.nl-chatbot.is-open .nl-chatbot-icon-close { display: block; }

.nl-chatbot-window {
    position: fixed; bottom: 100px; right: 24px; z-index: 9998;
    width: 380px; max-height: 520px; border-radius: 16px;
    background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,0.15);
    display: none; flex-direction: column; overflow: hidden;
    font-family: var(--font-body);
}
.nl-chatbot.is-open .nl-chatbot-window { display: flex; }

.nl-chatbot-header {
    background: linear-gradient(135deg, #EBC600, #FFD200);
    padding: 16px 20px; display: flex; align-items: center; justify-content: space-between;
}
.nl-chatbot-header-info { display: flex; align-items: center; gap: 12px; }
.nl-chatbot-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.3);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 14px; color: #fff; letter-spacing: 0.05em;
}
.nl-chatbot-name { font-weight: 700; font-size: 14px; color: #fff; }
.nl-chatbot-status { font-size: 11px; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 4px; }
.nl-chatbot-status-dot {
    width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
    display: inline-block; animation: newsDotPulse 2s ease-in-out infinite;
}

.nl-chatbot-messages {
    flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px;
    max-height: 360px; min-height: 200px; background: #fafaf7;
}

.nl-chat-msg { display: flex; }
.nl-chat-user { justify-content: flex-end; }
.nl-chat-bubble {
    max-width: 80%; padding: 10px 14px; border-radius: 16px;
    font-size: 13px; line-height: 1.6; word-break: break-word;
}
.nl-chat-bot .nl-chat-bubble {
    background: #fff; color: #333; border: 1px solid #eee;
    border-bottom-left-radius: 4px;
}
.nl-chat-user .nl-chat-bubble {
    background: linear-gradient(135deg, #EBC600, #FFD200); color: #fff;
    border-bottom-right-radius: 4px;
}

.nl-chat-faq {
    display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 0;
}
.nl-chat-faq button {
    padding: 6px 12px; border-radius: 20px;
    border: 1.5px solid #EBC600; background: #fff; color: #333;
    font-size: 12px; font-weight: 500; cursor: pointer;
    transition: all 0.2s ease; font-family: var(--font-body);
}
.nl-chat-faq button:hover {
    background: #FFF8D6; border-color: #FFD200;
}

.nl-chatbot-input {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 16px; border-top: 1px solid #eee; background: #fff;
}
.nl-chatbot-input input {
    flex: 1; border: 1px solid #e0e0e0; border-radius: 24px;
    padding: 10px 16px; font-size: 13px; outline: none;
    font-family: var(--font-body); transition: border-color 0.3s;
}
.nl-chatbot-input input:focus { border-color: #EBC600; }
.nl-chatbot-send {
    width: 38px; height: 38px; border-radius: 50%; border: none;
    background: linear-gradient(135deg, #EBC600, #FFD200);
    color: #fff; cursor: pointer; display: flex; align-items: center;
    justify-content: center; transition: transform 0.2s;
    flex-shrink: 0;
}
.nl-chatbot-send:hover { transform: scale(1.1); }

@media (max-width: 600px) {
    .nl-chatbot-window {
        width: calc(100vw - 32px); right: 16px; bottom: 90px;
        max-height: 70vh;
    }
    .nl-chatbot-toggle { bottom: 16px; right: 16px; width: 54px; height: 54px; }
}
