/* ========== Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; scroll-behavior: smooth; }
img { max-width: 100%; display: block; height: auto; }

/* ========== Design Tokens ========== */
:root {
  --c-purple:      #667eea;
  --c-purple-deep: #764ba2;
  --c-purple-pale: #a78fd8;
  --c-indigo:      #4a5fa8;
  --c-text:        #2c3e50;
  --c-muted:       #607080;
  --c-bg:          #f8f9fc;
  --c-surface:     #ffffff;
  --c-border:      #e0e5f0;
  --c-border-light:#edf0f7;

  --g-main: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);

  --font-serif: 'Noto Serif JP', 'Georgia', serif;
  --font-sans:  'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;

  --sp-1: .5rem;  --sp-2: 1rem;  --sp-3: 1.5rem;
  --sp-4: 2rem;   --sp-5: 3rem;  --sp-6: 5rem;

  --radius-sm: 4px;  --radius: 8px;  --radius-lg: 16px;

  --shadow-sm:  0 1px 4px rgba(102,126,234,.07), 0 2px 8px rgba(102,126,234,.05);
  --shadow-md:  0 4px 16px rgba(102,126,234,.12), 0 1px 4px rgba(102,126,234,.07);
  --shadow-lg:  0 12px 40px rgba(102,126,234,.18), 0 2px 8px rgba(102,126,234,.08);
  --shadow-purple: 0 8px 32px rgba(102,126,234,.30);

  --container: 1160px;
  --lh-body: 1.8;
  --lh-tight: 1.35;
}

/* ========== Base ========== */
body {
  font-family: var(--font-sans);
  line-height: var(--lh-body);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { opacity: .8; }
section { max-width: var(--container); margin: 0 auto; padding: 64px var(--sp-3); }

h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 0 0 var(--sp-5);
  text-align: center;
  color: var(--c-text);
  letter-spacing: .06em;
  line-height: var(--lh-tight);
}
h2::before {
  content: '';
  display: block;
  width: 28px; height: 2px;
  background: var(--g-main);
  margin: 0 auto var(--sp-2);
  border-radius: 2px;
}
h2::after {
  content: '';
  display: block;
  width: 48px; height: 1px;
  background: var(--c-border);
  margin: var(--sp-2) auto 0;
}

.hero h1, .logo, .profile-details h3,
.location-card h3, .service-card h3 {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* ========== Header / Nav ========== */
header {
  background: #fff;
  padding: 0;
  position: fixed;
  top: 0; width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 2px 16px rgba(102,126,234,.10);
}
nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--sp-4); height: 64px;
}
.logo {
  display: none;
}
nav ul {
  list-style: none; display: none;
  margin: 0; padding: 0;
  position: absolute; top: 100%; left: 0; width: 100%;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--c-border);
  box-shadow: 0 8px 24px rgba(102,126,234,.10);
}
nav ul.open { display: flex; }
nav ul li a {
  display: block;
  padding: .9rem 2rem;
  border-bottom: 1px solid var(--c-border-light);
  color: var(--c-muted);
  font-size: .88rem; letter-spacing: .08em;
  transition: color .2s, padding-left .2s;
}
nav ul li a:hover { color: var(--c-purple); padding-left: 2.4rem; opacity: 1; }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 5px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--c-text); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  background: var(--g-main);
  color: #fff;
  text-align: center;
  padding: 120px var(--sp-3) 80px;
  margin-top: 64px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,255,255,.10) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: 1.7rem; margin: 0 0 var(--sp-2);
  font-weight: 600; line-height: 1.4;
  letter-spacing: .06em; position: relative;
}
.hero h1 .job { display: block; font-size: .85em; color: rgba(255,255,255,.8); letter-spacing: .15em; font-weight: 300; margin-bottom: .4rem; }
.hero h1 .name { display: block; font-size: 1.1em; }
.hero .tagline {
  font-family: var(--font-serif);
  font-size: 1rem; margin: 0 0 var(--sp-4);
  font-weight: 300; letter-spacing: .18em;
  color: rgba(255,255,255,.8); position: relative;
}
.hero .tagline::before, .hero .tagline::after {
  content: '—'; margin: 0 .8em;
  color: rgba(255,255,255,.5); font-weight: 300;
}
.hero p {
  font-size: .95rem; max-width: 760px;
  margin: 0 auto; line-height: 2;
  color: rgba(255,255,255,.82); position: relative;
}
.hero p br { display: none; }

