@charset "UTF-8";
/* ==========================================================================
   しーたLabo ポートフォリオ

   このページ自体が見本になるので、次を守っている。
   - 外部ライブラリなし。読み込むのは CSS と JS が1つずつ
   - 画像は WebP、寸法を指定してレイアウトのずれを出さない
   - スマホを基準に組み、幅が広がったら列を増やす
   ========================================================================== */

:root{
  --ink:     #15171b;
  --ink-2:   #2a2e35;
  --paper:   #f8f6f1;
  --white:   #ffffff;
  --line:    #ddd7cb;
  --muted:   #6a7079;
  --accent:  #e0492c;
  --accent-d:#b83a20;
  --accent-l:#fdefe9;

  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Courier New", monospace;

  --wrap: 1120px;
  --r: 10px;
  --hd-h: 60px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--hd-h) + 20px); }
body{
  margin:0; font-family:var(--sans); color:var(--ink); background:var(--white);
  font-size:16px; line-height:1.9; letter-spacing:.02em;
  -webkit-text-size-adjust:100%;
}
h1,h2,h3,p,ul,ol,dl,dd,figure{ margin:0; }
ul,ol{ padding:0; list-style:none; }
img{ max-width:100%; height:auto; display:block; }
table{ border-collapse:collapse; width:100%; }
a{ color:var(--accent-d); }
:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; }

