/* styles.css */
/* モーダル表示中は背景スクロール禁止 */
body.is-modal-open {
  overflow: hidden;
}

/* 共通パーツの余白打消し */
.pankuzu_wrap {
  margin-bottom: 0;
}
.pankuzu_wrap ol {
  margin-bottom: 0;
}
.pcfooter_wrap {
  margin-top: 0;
}

/* SP表示時のみ改行 */
.brsp {
	display: none;
}
/* SP表示時のみ改行しない */
.nowrap-sp {
	white-space: normal;
}

/* 要素フェードイン */
.fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 表示状態 */
.fade.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 文字フォント */
.second-career-bg, .episode, .yt-list p, .yt-list_btn {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-style: normal;
}

/* ----PC---- */
/* ----メインビジュアル---- */
.main-background {
  width: 100%;
  height: 300px;
  background-image: url('/lp/secondcareeuma/img/main.jpg');
  background-size: cover;
  background-position: center;
}
.no-sp {
  display: block;
}
.no-pc {
  display: none;
}
.second-career-bg {
  width: 100%;
  background-image: url('/lp/secondcareeuma/img/backgroung.jpg');
  background-size: cover;
  background-position: center;
  padding: 45px 0;
}
.second-career-inner {
  max-width: 731px;
  margin: 0 auto;
  text-align: center;
}
.corner-box {
  text-align: center;
  position: relative;
  display: inline-block;
  padding: 30px 90px;
  background: transparent;
}
/* 四隅共通 */
.corner {
  position: absolute;
  width: 40px;
  height: 40px;
}
/* 左上 */
.corner-tl {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
  border-color: #50320B;
}
/* 右上 */
.corner-tr {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
  border-color: #50320B;
}
/* 左下 */
.corner-bl {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-color: #50320B;
}
/* 右下 */
.corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-color: #50320B;
}
/* 見出しテキスト装飾 */
.corner-box .corner-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #50320B;
}
.corner-box .corner-lead {
  margin-bottom: 16px;
  font-size: 18px;
  color: #50320B;
}
.corner-box .corner-text {
  font-size: 18px;
  line-height: 1.8;
  color: #50320B;
}
/* ----メインビジュアルここまで---- */


/* ----動画紹介エリア---- */
.episode {
  max-width: 1100px;
  margin: 45px auto;
  padding: 0 20px;
}
.episode-title {
  text-align: center;
  margin-bottom: 35px;
  line-height: 1.7;
  font-size: 22px;
  font-weight: bold;
}
.episode-title .num {
  font-size: 16px;
  color: #666;
  letter-spacing: 0.2em;
}
.episode-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
/* サムネ */
.episode-thumb:hover {
  opacity: 0.8;
}
.episode-thumb {
  width: 45%;
  position: relative;
}
.episode-thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
/* 情報 */
.episode-info {
  width: 55%;
}
.video-title {
  font-weight: bold;
  display: flex;
  font-size: 16px;
  align-items: center;
}
.yt-icon {
  color: #e60012;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
}
.yt-icon img {
  height: 16px;
  display: block;
}
dl.info-list {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid #ccc;
}
dl.info-list dt, dl.info-list dd {
  padding: 12px 0;
  border-bottom: 1px solid #ccc;
  line-height: 1.6;
}
dl.info-list dt {
  color: #666;
  font-weight: bold;
}
dl.info-list dd {
  margin: 0;
}
/* モーダル */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}
.video-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}
.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  margin: 10vh auto;
}
.video-modal iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
}
/* ----動画紹介エリアここまで---- */

/* ----ボタンエリア---- */
.yt-list {
  width: 100%;
  background-image: url('/lp/secondcareeuma/img/backgroung.jpg');
  background-size: cover;
  background-position: center;
  padding: 60px 0;
}
.yt-list_btnarea {
  display: flex;
  justify-content: center;
}
.yt-list p {
  font-size: 13px;
  color: #575757;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.yt-list_btn, .yt-list_btn:visited {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 250px;
  margin: 0 auto;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  background-color: #fe9176;
  color: #fff;
  font-size: 22px;
  transition: 0.3s;
  box-shadow: 0 0 0 5px #F6966A, 0 2px 3px 5px rgba(0, 0, 0, 0.2); /* 縁取り・影 */
  margin-bottom: 30px;
}

.yt-list_btn::after {
  width: 1.25em;
  height: 1.25em;
  margin-left: 8px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 6V8H5V19H16V14H18V20C18 20.5523 17.5523 21 17 21H4C3.44772 21 3 20.5523 3 20V7C3 6.44772 3.44772 6 4 6H10ZM21 3V11H19L18.9999 6.413L11.2071 14.2071L9.79289 12.7929L17.5849 5H13V3H21Z' fill='%23fff'%3E%3C/path%3E%3C/svg%3E");
  text-decoration: none;
  content: '';
}

.yt-list_btn:hover {
  background-color: #FFA981;
  color: #fff;
  box-shadow: 0 0 0 5px #FFA981, 0 2px 3px 5px rgba(0, 0, 0, 0.2); /* 縁取り・影 */
  text-decoration: none;
}
/* ----ボタンエリアここまで---- */
/* ----PCここまで---- */

/* ----タブレット---- */
@media (min-width: 769px) {
/* ----メインビジュアル---- */
  .main-background {
    height: 200px;
  }
/* ----メインビジュアルここまで---- */
/* ----ボタンエリア---- */
  .yt-list p {
    max-width: 970px;
  }
/* ----ボタンエリアここまで---- */
}
@media (min-width: 1200px) {
/* ----メインビジュアル---- */
  .main-background {
    height: 300px;
  }
/* ----メインビジュアルここまで---- */
/* ----ボタンエリア---- */
  .yt-list p {
    max-width: 1060px;
  }
/* ----ボタンエリアここまで---- */
}
/* ----タブレットここまで---- */

/* ----SP---- */
@media (max-width: 768px) {
/* SP表示時のみ改行 */
  .brsp {
	display: block;
  }
/* SP表示時のみ改行しない */
  .nowrap-sp {
	white-space: nowrap;
  }
/* ----メインビジュアル---- */
  .main-background {
	background-image: url('/lp/secondcareeuma/img/main_sp.jpg');
    width: 100%;
    height: 150px;
    background-size: cover; 
    background-position: center;
  }
  .no-sp {
    display: none;
  }
  .no-pc {
    display: block;
  }
  /* 見出しテキスト */
  .second-career-bg {
    padding: 48px 16px;
  }
  .corner-box {
    padding: 28px 24px;
  }
  /* 見出しテキスト装飾 */
  .corner-box .corner-title {
    font-size: 21px;
  }
  .corner-box .corner-lead {
    font-size: 16px;
  }
  .corner-box .corner-text {
    font-size: 16px;
  }
/* ----メインビジュアルここまで---- */
	
/* ----動画紹介エリア---- */
  .episode-body {
    flex-direction: column;
  }
  .episode-thumb, .episode-info {
    width: 100%;
  }
  dl.info-list {
    grid-template-columns: 100px 1fr;
  }
  dl.info-list dt {
    /*width: 90px;*/
  }
  dl.info-list dd {
    padding-left: 30px;
  }
/* ----動画紹介エリアここまで---- */
	
/* ----ボタンエリア---- */
  .yt-list p {
    max-width: 750px;
  }
/* ----ボタンエリアここまで---- */
}
/* ----SPここまで---- */