* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  padding: 0;
  /* overflow-x: hidden; */
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic",
    "游ゴシック", "Meiryo", "メイリオ", sans-serif;
  line-height: 1.8;
  color: #333;
}

.kv-hero {
  width: 100%;
  position: relative;
  display: block;
  background-color: #faf6f7;
  box-sizing: border-box;
}

.kv-hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.kv-hero__release-date {
  position: absolute;
  bottom: 10rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(232, 180, 184, 0.9);
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.6rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 20;
}

@media (max-width: 1097px) {
  .kv-hero__release-date {
    bottom: 6rem;
  }
}

@media (max-width: 768px) {
  .kv-hero__release-date {
    bottom: 10rem;
  }
}

/* Winter Thanks Section */
.winter-thanks {
  width: 100%;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8edf3 50%, #f5f0f1 100%);
  padding: 5rem 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

.winter-thanks__container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.winter-thanks__image-wrapper {
  flex-shrink: 0;
  width: clamp(200px, 30vw, 340px);
}

.winter-thanks__image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
  transform: rotate(-3deg);
  transition: transform 0.4s ease;
}

.winter-thanks__image:hover {
  transform: rotate(0deg) scale(1.02);
}

.winter-thanks__content {
  flex: 1;
}

.winter-thanks__badge {
  display: inline-block;
  background-color: #5a7fa0;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.35rem 1.2rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.winter-thanks__title {
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.winter-thanks__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  color: #5a7fa0;
  margin-bottom: 1.5rem;
}

.winter-thanks__count {
  font-family: "Oswald", sans-serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  font-weight: 700;
  color: #4B68AF;
  line-height: 1.1;
  margin-bottom: 0.3rem;
  text-shadow: 0 2px 8px rgba(75, 104, 175, 0.3);
}

.winter-thanks__count-man {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.5em;
  font-weight: 700;
  color: #4B68AF;
  margin-left: 0.15em;
}

.winter-thanks__count-unit {
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.4em;
  font-weight: 600;
  color: #555;
  margin-left: 0.2em;
}

.winter-thanks__count-label {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.winter-thanks__count-label-em {
  color: #4B68AF;
  font-weight: 700;
}

.winter-thanks__count-note {
  font-size: 0.7rem;
  color: #999;
  vertical-align: super;
  margin-left: 0.1em;
}

.winter-thanks__message {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 2;
  color: #555;
  margin-bottom: 1.5rem;
  font-feature-settings: "palt";
}

.winter-thanks__next {
  background: linear-gradient(135deg, #f8e8ea, #fce4ec);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid #e8b4b8;
}

.winter-thanks__next-text {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.8;
  color: #555;
}

.winter-thanks__next-text strong {
  color: #d4808a;
  font-weight: 700;
}

.winter-thanks__footnote {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: #999;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .winter-thanks {
    padding: 3rem 1.5rem;
  }

  .winter-thanks__container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .winter-thanks__image-wrapper {
    width: 200px;
  }

  .winter-thanks__next {
    border-left: none;
    border-top: 4px solid #e8b4b8;
  }
}

.winter-milk {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 12px 16px;
  background: linear-gradient(180deg, #faf7f8 0%, #ffffff 100%);
  box-sizing: border-box;
}

.winter-milk__container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.winter-milk__header {
  margin-bottom: 16px;
  text-align: center;
}

.winter-milk__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.4;
  color: #2c3e50;
  letter-spacing: 0.05em;
}

.winter-milk__title-line {
  display: block;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.winter-milk__title-line.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.winter-milk__title-line:nth-child(2) {
  transition-delay: 0.2s;
}

.winter-milk__content {
  text-align: center;
}

.winter-milk__text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.winter-milk__text.is-visible {
  opacity: 1;
  transform: translateY(0);
  margin: 0 auto;
}

.winter-milk__text--fade-1 {
  transition-delay: 0.4s;
}

.winter-milk__text--fade-2 {
  transition-delay: 0.6s;
  max-width: 100%;
}

@media (max-width: 768px) {
  .kv-hero__image {
    object-fit: contain;
  }

  .winter-milk__header {
    margin-bottom: 12px;
  }

  .winter-milk__text {
    margin-bottom: 1.5rem;
  }

  .story-panel__content {
    padding-top: 100px;
  }
}

.story-section {
  width: 100%;
  background-color: #ffffff;
  position: relative;
}

.story-wrapper {
  width: 100%;
  position: relative;
}

.story-panel {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}

.story-panel__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;

  flex-direction: column;
}

@media (min-width: 900px) {
  .story-panel__content {
    flex-direction: row;
    text-align: left;
  }
}

.story-panel__figure {
  width: clamp(280px, 40vw, 500px);
  height: clamp(280px, 40vw, 500px);
  margin: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  transition: transform 0.5s ease;
}

.story-panel__figure:hover {
  transform: scale(1.02);
}

.story-panel__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.story-panel--product .story-panel__image {
  object-position: center 60%;
}

.story-panel__text-content {
  max-width: 500px;
  color: #333;
  padding: 1rem;
  text-align: center;
}

@media (min-width: 900px) {
  .story-panel__text-content {
    text-align: left;
  }
}

.story-panel__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.story-panel__release-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background-color: #e8b4b8;
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 3px;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.story-panel__description {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 2.2;
  color: #666;
  font-weight: 400;
}

.story-panel--barn {
  background-color: #f9f9f9;
}
.story-panel--product {
  background-color: #fff;
}
.story-panel--nature {
  background-color: #faf5f6;
}
.story-panel--producers {
  background-color: #fff;
}

:root {
  --font-main: "Jost", sans-serif;
  --font-accent: "Oswald", sans-serif;
  --color-accent: #e8b4b8;
}

.story-section {
  background-color: #ffffff;
}

.story-panel__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-accent);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: #333333;
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
  width: 100%;
  text-align: center;
  overflow: visible;
  transform-origin: center center;
}

