:root {
  --wine: #6b1b2b;
  --wine-dark: #4a121d;
  --gold: #b08d4f;
  --ivory: #f7f1e8;
  --text: #2c1810;
  --facebook: #1877f2;
  --line: #06c755;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.8;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif JP", serif;
  margin: 0;
}

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

a { color: inherit; text-decoration: none; }

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 48px;
  color: var(--wine);
  position: relative;
}

.section-title span { padding: 0 24px; }

.section-title-logo {
  height: 3.2em;
  width: auto;
  vertical-align: middle;
  display: inline-block;
  margin-bottom: -0.1em;
  position: relative;
  top: -0.6em;
}

.logo-with-furigana {
  position: relative;
  display: inline-block;
  margin-right: -12px;
}

.logo-furigana {
  position: absolute;
  top: -1em;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateX(-2%);
  font-size: 0.46em;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  white-space: nowrap;
}

.section-title--light { color: var(--gold); }
.section-title--wine { color: #6b1b2b; }
.section-title--gold { color: #b08d4f; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 241, 232, 0.96);
  border-bottom: 2px solid rgba(176, 141, 79, 0.3);
}

.header-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo img { height: 48px; width: auto; }

.header-nav-group {
  display: flex;
  align-items: center;
  gap: 32px;
}

.global-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.global-nav a {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-align: center;
  padding: 8px 12px;
  margin: -8px -12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.global-nav a:hover {
  background-color: rgba(107, 27, 43, 0.08);
}

.global-nav a span {
  display: block;
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 400;
  margin-top: -4px;
}

.header-sns { display: flex; gap: 8px; }

.btn-sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
}

.btn-sns img {
  display: block;
}


.nav-toggle {
  display: none;
  position: relative;
  z-index: 210;
  background: none;
  border: none;
  width: 32px;
  height: 24px;
  padding: 0;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--wine);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Hero */
.hero { position: relative; padding-top: 48px; overflow: hidden; }

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.hero-inner > .hero-text,
.hero-inner > .hero-photo {
  min-width: 0;
}

.hero-logo {
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.hero-text h1 span {
  white-space: nowrap;
}

.hero-text h1 {
  font-size: clamp(1.15rem, 6vw, 2.2rem);
  line-height: 1.6;
  color: var(--wine);
  margin-bottom: 24px;
}

.hero-lead { font-size: 0.95rem; }

.hero-photo img { width: 100%; height: auto; border-radius: 4px; }

.hero-wave {
  position: relative;
  height: 64px;
}

.hero-wave::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--wave-next-bg, transparent);
}

.hero-wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-dark) 100%);
  clip-path: ellipse(70% 100% at 50% 0%);
}

/* About */
.about { padding-top: 96px; }

.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 96px;
}

.about-text p {
  margin: 0 0 20px;
}

.about-signature {
  margin-top: 32px !important;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: var(--wine);
}

.about-photo img {
  width: 62%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.about-photo-caption {
  margin: 12px auto 0;
  width: 62%;
  text-align: center;
  font-size: 0.78rem;
  color: #8a7a6f;
}

/* Service */
.service { padding-top: 96px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 96px;
}

.service-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 24px;
  box-shadow: 0 4px 16px rgba(43, 24, 16, 0.06);
}

.service-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  font-size: 1.4rem;
  margin: -28px auto 16px;
  background: #fff;
  position: relative;
}

.service-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  padding: 0 16px;
}

.service-card p {
  font-size: 0.85rem;
  padding: 0 16px;
  margin: 0;
  color: #5a4a40;
}

/* Lesson */
.lesson { padding: 96px 0; background: #fdfaf5; }

.lesson-layout {
  display: grid;
  grid-template-columns: 3fr 1.1fr;
  gap: 32px;
}

.lesson-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lesson-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  padding-bottom: 20px;
  box-shadow: 0 4px 16px rgba(43, 24, 16, 0.06);
}

.lesson-card img { aspect-ratio: 4 / 3; object-fit: cover; }

.lesson-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--wine);
  font-size: 1.2rem;
  margin: -24px 0 12px 20px;
  background: #fff;
}

.lesson-card h3 {
  font-size: 1.05rem;
  padding: 0 20px;
  margin-bottom: 12px;
  color: var(--wine);
}

.lesson-card ul {
  margin: 0 0 12px;
  padding: 0 20px 0 36px;
  font-size: 0.82rem;
  color: #5a4a40;
}

.lesson-card li { margin-bottom: 4px; }

.lesson-note {
  padding: 0 20px;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
}

