/* ============================================================
   ============================================================ */

.page-tokyo-reform-about {
  --tr-about-color-body: #6F7C85;
  --tr-about-highlight-bg: #FDF6EE;
  --tr-about-tag-bg: #F4F6F8;
}

.page-tokyo-reform-about .tr-section--gray {
  background-color: #F4F6F8;
}

.tr-global-nav__link--current {
  color: var(--color-accent);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.tr-br-pc {
  display: inline;
}

.tr-br-sp {
  display: none;
}

/* ------------------------------------------------------------
   ------------------------------------------------------------ */
.tr-about-heading {
  margin-bottom: 40px;
}

.tr-about-heading--center {
  text-align: center;
}

.tr-about-heading__label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.tr-about-heading__title {
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing);
  color: var(--color-main);
}

.tr-about-heading__lead {
  margin-top: 16px;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}


/* ------------------------------------------------------------
   PageHero
   ------------------------------------------------------------ */
.tr-page-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(360px, 42vw, 520px);
  overflow: hidden;
}

.tr-page-hero__media {
  position: absolute;
  inset: 0;
}

.tr-page-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.tr-page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(23, 32, 51, 0.96) 0%,
    rgba(23, 32, 51, 0.88) 38%,
    rgba(23, 32, 51, 0.35) 62%,
    rgba(23, 32, 51, 0) 100%
  );
}

.tr-page-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 80px;
}

.tr-page-hero__label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.tr-page-hero__heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing);
  color: var(--color-white);
}

.tr-page-hero__break::before {
  content: "";
}


/* ------------------------------------------------------------
   ------------------------------------------------------------ */
.page-tokyo-reform-about .tr-about-comparison {
  background-color: var(--color-bg-light);
}

.tr-comparison-card {
  background-color: transparent;
  padding: 0;
}

.tr-comparison-card .tr-about-heading {
  margin-bottom: 32px;
}


/* ------------------------------------------------------------
   ComparisonTable
   ------------------------------------------------------------ */
.tr-comparison-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 4px 24px rgba(23, 32, 51, 0.08);
}

.tr-comparison-table-scroll-hint {
  display: none;
}

.tr-comparison-card .tr-comparison-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 16px;
  line-height: var(--line-height);
  background-color: var(--color-white);
}

.tr-comparison-card .tr-comparison-table th,
.tr-comparison-card .tr-comparison-table td {
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  vertical-align: middle;
  text-align: left;
}

.tr-comparison-card .tr-comparison-table thead th {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: var(--letter-spacing);
}

.tr-comparison-card .tr-comparison-table__axis,
.tr-comparison-card .tr-comparison-table tbody th {
  width: 14%;
  background-color: var(--color-main);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  white-space: nowrap;
}

.tr-comparison-card .tr-comparison-table thead .tr-comparison-table__axis {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.tr-comparison-card .tr-comparison-table thead .tr-comparison-table__general-head,
.tr-comparison-card .tr-comparison-table tbody td:not(.tr-comparison-table__highlight) {
  width: 38%;
  background-color: var(--color-bg-light);
  color: rgba(111, 124, 133, 0.9);
  font-weight: 400;
}

.tr-comparison-card .tr-comparison-table thead .tr-comparison-table__general-head {
  color: rgba(23, 32, 51, 0.55);
  font-weight: 500;
}

.tr-comparison-card .tr-comparison-table thead .tr-comparison-table__highlight-head {
  width: 48%;
  background-color: var(--color-main);
  color: var(--color-accent);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.12);
}

.tr-comparison-card .tr-comparison-table__highlight {
  width: 48%;
  background-color: var(--color-main);
  color: var(--color-white);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.12);
}

.tr-comparison-card .tr-comparison-table__value {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-white);
}

.tr-comparison-card .tr-comparison-table__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background-color: var(--color-white);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
}

.tr-comparison-card .tr-comparison-table__check::before {
  content: "✓";
}


