/* ==========================================================
   KENSHIN企画 コーポレートサイト
   参考トンマナ: 白ベース / 角丸カード / CMYK風3色アクセント
   ========================================================== */

:root {
  --blue: #0068b7;
  --pink: #e8336e;
  --yellow: #ffd500;
  --ink: #1a1a1a;
  --gray-bg: #f2f4f6;
  --gray-text: #555;
  --radius: 20px;
  --font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-en: "Montserrat", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: var(--font-ja);
  color: var(--ink);
  background: #fff;
  line-height: 1.9;
  letter-spacing: 0.04em;
  font-feature-settings: "palt";
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 共通見出し ---------- */
h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 40px;
}

.tx-blue { color: var(--blue); }
.tx-pink { color: var(--pink); }
.tx-yellow { color: var(--yellow); }

.nw { white-space: nowrap; }

/* br.sp = スマホのみ改行 / br.pc = PCのみ改行 */
br.sp { display: none; }

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 12px;
}

.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 2px; }
.dots i:nth-child(1) { background: var(--blue); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:nth-child(3) { background: var(--pink); }

section { padding: 90px 0; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 20px 14px 28px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-mark { display: inline-flex; align-items: flex-end; gap: 3px; height: 26px; }
.logo-mark i { width: 7px; border-radius: 3px; }
.logo-mark i:nth-child(1) { height: 16px; background: var(--blue); }
.logo-mark i:nth-child(2) { height: 26px; background: var(--pink); }
.logo-mark i:nth-child(3) { height: 20px; background: var(--yellow); }

.logo-text {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.logo-kikaku { font-family: var(--font-ja); font-weight: 900; font-size: 19px; margin-left: 2px; }

.global-nav { display: flex; gap: 26px; margin-left: auto; }
.global-nav a {
  font-size: 14px;
  font-weight: 700;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
.global-nav a:hover { border-color: var(--ink); }

.header-cta {
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 26px;
  border-radius: 10px;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.header-cta:hover { opacity: 0.85; }

/* ---------- ヒーロー ---------- */
.hero { padding: 130px 0 60px; }

.hero-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
}

.hero-card {
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card .icon { width: 72px; height: 72px; }

.c-blue { background: var(--blue); color: #fff; }
.c-pink { background: var(--pink); color: #fff; }
.c-yellow { background: var(--yellow); color: var(--ink); }
.c-gray { background: var(--gray-bg); color: #b9c2cc; }

.hero-copy {
  grid-column: 2 / 4;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-copy h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 18px;
}

.hero-copy p { font-weight: 700; color: var(--gray-text); }

/* ---------- メッセージ ---------- */
.message .message-body { max-width: 760px; }
.message .message-body p { margin-bottom: 1.4em; }

/* ---------- 選ばれる理由 ---------- */
.reasons { background: var(--gray-bg); }

.reason-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
}

.reason-num {
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 34px;
  display: block;
  margin-bottom: 12px;
}

.reason-card h3 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.6;
  margin-bottom: 14px;
}

.reason-card p { font-size: 14.5px; color: var(--gray-text); }

/* ---------- サービス ---------- */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  border: 1px solid #e4e8ec;
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
/* 説明文の長さに関わらず、下のリストの書き出し位置を揃える */
.service-card > p { flex: 1; }

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon .icon { width: 38px; height: 38px; }

.service-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; line-height: 1.5; }
.service-card > p { font-size: 14.5px; color: var(--gray-text); margin-bottom: 16px; }

.service-list li {
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0 8px 24px;
  border-bottom: 1px dashed #dfe3e8;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--blue);
}
.service-card:nth-child(2) .service-list li::before { background: var(--pink); }
.service-card:nth-child(3) .service-list li::before { background: var(--yellow); }

.media-box {
  background: var(--gray-bg);
  border-radius: var(--radius);
  padding: 36px 40px;
}
.media-box h3 { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.media-box > p { font-size: 14.5px; color: var(--gray-text); margin-bottom: 20px; }

.media-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.media-chips li {
  background: #fff;
  border: 1px solid #e4e8ec;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
}

.media-note { font-size: 13px; color: var(--gray-text); margin-top: 16px; }

/* ---------- 実績 ---------- */
.results { background: var(--blue); color: #fff; }
.results .section-label { color: rgba(255, 255, 255, 0.7); }

.result-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 44px 48px;
}

.result-head { margin-bottom: 28px; }
.result-tag {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 18px;
  margin-bottom: 10px;
}
.result-head p { font-weight: 700; }

.result-numbers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.result-num {
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}
.result-num .label { display: block; font-size: 13px; font-weight: 700; color: var(--gray-text); margin-bottom: 6px; }
.result-num .value { display: block; font-weight: 900; font-size: 20px; line-height: 1.4; }
.result-num .value em {
  font-family: var(--font-en);
  font-style: normal;
  font-size: 40px;
  letter-spacing: 0;
}
.result-num .note { display: block; font-size: 12.5px; color: var(--gray-text); margin-top: 6px; }

/* ---------- 代表紹介 ---------- */
.profile-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  /* 写真の下端とテキストの下端を揃える(写真列がテキスト列の高さに伸びる) */
  align-items: stretch;
}

.profile-photo {
  background: var(--gray-bg);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #b9c2cc;
  font-family: var(--font-en);
  font-weight: 700;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name { font-size: 26px; font-weight: 900; margin-bottom: 16px; }
.profile-name .en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-text);
  margin-left: 14px;
  text-transform: uppercase;
}
.profile-bio { font-size: 15px; color: var(--gray-text); margin-bottom: 1.2em; }
.profile-body > p:last-child { margin-bottom: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--ink);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  max-width: 1240px;
  margin: 0 auto 90px;
  padding: 80px 24px;
}

.cta h2 { margin-bottom: 16px; }
.cta p { margin-bottom: 32px; opacity: 0.85; }

.cta-button {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 18px 56px;
  border-radius: 999px;
  transition: opacity 0.2s;
}
.cta-button:hover { opacity: 0.85; }

/* ---------- フッター ---------- */
.site-footer { padding: 40px 0 24px; }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-copy-line { font-size: 13px; color: var(--gray-text); margin-top: 10px; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { font-size: 13.5px; font-weight: 700; }
.footer-nav a:hover { color: var(--blue); }

.copyright {
  text-align: center;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gray-text);
}

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  br.sp { display: inline; }
  br.pc { display: none; }

  .global-nav { display: none; }

  /* ヘッダーはロゴ+CTAのみ。折り返し禁止 */
  .header-inner { gap: 12px; padding: 12px 12px 12px 18px; }
  .logo-text { font-size: 18px; }
  .logo-kikaku { font-size: 16px; }
  .logo-mark { height: 22px; }
  .header-cta { margin-left: auto; font-size: 13px; padding: 10px 18px; }

  /* スマホはアイコンカードを出さず、コピーのみ */
  .hero { padding: 130px 0 30px; }
  .hero-grid { display: block; }
  .hero-card { display: none; }
  .hero-copy { padding: 24px 0; }

  .reason-cards,
  .service-cards,
  .result-numbers { grid-template-columns: 1fr; }

  /* スマホでは写真は固定比率で上に表示 */
  .profile-card { grid-template-columns: 1fr; }
  .profile-photo { max-width: 280px; aspect-ratio: 3 / 3.4; }

  .result-card { padding: 32px 24px; }

  section { padding: 64px 0; }
}
