:root {
  --sky: #2ca5f2;
  --sky-dark: #086ca8;
  --sky-soft: #eaf8ff;
  --bg: #f4fbff;
  --text: #162638;
  --muted: #627487;
  --line: #d4effb;
  --navy: #17243a;
  --white: #fff;
  --shadow: 0 24px 64px rgba(24, 93, 134, .16);
  --radius-lg: 34px;
  --radius-md: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.85;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(212,239,251,.9);
}
.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 16px;
  background: var(--sky);
  color: #fff; display: grid; place-items: center;
  font-size: 24px; font-weight: 900;
  box-shadow: 0 12px 28px rgba(44,165,242,.24);
  flex: 0 0 auto;
}
.logo-text strong { display: block; font-size: 18px; line-height: 1.1; letter-spacing: -.02em; }
.logo-text small { display: block; color: var(--sky); font-size: 11px; letter-spacing: .24em; font-weight: 800; margin-top: 3px; }
.nav-links { display: flex; gap: 24px; align-items: center; font-size: 14px; font-weight: 800; color: #46576a; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--sky-dark); }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; border-radius: 999px;
  background: var(--sky); color: #fff; text-decoration: none; font-weight: 900;
  box-shadow: 0 12px 24px rgba(44,165,242,.24);
  white-space: nowrap;
}
.section { padding: 96px 0; position: relative; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; position: relative; z-index: 1; }
.kicker {
  margin: 0 0 12px;
  color: var(--sky);
  font-size: 13px; letter-spacing: .26em; font-weight: 950;
}
h1, h2, h3 { letter-spacing: -.035em; }
h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.12;
  font-weight: 950;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4.3vw, 52px);
  line-height: 1.25;
  font-weight: 950;
}
h3 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 950; color: var(--sky); }
p { margin: 0; }
.lead {
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 18px);
  max-width: 650px;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(44,165,242,.24);
  transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); background: #168fd8; }
.btn.secondary { background: #fff; color: var(--sky-dark); box-shadow: none; border: 1px solid var(--line); }
.hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.82) 38%, rgba(255,255,255,.20) 75%),
    url("../img/hero.png") center right / cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -12% -10%;
  height: 230px;
  background: linear-gradient(0deg,#fff 0%, rgba(255,255,255,0) 100%);
}
.hero .container { padding: 110px 0 130px; }
.hero-badge {
  display: inline-flex;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  color: var(--sky-dark);
  font-weight: 950;
  border-radius: 999px;
  padding: 8px 16px;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(44,165,242,.10);
}
.sky-word { color: var(--sky); }
.bg-panel {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.bg-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: var(--bg-opacity, .38);
}
.bg-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.74), rgba(255,255,255,.45));
}
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 42px;
}
.service-card, .mini-card, .flow-card, .profile-card {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(44,165,242,.09);
}
.service-card { padding: 26px; }
.icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: grid; place-items: center;
  background: #eef9ff;
  color: var(--sky);
  font-size: 28px;
  margin-bottom: 18px;
}
.service-card p, .mini-card p, .flow-card p, .profile-card p {
  color: var(--muted);
  margin-top: 10px;
  font-size: 15px;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.section-block { margin-top: 90px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  display: inline-flex;
  background: #edf9ff;
  color: var(--sky-dark);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.card-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.mini-card img, .flow-card img, .profile-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.mini-card .body, .flow-card .body, .profile-card .body { padding: 18px 18px 20px; }
.number {
  display: inline-flex;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--sky);
  color: #fff;
  font-weight: 950;
  margin-bottom: 12px;
}
.dark-section {
  background: var(--navy);
  color: #fff;
  border-radius: 42px;
  padding: 58px;
  overflow: hidden;
}
.dark-section .lead, .dark-section p { color: rgba(255,255,255,.75); }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 32px;
}
.reason {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 22px;
  padding: 22px;
  font-weight: 850;
}
.contact-section {
  background: linear-gradient(135deg, #e8f8ff 0%, #fff 48%, #dff5ff 100%);
}
.contact-box {
  max-width: 940px;
  margin: 0 auto;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 48px;
  box-shadow: var(--shadow);
}
.contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.contact-method {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 230px;
  border-radius: 28px;
  padding: 30px;
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 32px rgba(44,165,242,.10);
  transition: transform .18s ease, box-shadow .18s ease;
}
.contact-method:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(44,165,242,.18);
}
.contact-icon {
  width: 62px; height: 62px;
  border-radius: 22px;
  display: grid; place-items: center;
  background: var(--sky);
  color: #fff;
  font-size: 30px;
}
.contact-method small {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 6px;
}
.contact-method strong {
  display: block;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
  color: var(--sky-dark);
  word-break: break-all;
}
.contact-note {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 22px;
  background: #f4fbff;
  color: var(--muted);
  font-size: 14px;
}
.footer {
  padding: 44px 20px;
  text-align: center;
  color: #627487;
  border-top: 1px solid var(--line);
}
.mobile-only { display: none; }

