/* ==========================================================================
   Reset / Base
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

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

:root {
  --primary: #2A4580;
  --base-content: #202020;
  --link-blue: #315CC1;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--base-content);
  line-height: 1.5;
}

a {
  font-family: 'Noto Sans JP', sans-serif;
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   Layout / Container
   ========================================================================== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 1200px;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: var(--primary);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0.5rem 1rem;
}

.header-logo-pc {
  width: 343px;
  height: auto;
  display: none;
}

.header-logo-sp {
  width: 148px;
  height: auto;
  display: block;
}

@media (min-width: 768px) {
  .site-header {
    height: 76px;
    padding: 0.75rem 1.5rem;
  }

  .site-header .container {
    height: 76px;
    padding: 0.75rem 1.5rem;
  }

  .header-logo-pc {
    display: block;
  }

  .header-logo-sp {
    display: none;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.875rem;
  padding: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-pc {
  width: 343px;
  height: auto;
  display: none;
  margin-bottom: 1.5rem;
}

.footer-logo-sp {
  width: 148px;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-nav {
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  color: #fff;
  line-height: normal;
  font-size: 15px;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-copyright {
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-logo-pc {
    display: block;
  }

  .footer-logo-sp {
    display: none;
  }

  .footer-nav ul {
    flex-direction: row;
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }

  .footer-logo-pc,
  .footer-logo-sp {
    margin-bottom: 0;
  }

  .footer-right {
    align-items: flex-end;
  }
}

/* ==========================================================================
   Close Page - Hero Section
   ========================================================================== */
.hero {
  position: relative;
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-container {
  width: 100%;
  margin: 0 auto;
}

/* SP hero image */
.hero-img-sp {
  width: 100%;
  height: auto;
  display: block;
}

/* PC hero image */
.hero-img-pc {
  display: none;
}

/* SP overlay content */
.hero-overlay-sp {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.hero-overlay-sp .hero-title-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-overlay-sp .hero-title-main {
  font-size: 26px;
  font-weight: 700;
  background-color: #000;
  color: #fff;
  padding: 0 0.75rem;
  display: inline-block;
  width: fit-content;
}

.hero-overlay-sp .hero-title-sub {
  font-size: 10px;
  font-weight: 700;
  background-color: #000;
  color: #fff;
  margin-top: -3px;
  padding: 0 0.75rem 5px;
  display: inline-block;
  width: fit-content;
}

.hero-overlay-sp .hero-description {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.hero-overlay-sp .hero-ended {
  font-size: 16px;
  background-color: #000;
  color: #fff;
  padding: 0 0.75rem;
  display: inline-block;
  width: fit-content;
  font-family: 'Inter', sans-serif;
}

/* SP button area */
.hero-button-sp {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 7px;
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* PC overlay content */
.hero-overlay-pc {
  display: none;
}

/* Shared button style */
.btn-ledge {
  position: relative;
  white-space: nowrap;
  width: 25%;
  min-width: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  padding: 12px 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  background-color: #fff;
  color: var(--link-blue);
  transition: background-color 0.3s;
}

.btn-ledge:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 640px) {
  .hero {
    height: calc(100vh - 223px);
  }

  .hero-container {
    max-width: 640px;
    height: 100%;
    display: flex;
    align-items: flex-end;
  }

  .hero-img-sp {
    display: none;
  }

  .hero-img-pc {
    display: block;
    width: 100%;
    align-self: stretch;
    object-fit: contain;
    object-position: bottom;
  }

  .hero-overlay-sp,
  .hero-button-sp {
    display: none;
  }

  .hero-overlay-pc {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    flex-direction: column;
    gap: 2.25rem;
    padding: 0 5rem;
    max-width: 640px;
    margin: 0 auto;
  }

  .hero-overlay-pc .hero-text-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-overlay-pc .hero-title-group {
    display: flex;
    flex-direction: column;
  }

  .hero-overlay-pc .hero-title-main {
    font-size: 30px;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    padding: 0 1.5rem;
    display: inline-block;
    width: fit-content;
  }

  .hero-overlay-pc .hero-title-sub {
    font-size: 14px;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    margin-top: -6px;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    width: fit-content;
  }

  .hero-overlay-pc .hero-description {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
  }

  .hero-overlay-pc .hero-ended {
    font-size: 20px;
    background-color: #000;
    color: #fff;
    padding: 0 1.5rem;
    display: inline-block;
    width: fit-content;
    font-family: 'Inter', sans-serif;
  }

  .btn-ledge-pc {
    border-radius: 5px;
  }
}

@media (min-width: 768px) {
  .hero {
    padding: 0 5rem;
    height: calc(100vh - 223px);
  }

  .hero-container {
    max-width: 1200px;
  }

  .hero-overlay-pc {
    max-width: 1200px;
  }

  .btn-ledge-pc {
    padding: 13px 34px;
  }
}

@media (min-width: 1024px) {
  .hero-overlay-pc .hero-text-group {
    gap: 1.5rem;
  }

  .btn-ledge-pc {
    height: 44px;
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .hero-overlay-pc {
    gap: 112px;
    padding: 0;
  }

  .hero-overlay-pc .hero-title-main {
    font-size: 46px;
  }

  .hero-overlay-pc .hero-title-sub {
    font-size: 17px;
  }

  .hero-overlay-pc .hero-description {
    font-size: 28px;
  }

  .hero-overlay-pc .hero-ended {
    font-size: 28px;
  }
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-policy {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-top: -64px;
  padding-top: 104px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-bottom: 2.5rem;
  word-break: break-word;
}

.privacy-policy h1 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.privacy-policy .pp-section {
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.privacy-policy .pp-indent {
  margin-left: 3em;
}

.privacy-policy .pp-section ul li {
  list-style: disc;
  margin-left: 1em;
}

.privacy-policy .pp-section ul ul li {
  margin-left: 2em;
}

.privacy-policy .pp-section .pp-sub {
  margin-bottom: 2rem;
}

.privacy-policy .pp-bullet {
  position: relative;
  padding-left: 1em;
}

.privacy-policy .pp-bullet::before {
  content: '•';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .privacy-policy {
    margin-top: -76px;
    padding-top: 136px;
    padding-left: 5rem;
    padding-right: 5rem;
  }

  .privacy-policy h1 {
    font-size: 32px;
  }

  .privacy-policy .pp-section {
    font-size: 15px;
    margin-bottom: 2.5rem;
  }

  .privacy-policy .pp-section .pp-sub {
    margin-bottom: 2.5rem;
  }
}
