/* 株式会社Gym plus コーポレートサイト
 * ブランドカラー：Gym plus ロゴの青グラデーション（深い青→明るい青）
 */

:root {
  --brand-deep: #0a3a73;      /* 深い青（ロゴの濃い部分） */
  --brand-mid: #1e6fcf;       /* ミッドブルー */
  --brand-bright: #5cc5ff;    /* 明るい青（ロゴのハイライト） */
  --brand-soft: #e8f3ff;      /* 淡い青背景 */
  --ink: #0b2647;             /* 文字色（ネイビー寄り） */
  --ink-soft: #6b7a8f;
  --line: #e4ebf5;
  --bg: #fafcff;
  --card: #ffffff;
  --shadow-sm: 0 2px 12px rgba(10, 58, 115, 0.06);
  --shadow-md: 0 8px 28px rgba(10, 58, 115, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 58, 115, 0.18);
  --gradient-brand: linear-gradient(135deg, #0a3a73 0%, #1e6fcf 55%, #5cc5ff 100%);
  --gradient-hero: linear-gradient(135deg, #062a55 0%, #0a3a73 40%, #1e6fcf 100%);
}

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

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt";
}

a { color: var(--brand-mid); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-deep); }

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

/* ============ ヘッダー ============ */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-deep);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}
.brand .brand-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--brand-mid);
  transition: width 0.2s;
}
.nav a:hover::after { width: 100%; }

/* ============ ヒーロー ============ */
.hero {
  background: var(--gradient-hero);
  color: #fff;
  padding: 120px 32px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(92, 197, 255, 0.35) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(92, 197, 255, 0.18) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 880px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  margin-bottom: 24px;
  color: #cfe4ff;
}
.hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #ffffff 0%, #b8e4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .tagline {
  font-size: 17px;
  opacity: 0.92;
  margin: 0 auto;
  line-height: 1.85;
  max-width: 640px;
}

/* ============ セクション共通 ============ */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 96px 32px;
}
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 12px;
}
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--brand-deep);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 56px;
  font-size: 15px;
}

/* ============ 3事業カード ============ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--card);
  border-radius: 20px;
  padding: 36px 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(30, 111, 207, 0.2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card .logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 96px;
  margin-bottom: 16px;
}
.service-card .logo-wrap img {
  max-height: 96px;
  max-width: 180px;
  object-fit: contain;
}
.service-card .service-icon {
  font-size: 56px;
  line-height: 1;
}
.service-card .lead {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-mid);
  background: var(--brand-soft);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  align-self: center;
}
.service-card h3 {
  font-size: 22px;
  color: var(--brand-deep);
  margin-bottom: 16px;
  font-weight: 800;
}
.service-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.85;
  flex-grow: 1;
  text-align: left;
}
.service-card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gradient-brand);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  align-self: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(10, 58, 115, 0.25);
}
.service-card .link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 58, 115, 0.35);
  color: #fff;
}

/* ============ 会社情報 ============ */
.about-wrap {
  background: linear-gradient(180deg, transparent 0%, var(--brand-soft) 100%);
  padding-top: 96px;
  padding-bottom: 96px;
  margin: 0;
  max-width: none;
}
.about-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 32px;
}
.about-card {
  background: #fff;
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--shadow-md);
}
.about-card table {
  width: 100%;
  font-size: 15px;
}
.about-card th, .about-card td {
  text-align: left;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.about-card tr:last-child th, .about-card tr:last-child td { border-bottom: none; }
.about-card th {
  width: 32%;
  color: var(--brand-mid);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
}
.about-card td {
  color: var(--ink);
  line-height: 1.85;
}

/* ============ お問い合わせ ============ */
.contact {
  text-align: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.contact-card {
  background: var(--gradient-hero);
  border-radius: 24px;
  padding: 64px 40px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(92, 197, 255, 0.3) 0%, transparent 65%);
  border-radius: 50%;
}
.contact-card h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
}
.contact-card p {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 32px;
  position: relative;
}
.contact-channels {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--brand-deep);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  color: var(--brand-deep);
}
.contact-btn .icon { font-size: 16px; }

/* ============ フッター ============ */
.site-footer {
  background: var(--brand-deep);
  color: #fff;
  padding: 64px 32px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
}
.footer-brand-desc {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.85;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.85);
}
.footer-links a:hover {
  color: #5cc5ff;
}
.footer-links .group-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  margin-bottom: 4px;
}
.copyright {
  text-align: center;
  font-size: 12px;
  opacity: 0.5;
  margin-top: 32px;
}

/* ============ レスポンシブ ============ */
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: 32px; }
  .hero { padding: 80px 24px 64px; }
  section { padding: 64px 24px; }
  .about-wrap, .contact { padding-top: 64px; padding-bottom: 64px; }
  .about-card { padding: 32px 24px; }
  .contact-card { padding: 40px 24px; }
  .header-inner { padding: 14px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  .nav { gap: 16px; font-size: 13px; }
  .hero h1 { font-size: 26px; }
  .hero .tagline { font-size: 14px; }
  .section-title { font-size: 24px; }
  .brand { font-size: 18px; }
  .brand img { height: 32px; }
  .about-card th, .about-card td { display: block; width: 100%; padding: 8px 0; }
  .about-card th { padding-top: 16px; }
}
