@charset "utf-8";

/* ============================================================
   Studio AINE
   色と質感はロゴから取っている。
   淡い青灰＝円と文字、金＝モノグラム、ほぼ白の地。
   影は使わず、細い罫線と余白だけで構造を作る。
   ============================================================ */

:root {
  --ground:       #FBFCFD;
  --surface:      #FFFFFF;
  --surface-tint: #F4F7F9;

  --ink:          #1E2A33;
  --ink-soft:     #5B6B77;
  --ink-faint:    #8A99A4;

  --line:         #E3EAEE;
  --line-soft:    #EFF3F6;

  --accent:       #6E9CB0;
  --accent-deep:  #43707F;
  --gold:         #BFA063;
  --gold-soft:    #F3EDE0;

  --serif: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans:  "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --latin: "Jost", "Helvetica Neue", Arial, sans-serif;

  --shell: 1120px;
  --measure: 34em;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent-deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- ヘッダー ---------- */

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

.site-header .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand img { width: 34px; height: 34px; }

.brand span {
  font-family: var(--latin);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-family: var(--latin);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--surface);
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 18px; height: 1px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .25s, opacity .25s;
}

.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -6px; left: 0; transform: none; }
.nav-toggle span::after  { top:  6px; left: 0; transform: none; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px clamp(20px, 5vw, 48px);
    border-bottom: 1px solid var(--line-soft);
  }
}

/* ---------- 見出しまわり ---------- */

.eyebrow {
  font-family: var(--latin);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-wrap: balance;
  margin: 0;
}

.section {
  padding: clamp(64px, 9vw, 104px) 0;
  border-top: 1px solid var(--line);
}

.section > .shell > h2 {
  font-size: clamp(24px, 3.4vw, 31px);
  line-height: 1.55;
}

.section-lead {
  margin: 16px 0 0;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 17.5px;
}

.section-head { margin-bottom: clamp(36px, 5vw, 56px); }

/* ---------- ヒーロー ---------- */

.hero {
  padding: clamp(72px, 11vw, 136px) 0 clamp(64px, 9vw, 104px);
  text-align: center;
}

.hero-mark {
  width: clamp(104px, 15vw, 140px);
  height: auto;
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: clamp(25px, 4.4vw, 40px);
  line-height: 1.6;
}

.hero h1 .accent { color: var(--accent-deep); }

.hero p {
  margin: 24px auto 0;
  max-width: 30em;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.6vw, 18px);
}

.hero-rule {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin: 34px auto 0;
  border: 0;
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 2px;
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: #fff;
  transition: background .2s, border-color .2s, color .2s;
}

.btn:hover { background: var(--ink); border-color: var(--ink); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover { background: var(--surface-tint); border-color: var(--accent); color: var(--ink); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero .btn-row { justify-content: center; }

/* ---------- AINE Paint ---------- */

.paint {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.paint-body h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.5; }
.paint-body p { color: var(--ink-soft); max-width: var(--measure); margin: 18px 0 0; }

.paint-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.paint-points li {
  position: relative;
  padding-left: 20px;
  font-size: 17px;
  color: var(--ink-soft);
}

.paint-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.85em;
  width: 8px; height: 1px;
  background: var(--gold);
}

.paint-figure {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 10px;
}

.paint-figure img { width: 100%; height: auto; }

.paint-figure figcaption {
  font-family: var(--latin);
  font-size: 13.5px;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  padding: 12px 4px 4px;
}

@media (max-width: 820px) {
  .paint { grid-template-columns: 1fr; }
}

/* ---------- 配布・公開しているもの ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  background: var(--surface);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}

a.card:hover { background: var(--surface-tint); }

.card-label {
  font-family: var(--latin);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.card h3 { font-size: 20px; line-height: 1.6; }

.card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.card-more {
  margin-top: auto;
  padding-top: 14px;
  font-family: var(--latin);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(32px, 6vw, 72px);
}

.about-lead { font-size: 17.5px; color: var(--ink-soft); }
.about-body p { margin: 0 0 18px; color: var(--ink-soft); max-width: var(--measure); }
.about-body p:last-child { margin-bottom: 0; }

.tools {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tools li {
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 5px 13px;
  border-radius: 2px;
}

@media (max-width: 820px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- 発信・お問い合わせ ---------- */

.link-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.link-item {
  background: var(--surface);
  padding: 22px 26px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .2s;
}

.link-item:hover { background: var(--surface-tint); }

.link-item strong {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
}

.link-item span { font-size: 15px; color: var(--ink-soft); line-height: 1.75; }

.contact-note {
  margin-top: 30px;
  padding: 22px 26px;
  background: var(--gold-soft);
  border-left: 2px solid var(--gold);
}

.contact-note p { margin: 0; font-size: 16px; color: var(--ink); }
.contact-note p + p { margin-top: 8px; color: var(--ink-soft); }

/* ---------- フッター ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-tint);
  padding: 48px 0 40px;
}

.site-footer .shell {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.site-footer p {
  margin: 0;
  font-family: var(--latin);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 15px;
}

.footer-links a { color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }

/* ============================================================
   スタジオサイトとしての構成に必要な部品
   ============================================================ */

/* ---------- ヒーロー補助 ---------- */

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--accent-deep);
  letter-spacing: 0.06em;
  margin: 18px 0 0;
}

/* ---------- 制作領域 ---------- */

.disciplines {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--line-soft);
}

.discipline {
  background: var(--surface);
  padding: 26px 24px;
}

.discipline dt {
  font-family: var(--latin);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 8px;
}

