/* ============================================================
   EIDOS 製品ページ 専用スタイル
   ============================================================ */

.eidos {
  color: #111111;
  font-family: "Noto Sans JP", メイリオ, meiryo, sans-serif;
  background: #ffffff;
}

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

.eidos :where(h1, h2, h3, p, ul) {
  margin: 0;
}

.eidos :where(ul) {
  padding: 0;
  list-style: none;
}

.eidos :where(a) {
  text-decoration: none;
}

.eidos :where(img) {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 共通コンテナ / セクション */
.eidos-container {
  box-sizing: content-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.eidos-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.eidos-section-heading {
  display: grid;
  gap: 16px;
}

.eidos-section-heading__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.eidos-section-heading__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #111111;
}

.eidos-eyebrow {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #111111;
}

/* 共通ボタン */
.eidos-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 32px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.eidos-button:hover {
  opacity: 0.78;
}

.eidos-button--primary {
  color: #ffffff;
  background: #121212;
}

.eidos-button--secondary {
  color: #111111;
  background: #ffffff;
  border: 2px solid #000000;
}

/* 共通チェックリスト */
.eidos-check-list {
  display: grid;
  gap: 12px;
}

.eidos-check-list li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
  color: #111111;
}

.eidos-check-list img {
  width: 24px;
  height: 24px;
}

/* ============================================================
   1. ヒーロー
   ============================================================ */
.eidos-hero {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #ffffff;
}

.eidos-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 578px) minmax(0, 588px);
  align-items: center;
  gap: 32px;
}

.eidos-hero__body {
  display: grid;
  gap: 24px;
}

.eidos-hero__heading {
  display: grid;
  gap: 10px;
}

.eidos-hero__title {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.3;
  color: #111111;
}

.eidos-hero__sub {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: #111111;
}

.eidos-hero__lead {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #111111;
}

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

.eidos-hero__stats {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 65px;
}

.eidos-hero-stat {
  display: grid;
  gap: 12px;
}

.eidos-hero-stat--center {
  text-align: center;
}

/* モバイルのみ改行する <br> */
.eidos-br-sp {
  display: none;
}

.eidos-hero-stat__value {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #111111;
}

.eidos-hero-stat__value .eidos-hero-stat__num {
  font-size: 32px;
  font-weight: 600;
}

.eidos-hero-stat__value .eidos-hero-stat__unit {
  font-size: 18px;
  font-weight: 600;
}

.eidos-hero-stat__label {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #111111;
}

.eidos-hero__visual img {
  width: 588px;
  max-width: 100%;
}

/* ============================================================
   2. 導入ロゴ
   ============================================================ */
.eidos-logos {
  padding-bottom: 32px;
  background: #ffffff;
}

.eidos-logos__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #111111;
}

/* ロゴはTOPと同じ横スライドショー（.logo-loop / custom-style.css）を流用 */
.eidos-logos .logo-loop {
  margin-top: 24px;
}

/* ============================================================
   3. 課題提起
   ============================================================ */
.eidos-problem {
  background: #f4f4f4;
}

.eidos-problem__inner {
  display: grid;
  gap: 48px;
}

.eidos-problem__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.eidos-problem-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 8px;
  background: #ffffff;
}

.eidos-problem-card__icon {
  flex: 0 0 175px;
  width: 175px;
  height: 170px;
  padding: 36px;
  border-radius: 5px;
  object-fit: contain;
  background: linear-gradient(180deg, #f4f4f4 0%, #ffffff 100%);
}

.eidos-problem-card__body {
  display: grid;
  gap: 10px;
}

.eidos-problem-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-problem-card__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #666666;
}

/* ============================================================
   4. 5ステップ
   ============================================================ */
.eidos-steps {
  background: #ffffff;
}

.eidos-steps__inner {
  display: grid;
  gap: 48px;
}

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

.eidos-step {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, #eef1f6 0%, #ffffff 100%);
}

.eidos-step__label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.04em;
  color: #727a80;
}

.eidos-step__icon {
  width: 32px;
  height: 32px;
}

.eidos-step__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-step__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #111111;
}

/* ============================================================
   5. 4画面タブ
   ============================================================ */
.eidos-screens {
  background: #f4f4f4;
}

.eidos-screens__inner {
  display: grid;
  gap: 48px;
}

.eidos-tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eidos-tab {
  padding: 12px 24px;
  border: 1px solid #cccccc;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.eidos-tab.is-active {
  background: #111417;
  border-color: #111417;
  color: #ffffff;
}

.eidos-tabs__panel {
  display: none;
  margin-top: 24px;
}

.eidos-tabs__panel.is-active {
  display: block;
}

