
/* === CSS RESET & VARIABLES === */
:root {
  --mf-primary: #dc2626;
  --mf-primary-dark: #b91c1c;
  --mf-bg: #ffffff;
  --mf-bg-alt: #fef2f2;
  --mf-text: #1c1917;
  --mf-text-light: #78716c;
  --mf-border: #fecaca;
  --mf-accent: #f87171;
  --mf-round: 12px;
  --mf-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

* {
  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(--mf-text);
  background: var(--mf-bg);
  line-height: 1.6;
  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.8rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
}

h4 {
  font-size: 1.2rem;
}

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

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

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

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

.c624xp {
  width: 100%;
}

/* === HEADER === */
header {
  background: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.c626pd {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  transition: opacity 0.3s ease;
}

.c626pd:hover {
  opacity: 0.8;
}

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

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

nav a {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

.c560bz {
  display: inline-block;
  padding: 0.65rem 1.5rem;
  background: var(--mf-primary);
  color: #fff;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.c560bz:hover {
  background: var(--mf-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.c809vj span {
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 0;
  transition: all 0.3s ease;
}

.c894ko {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  flex-direction: column;
  gap: 1rem;
}

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

.c894ko a {
  color: #fff;
  font-size: 1.1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

/* === HERO SECTION === */
.c273yl {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--mf-primary);
}

.c273yl::before {
  content: '';
  position: absolute;
  top: 0;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--mf-primary) 0%, transparent 70%);
  opacity: 0.1;
  z-index: 0;
}

.c273yl .c108oe {
  position: relative;
  z-index: 1;
}

.c935hk {
  max-width: 700px;
}

.c273yl h1 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.c273yl p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

.c643ak .c543ob {
  text-align: center;
  padding: 2.5rem;
  border-radius: 0;
  background: var(--mf-bg-alt);
  border: 1px solid #ddd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.c643ak .c543ob:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--mf-primary);
}

.c643ak img {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

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

.c643ak p {
  color: var(--mf-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* === SERVICE CARDS === */
.c924mm {
  background: var(--mf-bg-alt);
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.c924mm:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  border-color: var(--mf-primary);
}

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

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

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

.c566pl {
  display: inline-block;
  background: #f0f0f0;
  color: var(--mf-text);
  padding: 0.6rem 1.2rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  letter-spacing: 0.5px;
}

/* === TESTIMONIAL CARDS === */
.c301qx {
  background: var(--mf-bg-alt);
  border-radius: 0;
  padding: 2.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--mf-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.c301qx:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.c822qb {
  color: var(--mf-accent);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

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

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

/* === FAQ ACCORDION === */
.c835nq {
  margin: 1.5rem 0;
  border: 1px solid #ddd;
  border-radius: 0;
  overflow: hidden;
  background: #fff;
}

.c835nq h3 {
  cursor: pointer;
  padding: 1.5rem;
  background: var(--mf-bg-alt);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  user-select: none;
  border-bottom: 1px solid #ddd;
  font-size: 1.1rem;
}

.c835nq h3:hover {
  background: #f0f0f0;
}

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

.c835nq h3.active {
  background: var(--mf-primary);
  color: #fff;
  border-bottom-color: var(--mf-primary);
}

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

.c835nq p {
  padding: 1.5rem;
  background: #fff;
  margin: 0;
  display: none;
  color: var(--mf-text-light);
  border-top: 1px solid #ddd;
}

.c835nq p.active {
  display: block;
}

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

.c446od .c603eo {
  margin-bottom: 1.5rem;
}

.c446od label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--mf-text);
  font-size: 0.95rem;
}

.c446od input,
.c446od textarea {
  width: 100%;
  padding: 0.9rem;
  border: 1px solid #ddd;
  border-radius: 0;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

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

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

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

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

.c756ap {
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 0;
  margin-bottom: 1rem;
  border: 1px solid #c3e6cb;
  display: none;
}

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

/* === COOKIE BANNER === */
.c199ut {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #2d2d2d;
  padding: 1.5rem 2rem;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.2);
  z-index: 500;
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

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

.c199ut p {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

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

.c199ut button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.c199ut .accept {
  background: var(--mf-primary);
  color: #fff;
}

.c199ut .accept:hover {
  background: var(--mf-primary-dark);
}

.c199ut .settings {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.c199ut .settings:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

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

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

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

.c936rh .toggle-group {
  margin: 1.5rem 0;
  padding: 1rem 0;
  border-bottom: 1px solid #ddd;
}

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

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

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

.c936rh button {
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.c936rh .accept {
  background: var(--mf-primary);
  color: #fff;
}

.c936rh .accept:hover {
  background: var(--mf-primary-dark);
}

.c936rh .cancel {
  background: transparent;
  border: 1px solid #ddd;
  color: var(--mf-text);
}

.c936rh .cancel:hover {
  background: #f0f0f0;
}

/* === SCROLL TOP BUTTON === */
.c239kz {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--mf-primary);
  color: #fff;
  border: none;
  border-radius: 0;
  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.2);
}

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

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

/* === FADE-IN ANIMATION === */
.c543ob {
  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(--mf-bg-alt);
}

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

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

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

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

/* === FOOTER === */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--mf-primary);
}

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

footer h4 {
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

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

footer a:hover {
  color: #fff;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

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

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

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .c273yl {
    padding: 3rem 0;
  }

  .c273yl h1 {
    font-size: 2rem;
  }

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

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

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

  .c809vj {
    display: flex;
  }

  nav {
    display: none;
  }

  .c560bz {
    display: none;
  }

  .c273yl {
    padding: 2.5rem 0;
  }

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

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

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

  section {
    padding: 2.5rem 0;
  }

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

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

  .c626pd {
    font-size: 1rem;
  }

  .c626pd img {
    height: 32px;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .c273yl {
    padding: 2rem 0;
  }

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

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

  .c108oe {
    padding: 0 1rem;
  }

  .c924mm {
    padding: 1.5rem;
  }

  .c301qx {
    padding: 1.5rem;
  }

  .c446od button {
    width: 100%;
  }

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

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

  .c199ut button {
    flex: 1;
  }

  .c239kz {
    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;
  }

  .c273yl {
    padding: 1.5rem 0;
  }

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

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

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

  section {
    padding: 1.5rem 0;
  }

  footer {
    padding: 2rem 0 0.75rem;
  }

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

  .c835nq p {
    padding: 1rem;
  }
}

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

  h1 {
    font-size: 1.25rem;
  }

  h2 {
    font-size: 1rem;
  }

  body {
    font-size: 15px;
  }

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

  nav {
    gap: 1rem;
  }

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

  footer .c108oe {
    gap: 1rem;
  }
}

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

  body {
    background: #fff;
  }

  a {
    color: #000;
  }

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

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