/* ARM3040 - refined (square / adult) */

:root{
  /* Accent (match logo) */
  --green:#F04090;
  --green-2:#D8347F;
  --green-rgb: 240,64,144;

  /* Neutrals (adult, calm) */
  --bg:#F6F2F4;
  --card:#FFFFFF;
  --text:#1F1417;
  --muted:#5A3A44;
  --line:#E7D5DC;
  --shadow: 0 18px 56px rgba(0,0,0,.06);

  /* Square UI */
  --radius:0px;
  --radius2:0px;

  --container: 1040px;
  --gutter: clamp(16px, 4vw, 28px);
  --mobilebar: 74px;
  --focus: 2px solid rgba(240,64,144,.55);

  /* Typography */
  --heading: "Hiragino Mincho ProN","Yu Mincho","Noto Serif JP",serif;

  /* Spotlight (JS will update) */
  --mx: 50;
  --my: 20;
}

*{box-sizing:border-box}
html,body{height:100%}
html{background:var(--bg)}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 720px at 12% -10%, rgba(var(--green-rgb),.07), transparent 60%),
    radial-gradient(980px 680px at 88% 0%, rgba(var(--green-rgb),.05), transparent 58%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg) 56%, var(--bg) 100%);
  line-height:1.72;
  font-size:18px;
  -webkit-text-size-adjust: 100%;
}

/* subtle svg grid overlay */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-1;
  opacity:.14;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23F04090' stroke-opacity='0.22' stroke-width='1'%3E%3Cpath d='M0 60H220M0 160H220'/%3E%3Cpath d='M60 0V220M160 0V220'/%3E%3C/g%3E%3Cg fill='none' stroke='%23000000' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M0 110H220'/%3E%3Cpath d='M110 0V220'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 220px 220px;
}

h1,h2,h3,.h1{ font-family: var(--heading); }

img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
p{margin:0 0 12px}
small{color:var(--muted)}
:focus-visible{outline: var(--focus); outline-offset: 3px; border-radius:0}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: calc(var(--gutter) + env(safe-area-inset-left));
  padding-right: calc(var(--gutter) + env(safe-area-inset-right));
}

/* Header */
.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231,213,220,.8);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 12px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 180px;
}
.brand img{
  height:44px;
  width:auto;
  max-width: 160px;
  object-fit: contain;
}
.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title strong{
  font-size:18px;
  color: var(--green);
  letter-spacing: .02em;
}
.brand-title span{
  font-size:12px;
  color: var(--muted);
  margin-top:2px;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  font-size:15px;
  color: var(--muted);
  padding: 10px 2px;
  border-bottom: 1px solid transparent;
}
.nav a:hover{ color: var(--text); border-bottom-color: rgba(var(--green-rgb),.25) }
.nav a.active{ color: var(--green); border-bottom-color: var(--green); font-weight:700 }

