/*
 * プロフィール（ポートフォリオ）ページ専用スタイル
 * 移植元: claude.ai/design プロジェクト「tekecraft」内 Portfolio.html
 * すべてのセレクタを .tc-profile-page 配下にスコープし、
 * 共通ヘッダー・フッター（tc-*）や Cocoon 標準スタイルと衝突しないようにしている。
 */

/* ---------- Base / tokens (scoped) ---------- */
.tc-profile-page{
	--bg:#F4F6F8;--surface:#FFFFFF;--brand:#3D6B4F;--brand-dark:#2F5640;--brand-soft:#E8F0EA;
	--yellow:#FCE259;--yellow-soft:#FEF6C9;--text:#1A1F2E;--text-2:#5B6473;--text-dim:#8C95A3;
	--border:#E2E6EC;--radius:14px;--maxw:1120px;
	font-family:"Noto Sans JP",sans-serif;background:var(--bg);color:var(--text);line-height:1.7;
	-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
.tc-profile-page *{box-sizing:border-box}
.tc-profile-page h1,.tc-profile-page h2,.tc-profile-page h3,.tc-profile-page h4,
.tc-profile-page p,.tc-profile-page ul,.tc-profile-page li{margin:0;padding:0}
.tc-profile-page ul{list-style:none}
.tc-profile-page a{color:inherit;text-decoration:none}
.tc-profile-page a:hover{color:var(--brand)}
.tc-profile-page .wrap{max-width:var(--maxw);margin:0 auto;padding:0 28px}

/* ---------- Hero ---------- */
.tc-profile-page .hero{position:relative;overflow:hidden;background:linear-gradient(180deg,#FFFFFF 0%,#F4F6F8 100%);color:var(--brand)}
.tc-profile-page .hero-inner{position:relative;z-index:2;padding:96px 28px 80px;display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.tc-profile-page .hero .eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:11.5px;font-weight:700;letter-spacing:.18em;color:var(--brand);background:var(--yellow);padding:7px 15px;border-radius:999px;margin-bottom:26px}
.tc-profile-page .hero h1{font-size:clamp(24px,3.2vw,36px);font-weight:900;line-height:1.55;letter-spacing:.01em;margin-bottom:20px;text-wrap:balance}
.tc-profile-page .hero p.sub{font-size:clamp(14px,1.45vw,15.5px);font-weight:500;color:var(--text-2);max-width:540px;line-height:1.95}
.tc-profile-page .hero p.sub+p.sub{margin-top:14px}
.tc-profile-page .hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}
.tc-profile-page .btn-primary{display:inline-flex;align-items:center;gap:9px;background:var(--yellow);color:var(--brand-dark);font-weight:700;font-size:14.5px;padding:13px 24px;border-radius:999px;transition:transform .2s,box-shadow .2s,background .2s}
.tc-profile-page .btn-primary:hover{background:var(--brand);color:#fff;transform:translateY(-2px);box-shadow:0 12px 28px rgba(61,107,79,.24)}
.tc-profile-page .btn-ghost{display:inline-flex;align-items:center;gap:9px;color:var(--brand);font-weight:700;font-size:14.5px;padding:13px 22px;border-radius:999px;border:1.5px solid rgba(61,107,79,.32);transition:background .2s,border-color .2s}
.tc-profile-page .btn-ghost:hover{background:var(--brand-soft);border-color:rgba(61,107,79,.55)}
.tc-profile-page .deco{position:absolute;border-radius:50%;pointer-events:none}
.tc-profile-page .d1{width:480px;height:480px;right:-170px;top:-190px;border:1.5px solid rgba(61,107,79,.14)}
.tc-profile-page .d2{width:300px;height:300px;right:-40px;top:-40px;border:1.5px solid rgba(61,107,79,.1)}
.tc-profile-page .dots{position:absolute;right:-10px;bottom:20px;width:150px;height:100px;opacity:.85;background-image:radial-gradient(rgba(61,107,79,.15) 1.5px,transparent 1.5px);background-size:17px 17px;pointer-events:none}
@media(max-width:900px){.tc-profile-page .hero-inner{grid-template-columns:1fr;padding:72px 24px 60px}}

/* hero visual (no-photo abstract composition) */
.tc-profile-page .hero-visual{position:relative;height:300px;z-index:2}
.tc-profile-page .hv-win{position:absolute;left:14px;top:10px;width:300px;border-radius:14px;background:#fff;border:1px solid var(--border);box-shadow:0 26px 50px -26px rgba(31,38,46,.35);transform:rotate(-3deg);overflow:hidden}
.tc-profile-page .hv-win .bar{display:flex;align-items:center;gap:6px;padding:10px 13px;background:#F7F9FB;border-bottom:1px solid var(--border)}
.tc-profile-page .hv-win .bar i{width:8px;height:8px;border-radius:50%;background:#E2E6EC}
.tc-profile-page .hv-win .bar i:nth-child(1){background:#E4B7B2}.tc-profile-page .hv-win .bar i:nth-child(2){background:#EBD9A8}.tc-profile-page .hv-win .bar i:nth-child(3){background:#B7D3BE}
.tc-profile-page .hv-win .code{padding:16px 16px;font-family:"Roboto Mono",monospace;font-size:11.5px;line-height:1.4;color:var(--text-2)}
.tc-profile-page .hv-win .code div{margin-bottom:8px;white-space:nowrap}
.tc-profile-page .hv-win .code div:last-child{margin-bottom:0}
.tc-profile-page .hv-win .code b{color:var(--brand);font-weight:700}
.tc-profile-page .hv-win .code em{color:#B5611A;font-style:normal}
.tc-profile-page .hv-phone{position:absolute;right:20px;bottom:0;width:118px;border-radius:20px;background:#fff;border:1px solid var(--border);box-shadow:0 24px 46px -20px rgba(31,38,46,.4);padding:10px 10px 0;transform:rotate(6deg)}
.tc-profile-page .hv-phone .scr{background:#F4F6F8;border-radius:12px 12px 0 0;padding:10px;height:150px}
.tc-profile-page .hv-phone .b1{height:8px;width:60%;border-radius:4px;background:var(--brand);margin-bottom:9px}
.tc-profile-page .hv-phone .row{background:#fff;border-radius:7px;padding:7px;margin-bottom:7px;display:flex;gap:6px;align-items:center}
.tc-profile-page .hv-phone .row i{width:13px;height:13px;border-radius:4px;background:var(--brand-soft);flex-shrink:0}
.tc-profile-page .hv-phone .row span{flex:1;height:5px;border-radius:3px;background:#E2E6EC}
.tc-profile-page .hv-chip{position:absolute;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--border);border-radius:12px;padding:9px 13px;box-shadow:0 14px 28px -18px rgba(31,38,46,.35);font-family:"Roboto Mono",monospace;font-size:11.5px;font-weight:700;color:var(--brand)}
.tc-profile-page .hv-chip.c1{left:230px;top:180px;transform:rotate(-4deg)}
.tc-profile-page .hv-chip.c2{left:0;bottom:24px;transform:rotate(3deg)}
.tc-profile-page .hv-chip.c3{left:120px;top:-6px;transform:rotate(2deg)}
.tc-profile-page .hv-chip .sw{width:9px;height:9px;border-radius:50%;background:var(--yellow)}
@media(max-width:900px){.tc-profile-page .hero-visual{height:260px;margin-top:8px}.tc-profile-page .hv-win{width:250px}.tc-profile-page .hv-phone{right:6px}.tc-profile-page .hv-chip.c3{display:none}}

/* ---------- Section frame ---------- */
.tc-profile-page section.block{padding:80px 0}
.tc-profile-page section.block.alt{background:var(--surface)}
.tc-profile-page .sec-head{margin-bottom:40px;max-width:700px}
.tc-profile-page .eyebrow-nav{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:700;letter-spacing:.22em;color:var(--brand);margin-bottom:14px}
.tc-profile-page .eyebrow-nav::before{content:"";width:28px;height:3px;background:var(--yellow);border-radius:2px}
.tc-profile-page .sec-title{font-size:clamp(21px,2.6vw,26px);font-weight:900;letter-spacing:.01em;color:var(--brand)}
.tc-profile-page .sec-lead{font-size:14.5px;color:var(--text-2);margin-top:14px;line-height:1.9}

/* ---------- Services (対応できること) ---------- */
.tc-profile-page .svc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px}
.tc-profile-page .svc-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;transition:border-color .2s,transform .2s}
.tc-profile-page .svc-card:hover{border-color:var(--yellow);transform:translateY(-3px)}
.tc-profile-page .svc-card .num{font-family:"Roboto Mono",monospace;font-size:12px;font-weight:700;color:var(--text-dim);letter-spacing:.06em;margin-bottom:14px}
.tc-profile-page .svc-card h3{font-size:16.5px;font-weight:900;margin-bottom:10px;line-height:1.6}
.tc-profile-page .svc-card p{font-size:13.5px;color:var(--text-2);line-height:1.85}
.tc-profile-page .svc-card p+p{margin-top:10px}
.tc-profile-page .svc-card.wide{grid-column:1/-1}

/* ---------- Accordion (experience / current work) ---------- */
.tc-profile-page .exp-list{display:flex;flex-direction:column;gap:14px}
.tc-profile-page .exp-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.tc-profile-page .exp-card summary{list-style:none;cursor:pointer;padding:24px 26px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.tc-profile-page .exp-card summary::-webkit-details-marker{display:none}
.tc-profile-page .exp-h{display:flex;flex-direction:column;gap:8px}
.tc-profile-page .exp-title{font-size:16px;font-weight:900}
.tc-profile-page .exp-tags{display:flex;flex-wrap:wrap;gap:7px}
.tc-profile-page .tag{font-size:11.5px;font-weight:700;padding:4px 11px;border-radius:999px;background:var(--brand-soft);color:var(--brand-dark);display:inline-flex;align-items:center;gap:6px}
.tc-profile-page .tag.range{background:var(--bg);border:1px solid var(--border);color:var(--text-2)}
.tc-profile-page .tag.ai{background:var(--yellow-soft);color:#8A6A0E}
.tc-profile-page .exp-toggle{width:30px;height:30px;border-radius:50%;background:var(--bg);border:1px solid var(--border);display:grid;place-items:center;flex-shrink:0;font-size:15px;font-weight:300;color:var(--text-2);transition:transform .25s}
.tc-profile-page .exp-card[open] .exp-toggle{transform:rotate(45deg)}
.tc-profile-page .exp-body{padding:0 26px 28px}
.tc-profile-page .exp-summary{font-size:13.5px;color:var(--text-2);line-height:1.9;margin-bottom:18px}
.tc-profile-page .exp-body h4{font-size:12.5px;font-weight:700;color:var(--text-dim);letter-spacing:.04em;margin-bottom:12px}
.tc-profile-page .exp-tasks{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:6px 20px;margin-bottom:22px}
.tc-profile-page .exp-tasks li{font-size:13.5px;color:var(--text-2);list-style:none;position:relative;padding-left:16px}
.tc-profile-page .exp-tasks li::before{content:"";position:absolute;left:0;top:10px;width:6px;height:6px;border-radius:50%;background:var(--brand)}
.tc-profile-page .exp-tasks.num{counter-reset:step}
.tc-profile-page .exp-tasks.num li{counter-increment:step;padding-left:24px}
.tc-profile-page .exp-tasks.num li::before{content:counter(step);width:16px;height:16px;border-radius:50%;background:var(--brand);color:#fff;font-size:9px;font-weight:700;display:flex;align-items:center;justify-content:center;top:2px}
@media(max-width:600px){.tc-profile-page .exp-card summary{padding:20px}.tc-profile-page .exp-body{padding:0 20px 22px}}

/* AI callout */
.tc-profile-page .ai-callout{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:32px 34px;margin-top:14px}
.tc-profile-page .ai-callout h3{font-size:16.5px;font-weight:900;margin-bottom:12px}
.tc-profile-page .ai-callout p{font-size:13.5px;color:var(--text-2);line-height:1.9}
.tc-profile-page .ai-callout p+p{margin-top:12px}

/* ---------- Personal projects ---------- */
.tc-profile-page .proj{background:var(--surface);border:1px solid var(--border);border-radius:20px;overflow:hidden;margin-bottom:22px}
.tc-profile-page .proj-grid{display:grid;grid-template-columns:1fr 1fr}
.tc-profile-page .proj-media{padding:30px;background:linear-gradient(150deg,var(--brand-soft),#F4F6F8);display:flex;align-items:center;justify-content:center;gap:14px}
.tc-profile-page .proj-body{padding:36px 38px}
.tc-profile-page .proj-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.1em;color:var(--brand);margin-bottom:10px}
.tc-profile-page .proj h3{font-size:19px;font-weight:900;margin-bottom:14px;line-height:1.6}
.tc-profile-page .proj p.desc{font-size:14px;color:var(--text-2);line-height:1.9;margin-bottom:18px}
.tc-profile-page .proj h4{font-size:12px;font-weight:700;color:var(--text-dim);letter-spacing:.04em;margin-bottom:10px}
.tc-profile-page .proj-tasks{display:grid;grid-template-columns:1fr 1fr;gap:5px 16px;margin-bottom:20px}
.tc-profile-page .proj-tasks li{font-size:13px;color:var(--text-2);list-style:none;position:relative;padding-left:15px}
.tc-profile-page .proj-tasks li::before{content:"";position:absolute;left:0;top:9px;width:5px;height:5px;border-radius:50%;background:var(--brand)}
.tc-profile-page .proj-tags{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:22px}
.tc-profile-page .proj-grid.single{grid-template-columns:1fr}
@media(max-width:800px){.tc-profile-page .proj-grid{grid-template-columns:1fr}.tc-profile-page .proj-body{padding:28px 26px}}

/* ---------- Skills ---------- */
.tc-profile-page .skill-legend{display:flex;gap:22px;margin-bottom:28px;flex-wrap:wrap}
.tc-profile-page .skill-legend span{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--text-2)}
.tc-profile-page .skill-legend i{width:9px;height:9px;border-radius:50%}
.tc-profile-page .skill-legend i.biz{background:var(--brand)}
.tc-profile-page .skill-legend i.indie{background:var(--yellow)}
.tc-profile-page .skill-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.tc-profile-page .skill-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:24px}
.tc-profile-page .skill-card h3{font-size:14.5px;font-weight:900;margin-bottom:16px;color:var(--brand)}
.tc-profile-page .skill-chips{display:flex;flex-wrap:wrap;gap:8px}
.tc-profile-page .schip{font-size:12.5px;font-weight:600;color:var(--text);background:var(--bg);border:1px solid var(--border);padding:6px 12px;border-radius:8px;display:inline-flex;align-items:center;gap:7px}
.tc-profile-page .schip i{width:7px;height:7px;border-radius:50%;flex-shrink:0}
.tc-profile-page .schip i.biz{background:var(--brand)}
.tc-profile-page .schip i.indie{background:var(--yellow)}
.tc-profile-page .skill-card.full{grid-column:1/-1}

/* ---------- Certifications ---------- */
.tc-profile-page .cert-list{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.tc-profile-page .cert-list li{list-style:none;display:flex;align-items:center;gap:14px;padding:18px 26px;font-size:14.5px;font-weight:600}
.tc-profile-page .cert-list li:not(:last-child){border-bottom:1px solid var(--border)}
.tc-profile-page .cert-list li::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--brand);flex-shrink:0}

/* ---------- Profile ---------- */
.tc-profile-page .profile{position:relative;overflow:hidden}
.tc-profile-page .profile .deco-circle{position:absolute;border-radius:50%;border:1px solid var(--border);pointer-events:none}
.tc-profile-page .profile .pc1{width:340px;height:340px;left:-160px;bottom:-160px}
.tc-profile-page .profile-grid{position:relative;z-index:2;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:40px 42px}
.tc-profile-page .profile-name{font-size:19px;font-weight:900}
.tc-profile-page .profile-role{font-size:13.5px;font-weight:700;color:var(--brand);margin-top:4px;margin-bottom:18px}
.tc-profile-page .profile-bio p{font-size:14.5px;color:var(--text-2);line-height:2}
.tc-profile-page .profile-bio p+p{margin-top:14px}
@media(max-width:600px){.tc-profile-page .profile-grid{grid-template-columns:1fr;padding:28px 24px}}

/* ---------- Contact ---------- */
.tc-profile-page .contact{background:linear-gradient(165deg,#FCE259 0%,#F6D63A 100%);color:var(--brand-dark);position:relative;overflow:hidden}
.tc-profile-page .contact .deco{border:1.5px solid rgba(47,86,64,.18)}
.tc-profile-page .contact .cc1{width:400px;height:400px;left:-160px;top:-140px}
.tc-profile-page .contact-inner{position:relative;z-index:2;text-align:center;padding:84px 28px}
.tc-profile-page .contact .eyebrow-nav{justify-content:center;color:var(--brand-dark)}
.tc-profile-page .contact .eyebrow-nav::before{background:var(--brand)}
.tc-profile-page .contact h2{font-size:clamp(22px,3vw,30px);font-weight:900;margin-bottom:14px}
.tc-profile-page .contact p{color:var(--brand);font-size:15.5px;margin-bottom:32px;max-width:560px;margin-left:auto;margin-right:auto;line-height:1.9}
.tc-profile-page .contact .btn-primary{background:var(--brand);color:#fff;font-size:15.5px;padding:15px 30px}
.tc-profile-page .contact .btn-primary:hover{background:var(--brand-dark)}
