/*
Theme Name: Waku Salo Original Theme V2 WhatIs
Theme URI: https://waku-salo.com/
Author: OpenAI
Description: ワク♡サロLPをベースにした完全オリジナルWordPressテーマ
Version: 1.5.1
Text Domain: wakusalo-original
*/

:root{
  --pink1:#ff5aa7;
  --pink2:#ff2f57;
  --pink3:#ff3e6a;
  --text:#1c1c1c;
  --muted:#666;
  --bg:#ffffff;
  --card:#ffffff;
  --line:#ff4a63;
  --shadow: 0 14px 28px rgba(0,0,0,.18);
  --r:18px;
  --w: 420px; /* phone max width */
}

*{ box-sizing:border-box; }
/*
  Scroll fix:
  If body is a flex container and the inner wrapper has overflow:hidden,
  the wrapper can be forced to viewport height and clip content (no scroll).
  Use normal document flow instead.
*/
html,body{ height:auto; }
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", sans-serif;
  color:var(--text);
  background:#eef3fb;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.wrap{
  width:min(100%, var(--w));
  background:#fff;
  position:relative;
  margin:0 auto;
  overflow-x:hidden;
}

/* ====== Header / Menu ====== */
.header{
  position:fixed;
  top:0;
  left:50%;
  transform:translateX(-50%);
  width:min(100%, var(--w));
  z-index:50;
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  pointer-events:none;
}
.header .brand,
.header .menu-btn{ pointer-events:auto; }

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  color:#fff;
  font-weight:900;
  letter-spacing:.04em;
  text-shadow:0 6px 18px rgba(0,0,0,.35);
}
.brand img{ width:40px; height:40px; }

.menu-btn{
  width:52px;height:52px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.06);
  background:rgba(255,255,255,.95);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
}
.menu-btn .txt{
  font-size:11px;
  font-weight:900;
  color:#333;
  letter-spacing:.08em;
}
.burger, .burger:before, .burger:after{
  width:22px;
  height:2px;
  border-radius:2px;
  background:#666;
  display:block;
  content:"";
}
.burger{ position:relative; }
.burger:before{ position:absolute; transform:translateY(-6px); }
.burger:after{ position:absolute; transform:translateY(6px); }

/* ====== Drawer ====== */
.drawer-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.38);
  opacity:0; pointer-events:none;
  transition:.2s;
  z-index:80;
}
.drawer{
  position:fixed;
  right:50%;
  transform:translateX(50%);
  top:0;
  width:min(100%, var(--w));
  height:100%;
  pointer-events:none;
  z-index:90;
}
.drawer .panel{
  position:absolute;
  right:0; top:0;
  width:86%;
  height:100%;
  background:#fff;
  transform:translateX(105%);
  transition:.22s ease;
  box-shadow:-20px 0 60px rgba(0,0,0,.22);
  border-left:1px solid rgba(0,0,0,.06);
  pointer-events:auto;
  padding:18px 14px calc(18px + env(safe-area-inset-bottom));
  overflow-y:auto;
  display:flex;
  flex-direction:column;
}
.drawer.open .panel{ transform:translateX(0); }
.drawer.open ~ .drawer-backdrop{ opacity:1; pointer-events:auto; }

.drawer h3{
  margin:6px 0 10px;
  font-size:14px;
  letter-spacing:.10em;
  color:var(--pink3);
}
.drawer a{
  display:block;
  padding:12px 10px;
  border-radius:12px;
  margin:6px 0;
  background:linear-gradient(180deg, #fff, #fff7fb);
  border:1px solid rgba(255,74,99,.22);
  font-weight:800;
}
.drawer .close{
  margin-top:10px;
  width:100%;
  padding:12px 12px;
  border:none;
  border-radius:12px;
  background:linear-gradient(135deg, var(--pink1), var(--pink2));
  color:#fff;
  font-weight:900;
}

.drawer-line-btn{
  margin-top:10px;
  min-height:88px;
  border-radius:24px !important;
  text-align:center;
  white-space:normal;
  line-height:1.45;
  padding:16px 18px !important;
  font-size:16px;
  font-weight:900;
}
.drawer-line-btn::before{
  width:24px !important;
  height:24px !important;
  flex-basis:24px !important;
}
.footer-nav-all{
  grid-template-columns:1fr !important;
}
.footer-nav-all a{
  font-size:14px;
  line-height:1.45;
}

/* ====== Hero ====== */
.hero{
  position:relative;
  min-height:520px;
  background:#000;
  overflow:hidden;
}
.hero-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.30));
  z-index:1;
}
.hero .inner{
  position:relative;
  z-index:2;
  padding:92px 16px 72px;
}

