/*
Theme Name: site-sun
Theme URI: 
Author: site-sun
Author URI: 
Description: 株式会社site-sun 会社HP兼LP 固定テーマ(hp.html / hp.cssをそのままWordPress化)
Version: 1.0
Requires at least: 5.0
Requires PHP: 7.4
License: 
Text Domain: sitesun
*/

:root {
  --navy: #142033;
  --navy2: #1d2f4d;
  --gold: #f2a93b;
  --gold-deep: #e0862a;
  --sky: #4fb0c6;
  --ink: #1b2430;
  --sub: #5b6472;
  --line: #e4e7ec;
  --card: #f5f7fa;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- draft banner ---------- */
.draft-banner {
  background: #fff3cd;
  color: #6b4b00;
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  border-bottom: 1px solid #f0d78c;
}

/* ---------- header ---------- */
.hp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.hp-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hp-header__brand {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .02em;
}
.hp-header__brand span { color: var(--gold-deep); font-weight: 900; }
.hp-header__nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; }
.hp-header__nav a { color: var(--ink); }
.hp-header__cta {
  background: var(--navy);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
}

/* ---------- hero ---------- */
.hp-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 15% 20%, #2a3f63 0%, var(--navy) 55%, #0d1524 100%);
  color: #fff;
  padding: 120px 24px 110px;
}
.hp-hero__blob {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  opacity: .55;
}
.hp-hero__blob.b1 { width: 420px; height: 400px; right: -100px; top: -80px; background: radial-gradient(circle at 30% 30%, var(--gold), var(--gold-deep)); opacity: .7; }
.hp-hero__blob.b2 { width: 320px; height: 320px; left: -120px; bottom: -140px; background: radial-gradient(circle at 40% 40%, var(--sky), #2a5f78); opacity: .4; }
.hp-hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hp-hero__eyebrow { font-size: 14px; letter-spacing: .12em; color: #cfd8e6; margin-bottom: 18px; }
.hp-hero__headline { font-size: 42px; font-weight: 900; line-height: 1.5; margin-bottom: 24px; }
.hp-hero__lead { font-size: 16px; color: #cfd8e6; max-width: 560px; margin: 0 auto; }

/* ---------- section common ---------- */
.hp-section { padding: 90px 24px; }
.hp-section--alt { background: var(--card); }
.hp-section__inner { max-width: var(--maxw); margin: 0 auto; }
.hp-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--gold-deep); margin-bottom: 10px; }
.hp-h2 { font-size: 28px; font-weight: 900; color: var(--navy); margin-bottom: 34px; }
.hp-body p { font-size: 15.5px; color: var(--ink); margin-bottom: 18px; max-width: 760px; }
.hp-placeholder { color: #9aa2ad; }

/* ---------- business cards ---------- */
.hp-biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 46px;
}
.hp-biz-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 22px;
}
.hp-biz-card__num { font-size: 13px; font-weight: 900; color: var(--gold-deep); margin-bottom: 10px; }
.hp-biz-card__title { font-size: 16px; color: var(--navy); margin-bottom: 10px; line-height: 1.5; }
.hp-biz-card__text { font-size: 13.5px; color: var(--sub); line-height: 1.8; }

.hp-doc {
  background: var(--navy);
  border-radius: 20px;
  padding: 34px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: #fff;
}
.hp-doc__label { font-size: 12.5px; color: #b9c3d4; letter-spacing: .06em; margin-bottom: 6px; }
.hp-doc__title { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.hp-doc__desc { font-size: 13.5px; color: #cfd8e6; }
.hp-doc__btn {
  flex: 0 0 auto;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 900;
  font-size: 14.5px;
  padding: 14px 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hp-doc__btn-arrow { font-size: 18px; }

/* ---------- company table ---------- */
.hp-table { width: 100%; max-width: 760px; border-collapse: collapse; }
.hp-table th, .hp-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.hp-table th { width: 160px; color: var(--sub); font-weight: 700; background: var(--card); }
.hp-table td { color: var(--ink); }

/* ---------- contact ---------- */
.hp-contact { background: var(--card); padding: 70px 24px; text-align: center; }
.hp-contact__inner { max-width: var(--maxw); margin: 0 auto; }
.hp-contact__lead { font-size: 16px; color: var(--ink); margin-bottom: 20px; }
.hp-contact__btn {
  display: inline-block;
  background: var(--navy);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 999px;
}

/* ---------- footer ---------- */
.hp-footer { background: var(--navy); color: #fff; padding: 46px 24px 34px; }
.hp-footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.hp-footer__brand { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.hp-footer__nav { font-size: 13px; color: #b9c3d4; margin-bottom: 18px; display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.hp-footer__nav a { color: #b9c3d4; }
.hp-footer__copy { font-size: 12px; color: #7c8798; }

/* ---------- reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- generic placeholder utility ---------- */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #9aa2ad;
  font-size: 13px;
  line-height: 1.7;
  background: repeating-linear-gradient(135deg, #eef1f5, #eef1f5 10px, #e6e9ee 10px, #e6e9ee 20px);
  border: 1px dashed #c9d0da;
  border-radius: 14px;
}

/* ---------- header mark ---------- */
.hp-header__brand { display: flex; align-items: center; gap: 10px; }
.hp-header__mark { display: inline-flex; }

/* ---------- hero split layout ---------- */
.hp-hero__inner--split {
  display: flex;
  align-items: center;
  gap: 60px;
  text-align: left;
}
.hp-hero__col { flex: 1; }
.hp-hero__inner--split .hp-hero__lead { margin: 0 0 30px; }
.hp-hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hp-hero__btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 900;
  font-size: 14.5px;
  padding: 13px 26px;
  border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hp-hero__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(242,169,59,.6); }
.hp-hero__btn--ghost {
  background: transparent;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.4);
}
.hp-hero__btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* ---------- hero chart mockup ---------- */
.hp-hero__visual { position: relative; z-index: 2; }
.hp-chart-card {
  background: #101a2c;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  padding: 18px 20px 22px;
  box-shadow: 0 40px 70px -30px rgba(0,0,0,.6);
}
.hp-chart-card__dots { display: flex; gap: 6px; margin-bottom: 14px; }
.hp-chart-card__dots span { width: 9px; height: 9px; border-radius: 50%; background: #2c3a52; display: inline-block; }
.hp-chart-card__label { font-size: 12px; color: #9fb0c8; margin-bottom: 12px; letter-spacing: .03em; }
.hp-chart-card__svg { width: 100%; height: auto; display: block; }
.hp-chart-card__note { margin-top: 10px; font-size: 11px; color: #6d7c93; text-align: right; }

/* ---------- product screenshot placeholder ---------- */
.hp-shot { margin-top: 46px; }
.hp-shot__frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(20,32,51,.25);
}
.hp-shot__bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--card); border-bottom: 1px solid var(--line); }
.hp-shot__bar span { width: 9px; height: 9px; border-radius: 50%; background: #d7dce3; display: inline-block; }
.hp-shot__body.ph--shot { height: 280px; border: none; border-radius: 0; }

/* ---------- flow ---------- */
.hp-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
}
.hp-flow__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-flow__item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(20,32,51,.3); }
.hp-flow__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.hp-flow__num { font-size: 12px; font-weight: 900; color: var(--gold-deep); margin-bottom: 6px; }
.hp-flow__title { font-size: 15.5px; color: var(--navy); margin-bottom: 10px; }
.hp-flow__text { font-size: 13px; color: var(--sub); line-height: 1.75; }

/* ---------- business card icon ---------- */
.hp-biz-card { transition: transform .25s ease, box-shadow .25s ease; }
.hp-biz-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(20,32,51,.3); }
.hp-biz-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

/* ---------- company section photo ---------- */
.hp-company { display: flex; gap: 40px; align-items: flex-start; flex-wrap: wrap; }
.hp-company .hp-table { flex: 1 1 420px; }
.hp-company__photo.ph--photo { flex: 1 1 260px; min-width: 240px; height: 260px; }

/* ---------- responsive ---------- */
@media (max-width: 760px) {
  .hp-header__nav { gap: 14px; font-size: 12.5px; }
  .hp-header__nav a:not(.hp-header__cta) { display: none; }
  .hp-hero { padding: 90px 20px 80px; }
  .hp-hero__headline { font-size: 30px; }
  .hp-section { padding: 64px 20px; }
  .hp-biz-grid { grid-template-columns: 1fr; }
  .hp-doc { flex-direction: column; align-items: flex-start; }
  .hp-table th { width: 110px; font-size: 13px; }
  .hp-hero__inner--split { flex-direction: column; text-align: center; }
  .hp-hero__actions { justify-content: center; }
  .hp-hero__inner--split .hp-hero__lead { margin-left: auto; margin-right: auto; }
  .hp-flow { grid-template-columns: 1fr 1fr; }
  .hp-company { flex-direction: column; }
  .hp-company .hp-table { flex-basis: auto; width: 100%; }
  .hp-company__photo.ph--photo { width: 100%; }
}

@media (max-width: 520px) {
  .hp-flow { grid-template-columns: 1fr; }
}
