/* 強化ダンボールシェルター サイト共通スタイル */

:root{
  --bg:#F7F3EC;
  --card:#FBF8F3;
  --ink:#2B2621;
  --ink-muted:#6B6259;
  --ink-muted2:#514A41;
  --accent:#8B5E3C;
  --accent-dark:#6B4423;
  --badge-bg:#EDE1CC;
  --badge-ink:#7A5A34;
  --line:#E4D9C8;
  --dark:#2B2621;
  --dark-line:#45403A;
  --dark-muted:#C9BEB0;
  --dark-muted2:#8A8175;
  --sand:#EFE7D8;
  --gold:#B98D5D;
  --news-gold:#E9C99B;
  --swatch1:#D9C4A3;
  --swatch2:#CBB187;
}

*{box-sizing:border-box;}

body{
  margin:0;
  font-family:'Noto Sans JP', sans-serif;
  background:var(--bg);
  color:var(--ink);
}

a{color:var(--accent); text-decoration:none;}
a:hover{color:var(--accent-dark);}

h1, h2{font-family:'Shippori Mincho B1', serif; font-weight:700; margin:0;}

img{max-width:100%; display:block;}

.wrap{width:100%; min-height:100vh; display:flex; flex-direction:column;}

/* NAV */
.nav{
  position:sticky; top:0; z-index:10;
  background:rgba(247,243,236,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
  padding:20px 64px;
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:16px;
}
.nav .logo{
  font-family:'Shippori Mincho B1', serif; font-size:20px; font-weight:700;
  letter-spacing:0.02em; color:var(--ink);
}
.nav .links{display:flex; gap:36px; font-size:15px; flex-wrap:wrap;}
.nav .links a{color:var(--ink);}
.nav .links a.active{font-weight:700; border-bottom:2px solid var(--gold);}

/* HERO */
.hero{
  padding:96px 64px 72px; display:flex; gap:64px; align-items:center; flex-wrap:wrap;
}
.hero-text{flex:1 1 480px; min-width:320px;}
.badge{
  display:inline-block; background:var(--badge-bg); color:var(--badge-ink);
  font-size:13px; font-weight:700; letter-spacing:0.08em; padding:6px 14px;
  border-radius:100px; margin-bottom:24px;
}
.hero h1{font-size:52px; line-height:1.35; margin:0 0 24px;}
.hero p{font-size:17px; line-height:1.9; color:var(--ink-muted2); max-width:520px; margin:0 0 36px;}
.btn-row{display:flex; gap:16px; flex-wrap:wrap;}
.btn{padding:14px 28px; border-radius:8px; font-weight:700; font-size:15px; display:inline-block; border:1.5px solid transparent;}
.btn-dark{background:var(--dark); color:var(--bg);}
.btn-outline{background:transparent; color:var(--ink); border-color:var(--ink);}
.btn-accent{background:var(--accent); color:var(--bg);}

.hero-visual{
  flex:1 1 380px; min-width:300px; height:420px; border-radius:20px;
  background:#2B2621 url('images/hero_corridor.jpg') center/cover no-repeat;
  box-shadow:0 24px 48px rgba(43,38,33,0.14); position:relative; overflow:hidden;
}
.hero-visual::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(43,38,33,0.05) 0%, rgba(43,38,33,0.45) 100%);
}
.hero-visual .inner{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  flex-direction:column; gap:8px; z-index:1;
}
.hero-visual .play{
  width:120px; height:120px; border-radius:50%; background:rgba(247,243,236,0.85);
  display:flex; align-items:center; justify-content:center;
}
.hero-visual .caption{
  color:#3B2E1E; font-weight:700; font-size:14px; background:rgba(247,243,236,0.8);
  padding:6px 14px; border-radius:100px; margin-top:8px;
}

/* NEWS BAND */
.news{
  background:var(--dark); color:var(--bg); padding:28px 64px;
  display:flex; gap:24px; align-items:center; flex-wrap:wrap;
}
.news .tag{
  background:var(--gold); color:var(--dark); font-size:12px; font-weight:700;
  padding:5px 12px; border-radius:100px; letter-spacing:0.04em;
}
.news .msg{font-size:15px; line-height:1.7;}
.news .msg a{color:var(--news-gold); font-weight:700;}

/* SECTION HEADINGS */
.eyebrow{font-weight:700; font-size:14px; color:var(--accent); letter-spacing:0.06em; margin-bottom:16px;}

/* JOINT DEV / STATS / WHY */
.section{padding:72px 64px;}
.section-title{font-size:28px; margin-bottom:32px;}
.grid-3{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px;}
.grid-4{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px;}
.grid-2{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px;}

.tile{background:var(--card); border-radius:16px; padding:28px;}
.tile .label{font-size:12px; font-weight:700; color:var(--accent); margin-bottom:10px;}
.tile .name{font-weight:700; font-size:17px; margin-bottom:10px;}
.tile .desc{font-size:14px; color:var(--ink-muted); line-height:1.8;}

.stat-num{font-family:'Shippori Mincho B1', serif; font-size:clamp(24px,4vw,40px); font-weight:700; color:var(--accent); line-height:1.2; overflow-wrap:anywhere;}
.stat-label{font-size:14px; color:var(--ink-muted); margin-top:8px; line-height:1.6;}

