/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial,
    'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  color: #2c2c2c;
  background: #ffffff;
  line-height: 1.75;
}

/* ===== Language Toggle ===== */
.lang-ja { display: none; }
html.mode-ja .lang-en { display: none; }
html.mode-ja .lang-ja { display: block; }
span.lang-ja { display: none; }
html.mode-ja span.lang-en { display: none; }
html.mode-ja span.lang-ja { display: inline; }
li.lang-ja { display: none; }
html.mode-ja li.lang-en { display: none; }
html.mode-ja li.lang-ja { display: list-item; }

/* ===== Header — white so logo sits naturally ===== */
header {
  background: #ffffff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 16px;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.lang-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.lang-btn {
  padding: 7px 20px;
  border: 2px solid #cccccc;
  border-radius: 24px;
  background: transparent;
  color: #333333;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-btn:hover { background: #f5eaf4; border-color: #d45cc0; color: #d45cc0; }

.lang-btn.active {
  background: #d45cc0;
  border-color: #d45cc0;
  color: #ffffff;
}

/* ===== Navigation — dark charcoal ===== */
nav {
  background: #222222;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hamburger {
  display: none;
  width: 100%;
  background: none;
  border: none;
  padding: 13px 24px;
  font-size: 1.4rem;
  text-align: left;
  cursor: pointer;
  color: #ffffff;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav-links li a {
  display: block;
  padding: 13px 16px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links li a:hover { color: #f0aae8; border-bottom-color: #d45cc0; }
.nav-links li a.active-page { color: #f0aae8; border-bottom-color: #d45cc0; }

/* ===== Page Title Bar ===== */
.page-title-bar {
  background: #1e1e1e;
  color: #ffffff;
  text-align: center;
  padding: 40px 24px;
}

.page-title-bar h1 {
  font-size: 1.9rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.page-title-bar h1 strong { font-weight: 700; color: #f0aae8; }

/* ===== Main Content ===== */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.intro-block {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 36px;
  max-width: 820px;
}

.intro-block strong { color: #222222; }

/* ===== Content Card ===== */
.card {
  background: #f9f4f9;
  border-left: 5px solid #d45cc0;
  border-radius: 0 8px 8px 0;
  padding: 32px 36px;
  margin-bottom: 28px;
}

.card-title {
  color: #b8399e;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}

/* ===== Home layout ===== */
.home-layout {
  display: grid;
  grid-template-columns: 1fr 190px;
  gap: 40px;
  align-items: start;
}

.home-photo {
  width: 190px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.service-items { margin-top: 16px; }

.service-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #ead8ea;
}

.service-item:last-child { border-bottom: none; }

.service-label {
  font-weight: 700;
  color: #d45cc0;
  min-width: 24px;
  font-size: 1rem;
}

.service-text { color: #444; }

/* ===== Lists ===== */
.styled-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.styled-list li {
  padding: 6px 0 6px 22px;
  position: relative;
  color: #444;
}

.styled-list li::before {
  content: '▸';
  color: #d45cc0;
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  top: 9px;
}

/* ===== Fee / Pricing ===== */
.fee-block { margin: 16px 0; }

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #e4d4e4;
}

.fee-row:last-child { border-bottom: none; }
.fee-label { font-weight: 600; color: #222222; }

.fee-note {
  font-size: 0.88rem;
  color: #666;
  font-style: italic;
  margin-top: 8px;
}

.section-heading {
  color: #b8399e;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 24px 0 10px;
}

/* ===== Testimonials ===== */
.testimonial {
  background: #ffffff;
  border: 1px solid #e8d8e8;
  border-radius: 10px;
  padding: 32px 36px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial blockquote {
  font-style: italic;
  color: #4a4a4a;
  padding: 16px 20px;
  border-left: 4px solid #d45cc0;
  background: #fdf5fc;
  border-radius: 0 6px 6px 0;
  margin: 16px 0;
  line-height: 1.85;
}

.testimonial .attribution {
  font-weight: 700;
  color: #222222;
  margin-bottom: 4px;
}

.testimonial .title {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
}

/* ===== Contact ===== */
.contact-box {
  text-align: center;
  padding: 48px 24px;
}

.contact-box p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-phone {
  font-size: 2.2rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 16px;
}

.contact-email {
  font-size: 1.4rem;
  color: #d45cc0;
  text-decoration: none;
}

.contact-email:hover { text-decoration: underline; }

/* ===== Footer ===== */
footer {
  background: #1e1e1e;
  color: rgba(255,255,255,0.6);
  text-align: center;
  padding: 28px 24px;
  font-size: 0.85rem;
}

footer a { color: rgba(255,255,255,0.6); text-decoration: none; }
footer a:hover { color: #f0aae8; }

/* ===== Contact Form ===== */
.contact-form { max-width: 580px; margin: 0 auto; }

.form-notice {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.form-notice.success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.form-notice.error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-weight: 600;
  color: #222;
  margin-bottom: 6px;
  font-size: 0.9rem;
}
/* Override needed: .form-group label beats .lang-ja on specificity */
.form-group label.lang-ja { display: none; }
html.mode-ja .form-group label.lang-en { display: none; }
html.mode-ja .form-group label.lang-ja { display: block; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2c2c2c;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d45cc0;
}

.form-group textarea { resize: vertical; min-height: 130px; }

/* Honeypot — moved off-screen, not display:none (bots detect that) */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.submit-btn {
  background: #d45cc0;
  color: #ffffff;
  border: none;
  padding: 12px 36px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: #b8399e; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .header-inner { padding: 8px 16px; }
  .logo-img { height: 52px; }
  .lang-btn { padding: 6px 12px; font-size: 0.78rem; }

  .hamburger { display: block; }
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links li a {
    padding: 12px 24px;
    border-bottom: 1px solid #3a3a3a;
    border-left: 3px solid transparent;
  }
  .nav-links li a:hover,
  .nav-links li a.active-page {
    border-left-color: #d45cc0;
    border-bottom-color: transparent;
  }

  .page-title-bar { padding: 28px 16px; }
  .page-title-bar h1 { font-size: 1.45rem; }

  main { padding: 32px 16px 48px; }

  .home-layout { grid-template-columns: 1fr; }
  .home-photo { width: 150px; margin: 0 auto; display: block; }

  .card { padding: 20px 18px; }
  .testimonial { padding: 20px 18px; }

  .contact-phone { font-size: 1.6rem; }
  .contact-email { font-size: 1.1rem; }
}