.kicker{
  color:#fff;
  font-size:16px;
  line-height:1.7;
  letter-spacing:.04em;
  opacity:.95;
}
.hero h1{
  margin:10px 0 8px;
  color:#fff;
  font-size:36px;
  line-height:1.06;
  letter-spacing:.06em;
  text-shadow:0 12px 30px rgba(0,0,0,.45);
}
.hero p{
  margin:0;
  color:rgba(255,255,255,.92);
  line-height:1.75;
  font-size:16px;
  max-width:34em;
}
.hero p br{
  content:"";
}
.hero .cta{
  margin-top:16px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  border:none;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.04em;
}
.btn.primary{
  color:#fff;
  background:linear-gradient(135deg, var(--pink1), var(--pink2));
  box-shadow: 0 16px 30px rgba(255,47,87,.28);
}
.btn.ghost{
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.35);
}

.hero-cta-btn{
  font-size:16px;
  line-height:1.2;
  min-height:56px;
  padding:16px 22px;
}

.wave{
  position:absolute; left:0; right:0; bottom:-1px;
  width:100%;
  height:auto;
  z-index:3;
}

/* ====== Sections ====== */
.section{
  position:relative;
  padding:22px 14px;
}
.section.dot-bg{
  background:
    radial-gradient(circle at 1px 1px, rgba(255,90,167,.22) 1px, transparent 1px) 0 0/16px 16px,
    #fff;
}
.section.soft{
  background:#fff7fb;
}
.sec-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
  margin:0 0 8px;
}
.sec-title .en{
  font-weight:900;
  letter-spacing:.16em;
  color:var(--pink3);
  font-size:12px;
  line-height:1.2;
  margin:0;
}
.sec-title .jp{
  font-weight:900;
  font-size:16px;
  line-height:1.35;
  margin:0;
}

/* NEWS list */
.news{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.18);
  box-shadow:var(--shadow);
  padding:12px 12px;
}
.news li{
  list-style:none;
  padding:10px 8px;
  border-bottom:1px dashed rgba(0,0,0,.10);
  display:flex;
  gap:10px;
}
.news li:last-child{ border-bottom:none; }
.news .date{
  min-width:86px;
  font-size:12px;
  color:var(--muted);
  font-weight:800;
}
.news .text{
  font-size:13px;
  line-height:1.55;
}

/* ABOUT cards */
.about-lead{
  font-size:13px;
  line-height:1.75;
  color:#222;
  margin:0 0 10px;
}
.cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.card{
  position:relative;
  background:#fff;
  border:2px solid var(--line);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:16px 10px 14px 46px;
  overflow:hidden;
}
.card:before{
  content:"";
  position:absolute;
  inset:-8px 8px 8px -8px;
  border:2px solid var(--line);
  border-radius:20px;
  background:rgba(255,255,255,.92);
  z-index:-1;
}
.card .en{
  font-size:11px;
  font-weight:900;
  letter-spacing:.10em;
  color:var(--pink3);
  text-align:center;
}
.card .jp{
  font-size:13px;
  font-weight:900;
  text-align:center;
  margin-top:4px;
}
.card .icon{
  position:absolute;
  left:-18px;
  top:-12px;
  width:56px;
  height:56px;
  filter:drop-shadow(0 10px 10px rgba(0,0,0,.12));
}