.why{background:var(--sand); padding:80px 64px;}
.card{
  background:var(--card); border-radius:16px; padding:32px;
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-2px); box-shadow:0 12px 24px rgba(43,38,33,0.10);}
.card .icon{font-size:28px; margin-bottom:16px;}
.card .title{font-weight:700; font-size:17px; margin-bottom:12px;}
.card .body{font-size:14px; color:var(--ink-muted); line-height:1.8;}

/* CTA */
.cta{padding:80px 64px; text-align:center;}
.cta h2{font-size:30px; margin-bottom:16px;}
.cta p{font-size:15px; color:var(--ink-muted); margin:0 0 32px;}

/* TIMELINE */
.timeline{padding:24px 64px 96px; max-width:820px;}
.item{position:relative; padding:0 0 56px 40px; border-left:2px solid #DCCDB2;}
.item:last-child{border-color:transparent; padding-bottom:0;}
.item .dot{
  position:absolute; left:-7px; top:2px; width:12px; height:12px; border-radius:50%;
  background:var(--accent); border:3px solid var(--bg); box-shadow:0 0 0 2px rgba(139,94,60,0.2);
}
.item.now .dot{background:var(--dark); box-shadow:0 0 0 2px rgba(43,38,33,0.2);}
.item .year{font-size:13px; font-weight:700; color:var(--accent); margin-bottom:6px;}
.item.now .year{color:var(--dark);}
.item .title{font-weight:700; font-size:19px; margin-bottom:10px;}
.item p{font-size:15px; color:var(--ink-muted2); line-height:1.9; margin:0;}
.item .pill{
  background:var(--sand); border-radius:12px; padding:16px 20px; font-size:14px;
  color:var(--accent-dark); display:inline-block; margin-top:16px;
}

/* PRODUCT CARDS */
.pcard{background:var(--card); border-radius:18px; overflow:hidden; box-shadow:0 4px 16px rgba(43,38,33,0.06); transition:transform .15s ease, box-shadow .15s ease;}
.pcard:hover{transform:translateY(-3px); box-shadow:0 16px 28px rgba(43,38,33,0.12);}
.swatch{height:150px; background:repeating-linear-gradient(135deg,var(--swatch1),var(--swatch1) 3px,var(--swatch2) 3px,var(--swatch2) 6px); display:flex; align-items:center; justify-content:center; overflow:hidden;}
.swatch img{width:100%; height:100%; object-fit:cover; object-position:center;}
.dot-circle{width:52px; height:52px; border-radius:50%; background:rgba(247,243,236,0.85);}
.pcard .body{padding:22px;}
.pcard .name{font-weight:700; font-size:17px; margin-bottom:6px;}
.pcard .dim{font-size:13px; color:#9A8E7C; margin-bottom:10px;}
.pcard .desc{font-size:14px; color:var(--ink-muted2); line-height:1.7;}
.pcard.row{display:flex; align-items:center; gap:20px; padding:20px;}
.pcard.row .swatch{width:96px; height:96px; border-radius:14px; flex-shrink:0;}

.note-box{background:var(--sand); border-radius:16px; padding:32px 36px; max-width:820px;}
.note-box .title{font-weight:700; font-size:16px; margin-bottom:10px;}
.note-box p{font-size:14px; color:var(--ink-muted2); line-height:1.8; margin:0;}

/* CONTACT CARDS */
.contact-card{background:var(--card); border-radius:18px; padding:32px; box-shadow:0 4px 16px rgba(43,38,33,0.06);}
.contact-card.primary{border:2px solid var(--gold);}
.contact-card .label{font-size:12px; font-weight:700; letter-spacing:0.08em; color:var(--accent); margin-bottom:8px;}
.contact-card .org{font-family:'Shippori Mincho B1', serif; font-size:21px; font-weight:700; margin-bottom:20px;}
.contact-card .info{font-size:14px; color:var(--ink-muted2); line-height:2.1;}

.topics-box{background:var(--sand); border-radius:16px; padding:36px 40px; max-width:900px;}
.topics-box .title{font-weight:700; font-size:16px; margin-bottom:16px;}
.topics-box .grid-3 .t{font-size:14px; font-weight:700; margin-bottom:6px;}
.topics-box .grid-3 .d{font-size:13px; color:var(--ink-muted); line-height:1.7;}

/* FOOTER */
.footer{background:var(--dark); color:var(--bg); padding:48px 64px; margin-top:auto;}
.footer-top{display:flex; justify-content:space-between; flex-wrap:wrap; gap:24px; padding-bottom:24px;}
.footer .brand{font-family:'Shippori Mincho B1', serif; font-size:18px; margin-bottom:10px;}
.footer .desc{color:var(--dark-muted); font-size:13px; line-height:1.8;}
.footer .links{display:flex; gap:32px; font-size:14px;}
.footer .links a{color:var(--bg);}
.footer-bottom{border-top:1px solid var(--dark-line); padding-top:16px; color:var(--dark-muted2); font-size:12px;}

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

@media (max-width:720px){
  .nav, .hero, .section, .why, .cta, .timeline{padding-left:24px; padding-right:24px;}
  .hero h1{font-size:36px;}
  .grid-4, .grid-3, .grid-2{grid-template-columns:1fr;}
}
