@charset "utf-8";

html {
  scroll-padding-top: 15px;
}

/* =====================================
  global hero
===================================== */
.global-hero {
  overflow: hidden;
  background-color: #faf2e6;
  position: relative;
}

.global-hero::before,
.global-hero::after {
  content: "";
  width: 473.874px;
  height: 363.129px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  position: absolute;
}

.global-hero::before {
  background-image: url(/what/global/img/bg_hero_loop_left.svg);
  top: -214px;
  left: calc(50% - 720px - 185px);
}

.global-hero::after {
  background-image: url(/what/global/img/bg_hero_loop_right.svg);
  top: -225px;
  right: calc(50% - 720px - 161px);
}

.global-hero__inner {
  box-sizing: border-box;
  max-width: 1000px;
  min-height: 411px;
  margin: 0 auto;
  padding: 80px 20px 130px;
  position: relative;
  z-index: 2;
}

.global-hero__title {
  margin: 0;
  text-align: center;
}

.global-hero__title-img {
  display: block;
  width: min(891px, 100%);
  height: auto;
  margin: 0 auto;
}

.global-hero__title-img--sp {
  display: none;
}

.global-hero__lead {
  margin: 24px 0 0;
  color: var(--color-blue950);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.54px;
  text-align: center;
}

.global-hero__lead-line {
  display: block;
}

@media screen and (max-width: 767px) {
  .global-hero__inner {
    min-height: 0;
    padding: 32px 20px 37px;
  }

  .global-hero::before,
  .global-hero::after {
    width: 103.765px;
    height: 82.172px;
  }

  .global-hero::before {
    background-image: url(/what/global/img/bg_hero_loop_left_sp.svg);
    top: -50px;
    left: -23.69px;
  }

  .global-hero::after {
    background-image: url(/what/global/img/bg_hero_loop_right_sp.svg);
    width: 101px;
    height: 80px;
    top: -38px;
    right: -32px;
  }

  .global-hero__title-img--pc {
    display: none;
  }

  .global-hero__title-img--sp {
    display: block;
    width: min(296.188px, 100%);
    max-width: none;
    height: auto;
  }

  .global-hero__lead {
    margin-top: 24px;
    font-size: 1rem;
    letter-spacing: 0.48px;
    text-align: left;
  }

  .global-hero__lead-line {
    display: block;
  }

  .global-hero__lead-line--first,
  .global-hero__lead-line--second {
    display: inline;
  }

  .global-hero__lead-line--last {
    margin-top: 1.8em;
  }
}

/* =====================================
  global countries
===================================== */
.global-countries.bg-wave {
  --bg-color-01: #fffdf7;
  --bg-color-02: #fffdf7;
  margin-top: -86px;
  padding: 86px 20px 120px;
}

.global-anchor-nav {
  display: none;
}

.global-countries__inner {
  display: grid;
  gap: 64px;
  max-width: 1164px;
  margin: 0 auto;
}

