/* 高座塾 — assets/safe-hand-779.css */

:root {
  --bg: #f5f0eb;
  --dark: #1a1a1a;
  --orange: #FF5A1F;
  --red: #e94560;
  --white: #ffffff;
  --gray: #6b6b6b;
  --light-gray: #e8e2db;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
h3 { font-family: var(--font-sans); font-size: 1.3rem; font-weight: 600; }

.label-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

section { padding: 80px 0; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
  padding: 0 24px;
}
.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  height: 72px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
}
.navbar__logo svg { flex-shrink: 0; }
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar__menu a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.navbar__menu a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.25s;
}
.navbar__menu a:hover { color: var(--white); }
.navbar__menu a:hover::after { width: 100%; }
.navbar__cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
}
.navbar__cta:hover {
  background: #e04d16 !important;
  transform: translateY(-1px);
}
.navbar__cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 1.5rem;
  font-family: var(--font-serif);
}
.mobile-menu .close-btn {
  position: absolute;
  top: 24px; right: 24px;
  background: none; border: none;
  color: var(--white); font-size: 2rem;
  cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.45;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.3) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 80px;
}
.hero__label { margin-bottom: 20px; color: var(--orange); }
.hero__title {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 28px;
}
.hero__sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s;
}
.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: #e04d16;
  border-color: #e04d16;
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.btn--dark {
  background: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}
.btn--dark:hover {
  background: #2e2e2e;
  transform: translateY(-2px);
}

/* ===== SECTION HEADERS ===== */
.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }
.section-header .label-tag { margin-bottom: 12px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}
.section-header--center p { margin: 0 auto; }

/* ===== COURSES GRID ===== */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}
.course-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.course-card__body { padding: 28px 24px 32px; }
.course-card__tag { margin-bottom: 10px; }
.course-card__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 12px;
}
.course-card__desc {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.course-card__price {
  font-size: 1.6rem;
  font-family: var(--font-serif);
  color: var(--orange);
  margin-bottom: 20px;
}
.course-card__price span {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--gray);
  margin-left: 4px;
}

/* ===== ABOUT SPLIT ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-split__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
}
.about-split__body .label-tag { margin-bottom: 16px; }
.about-split__body h2 { margin-bottom: 20px; }
.about-split__body p {
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-split__body .btn { margin-top: 12px; }

/* ===== STATS ROW ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  background: var(--dark);
  padding: 64px 0;
}
.stat-item { text-align: center; }
.stat-item__num {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-item__label {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===== PRICE TABLE ===== */
.price-section { background: var(--white); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  border: 2px solid var(--light-gray);
  border-radius: 6px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card--featured {
  border-color: var(--orange);
  background: var(--bg);
}
.price-card--featured::before {
  content: 'おすすめ';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
}
.price-card__name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}
.price-card__price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 6px;
}
.price-card__period {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 28px;
}
.price-card__features {
  text-align: left;
  margin-bottom: 32px;
}
.price-card__features li {
  padding: 9px 0;
  border-bottom: 1px solid var(--light-gray);
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card__features li i { color: var(--orange); font-size: 0.75rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { background: var(--dark); }
.testimonials .section-header h2 { color: var(--white); }
.testimonials .section-header p { color: rgba(255,255,255,0.6); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 32px 28px;
}
.testimonial-card__stars {
  color: var(--orange);
  font-size: 0.85rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}
.testimonial-card__text {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__author-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--orange);
}
.testimonial-card__author-name {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}
.testimonial-card__author-role {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
}

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--light-gray);
}
.faq-toggle {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-align: left;
  gap: 16px;
}
.faq-toggle i { color: var(--orange); flex-shrink: 0; transition: transform 0.25s; }
.faq-toggle.open i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-answer.open { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: var(--gray); line-height: 1.7; font-size: 0.95rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--orange);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 50px 0;
  overflow: hidden;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.marquee-track {
  display: flex;
  gap: 60px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-item i { color: var(--orange); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  padding: 72px 0 32px;
  color: rgba(255,255,255,0.65);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.footer__desc {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 280px;
}
.footer__social { display: flex; gap: 14px; }
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer__social a:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__col ul a:hover { color: var(--white); }
.footer__col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}
.footer__col address a { transition: color 0.2s; }
.footer__col address a:hover { color: var(--orange); }
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer__bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--dark);
  border-top: 2px solid var(--orange);
  padding: 22px 24px;
  z-index: 9999;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  line-height: 1.55;
  flex: 1;
}
.cookie-banner__text a { color: var(--orange); }
.cookie-banner__btns { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-accept {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.cookie-accept:hover { background: #e04d16; }
.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 18px;
  border-radius: 3px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
}
.cookie-decline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--dark);
  padding: 140px 0 72px;
  text-align: center;
}
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 20px; }
.contact-info p { color: var(--gray); line-height: 1.75; margin-bottom: 28px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.contact-detail i {
  color: var(--orange);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-detail__text strong { display: block; margin-bottom: 2px; font-size: 0.85rem; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.contact-detail__text span { color: var(--gray); font-size: 0.95rem; }
.contact-form { background: var(--white); padding: 44px 40px; border-radius: 4px; border: 1px solid var(--light-gray); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--light-gray);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--bg);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 14px 36px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}
.form-submit:hover { background: #e04d16; }

/* ===== PROSE (privacy/terms pages) ===== */
.prose { max-width: 800px; margin: 0 auto; }
.prose h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--dark);
}
.prose h3 { font-size: 1.15rem; margin-top: 28px; margin-bottom: 12px; }
.prose p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 16px 0 20px 20px; }
.prose ul li {
  list-style: disc;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ===== UTILITIES ===== */
.text-orange { color: var(--orange); }
.bg-dark { background: var(--dark); }
.bg-light { background: var(--bg); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .about-split__img { height: 320px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .navbar__menu { display: none; }
  .hamburger { display: flex; }
  .courses-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .hero__btns { flex-direction: column; }
  .btn { justify-content: center; }
}

@media (max-width: 480px) {
  section { padding: 56px 0; }
  .stats-row { grid-template-columns: 1fr; padding: 48px 0; }
  .contact-form { padding: 28px 20px; }
}
