:root {
  --bg: #fdfaf3;
  --bg-soft: #fff5e6;
  --surface: #ffffff;
  --ink: #1c1a18;
  --ink-soft: #38322d;
  --muted: #6e665d;
  --line: rgba(28, 26, 24, 0.1);
  --line-strong: rgba(28, 26, 24, 0.18);
  --accent: #ff6f5b;
  --accent-deep: #e2533f;
  --accent-2: #28b6a8;
  --accent-2-deep: #1d8a7f;
  --sun: #ffd45a;
  --sky: #6bc4ff;
  --shadow-sm: 0 8px 24px rgba(40, 34, 27, 0.08);
  --shadow: 0 22px 60px rgba(40, 34, 27, 0.12);
  --shadow-lg: 0 30px 80px rgba(40, 34, 27, 0.18);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(255, 212, 90, 0.22), transparent 60%),
    radial-gradient(900px 540px at -10% 18%, rgba(40, 182, 168, 0.16), transparent 55%),
    var(--bg);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 14px 20px;
  background: rgba(253, 250, 243, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; line-height: 1.1; }
.brand > span { display: grid; gap: 1px; }
.brand-icon { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.brand small { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
nav { display: flex; gap: 6px; flex-wrap: wrap; font-size: 0.9rem; font-weight: 800; }
nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink-soft); transition: background-color .16s, color .16s; }
nav a:hover { background: rgba(255, 111, 91, 0.12); color: var(--accent-deep); }

/* ---- hero ---- */
.hero { position: relative; min-height: 86svh; display: grid; align-items: center; padding: 72px 20px 88px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; max-width: 960px; }
.label, .card-kicker {
  display: inline-block;
  color: var(--accent-deep);
  font-size: 0.74rem; font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  background: rgba(255, 111, 91, 0.1);
  border-radius: 999px;
}
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(2.6rem, 11vw, 6.6rem); line-height: 0.98; letter-spacing: -0.01em; }
h1 .hl { background: linear-gradient(135deg, var(--accent) 0%, var(--sun) 60%, var(--accent-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { margin-bottom: 22px; font-size: clamp(1.9rem, 6.5vw, 3.6rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { margin-bottom: 12px; font-size: 1.25rem; }
p { color: var(--muted); line-height: 1.9; }
.hero-copy p:not(.label) { max-width: 720px; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-art {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, rgba(253,250,243,.97) 0%, rgba(253,250,243,.78) 42%, rgba(253,250,243,.16) 100%),
    url("../img/creative-hub-hero.png");
  background-position: center;
  background-size: cover;
}
.orbit { position: absolute; border: 1.5px solid rgba(255, 111, 91, 0.32); border-radius: 999px; transform: rotate(-18deg); }
.orbit.one { right: -120px; top: 90px; width: 540px; height: 240px; border-color: rgba(255, 212, 90, 0.5); }
.orbit.two { right: 10%; bottom: 14%; width: 320px; height: 150px; border-color: rgba(40, 182, 168, 0.4); }
.panel-grid {
  position: absolute; right: 7%; bottom: 12%;
  width: min(420px, 66vw); aspect-ratio: 4 / 3;
  background-image:
    linear-gradient(rgba(28,26,24,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,26,24,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ---- sections ---- */
.section, .form-section { padding: 80px 20px; }
.section-heading { max-width: 760px; margin-bottom: 8px; }

/* ---- profile / timeline ---- */
.profile-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(255, 245, 230, 0.65));
  border-block: 1px solid var(--line);
}
.profile-intro { max-width: 820px; margin-bottom: 40px; }
.profile-intro h2 { margin-bottom: 18px; }
.profile-intro p { font-size: 1.06rem; }

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 8px; bottom: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--sun) 50%, var(--accent-2) 100%);
  border-radius: 999px;
  opacity: 0.7;
}
.timeline-item {
  position: relative;
  padding: 20px 22px 22px 56px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.timeline-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 111, 91, 0.34);
  box-shadow: var(--shadow);
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px; top: 24px;
  width: 18px; height: 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 111, 91, 0.18);
}
.timeline-item:nth-child(3n+2)::before { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(40, 182, 168, 0.18); }
.timeline-item:nth-child(3n)::before { border-color: var(--sun); box-shadow: 0 0 0 4px rgba(255, 212, 90, 0.28); }
.timeline-year {
  display: inline-block;
  font-size: 0.82rem; font-weight: 900; letter-spacing: 0.06em;
  color: var(--accent-deep);
  padding: 4px 10px;
  background: rgba(255, 111, 91, 0.1);
  border-radius: 999px;
  margin-bottom: 10px;
}
.timeline-item:nth-child(3n+2) .timeline-year { color: var(--accent-2-deep); background: rgba(40, 182, 168, 0.12); }
.timeline-item:nth-child(3n) .timeline-year { color: #8a6a14; background: rgba(255, 212, 90, 0.26); }
.timeline-title { margin: 0 0 8px; font-size: 1.18rem; font-weight: 900; color: var(--ink); }
.timeline-desc { margin: 0; color: var(--muted); line-height: 1.85; font-size: 0.96rem; }

/* ---- business / split ---- */
.split { display: grid; gap: 24px; background: var(--surface); border-block: 1px solid var(--line); }
.business-copy { max-width: 820px; }
.business-copy h3 { margin-bottom: 14px; font-size: clamp(1.45rem, 4vw, 2.1rem); }
.link-boxes { display: grid; gap: 12px; margin-top: 18px; }
.line-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), #3c312c);
  color: #fffaf2;
  font-weight: 900;
  box-shadow: 0 14px 36px rgba(40, 34, 27, 0.18), inset 0 -2px 0 rgba(255,255,255,.12);
  transition: transform .16s ease, box-shadow .16s ease;
}
.line-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* ---- card grid (activities) ---- */
.card-grid { display: grid; gap: 16px; }
.card {
  position: relative;
  display: block;
  min-height: 100%;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 111, 91, 0.32);
  box-shadow: var(--shadow);
}
.card p { margin-bottom: 0; }
.activity-card { overflow: hidden; }
.activity-card::after {
  content: "";
  position: absolute;
  right: -36px; top: -36px;
  width: 120px; height: 120px;
  border-radius: 999px;
  background: rgba(255, 111, 91, 0.08);
  pointer-events: none;
}
.activity-card:nth-child(3n+2)::after { background: rgba(40, 182, 168, 0.1); }
.activity-card:nth-child(3n)::after { background: rgba(255, 212, 90, 0.18); }

