:root {
  --navy: #12345a;
  --navy-deep: #0b2746;
  --green: #2f8f74;
  --green-soft: #e5f4ef;
  --blue: #dff4fb;
  --blue-strong: #4ca6c9;
  --orange: #f4a24f;
  --pink: #f4a0ad;
  --ink: #1b2b3a;
  --muted: #657482;
  --line: #d8e5e8;
  --paper: #ffffff;
  --soft: #f6fbfb;
  --shadow: 0 22px 60px rgba(18, 52, 90, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}

body.is-lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(216, 229, 232, 0.78);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--navy-deep);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  padding: 8px 0;
}

.nav-stack {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 2px;
}

.nav--local {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.nav--local a {
  padding: 2px 0;
}

.section-band,
.section {
  padding-inline: clamp(20px, 5vw, 72px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  min-height: calc(100vh - 73px);
  padding-top: 56px;
  padding-bottom: 70px;
  background:
    linear-gradient(120deg, rgba(223, 244, 251, 0.75), rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  color: var(--navy-deep);
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.18;
}

.hero__copy {
  max-width: 690px;
  margin-bottom: 32px;
  color: #344758;
  font-size: clamp(18px, 2.1vw, 22px);
  font-weight: 500;
  line-height: 2;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 22px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 52, 90, 0.22);
}

.button--secondary {
  border: 2px solid var(--green);
  background: #ffffff;
  color: var(--green);
}

.hero__visual {
  position: relative;
}

.hero__visual::after {
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 38%;
  height: 34%;
  border-radius: 8px;
  background: rgba(47, 143, 116, 0.12);
  content: "";
}

.hero__visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 1px solid rgba(216, 229, 232, 0.9);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding-top: clamp(72px, 10vw, 116px);
  padding-bottom: clamp(72px, 10vw, 116px);
}

.section--soft {
  background: var(--soft);
}

.section__heading {
  max-width: 680px;
  margin-bottom: 34px;
}

.section__heading--wide {
  max-width: 840px;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy-deep);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.28;
}

h3 {
  color: var(--navy-deep);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.45;
}

.section__heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.recommended-visual {
  margin: 0 0 clamp(24px, 4vw, 42px);
}

.recommended-visual img {
  width: 100%;
  max-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: center;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.check-grid p {
  min-height: 180px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.check-grid p::before {
  display: block;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, transparent 44%, #ffffff 45% 55%, transparent 56%),
    var(--green);
  content: "";
}

.example-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: stretch;
}

.example-card,
.example-list p {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.example-card {
  padding: clamp(22px, 4vw, 36px);
  box-shadow: var(--shadow);
}

.example-card span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--blue);
  color: var(--navy);
  font-size: 13px;
  font-weight: 900;
}

.mock-image {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(76, 166, 201, 0.18), rgba(47, 143, 116, 0.12)),
    #ffffff;
}

.mock-image div {
  height: 116px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(18, 52, 90, 0.86), rgba(47, 143, 116, 0.84)),
    linear-gradient(90deg, var(--orange), var(--pink));
}

.mock-image p {
  margin: 0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.45;
}

.example-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.example-list p {
  min-height: 116px;
  margin: 0;
  padding: 24px;
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.65;
}

.sample-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  margin-top: 0;
}

.sample-showcase__text {
  max-width: 520px;
}

.sample-showcase__text p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.sample-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.sample-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.sample-zoom {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.sample-zoom:focus-visible {
  outline: 4px solid rgba(76, 166, 201, 0.5);
  outline-offset: 4px;
}

.sample-zoom img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #ffffff;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.sample-zoom:hover img {
  transform: scale(1.015);
}

.sample-card figcaption {
  margin-top: 12px;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.flow-visual {
  margin: 0 0 clamp(24px, 4vw, 42px);
}

.flow-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: clamp(16px, 4vw, 42px);
}

.lightbox.is-open {
  display: grid;
  place-items: center;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(7, 28, 50, 0.78);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: min(96vw, 1480px);
  max-height: 92vh;
  border-radius: 8px;
}

