@charset "utf-8";

html {
  scroll-behavior: smooth;
}

img {
  display: block;
}

:root {
  --color-brown: #4f2c30;
  --color-pink: #ef4c7f;
  --color-yellow: #e6bd53;
  --color-beige: #f9f6f1;
  --color-white: #ffffff;
}

.font-serif {
  font-family: 'Noto Serif JP', serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.background-brown {
  background-color: var(--color-brown);
  color: var(--color-white);
}

.background-beige {
  background-color: var(--color-beige);
  color: var(--color-brown);
}

.background-pink {
  background-color: var(--color-pink);
  color: var(--color-white);
}

.background-pattern {
  background-image: url(/cp/lp/coffeeandvanilla25/images/bg.png);
  background-size: 15px;
  color: var(--color-white);
}

.has-text-pink {
  font-weight: bold;
  color: var(--color-pink);
}

.has-text-yellow {
  font-weight: bold;
  color: var(--color-yellow);
}

.inner-area {
  max-width: 900px;
  padding: 0 1.5rem;
  margin: auto;
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
}

.section-contents {
  padding: 4rem 0; 
}

.section-title {
  font-size: 2.8rem;
  line-height: 1;
  letter-spacing: .5rem;
}

.section-title::before,
.section-title::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  background-image: url(/cp/lp/coffeeandvanilla25/images/star.svg);
  background-size: contain;
}

.section-title::before {
  margin-right: .5rem;
}

.section-title-en {
  font-family: 'Pinyon Script', serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2rem;
  margin: .5rem 0 1rem;
}

/* スクロールアニメーション */

.fade-in {
  opacity: 0;
  transition-duration: 1000ms;
  transition-property: opacity, transform;
}

.fade-in-up {
  transform: translate(0, 50px);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* ボタン */

.button-container {
  max-width: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem auto;
}

.button-cav {
  display: block;
  padding: 1rem;
  border: solid 1px var(--color-brown);
  border-radius: 50px;
  font-weight: bold;
  max-width: 300px;
  width: 100%;
  margin: auto;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}

.button-cav:hover {
  background-color: var(--color-pink);
  border: solid 1px var(--color-pink);
  color: var(--color-white);
}

.button-beige {
  background-color: var(--color-beige);
  color: var(--color-brown);
}

.button-brown {
  background-color: var(--color-brown);
  color: var(--color-white);
}

/* アイキャッチ */

.section-main {
  padding-bottom: 1rem;
}

.main-area {
  position: relative;
  background: url(/cp/lp/coffeeandvanilla25/images/bg_main.jpg) no-repeat top center;
  background-size: 200%;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  max-width: 1440px;
}

.main-title {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.main-caption {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 60px;
  z-index: 10;
}

.fade-in-main {
  opacity: 0;
  transform: translateY(-40px);
  animation-name: fadeInMain;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
  animation-delay: .5s;
  will-change: opacity, transform;
}

@keyframes fadeInMain {
  0% {
      opacity: 0;
      transform: translateY(-40px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.main-visual {
  margin: 0 auto;
  margin-left: -4%;
  margin-right: -16%;
  max-width: none;
  width: 120%;
}

.zoom {
  transform: scale(1.05);
  opacity: 0;
  animation-name: zoom;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  will-change: transform, opacity;
}

@keyframes zoom {
  0% {
    transform: scale(1.05);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.rounded-container {
  background-color: var(--color-beige);
  color: var(--color-brown);
  border-radius: 20px;
  border: solid 1px var(--color-yellow);
  padding: 2rem 1rem;
  margin: 2rem auto;
}

.rounded-container-title {
  background-color: var(--color-yellow);
  font-size: 2rem;
  padding: .5rem;
  margin: -2rem -1rem 1rem;
  border-radius: 19px 19px 0 0;
}

.cover-25-image {
  max-width: 400px;
  width: 100%;
  margin: auto;
}

/* 作品紹介 */

.section-story {
  margin-top: -2px;
  padding-top: 7rem;
  background: var(--color-beige) top center / 100% no-repeat url(/cp/lp/coffeeandvanilla25/images/bg_story.svg);
  color: var(--color-brown);
}

.swiper-wrapper {
  transition-timing-function: linear;
  margin-bottom: 2rem;
}

.swiper-slide img {
  height: auto;
  width: 100%;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.35);
}

.story-container {
  margin-bottom: 3rem;
}

.item-coma > img {
  max-width: 360px;
  width: 100%;
  margin: auto;
}

.youtube-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1rem 0;
}

.youtube-container > iframe {
  width: 100%;
  height: 100%;
}

/* 新作情報 */

.comic-container {
  margin-top: 2rem;
}

.item-comic-cover {
  max-width: 180px;
  margin: 1rem auto 2rem;
}

.cover-image {
  box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.35);
}

.works-container > li:nth-child(n+2) {
  border-top : solid 1px var(--color-brown);
  padding-top: 2rem;
}

/* 作者紹介 */

.section-author {
  position: relative;
  overflow-x: hidden;
}

.section-author::before {
  content: '';
  background-image: url(/cp/lp/coffeeandvanilla25/images/bg_author.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  position: absolute;
  top: -1px;
  left: 50%;
  width: 101%;
  height: 50px;
  transform: translateX(-50%);
}

/* スマホ版  固定メニューボタン */

#bottom-menu-list > li > a > img {
  margin: auto;
}

@media screen and (min-width: 767px) {
  .main-area {
    background-size: auto;
  }

  .inner-area {
    font-size: 1.2rem;
  }

  .section-title::before,
  .section-title::after {
    width: 28px;
    height: 28px;
  }

  /* アイキャッチ */

  .section-main::after {
    height: 88px;
  }

  .main-caption {
    top: 14%;
    left: 25%;
    width: 80px;
  }

  .main-visual {
    margin-left: 23%;
    margin-right: auto;
    max-width: 700px;
    width: 100%;
  }

  /* 作品紹介 */

  .section-story {
    padding-top: 10rem;
  }

  .swiper-wrapper {
    margin-bottom: 3rem;
  }

  .story-container {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .item-coma {
    margin-left: 2rem;
  }

  /* 新作情報 */

.comic-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.item-comic-cover {
  width: 36%;
  margin: 0 1.5rem 0 0;
}

.item-comic-contents {
  width: 64%;
}

/* 作者紹介 */
.section-author::before {
  top: -1px;
  height: 100px;
}

.pagetop {
  width: 80px;
  height: 80px;
}
}

@media screen and (min-width:768px) and (max-width:1200px) {
  .main-caption {
    left: 17%;
  }

  .main-visual {
    margin-left: 11%;
  }
}