.wrap{ width:min(100% - 40px, var(--wrap)); margin-inline:auto; }
.skip{ position:absolute; left:-9999px; top:0; z-index:200; background:var(--ink); color:#fff; padding:.7em 1.2em; }
.skip:focus{ left:0; }

/* --- ボタン -------------------------------------------------------------- */
.btn{
  display:inline-flex; align-items:center; gap:.55em;
  background:var(--ink); color:#fff; text-decoration:none;
  font-size:15px; font-weight:700; padding:.85em 1.7em; border-radius:100px;
  transition:background-color .15s, transform .15s;
}
.btn:hover{ background:var(--accent); transform:translateY(-2px); }
.btn span{ font-size:.9em; }
.btn--sm{ font-size:13.5px; padding:.7em 1.4em; }

/* --- ヘッダー ------------------------------------------------------------ */
.hd{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.94); backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.hd__in{
  width:min(100% - 32px, 1240px); margin-inline:auto;
  display:flex; align-items:center; gap:20px; height:var(--hd-h);
}
.logo{ display:flex; align-items:center; gap:9px; color:var(--ink); text-decoration:none; }
.logo__mk{ width:28px; height:28px; }
.logo__tx{ font-size:17px; font-weight:900; letter-spacing:.01em; }

.gnav{ display:none; margin-left:auto; gap:1.6em; font-size:13.5px; font-weight:700; }
.gnav a{ color:var(--ink); text-decoration:none; padding:.3em 0; border-bottom:2px solid transparent; }
.gnav a:hover,.gnav a[aria-current="true"]{ border-bottom-color:var(--accent); color:var(--accent-d); }
@media (min-width:720px){ .gnav{ display:flex; } }

/* --- 冒頭 ---------------------------------------------------------------- */
.hero{ padding:72px 0 84px; border-bottom:1px solid var(--line); }
.hero__name{
  display:flex; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:22px; font-weight:900; letter-spacing:.01em; margin-bottom:20px;
}
.hero__mk{ width:30px; height:30px; flex:none; }
.hero__role{
  font-size:12px; font-weight:700; letter-spacing:.1em; color:var(--accent-d);
  border:1px solid var(--accent); border-radius:100px; padding:.35em 1.1em;
}
.hero__ttl{
  font-size:clamp(30px,7.2vw,58px); font-weight:900; line-height:1.35;
  letter-spacing:-.015em; margin-bottom:26px;
}
.hero__ttl .mk{
  background:linear-gradient(transparent 58%, var(--accent-l) 58%);
  padding:0 .1em;
}
.hero__lead{ font-size:clamp(14px,3.4vw,16.5px); line-height:2.15; color:var(--muted); max-width:44em; margin-bottom:28px; }
.hero__lead b{ color:var(--ink); }

.hero__tags{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:34px; }
.hero__tags li{
  font-size:12.5px; font-weight:700; color:var(--ink-2);
  background:var(--paper); border:1px solid var(--line); border-radius:100px; padding:.35em 1em;
}

/* --- セクション共通 ------------------------------------------------------ */
.sec{ padding:80px 0; }
.sec--paper{ background:var(--paper); }
.sec--dark{ background:var(--ink); color:#fff; }

.sec__ttl{
  display:flex; align-items:baseline; gap:.7em; flex-wrap:wrap;
  font-size:clamp(22px,5vw,32px); font-weight:900; line-height:1.4;
  letter-spacing:-.01em; margin-bottom:14px;
}
.sec__no{
  font-family:var(--mono); font-size:.5em; font-weight:700; letter-spacing:.1em;
  color:var(--accent); flex:none;
}
.sec__ttl--inv{ color:#fff; }
.sec__lead{ font-size:15px; line-height:2.1; color:var(--muted); margin-bottom:48px; max-width:52em; }
.sec__lead b{ color:var(--ink); }
.sec__lead--inv{ color:#b7bdc6; }
.sec__lead--inv b{ color:#fff; }

/* --- 実績 ---------------------------------------------------------------- */
.work{ display:grid; gap:26px; padding-bottom:56px; }
.work + .work{ padding-top:56px; border-top:1px solid var(--line); }

.work__shots{ position:relative; }
.work__pc{
  border:1px solid var(--line); border-radius:var(--r);
  box-shadow:0 2px 6px rgba(21,23,27,.05), 0 18px 40px rgba(21,23,27,.09);
}
/* スマホ表示を右下に重ねて、レスポンシブ対応を1枚で示す */
.work__sp{
  position:absolute; right:-6px; bottom:-26px; width:23%; max-width:132px;
  border:5px solid var(--ink); border-radius:14px;
  box-shadow:0 10px 26px rgba(21,23,27,.24);
}

.work__kind{
  display:inline-block; font-family:var(--mono); font-size:11.5px; font-weight:700;
  letter-spacing:.1em; color:#fff; background:var(--ink);
  border-radius:100px; padding:.3em 1em; margin-bottom:12px;
}
.work__ttl{ font-size:clamp(19px,4.4vw,25px); font-weight:900; line-height:1.5; margin-bottom:12px; }
.work__ttl small{ display:block; font-size:13px; font-weight:500; color:var(--muted); margin-top:2px; }
.work__sum{ font-size:14.5px; line-height:2.05; color:var(--ink-2); margin-bottom:20px; }
.work__sum b{ background:linear-gradient(transparent 60%, var(--accent-l) 60%); }

.work__pts{ margin-bottom:20px; }
.work__pts > div{ display:grid; grid-template-columns:6.5em 1fr; gap:14px; padding:11px 0; border-top:1px solid var(--line); }
.work__pts > div:last-child{ border-bottom:1px solid var(--line); }
.work__pts dt{ font-size:12px; font-weight:900; color:var(--accent-d); letter-spacing:.04em; padding-top:.2em; }
.work__pts dd{ margin:0; font-size:13.5px; line-height:1.95; color:var(--ink-2); }
.work__pts dd b{ font-weight:700; color:var(--ink); }

.work__tech{ display:flex; flex-wrap:wrap; gap:6px; margin-bottom:22px; }
.work__tech li{
  font-family:var(--mono); font-size:11px; color:var(--muted);
  background:var(--paper); border:1px solid var(--line); border-radius:5px; padding:.3em .7em;
}

@media (min-width:900px){
  .work{ grid-template-columns:1.15fr 1fr; gap:44px; align-items:start; }
  .work--rev .work__shots{ order:2; }
  .work__sp{ bottom:-20px; right:-14px; }
}

/* 補足の画像 */
.work__extra{
  margin:0 0 56px; padding-bottom:56px; border-bottom:1px solid var(--line);
}
.work__extra > img{
  border:1px solid var(--line); border-radius:var(--r); margin-bottom:14px;
  box-shadow:0 12px 30px rgba(21,23,27,.07);
}
.work__extra > p{ font-size:13px; color:var(--muted); line-height:1.95; }
.work__extra figure{ margin:0; }
.work__extra figure img{
  border:1px solid var(--line); border-radius:var(--r); margin-bottom:12px;
  box-shadow:0 12px 30px rgba(21,23,27,.07);
}
.work__extra figcaption{ font-size:12.5px; color:var(--muted); line-height:1.9; }
.work__extra--two{ display:grid; gap:26px; }
@media (min-width:820px){ .work__extra--two{ grid-template-columns:1fr 1fr; gap:28px; } }

/* --- 強み（法令） -------------------------------------------------------- */
.law{ overflow-x:auto; border:1px solid rgba(255,255,255,.18); border-radius:var(--r); }
.law table{ font-size:13.5px; min-width:640px; }
.law th,.law td{ padding:15px 18px; text-align:left; vertical-align:top; line-height:1.85; border-bottom:1px solid rgba(255,255,255,.12); }
.law thead th{
  font-family:var(--mono); font-size:11.5px; font-weight:700; letter-spacing:.1em;
  color:#96a0ad; background:rgba(255,255,255,.05); white-space:nowrap;
}
.law tbody th{ font-weight:900; color:#fff; white-space:nowrap; width:8em; }
.law td{ color:#d3d8de; }
.law td small{ display:block; font-size:11.5px; color:#8c95a1; line-height:1.75; margin-top:3px; }
.law tbody tr:last-child th,.law tbody tr:last-child td{ border-bottom:none; }
.law__note{
  margin-top:22px; font-size:13px; line-height:2; color:#a8b0ba;
  background:rgba(255,255,255,.05); border-left:4px solid var(--accent);
  border-radius:0 8px 8px 0; padding:16px 20px;
}
.law__note b{ color:#fff; }

/* --- できること ---------------------------------------------------------- */
.can{ display:grid; gap:18px; margin-bottom:44px; }
.can__c{ border:1px solid var(--line); border-radius:var(--r); padding:24px 24px 22px; }
.can__c h3{
  font-size:17px; font-weight:900; margin-bottom:8px; padding-left:14px;
  border-left:4px solid var(--accent); line-height:1.5;
}
.can__c p{ font-size:13.5px; line-height:2; color:var(--muted); }
@media (min-width:760px){ .can{ grid-template-columns:1fr 1fr; gap:20px; } }

.can__base{ background:var(--paper); border-radius:var(--r); padding:26px 26px 24px; }
.can__bttl{ font-size:16px; font-weight:900; margin-bottom:14px; }
.can__base li{ font-size:13.5px; line-height:2; color:var(--ink-2); padding-left:1.5em; position:relative; margin-bottom:6px; }
.can__base li::before{
  content:""; position:absolute; left:0; top:.82em;
  width:7px; height:7px; border-radius:50%; background:var(--accent);
}
.can__base b{ font-weight:900; }

/* --- 進め方 -------------------------------------------------------------- */
.flow{ display:grid; gap:16px; margin-bottom:44px; }
.flow li{ background:var(--white); border:1px solid var(--line); border-radius:var(--r); padding:22px 22px 20px; position:relative; }
.flow__n{
  display:inline-grid; place-items:center; width:2em; height:2em; border-radius:50%;
  background:var(--ink); color:#fff; font-family:var(--mono); font-weight:700; font-size:14px;
  margin-bottom:10px;
}
.flow h3{ font-size:16.5px; font-weight:900; margin-bottom:6px; line-height:1.5; }
.flow h3 small{ display:block; font-family:var(--mono); font-size:11.5px; font-weight:700; color:var(--accent-d); letter-spacing:.06em; }
.flow p{ font-size:13.5px; line-height:1.95; color:var(--muted); }
@media (min-width:880px){ .flow{ grid-template-columns:repeat(4,1fr); gap:14px; } }

.honest{
  background:var(--white); border:2px solid var(--ink); border-radius:var(--r);
  padding:26px 26px 24px;
}
.honest__ttl{ font-size:17px; font-weight:900; margin-bottom:12px; }
.honest p{ font-size:14px; line-height:2.1; color:var(--ink-2); }
.honest p + p{ margin-top:12px; }
.honest b{ background:linear-gradient(transparent 60%, var(--accent-l) 60%); font-weight:700; }

/* --- フッター ------------------------------------------------------------ */
.ft{ background:var(--ink); color:#98a1ac; padding:44px 0 48px; }
.ft__brand{ display:flex; align-items:center; gap:11px; margin-bottom:20px; }
.ft__mk{ width:30px; height:30px; color:#fff; }
.ft__nm{ font-size:17px; font-weight:900; color:#fff; line-height:1.4; }
.ft__nm small{ display:block; font-size:11.5px; font-weight:500; color:#98a1ac; letter-spacing:.05em; }
.ft__contact{
  font-size:13.5px; line-height:2; color:#c6ccd4;
  border-top:1px solid rgba(255,255,255,.14); padding-top:18px; margin-bottom:14px;
}
.ft__contact b{ color:#fff; }
.ft__note{ font-size:11.5px; line-height:1.9; color:#79828e; }

/* --- 表示アニメーション -------------------------------------------------- */
/* .reveal は JavaScript で付ける。JSが動かない環境でも中身が消えないようにするため */
.reveal{ opacity:0; transform:translateY(16px); transition:opacity .55s ease, transform .55s ease; }
.reveal.is-in{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation:none !important; transition:none !important; }
  .reveal{ opacity:1 !important; transform:none !important; }
}
