/*
Theme Name: YASIN
Description: 個人事業YASINのホームページ用テーマ。文字と画像は「外観 → カスタマイズ」から編集できます。
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: yasin
*/

/* Layout: a single black-green look taken from the Nov 3 event eyecatch, with a to-scale goal frame (7.32m x 2.44m) as the recurring motif */
:root {
  --bg: #07130e;
  --bg-soft: #0e1f18;
  --fg: #ffffff;
  --muted: #b1c4b9;
  --line: #2a4136;
  --accent: #2fde78;
  --accent-fg: #06130d;
  --net: #235a40;
  --warn: #ffd23f;
  --display: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --label: "Barlow Condensed", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--display); font-size: 16px; line-height: 1.85;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.wrap {
  max-width: 1080px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
header.site {
  position: sticky; top: 0; z-index: 9;
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.admin-bar header.site { top: 32px; }
@media (max-width: 782px) { .admin-bar header.site { top: 0; } }
.site-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: block; text-decoration: none; line-height: 0; }
.brand svg { width: 104px; height: auto; display: block; }
.brand img { width: auto; max-height: 44px; display: block; }
.brand text { font-family: var(--label); font-weight: 600; font-size: 33px; letter-spacing: .1em; fill: currentColor; }
nav.main { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; }
nav.main a { text-decoration: none; }
nav.main a:hover { color: var(--accent); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 0; border: 1.5px solid var(--accent);
  background: var(--accent); color: var(--accent-fg); font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; line-height: 1.3;
}
nav.main a.btn, nav.main a.btn:hover { color: var(--accent-fg); padding: 9px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--accent); }

.hero { overflow: hidden; background: var(--bg); box-shadow: inset 10px 0 0 var(--accent); }
.hero-inner { padding-block: 64px 0; text-align: center; display: grid; gap: 48px; justify-items: center; }
.goal { display: block; width: min(760px, 100%); height: auto; color: var(--net); }
.hero-copy { display: grid; gap: 24px; justify-items: center; }
.tag { background: var(--accent); color: var(--accent-fg); font-weight: 700; font-size: 15px; letter-spacing: .08em; padding: 6px 14px; line-height: 1.4; }
.eyebrow { font-family: var(--label); font-weight: 600; letter-spacing: .14em; font-size: 15px; color: var(--accent); line-height: 1.3; }
h1 { margin: 0; font-weight: 900; font-size: clamp(36px, 7vw, 68px); line-height: 1.3; text-wrap: balance; }
h1 em { font-style: normal; color: var(--accent); display: block; }
.lead { margin: 0; max-width: 36em; color: var(--muted); font-weight: 500; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.dim { font-family: var(--label); font-size: 17px; fill: currentColor; letter-spacing: .06em; }

.band { padding-block: 80px; }
.soft { background: var(--bg-soft); }
.head { display: grid; gap: 6px; margin-bottom: 40px; }
h2 { margin: 0; font-size: clamp(26px, 4vw, 36px); font-weight: 900; line-height: 1.4; text-wrap: balance; }
.head p { margin: 0; color: var(--muted); max-width: 40em; }
h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.5; }

.biz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.biz a { border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 28px; display: grid; gap: 10px; align-content: start; grid-template-rows: auto auto 1fr auto; background: var(--bg-soft); text-decoration: none; min-width: 0; }
.biz a:hover { border-color: var(--accent); }
.biz em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--accent); }
.biz p { margin: 0; color: var(--muted); font-size: 15px; }
.biz .more { color: var(--accent); font-weight: 700; font-size: 14px; }

.pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pick article { border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 28px; display: grid; gap: 14px; align-content: start; background: var(--bg-soft); }
.pick p { margin: 0; color: var(--muted); }
ul.plain { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
ul.plain li { padding-left: 18px; position: relative; font-weight: 500; font-size: 15px; }
ul.plain li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border: 2px solid var(--accent); }

.themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.themes div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.themes p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.flow li { display: grid; gap: 6px; align-content: start; }
.flow b { font-family: var(--label); font-size: 44px; color: var(--accent); line-height: 1; font-weight: 700; }
.flow span { font-weight: 700; }
.flow small { color: var(--muted); font-size: 14px; line-height: 1.7; }

.next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.next div { border: 1px dashed var(--line); padding: 22px; display: grid; gap: 6px; align-content: start; }
.next em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.next p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; }
.about > div { display: grid; gap: 14px; align-content: start; min-width: 0; }
.about p { margin: 0; }
.photo { aspect-ratio: 4 / 3; max-width: 100%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); font-size: 14px; overflow: hidden; }
.photo.has-img { border: 0; }
.photo.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

dl { margin: 0; border-top: 1px solid var(--line); }
dl div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
dt { font-weight: 700; }
dd { margin: 0; color: var(--muted); }

form { display: grid; gap: 18px; max-width: 640px; }
label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
input, select, textarea { font: inherit; font-weight: 400; color: var(--fg); background: var(--bg); border: 1px solid var(--line); border-radius: 0; padding: 12px; width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-result { margin: 0 0 24px; max-width: 640px; padding: 14px 16px; font-weight: 700; border: 1.5px solid var(--warn); color: var(--warn); }
.form-result.sent { border-color: var(--accent); color: var(--accent); }

.news-row { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); text-decoration: none; }
.news-row time { color: var(--accent); font-family: var(--label); font-weight: 600; letter-spacing: .06em; }
.news-row:hover span { color: var(--accent); }

.page-body { max-width: 800px; }
.page-title { font-size: clamp(26px, 4vw, 36px); margin-bottom: 24px; }
.entry time { color: var(--accent); font-family: var(--label); font-weight: 600; letter-spacing: .06em; }
.entry a { color: var(--accent); }
.entry h2 { font-size: 24px; margin-top: 40px; }

footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 13px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  nav.main a:not(.btn) { display: none; }
  .band { padding-block: 56px; }
  .hero-inner { padding-block: 40px 0; gap: 32px; }
  .dim { display: none; }
  .biz, .pick, .themes, .next, .about { grid-template-columns: minmax(0, 1fr); }
  .about { gap: 32px; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themes div { padding-right: 0; }
  .cta .btn { width: 100%; }
  .cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
