/* ======================================
   Base
====================================== */

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: #f2f2f2;
  color: #111;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}


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

.lp-page {
  position: relative;
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  overflow: hidden;
}

.lp-main {
  width: 100%;
  padding-top: 58px;
}

.lp-section {
  width: 100%;
  margin: 0;
  padding: 0;
}

.lp-img {
  width: 100%;
  height: auto;
}


/* ======================================
   Header
====================================== */

.lp-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 9999;
  width: 100%;
  max-width: 430px;
  height: 58px;
  transform: translateX(-50%);
  transition: transform 0.35s ease;
  background: #fff;
  will-change: transform;
}

.lp-header.is-hidden {
  transform: translate(-50%, -100%);
}

.header-inner {
  position: relative;
  width: 100%;
  height: 58px;
  background: #fff;
}

.header-logo {
  position: absolute;
  top: 14px;
  left: 20px;
  display: block;
  width: 130px;
  line-height: 0;
}

.header-logo img {
  width: 100%;
  height: auto;
}

.header-actions {
  position: absolute;
  top: 0;
  right: 75px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 108px;
  height: 58px;
}

.header-action {
  display: block;
  width: 50px;
  height: 58px;
  background: #fff;
  text-align: center;
}

.header-action span {
  display: block;
  padding-top: 35px;
  background-position: center 8px;
  background-repeat: no-repeat;
  background-size: 24px auto;
  color: #14141e;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-action.login span {
  background-image: url("../img/icon-header-login.png");
}

.header-action.entry span {
  background-image: url("../img/icon-header-entry.png");
}


/* ======================================
   Menu Button
====================================== */

.menu-button {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10002;
  width: 58px;
  height: 58px;
  background: #d50038;
}

.menu-button .menu-open,
.menu-button .menu-close {
  position: absolute;
  inset: 0;
}

.menu-button .bar {
  position: absolute;
  left: 17px;
  width: 24px;
  height: 2px;
  background: #fff;
}

.menu-button .menu-open .bar:nth-child(1) {
  top: 20px;
}

.menu-button .menu-open .bar:nth-child(2) {
  top: 28px;
}

.menu-button .menu-open .bar:nth-child(3) {
  top: 36px;
}

.menu-button .menu-close {
  display: none;
}

.menu-button .menu-close .bar:nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}

.menu-button .menu-close .bar:nth-child(2) {
  top: 28px;
  transform: rotate(-45deg);
}

.menu-button.is-open .menu-open {
  display: none;
}

.menu-button.is-open .menu-close {
  display: block;
}


/* ======================================
   Drawer Menu
   本家寄せ：幅を狭め、線幅を100%に調整
====================================== */

.drawer-menu {
  position: absolute;
  top: 58px;
  right: 0;
  z-index: 10001;
  width: 48%;
  height: calc(100vh - 58px);
  padding: 10px 14px 0;
  background: rgba(18, 18, 26, 0.9);
  opacity: 0;
  transform: translateX(100%);
  pointer-events: none;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
  overflow: hidden;
}

.drawer-menu.is-open {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.drawer-inner {
  width: 100%;
}

.drawer-actions {
  display: block;
  width: 100%;
  margin: 0 0 14px;
}

.drawer-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  height: 42px;
  margin: 0 0 8px;
  padding-left: 50px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.drawer-button.entry {
  background: #d50038;
}

.drawer-button.login {
  background: #4a4a4a;
}

.drawer-button::after {
  position: absolute;
  top: 50%;
  left: 18px;
  display: block;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  content: "";
}

.drawer-button.entry::after {
  background-image: url("../img/icon-entry.png");
}

.drawer-button.login::after {
  background-image: url("../img/icon-login.png");
}

.drawer-button span {
  display: block;
  transform: translateY(-1px);
}

.drawer-nav {
  width: 100%;
  margin: 12px 0 0;
}

.drawer-nav li {
  margin: 0;
  padding: 0;
}

.drawer-nav a {
  display: block;
  width: 100%;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.03em;
}

.drawer-nav li:last-child a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}


/* ======================================
   CTA Section
====================================== */