/* map */
.global-country-map__intro {
  display: inline-flex;
  align-items: center;
  min-height: 69px;
  padding: 10px 35px;
  position: relative;
}
.global-country-map__intro::before,
.global-country-map__intro::after {
  content: "";
  width: 12px;
  height: calc(100% + 2px);
  border: 2px solid var(--color-mono300);
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.global-country-map__intro::before {
  border-right: none;
  left: 0;
}
.global-country-map__intro::after {
  border-left: none;
  right: 0;
}
.global-country-map__intro-pin {
  padding-right: 19px;
  position: relative;
}
.global-country-map__intro-pin::after {
  content: "";
  width: 13px;
  height: 20px;
  background: url(/what/global/img/icon_pin.svg) no-repeat center / contain;
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
}
.global-country-map__image {
  margin-top: 48px;
  position: relative;
}
.global-country-map__image img {
  display: block;
}
.global-country-map__tap-text {
  display: none;
}
.global-country-map__pin {
  position: absolute;
}
.global-country-map__pin-japan {
  top: 40.735%;
  left: 51.116%;
}
.global-country-map__pin-vietnam {
  top: 48.085%;
  left: 39.519%;
}
.global-country-map__pin-thailand {
  top: 52.373%;
  left: 33.763%;
}
.global-country-map__pin-france {
  top: 30.015%;
  left: 7.130%;
}
.global-country-map__pin-china {
  top: 34.15%;
  left: 38.230%;
}
.global-country-map__pin-spain {
  top: 34.915%;
  left: 5.670%;
}
.global-country-map__pin-uk {
  top: 26.033%;
  left: 1.202%;
}
.global-country-map__pin-newzealand {
  top: 88.667%;
  left: 62.715%;
}
.global-country-map__pin-australia {
  top: 82.082%;
  left: 40.636%;
}
.global-country-map__pin-link {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px 6px;
  padding-right: 12px;
  border-radius: 8px;
  font-size: 1.25rem;/* 20px */
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.6px;
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
}
.global-country-map__pin-link--icon-right {
  padding-left: 12px;
}
.global-country-map__pin-link::before,
.global-country-map__pin-link--icon-right::after {
  content: "";
  width: 19px;
  height: 26px;
  background: url(/what/global/img/icon_pin_02.svg) no-repeat center / contain;
}
.global-country-map__pin-link--icon-right::before {
  content: none;
}


.global-country-detail {
  display: grid;
  gap: 40px;
  color: var(--color-blue950);
}
.global-country-detail + .global-country-detail {
  margin-top: 56px;
}

.global-country-detail__title {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding-left: 28px;
  font-weight: bold;
  line-height: 1.5;
  white-space: nowrap;
  position: relative;
}

.global-country-detail__title::before {
  content: "";
  width: 12px;
  height: 100%;
  border-radius: 9999px;
  background-color: #0087e2;
  position: absolute;
  top: 0;
  left: 0;
}

.global-country-detail__title-name {
  font-size: 2.5rem;
  letter-spacing: 1.2px;
}

.global-country-detail__title-period {
  color: #57727f;
  font-size: 1.5rem;
  letter-spacing: 0.72px;
}

.global-country-detail__section {
  display: grid;
  gap: 20px;
}

.global-country-detail__heading {
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #aea79f;
  font-size: 1.75rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.84px;
}

.global-country-detail__heading-period {
  color: #57727f;
  font-size: 1.5rem;
  letter-spacing: 0.72px;
}

.global-country-detail__feature {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.global-country-detail__text {
  flex: 1 1 0;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.54px;
}

.global-country-detail__text p {
  margin: 0;
}

.global-country-detail__text p + p {
  margin-top: 12px;
}

.global-country-detail__cooperation {
  display: flex;
}

.global-country-detail__cooperation span {
  flex-shrink: 0;
}

.global-country-detail__voice {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px 32px;
  border-radius: 16px;
  background-color: #faf2e6;
  box-shadow: 8px 8px 0 #ebe0d0;
}

.global-country-detail__voice-text {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.54px;
}

.global-country-detail__voice-text p {
  margin: 0;
}

.global-country-detail__voice-text p + p {
  margin-top: 0;
}

.global-country-detail__link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-self: start;
  color: var(--color-blue950);
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 1.5;
  letter-spacing: 0.54px;
  text-decoration: none;
}

.global-country-detail__link-text {
  display: block;
}

.global-country-detail__link-icon {
  display: block;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: var(--color-blue700) url(/what/global/img/icon_link.svg) no-repeat center / 18px 18px;
  position: relative;
  transition: transform 0.2s;
}

@media (hover: hover) {
  .global-country-map__pin:has(.global-country-map__pin-link:hover) {
    z-index: 1;
  }
  .global-country-map__pin-link:hover {
    outline: 2px solid var(--color-orange600);
    outline-offset: -2px;
    background: rgba(255, 253, 247, 0.90);
    color: var(--color-blue700);
    text-decoration: underline;
  }

  .global-country-detail__link:hover {
    color: var(--color-blue700);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
  }

  .global-country-detail__link:hover .global-country-detail__link-icon {
    transform: scale(1.2);
  }
}

@media screen and (max-width: 767px) {
  .global-countries.bg-wave {
    margin-top: -25px;
    padding: 25px 20px 48px;
  }

  .global-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    max-width: 335px;
    margin: 0 auto 48px;
  }

  .global-anchor-nav__guide {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-bottom: 8px;
  }

  .global-anchor-nav__guide-icon {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
  }

  .global-anchor-nav__guide-text {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    color: var(--color-blue950);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0.48px;
  }

  .global-anchor-nav__link {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 calc((100% - 8px) / 2);
    width: calc((100% - 8px) / 2);
    height: 64px;
    padding: 0 8px;
    border-bottom: 4px solid #dcd5cc;
    border-radius: 6px;
    background-color: #fffdf7;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.12);
    color: var(--color-blue950);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.48px;
    text-decoration: none;
  }

  .global-anchor-nav__link-text {
    display: block;
    white-space: nowrap;
  }

  .global-anchor-nav__link--long .global-anchor-nav__link-text {
    white-space: normal;
  }

  .global-anchor-nav__link-icon {
    display: grid;
    place-items: center;
    flex: 0 0 14px;
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background-color: var(--color-blue700);
  }

  .global-anchor-nav__link-icon::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-top: -2px;
    border-right: 2px solid var(--color-mono50);
    border-bottom: 2px solid var(--color-mono50);
    transform: rotate(45deg);
  }

  .global-countries__inner {
    gap: 48px;
  }

  /* map */
  .global-country-map__intro {
    display: none;
  }
  .global-country-map__image {
    margin-top: 20px;
  }
  .global-country-map__tap-text {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    font-size: 1rem;/* 16px */
    line-height: 1.5;
    letter-spacing: 0.48px;
  }
  .global-country-map__tap-text::before {
    content: "";
    width: 36px;
    height: 36px;
    background: url(/common/img/icon_tap.svg) no-repeat center / contain;
  }
  .global-country-map__pin-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .global-country-map__pin {
    width: calc(50% - 4px);
    position: static;
  }
  .global-country-map__pin-link {
    min-height: 64px;
    padding: 10px 23px 10px 8px;
    border-radius: 6px;
    border-bottom: 4px solid var(--color-mono200);
    background: var(--color-mono50);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.12);
    font-size: 1rem;/* 16px */
    letter-spacing: 0.48px;
    position: relative;
  }
  .global-country-map__pin-link::before {
    content: none;
  }
  .global-country-map__pin-link::after {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: var(--color-blue700) url(/common/img/icon_arrow_right_01.svg) no-repeat center / 4.24px 7.8px;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%) rotate(90deg);
  }

  .global-country-detail {
    gap: 24px;
  }
  .global-country-detail + .global-country-detail {
    margin-top: 32px;
  }

  .global-country-detail__title {
    padding-left: 20px;
  }

  .global-country-detail__title::before {
    width: 8px;
  }

  .global-country-detail__title-name {
    font-size: 1.75rem;
    letter-spacing: 0.96px;
  }

  .global-country-detail__title-period {
    font-size: 1.125rem;
    letter-spacing: 0.48px;
  }

  .global-country-detail__section + .global-country-detail__section {
    margin-top: 24px;
  }

  .global-country-detail__heading {
    font-size: 1.5rem;
    letter-spacing: 0.66px;
  }

  .global-country-detail__heading-period {
    font-size: 1rem;
    letter-spacing: 0.48px;
  }

  .global-country-detail__feature,
  .global-country-detail__voice {
    flex-direction: column;
    gap: 20px;
  }

  .global-country-detail__text,
  .global-country-detail__voice-text {
    font-size: 1rem;
    letter-spacing: 0.48px;
  }

  .global-country-detail__voice {
    align-items: flex-start;
    gap: 8px;
    padding: 12px 16px 20px;
    border-radius: 12px;
    box-shadow: 6px 6px 0 #ebe0d0;
  }

  .global-country-detail__icon {
    width: 70px;
    height: 70px;
  }

  .global-country-detail__link {
    justify-self: start;
    font-size: 1rem;
    letter-spacing: 0.48px;
  }
}
