:root {
  --s7-bg: #f7f4ec;
  --s7-bg-deep: #efe8d6;
  --s7-card: #ffffff;
  --s7-text: #2f3135;
  --s7-muted: #66707a;
  --s7-line: #ddd6c3;
  --s7-gold: #9b8125;
  --s7-gold-dark: #78641a;
  --s7-gold-soft: #ece1bb;
  --s7-blue: #2f6894;
  --s7-blue-soft: #e9f2f8;
  --s7-red: #922f1d;
  --s7-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  --s7-radius: 22px;
  --s7-max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--s7-text);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.8;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.s7-container {
  width: min(calc(100% - 32px), var(--s7-max));
  margin: 0 auto;
}
.s7-container--narrow { max-width: 920px; }
.s7-container--medium { max-width: 980px; }
.s7-nowrap { white-space: nowrap; }

.s7-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #ece7db;
  backdrop-filter: blur(10px);
}
.s7-topbar__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.s7-topbar__logo img,
.s7-footer__logo img {
  width: 250px;
  height: auto;
}

.s7-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease;
}
.s7-button:hover { transform: translateY(-1px); }
.s7-button--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--s7-gold), var(--s7-gold-dark));
  box-shadow: 0 12px 26px rgba(120, 100, 26, .28);
}

