@charset "utf-8";
/* 一般 */
div,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video,input,textarea {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font-style: normal;
}

/* セクション02 */
.section02 {
  background-color: #F5F2E3;
  width: 100%;
  margin: 0;
  padding: 0 0 100px;
  box-sizing: border-box;
  overflow: hidden;
}
.elementor-shape {
  direction: ltr;
  left: 0;
  line-height: 0;
  overflow: hidden;
  position: absolute;
  width: 100%;
  box-sizing: border-box;
}
.elementor-shape svg {
  display: block;
  left: 50%;
  position: relative;
  transform: translateX(-50%);
  width: calc(100% + 1.3px);
  box-sizing: border-box;
}
.elementor-shape .elementor-shape-fill {
  fill: #F9F7EE;
  transform: rotateY(0deg);
  transform-origin: center;
  box-sizing: border-box;
}

/* 中心からのアニメ */
.haguruma.active,
.irasuto.active,
.irasuto2.active,
.circle_waku.active {
  animation: scale-in 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes scale-in {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* テキストアニメの設定 */
.text_anime {
  margin: 0;
  text-align: center;
  font-size: 26px;
  font-family: "Kaisei Opti", serif;
  font-weight: 700;
}
.text_anime span {
  opacity: 0;
  transform: translateY(20px);
  display: inline-block;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.text_anime.active span {
  opacity: 1;
  transform: translateY(0);
}
.text_waku {
  margin: 0;
  text-align: center;
}
.text_anime2 {
  display: inline-block;
  font-size: 18px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: Normal;
}
.text_anime2.active {
  animation: spreadIn 0.6s ease forwards;
  animation-delay: 0.3s;
}
@keyframes spreadIn {
  0% { opacity: 0; transform: scale(0.2) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.text_anime3.active {
  animation: tracking-in 0.6s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes tracking-in {
  0% { transform: rotateY(-20deg) rotateX(-35deg) translate(-300px, 300px) skew(-35deg, 10deg); opacity: 0; }
  100% { transform: rotateY(0) rotateX(0deg) translate(0, 0) skew(0deg, 0deg); opacity: 1; }
}
/* fade-in-bottom */
.anime5.active {
  animation: fade-in-bottom 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes fade-in-bottom {
  0% { transform: translateX(30px) translateY(30px); opacity: 0; }
  100% { transform: translateX(0px) translateY(0px); opacity: 1; }
}
/* カラードット */
.blue_ten {
  color: #219bce;
}
.red_ten {
  color: #fc1d25;
}
.yellow_ten {
  color: #f4c541;
}
/* 最初のテキスト */
.hajimari-text {
  color: #160c28;
  font-size: 18px;
  font-weight: 500;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0 20px;
}
.hajimari-text2 {
  color: #333;
  font-size: 14px;
  font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 10px 15px 0;
}
/* イメージイラスト */
.image-container {
  position: relative;
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 200px auto 0;
}
.image-irasuto {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vertical-text {
  position: absolute;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  top: -50px;
  right: 150px;
  color: white;
  font-size: 22px;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0 0 0 / .9);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  letter-spacing: .3em;
  padding: 15px 10px;
  z-index: 2;
}
.vertical-text::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(190 140 0 / .7);
  box-shadow: 0 1px 2px rgba(0 0 0 / .9);
  transform: skewY(-30deg);
  z-index: -1;
}
@media screen and (max-width: 700px) and (min-width: 481px) {
  .vertical-text { right: 80px; }
}
@media screen and (max-width: 480px) and (min-width: 360px) {
  .vertical-text { font-size: 18px; right: 60px; }
}
@media (max-width: 359px) {
  .vertical-text { font-size: 16px; right: 40px; letter-spacing: .2em; }
}
/* Introductionの説明文 */
.intro-contents {
  margin: 0 auto;
  width: 95%;
  max-width: 700px;
  height: auto;
  padding: 0 15px 20px;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(135deg, #3c3c3c 0%, #5a5a5a 25%, #7a7a7a 50%, #5a5a5a 75%, #3c3c3c 100%);
  border: 2px solid #d4af37;
  border-radius: 5px;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.intro-contents p {
  font-size: 16px;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
  margin-top: 20px;
  text-align: justify;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "MS PMincho", serif;
  font-weight: 400;
  position: relative;
}
@media screen and (max-width: 480px) {
  .intro-contents p { font-size: 15px; line-height: 1.5; }
}
/* 歯車 */
.haguruma {
  margin: 0 auto;
}
/* 小見出し */
.mark {
  letter-spacing: 0.1em;
  font-size: 14px;
}
.komidasi {
  padding: 7px 20px;
  color: #28497D;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, rgb(0 0 0 / .5) 3px 3px 3px;
  border-radius: 20px;
  background-color: rgb(40 73 125 / .4);
  background-image:
    linear-gradient(90deg, rgb(40 73 125 / .3) 50%, transparent 50%),
    linear-gradient(rgb(40 73 125 / .3) 50%, transparent 50%);
  background-size: 10px 10px;
  box-shadow: 0 0 5px rgb(0 0 0 / .6);
}
/* 並列 */
.heiretu, .heiretu4-6, .heiretu6-4 {
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-sizing: border-box;
}
.heiretu4-6 { grid-template-columns: 4fr 6fr; }
.heiretu6-4 { grid-template-columns: 6fr 4fr; }
@media screen and (max-width: 480px) {
  .heiretu4-6 { grid-template-columns: 1fr; }
  .heiretu6-4 { grid-template-columns: 1fr; }
  .order1 { order: 1;}
  .order2 { order: 2;}
}
/* ボーダーイラスト */
.border-irasuto {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
/* 物語枠 */
.story_waku {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 30px auto 60px;
  padding: 5px 10px;
  box-sizing: border-box;
}
.story_waku p {
  word-wrap: break-word;
  white-space: normal;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.shape-circle {
  float: left;
  background: white;
  width: 180px;
  height: 270px;
  clip-path: ellipse(90px 135px at 50% 50%);
  shape-outside: ellipse(90px 135px at 50% 50%);
  margin-right: 1.5rem;
}
@media screen and (max-width: 600px) {
  .shape-circle {
    width: 120px;
    height: 180px;
    clip-path: ellipse(60px 90px at 50% 50%);
    shape-outside: ellipse(60px 90px at 50% 50%);
  }
}
/* グラデーションテキスト */
.gradient-text {
  background: linear-gradient(45deg, #c0392b, #d68910, #148f77);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  text-align: center;
}
/* 見出しバー */
.migihan_circle, .hidarihan_circle {
  display: flex;
  padding: 0;
  width: 100%;
  max-width: 400px;
  height: 50px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-size: 18px;
  font-weight: normal;
  font-family: "Noto Sans JP", sans-serif;
  text-shadow: 0 1px 2px rgb(0 0 0 / .8);
  line-height: 50px;
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.migihan_circle {
  margin: 0 0 0 auto;
  border-radius: 50px 0 0 50px;
}
.hidarihan_circle {
  justify-content: flex-end;
  border-radius: 0 50px 50px 0;
}
@media screen and (max-width: 480px) and (min-width: 360px) {
  .migihan_circle, .hidarihan_circle { height: 40px; font-size: 16px; line-height: 40px; }
}
@media (max-width: 359px) {
  .migihan_circle, .hidarihan_circle { height: 40px; font-size: 15px; line-height: 40px; }
}
.circle_waku {
  margin: 30px auto;
  padding: 0;
  display: flex;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #F4F1E3;
  box-sizing: border-box;
}
.migihan_circle.active {
  animation: slide-in-right 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes slide-in-right {
  0% {
    transform: translateX(1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.hidarihan_circle.active {
  animation: slide-in-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes slide-in-left {
  0% {
    transform: translateX(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.hidari_irasuto.active {
  animation: slide-in-leftup 1.5s ease-in-out both;
}
@keyframes slide-in-leftup {
  0% {
    transform: translateY(-500px) translateX(-1000px);
    opacity: 0;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
}
.migi_irasuto.active {
  animation: slide-in-rightup 1.5s ease-in-out both;
}
@keyframes slide-in-rightup {
  0% {
    transform: translateY(-500px) translateX(1000px);
    opacity: 0;
  }
  100% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
}
.rain.active {
  transform-origin: left bottom;
  animation: rotate-90-cw 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes rotate-90-cw {
  0% {
    transform: rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0);
    opacity: 1;
  }
}
.rain2.active {
  transform-origin: right top;
  animation: rotate-90 1.2s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
@keyframes rotate-90 {
  0% {
    transform: rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform: rotate(0);
    opacity: 1;
  }
}
/* テキストレインボー */
.rain-rainbow {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
}
.rainbow-text {
  text-align: center;
  font-family: "Kaisei Opti", sans-serif;
  font-size: clamp(1.25rem, 1.089rem + 0.71vw, 1.625rem);
  font-weight: 400;
}
.rainbow-text span {
  display: inline-block;
  animation: rainbow 4s infinite linear;
}
@keyframes rainbow {
  0% { color: #EC6A52; }
  16% { color: black; }
  33% { color: #F4C541; }
  50% { color: #A2D188; }
  66% { color: #0099F5; }
  83% { color: #F4C4C6; }
  100% { color: #7E8EE3; }
}
.rainbow-text span:nth-child(1) { animation-delay: 0s; }
.rainbow-text span:nth-child(2) { animation-delay: 0.3s; }
.rainbow-text span:nth-child(3) { animation-delay: 0.6s; }
.rainbow-text span:nth-child(4) { animation-delay: 0.9s; }
.rainbow-text span:nth-child(5) { animation-delay: 1.2s; }
.rainbow-text span:nth-child(6) { animation-delay: 0s; }
.rainbow-text span:nth-child(7) { animation-delay: 0.3s; }
.rainbow-text span:nth-child(8) { animation-delay: 0.6s; }
.rainbow-text span:nth-child(9) { animation-delay: 0.9s; }
.rainbow-text span:nth-child(10) { animation-delay: 1.2s; }
.rainbow-text span:nth-child(11) { animation-delay: 1.5s; }
.rainbow-text span:nth-child(12) { animation-delay: 1.8s; }
.rainbow-text span:nth-child(13) { animation-delay: 0s; }
.rainbow-text span:nth-child(14) { animation-delay: 0.3s; }

/* 回転カルーセル */
.carousel-container {
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
  height: 500px;
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.carousel {
  position: relative;
  width: 240px;
  height: 340px;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}
.carousel-box {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(0 0 0  / .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 10px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
img.carousel-step {
  width: 100%;
  height: 100%;
  display: block;
  margin: auto;
  object-fit: contain;
  opacity: 1;
}
.carousel-main-title {
  font-size: 18px;
  font-weight: 500;
  color: #667eea;
  margin-bottom: 10px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  text-shadow: #fff 2px 0, #fff -2px 0, #fff 0 -2px, #fff 0 2px, #fff 2px 2px, #fff -2px 2px, #fff 2px -2px, #fff -2px -2px, #fff 1px 2px, #fff -1px 2px, #fff 1px -2px, #fff -1px -2px, #fff 2px 1px, #fff -2px 1px, #fff 2px -1px, #fff -2px -1px, 1px 1px 5px rgb(0 0 0 / .9);
}
.carousel-description {
  font-size: 12px;
  color: #160c28;
  text-align: left;
  line-height: 1.4;
}
.carousel-nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: #667eea;
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .carousel-nav-button:hover {
    background: #5a67d8;
    transform: translateY(-50%) scale(1.1);
  }
}
.carousel-nav-button:active {
  transform: translateY(-50%) scale(0.9);
}
.carousel-nav-button.carousel-prev { left: 40px; }
.carousel-nav-button.carousel-next { right: 40px; }
.carousel-box:nth-child(1) { transform: rotateY(0deg) translateZ(200px); background: rgba(248 229 140 / .95); }
.carousel-box:nth-child(2) { transform: rotateY(72deg) translateZ(200px); background: rgba(221 238 170 / .95); }
.carousel-box:nth-child(3) { transform: rotateY(144deg) translateZ(200px); background: rgba(153 221 255 / .95); }
.carousel-box:nth-child(4) { transform: rotateY(216deg) translateZ(200px); background: rgba(170 187 238 / .95); }
.carousel-box:nth-child(5) { transform: rotateY(288deg) translateZ(200px); background: rgba(255 187 187 / .95); }
@media (max-width: 480px) {
  .carousel-container { height:440px; }
  .carousel { width: 220px; height: 320px; }
  .carousel-main-title { font-size: 18px; }
  .carousel-box:nth-child(1) { transform: rotateY(0deg) translateZ(170px); }
  .carousel-box:nth-child(2) { transform: rotateY(72deg) translateZ(170px); }
  .carousel-box:nth-child(3) { transform: rotateY(144deg) translateZ(170px); }
  .carousel-box:nth-child(4) { transform: rotateY(216deg) translateZ(170px); }
  .carousel-box:nth-child(5) { transform: rotateY(288deg) translateZ(170px); }
  .carousel-nav-button { width: 45px; height: 45px; }
  .carousel-nav-button.carousel-prev { left: 15px; }
  .carousel-nav-button.carousel-next { right: 15px; }
}
@media (max-width: 359px) {
  .carousel-container { height:440px; }
  .carousel { width: 170px; height: 280px; }
  .carousel-main-title { font-size: 14px; }
  .carousel-description { font-size: 11px; }
  .carousel-box:nth-child(1) { transform: rotateY(0deg) translateZ(130px); }
  .carousel-box:nth-child(2) { transform: rotateY(72deg) translateZ(130px); }
  .carousel-box:nth-child(3) { transform: rotateY(144deg) translateZ(130px); }
  .carousel-box:nth-child(4) { transform: rotateY(216deg) translateZ(130px); }
  .carousel-box:nth-child(5) { transform: rotateY(288deg) translateZ(130px); }
  .carousel-nav-button { width: 40px; height: 40px; font-size: 20px; }
  .carousel-nav-button.carousel-prev { left: 15px; }
  .carousel-nav-button.carousel-next { right: 15px; }
}
/* playstyle */
.card-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 95%;
  max-width: 800px;
  margin: 0 auto;
  padding: 3px;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 5px 5px 15px;
  text-align: center;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  transition: transform 0.2s ease;
  box-sizing: border-box;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
  }
}
.card-icon {
  width: 100%;
  margin: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
.card-title {
  width: 90%;
  background: #f5c842;
  color: white;
  font-weight: 500;
  font-size: 17px;
  text-shadow: 1px 1px 1px rgb(0 0 0 / .9);
  margin: 0;
  padding: 8px 0;
  border-radius: 8px;
  display: inline-block;
}
.card-main-text {
  font-size: 16px;
  font-weight: bold;
  color: #160c28;
  margin: 15px 0;
  padding: 0;
}
.play-card-list {
  list-style: none;
  padding: 0;
}
.play-card-list li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 3px;
  line-height: 1.4;
  color: #333;
  font-size: 13px;
  text-align: left;
}
.play-card-list li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 3;
}
@media (max-width: 480px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Sales info */
.info-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  box-sizing: border-box;
}
.info-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  transition: transform 0.2s ease;
  box-sizing: border-box;
}
@media (hover: hover) {
  .info-card:hover {
    transform: translateY(-2px);
  }
}
.info-card-header {
  background: #f5c842;
  color: white;
  font-weight: 500;
  font-size: 22px;
  text-shadow: 1px 1px 1px rgb(0 0 0 / .9);
  margin: 0;
  padding: 8px 0;
  text-align: center;
  letter-spacing: 0.3em;
}
.info-card-content {
  padding: 20px 5px 5px;
}
.info-card-title {
  font-size: 20px;
  font-weight: bold;
  color: #160c28;
  margin-bottom: 20px;
  text-align: center;
}
.info-card-list {
  list-style: none;
  padding: 0;
}
ol.info-card-list2 {
  margin-left: 0;
  padding-left: 30px;
  list-style-type: decimal;
}
.info-card-list li, .info-card-list2 li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 4px;
  line-height: 1.6;
  color: #333;
  font-size: 13px;
}
.info-card-list2 li {
  padding-left: 0;
}
.info-card-list li::before {
  content: "●";
  font-size: 7px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 3.4;
}
.info-card-list2 li::before {
  content: "";
}
.price {
  font-size: 20px;
  font-weight: bold;
  color: #e53e3e;
}
.price-note {
  font-size: 14px;
  color: #160c28;
  text-align: center;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .info-cards-wrapper { grid-template-columns: 1fr;}
  .info-card-header { font-size:20px; }
  .info-card-title { font-size: 18px; }
  .info-card { width: 95%; margin: 0 auto; }
}
.sales-card-wrapper {
  width: 90%;
  max-width: 550px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  box-sizing: border-box;
}
.sales-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgb(0 0 0 / .2);
  box-sizing: border-box;
}
.midori-button {
  display: flex;
  width: 180px;
  height: 40px;
  margin: 30px auto 5px;
  padding: 0;
  justify-content: center;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0px 1px 1px rgb(0 0 0 / .8);
  border-radius: 5px;
  border: 0;
  color: #fff;
  background: #45B173;
  box-shadow: 0 4px 0 #19934e;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 0.2s ease;
}
.midori-button:active {
  transform: translate(0, 3px);
  box-shadow: 0 1px 0 #19934e;
}
.small-midori-button {
  width: 100px;
}
.blue-button {
  width: 120px;
  background: #46b5fa;
  box-shadow: 0 4px 0 #186b9e;
  font-size: 14px;
}
.blue-button:active {
  box-shadow: 0 1px 0 #186b9e;
}

/* カードカルーセル */
.goods-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  perspective: 1500px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  z-index: 2;
}
.goods-wrapper {
  position: relative;
  width: 400px;
  height: 670px;
  overflow: visible;
  margin: 20px auto 0;
}
.goods-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.goods-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0 0 0 / .8);
}
.goods-card {
  position: absolute;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center center;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #3c3c3c 0%, #5a5a5a 25%, #7a7a7a 50%, #5a5a5a 75%, #3c3c3c 100%);
  border: 4px solid #d4af37;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
}
/* デフォルト状態：右に積み重なって待機 */
.goods-card {
  transform: translateX(120%) scale(0.7);
  opacity: 0;
  z-index: 0;
}
/* アクティブカード：中央に表示 */
.goods-card.active {
  box-sizing: border-box;
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 0 20px rgba(102 126 234 / .4);
}
/* 左に去ったカード */
.goods-card.prev {
  transform: translateX(-120%) scale(0.7);
  opacity: 0;
  z-index: 0;
}
/* 前のカードを少し見せる */
.goods-card.prev-preview {
  box-sizing: border-box;
  transform: translateX(-40%) scale(0.8);
  opacity: 0.3;
  z-index: 5;
}
/* 次に来るカードを少し見せる */
.goods-card.next-preview {
  box-sizing: border-box;
  transform: translateX(40%) scale(0.8);
  opacity: 0.3;
  z-index: 5;
}
.goods-title {
  width: fit-content;
  margin: -25px auto 10px;
  color: #FFEE00;
  font-family: "craft", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(0 0 0 / .9);
  background: rgba(255 255 255 / .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255 255 255 / .2);
  border-radius: 16px;
  padding: 5px 10px;
  box-shadow: 0 8px 32px 0 rgba(0 0 0 / .1);
}
.goods-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin: 0 0 10px;
  padding: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.goods-controls {
  width: 95%;
  max-width: 240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 20px;
  padding: 0;
}
.goods-control-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(102 126 234 / .9);
  position: relative;
  overflow: hidden;
}
.goods-control-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255 255 255 / .3);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s;
}
.goods-control-btn:hover::before {
  transform: translateX(100%) rotate(45deg);
}
@media (hover: hover) {
  .goods-control-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(102 126 234 / .4);
  }
}
.goods-control-btn:active {
  transform: scale(0.95);
}
.goods-dots-container {
  display: flex;
  gap: 10px;
}
.goods-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.goods-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}
.goods-dot.active::after {
  opacity: 1;
  transform: scale(1);
}
.goods-dot.active {
  width: 20px;
  border-radius: 5px;
}
/* リンクボタン */
@property --gradient-angle-with {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.color-button {
  display: flex;
  margin: 0 auto;
  position: relative;
  padding: 12px 28px;
  font-family: "Gill sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  border: 1px solid transparent;
  border-radius: 50px;
  color: white;
  background: 
    linear-gradient(#4098ff, #4058ff) padding-box,
    conic-gradient(
      from var(--gradient-angle-with),
      transparent,
      gold 5%,
      white 10%,
      gold 15%,
      transparent 20%
    ) border-box;
  cursor: pointer;
  animation: rotate-with 3s linear infinite;
  overflow: hidden;
}
@keyframes rotate-with {
  to { --gradient-angle-with: 360deg; }
}
.color-button:active { translate: 0 1px; }
.color-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, gold, transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
  pointer-events: none;
  animation: 
    rotate-element 3s linear infinite,
    rotate-element calc(3s / 0.4) linear infinite reverse paused;
  animation-composition: add;
}
@keyframes rotate-element { to { rotate: 360deg; } }
.color-button span {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 480px) and (min-width: 390px) {
  .goods-wrapper { width: 330px; height: 570px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 23px; }
  .goods-description { font-size: 15px; }
  .color-button { font-size: 15px; }
  .goods-card { padding: 20px 15px; }
}
@media screen and (max-width: 389px) and (min-width: 360px) {
  .goods-wrapper { width: 300px; height: 570px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 23px; }
  .goods-description { font-size: 15px; }
  .color-button { font-size: 15px; }
  .goods-card { padding: 20px 15px; }
}
@media screen and (max-width: 359px) {
  .goods-wrapper { width: 260px; height: 520px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 22px; }
  .goods-description { font-size: 14px; }
  .color-button { font-size: 14px; }
  .goods-card { padding: 15px; }
}

/* 注意事項 */
.caution-container {
  width: 95%;
  max-width: 800px;
  margin: 40px auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #160c28;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / .3);
  padding: 10px 5px;
  background-color: white;
  box-sizing: border-box;
}
.caution-list {
  list-style: none;
  padding: 0;
}
.caution-list li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
}
.caution-list li::before {
  content: "●";
  font-size: 9px;
  position: absolute;
  left: 0;
  color: #333;
  line-height: 2.5;
}
/* 画像 */
.gazou-waku {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
/* フッター */
.noasobi {
  width: 14%;
  min-width: 200px;
  height: auto;
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .noasobi { width: 35%; max-width: 200px; }
}
@media (max-width: 480px) {
  .noasobi { width: 30%; min-width: 150px; }
}
.footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  background-color: #F5F2E3;
}
.link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #160c28;
}
.link-list {
  list-style: none;
  padding: 0;
}
.link-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  line-height: 1.6;
}
.link-list li a {
  color: #160c28;
}
.link-list li::before {
  content: "→";
  position: absolute;
  left: 0;
}
.footer-copyright {
  width: 100%;
  height: 50px;
  background: #000;
  display: flex;
  align-items: center;
}
.footer-copyright p {
  color: white;
  font-size: 13px;
  margin-left: auto;
  margin-right: 5px;
}

/* JavaScript判定 */
.js-text {
  margin: 15px 10px;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  padding: 0;
}
@media (max-width: 480px) {
  .js-text {
    font-size: 14px;
  }
}
/* JavaScriptが有効時 */
.main-content {
  margin: 10px 30px;
  display: none;
  padding: 20px 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #DDEEFF, #99DDFF);
  text-align: center;
}
.js-enabled .main-content {
  display: block;
 }
.success-title {
  color: #27ae60;
  font-size: 18px;
  margin-bottom: 10px;  
}
.success-message {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 0;
}
/* JavaScriptが無効時 */
.js-warning {
  display: block;
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgb(255 107 107 / .3);
}
.js-warning .warning-title {
  margin: 10px 0;
  font-size: 20px;
  font-weight: 600;
}
.js-warning p {
  margin: 15px 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  padding: 0;
}
.browser-instructions {
  background: white;
  border-radius: 6px;
  padding: 15px;
  margin: 10px 0;
  text-align: left;
}
.browser-instructions .instructions-title {
  margin: 0 0 10px 0;
  font-size: 16px;
  border-bottom: 1px solid rgb(0 0 0 / .3);
  color: #00AAEE;
}
.browser-instructions ol {
  margin: 0;
  padding: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #160c28;
  list-style-type: decimal;
}
.browser-instructions li {
  margin: 8px 0;
  padding: 0;
}
.refresh-note {
  background: #AADDAA;
  border-radius: 8px;
  padding: 10px 5px;
  margin: 20px 0 10px;
  font-size: 13px;
  font-weight: 500;
  color: #160c28;
}
/* 右寄せ */
.right {
  text-align: right;
}

/* ページトップへ戻るボタン */
.back-to-top {
  height: 46px;
  width: 46px;
  margin: 0 5px 0 auto;
  background: #AABBEE;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.back-to-top-arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: translateY(20%) rotate(-45deg);
}

/* スペース */
.space-5 { margin-top: -5px; }
.space-10 { margin-top: -10px; }
.space-15 { margin-top: -15px; }
.space-20 { margin-top: -20px; }
.space-30 { margin-top: -30px; }
.space-40 { margin-top: -40px; }
.space-50 { margin-top: -50px; }
.space-60 { margin-top: -60px; }
.space10 { margin-top: 10px; }
.space20 { margin-top: 20px; }
.space30 { margin-top: 30px; }
.space40 { margin-top: 40px; }
.space50 { margin-top: 50px; }
.space60 { margin-top: 60px; }
.space80 { margin-top: 80px; }
.space100 { margin-top: 100px; }
.space120 { margin-top: 120px; }
.space200 { margin-top: 200px; }
.space300 { margin-top: 300px; }
.space400 { margin-top: 400px; }
.botomu10 { margin-bottom: 10px; }
.botomu40 { margin-bottom: 40px; }
/* 画像大きさ */
.haba90 { width: 90%; }
.haba80 { width: 80%; }
.haba70 { width: 70%; }
.haba60 { width: 60%; }
.haba50 { width: 50%; }
.haba45 { width: 45%; }
.haba40 { width: 40%; }
.haba30 { width: 30%; }
.haba20 { width: 20%; }
.haba15 { width: 15%; }
.haba10 { width: 10%; }
.haba15-20 { width: 15%; }
@media (max-width: 480px) {
  .haba15-20 { width: 20%; }
}
.gazou-waku img {
  height: auto;
  object-fit: contain;
}
/* フォント */
@font-face {
    src: url("/fonts/NotoSansJP-Regular.woff2") format("woff2");
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("/fonts/GIL_____.woff2") format("woff2");
    font-family: "Gill sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("/wp-content/themes/diver_child/custom-fonts/miya-nazo1-craftmincho.woff2") format("woff2");
    font-family: "craft";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("/wp-content/themes/diver_child/custom-fonts/miya-nazo2-kaiseiopti-400.woff2") format("woff2");
    font-family: "Kaisei Opti";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("/wp-content/themes/diver_child/custom-fonts/miya-nazo2-kaiseiopti-700.woff2") format("woff2");
    font-family: "Kaisei Opti";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}