/* ============================================================= *

index

* ============================================================= */
body[data-id=index] .l-main {
  --inner-width-px: calc(1230px + var(--slope-1px) * 10);
  --inner-padding: calc(15px + var(--slope-1px) * 5);
  --mv-height: calc(100 * var(--vh));
}

/* p-index-title
============================== */
.p-index-title {
  display: grid;
  grid-template-columns: 100%;
  gap: calc(16px + var(--slope-1px) * 8);
  margin-bottom: 1em;
  font-weight: 700;
  font-size: calc(48px + var(--slope-1px) * 8);
  line-height: 1;
}

.p-index-title[data-en]:after {
  content: attr(data-en);
  font-size: calc(18px + var(--slope-1px) * 6);
  font-family: var(--en-font-family);
}

/* p-index-mv
============================== */
.p-index-mv {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: var(--mv-height);
  padding-top: var(--header-height);
  transition: opacity .5s;
}

@media screen and (max-width: 960px) {
  .p-index-mv {
    top: calc(-1px * var(--mv-scroll-px));
    height: calc(var(--mv-height) + 1px * var(--mv-scroll-px));
  }
}

body.is-scrolled .p-index-mv {
  opacity: 0;
  pointer-events: none;
}

.p-index-mv:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background: url(../img/bg-mv.png) 50% 50% repeat;
  opacity: .1;
}

.p-index-mv__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: calc(100% - var(--inner-padding) * 2);
  height: 100%;
  max-width: 1366px;
  max-height: 768px;
  margin-inline: auto;

  container-type: inline-size;
}

@media screen and (max-width: 960px) {
  .p-index-mv__inner {
    flex-direction: column;
    gap: 26px;
    max-width: 345px;
    padding-top: 30px;
  }
}

/* p-index-mv-lead
============================== */
.p-index-mv-lead {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(100cqi / 1366 * 64);
  width: 100%;
  max-width: var(--inner-width-px);
  margin-inline: auto;
}

@media screen and (max-width: 960px) {
  .p-index-mv-lead {
    gap: calc(100cqi / 345 * 32);
  }
}

.p-index-mv-lead__ja {
  margin-block: var(--leading-trim);
  font-weight: 900;
  font-size: calc(100cqi / 1366 * 84);
  line-height: 1.6;
}

@media screen and (max-width: 960px) {
  .p-index-mv-lead__ja {
    font-size: calc(100cqi / 345 * 42);
  }
}

.p-index-mv-lead__ja span {
  display: block;
}

.p-index-mv-lead__ja em {
  color: var(--point-color);
}

.p-index-mv-lead__en {
  font-weight: 700;
  font-size: calc(100cqi / 1366 * 28);
  font-family: var(--en-font-family);
  line-height: .8;
}

@media screen and (max-width: 960px) {
  .p-index-mv-lead__en {
    font-size: calc(100cqi / 345 * 16);
  }
}

/* p-index-mv-map
============================== */
.p-index-mv-map {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: calc(100cqi / 1366 * 637);
  aspect-ratio: 637/689;
  margin-top: calc(100% / 1366 * 33);
  margin-right: calc(100% / 1366 * -36);
  transform: translateY(-50%);
}

@media screen and (max-width: 960px) {
  .p-index-mv-map {
    position: relative;
    inset: 0;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
  }
}

.p-index-mv-map__pref {
  position: absolute;
  display: block;
  transition: all .1s ease;
  pointer-events: none;
}

.p-index-mv-map__pref._hyogo {
  bottom: 0;
  left: 0;
  width: calc(100% / 637 * 430.102);
}

.p-index-mv-map__pref._kyoto {
  top: 0;
  right: 0;
  width: calc(100% / 637 * 429);
}

.p-index-mv-map__pref.isHovered {
  opacity: .9;
}

