@charset "utf-8";
/* CSS Document */
body {
  font-size: 2.4rem;
  color: #222;
  line-height: 1.8;
  font-family: "LINE Seed JP", sans-serif;
  font-weight: 700;
}
/* ページ自体をふわっと表示 */
body {
  animation: fadein 1s forwards;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.pc_none {
  display: none;
}
/* 背景固定
------------------------------------------------- */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../images/matsuken/hr.webp);
  background-size: cover;
  background-position: center;
  z-index: -10;
}

/* メイン画像
------------------------------------------------- */

.inner {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 730px;
  margin: 60px auto 40px;
}
.mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: url(../../images/matsuken/logo.png);
  mask-image: url(../../images/matsuken/logo.png);
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left top;
  mask-position: left top;
}
.hikari {
  position: absolute;
  top: -2%;
  left: -60%;
  width: 60%;
  padding: 60% 0 0;
  background-image: radial-gradient(circle, rgb(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 75%);
  transform: skewX(30deg);
  animation-name: kiran;
  animation-duration: 4.5s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
@keyframes kiran {
  100% {
    left: 600%;
  }
}

.main {
  background-image: url(../../images/matsuken/main_bg.webp);
  background-position: top center;
  background-size: cover;
  max-width: 1920px;
  margin: auto;
  position: relative;
  overflow: hidden;
  z-index: -5;
  text-align: center;
  &::after {
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../../images/matsuken/logo_bg.png);
    background-repeat: repeat-x;
    background-position: top;
    position: absolute;
    top: 0;
    z-index: -1;
  }

  h1 {
    max-width: 730px;
  }
}
.kirakira {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
}
.phrase1 {
  position: absolute;
  top: 20%;
  left: calc(50% - 470px);
  transform: translateX(-50%);
  z-index: 30;
  width: 120px;
  img {
    width: 100%;
    height: auto;
  }
}
.phrase2 {
  position: absolute;
  bottom: 15%;
  left: calc(50% + 240px);
  transform: translateX(-50%);
  z-index: 30;
  width: 150px;
  img {
    width: 100%;
    height: auto;
  }
}
.light {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -25%);
  z-index: -3;
  img {
    animation: rotation 30s linear infinite;
  }
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 背景画像
------------------------------------------------- */
.bg_gold {
  background-image: url(../../images/matsuken/bg.webp);
  background-repeat: repeat;
  max-width: 1920px;
  margin: auto;
  position: relative;
  text-align: center;
  padding: 1px 0;
  position: relative;
  border-top: solid 3px #727171;
  border-bottom: solid 3px #727171;
  &:after {
    content: "";
    background-image: url(../../images/matsuken/kirakira_bg.webp);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 457px;
    display: inline-block;
    z-index: 1;
  }
}
/* イメージカット
------------------------------------------------- */
section.image_cut {
  background-image: url(../../images/matsuken/image_cut_bg.webp);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 150px 4%;
  position: relative;
  .left_content {
    width: 22%;
    text-align: right;
  }
  .right_content {
    width: 78%;
    position: relative;
  }
  img {
    max-width: 100%;
    height: auto;
  }
  .kaguwashi {
    text-align: left;
    margin-bottom: 30px;
  }
}
.kakukaku {
  animation: kakukaku 1s steps(2, start) infinite;
}

@keyframes kakukaku {
  0% {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(-10deg);
  }
}
.kakukaku2 {
  animation: kakukaku2 1s steps(2, start) infinite;
}

@keyframes kakukaku2 {
  0% {
    transform: rotate(-10deg);
  }
  to {
    transform: rotate(20deg);
  }
}
.fuwafuwa {
  animation: fuwafuwa 0.5s ease-in-out infinite alternate;
}

@keyframes fuwafuwa {
  0% {
    transform: translate(0, 0) rotate(-7deg);
  }
  50% {
    transform: translate(0, -7px) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(7deg);
  }
}
.star1 {
  position: absolute;
  left: 0%;
  top: 20%;
}
.star2 {
  position: absolute;
  right: 0%;
  bottom: -10%;
}
/* 南のカーニバル
------------------------------------------------- */
section.fragrance {
  background-color: #f6c103;
  background: linear-gradient(to bottom, transparent 330px, #f6c103 330px);
  position: relative;
  overflow: hidden;
  margin-bottom: 150px;

  &:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../../images/matsuken/fragrance_bg.webp);
    background-repeat: repeat;
    z-index: 20;
    position: absolute;
    top: 261px;
  }
  .fragrance_flex {
    display: flex;
    justify-content: space-between;
    align-self: flex-start;
    padding-left: 4%;
  }
  .txt_area {
    width: 60%;
    position: relative;
    z-index: 20;
    text-align: left;
    img {
      max-width: 100%;
      height: auto;
    }
  }
  .bigface {
    width: 35%;
    position: relative;
    z-index: 20;
  }
  .matsuken_bigface {
    position: absolute;
    right: -30%;
    top: 10%;
    z-index: 20;
    width: 100%;
    img {
      width: 100%;
      height: auto;
    }
  }
  h1 {
    margin-bottom: 70px;
  }
  .txt_large {
    font-size: clamp(1.6rem, 2.2vw, 36px);
    margin-bottom: 30px;
  }
}
.star-icon {
  animation: kirakira 3s ease-in-out infinite;
  position: absolute;
  width: 10%;
  top: 10%;
  left: 10%;
  z-index: 30;
  img {
    width: 100%;
    height: auto;
  }
}

