@charset "utf-8";
/* コンテンツの配色・比較表・詳細リンク
 * 編集先の案内: ../CSS_MAINTENANCE.md
 * 各章の順序はカスケードを維持するため固定。日付・改修番号のCSSを追加しない。
 */

/* ===== SECTION 01 | 移行元: revision.css ===== */
/* REV19：指定されたTOPの配色・比較表と、STORYの事例・図解だけを調整。 */
.page-top #empathy {
  background: #fff;
}

.page-top #empathy .coverage-pair {
  border-color: #e1e5e9;
}

.page-top #empathy .coverage-pair > article:first-child {
  background: #f7f8f9;
}

.page-top #empathy .coverage-existing-title {
  font-size: 16px;
  color: #657483;
  font-weight: 600;
}

.page-top #empathy .coverage-pair > article:nth-child(2) {
  background: rgb(255, 250, 227);
  border-color: #e8cd70;
}

.page-top #empathy .coverage-new-label {
  background: #fff6cf;
  border-color: #d6ac3f;
  color: #73551c;
}

.page-top #phoneComparison {
  border-top: 0;
}

.page-top #phoneComparison > .comparison-scroll {
  border: 0;
  border-radius: 0;
}

.page-top #phoneComparison .comparison-caption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.8;
  color: #52677f;
  text-align: left;
}

.story-main-case-intro {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
}

.story-case-photo img {
  height: 220px;
  object-position: 48% center;
}

.story-main-case h4 {
  font-size: 21px;
  line-height: 1.8;
}

.story-main-case-text {
  padding: 0 24px 24px;
  font-size: 14px;
  line-height: 1.95;
}

.story-main-case-text p + p {
  margin-top: 12px;
}

.story-main-case > .story-source {
  padding-top: 0;
}

/* 添付の構成：3者、右から左への提案、ひとつの短い問い。 */
.business-model-simple {
  overflow-x: auto;
}

.business-model-canvas {
  min-width: 660px;
}

.simple-contracts {
  display: grid;
  grid-template-columns: 1fr .9fr 1fr .9fr 1fr;
  gap: 10px;
  align-items: center;
  padding: 24px 22px 18px;
  background: #fff;
  border: 1px solid #dce4e9;
  border-radius: 8px;
}

.simple-actor {
  text-align: center;
  align-self: start;
}

.simple-actor img {
  display: block;
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.simple-actor > p {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
}

.simple-connector {
  text-align: center;
  color: #234a6a;
}

.simple-connector p {
  font-size: 14px;
  line-height: 1.8;
}

.simple-connector small {
  font-size: 13px;
}

.simple-connector > span {
  display: block;
  font-size: 36px;
  line-height: 1.4;
  font-weight: 400;
  color: #7695ad;
}

.simple-return {
  position: relative;
  height: 88px;
  text-align: center;
}

.simple-return-line {
  position: absolute;
  left: 11%;
  right: 11%;
  top: -10px;
  height: 48px;
  border: solid #d84642;
  border-width: 0 3px 3px;
}

.simple-return-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -8px;
  width: 12px;
  height: 12px;
  border: solid #d84642;
  border-width: 3px 0 0 3px;
  transform: rotate(45deg);
}

.simple-return > p {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  padding-inline: 12px;
  background: #f6f3ee;
  color: #c93836;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.65;
}

.simple-return > p > span {
  font-size: 15px;
}

.simple-question {
  display: inline-block;
  margin: 8px 0 0;
  padding: 10px 20px;
  border: 1px solid #cfdfeb;
  border-radius: 28px;
  background: #eef6fc;
  font-size: 16px;
  color: #264a65;
}

@media (max-width: 600px) {
  .story-main-case-intro {
    grid-template-columns: 1fr;
  }

  .story-case-photo img {
    height: auto;
    aspect-ratio: 1.5;
  }

  .story-main-case h4 {
    font-size: 19px;
  }

  .story-main-case-text {
    padding-inline: 20px;
  }
}


/* ===== SECTION 02 | 移行元: chair.css ===== */
/* 会長要望R1：対象箇所だけを調整。 */
.link-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  margin-left: .4em;
  vertical-align: -.12em;
  overflow: visible;
}

button[data-open] {
  --link-icon-fill: #fff;
}

.hero-world button[data-open] {
  --link-icon-fill: #fff2ce;
}

.story-context-link button {
  --link-icon-fill: #fcfcfa;
}

summary {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
}

summary::marker {
  content: '';
}

summary::-webkit-details-marker {
  display: none;
}

summary > .link-icon-expand {
  width: 18px;
  height: 18px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform .18s ease;
}

