
/* === CSS RESET & VARIABLES === */
:root {
  --nc-primary: #475569;
  --nc-primary-dark: #334155;
  --nc-bg: #ffffff;
  --nc-bg-alt: #f8fafc;
  --nc-text: #0f172a;
  --nc-text-light: #94a3b8;
  --nc-border: #e2e8f0;
  --nc-accent: #64748b;
  --nc-round: 0;
  --nc-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'M PLUS 1p', 'Noto Sans JP', sans-serif;
  color: var(--nc-text);
  background: var(--nc-bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--nc-text);
}

a {
  color: var(--nc-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--nc-primary-dark);
}

/* === CONTAINERS === */
.c913dd {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.c606ye {
  width: 100%;
}

/* === HEADER === */
header {
  background: var(--nc-bg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.c245qe {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c268te {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--nc-text);
  font-weight: 800;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.c268te:hover {
  color: var(--nc-primary);
}

.c268te img {
  height: 40px;
  width: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: var(--nc-text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--nc-primary);
}

.c626hs {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: var(--nc-primary);
  color: #fff;
  border-radius: var(--nc-round);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.c626hs:hover {
  background: var(--nc-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.c997rc {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.c997rc span {
  width: 25px;
  height: 3px;
  background: var(--nc-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.c903zr {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: var(--nc-bg);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu.active {
  right: 0;
  display: flex;
}

.c903zr a {
  color: var(--nc-text);
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--nc-border);
}

/* === HERO SECTION === */
.c931yk {
  background: linear-gradient(135deg, var(--nc-primary) 0%, var(--nc-primary-dark) 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.c931yk::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  z-index: 0;
}

.c931yk .c913dd {
  position: relative;
  z-index: 1;
}

.c119ez {
  max-width: 600px;
}

.c931yk h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.c931yk p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* === FEATURE GRID === */
.c362bb {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.c362bb .c594lg {
  text-align: center;
  padding: 2rem;
  border-radius: var(--nc-round);
  background: var(--nc-bg-alt);
  transition: all 0.3s ease;
}

.c362bb .c594lg:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.c362bb img {
  width: 60px;
  height: 60px;
  margin-bottom: 1rem;
}

.c362bb h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.c362bb p {
  color: var(--nc-text-light);
  font-size: 0.95rem;
}

/* === SERVICE CARDS === */
.c507ox {
  background: var(--nc-bg-alt);
  border-radius: var(--nc-round);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.c507ox::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--nc-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.c507ox:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.c507ox:hover::before {
  transform: scaleX(1);
}

.c507ox h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.c507ox p {
  color: var(--nc-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.c137wk {
  display: inline-block;
  background: var(--nc-accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--nc-round);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* === TESTIMONIAL CARDS === */
.c422we {
  background: var(--nc-bg-alt);
  border-radius: var(--nc-round);
  padding: 2rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--nc-primary);
  transition: all 0.3s ease;
}

.c422we:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.c231sq {
  color: #ffc107;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.c422we p {
  color: var(--nc-text);
  margin-bottom: 1rem;
  font-style: italic;
}

.c551ua {
  color: var(--nc-text-light);
  font-size: 0.9rem;
  font-weight: 600;
}

/* === FAQ ACCORDION === */
.c334cg {
  margin: 2rem 0;
}

.c334cg h3 {
  cursor: pointer;
  padding: 1.5rem;
  background: var(--nc-bg-alt);
  border-radius: var(--nc-round);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  user-select: none;
}

.c334cg h3:hover {
  background: var(--nc-border);
}

.c334cg h3::after {
  content: '▼';
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

.c334cg h3.active::after {
  transform: rotate(-180deg);
}

.c334cg p {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 0 0 var(--nc-round) var(--nc-round);
  margin-bottom: 1rem;
  display: none;
  color: var(--nc-text-light);
}

.c334cg p.active {
  display: block;
}

/* === CONTACT FORM === */
.c852fo {
  margin: 2rem 0;
}

.c852fo .c875xr {
  margin-bottom: 1.5rem;
}

.c852fo label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--nc-text);
}

.c852fo input,
.c852fo textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid var(--nc-border);
  border-radius: var(--nc-round);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.c852fo input:focus,
.c852fo textarea:focus {
  outline: none;
  border-color: var(--nc-primary);
  box-shadow: 0 0 0 3px rgba(var(--nc-primary), 0.1);
}

.c852fo textarea {
  min-height: 150px;
  resize: vertical;
}

.c562ki {
  color: #d32f2f;
  font-size: 0.85rem;
  margin-top: 0.25rem;
  display: none;
}

.c286iu {
  border-color: #d32f2f !important;
}

.c204uc {
  background: #4caf50;
  color: #fff;
  padding: 1rem;
  border-radius: var(--nc-round);
  margin-bottom: 1rem;
  display: none;
}

.form-success.active {
  display: block;
}

/* === COOKIE BANNER === */
.c107zn {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--nc-bg-alt);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  z-index: 500;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-banner.active {
  display: flex;
}

.c107zn p {
  margin: 0;
  color: var(--nc-text);
  font-size: 0.9rem;
}

.c107zn .btn-group {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.c107zn button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: var(--nc-round);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.c107zn .accept {
  background: var(--nc-primary);
  color: #fff;
}

.c107zn .accept:hover {
  background: var(--nc-primary-dark);
}

.c107zn .settings {
  background: transparent;
  border: 1px solid var(--nc-border);
  color: var(--nc-text);
}

.c107zn .settings:hover {
  background: var(--nc-border);
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay.active {
  display: flex;
}

.c653zn {
  background: var(--nc-bg);
  border-radius: var(--nc-round);
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.c653zn h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.c653zn .toggle-group {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--nc-border);
}

.c653zn .toggle-group label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  font-weight: 600;
}

.c653zn input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.c653zn .modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-end;
}

.c653zn button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--nc-round);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.c653zn .accept {
  background: var(--nc-primary);
  color: #fff;
}

.c653zn .accept:hover {
  background: var(--nc-primary-dark);
}

.c653zn .cancel {
  background: transparent;
  border: 1px solid var(--nc-border);
  color: var(--nc-text);
}

.c653zn .cancel:hover {
  background: var(--nc-border);
}

/* === SCROLL TOP BUTTON === */
.c678lr {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--nc-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.c678lr:hover {
  background: var(--nc-primary-dark);
  transform: translateY(-3px);
}

/* === FADE-IN ANIMATION === */
.c594lg {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

/* === SECTIONS === */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background: var(--nc-bg-alt);
}

section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

/* === TEXT SECTIONS === */
.c474fp {
  padding: 2rem 0;
  line-height: 1.8;
}

.c474fp h3 {
  margin: 2rem 0 1rem;
}

.c474fp p {
  margin-bottom: 1.25rem;
}

/* === FOOTER === */
footer {
  background: var(--nc-text);
  color: #fff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer .c913dd {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
}

footer .c747hr {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
  .c913dd {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .c931yk {
    padding: 3rem 0;
  }

  .c931yk h1 {
    font-size: 2.2rem;
  }

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

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

@media (max-width: 992px) {
  header {
    padding: 0.75rem 0;
  }

  .c997rc {
    display: flex;
  }

  nav {
    display: none;
  }

  .c626hs {
    display: none;
  }

  .c931yk {
    padding: 2.5rem 0;
  }

  .c931yk h1 {
    font-size: 1.8rem;
  }

  .c931yk p {
    font-size: 1rem;
  }

  .c362bb {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  section {
    padding: 2.5rem 0;
  }

  footer .c913dd {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .c245qe {
    padding: 0.75rem 1rem;
  }

  .c268te {
    font-size: 1rem;
  }

  .c268te img {
    height: 32px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .c931yk {
    padding: 2rem 0;
  }

  .c931yk h1 {
    font-size: 1.5rem;
  }

  .c931yk p {
    font-size: 0.95rem;
  }

  .c913dd {
    padding: 0 1rem;
  }

  .c507ox {
    padding: 1.5rem;
  }

  .c422we {
    padding: 1.5rem;
  }

  .c852fo button {
    width: 100%;
  }

  .c107zn {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .c107zn .btn-group {
    width: 100%;
  }

  .c107zn button {
    flex: 1;
  }

  .c678lr {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  h3 {
    font-size: 1rem;
  }

  .c931yk {
    padding: 1.5rem 0;
  }

  .c931yk h1 {
    font-size: 1.3rem;
  }

  .c931yk p {
    font-size: 0.9rem;
  }

  .c362bb img {
    width: 50px;
    height: 50px;
  }

  section {
    padding: 1.5rem 0;
  }

  footer {
    padding: 2rem 0 0.75rem;
  }

  .c334cg h3 {
    padding: 1rem;
    font-size: 1rem;
  }

  .c334cg p {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .c913dd {
    padding: 0 0.75rem;
  }

  h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1rem;
  }

  body {
    font-size: 15px;
  }

  .c931yk-content {
    max-width: 100%;
  }

  nav {
    gap: 1rem;
  }

  .c852fo input,
  .c852fo textarea {
    font-size: 16px;
  }

  footer .c913dd {
    gap: 1rem;
  }
}

/* === PRINT STYLES === */
@media print {
  header, footer, .c107zn, .c678lr {
    display: none !important;
  }

  body {
    background: #fff;
  }

  a {
    color: #000;
  }

  .c626hs {
    border: 1px solid #000;
    color: #000;
  }

  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}
