/* wishape — 夜の黒基調 */
@font-face { font-family: "Instrument Serif"; src: url("/vendor/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  /* 明るい配色（参考：freelance-gakkou.com）。白に近い地、紺の字、水色の差し色 */
  --bg: #F7F8FC;
  --bg2: #FFFFFF;
  --alt: #EEF2F7;
  --line: #E2E8F0;
  --fg: #1A1A2E;
  --fg2: #4A5568;
  --fg3: #6B7280;
  --accent: #2F95CC;
  --grad-brand: linear-gradient(135deg, #EFBE76 0%, #F3B3BB 28%, #DAB5CD 52%, #A4B5DA 76%, #4FADDF 100%);
  --grad-cta: linear-gradient(135deg, #66B1D9 0%, #4FADDF 100%);
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, .04), 0 2px 8px rgba(26, 26, 46, .05);
  --shadow-lg: 0 18px 48px rgba(79, 173, 223, .14), 0 6px 18px rgba(26, 26, 46, .06);
  /* 字は参考サイト（freelance-gakkou.com）と同じ。ロゴの wishape だけ Instrument Serif */
  --logo: "Instrument Serif", "Times New Roman", serif;
  --head: "Zen Maru Gothic", "Noto Sans JP", system-ui, sans-serif;
  --en: "Montserrat", "Noto Sans JP", sans-serif;
  --ja: "Noto Sans JP", system-ui, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { background: var(--bg); color-scheme: light; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--ja);
  font-feature-settings: "palt";
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 14px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 粒子のざらつき（ノイズ）。止めた絵にして、指で触る端末では出さない */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after { display: none; }

/* ローダー */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: none; place-content: center; justify-items: center; gap: 18px;
}
.loader-word { font-family: var(--logo); font-weight: 400; font-size: clamp(22px, 3vw, 32px); letter-spacing: .04em; }
.loader-bar { width: 160px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.loader-bar::after { content: ""; position: absolute; inset: 0; background: var(--fg); transform-origin: left; animation: load .6s var(--ease) forwards; }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.js .loader { display: grid; }
.reduced .loader, .seen .loader { display: none; }

/* 追従カーソル（PC だけ） */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.on { opacity: 1; }
.cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ナビ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s;
}
.nav.scrolled { background: rgba(247, 248, 252, .8); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav.hide { transform: translateY(-110%); }
.nav-logo { font-family: var(--logo); font-weight: 400; font-size: 26px; letter-spacing: -.035em; transition: opacity .5s var(--ease); }
.nav:not(.scrolled) .nav-logo { opacity: 0; pointer-events: none; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; font-family: var(--en); font-size: 14px; letter-spacing: .04em; }
.nav-links a { position: relative; color: var(--fg2); transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { color: var(--fg); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta { color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--fg); color: var(--bg); }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; cursor: pointer; }
.nav-toggle span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--fg); transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 15px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 70; background: rgba(247, 248, 252, .97);
  display: grid; place-content: center;
}
.menu ul { display: grid; gap: 10px; }
.menu a { font-family: var(--head); font-size: 36px; font-weight: 700; letter-spacing: .01em; display: flex; align-items: baseline; gap: 14px; }
.menu i { font-style: normal; font-size: 13px; color: var(--fg3); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ヒーロー */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: center;
  padding: 120px var(--pad) 100px; overflow: hidden;
}
.hero-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::before {
  content: ""; position: absolute; inset: auto -10% -30% -10%; height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(239, 190, 118, .30), transparent 60%),
              radial-gradient(ellipse at 15% 90%, rgba(218, 181, 205, .35), transparent 55%),
              radial-gradient(ellipse at 85% 95%, rgba(79, 173, 223, .28), transparent 55%);
  filter: blur(10px); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
/* ヒーローのロゴ（縦組み：社名の下に一行のタグライン） */
.hero-inner { display: grid; justify-items: center; text-align: center; }
.logo { display: grid; justify-items: center; }
.logo-word {
  font-family: var(--logo); font-weight: 400; text-transform: lowercase;
  font-size: clamp(76px, 17vw, 260px); line-height: .9; letter-spacing: -.035em;
  white-space: nowrap; padding-right: .06em;
}
.logo-rule { display: block; width: clamp(48px, 6vw, 88px); height: 2px; border-radius: 2px; margin: clamp(22px, 2.6vw, 36px) 0 clamp(18px, 2vw, 28px); background: var(--grad-brand); transform-origin: center; }
.logo-tag {
  font-size: clamp(15px, 1.7vw, 24px); font-family: var(--head); font-weight: 500; letter-spacing: .6em; padding-left: .6em;
  color: var(--fg); white-space: nowrap;
}
.split .ch { display: inline-block; will-change: transform; }
.split .ch-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
@media (max-width: 560px) {
  .logo-word { font-size: 27vw; }
  .logo-tag { letter-spacing: .45em; padding-left: .45em; }
}

/* ティッカー */
.lineup {
  display: grid; grid-template-columns: 1fr 1fr 2.2fr; border-block: 1px solid var(--line);
}
.lineup-group { padding: clamp(20px, 2.4vw, 32px) var(--pad); display: grid; gap: 10px; align-content: start; }
.lineup-group + .lineup-group { border-left: 1px solid var(--line); }
.lineup-label { font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--accent); }
.lineup ul { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.lineup a { font-family: var(--head); font-weight: 700; font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; letter-spacing: .02em; color: var(--fg); transition: color .3s; }
.lineup a:hover { color: var(--accent); }
@media (max-width: 860px) {
  .lineup { grid-template-columns: 1fr 1fr; }
  .lineup-group:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
}

/* 章の共通 */
.section { padding: clamp(72px, 10vw, 128px) var(--pad); position: relative; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-num { font-family: var(--en); font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.sec-label { font-size: 13px; letter-spacing: .2em; color: var(--fg2); display: flex; align-items: center; gap: 14px; }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-title { grid-column: 1 / -1; font-family: var(--head); font-weight: 700; font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: .01em; margin-top: 16px; }
.reveal-lines .line { display: block; overflow: hidden; }
.reveal-lines .line > span { display: inline-block; }

/* 01 PROFILE */
.profile-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); }
.profile-text p { font-size: clamp(16px, 1.4vw, 18px); color: var(--fg2); }
.profile-text p + p { margin-top: 1.2em; }
.profile-text p:first-child { color: var(--fg); }
.timeline { border-left: 1px solid var(--line); padding-left: 28px; display: grid; gap: 28px; align-content: start; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -32.5px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); }
.timeline time { font-family: var(--en); font-size: 13px; color: var(--accent); letter-spacing: .08em; }
.timeline p { font-size: 15px; }
@media (max-width: 860px) { .profile-body { grid-template-columns: 1fr; } }

