@charset "utf-8";
/*ここでは
	life-in-japan-movieページ
	などを記述します
*/

* {
  box-sizing: border-box;
}

.cnt_block {
  margin-bottom: 75px;
}

.page_cont {
  position: relative;
  padding-bottom: 6em;
}

@media screen and (max-width: 990px) {
  .page_cont {
    position: relative;
    padding-bottom: 6em;
  }
}

.sns_blc {
  position: absolute;
  top: 40px;
  right: 0;
  width: 50%;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.sns_blc_bottom {
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

@media screen and (min-width: 681px) {
  /*  #st-1 .st-btn[data-network=line], */
  .st-btn[data-network="whatsapp"] {
    display: none !important;
  }
}

@media screen and (max-width: 990px) {
  .sns_blc {
    position: absolute;
    top: 20px;
    right: 1.5em;
  }
  .st-btn[data-network="whatsapp"] {
    display: inline-block !important;
  }
}

@media screen and (max-width: 680px) {
  .sns_blc {
    position: relative;
    margin-bottom: 1em;
    top: 0;
    right: 1.5em;
    width: 100%;
  }

  #mobile-share .st-has-labels .st-btn,
  #mobile-share2 .st-has-labels .st-btn {
    min-width: 44px !important;
  }

  #mobile-share .st-has-labels .st-btn > span,
  #mobile-share2 .st-has-labels .st-btn > span {
    display: none;
  }
  .column_title_block{
    margin-right: 1.5em;
  }
}

.st-btn > img {
  height: 24px !important;
  width: 24px !important;
  top: 4px !important;
}

.st-btn > span {
  padding: 0 3px;
}

.st-btn {
  min-width: 44px !important;
}

.st-btn > span {
  display: none !important;
}

@media screen and (min-width: 681px) {
  #st-1 .st-btn[data-network="line"], #st-1 .st-btn[data-network="whatsapp"] {
      display: none !important;
  }
}


/* ==============================
   .ljm-intro
   ============================== */
.ljm-intro {
  margin-bottom: 24px;

  @media screen and (max-width: 990px) {
    margin-bottom: 24px;
  }
  @media screen and (max-width: 680px) {
    margin-bottom: 30px;
  }
}

.ljm-intro__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;

  @media screen and (max-width: 680px) {
    flex-direction: column-reverse;
    gap: 20px;
  }
}

.ljm-intro__text {
  flex: 1 1 auto;

  p {
    margin-bottom: 1.5em;
    line-height: 1.7;
    font-size: 16px;

    @media screen and (max-width: 680px) {
      font-size: 15px;
    }
  }
  p:last-child {
    margin-bottom: 0;
  }
}

