/* ===========================================================
   株式会社絆 — corporate site stylesheet
   =========================================================== */

:root{
  --bg:            #101215;
  --bg-alt:        #16191d;
  --bg-card:       #1b1f24;
  --line:          #2a2f36;
  --text:          #f3f1ec;
  --text-muted:    #a8afb8;
  --accent:        #e68c28;
  --accent-light:  #f4a94f;
  --accent-dark:   #b5691a;
  --steel:         #4a5561;
  --radius:        10px;
  --maxw:          1180px;
  --shadow:        0 18px 40px rgba(0,0,0,.35);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight:400;
  line-height:1.8;
  -webkit-font-smoothing:antialiased;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul,ol{ list-style:none; margin:0; padding:0; }
h1,h2,h3,p{ margin:0; }

.container{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- section title ---------- */
.section-title{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:20px;
}
.section-title .ja{
  font-size:clamp(26px,4vw,36px);
  font-weight:900;
  letter-spacing:.02em;
}
.section-title .en{
  font-size:12px;
  font-weight:700;
  letter-spacing:.28em;
  color:var(--accent);
}
.section-title.light .ja{ color:#fff; }
.section-lead{
  max-width:640px;
  color:var(--text-muted);
  margin-bottom:44px;
  font-size:15px;
}

section{ padding:96px 0; }
main > section:nth-of-type(even){ background:var(--bg-alt); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 32px;
  border-radius:4px;
  font-weight:700;
  font-size:15px;
  letter-spacing:.04em;
  border:2px solid transparent;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{
  background:var(--accent);
  color:#141414;
}
.btn-primary:hover{ background:var(--accent-light); transform:translateY(-2px); }
.btn-outline{
  border-color:rgba(255,255,255,.55);
  color:#fff;
}
.btn-outline:hover{ border-color:var(--accent); color:var(--accent); transform:translateY(-2px); }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:100;
  background:rgba(16,18,21,.82);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  height:76px;
}
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  flex-shrink:0;
}
.logo-badge{
  width:42px;height:42px;
  border-radius:50%;
  border:2px solid var(--accent);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  font-size:19px;
  color:var(--accent);
  flex-shrink:0;
}
.logo-text{
  display:flex;
  flex-direction:column;
  font-weight:900;
  font-size:16px;
  line-height:1.3;
  color:#fff;
  white-space:nowrap;
}
.logo-text small{
  font-weight:500;
  font-size:9.5px;
  letter-spacing:.14em;
  color:var(--text-muted);
}

.nav{
  display:flex;
  gap:28px;
  flex:1;
  justify-content:center;
}
.nav a{
  font-size:14px;
  font-weight:500;
  color:#e7e5e0;
  position:relative;
  padding:6px 0;
}
.nav a::after{
  content:"";
  position:absolute; left:0; right:0; bottom:0;
  height:2px; background:var(--accent);
  transform:scaleX(0); transform-origin:left;
  transition:transform .25s ease;
}
.nav a:hover::after{ transform:scaleX(1); }

.tel-btn{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  line-height:1.3;
  flex-shrink:0;
  border-left:1px solid rgba(255,255,255,.15);
  padding-left:20px;
}
.tel-label{ font-size:10.5px; color:var(--text-muted); letter-spacing:.04em; }
.tel-number{ font-size:19px; font-weight:900; color:#fff; }
.tel-btn:hover .tel-number{ color:var(--accent); }

.menu-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.menu-toggle span{
  width:24px; height:2px; background:#fff; display:block; transition:.25s;
}

/* ===========================================================
   HERO
   =========================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center 65%;
  transform:scale(1.05);
}
.hero-overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.55) 45%, rgba(10,11,13,.94) 100%),
    linear-gradient(100deg, rgba(10,11,13,.92) 5%, rgba(10,11,13,.55) 45%, rgba(10,11,13,.35) 100%);
}
.hero-content{
  position:relative;
  z-index:2;
  padding-top:120px;
  max-width:760px;
}
.eyebrow{
  color:var(--accent-light);
  font-weight:700;
  font-size:13px;
  letter-spacing:.24em;
  margin-bottom:18px;
}
.hero h1{
  font-size:clamp(34px,6vw,58px);
  font-weight:900;
  line-height:1.35;
  color:#fff;
  margin-bottom:26px;
  text-shadow:0 4px 24px rgba(0,0,0,.4);
}
.hero .lead{
  color:#e6e4df;
  font-size:16px;
  max-width:560px;
  margin-bottom:38px;
}
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; }

.scroll-cue{
  position:absolute;
  left:50%; bottom:32px;
  transform:translateX(-50%);
  z-index:2;
  color:var(--text-muted);
  font-size:10px;
  letter-spacing:.3em;
  display:flex; flex-direction:column; align-items:center; gap:10px;
}
.scroll-cue span{
  width:1px; height:36px;
  background:linear-gradient(var(--accent), transparent);
  animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform:scaleY(0); transform-origin:top; opacity:0;}
  50%{ transform:scaleY(1); transform-origin:top; opacity:1;}
  51%{ transform-origin:bottom; }
  100%{ transform:scaleY(0); transform-origin:bottom; opacity:0;}
}

/* ===========================================================
   STRENGTHS
   =========================================================== */
.strength-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:2px;
  background:var(--line);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.strength-card{
  background:var(--bg-card);
  padding:36px 28px;
  transition:background .25s ease;
}
.strength-card:hover{ background:#20252b; }
.strength-num{
  font-family:Georgia,serif;
  font-size:34px;
  font-weight:700;
  color:var(--accent);
  opacity:.85;
  margin-bottom:14px;
}
.strength-card h3{
  font-size:17px;
  font-weight:700;
  margin-bottom:10px;
  color:#fff;
}
.strength-card p{
  font-size:13.5px;
  color:var(--text-muted);
}

/* ===========================================================
   SERVICES
   =========================================================== */
.service-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}
.service-card{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px 26px;
  transition:transform .25s ease, border-color .25s ease;
}
.service-card:hover{ transform:translateY(-4px); border-color:var(--accent-dark); }
.service-icon{
  width:52px;height:52px;
  color:var(--accent);
  margin-bottom:18px;
}
.service-icon svg{ width:100%; height:100%; }
.service-card h3{
  font-size:16px;
  font-weight:700;
  color:#fff;
  margin-bottom:10px;
  line-height:1.5;
}
.service-card p{
  font-size:13.5px;
  color:var(--text-muted);
}

/* ===========================================================
   JISSEKI (works gallery)
   =========================================================== */
.jisseki-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.jisseki-card{
  margin:0;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  cursor:pointer;
}
.jisseki-img{
  aspect-ratio:4/3;
  overflow:hidden;
  position:relative;
}
.jisseki-img img{
  width:100%;height:100%;
  object-fit:cover;
  transition:transform .5s ease, filter .5s ease;
}
.jisseki-card:hover .jisseki-img img{ transform:scale(1.08); filter:brightness(1.05); }
.jisseki-card figcaption{ padding:18px 20px 22px; }
.jisseki-card .tag{
  display:inline-block;
  font-size:11px;
  font-weight:700;
  letter-spacing:.1em;
  color:var(--accent);
  border:1px solid var(--accent-dark);
  border-radius:20px;
  padding:2px 10px;
  margin-bottom:10px;
}
.jisseki-card figcaption > p:not(.tag){
  color:var(--text-muted);
  font-size:13px;
  margin-top:6px;
}
.jisseki-card figcaption{ font-weight:700; font-size:15px; color:#fff; }

/* lightbox */
.lightbox{
  position:fixed; inset:0;
  background:rgba(6,7,8,.94);
  display:flex; align-items:center; justify-content:center;
  z-index:1000;
  opacity:0; visibility:hidden;
  transition:opacity .25s ease;
  padding:40px;
}
.lightbox.is-open{ opacity:1; visibility:visible; }
.lightbox img{
  max-width:min(1100px,100%); max-height:88vh;
  border-radius:6px;
  box-shadow:var(--shadow);
}
.lightbox-close{
  position:absolute; top:24px; right:32px;
  background:none; border:none; color:#fff;
  font-size:38px; line-height:1; cursor:pointer;
}

/* ===========================================================
   FLOW
   =========================================================== */
.flow-list{
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}
.flow-list li{
  display:flex;
  align-items:flex-start;
  gap:24px;
  padding:26px 0;
  border-bottom:1px solid var(--line);
}
.flow-num{
  flex-shrink:0;
  width:44px;height:44px;
  border-radius:50%;
  background:var(--accent);
  color:#141414;
  font-weight:900;
  font-size:17px;
  display:flex;align-items:center;justify-content:center;
}
.flow-list h3{ font-size:16px; font-weight:700; color:#fff; margin-bottom:4px; }
.flow-list p{ font-size:13.5px; color:var(--text-muted); }

/* ===========================================================
   COMPANY
   =========================================================== */
.company-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  gap:36px;
  align-items:stretch;
}
.company-table{
  width:100%;
  border-collapse:collapse;
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
}
.company-table th,.company-table td{
  text-align:left;
  padding:18px 22px;
  border-bottom:1px solid var(--line);
  font-size:13.5px;
  vertical-align:top;
}
.company-table tr:last-child th,
.company-table tr:last-child td{ border-bottom:none; }
.company-table th{
  width:34%;
  color:var(--accent-light);
  font-weight:700;
  background:rgba(230,140,40,.06);
}
.company-table td{ color:#e7e5e0; }
.company-table .sub{ color:var(--text-muted); font-size:11.5px; }
.company-table a{ color:var(--accent-light); text-decoration:underline; }

.map-wrap{
  border-radius:var(--radius);
  overflow:hidden;
  border:1px solid var(--line);
  min-height:260px;
}
.map-wrap iframe{ width:100%; height:100%; min-height:260px; border:0; filter:grayscale(.15) contrast(1.05); }

/* ===========================================================
   CONTACT
   =========================================================== */
.contact{
  background:
    linear-gradient(180deg, rgba(16,18,21,.9), rgba(16,18,21,.98)),
    linear-gradient(120deg,#1c1006,#101215 55%);
  text-align:center;
}
.contact-inner{ display:flex; flex-direction:column; align-items:center; }
.contact .section-title{ align-items:center; }
.contact-lead{
  color:var(--text-muted);
  max-width:520px;
  margin-bottom:48px;
}
.contact-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(240px,320px));
  gap:22px;
}
.contact-card{
  background:var(--bg-card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:36px 24px;
  transition:transform .25s ease, border-color .25s ease;
}
.contact-card:hover{ transform:translateY(-4px); border-color:var(--accent); }
.contact-icon{ width:38px;height:38px; margin:0 auto 16px; color:var(--accent); }
.contact-icon svg{ width:100%; height:100%; }
.contact-card-label{ font-size:12.5px; color:var(--text-muted); margin-bottom:8px; }
.contact-card-value{ font-size:22px; font-weight:900; color:#fff; }
.contact-card-value--small{ font-size:15px; word-break:break-all; }

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer{
  background:#0b0c0e;
  padding:52px 0 24px;
  border-top:1px solid var(--line);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
  flex-wrap:wrap;
  padding-bottom:32px;
  border-bottom:1px solid var(--line);
}
.footer-brand{ display:flex; gap:14px; align-items:flex-start; }
.footer-name{ font-weight:900; color:#fff; font-size:16px; margin-bottom:6px; }
.footer-addr{ font-size:12.5px; color:var(--text-muted); max-width:280px; }
.footer-nav{ display:flex; gap:22px; flex-wrap:wrap; }
.footer-nav a{ font-size:13px; color:var(--text-muted); }
.footer-nav a:hover{ color:var(--accent); }
.copyright{
  text-align:center;
  padding-top:22px;
  font-size:11.5px;
  color:#5c6470;
  letter-spacing:.04em;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width:980px){
  .strength-grid{ grid-template-columns:repeat(2,1fr); }
  .service-grid{ grid-template-columns:repeat(2,1fr); }
  .jisseki-grid{ grid-template-columns:repeat(2,1fr); }
  .company-grid{ grid-template-columns:1fr; }
}

@media (max-width:800px){
  .nav{
    display:none;
    position:fixed;
    top:76px; left:0; right:0;
    flex-direction:column;
    background:#0c0d0f;
    padding:18px 24px 26px;
    gap:4px;
    border-bottom:1px solid var(--line);
  }
  .nav.is-open{ display:flex; }
  .nav a{ padding:12px 0; border-bottom:1px solid var(--line); }
  .tel-btn{ display:none; }
  .menu-toggle{ display:flex; }
  section{ padding:64px 0; }
}

@media (max-width:640px){
  .strength-grid,.service-grid,.jisseki-grid{ grid-template-columns:1fr; }
  .contact-cards{ grid-template-columns:1fr; width:100%; }
  .logo-text{ font-size:14px; }
  .hero-content{ padding-top:100px; }
}