details[open] > summary > .link-icon-expand[aria-hidden="true"]:last-child {
  transform: rotate(180deg);
}

.accordion > summary > .link-icon-expand {
  width: 20px;
  height: 20px;
}

.chart-data summary {
  justify-content: flex-start;
}

.chart-data summary > .link-icon-expand {
  margin-left: 4px;
}

.story-section-kicker {
  margin-bottom: 16px;
  color: #496775;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .035em;
}

.story-closing-value {
  font-weight: 600;
}

.benefit-definition {
  margin: 0 auto 24px;
  max-width: 760px;
  color: #8b4c17;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

.primary-nav {
  flex-wrap: nowrap;
  gap: clamp(16px, 1.8vw, 30px);
}

.smart-header {
  gap: 22px;
}

.scope-table-full {
  margin: 18px 0;
}

.scope-table-full .scope-table-viewport {
  height: auto;
  overflow: visible;
}

/* R02：写真・説明・金額と詳細ボタンを3つのまとまりにする。 */
.hero-world .hero-phone-benefit {
  grid-template-columns: 154px minmax(0, 1fr) auto;
  grid-template-areas: 'photo copy actions' 'note note note';
  gap: 18px 28px;
  margin-bottom: 0;
  align-items: center;
}

.hero-world .hero-benefit-photo {
  width: 154px;
  height: 118px;
  object-fit: cover;
}

.hero-world .hero-benefit-copy h2 {
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.65;
}

.hero-world .hero-benefit-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid #e9d5a7;
}

.hero-world .hero-phone-limit {
  white-space: nowrap;
  margin: 0;
}

.hero-world .hero-phone-limit strong {
  font-size: 17px;
  line-height: 1.4;
}

.hero-world .hero-phone-limit em {
  font-size: 42px;
}

.hero-world .hero-limit-amount::before {
  display: none;
}

.hero-world .hero-limit-count {
  margin-top: 3px;
  font-size: 13px;
}

.hero-world .hero-phone-benefit .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 13px;
  justify-self: start;
}

.hero-world .hero-benefit-note {
  margin-top: 0;
  font-size: 13px;
  line-height: 1.75;
}

.page-top #trust {
  padding-bottom: 44px;
}

.page-top #story-teaser {
  padding-block: 44px;
}

.page-top #decision {
  padding-top: 44px;
}

@media (min-width: 901px) and (max-width: 1180px) {
  .smart-header {
    gap: 14px;
    padding-inline: 20px;
  }

  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .header-apply {
    padding-inline: 14px;
    font-size: 13px;
  }

  .smart-header .brand-logo {
    width: 180px;
  }

  .hero-world .hero-phone-benefit {
    grid-template-columns: 128px minmax(0, 1fr) auto;
    gap: 16px 20px;
  }

  .hero-world .hero-benefit-photo {
    width: 128px;
  }

  .hero-world .hero-benefit-actions {
    padding-left: 18px;
  }
}

@media (max-width: 760px) {
  .hero-world .hero-phone-benefit {
    grid-template-columns: 120px minmax(0, 1fr);
    grid-template-areas: 'photo copy' 'actions actions' 'note note';
    gap: 16px;
  }

  .hero-world .hero-benefit-photo {
    width: 120px;
    height: 110px;
  }

  .hero-world .hero-benefit-actions {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid #e9d5a7;
  }

  .hero-world .hero-phone-benefit .text-link {
    min-height: 44px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px 24px;
    justify-content: center;
  }

  .footer-nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 900px) {

  .page-top .primary-nav,
  .story-page .primary-nav {
    display: none;
  }
}

@media (max-width: 600px) {
  .smart-header {
    gap: 12px;
  }

  .hero-world .hero-phone-benefit {
    grid-template-columns: minmax(90px, .8fr) minmax(0, 1.5fr);
    gap: 14px 16px;
  }

  .hero-world .hero-benefit-photo {
    width: 100%;
    height: 110px;
  }

  .hero-world .hero-benefit-copy h2 {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-world .hero-benefit-copy h2 br {
    display: none;
  }

  .hero-world .hero-phone-limit strong {
    font-size: 15px;
  }

  .hero-world .hero-phone-limit em {
    font-size: 36px;
  }

  .hero-world .hero-phone-benefit .text-link {
    font-size: 12px;
  }

  .hero-world .hero-benefit-note {
    font-size: 13px;
  }

  .benefit-definition {
    font-size: 16px;
    text-align: left;
  }

  .story-section-kicker {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  summary > .link-icon-expand {
    transition: none;
  }
}