/* ============================================================
/* variables
============================================================ */
/* ============================================================
/* project mixin
============================================================ */
@keyframes loading-spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
/* ============================================================
/* topics page
============================================================ */
/* topics
============================================================ */
body.api-loading .sec-topics {
  position: relative;
  min-height: 36rem;
  pointer-events: none;
}
body.api-loading .sec-topics:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 5rem;
  height: 5rem;
  border: 3px solid var(--color-primary);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: loading-spin 0.5s linear 0s infinite;
}
@media screen and (max-width: 811.99px) {
  .sec-topics__sidebar {
    margin: -4rem -2.5rem 0;
  }
  .sec-topics__sidebar .m-sidenav {
    border-radius: 0;
  }
  .sec-topics__sidebar .m-sidenav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-topics__sidebar .m-sidenav li {
    border: 1px solid var(--color-container-primary);
    margin: -1px;
  }
  .sec-topics__sidebar .m-sidenav li:first-child {
    grid-column: span 2;
  }
  .sec-topics__sidebar .m-sidenav a {
    height: 4rem;
    padding: 0 1.5rem;
  }
  .sec-topics__sidebar .m-sidenav a .main {
    font-size: 1.4rem;
  }
  .sec-topics__sidebar .m-sidenav a .sub {
    display: none;
  }
}

/* topics
============================================================ */
.sec-picked-topics {
  background-color: var(--color-container-primary);
}
body.api-loading .sec-picked-topics__inner {
  position: relative;
  min-height: 24rem;
  pointer-events: none;
}
body.api-loading .sec-picked-topics__inner:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 5rem;
  height: 5rem;
  border: 3px solid var(--color-primary);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: loading-spin 0.5s linear 0s infinite;
}
.sec-picked-topics__more {
  text-align: right;
}
.sec-picked-topics__more a {
  display: inline-flex;
  align-items: center;
  -moz-column-gap: 0.5em;
  column-gap: 0.5em;
  text-decoration: none;
}
.sec-picked-topics__more a .m-arrow {
  color: var(--color-primary);
}
@media (hover: hover) {
  .sec-picked-topics__more a:hover {
    text-decoration: underline;
  }
}
@media screen and (min-width: 812px) {
  .sec-picked-topics {
    padding: 10rem 0 !important;
  }
  .sec-picked-topics__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
  }
  .sec-picked-topics__header .sec-ttl {
    margin-bottom: 0;
  }
  .sec-picked-topics__more {
    margin-top: 3rem;
    font-size: 1.5rem;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-picked-topics {
    padding: 6rem 0;
  }
  .sec-picked-topics__header {
    margin-bottom: 2.5rem;
  }
  .sec-picked-topics__more {
    margin-top: 2.5rem;
    font-size: 1.3rem;
  }
}

