/* ==========================================================================
   WS（ウェビナー視聴サイト）共通CSS
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
html {
  height: 100%;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Arial, sans-serif;
  background-color: #f0f0f0;
}

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

/* Layout
   ========================================================================== */
.outer-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.inner-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Header
   ========================================================================== */
header {
  text-align: center;
}

/* Video Container
   ========================================================================== */
.video-container {
  position: relative;
  padding-bottom: 120%;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
  background-image: url("../images/webinar.webp");
  background-size: cover;
}

.video-container .video {
  position: relative;
  height: 0;
  padding: 0 0 56.25%;
  overflow: hidden;
  z-index: 10;
  margin-top: 55%;
}

.video-container .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Wait Page Video Container (simple border) */
.video-container--wait {
  padding-bottom: 56.25%;
  background: none;
  border: 2px solid #333;
}

.video-container--wait iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Project Banner
   ========================================================================== */
.project-container {
  position: relative;
  width: 100%;
}

.project-container img {
  display: block;
  width: 100%;
  height: auto;
}

.project-link {
  position: absolute;
  top: 15%;
  left: 38%;
  width: 24%;
  height: 45%;
  cursor: pointer;
}

.project-link--full {
  top: 1%;
  left: 3%;
  width: 99%;
  height: 99%;
}

/* Messages
   ========================================================================== */
.disabled-message {
  color: #d42a2a;
  text-align: center;
  margin-top: 20px;
  font-size: 18px;
}

.notice {
  background: #f1f1f1;
  padding: 1em;
  text-align: center;
}

.notice p {
  margin-bottom: 0.5em;
}

.notice p:last-child {
  margin-bottom: 0;
}

/* Countdown Timer
   ========================================================================== */
.countbox {
  line-height: 1.2;
  width: 100%;
  background-color: #dae335;
  text-align: center;
  padding: 0.5rem 0;
}

.countbox p {
  font-size: 36px;
  font-weight: 900;
  color: #d80023;
  display: inline-block;
  padding: 0.2rem;
  border-radius: 0.3em;
  margin: 0;
}

/* Button
   ========================================================================== */
.button-container {
  text-align: center;
  margin-top: auto;
}

.apply-button {
  background-color: #4caf50;
  border: none;
  color: #fff;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
}

/* Responsive
   ========================================================================== */
@media (max-width: 600px) {
  .inner-container {
    padding: 10px;
  }

  .countbox p {
    font-size: 24px;
  }
}
