@charset "UTF-8";
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.5238095238vw;
  }
}
@media (min-width: 1050px) {
  html {
    font-size: 100%;
  }
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  color: #292929;
}

@media screen and (min-width: 768px) {
  a,
  button {
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  a:hover,
  button:hover {
    opacity: 0.7;
    cursor: pointer;
  }
}

/*****************************
* A Modern CSS Reset (https://github.com/hankchizljaw/modern-css-reset)
* 上記に、ul要素,ol要素,a要素への記述追加
*****************************/
/* Box sizing rules */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ul,
li {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

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

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

button {
  border: none;
  padding: 0;
  background-color: transparent;
  background-color: initial;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: 0.01ms !important;
            transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.l-about {
  padding-top: 4rem;
  padding-bottom: 6.375rem;
  scroll-margin-top: 5.3125rem;
}
@media screen and (min-width: 768px) {
  .l-about {
    padding-top: 7.3125rem;
    padding-bottom: 5.8125rem;
  }
}

.l-case {
  padding-top: 3.875rem;
  margin-top: 5.5rem;
  scroll-margin-top: 5.3125rem;
}
@media screen and (min-width: 768px) {
  .l-case {
    padding-top: 7.5rem;
    margin-top: 7.5rem;
  }
}

.l-company {
  margin-top: 4rem;
  scroll-margin-top: 5rem;
}
@media screen and (min-width: 768px) {
  .l-company {
    scroll-margin-top: 5.625rem;
  }
}

.l-faq {
  padding-top: 4rem;
  padding-bottom: 5.5rem;
}
@media screen and (min-width: 768px) {
  .l-faq {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }
}

.l-flow {
  padding-top: 4rem;
  padding-bottom: 5.5rem;
  margin-top: 5.5rem;
}
@media screen and (min-width: 768px) {
  .l-flow {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
    margin-top: 7.5rem;
  }
}

.l-footer {
  padding: 3rem 0;
}
@media screen and (min-width: 768px) {
  .l-footer {
    padding: 4.5rem 0;
  }
}

.l-function {
  margin-top: 4rem;
  padding: 4rem 0;
  scroll-margin-top: 5.3125rem;
}
@media screen and (min-width: 768px) {
  .l-function {
    margin-top: 7.5rem;
    padding: 7.5rem 0;
  }
}

.l-inner {
  max-width: 1050px;
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}
@media screen and (min-width: 768px) {
  .l-inner {
    max-width: 1050px;
    padding-right: 1.5625rem;
    padding-left: 1.5625rem;
  }
}

.l-pagetop {
  position: fixed;
  right: 0.625rem;
  bottom: 0.625rem;
}
@media screen and (min-width: 768px) {
  .l-pagetop {
    right: 2.5rem;
    bottom: 2.5rem;
  }
}

.l-price {
  scroll-margin-top: 5rem;
}
@media screen and (min-width: 768px) {
  .l-price {
    margin-top: 6.4375rem;
    scroll-margin-top: 5.625rem;
  }
}

.l-reason {
  scroll-margin-top: 5rem;
}
@media screen and (min-width: 768px) {
  .l-reason {
    scroll-margin-top: 5.625rem;
  }
}

.l-scene {
  margin-top: 4rem;
  scroll-margin-top: 5rem;
}
@media screen and (min-width: 768px) {
  .l-scene {
    margin-top: 7.5rem;
    scroll-margin-top: 5.625rem;
  }
}

.l-wine {
  margin-top: 3rem;
}
@media screen and (min-width: 768px) {
  .l-wine {
    margin-top: 0;
  }
}

.c-btnArea {
  padding: 2rem 0;
  position: relative;
}
@media screen and (min-width: 768px) {
  .c-btnArea {
    padding: 2.9375rem;
  }
}
.c-btnArea::before {
  content: "";
  display: block;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  background-image: url(../images/wine-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.c-btnArea__btn {
  background-color: #870E34;
  color: #fff;
  border-radius: 2.8125rem;
  -webkit-box-shadow: 0 3px 6px #f0d0da;
          box-shadow: 0 3px 6px #f0d0da;
  padding: 1.125rem;
  padding-left:0rem!important;
  display: block;
  font-size: 1.125rem;
  font-weight: bold;
  position: relative;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .c-btnArea__btn {
    max-width: 32.125rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.5rem;
    padding: 1.5625rem;
  }
}
.c-btnArea__btn::after {
  content: "";
  background-image: url(../images/arrow_btn.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 1.5rem;
  height: 1.5rem;
  display: block;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .c-btnArea__btn::after {
    width: 2.125rem;
    height: 2.125rem;
    right: 2rem;
  }
}

.c-hamburger {
  position: relative;
  display: block;
}
@media screen and (min-width: 768px) {
  .c-hamburger {
    display: none;
  }
}

.c-hamburger span {
  width: 1.9375rem;
  height: 1px;
  display: block;
  background: #707070;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.c-hamburger span:nth-child(2) {
  margin-top: 0.5625rem;
}

/* ナビ開いてる時のバツボタン */
.c-hamburger.active span:nth-child(1) {
  -webkit-transform: translateY(0.3125rem) rotate(-20deg);
          transform: translateY(0.3125rem) rotate(-20deg);
}

.c-hamburger.active span:nth-child(2) {
  -webkit-transform: translateY(-0.3125rem) rotate(20deg);
          transform: translateY(-0.3125rem) rotate(20deg);
}

.c-pagetop {
  width: 2.875rem;
  height: 2.875rem;
  display: block;
}
.c-pagetop img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.c-section-title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 2;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  position: relative;
}
@media screen and (min-width: 768px) {
  .c-section-title {
    font-size: 1.75rem;
  }
}
.c-section-title::before {
  content: "";
  height: 0.0625rem;
  background-color: #870E34;
  width: 3rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .c-section-title::before {
    width: 3rem;
  }
}
.c-section-title::after {
  content: attr(data-en);
  font-size: 0.875rem;
  color: #870E34;
  line-height: 1;
  padding-bottom: 1.0625rem;
  font-family: "Libre Baskerville", serif;
}
@media screen and (min-width: 768px) {
  .c-section-title::after {
    font-size: 1rem;
  }
}

.p-about {
  position: relative;
}
.p-about::before {
  content: "";
  display: block;
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 30% center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .p-about::before {
    background-position: center center;
  }
}

.p-about__head {
  display: block;
  text-align: center;
  line-height: 1;
}

.p-about__text {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.7857142857;
  text-align: center;
  margin-top: 3.0625rem;
}
@media screen and (min-width: 768px) {
  .p-about__text {
    font-size: 1rem;
    line-height: 1.75;
  }
}
.p-about__text span {
  font-size: 1rem;
  color: #870E34;
}
@media screen and (min-width: 768px) {
  .p-about__text span {
    font-size: 1.25rem;
  }
}

.p-about__note {
  font-size: 0.625rem;
  font-weight: 500;
  text-align: center;
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .p-about__note {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

.p-about__img {
  width: 100%;
  display: block;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-about__img {
    max-width: 37.0625rem;
    margin-left: auto;
    margin-right: auto;
  }
}
.p-about__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 343/205;
}
@media screen and (min-width: 768px) {
  .p-about__img img {
    aspect-ratio: 593/349;
  }
}

.p-case {
  background-color: #F0F0EC;
  overflow: hidden;
}

.p-case__head {
  display: block;
  text-align: center;
}

.p-case__card {
  padding: 1.9375rem 1.5rem 1.5rem;
  background-color: #fff;
  border-radius: 0.625rem;
  margin-top: 2.125rem;
}
@media screen and (min-width: 768px) {
  .p-case__card {
    padding: 3.5rem;
  }
}

.p-case__cardTitle {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  padding-left: 0.875rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-case__cardTitle {
    font-size: 1.5rem;
    line-height: 1.1666666667;
  }
}
.p-case__cardTitle::before {
  content: "";
  display: block;
  width: 0.3125rem;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #870E34;
}

@media screen and (min-width: 768px) {
  .p-case__cardWrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
  }
}

.p-case__cardImg {
  margin-top: 1rem;
  width: 100%;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-case__cardImg {
    max-width: 21.6875rem;
    margin-top: 0;
  }
}
.p-case__cardImg img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 295/221;
}
@media screen and (min-width: 768px) {
  .p-case__cardImg img {
    aspect-ratio: 347/260;
  }
}

@media screen and (min-width: 768px) {
  .p-case__cardBox {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-case__cardInfo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 1.5rem;
  gap: 0.5rem;
}
@media screen and (min-width: 768px) {
  .p-case__cardInfo {
    margin-top: 0;
    gap: 1rem;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-case__cardIcon {
  width: 5.25rem;
  height: 5.25rem;
  display: block;
}
@media screen and (min-width: 768px) {
  .p-case__cardIcon {
    width: 6.25rem;
    height: 6.25rem;
  }
}
.p-case__cardIcon img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-case__cardHead {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.p-case__cardCompany {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.75;
}

.p-case__cardName {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}

.p-case__cardText {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.5rem;
}
@media screen and (min-width: 768px) {
  .p-case__cardText {
    margin-top: 1.3125rem;
  }
}

.p-case__topSwiper {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding-bottom: 1.25rem;
}

.p-case__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  text-align: center;
  margin-top: 3rem;
}

.p-case__swiperContainer {
  margin-top: 2rem;
}

.p-case__swiperWrapper {
  transition-timing-caseTop: linear;
}

.p-case__swiperSlide {
  width: 100%;
  display: block;
  border-radius: 0.3125rem;
}
.p-case__swiperSlide img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 0.3125rem;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
}

.p-caseTop__pagination .swiper-pagination-bullet {
  background-color: transparent;
  border: 1px solid #870E34;
  opacity: 1;
  width: 0.625rem;
  height: 0.625rem;
}

.p-caseTop__pagination .swiper-pagination-bullet-active {
  background-color: #870E34;
}

.p-company {
  overflow: hidden;
}

.p-company__head {
  display: block;
  text-align: center;
}

.p-company__wrap {
  max-width: 37.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-company__wrap {
    max-width: none;
    max-width: initial;
  }
}

.p-company__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 1.5rem 0;
  width: 100%;
  border-top: 1px solid #E5E5E2;
}
@media screen and (min-width: 768px) {
  .p-company__box {
    -webkit-box-align: stretch;
        -ms-flex-align: stretch;
            align-items: stretch;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    padding: 0;
  }
}

.p-company__title {
  font-size: 0.875rem;
  font-weight: bold;
  padding-right: 0.875rem;
}
@media screen and (min-width: 768px) {
  .p-company__title {
    background-color: #F7F7F7;
    -ms-flex-preferred-size: 27%;
        flex-basis: 27%;
    font-size: 1rem;
    padding: 1.5rem 1.375rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-company__text {
  font-size: 1rem;
  word-break: break-all;
  margin-top: 0.25rem;
}
@media screen and (min-width: 768px) {
  .p-company__text {
    margin-top: 0;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    padding: 1.5rem 1.375rem;
  }
}
.p-company__text span {
  display: block;
  margin-top: 0.125rem;
}
@media screen and (min-width: 768px) {
  .p-company__text span {
    margin-top: 0;
  }
  .p-company__text span + span {
    margin-top: 0.25rem;
  }
}
.p-company__text a {
  color: #870E34;
  text-decoration: underline;
}
.p-company__text figure {
  width: 100%;
  display: block;
  margin-bottom: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-company__text figure {
    max-width: 30.375rem;
    margin-bottom: 1.25rem;
  }
}
.p-company__text img {
  width: 100%;
  display: block;
}

.p-company__btn {
  margin-top: 5.5rem;
}
@media screen and (min-width: 768px) {
  .p-company__btn {
    margin-top: 5.9375rem;
  }
}

.p-develop {
  padding-top: 4rem;
  padding-bottom: 5.5rem;
  margin-top: 5.5rem;
  background-image: url(../images/develop-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  position: relative;
}

.p-develop__container {
  padding: 0.5rem 0.375rem;
  background-color: #fff;
  border-top: 4px solid #870E34;
  max-width: 37.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-develop__container {
    max-width: 58.625rem;
    padding: 0.625rem;
  }
}
.p-develop__container::before {
  content: "";
  display: block;
  background-image: url(../images/develop-logo.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
  width: 17.0625rem;
  height: 7.125rem;
  position: absolute;
  top: -1.875rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .p-develop__container::before {
    -webkit-transform: none;
            transform: none;
    -webkit-transform: initial;
            transform: initial;
    left: 0;
    top: -1.25rem;
    width: 29.5625rem;
    height: 9.5625rem;
  }
}
@media screen and (min-width: 768px) {
  .p-develop__container::after {
    content: "";
    display: block;
    width: 18.1875rem;
    height: 28.25rem;
    background-image: url(../images/develop-wine.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
    position: absolute;
    bottom: -3.75rem;
    right: -2.5rem;
  }
}

.p-develop__wrap {
  padding: 4.75rem 1.5rem 1.5rem;
  border: 1px solid #E5E5E5;
}
@media screen and (min-width: 768px) {
  .p-develop__wrap {
    padding: 5.375rem 4.375rem 4.4375rem;
  }
}

.p-develop__head {
  display: block;
  text-align: center;
}

.p-develop__title {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.8333333333;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-develop__title {
    font-size: 1.75rem;
  }
}
.p-develop__title::after {
  content: "";
  display: block;
  width: 20%;
  height: 0.0625rem;
  background-color: #870E34;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  .p-develop__title::after {
    width: 3rem;
  }
}

.p-develop__lead {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  color: #870E34;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-develop__lead {
    text-align: center;
    font-size: 1.25rem;
  }
}

.p-develop__text {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
}
@media screen and (min-width: 768px) {
  .p-develop__text {
    font-size: 1rem;
    text-align: center;
    margin-top: 1.875rem;
  }
}

.p-faq {
  background-color: #F0F0EC;
}

.p-faq__head {
  display: block;
  text-align: center;
}

.p-faq__items {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  max-width: 31.25rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-faq__items {
    max-width: none;
    max-width: initial;
  }
}

.p-faq__item {
  background-color: #fff;
  border-radius: 0.625rem;
  padding: 1.6875rem 1.25rem 1.5rem;
}

.p-faq__title {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
@media screen and (min-width: 768px) {
  .p-faq__title {
    font-size: 1.125rem;
  }
}
.p-faq__title::before {
  content: attr(data-question);
  display: block;
  font-size: 2.5rem;
  line-height: 1;
  color: #870E34;
  font-family: "Libre Baskerville", serif;
  margin-right: 0.875rem;
  margin-top: -0.625rem;
}
@media screen and (min-width: 768px) {
  .p-faq__title::before {
    font-size: 2rem;
    margin-top: -0.3125rem;
    margin-right: 1.0625rem;
  }
}

.p-faq__text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.75rem;
}
@media screen and (min-width: 768px) {
  .p-faq__text {
    padding-left: 2.9375rem;
    margin-top: 0.375rem;
  }
}

.p-flow {
  background-color: #f0f0ec;
}

.p-flow__head {
  display: block;
  text-align: center;
}

.p-flow__items {
  margin-top: 2rem;
  max-width: 31.25rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.4375rem;
}
@media screen and (min-width: 768px) {
  .p-flow__items {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    max-width: initial;
    gap: 2rem;
  }
}

.p-flow__item {
  background-color: #fff;
  padding: 1.6875rem 1.5rem 1.5rem;
  counter-increment: mycounter;
  border-radius: 0.625rem;
  position: relative;
}
.p-flow__item::after {
  content: "";
  display: block;
  width: 0.6875rem;
  height: 1.4375rem;
  background-color: #870E34;
  -webkit-clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
          clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: absolute;
  bottom: -1.875rem;
  left: 50%;
  -webkit-transform: translateX(-50%) rotate(180deg);
          transform: translateX(-50%) rotate(180deg);
}
@media screen and (min-width: 768px) {
  .p-flow__item::after {
    top: 50%;
    left: auto;
    left: initial;
    right: -1.25rem;
    -webkit-transform: translate(0, -50%) rotate(90deg);
            transform: translate(0, -50%) rotate(90deg);
  }
}

.p-flow__item:last-child::after {
  content: none;
}

.p-flow__num {
  position: relative;
  display: block;
}
.p-flow__num::before {
  content: counter(mycounter, decimal-leading-zero);
  font-size: 2.5rem;
  line-height: 1.2;
  color: #870E34;
  font-family: "Libre Baskerville", serif;
  display: block;
  text-align: center;
  padding-bottom: 0.4375rem;
}
.p-flow__num::after {
  content: "";
  display: block;
  width: 1.0625rem;
  height: 0.0625rem;
  background-color: #870E34;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}

.p-flow__subTitle {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
  margin-top: 1.1875rem;
}
@media screen and (min-width: 768px) {
  .p-flow__subTitle {
    font-size: 1.5rem;
    margin-top: 1.25rem;
  }
}

.p-flow__text {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.0625rem;
}
@media screen and (min-width: 768px) {
  .p-flow__text {
    margin-top: 1.25rem;
  }
}

.p-footer {
  background-color: #292929;
  color: #fff;
}

.p-footer__logo {
  width: 4.0625rem;
  height: 4.75rem;
  margin-left: auto;
  margin-right: auto;
  display: block;
}
.p-footer__logo img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.p-footer__nav {
  width: 70%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}

.p-footer__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.p-footer__item a {
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  padding: 0 1.5625rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-footer__item a::before {
    content: "";
    width: 0.0625rem;
    height: 0.75rem;
    background-color: #bbb;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
  }
}

.p-footer__item:first-child a::after {
  content: "";
  display: block;
  width: 0.0625rem;
  height: 0.75rem;
  background-color: #bbb;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
@media screen and (min-width: 768px) {
  .p-footer__item:first-child a::after {
    content: none;
  }
}

.p-footer__item:last-child {
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-footer__item:last-child {
    margin-top: 0;
  }
}

.p-footer__item:first-child a::before {
  content: none;
}

.p-function {
  position: relative;
}
.p-function::before {
  content: "";
  display: block;
  background-image: url(../images/function-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.p-function__head {
  display: block;
  text-align: center;
}

.p-function__items {
  max-width: 37.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .p-function__items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: none;
    max-width: initial;
  }
}

.p-function__item {
  background-color: #fff;
  border-radius: 0.625rem;
  padding: 2rem 1.25rem;
  position: relative;
  counter-increment: mycounter;
  height: auto;
}

.p-function__icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.75rem;
  height: 3rem;
  position: absolute;
  top: 0;
  display: inline-block;
  background-color: #870E34;
  border-radius: 0.625rem 0 0.625rem 0;
}
.p-function__icon::before {
  content: counter(mycounter, decimal-leading-zero);
  font-size: 1.25rem;
  font-family: "Libre Baskerville", serif;
  margin-top: -0.0625rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
}

.p-function__img {
  width: 7.125rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.p-function__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 100%;
}

.p-function__itemTitle {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.75;
  margin-top: 2rem;
  padding-bottom: 0.5rem;
  position: relative;
  text-align: center;
}
.p-function__itemTitle::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 0.0625rem;
  background-color: #870E34;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%);
          transform: translate(-50%);
}

.p-function__itemText {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 1.125rem;
}
.p-function__itemText span {
  font-size: 0.75rem;
}

.p-function__itemNote {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 0.4375rem;
}

.container {
  position: relative;
  padding-bottom: 1.875rem;
  margin-top: 3.0625rem;
  margin-right: calc(50% - 50vw);
}
@media screen and (min-width: 768px) {
  .container {
    margin-right: 0;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0;
}

.p-function__pagination .swiper-pagination-bullet {
  background-color: transparent;
  border: 1px solid #870E34;
  opacity: 1;
  width: 0.625rem;
  height: 0.625rem;
}

.p-function__pagination .swiper-pagination-bullet-active {
  background-color: #870E34;
}

@media screen and (min-width: 768px) {
  .p-function .swiper-pagination-clickable,
  .p-function .swiper-button-next:after, .p-function .swiper-button-prev:after,
  .p-function .swiper-button-next:after, .p-function .swiper-rtl .swiper-button-prev:after {
    display: none;
  }
}

.p-header {
  width: 100%;
  height: 4.5rem;
  padding: 0.875rem;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  z-index: 100;
}
@media screen and (min-width: 768px) {
  .p-header {
    height: 5rem;
  }
}

@media screen and (min-width: 768px) {
  .p-header__inner {
    padding-left: 1.375rem;
    padding-right: 1rem;
    width: 100%;
  }
}

.p-header__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-column-gap: 1.875rem;
     -moz-column-gap: 1.875rem;
          column-gap: 1.875rem;
}
@media screen and (min-width: 768px) {
  .p-header__box {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}

.p-header__nav {
  display: none;
  position: fixed;
  top: 4.5rem;
  left: 0;
  width: 100%;
  height: calc(100vh - 4.5rem);
  background-color: #870E34;
  z-index: 50;
  overflow: auto;
}
@media screen and (min-width: 768px) {
  .p-header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    height: auto;
    background-color: transparent;
    background-color: initial;
    position: relative;
    top: auto;
    top: initial;
    left: auto;
    left: initial;
    margin-left: auto;
  }
}

.p-header__items {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 100%;
  height: 100%;
  row-gap: 2rem;
  min-height: 40rem;
}
@media screen and (min-width: 768px) {
  .p-header__items {
    min-height: 0;
    min-height: initial;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    gap: 1.25rem;
  }
}

/*▽▽ヘッダーリストのアンダーバー▽▽*/
.p-header__item li ::after {
  position: absolute; /*親要素であるaタグを基準に位置を指定*/
  bottom: 10px; /*アンダーバーが位置する、各リストの下端からの高さ*/
  left: 0;/*アンダーバーを各リストの左端に指定*/
  content: ''; /*本来は、擬似要素に入るテキストなどを’’内に指定。今回はアンダーバーなので何も記載しない*/
  width: 100%; /*アンダーバーの幅は各リストの幅*/
  height: 2px; /*アンダーバーの高さ（太さ）*/
  background: #870E34; /*アンダーバーの色*/
  transform: scale(0, 1);/*アンダーバーの縮尺比率。ホバー前はx方向に0*/
  transform-origin: center top;/*変形（アンダーバーの伸長）の原点を、liの真ん中指定*/
  transition: transform 0.75s;/*変形の時間*/
}

.p-header__item li :hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
}
/*△△ヘッダーリストのアンダーバー△△*/

/*▽▽アンダーバー▽▽*/
.p-header__item a::after {
position: absolute;
left: 0;
content: '';
width: 100%;
height: 2px;
background: #870E34;
bottom: -1px;
transform: scale(0, 1);
transform-origin: right top; /*変形（アンダーラインの伸長）の原点がaタグ（各メニュー）の右端*/
transition: transform 0.3s;  /*変形の時間*/
}

.p-header__item a:hover::after {
transform: scale(1, 1);     /*ホバー後、x軸方向に1（相対値）伸長*/
transform-origin: left top; /*左から右に向かう*/
}
/*△△ヘッダーリストのアンダーバー△△*/

.p-header__item a {
  position: relative; /*下線、相対的な位置を指定*/
  display: block;
  font-size: 1.25rem;
  text-align: center;
  color: #fff;
}
@media screen and (min-width: 768px) {
  .p-header__item a {
    color: #292929;
    font-size: 0.875rem;
  }
}

@media screen and (min-width: 768px) {
  .p-header__item:last-child a {
    background-color: #870E34;
    color: #fff;
    border-radius: 1.875rem;
    -webkit-box-shadow: 0 3px 6px #F0D0DA;
            box-shadow: 0 3px 6px #F0D0DA;
    min-width: 11.0625rem;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: bold;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding: 1rem 1rem 1rem 2.4rem;
  }
  .p-header__item:last-child a::after {
    content: "";
    background-image: url(../images/arrow_btn.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    width: 1rem;
    height: 1rem;
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    left:0.5rem;
  }
}

.p-header__logo {
  max-width: 7.1875rem;
  width: 100%;
  height: 100%;
}

.p-header__hamburgerArea {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 0 0 0 20px;
  position: absolute;
  top: 50%;
  right: 1.25rem;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 100;
}

.p-mv {
  margin-top: 4.5rem;
  padding-top: 2rem;
  background: -webkit-gradient(linear, left top, left bottom, from(#F0F0EC), color-stop(85%, #F0F0EC), color-stop(85%, #fff), to(#fff));
  background: linear-gradient(180deg, #F0F0EC 0%, #F0F0EC 85%, #fff 85%, #fff 100%);
}
@media screen and (min-width: 768px) {
  .p-mv {
    margin-top: 5rem;
    padding-top: 2.5rem;
  }
}

.p-mv__inner {
  max-width: 37.5rem;
}
@media screen and (min-width: 768px) {
  .p-mv__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    max-width: 60rem;
  }
}

.p-mv__box {
  display: contents;
}
@media screen and (min-width: 768px) {
  .p-mv__box {
    display: block;
    max-width: 34.375rem;
    width: 100%;
    position: relative;
    margin-top: 4.375rem;
  }
}

@media screen and (min-width: 768px) {
  .p-mv__title {
    max-width: 30rem;
    width: 100%;
  }
}

.p-mv__head {
  border-left: 4px solid rgba(144, 144, 144, .4);
  padding-left: 0.5rem;
  margin-top: 1.5rem;
  background-color: #F0F0EC;
  margin-left: 2.25rem;
}
@media screen and (min-width: 768px) {
  .p-mv__head {
    margin-left: 3.3125rem;
  }
}

.p-mv__subTitle {
  font-size: 1.25rem;
  font-weight: bold;
  color: #870E34;
}
@media screen and (min-width: 768px) {
  .p-mv__subTitle {
    font-size: 2rem;
  }
}

.p-mv__text {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-mv__text {
    font-size: 1.125rem;
  }
}

.p-mv__list {
  font-size: 0.75rem;
  font-weight: bold;
  line-height: 1.5;
}

.p-mv__wrap {
  margin-top: 1.5rem;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-mv__wrap {
    width: 18.875rem;
    height: 34.5rem;
    margin-top: 0;
  }
}

.p-mv__phone {
  width: 11.1875rem;
  height: 20.375rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index:2; /*追加*/
}
@media screen and (min-width: 768px) {
  .p-mv__phone {
    width: 100%;
    height: 100%;

  }
}
.p-mv__phone::after {
  content: "";
  display: block;
  background-image: url(../images/mv-yen.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  width: 7.75rem;
  height: 7.75rem;
  position: absolute;
  top: 50%;
  right: 0;
  -webkit-transform: translate(70%, -50%);
          transform: translate(70%, -50%);
  z-index: 10;
}
@media screen and (min-width: 768px) {
  .p-mv__phone::after {
    width: 12.25rem;
    height: 12.25rem;
  }
}
.p-mv__phone img {
  width: 100%;
  height: 100%;
  display: block;
/*  -o-object-fit: contain;
     object-fit: contain; */
}

.p-mv__swiper {
  width: 8.9375rem;
  height: 18.2rem;/*変更 初14.875rem*/
  display: block;
  position: absolute;
  top: 0.5rem;/*変更 初12.25rem*/
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
}
@media screen and (min-width: 768px) {
  /*.p-mv__swiper {
    top: 3.875rem;
    width: 15rem;
    height: 24.8125rem;
  }*/
  .p-mv__swiper {
    top: 0.45rem;
    width: 15rem;
    height: 31.3rem;
  }
}

.p-mv__video {
  width: 100%;
  height: 100%;
  display: block;
}
.p-mv__video video {
  width: 100%;
  height: 100%;
  display: block;
  /*-o-object-fit: cover;
     object-fit: cover;*/
}



.p-mv__pagination .swiper-pagination-bullet,
.p-mv-text__pagination .swiper-pagination-bullet {
  width: 1.25rem;
  height: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  font-family: "Libre Baskerville", serif;
  color: rgba(144, 144, 144, .4);
  opacity: 1;
  background: transparent;
  border-radius: 0;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-right: 2.75rem;
}
.p-mv__pagination .swiper-pagination-bullet::after,
.p-mv-text__pagination .swiper-pagination-bullet::after {
  content: "";
  display: block;
  width: 1.875rem;
  height: 0.0625rem;
  background-color: rgba(144, 144, 144, .4);
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 0.3125rem;
}
.p-mv__pagination .swiper-pagination-bullet:last-child,
.p-mv-text__pagination .swiper-pagination-bullet:last-child {
  padding-right: 0;
}
.p-mv__pagination .swiper-pagination-bullet:last-child::after,
.p-mv-text__pagination .swiper-pagination-bullet:last-child::after {
  content: none;
}

.p-mv__pagination .swiper-pagination-bullet-active,
.p-mv-text__pagination .swiper-pagination-bullet-active {
  color: #909090;
}

.p-mv__pagination.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: -1.5625rem;
}

@media screen and (min-width: 768px) {
  .p-mv .p-mv-text__pagination.swiper-horizontal > .swiper-pagination-bullets,
  .p-mv .swiper-pagination-bullets.swiper-pagination-horizontal,
  .p-mv .swiper-pagination-custom,
  .p-mv .swiper-pagination-fraction {
    bottom: -2.8125rem;
    text-align: left;
    left: 3.3125rem;
  }
}

@media screen and (min-width: 768px) {
  .p-mv__pagination {
    display: none;
  }
}

.p-mv-text__pagination {
  display: none;
}
@media screen and (min-width: 768px) {
  .p-mv-text__pagination {
    display: block;
  }
}

.p-price__head {
  display: block;
  text-align: center;
}

.p-price__img {
  width: 16.6875rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-price__img {
    width: 18.5rem;
  }
}
.p-price__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 267/141;
}
@media screen and (min-width: 768px) {
  .p-price__img img {
    aspect-ratio: 296/157;
  }
}

.p-price__text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  margin-top: 2rem;
  text-align: center;
}
@media screen and (min-width: 768px) {
  .p-price__text {
    margin-top: 2.75rem;
  }
}
.p-price__text span {
  font-size: 1.25rem;
  font-weight: bold;
  color: #870E34;
}

.p-price__note {
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.625rem;
  text-align: center;
}

.p-reason__head {
  display: block;
  text-align: center;
}

.p-reason__items {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  margin-top: 3.0625rem;
  max-width: 37.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .p-reason__items {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
    max-width: initial;
  }
}

.p-reason__item {
  padding-top: 0.375rem;
  position: relative;
  counter-increment: mycounter;
}
@media screen and (min-width: 768px) {
  .p-reason__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.p-reason__icon {
  position: absolute;
  top: 0;
  left: 0.625rem;
  width: 2.75rem;
  height: 3rem;
  position: absolute;
  top: 0;
  display: inline-block;
}
.p-reason__icon::before {
  content: counter(mycounter, decimal-leading-zero);
  font-size: 1.5rem;
  font-family: "Libre Baskerville", serif;
  margin-left: -0.125rem;
  margin-top: -0.0625rem;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
}

.p-reason__itemWrap {
  border: 1px solid #F0F0EC;
  border-radius: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-reason__itemWrap {
    height: 100%;
    background-color: #F0F0EC;
  }
}

.p-reason__itemHead {
  padding: 1.0625rem 0;
  min-height: 12.6rem;/*元々は11.75rem*/
}
@media screen and (min-width: 768px) {
  .p-reason__itemHead {
    min-height: 12.6rem;/*元々は11.75rem*/
    background-color: #fff;
  }
}

.p-reason__img {
  width: 9.5625rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.p-reason__img.p-reason__img--1 {
  width: 9.5625rem;
}
@media screen and (min-width: 768px) {
  .p-reason__img.p-reason__img--1 {
    width: 10.625rem;
  }
}
.p-reason__img.p-reason__img--1 img {
  aspect-ratio: 153/153;
}
.p-reason__img.p-reason__img--2 {
  width: 16.5rem;
}
.p-reason__img.p-reason__img--2 img {
  aspect-ratio: 264/168;
}
.p-reason__img.p-reason__img--3 {
  width: 14.5rem;
}
@media screen and (min-width: 768px) {
  .p-reason__img.p-reason__img--3 {
    width: 18.4375rem;
  }
}
.p-reason__img.p-reason__img--3 img {
  aspect-ratio: 264/151;
}
.p-reason__img img {
  width: 100%;
  height: 100%;
  display: block;
}

.p-reason__body {
  background-color: #F0F0EC;
  padding: 1.25rem 1.5rem;
  border-radius: 0 0 0.625rem 0.625rem;
}

.p-reason__itemTitle {
  font-size: 1.125rem;
  font-weight: bold;
  line-height: 28/18;
  color: #870E34;
}

.p-reason__itemText {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .p-reason__itemText {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
}

.p-reason__itemNote {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 2.3333333333;
  /* margin-top: 1rem;*/
}

.p-reason__itemLists {
  margin-top: 1rem;
}

.p-reason__itemList {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1.5;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
}
.p-reason__itemList::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  background-color: #870E34;
  display: block;
  border-radius: 50%;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}
.p-reason__itemList + li {
  margin-top: 0.625rem;
}

.p-scene__head {
  display: block;
  text-align: center;
}

.p-scene__items {
  max-width: 30rem;/*フェードイン入れる前37.5rem*/
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}
@media screen and (min-width: 768px) {
  .p-scene__items {
    max-width: none;
    max-width: initial;
    gap: 4rem;
  }
}

.p-scene__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  counter-increment: mycounter;
}
@media screen and (min-width: 768px) {
  .p-scene__item {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}

.p-scene__img {
  width: 100%;
  display: block;
  border-radius: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-scene__img {
    max-width: 30.25rem;
  }
}
.p-scene__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 343/257;
  border-radius: 0.625rem;
}
@media screen and (min-width: 768px) {
  .p-scene__img img {
    ascent-override: 484/363;
  }
}

.p-scene__body {
  margin-top: 1.25rem;
}
@media (max-width: 767px) {
  .p-scene__body {
    position: relative; /* コンテナ要素に position: relative; を追加 */
    overflow: hidden; /* コンテナ要素に overflow: hidden; を追加 */
    width:100%;
  }
}

@media screen and (min-width: 768px) {
  .p-scene__body {
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
  }
}

.p-scene__subTitle {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8333333333;
  color: #870E34;
  font-family: "Libre Baskerville", serif;
  border-bottom: 1px solid #870E34;
}
@media screen and (min-width: 768px) {
  .p-scene__subTitle {
    padding-left: 2rem;
    font-size: 2.5rem;
    line-height: 1.1;
  }
}
.p-scene__subTitle::after {
  content: counter(mycounter, decimal-leading-zero);
}

.p-scene__lead {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.5;
  margin-top: 1rem;
}
@media screen and (min-width: 768px) {
  .p-scene__lead {
    padding-left: 2rem;
    margin-top: 1.5625rem;
  }
}

.p-scene__text {
  font-size: 0.875rem;
  line-height: 1.5;
  font-weight: 500;
  margin-top: 0.5rem;
}
@media screen and (min-width: 768px) {
  .p-scene__text {
    padding-left: 2rem;
    font-size: 1rem;
    line-height: 1.8125;
    margin-top: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .p-scene__item:nth-child(even) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
}
@media screen and (min-width: 768px) {
  .p-scene__item:nth-child(even) .p-scene__lead {
    padding-left: 0;
  }
}
@media screen and (min-width: 768px) {
  .p-scene__item:nth-child(even) .p-scene__subTitle {
    padding-left: 0;
  }
}
@media screen and (min-width: 768px) {
  .p-scene__item:nth-child(even) .p-scene__text {
    padding-left: 0;
  }
}

.p-wine {
  overflow: hidden;
}

.p-wine__title {
  width: 9.8125rem;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (min-width: 768px) {
  .p-wine__title {
    width: 15.375rem;
  }
}

.p-wine__video {
  max-width: 37.5rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}
@media screen and (min-width: 768px) {
  .p-wine__video {
    margin-top: 2.5rem;
    max-width: 41rem;
  }
}
.p-wine__video iframe {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: 343/192;
}

.p-wine__btn {
  margin-top: 3rem;
}
@media screen and (min-width: 768px) {
  .p-wine__btn {
    margin-top: 8.625rem;
  }
}

.u-desktop {
  display: none;
}
@media screen and (min-width: 768px) {
  .u-desktop {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .u-mobile {
    display: none;
  }
}
/*# sourceMappingURL=styles.css.map */

/*--横からフェードイン--*/
.fadeIn_left {
  opacity: 0;
  transform: translate(-20%, 0);
  transition: 2s;
}
.fadeIn_left.is-show {
  transform: translate(0, 0);
  opacity: 1;
}

.fadeIn_right {
  opacity: 0;
  transform: translate(20%, 0);
  transition: 2s;
}
.fadeIn_right.is-show {
  transform: translate(0, 0);
  opacity: 1;
}
@media (max-width: 767px) {
.fadeIn_right {
  opacity: 0;
  transform: translate(5%, 0);
  transition: 2s;
}
.fadeIn_right.is-show {
  transform: translate(0, 0);
  opacity: 1;
}
}

/*--ボタンアニメーション--*/
.c-btnArea__btn {

  /*アニメーションの起点とするためrelativeを指定*/
      position: relative;
    overflow: hidden;
    /*アニメーションの指定*/
    transition:1s;
}
.c-btnArea__btn:hover{
opacity: 1!important;
}
/*== 背景が流れる（斜め）ボタン */
.bgskew::before {
  content: '';
    /*絶対配置で位置を指定*/
  position: absolute;
  top: 0;
  left: -130%;
    /*色や形状*/
  background:#700c2b;
  width:120%;
  height: 100%;
  transform: skewX(-25deg);
}
/*ボタン内spanの形状*/
.c-btnArea__btn span {
  position: relative;
  z-index: 3;/*z-indexの数値をあげて文字を背景よりも手前に表示*/
  color:#fff;
}

.c-btnArea__btn:hover span{
  color:#fff;
}
/*hoverした時のアニメーション*/
.bgskew:hover::before {
  animation: skewanime 4s forwards;/*アニメーションの名前と速度を定義*/
}

@keyframes skewanime {
  100% {
    left:-10%;/*画面の見えていない左から右へ移動する終了地点*/
  }
}
/*o円の背景svg回転*/
.rotating-animation {
  position: absolute;
  top: -9%;
  left: 25%;
  margin-top: 0px;
  margin-left: 0px;
  display: block;
  width: 309px;
  height: 309px;
}

.rotating-animation span {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rotating-animation span::before, .rotating-animation span::after {
  content: '';
  display: block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.rotating-animation span::before {
  width: 309px;
  height: 309px;
  background-image: url(https://www.staver.co.jp/wineds/images/reason-img01-2.png);
}

.rotating-animation span::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://www.staver.co.jp/wineds/images/reason-img01-22_rotate.svg);
  animation: rotating 10s linear infinite;
}

@keyframes rotating {
 0% {
transform: rotate(0deg);
}
 100% {
transform: rotate(360deg);
}
}
