/* Base Reset & Typography */
:root {
  --text-color: #111;
  --bg-color: #fff;
  --accent-color: #333;
  --font-jp: "Noto Sans JP", sans-serif;
}

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

body {
  font-family: var(--font-jp);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.8;
  letter-spacing: 0.05em;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  transition: padding 0.3s;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.menu-toggle {
  display: none;
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

nav a {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: grayscale(100%) contrast(1.1);
}

.hero-content {
  text-align: center;
  color: #fff;
  mix-blend-mode: difference;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 2rem;
}

/* Common Section Styles */
section {
  padding: 8rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4rem;
  display: inline-block;
  position: relative;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.profile-img {
  filter: grayscale(100%);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Card */
.card {
  background: #fff;
  padding: 2rem;
  text-align: left;
  border: 1px solid #e5e5e5;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  padding: 2rem;
  border: 1px solid #eee;
  background: #fcfcfc;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Flow */
.flow-steps {
  display: grid;
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.step-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: #ddd;
  font-family: 'Helvetica Neue', sans-serif;
}

.step-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* FAQ */
details {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

summary {
  font-weight: 700;
  list-style: none;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 300;
  color: #999;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin-top: 1rem;
  color: #555;
  font-size: 0.95rem;
}

/* Form */
.form-container {
  max-width: 800px;
  margin: 3rem auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  background: #fafafa;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #000;
  background: #fff;
}

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

/* DateTime UI */
.datetime-wrap {
  border: 1px solid #e6e6e6;
  background: #fff;
  padding: 1rem;
}

.datetime-row+.datetime-row {
  border-top: 1px solid #eee;
  margin-top: 1rem;
  padding-top: 1rem;
}

.datetime-head {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.datetime-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 0.8rem;
  align-items: center;
}

.time-range {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: center;
}

.time-range span {
  text-align: center;
  color: #555;
}

.mini-note {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  color: #666;
}

/* Contact */
.contact {
  text-align: center;
  background: #f5f5f5;
  width: 100%;
  max-width: none;
}

.contact-button {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 1rem 3rem;
  margin-top: 2rem;
  font-size: 1rem;
  border: 1px solid #000;
}

.contact-button:hover {
  background: #fff;
  color: #000;
  opacity: 1;
}

/* Footer */
footer {
  padding: 4rem;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid #eee;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .datetime-grid {
    grid-template-columns: 1fr;
  }

  .time-range {
    grid-template-columns: 1fr auto 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1.5rem;
  }

  nav ul {
    gap: 1.5rem;
  }


  /* Mobile Menu Styles */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
  }

  /* Hamburger Animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  nav a {
    font-size: 1.5rem;
    font-weight: 700;
  }

  /* Prevent scrolling when menu is open */
  body.no-scroll {
    overflow: hidden;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}