/* ============================================================
/* top page
============================================================ */
/* top mv
============================================================ */
.sec-top-mv__list {
  position: relative;
}
.sec-top-mv__list .swiper:not(.swiper-initialized) {
  opacity: 0;
}
.sec-top-mv__list .js-slider__controls {
  position: absolute;
  left: 0;
  bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  line-height: 0;
  z-index: 1;
}
.sec-top-mv__list .js-slider__pagination {
  width: -moz-fit-content;
  width: fit-content;
}
.sec-top-mv__list .js-slider__pagination .swiper-pagination-bullet {
  opacity: 1;
  background-color: var(--color-container-primary);
}
.sec-top-mv__list .js-slider__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}
.sec-top-mv__list .js-slider__player {
  color: var(--color-base-invert);
  border: 1px solid;
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sec-top-mv__list .js-slider__player svg {
  width: 50%;
  aspect-ratio: 1/1;
  fill: currentColor;
}
.sec-top-mv:not(.is-paused) .js-slider__player .pause {
  opacity: 1;
}
.sec-top-mv:not(.is-paused) .js-slider__player .play {
  opacity: 0;
}
.sec-top-mv.is-paused .js-slider__player .pause {
  opacity: 0;
}
.sec-top-mv.is-paused .js-slider__player .play {
  opacity: 1;
}

.sec-top-mv__item {
  position: relative;
  z-index: 0;
}
.sec-top-mv__item__image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.sec-top-mv__item__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.sec-top-mv__item__inner {
  max-width: 140rem;
  height: 100%;
  margin: 0 auto;
  display: flex;
}
.sec-top-mv__item__ttl {
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  line-height: 1.4;
}
.sec-top-mv__item__text {
  font-weight: 500;
}
.sec-top-mv__item__text span {
  position: relative;
  z-index: 0;
}
.sec-top-mv__item__text span::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -0.5em;
  right: -0.5em;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.8rem;
  z-index: -1;
}
.sec-top-mv__item__tag {
  position: absolute;
  top: 0;
  right: 0;
  font-family: "Noto Serif JP", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.7rem 0.9rem 0.7rem 1.4rem;
  z-index: 1;
  background-color: var(--color-base-invert);
  clip-path: polygon(5% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.sec-top-mv__item.mv-2 .sec-top-mv__item__ttl, .sec-top-mv__item.mv-3 .sec-top-mv__item__ttl, .sec-top-mv__item.mv-4 .sec-top-mv__item__ttl {
  color: var(--color-base-invert);
}
@media screen and (min-width: 812px) {
  .sec-top-mv__item {
    height: calc(100vh - 96px);
  }
  .sec-top-mv__item__ttl {
    margin-bottom: 2rem;
    font-size: 4rem;
  }
  .sec-top-mv__item__text {
    font-size: 1.8rem;
    padding-left: 0.9rem;
  }
  .sec-top-mv__item__text .sp-only + span::before {
    left: 0;
  }
  .sec-top-mv__item__tag {
    margin-top: 6rem;
  }
  .sec-top-mv__item.mv-1 .sec-top-mv__item__inner {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .sec-top-mv__item.mv-1 .sec-top-mv__item__ttl {
    font-size: 4.8rem;
    margin-bottom: 3.6rem;
    margin-top: -5rem;
  }
  .sec-top-mv__item.mv-2 .sec-top-mv__item__inner {
    padding-top: 9rem;
    padding-left: 7rem;
  }
  .sec-top-mv__item.mv-3 .sec-top-mv__item__inner {
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 9rem;
    padding-right: 2.5rem;
  }
  .sec-top-mv__item.mv-4 .sec-top-mv__item__inner {
    justify-content: flex-start;
    align-items: flex-end;
    padding-bottom: 9rem;
    padding-left: 8rem;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-mv__item {
    aspect-ratio: 400/480;
  }
  .sec-top-mv__item__inner {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 6rem;
  }
  .sec-top-mv__item__ttl {
    margin-bottom: 1.5rem;
    font-size: 3rem;
  }
  .sec-top-mv__item__text {
    font-size: 1.6rem;
  }
  .sec-top-mv__item__tag {
    margin-top: 2.5rem;
  }
  .sec-top-mv__item.mv-1 .sec-top-mv__item__inner {
    align-items: flex-start;
    padding-top: 4rem;
  }
}

/* animation */
.sec-top-mv .sec-top-mv__item__ttl {
  opacity: 0;
}
.sec-top-mv .swiper-slide.is-visible .sec-top-mv__item__ttl {
  animation: fadeIn 2s ease 0.5s forwards;
}
.sec-top-mv .sec-top-mv__item__text {
  opacity: 0;
}
.sec-top-mv .swiper-slide.is-visible .sec-top-mv__item__text {
  animation: fadeIn 2s ease 1.5s forwards;
}
.sec-top-mv .sec-top-mv__item__tag {
  opacity: 0;
}
.sec-top-mv .swiper-slide.is-visible .sec-top-mv__item__tag {
  animation: slideIn 1.5s ease 1s forwards;
}
.sec-top-mv .sec-top-mv__item__image {
  overflow: hidden;
}
.sec-top-mv .sec-top-mv__item__image img {
  transform: scale(1);
}
.sec-top-mv .swiper-slide.is-visible .sec-top-mv__item__image img {
  animation: zoomIn 14s linear forwards;
}
.sec-top-mv.is-paused .swiper-slide.is-visible .sec-top-mv__item__image img {
  animation-play-state: paused;
}
.sec-top-mv.scene1 .mv-1 .sec-top-mv__item__image {
  opacity: 0;
  animation: fadeIn 2s ease 1.5s forwards;
}
.sec-top-mv.scene1 .mv-1 .sec-top-mv__item__text {
  opacity: 0;
}
.sec-top-mv.scene1 .js-slider__controls {
  opacity: 0;
  animation: fadeIn 1s ease 2s forwards;
}
@media screen and (min-width: 812px) {
  .sec-top-mv.scene1 .mv-1 .sec-top-mv__item__ttl {
    opacity: 0;
    animation: fadeIn 2s ease both;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-mv.scene1 .mv-1 .sec-top-mv__item__ttl {
    opacity: 0;
    transform: translateY(36vw);
    animation: fadeInOut 3s ease forwards;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(30%);
  }
  50% {
    transform: translateX(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.12);
  }
}
@keyframes glowIn {
  0% {
    opacity: 0;
    color: var(--color-base);
  }
  20% {
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  30% {
    color: var(--color-base);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  }
  55% {
    opacity: 1;
    color: var(--color-base-invert);
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  }
  70% {
    text-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }
  100% {
    color: var(--color-base);
  }
}
@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  36% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  70% {
    opacity: 0;
    transform: translateY(36vw);
  }
  71% {
    opacity: 0;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* top topics
============================================================ */
.sec-top-topics__tablist {
  font-weight: 500;
}
body.api-loading .sec-top-topics__tabpanel {
  position: relative;
  min-height: 24rem;
  pointer-events: none;
}
body.api-loading .sec-top-topics__tabpanel:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 5rem;
  height: 5rem;
  border: 3px solid var(--color-primary);
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: loading-spin 0.5s linear 0s infinite;
}
body.api-loading .sec-top-topics__tabpanel > * {
  opacity: 0;
}
@media screen and (min-width: 812px) {
  .sec-top-topics__tablist {
    width: -moz-fit-content;
    width: fit-content;
    margin: -8.5rem 0 4rem auto;
  }
  .sec-top-topics__tablist__current {
    display: none;
  }
  .sec-top-topics__tablist__list {
    position: relative;
    z-index: 0;
    display: flex;
    -moz-column-gap: 2em;
    column-gap: 2em;
  }
  .sec-top-topics__tablist__list::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-base-invert);
    z-index: -1;
  }
  .sec-top-topics__tablist__item {
    line-height: 1;
    height: 4.5rem;
    font-size: 1.5rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
  }
}
@media screen and (min-width: 812px) and (hover: hover) {
  .sec-top-topics__tablist__item:hover {
    color: var(--color-primary);
  }
}
@media screen and (min-width: 812px) {
  .sec-top-topics__tablist__item[aria-selected=true] {
    color: var(--color-primary);
    border-color: var(--color-primary);
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-topics__tablist {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    margin: -6.5rem 0 3rem auto;
    z-index: 1;
  }
  .sec-top-topics__tablist__current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 18rem;
    height: 4rem;
    padding: 0 1.2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    background-color: var(--color-base-invert);
  }
  .sec-top-topics__tablist__current .icon-dropdown {
    width: 1.2rem;
    height: 0.8rem;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
    background-color: var(--color-primary);
  }
  .sec-top-topics__tablist__list {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    background-color: var(--color-base-invert);
    border: 1px solid var(--color-border-primary);
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .sec-top-topics__tablist__list[aria-hidden=false] {
    opacity: 1;
    visibility: visible;
  }
  .sec-top-topics__tablist__list li:not(:last-child) {
    border-bottom: 1px solid var(--color-border-primary);
  }
  .sec-top-topics__tablist__item {
    width: 100%;
    text-decoration: none;
    padding: 0.5em 1.2rem;
  }
}

/* top business
============================================================ */
.sec-top-business__list {
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 812px) {
  .sec-top-business .l-inner {
    display: grid;
    grid-template-columns: 33rem 1fr;
    -moz-column-gap: 12rem;
    column-gap: 12rem;
  }
  .sec-top-business__list {
    row-gap: 7rem;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-business__list {
    margin-top: 4rem;
    row-gap: 4rem;
  }
}

.sec-top-business__item {
  position: relative;
  border-top: 1px solid var(--color-border-primary);
}
.sec-top-business__item::before {
  content: "";
  display: block;
  position: absolute;
  top: -1px;
  left: 0;
  border-top: 1px solid var(--color-primary);
}
@media screen and (min-width: 812px) {
  .sec-top-business__item::before {
    width: 5rem;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-business__item::before {
    width: 3rem;
  }
}
.sec-top-business__item__link {
  display: block;
  text-decoration: none;
}
.sec-top-business__item__ttl {
  display: flex;
  align-items: center;
  line-height: 1;
  font-weight: 500;
}
.sec-top-business__item__ttl em {
  font-family: "Lato", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 400;
  line-height: 1.6;
  font-weight: 700;
  font-style: normal;
  color: var(--color-primary);
  transform: translateY(0.1em);
}
.sec-top-business__item__image {
  border-radius: 1rem;
}
.sec-top-business__item__image img {
  border-radius: inherit;
}
@media screen and (min-width: 812px) {
  .sec-top-business__item {
    padding-top: 1.5rem;
  }
  .sec-top-business__item__ttl {
    padding-left: 1.7rem;
    font-size: 2.4rem;
    -moz-column-gap: 1.6rem;
    column-gap: 1.6rem;
  }
  .sec-top-business__item__ttl em {
    font-size: 1.4rem;
  }
  .sec-top-business__item__image {
    margin: 2rem 0;
  }
  .sec-top-business__item__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    -moz-column-gap: 4rem;
    column-gap: 4rem;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-business__item {
    padding-top: 1.2rem;
  }
  .sec-top-business__item__ttl {
    font-size: 2rem;
    -moz-column-gap: 0.7rem;
    column-gap: 0.7rem;
  }
  .sec-top-business__item__ttl em {
    display: inline-block;
    width: 3rem;
    text-align: center;
    font-size: 1.2rem;
  }
  .sec-top-business__item__image {
    margin: 1.5rem 0;
  }
  .sec-top-business__item:nth-child(odd) .sec-top-business__item__image {
    margin-right: -2.5rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .sec-top-business__item:nth-child(even) .sec-top-business__item__image {
    margin-left: -2.5rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .sec-top-business__item__desc {
    margin-bottom: 1.5rem;
  }
}

/* top company
============================================================ */
.sec-top-company__header {
  position: relative;
  display: flex;
  align-items: flex-end;
  z-index: 0;
}
.sec-top-company__header::before, .sec-top-company__header::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 1rem;
  z-index: -1;
}
.sec-top-company__header::before {
  background: url("../img/top/bg_company.jpg") no-repeat center center/cover;
}
.sec-top-company__header::after {
  background: linear-gradient(63deg, rgba(0, 0, 0, 0.3) 0.31%, rgba(0, 0, 0, 0) 45.03%);
}
.sec-top-company__header .sec-ttl {
  color: var(--color-base-invert);
}
.sec-top-company__header .sec-ttl .sub {
  color: inherit;
}
@media screen and (min-width: 812px) {
  .sec-top-company {
    overflow: hidden;
  }
  .sec-top-company__header {
    margin-bottom: 6rem;
    height: 55rem;
  }
  .sec-top-company__header::before, .sec-top-company__header::after {
    left: -5rem;
    right: -5rem;
  }
  .sec-top-company .m-card__list {
    margin-top: 8rem;
  }
  .sec-top-company__inner {
    position: relative;
  }
  .sec-top-company__more {
    position: absolute;
    top: 1rem;
    right: 0;
  }
}
@media screen and (max-width: 811.99px) {
  .sec-top-company__header {
    margin-bottom: 2rem;
    height: 35rem;
  }
  .sec-top-company__header::before, .sec-top-company__header::after {
    left: -1.5rem;
    right: -1.5rem;
  }
  .sec-top-company .m-card__list {
    margin-top: 4rem;
  }
  .sec-top-company__more {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
  }
}