/*
Theme Name: PCLinks Corporate (Enterprise)
Theme URI: https://pclinks.co.jp/
Author: PCLinks
Description: PCLinks株式会社 コーポレートサイト用テーマ（Enterprise/Trust）
Version: 1.0.0
Text Domain: pclinks-corp
*/

:root{
  --bg:#ffffff;
  --bg2:#f5f7fa;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --primary:#1e4ed8;
  --primary2:#0b3aa8;
  --shadow:0 10px 30px rgba(2, 8, 23, .08);
  --radius:16px;
  --radius2:12px;
  --container:1200px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,.9);
}
.header-inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand .site-title{
  font-weight:700;
  letter-spacing:.2px;
  font-size:16px;
  color:var(--text);
}
.custom-logo{ height:34px; width:auto; }

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav .menu{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
}
.nav a{
  font-size:14px;
  color:var(--muted);
  padding:10px 6px;
  border-radius:10px;
}
.nav a:hover{ background:rgba(15,23,42,.04); color:var(--text); }

.header-cta{
  display:flex;
  align-items:center;
  gap:10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--line);
  font-weight:700;
  font-size:14px;
  cursor:pointer;
  background:#fff;
}
.btn-primary{
  background:linear-gradient(180deg, var(--primary), var(--primary2));
  border-color:transparent;
  color:#fff;
  box-shadow: 0 8px 18px rgba(30,78,216,.22);
}
.btn-primary:hover{ filter:brightness(1.03); }
.btn-ghost{
  background:#fff;
}
.btn-ghost:hover{ background:rgba(30,78,216,.06); border-color:rgba(30,78,216,.2); color:var(--primary2); }

.hero{
  padding:42px 0 30px;
  background:
    radial-gradient(900px 400px at 20% 0%, rgba(30,78,216,.08), transparent 60%),
    linear-gradient(180deg, #fff, #fff);
}
.hero-card{
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow: var(--shadow);
  overflow:hidden;
  background:#fff;
}
.hero-top{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  min-height:340px;
}
.hero-copy{
  padding:44px 44px 30px;
}
.hero h1{
  margin:0 0 14px;
  font-size:38px;
  line-height:1.2;
  letter-spacing:.2px;
}
.hero p{
  margin:0 0 18px;
  color:var(--muted);
  font-size:15px;
}
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }

.hero-visual{
  position:relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.0), rgba(255,255,255,.75)),
    url("assets/img/hero-cubes-1920x1080.webp") center/cover no-repeat;
}
.hero-visual::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(600px 280px at 60% 40%, rgba(30,78,216,.14), transparent 60%);
  pointer-events:none;
}

.hero-metrics{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:0;
  border-top:1px solid var(--line);
  background:linear-gradient(180deg,#fff,#fbfcfe);
}
.metric{
  padding:18px 18px;
  border-right:1px solid var(--line);
}
.metric:last-child{ border-right:0; }
.metric .label{ color:var(--muted); font-size:12px; }
.metric .value{
  font-weight:900;
  font-size:24px;
  letter-spacing:.2px;
}
.metric .suffix{ font-size:12px; color:var(--muted); margin-left:6px; }

.section{
  padding:70px 0;
}
.section.alt{
  background:var(--bg2);
  border-top:1px solid rgba(229,231,235,.7);
  border-bottom:1px solid rgba(229,231,235,.7);
}
.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}
.section-title h2{
  margin:0;
  font-size:26px;
  letter-spacing:.2px;
}
.section-title p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  max-width:520px;
}

.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.grid-6{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(2,8,23,.04);
  overflow:hidden;
}
.card-pad{ padding:18px; }
.card h3{ margin:0 0 6px; font-size:16px; }
.card p{ margin:0; color:var(--muted); font-size:14px; }
.card .meta-link{
  display:inline-flex;
  gap:6px;
  align-items:center;
  margin-top:10px;
  font-weight:700;
  color:var(--primary2);
  font-size:13px;
}
.card .meta-link:hover{ text-decoration:underline; }

