/* ========================================
  Common
======================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #fff;
  background-color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.pc,
.pc-i {
  display: none;
}

.sp {
  display: block;
}

.sp-i {
  display: inline;
}

@media (min-width: 940px) {
  .pc {
    display: block;
  }

  .pc-i {
    display: inline;
  }

  .sp,
  .sp-i {
    display: none;
  }
}

/* ========================================
  Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: #1a1a1a;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 192rem;
  margin: 0 auto;
  padding: .8rem 1.6rem;
}

.header-logo {
  display: block;
  width: 52%;
}

.header-logo img {
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.header-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  width: 3.2rem;
  height: 3.2rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.header-hamburger-line {
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header.is-open .header-hamburger-line:nth-child(1) {
  transform: translateY(0.7rem) rotate(45deg);
}

.header.is-open .header-hamburger-line:nth-child(2) {
  opacity: 0;
}

.header.is-open .header-hamburger-line:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-45deg);
}

.header-drawer {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.header-drawer[hidden] {
  display: none;
}

.header-drawer-list {
  padding: 1.2rem 0 2rem;
}

.header-drawer-link {
  display: block;
  padding: 1.4rem 2rem;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-drawer-link:hover,
.header-drawer-link:focus-visible {
  background-color: rgba(255, 255, 255, 0.06);
}

@media (min-width: 940px) {
  .header-inner {
    padding: 1.4rem 4rem;
  }

  .header-logo {
    width: calc(100vw * 356 / 1920);
    max-width: 356px;
  }

  .header-hamburger {
    display: none;
  }

  .header-nav {
    display: block;
  }

  .header-nav-list {
    display: flex;
    align-items: center;
    gap: 3.2rem;
  }

  .header-nav-link {
    font-size: min(20px, calc(100vw * 20 / 1920));
    letter-spacing: 0.06em;
    white-space: nowrap;
    transition: opacity 0.2s ease;
  }

  .header-nav-link:hover,
  .header-nav-link:focus-visible {
    opacity: 0.7;
  }

  .header-drawer {
    display: none !important;
  }
}

/* ========================================
  MV
======================================== */
.mv {
  margin-top: 5.6rem;
  background-color: #1a1a1a;
}

.mv-title {
  line-height: 0;
}

.mv-title-img {
  width: 100%;
  height: auto;
}

@media (min-width: 940px) {
  .mv {
    margin-top: 6.2rem;
  }
}

/* ========================================
  Outline
======================================== */
.outline {
  position: relative;
  background: #1a1a1a;
  padding: 4.8rem 0 0;
  overflow: hidden;
}