@media (min-width: 900px) {
  .story-panel:nth-child(even) .story-panel__content {
    flex-direction: row-reverse;
  }

  .story-panel:nth-child(even) .story-panel__text-content {
    text-align: right;
    align-items: flex-end;
  }
}

.story-panel__content {
  position: relative;
  z-index: 1;
  gap: clamp(2rem, 5vw, 6rem);
}

.story-panel__figure {
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.story-panel__circle-deco {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  transform: scale(0.9);
  transition: transform 0.6s ease;
}

.story-panel__figure:hover .story-panel__circle-deco {
  transform: scale(1.05);
}

.story-panel__text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-panel__subtitle {
  display: block;
  font-family: var(--font-main);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.story-panel__title {
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 1.5rem;
  color: #222;
}

.story-panel__divider {
  width: 60px;
  height: 2px;
  background-color: #222;
  margin: 0 auto 2rem;
}

@media (min-width: 900px) {
  .story-panel__divider {
    margin: 0 0 2rem 0;
  }

  .story-panel:nth-child(even) .story-panel__divider {
    margin: 0 0 2rem auto;
  }
}

.story-panel__description {
  font-family: "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 2;
  color: #555;
  font-feature-settings: "palt";
}

.price-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: #faf7f8;
  box-sizing: border-box;
}

.price-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  width: 100%;
}

@media (min-width: 900px) {
  .price-container {
    flex-direction: row;
    gap: 5rem;
    align-items: flex-start;
  }
}

.price-image-wrapper {
  width: 100%;
  max-width: 400px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(30px);
}

.price-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(232, 180, 184, 0.5))
    drop-shadow(0 0 40px rgba(232, 180, 184, 0.25));
  transform: rotate(-5deg);
  transition: transform 0.4s ease;
  mask-image: radial-gradient(ellipse 80% 80% at center, #000 50%, transparent 95%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, #000 50%, transparent 95%);
}

.price-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.price-content {
  flex: 1;
  width: 100%;
  max-width: 500px;
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
}

.price-title {
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #2c3e50;
  margin-bottom: 2rem;
  border-bottom: 4px solid #e8b4b8;
  padding-bottom: 0.5rem;
  display: inline-block;
  line-height: 1.4;
  font-weight: 600;
}

.price-launch-date {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 700;
  color: #ffffff;
  background-color: #3460c5;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  margin-bottom: 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 10px rgba(52, 96, 197, 0.2);
}

