@charset "UTF-8";

:root {
  --mac-red: #d80014
}

html {
  box-sizing: border-box;
  height: 100%;
  font-size: 62.5%;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  touch-action: manipulation;
  user-select: auto;
  -webkit-text-size-adjust: 100%;
  scrollbar-gutter: stable
}

*,
*::before,
*::after {
  box-sizing: inherit
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Noto Sans JP", "Alexandria", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  cursor: default;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}

@media (max-width:768px) {

  html.is-menu-open,
  body.is-menu-open {
    overflow: hidden
  }
}

@media (min-width:769px) {

  html.is-menu-open,
  body.is-menu-open {
    overflow-x: hidden;
    overflow-y: scroll
  }
}

@media (max-width:768px) {

  html.is-menu-open .app-header,
  body.is-menu-open .app-header,
  .app-frame__viewport.is-menu-open .app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 120;
    background-color: #fff
  }
}

.contents-wrapper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 40px
}

.app-frame {
  display: flex;
  min-height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background-color: #fff
}

.app-frame__edge {
  position: relative;
  flex: 0 0 6.4rem;
  overflow: hidden;
  background-color: var(--mac-red)
}

.app-frame__edge-text {
  position: absolute;
  top: -4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: calc(100% + 8rem);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.5rem;
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  letter-spacing: .25em;
  color: #fff
}

.app-frame__side {
  flex: 1 1 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #fff
}

.side-block {
  width: 100%;
  max-width: 26rem
}

.side-block--brand {
  text-align: center
}

.side-block__logo {
  display: block;
  width: 100%;
  max-width: 15rem;
  height: auto;
  margin: 0 auto 16px
}

.side-block__text {
  font-size: 1.2rem;
  line-height: 1.6
}

.side-block--menu {
  text-align: center
}

.side-menu {
  margin-bottom: 28px
}

.side-menu__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none
}

.side-menu__item {
  margin: 0;
  padding: 0
}

.side-menu__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--mac-red);
  font-weight: 700;
  text-decoration: none
}

.side-menu__label-en {
  font-size: 2.0rem;
  font-family: "Alexandria", sans-serif;
  letter-spacing: .16em
}

.side-menu__label-ja {
  margin-top: 4px;
  font-size: 2rem;
  color: #333
}

.side-block__cta-wrap {
  margin-top: 28px
}

.side-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22rem;
  padding: 14px 32px;
  border-radius: 9999px;
  background-color: var(--mac-red);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none
}

.app-frame__viewport {
  flex: 0 0 700px;
  width: 700px;
  max-width: 700px;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-left: .1rem solid #e0e0e0;
  border-right: .1rem solid #e0e0e0
}

.app-header {
  flex: 0 0 auto
}

.app-header__inner {
  padding: 16px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px
}

.app-header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto
}

.app-header__logo {
  display: block;
  width: auto;
  height: 4rem;
  margin: 0
}

.app-header__menuBtn {
  display: none
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #fff
}

.app-frame__viewport {
  --app-header-h: 88px
}

.app-menu[hidden] {
  display: none
}

.app-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: var(--app-header-h);
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
  overscroll-behavior: contain
}

.app-frame__viewport.is-menu-open .app-menu {
  opacity: 1;
  pointer-events: auto
}

.app-frame__viewport.is-menu-open .app-main {
  overflow: hidden
}

.app-menu__backdrop {
  position: absolute;
  inset: 0;
  background: #fdf9fb;
  touch-action: none
}

.app-menu__panel {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 0 calc(5.4rem + 24px)
}

.app-menu__nav {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 16px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-top: 24px
}

.app-menu__list {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(18px, 3.2vh, 26px)
}

@media (max-height:680px) {
  .app-menu__list {
    justify-content: flex-start
  }
}

.app-menu__link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  color: var(--mac-red)
}

.app-menu__label-en {
  font-size: 2.2rem;
  font-family: "Alexandria", sans-serif;
  letter-spacing: .16em
}

.app-menu__label-ja {
  margin-top: 4px;
  font-size: 1.2rem;
  color: #333
}

.app-menu__link:focus-visible {
  outline: .2rem solid var(--mac-red);
  outline-offset: .6rem;
  border-radius: .8rem
}