.lp-cta-section {
  position: relative;
  width: 100%;
  background: #fff;
}

.cta-area {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px 22px;
}

/* 上部CTA：画像内の余白に合わせてボタンを大きく重ねる */
.lp-top-cta .cta-area {
  margin-top: -120px;
}

/* 下部CTA：画像と重ならないよう通常配置 */
.lp-bottom-cta .cta-area {
  margin-top: 0;
}

.cta-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  padding: 0 40px;
  border-radius: 4px;
  background: #d50038;
  color: #fff;
  line-height: 1;
}

.cta-main {
  display: inline-block;
  margin-right: 14px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.3em;
}

.cta-sub {
  position: relative;
  top: 0;
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0;
}

.cta-plus {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.age-note {
  margin: 8px 0 0;
  color: #111;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
}


/* ======================================
   Footer
====================================== */

.lp-footer {
  width: 100%;
  padding: 34px 28px 28px;
  background: #fff;
  color: #111;
}

.footer-logo {
  width: 160px;
  margin: 0 auto 34px;
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-nav ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  row-gap: 18px;
}

.footer-nav li {
  min-width: 0;
}

.footer-nav a {
  position: relative;
  display: inline-block;
  padding-left: 13px;
  color: #111;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  word-break: keep-all;
}

.footer-nav a::before {
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #d50038;
  content: "";
}

.security-icons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.security-icon {
  display: block;
  line-height: 0;
}

.security-icon.japhic img {
  width: 45px;
  height: auto;
  margin: 0;
}

/* JAPHICとSECOMの見た目の高さを揃えるための微調整 */
.security-icon.japhic {
  transform: translateY(7px);
}

.security-icon.secom img {
  width: 54px;
  height: auto;
  margin: 0;
}

.copyright {
  margin: 24px 0 0;
  color: #c9c9c9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}


/* ======================================
   Bottom Border
====================================== */

.lp-page::after {
  display: block;
  width: 100%;
  height: 10px;
  background: linear-gradient(
    to right,
    #14141e 0%,
    #14141e 50%,
    #d50038 50%,
    #d50038 100%
  );
  content: "";
}


/* ======================================
   Page Top Button
====================================== */

.page-top-button {
  position: fixed;
  right: calc(50% - 198px);
  bottom: 16px;
  z-index: 9998;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  background: #14141e;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.page-top-button::before {
  position: absolute;
  top: 13px;
  left: 11px;
  width: 11px;
  height: 11px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(-45deg);
  content: "";
}

.page-top-button.is-visible {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 430px) {
  .page-top-button {
    right: 14px;
    bottom: 14px;
  }
}


/* ======================================
   Small Screen
====================================== */

@media screen and (max-width: 374px) {
  .header-logo {
    left: 16px;
    width: 118px;
  }

  .header-actions {
    right: 66px;
    width: 102px;
  }

  .header-action {
    width: 48px;
  }

  .header-action span {
    background-size: 23px auto;
    font-size: 9px;
  }

  .menu-button {
    width: 56px;
    height: 58px;
  }

  .drawer-menu {
    width: 50%;
    padding: 10px 12px 0;
  }

  .drawer-button {
    height: 40px;
    padding-left: 44px;
    font-size: 12px;
  }

  .drawer-button::after {
    left: 16px;
    width: 17px;
    height: 17px;
  }

  .drawer-nav {
    width: 100%;
  }

  .drawer-nav a {
    padding: 9px 0;
    font-size: 12px;
  }

  .cta-area {
    padding-right: 22px;
    padding-left: 22px;
  }

  .lp-top-cta .cta-area {
    margin-top: -100px;
  }

  .lp-bottom-cta .cta-area {
    margin-top: 0;
  }

  .cta-button {
    height: 46px;
    padding: 0 36px;
  }

  .cta-main {
    margin-right: 10px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.11em;
  }

  .cta-sub {
    font-size: 9px;
  }

  .cta-plus {
    right: 16px;
    font-size: 20px;
  }

  .footer-nav ul {
    column-gap: 14px;
    row-gap: 16px;
  }

  .footer-nav a {
    font-size: 12px;
  }
}