* {
  box-sizing: border-box;
  word-break:break-word;
}

body {
  color: #00161B;
  background-color:#FBFAF8 ;
  font-size: 16px;
  line-height: 1.6;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 1.44px;
}

img {
  vertical-align: bottom;
  width: 100%;
  height: auto;
}

.wrapper {
  width: 89%;
  margin: 0 auto;
  max-width: 392px;
}

.headings {
  text-align: center;
}

.headings p {
  margin-bottom: 5px;
}

.headings h2 {
  font-family: "rubik", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 30px;
}

span {
  font-family: "rubik", sans-serif;
  font-weight: 600;
  font-style: normal;
}

/* ハンバーガーメニュー
========================================================================= */
/* ハンバーガーメニュー クリック前-------------*/
.btnHamburger {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 38px; 
  height: 24px;
  z-index: 10;
}
.btnHamburger .line {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 38px;
  height: 4px;
  background: #00161B;
  transition: 0.3s ease-out;
}

/* 3本線の各線の位置を指定 */
.btnHamburger .line_01 { top: 0px; }
.btnHamburger .line_02 { top: 10px; }
.btnHamburger .line_03 { top: 20px; }

/* ハンバーガーメニュー クリック後 --------------*/
.btnHamburger.is-active .line_01 {
  top: 10px;
  transform: rotate(45deg);
  background-color: #00161B;;
}

.btnHamburger.is-active .line_02 {
  opacity: 0;
}

.btnHamburger.is-active .line_03 {
  top: 10px; 
  transform: rotate(135deg);
  background-color: #00161B;
}


/* モーダル
========================================================================= */

/* #coverlayer クリック前　 ---------*/ 
#coverlayer {
  position: fixed;
  top:0;
  left:0;
  bottom: 0;
  width:1px;
  background-color: #FFC932;
  opacity: 0;
  transition: 0.5s;
  z-index: 5;
}

/* #coverlayer クリック後　 -----------*/
#coverlayer.is-active {
  width:100%;
  opacity: 1;
}

nav.is-active {
  left: 0;
  opacity: 1;
}

/* フェードイン
========================================================================= */

.fadein {
  opacity: 0;
  transform: translate(0,0);
  transition: all 1.0s;
&.fadein-left{
    transform: translate(-30px,0);
}
&.fadein-right{
    transform: translate(30px,0);
}
&.fadein-bottom{
    transform: translate(0,30px);
}
&.scrollin{
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}
}


/* テキスト無限ループ
========================================================================= */
@keyframes slide-flow {
  0% { transform: translateX(0);}
  100% {transform: translateX(-100%);}
}

.slider {
  display: flex;
  overflow: hidden;
  width: 100%;
}

.slider .slidetext {
  white-space: nowrap;
  width: 2000px;
  font-size:30px;
  line-height: 3.0;
  letter-spacing: 0.4rem;
  animation: slide-flow 20s infinite linear 1s both;
}





/* 本内容
========================================================================= */

header {
  background-color:#FFC932;
  width: 100%;
  position: relative;
}

nav {
  position: fixed;
  top: 105px;
  width: 100%;
  left: -100%;
  opacity: 0;
  transition: 0.5s;
  z-index: 5;
}

nav ul li a {
  text-decoration: none;
  display:block;
  text-align: center;
  color: #00161B;
  line-height: 1.2;
  font-size: 24px;
  padding-bottom: 20px;
}

nav ul li a:hover {
  opacity: 0.8;
}

nav ul li a span {
color: #FBFAF8 ;
font-size: 20px;
}

header .purchasebutton {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 104px;
  height: 104px;
  z-index: 10;
}

header .purchasebutton:hover {
  opacity: 0.8;
}

.header_text {
  text-align: center;
}

header p{
  padding: 120px 0 18px;
  font-size: 20px;
  line-height: 1.6;
  color: #fff;
}

header h1 {
  width: 47%;
  max-width: 208px;
  margin: 0 auto;
  margin-bottom: 18px;
}

header figure {
  display: flex;
  justify-content: center;
}

header figure img {
  width:67%;
  max-width: 296px;
  margin-bottom: 48px;
}

/* ABOUT
---------------------------------------- */
#about {
  margin: 60px 0;
}

/* RECOMMEND
---------------------------------------- */
#recommend {
  margin-bottom: 100px;
}

#recommend section h3 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 10px;
}
#recommend .card {
  color: #fff;
  border-radius: 22px;
  text-align: center;
  margin-bottom: 20px;
  padding: 20px 0;
}

#recommend .two {
  display: none;
}