/* 02 YOUTUBE */
.youtube { padding-bottom: clamp(60px, 8vw, 100px); }
.yt-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.channel {
  --c: #fff; --c2: #fff;
  position: relative; isolation: isolate; min-width: 0;
  border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px, 3vw, 36px);
  background: var(--bg2); box-shadow: var(--shadow-sm);
  overflow: hidden; display: flex; flex-direction: column; gap: 20px;
  transition: border-color .5s;
}
.channel:hover { border-color: color-mix(in oklab, var(--c) 50%, transparent); }
.channel-glow {
  position: absolute; z-index: -1; width: 420px; height: 420px; border-radius: 50%;
  left: var(--mx, 70%); top: var(--my, 0%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, color-mix(in oklab, var(--c) 34%, transparent), transparent 65%);
  opacity: .55; transition: opacity .5s; pointer-events: none;
}
.channel:hover .channel-glow { opacity: 1; }
.channel-head { display: flex; gap: 18px; align-items: center; }
.channel-icon { width: 72px; height: 72px; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--c) 70%, transparent); object-fit: cover; background: var(--bg2); }
.channel-tag { font-family: var(--en); font-size: 11px; letter-spacing: .3em; color: var(--c); }
.channel h3 { font-family: var(--head); font-size: clamp(20px, 1.9vw, 26px); line-height: 1.4; font-weight: 700; }
.channel-handle { font-family: var(--en); font-size: 13px; color: var(--fg3); }
.channel-desc { color: var(--fg2); font-size: 15px; }
.videos { display: grid; gap: 10px; }
.video a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 8px; margin: -8px; border-radius: 12px; transition: background .3s; }
.video a:hover { background: var(--alt); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg2); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.video a:hover .video-thumb img { transform: scale(1.08); }
.video-badge { position: absolute; right: 6px; bottom: 6px; font-family: var(--en); font-size: 10px; letter-spacing: .08em; background: rgba(26, 26, 46, .78); color: #fff; padding: 1px 6px; border-radius: 4px; }
.video-title { font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-date { font-family: var(--en); font-size: 11px; color: var(--fg3); }
.videos-empty { font-size: 13px; color: var(--fg3); }
.video-skel { height: 72px; border-radius: 10px; background: linear-gradient(90deg, rgba(26,26,46,.04), rgba(26,26,46,.08), rgba(26,26,46,.04)); background-size: 200% 100%; animation: skel 1.4s linear infinite; }
@keyframes skel { to { background-position: -200% 0; } }
.channel .btn-line { margin-top: auto; align-self: flex-start; }
@media (max-width: 1100px) { .yt-track { grid-template-columns: 1fr; max-width: 680px; } }

/* ボタン */
.btn-line {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px;
  font-size: 14px; background: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s;
}
.btn-line::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn-line:hover { color: var(--bg); border-color: var(--fg); }
.btn-line:hover::before { transform: translateY(0); }
.btn-line span { transition: transform .45s var(--ease); }
.btn-line:hover span { transform: translate(2px, -2px); }
.btn-fill {
  justify-self: start; min-width: 200px; padding: 14px 32px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--grad-cta); color: #fff; font-weight: 700; letter-spacing: .2em; font-size: 15px; box-shadow: 0 8px 20px rgba(79, 173, 223, .28);
  transition: transform .3s var(--ease), opacity .3s;
}
.btn-fill:hover { transform: scale(1.03); }
.btn-fill:disabled { opacity: .5; cursor: default; transform: none; }

/* 03 SERVICES */
.shop + .shop { margin-top: 64px; }
.shop-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 28px; }
.shop-name { font-family: var(--head); font-size: clamp(22px, 2.6vw, 32px); font-weight: 700; }
.shop-label { font-family: var(--en); font-size: 12px; letter-spacing: .3em; color: var(--accent); }
.shop-note { color: var(--fg2); font-size: 14px; flex-basis: 100%; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.link-card {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg2); transition: border-color .5s, transform .6s var(--ease);
  transform-style: preserve-3d; will-change: transform;
}
.link-card:hover { border-color: rgba(79, 173, 223, .5); box-shadow: var(--shadow-lg); }
.link-card-img { aspect-ratio: 1220 / 1000; background: var(--alt); overflow: hidden; position: relative; }
.link-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.link-card:hover .link-card-img img { transform: scale(1.05); }
.link-card-body { padding: 22px 24px 24px; display: grid; gap: 8px; }
.link-card-title { font-size: 17px; font-weight: 700; line-height: 1.6; }
.link-card-desc { font-size: 13px; color: var(--fg2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.link-card-foot { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; font-family: var(--en); font-size: 12px; letter-spacing: .1em; color: var(--fg3); }
.link-card-foot b { font-weight: 500; color: var(--fg); display: inline-flex; gap: 8px; transition: gap .4s var(--ease); }
.link-card:hover .link-card-foot b { gap: 14px; }

/* 04 MAKE */
.makes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.soon {
  grid-column: 1 / -1; border: 1px dashed var(--line); border-radius: 20px; padding: clamp(36px, 6vw, 72px);
  display: grid; gap: 10px; justify-items: start; position: relative; overflow: hidden;
}
.soon .soon-word { font-family: var(--head); font-size: clamp(40px, 7vw, 96px); font-weight: 700; letter-spacing: .01em; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--fg3); }
.soon p { color: var(--fg2); font-size: 15px; }

/* 05 SNS */
.sns-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.sns-list a {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 40px 14px 14px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg2); box-shadow: var(--shadow-sm);
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.sns-list a:hover { border-color: rgba(79, 173, 223, .5); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sns-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--fg); }
.sns-icon svg { width: 22px; height: 22px; fill: #fff; }
.sns-icon--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sns-text { display: grid; min-width: 0; }
.sns-name { font-family: var(--head); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: .02em; }
.sns-meta { font-size: 12px; color: var(--fg2); line-height: 1.6; }
.sns-arrow { position: absolute; right: 14px; top: 12px; font-size: 15px; color: var(--fg3); transition: transform .4s var(--ease), color .3s; }
.sns-list a:hover .sns-arrow { transform: translate(2px, -2px); color: var(--accent); }


/* 06 CONTACT */
.contact-body { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.contact-text p { color: var(--fg2); font-size: 16px; }
.contact-kinds { margin-top: 24px; display: grid; gap: 10px; }
.contact-kinds li { padding-left: 20px; position: relative; font-size: 15px; }
.contact-kinds li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--accent); }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.field small { font-weight: 400; color: var(--fg3); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; font-size: 16px; transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg2) 50%), linear-gradient(-45deg, transparent 50%, var(--fg2) 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 44px; }
.field select option { background: var(--bg2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg2); box-shadow: 0 0 0 3px rgba(79, 173, 223, .18); }
.form-status { min-height: 1.6em; font-size: 14px; color: var(--fg2); }
.form-status.error { color: #C2410C; }
.form-done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(24px, 6vw, 56px) 8px clamp(16px, 4vw, 32px); }
.form-done-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-cta); box-shadow: 0 12px 28px rgba(79, 173, 223, .32); margin-bottom: 6px; }
.form-done-mark svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 0; animation: done-check .6s .2s var(--ease) backwards; }
@keyframes done-check { from { stroke-dashoffset: 24; } }
.form-done-title { font-family: var(--head); font-size: clamp(28px, 5vw, 36px); font-weight: 700; letter-spacing: .04em; }
.form-done-text { color: var(--fg2); font-size: 15px; line-height: 2; }
.form-done .btn-line { margin-top: 18px; }
.contact-dialog.is-done .dialog-label, .contact-dialog.is-done .dialog-title { display: none; }
.contact-dialog.is-done .dialog-head { min-height: 40px; margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .form-done-mark svg { animation: none; } }
@media (max-width: 860px) { .contact-body { grid-template-columns: 1fr; } }

