/*
Theme Name: Kazuma Profile
Theme URI: https://hiiragimania.com/
Author: Kazuma
Description: 副業初心者に寄り添う、かずまの公式プロフィールサイト用テーマ。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: kazuma-profile
*/

:root {
  --ink: #202822;
  --muted: #687269;
  --green: #315c47;
  --green-dark: #19382b;
  --sage: #dce7dc;
  --paper: #f7f7f2;
  --white: #ffffff;
  --line: #d9ddd6;
  --accent: #e5ff78;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
em { color: var(--green); font-style: normal; }
.mobile-only { display: none; }

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(247,247,242,.9);
  border-bottom: 1px solid rgba(49,92,71,.12);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .05em; }
.logo-mark {
  width: 34px; height: 34px; display: block; object-fit: cover;
  border: 2px solid white; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(49,92,71,.25);
}
.desktop-nav { display: flex; gap: 36px; font-size: 13px; font-weight: 600; }
.desktop-nav a { transition: color .2s; }
.desktop-nav a:hover { color: var(--green); }

.button {
  min-height: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 26px;
  padding: 0 25px; background: var(--green); color: white;
  border: 1px solid var(--green); border-radius: 3px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 5px 5px 0 var(--sage);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.button:hover { transform: translate(3px,3px); box-shadow: 2px 2px 0 var(--sage); background: var(--green-dark); }
.button-small { min-height: 42px; padding: 0 19px; box-shadow: none; font-size: 12px; }

.hero {
  max-width: 1280px; min-height: calc(100vh - 76px); margin: auto;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center;
  padding: 80px 5vw 100px;
}
.eyebrow {
  display: flex; align-items: center; gap: 10px; margin: 0 0 25px;
  color: var(--green); font: 700 11px/1.4 "DM Sans", sans-serif; letter-spacing: .18em;
}
.eyebrow span { width: 25px; height: 1px; background: currentColor; }
.eyebrow.light { color: #bed2c2; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px; font-size: clamp(40px, 4.3vw, 60px); line-height: 1.4;
  letter-spacing: -.06em; font-weight: 700;
}
h1 em, h2 em { position: relative; z-index: 1; }
h1 em::after, h2 em::after {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 5%;
  height: .28em; background: var(--accent); opacity: .7;
}
.hero-lead { color: var(--muted); font-size: 16px; margin-bottom: 35px; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.text-link { color: var(--green); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--green); }
.microcopy { margin: 18px 0 0; color: #89928a; font-size: 11px; }
.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; overflow: hidden; }
.hero-visual::before {
  content: ""; position: absolute; width: 405px; height: 405px; border-radius: 50%;
  background: var(--sage);
}
.hero-note {
  position: relative; z-index: 2; width: 330px; padding: 35px;
  background: #fffef8; box-shadow: 12px 18px 30px rgba(33,56,43,.14);
  transform: rotate(-4deg);
}
.note-top { display: flex; justify-content: space-between; }
.note-date { color: #879287; font: 700 9px "DM Sans"; letter-spacing: .16em; }
.note-tape { position: absolute; width: 80px; height: 24px; top: -12px; right: 35px; background: rgba(229,255,120,.75); transform: rotate(5deg); }
.hero-note p { margin: 38px 0 22px; font-size: 21px; line-height: 1.7; }
.hero-note strong { font-size: 36px; color: var(--green); border-bottom: 7px solid var(--accent); line-height: 1; }
.note-line { height: 1px; background: #dcded8; margin-bottom: 18px; }
.note-checks { display: grid; gap: 8px; color: #7b857c; font-size: 12px; }
.note-checks .checked { color: var(--green); font-weight: 700; }
.hero-badge {
  position: absolute; z-index: 3; right: 3%; bottom: 15%; width: 110px; height: 110px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 50%; color: white; background: var(--green-dark); transform: rotate(9deg);
  box-shadow: 4px 4px 0 var(--accent); font-size: 10px;
}
.hero-badge strong { font: 700 26px/1.2 "DM Sans"; }
.orbit { position: absolute; border: 1px solid rgba(49,92,71,.22); border-radius: 50%; }
.orbit-one { width: 485px; height: 485px; }
.orbit-two { width: 545px; height: 545px; border-style: dashed; animation: spin 45s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticker { overflow: hidden; padding: 16px 0; background: var(--green-dark); color: white; }
.ticker-track {
  width: max-content; display: flex; align-items: center; gap: 24px;
  animation: ticker 35s linear infinite; font: 500 11px "DM Sans", "Noto Sans JP"; letter-spacing: .12em;
}
.ticker i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { max-width: 1180px; margin: auto; padding: 130px 5vw; }
.section-heading { margin-bottom: 60px; }
.section-heading h2, .story-copy h2, .proof-intro h2, .final-cta h2 {
  margin-bottom: 20px; font-size: clamp(34px, 4.2vw, 56px); line-height: 1.45; letter-spacing: -.055em;
}
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading.centered p:last-child { color: var(--muted); font-size: 14px; }
.problem-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.problem-card {
  min-height: 210px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  background: white; border-top: 2px solid var(--green);
}
.number { color: #99a59c; font: 700 10px/1 "DM Sans"; letter-spacing: .15em; }
.problem-card p { margin: 0; font-weight: 600; line-height: 2; }
.empathy { margin: 55px 0 0; text-align: center; color: var(--muted); font-size: 14px; }
.empathy strong { color: var(--green); font-size: 18px; }

.story-section { padding: 130px 5vw; color: white; background: var(--green-dark); overflow: hidden; }
.story-grid { max-width: 1150px; margin: auto; display: grid; grid-template-columns: .28fr .72fr 1.25fr; gap: 55px; align-items: center; }
.story-label { border-right: 1px solid rgba(255,255,255,.15); }
.vertical-copy { color: #8da797; font-size: 12px; letter-spacing: .15em; writing-mode: vertical-rl; }
.story-portrait { margin: 0; position: relative; }
.story-portrait::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid rgba(229,255,120,.6);
}
.story-portrait img {
  position: relative; width: 100%; aspect-ratio: 1 / 1.16; display: block;
  object-fit: cover; object-position: center; filter: saturate(.82);
}
.story-portrait figcaption {
  position: relative; margin-top: 14px; color: #9eb3a5;
  font-size: 10px; letter-spacing: .1em;
}
.story-copy h2 em { color: #dbeadf; }
.story-body { color: #cad6ce; font-size: 14px; }
.story-body p { margin-bottom: 22px; }
.story-link { display: inline-flex; gap: 35px; margin-top: 22px; padding-bottom: 5px; color: white; border-bottom: 1px solid #7a9885; font-size: 12px; font-weight: 700; }

.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.support-card { min-height: 355px; padding: 32px; background: white; border: 1px solid var(--line); }
.support-card.featured { background: var(--sage); border-color: var(--sage); transform: translateY(-15px); }
.support-icon { height: 120px; position: relative; margin-bottom: 28px; background: var(--paper); overflow: hidden; }
.featured .support-icon { background: rgba(255,255,255,.55); }
.map-dot { position: absolute; width: 12px; height: 12px; border: 3px solid var(--green); border-radius: 50%; }
.dot-one { left: 24%; top: 60%; }.dot-two { right: 24%; top: 25%; background: var(--green); }
.map-line { position: absolute; width: 45%; height: 45%; left: 28%; top: 30%; border-top: 1px dashed var(--green); transform: rotate(-25deg); }
.focus-ring { position: absolute; width: 75px; height: 75px; border: 1px solid var(--green); border-radius: 50%; left: calc(50% - 37px); top: 22px; }
.focus-ring::after { content: ""; position: absolute; inset: 12px; border: 1px dashed var(--green); border-radius: 50%; }
.focus-dot { position: absolute; width: 12px; height: 12px; background: var(--green); border-radius: 50%; left: calc(50% - 6px); top: 54px; }
.ai-icon { display: grid; place-items: center; }
.ai-icon span { width: 62px; height: 62px; display: grid; place-items: center; border: 1px solid var(--green); border-radius: 50%; color: var(--green); font: 700 16px "DM Sans"; box-shadow: 0 0 0 10px rgba(49,92,71,.08), 0 0 0 20px rgba(49,92,71,.04); }
.support-card h3 { margin: 18px 0 12px; font-size: 19px; }
.support-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 2; }

.proof-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding: 120px max(5vw, calc((100vw - 1180px)/2)); color: white; background: var(--green); }
.proof-intro p:last-child { color: #cad8cf; font-size: 13px; }
.proof-intro h2 em { color: white; }
.proof-grid { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.25); border-left: 1px solid rgba(255,255,255,.25); }
.proof-item { min-height: 180px; padding: 25px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid rgba(255,255,255,.25); border-bottom: 1px solid rgba(255,255,255,.25); }
.proof-item > span { color: #bfd1c4; font-size: 11px; }
.proof-item strong { margin: 8px 0; font-size: 18px; }
.proof-item strong span { font: 700 37px "DM Sans"; color: var(--accent); }
.proof-item small { color: #bfd1c4; font-size: 10px; }

.process-list { border-top: 1px solid var(--line); }
.process-step { display: grid; grid-template-columns: 120px 1fr 40px; gap: 35px; align-items: center; padding: 32px 20px; border-bottom: 1px solid var(--line); }
.process-step > span { color: var(--green); font: 700 10px "DM Sans"; letter-spacing: .15em; }
.process-step h3 { margin: 0 0 5px; font-size: 18px; }
.process-step p { margin: 0; color: var(--muted); font-size: 12px; }
.process-step b { color: var(--green); font-size: 22px; font-weight: 400; }

.faq { padding-top: 70px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; gap: 18px; align-items: center; padding: 25px 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--green); font: 700 17px "DM Sans"; }
.faq summary b { margin-left: auto; color: var(--green); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary b { transform: rotate(45deg); }
.faq details p { padding: 0 45px 25px; margin: 0; color: var(--muted); font-size: 13px; }

.final-cta { position: relative; min-height: 600px; display: grid; place-items: center; padding: 100px 5vw; overflow: hidden; text-align: center; color: white; background: var(--green-dark); }
.final-cta-content { position: relative; z-index: 2; }
.final-cta .eyebrow { justify-content: center; }
.final-cta h2 { font-size: clamp(38px,6vw,72px); }
.final-cta h2 em { color: white; }
.final-cta p { color: #c5d4ca; font-size: 14px; }
.button-light { margin-top: 20px; color: var(--green-dark); background: white; border-color: white; box-shadow: 5px 5px 0 var(--accent); }
.button-light:hover { color: var(--green-dark); background: white; }
.final-cta small { display: block; margin-top: 24px; color: #82998a; font-size: 10px; }
.cta-orbit { position: absolute; width: 570px; height: 570px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 100px rgba(255,255,255,.018), 0 0 0 200px rgba(255,255,255,.012); }

footer { padding: 35px 5vw; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; background: #12291f; color: #bdcec3; font-size: 10px; }
footer p { margin: 0; text-align: center; }
.footer-links { display: flex; justify-content: flex-end; gap: 25px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 75px; }
  .hero-visual { min-height: 470px; margin-top: 45px; }
  .problem-list, .support-grid { grid-template-columns: 1fr; }
  .problem-card { min-height: 160px; }
  .support-card.featured { transform: none; }
  .story-grid { grid-template-columns: 1fr; gap: 35px; }
  .story-label { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .vertical-copy { writing-mode: initial; }
  .story-portrait { max-width: 420px; }
  .proof-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .mobile-only { display: initial; }
  .site-header { height: 64px; padding: 0 20px; }
  .site-header .button { min-height: 38px; padding: 0 12px; font-size: 10px; }
  .logo { font-size: 13px; }.logo-mark { width: 30px; height: 30px; }
  .hero { min-height: auto; padding: 62px 22px 70px; }
  h1 { font-size: 38px; line-height: 1.48; }
  .desktop-only { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .text-link { align-self: flex-start; }
  .hero-visual { min-height: 390px; margin: 25px -12px 0; }
  .hero-visual::before { width: 300px; height: 300px; }
  .hero-note { width: 250px; padding: 25px; }
  .hero-note p { font-size: 16px; margin-top: 28px; }
  .hero-note strong { font-size: 29px; }
  .hero-badge { right: 0; bottom: 7%; width: 90px; height: 90px; }
  .orbit-one { width: 345px; height: 345px; }.orbit-two { width: 390px; height: 390px; }
  .section { padding: 90px 22px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .story-copy h2, .proof-intro h2 { font-size: 32px; }
  .story-section { padding: 90px 22px; }
  .support-card { min-height: auto; }
  .proof-section { padding: 85px 22px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-item { min-height: 140px; }
  .process-step { grid-template-columns: 75px 1fr; gap: 15px; padding: 24px 5px; }
  .process-step b { display: none; }
  .faq { padding-top: 20px; }
  .faq summary { align-items: flex-start; font-size: 13px; line-height: 1.7; }
  .faq details p { padding-left: 37px; }
  .final-cta { min-height: 560px; padding: 80px 22px; }
  footer { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  footer .logo, .footer-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