.outline-title {
  width: 75.2%;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.outline-title-img {
  width: 100%;
  height: auto;
}

.outline-columns {
  display: flex;
  flex-direction: column;
}

.outline-item {
  padding: 3.2rem 2rem 4rem;
}

.outline-item-ikkanrou {
  background-color: #1a1a1a;
}

.outline-item-edosei {
  background-color: #af2731;
}

.outline-item-title {
  width: 100%;
  margin: 0 auto 2rem;
  text-align: center;
}

.outline-item-title-img {
  width: 100%;
  height: auto;
}

.outline-item-text {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 2;
  letter-spacing: 0.04em;
  text-align: center;
}

@media (min-width: 940px) {
  .outline {
    background: linear-gradient(to right, #1a1a1a 50%, #af2731 50%);
    padding: 11rem 0 18rem;
  }

  .outline-title {
    width: min(70%, 134.6rem);
    max-width: 84rem;
    margin: 0 auto 5rem;
  }

  .outline-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 4rem 0 4rem;
  }

  .outline-item {
    background-color: transparent;
    padding: 0 3rem;
  }

  .outline-item-edosei {
    padding-right: 5rem;
  }

  .outline-item-title {
    width: min(100%, 43.8rem);
    margin: 0 auto 2.4rem;
  }

  .outline-item-text {
    max-width: 44rem;
    font-size: 1.6rem;
    line-height: 2.1;
    letter-spacing: 0.02em;
  }
}

/* ========================================
  Charm
======================================== */
.charm {
  position: relative;
  padding: 6rem 2rem 7rem;
  background-color: #1a1a1a;
  background-image: url("img/charm-bg-sp.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.charm-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
}

.charm-title {
  width: 100%;
  margin: 0 auto 3.2rem;
}

.charm-title-img {
  width: 100%;
  height: auto;
}

.charm-text {
  margin-bottom: 4rem;
}

.charm-text-p {
  margin-bottom: 2.4rem;
  font-size: 1.3rem;
  line-height: 2.1;
  letter-spacing: 0.06em;
}

.charm-text-p:last-child {
  margin-bottom: 0;
}

.charm-logo {
  width: 72%;
}

.charm-logo-img {
  width: 100%;
  height: auto;
}

@media (min-width: 940px) {
  .charm {
    padding: 21.5rem 4rem 20rem ;
    background-image: url("img/charm-bg.webp");
  }

  .charm-inner {
    max-width: 58.9rem;
  }

  .charm-title {
    width: min(100%, 58.9rem);
    margin: 0 auto 4rem;
  }

  .charm-text {
    margin-bottom: 5rem;
    padding: 0 2rem;
  }

  .charm-text-p {
    margin-bottom: 2.8rem;
    font-size: 1.8rem;
    line-height: 1.8;
  }

  .charm-logo {
    padding: 0 2rem;
    width: 47rem;
  }
}

/* ========================================
  Shop（Ikkanrou / Edosei 共通レイアウト）
======================================== */
.ikkanrou,
.edosei {
  padding: 5.6rem 0 7rem;
}

.ikkanrou {
  background-color: #1a1a1a;
}

.edosei {
  background-color: #af2731;
}

.ikkanrou-title,
.edosei-title {
  width: min(88%, 42.2rem);
  margin: 0 auto 3.2rem;
  text-align: center;
}

.ikkanrou-title-img,
.edosei-title-img {
  width: 100%;
  height: auto;
}

.ikkanrou-movie,
.edosei-movie {
  width: min(92%, 84.6rem);
  margin: 0 auto 4.8rem;
}

.ikkanrou-movie-inner,
.edosei-movie-inner {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  background-color: #000;
}

.ikkanrou-movie-iframe,
.edosei-movie-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ikkanrou-item,
.edosei-item {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "title"
    "img"
    "text";
  gap: 2.1rem;
  width: min(92%, 84.6rem);
  margin: 0 auto 4.8rem;
  position: relative;
}

.ikkanrou-item-title,
.edosei-item-title {
  grid-area: title;
  margin: 0;
  text-align: center;
}

.ikkanrou-item-title-img,
.edosei-item-title-img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4.8vw;
  margin: 0 auto;
}

.ikkanrou-item-title-img.two-lines,
.edosei-item-title-img.two-lines {
  max-height: 12.44vw;
}

.ikkanrou-item-figure,
.edosei-item-figure {
  grid-area: img;
  margin: 0;
}

.ikkanrou-item-img,
.edosei-item-img {
  width: 100%;
  height: auto;
}

.ikkanrou-item-text,
.edosei-item-text {
  grid-area: text;
  margin: 0;
  font-size: 1.3rem;
  line-height: 2;
  letter-spacing: 0.04em;
}

.ikkanrou-feature,
.edosei-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(92%, 84.6rem);
  margin: 0 auto;
}

.ikkanrou-feature-img,
.edosei-feature-img {
  width: 100%;
  height: auto;
  margin-bottom: 5rem;
}

.ikkanrou-feature-img {
  margin-top: -33vw;
}
.edosei-feature-img {
  margin-top: -30vw;
}

.ikkanrou-feature-buy,
.edosei-feature-buy {
  display: block;
  width: 100%;
  margin-bottom: 1.2rem;
  transition: opacity 0.2s ease;
}

.ikkanrou-feature-buy:hover,
.ikkanrou-feature-buy:focus-visible,
.edosei-feature-buy:hover,
.edosei-feature-buy:focus-visible {
  opacity: 0.85;
}

.ikkanrou-feature-buy-img,
.edosei-feature-buy-img {
  width: 100%;
  height: auto;
}