.p-index-mv-map__button {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(100cqi / 1366 * 6);
  height: calc(100cqi / 1366 * 42);
  padding-inline: calc(100cqi / 1366 * 16) calc(100cqi / 1366 * 8);
  border: 1px solid;
  border-radius: calc(100cqi / 1366 * 10);
  background: #fff;
  color: var(--base-color);
  text-decoration: none;
  font-weight: 700;
  font-size: calc(100cqi / 1366 * 16);
  line-height: 1;
  transition: all .1s ease;
  pointer-events: none;
}

@media screen and (max-width: 960px) {
  .p-index-mv-map__button {
    gap: calc(100cqi / 345 * 4);
    height: calc(100cqi / 345 * 38);
    padding-inline: calc(100cqi / 345 * 10) calc(100cqi / 345 * 6);
    border-radius: calc(100cqi / 345 * 6);
    font-size: calc(100cqi / 345 * 13);
  }
}

.p-index-mv-map__button:after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: calc(100cqi / 1366 * 24);
  aspect-ratio: 1/1;
  background: currentColor;
  mask: var(--icon-circle) 50% 50%/contain no-repeat;
}

@media screen and (max-width: 960px) {
  .p-index-mv-map__button:after {
    width: calc(100cqi / 345 * 18);
  }
}

.p-index-mv-map__button._hyogo {
  bottom: calc(100cqi / 1366 * 283);
  left: calc(100cqi / 1366 * 83);
}

@media screen and (max-width: 960px) {
  .p-index-mv-map__button._hyogo {
    bottom: calc(100cqi / 345 * 139);
    left: 0;
  }
}

.p-index-mv-map__button._kyoto {
  top: calc(100cqi / 1366 * 210);
  right: calc(100cqi / 1366 * 83);
}

@media screen and (max-width: 960px) {
  .p-index-mv-map__button._kyoto {
    top: calc(100cqi / 345 * 110);
    right: 0;
  }
}

.p-index-mv-map__button span {
  padding-top: .25em;
}

.p-index-mv-map:has(.p-index-mv-map__pref._kyoto.isHovered) .p-index-mv-map__button._kyoto,
.p-index-mv-map:has(.p-index-mv-map__pref._hyogo.isHovered) .p-index-mv-map__button._hyogo {
  background: var(--base-color);
  color: #fff;
}

/* p-index-mv-roll
============================== */
@keyframes mvRoll {
  0% {
    rotate: 0deg;
  }
  100% {
    rotate: 360deg;
  }
}

.p-index-mv-roll {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: calc(100cqi / 1366 * 277);
  margin-top: calc(100cqi / 1366 * 37);
  margin-right: calc(100cqi / 1366 * 27);
  animation: mvRoll 15s linear infinite;
}

@media screen and (max-width: 960px) {
  .p-index-mv-roll {
    top: calc(100cqi / 345 * 520);
    bottom: auto;
    width: calc(100cqi / 345 * 133);
    margin-top: 0;
    margin-right: calc(100cqi / 345 * -2);
  }
}

/* p-index-mv-bg
============================== */
@keyframes mvGradation {
  0% {
    opacity: 0;
  }
  47% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  97% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.p-index-mv-bg {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: calc(100cqi / 1366 * 277);
  aspect-ratio: 1/1;
  margin-top: calc(100cqi / 1366 * 37);
  margin-right: calc(100cqi / 1366 * 27);
  animation: mvRoll 15s linear infinite;
}

@media screen and (max-width: 960px) {
  .p-index-mv-bg {
    width: calc(100cqi / 345 * 133);
    margin-top: 0;
    margin-right: calc(100cqi / 1366 * -2);
  }
}

.p-index-mv-bg > span {
  position: absolute;
  z-index: -1;
  display: block;
  width: calc(100cqi / 1366 * 580);
  aspect-ratio: 1/1;
}

@media screen and (max-width: 960px) {
  .p-index-mv-bg > span {
    width: calc(100cqi / 345 * 280);
  }
}

.p-index-mv-bg > span:first-child {
  top: 30%;
  left: 30%;
}

.p-index-mv-bg > span:last-child {
  right: 20%;
  bottom: 20%;

  scale: .69;
}

.p-index-mv-bg > span:before, .p-index-mv-bg > span:after {
  content: "";
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: mvGradation 15s linear infinite var(--delay);

  --delay: -6s;
}

.p-index-mv-bg > span:before {
  background: radial-gradient(50% 50% at 50% 50%, rgba(94, 255, 236, .3) 30.29%, rgba(178, 255, 246, .3) 50.48%, rgba(255, 255, 255, 0) 90.38%);
}

.p-index-mv-bg > span:after {
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 91, 172, .3) 29.81%, rgba(0, 108, 204, .3) 49.52%, rgba(255, 255, 255, 0) 90.38%);
}

