:root {
  /* SS16パレット */
  --bg: #e7f1ff;
  --bg-soft: #f5f8ff;
  --ink: #101b33;
  --sub: #5f6e8a;
  --brand: #5baeff;
  --brand-deep: #2566da;
  --accent-soft: #c4e3ff;
  --card-bg: #ffffff;
  --muted: #5f6e8a;
  --lp-ink: #101b33;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Noto Sans JP", sans-serif;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

/* =========================
   ヘッダー
   ========================= */
header.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: linear-gradient(to bottom,
    rgba(231,241,255,0.98),
    rgba(231,241,255,0.9),
    transparent);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .75rem 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(119,152,196,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .9rem;
  color: var(--brand-deep);
}

.logo-text-main {
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: .08em;
}

.logo-text-sub {
  font-size: .75rem;
  color: var(--sub);
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .9rem;
}

nav.main-nav a {
  padding: .35rem .6rem;
  border-radius: 999px;
  color: var(--sub);
}

nav.main-nav a:hover {
  background: rgba(255,255,255,.9);
  color: var(--ink);
}

nav.main-nav a.nav-cta {
  background: #fff;
  border: 1px solid rgba(91,174,255,.7);
  color: var(--brand-deep);
  font-weight: 600;
}

/* =========================
   ヒーロー
   ========================= */

.hero {
  position: relative;
  min-height: 85vh;
  padding: 96px 0 40px;
  overflow: hidden;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.95) 0, rgba(255,255,255,.7) 35%, transparent 65%),
    linear-gradient(135deg, #d0e3ff, #e7f3ff 55%, #c0dcff 100%);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 100% 100%, rgba(91,174,255,.38) 0, transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  min-height: calc(85vh - 96px);
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: center;
  gap: 18px;
}


.hero-heading {
  max-width: 720px;
  text-align: center;
  color: var(--ink);
  margin-bottom: 4px;
}

.hero-label {
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-title {
  margin: .45rem 0 .15rem;
  font-size: clamp(2.4rem, 4.6vw, 3.2rem); /* PC・タブレット向け */
  line-height: 1.25;
  font-weight: 750;
}

.hero-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}


/* --- 320〜375px向け --- */
@media (max-width: 375px) {
  .hero-title {
    font-size: clamp(1.9rem, 6vw, 2.4rem);
    line-height: 1.20;
    letter-spacing: -0.01em;
  }
}

/* iPhone SE (320px) 専用 */
@media (max-width: 340px) {
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    line-height: 1.18;
  }
}


.hero-title span {
  color: var(--brand-deep);
}

.hero-meta {
  margin-top: .25rem;
  font-size: .82rem;
  color: var(--muted);
}

/* =========================
   CTAボタン
   ========================= */

.hero-cta {
  margin-top: 6px;
}

.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 1.35rem 3.8rem;
  border-radius: 12px;

  color: #fff;
  font-size: 1.25rem;
  font-weight: 750;

  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  border: none;
  text-decoration: none;
  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(0,0,0,.08),
    0 16px 32px rgba(79,137,213,.55);
  overflow: hidden;
  transition:
    transform .16s ease-out,
    box-shadow .16s ease-out,
    filter .16s ease-out;
}

/* テキスト */
.btn-cta span {
  position: relative;
  z-index: 2;
}

/* hover時*/
.btn-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%,
              rgba(255,255,255,.45), transparent 60%);
  opacity: 0;
  transition: opacity .22s ease-out;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 22px rgba(0,0,0,.12),
    0 22px 44px rgba(79,137,213,.7);
  filter: brightness(1.03);
}

.btn-cta:hover::before {
  opacity: .5;
}

/* =========================
   ヒーロー内 3カード
   ========================= */

.hero-features {
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
}

.lp-section-title {
  font-size: 1.35rem;
  font-weight: 650;
  text-align: center;
  margin-bottom: 2.2rem;
  color: var(--lp-ink);
}