/* Buttons (square + refined) */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 16px;
  border-radius: 0;
  border: 1px solid rgba(var(--green-rgb),.30);
  background: #fff;
  color: var(--green);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .02em;
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,0,0,.06) }
.btn-primary{
  background: var(--green);
  border-color: var(--green);
  color:#fff;
}
.btn-primary:hover{ background: var(--green-2); border-color: var(--green-2); color:#fff }
.nav a.btn.btn-primary{ color:#fff; padding: 12px 14px; border-bottom: none; }

.btn-ghost{
  background: transparent;
  border-color: rgba(31,20,23,.18);
  color: var(--text);
  box-shadow: none;
}
.btn-ghost:hover{ background: rgba(255,255,255,.85) }

.menu-btn{
  display:none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 0;
  border: 1px solid rgba(31,20,23,.18);
  background: #fff;
}

main{ padding: 26px 0 48px; }

/* Reveal (JS adds .reveal) */
.reveal{ opacity: 1; transform:none; }
@media (prefers-reduced-motion: no-preference){
  .reveal{ opacity:0; transform: translateY(10px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in{ opacity:1; transform:none; }
}

/* Hero */
.hero{
  position:relative;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    radial-gradient(760px 420px at calc(var(--mx)*1%) calc(var(--my)*1%), rgba(var(--green-rgb),.18), transparent 62%),
    radial-gradient(520px 380px at 90% 30%, rgba(var(--green-rgb),.10), transparent 62%),
    radial-gradient(700px 500px at 40% 120%, rgba(var(--green-rgb),.08), transparent 60%);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cg fill='none' stroke='%23F04090' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M0 180L180 0'/%3E%3Cpath d='M60 180L180 60'/%3E%3Cpath d='M0 120L120 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: gridSlide 18s linear infinite;
}
@keyframes gridSlide{
  0%{ background-position: 0 0; }
  100%{ background-position: 180px 180px; }
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 22px;
  padding: 30px;
  position:relative;
  z-index: 1;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  color: var(--muted);
  font-size: 13px;
}
.badge img{width:18px; height:18px}
.h1{
  margin: 12px 0 12px;
  font-size: clamp(28px, 3.1vw, 44px);
  line-height: 1.22;
  letter-spacing: .01em;
  color: var(--text);
}
.h1 .accent{ color: var(--green); }
.lead{
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 14px 0 16px;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding: 9px 12px;
  border-radius: 0;
  background: rgba(var(--green-rgb),.06);
  border: 1px solid rgba(var(--green-rgb),.14);
  color: var(--text);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .02em;
}
.cta-row{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 12px; }
.note{
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}

.hero-card{
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
}
.hero-card h3{
  margin: 2px 0 10px;
  font-size: 15px;
  color: var(--green);
  letter-spacing: .02em;
}
.feature{
  display:grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 0;
}
.feature + .feature{ border-top: 1px solid rgba(231,213,220,.9); }
.feature img{
  width: 90px;
  height: 64px;
  object-fit: contain;
}
.feature b{ display:block; margin-bottom: 2px; color: var(--text); }
.feature p{ margin: 0; font-size: 14px; color: var(--muted) }
.hero-card .btn{ width:100%; margin-top: 12px; }

/* Section */
.section{ margin-top: 28px; }
.section h2{
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--text);
  letter-spacing: .02em;
}
.section h2::after{
  content:"";
  display:block;
  width: 58px;
  height: 2px;
  background: rgba(var(--green-rgb),.55);
  margin-top: 10px;
}
.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  background: #fff;
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.04);
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--green);
}
.card p{ font-size: 14px; color: var(--muted) }
.card .icon{ width: 58px; height: 58px; margin-bottom: 10px; }
.card.small{ padding: 16px }
.card.small .icon{ width: 54px; height:54px }

