/* 
  Portfolio LP for Ryo Hotta
  Design reference: kantanweb.com (simple, bold, clear CTA)
*/

:root{
  --bg:#ffffff;
  --bg2:#f7f9fc;
  --surface:#ffffff;
  --card:#ffffff;

  --text:#0f172a;          /* 濃いネイビー */
  --muted:#475569;         /* slate */
  --line: rgba(15,23,42,.10);

  --shadow: 0 18px 60px rgba(2,6,23,.10);

  --accent:#FF6A00;        /* ロゴのオレンジ */
  --accent2:#4AA3FF;       /* ロゴのブルー */
  --white:#ffffff;

  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:"Noto Sans JP", system-ui, -apple-system, Segoe UI, Roboto, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  background:
    radial-gradient(900px 600px at 10% -10%, rgba(255,106,0,.10), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(74,163,255,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  color:var(--text);
  line-height:1.65;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.92; }

.container{
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px;
  width:auto; height:auto;
  padding:10px 14px;
  border-radius: 10px;
  background: var(--surface);
  outline: 2px solid var(--accent);
  z-index: 9999;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 180px;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(2,6,23,.12);
}
.brand-text{
  font-weight: 800;
  letter-spacing: .02em;
}

.nav{
  display:flex;
  align-items:center;
  gap: 18px;
}
.nav a{
  font-weight: 600;
  color: var(--text);
}
.nav a:not(.btn){
  padding: 8px 10px;
  border-radius: 10px;
}
.nav a:not(.btn):hover{
  background: rgba(15,23,42,.06);
}

.nav-toggle{
  display:none;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
  border-radius: 12px;
  padding: 10px;
  width: 44px;
  height: 44px;
}
.nav-toggle span{
  display:block;
  height:2px;
  background: var(--text);
  margin: 6px 0;
  border-radius: 2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.9);
}
.btn-primary{
  border-color: rgba(255,106,0,.35);
  background: linear-gradient(135deg, rgba(255,106,0,.95), rgba(255,106,0,.72));
  color: #10131A;
  box-shadow: 0 18px 40px rgba(255,106,0,.18);
}
.btn-ghost{
  background: rgba(15,23,42,.04);
}
.btn:hover{ transform: translateY(-1px); }

.hero{
  position: relative;
  padding: 56px 0 26px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap: 26px;
  align-items: start;
}

.hero-bg{
  position:absolute;
  inset:-20%;
  background:
    radial-gradient(600px 400px at 20% 20%, rgba(255,106,0,.10), transparent 60%),
    radial-gradient(600px 420px at 85% 30%, rgba(74,163,255,.10), transparent 60%);
  filter: blur(30px);
  pointer-events:none;
}

.eyebrow{
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.accent{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}
.lead{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
}
.hero-cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stat{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius: 18px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 25px rgba(2,6,23,.06);
}
.stat-num{
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.stat-label{
  margin-top: 6px;
  color: rgba(15,23,42,.65);
  font-weight: 600;
  font-size: 13px;
}

.hero-card{
  position: relative;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow);
  padding: 18px;
}

.profile{
  display:flex;
  gap: 16px;
  align-items:center;
}
.avatar{
  width: 120px;
  height: 150px;          /* 縦を強調 */
  border-radius: 20px;
  object-fit: cover;
  object-position: center top; /* 顔を上に寄せる */
  border: 1px solid rgba(15,23,42,.15);
  background: #fff;
}
.profile-meta .name{
  font-weight: 900;
  font-size: 18px;
}
.kana{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.profile-meta .role{
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
}
.card-divider{
  height:1px;
  background: var(--line);
  margin: 16px 0 14px;
}
.checklist{
  list-style:none;
  padding:0;
  margin:0;
}
.checklist li{
  padding-left: 22px;
  margin: 10px 0;
  position: relative;
  color: var(--text);
  font-weight: 600;
}
.checklist li::before{
  content:"";
  position:absolute;
  left: 0;
  top: .45em;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.note{
  margin-top: 14px;
  color: rgba(15,23,42,.75);
  font-size: 13px;
  border: 1px dashed rgba(15,23,42,.18);
  background: rgba(2,6,23,.03);
  padding: 12px 12px;
  border-radius: 16px;
}

.section{
  padding: 56px 0;
}
.section-alt{
  background: linear-gradient(180deg, #f7f9fc, #ffffff);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-head{
  margin-bottom: 18px;
}
.section-head h2{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.01em;
}
.muted{ color: rgba(15,23,42,.65); }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.panel,
.work-card,
.chip-card,
.step{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.90);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(2,6,23,.06);
}
.panel{
  padding: 18px;
}
.panel h3{
  margin: 0 0 8px;
  font-size: 18px;
}
.panel p{ margin: 0; }
.panel-dim{
  background: rgba(15,23,42,.02);
}

.steps{
  list-style:none;
  margin: 0;
  padding: 0;
  display:grid;
  gap: 12px;
}
.step{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  padding: 16px;
}
.step-no{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255,106,0,.95), rgba(74,163,255,.70));
  color: #10131A;
}
.step-body h3{
  margin: 0 0 4px;
  font-size: 18px;
}
.step-body p{
  margin: 0;
  color: var(--muted);
}

.bullets{
  margin: 0;
  padding-left: 18px;
}
.bullets li{ margin: 8px 0; }
.hint{
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.work-card{
  padding: 18px;
}
.work-card h3{
  margin: 0 0 6px;
  font-size: 18px;
}
.mini{
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.mini li{ margin: 6px 0; }

.chip-card{
  padding: 18px;
}
.chip-card h3{ margin: 0 0 6px; font-size: 18px; }
.chip-card p{ margin: 0; color: var(--muted); }

.section-cta{
  padding: 60px 0 70px;
  background:
    radial-gradient(900px 420px at 20% 20%, rgba(255,106,0,.12), transparent 55%),
    radial-gradient(900px 420px at 90% 80%, rgba(74,163,255,.10), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  border-top: 1px solid var(--line);
}
.cta{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: start;
}
.cta h2{ margin: 0 0 8px; font-size: 28px; }
.cta-box{
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  padding: 18px;
  box-shadow: var(--shadow);
}
.cta-row{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.cta-row:last-of-type{ border-bottom: none; }
.label{
  color: var(--muted);
  font-weight: 700;
}
.value{
  font-weight: 700;
  text-align:right;
}
.inline-link{
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sep{ margin: 0 8px; color: var(--muted); }

.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-top: 14px;
}
.small{ font-size: 12px; }

.site-footer{
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
}
.footer-brand img{
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
}
.footer-right{
  display:flex;
  gap: 14px;
  flex-wrap:wrap;
}
.footer-right a{
  color: var(--muted);
  font-weight: 700;
}
.footer-right a:hover{ color: var(--text); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .cta{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px){
  .nav{ display:none; }
  .nav-toggle{ display:block; }
  .nav.is-open{
    display:flex;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav.is-open a{ width:100%; justify-content:center; }
}

@media (max-width: 520px){
  .avatar{
    width: 140px;
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; animation:none !important; }
}
