/*
Theme Name: Samurai Taijutsu LP
Theme URI: https://samurai-tuchimikado.jp/
Author: Samurai Yosei Project
Description: 體術體験講座 集客LP用WordPressテーマ。Traditional × Minimal × Premium × Japanese Wellness。
Version: 1.0
Requires at least: 5.9
Requires PHP: 7.4
Text Domain: samurai-taijutsu
*/

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #161616;
  background: #F7F5F0;
}
img { max-width: 100%; display: block; }
a { color: #1E3040; text-decoration: none; }
a:hover { color: #16242F; }
.serif { font-family: 'Noto Serif JP', serif; }
.num { font-family: 'Cormorant Garamond', serif; font-style: italic; }

.section { padding: clamp(72px, 12vw, 180px) clamp(20px, 5vw, 40px); }
.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 900px; margin: 0 auto; }
.container-text { max-width: 760px; margin: 0 auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #1E3040; color: #F7F5F0; padding: 18px 40px; border-radius: 10px;
  font-size: 17px; font-weight: 500; letter-spacing: 0.02em; text-decoration: none;
  transition: background .2s ease; border: none; cursor: pointer;
}
.btn:hover { background: #16242F; color: #F7F5F0; }
.btn-sm { padding: 12px 20px; font-size: 14px; border-radius: 10px; }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: center; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* NAV */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,245,240,0.95); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(22,22,22,0.08);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 14px clamp(20px,5vw,40px);
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 28px; height: 28px; object-fit: contain; }
.brand span { font-size: 16px; letter-spacing: 0.08em; white-space: nowrap; }
.nav-links {
  display: flex; align-items: center; gap: clamp(16px,3vw,32px);
  overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 1; justify-content: flex-end;
}
.nav-links a { font-size: 14px; color: #3A3A38; white-space: nowrap; }
.nav-links a.active-link { color: #1E3040; border-bottom: 1px solid #1E3040; padding-bottom: 2px; }

/* FV */
.fv { position: relative; width: 100%; min-height: 92vh; display: flex; align-items: flex-end; }
.fv-bg { position: absolute; inset: 0; }
.fv-bg img { width: 100%; height: 100%; object-fit: cover; }
.fv-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.20) 40%, rgba(10,10,10,0.72) 100%);
}
.fv-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px) clamp(56px,8vw,96px); }
.fv-content h1 { color: #FFFFFF; font-weight: 500; font-size: clamp(36px,5.8vw,68px); line-height: 1.5; margin-bottom: 24px; }
.fv-content p.sub { color: #F0EEE8; font-size: clamp(17px,1.8vw,20px); line-height: 1.9; margin-bottom: 32px; max-width: 560px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.badges span { font-size: 14px; color: #F7F5F0; border: 1px solid rgba(247,245,240,0.5); border-radius: 999px; padding: 7px 16px; }
.fv-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.fv-cta-row .region { font-size: 15px; color: #F0EEE8; letter-spacing: 0.05em; }
.fv-note { font-size: 14px; color: #D8D5CC; margin-top: 16px; }

/* Trouble list */
.trouble-list { display: flex; flex-direction: column; gap: 20px; text-align: left; max-width: 620px; margin: 0 auto; list-style: none; }
.trouble-list li { font-size: 17px; line-height: 1.8; padding: 18px 0; border-bottom: 1px solid rgba(22,22,22,0.1); }
.trouble-list li:last-child { border-bottom: none; }

/* Video */
.video-wrap { position: relative; width: 100%; border-radius: 8px; overflow: hidden; }
.video-16-9 { aspect-ratio: 16/9; }
.video-9-16 { aspect-ratio: 9/16; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Timeline */
.timeline-item { display: flex; gap: clamp(20px,4vw,40px); padding-bottom: clamp(32px,5vw,56px); border-left: 1px solid rgba(30,48,64,0.2); padding-left: clamp(24px,4vw,48px); margin-left: 8px; position: relative; }
.timeline-item .dot { position: absolute; left: -6px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #1E3040; }
.timeline-item .num { font-size: clamp(28px,4vw,40px); color: #1E3040; min-width: 70px; }
.timeline-item h3 { font-size: 20px; margin: 6px 0 12px; font-weight: 500; }
.timeline-item p { font-size: 16px; line-height: 1.8; color: #3A3A38; }

/* Benefits */
.benefits-list p { font-size: 16px; line-height: 1.9; color: #3A3A38; padding: 20px 0; border-bottom: 1px solid rgba(22,22,22,0.1); }
.benefits-list p:last-child { border-bottom: none; }

/* Reassure */
.reassure-item { text-align: center; }
.reassure-item .circle { width: 48px; height: 48px; border-radius: 50%; border: 1px solid #1E3040; margin: 0 auto 20px; }
.reassure-item h3 { font-size: 18px; margin-bottom: 10px; font-weight: 500; }
.reassure-item p { font-size: 15px; line-height: 1.8; color: #77736D; }

/* Gallery */
.gallery-grid img, .gallery-grid picture { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 4px; }
.gallery-carousel { display: none; position: relative; }
.gallery-carousel img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 4px; }
.gallery-carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; font-size: 16px; color: #161616; cursor: pointer; }
.gallery-carousel .arrow.prev { left: 8px; }
.gallery-carousel .arrow.next { right: 8px; }
.gallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.gallery-dots span { width: 7px; height: 7px; border-radius: 50%; background: #1E3040; opacity: .3; cursor: pointer; }
.gallery-dots span.active { opacity: 1; }

/* Testimonials */
.testimonial-card { background: #FFFFFF; border-radius: 10px; padding: 32px 28px; }
.testimonial-card .quote-mark { font-size: 32px; color: #77736D; margin-bottom: 12px; }
.testimonial-card p.text { font-size: 16px; line-height: 1.9; color: #3A3A38; }

/* Recommend list */
.recommend-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; list-style: none; }
.recommend-list li { font-size: 16px; line-height: 1.8; padding-left: 20px; border-left: 2px solid #1E3040; }

/* Schedule */
.schedule-card { background: #FFFFFF; border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; gap: 20px; }
.schedule-card .city { font-size: 22px; color: #1E3040; margin-bottom: 4px; }
.schedule-card .date { font-size: 14px; color: #77736D; }
.session { border-top: 1px solid rgba(22,22,22,0.1); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.session .name { font-size: 15px; font-weight: 500; color: #161616; }
.session .meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: #3A3A38; }

/* FAQ */
.faq-item { border-bottom: 1px solid rgba(22,22,22,0.1); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 4px; cursor: pointer; background: none; border: none; width: 100%; text-align: left; font-family: inherit; }
.faq-q p { font-size: 16px; font-weight: 500; margin: 0; }
.faq-icon { font-size: 20px; color: #77736D; flex-shrink: 0; }
.faq-a { font-size: 15px; line-height: 1.8; color: #3A3A38; padding: 0 4px 22px; display: none; }
.faq-item.open .faq-a { display: block; }

/* Closing */
.closing { position: relative; width: 100%; min-height: 80vh; display: flex; align-items: center; justify-content: center; }
.closing-bg { position: absolute; inset: 0; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; }
.closing-overlay { position: absolute; inset: 0; background: rgba(10,10,10,0.55); }
.closing-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; padding: clamp(56px,10vw,96px) clamp(20px,5vw,40px); text-align: center; }
.closing-content .lead { font-size: clamp(22px,3vw,30px); line-height: 1.8; color: #FFFFFF; margin-bottom: 32px; }
.closing-content .body { font-size: 16px; line-height: 2; color: #E8E5DE; margin-bottom: 32px; }
.closing-content .cta-note { font-size: 19px; color: #FFFFFF; margin-bottom: 40px; }
.closing-content .region { font-size: 15px; color: #E8E5DE; letter-spacing: 0.05em; margin-bottom: 8px; }
.closing-content .fee { font-size: 14px; color: #C9C5BC; }

/* Footer */
.site-footer { background: #161616; padding: 56px clamp(20px,5vw,40px) 100px; text-align: center; }
.site-footer img { width: 44px; height: 44px; object-fit: contain; margin: 0 auto 16px; }
.site-footer .brand-name { color: #F7F5F0; font-size: 15px; letter-spacing: 0.1em; margin-bottom: 8px; }
.site-footer .tagline { font-size: 14px; color: #77736D; }

/* Sticky mobile CTA */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: #FFFFFF; border-top: 1px solid rgba(22,22,22,0.1);
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); height: 60px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.sticky-cta span { font-size: 15px; color: #161616; }
.sticky-cta a { flex-shrink: 0; }

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 759px) {
  .gallery-grid { display: none; }
  .gallery-carousel { display: block; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 60px; }
}