.price-note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 2rem;
}

.price-rows-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed #ddd;
}

.price-row:last-child {
  border-bottom: none;
}

.price-row.price-row--app {
  background-color: #f0f7ff;
  margin: 0 -2rem -2rem -2rem;
  padding: 2rem;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  border-top: 2px solid #e8b4b8;

  margin-bottom: -2rem;
  padding-bottom: 2rem;
  border-bottom: none;
}

.price-label {
  font-size: 1rem;
  color: #666;
  font-family: var(--font-main);
  font-weight: 600;
}

.price-details {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.price-tax-in {
  font-size: 1.4rem;
  font-weight: 700;
  color: #444;
}

.price-tax-out {
  font-size: 0.9rem;
  color: #888;
}

.price-app-badge {
  background-color: #3460c5;
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(52, 96, 197, 0.2);
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

@media (min-width: 600px) {
  .price-app-badge {
    margin-bottom: 0;
    align-self: center;
  }
}

.price-details--highlight {
  align-items: flex-end;
  flex-direction: column;
  text-align: right;
}

.price-tax-in-sm {
  font-size: 1.1rem;
  font-weight: 700;
  color: #005bac;
  margin-bottom: -5px;
}

.price-main-highlight {
  font-family: var(--font-accent);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 700;
  color: #e60012;
  line-height: 0.9;
  position: relative;
  text-shadow: 2px 2px 0px rgba(255, 255, 255, 1);
}

.price-currency {
  font-size: 0.5em;
  margin-right: 0.1em;
  vertical-align: top;
  color: #e60012;
}

.price-tax-suffix {
  font-size: 0.25em;
  color: #666;
  font-weight: 400;
  margin-left: 0.3em;
  font-family: "Yu Gothic", sans-serif;
  vertical-align: bottom;
  position: relative;
  bottom: 10px;
}

.gallery-section {
  width: 100%;
  padding: 6rem 2rem;
  background-color: #ffffff;
  box-sizing: border-box;
}

.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
}

.gallery-title {
  font-family: "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN", "Yu Gothic",
    sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 2.5vw, 28px);
  color: #2c3e50;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.gallery-subtitle {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  font-family: "Yu Gothic", sans-serif;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
  opacity: 0;
  transform: translateY(30px);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gallery-image--left {
  object-position: left center;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
}

@media (min-width: 600px) {
  .gallery-item--large {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 2;
  }
}

.gallery-note {
  font-size: 0.85rem;
  color: #666;
  text-align: right;
  margin-top: 1rem;
  font-weight: 700;
}

.app-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  padding: 1.2rem 2rem;
  background-color: #3460c5;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(52, 96, 197, 0.3);
  font-family: var(--font-main);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.app-link-btn:hover {
  background-color: #2b50a8;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(52, 96, 197, 0.4);
}

.app-link-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.app-link-btn:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Nutrition Facts */
.nutrition-facts {
  width: 100%;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 1rem;
  background-color: #ffffff;
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  box-sizing: border-box;
}

.nutrition-facts__title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #22345b;
  margin-bottom: 1.5rem;
  text-align: left;
  letter-spacing: 0.05em;
}

.nutrition-facts__title-main {
  display: inline-block;
}

.nutrition-facts__title-sub {
  display: inline-block;
  margin-left: 0.5em;
  font-size: 0.5em;
  font-weight: 600;
  color: #7a859d;
  letter-spacing: 0.02em;
  vertical-align: baseline;
}

.nutrition-facts__table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nutrition-facts__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid #e6e9ee;
}

.nutrition-facts__row:last-child {
  border-bottom: none;
}

.nutrition-facts__cell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-right: 1px solid #e6e9ee;
}

.nutrition-facts__cell:last-child {
  border-right: none;
}

.nutrition-facts__label {
  font-size: 0.95rem;
  color: #22345b;
  font-weight: 400;
}

.nutrition-facts__value {
  font-size: 1rem;
  color: #22345b;
  font-weight: 600;
}

.nutrition-facts__notes {
  margin-top: 0;
  padding-top: 1rem;
}