@keyframes kirakira {
  0%,
  100% {
    transform: scale(0.2) rotate(-10deg);
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
  }
  90% {
    transform: scale(1) rotate(10deg);
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.9));
  }
  80% {
    transform: scale(0.2) rotate(-10deg);
    opacity: 0;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
  }
}
.onpu1 {
  position: absolute;
  right: 10%;
  bottom: 25%;
  z-index: 30;
}
.star4 {
  position: absolute;
  left: 5%;
  top: 30%;
  z-index: 30;
}
.viva {
  position: absolute;
  right: 26%;
  top: 10%;
  z-index: 30;
  width: 13%;
  img {
    width: 100%;
    height: auto;
  }
}
.star {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 400px;
  height: 400px;
}

.perfume_circle {
  max-width: 1500px;
  padding: 80px 8%;
  margin: auto;
  position: relative;
  z-index: 40;
}
ul.circle-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 50%;
  list-style: none;
}

li.circle-item {
  position: absolute;
  /* top/leftを50%ではなく、最初から配置位置として計算 */
  top: calc(50% + var(--y, 0px));
  left: calc(50% + var(--x, 0px));
  width: 180px;
  height: 180px;
  margin-top: -90px;
  margin-left: -90px;
  padding: 10px;
  background-image: url(../../images/matsuken/green.jpg);
  border-radius: 50%;

  /* 角度と半径の計算（最新ブラウザの標準的な三角関数を使用） */
  --total: 9;
  --angle: calc((360deg / var(--total) * var(--index)) - 90deg);
  --radius: calc(50% - 50px);

  /* 🌟 X軸とY軸の位置を個別に計算して、ブラウザの負荷を減らします */
  --x: calc(cos(var(--angle)) * var(--radius));
  --y: calc(sin(var(--angle)) * var(--radius));

  /* 見た目の装飾 */
  font-size: 1.6rem;
  color: #fff;
  img {
    border-radius: 50%;
    display: block;
    width: 100%;
    height: auto;
    border: solid 2px #fff;
  }
  strong {
    background-color: #000;
    border-radius: 100px;
    padding: 3px 20px;
    display: inline-block;
    font-weight: 700;
  }
}
li.circle-item:nth-child(2),
li.circle-item:nth-child(5),
li.circle-item:nth-child(8) {
  background-image: url(../../images/matsuken/red.jpg);
}
li.circle-item:nth-child(3),
li.circle-item:nth-child(6),
li.circle-item:nth-child(9) {
  background-image: url(../../images/matsuken/purple.jpg);
}
.black_box {
  background-color: #231815;
  color: #fff;
  padding: 40px 4%;
  border: solid 2px #fff;
  position: relative;
  z-index: 20;
  display: inline-block;
  margin: 50px 0 150px;
}
.sticker_kaguwashi {
  position: absolute;
  top: -100px;
  left: -200px;
}
.rotation {
  animation: rotation 4s linear infinite;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* 無限ループアニメーション */
@keyframes horizontal-animation {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}
.slider-container {
  display: flex;
  overflow: hidden;
  background-color: #231815;
  position: relative;
  z-index: 20;
  padding: 10px 0 20px;
}
.slider-wrapper {
  display: flex;
  animation: horizontal-animation 30s linear infinite;
}

.slide {
  width: 450px;
  margin-right: 20px;
}

.slide img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

@media (hover: hover) {
  .slider-container:hover .slider-wrapper {
    animation-play-state: paused;
  }
}

/* スペシャル版の紹介
------------------------------------------------- */
section.sp {
  background-image: url(../../images/matsuken/sp_bg.webp);
  background-color: rgba(245, 219, 104, 0.5);
  background-position: top center;
  background-repeat: repeat-x;
  border: solid 2px #fff;
  padding: 80px 4% 50px;
  max-width: 1200px;
  margin: 0 auto 100px;
  box-shadow: 0px 5px 10px 0px rgba(186, 143, 8, 0.5);
  figure {
    margin: 20px 0 50px;
  }
  figcaption {
    font-size: 2rem;
  }
}
section.regular {
  background-image: url(../../images/matsuken/regular_bg.webp);
  background-color: rgba(245, 219, 104, 0.5);
  background-position: top center;
  background-repeat: repeat-x;
  border: solid 2px #fff;
  padding: 80px 4% 50px;
  max-width: 1200px;
  margin: 180px auto 100px;
  box-shadow: 0px 5px 10px 0px rgba(186, 143, 8, 0.5);
  position: relative;
  z-index: 20;
  figure {
    margin: 20px 0 50px;
    img {
      max-width: 100%;
      height: auto;
    }
  }
  figcaption {
    font-size: 2rem;
  }
}
.package_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  img {
    max-width: 100%;
    height: auto;
  }
}
.btn a {
  display: inline-block;
  overflow: hidden;
  background-color: #000;
  border-radius: 100px;
  padding: 10px 80px;
  color: #fff;
  text-decoration: none;
  margin: 30px 0 30px;
  border: solid 6px #c30d23;
  position: relative;
  font-size: 3.2rem;
  box-shadow:
    0px 0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 15px 0 rgba(131, 103, 10, 1);
}
.btn a:hover {
  background-color: #333;
}
.btn a:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 10px;
  height: 10px;
  margin: auto;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.btn a:before {
  animation: 4s 0s kirarin linear infinite;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 90%);
  content: "";
  height: 100%;
  left: -100%;
  position: absolute;
  top: 0;
  transform: skewX(-15deg);
  width: 100%;
}

