/*
Theme Name: Edogawa LP Theme
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: Landing page theme (white/red) for Edogawa area homepage service.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edogawa-lp
*/

/* ====== Theme Styles (white/red) ====== */
:root{
  --bg:#fff;
  --text:#141414;
  --muted:#5b5b5b;
  --border:#e9e9e9;

  --red:#d6001c;
  --red-600:#b80018;
  --red-50:#fff1f3;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius:16px;
  --container:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(var(--container),calc(100% - 32px));margin:0 auto}

.section{padding:64px 0}
.section--alt{
  background:#fafafa;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
@media (max-width:860px){.section{padding:52px 0}}

.kicker{
  color:var(--red);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
}
h1,h2,h3{line-height:1.25;margin:0 0 12px}
h1{font-size:clamp(28px,3.2vw,44px)}
h2{font-size:clamp(22px,2.2vw,32px)}
h3{font-size:18px}
p{margin:0 0 14px;color:var(--muted)}
.lead{font-size:16px;color:#333}
.small{font-size:12px;color:var(--muted)}

.grid{display:grid;gap:18px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:860px){.grid-2,.grid-3{grid-template-columns:1fr}}

.pill{
  display:inline-flex;gap:8px;align-items:center;
  padding:6px 12px;border-radius:999px;
  background:var(--red-50);color:var(--red-600);
  border:1px solid #ffd3d9;font-weight:900;font-size:14px;
}
.badge{
  display:inline-block;
  padding:3px 10px;border-radius:999px;
  font-size:12px;font-weight:900;
  border:1px solid var(--border);
  background:#fff;color:var(--muted);
  margin-right:6px;margin-top:6px;
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  padding:12px 16px;border-radius:12px;
  font-weight:900;border:1px solid transparent;
  transition:transform .06s ease, box-shadow .2s ease, background .2s ease;
  cursor:pointer;user-select:none;white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-primary{
  background:var(--red);color:#fff;
  box-shadow:0 10px 24px rgba(214,0,28,.22);
}
.btn-primary:hover{background:var(--red-600)}
.btn-ghost{
  background:#fff;color:var(--red);
  border-color:#ffd3d9;
}
.btn-ghost:hover{background:var(--red-50)}
.btn-block{width:100%}

/* Header */
.topbar{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar__inner{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;gap:12px;
}
.brand{display:flex;gap:10px;align-items:center;font-weight:900;letter-spacing:.02em}
.logo{
  width:34px;height:34px;border-radius:10px;background:var(--red);
  box-shadow:0 8px 18px rgba(214,0,28,.25);position:relative;
}
.logo::after{
  content:"";position:absolute;inset:9px;border:2px solid #fff;border-radius:7px;opacity:.9;
}
.nav{display:flex;align-items:center;gap:14px;color:#3a3a3a;font-weight:800;font-size:14px}
.nav a{padding:8px 10px;border-radius:10px}
.nav a:hover{background:#f6f6f6}
@media (max-width:860px){.nav{display:none}}

/* Hero */
.hero{
  padding:62px 0 26px;
  background:
    radial-gradient(900px 300px at 20% 0%, rgba(214,0,28,.10), transparent 60%),
    radial-gradient(900px 300px at 80% 0%, rgba(214,0,28,.08), transparent 55%),
    #fff;
}
.hero__wrap{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:22px;align-items:center;
}
@media (max-width:860px){.hero__wrap{grid-template-columns:1fr}.hero{padding-top:42px}}

.hero__cta{display:flex;gap:12px;margin-top:18px;flex-wrap:wrap}
.hero__points{
  display:grid;gap:10px;margin-top:14px;padding-left:0;list-style:none;
}
.hero__points li{
  display:flex;gap:10px;align-items:flex-start;
  padding:10px 12px;border:1px solid var(--border);
  border-radius:14px;background:#fff;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.check{
  width:18px;height:18px;margin-top:2px;border-radius:6px;background:var(--red);
  position:relative;flex:0 0 auto;
}
.check:after{
  content:"";position:absolute;left:5px;top:3px;width:6px;height:9px;
  border:2px solid #fff;border-top:0;border-left:0;transform:rotate(45deg);
}

.hero__card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;box-shadow:var(--shadow);overflow:hidden;
}
.hero__cardHead{
  padding:18px 18px 14px;border-bottom:1px solid var(--border);
  background:linear-gradient(135deg, rgba(214,0,28,.08), transparent 45%), #fff;
}
.price{display:flex;align-items:baseline;gap:10px;margin-top:10px}
.price__main{font-size:34px;font-weight:900;color:var(--red);letter-spacing:.01em}
.price__sub{color:var(--muted);font-weight:800}
.hero__cardBody{padding:16px 18px 18px}

/* Cards */
.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;box-shadow:0 8px 22px rgba(0,0,0,.05);
  padding:18px;
}
.card h3{display:flex;gap:10px;align-items:center;margin-bottom:8px}
.iconDot{
  width:12px;height:12px;border-radius:999px;background:var(--red);
  box-shadow:0 8px 18px rgba(214,0,28,.22);flex:0 0 auto;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:18px;align-items:stretch;
}
@media (max-width:860px){.pricing{grid-template-columns:1fr}}
.pricing__box{
  border-radius:var(--radius);
  border:1px solid #ffd3d9;
  background:linear-gradient(135deg, rgba(214,0,28,.08), transparent 45%), #fff;
  box-shadow:var(--shadow);
  padding:22px;
}
.pricing__box .price__main{font-size:42px}
.pricing__incl{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  padding:22px;
}
.inclGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;margin-top:12px;
}
@media (max-width:860px){.inclGrid{grid-template-columns:1fr}}
.inclItem{
  display:flex;gap:10px;padding:10px 12px;
  border-radius:14px;border:1px solid var(--border);background:#fff;
}
.inclItem strong{color:#222}

/* Options */
.optionGrid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width:860px){.optionGrid{grid-template-columns:1fr}}
.optionCard{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.optionCard::before{
  content:"";
  position:absolute;
  inset:-40px -40px auto auto;
  width:140px;height:140px;
  background:rgba(214,0,28,.08);
  border-radius:999px;
}
.optionTitle{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-bottom:6px;
}
.optionTitle strong{font-size:16px}
.optionPrice{
  font-weight:900;
  color:var(--red);
  border:1px solid #ffd3d9;
  background:var(--red-50);
  padding:6px 10px;
  border-radius:999px;
  white-space:nowrap;
  font-size:13px;
}

/* Portfolio Carousel */
.carousel{
  margin-top:16px;
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.carousel__header{
  padding:14px 16px;
  border-bottom:1px solid var(--border);
  display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;
  background:linear-gradient(135deg, rgba(214,0,28,.06), transparent 50%), #fff;
}
.carousel__hint{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.carousel__controls{display:flex;gap:10px;align-items:center}
.carousel__viewport{position:relative;overflow:hidden;outline:none}
.carousel__track{
  display:flex;
  will-change:transform;
  transition:transform .45s ease;
  touch-action:pan-y;
}
.carousel__slide{flex:0 0 100%;padding:16px}
@media (min-width:900px){.carousel__slide{padding:18px}}

.portfolioCard{
  margin:0;border:1px solid var(--border);
  border-radius:calc(var(--radius) - 4px);
  overflow:hidden;background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.05);
}
.portfolioThumb{
  background:#fff;border-bottom:1px solid var(--border);
  aspect-ratio:16/9;overflow:hidden;
}
.portfolioThumb img{width:100%;height:100%;object-fit:cover}
.portfolioMeta{padding:14px 14px 16px}
.portfolioTitle{font-weight:900;color:#222;margin-bottom:4px}
.portfolioSub{color:var(--muted);font-size:13px;margin-bottom:10px}
.portfolioLink{
  display:inline-flex;align-items:center;gap:8px;
  font-weight:900;color:var(--red);
  padding:10px 12px;border-radius:12px;
  border:1px solid #ffd3d9;background:var(--red-50);
}
.portfolioLink:hover{background:#ffe7ea}

.carousel__dots{
  display:flex;gap:8px;justify-content:center;
  padding:12px 12px 16px;border-top:1px solid var(--border);
  background:#fff;
}
.dot{
  width:10px;height:10px;border-radius:999px;
  border:1px solid #ffd3d9;background:#fff;cursor:pointer;padding:0;
}
.dot[aria-selected="true"]{
  background:var(--red);border-color:var(--red);
  box-shadow:0 10px 18px rgba(214,0,28,.18);
}
.dot:focus{outline:none;box-shadow:0 0 0 4px rgba(214,0,28,.12)}

/* Steps */
.steps{counter-reset:step;display:grid;gap:14px}
.step{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  padding:16px 18px;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
  position:relative;overflow:hidden;
}
.step:before{
  counter-increment:step;
  content:counter(step);
  position:absolute;top:14px;right:14px;
  width:36px;height:36px;border-radius:12px;
  background:var(--red);color:#fff;font-weight:900;
  display:grid;place-items:center;
  box-shadow:0 12px 24px rgba(214,0,28,.22);
}

/* FAQ */
details{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  padding:14px 16px;
  box-shadow:0 8px 18px rgba(0,0,0,.04);
}
details + details{margin-top:12px}
summary{
  cursor:pointer;font-weight:900;list-style:none;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
summary::-webkit-details-marker{display:none}
.chev{
  width:12px;height:12px;border-right:2px solid var(--red);border-bottom:2px solid var(--red);
  transform:rotate(45deg);transition:transform .2s ease;flex:0 0 auto;
}
details[open] .chev{transform:rotate(225deg)}
details p{margin-top:10px}

/* Form */
.form{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background:#fff;
  box-shadow:var(--shadow);
  padding:22px;
}
.formGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;margin-top:10px;
}
@media (max-width:860px){.formGrid{grid-template-columns:1fr}}
.field{display:grid;gap:6px}
label{font-weight:900;font-size:13px;color:#333}
input,textarea,select{
  width:100%;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 12px;
  font-size:14px;outline:none;
  transition:border-color .15s ease, box-shadow .15s ease;
  background:#fff;
}
input:focus,textarea:focus,select:focus{
  border-color:#ff9aa6;
  box-shadow:0 0 0 4px rgba(214,0,28,.10);
}
textarea{min-height:120px;resize:vertical}
.span-2{grid-column:span 2}
@media (max-width:860px){.span-2{grid-column:auto}}

footer{
  border-top:1px solid var(--border);
  padding:26px 0;
  color:var(--muted);
  background:#fff;
}
.footNote{font-size:12px;color:var(--muted);line-height:1.6}

/* Floating CTA (mobile) */
.floatCta{
  position:fixed;left:0;right:0;bottom:0;
  padding:10px 14px;
  background:rgba(255,255,255,.95);
  border-top:1px solid var(--border);
  backdrop-filter:blur(10px);
  display:none;z-index:60;
}
.floatCta .container{
  display:flex;gap:10px;align-items:center;justify-content:space-between;
}
@media (max-width:860px){
  .floatCta{display:block}
  body{padding-bottom:76px}
}
