/* css/landing.css */
/* UCC / Hakubaku-like simplicity: clean header, consolidated footer, image-first sections. */

:root{
  --max: 1120px;
  --fg: #171717;
  --muted: #606060;
  --line: #e6e6e6;
  --bg: #ffffff;
  --soft: #f6f7f8;
  --accent: #1b6ea8;
  --btn: #1b6ea8;
  --radius: 14px;
  --shadow: 0 10px 28px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html,body{ height:100%; scroll-behavior:smooth; 
  font-size:17px;
}
body{
  margin:0;
  color:var(--fg);
  background:var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height:1.75;
}

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

.container{
  width:min(var(--max), calc(100% - 32px));
  margin-inline:auto;
}

.topbar{
  border-bottom: 1px solid var(--line);
  background:#fff;
  font-size: 13px;
  color: var(--muted);
}
.topbar .inner{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  padding:8px 0;
  flex-wrap:wrap;
}
.topbar a{ color: var(--muted); }
.topbar a:hover{ color: var(--fg); }

header.site-header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
  position:relative;
}

.brand{ display:flex; align-items:center; gap:10px; }
.brand-logo{ height: 34px; width:auto; }

.nav{
  display:flex;
  align-items:center;
  gap:16px;
  font-size: 16px;
}
.nav a{
  padding:6px 4px;
  border-bottom: 2px solid transparent;
}
.nav a:hover{ border-bottom-color:#cfcfcf; }

.nav .cta-link{
  padding:9px 12px;
  border-radius: 10px;
  border:1px solid var(--btn);
  background: var(--btn);
  color:#fff;
  font-size:13px;
}
.nav .cta-link:hover{ filter: brightness(.95); border-bottom-color: transparent; }

.nav-toggle{ display:none; }
.nav-toggle-label{
  display:none;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  font-size:14px;
  background:#fff;
}
.burger{ width:16px; height:12px; position:relative; display:inline-block; }
.burger::before,.burger::after,.burger span{
  content:"";
  position:absolute;
  left:0; right:0;
  height:2px;
  background:var(--fg);
  border-radius:2px;
}
.burger::before{ top:0; }
.burger span{ top:5px; }
.burger::after{ bottom:0; }

.hero{
  position:relative;
  border-bottom:1px solid var(--line);
}
.hero img{
  width:100%;
  height:min(360px, 44vw);
  object-fit:cover;
}
.hero .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.10));
  display:flex;
  align-items:flex-end;
}
.hero .inner{
  color:#fff;
  padding:30px 0 18px;
}
.kicker{
  font-size: 15px;
  letter-spacing:.14em;
  text-transform:uppercase;
  opacity:.92;
}
.hero h1{
  margin:8px 0 10px;
  font-size: 44px;
  line-height:1.16;
  letter-spacing:.04em;
}
.hero p{
  margin:0;
  max-width: 920px;
  font-size: 16px;
  opacity:.95;
}
.hero .hero-lead{
  margin-top:8px;
  font-size:16px;
  line-height:1.6;
}
.hero .cta{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.75);
  background: transparent;
  color:#fff;
  font-size: 15px;
}
.btn.primary{
  border-color: var(--btn);
  background: var(--btn);
}
.btn.primary:hover{ filter: brightness(.95); }
.btn.ghost:hover{ background: rgba(255,255,255,.10); }

