@charset "UTF-8";

html {
  scroll-behavior: smooth;
}

@media screen and (min-width:768px){
  html{font-size : 20px;}
  .onsp{display: none;}
  .onpc{display: block;}
}

@media screen and (max-width:767px){
  html{font-size : 4vw;}
  .onsp{display: block;}
  .onpc{display: none;}
}

/* ie11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%;
    height: auto;
  }
}

html::before{
  content:"";
  position: fixed;
  inset: 0;
  background: #000;
  z-index: -10;
  pointer-events: none;
}

html::after{
  content:"";
  position: fixed;
  inset: 0;
  background: url("../images/bg_pc.png") center / cover no-repeat;
  pointer-events: none;
  z-index: -10;
}

@media screen and (max-width:767px){
  html::after{
    background: url("../images/bg_sp.png") center / cover no-repeat;
    animation: heartbeat 6s ease-in-out infinite;
  }
}
  
@keyframes heartbeat{
  0% { opacity: 0.3;}
  40% { opacity: 1;}
  60% { opacity: 0.5;}
  70% { opacity: 1;}
  90% { opacity: 1;}
  100% { opacity: 0.3;}
}

body{
  width: min(500px, 100%);
  margin: 0 auto;
  color: white;
  font-size: 1em;
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-feature-settings: 'palt';
  letter-spacing : 0.1em;
  line-height : 2;
  -webkit-font-smoothing  : antialiased;
	-moz-osx-font-smoothing : grayscale;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

@media screen and (min-width:768px){
  body{
    /* 中央寄せ + 右に20px足すイメージ */
    margin-left: calc(50%); /* 250px = 500pxの半分 */
    margin-right: auto;
  }
}

.topleft {
  position: fixed;
  top: 0;
  left: 0;
  animation: heartbeat 6s ease-in-out infinite;
  z-index: -9;
  width: 500px;
}

.bottomright {
  position: fixed;
  bottom: 0;
  right: 0;
  animation: heartbeat 6s ease-in-out infinite;
  z-index: -9;
  width: 500px;
}

h1 {
  
}

h2 {
  width: 100%;
  color: white;
  text-align: center;
  font-family: "Fira Sans", sans-serif;
  font-style: normal;
  font-size: 1.2em;
  letter-spacing : 0.25em;
  margin-bottom: 5%;
}

h2 span{
  display:inline-block;
  position:relative;
  font-weight: 500;
}
h2 span::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0em;
  height: 1px;
  background: linear-gradient(90deg, #543c6e, #2780b9, #009f72);
}

h3 {
  text-align: center;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing : 0.2em;
}

p {
  padding: 10%;
  font-weight: 400;
}

img{
  display: block;
  width: 100%;
}

a{
  text-decoration: none;
  color: white;
}


/*
// header
*/
header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  aspect-ratio: 1 / 0.13;
  padding: clamp(10px, 2vw, 15px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  width: 40%;
  margin: 0;
}

.nav-toggle{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.menu-btn i{ 
  font-size: 2em;
}

.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 2000;

  background: rgba(0,0,0,.85);
  display: grid;
  place-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease, visibility 0s linear .35s;
}

/* 開いた状態 */
.nav-toggle:checked ~ .menu-overlay{
  opacity: 1;
  visibility: visible;
  transition: opacity .35s ease;
}

/* 閉じるボタン */
.close-btn{
  position: fixed;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.close-btn i{ 
  font-size: 2em;
}

/* メニュー */
.menu-list{
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.menu-list a{
  display: inline-block;
  padding: 14px 20px;
  font-size: 1.5em;
  font-family: "Fira Sans", sans-serif;
  font-weight: 500;
}



/*
// main
*/

main {
  width: 100%;
}

section {
  margin-bottom: 30%;
}

#fv {
  height: 85vh;
  display: grid;
  place-items: center;
}

#concept h2 span {
  transform: translateY(300%);
}
.product_wrapper{
  width: 90%;
  margin: 10% auto;
  padding: 5%;
  border-radius: 10px;
  position: relative;
}

.product_wrapper::before{
  content:"";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(-45deg, #543c6e, #2780b9, #009f72);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.item_name {
  text-align: center;
  font-size: 1.5em;
  font-weight: 700;
  padding: 0;
  margin-bottom: 5%;
}

.item_features {
  text-align: center;
  font-weight: 700;
  padding: 5% 0;
}

.item_description {
  text-align: center;
  padding: 0;
  line-height: 1.5;
}

.item_detail_link {
  text-align: center;
  width: 60%;
  aspect-ratio: 1 / 0.13;
  margin: 5% auto;
  background: linear-gradient(90deg, #543c6e, #2780b9, #009f72);
  border-radius: 9999px;
}

#store div {
  margin: 10% auto;
}

#news p {
  padding: 0;
  line-height: 1.5;
}

.news_wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 5%;
  border-bottom: 1px solid white;
}

.news_category {
  font-size: 0.7em;
  display: inline-block;
  background: white;
  color: black;
  padding: 0 0.5em !important;
  margin-bottom: 5%;
}

.news_title {
  font-weight: 700;
  margin-bottom: 5%;
}

.news_wrapper p:last-of-type{
  line-height: 1.2; /* 0.5は詰まりすぎ＆見た目変わりにくいのでまず1.1〜1.3推奨 */
}
.news_wrapper p:last-of-type span{
  font-size: 0.7em;
}

#sns {
  margin-bottom: 0 !important;
}

.sns_wrapper {
  display: flex;
  justify-content: space-between;
  width: 30%;
  margin: 0 auto;
  font-size: 2.5em;
}


/*
// footer
*/
footer p {
  text-align: center;
  font-size: 0.6em;
}