/* フッター */
.footer { padding: clamp(80px, 10vw, 140px) var(--pad) 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-family: var(--logo); font-weight: 400; letter-spacing: -.035em; line-height: .9; font-size: clamp(48px, 15vw, 240px); background: linear-gradient(180deg, var(--fg) 30%, rgba(26,26,46,.06)); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 24px 80px; margin-top: 48px; }
.footer-cols ul { display: grid; gap: 8px; font-size: 14px; color: var(--fg2); }
.footer-cols a:hover { color: var(--fg); }
.footer-copy { margin-top: 56px; font-family: var(--en); font-size: 12px; color: var(--fg3); letter-spacing: .08em; }

/* 動きを減らす設定のとき */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* ヒーローの説明と入口 */
.hero-lead { margin-top: clamp(36px, 5vh, 56px); color: var(--fg2); font-size: clamp(14px, 1.3vw, 16px); letter-spacing: .08em; }
.hero-cta { margin-top: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-cta .btn-fill, .hero-cta .btn-line { padding: 12px 26px; }

/* SNS の補足 */

/* 相談窓口の補足 */
.req { font-size: 11px; font-weight: 500; color: var(--accent); border: 1px solid color-mix(in oklab, var(--accent) 50%, transparent); border-radius: 4px; padding: 0 6px; line-height: 1.7; }
.field label { justify-content: flex-start; align-items: center; }
.field label small { margin-left: auto; }
.field [aria-invalid="true"] { border-color: #C2410C; }
.field ::placeholder { color: var(--fg3); }
.form-note { font-size: 12px; color: var(--fg2); }
.form-note a, .form-alt a, .contact-text a { text-decoration: underline; text-underline-offset: 3px; }
.form-alt { font-size: 12px; color: var(--fg2); }


/* 画像が取れないリンクカード */
.link-card-img.is-placeholder { display: grid; place-items: center; background: radial-gradient(ellipse at 30% 20%, rgba(239, 190, 118, .35), transparent 60%), radial-gradient(ellipse at 80% 90%, rgba(79, 173, 223, .3), transparent 60%), var(--alt); }
.link-card-img.is-placeholder span { font-family: var(--en); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: .02em; color: var(--fg2); }

/* プライバシーポリシー・404 */
.doc-page::after { display: none; }
.doc { max-width: 760px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) var(--pad) 120px; }
.doc-center { min-height: 100svh; display: grid; align-content: center; gap: 12px; }
.doc-logo { font-family: var(--logo); font-size: 28px; letter-spacing: -.035em; margin-bottom: clamp(32px, 6vw, 64px); }
.doc-title { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 4vw, 44px); line-height: 1.4; margin-bottom: 24px; }
.doc h2 { font-family: var(--head); font-weight: 700; font-size: 20px; margin: 44px 0 12px; }
.doc p, .doc li { color: var(--fg2); font-size: 15px; }
.doc ul { list-style: disc; padding-left: 1.4em; display: grid; gap: 4px; }
.doc p:not(.doc-logo) a:not(.btn-line) { text-decoration: underline; text-underline-offset: 3px; color: var(--fg); }
.doc .btn-line { margin-top: 40px; }
.doc-date { margin-top: 48px; font-size: 13px; }
.sp-br { display: none; }
@media (max-width: 560px) { .sp-br { display: inline; } }