/* ---------------------------------------
   セクション背景画像
   ※CSSファイルから見た相対パスなので ../img/ を使う
--------------------------------------- */

.bg-concept::before {
  background-image: url("../img/concept_bg.png");
}

.bg-service::before {
  background-image: url("../img/service_bg.png");
}

.bg-web::before {
  background-image: url("../img/web_bg.png");
}

.bg-profile::before {
  background-image: url("../img/profile_bg.png");
}

/* ---------------------------------------
   追加／ページ内 大きめCTAボタン
--------------------------------------- */
.big-btn-wrap {
  text-align: center;
  margin-bottom: 2em;
}

.big-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 360px);
  min-height: 64px;
  padding: 16px 34px;
  border-radius: 999px;

  background: var(--sky);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.4;

  box-shadow: 0 18px 36px rgba(44, 165, 242, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.big-btn:hover {
  transform: translateY(-2px);
  background: #168fd8;
  box-shadow: 0 22px 44px rgba(44, 165, 242, 0.34);
}

.big-btn:focus-visible {
  outline: 3px solid rgba(44, 165, 242, 0.35);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 45%, rgba(255,255,255,.55) 100%),
      url("../img/hero.png") center / cover no-repeat;
  }
  .hero .container { padding: 88px 0 320px; }
  .service-grid, .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .split.reverse-mobile .visual { order: -1; }
}

@media (max-width: 720px) {
  .container, .nav { width: min(100% - 28px, 1180px); }
  .section { padding: 70px 0; }
  .hero .container { padding: 62px 0 260px; }
  h1 { font-size: clamp(38px, 12vw, 52px); }
  h2 { font-size: clamp(28px, 9vw, 38px); }
  .lead { font-size: 15.5px; line-height: 1.85; }
  .btn-row { flex-direction: column; gap: 10px; }
  .btn { width: 100%; min-height: 56px; }
  .service-grid, .card-grid-4, .card-grid-5, .card-grid-3, .reason-grid, .contact-methods {
    grid-template-columns: 1fr;
  }
  .service-card { padding: 22px; }
  .mini-card .body, .flow-card .body, .profile-card .body { padding: 16px; }
  .dark-section { padding: 32px 22px; border-radius: 30px; }
  .contact-box { padding: 30px 18px; border-radius: 30px; }
  .contact-method { min-height: 190px; padding: 24px; }
  .hero-badge { font-size: 13px; }
  .logo-text strong { font-size: 16px; }
  .nav-cta { padding: 9px 14px; }
  .visual { border-radius: 26px; }
  .mobile-only { display: inline; }
}

@media (max-width: 420px) {
  .hero .container { padding-bottom: 220px; }
  .contact-method strong { font-size: 22px; }
}

/* ---------------------------------------
   スマホ表示時：ヒーロー画像を全体表示にする
--------------------------------------- */
@media (max-width: 720px) {
  .hero {
    min-height: auto;
    display: block;

    /* スマホでは背景画像を使わない */
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.96) 58%,
        rgba(234, 248, 255, 1) 100%
      );
  }

  .hero .container {
    padding-top: 56px;
    padding-bottom: 28px;
  }

  .hero::before {
    content: "";
    display: block;
    width: calc(100% - 28px);
    max-width: 520px;
    aspect-ratio: 8 / 3;
    margin: 0 auto 34px;

    background-image: url("../img/hero.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(24, 93, 134, 0.16);
    border: 1px solid rgba(212, 239, 251, 0.9);
    overflow: hidden;
  }

  .hero::after {
    display: none;
  }
}


/* さらに小さいスマホ向け */
@media (max-width: 420px) {
  .hero::before {
    width: calc(100% - 24px);
    margin-bottom: 28px;
    border-radius: 20px;
  }

  .hero .container {
    padding-top: 48px;
  }
}

/* ---------------------------------------
   追加／ページ内 大きめCTAボタン
--------------------------------------- */
/* スマホでは横幅いっぱい寄りに */
@media (max-width: 720px) {
  .big-btn {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    padding: 15px 22px;
    font-size: 16px;
  }
}
