@charset "utf-8";
/* CSS Document */
body {
  font-size: 2.5rem;
  color: #222;
  line-height: 2;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 900;
}
/* ページ自体をふわっと表示 */
body {
  animation: fadein 1s forwards;
}
@keyframes fadein {
  0% {
    opacity: 0
  }
  100% {
    opacity: 1
  }
}
.pc_none {
  display: none;
}
/* ロゴ
------------------------------------------------- */
.grade {
  background: linear-gradient(115deg, rgba(218, 219, 220, 1) 0%, rgba(247, 247, 247, 1) 40%, rgba(247, 247, 247, 1) 60%, rgba(218, 219, 220, 1) 100%);
}
h1.logo_m78 {
  text-align: center;
  padding: 50px 3%;
}
/* main
------------------------------------------------- */
main {
  max-width: 1920px;
  margin: auto;
  position: relative;
  border-top: solid 2px #be1131;
}
main::before {
  content: "";
  position: absolute;
  top: -7px;
  border-top: solid 3px #be1131;
  width: 100%;
  z-index: 99;
}
main img {
  width: 100%;
  height: auto;
}
.ultra_copy {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 200px;
}
/* コンセプト
------------------------------------------------- */
section.concept {
  max-width: 1920px;
  margin: auto;
  padding: 13% 3%;
 position: relative;
  overflow: hidden; /* はみ出た背景を隠す */
}

.concept-bg {
  position: absolute;
  top: -20%; /* 上下に動くための余白 */
  left: 0;
  width: 100%;
  height: 140%; /* 要素より長くする */
  background-image: url("../../images/ultraman/concept_bg_repeat.webp");
  background-position: top right;
  background-repeat: repeat-y;
  z-index: -1;
  /* GPU加速を促すおまじない */
  will-change: transform;
}


/* 重ねる画像（星が多いバージョン） */
.concept-bg::after {
  position: absolute;
  top: 0; /* 上下に動くための余白 */
  left: 0;
  width: 100%;
  height: 140%; /* 要素より長くする */
  background-image: url("../../images/ultraman/concept_bg_repeat2.webp");
  background-position: top right;
  background-repeat: repeat-y;
  z-index: -1;
  content:"";
  
  /* 点滅アニメーションの設定 */
  animation: twinkle 3s ease-in-out infinite; 
  will-change: opacity; /* アニメーションの最適化 */
}

/* 星がまたたく（点滅する）アニメーション定義 */
@keyframes twinkle {
  0%, 100% {
    opacity: 0; /* 星が少ない状態に近づける */
  }
  50% {
    opacity: 1;   /* 星がいっぱい光る状態 */
  }
}