.red h3 {
  color: #EF5936;
}
.blue h3 {
  color: #375E97;
}
.green h3 {
  color: #386F1C;
}

.red p {
background-color: #EF5936;
}
.blue p {
  background-color: #375E97;
}
.green p {
  background-color: #386F1C;
}

/* POINTS概要部分
---------------------------------------- */
#points .pointtop{
  background-color:#FFC932;
  padding: 30px 0;
}

#points .headings {
padding-bottom:20px;
margin-bottom: -30px;
}

#points .pointblock section{
  display: flex;
  background-color:#FBFAF8 ;
  width: 89%;
  max-width: 392px;
  margin: 0 auto;
  border-top: 1px solid #00161B;
  line-height:60px;
}

#points .pointblock section:last-child {
  border-bottom: 1px solid #00161B;
}

#points .pointblock span {
  width:22px;
  font-size: 32px;
  margin:0 27px 0 22px;
}

/* POINTS数字タブ部分
---------------------------------------- */

#points .pointbottom section .point_number {
  margin-left: auto;
  margin-right: 0;
  margin-bottom: -84px;
  width: 72px;
  height:84px;
  color:#FBFAF8;
  background-color: #00161B;
}

#points .pointbottom section .point_number p{
  display: block;
  font-family: "rubik", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 12px;
  text-align: center;
  padding-top: 10px;
}

#points .pointbottom section .point_number span {
  font-size: 48px;
  line-height: 1.2;
}

/* POINTS詳細部分
---------------------------------------- */

#points .wrapper {
  width: 89%;
}

#points .pointbottom {
  margin:80px 0;
}

#points .pointbottom section .point_text {
  margin-left: 24px;
}

#points .pointbottom section .point_text h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.65;
  text-align: left;
  margin-bottom: 20px;
}

#points .pointbottom section .point_text p {
  font-weight: 400;
  margin-bottom: 30px;
  width: 72.727%;
}

#points .pointbottom section {
  margin-bottom: 60px;
}

#points .pointbottom section:last-child{
  margin-bottom: 80px;
} 

#points .pointbottom figure {
  width: 80%;
  max-width: 352px;
}

#points section .right_img {
  margin-left: auto;
}


/* HOW TO
---------------------------------------- */
#howto {
  margin-bottom: 80px;
}

#howto figure {
  width: 100%;
  margin-bottom: 25px;
}

#howto img {
  width:100%;
} 

#howto section {
  display:flex;
  border-top: 1px solid #00161B;
}

#howto section:last-child {
  border-bottom: 1px solid #00161B;
}

#howto .howtoblock span {
  width:22px;
  font-size: 32px;
  margin:0 27px 0 22px;
  line-height: 75px;
}

#howto .howtoblock .one p {
  padding: 22px 0;
}

#howto .howtoblock p {
  padding: 10px 0;
}


/* SPEC
---------------------------------------- */

#spec {
  margin-bottom: 80px;
}

#spec h2 {
  margin-bottom: 7px;
}

#spec section {
  display:flex;
  border-bottom: 1px dashed #00161B;
}

#spec section:last-child {
  border:none;
}

#spec .specblock span {
  font-family: "noto-sans-cjk-jp", sans-serif;
  font-size: 18px;
  width:105px;
  line-height: 75px;
}

#spec .specblock p {
  line-height: 75px;
}

#spec .specblock .one p {
  margin-top: 22px;
}

#spec .specimages {
  max-width: 392px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 10px;
}

#spec .specimages figure{
  width: 100%;
  height: auto;
  margin-right:2%;
}

#spec .specimages .fourth {
  display: none;
}

/* STORES
---------------------------------------- */
#stores {
  margin-bottom: 80px;
}

#stores a {
  display: block;
  margin: 0 auto;
  width: 89%;
  max-width: 392px;
  height:60px;
  line-height: 60px;
  background-color:#FFC932;
  border-radius: 8px;
  color: #00161B;
  text-decoration: none;
  position: relative;
  text-align: center;
}

#stores a:hover {
  opacity: 0.8;
}

#stores img {
  width: 13px;
  position:absolute;
  top:21px;
  right: 20px;
}


/* SHARE
---------------------------------------- */
#share {
  margin-bottom: 80px;
}

#share .snsbuttons {
  width: 89%;
  max-width: 392px;
  display: flex;
  margin: auto;
  position: relative;
}

#share .snsbuttons figure {
  margin-right:2%;
}

#share .snsbuttons figure:hover {
  opacity: 0.6;
}

#share button {
  all: unset;
  cursor: pointer;

}

