@charset "UTF-8";

/*//////////////////////////////////////////////////////////////
	layout
//////////////////////////////////////////////////////////////*/

:root {
  --calpis-blue: #0060b0;
  --deep-navy: #003a75;
  --sky: #cdeaf9;
  --sky-light: #e9f6fd;
  --cyan: #3db5e8;
  --cyan-bright: #45c2ef;
  --accent-red: #e8541d;
  --yellow: #fdf6c3;
  --yellow-border: #f0e08a;
  --text: #2b3a4a;
  --white: #ffffff;
  --radius-card: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== Header ===== */
.site-header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 28px;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 6px rgba(0, 60, 120, .08);
}

.logo-calpis {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1;
  color: var(--calpis-blue);
  font-style: italic;
  letter-spacing: .02em;
  transform: skewX(-6deg);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--calpis-blue);
  font-size: 15px;
}

.mytnc-logo {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 20px;
  font-style: italic;
  color: var(--calpis-blue);
}

.mytnc-logo span {
  color: #e8380d;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(160deg, #dff2fc 0%, #c3e6f8 45%, #b1ddf4 100%);
  overflow: hidden;
  padding: 0 0 56px;
  background: url(../images/bg_dot_repeat.jpg) repeat;
}

.hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-kv {
  width: 100%;
  max-width: none;
  margin: 0 0 26px;
  border-radius: 0;
  overflow: hidden;
}

.hero-kv img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-cta-area {
  padding: 0 32px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gift-text {
  white-space: nowrap;
}

.gift-part {
  white-space: nowrap;
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-img {
  display: block;
  width: auto;
}

.logo-img-calpis {
  height: 34px;
}

.logo-img-mytnc {
  height: 28px;
}

.gift-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--white);
  border-radius: 12px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-navy);
  box-shadow: 0 4px 14px rgba(0, 80, 150, .12);
  margin-bottom: 26px;
  max-width: 100%;
}

.gift-banner .num {
  color: var(--accent-red);
  font-size: 22px;
  font-weight: 900;
  padding: 0 2px;
}

.gift-icon {
  font-size: 20px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, #1173c9, #0059a8);
  color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .2em;
  padding: 16px 74px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 90, 170, .35), inset 0 1px 0 rgba(255, 255, 255, .3);
  transition: transform .15s ease, box-shadow .15s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0, 90, 170, .4);
}

.cta-btn::after {
  content: "›";
  font-size: 24px;
  letter-spacing: 0;
}

.hero-note {
  font-size: 12px;
  color: #5a7186;
  margin-top: 12px;
}

/* ===== Section common ===== */
.section {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 32px 30px;
}

.sec-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--deep-navy);
  letter-spacing: .1em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 40px;
}

.sec-title .dots {
  display: inline-flex;
  gap: 8px;
}

.sec-title .dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  display: block;
}

.sec-title .dots i:nth-child(2) {
  opacity: .65;
}

.sec-title .dots i:nth-child(3) {
  opacity: .35;
}

.sec-title .dots.rev i:nth-child(1) {
  opacity: .35;
}

.sec-title .dots.rev i:nth-child(3) {
  opacity: 1;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 80, 150, .1);
  padding: 26px 22px 30px;
  text-align: center;
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--calpis-blue);
  margin-bottom: 18px;
}

.step-num {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: var(--deep-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.step-icon {
  font-size: 38px;
  margin-bottom: 14px;
  line-height: 1;
}

.step-body {
  font-size: 14px;
  color: #41586e;
}

/* ===== Period banner ===== */
.period-wrap {
  max-width: 1080px;
  margin: 34px auto 0;
  padding: 0 32px;
}

.period {
  background: var(--yellow);
  border: 2px solid var(--yellow-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 28px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: clamp(24px, 3.4vw, 31px);
  color: var(--deep-navy);
  letter-spacing: .05em;
}

.period .cal {
  font-size: 36px;
}

/* ===== Videos ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 80, 150, .1);
  padding: 12px 12px 30px;
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 80, 150, .16);
}

.thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  margin-bottom: 12px;
  background: linear-gradient(150deg, #e2f2fc, #b5def4);
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb .thumb-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #e2f2fc 0%, #b8dff4 60%, #98cfee 100%);
}

.video-label {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--calpis-blue);
  letter-spacing: .08em;
}

/* ===== Talent ===== */
.talent-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: 0 6px 20px rgba(0, 80, 150, .1);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  padding: 26px;
  align-items: center;
}

.talent-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1.15;
  background: #eef6fb;
}

.talent-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, #eaf6fd 0%, #bfe3f6 55%, #9fd4f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4a86b5;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .1em;
}