.s7-hero {
  background: linear-gradient(180deg, #fcfbf8 0%, #f7f1e2 100%);
  border-bottom: 1px solid #ece7db;
}
.s7-hero img {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.s7-section { padding: 88px 0; }
.s7-section--soft { background: var(--s7-bg); }
.s7-section--intro { padding-top: 70px; padding-bottom: 70px; }
.s7-section--result { background: linear-gradient(180deg, #fbfaf6 0%, #f3eddc 100%); }

.s7-heading {
  margin-bottom: 42px;
  text-align: center;
}
.s7-heading--compact { margin-bottom: 30px; }
.s7-heading__eyebrow {
  margin-bottom: 10px;
  color: var(--s7-gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
}
.s7-heading h2 {
  margin: 0;
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.35;
}
.s7-heading p {
  max-width: 880px;
  margin: 16px auto 0;
  color: var(--s7-muted);
  font-size: 17px;
}

.s7-feature-grid,
.s7-premise-grid,
.s7-effect-grid {
  display: grid;
  gap: 24px;
}
.s7-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s7-premise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s7-effect-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.s7-feature-card,
.s7-premise-card,
.s7-check-panel,
.s7-copy-block,
.s7-era-card,
.s7-learning-focus,
.s7-image-card,
.s7-message-card,
.s7-book-card,
.s7-contact-box,
.s7-effect-card {
  background: var(--s7-card);
  border: 1px solid var(--s7-line);
  border-radius: var(--s7-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.s7-feature-card,
.s7-effect-card {
  overflow: hidden;
}
.s7-feature-card__media img,
.s7-effect-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.s7-feature-card__body,
.s7-effect-card__body,
.s7-message-card,
.s7-book-card,
.s7-contact-box,
.s7-copy-block,
.s7-check-panel,
.s7-learning-focus,
.s7-premise-card,
.s7-era-card {
  padding: 28px;
}

.s7-feature-card__label {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--s7-gold-soft);
  color: var(--s7-gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}
.s7-feature-card h3,
.s7-premise-card h3,
.s7-effect-card h3,
.s7-message-card h3,
.s7-book-card h3 {
  margin: 14px 0 0;
  font-size: 23px;
  line-height: 1.4;
}
.s7-feature-card__lead {
  margin: 10px 0 0;
  color: var(--s7-blue);
  font-weight: 700;
}
.s7-feature-card__body p:last-child { margin-top: 12px; color: var(--s7-muted); }

.s7-check-panel__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}
.s7-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.s7-check-grid li {
  position: relative;
  padding: 15px 16px 15px 48px;
  border-radius: 16px;
  background: var(--s7-bg);
  font-weight: 700;
}
.s7-check-grid li::before {
  content: "☑";
  position: absolute;
  left: 16px;
  top: 13px;
  color: var(--s7-blue);
  font-size: 22px;
  line-height: 1;
}

.s7-question-band {
  background: linear-gradient(135deg, #3e3310, #6f5d17);
  color: #fff;
}
.s7-question-band .s7-container {
  padding-top: 18px;
  padding-bottom: 18px;
}
.s7-question-band p {
  margin: 0;
  text-align: center;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 800;
  letter-spacing: .02em;
}

.s7-copy-block {
  font-size: 17px;
  color: #3c4450;
}

.s7-era-list {
  display: grid;
  gap: 18px;
}
.s7-era-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px 30px;
}
.s7-era-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 12px;
  border-radius: 18px;
  background: #faf8f1;
  border: 1px solid #e8e0cd;
}
.s7-era-card__icon img {
  width: 100%;
  max-width: 180px;
  max-height: 160px;
  object-fit: contain;
}
.s7-era-card__meta {
  color: #1f2328;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.45;
}
.s7-era-card__meta span {
  color: var(--s7-gold-dark);
  font-size: 16px;
  font-weight: 700;
}
.s7-era-card ul,
.s7-premise-card ul,
.s7-effect-card ul {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.s7-era-card li,
.s7-premise-card li,
.s7-effect-card li {
  position: relative;
  padding-left: 18px;
}
.s7-era-card li::before,
.s7-premise-card li::before,
.s7-effect-card li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--s7-gold-dark);
  font-weight: 700;
}
.s7-era-card p {
  margin: 14px 0 0;
  color: var(--s7-blue);
  font-weight: 700;
}
.s7-era-card--accent {
  border-color: #d6c36a;
  background: linear-gradient(180deg, #fffdf6 0%, #fff9ea 100%);
}

.s7-focus-band {
  margin: 0 auto 28px;
  max-width: 720px;
  padding: 16px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--s7-gold), var(--s7-gold-dark));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}
.s7-premise-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(47, 104, 148, .1);
  color: var(--s7-blue);
  font-size: 13px;
  font-weight: 800;
}
.s7-premise-card h3 span {
  color: var(--s7-red);
}
.s7-premise-card p {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid #ece6d5;
  color: #1f2328;
  font-weight: 700;
}

.s7-learning-focus { margin-top: 28px; }
.s7-learning-focus__title {
  margin-bottom: 24px;
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.4;
}
.s7-learning-focus__grid {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}
.s7-learning-focus__media {
  border-radius: 20px;
  overflow: hidden;
  background: #f8f5ec;
}
.s7-learning-focus__text p {
  margin: 0 0 16px;
  font-size: 17px;
}
.s7-learning-focus__text p:last-child { margin-bottom: 0; }

.mark {
  font-weight: 800;
  padding-bottom: 2px;
  border-bottom: 3px solid currentColor;
}
.mark--ink { color: #2f3135; }
.mark--mind { color: #b0174d; }
.mark--skill { color: #d98200; }

.s7-image-card {
  overflow: hidden;
  padding: 18px;
}
.s7-image-card img {
  width: 100%;
  border-radius: 16px;
}

.s7-arrow-band {
  position: relative;
  margin: 0 auto 28px;
  width: min(100%, 620px);
  padding: 18px 18px 26px;
  background: linear-gradient(135deg, #b68d1c, var(--s7-gold));
  color: #fff;
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: .04em;
  clip-path: polygon(0 0,100% 0,100% 66%,50% 100%,0 66%);
}
.s7-result-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
}
.s7-result-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 18px;
  border-radius: 22px;
  box-shadow: var(--s7-shadow);
  background: #fff;
}
.s7-result-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
}
.s7-result-bubbles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.s7-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 124px;
  padding: 18px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e3dbc8;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
}

.s7-effect-card__body h3 { font-size: 24px; }
.s7-effect-card__body ul { margin-top: 16px; }

.s7-message-grid,
.s7-book-grid,
.s7-contact-box {
  display: grid;
  gap: 26px;
  align-items: center;
}
.s7-message-grid,
.s7-book-grid {
  grid-template-columns: minmax(280px, .85fr) minmax(0, 1.15fr);
}
.s7-message-card p,
.s7-book-card p { margin: 16px 0 0; color: var(--s7-muted); }
.s7-book-caption {
  margin: 14px 6px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: #454d57;
}

.s7-contact-band {
  padding: 78px 0;
  background: linear-gradient(180deg, #faf7ef 0%, #f1ecdf 100%);
}
.s7-contact-box {
  grid-template-columns: minmax(0, 1fr) auto;
}
.s7-contact-box h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.35;
}
.s7-contact-box p {
  margin: 12px 0 0;
  color: var(--s7-muted);
}

.s7-footer {
  padding: 56px 0 26px;
  border-top: 1px solid #ece7db;
  text-align: center;
}
.s7-footer__logo {
  display: inline-block;
  margin-bottom: 28px;
}
.s7-footer__address {
  color: var(--s7-muted);
}
.s7-footer__nav {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 26px;
}
.s7-footer__nav a { color: #525a65; }
.s7-footer__copy {
  margin-top: 28px;
  color: #7a828d;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .s7-feature-grid,
  .s7-premise-grid,
  .s7-effect-grid,
  .s7-learning-focus__grid,
  .s7-result-layout,
  .s7-message-grid,
  .s7-book-grid,
  .s7-contact-box {
    grid-template-columns: 1fr;
  }

  .s7-result-bubbles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .s7-topbar__inner {
    min-height: 76px;
    gap: 14px;
  }
  .s7-topbar__logo img,
  .s7-footer__logo img {
    width: 182px;
  }
  .s7-button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }
  .s7-section {
    padding: 64px 0;
  }
  .s7-feature-grid,
  .s7-premise-grid,
  .s7-effect-grid,
  .s7-check-grid,
  .s7-result-bubbles {
    grid-template-columns: 1fr;
  }
  .s7-feature-card__body,
  .s7-effect-card__body,
  .s7-message-card,
  .s7-book-card,
  .s7-contact-box,
  .s7-copy-block,
  .s7-check-panel,
  .s7-learning-focus,
  .s7-premise-card,
  .s7-era-card {
    padding: 22px;
  }
  .s7-question-band p {
    font-size: 18px;
    white-space: normal;
  }
  .s7-era-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .s7-era-card__icon {
    min-height: 104px;
  }
  .s7-era-card__icon img {
    max-width: 78px;
    max-height: 78px;
  }
  .s7-era-card__meta {
    font-size: 19px;
  }
  .s7-era-card__meta span {
    display: block;
    margin-top: 4px;
  }
  .s7-era-card li,
  .s7-premise-card li,
  .s7-effect-card li {
    text-align: left;
  }
  .s7-focus-band {
    font-size: 18px;
    padding: 14px 16px;
    border-radius: 20px;
  }
  .s7-arrow-band {
    font-size: 22px;
  }
  .s7-bubble {
    min-height: auto;
    border-radius: 20px;
  }
  .s7-contact-box {
    text-align: center;
    justify-items: center;
  }
}