/* リンクコピー クリック前　 ---------*/ 
#share .popup {
  position: absolute;
  top:-30px;
  left:260px;
  opacity: 0; 
  transition: 0.2s ease-in-out;
}

/* リンクコピー クリック後　 ---------*/ 
#share .popup.is-active {
  opacity: 1;
}

#share .popup p {
  display: block;
  background-color: #ECECEC;
  color: #00161B;
  width: 83px;;
  border-radius: 8px;
  font-weight:500;
  font-size:10px;
  text-align: center;
  padding: 3px 0;
}

#share .popup img {
  width: 10px;
  height: auto;
  margin-left:36px;
  display: flex;
}



/* bottomNAV
---------------------------------------- */

.buttomnav {
  margin-bottom: 80px;
  margin-left: 24px;
}

.buttomnav ul {
  display: grid;
	grid-template-columns: 3fr 2fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 24px 0px;
}


.buttomnav ul li a {
  display: block;
  text-decoration: none;
  color: #00161B;
  line-height: 1.2;
  font-size: 16px;
}

.buttomnav ul li a span {
  color: #FFC932;
  font-size: 14px;
}

.buttomnav ul li:nth-child(1) {
  display: flex;
  align-items: center;
}

.buttomnav ul li a:hover {
  opacity: 0.5;
}


/* FOOTER
---------------------------------------- */
footer {
  background-color:#FFC932;
  height: 422px;
  position: relative;
}

footer figure {
  text-align: center;
}

footer figure img {
  width: 56%;
  max-width: 250px;
  margin: 80px auto;
}

footer p {
  font-family: rubik;
  font-size: 32px;
  color: #00161B;
  margin-left: 24px;
}

footer small {
  display: block;
  font-size: 14px;
  color: #FBFAF8;
  margin-left: 24px;
}

footer a {
  position: absolute;
  bottom:0;
  right: 0;
  display: block;
  width: 68px;
  height: 65px;
  background-color: #00161B;
}

footer a img {
  display: block;
  margin: 0 auto;
  padding-top:24px;
  width: 21px;
}

























/* タブレット用CSS
===========================================================================*/
@media screen and (min-width: 600px) {

/* タブレット時の無限テキスト生成 */
.slider .slidetext {
  width: 2500px;
  font-size:40px;
  line-height: 3.0;
  letter-spacing: 0.8rem;
}

/* ================================= */
.wrapper {
  width: 94%;
  max-width: 785px;
}


header {
  height: 807px;
}

header .header_content {
  padding-left:24px;
  padding-right:24px;
  display: flex;
  align-items: center;
  height: inherit;
}

header .header_text {
  width:50%;

}

header p {
  padding-top:0;
  font-size: 24px;
}
header h1 {
  width:82%;
  max-width: 287px;
  margin-bottom: 0;
}

header figure {
  width:50%;
  justify-content: left;
}

header figure img {
  width: 100%;
  max-width: 393px;
  margin-top: 30px;
  margin-bottom:0px;
}

/* ABOUT
---------------------------------------- */

#about .plain_text {
  max-width: 600px;
  margin: 0 auto;
}

/* RECOMMEND
---------------------------------------- */

#recommend .rec_content {
  display: flex;
  justify-content: space-between;
}

#recommend .card {
  border-radius: 20px;
  margin-bottom: 0px;
}

#recommend .one {
  display: none;
}

#recommend .two {
  display: block;
}

/* POINTS詳細部分
---------------------------------------- */

#points .pointbottom section .point_text {
  margin-left:0;
}

#points .pointbottom section .point_text p{
  width:100%;
}

#points .pointbottom .row_reverse {
  display: flex;
  justify-content: space-between;
  flex-direction:row-reverse;
  align-items: center;
}

#points .pointbottom .right_content {
  margin-right:24px;
}

#points .pointbottom section .right_text {
  width: 393px;
  padding-top:55px;
  margin-left: 10px;
  margin-right:30px;
}

#points .pointbottom section .right_text p {
  width: 100%;
} 

#points .pointbottom section .point2,#points .pointbottom section .point4 {
  margin-left: 0;
  margin-right: auto;
  margin-bottom: 20px;
}

#points .pointbottom .left {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#points .pointbottom .left_content {
  margin-left:24px;
}

#points .pointbottom section .left_text {
  width: 393px;
}

#points .pointbottom section .right_text p {
  width: 100%;
} 

/* HOW TO
---------------------------------------- */
#howto .howto_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#howto figure {
  width: 49%;
  margin-bottom: 0;
}

#howto .howtoblock {
  width:47%;
  /* margin-top: 10%; */
}



/* SPEC
---------------------------------------- */