.grid2{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Work tiles */
.tiles{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.tile{
  background: rgba(var(--green-rgb),.06);
  border-radius: 0;
  padding: 18px 18px;
  border: 1px solid rgba(31,20,23,.10);
  display:flex;
  align-items:center;
  gap: 16px;
  min-height: 130px;
}
.tile .face{
  width: 92px;
  height: 92px;
  background: rgba(255,255,255,.82);
  border-radius: 0;
  border: 1px solid rgba(231,213,220,.95);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 auto;
}
.tile .face img{ width: 74px; height: 74px; object-fit: contain; }
.tile h3{
  margin:0 0 6px;
  font-size: 22px;
  color: var(--text);
  letter-spacing: .02em;
}
.tile p{ margin:0; color: rgba(31,20,23,.80); font-size: 14px; line-height: 1.55; }

.cta-band{
  margin-top: 18px;
  border-radius: 0;
  padding: 18px;
  background: #111;
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  position:relative;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.cta-band::before{
  content:"";
  position:absolute;
  inset:-80px;
  background:
    radial-gradient(520px 260px at 20% 30%, rgba(var(--green-rgb),.35), transparent 60%),
    radial-gradient(520px 260px at 90% 10%, rgba(var(--green-rgb),.18), transparent 62%);
  opacity:.7;
  pointer-events:none;
}
.cta-band .bear{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap: 14px;
}
.cta-band img{
  width: 74px;
  height: 74px;
  border-radius: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  padding: 8px;
}
.cta-band strong{ font-size: 18px; letter-spacing: .02em; }
.cta-band span{ display:block; font-size: 13px; opacity: .92; margin-top: 2px }
.cta-band .btn{ position:relative; z-index:1; background:#fff; color: #111; border-color: transparent; box-shadow:none }

/* FAQ */
.faq-item{
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  background:#fff;
  overflow:hidden;
}
.faq-item + .faq-item{ margin-top: 10px; }
.faq-q{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 14px;
  cursor:pointer;
  user-select:none;
}
.faq-q b{ color: var(--green); font-size: 14px }
.faq-q span{ color: var(--text); font-weight: 800; font-size: 16px }
.faq-a{
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 14px;
  display:none;
}
.faq-item.open .faq-a{ display:block }
.faq-item.open .chev{ transform: rotate(180deg); }
.chev{ transition: transform .18s ease; }

/* Footer */
.site-footer{
  margin-top: 36px;
  padding: 22px 0 18px;
  border-top: 1px solid rgba(231,213,220,.95);
  text-align:center;
  color: var(--muted);
  font-size: 13px;
}
.site-footer .footer-brand{ margin-bottom: 6px; }
.site-footer .footer-logo{ height: 72px; width:auto; display:inline-block; object-fit:contain; }

/* Mobile bar */
.mobilebar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(231,213,220,.95);
}
.mobilebar-inner{
  display:grid;
  grid-template-columns: 1.2fr 1.4fr .8fr;
  gap: 10px;
}
.mbtn{
  display:flex;
  align-items:center;
  justify-content:center;
  height: 54px;
  border-radius: 0;
  border: 1px solid rgba(31,20,23,.18);
  font-weight: 900;
  font-size: 14px;
  background:#fff;
  letter-spacing: .02em;
}
.mbtn.line{ background: var(--green); color:#fff; border-color: var(--green) }
.mbtn.tel{ color: var(--green) }
.mbtn.jump{ color: var(--text) }
.mbtn small{ font-weight: 800; font-size: 11px; opacity: .9 }

/* Layout helpers */
.page-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 14px;
  margin: 6px 0 16px;
}
.page-title h1{ margin:0; color: var(--text); font-size: 28px; }
.page-title p{ margin: 0; color: var(--muted); font-size: 14px }

/* Responsive */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
}
@media (max-width: 760px){
  body{ font-size: 17px; }
  .nav{ display:none }
  .menu-btn{ display:inline-flex; align-items:center; gap:8px }
  .brand{ min-width: auto }
  .hero-inner{ padding: 18px; }
  .feature{ grid-template-columns: 110px 1fr; }
  .feature img{ width: 110px; height: 72px; }
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  .tiles{ grid-template-columns: 1fr; gap: 12px; }
  .tile h3{ font-size: 20px }
  .cta-band{ flex-direction:column; align-items:flex-start }
  main{ padding: 18px 0 92px; }
  body{ padding-bottom: calc(var(--mobilebar) + env(safe-area-inset-bottom)); }
}
@media (min-width: 761px){
  .mobilebar{ display:none }
}

/* Mobile menu sheet */
.menu-backdrop{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.36);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
  z-index: 80;
}
.menu-backdrop.open{ opacity:1; pointer-events:auto; }

.menu-sheet{
  position: fixed;
  left: 10px;
  right: 10px;
  top: 10px;
  background:#fff;
  border: 1px solid rgba(231,213,220,.95);
  border-radius: 0;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
  transform: translateY(-8px);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 90;
}
.menu-sheet.open{ opacity:1; pointer-events:auto; transform: translateY(0); }
.menu-sheet .top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(231,213,220,.95);
}
.menu-sheet .top strong{ color: var(--green); }
.menu-sheet .links{
  padding: 12px 14px 14px;
  display:grid;
  gap: 10px;
}
.menu-sheet .links a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  border-radius: 0;
  border: 1px solid rgba(231,213,220,.95);
  color: var(--text);
  font-weight: 900;
  background: rgba(var(--green-rgb),.05);
}
.menu-sheet .links a small{ font-weight: 800; color: var(--muted) }

@media (max-width: 420px){
  .container{ padding-left: calc(20px + env(safe-area-inset-left)); padding-right: calc(20px + env(safe-area-inset-right)); }
}