.p-index-mv-bg > span:first-child:before {
  --delay: -13.5s;
}

.p-index-mv-bg > span:last-child:after {
  --delay: -13.5s;
}

/* p-index-contents-section
============================== */
.p-index-contents-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding-top: calc(var(--mv-height) + 300px);
  padding-bottom: calc(80px + var(--slope-1px) * 40);
  border-radius: 0 0 calc(40px + var(--slope-1px) * 60) calc(40px + var(--slope-1px) * 60);
  color: #fff;
  pointer-events: none;
}

.p-index-contents-section:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(98deg, #005bac 15%, #14b2be 44.71%, #7dbfa0 75%, #e3cb84 100%);
  opacity: 0;
  transition: opacity .5s;
}

body.is-scrolled .p-index-contents-section {
  pointer-events: auto;
}

body.is-scrolled .p-index-contents-section:before {
  opacity: 1;
}

.p-index-contents-section__loop {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  flex-wrap: nowrap;
  color: rgba(255, 255, 255, .15);
  letter-spacing: 3.3px;
  font-weight: 700;
  font-size: calc(64px + var(--slope-1px) * 46);
  font-family: var(--en-font-family);
  line-height: .85;
}

.p-index-contents-section__loop > p, .p-index-contents-section__loop:before, .p-index-contents-section__loop:after {
  display: block;
  flex-shrink: 0;
  padding-left: .5em;
  animation: loopText 13s linear infinite;
}

.p-index-contents-section__loop:before, .p-index-contents-section__loop:after {
  content: attr(data-text);
}

@keyframes loopText {
  0% {
    translate: 0 0;
  }
  100% {
    translate: -100% 0;
  }
}

/* p-index-lead-block
============================== */
.p-index-lead-block {
  position: relative;
  display: grid;
  grid-template-columns: 44.66667% 1fr;
  gap: 40px clamp(54px, -63.33333px + 15.27778vw, 120px);
  width: 100%;
  max-width: var(--inner-width-px);
  margin-inline: auto;
  margin-bottom: calc(48px + var(--slope-1px) * 52);
  padding-inline: var(--inner-padding);
  line-height: 1.8;
}

@media screen and (max-width: 960px) {
  .p-index-lead-block {
    grid-template-columns: 100%;
    max-width: calc(375px + var(--slope-1px) * 125);
    padding-inline: var(--inner-padding);
  }
}

.p-index-lead-block__main {
  margin-block: var(--leading-trim);
  margin-left: auto;
  font-weight: 700;
  font-size: clamp(21px, 1.44444px + 2.5463vw, 32px);
}

@media screen and (max-width: 960px) {
  .p-index-lead-block__main {
    margin-left: 0;
  }
}

.p-index-lead-block__sub {
  display: grid;
  grid-template-columns: 100%;
  gap: clamp(24px, -4.44444px + 3.7037vw, 40px);
  font-size: clamp(14px, 3.33333px + 1.38889vw, 20px);
}

