@charset "UTF-8";

/* =========================
  Base
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  color: #1f2f31;
  background: #f3f0ea;
  line-height: 1.9;
  letter-spacing: 0.05em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.pc-only {
  display: inline;
}

.section {
  padding: 120px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto;
}

.section-label {
  margin: 0 0 26px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #8a7a67;
}

.section-title {
  margin: 0;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.08em;
}

.section-text {
  margin: 34px 0 0;
  font-size: 15px;
  line-height: 2.2;
  color: #3f4a4c;
}

/* =========================
  FV
========================= */

.lineup-fv {
  position: relative;
  height: 92vh;
  min-height: 660px;
  overflow: hidden;
  background: #111;
}

.lineup-fv__bg {
  position: absolute;
  inset: 0;
}

.lineup-fv__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48) 0%,
      rgba(0, 0, 0, 0.32) 42%,
      rgba(0, 0, 0, 0.06) 100%
    );
}

.lineup-fv__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lineup-fv__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 56px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.lineup-fv__label {
  margin: 0 0 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
}

.lineup-fv__title {
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.08em;
}

.lineup-fv__lead {
  margin: 38px 0 0;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 500;
  line-height: 2.1;
}

/* =========================
  Flow
========================= */

.lineup-flow {
  background: #f3f0ea;
}

.lineup-flow__inner {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.lineup-flow__text {
  position: relative;
  z-index: 2;
}

.lineup-flow__image {
  position: relative;
  z-index: 1;
}

.lineup-flow__image img {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

/* =========================
  Triple-cross
========================= */

.triple-cross {
  background: #fff;
  padding: 120px 20px;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.triple-cross__inner {
  text-align: center;
}

.triple-cross__logo {
  display: flex;
  justify-content: center;
  margin: 40px auto 48px;
}

.triple-cross__logo img {
  display: block;
  width: min(360px, 72vw);
  height: auto;
}

.triple-cross__text {
  font-size: 15px;
  line-height: 2.2;
  color: #1f3438;
}

.triple-cross__text p + p {
  margin-top: 28px;
}

/* =========================
  Cards
========================= */

.lineup-cards {
  background: #fff;
}

.lineup-cards .section-label,
.lineup-cards .section-title {
  text-align: center;
}

.lineup-card-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 70px;
}

.lineup-card {
  background: #fff;
  border: 1px solid #e3ded6;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.lineup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(31, 47, 49, 0.12);
}

.lineup-card a {
  display: block;
  height: 100%;
}

.lineup-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}

.lineup-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.lineup-card:hover .lineup-card__image img {
  transform: scale(1.04);
}

.lineup-card__body {
  padding: 34px 30px 38px;
}

.lineup-card__logo {
  width: auto;
  max-width: 180px;
  height: 48px;
  margin-bottom: 28px;
  object-fit: contain;
  object-position: left center;
}

.lineup-card__logo--concept {
  height: 60px;
}

.lineup-card__logo--sclass {
  height: 60px;
}

.lineup-card__body h3 {
  margin: 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.05em;
}

.lineup-card__body p {
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 2;
  color: #4b5658;
}

.lineup-card__link {
  display: inline-block;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 600;
  color: #6d929f;
  border-bottom: 1px solid currentColor;
}

/* =========================
  Compare
========================= */

.lineup-compare {
  background: #f3f0ea;
}

.lineup-compare .section-label,
.lineup-compare .section-title {
  text-align: center;
}

.compare-table-wrap {
  margin-top: 64px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 21px 22px;
  border: 1px solid #ded7ce;
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  font-weight: 600;
  color: #fff;
  background: #263231;
  white-space: nowrap;
}

.compare-table thead th:nth-child(2) {
  background: #8fb3c1;
  color: #fff;
}

.compare-table thead th:nth-child(3) {
  background: #263231;
  color: #fff;
}

.compare-table thead th:nth-child(4) {
  background: #111;
  color: #fff;
}

.compare-table tbody th {
  width: 23%;
  font-weight: 600;
  background: #eee9e1;
}

.compare-table tbody td:nth-child(2) {
  background: #f4f9fb;
}

.compare-table tbody td:nth-child(3) {
  background: #fbfaf7;
}

.compare-table tbody td:nth-child(4) {
  background: #f5f5f5;
}

.compare-table td {
  color: #3f4d50;
}

/* =========================
  Next
========================= */

.lineup-next {
  text-align: center;
  background: #fff;
}

.lineup-next-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 56px;
}