.ljm-intro__figure {
  flex: 0 0 auto;
  width: 280px;
  margin: 0;
  margin-right: auto;

  @media screen and (max-width: 990px) {
    width: 260px;
  }
  @media screen and (max-width: 680px) {
    width: 100%;
    max-width: 88%;
    margin: 0 auto;
  }

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

/* ==============================
   .ljm-videos (共通)
   ============================== */
.ljm-videos {
  margin-bottom: 40px;

  @media screen and (max-width: 680px) {
    margin-bottom: 32px;
  }
}

.ljm-videos__lead {
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.7;

  @media screen and (max-width: 680px) {
    font-size: 15px;
  }
}

/* ==============================
   .ljm-tabs (言語タブ)
   ============================== */
.ljm-tabs {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  gap: 8px;
  margin-bottom: 40px;

  @media screen and (max-width: 680px) {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 6px;
    margin-bottom: 20px;
    max-width: 100%;
    box-sizing: border-box;
  }
}

.ljm-tabs__btn {
  appearance: none;
  flex: 1 1 auto;
  border: 3px solid #d3dee6;
  background: #c0d0db;
  color: #86939f;
  padding: 2px 12px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;

  &:hover {
    background: #e8f1f2;
    border-color: #ff8f00;
  }
  &.is-active {
    background: #c7f1ff;
    border-color: #00c0ff;
    color: #474f58;
    font-weight: 700;
  }

  @media screen and (max-width: 680px) {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 6px 0;
    font-size: 14px;
    white-space: normal;
    line-height: 1.3;
  }

  /* SP: Bahasa Indonesia は2列分の幅 */
  &[data-lang="id"] {
    @media screen and (max-width: 680px) {
      grid-column: span 2;
      white-space: nowrap;
    }
  }
}

/* ==============================
   .ljm-panels
   ============================== */
.ljm-panels__panel {
  &[hidden] {
    display: none;
  }
}

/* ==============================
   .ljm-cat (カテゴリ枠)
   ============================== */
.ljm-cat {
  margin-bottom: 40px;

  &:last-child {
    margin-bottom: 0;
  }

  @media screen and (max-width: 680px) {
    width: calc(100% + 3em);
    margin-left: -1.5em;
    margin-right: -1.5em;
    background: #006697;
    border-radius: 0;
  }
}

.ljm-cat--rec {
  margin-bottom: 74px;

  @media screen and (max-width: 680px) {
    display: flow-root;
    margin-bottom: 36px;
  }
}

.ljm-cat__heading,
.ljm-index__heading,
.ljm-related__heading {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background: #006697;
  color: #64d9ff;
  text-decoration: underline;
  font-family: inherit;
  font-size: 20px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  text-align: left;
  cursor: default;
  margin: 0;

  @media screen and (max-width: 680px) {
    padding: 17px 1.5em;
    font-size: 18px;
    border-radius: 0;
    background: transparent;
  }
}

.ljm-cat__heading--toggle {
  cursor: pointer;
  position: relative;
  padding-right: 48px;

  &:hover {
    color: #ff8f00;
  }

  &::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #64d9ff;
    border-bottom: 2px solid #64d9ff;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.25s;
  }
  &[aria-expanded="true"]&::after {
	top: calc(50% - 4px);
	-moz-transform: rotate(225deg);
	-webkit-transform: rotate(225deg);
	-o-transform: rotate(225deg);
	-ms-transform: rotate(225deg);
	transform: rotate(225deg);
  }
}

/* おすすめ動画 & 動画Index: 白文字 & 下線なし */
.ljm-cat--rec > .ljm-cat__heading,
.ljm-index__heading,
.ljm-related__heading {
  color: #fff;
  text-decoration: none;
}

/* 展開中の矢印方向 */
.ljm-cat--open > .ljm-cat__heading--toggle::after {
  transform: translateY(-30%) rotate(-135deg);
}

/* ==============================
   .ljm-cat__list (カード3カラム)
   ============================== */
.ljm-cat__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 23px;

  @media screen and (max-width: 990px) {
    grid-template-columns: repeat(2, 1fr);
  }
  @media screen and (max-width: 680px) {
    padding-left: 1.55em;
    padding-right: 1.55em;
    padding-bottom: 40px;
  }
  @media screen and (max-width: 480px) {
    grid-template-columns: 1fr;
  }
}

/* トグル対象カテゴリの list は初期非表示、開いたら表示 */
.ljm-cat:not(.ljm-cat--rec):not(.ljm-cat--open) > .ljm-cat__list {
  display: none;
}

/* ==============================
   .ljm-card
   ============================== */
.ljm-card {
  list-style: none;
}

.ljm-card__link {
  display: block;
  position: relative;
  background: transparent;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;

  &:hover {
    opacity: 0.8;
  }
}

/* タイトル帯 */
.ljm-card__title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: transparent;
  color: #0093cb;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
  min-height: 34px;
  margin: 5px 0 0 0;
  padding: 0 10px 0 0;
}

.ljm-card__label {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 6px;
}

/* SP: .ljm-cat 青背景上は白文字 */
@media screen and (max-width: 680px) {
  .ljm-cat .ljm-card__title {
    color: #fff;
  }
}

/* 番号バッジ (青) */
.ljm-card__num {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 31px;
  background: #0093cb;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  padding-top: 3px;
  border-radius: 4px 4px 4px 4px;
}