.p-index-lead-block__sub > p {
  margin-block: var(--leading-trim);
}

.p-index-lead-block__scroll {
  position: absolute;
  top: 0;
  left: 1em;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: clamp(14px, 10.44444px + .46296vw, 16px);
  font-family: var(--en-font-family);
  line-height: 1;
  transform: rotate(90deg);
  transform-origin: top left;
}

@media screen and (max-width: 960px) {
  .p-index-lead-block__scroll {
    left: calc(100% - 1em);
  }
}

.p-index-lead-block__scroll:after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: clamp(105px, .11111px + 13.65741vw, 164px);
  height: 1px;
  background: currentColor;
}

/* p-index-description
============================== */
.p-index-description {
  display: grid;
  grid-template-columns: 100%;
  gap: 32px;
  width: calc(var(--inner-width-px) - var(--inner-padding) * 2);
  max-width: calc(100% - var(--inner-padding) * 2);
  margin-inline: auto;
  margin-bottom: calc(8px + var(--slope-1px) * 8);
  padding: calc(32px + var(--slope-1px) * 8) calc(32px + var(--slope-1px) * 8) calc(40px + var(--slope-1px) * 24);
  border-radius: calc(20px + var(--slope-1px) * 20);
  background: #fff;
  color: var(--base-color);
}

.p-index-description__head {
  width: 500px;
  height: calc(27px + var(--slope-1px) * 24);
  max-width: 100%;
  margin-inline: auto;
}

.p-index-description__head img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-index-description__body {
  max-width: 1040px;
  margin-block: var(--leading-trim);
  margin-inline: auto;
  font-size: calc(13px + var(--slope-1px) * 3);
  line-height: 1.8;
}

.p-index-description__body > p {
  width: 100%;
  text-align: center;
}

@media screen and (min-width: 961px) {
  .p-index-description__body > p {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* p-index-cars-grid
============================== */
.p-index-cars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  max-width: var(--inner-width-px);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

@media screen and (max-width: 960px) {
  .p-index-cars-grid {
    grid-template-columns: 100%;
  }
}

/* p-index-cars
============================== */
.p-index-cars {
  display: grid;
  grid-template-columns: 100%;
  gap: clamp(16px, -12.44444px + 3.7037vw, 32px);
  padding: clamp(24px, -29.33333px + 6.94444vw, 54px) clamp(8px, -63.11111px + 9.25926vw, 48px) clamp(20px, -29.77778px + 6.48148vw, 48px);
  border-radius: calc(20px + var(--slope-1px) * 20);
  background: #fff;
  color: var(--base-color);
}

@media screen and (max-width: 960px) {
  .p-index-cars {
    padding-inline: 16px;
  }
}

.p-index-cars__head {
  height: clamp(24px, -11.55556px + 4.62963vw, 44px);
}

.p-index-cars__head img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-index-cars__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(2px + var(--slope-1px) * 6);
  max-width: 496px;
  margin-inline: auto;
}

.p-index-cars__list a {
  display: grid;
  justify-content: center;
  align-items: center;
  grid-template-columns: 1fr clamp(18px, 7.33333px + 1.38889vw, 24px);
  padding: 8px 8px 8px clamp(8px, -20.44444px + 3.7037vw, 24px);
  border: 1px solid var(--base-color);
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(14px, 10.44444px + .46296vw, 16px);
  transition: all .2s;
}

@media screen and (max-width: 960px) {
  .p-index-cars__list a {
    padding: 6px;
    font-size: calc(12px + var(--slope-1px) * 3);
  }
}

.p-index-cars__list a span {
  flex-grow: 1;
  padding-top: .3em;
  text-align: center;
}

.p-index-cars__list a:hover {
  background: var(--base-color);
  color: #fff;
}

.p-index-cars__list a:after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: clamp(18px, 7.33333px + 1.38889vw, 24px);
  aspect-ratio: 1/1;
  background: currentColor;
  mask: var(--icon-circle) 50% 50%/contain no-repeat;
}

