:root {
  --brand: #ef6758;
  --brand-dark: #d95345;
  --about-orange: #F28C28;
  --values-yellow: #F2B632;
  --safety-green: #2F833C;
  --promise-blue: #2F6FB2;
  --history-navy: #183A63;
  --contact-red: #EF6758;
  --contact-red-dark: #B94337;
  --contact-red-soft: #FFF2F0;
  --ink: #202a30;
  --muted: #62676b;
  --line: #e8e5e1;
  --paper: #fff;
  --warm: #fbfaf7;
  --container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic","YuGothic","Noto Sans JP",sans-serif; line-height:1.8; letter-spacing:.02em; -webkit-font-smoothing:antialiased; }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; }
.container { width:min(calc(100% - 40px),var(--container)); margin-inline:auto; }
.container.narrow { width:min(calc(100% - 40px),820px); }
.skip-link { position:fixed; z-index:9999; top:8px; left:8px; padding:10px 16px; transform:translateY(-160%); background:#111; color:#fff; border-radius:8px; }
.skip-link:focus { transform:translateY(0); }

.site-header { position:absolute; z-index:20; inset:0 0 auto; color:#fff; }
.header-inner { min-height:92px; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.brand { flex:0 0 auto; display:block; width:220px; }
.header-nav { display:flex; align-items:center; justify-content:flex-end; gap:clamp(10px,1.4vw,22px); font-size:.81rem; font-weight:700; }
.header-nav a { text-decoration:none; text-shadow:0 2px 8px rgba(0,0,0,.65); }
.header-nav a:hover, .header-nav a:focus-visible { text-decoration:underline; text-underline-offset:6px; }

.hero { position:relative; min-height:100svh; display:grid; align-items:center; overflow:hidden; color:#fff; background:url('../images/hero.jpg') center center/cover no-repeat; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.34) 47%,rgba(0,0,0,.08) 74%,rgba(0,0,0,.18) 100%); }
.hero-inner { position:relative; z-index:2; padding-top:150px; padding-bottom:90px; }
.hero h1 { max-width:850px; margin:0; font-size:clamp(2.6rem,5.7vw,5.4rem); line-height:1.3; letter-spacing:.01em; font-weight:800; text-shadow:0 3px 22px rgba(0,0,0,.6); }
.hero-lead { max-width:760px; margin:34px 0 0; font-size:clamp(1.05rem,1.7vw,1.36rem); font-weight:700; text-shadow:0 2px 12px rgba(0,0,0,.8); }
.hero-copy { max-width:760px; margin:14px 0 0; font-size:clamp(1rem,1.5vw,1.2rem); font-weight:650; text-shadow:0 2px 12px rgba(0,0,0,.8); }

.visual-section { background:#fff; }
.wide-visual-scroll { width:100%; overflow-x:auto; overscroll-behavior-inline:contain; scrollbar-color:var(--brand) #eee; }
.wide-visual-scroll img { width:100%; min-width:1050px; margin:0 auto; }
.dark-visual { background:#050807; }

.section { padding-block:clamp(76px,9vw,126px); }
.section-heading { margin-bottom:44px; text-align:center; }
.section-heading h2 { margin:0; font-size:clamp(2rem,4vw,3.3rem); line-height:1.3; }
.section-heading h2::after { content:""; display:block; width:64px; height:4px; margin:20px auto 0; border-radius:99px; background:var(--brand); }
.section-promise { background:#f7f9fc; }
.section-promise .section-heading h2::after { background:var(--promise-blue); }
.promise-list { max-width:960px; margin-inline:auto; border-top:1px solid var(--line); }
.promise-item { display:grid; grid-template-columns:44px 1fr; gap:20px; align-items:start; padding:30px 4px; border-bottom:1px solid var(--line); }
.promise-check { display:grid; place-items:center; width:31px; height:31px; margin-top:2px; border:2px solid var(--promise-blue); border-radius:50%; color:var(--promise-blue); font-weight:900; }
.promise-content h3 { margin:0 0 8px; font-size:1.18rem; line-height:1.55; }
.promise-content p { margin:0; color:var(--muted); }
.promise-content .note { margin-top:7px; font-size:.86rem; }


.section-history { background:#f5f7fa; }
.history-heading h2::after { background:var(--history-navy); }
.history-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  max-width:1040px;
  margin-inline:auto;
}
.history-item {
  min-height:210px;
  padding:28px 26px;
  border:1px solid #dfe5ec;
  border-top:4px solid var(--history-navy);
  border-radius:16px;
  background:#fff;
}
.history-number {
  margin:0 0 15px;
  color:var(--history-navy);
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.12em;
}
.history-item h3 {
  margin:0 0 12px;
  color:var(--history-navy);
  font-size:1.08rem;
  line-height:1.55;
}
.history-item p:last-child {
  margin:0;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.8;
}

.section-contact { background:var(--contact-red-soft); }
.contact-panel { padding:clamp(32px,6vw,64px); border:1px solid #f1dcda; border-radius:28px; background:#fff; box-shadow:0 16px 46px rgba(70,38,34,.08); }
.contact-heading { margin-bottom:18px; }
.contact-heading h2::after { background:var(--contact-red); }
.contact-lead { margin:0 0 32px; color:var(--muted); text-align:center; }
.contact-details { display:grid; grid-template-columns:150px 1fr; margin:0; border-top:1px solid var(--line); }
.contact-details dt,.contact-details dd { margin:0; padding:17px 18px; border-bottom:1px solid var(--line); }
.contact-details dt { background:var(--contact-red-soft); font-weight:750; }
.contact-details dd { color:var(--muted); }
.contact-details a { color:var(--contact-red-dark); font-weight:700; text-decoration-color:var(--contact-red); text-underline-offset:3px; }

.site-footer { padding:52px 0 30px; background:#252422; color:#fff; }
.footer-inner { display:flex; flex-direction:column; align-items:center; text-align:center; }
.footer-logo { width:210px; padding:9px 14px; border-radius:9px; background:#fff; }
.company-info { margin:24px 0 0; color:rgba(255,255,255,.68); font-size:.84rem; }
.footer-links { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 24px; margin-top:24px; }
.footer-links a { color:rgba(255,255,255,.86); font-size:.86rem; text-decoration:none; }
.footer-links a:hover,.footer-links a:focus-visible { text-decoration:underline; }
.copyright { margin:22px 0 0; color:rgba(255,255,255,.48); font-size:.76rem; }

@media (max-width: 980px) {
  .history-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .site-header { position:absolute; }
  .header-inner { min-height:78px; }
  .brand { width:170px; }
  .header-nav { display:none; }
  .hero-inner { padding-top:125px; }
}
@media (max-width: 780px) {
  .history-grid { grid-template-columns:1fr; gap:14px; }
  .history-item { min-height:auto; padding:24px 22px; }
  .container,.container.narrow { width:min(calc(100% - 30px),var(--container)); }
  .hero { min-height:86svh; background-position:58% center; }
  .hero-overlay { background:linear-gradient(90deg,rgba(0,0,0,.68),rgba(0,0,0,.38) 75%,rgba(0,0,0,.2)); }
  .hero-inner { padding-top:112px; padding-bottom:72px; }
  .hero h1 { font-size:clamp(2.15rem,10vw,3.7rem); }
  .desktop-break { display:none; }
  .wide-visual-scroll img { min-width:980px; }
  .section { padding-block:74px; }
  .promise-item { grid-template-columns:36px 1fr; gap:12px; padding:24px 0; }
  .promise-check { width:28px; height:28px; }
  .promise-content h3 { font-size:1.05rem; }
  .contact-panel { padding:30px 22px; border-radius:20px; }
  .contact-details { grid-template-columns:1fr; }
  .contact-details dt { padding-bottom:6px; border-bottom:0; }
  .contact-details dd { padding-top:0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

/* Keep important compound labels together without harming mobile wrapping */
.no-break { white-space: nowrap; }

/* タブレット・スマホでは横スクロールさせず、ワイド画像を幅100%で収める（2026-08-24 調整） */
@media (max-width: 1024px) {
  .wide-visual-scroll { overflow-x: visible; }
  .wide-visual-scroll img { min-width: 0; width: 100%; }
}