/* ========== Profile ========== */
.profile { background: var(--c-surface); }
.profile-content {
  display: grid; grid-template-columns: 1fr;
  gap: 2.5rem; align-items: start;
}
.profile-image {
  width: 200px; height: 200px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--c-border-light);
  background: var(--c-bg);
}
.profile-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.profile-details h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem; font-weight: 600;
  margin: 0 0 var(--sp-3); color: var(--c-text);
  letter-spacing: .05em; line-height: var(--lh-tight);
}
rt { font-size: .55em; letter-spacing: .05em; color: var(--c-muted); }
.profile-item {
  margin: 0 0 var(--sp-3); padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-border-light);
}
.profile-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.profile-item strong {
  display: block; margin: 0 0 .4rem;
  color: var(--c-purple); font-size: .78rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.credentials { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.credential-badge {
  display: inline-block; padding: .35rem .9rem;
  border: 1px solid var(--c-purple);
  color: var(--c-purple); border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  background: transparent; transition: background .2s, color .2s;
}
.credential-badge:hover { background: var(--c-purple); color: #fff; }

/* ========== Philosophy ========== */
.philosophy { background: var(--c-bg); }
.philosophy-content {
  max-width: 780px; margin: 0 auto;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-purple);
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--radius);
  line-height: 2; color: var(--c-text);
  font-size: .97rem; position: relative;
  box-shadow: var(--shadow-sm);
}
.philosophy-content::before {
  content: '"';
  font-family: var(--font-serif); font-size: 6rem;
  color: rgba(102,126,234,.12);
  position: absolute; top: -1rem; left: 1.5rem;
  line-height: 1; pointer-events: none;
}
.philosophy-content p { margin: 0 0 1.4rem; }
.philosophy-content p:last-child { margin-bottom: 0; }

/* ========== Services ========== */
.services { background: var(--c-surface); }
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.service-card {
  background: var(--c-bg); padding: 2rem 1.8rem;
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border-light);
  border-top: 3px solid var(--c-purple);
  transition: box-shadow .3s, transform .3s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card h3 {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 600;
  margin: 0 0 1.2rem; color: var(--c-text);
  letter-spacing: .04em; line-height: var(--lh-tight);
  padding-bottom: 1rem; border-bottom: 1px solid var(--c-border-light);
}
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li {
  padding: .55rem 0 .55rem 1.4rem; position: relative;
  font-size: .92rem; color: var(--c-muted);
  border-bottom: 1px solid var(--c-border-light);
}
.service-card li:last-child { border-bottom: none; }
.service-card li::before {
  content: ''; position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  background: var(--c-purple); border-radius: 50%;
}
.price-note {
  margin-top: 2rem; padding: 1.2rem 1.5rem;
  background: var(--c-bg); border: 1px solid var(--c-border-light);
  border-left: 3px solid var(--c-purple); border-radius: var(--radius-sm);
  font-size: .9rem; color: var(--c-muted);
}
.price-note strong { color: var(--c-text); }

/* ========== Locations ========== */
.locations { background: var(--c-bg); }
.location-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.location-card {
  padding: 2rem; border: 1px solid var(--c-border);
  border-radius: var(--radius); background: var(--c-surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.location-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 3px; background: var(--g-main);
}
.location-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.location-card h3 {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  margin: 0 0 .8rem; color: var(--c-text); line-height: var(--lh-tight);
}
.location-card p { color: var(--c-muted); font-size: .92rem; margin: 0; line-height: 1.75; }

/* ========== Blog ========== */
.blog { background: var(--c-surface); }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.blog-card {
  overflow: hidden; border-radius: var(--radius);
  background: var(--c-bg); border: 1px solid var(--c-border-light);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-image {
  width: 100%; height: 180px;
  background: var(--g-main);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); font-size: .85rem; letter-spacing: .1em;
  position: relative;
}
.blog-content { padding: 1.5rem; }
.blog-content h3 {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  margin: 0 0 .5rem; color: var(--c-text); line-height: 1.55;
}
.blog-date { color: var(--c-purple); font-size: .8rem; margin: 0 0 .8rem; letter-spacing: .08em; font-weight: 500; }
.blog-content p { font-size: .88rem; color: var(--c-muted); margin: 0; line-height: 1.75; }

/* ========== Blog ========== */
.blog { background: var(--c-surface); }
.blog-coming-soon {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  border: 2px dashed var(--c-border);
  border-radius: var(--radius);
  background: var(--c-bg);
}
.blog-coming-soon-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--c-purple);
  margin: 0 0 var(--sp-2);
  letter-spacing: .15em;
}
.blog-coming-soon-sub {
  font-size: .92rem;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.8;
}
.contact { background: var(--g-main); }
.contact h2 { color: #fff; }
.contact h2::before { background: rgba(255,255,255,.6); }
.contact h2::after { background: rgba(255,255,255,.2); }
.contact-form {
  max-width: 580px; margin: 0 auto;
  padding: 2.5rem 2rem; border-radius: var(--radius);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.form-group { margin: 0 0 1.4rem; }
label {
  display: block; margin: 0 0 .5rem;
  font-weight: 500; font-size: .88rem;
  color: rgba(255,255,255,.85); letter-spacing: .06em;
}
.required { color: rgba(255,255,255,.7); font-size: .82rem; margin-left: .3rem; }
input, textarea, select {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-sm);
  font-size: .95rem; font-family: inherit;
  background: rgba(255,255,255,.15); color: #fff;
  transition: border-color .2s, background .2s;
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.4); }
select { color: rgba(255,255,255,.85); }
select option { background: var(--c-purple-deep); color: #fff; }
input:focus, textarea:focus, select:focus {
  outline: none; border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.22);
}
textarea { min-height: 140px; resize: vertical; }
button {
  width: 100%; background: #fff;
  color: var(--c-purple); border: none;
  padding: 1rem 3rem; font-size: .95rem;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  font-weight: 700; letter-spacing: .1em; font-family: var(--font-sans);
}
button:hover { background: rgba(255,255,255,.92); transform: translateY(-2px); box-shadow: var(--shadow-purple); }