.photo-fallback .ph-icon {
  font-size: 44px;
  opacity: .7;
}

.talent-name {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: 28px;
  color: var(--deep-navy);
  margin-bottom: 10px;
}

.talent-name small {
  font-size: 16px;
  font-weight: 700;
  margin-left: 6px;
}

.talent-profile {
  font-size: 14.5px;
  color: #41586e;
}

/* ===== Bottom CTA ===== */
.bottom-cta {
  position: relative;
  background: rgb(163, 219, 232);
  padding: 70px 24px 80px;
}

.bottom-inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 26px;
  box-shadow: 0 10px 30px rgba(0, 80, 140, .22);
  padding: 44px 36px 40px;
  text-align: center;
}

.bottom-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 900;
  font-size: clamp(22px, 3.4vw, 30px);
  color: var(--deep-navy);
  line-height: 1.6;
  letter-spacing: .05em;
  margin-bottom: 28px;
}

.bottom-title .num {
  color: var(--accent-red);
  font-size: 1.35em;
  padding: 0 2px;
}

.bt-line {
  display: block;
}

.bt-part {
  display: inline;
  white-space: nowrap;
}

.bottom-notes {
  margin-top: 26px;
  text-align: left;
  font-size: 12.5px;
  color: #5a7186;
  display: grid;
  gap: 6px;
  justify-content: center;
}

.bottom-notes li {
  list-style: none;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 20, 40, .72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  position: relative;
  width: min(880px, 100%);
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

#videoModalFrameContainer {
  position: absolute;
  inset: 0;
}

#videoModalFrameContainer iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-navy);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-wrap {
  position: relative;
  width: min(880px, 100%);
}

/* ===== Footer ===== */
.site-footer {
  background: rgb(0, 35, 149);
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 18px 16px;
}

/* ===== Responsive ===== */
@media(max-width:900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media(max-width:600px) {
  .site-header {
    padding: 12px 16px;
  }

  .logo-calpis {
    font-size: 24px;
  }

  .logo-img-calpis {
    height: 28px;
  }

  .logo-img-mytnc {
    height: 22px;
  }

  .mytnc-logo {
    font-size: 16px;
  }

  .header-right {
    font-size: 12px;
  }

  .section {
    padding: 44px 20px 24px;
  }

  .hero {
    padding: 28px 0 48px;
  }

  .hero-inner {
    padding: 0 16px;
  }

  .hero-kv {
    border-radius: 12px;
    margin-bottom: 20px;
  }

  /* ギフト帯:スマホでは「🎁」/「抽選で10名様に」/「「カルピス夏ギフト」をプレゼント!」の3段に */
  .gift-banner {
    flex-direction: column;
    padding: 12px 16px;
    gap: 4px;
    font-size: clamp(13px, 3.8vw, 16px);
    letter-spacing: 0;
  }

  .gift-icon {
    font-size: 1.9em;
    line-height: 1;
  }

  .gift-text {
    white-space: normal;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
  }

  .gift-part {
    display: block;
  }

  .gift-banner .num {
    font-size: 1.25em;
  }

  .cta-btn {
    width: 100%;
    padding: 16px 20px;
  }

  .video-grid {
    gap: 14px;
  }

  .video-label {
    font-size: 14px;
  }

  .talent-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .talent-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .bottom-inner {
    padding: 32px 18px;
  }

  /* 下部タイトル:スマホでは3行(抽選で10名様に/「カルピス夏ギフト」/が当たる!) */
  .bt-part {
    display: block;
  }

  /* 注記:各行スマホでも1行に収める */
  .bottom-notes {
    font-size: clamp(10px, 2.9vw, 12.5px);
  }

  .bottom-notes li {
    white-space: nowrap;
  }

  /* 応募期間:スマホでは「📅」/「応募期間:…」の2段(改行維持)、約1.2倍サイズ */
  .period {
    flex-direction: column;
    gap: 6px;
    padding: 16px 12px;
    font-size: clamp(18px, 4.8vw, 24px);
  }

  .period .cal {
    font-size: 31px;
  }

  .period-text {
    white-space: nowrap;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none !important;
  }
}