/* p-index-company
============================== */
.p-index-company {
  position: relative;
  z-index: 1;
  margin-bottom: calc(-80px + var(--slope-1px) * -20);
  padding-block: calc(80px + var(--slope-1px) * 20);
  border-radius: 0 0 calc(40px + var(--slope-1px) * 60) calc(40px + var(--slope-1px) * 60);
  background: #fff;
}

.p-index-company:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: calc(80px + var(--slope-1px) * 20);
  background: #fff;
}

.p-index-company:after {
  content: "";
  position: fixed;
  z-index: -2;
  aspect-ratio: 1 / 1;
  margin: auto;
  border-radius: 50%;
  background: #fff;
  opacity: 1;
  transition: transform 0s ease-in-out .4s;
  will-change: transform;

  inset-inline: 50%;
  inset-block: 0;
  translate: -50% 0%;
  min-inline-size: max(150vw, 150svh);
}

.p-index-company.is-bg-hide:after {
  position: absolute;
  transition: transform .4s ease-in-out;
  transform: scale(0);

  inset-block-start: 100%;
}

.p-index-company.is-bg-returning:after {
  opacity: 0;
}

.p-index-company__inner {
  width: 100%;
  max-width: var(--inner-width-px);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

/* p-index-gallery
============================== */
.p-index-gallery-spacer {
  width: 100%;
  height: 150svh;
}

@media screen and (max-width: 960px) {
  .p-index-gallery-spacer {
    height: calc(200svh + 80px);
  }
}

.p-index-gallery {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 960px) {
  .p-index-gallery {
    display: block;
  }
}

.p-index-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 960px) {
  .p-index-gallery img {
    position: absolute;
    inset: 0;
    height: 100vh;
  }
  .p-index-gallery img:last-child {
    clip-path: polygon(0% calc(100% - 100% * var(--scroll-progress)), 100% calc(100% - 100% * var(--scroll-progress)), 100% 100%, 0% 100%);
  }
}

/* p-index-company-table
============================== */
.p-index-company-table {
  width: 100%;
  border-collapse: collapse;
}

@media screen and (max-width: 960px) {
  .p-index-company-table {
    display: grid;
    gap: 24px;
  }
  .p-index-company-table :is(tbody, tr, th, td) {
    display: block;
  }
}

.p-index-company-table th {
  padding-block: 24px;
  padding-right: 40px;
  text-align: center;
}

@media screen and (max-width: 960px) {
  .p-index-company-table th {
    padding-right: 0;
    text-align: left;
  }
}

.p-index-company-table td {
  padding-block: 24px;
}

@media screen and (max-width: 960px) {
  .p-index-company-table td {
    padding-top: 0;
    border-bottom: 1px solid var(--border-color);
  }
}

@media screen and (max-width: 960px) {
  .p-index-company-table tr:first-child th {
    padding-top: 0;
  }
}

.p-index-company-table tr:not(:first-child) :is(th, td) {
  border-top: 1px solid var(--border-color);
}

@media screen and (max-width: 960px) {
  .p-index-company-table tr:not(:first-child) :is(th, td) {
    border-top: 0;
  }
}

/* p-index-history-expand
============================== */
.p-index-history-expand__body {
  position: relative;
  overflow: hidden;
  height: calc(343px + var(--slope-1px) * 657);
  transition: height .8s ease-out;
}

.p-index-history-expand__body:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(246, 245, 242, 0) 0%, #f6f5f2 100%);
}

.p-index-history-expand.is-open .p-index-history-expand__body {
  height: var(--full-height);
}

.p-index-history-expand.is-open .p-index-history-expand__body:after {
  display: none;
}

.p-index-history-expand__foot {
  padding-top: 32px;
  border-top: 1px dashed;
}