.activity-icon {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--sun));
  color: #fff;
  font-size: 0.82rem; font-weight: 1000;
  box-shadow: 0 12px 26px rgba(255, 111, 91, 0.28);
}
.activity-card:nth-child(3n+2) .activity-icon { background: linear-gradient(135deg, var(--accent-2), var(--sky)); box-shadow: 0 12px 26px rgba(40, 182, 168, 0.28); }
.activity-card:nth-child(3n) .activity-icon { background: linear-gradient(135deg, var(--sun), #ff9a3d); box-shadow: 0 12px 26px rgba(255, 154, 61, 0.28); color: #4a3009; }

.reference-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.reference-links a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(40, 182, 168, 0.12);
  color: var(--accent-2-deep);
  font-size: 0.82rem; font-weight: 900;
  transition: background-color .16s, color .16s;
}
.reference-links a:hover { background: var(--accent-2); color: #fff; }

.card-cover-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.activity-card > :not(.card-cover-link) { position: relative; z-index: 2; }
.activity-card:has(.card-cover-link) > :not(.card-cover-link) { pointer-events: none; }
.activity-card .reference-links, .activity-card .reference-links * { position: relative; z-index: 4; pointer-events: auto; }
.activity-card:has(.card-cover-link) { cursor: pointer; }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; width: fit-content;
  margin-bottom: 16px; padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--sky));
  color: #fff; font-weight: 1000; letter-spacing: 0.04em;
  box-shadow: 0 14px 30px rgba(40, 182, 168, 0.26);
}