.ljm-card__thumb {
  position: relative;
  background: #fff;
  border: 3px solid #0093cb;
  border-radius: 4px 4px 4px 4px;

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

  img[hidden] {
    display: none;
  }

  /* YouTubeアイコン: 復活時はこのブロックのコメントを外す
  &::after {
    content: "";
position: absolute;
    left: 6px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    background: url("/life-in-japan-movie/files/icon_youtube.svg") no-repeat center / contain;
  }
  */
}

/* おすすめ動画カード */
.ljm-card--rec {
  .ljm-card__num {
    background: #0093cb;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
  }
  .ljm-card__title {
    background: transparent;
  }
}

/* ==============================
   .ljm-pickup (こちらもおすすめ)
   ============================== */
.ljm-pickup {
  position: relative;
  margin: 54px 0 0;
  padding: 36px 20px 16px;
  background: #fff;
  border: 3px solid #64d9ff;
  border-radius: 4px;

  @media screen and (max-width: 680px) {
    margin: 14px 1.55em 40px;
    padding: 36px 16px 20px;
  }
}

.ljm-pickup__heading {
  position: absolute;
  top: -15px;
  left: 17px;
  margin: 0;
  padding: 7px 21px 7px;
  background: #006697;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.5;
  border-radius: 4px;

  @media screen and (max-width: 680px) {
    font-size: 15px;
    left: 12px;
    border: 3px solid #64d9ff;
    top: -21px;
  }
}

.ljm-pickup__body {
  display: flex;
  align-items: center;
  gap: 36px;

  @media screen and (max-width: 990px) {
    gap: 24px;
  }
  @media screen and (max-width: 680px) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
}

.ljm-pickup__figure {
  flex: 0 0 auto;
  width: 240px;
  margin: 0;

  @media screen and (max-width: 990px) {
    width: 200px;
  }
  @media screen and (max-width: 680px) {
    width: 100%;
  }

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

.ljm-pickup__text {
  flex: 1 1 auto;
  min-width: 0;

  p {
    margin: 0;
    font-size: 15px;
    line-height: 1.85;
    color: #333;

    @media screen and (max-width: 680px) {
      font-size: 14px;
      line-height: 1.7;
    }
  }
}

.ljm-pickup__br {
  @media screen and (max-width: 1200px) {
    display: none;
  }
}

.ljm-pickup .ljm-pickup__link-wrap {
  margin-top: 12px;
}

.ljm-pickup__link {
  color: #0093d0;

  &:hover {
    color: #ff8f00;
  }
}

/* ==============================
   .ljm-index (動画Index)
   ============================== */
.ljm-index {
  margin-top: 0;
}

.ljm-index__list {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 3;
  column-gap: 60px;

  @media screen and (max-width: 990px) {
    columns: 2;
    column-gap: 40px;
    padding: 24px 20px;
  }
  @media screen and (max-width: 680px) {
    columns: 1;
    padding: 16px 10px;
  }
}

.ljm-index__item {
  break-inside: avoid;
  padding: 4px 0 4px 10px;
  border-left: 5px solid #0093cb;
}

/* PC(3カラム): 1〜15 / 16〜29 / 30〜41 で分割 */
.ljm-index__list > .ljm-index__item:nth-child(16),
.ljm-index__list > .ljm-index__item:nth-child(30) {
  break-before: column;
}

/* タブレット(2カラム): 1〜21 / 22〜41 で分割 */
@media screen and (max-width: 990px) {
  .ljm-index__list > .ljm-index__item:nth-child(16),
  .ljm-index__list > .ljm-index__item:nth-child(30) {
    break-before: auto;
  }
  .ljm-index__list > .ljm-index__item:nth-child(22) {
    break-before: column;
  }
}

/* SP(1カラム): 強制改行なし */
@media screen and (max-width: 680px) {
  .ljm-index__list > .ljm-index__item:nth-child(22) {
    break-before: auto;
  }
}

.ljm-index__link {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #0093d0;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 4px;
  transition: opacity 0.2s;
  position: relative;

  &::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #0093cb;
  }

  &:hover {
    opacity: 0.8;
  }

  @media screen and (max-width: 680px) {
    font-size: 15px;
  }
}