.nutrition-facts__source {
  font-size: 0.85rem;
  color: #7a859d;
  margin-bottom: 0.8rem;
}

.nutrition-facts__disclaimer {
  font-size: 0.85rem;
  color: #7a859d;
  line-height: 1.8;
}

/* Product Information (Not prominent) */
.product-info {
  width: 100%;
  max-width: 800px;
  margin: 1.25rem auto 0;
  box-sizing: border-box;
}

.product-info__table {
  width: 100%;
  background-color: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e6e9ee;
}

.product-info__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid #e6e9ee;
}

.product-info__row:first-child {
  border-top: none;
}

.product-info__th,
.product-info__td {
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.product-info__th {
  color: #7a859d;
  font-weight: 500;
}

.product-info__td {
  color: #22345b;
  font-weight: 400;
}

.product-info__divider {
  height: 9px;
  background: #f2f5fa;
  border-top: 1px solid #e6e9ee;
}

.product-info__th--empty {
  color: transparent;
}

.sp-only {
  display: none;
}

@media (max-width: 600px) {
  .nutrition-facts {
    padding: 0.75rem 0.5rem;
    margin: 2rem auto 0;
  }

  .nutrition-facts__title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .nutrition-facts__row {
    grid-template-columns: 1fr;
  }

  .nutrition-facts__cell {
    padding: 0.4rem 0.5rem;
    border-right: none;
    border-bottom: 1px solid #e6e9ee;
  }

  .nutrition-facts__row:last-child .nutrition-facts__cell:last-child {
    border-bottom: none;
  }

  .sp-only {
    display: inline;
  }

  .product-info {
    margin-top: 1rem;
  }

  .product-info__row {
    grid-template-columns: 1fr;
  }

  .product-info__th {
    padding-bottom: 0.1rem;
  }

  .product-info__td {
    padding-top: 0.1rem;
  }

  .product-info__th--empty {
    display: none;
  }
}

.story-panel__description {
  text-align: justify;
  text-justify: inter-ideograph;
}

@media (min-width: 900px) {
  .story-panel__description {
    text-align-last: left;
  }

  .story-panel:nth-child(even) .story-panel__description {
    text-align-last: left;
  }
}

.movie-section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background-color: #ffffff;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.movie-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("https://satudora.co.jp/static/pride-brand/winter-milk/bg-satudora-store.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
  filter: grayscale(0%) contrast(1);
  z-index: -2;
}

.movie-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 245, 247, 0.8) 0%,
    rgba(255, 245, 247, 0.6) 50%,
    rgba(255, 245, 247, 0.9) 100%
  );
  z-index: -1;
  pointer-events: none;
}

.movie-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.movie-header {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
}

.movie-title {
  font-family: "Hiragino Mincho ProN", "游明朝", serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: 0.1em;
  line-height: 1.6;
  text-shadow: none;
}

.movie-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 60px rgba(232, 180, 184, 0.3);
  opacity: 0;
  transform: translateY(30px);
}

.movie-wrapper::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    135deg,
    rgba(232, 180, 184, 0.8) 0%,
    rgba(52, 96, 197, 0.4) 50%,
    rgba(232, 180, 184, 0.8) 100%
  );
  border-radius: 18px;
  z-index: -1;
}

.movie-video,
.movie-iframe {
  width: 100%;
  height: auto;
  display: block;
  background-color: #f0f0f0;
  aspect-ratio: 16 / 9;
  border: none;
}

.movie-note {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 2.5rem;
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: #333333;
  font-weight: 600;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;

  opacity: 1;
  transform: translateY(0);

  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .movie-section {
    padding: 3rem 1rem;
    min-height: auto;
  }

  .movie-header {
    margin-bottom: 2rem;
  }

  .movie-wrapper {
    border-radius: 12px;
  }

  .movie-wrapper::before {
    border-radius: 14px;
  }

  .movie-note {
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .story-panel {
    padding: 5rem 2rem;
  }
}

.movie-header.is-visible,
.movie-wrapper.is-visible,
.movie-note.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.movie-wrapper.is-visible {
  transition-delay: 0.2s;
}

.movie-note.is-visible {
  transition-delay: 0.4s;
}