.p-index-history-expand__toggle {
  display: block;
  width: 100%;
  outline: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--base-color);
  font-size: 16px;
  transition: opacity .2s;
  appearance: none;
}

.p-index-history-expand__toggle:hover {
  opacity: .7;
}

.p-index-history-expand__toggle > span {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.p-index-history-expand__toggle > span:after {
  content: "";
  display: block;
  flex-shrink: 0;
  width: 30px;
  aspect-ratio: 1/1;
  background: currentColor;
  mask: var(--icon) 50% 50%/contain no-repeat;
}

.p-index-history-expand__toggle ._open {
  --icon: var(--icon-plus);
}

.p-index-history-expand__toggle ._close {
  --icon: var(--icon-minus);
}

.p-index-history-expand__toggle ._close {
  display: none;
}

.p-index-history-expand.is-open .p-index-history-expand__toggle ._open {
  display: none;
}

.p-index-history-expand.is-open .p-index-history-expand__toggle ._close {
  display: flex;
}

/* p-index-history
============================== */
.p-index-history {
  margin-bottom: calc(-80px + var(--slope-1px) * -20);
  padding-block: calc(80px + var(--slope-1px) * 20) calc(160px + var(--slope-1px) * 40);
  border-radius: calc(40px + var(--slope-1px) * 60) calc(40px + var(--slope-1px) * 60) 0 0;
  background: var(--bg-color);
}

.p-index-history__inner {
  width: 100%;
  max-width: var(--inner-width-px);
  margin-inline: auto;
  padding-inline: var(--inner-padding);
}

/* p-index-history-table
============================== */
.p-index-history-table {
  margin-bottom: -1px;
}

@media screen and (min-width: 961px) {
  .p-index-history-table *[data-col="1"] {
    grid-column: 2/3;
  }
  .p-index-history-table *[data-col="2"] {
    grid-column: 3/4;
  }
  .p-index-history-table *[data-col="3"] {
    grid-column: 4/5;
  }
}

.p-index-history-table *[data-col="all"] {
  grid-column: span 3;
}

.p-index-history-table__thead {
  display: grid;
  grid-template-columns: calc(80px + var(--slope-1px) * 30) repeat(3, 1fr);
  gap: 0 40px;
  width: 100%;
  padding-bottom: calc(24px + var(--slope-1px) * 24);
}

@media screen and (max-width: 960px) {
  .p-index-history-table__thead {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.p-index-history-table__tab {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-block: 24px;
  outline: none;
  border: 1px solid var(--base-color);
  border-radius: 12px;
  background: var(--base-color);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  appearance: none;
}

@media screen and (max-width: 960px) {
  .p-index-history-table__tab {
    padding-block: calc(16px + var(--leading-trim));
    border-radius: 8px;
    font-size: calc(12px + var(--slope-1px) * 2);
    line-height: 1.2;
  }
  .p-index-history-table__tab:not(.is-current) {
    background: #fff;
    color: var(--base-color);
    pointer-events: auto;
  }
}

.p-index-history-table__tr {
  display: grid;
  grid-template-columns: calc(80px + var(--slope-1px) * 30) repeat(3, 1fr);
  gap: 0 calc(16px + var(--slope-1px) * 24);
  width: 100%;
  padding-block: calc(16px + var(--slope-1px) * 8);
}

.p-index-history-table__tr:not(:last-child) {
  border-bottom: 1px dashed #333;
}

@media screen and (max-width: 960px) {
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="1"]) .p-index-history-table__tr:not(:has(.p-index-history-table__item[data-col="1"])),
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="2"]) .p-index-history-table__tr:not(:has(.p-index-history-table__item[data-col="2"])),
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="3"]) .p-index-history-table__tr:not(:has(.p-index-history-table__item[data-col="3"])) {
    display: none;
  }
  .p-index-history-table__tr:has(.p-index-history-table__item[data-col="all"]) {
    display: grid !important;
  }
}