/* Photo strip */
.photo-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.photo-row img{
  border-radius:14px;
  box-shadow:0 10px 20px rgba(0,0,0,.18);
  border:1px solid rgba(255,74,99,.18);
}

/* PRICE */
.price-card{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:var(--shadow);
  padding:14px 14px;
}
.price-big{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:10px;
}
.price-big .num{
  font-size:34px;
  font-weight:1000;
  color:var(--pink3);
  letter-spacing:.02em;
}
.price-big .unit{
  font-size:13px;
  font-weight:900;
  color:#444;
  margin-left:4px;
}
.pills{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.pill{
  padding:8px 10px;
  border-radius:999px;
  background:#fff7fb;
  border:1px solid rgba(255,74,99,.22);
  font-size:12px;
  font-weight:800;
  color:#333;
}
.small-note{
  margin-top:10px;
  color:#666;
  font-size:12px;
  line-height:1.6;
}

.price-big-member{
  align-items:center;
}
.price-admission{
  font-size:12px;
  color:#666;
  font-weight:800;
  line-height:1.2;
  margin-top:0;
  align-self:center;
  white-space:nowrap;
}
.small-note-member{
  margin-top:4px;
  line-height:1.35;
}
.small-note-member br + br{
  display:none;
}

/* CONTENTS */
.box{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:var(--shadow);
  padding:14px 14px;
}
.checks{
  margin:0; padding:0;
}
.checks li{
  list-style:none;
  padding:10px 0;
  border-bottom:1px dashed rgba(0,0,0,.10);
  display:flex; gap:10px;
  align-items:flex-start;
}
.checks li:last-child{ border-bottom:none; }
.check{
  width:18px; height:18px;
  border-radius:6px;
  background:linear-gradient(135deg,var(--pink1),var(--pink2));
  flex:0 0 auto;
  margin-top:2px;
}
.checks .txt{
  font-size:13px; line-height:1.65;
}

/* MEMBER */
.member-hero{
  background:linear-gradient(135deg, rgba(255,90,167,.95), rgba(255,47,87,.92));
  color:#fff;
  border-radius:22px;
  padding:18px 14px;
  position:relative;
  overflow:hidden;
  box-shadow: 0 18px 40px rgba(255,47,87,.25);
}
.member-hero:before{
  content:"";
  position:absolute;
  inset:-40px -40px auto auto;
  width:180px; height:180px;
  border-radius:50%;
  background:rgba(255,255,255,.18);
}
.member-hero .logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:1000;
  letter-spacing:.06em;
}
.member-hero .logo img{ width:34px; height:34px; }
.member-hero .count{
  margin-top:10px;
  display:flex;
  align-items:flex-end;
  gap:8px;
}
.member-hero .count .n{
  font-size:40px;
  font-weight:1000;
}
.member-hero .count .s{
  font-size:14px;
  font-weight:900;
  opacity:.95;
}

/* Profile card */
.profile{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.profile .card2{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:var(--shadow);
  padding:14px 14px;
}
.profile .person{
  display:flex;
  gap:12px;
  align-items:center;
}
.profile .person img{
  width:78px; height:78px;
  border-radius:18px;
  object-fit:cover;
  border:1px solid rgba(255,74,99,.18);
}
.profile .person .name{
  font-weight:1000;
}
.profile .person .role{
  font-size:12px;
  color:#666;
  font-weight:800;
  margin-top:2px;
}
.profile p{
  margin:10px 0 0;
  font-size:13px;
  line-height:1.7;
  color:#333;
}

/* BLOG cards */
.blog-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}
.blog{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.blog img{ height:180px; width:100%; object-fit:cover; }
.blog .b{
  padding:12px 12px;
}
.blog .tag{
  display:inline-block;
  font-size:11px;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg,var(--pink1),var(--pink2));
  padding:6px 10px;
  border-radius:999px;
}
.blog h4{
  margin:10px 0 6px;
  font-size:14px;
}
.blog p{
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:#555;
}
.blog .btn-row{ margin-top:10px; }

