@charset "UTF-8";

#body_wrap.dlive-youtube-new-template {
  color: #2E2E2C;
  background: #FDFAF2;
}

#body_wrap.dlive-youtube-new-template #content {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #FDFAF2;
}

#body_wrap.dlive-youtube-new-template .l-mainContent,
#body_wrap.dlive-youtube-new-template .post_content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.dlive-youtube-page {
  --bg-main: #FDFAF2;
  --bg-alt: #F7F1E3;
  --text-main: #2E2E2C;
  --text-sub: #5A5A57;
  --letter-bg: #F4F1EC;
  --letter-rule: #E8E2D5;
  --accent-mint: #8BC4A2;
  --youtube-red: #FF0000;
  --youtube-red-soft: #FFE8EC;
  --btn-line: #06C755;
  --btn-line-hover: #05B14C;
  --btn-line-text: #FFFFFF;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Hiragino Kaku Gothic ProN", "Zen Maru Gothic", "Yu Gothic", sans-serif;
  width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--text-main);
  background: var(--bg-main);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.dlive-youtube-page *,
.dlive-youtube-page *::before,
.dlive-youtube-page *::after {
  box-sizing: border-box;
}

.dlive-youtube-page p,
.dlive-youtube-page h2,
.dlive-youtube-page h3 {
  margin: 0;
}

.dlive-youtube-page a {
  text-decoration: none;
}

.yt-br-sp {
  display: none;
}

.yt-hero,
.yt-video-collage,
.yt-callout,
.yt-why,
.yt-letters,
.yt-mail,
.yt-ps {
  padding: 60px 20px;
  text-align: center;
}

.yt-hero,
.yt-video-collage,
.yt-why,
.yt-letters,
.yt-ps {
  background: var(--bg-main);
}

.yt-callout,
.yt-mail {
  background: var(--bg-alt);
}

.yt-hero__inner,
.yt-video-collage__inner,
.yt-callout__inner,
.yt-why__inner,
.yt-letters__inner,
.yt-mail__inner,
.yt-ps__inner {
  width: min(100%, 960px);
  margin: 0 auto;
}

.yt-hero {
  padding-top: 76px;
  padding-bottom: 76px;
}

.yt-hero__main {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.8;
}

.yt-hero__sub {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.9;
}

.yt-video-collage {
  padding-top: 0;
  padding-bottom: 64px;
}

.yt-video-collage__inner {
  position: relative;
}

.yt-video-collage__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  color: #FFFFFF;
  background: var(--youtube-red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.yt-video-collage__title {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.7;
}

.yt-video-collage__stage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.yt-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 3px solid #FFFFFF;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 10px 24px rgba(46, 46, 44, 0.10);
}

.yt-video-thumb--main {
  grid-column: 1 / -1;
  transform: rotate(-1.2deg);
}

.yt-video-thumb--left-top {
  transform: rotate(1.3deg);
}

.yt-video-thumb--right-top {
  transform: rotate(-1deg);
}

.yt-video-thumb--left-bottom {
  transform: rotate(-1.4deg);
}

.yt-video-thumb--right-bottom {
  transform: rotate(1.1deg);
}

.yt-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yt-callout {
  padding-top: 76px;
  padding-bottom: 76px;
}

.yt-callout__main {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.8;
}

.yt-why__inner,
.yt-letters__intro,
.yt-letters__outro,
.yt-mail__intro,
.yt-mail__outro {
  max-width: 640px;
}

.yt-why__inner {
  position: relative;
  padding: 34px 22px 36px;
  border: 1px solid rgba(139, 196, 162, 0.34);
  border-radius: 8px;
  color: var(--text-main);
  background:
    linear-gradient(90deg, rgba(139, 196, 162, 0.18) 0 4px, transparent 4px),
    rgba(255, 255, 255, 0.38);
  font-size: 16px;
  line-height: 1.95;
}