.lesson-side {
  background: var(--wine);
  color: #fff;
  border-radius: 6px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lesson-feature { display: flex; gap: 12px; }

.lesson-feature-icon { font-size: 1.4rem; }

.lesson-feature h4 { font-size: 0.95rem; margin-bottom: 6px; }

.lesson-feature p { font-size: 0.8rem; margin: 0; opacity: 0.9; }

.btn-lesson {
  margin-top: auto;
  background: #fff;
  color: var(--wine);
  text-align: center;
  padding: 14px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Flow */
.flow {
  background: #fdfaf5;
  padding: 96px 0;
}

.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.flow-step {
  color: var(--text);
  text-align: center;
  width: 180px;
}

.flow-num {
  display: block;
  font-family: "Noto Serif JP", serif;
  color: var(--wine);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: #4a121d;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.flow-step h3 { font-size: 1rem; margin-bottom: 8px; color: var(--wine); }

.flow-step p { font-size: 0.85rem; margin: 0; opacity: 0.75; }

.flow-arrow {
  color: var(--gold);
  font-size: 1.6rem;
  align-self: center;
  margin-top: 28px;
  width: 24px;
  text-align: center;
}

/* Contact */
.contact { position: relative; padding: 96px 0; color: var(--text); overflow: hidden; }

.contact-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(250, 245, 238, 0.6);
  z-index: 0;
}

.contact-inner { position: relative; z-index: 1; text-align: center; }

.contact-lead { margin-bottom: 32px; }

.contact-sns {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-large {
  width: auto;
  height: auto;
  border-radius: 999px;
  padding: 14px 28px;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.btn-large.btn-facebook {
  background: var(--facebook);
  border: 4px solid var(--facebook);
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}
.btn-large.btn-facebook:hover {
  background: #fff;
  color: var(--facebook);
}
.btn-large.btn-line {
  background: var(--line);
  border: 4px solid var(--line);
  color: #fff;
  transition: background-color 0.2s, color 0.2s;
}
.btn-large.btn-line:hover {
  background: #fff;
  color: var(--line);
}

.wpcf7 {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(247, 241, 232, 0.97);
  color: var(--text);
  border-radius: 8px;
  padding: 40px;
  text-align: left;
}

.wpcf7-form p { margin-bottom: 20px; }

.wpcf7-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.wpcf7-form .required {
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 400;
}

.wpcf7-form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d8cbb8;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
}

.wpcf7-form-control:not(.btn-submit):focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 2px rgba(107, 27, 43, 0.15);
}

.privacy-box {
  margin: 24px 0;
}

.privacy-box > label {
  display: block;
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 8px;
}

.privacy-box > label a {
  color: var(--wine);
  text-decoration: underline;
}

.privacy-box iframe {
  width: 100%;
  height: 180px;
  border: 1px solid #d8cbb8;
  border-radius: 4px;
  background: #fff;
}

.privacy-agree {
  margin-top: 12px;
  text-align: center;
}

.privacy-agree label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.privacy-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--wine);
}

.btn-submit {
  background: var(--wine);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 14px;
  transition: opacity 0.2s;
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Footer */
.site-footer {
  background: var(--wine-dark);
  color: #e8d9c8;
  text-align: center;
  padding: 24px;
  font-size: 0.8rem;
  position: relative;
}

.btn-totop {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 960px) {
  .br-pc { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .about-layout { display: flex; flex-direction: column; gap: 0; }
  .about-photo { margin-top: 8px; }
  .about-text p.about-signature { margin-top: 8px !important; margin-bottom: 0 !important; }
  .about-text { display: contents; }
  .about-text p { order: 1; }
  .about-photo { order: 2; }
  .about-text p.about-signature { order: 3; }
  .about-photo img { width: 80%; }
  .about-photo-caption { width: 80%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-cards { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .flow-arrow { display: none; }
  .flow-step { width: 45%; }

  .header-nav-group {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 200;
    width: 50%;
    height: 100vh;
    margin: 0;
    background: var(--ivory);
    box-shadow: -8px 0 24px rgba(44, 24, 16, 0.15);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    gap: 32px;
    padding: 96px 24px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .header-nav-group.is-open { transform: translateX(0); }

  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 24, 16, 0.4);
    z-index: 190;
  }

  body.nav-open .nav-backdrop { display: block; }
  body.nav-open { overflow: hidden; }

  .global-nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .global-nav li {
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid var(--gold);
  }

  .global-nav li:first-child { padding-top: 0; }
  .global-nav li:last-child { border-bottom: none; }

  .header-sns { flex-direction: row; gap: 16px; }
}

.br-sp { display: none; }

@media (max-width: 560px) {
  .service-grid { grid-template-columns: 1fr; }
  .flow-step { width: 100%; }
  .wpcf7 { padding: 24px; }
  .br-sp { display: inline; }
  .section-title span { padding: 0; }

  .flow-arrow {
    display: block;
    width: 60px;
    height: 0;
    margin: 16px auto;
    font-size: 0;
    border-top: 2px solid var(--gold);
  }
}