/* SCHEDULE */
.hscroll{
  display:flex;
  gap:10px;
  overflow:auto;
  padding-bottom:6px;
  scroll-snap-type:x mandatory;
}
.hscroll > *{
  scroll-snap-align:start;
  flex:0 0 82%;
}
.calendar{
  width:100%;
  border-collapse:collapse;
  font-size:12px;
}
.calendar th, .calendar td{
  border:1px solid rgba(0,0,0,.08);
  padding:8px 6px;
  text-align:center;
}
.calendar th{
  background:#fff7fb;
  font-weight:900;
}
.calendar td{
  background:#fff;
}
.schedule-card{
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:var(--shadow);
  padding:12px 12px;
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
.faq-item{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  overflow:hidden;
}
.faq-q{
  width:100%;
  text-align:left;
  padding:12px 12px;
  border:none;
  background:linear-gradient(180deg,#fff, #fff7fb);
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
}
.faq-q .mark{
  width:26px;height:26px;
  border-radius:9px;
  background:linear-gradient(135deg,var(--pink1),var(--pink2));
  color:#fff;
  display:grid;
  place-items:center;
  font-weight:1000;
  flex:0 0 auto;
}
.faq-q .chev{
  width:10px; height:10px;
  border-right:3px solid var(--pink3);
  border-bottom:3px solid var(--pink3);
  transform:rotate(45deg);
  transition:.18s;
  flex:0 0 auto;
}
.faq-item.open .chev{ transform:rotate(-135deg); }
.faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .22s ease;
}
.faq-a .pad{
  padding:0 12px 12px;
  color:#333;
  font-size:13px;
  line-height:1.7;
}

/* CTA */
.cta-sec{
  padding:22px 14px 26px;
  background:
    linear-gradient(rgba(0,0,0,.50), rgba(0,0,0,.40)),
    url("assets/cta-bg.jpg") center/cover no-repeat;
  color:#fff;
}
.cta-box{
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:14px 14px;
}
.cta-box h3{
  margin:0 0 8px;
  font-size:16px;
}
.cta-box p{
  margin:0;
  font-size:13px;
  line-height:1.7;
  color:rgba(255,255,255,.92);
}
.cta-box .row{
  margin-top:12px;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.qr{
  width:110px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 10px 20px rgba(0,0,0,.25);
}

/* Footer */
.footer{
  background:#111;
  color:#fff;
  padding:18px 14px 70px;
}
.footer .nav{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:12px;
}
.footer a{
  padding:10px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
  font-size:12px;
}
.footer .copy{
  margin-top:12px;
  font-size:11px;
  opacity:.8;
}
.footer .footer-message{
  margin-top:16px;
  text-align:center;
  font-size:14px;
  line-height:1.9;
  font-weight:700;
  color:#fff;
}

/* floating */
.fab{
  position:fixed;
  right:calc(50% - min(50%, var(--w))/2 + 12px);
  bottom:12px;
  z-index:60;
  display:flex;
  gap:10px;
  align-items:center;
}
.fab a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border-radius:14px;
  padding:0 12px;
  font-weight:1000;
  box-shadow:0 14px 26px rgba(0,0,0,.20);
}
.fab .line{
  background:linear-gradient(135deg,var(--pink1),var(--pink2));
  color:#fff;
}
.fab .top{
  width:48px;
  padding:0;
  background:rgba(255,255,255,.95);
  border:1px solid rgba(0,0,0,.08);
}

/* spacing for fixed header */
.spacer{ display:none; height:0; margin:0; padding:0; }


/* WordPress additions */
.admin-bar .header{ top:46px; }
@media (min-width:783px){ .admin-bar .header{ top:32px; } }
.wp-post-image, .entry-content img{ max-width:100%; height:auto; }
.page-shell{ width:min(100%, var(--w)); margin:0 auto; background:#fff; min-height:100vh; }
.entry-wrap{ padding:88px 16px 40px; }
.entry-card{ background:#fff; border-radius:18px; box-shadow:var(--shadow); border:1px solid rgba(255,74,99,.18); padding:18px 14px; }
.entry-title{ margin:0 0 8px; font-size:24px; line-height:1.3; }
.entry-meta{ color:var(--muted); font-size:12px; margin-bottom:12px; }
.archive-list{ display:grid; gap:12px; }
.archive-item{ background:#fff; border-radius:18px; box-shadow:var(--shadow); border:1px solid rgba(255,74,99,.18); overflow:hidden; }
.archive-item .body{ padding:12px; }
.archive-item h2{ margin:0 0 6px; font-size:18px; line-height:1.35; }
.archive-item p{ margin:0; color:#444; line-height:1.7; font-size:13px; }
.pagination{ display:flex; gap:8px; justify-content:center; margin-top:18px; }
.pagination .page-numbers{ padding:10px 12px; background:#fff; border-radius:999px; border:1px solid rgba(255,74,99,.22); }


/* aliases / additions for V2 spec */
.faq-list{ display:grid; gap:10px; }
.faq-list .faq-item{
  background:#fff;
  border-radius:16px;
  border:1px solid rgba(255,74,99,.20);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  overflow:hidden;
}
.faq-list .faq-q{
  width:100%;
  text-align:left;
  padding:12px 12px;
  border:none;
  background:linear-gradient(180deg,#fff, #fff7fb);
  font-weight:1000;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  cursor:pointer;
}
.faq-list .faq-a{
  max-height:0;
  overflow:hidden;
  transition:max-height .22s ease;
}
.faq-list .faq-a p{
  padding:0 12px 12px;
  color:#333;
  font-size:13px;
  line-height:1.7;
  margin:0;
}
.faq-list .faq-item.open .faq-a{ max-height:220px; }

.cta-band{
  padding:22px 14px 26px;
  color:#fff;
}
.cta-band-inner{
  background:rgba(0,0,0,.38);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:14px 14px;
  box-shadow:var(--shadow);
}
.cta-band h3{
  margin:6px 0 8px;
  font-size:18px;
}
.cta-band p{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.7;
  color:rgba(255,255,255,.92);
}
.event-post-card{
  overflow:hidden;
  padding:0;
}
.event-post-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
}
.event-post-body{ padding:12px; }
.event-post-date{
  font-size:12px;
  color:#666;
  font-weight:800;
}
.event-post-card h4{
  margin:8px 0 6px;
  font-size:15px;
}
.event-post-card p{
  margin:0;
  font-size:12px;
  line-height:1.6;
  color:#555;
}

.hero{margin-bottom:0;padding-bottom:0;min-height:auto;}
.wave{display:block;line-height:0;margin:0 0 -1px 0;}
.section{margin-top:0;}
#news.section{padding-top:8px;}
.voice-list{display:grid;gap:10px;}
.voice-item{background:#fff;border:1px solid #ffd5e3;border-radius:16px;padding:14px 16px;box-shadow:0 8px 20px rgba(0,0,0,.06);line-height:1.8;color:#444;}


/* v4 adjustments */
.hero{ min-height:640px; }
.hero .inner{ min-height:640px; display:flex; align-items:center; padding:120px 16px 96px; }
.hero .hero-copy{ margin-top:60px; width:100%; }
.news-first{ padding-top:8px; }
.prose-box p{ margin:0 0 12px; line-height:1.85; color:#333; }
.prose-box p:last-child{ margin-bottom:0; }
.steps-long .txt{ white-space:normal; }
.event-post-card img{ width:100%; border-radius:14px; margin-bottom:10px; }
.event-post-body h4{ margin:0 0 8px; font-size:15px; line-height:1.5; }
.event-post-date{ font-size:12px; color:#666; font-weight:800; margin-bottom:6px; }
.event-post-body p{ margin:0; color:#444; line-height:1.8; font-size:13px; }
.voice-list{ display:grid; gap:10px; }
.voice-item{ background:#fff; border:1px solid rgba(255,74,99,.18); border-radius:16px; box-shadow:var(--shadow); padding:12px 14px; line-height:1.8; font-size:13px; }
@media (max-width:420px){ .hero h1{ font-size:34px; } }


/* v5 cache / layout fixes */
.hero{min-height:700px!important;}
.hero .inner{min-height:700px!important;display:flex;align-items:center;padding:140px 18px 120px!important;}
.hero .hero-copy{margin-top:90px!important;width:100%;}
.news-first{padding-top:0!important;margin-top:-2px;}
.spacer{display:none!important;height:0!important;margin:0!important;padding:0!important;}
.box .checks .txt{display:block;color:#333;white-space:pre-line;}
.steps-long .txt{white-space:pre-line!important;}
.section#contents .box{overflow:visible;}
.hero p{white-space:pre-line;}
.about-lead{white-space:pre-line;}
.cta-band p,.profile p,.small-note,.event-post-body p,.voice-item{white-space:pre-line;}


/* typography update: body text 16px, headings larger */
.news .text,
.about-lead,
.small-note-member{
  white-space:normal !important;
}

.about-lead{
  font-size:16px !important;
  line-height:1.8 !important;
}
.small-note-member br{
  display:block;
  content:"";
  margin-top:4px;
}

.small-note,
.checks .txt,
.profile p,
.blog p,
.faq-a .pad,
.cta-band p,
.event-post-body p,
.voice-item,
.archive-item p,
.prose-box p{
  font-size:16px !important;
  line-height:1.8;
}

.sec-title .en{
  font-size:14px !important;
}
.sec-title .jp{
  font-size:22px !important;
  line-height:1.45;
}
.blog h4,
.event-post-card h4,
.event-post-body h4,
.archive-item h2,
.faq-q,
.profile .person .name{
  font-size:18px !important;
  line-height:1.5;
}


/* operator stack update */
.operator-stack{
  margin-top:12px;
}
.operator-note{
  margin-top:2px;
}
.operator-note p{
  margin:0;
  font-size:16px !important;
  line-height:1.8;
  color:#333;
}
#operator .member-hero{
  margin-top:12px;
}

.steps-long li{display:grid;grid-template-columns:18px minmax(0,1fr);column-gap:12px;align-items:start;padding:8px 0;}
.steps-long .check{margin:4px 0 0 0;align-self:start;}
.steps-long .txt{display:flex;flex-direction:column;justify-content:flex-start;gap:4px;font-size:16px !important;line-height:1.8;white-space:normal;min-width:0;}
.steps-long .step-heading{display:block;font-weight:1000;font-size:16px;line-height:1.35;margin:0;color:#222;}
.steps-long .step-body{display:block;margin:0;line-height:1.8;}



.sec-title{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:2px;
}

/* title alignment and compact spacing */
.section .sec-title + p,
.section .sec-title + .about-lead,
.section .sec-title + .box,
.section .sec-title + .hscroll,
.section .sec-title + .blog-grid,
.section .sec-title + .voice-list,
.section .sec-title + .faq-list,
.section .sec-title + .profile,
.section .sec-title + .member-hero{
  margin-top:0;
}


.flow-steps{margin:0;padding:0;}
.flow-step-item{list-style:none;padding:10px 0;border-bottom:1px dashed rgba(0,0,0,.10);}
.flow-step-item:last-child{border-bottom:none;}
.flow-step-head{display:flex;align-items:center;gap:12px;margin:0;}
.flow-step-head .check{flex:0 0 22px;width:22px;height:22px;margin:0;border-radius:8px;}
.flow-step-head .step-heading{display:block;margin:0;font-size:16px;font-weight:1000;line-height:1.35;color:#222;}
.flow-step-body{margin:8px 0 0 34px;font-size:16px;line-height:1.8;color:#444;}


/* flow final alignment fix */
#flow .flow-steps{margin:0;padding:0;list-style:none;}
#flow .flow-step-item{display:grid;grid-template-columns:22px minmax(0,1fr);column-gap:12px;align-items:start;padding:12px 0;border-bottom:1px dashed rgba(0,0,0,.10);list-style:none;}
#flow .flow-step-item:last-child{border-bottom:none;}
#flow .flow-step-item > .check{grid-column:1;width:22px;height:22px;margin:0;border-radius:8px;align-self:start;transform:none;}
#flow .flow-step-content{grid-column:2;min-width:0;display:flex;flex-direction:column;gap:6px;}
#flow .step-heading{display:block;margin:0;font-size:16px;font-weight:900;line-height:1.45;color:#222;word-break:keep-all;overflow-wrap:anywhere;}
#flow .flow-step-body{margin:0;font-size:16px;line-height:1.9;color:#444;word-break:break-word;}
#flow .checks.steps-long .txt{display:block;}

/* hero text 16px lock */
.kicker{font-size:13px !important;line-height:1.7 !important;letter-spacing:.04em !important;}
.hero p{font-size:16px !important;line-height:1.75 !important;white-space:normal !important;}
.hero p br{display:block;content:"";margin:0;}


/* hero CTA size balanced fix */
.hero .btn.primary.hero-cta-btn{
  font-size:16px !important;
  line-height:1.2 !important;
  min-height:56px !important;
  padding:16px 22px !important;
  border-radius:16px !important;
  font-weight:900 !important;
}

/* flow CTA full-width hard fix */
#flow .btn-row{width:100% !important;display:block !important;}
#flow .btn-row .btn.primary{width:100% !important;display:flex !important;justify-content:center !important;align-items:center !important;min-height:56px !important;font-size:16px !important;line-height:1.2 !important;padding:16px 18px !important;border-radius:18px !important;}


/* news text 16px lock */
.news .text,
.news .text a{font-size:16px !important;line-height:1.7 !important;}


/* faq visibility + mobile typography fix */
.faq-list .faq-q,
.faq-list .faq-q span,
.faq-list .faq-q b{
  color:#222 !important;
  -webkit-text-fill-color:#222 !important;
}
.faq-list .faq-q{
  font-size:15px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}
.faq-list .faq-q span{
  font-size:15px !important;
  font-weight:400 !important;
  line-height:1.6 !important;
}
.faq-list .faq-q b{
  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;
}
@media (max-width: 767px){
  .faq-list .faq-q,
  .faq-list .faq-q span{font-size:15px !important;}
}


/* Official LINE buttons */
.btn.primary.line-btn{
  background:#06c755 !important;
  box-shadow:0 12px 28px rgba(6,199,85,.28) !important;
}
.btn.primary.line-btn:hover,
.btn.primary.line-btn:focus{
  background:#06c755 !important;
}
.fab .line{
  background:#06c755 !important;
}


/* LINE logo buttons */
.btn.primary.line-btn,
.fab .line{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
}
.btn.primary.line-btn::before,
.fab .line::before{
  content:"";
  width:22px;
  height:22px;
  flex:0 0 22px;
  display:inline-block;
  background:url("assets/line-logo.png") center/contain no-repeat;
}
.hero .btn.primary.line-btn::before{width:20px;height:20px;flex-basis:20px;}
.fab .line{
  padding:0 14px !important;
  min-width:110px;
}
.fab .line::before{
  width:18px;
  height:18px;
  flex-basis:18px;
}


.drawer .panel a.drawer-line-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:96px;
  aspect-ratio:1 / 1;
  width:min(100%, 220px);
  margin:14px auto 10px;
  text-align:center;
}
.drawer .close{ margin-top:auto; }


/* Hide fixed Official LINE / top buttons while hero CTA is visible */
.fab .line.is-auto-hidden,
.fab .top.is-auto-hidden{
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
  transform:translateY(8px) !important;
}
.fab .line,
.fab .top{
  transition:opacity .24s ease, transform .24s ease, visibility .24s ease;
}


.entry-title.archive-title-badge{ margin:0 0 14px; }
.entry-title.archive-title-badge span{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 16px;
  border-radius:999px;
  background:#fff5f8;
  border:1px solid rgba(255,74,99,.24);
  box-shadow:0 10px 24px rgba(255,74,99,.08);
  color:#ff2d73;
}
.entry-title.archive-title-badge span::before{
  content:'';
  width:12px;
  height:12px;
  border-radius:999px;
  background:linear-gradient(180deg, #ff5b95 0%, #ff2d73 100%);
  box-shadow:0 4px 12px rgba(255,74,99,.28);
  flex:0 0 12px;
}
.entry-title.archive-title-badge.event span{
  background:linear-gradient(180deg, #f3fff7 0%, #e7fff0 100%);
  border-color:#70d89a;
  box-shadow:0 10px 24px rgba(6,199,85,.12);
  color:#06a94a !important;
  font-weight:900;
}
.entry-title.archive-title-badge.event span::before{
  background:linear-gradient(180deg, #15d35d 0%, #06c755 100%);
  box-shadow:0 4px 12px rgba(6,199,85,.28);
}
.entry-title.archive-title-badge.report span{
  background:linear-gradient(180deg, #fff8ef 0%, #fff1de 100%);
  border-color:#ffc27a;
  box-shadow:0 10px 24px rgba(255,154,41,.14);
  color:#e07b16 !important;
  font-weight:900;
}
.entry-title.archive-title-badge.report span::before{
  background:linear-gradient(180deg, #ffb85a 0%, #ff8f2b 100%);
  box-shadow:0 4px 12px rgba(255,143,43,.30);
}


/* subpage refresh */
.page-shell{
  position:relative;
  overflow-x:hidden;
  background:linear-gradient(180deg,#fff 0%, #fff8fb 100%);
}
.subpage-header{
  background:linear-gradient(180deg, rgba(255,150,190,.78) 0%, rgba(255,115,168,.58) 55%, rgba(255,115,168,.18) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:0 10px 24px rgba(255,92,157,.18);
}
.page-shell .entry-wrap{
  padding:96px 16px 34px;
}
.page-shell .entry-card,
.page-shell .archive-item{
  box-shadow:0 14px 28px rgba(0,0,0,.10);
}
.page-shell .entry-card{
  margin-bottom:16px;
}
.subpage-cta{
  margin-top:8px;
}
.page-shell .entry-title{
  font-size:28px;
  line-height:1.35;
}
.page-shell .entry-content,
.page-shell .entry-content p,
.page-shell .entry-content li{
  font-size:16px;
  line-height:1.9;
}
.page-shell .entry-content p{margin:0 0 1em;}
.page-shell .entry-content h2,
.page-shell .entry-content h3{
  line-height:1.45;
}
.page-shell .archive-item h2{
  font-size:22px !important;
}
.page-shell .archive-item p{
  font-size:16px !important;
}


/* subpage footer layout fix */
.subpage-footer-block,
.subpage-footer{
  width:min(100%, var(--w));
  margin-left:auto;
  margin-right:auto;
}
.subpage-cta{
  margin-top:10px;
  padding-top:26px;
  padding-bottom:30px;
  background:linear-gradient(180deg,#8d586c 0%, #7d465b 100%);
}
.subpage-cta .cta-band-inner{
  background:rgba(45,15,28,.52);
}
.subpage-footer{
  padding-top:22px;
  background:#050505;
}
@media (min-width: 900px){
  .subpage-footer-block,
  .subpage-footer{
    border-radius:0;
  }
}

/* single post body links */
.single-post .entry-content a,
body.single .entry-content a{
  color:#1a73e8;
  text-decoration:underline;
  text-underline-offset:0.12em;
  text-decoration-thickness:1px;
}
.single-post .entry-content a:hover,
body.single .entry-content a:hover{
  color:#1669c1;
}