.p-index-history-table__thead + .p-index-history-table__tr {
  border-top: 0;
}

@media screen and (min-width: 961px) {
  .p-index-history-table__thead + .p-index-history-table__tr {
    padding-top: 0;
  }
}

.p-index-history-table__th {
  align-self: center;
  grid-row: 1/2;
  text-align: center;
  font-weight: 700;
  font-size: calc(24px + var(--slope-1px) * 4);
}

.p-index-history-table__th em {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: calc(32px + var(--slope-1px) * 8);
  font-family: var(--en-font-family);
  line-height: 1;
}

.p-index-history-table__th span {
  display: block;
  margin-top: calc(4px + var(--slope-1px) * 2);
  font-size: calc(12px + var(--slope-1px) * 2);
  line-height: 1;
}

.p-index-history-table__item {
  display: grid;
  align-self: center;
  grid-template-columns: 100%;
  gap: 16px;
}

@media screen and (max-width: 960px) {
  .p-index-history-table__item {
    display: none;
    grid-column: 2/5;
  }
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="1"]) .p-index-history-table__item[data-col="1"],
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="2"]) .p-index-history-table__item[data-col="2"],
  .p-index-history-table:has(.p-index-history-table__tab.is-current[data-col="3"]) .p-index-history-table__item[data-col="3"] {
    display: grid;
  }
  .p-index-history-table__item[data-col="all"] {
    display: grid;
  }
}

.p-index-history-table__item > p {
  margin-block: var(--leading-trim);
}

.p-index-history-table__item > dl {
  display: flex;
  margin-block: var(--leading-trim);
}

.p-index-history-table__item dt {
  flex-shrink: 0;
}

.p-index-history-table__item dt:after {
  content: "\ff1a";
}

/* p-index-history-xlei
============================== */
.p-index-history-xlei__desktop {
  display: grid;
  grid-template-columns: 100%;
  gap: 24px;
  justify-items: center;
  font-size: 20px;
}

@media screen and (max-width: 960px) {
  .p-index-history-xlei__desktop {
    display: none;
  }
}

.p-index-history-xlei__mobile {
  display: none;
  grid-template-columns: 100%;
  gap: 10px;
  justify-items: center;
}

.p-index-history-xlei__mobile > p {
  margin-block: var(--leading-trim);
}

@media screen and (max-width: 960px) {
  .p-index-history-xlei__mobile {
    display: grid;
  }
}

.p-index-history-xlei__head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.p-index-history-xlei__head span {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
  border-radius: 12px;
  background: var(--base-color);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}

.p-index-history-xlei__body {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.p-index-history-xlei__body span {
  padding-bottom: 8px;
}

.p-index-history-xlei__logo {
  width: 313px;
}

/* ============================================================= *

Privacy Policy

* ============================================================= */
.p-privacy-lead {
  margin-bottom: 2.25em;
  padding-bottom: calc(1.75em - var(--leading-trim));
  border-bottom: 1px solid var(--border-color);
}

.p-privacy-block {
  margin-bottom: 40px;
  padding-left: 22px;
}

.p-privacy-section {
  list-style-position: outside;
  list-style-type: decimal;
  line-height: 2;
}

.p-privacy-section:not(:last-child) {
  margin-bottom: 3em;
}

.p-privacy-section em {
  font-style: normal;
  line-height: 1.45;
}

.p-privacy-detail {
  margin-top: 1.4em;
  margin-left: 35px;
}

.p-privacy-detail > li {
  margin-top: 20px;
  list-style-position: outside;
  list-style-type: lower-roman;
}

.p-privacy-detail li:first-child {
  margin-top: 0;
}

.p-privacy-caution {
  margin-top: 20px;
  padding: 2em 1.5em;
  border-radius: var(--medium-border-radius);
  background-color: var(--bg-color);
  font-size: calc(14px + var(--slope-1px) * 2);
}

.p-privacy-caution__head {
  margin-bottom: 1.5em;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--border-color);
  font-weight: 700;
  line-height: 1.2;
}