.ikkanrou-feature-more,
.edosei-feature-more {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.ikkanrou-feature-more:hover,
.ikkanrou-feature-more:focus-visible,
.edosei-feature-more:hover,
.edosei-feature-more:focus-visible {
  opacity: 0.85;
}

.ikkanrou-feature-more-img,
.edosei-feature-more-img {
  width: 100%;
  height: auto;
}

.ikkanrou-feature-more.is-open,
.edosei-feature-more.is-open {
  opacity: 0.7;
}

.ikkanrou-more-panel,
.edosei-more-panel {
  padding-top: 4.8rem;
}

.ikkanrou-more-panel[hidden],
.edosei-more-panel[hidden] {
  display: none;
}

.ikkanrou-more-panel .ikkanrou-item:last-child,
.edosei-more-panel .edosei-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 940px) {
  .ikkanrou,
  .edosei {
    padding: 8rem 0 14rem;
  }

  .ikkanrou-title,
  .edosei-title {
    width: min(92%, 110rem);
    max-width: 110rem;
    margin: 0 auto 4.8rem;
  }

  .ikkanrou-movie,
  .edosei-movie {
    width: min(92%, 110rem);
    margin: 0 auto 7rem;
  }

  .ikkanrou-item,
  .edosei-item {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr auto auto 1fr;
    column-gap: 4.8rem;
    row-gap: 2.6rem;
    width: min(92%, 110rem);
    margin: 0 auto 7rem;
    align-items: start;
  }

  .ikkanrou-item-text-left,
  .edosei-item-text-left {
    grid-template-areas:
      ". img"
      "title img"
      "text img"
      ". img";
  }

  .ikkanrou-item-img-left,
  .edosei-item-img-left {
    grid-template-areas:
      "img ."
      "img title"
      "img text"
      "img .";
  }

  .ikkanrou-item-figure,
  .edosei-item-figure {
    align-self: center;
  }

  .ikkanrou-item-title,
  .edosei-item-title {
    text-align: left;
  }

  .ikkanrou-item-text-left .ikkanrou-item-title,
  .ikkanrou-item-text-left .ikkanrou-item-text,
  .ikkanrou-item-img-left .ikkanrou-item-title,
  .ikkanrou-item-img-left .ikkanrou-item-text,
  .edosei-item-text-left .edosei-item-title,
  .edosei-item-text-left .edosei-item-text,
  .edosei-item-img-left .edosei-item-title,
  .edosei-item-img-left .edosei-item-text {
    justify-self: start;
    max-width: 60rem;
  }

  .ikkanrou-item-title-img,
  .edosei-item-title-img {
    max-height: 3.3rem;
  }
  
  .ikkanrou-item-title-img.two-lines,
  .edosei-item-title-img.two-lines {
    max-height: 8.8rem;
  }

  .ikkanrou-item-text,
  .edosei-item-text {
    font-size: 1.6rem;
    line-height: 1.8;
  }

  .ikkanrou-feature,
  .edosei-feature {
    width: min(92%, 110.1rem);
  }

  .ikkanrou-feature-img,
  .edosei-feature-img {
    width: min(100%, 101rem);
    margin: -17.6rem auto 15rem;
  }
  .edosei-feature-img {
    margin-top: -27rem;
  }

  .ikkanrou-feature-buy,
  .ikkanrou-feature-more,
  .edosei-feature-buy,
  .edosei-feature-more {
    width: 100%;
    max-width: 110.1rem;
  }

  .ikkanrou-feature-buy,
  .edosei-feature-buy {
    margin-bottom: 4rem;
  }

  .ikkanrou-feature-more-img,
  .edosei-feature-more-img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .ikkanrou-more-panel,
  .edosei-more-panel {
    padding-top: 7rem;
  }
}

/* ========================================
  Purchase
======================================== */
.purchase {
  padding: 5.6rem 2rem 6rem;
  background-color: #1a1a1a;
  text-align: center;
}

.purchase-title {
  width: min(92%, 42.7rem);
  margin: 0 auto 3.2rem;
}

.purchase-title-img {
  width: 100%;
  height: auto;
}

.purchase-columns {
  display: flex;
  flex-direction: column;
  gap: 4rem 0;
  width: 100%;
  margin: 0 auto 4rem;
}

.purchase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -24vw;
}

.purchase-item-img {
  width: 100%;
  height: auto;
  margin-bottom: 1.6rem;
}

.purchase-item-btn {
  display: block;
  width: min(100%, 42.1rem);
  transition: opacity 0.2s ease;
}

.purchase-item-btn:hover,
.purchase-item-btn:focus-visible {
  opacity: 0.85;
}

.purchase-item-btn-img {
  width: 100%;
  height: auto;
}

@media (min-width: 940px) {
  .purchase {
    padding: 11rem 4rem 9rem;
  }

  .purchase-title {
    width: min(70%, 81.9rem);
    max-width: 82rem;
    margin: 0 auto 5rem;
  }

  .purchase-columns {
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 6rem;
    width: min(92%, 110rem);
    margin: -18rem auto 0;
  }

  .purchase-item {
    margin-top: 0;
    width: min(50%, 55.2rem);
  }

  .purchase-item:nth-child(1) .purchase-item-img {
    width: 90.5%;
  }

  .purchase-item-img {
    margin-bottom: 3.5rem;
  }

  .purchase-item-btn {
    width: min(100%, 47.5rem);
  }
}

@media (min-width: 1280px) {
  .purchase-columns {
    margin-top: -22rem;
  }
}

/* ========================================
  Footer
======================================== */
.footer {
  background-color: #1a1a1a;
  padding: 0 2rem 3rem;
}

.footer-inner {
  border-top: 1px solid #fff;
  padding-top: 2rem;
  text-align: center;
}

.footer-logo {
  width: 68%;
  margin: 0 auto;
}

.footer-logo-img {
  width: 100%;
  height: auto;
}

@media (min-width: 940px) {
  .footer {
    padding: 0 0 3rem;
  }

  .footer-inner {
    padding-top: 3rem;
  }

  .footer-logo {
    width: 35.7rem;
  }
}

/* ========================================
  追従カートボタン
======================================== */
.btn-cart {
  position: fixed;
  top: 58%;
  right: 0.8rem;
  z-index: 900;
  display: block;
  width: 6.4rem;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-cart-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0.4rem 0.8rem rgba(0, 0, 0, 0.35));
}

.btn-cart:hover,
.btn-cart:focus-visible {
  opacity: 0.9;
  transform: translateY(-50%) scale(1.04);
}

@media (min-width: 940px) {
  .btn-cart {
    top: 55%;
    right: 2rem;
    width: calc(100vw * 175 / 1920);
    max-width: 17.5rem;
  }
}