.yt-why__inner::before,
.yt-why__inner::after {
  content: "";
  display: block;
  width: 72px;
  height: 1px;
  margin: 0 auto;
  background: var(--accent-mint);
}

.yt-why__inner::before {
  margin-bottom: 30px;
}

.yt-why__inner::after {
  margin-top: 30px;
}

.yt-why__inner p:not(:last-child) {
  margin-bottom: 2em;
}

.yt-why__photo {
  position: relative;
  z-index: 2;
  width: min(76%, 260px);
  margin: -30px 22px 0 auto;
  overflow: hidden;
  border: 4px solid #FFFFFF;
  border-radius: 8px;
  background: #1E1E1D;
  box-shadow: 0 12px 24px rgba(46, 46, 44, 0.13);
  transform: rotate(2.4deg);
}

.yt-why__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.yt-why__photo img {
  display: block;
  width: 100%;
  height: auto;
}

.yt-why {
  padding-bottom: 44px;
}

.yt-letters {
  padding-top: 36px;
}

.yt-letters__intro,
.yt-letters__outro {
  margin-right: auto;
  margin-left: auto;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.95;
}

.yt-letters__intro {
  margin-bottom: 42px;
}

.yt-letters__intro p:not(:last-child) {
  margin-bottom: 1.5em;
}

.yt-letter {
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 32px 28px;
  border-radius: 4px;
  color: var(--text-sub);
  background-color: var(--letter-bg);
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    var(--letter-rule) 32px
  );
  box-shadow: none;
  font-size: 14px;
  line-height: 1.9;
  text-align: left;
}

.yt-letter p {
  margin: 0;
}

.yt-letters__inner > .yt-letter:nth-of-type(even) {
  transform: rotate(-0.8deg);
}

.yt-letters__inner > .yt-letter:nth-of-type(odd) {
  transform: rotate(0.5deg);
}

.yt-letters__outro {
  margin-top: 12px;
}

.yt-mail__title {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
}

.yt-mail__intro {
  margin: 0 auto 24px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.9;
}

.yt-mail__note {
  max-width: 560px;
  margin: 0 auto 42px;
  padding: 18px 20px;
  border: 1px solid rgba(6, 199, 85, 0.34);
  border-radius: 8px;
  color: var(--text-sub);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.06);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.9;
}

.yt-mail__note p {
  margin: 0;
}

.yt-mail__columns {
  max-width: 920px;
  margin: 0 auto;
}

.yt-mail__column {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 32px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 0, 51, 0.18);
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(255, 0, 51, 0.06);
}

.yt-mail__column::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--youtube-red);
}

.yt-mail__column:last-child {
  margin-bottom: 0;
}

.yt-mail__program {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
}

.yt-mail__program::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 24px;
  border-radius: 7px;
  background-color: var(--youtube-red);
  background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2034%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cpath%20d%3D%27M14%207.5v9l8-4.5-8-4.5z%27%20fill%3D%27white%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 34px 24px;
  box-shadow: 0 3px 8px rgba(255, 0, 51, 0.16);
}

.yt-mail__time {
  margin-bottom: 1.5em;
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
}

.yt-mail__desc {
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.8;
}

.yt-mail__keyword {
  margin: 24px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 0, 51, 0.32);
  border-bottom: 1px solid rgba(255, 0, 51, 0.32);
  background: linear-gradient(90deg, transparent, var(--youtube-red-soft), transparent);
  text-align: center;
}

.yt-mail__keyword-label {
  display: inline-block;
  margin-right: 8px;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1.7;
}

.yt-mail__keyword-value {
  display: inline-block;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
}

.yt-mail__btn {
  display: inline-block;
  min-width: 180px;
  padding: 14px 32px;
  border-radius: 8px;
  color: var(--btn-line-text);
  background: var(--btn-line);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition: background-color 0.2s ease;
}

.yt-mail__btn:hover,
.yt-mail__btn:focus-visible {
  color: var(--btn-line-text);
  background: var(--btn-line-hover);
}

.yt-mail__outro {
  margin: 48px auto 0;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.95;
}

