@keyframes fuwaMenu {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}
.sake-story {
  --font-family: "Noto Serif JP", serif;
}

@media screen and (min-width: 768px) {
  .js-fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: ease-in, opacity 1s, transform 1s;
  }
  .js-fadeIn--active {
    opacity: 1;
    transform: translateY(0);
  }
  .js-reveal {
    opacity: 0;
    transform: translateY(20%);
    transition: opacity 2s ease, transform 2s ease;
  }
  .js-reveal.delay {
    transition-delay: 0.3s;
  }
  .js-reveal--active {
    opacity: 1;
    transform: translateY(0);
  }
  .ec-layoutRole__contents {
    padding: 0 !important;
    margin: 0;
  }
  .sake-story {
    background-image: url(/html/template/sakecabinet/assets/img/common/pages/bg.png);
    background-size: 100%;
    padding-top: calc(100 * 100vw / 1440);
    padding-bottom: calc(60 * 100vw / 1440);
  }
  .sake-story .s-view {
    display: none;
  }
  .sake-story__wrapper {
    max-width: 100rem;
    width: calc(1000 * 100vw / 1440);
    margin: 0 auto;
  }
  .sake-story__headline {
    text-align: center;
    margin: 0;
    font-size: max(2.4rem, min(32 * 100vw / 1440, 3.2rem));
    margin-bottom: calc(100 * 100vw / 1440);
    font-family: var(--font-family);
  }
  .sake-story__headline--s {
    font-size: max(2rem, min(26 * 100vw / 1440, 2.6rem));
    margin-bottom: calc(16 * 100vw / 1440);
    display: block;
  }
  .sake-story__headline--m {
    font-size: max(2.4rem, min(32 * 100vw / 1440, 3.2rem));
    display: block;
  }
  .sake-story__flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(80 * 100vw / 1440);
  }
  .sake-story__flexbox__first .css-text {
    font-size: max(2rem, min(26 * 100vw / 1440, 2.6rem));
    font-family: var(--font-family);
    line-height: 2;
  }
  .sake-story__flexbox__second .css-image {
    width: calc(300 * 100vw / 1440);
    max-width: 30rem;
    aspect-ratio: 300/300;
  }
  .sake-story__textarea {
    background-color: rgba(255, 255, 255, 0.6);
    padding: calc(60 * 100vw / 1440) calc(15 * 100vw / 1440);
    margin-bottom: calc(60 * 100vw / 1440);
  }
  .sake-story__textarea .css-text {
    font-size: max(2rem, min(26 * 100vw / 1440, 2.6rem));
    font-family: var(--font-family);
    letter-spacing: -0.05em;
    line-height: 2;
  }
  .sake-story .css-position_right {
    width: 100%;
    text-align: right;
  }
  .sake-story .css-position_left {
    width: 100%;
    text-align: left;
  }
  .sake-story .css-common_button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    max-width: calc(315 * 100vw / 1440);
    aspect-ratio: 305/50;
    position: relative;
    font-size: max(1.4rem, min(16 * 100vw / 1440, 1.6rem));
    line-height: 1;
    font-family: var(--font-family);
    border: solid 1px #000;
    color: #000;
    padding: 0 calc(26 * 100vw / 1440);
  }
  .sake-story .css-common_button.icon-left::before, .sake-story .css-common_button.icon-left::after, .sake-story .css-common_button.icon-right::before, .sake-story .css-common_button.icon-right::after {
    content: "";
    width: 0.9rem;
    aspect-ratio: 1/1;
    display: none;
    position: absolute;
    background-image: url(/html/template/sakecabinet/assets/img/common/pages/common_button_allow.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
  }
  .sake-story .css-common_button.icon-left::before {
    display: block;
    transform: rotate(180deg);
    left: calc(10 * 100vw / 1440);
  }
  .sake-story .css-common_button.icon-right::after {
    display: block;
    right: calc(10 * 100vw / 1440);
  }
  .sake-story .css-common_button:hover {
    text-decoration: unset;
  }
  .banner {
    border-top: unset !important;
    margin: unset !important;
  }
}
@media screen and (max-width: 767px) {
  .js-fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: ease-in, opacity 1s, transform 1s;
  }
  .js-fadeIn--active {
    opacity: 1;
    transform: translateY(0);
  }
  .js-reveal {
    opacity: 0;
    transform: translateY(20%);
    transition: opacity 2s ease, transform 2s ease;
  }
  .js-reveal.delay {
    transition-delay: 0.3s;
  }
  .js-reveal--active {
    opacity: 1;
    transform: translateY(0);
  }
  .ec-layoutRole__contents {
    padding: 0 !important;
    margin: 0;
  }
  .sake-story {
    background-image: url(/html/template/sakecabinet/assets/img/common/pages/bg.png);
    background-size: 100%;
    padding-top: calc(120 * 100vw / 750);
    padding-bottom: calc(150 * 100vw / 750);
  }
  .sake-story__wrapper {
    max-width: 75rem;
    width: calc(690 * 100vw / 750);
    margin: 0 auto;
  }
  .sake-story__headline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    column-gap: calc(120 * 100vw / 750);
    text-align: center;
    font-size: calc(48 * 100vw / 750);
    margin: 0;
    margin-bottom: calc(120 * 100vw / 750);
    font-family: var(--font-family);
  }
  .sake-story__headline--s {
    font-size: calc(48 * 100vw / 750);
    margin-bottom: calc(150 * 100vw / 750);
    display: block;
  }
  .sake-story__headline--m {
    font-size: calc(64 * 100vw / 750);
    display: block;
  }
  .sake-story__flexbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(60 * 100vw / 750);
  }
  .sake-story__flexbox__first {
    display: none;
  }
  .sake-story__flexbox__second {
    width: 100%;
  }
  .sake-story__flexbox__second .css-image {
    width: 100%;
    max-width: calc(690 * 100vw / 750);
    aspect-ratio: 300/300;
  }
  .sake-story__textarea {
    background-color: rgba(255, 255, 255, 0.6);
    padding: calc(60 * 100vw / 750) calc(32 * 100vw / 750);
    margin-bottom: calc(60 * 100vw / 750);
  }
  .sake-story__textarea .css-text {
    font-size: calc(32 * 100vw / 750);
    font-family: var(--font-family);
    letter-spacing: -0.05em;
    line-height: 2;
  }
  .sake-story .css-position_right,
  .sake-story .css-position_left {
    width: 100%;
    text-align: center;
  }
  .sake-story .css-common_button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    aspect-ratio: 690/92;
    position: relative;
    font-size: calc(32 * 100vw / 750);
    line-height: 1;
    font-family: var(--font-family);
    border: solid 1px #000;
    color: #000;
    padding: 0 calc(26 * 100vw / 750);
  }
  .sake-story .css-common_button.icon-left::before, .sake-story .css-common_button.icon-left::after, .sake-story .css-common_button.icon-right::before, .sake-story .css-common_button.icon-right::after {
    content: "";
    width: calc(24 * 100vw / 750);
    aspect-ratio: 1/1;
    display: none;
    position: absolute;
    background-image: url(/html/template/sakecabinet/assets/img/common/pages/common_button_allow.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
  }
  .sake-story .css-common_button.icon-left::before {
    display: block;
    transform: rotate(180deg);
    left: calc(40 * 100vw / 750);
  }
  .sake-story .css-common_button.icon-right::after {
    display: block;
    right: calc(40 * 100vw / 750);
  }
  .sake-story .css-common_button:hover {
    text-decoration: unset;
  }
  .banner {
    border-top: unset !important;
    margin: unset !important;
  }
}