.btn_soon {
  display: inline-block;
  overflow: hidden;
  background-color: #000;
  border-radius: 100px;
  padding: 10px 80px;
  color: #fff;
  text-decoration: none;
  margin: 30px 0 30px;
  border: solid 6px #c30d23;
  position: relative;
  font-size: 3.2rem;
  box-shadow:
    0px 0px 0px 5px rgba(255, 255, 255, 1),
    0px 0px 15px 0 rgba(131, 103, 10, 1);
}

@keyframes kirarin {
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.copy {
  text-align: right;
  font-size: 1.6rem;
}
ul.point {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
  margin-bottom: 80px;
}
.sticker_wrap {
  background-color: rgba(255, 255, 255, 0.3);
  border: solid 1px #fff;
  padding: 0 4% 4% 4%;
  margin-bottom: 30px;
  box-shadow: 0px 5px 10px 0px rgba(186, 143, 8, 0.5);
  h2 {
    margin: -30px 0 20px;
  }
  ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 4%;
  }
  li {
    flex: 1;
    img {
      width: 100%;
      height: auto;
    }
  }
}
.hukidashi {
  display: inline-block;
  position: relative;
  padding: 0 45px;
}

.hukidashi:before {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: black;
  -webkit-transform: rotate(60deg);
  transform: rotate(60deg);
}
.hukidashi:after {
  content: "";
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 30px;
  height: 2px;
  background-color: black;
  -webkit-transform: rotate(-60deg);
  transform: rotate(-60deg);
}
.hukidashi:before {
  left: 0;
}
.hukidashi:after {
  right: 0;
}
.ribbon {
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  color: #c30d23;
  font-size: 50px;
  line-height: 1.1;
  position: absolute;
  top: -70px;
  left: 0;
  right: 0;
  margin: auto;
}
hr {
  margin: 0;
  border: none;
  height: 300px;
  width: 100%;
}
/* 香十徳
------------------------------------------------- */
aside {
  background-image: url(../../images/matsuken/jittoku_bg.webp);
  background-position: center;
  position: relative;
  text-align: center;
  border-top: solid 3px #727171;
  border-bottom: solid 3px #727171;
  overflow: hidden;
  max-width: 1920px;
  margin: 0 auto -100px;
  h1 {
    position: relative;
  }
}
.cloud_left {
  position: absolute;
  left: 0;
  top: 0;
  width: 25%;
  img {
    width: 100%;
    height: auto;
  }
}
.cloud_right {
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  img {
    width: 100%;
    height: auto;
  }
}