.app-menu__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  height: 5.4rem;
  padding: 0 16px;
  line-height: 1;
  background: var(--mac-red);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px 8px 0 0
}

.app-menu__cta--footer {
  display: none
}

.app-menu__cta:focus-visible {
  outline: .2rem solid #fff;
  outline-offset: .4rem
}

.app-main {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #fff;
  scrollbar-width: thin;
  scrollbar-color: var(--mac-red) rgba(216, 0, 20, .1)
}

.app-main.app-main--sub {
  background-color: #FFF3EF
}

.app-main::-webkit-scrollbar {
  width: 10px
}

.app-main::-webkit-scrollbar-track {
  background: rgba(216, 0, 20, .1)
}

.app-main::-webkit-scrollbar-thumb {
  background-color: var(--mac-red);
  border-radius: 9999px;
  border: 2px solid rgba(216, 0, 20, .1)
}

.app-footer {
  padding: 0 0 18px
}

.app-footer__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin: 0 0 30px
}

.app-footer__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  text-decoration: none
}

.app-footer__sns-icon {
  display: block;
  width: 40px;
  height: 40px
}

.app-footer__policy {
  margin: 0 0 12px;
  font-size: 1.3rem;
  text-align: center
}

.app-footer__policy-link {
  color: #333
}

.app-footer__policy-link+.app-footer__policy-link {
  margin-left: 16px
}

.app-footer__copy {
  margin: 0;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.4;
  color: #AAA
}
.side-block--app-download {
  margin-top: 24px;
  text-align: center;
}

.side-block__app-download-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 28px;
  margin: 0 0 11px;
  background: #d80014;
  border-radius: 9999px;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.side-block__app-download-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #d80014;
}
.side-block__app-download-links {
  display: flex;
  justify-content: center;
  gap: 0px;
  flex-wrap: wrap;
}

.side-block__app-download-link {
  display: block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-block__app-download-link:hover {
  opacity: 0.85;
}

.side-block__app-download-image {
  display: block;
  width: 80px;
  max-width: 100%;
  height: auto;
}
.side-block__sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.side-block__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.side-block__sns-link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.side-block__sns-icon {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}
@media (max-width:1300px) {
  .side-cta-button{
    min-width: 19rem;
  }
  .side-block__logo{
    max-width: 12rem;
  }
}
@media (max-width:1260px) {
  .side-block__brand-title {
    display: none
  }

  .side-block--menu {
    display: none
  }
  .side-block__sns{
    display: none;
  }
  .app-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    white-space: nowrap
  }

  .app-header__menuBtn {
    flex: 0 0 auto;
    width: 6.4rem;
    height: 6.4rem;
    padding: 8px 8px 6px;
    border: 0;
    background-color: #fff;
    color: var(--mac-red);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent
  }

  .app-header__menuIcon {
    position: relative;
    width: 3.6rem;
    height: 2.4rem;
    display: block
  }

  .app-header__menuBar {
    position: absolute;
    left: 0;
    width: 100%;
    height: .4rem;
    background: currentColor;
    border-radius: .2rem;
    transition: transform 180ms ease, top 180ms ease, opacity 180ms ease
  }

  .app-header__menuBar:nth-child(1) {
    top: 0
  }

  .app-header__menuBar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%)
  }

  .app-header__menuBar:nth-child(3) {
    top: 100%;
    transform: translateY(-100%)
  }

  .app-header__menuBtn[aria-expanded="true"] .app-header__menuBar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg)
  }

  .app-header__menuBtn[aria-expanded="true"] .app-header__menuBar:nth-child(2) {
    opacity: 0
  }

  .app-header__menuBtn[aria-expanded="true"] .app-header__menuBar:nth-child(3) {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg)
  }

  .app-header__menuText {
    font-size: 1.6rem;
    font-weight: 700;
    font-family: "Alexandria", sans-serif;
    line-height: 1;
    letter-spacing: .12em
  }

  .app-header__menuBtn:focus-visible {
    outline: .2rem solid var(--mac-red);
    outline-offset: .4rem
  }
  .side-block--app-download{
    display: none;
  }
}