.eidos-tab-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 589px);
  align-items: center;
  gap: 24px;
  padding: 0 32px;
  border-radius: 16px;
  background: #ffffff;
}

.eidos-tab-content__body {
  display: grid;
  gap: 16px;
}

.eidos-tab-content__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-tab-content__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #111111;
}

/* テキストのみタブ（モック画像なし）は1カラム表示 */
.eidos-tab-content--textonly {
  grid-template-columns: minmax(0, 1fr);
}

/* ============================================================
   6. 活用シーン
   ============================================================ */
.eidos-usecases {
  background: #ffffff;
}

.eidos-usecases__inner {
  display: grid;
  gap: 48px;
}

.eidos-usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.eidos-usecase-card {
  display: grid;
  grid-template-columns: 159px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.eidos-usecase-card__thumb {
  border-radius: 4px;
  overflow: hidden;
  background: #d9d9d9;
}

.eidos-usecase-card__thumb img {
  width: 100%;
  aspect-ratio: 159 / 145;
  object-fit: cover;
}

.eidos-usecase-card__body {
  display: grid;
  gap: 8px;
}

.eidos-usecase-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-usecase-card__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #111111;
}

/* ============================================================
   7. 導入事例
   ============================================================ */
.eidos-cases {
  background: #f4f4f4;
}

.eidos-cases__inner {
  display: grid;
  gap: 48px;
}

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

.eidos-case-card {
  display: grid;
  align-content: start;
  gap: 32px;
  padding: 16px;
  border-radius: 0 0 16px 16px;
  background: #ffffff;
}

.eidos-case-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Figma EL-1519dabc: 見出しと本文は 12px 間隔 */
.eidos-case-card__body {
  display: grid;
  gap: 12px;
}

.eidos-case-card__logo {
  width: auto;
  height: 45px;
  object-fit: contain;
}

/* Figma上でロゴが未確定のためプレースホルダー。確定するまでPC・モバイルとも非表示にする。
   実ロゴが決まったら img に差し替えてこの指定を外す */
.eidos-case-card__logo--placeholder {
  display: none;
  flex: 0 0 112.5px;
  width: 112.5px;
  height: 45px;
  background: #000000;
}

.eidos-case-card__meta {
  display: grid;
  gap: 4px;
}

.eidos-case-card__company {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.eidos-case-card__field {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: #666666;
}

.eidos-case-card__result {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-case-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #666666;
}

/* ============================================================
   8. 料金
   ============================================================ */
.eidos-pricing {
  background: #ffffff;
}

.eidos-pricing__inner {
  display: grid;
  gap: 32px;
}

.eidos-unit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-radius: 12px;
  background: #f4f4f4;
}

.eidos-unit__lead {
  display: grid;
  gap: 12px;
}

.eidos-unit__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
  color: #111111;
}

.eidos-unit__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #666666;
}

.eidos-unit__note {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #858484;
}

.eidos-unit__rates {
  display: grid;
  gap: 12px;
}

.eidos-unit-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 8px;
  background: #ffffff;
}

.eidos-unit-rate span,
.eidos-unit-rate strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #111111;
}

.eidos-unit-rate strong {
  white-space: nowrap;
}

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

.eidos-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0 0 24px;
  border: 1px solid #e7eaec;
  border-radius: 12px;
  background: #ffffff;
}

/* overflow:hidden を使わず、ヘッダー上角を丸める。
   バッジ（top:-10px でカード上端からはみ出す）がクリップされないようにするため */
.eidos-plan__head {
  position: relative;
  padding: 20px 24px;
  border-radius: 12px 12px 0 0;
  background: #111417;
  text-align: center;
}

.eidos-plan__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.eidos-plan__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border-radius: 999px;
  background: #1553fa;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}

.eidos-plan__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 0 24px;
}

.eidos-plan__amount {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: #111111;
}

.eidos-plan__amount--sm {
  font-size: 28px;
}

.eidos-plan__tax {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: #666666;
}

.eidos-plan__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.eidos-plan__unitprice {
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #111111;
}

.eidos-plan__sub {
  padding: 0 24px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: #666666;
}

.eidos-plan__volume {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  color: #111111;
}

.eidos-plan__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* margin-top:auto で内容量に関わらずボタンをカード下端に揃える */
  margin: auto 24px 0;
  padding: 12px 24px;
  border: 1px solid #000000;
  border-radius: 40px;
  background: #ffffff;
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease;
}

.eidos-plan__button--primary {
  background: #000000;
  color: #ffffff;
}

.eidos-plan__button:hover {
  opacity: 0.78;
}