.section{ padding:60px 0; }
.section.soft{
  background:var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.h2{
  margin:0;
  font-size: 26px;
  letter-spacing:.06em;
}
.lead{
  margin:10px 0 0;
  font-size: 18px;
  color:var(--muted);
  max-width: 920px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.card .thumb{
  width:100%;
  aspect-ratio: 16/9;
  object-fit:cover;
}
.card .body{
  padding:14px 12px 16px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.card h3{
  margin:0;
  font-size: 18px;
  line-height:1.45;
  letter-spacing:.03em;
}
.card p{
  margin:0;
  font-size: 16px;
  color:var(--muted);
  line-height:1.75;
}

.feature{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items:center;
  margin-top: 18px;
}
.panel{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
  box-shadow: var(--shadow);
}
.panel .title{
  font-weight:700;
  letter-spacing:.04em;
  margin-bottom:10px;
}
.panel ul{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}
.panel li{ margin: 6px 0; }

.banner{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background:#111;
}
.banner img{
  width:100%;
  height:min(380px, 52vw);
  object-fit:cover;
  opacity:.92;
}
.banner .cap{
  position:absolute;
  inset:auto 0 0 0;
  padding:14px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.60));
  color:#fff;
}
.banner .cap .t{ font-weight:700; letter-spacing:.04em; }
.banner .cap .s{ font-size:12px; opacity:.95; margin-top:4px; line-height:1.7; }

.story{
  position:relative;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.story img{
  width:100%;
  height:min(440px, 56vw);
  object-fit:cover;
}
.story .overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.42), rgba(0,0,0,.22));
  display:flex;
  align-items:center;
}
.story .inner{ color:#fff; padding:18px 0; }
.story .box{
  max-width: 720px;
  border:1px solid rgba(255,255,255,.30);
  background: rgba(0,0,0,.22);
  border-radius: 14px;
  padding: 16px 14px;
}
.story h2{
  margin:0 0 8px;
  font-size:20px;
  letter-spacing:.05em;
}
.story p{
  margin:0;
  font-size:14px;
  opacity:.95;
  line-height:1.95;
}

.faq{
  display:grid;
  gap:10px;
  margin-top:18px;
}
details{
  border:1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  box-shadow: var(--shadow);
  padding: 10px 12px;
}
summary{
  cursor:pointer;
  font-weight:700;
  font-size:14px;
}
details p{
  margin:10px 0 0;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}

.cta-box{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:18px 16px;
  background:#fff;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  box-shadow: var(--shadow);
}
.cta-title{ font-weight:700; letter-spacing:.04em; }
.cta-sub{ font-size:12px; color:var(--muted); margin-top:4px; }

footer.site-footer{
  border-top:1px solid var(--line);
  background: url("../assets/img/about.jpg") center/cover no-repeat;
}
.footer-inner{ padding:28px 0 18px; }
.footer-overlay{
  background:rgba(0,0,0,.58);
  border-radius:14px;
  padding:18px 18px 12px;
  color:#fff;
}

.footer-brand{
  display:flex;
  justify-content:center;
  margin-bottom:12px;
}
.footer-brand img{
  height:22px;
  width:auto;
  filter: brightness(0) invert(1);
}

.footer-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  text-align:left;
  max-width: 920px;
  margin: 0 auto;
}

.footer-col .h{
  font-weight:700;
  font-size:12px;
  letter-spacing:.08em;
  margin-bottom:8px;
  opacity:.95;
}
.footer-col a{
  display:block;
  font-size:12px;
  opacity:.92;
  padding:4px 0;
}
.footer-col a:hover{ opacity:1; text-decoration: underline; }

.to-top-wrap{ margin-top: 12px; display:flex; justify-content:center; }
.to-top{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-size: 12px;
  line-height: 1;
}
.to-top:hover{ background: rgba(255,255,255,.16); }

.copyright{
  text-align:center;
  font-size:12px;
  opacity:.85;
  margin-top:10px;
}

/* Responsive */
@media (max-width: 980px){
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .feature{ grid-template-columns: 1fr; }
  .hero h1{ font-size:34px; }
  .footer-grid{ grid-template-columns: 1fr; text-align:center; }
  .footer-col a{ text-align:center; }
}
@media (max-width: 720px){
  .nav{ display:none; }
  .nav-toggle-label{ display:inline-flex; }
  .nav-toggle:checked ~ nav.nav{
    display:flex;
    position:absolute;
    left:0; right:0;
    top:56px;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:10px 16px;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px;
  }
  .nav .cta-link{
    background:#fff;
    color: var(--accent);
    border-color: var(--accent);
  }
  .hero h1{ font-size:28px; }
  .grid{ grid-template-columns: 1fr; }
}

.footer-contact{
  text-align:center;
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .92;
}
.footer-contact a{ color:#fff; text-decoration:none; }
.footer-contact a:hover{ text-decoration: underline; }

/* Cool English header tweaks */
.nav a{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 16px;
}
.nav .cta-link{
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}

.panel-quote{
  margin:0;
  font-size:16px;
  line-height:2.0;
  color: var(--fg);
  letter-spacing: .02em;
}
@media (max-width: 980px){
  .panel-quote{ font-size:15px; }
}


.contact-cta{ margin-top:16px; }
.contact-btn{ color:#fff; border-color: var(--btn); background: var(--btn); }
.contact-btn:hover{ filter: brightness(.95); }