.lineup-next-links a {
  min-width: 230px;
  padding: 17px 30px;
  border: 1px solid #263231;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.35s ease, color 0.35s ease;
}

.lineup-next-links a:hover {
  background: #263231;
  color: #fff;
}

/* =========================
  Footer
========================= */

.site-footer {
  padding: 110px 24px 90px;
  text-align: center;
  background: #f3f0ea;
}

.site-footer__text {
  margin: 0 0 34px;
  font-size: 14px;
  color: #4c4034;
}

.site-footer__logo {
  display: inline-block;
}

.site-footer__logo img {
  width: 240px;
  margin: 0 auto;
}

/* =========================
  Responsive
========================= */

@media (max-width: 900px) {
  .section {
    padding: 90px 0;
  }

  .lineup-flow__inner {
    grid-template-columns: 1fr;
    gap: 52px;
    text-align: center;
  }

  .lineup-flow__image img {
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .pc-only {
    display: none;
  }

  .section-inner {
    width: min(100% - 32px, 560px);
  }

  .section {
    padding: 76px 0;
  }

  .section-title {
    font-size: 27px;
    font-weight: 500;
    line-height: 1.75;
  }

  .section-text {
    font-size: 14px;
    line-height: 2.05;
  }

  .lineup-fv {
    height: 86vh;
    min-height: 560px;
  }

  .lineup-fv__bg::after {
    background:
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.52) 100%
      );
  }

  .lineup-fv__content {
    width: calc(100% - 40px);
    justify-content: flex-end;
    padding-bottom: 88px;
  }

  .lineup-fv__title {
    font-size: 40px;
    font-weight: 500;
    line-height: 1.45;
  }

  .lineup-fv__lead {
    font-size: 14px;
  }

  .lineup-flow__inner {
    gap: 42px;
  }

  .lineup-flow__image img {
    max-width: 420px;
  }

  .triple-cross {
    padding: 88px 20px;
  }

  .triple-cross__logo {
    margin: 28px auto 40px;
  }

  .triple-cross__logo img {
    width: min(260px, 62vw);
  }
  
  .triple-cross__text {
    font-size: 14px;
    line-height: 2.1;
  }

  /* 3カードはスマホでも上下関係を作らず横スワイプ */
  .lineup-card-list {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    margin-top: 48px;
    margin-inline: -16px;
    padding: 0 16px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .lineup-card-list::-webkit-scrollbar {
    height: 5px;
  }

  .lineup-card-list::-webkit-scrollbar-thumb {
    background: #c9c0b5;
    border-radius: 999px;
  }

  .lineup-card {
    flex: 0 0 82%;
    max-width: none;
    scroll-snap-align: center;
  }

  .lineup-card:hover {
    transform: none;
    box-shadow: none;
  }

  .lineup-card__body {
    padding: 30px 24px 34px;
  }

  .lineup-card__body h3 {
    font-size: 19px;
    font-weight: 500;
  }

  .lineup-card__logo {
    height: 42px;
  }

  .lineup-card__logo--concept,
  .lineup-card__logo--sclass {
    height: 52px;
  }

  .compare-table-wrap {
    margin-top: 44px;
  }

  .compare-table {
    min-width: 820px;
    font-size: 13px;
  }

  .compare-table th,
  .compare-table td {
    padding: 16px 18px;
  }

  .compare-table thead th {
    font-size: 13px;
  }

  .compare-table tbody th {
    min-width: 150px;
  }

  .lineup-next-links {
    flex-direction: column;
    align-items: center;
  }

  .lineup-next-links a {
    width: 100%;
    max-width: 330px;
  }

  .site-footer {
    padding: 84px 24px 72px;
  }

  .site-footer__logo img {
    width: 210px;
  }
}