.service-thumb{
  height:130px;
  background:#eaf0ff;
  position:relative;
}
.service-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.service-icon{
  width:38px; height:38px;
  border-radius:12px;
  background:rgba(30,78,216,.10);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:var(--primary2);
  border:1px solid rgba(30,78,216,.18);
  margin-bottom:10px;
}

.steps{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
.step{
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.step .num{
  width:34px;height:34px;
  border-radius:12px;
  background:rgba(30,78,216,.10);
  border:1px solid rgba(30,78,216,.18);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  color:var(--primary2);
  margin-bottom:10px;
}
.step .title{ font-weight:800; margin:0 0 6px; }
.step .desc{ color:var(--muted); margin:0; font-size:14px; }

.cta{
  padding:60px 0;
}
.cta-box{
  border:1px solid var(--line);
  border-radius:24px;
  background:
    radial-gradient(800px 300px at 20% 0%, rgba(30,78,216,.10), transparent 60%),
    linear-gradient(180deg, #fff, #fbfcfe);
  box-shadow: var(--shadow);
  padding:26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.cta-box .copy h2{ margin:0 0 6px; font-size:22px; }
.cta-box .copy p{ margin:0; color:var(--muted); font-size:14px; }
.cta-box .actions{ display:flex; gap:12px; flex-wrap:wrap; }

.site-footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:26px 0;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  align-items:center;
}
.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}
.footer-links a:hover{ text-decoration:underline; }
.copyright{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}

/* Utility */
.visually-hidden{
  position:absolute!important;
  height:1px;width:1px;
  overflow:hidden;
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}

/* Responsive */
.burger{ display:none; }

@media (max-width: 980px){
  .hero-top{ grid-template-columns: 1fr; }
  .hero-copy{ padding:34px 24px 18px; }
  .hero-visual{ min-height:240px; }
  .hero-metrics{ grid-template-columns: repeat(2, 1fr); }
  .metric{ border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .metric:nth-child(2){ border-right:0; }
  .metric:nth-child(3){ border-bottom:0; }
  .metric:nth-child(4){ border-right:0; border-bottom:0; }

  .grid-6{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cta-box{ flex-direction:column; align-items:flex-start; }

  .nav{ display:none; }
  .burger{ display:inline-flex; }
}

/* Simple mobile menu */
.mobile-nav{
  display:none;
  border-top:1px solid var(--line);
  background:#fff;
}
.mobile-nav.is-open{ display:block; }
.mobile-nav .menu{
  list-style:none;
  margin:0;
  padding:10px 12px;
}
.mobile-nav .menu a{
  display:block;
  padding:12px 10px;
  border-radius:12px;
  color:var(--muted);
}
.mobile-nav .menu a:hover{ background:rgba(15,23,42,.04); color:var(--text); }

/* ===== Posts / Information ===== */
.post-list{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}
.post-card .thumb{
  height:160px;
  background:#eef2ff;
  overflow:hidden;
}
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:12px;
  margin-bottom:8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  height:22px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  font-size:12px;
  color:var(--muted);
}
.post-body{
  max-width: 920px;
  margin:0 auto;
}
.post-body h1{
  font-size:28px;
  line-height:1.25;
  margin:0 0 10px;
}
.post-content{
  color:#111827;
  font-size:15px;
}
.post-content p{ margin:0 0 14px; }
.post-content h2{ margin:28px 0 10px; font-size:22px; }
.post-content h3{ margin:22px 0 10px; font-size:18px; }
.post-content ul{ margin:0 0 14px 1.2em; }
.post-content a{ color:var(--primary2); text-decoration:underline; }

.pager{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:22px;
}
.pager a{
  flex:1;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  color:var(--muted);
}
.pager a:hover{ color:var(--text); box-shadow: 0 8px 18px rgba(2,8,23,.05); }

@media (max-width: 980px){
  .post-list{ grid-template-columns: 1fr; }
  .post-card .thumb{ height:140px; }
}
