@charset "utf-8";

/* ===========================================
 * Videoletter
 * ======================================== */

/* letter
 * ---------------------------------------- */
/*
 * section
 */
.pg-section-letter-1 {
  margin: 80px 0 0 0;
  padding: 10px 0 0 0;
}

.pg-section-letter-2 {
  margin: 0 0 410px 0;
  padding: 10px 0 0 0;
}

@media screen and (max-width: 767px) {
  .pg-section-letter-1 {
    margin: 50px 0 0 0;
    padding: 25px 0 0 0;
  }

  .pg-section-letter-2 {
    margin: 0 0 50px 0;
    padding: 25px 0 0 0;
  }
}

/*
 * title
 */
.pg-letter_title {
  font-size: clamp(22px, calc(24 / 1260 * 100vw), 24px);
  padding: 0 0 0 calc(65 / 1020 * 100%);
}

@media screen and (max-width: 767px) {
  .pg-letter_title {
    font-size: min(calc(36 / 750 * 100vw), 18px);
    padding: 0 0 0 calc(50 / 750 * 100%);
  }
}

/*
 * item
 */
.pg-letterItem {
  width: calc(370 / 1020 * 100%);
}

@media screen and (max-width: 767px) {
  .pg-letterItem {
    width: calc(580 / 750 * 100%);
    margin-inline: auto;
    margin-bottom: calc(50 / 750 * 100%);
  }
}

.pg-letterItem_title {
  font-size: clamp(14px, calc(16 / 1260 * 100vw), 16px);
  padding: 0 0 calc(15 / 370 * 100%) 0;
}

@media screen and (max-width: 767px) {
  .pg-letterItem_title {
    font-size: min(calc(24 / 750 * 100vw), 12px);
    padding: 0 0 15px 0;
  }
}

/* box - j */
.pg-letterItem_jBox {
  padding: calc(18 / 370 * 100%) calc(20 / 370 * 100%) calc(15 / 370 * 100%);
  border: 1px solid #66a3ff;
  background: rgba(255, 255, 255, 0.5);
}

.pg-letterItem_jBox_thumb {
  border-radius: 10px;
  overflow: hidden;
}

.pg-letterItem_jBox_text {
  font-size: clamp(12px, calc(14 / 1260 * 100vw), 14px);
  line-height: 1.8;
  margin: 0.8em 0 0 0;
}

@media screen and (max-width: 767px) {
  .pg-letterItem_jBox {
    /* padding: calc(40 / 580 * 100%); */
    padding: 20px;
  }

  .pg-letterItem_jBox_text {
    font-size: min(calc(24 / 750 * 100vw), 12px);
  }
}

/* box - w */
.pg-letterItem_wBox {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 0 5%;
  padding: calc(20 / 370 * 100%) calc(20 / 370 * 100%);
  border: 1px solid #66a3ff;
  background: rgba(255, 255, 255, 0.5);
}

.pg-letterItem_wBox_text {
  font-size: clamp(11px, calc(12 / 1260 * 100vw), 12px);
  line-height: 1.8;
  text-align: justify;
  word-break: break-all;
  margin-block: -0.4em;
}

@media screen and (max-width: 767px) {
  .pg-letterItem_wBox {
    grid-template-columns: 1fr 1.8fr;
    /* padding: calc(40 / 580 * 100%); */
    padding: 20px;
  }

  .pg-letterItem_wBox_text {
    font-size: min(calc(24 / 750 * 100vw), 12px);
  }
}

/* box - video */
.pg-letterItem_vBox {
  display: flex;
  justify-content: space-between;
  padding: calc(12 / 370 * 100%) calc(20 / 370 * 100%);
  border: 1px solid #66a3ff;
  background: rgba(255, 255, 255, 0.5);
}

.pg-letterItem_wBox + .pg-letterItem_vBox,
.pg-letterItem_jBox + .pg-letterItem_vBox,
.pg-letterItem_wBox + .pg-letterItem_jBox {
  border-top: none;
}