.km-404 {
  margin: 0 0 40px
}

.km-404__code {
  margin: 20px 0 30px;
  font-size: 2rem;
  color: #D80014;
  font-weight: 700;
  text-align: center
}

.km-404__title {
  margin: 0 0 20px;
  font-size: 1.8rem;
  color: #D80014;
  text-align: center
}

.km-404__text {
  font-size: 1.5rem;
  text-align: center;
  line-height: 2
}

.km-404__btn {
  display: block;
  padding: 10px;
  margin: 50px auto 0;
  width: 200px;
  height: auto;
  color: #fff;
  text-align: center;
  background-color: #D80014
}

@media (max-width:768px) {
  .contents-wrapper {
    padding: 0 18px 0
  }

  .app-frame {
    display: block;
    min-height: 100vh;
    height: auto;
    overflow: visible;
    background-color: #fff
  }

  .app-frame__edge,
  .app-frame__side {
    display: none
  }

  .app-frame__viewport {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-left: 0;
    border-right: 0
  }

  .app-main {
    overflow-y: visible
  }

  .app-menu {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--app-header-h)
  }

  .app-menu__cta--footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    box-sizing: border-box;
    height: 5.4rem;
    padding: 0 16px;
    line-height: 1;
    background: var(--mac-red);
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 8px 0 0
  }
}

@media (max-width:500px) {
  .gt_switcher {
    width: 115px !important;
    max-width: 115px !important
  }

  .gt_switcher .gt_selected {
    width: 115px !important;
    max-width: 110px !important
  }

  .gt_switcher .gt_selected a {
    display: block !important;
    width: 115px !important;
    max-width: 100px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important
  }

  .gt_switcher .gt_selected a img {
    margin-right: 6px !important
  }
}

.app-main {
  display: flex;
  flex-direction: column
}

.app-footer {
  margin-top: auto
}

@media (max-width:768px) {
  .app-main {
    scrollbar-width: none
  }

  .app-frame__viewport {
    min-height: 100dvh
  }

  .app-footer {
    padding: 0 0 70px
  }
}

@media (max-width:420px) {
  .app-header__logo {
    max-width: 150px
  }

  .app-header__actions {
    gap: 8px
  }

  .app-header__menuBtn {
    width: 3rem
  }

  .app-header__menuBar {
    height: .2rem
  }

  .app-header__translate select {
    max-width: 14rem;
    padding: 0 8px;
    font-size: 1.3rem
  }

  .app-header__menuIcon {
    width: 2rem;
    height: 1.4rem
  }

  .app-header__menuText {
    font-size: .9rem
  }
}

.app-frame__edge {
  --edge-marquee-duration: 18s
}

.app-frame__edge .app-frame__edge-text {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
  transform: none;
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  letter-spacing: normal;
  font-size: initial
}

.app-frame__edge .app-frame__edge-text-inner {
  width: 100%;
  height: 200%;
  display: flex;
  flex-direction: column;
  will-change: transform
}

.app-frame__edge .app-frame__edge-text-group {
  height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box;
  padding: 4rem 0;
  gap: 2.6rem
}

.app-frame__edge .app-frame__edge-text-group>span {
  flex: 0 0 auto;
  display: block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.5rem;
  font-family: "Alexandria", sans-serif;
  font-weight: 700;
  letter-spacing: .25em;
  color: #fff;
  line-height: 1;
  white-space: nowrap
}

.app-frame__edge--left .app-frame__edge-text-inner {
  animation: kmEdgeMarqueeUp var(--edge-marquee-duration) linear infinite
}

.app-frame__edge--right .app-frame__edge-text-inner {
  animation: kmEdgeMarqueeDown var(--edge-marquee-duration) linear infinite
}

@keyframes kmEdgeMarqueeUp {
  from {
    transform: translateY(0)
  }

  to {
    transform: translateY(-50%)
  }
}

@keyframes kmEdgeMarqueeDown {
  from {
    transform: translateY(-50%)
  }

  to {
    transform: translateY(0)
  }
}

@media (prefers-reduced-motion:reduce) {
  .app-frame__edge .app-frame__edge-text-inner {
    animation: none !important;
    transform: translateY(0) !important
  }
}