/* ------------------------------------------------------------
   What is Tokyo Reform
   ------------------------------------------------------------ */
.tr-about-what__layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.tr-about-what__body {
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}

.tr-about-what__body p + p {
  margin-top: 1.5em;
}

.tr-about-what__body strong {
  font-weight: 700;
  color: var(--color-main);
}

.tr-about-what__visual {
  margin: 0;
}

.tr-about-what__image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}


/* ------------------------------------------------------------
   Operated by Tokyo Design
   ------------------------------------------------------------ */
.tr-about-operated__lead {
  max-width: 800px;
  margin-bottom: 48px;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}

.tr-about-operated__lead p + p {
  margin-top: 1.5em;
}

.tr-about-steps-wrap {
  width: 100%;
}

.tr-about-steps__pagination {
  display: none;
}

.tr-about-steps {
  --tr-step-card-width: 240px;
  --tr-step-arrow-min: 28px;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tr-about-steps__item {
  flex: 0 0 var(--tr-step-card-width);
  max-width: var(--tr-step-card-width);
}

.tr-about-step-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  min-height: 140px;
  padding: 28px 24px;
  background-color: var(--color-main);
  border-radius: 2px;
}

.tr-about-step-card__number {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.tr-about-step-card__title {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing);
  color: var(--color-white);
}

.tr-about-steps__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: var(--tr-step-arrow-min);
  align-self: center;
  color: var(--color-accent);
}

.tr-about-steps__arrow svg {
  width: 22px;
  height: 22px;
}

.tr-about-note {
  margin-top: 32px;
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}


/* ------------------------------------------------------------
   BusinessCard
   ------------------------------------------------------------ */
.tr-business-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.tr-business-card {
  padding: 32px 28px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 2px;
}

.tr-business-card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing);
  color: var(--color-main);
  margin-bottom: 12px;
  word-break: keep-all;
}

.tr-business-card__text {
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}

.tr-about-supplement {
  padding: 24px 28px;
  background-color: var(--color-bg-light);
  border-left: 3px solid var(--color-main);
  border-radius: 0 2px 2px 0;
}

.tr-about-supplement p {
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}


/* ------------------------------------------------------------
   ScopeTag
   ------------------------------------------------------------ */
.tr-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 20px;
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.tr-scope-tag {
  display: inline-flex;
  align-items: center;
  padding: 11px 18px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-main);
  border: 1px solid rgba(23, 32, 51, 0.22);
  border-radius: 2px;
  background-color: var(--tr-about-tag-bg);
  cursor: default;
}

.tr-about-scope__note {
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
  margin-bottom: 32px;
}

.tr-about-scope__action {
  display: flex;
}

.tr-cta-btn--arrow {
  gap: 10px;
}

.tr-cta-btn__arrow {
  flex-shrink: 0;
}


/* ------------------------------------------------------------
   PoweredByBox
   ------------------------------------------------------------ */
.tr-powered-by {
  display: flex;
  align-items: stretch;
}

.tr-powered-by__box {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  background-color: var(--color-main);
  border-radius: 2px 0 0 2px;
}

.tr-powered-by__label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.tr-powered-by__name {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: var(--letter-spacing);
  color: var(--color-white);
  white-space: nowrap;
}

.tr-powered-by__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 32px 40px;
  background-color: var(--color-white);
  border-radius: 0 2px 2px 0;
}

.tr-powered-by__heading {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: var(--letter-spacing);
  color: var(--color-main);
  margin: 0 0 12px;
}

.tr-powered-by__text {
  font-size: 16px;
  line-height: var(--line-height);
  color: var(--tr-about-color-body);
}

.tr-powered-by__text p + p {
  margin-top: 1.25em;
}

.tr-powered-by__note {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(111, 124, 133, 0.75);
}


/* ------------------------------------------------------------
   ------------------------------------------------------------ */