/* ========== Footer ========== */
footer {
  background: var(--c-purple-deep);
  color: rgba(255,255,255,.5);
  text-align: center; padding: 2rem;
  font-size: .82rem; letter-spacing: .08em;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1       { animation: fadeInUp .7s ease both; }
.hero .tagline { animation: fadeInUp .7s ease both; animation-delay: .15s; }
.hero p        { animation: fadeInUp .7s ease both; animation-delay: .3s; }

/* ========== Desktop ========== */
@media (min-width: 768px) {
  section { padding: 96px var(--sp-4); }
  nav ul {
    position: static; width: auto; display: flex;
    flex-direction: row; background: none; border: none;
    gap: 2.5rem; box-shadow: none;
  }
  nav ul li a { border: none; padding: 0; font-size: .85rem; letter-spacing: .1em; }
  nav ul li a:hover { padding-left: 0; }
  .hamburger { display: none; }
  .hero { padding: 140px var(--sp-4) 100px; }
  .hero h1 { font-size: 2.8rem; }
  .hero .tagline { font-size: 1.1rem; }
  .hero p { font-size: 1rem; line-height: 2.1; }
  .hero p br { display: inline; }
  .profile-content { grid-template-columns: 260px 1fr; gap: 4rem; align-items: center; }
  .profile-image { width: 260px; height: 260px; margin: 0; }
  .service-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .contact-form { padding: 3.5rem; }
  h2 { font-size: 1.9rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.2rem; }
}