/* 相談フォーム：ボタンで開く */
.contact-open { display: grid; gap: 16px; justify-items: start; }
.contact-open-lead { color: var(--fg2); font-size: 14px; }
.contact-dialog {
  width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); margin: auto;
  padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: 22px;
  background: var(--bg2); color: var(--fg); overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg);
}
.contact-dialog::backdrop { background: rgba(26, 26, 46, .35); backdrop-filter: blur(6px); }
.contact-dialog[open] { animation: dialog-in .5s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.dialog-head { position: relative; margin-bottom: 28px; padding-right: 48px; }
.dialog-label { font-size: 13px; letter-spacing: .2em; color: var(--fg2); }
.dialog-title { font-family: var(--head); font-weight: 700; font-size: clamp(36px, 6vw, 52px); line-height: 1.1; letter-spacing: .01em; margin-top: 8px; }
.dialog-close { position: absolute; right: 0; top: 0; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: none; cursor: pointer; }
.dialog-close span { position: absolute; left: 11px; top: 19px; width: 16px; height: 1px; background: var(--fg); transform: rotate(45deg); }
.dialog-close span + span { transform: rotate(-45deg); }
.dialog-close:hover { border-color: var(--fg2); }
@media (prefers-reduced-motion: reduce) { .contact-dialog[open] { animation: none; } }
.field label { flex-wrap: wrap; row-gap: 2px; }
.req { white-space: nowrap; flex: none; }
@media (max-width: 560px) {
  .field label small { flex-basis: 100%; margin-left: 0; }
  .sns-list { gap: 8px; }
  .sns-list a { padding: 12px 40px 12px 12px; }
}

/* 相談フォームの門番 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.gate { gap: 10px; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; background: var(--alt); }
.gate-label { font-size: 14px; font-weight: 600; display: grid; gap: 2px; }
.gate-label small { font-weight: 400; font-size: 12px; color: var(--fg2); }
.cf-gate { min-height: 65px; }