html.js .tr-section:not(.is-visible) .tr-about-heading,
html.js .tr-section:not(.is-visible) .tr-about-what__body,
html.js .tr-section:not(.is-visible) .tr-about-what__visual,
html.js .tr-section:not(.is-visible) .tr-about-operated__lead,
html.js .tr-section:not(.is-visible) .tr-about-steps,
html.js .tr-section:not(.is-visible) .tr-about-note,
html.js .tr-section:not(.is-visible) .tr-business-card,
html.js .tr-section:not(.is-visible) .tr-about-supplement,
html.js .tr-section:not(.is-visible) .tr-comparison-table-wrap,
html.js .tr-section:not(.is-visible) .tr-scope-tags,
html.js .tr-section:not(.is-visible) .tr-about-scope__note,
html.js .tr-section:not(.is-visible) .tr-about-scope__action,
html.js .tr-section:not(.is-visible) .tr-powered-by {
  opacity: 0;
  transform: translateY(28px);
}

html.js .tr-section.is-visible .tr-about-heading,
html.js .tr-section.is-visible .tr-about-what__body,
html.js .tr-section.is-visible .tr-about-what__visual,
html.js .tr-section.is-visible .tr-about-operated__lead,
html.js .tr-section.is-visible .tr-about-steps,
html.js .tr-section.is-visible .tr-about-note,
html.js .tr-section.is-visible .tr-business-card,
html.js .tr-section.is-visible .tr-about-supplement,
html.js .tr-section.is-visible .tr-comparison-table-wrap,
html.js .tr-section.is-visible .tr-scope-tags,
html.js .tr-section.is-visible .tr-about-scope__note,
html.js .tr-section.is-visible .tr-about-scope__action,
html.js .tr-section.is-visible .tr-powered-by {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js .tr-section.is-visible .tr-about-what__visual { transition-delay: 0.12s; }
html.js .tr-section.is-visible .tr-business-card:nth-child(1) { transition-delay: 0.08s; }
html.js .tr-section.is-visible .tr-business-card:nth-child(2) { transition-delay: 0.14s; }
html.js .tr-section.is-visible .tr-business-card:nth-child(3) { transition-delay: 0.2s; }
html.js .tr-section.is-visible .tr-business-card:nth-child(4) { transition-delay: 0.26s; }


/* ------------------------------------------------------------
   ------------------------------------------------------------ */
@media (max-width: 1100px) and (min-width: 769px) {
  .tr-about-steps {
    --tr-step-card-width: 200px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 0;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tr-about-steps::-webkit-scrollbar {
    display: none;
  }

  .tr-about-steps__item {
    scroll-snap-align: start;
  }
}

@media (max-width: 960px) {
  .tr-about-what__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tr-about-what__visual {
    order: -1;
  }

  .tr-powered-by {
    flex-direction: column;
  }

  .tr-powered-by__box {
    border-radius: 2px 2px 0 0;
  }

  .tr-powered-by__content {
    border-radius: 0 0 2px 2px;
    padding: 28px 24px;
  }

  .tr-powered-by__name {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .tr-br-pc {
    display: none;
  }

  .tr-br-sp {
    display: inline;
  }

  .tr-page-hero {
    min-height: 320px;
  }

  .tr-page-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(23, 32, 51, 0.88) 0%,
      rgba(23, 32, 51, 0.72) 55%,
      rgba(23, 32, 51, 0.45) 100%
    );
  }

  .tr-page-hero__image {
    object-position: center;
  }

  .tr-page-hero__inner {
    padding-block: 64px 48px;
  }

  .tr-page-hero__break::before {
    content: "\A";
    white-space: pre;
  }

  .tr-about-scope .tr-scope-tags {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }

  .tr-about-scope .tr-scope-tag {
    width: 100%;
    box-sizing: border-box;
  }

  .tr-powered-by__heading {
    font-size: clamp(17px, 4.6vw, 20px);
    line-height: 1.45;
  }

  .tr-comparison-card .tr-comparison-table th,
  .tr-comparison-card .tr-comparison-table td {
    padding: 16px 14px;
    vertical-align: top;
  }

  .tr-comparison-card .tr-comparison-table tbody th {
    padding-block: 16px;
    line-height: 1.5;
    white-space: nowrap;
  }

  .tr-comparison-card .tr-comparison-table thead th {
    padding-block: 14px;
    vertical-align: middle;
  }

  .tr-about-heading {
    margin-bottom: 32px;
  }

  .tr-about-heading--center {
    text-align: left;
  }

  .tr-about-operated {
    padding-block: 48px;
  }

  .tr-about-operated .tr-about-heading {
    margin-bottom: 24px;
  }

  .tr-about-operated .tr-about-heading__label {
    margin-bottom: 12px;
  }

  .tr-about-operated__lead {
    margin-bottom: 28px;
    text-align: left;
  }

  .tr-about-operated__lead p + p {
    margin-top: 1em;
  }

  .tr-about-steps {
    --tr-step-card-width: 200px;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: none;
    margin-inline: calc(-1 * var(--container-padding-x-sp));
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: var(--container-padding-x-sp);
    padding-bottom: 0;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--container-padding-x-sp);
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tr-about-steps::-webkit-scrollbar {
    display: none;
  }

  .tr-about-steps::after {
    content: "";
    flex: 0 0 calc(var(--container-padding-x-sp) + 16px);
    width: calc(var(--container-padding-x-sp) + 16px);
    height: 1px;
  }

  .tr-about-steps__pagination {
    display: flex;
    margin-top: 24px;
  }

  .tr-about-steps__item {
    flex: 0 0 var(--tr-step-card-width);
    max-width: var(--tr-step-card-width);
    scroll-snap-align: start;
  }

  .tr-about-steps__arrow {
    flex: 0 0 auto;
    height: auto;
    transform: none;
  }

  .tr-about-step-card {
    min-height: 120px;
    padding: 24px 20px;
  }

  .tr-about-note {
    margin-top: 24px;
    text-align: left;
  }

  .tr-comparison-table-wrap {
    margin-inline: calc(-1 * var(--container-padding-x));
    padding-inline: var(--container-padding-x);
    padding-bottom: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .tr-comparison-table-wrap::-webkit-scrollbar {
    display: none;
  }

  .tr-comparison-table-scroll-hint {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .tr-comparison-table-wrap.is-scrolled .tr-comparison-table-scroll-hint,
  .tr-comparison-table-wrap:not(.has-scroll) .tr-comparison-table-scroll-hint {
    opacity: 0;
    visibility: hidden;
  }

  .tr-comparison-table-scroll-hint__badge {
    display: block;
    line-height: 0;
  }

  .tr-comparison-table-scroll-hint__graphic {
    display: block;
    width: 104px;
    height: auto;
  }

  .tr-business-cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .tr-section:not(.is-visible) .tr-about-heading,
  html.js .tr-section:not(.is-visible) .tr-about-what__body,
  html.js .tr-section:not(.is-visible) .tr-about-what__visual,
  html.js .tr-section:not(.is-visible) .tr-about-operated__lead,
  html.js .tr-section:not(.is-visible) .tr-about-steps,
  html.js .tr-section:not(.is-visible) .tr-about-note,
  html.js .tr-section:not(.is-visible) .tr-business-card,
  html.js .tr-section:not(.is-visible) .tr-about-supplement,
  html.js .tr-section:not(.is-visible) .tr-comparison-table-wrap,
  html.js .tr-section:not(.is-visible) .tr-scope-tags,
  html.js .tr-section:not(.is-visible) .tr-about-scope__note,
  html.js .tr-section:not(.is-visible) .tr-about-scope__action,
  html.js .tr-section:not(.is-visible) .tr-powered-by {
    opacity: 1;
    transform: none;
  }
}
