/* ========================================
  Base
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222222;
  background: #f3f0f8;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: #0053CB;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* ========================================
  Layout
======================================== */
.abroad-page {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  overflow-y: visible;
}

.abroad-container {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
}

.abroad-main {
  display: block;
}

.abroad-section {
  padding: 54px 0 0 0;
}

.abroad-section02 {
  padding: 32px 0 0 0;
}

.abroad-section__cta {
  margin-top: 24px;
  margin-bottom: 32px;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .abroad-section {
    padding: 72px 0 0 0;
  }
  .abroad-section02 {
  padding: 48px 0 0 0;
  }
}

/* ========================================
  TOP
======================================== */
.abroad-top {
   background: url("../img/mv-bg.png") center top /cover no-repeat
}
@media screen and (min-width: 768px) {
  .abroad-top {
   background: url("../img/mv-bg_pc.png") center top /cover no-repeat
  }
}

/* ========================================
  Header
======================================== */
.abroad-header {
  position: relative;
  z-index: 10;
}

.abroad-header__inner {
  width: min(100% - 32px, 1120px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.abroad-header__logo-image {
  width: 140px;
}

.abroad-header__cta {
  position: fixed;
  top: 16px;
  right: 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #fff;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
}

.abroad-header__visit-link {
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
}

.abroad-header__qr {
  display: block;
}

.abroad-header__qr img {
  width: 72px;
  height: auto;
}

@media screen and (min-width: 768px) {
  .abroad-header__cta {
    top: 0;
    right: 32px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
}

/* ========================================
  FV
======================================== */
.abroad-fv {
  padding: 12px 0 32px;
}

.abroad-fv__inner {
  text-align: center;
}

.abroad-fv__title {
  margin: 0 0 32px 0;
  font-size: 1.6rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.abroad-fv__title span {
  font-size: 1.2rem;
}

.abroad-fv__device {
  background: url("../img/fv-bg.png") center center /contain no-repeat;
}

.abroad-fv__device-image {
  width: 60%;
  margin: 0 auto;
  text-align: center;
}

.abroad-fv__cta {
  margin-top: 24px;
}

@media screen and (min-width: 768px) {
  .abroad-fv__title {
    font-size: 2.8rem;
  }
  .abroad-fv__title span {
    font-size: 2rem;
  }
  .abroad-fv__device {
    background: url("../img/fv-bg_pc.png") center center /contain no-repeat;
  }
  .abroad-fv__device-image {
    width: 55%;
  }
}

/* ========================================
  Character strip
======================================== */
.abroad-character-strip {
  position: relative;
  overflow: hidden;
  padding: 22px 0;
  background: url("../img/nami-bg.png") center / auto 100% repeat-x;
}

.abroad-character-strip__inner {
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.abroad-character-strip__side {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.abroad-character-strip__side--left {
  left: 0;
}

.abroad-character-strip__side--right {
  right: 0;
}

.abroad-character-strip::before {
  top: 0;
}

.abroad-character-strip::after {
  bottom: 0;
  transform: rotate(180deg);
}

.abroad-character-strip__track {
  display: flex;
  width: max-content;
  animation: abroad-character-marquee 24s linear infinite;
}

.abroad-character-strip__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 16px;
}

.abroad-character-strip__item {
  display: block;
  flex-shrink: 0;
  height: 84px;
  width: auto;
  object-fit: contain;
  margin-right: 50px;
}

.abroad-character-strip__item:last-child {
  margin-right: 30px;
}

@keyframes abroad-character-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media screen and (min-width: 768px) {
  .abroad-character-strip__inner {
    width: 680px;
  }
  .abroad-character-strip__side {
    display: block;
  }
}

@media screen and (max-width: 767px) {
  .abroad-character-strip__inner {
    width: 100%;
  }

  .abroad-character-strip__item {
    height: 56px;
    margin-right: 32px;
  }
}

/* ========================================
  Section head
======================================== */
.abroad-section-head {
  margin-bottom: 24px;
}

.abroad-section-head--center {
  text-align: center;
}

.abroad-section-head__title {
  position: relative;
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.abroad-section-head__title span {
  position: relative;
  display: inline-block;
  background: #f3f0f8;
  padding-right: 16px;
  z-index: 1;
}

.abroad-section-head__title::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 0;
  transform: translateY(-50%);
  width: 100vw;
  height: 1px;
  background: linear-gradient( to right, #FC69A1 0%, #4993FF 100% );
  z-index: 0;
}

.abroad-section-head__title02 span {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(90deg, #FC69A1 0%, #4993FF 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media screen and (min-width: 768px) {
  .abroad-section-head__title {
    font-size: 2.2rem;
  }
  .abroad-section-head__title02 span {
    font-size: 2.2rem;
  }
}
/* ========================================
  Button
======================================== */
.abroad-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  min-height: 48px;
  padding: 16px 24px;
  border-radius: 10px;
  font-weight: 700;
  text-align: center;
}

.abroad-button--primary {
  color: #fff;
  background: linear-gradient(90deg, #CF50EF 0%, #4504DB 100%);
}

.abroad-button--secondary {
  color: #fff;
  background: #000;
}

.abroad-button--large {
  min-width: 220px;
  min-height: 56px;
  font-size: 1.2rem;
}

.abroad-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .abroad-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(69, 4, 219, 0.45);
  }
}

/* ========================================
  Tab
======================================== */
.abroad-tab {
  position: relative;
  overflow: visible;
}

.abroad-tab__list {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-start;
  margin-bottom: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 16px 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.abroad-tab__list::-webkit-scrollbar {
  display: none;
}

.abroad-tab__button {
  flex: 0 0 auto;
  box-sizing: border-box;
  padding: 10px 18px;
  border-radius: 999px;
  background: #EBEBF3;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.abroad-tab__button--current {
  background: #fff;
}

.abroad-tab__viewport {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: none;
  padding: 0 0 8px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.abroad-tab__viewport::-webkit-scrollbar {
  display: none;
}

.abroad-tab__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: max-content;
  padding-left: var(--abroad-card-start-gap, 16px);
  padding-right: var(--abroad-card-end-gap, 16px);
}

.abroad-step-card--shipping {
  flex: 0 0 320px;
  min-height: 100%;
}

/* ========================================
  Card
======================================== */
.abroad-step-title {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
  color: #3F0BD2;
  font-family: "Rubik", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.abroad-step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(to bottom, #fff 0%, #fff 50%, #D7E7FF 100%);
  padding: 24px;
  height: auto;
  border: 1px solid #ddd;
}

.abroad-step-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.abroad-step-card__text {
  margin: 0;
}

.abroad-step-card__image {
  margin-top: 20px;
  margin-left: 6px;
  margin-right: 6px;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.abroad-step-card__image02 {
  margin-top: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.abroad-step-card__image img,.abroad-step-card__image02 img {
  display: block;
  width: 100%;
  height: auto;
}

.abroad-step-card.is-active {
  border-color: #1890ff;
}

@media screen and (max-width: 767px) {
  .abroad-step-card--shipping {
    flex: 0 0 320px;
  }
  .abroad-step-card__image02 {
    margin-left: 6px;
    margin-right: 6px;
  }
}

@media screen and (min-width: 768px) {
  .abroad-shipping,
  .abroad-shipping .abroad-section__inner,
  .abroad-shipping .abroad-tab {
    overflow: visible;
  }

  .abroad-step-card--shipping {
    flex: 0 0 420px;
  }
}

/* ========================================
  prev next
======================================== */
.abroad-tab__arrow {
  display: none;
}

.abroad-tab__arrow.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .abroad-tab__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(124, 58, 237, 0.8);
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.3s, background 0.3s;
  }

  .abroad-tab:hover .abroad-tab__arrow {
    opacity: 1;
    pointer-events: auto;
  }

  .abroad-tab__arrow:hover {
    background: rgba(124, 58, 237, 1);
  }

  .abroad-tab__arrow--prev {
    left: -16px;
  }

  .abroad-tab__arrow--next {
    right: -16px;
  }
}

/* ========================================
  Accordion
======================================== */
.abroad-accordion__item {
  border-bottom: 1px solid #ddd;
}

.abroad-accordion__trigger {
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.abroad-accordion__question {
  font-size: 1.4rem;
  font-weight: 700;
}

.abroad-accordion__icon {
  font-size: 32px;
  line-height: 1;
  transition: transform 0.35s ease;
}

.abroad-accordion__content {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height 0.4s ease,
    opacity 0.3s ease;
}

.abroad-accordion__inner {
  padding: 0 0 20px;
}

.abroad-accordion__answer {
  margin: 0;
}

.abroad-accordion__answer a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.abroad-accordion__item--open .abroad-accordion__icon {
  transform: rotate(45deg);
}

.abroad-accordion__item--open .abroad-accordion__content {
  opacity: 1;
}

/* ========================================
  Down
======================================== */
.abroad-down-bg {
  background: url("../img/footer-bg.png") center bottom /cover no-repeat
}
@media screen and (min-width: 768px) {
  .abroad-down-bg {
   background: url("../img/footer-bg_pc.png") center bottom /cover no-repeat
  }
}

/* ========================================
  Banner
======================================== */

.abroad-banner {
  padding: 40px 0 24px;
}

.abroad-banner__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.abroad-banner__link {
  display: block;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.abroad-banner__link:hover {
  transform: translateY(-4px);
}

.abroad-banner__link img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  .abroad-banner {
    padding: 28px 0 16px;
  }

  .abroad-banner__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* ========================================
  Brand
======================================== */
.abroad-brand {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0;
}

.abroad-brand__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.abroad-brand__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 767px) {
  .abroad-brand__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
  Footer
======================================== */
.abroad-footer {
  padding: 32px 0 48px;
}

.abroad-footer__inner {
  text-align: center;
}

.abroad-footer__badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.abroad-footer__badge {
  width: 100px;
}

.abroad-footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.abroad-footer__item {
  position: relative;
}

.abroad-footer__item:not(:last-child)::after {
  content: "|";
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.4);
}

.abroad-footer__item a {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.abroad-footer__item a:hover {
  opacity: 0.7;
}

.abroad-footer__copyright {
  margin: 0;
  font-size: 0.8rem;
  color: #fff;
}

/* ========================================
  Modal
======================================== */
.abroad-image-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.abroad-image-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.abroad-image-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.abroad-image-modal__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  transition: transform 0.25s ease;
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

.abroad-image-modal.is-open .abroad-image-modal__img {
  transform: translate(-50%, -50%) scale(1);
}

/* ========================================
  Pc Sp only
======================================== */
.abroad-pc-only {
  display: none;
}

@media screen and (min-width: 768px) {
  .abroad-pc-only {
    display: block;
  }
}

.abroad-sp-only {
  display: none;
}

@media screen and (max-width: 767px) {
  .abroad-sp-only {
    display: block;
  }
}