#spec .spec_content {
  display: flex;
  width:100%;
}

#spec .specblock {
  width: 48%;
  margin-right: 3%;
  align-items: center;
}

#spec .specimages .fourth {
  display: block;
}

#spec .specimages {
  width: 50%;
  gap: 8%;
  grid-template-columns:1fr 1fr;
  grid-template-rows: 1fr 1fr;
  margin:0 auto;
}

#spec .specimages figure {
  margin-right:0%;
}

#spec .specimages figure:nth-child(1),#spec .specimages figure:nth-child(2){
  display: flex;
  align-items: end;
}


/* STORES
---------------------------------------- */

.storeshare {
  display: flex;
  justify-content: space-around;
}

#stores {
  width: 352px;
}

/* SHARE
---------------------------------------- */

#share .popup {
  position: absolute;
  top:-30px;
  left:205px;
}

/* bottomNAV
---------------------------------------- */

.buttomnav {
  margin-left: 0;
}

.buttomnav ul {
  margin:0 auto;
  max-width: 460px;
}


/* FOOTER
---------------------------------------- */

footer {
  height: 160px;
  display: flex;
  align-items: center;
}

footer figure {
  text-align:unset;
  width: 152px;
  margin-left: 65px;
}

footer figure img {
  width: 100%;
  margin:0;
}

footer .footertext {
  margin-left: auto;
  margin-right: 13%;
}
}





















/* PC用CSS
========================================================================= */
@media screen and (min-width: 960px) {


/* タブレット時の無限テキスト生成 */
.slider .slidetext {
  width: 2800px;
  font-size:50px;
  letter-spacing: 1rem;
}

  .wrapper {
    width: 980px;
    max-width: 980px;
    margin: 0 auto;
  }

  body {
    font-size: 18px;
  }


/* 上部navの表示 */
  .btnHamburger {
    display: none;
  }

  nav {
    width: 80%;
    opacity: 1;
    position: absolute;
    top:32px;
    left:62px;
  }

  nav ul {
    display: flex;
    width: 1145px;
    justify-content: space-between;
  }

  nav ul li:nth-child(1) {
    display: flex;
    align-items: end;
  }

  nav ul li a {
    line-height: 1.2;
    font-size: 20px;
    padding-bottom: 0px;
  }

  nav ul li a:hover {
    opacity: 0.5;
  }

  nav ul li a span {
    color: #FBFAF8 ;
    font-size: 14px;
    }
    

  header figure img {
    max-width: 507px;
    margin-top:15%;
  }

/* RECOMMEND
---------------------------------------- */
#recommend .card {
  width: 300px;
}


/* POINTS概要部分
---------------------------------------- */
#points .headings h2 {
  margin-bottom: 0px;
}

#points .pointtop_wrapper {
  background-color: #FFC932;
}

#points .pointtop {
  width: 980px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 0;
  margin:0 auto;
}

#points .pointtop .headings{
  width: 490px;
}

#points .pointtop .pointblock {
  width: 490px;
}

#points .pointblock section {
  margin:0;
  line-height: 90px;
  width:490px;
  max-width: 100%;
}

#points .pointblock section p {
  font-size:20px;
}

#points .pointblock span {
  font-size: 36px;
  margin:0 34px 0 38px;
}


/* POINTS詳細部分
---------------------------------------- */
#points .pointbottom {
  margin:80px auto 0 auto;
}

#points .pointbottom .row_reverse {
  justify-content: flex-end;
}

#points .pointbottom figure {
  width:41%;
  max-width:592px;
}

#points .pointbottom .justify_end {
  display: flex;
  justify-content: flex-end;
}

#points .pointbottom .justify_end .right_content {
  margin-left:128px;
}

#points .pointbottom section .right_text {
  width: 485px;
}

#points section .right_img {
  margin:0;
}

#points .pointbottom .left {
  justify-content: flex-end;
}

#points .pointbottom .left .justify_start {
  display: flex;
  justify-content: flex-start;
}

#points .pointbottom .justify_start .left_content {
  margin-right:130px;
}

#points .pointbottom section .left_text {
  width: 485px;
}

#points .pointbottom section .point_text h3 {
  font-size: 28px;
}

/* SPEC
---------------------------------------- */

#spec h2 {
  margin-bottom: 30px;
}

/* bottomNAV
---------------------------------------- */

.buttomnav {
  margin-bottom: 140px;
}

.buttomnav ul {
  display: flex;
  justify-content: space-between;
  max-width:none;
}

.buttomnav ul li a {
  text-align: center;
  }

  .buttomnav ul li:nth-child(1) {
    align-items: end;
  }

}