.discipline dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- プロダクトの仕様 ---------- */

.spec {
  margin: 30px 0 0;
  border-top: 1px solid var(--line);
  font-size: 15.5px;
}

.spec div {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 16px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  font-family: var(--latin);
  font-size: 13.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 3px;
}

.spec dd { margin: 0; color: var(--ink-soft); }

@media (max-width: 520px) {
  .spec div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- 開発のきっかけ ---------- */

.origin {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: clamp(24px, 5vw, 56px);
}

.origin h3 { font-size: 20px; line-height: 1.6; }

.origin .eyebrow { margin-bottom: 10px; }

.origin p {
  margin: 0 0 16px;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 17px;
}

.origin p:last-child { margin-bottom: 0; }

.origin strong { color: var(--ink); font-weight: 500; }

@media (max-width: 780px) {
  .origin { grid-template-columns: 1fr; }
}

/* ---------- プロジェクト ---------- */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 72px);
}

.project {
  background: var(--surface);
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

a.project { transition: background .2s; }
a.project:hover { background: var(--surface-tint); }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  font-family: var(--latin);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid var(--line);
  background: var(--surface-tint);
  padding: 3px 9px;
  border-radius: 2px;
}

.tag-gold { color: var(--gold); border-color: var(--gold-soft); background: var(--gold-soft); }

.project h3 { font-size: 21.5px; line-height: 1.55; }

.project p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.project-more {
  margin-top: auto;
  padding-top: 12px;
  font-family: var(--latin);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
}

.subsection-head {
  margin: 0 0 26px;
  padding-top: 4px;
}

.subsection-head h3 {
  font-size: 22.5px;
  line-height: 1.6;
}

.subsection-head p {
  margin: 10px 0 0;
  max-width: var(--measure);
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- 配布チャネル ---------- */

.channel-list {
  border-top: 1px solid var(--line);
}

.channel {
  display: grid;
  grid-template-columns: 11em 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background .2s;
}

.channel:hover { background: var(--surface-tint); }

.channel-kind {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.channel-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18.5px;
}

.channel-desc {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  color: var(--ink-soft);
  margin-top: 3px;
}

.channel-where {
  font-family: var(--latin);
  font-size: 14.5px;
  letter-spacing: 0.04em;
  color: var(--accent-deep);
  white-space: nowrap;
}

@media (max-width: 720px) {
  .channel { grid-template-columns: 1fr; gap: 6px; }
  .channel-where { margin-top: 4px; }
}

/* ---------- お問い合わせ ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: clamp(36px, 5vw, 52px);
}

.contact-card {
  background: var(--surface);
  padding: 30px 28px;
}

.contact-card h3 { font-size: 19px; margin-bottom: 10px; }

.contact-card p {
  margin: 0 0 16px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.85;
}

.contact-card .btn { padding: 11px 24px; font-size: 15.5px; }

/* ---------- ブランドプロジェクト（月曜をラクにする研究所） ----------
   Studio AINE 直下のプロダクトとは別の枠で囲み、
   その中に関連プロジェクトを入れ子にすることで親子関係を示す。 */

.group-label {
  font-family: var(--latin);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
}

.group-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.brand-project {
  border: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.brand-project-head {
  padding: clamp(28px, 4vw, 40px) clamp(26px, 4vw, 38px);
}

.brand-project-head h3 {
  font-size: clamp(22.5px, 2.6vw, 24px);
  line-height: 1.5;
  margin: 12px 0 0;
}

.brand-project-head p {
  margin: 14px 0 0;
  max-width: var(--measure);
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink-soft);
}

.brand-project-head .project-more {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
}

.brand-project-head .project-more:hover { text-decoration: underline; }

.brand-project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  margin: 18px 0 0;
}

.brand-project-links .project-more { margin-top: 0; }

.brand-children {
  border-top: 1px solid var(--line);
  background: var(--surface-tint);
  padding: clamp(24px, 3.5vw, 32px) clamp(26px, 4vw, 38px);
}

.brand-children > p {
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(252px, 1fr));
  gap: 14px;
}

.sub-project {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s;
}

.sub-project:hover { border-color: var(--accent); }

.sub-project h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18.5px;
  line-height: 1.55;
}

.sub-project p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-soft);
}

.sub-project .project-more { padding-top: 8px; font-size: 14px; }

/* 共同制作のクレジット */
.project-credit {
  font-family: var(--latin);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  border-top: 1px solid var(--line-soft);
  padding-top: 12px;
}

.project p a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.project p a:hover { color: var(--ink); }

.project .project-more { text-decoration: none; }
.project a.project-more:hover { text-decoration: underline; }

/* ストアが複数ある場合のリンク並び */
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding-top: 12px;
  font-family: var(--latin);
  font-size: 14.5px;
  letter-spacing: 0.04em;
}

.store-links a { color: var(--accent-deep); text-decoration: none; white-space: nowrap; }
.store-links a:hover { text-decoration: underline; }

.channel-where.store-links { padding-top: 0; flex-direction: column; gap: 4px; }

/* ダウンロード時の注意書き */
.notice {
  margin-top: 30px;
  border: 1px solid var(--line);
  background: var(--surface-tint);
  padding: 22px 24px;
}

.notice h4 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}

.notice p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.notice p:last-child { margin-bottom: 0; }

.notice ol {
  margin: 0 0 12px;
  padding-left: 1.3em;
  font-size: 15px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.notice li { margin-bottom: 4px; }

.notice a { color: var(--accent-deep); }