.ljm-index__num {
  flex-shrink: 0;
  min-width: 22px;
  text-align: left;
  color: #0093d0;
}

.ljm-index__title {
  flex: 1 1 auto;
}

/* ==============================
   .ljm-videos--card  (detail 用 タブカード枠)
   ============================== */
.ljm-videos--card {
  padding: 0 32px;
  background: #fff;
  border-radius: 8px;

  .ljm-tabs {
    margin-bottom: 0;
  }

  @media screen and (max-width: 680px) {
    padding: 0;
  }
}

/* ==============================
   .ljm-video (動画エリア: 白カード上部)
   ============================== */
.ljm-video {
  padding: 0px 32px 0;
  background: #fff;
  border-radius: 8px 8px 0 0;

  @media screen and (max-width: 680px) {
    padding: 0;
  }
}

.ljm-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;

  & > iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

/* ==============================
   .ljm-info (動画情報: 白カード下部)
   ============================== */
.ljm-info {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 20px 32px 0px;
  background: #fff;
  border-radius: 0 0 8px 8px;

  @media screen and (max-width: 680px) {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 16px 24px;
    margin-bottom: 24px;
  }
}

.ljm-info__main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ljm-info__title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #212121;
  line-height: 1.4;

  @media screen and (max-width: 680px) {
    font-size: 18px;
  }
}

.ljm-info__keywords {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.ljm-info__kw-label {
  font-size: 14px;
  color: #333;

  @media screen and (max-width: 680px) {
    font-size: 13px;
  }
}

.ljm-info__kw-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ljm-info__kw {
  padding: 3px 14px;
  border: 1.5px solid #86939f;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

.ljm-info__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: #333;

  @media screen and (max-width: 680px) {
    font-size: 15px;
    margin-top: 10px;
  }
}

/* コピーボタン */
.ljm-info .ljm-info__copy {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 228px;
  padding: 20px 20px;
  background: #fff;
  border: 3px solid #64d9ff;
  border-radius: 11px;
  color: #0093cb;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s;

  &:hover {
    background: #eaf8ff;
    border-color: #00c0ff;
  }
  &.is-copied {
    background: #e6f7ff;
    border-color: #00c0ff;
    color: #0068b7;
  }

  @media screen and (max-width: 680px) {
    width: 192px;
    min-width: 192px;
    align-self: flex-end;
    justify-content: center;
    font-size: 14px;
    padding: 10px 6px;
  }
}

img.ljm-info__copy-icon {
  flex-shrink: 0;
  width: 39px;
  max-width: 39px;
  height: 39px;
  display: block;
  @media screen and (max-width: 680px) {
    width: 33px;
    max-width: 33px;
    height: 33px;
  }
}

.ljm-info__copy-text {
  position: relative;
  text-align: left;
}

.ljm-info__copy-label {
  display: block;
}

.ljm-info__copy-done {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
}

.ljm-info__copy.is-copied {
  .ljm-info__copy-label {
    visibility: hidden;
  }

  .ljm-info__copy-done {
    opacity: 1;
  }
}

/* ==============================
   .ljm-related (関連情報)
   ============================== */
.ljm-related {
  margin-bottom: 0;
}

.ljm-related__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ljm-related__item {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;

  &:first-child {
    margin-top: 0;
  }

  @media screen and (max-width: 680px) {
    font-size: 15px;
    margin-top: 10px;
  }
}

.ljm-related__link {
  color: #0093d0;

  &:hover {
    color: #ff8f00;
  }
}

.success-msg {
    display: none;
    position: fixed;
    width: 320px;
    height: 60px;
    line-height: 40px;
    background-color: #64d9ff;
    color: #fff;
    top: calc(50vh - 30px);
    left: 0;
    right: 0;
    margin: auto;
    padding: 9px 0 0 0;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 3px solid #fff;
    z-index: 10;
}

@media screen and (max-width: 990px) {
    .pankuzu {
        z-index: 10;
    }
}