/* ---- support ---- */
.support-section {
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(40, 182, 168, 0.08));
  border-block: 1px solid var(--line);
}
.support-grid { display: grid; gap: 16px; }
.support-grid-two { max-width: 1280px; }
.support-method {
  position: relative; overflow: hidden;
  display: grid; align-content: start; gap: 12px;
  min-height: 100%;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.support-method:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.support-method h3, .support-method p { margin-bottom: 0; }
.support-method::after {
  content: "";
  position: absolute; right: -34px; top: -34px;
  width: 110px; height: 110px;
  border-radius: 999px;
  background: rgba(255, 212, 90, 0.22);
  pointer-events: none;
}
.support-method:nth-child(2)::after { background: rgba(40, 182, 168, 0.16); }
.support-method:nth-child(3)::after { background: rgba(107, 196, 255, 0.18); }
.primary-method { border-color: rgba(255, 111, 91, 0.38); }
.support-button {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; min-height: 50px;
  margin-top: 8px; padding: 0 20px;
  background: var(--accent); color: #fff; font-weight: 900;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(255, 111, 91, 0.32);
}
.support-button:hover { background: var(--accent-deep); }

/* ---- buttons ---- */
.rich-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-2), var(--sky));
  color: #fff; font-weight: 1000; letter-spacing: 0.02em;
  box-shadow: 0 16px 36px rgba(40, 182, 168, 0.28), inset 0 -2px 0 rgba(0,0,0,.12);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.rich-button.primary { background: linear-gradient(135deg, var(--accent), var(--sun)); box-shadow: 0 16px 36px rgba(255, 111, 91, 0.28), inset 0 -2px 0 rgba(0,0,0,.12); color: #1c1a18; }
.rich-button:hover { transform: translateY(-2px); filter: saturate(1.08); }
.rich-link { font-weight: 900; color: var(--accent-deep); }

/* ---- contact form ---- */
.form-section { background: var(--ink); color: var(--surface); border-radius: 0; }
.form-section p { color: rgba(255,250,242,.74); }
.form-section .label { color: var(--sun); background: rgba(255, 212, 90, 0.16); }
.google-form { width: 100%; min-height: 520px; border: 1px solid rgba(255,250,242,.22); border-radius: 12px; background: rgba(255,250,242,.06); }

/* ---- footer ---- */
.site-footer { padding: 56px 20px 28px; background: var(--ink); color: rgba(255,250,242,.78); border-top: 1px solid rgba(255,250,242,.14); }
.footer-grid { display: grid; gap: 32px; max-width: 1200px; margin: 0 auto; }
.footer-col h4 { margin: 0 0 14px; font-size: 0.78rem; color: rgba(255,250,242,.6); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 900; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-icon { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,250,242,.22); }
.footer-brand strong { display: block; color: rgba(255,250,242,.96); font-size: 1rem; }
.footer-brand small { display: block; color: rgba(255,250,242,.6); font-size: 0.8rem; margin-top: 2px; }
.footer-copy { margin: 0; font-size: 0.84rem; color: rgba(255,250,242,.56); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a { display: inline-block; color: rgba(255,250,242,.78); font-size: 0.92rem; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .16s ease, border-color .16s ease; }
.footer-links a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; max-width: 1200px; margin: 36px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,250,242,.14); font-size: 0.84rem; color: rgba(255,250,242,.56); }
.footer-bottom a { color: rgba(255,250,242,.78); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- responsive ---- */
@media (min-width: 760px) {
  .site-header, .hero, .section, .form-section, .site-footer { padding-left: clamp(42px, 6vw, 88px); padding-right: clamp(42px, 6vw, 88px); }
  .card-grid { grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); }
  .support-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .support-grid-two { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1280px; }
  .split { grid-template-columns: .9fr 1.1fr; align-items: center; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; }

  /* timeline desktop: 2列 alternating layout */
  .timeline { gap: 20px; padding-left: 0; }
  .timeline::before { left: 50%; transform: translateX(-50%); }
  .timeline-item { width: calc(50% - 28px); padding: 22px 24px 22px 28px; }
  .timeline-item::before { left: -38px; top: 26px; }
  .timeline-item:nth-child(even) { margin-left: auto; }
  .timeline-item:nth-child(even)::before { left: auto; right: -38px; }
}

@media (min-width: 1100px) {
  .timeline-item { width: calc(50% - 36px); }
}