.hero-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.hero-card {
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(133,162,204,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card-photo {
  background: linear-gradient(135deg, #b5d8ff, #d3f0ff);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
}

.hero-card-body {
  padding: .85rem .95rem 1.1rem;
}

.hero-card-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.hero-card-text {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--sub);
}



/* サブボタン（法人向け） */
.btn-biz {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .6rem 1.6rem;
  font-size: .85rem;
  font-weight: 600;

  color: var(--brand-deep);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(115,185,255,.45);

  border-radius: 14px;
  backdrop-filter: blur(4px);
  text-decoration: none;

  transition: .2s ease-in-out;
}

.btn-biz:hover {
  background: #fff;
  border-color: rgba(115,185,255,.8);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(115,185,255,.2);
}


/* =========================
   フッター
   ========================= */

footer.site-footer {
  border-top: 1px solid rgba(152,182,212,.3);
  background: rgba(231,241,255,.98);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.5rem 1.1rem;
  font-size: .8rem;
  color: var(--sub);
}

.footer-links {
  display: flex;
  gap: .8rem;
}

.footer-links a {
  padding: .2rem .4rem;
  border-radius: 999px;
}

.footer-links a:hover {
  background: #fff;
  color: var(--ink);
}

.types-head{
  text-align: center;
}

.lp-section-title{
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: .01em;
  color: var(--ink);
}

.types-lead{
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 1rem;
}

.type-slide{
  border-top: 1px solid var(--line);
  padding: 16px 0 0;
}

.type-slide + .type-slide{
  margin-top: 18px;
}

.type-code{
  display: inline-block;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 6px;
}

.type-name{
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.type-desc{
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.9;
}

/* =========================
   レスポンシブ
   ========================= */

@media (max-width: 900px) {
  .hero-cards-3 {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-inner {
    justify-content: flex-start;
    padding-top: 12px;
  }
  .hero-heading {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .container {
    padding: 0 0.25rem;  /* ← 12px → ギュッと広がる */
  }

  .header-inner { padding-inline: 1rem; }

  .hero {
    min-height: auto;
    padding-top: 84px;
    padding-bottom: 32px;
  }

  .hero-inner {
    min-height: auto;
    gap: 4px;
  }

  .hero-features {
    margin-top: 8px;
  }

  .btn-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .section {
    padding: 44px 0;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }
  .main-nav .nav-cta {
    display: none;
  }

  /* ▼ スマホ用カードレイアウト調整 ▼ */

  .hero-cards-3 {
    gap: 0.9rem;
  }

  .hero-card {
    flex-direction: row; 
    align-items: flex-start;
  }

  .hero-card-photo {
    flex: 0 0 34%;
    max-width: 34%;
    height: 100%;
    min-height: 100px;
    background-size: cover;
    background-position: center;
  }

  .hero-card-body {
    flex: 1;
    padding: 0.8rem 0.9rem;
  }

  .hero-card-title {
    font-size: .9rem;
    margin-bottom: .3rem;
  }

  .hero-card-text {
    font-size: .8rem;
    line-height: 1.6;
  }
}

/* =========================
   カード4枚
   ========================= */

.about-features {
  width: 100%;
  max-width: 960px;
  margin-top: 10px;
}

.lp-section-title {
  font-size: 1.35rem;
  font-weight: 650;
  text-align: center;
  margin-bottom: 2.2rem;
  color: var(--lp-ink);
}

.about-cards-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
}

.about-card {
  background: rgba(255,255,255,.96);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(133,162,204,.25);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.about-card-photo {
  background: linear-gradient(135deg, #b5d8ff, #d3f0ff);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
}

.about-card-body {
  padding: .85rem .95rem 1.1rem;
}

.about-card-title {
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.about-card-text {
  font-size: .82rem;
  line-height: 1.6;
  color: var(--sub);
}

/* =========================
   レスポンシブ
   ========================= */

@media (max-width: 900px) {
  .about-cards-4 {
    grid-template-columns: minmax(0,1fr);
  }
  .about-inner {
    justify-content: flex-start;
    padding-top: 12px;
  }
  .about-heading {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
/* ▼ スマホ用カードレイアウト調整 ▼ */

  .about-cards-4 {
    gap: 0.9rem;
  }

  .about-card {
    flex-direction: row; 
    align-items: flex-start;
  }

  .about-card-photo {
    flex: 0 0 34%;
    max-width: 34%;
    height: 100%;
    min-height: 100px;
    background-size: cover;
    background-position: center;
  }

  .about-card-body {
    flex: 1;
    padding: 0.8rem 0.9rem;
  }

  .about-card-title {
    font-size: .9rem;
    margin-bottom: .3rem;
  }

  .about-card-text {
    font-size: .8rem;
    line-height: 1.6;
  }
}