.eidos-pricing__note {
  padding: 16px 24px;
  border-radius: 8px;
  background: #f4f4f4;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #666666;
}

.eidos-pricing__note strong {
  color: #111111;
  font-weight: 700;
}

.eidos-options {
  display: grid;
  gap: 24px;
}

/* Figma 4841:7129: 1枚のみ・左に説明／右に価格の横並び */
.eidos-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 16px 32px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  background: #ffffff;
}

.eidos-option__body {
  display: grid;
  gap: 4px;
}

.eidos-option__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: #111111;
}

.eidos-option__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #666666;
}

.eidos-option__price {
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.4;
  color: #111111;
}

/* ============================================================
   9. FAQ
   ============================================================ */
.eidos-faq {
  background: #f4f4f4;
}

.eidos-faq__inner {
  display: grid;
  justify-items: center;
  gap: 48px;
}

.eidos-faq__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  color: #111111;
}

.eidos-faq__list {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 800px;
}

.eidos-faq-item {
  padding: 0 24px;
  border-radius: 8px;
  background: #ffffff;
}

.eidos-faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #111111;
  cursor: pointer;
  list-style: none;
}

.eidos-faq-item__q::-webkit-details-marker {
  display: none;
}

.eidos-faq-item__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.eidos-faq-item[open] .eidos-faq-item__icon {
  transform: rotate(180deg);
}

.eidos-faq-item__answer {
  padding: 0 0 16px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #666666;
}

/* ============================================================
   10. CTA
   ============================================================ */
.eidos-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111111;
}

.eidos-cta::before,
.eidos-cta::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.eidos-cta::before {
  z-index: 0;
  background-image: url("../images/eidos/eidos-cta-bg.webp");
  background-position: center;
  background-size: cover;
}

.eidos-cta::after {
  z-index: 1;
  background: rgba(0, 0, 0, 0.6);
}

.eidos-cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 48px;
}

.eidos-cta__heading {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.eidos-cta__title {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
}

.eidos-cta__text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: #cccccc;
}

.eidos-cta__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.eidos-cta-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 24px 32px;
  border-radius: 8px;
  background: #ffffff;
}

.eidos-cta-card__title {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  color: #111111;
}

.eidos-cta-card__text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.8;
  color: #111111;
}

.eidos-cta-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 24px;
  border: 1px solid #000000;
  border-radius: 40px;
  background: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.2s ease;
}

.eidos-cta-card__button:hover {
  opacity: 0.78;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media screen and (max-width: 1199.98px) {
  .eidos-hero__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .eidos-hero__visual {
    justify-self: center;
  }

  .eidos-steps__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media screen and (max-width: 767.98px) {
  .eidos-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

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

  .eidos-hero__title {
    font-size: 34px;
  }

  .eidos-section-heading__title,
  .eidos-faq__title {
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  /* 課題カードはモバイルで縦積み。アイコン枠は全幅に */
  .eidos-problem-card {
    flex-direction: column;
    align-items: stretch;
  }

  .eidos-problem-card__icon {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
  }

  .eidos-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .eidos-button {
    width: 100%;
  }

  /* モバイルでも3項目を1行に並べる */
  .eidos-hero__stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .eidos-hero-stat {
    min-width: 0;
  }

  .eidos-hero-stat__label {
    font-size: 12px;
  }

  .eidos-hero-stat__value {
    font-size: 30px;
  }

  .eidos-br-sp {
    display: inline;
  }

  .eidos-problem__grid,
  .eidos-usecases__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eidos-steps__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .eidos-tab {
    padding: 12px 16px;
    font-size: 14px;
  }

  .eidos-tab-content {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  .eidos-tab-content__title {
    font-size: 20px;
  }

  .eidos-usecase-card__title {
    font-size: 16px;
  }

  .eidos-case-card__result {
    font-size: 20px;
  }

  .eidos-faq-item__q {
    font-size: 16px;
  }

  .eidos-usecase-card__text {
    font-size: 14px;
    line-height: 1.5;
  }

  .eidos-cases__grid,
  .eidos-options,
  .eidos-cta__cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .eidos-unit {
    grid-template-columns: minmax(0, 1fr);
    padding: 24px;
  }

  /* 「1時間あたり1ユニットを消費」が nowrap で横溢れするため縦積みにする */
  .eidos-unit-rate {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .eidos-unit-rate strong {
    white-space: normal;
  }

  .eidos-unit-rate span,
  .eidos-unit-rate strong {
    font-size: 14px;
  }

  /* オプションも同様に縦積み */
  .eidos-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .eidos-plans {
    grid-template-columns: minmax(0, 1fr);
  }

  .eidos-cta__title {
    font-size: 26px;
  }
}