.lightbox__image {
  max-width: min(96vw, 1480px);
  max-height: 92vh;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy-deep);
  cursor: pointer;
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.lightbox__close:focus-visible {
  outline: 4px solid rgba(76, 166, 201, 0.62);
  outline-offset: 3px;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #ffffff;
}

.flow span {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 22px;
  font-weight: 900;
}

.flow p {
  margin-bottom: 0;
  color: var(--muted);
}

.section--voice {
  background:
    linear-gradient(100deg, rgba(223, 244, 251, 0.72), rgba(229, 244, 239, 0.72)),
    #f8fcfc;
}

.voice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.48fr);
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
  max-width: 1180px;
  border-left: 8px solid var(--green);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 52px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.voice-card__text {
  min-width: 0;
}

.voice-card blockquote {
  margin-bottom: 20px;
  color: var(--navy-deep);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.9;
}

.voice-card__image {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.voice-card__note {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.overview {
  display: grid;
  border-top: 1px solid var(--line);
}

.overview div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.overview dt,
.overview dd {
  margin: 0;
}

.overview dt {
  color: var(--green);
  font-weight: 900;
}

.overview dd {
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
}

.contact-visual-section {
  padding: 0 clamp(20px, 5vw, 72px) clamp(56px, 8vw, 88px);
  background:
    linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.contact-visual {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-visual img {
  width: 100%;
  max-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(18, 52, 90, 0.1);
  object-fit: cover;
  object-position: center;
}

.contact {
  background: var(--navy-deep);
  color: #ffffff;
}

.contact__inner {
  max-width: 760px;
}

.contact .eyebrow,
.contact h2 {
  color: #ffffff;
}

.contact p {
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.contact .button--primary {
  background: #ffffff;
  color: var(--navy-deep);
  box-shadow: none;
}

.footer {
  padding: 28px clamp(20px, 5vw, 72px);
  background: #071c32;
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.footer p {
  margin: 0;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.footer__links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero,
  .example-layout,
  .sample-showcase {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    max-width: 760px;
  }

  .check-grid,
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .nav-stack {
    width: 100%;
    align-items: stretch;
    gap: 0;
  }

  .nav--global {
    gap: 18px;
  }

  .nav--local {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-top: 42px;
    padding-bottom: 54px;
  }

  .hero__content {
    display: contents;
  }

  .hero__content .eyebrow {
    order: 1;
  }

  h1 {
    order: 2;
    font-size: 40px;
    margin-bottom: 6px;
  }

  .hero__visual {
    order: 3;
    width: 100%;
    max-width: none;
    margin: 2px 0 8px;
  }

  .hero__visual::after {
    right: -8px;
    bottom: -8px;
    width: 30%;
    height: 28%;
  }

  .hero__visual img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
  }

  .hero__copy,
  .section__heading p:not(.eyebrow),
  .contact p {
    font-size: 17px;
  }

  .hero__copy {
    order: 4;
    margin-bottom: 18px;
    line-height: 1.85;
  }

  .hero__actions {
    order: 5;
  }

  .hero__note {
    order: 6;
    margin-top: -2px;
  }

  .button {
    width: 100%;
  }

  .check-grid,
  .example-list,
  .flow,
  .sample-gallery {
    grid-template-columns: 1fr;
  }

  .check-grid p,
  .flow li,
  .example-list p {
    min-height: auto;
  }

  .voice-card {
    grid-template-columns: 1fr;
  }

  .overview div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}


/* ===== ChatGPT体験講座LP 追加調整 ===== */

.hero--lp {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  min-height: auto;
}

.hero__panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(216, 229, 232, 0.9);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 42px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero__panel-title {
  margin-bottom: 18px;
  color: var(--navy-deep);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.35;
}

.hero__panel-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__panel-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
  color: var(--navy-deep);
  font-weight: 800;
}

.hero__panel-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 26px;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.message-box {
  max-width: 880px;
  border-left: 8px solid var(--green);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 52px);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.message-box p {
  color: var(--muted);
  font-size: 18px;
}

.simple-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.simple-list div {
  min-height: 190px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  background: #ffffff;
}

.simple-list strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy-deep);
  font-size: 19px;
}

.simple-list p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero--lp,
  .feature-grid,
  .simple-list {
    grid-template-columns: 1fr;
  }
}