.comment {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  color: #FFF;
}
.comment img {
  max-width: 100%;
  height: auto;
}
.comment picture {
  width: 46%;
}
.comment div {
  width: 50%;
  letter-spacing: 0.1em;
}
.comment h1 {
  margin-bottom: 20px;
}
.red_btn a {
  background: linear-gradient(180deg, rgba(239, 43, 59, 1) 0%, rgba(239, 43, 59, 1) 100%);
  box-shadow: 17px 17px 5px 0px rgba(4, 0, 0, 0.34);
  color: #FFF;
  padding: 10px 30px;
  border: solid 3px #FFF;
  border-radius: 7px;
  display: block;
  text-decoration: none;
  max-width: 525px;
  margin: 50px auto 0;
  position: relative;
  transition: 0.3s;
  z-index: 1;
  text-align: center;
}
.red_btn a::before {
  background: linear-gradient(0deg, rgba(184, 27, 35, 1) 0%, rgba(220, 38, 52, 1) 100%);
   border-radius: 7px;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: all 0.3s ease-out;
  width: 100%;
  z-index: -1;
}
.red_btn a:hover::before {
  opacity: 0;
}
.soon{
	background-color: #FFF;
  color: #d52430;
  padding: 10px 30px;
  border: solid 3px #d52430;
  border-radius: 7px;
  display: block;
  text-decoration: none;
  max-width: 525px;
  margin: 50px auto 0;
  position: relative;
  transition: 0.3s;
  z-index: 1;
  text-align: center;
}
/* アイコンのスタイル */
.xred_btn a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 7px solid transparent;
  border-right: 0 solid transparent;
  border-left: 10px solid #fff;
  border-bottom: 7px solid transparent;
  box-sizing: border-box;
  transition: all 0.3s ease-out;
}
.xred_btn a:hover::after {
  right: 20px;
}
section.concept dl {
  max-width: 990px;
  margin: 17% auto 0;
  color: #FFF;
  box-sizing: content-box;
  text-align: center;
}
section.concept dl dt img {
  width: 100%;
  height: auto;
}
section.concept dl dd {
  text-shadow: 0px 0px 27px rgba(249, 247, 189, 0.4);
  margin-top: 80px;
}
section.concept dl dd strong {
  font-size: 140%;
  font-weight: 900;
}
/* 商品詳細
------------------------------------------------- */
section.products {
  background: linear-gradient(115deg, rgba(218, 219, 220, 1) 0%, rgba(247, 247, 247, 1) 40%, rgba(247, 247, 247, 1) 60%, rgba(218, 219, 220, 1) 100%);
  padding: 90px 3% 20px;
}
.products_in {
  max-width: 900px;
  margin: auto;
}
.products_in h1 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 背景のグラデーション */
  color: #a42c3e;
  padding: 1rem 0;
  font-size: 66px;
  margin-bottom: 30px;
}
/* 線全体の設定 */
.products_in h1::before, .products_in h1::after {
  content: '';
  flex-grow: 1; /* 線を両端に伸ばす */
  height: 5px; /* 線の太さ */
}
/* 左の線：右に向かって薄く */
.products_in h1::before {
  background-color: #a42c3e;
  margin-right: 30px;
}
/* 右の線：左に向かって薄く */
.products_in h1::after {
  background-color: #a42c3e;
  margin-left: 30px;
}
.white_box {
  border-radius: 15px;
  background-color: #FFF;
  padding: 50px;
  color: #a42c3e;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  box-shadow: 20px 20px 5px 0px rgba(4, 0, 0, 0.1);
  margin-bottom: 90px;
}
.white_box picture {
  width: 330px;
  display: block;
  font-size: 1.5rem;
  text-align: center;
}
.white_box picture img {
  display: block;
  margin-bottom: 10px;
}
.white_box .dtl {
  width: calc(100% - 400px);
  text-align: center;
}
.border_box {
  border: solid 5px #a42c3e;
  padding: 40px 10px 10px;
  position: relative;
  margin-bottom: 45px;
  line-height: 1.2;
}
.border_box + .border_box {
  margin-bottom: 10px;
}
.border_box h2 {
  position: absolute;
  top: -25px;
  left: 20px;
  display: inline-block;
  padding: 0 15px;
  background-color: #FFF;
  font-size: 35px;
}
.border_box p {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 2.8rem;
}
.border_box p + p {
  margin-bottom: 0;
}
.border_box p span {
  font-size: 75%;
  text-align: left;
  display: flex;
  align-items: flex-end;
  line-height: 1;
}
.border_box p span::before, .border_box p span::after {
  width: 2px;
  height: 20px;
  content: "";
  background-color: #a42c3e;
}
.border_box p span::before {
  margin-right: 0.5em;
  transform: rotate(-30deg);
}
.border_box p span::after {
  margin-left: 0.5em;
  transform: rotate(30deg);
}
.dtl_txt {
  font-size: 1.5rem;
}
/* ぐんぐんアニメーション */
.ultraman {
  opacity: 0;
}
.ultraman.is-active {
  /* cubic-bezierで「グッ、ググッ、グワーン！」という緩急をつける */
  animation: gungun-3steps 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes gungun-3steps {
  /* 1段階目：豆粒のようなサイズから、中距離までグワッ！と登場 */
  0% {
    transform: scale(0) rotate(0deg) translateY(0);
    filter: brightness(0) blur(5px); /* 最初はシルエットっぽく */
    opacity: 0;
  }
  30% {
    transform: scale(0.1) rotate(0deg) translateY(0);
    filter: brightness(1.2) blur(0);
    opacity: 1;
  }
  /* 2段階目：少し速度を抑えて「タメ」を作り、ディテールを見せる */
  60% {
    transform: scale(0.3) rotate(0deg) translateY(0);
  }
  /* 3段階目：最後に爆発的な加速で画面いっぱいに！ */
  100% {
    transform: scale(1) rotate(0deg) translateY(0);
    opacity: 1;
  }
}

.ultra_copyblack{
	text-align: center;
	margin-top: 60px;
}