.pg-letterItem_vBox_text {
  color: #66a3ff;
  font-size: clamp(12px, calc(14 / 1260 * 100vw), 14px);
}

.pg-letterItem_vBox_text.u-font-en {
  letter-spacing: 0.05em;
}

@media screen and (max-width: 767px) {
  .pg-letterItem_vBox {
    padding: 12px calc(30 / 580 * 100%);
  }

  .pg-letterItem_vBox_text {
    font-size: min(calc(24 / 750 * 100vw), 12px);
  }
}

/* player */
.pg-playerBtn {
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
}

.pg-playerBtn_arrow {
  display: block;
  width: calc(34 / 316 * 100%);
  aspect-ratio: 34/33;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.pg-playerBtn_arrow > span {
  display: block;
  width: 100%;
  height: 100%;
  background: #37a5ff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

@media (any-hover: hover) {
  .pg-playerBtn img,
  .pg-playerBtn_arrow > span {
    transition: all 0.3s;
  }

  .pg-playerBtn:hover img {
    scale: 1.1;
  }

  .pg-playerBtn:hover .pg-playerBtn_arrow > span {
    background: #002869;
  }
}

.pg-playerBtn.is-new:after {
  content: 'New';
  font-weight: 400;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  font-size: clamp(2px, calc(14 / 1260 * 100vw), 14px);
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(calc(47 / 1260 * 100vw), 47px);
  height: min(calc(18 / 1260 * 100vw), 18px);
  background: #ffff00;
  border-radius: min(calc(8 / 1260 * 100vw), 10px) 0 min(calc(8 / 1260 * 100vw), 10px) 0;
  position: absolute;
  top: calc(12 / 178 * 100%);
  left: calc(12 / 316 * 100%);
}

@media screen and (max-width: 767px) {
  .pg-playerBtn.is-new:after {
    font-size: 10px;
    width: min(calc(66 / 750 * 100vw), 33px);
    height: min(calc(28 / 750 * 100vw), 13px);
    border-radius: min(calc(14 / 750 * 100vw), 7px) 0 min(calc(14 / 750 * 100vw), 7px) 0;
  }
}

/* letter container
 * - japan
 * ---------------------------------------- */
@media screen and (min-width: 768px) {
  .pg-letter_container.-japan {
    margin: calc(100 / 1020 * 100%) 0 calc(360 / 1020 * 100%);
    padding: calc(85 / 1020 * 100%) 0 calc(110 / 1020 * 100%) 0;
    position: relative;
  }

  .pg-letter_container.-japan .lyt-letter_map {
    width: calc(478 / 1020 * 100%);
    margin-left: calc(220 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='japan-1'] {
    position: absolute;
    /* bottom: 0; */
    bottom: calc(315 / 1020 * 100%);
    right: calc(65 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='japan-2'] {
    position: absolute;
    top: 0;
    left: calc(65 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='japan-4'] {
    position: absolute;
    top: calc(970 / 1020 * 100%);
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .pg-letter_container.-japan {
    display: flex;
    flex-flow: column wrap;
    position: relative;
    margin: 40px 0 60px 0;
  }

  .pg-letter_container.-japan .lyt-letter_map {
    order: 3;
    width: calc(478 / 750 * 100%);
    margin: 25px auto;
  }

  .lyt-letter_item[data-lyt='japan-1'] {
    order: 1;
  }

  .lyt-letter_item[data-lyt='japan-2'] {
    order: 2;
  }

  .lyt-letter_item[data-lyt='japan-4'] {
    order: 4;
  }

  .lyt-letter_item[data-lyt='japan-3'] {
    order: 3;
  }
}

/*
 * map - japan
 */
/* pin */
.pg-letterMap.-japan .pg-letterMap_pin:not(.has-movie) {
  width: clamp(5px, calc(10 / 1020 * 100vw), 10px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #66a3ff;
  position: absolute;
}

.pg-letterMap.-japan .pg-letterMap_pin.has-movie {
  width: clamp(11px, calc(23 / 1020 * 100vw), 23px);
  aspect-ratio: 23/35;
  position: absolute;
}

.pg-letterMap.-japan .pg-letterMap_pin.has-movie:before {
  content: '';
  display: block;
  width: clamp(11px, calc(23 / 1020 * 100vw), 23px);
  aspect-ratio: 23/35;
  background: url('/assets/images/videoletter/pin_01.png') no-repeat center center / contain;
  position: absolute;
  top: 0;
  left: 0;
}

.pg-letterMap.-japan .pg-letterMap_text {
  font-size: clamp(12px, calc(16 / 1260 * 100vw), 16px);
  white-space: nowrap;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .pg-letterMap.-japan .pg-letterMap_text {
    font-size: min(calc(18 / 750 * 100vw), 14px);
  }
}

/* layout */
.pg-letterMap.-japan {
  aspect-ratio: 478/479;
  position: relative;
}

.pg-letterMap_pin[data-lyt='japan-1'] {
  top: calc(80 / 479 * 100%);
  left: calc(352 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-1'] .pg-letterMap_text {
  top: 50%;
  left: 1em;
  translate: 0 -50%;
}

.pg-letterMap_pin[data-lyt='japan-2'] {
  top: calc(200 / 479 * 100%);
  left: calc(330 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-2'] .pg-letterMap_text {
  top: 50%;
  left: 1.8em;
  translate: 0 -50%;
}

.pg-letterMap_pin[data-lyt='japan-3'] {
  top: calc(316 / 479 * 100%);
  left: calc(222 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-3'] .pg-letterMap_text {
  top: 50%;
  left: 1em;
  translate: 0 -50%;
}

.pg-letterMap_pin[data-lyt='japan-4'] {
  top: calc(295 / 479 * 100%);
  left: calc(175 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-4'] .pg-letterMap_text {
  top: -1.2em;
  left: 50%;
  translate: -50% 0;
}

.pg-letterMap_pin[data-lyt='japan-5'] {
  top: calc(320 / 479 * 100%);
  left: calc(197 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-5'] .pg-letterMap_text {
  top: 1em;
  left: 0;
  translate: 0 0;
}

.pg-letterMap_pin[data-lyt='japan-6'] {
  /* top: calc(328 / 479 * 100%); */
  /* left: calc(107 / 478 * 100%); */
  top: calc(300 / 479 * 100%);
  left: calc(102 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-6'] .pg-letterMap_text {
  /* bottom: 1em; */
  bottom: 2.5em;
  left: 30%;
  translate: -50% 0;
}

.pg-letterMap_pin[data-lyt='japan-7'] {
  top: calc(320 / 479 * 100%);
  left: calc(45 / 478 * 100%);
}

.pg-letterMap_pin[data-lyt='japan-7'] .pg-letterMap_text {
  top: 50%;
  right: 2em;
  translate: 0 -50%;
}

@media screen and (max-width: 767px) {
  .pg-letterMap_pin[data-lyt='japan-7'] {
      top: calc(330 / 479 * 100%);
      left: calc(50 / 478 * 100%);
  }
}

/* letter container
 * - world
 * ---------------------------------------- */
@media screen and (min-width: 768px) {
  .pg-letter_container.-world {
    margin: calc(110 / 1020 * 100%) 0 calc(110 / 1020 * 100%) 0;
    aspect-ratio: 1020/700;
    padding: calc(125 / 1020 * 100%) 0 0 0;
    position: relative;
  }

  .pg-letter_container.-world .pg-letterItemPin {
    width: clamp(5px, calc(10 / 1020 * 100vw), 10px);
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: #66a3ff;
    position: absolute;
  }

  .pg-letter_container.-world .pg-letterItemLine {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
  }

  .pg-letter_container.-world .pg-letterItemLine:before {
    content: '';
    display: block;
    width: 200px;
    height: 1px;
    background: #66a3ff;
    position: absolute;
  }

  .pg-letter_container.-world .lyt-letter_map {
    width: calc(1230 / 1020 * 100%);
    margin-left: calc(-50 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='world-1'] {
    width: 100%;
    height: calc(282 / 700 * 100%);
    position: absolute;
    top: 0;
  }

  .lyt-letter_item[data-lyt='world-1'] .pg-letterItem {
    margin-inline: calc(65 / 1020 * 100%) 0;
    position: relative;
  }

  .lyt-letter_item[data-lyt='world-1'] .pg-letterItemLine {
    bottom: 0;
    left: calc(28 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='world-1'] .pg-letterItemLine:before {
    bottom: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    left: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    transform-origin: left center;
    rotate: -50deg;
  }

  .lyt-letter_item[data-lyt='world-1'] .pg-letterItemPin {
    bottom: 0;
    left: 0;
  }

  .lyt-letter_item[data-lyt='world-2'] {
    width: 100%;
    height: calc(315 / 700 * 100%);
    position: absolute;
    top: 0;
  }

  .lyt-letter_item[data-lyt='world-2'] .pg-letterItem {
    margin-inline: auto calc(65 / 1020 * 100%);
    position: relative;
  }

  .lyt-letter_item[data-lyt='world-2'] .pg-letterItemLine {
    bottom: 0;
    right: calc(32 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='world-2'] .pg-letterItemLine:before {
    bottom: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    right: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    transform-origin: right center;
    rotate: 35deg;
  }

  .lyt-letter_item[data-lyt='world-2'] .pg-letterItemPin {
    bottom: 0;
    right: 0;
  }

  .lyt-letter_item[data-lyt='world-3'] {
    width: 100%;
    height: calc(285 / 700 * 100%);
    padding-top: calc(30 / 1020 * 100%);
    display: flex;
    align-items: stretch;
    position: absolute;
    bottom: 0;
  }

  .lyt-letter_item[data-lyt='world-3'] .pg-letterItem {
    margin-inline: calc(65 / 1020 * 100%) 0;
    position: relative;
  }

  .lyt-letter_item[data-lyt='world-3'] .pg-letterItem_title {
    position: absolute;
    bottom: 100%;
    left: 0;
  }

  .lyt-letter_item[data-lyt='world-3'] .pg-letterItemLine {
    top: 0;
    right: calc(640 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='world-3'] .pg-letterItemLine:before {
    top: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    right: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    transform-origin: right center;
    rotate: -40deg;
  }

  .lyt-letter_item[data-lyt='world-3'] .pg-letterItemPin {
    top: 0;
    right: 0;
  }

  .lyt-letter_item[data-lyt='world-4'] {
    width: 100%;
    height: calc(166 / 700 * 100%);
    position: absolute;
    bottom: 0;
  }

  .lyt-letter_item[data-lyt='world-4'] .pg-letterItem {
    margin-inline: auto calc(68 / 1020 * 100%);
    position: relative;
  }

  .lyt-letter_item[data-lyt='world-4'] .pg-letterItemLine {
    top: 0;
    left: calc(508 / 1020 * 100%);
  }

  .lyt-letter_item[data-lyt='world-4'] .pg-letterItemLine:before {
    top: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    left: clamp(2px, calc(5 / 1020 * 100vw), 5px);
    transform-origin: left center;
    rotate: 45deg;
  }

  .lyt-letter_item[data-lyt='world-4'] .pg-letterItemPin {
    top: 0;
    left: 0;
  }
}

@media screen and (max-width: 767px) {
  .pg-letter_container.-world {
    display: flex;
    flex-flow: column wrap;
    position: relative;
    padding: 40px 0 0 0;
    margin: 0 0 50px 0;
  }

  .pg-letter_container.-world .lyt-letter_map {
    width: calc(766 / 750 * 100%);
    order: 3;
    margin: 50px 0 0 calc(22 / 750 * 100vw);
  }

  .lyt-letter_item[data-lyt='world-1'] {
    order: 1;
  }

  .lyt-letter_item[data-lyt='world-2'] {
    order: 2;
    margin-block: 40px 0;
  }

  .lyt-letter_item[data-lyt='world-3'] {
    order: 4;
    margin-block: 40px 0;
  }

  .lyt-letter_item[data-lyt='world-4'] {
    order: 5;
    margin-block: 40px 0;
  }
}

/*
 * map(item) - world
 */
/* pin */
@media screen and (min-width: 768px) {
}

@media screen and (max-width: 767px) {
  .pg-letter_container.-world .pg-letterItemLine,
  .pg-letter_container.-world .pg-letterItemPin {
    display: none;
  }
}

/*
 * map - world
 */
/* pin */
.pg-letterMap.-world .pg-letterMap_pin {
  display: none;
}

.pg-letterMap.-world .pg-letterMap_pin:not(.has-movie) {
  width: clamp(5px, calc(10 / 1020 * 100vw), 10px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  background: #66a3ff;
  position: absolute;
}

.pg-letterMap.-world .pg-letterMap_pin.has-movie {
  width: clamp(11px, calc(23 / 1020 * 100vw), 23px);
  aspect-ratio: 23/35;
  position: absolute;
}

.pg-letterMap.-world .pg-letterMap_pin.has-movie:before {
  content: '';
  display: block;
  width: clamp(11px, calc(23 / 1020 * 100vw), 23px);
  aspect-ratio: 23/35;
  background: url('/assets/images/videoletter/pin_01.png') no-repeat center center / contain;
  position: absolute;
  top: 0;
  left: 0;
}

@media screen and (max-width: 767px) {
  .pg-letterMap.-world .pg-letterMap_pin {
    display: block;
  }

  .pg-letterMap.-world .pg-letterMap_pin:not(.has-movie):after {
    content: '';
    display: block;
    width: 1px;
    height: calc(40 / 750 * 100vw);
    background: #66a3ff;
    position: absolute;
    left: 50%;
    translate: -50% 0;
  }
}

.pg-letterMap.-world .pg-letterMap_text {
  font-size: clamp(12px, calc(16 / 1260 * 100vw), 16px);
  white-space: nowrap;
  position: absolute;
}

@media screen and (max-width: 767px) {
  .pg-letterMap.-world .pg-letterMap_text {
    font-size: min(calc(18 / 750 * 100vw), 14px);
  }
}

/* layout */
.pg-letterMap.-world {
  aspect-ratio: 1230/472;
  position: relative;
}

.pg-letterMap_pin[data-lyt='world-1'] {
  top: calc(147 / 472 * 100%);
  left: calc(76 / 1230 * 100%);
}

@media screen and (max-width: 767px) {
  .pg-letterMap_pin[data-lyt='world-1']:after {
    bottom: 50%;
  }
}

.pg-letterMap_pin[data-lyt='world-2'] {
  top: calc(178 / 472 * 100%);
  left: calc(1028 / 1230 * 100%);
}

@media screen and (max-width: 767px) {
  .pg-letterMap_pin[data-lyt='world-2'] {
    top: calc(74 / 294 * 100%);
    left: calc(634 / 766 * 100%);
  }

  .pg-letterMap_pin[data-lyt='world-2'] .pg-letterMap_text {
    top: 50%;
    right: 1em;
    translate: 0 -50%;
  }
}

.pg-letterMap_pin[data-lyt='world-3'] {
  top: calc(290 / 472 * 100%);
  left: calc(420 / 1230 * 100%);
}

.pg-letterMap_pin[data-lyt='world-4'] {
  top: calc(405 / 472 * 100%);
  left: calc(560 / 1230 * 100%);
}