ul.vertical {
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-start;
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  margin: 100px 0 50px;
  gap: 30px;
  color: #fff;
  line-height: 1.4;
  li {
    writing-mode: vertical-rl;
    text-align: left;
    text-indent: -2em;
    text-shadow: 0px 0px 12px rgba(116, 116, 116, 1);
    -webkit-text-stroke: 2px #666;
    text-stroke: 2px #666;
    paint-order: stroke;
  }
  .sign {
    font-size: 80%;
    margin-top: 50px;
    text-indent: -1em;
    display: flex;
    flex-direction: column;
    align-items: end;
  }
  .btn_modal {
    align-self: flex-end;
    text-shadow: 0px 0px 12px rgba(34, 34, 34, 1);
    -webkit-text-stroke: 2px #222;
    position: relative;
    z-index: 20;
  }
}
.arrow {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 2px;
  margin: 15px 0 0;
  border-radius: 9999px;
  background-color: #f7bf00;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  top: calc(50% - 1px);
  right: 0;
  width: 8px;
  height: 2px;
  border-radius: 9999px;
  background-color: #f7bf00;
  transform-origin: calc(100% - 1px) 50%;
}

.arrow::before {
  transform: rotate(45deg);
}

.arrow::after {
  transform: rotate(-45deg);
}

.jittoku_matsuken {
  margin-bottom: -40px;
}
.star3 {
  position: absolute;
  bottom: 10%;
  left: 10%;
  transform: translateX(-50%);
}
.onpu {
  position: absolute;
  bottom: 10%;
  right: 15%;
  transform: translateX(-50%);
}
.ore {
  position: absolute;
  top: 65%;
  right: 5%;
  transform: translateX(-50%);
}

/* モーダルを開くボタン */
.modal-open {
  border: none;
  cursor: pointer;
  background: none;
  color: #fff;
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  font-size: 80%;
  height: max-content;
  background-color: #222;
  padding: 10px 5px;
  border-radius: 3px;
  transition: 0.3s;
  &:hover {
    background-color: #444;
  }
}

/* モーダルと背景の指定 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 50%);
  padding: 40px 20px;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  box-sizing: border-box;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* モーダルの擬似要素の指定 */
.modal:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  margin-left: -0.2em;
}

/* クラスが追加された時の指定 */
.modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* モーダル内側の指定 */
.modal-container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  max-width: 1100px;
  z-index: 9999;
}

/* モーダルを閉じるボタンの指定 */
.modal-close {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: -20px;
  right: -10px;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #000;
  border-radius: 50%;
  cursor: pointer;
}

/* モーダルのコンテンツ部分の指定 */
.modal-content {
  background: #fff;
  text-align: left;
  line-height: 1.8;
  padding: 30px;
  font-family: "Yuji Syuku", serif;
  font-weight: 400;
  max-width: 1100px;
  height: 600px;
  overflow: auto;
  ol {
    list-style: none;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
  }
  li {
    writing-mode: vertical-rl;
    font-size: 1.6rem;
    text-indent: -65px;
    margin: 65px 0 30px;
    line-height: 1.5;
    padding: 0 10px;
  }
  strong {
    font-weight: 400;
    font-size: 30px;
    display: block;
    color: #c30d23;
  }
}

/* モーダルのコンテンツ部分のテキストの指定 */
.modal-content p {
  margin: 1em 0;
}
body.is-fixed {
  overflow: hidden;
  height: 100%;
}
.modal-supple {
  font-size: 1.6rem;
  padding-top: 20px;
  border-top: solid 1px #222;
}