.yt-ps {
  padding-top: 74px;
  padding-bottom: 74px;
}

.yt-ps__inner {
  max-width: 560px;
}

.yt-ps__main {
  margin-bottom: 1.5em;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.75;
}

.yt-ps__link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 300px);
  padding: 14px 22px;
  border-radius: 10px;
  color: #FFFFFF;
  background: var(--youtube-red);
  box-shadow: 0 8px 18px rgba(255, 0, 51, 0.16);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.yt-ps__link a::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #FFFFFF;
}

.yt-ps__link a:hover,
.yt-ps__link a:focus-visible {
  color: #FFFFFF;
  background: #D9002B;
  transform: translateY(-1px);
}

.yt-ps__afterword {
  max-width: 480px;
  margin: 46px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--letter-rule);
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
}

.yt-ps__afterword-label {
  margin-bottom: 0.8em;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.yt-ps__afterword-text {
  margin-bottom: 1.15em;
  color: var(--text-main);
}

.yt-ps__afterword-link a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent-mint);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
}

.yt-ps__afterword-link a:hover,
.yt-ps__afterword-link a:focus-visible {
  color: var(--accent-mint);
}

@media (max-width: 768px) {
  .yt-br-sp {
    display: block;
  }

  .yt-letters__inner > .yt-letter {
    transform: none;
  }
}

@media (min-width: 768px) {
  .yt-hero,
  .yt-video-collage,
  .yt-callout,
  .yt-why,
  .yt-letters,
  .yt-mail,
  .yt-ps {
    padding: 80px 24px;
  }

  .yt-hero {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .yt-hero__main {
    font-size: 30px;
  }

  .yt-hero__sub {
    font-size: 19px;
  }

  .yt-video-collage {
    padding-top: 0;
    padding-bottom: 88px;
  }

  .yt-letters {
    padding-top: 46px;
  }

  .yt-video-collage__title {
    margin-bottom: 34px;
    font-size: 26px;
  }

  .yt-video-collage__stage {
    grid-template-columns: repeat(6, 1fr);
    gap: 22px 26px;
    padding: 12px 0 10px;
  }

  .yt-video-thumb {
    border-width: 5px;
  }

  .yt-video-thumb--main {
    grid-column: span 3;
    grid-row: auto;
    transform: rotate(-1.2deg);
  }

  .yt-video-thumb--left-top {
    grid-column: span 3;
    grid-row: auto;
    transform: rotate(1.1deg);
  }

  .yt-video-thumb--right-top {
    grid-column: span 2;
    grid-row: auto;
    transform: rotate(-1deg);
  }

  .yt-video-thumb--left-bottom {
    grid-column: span 2;
    grid-row: auto;
    transform: rotate(-1.4deg);
  }

  .yt-video-thumb--right-bottom {
    grid-column: span 2;
    grid-row: auto;
    transform: rotate(1.2deg);
  }

  .yt-callout {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .yt-callout__main {
    font-size: 34px;
  }

  .yt-why__inner {
    font-size: 17px;
    line-height: 2;
  }

  .yt-why__photo {
    width: 320px;
    margin: -54px max(24px, calc((100% - 640px) / 2 - 30px)) 0 auto;
    border-width: 5px;
    transform: rotate(2.6deg);
  }

  .yt-why {
    padding-bottom: 56px;
  }

  .yt-letter {
    padding: 40px 36px;
    font-size: 15px;
  }

  .yt-mail__title {
    font-size: 28px;
  }

  .yt-mail__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }

  .yt-mail__column {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
  }

  .yt-mail__desc {
    font-size: 16px;
  }

  .yt-mail__keyword {
    width: 100%;
  }

  .yt-mail__keyword-value {
    font-size: 18px;
  }

  .yt-ps__main {
    font-size: 22px;
  }

  .yt-ps__link a {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .yt-hero__main {
    font-size: 32px;
  }

  .yt-callout__main {
    font-size: 36px;
  }
}
