@charset "UTF-8";

/* ==========================================================================
   FLOCSS Architecture
   Foundation > Layout > Component > Project > Utility
   ========================================================================== */

/* ==========================================================================
   Foundation
   ========================================================================== */

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

/* ---------- Base ---------- */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

a:focus-visible {
  outline: 2px solid #1874e8;
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */

/* ---------- Header ---------- */
.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fff;
  border-bottom: 1px solid #ebebeb;
}

.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  height: 58px;
  margin: 0 auto;
  padding: 0 16px;
}

.l-header__logo-img {
  display: block;
  width: 143px;
  height: auto;
}

.l-header__login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  font-size: 10px;
  line-height: 1;
  text-decoration: none;
  color: #333;
}

.l-header__login-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

/* ---------- Main ---------- */
.l-main {
  overflow: hidden;
}

/* ==========================================================================
   Component
   ========================================================================== */

/* ---------- Skip Link ---------- */
.c-skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background-color: #1874e8;
  color: #fff;
  font-size: 14px;
  border-radius: 4px;
}

.c-skip-link:focus {
  top: 8px;
  opacity: 1;
}

/* ---------- Section Title ---------- */
.c-section-title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 40px;
}

/* ---------- Button ---------- */
.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
}

.c-btn:hover {
  opacity: 0.7;
}

.c-btn--primary {
  background-color: #dc0000;
  color: #fff;
}

.c-btn--large {
  width: 368px;
  max-width: 100%;
  height: 56px;
  font-size: 22px;
  font-weight: 700;
}

/* ==========================================================================
   Project
   ========================================================================== */

/* ---------- Hero / MV Section (一枚画) ---------- */
.p-hero {
  line-height: 0;
}

.p-hero__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- CTA Section ---------- */
.p-cta {
  background: linear-gradient(180deg, #ebebeb 0%, #f7f7f7 50%, #ebebeb 100%);
  padding: 40px 0;
}

.p-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.p-cta__lead-img {
  display: block;
  width: 293px;
  height: auto;
}

/* ---------- Flow Section ---------- */
.p-flow {
  padding: 80px 0;
  background-color: #fff;
}

.p-flow__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.p-flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.p-flow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 290px;
}

.p-flow__step-mockup {
  margin-bottom: 8px;
}

.p-flow__step-mockup-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.p-flow__step-info {
  width: 100%;
}

.p-flow__step-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.p-flow__step-num {
  font-family: "DIN 2014", "Helvetica Neue", Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  font-style: italic;
  color: #dc0000;
  line-height: 1;
}

.p-flow__step-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: #333;
}

.p-flow__step-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

/* Arrow (CSS triangle) */
.p-flow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  flex-shrink: 0;
  width: 40px;
}

.p-flow__arrow::after {
  content: "";
  display: block;
  width: 18px;
  height: 40px;
  background-color: #dc0000;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* ---------- Terms Section ---------- */
.p-terms {
  padding: 80px 0 180px;
  background-color: #fff;
}

.p-terms__inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

.p-terms__intro {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.p-terms__sections {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.p-terms__heading {
  font-size: 24px;
  font-weight: 700;
  padding-bottom: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid #ff1210;
}

.p-terms__body {
  font-size: 14px;
  line-height: 1.8;
}

.p-terms__prize {
  font-size: 22px;
  font-weight: 700;
}

.p-terms__body a {
  color: #333;
  text-decoration: underline;
}

.p-terms__body a:hover {
  opacity: 0.7;
}

/* ---------- Fixed CTA ---------- */
.p-cta-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 8px 16px;
  background: linear-gradient(180deg, rgba(235,235,235,0.95) 0%, rgba(247,247,247,0.95) 50%, rgba(235,235,235,0.95) 100%);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Utility
   ========================================================================== */

.u-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Responsive (max-width: 768px) - Desktop First
   ========================================================================== */

@media screen and (max-width: 768px) {
  /* -- Layout -- */
  .l-header__inner {
    padding: 0 8px 0 16px;
  }

  .l-header__logo-img {
    width: 110px;
  }

  /* -- Component -- */
  .c-section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .c-btn--large {
    width: 318px;
    font-size: 22px;
  }

  /* -- CTA -- */
  .p-cta {
    padding: 32px 0;
  }

  /* -- Flow -- */
  .p-flow {
    padding: 40px 0;
  }

  .p-flow__steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .p-flow__step {
    width: 100%;
    max-width: 352px;
  }

  .p-flow__step-mockup {
    margin-bottom: 4px;
  }

  .p-flow__step-mockup-img {
    width: 300px;
  }

  .p-flow__arrow {
    padding-top: 0;
    width: auto;
  }

  .p-flow__arrow::after {
    width: 40px;
    height: 18px;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
  }

  /* -- Terms -- */
  .p-terms {
    padding: 40px 0 140px;
  }

  .p-terms__inner {
    padding: 0 12px;
  }

  .p-terms__intro {
    font-size: 12px;
  }

  .p-terms__heading {
    font-size: 18px;
  }

  .p-terms__body {
    font-size: 12px;
  }

  .p-terms__prize {
    font-size: 16px;
  }

  .p-cta-fixed {
    padding: 8px 16px;
  }
}