.p-privacy-caution__body {
  display: grid;
  grid-template-columns: 100%;
  gap: .5em;
}

.p-privacy-caution__body > li {
  display: flex;
  flex-wrap: wrap;
  gap: 0 .5em;
  list-style: none;
  font-size: calc(13px + var(--slope-1px) * 2);
  line-height: 1.25;
}

.p-privacy-caution__body li span {
  display: inline-block;
}

.p-privacy-caution__body li a {
  color: #1c4eb8;
}

.p-privacy-caution:not(:last-child) {
  margin-bottom: 10px;
}

.p-privacy-insurance {
  box-sizing: border-box;
  text-align: left;
}

.p-privacy-insurance__head {
  font-weight: bold;
}

.p-privacy-signature {
  text-align: right;
  line-height: 2.2;
}

.p-privacy-banner {
  width: 100%;
  max-width: 640px;
  margin: calc(30px + var(--slope-1px) * 20) auto 0;
  text-align: center;
}

.p-privacy-banner a {
  display: block;
  width: 100%;
}

/* ============================================================= *

terms

* ============================================================= */
/* p-terms-block
=============================== */
.p-terms-block {
  line-height: 2;
}

.p-terms-block:not(:first-child) {
  margin-top: calc(30px + var(--slope-1px) * 20);
  padding-top: calc(30px + var(--slope-1px) * 20);
  border-top: 1px solid var(--border-color);
}

.p-terms-block__head {
  margin-bottom: calc(24px + var(--slope-1px) * 8);
}

.p-terms-block__title {
  font-weight: 700;
  font-size: calc(18px + var(--slope-1px) * 6);
}

.p-terms-block__body {
  margin-block: var(--leading-trim);
}

.p-terms-block__body > p + p {
  margin-top: 1.5em;
}

/* p-terms-plugin
=============================== */
.p-terms-plugin {
  margin-top: 1.46667em;
  border: 1px solid var(--border-color);
  border-radius: var(--medium-border-radius);
  background: #fff;
}

.p-terms-plugin__link {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(16px + var(--slope-1px) * 8);
  text-decoration: none;
  transition: all .3s ease-out;
}

.p-terms-plugin__link:hover {
  opacity: .7;
}

@media screen and (max-width: 560px) {
  .p-terms-plugin__link {
    flex-direction: column;
  }
}

.p-terms-plugin__logo {
  margin: 0 1em 0 0;
}

@media screen and (max-width: 560px) {
  .p-terms-plugin__logo {
    margin: 0 0 1em 0;
  }
}

/* p-terms-ssl
=============================== */
.p-terms-ssl {
  margin-top: calc(24px + var(--slope-1px) * 8);
  padding: calc(32px + var(--slope-1px) * 8);
  border: 1px solid var(--border-color);
  border-radius: var(--medium-border-radius);
  background: #fff;
}

.p-terms-ssl__head {
  font-weight: 500;
}

.p-terms-ssl__block:not(:first-child) {
  margin-top: 1.78571em;
}

.p-terms-ssl__item {
  /* -0.375em for line-height offset */
  margin-top: 1.625em;
  margin-bottom: -.375em;
  padding-left: 1em;
}

.p-terms-ssl__item > p {
  position: relative;
  margin-bottom: .5em;
}

.p-terms-ssl__item > p:before {
  content: "\30fb";
  position: absolute;
  top: 0;
  left: -1em;
}

.p-terms-ssl__item > ul > li a {
  position: relative;
  display: inline-block;
  padding-left: 1em;
}

.p-terms-ssl__item > ul > li a:before {
  content: "-";
  position: absolute;
  top: 0;
  left: 0;
}

.p-terms-ssl__foot {
  margin-top: 2.28571em;
}
