/* fade */
.js-fade {
  opacity: 0;
  transform: translateY(2rem);}
.js-fadeUp{
  transition: all 0.5s ease-out;
  transition-delay: 0.3s;
  transform: translateY(0);
  opacity: 1;}

.js-fade_main {
  opacity: 0;}
.js-fade_mainUp{
  transition: all 0.5s ease-out;
  transition-delay: 0.3s;
  opacity: 1;}

/* delay */
.delay05s {transition-delay: 0.5s;}
.delay1s {transition-delay: 1s;}


/* ----------------------------------------
common
----------------------------------------*/
body {
  background: #fff;
}
.main *{
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  font-feature-settings: "palt";
  color: #4c5154;}

header,
footer {background: #fff;}
.copyright {
  margin: 0;
  padding: 0 0 20px;}

.wrapper {
  display: flex;
  overflow: hidden;
  position: relative;}


.bg-layer {
position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: url(../images/bg_left.jpg) no-repeat center center;
  background-size: cover;
  z-index: -1;
}



.side {
  width: calc(50% - 30rem);
  min-width:29rem;
  position: absolute;
  height: calc(100vh - 4.9rem);
  top: var(--side-top, 17.9rem);
  bottom: 0;
  }

.fixed .side {
  position: fixed;
  top: 4.9rem;
}

.side.at-bottom {
  height: calc(100vh - 4.9rem);
  position: absolute;
  top: auto;
  bottom: 0;
  background-position: left bottom;
}

a.sp_shop_banner {display:none;}

/* ----------------------------------------
left menu
----------------------------------------*/
.left {
  top: 0;
  left: 0;
  left: 50%;
  transform: translateX(-100%) translateX(-29rem);
}

.left .megane_pc-menu {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 17rem 17rem 1.5rem 1.5rem;
  position: absolute;
  max-width: 32.5rem;
  width: 80%;
  padding: 0;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 45rem;
  padding-top: 2.5rem;}

.left .megane_pc-menu ul {padding:2.5rem;}
.left .megane_pc-menu ul li {border-bottom:1px solid #9de0d6;}

.left .megane_pc-menu ul li a {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  display: flex;
  color: #06967e;
  font-size: 1.6rem;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding-left:1rem;
}

.left .megane_pc-menu ul li a::after {
  content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 1.5rem;
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 6px solid #78d5c7;
    vertical-align: middle;
}


.left .megane_pc-menu ul li a.hover {
  background:#3fc3af;
  color: #fff;
}
.left .megane_pc-menu ul li a.hover::after {
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 6px solid #fff;
}



.left .megane_pc-menu ul li:first-child {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;}

.left .megane_pc-menu ul li:first-child,
.left .megane_pc-menu ul li:last-child {border:none;}



@media (max-width: 1194px) {
  .left .megane_pc-menu,
  .right .side_banner{
    display: none;
  }
}




/* ----------------------------------------
right menu
----------------------------------------*/

.right {
  top: 0;
  right: 0;
}

.right .qr img,
.right .shop_banner img {
  width:19.8rem;
  height: 19.8rem;
  }

.right .side_banner {
  width: 19.8rem;
  height: 40rem;
  position: absolute;
  right: 0rem;
  top: 0;
  bottom: 0;
  margin: auto;
}
.right .side_banner a {transition: opacity 0.3s ease;}
.right .side_banner a.hover {opacity: 0.5;}

@media (max-width: 1179px) {
  .right {
    display: none;
  }
}



/* ----------------------------------------
contents
----------------------------------------*/
.main {
  position: relative;
  left: auto;
  right: auto;
  margin: auto;
  width:100%;
  background: #fff;
  max-width: 60rem;
  overflow: hidden;
  
  filter: drop-shadow(0 0 2rem rgba(0, 0, 0, 0.2));
}

.c-inner {
  margin: 0 3rem;}



/* ----------------------------------------
mv
----------------------------------------*/

h1.mv_inner {}
h1.mv_inner img {width:100%;}


/* ----------------------------------------
megane_shampoo_sp-menu
----------------------------------------*/

ul.megane_shampoo_sp-menu {
  display: flex;
  flex-wrap: wrap;
  border-top:1px solid #d6f2ee;
  border-bottom:1px solid #d6f2ee;
}

ul.megane_shampoo_sp-menu li {
  width:50%;
  border-bottom:1px solid #d6f2ee;
  border-right:1px solid #d6f2ee;
}

ul.megane_shampoo_sp-menu li:nth-child(even) {border-right:none;}
ul.megane_shampoo_sp-menu li:last-child {border-bottom:none;}

ul.megane_shampoo_sp-menu li a {
  color:#06967e;
  display: flex;
  height: 3em;
  padding-left: 1em;
  align-items: center;
  position: relative;
}

ul.megane_shampoo_sp-menu li a::after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  right:0.5rem;
  width: 0;
  height: 0;
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 6px solid #78d5c7;
  vertical-align: middle;
}


ul.megane_shampoo_sp-menu li a.hover {
  background:#3fc3af;
  color: #fff;
}
ul.megane_shampoo_sp-menu li a.hover::after {
  border-left: 3.5px solid transparent;
  border-right: 3.5px solid transparent;
  border-top: 6px solid #fff;
}




/* ----------------------------------------
main-introduction
----------------------------------------*/
.introduction-1 {
  padding:5rem 0;
}

h2.main-introduction__ttl {margin:0 0 1rem;}

h2.main-introduction__ttl img {
  width:100%;
  height: auto;}

ul.worries {}
ul.worries li {margin-bottom: 2rem;}
ul.worries li img {
  width:100%;
  height: auto;}




/* ----------------------------------------
introduction-2
----------------------------------------*/
.introduction-2 {
  background: linear-gradient(to bottom, #effbfe, #fbfefe);
  margin-bottom: 8rem;
  display: block;
}

/* アンカー調整 */
#care {
  padding-top: 5rem;
  margin-top: -5rem;}


h2.introduction2_ttl {
  position: relative;
  background-color: #01b297;
  padding: 1em;
  width: 100%;
  margin-bottom:4rem;
}

h2.introduction2_ttl::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 20px solid #01b297;
}

h2.introduction2_ttl {
  padding: 4rem 3rem;
  margin-bottom: 6rem;
}

h2.introduction2_ttl2 {
  padding:0 1.5rem;
  margin-bottom:5rem;
}


h2.introduction2_ttl img,
h2.introduction2_ttl2 img {
  display: block;
  width:100%;
  height: auto;}

.introduction-2 p {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #666;
  text-align: center;
  line-height: 1.8;
  margin-bottom: 4rem;
}

.introduction-2_images {
  position: relative;
  margin-bottom: 6rem;
}

.introduction-2_img1 {
  position:relative;
  width:100%;
  height:auto;
}

.introduction-2_img2 {
  display: block;
  width:100%;
  height: auto;
}




/* ----------------------------------------
sukkiri
----------------------------------------*/
.sukkiri {
  position: relative;
  background: linear-gradient(to bottom, #d1f5f0, #fff);
  padding-bottom: 6rem;}

.sukkiri::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/sukkiri_top_line.png) #fff no-repeat;
  background-size: contain;
  background-position: bottom;
}

.sukkiri h2 {margin:3rem 0 7rem;}
.sukkiri h2 img {
  width:100%;
  height: auto;
}

.sukkiri ol {position: relative;}
.sukkiri ol li {
  padding: 3.5rem 3rem 8rem;
  position: relative;
  background: #fff;
  border-radius: 1.5rem;
  margin-bottom: 20%;
}

.sukkiri ol li h3 {
  border-bottom:2px solid #8acbc1;
  margin-bottom:1.5rem;}

.sukkiri ol li h3 img {
  width:100%;
  height: auto;
  margin:1rem 0 1rem;}

.sukkiri ol li p {
  font-size: 2rem;
  line-height: 1.8;
  color:#666;}

.step-number {
  width: 7.2rem;
  height: 7.2rem;
  display: block;
  position: absolute;
  top: -3.5rem;
  left: 0;
  right: 0;
  margin: auto;}

.step-number img {
  width:7.2rem;
  height: auto;
}

.sukkiri ol li img.sukkiri_img1,
.sukkiri ol li img.sukkiri_img2 {
  width: 43%;
  height: auto;
  min-width: 15rem;
  position: absolute;
  z-index: 1;
}

.sukkiri ol li img.sukkiri_img1 {
  left: -7rem;
  bottom: -16rem;}

.sukkiri ol li img.sukkiri_img2 {
  right: -6rem;
  top: auto;
  bottom: -13.5rem;
}

h3.sukkiri_copy {
  position: relative;
  margin: 0 0 5rem;}

h3.sukkiri_copy img {
  width: 100%;
  height: auto;
}

h3.sukkiri_copy + img {
  width: 100%;
  height: auto;
}

h3.sukkiri_copy::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -28%;
  transform: translateX(-50%);
  width: 15%;
  aspect-ratio: 15 / 4;
  background-color: #8bdccf;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.triangle-box {
  position: relative;
  width: 15%;   /* 1000pxに対して150px → 15% */
  height: 40px;
  background-color: #8bdccf;
  margin: 0 auto; /* 真ん中に配置（任意） */
}

.triangle-box::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -20px; /* 三角形の高さの半分 */
  width: 0;
  height: 0;
  border-left: 7.5% solid transparent;  /* 15%の半分＝7.5% */
  border-right: 7.5% solid transparent;
  border-top: 20px solid #8bdccf; /* 三角形の高さ */
}



/* ----------------------------------------
step
----------------------------------------*/
.step {
  position: relative;
  background: linear-gradient(to bottom, #d1f5f0, #fff);
  padding-bottom: 6rem;

}

.step::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/step_top_line.png) #fff no-repeat;
  background-size: contain;
  background-position: bottom;
}

.step h2 {margin:5rem 1.5rem 3rem;}
.step h2 img {
  width:100%;
  height: auto;
}

.step ol {
  width: 100%;
  background: url(/products/megane_shampoo/images/step_arrow.png) no-repeat;
  background-size: contain;
  background-position: bottom;
}

.step ol li {padding-bottom: 3rem;}
.step ol li:last-child {
  padding:5rem 0 0 0;
}

.step ol li img {
  width:100%;
  height: auto;
}



/* ----------------------------------------
lineup
----------------------------------------*/

.lineup {
  position: relative;
  background: url(/products/megane_shampoo/images/lineup_bg.png) no-repeat, linear-gradient(to bottom, #eaffff, #d3f8ea);
  background-size: 100% auto;
  background-position: bottom;
  padding-bottom: 17.4rem;
}


.lineup::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/lineup_top_line.png) #fff no-repeat;
  background-size: contain;
  background-position: bottom;
}

.lineup h2 {margin:5rem 0 0;}

.lineup h2 img {
  width:100%;
  height: auto;
}

.lineup ul {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  top: -3rem;
}
.lineup ul li {
  position: relative;
  color: #4c5154;
  width: 50%;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 3rem;
}

.lineup ul li:nth-child(even) {top:30rem;}


.lineup ul li div {
  border-radius: 50%;
  width: 95%;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  top: -100px;
  text-align: center;
  padding-top: 6rem;
  display: flex;
  flex-direction: column-reverse;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.4);
}

.lineup ul li h3 {
  margin-top: 0.5rem;
  font-size: 2rem;}

.lineup ul li p {font-size: 1.8rem;}

.lineup ul li img {
  width: 60%;
  height: auto;
  display: block;
  z-index: 1;
}

.lineup ul li.minty-berry div {border: 1px solid #8bead9;}
.lineup ul li.aqua-mint div {border: 1px solid #9de2ff;}
.lineup ul li.floral div {border: 1px solid #fabfd8;}
.lineup ul li.fresh-musk div {border: 1px solid #b8ccff;}
.lineup ul li.tropical-sweet div {border: 1px solid #d3de8f;padding-top: 8rem;}
.lineup ul li.unscented div {border: 1px solid #d4d4d4;}

.lineup a.more_btn {
  width: 8rem;
  position: relative;
  margin: 1rem auto;
  display: block;
  text-align: center;
  font-weight: normal;
  color: #00a87c;
  border: 1px solid #00a87c;
  line-height: 1.2;
  padding: 0.4rem 2.5rem 0.5rem 1.5rem;
  border-radius: 10.5rem;
  font-size: clamp(1.4rem, 4vw, 1rem);
}

.lineup a.more_btn.hover {
  background: #00a87c;
  color: #fff;}

.lineup a.more_btn::after {
  content: "";
  height: 0.6rem;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0.9rem;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid #00a87c;
  bottom: 0;
  margin: auto;
}

.lineup a.more_btn.hover::after {
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid #fff;
}


/* ----------------------------------------
refill
----------------------------------------*/
.refill {
  position: relative;
  background: linear-gradient(to bottom, #81d5d4 10%, #fff);}


.refill::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/refill_top_line.png) #d3f8ea no-repeat;
  background-size: contain;
  background-position: bottom;
}

.refill h2 {padding:4rem 0 3rem;}

.refill h2 img {
  width:100%;
  height: auto;
}

.refill ul {
  background: #f3fffe;
  border-radius: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 8rem;
  padding-bottom: 6rem;
}

.refill ul li {
  width: 50%;
  color: #4c5254;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 5rem 0 0 0;
  
}

.refill ul li img {
  width:50%;
  height:auto;
  margin-bottom: 1.5rem;
}

.refill ul li h3 {
  font-size: 1.8rem;
  font-weight: normal;
  color: #4c5254;
}

img.refill_images {
  width: 100%;
  height: auto;
  margin-bottom:6rem;
}

.refill a.more_btn {
  width: 8rem;
  position: relative;
  margin: 1rem auto;
  display: block;
  text-align: center;
  font-weight: normal;
  color: #00a87c;
  border: 1px solid #00a87c;
  line-height: 1.2;
  padding: 0.4rem 2.5rem 0.5rem 1.5rem;
  border-radius: 10.5rem;
  font-size: clamp(1.4rem, 4vw, 1rem);
}
.refill a.more_btn.hover {
  background: #00a87c;
  color: #fff;
}

.refill a.more_btn::after {
  content: "";
  height: 0.6rem;
  display: inline-block;
  position: absolute;
  top: 0;
  right: 0.9rem;
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid #00a87c;
  bottom: 0;
  margin: auto;
}


.refill a.more_btn.hover::after {
  border-top: 0.3rem solid transparent;
  border-bottom: 0.3rem solid transparent;
  border-left: 0.5rem solid #fff;
}



/* ----------------------------------------
event
----------------------------------------*/
.event {
  position: relative;
  background: linear-gradient(to bottom, #c5f3ea, 70%, #fff);
  padding-bottom:8rem;}

.event::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/event_top_line.png) #fff no-repeat;
  background-size: contain;
  background-position: bottom;}

.event h2 {margin-bottom:3rem;}
.event h2 img {
  width:100%;
  height: auto;}

.event .c-inner {position: relative;}

.event p {
  color: #555;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.625;
  padding:2rem;
  background:rgba(255,255,255,0.6);
  border-radius: 1.5rem;
  margin-bottom:4rem;
  position: relative;
}

.event p span {color: #b08d00;}

img.event_images {
    width: 50%;
    height: auto;
    position: absolute;
    right: -5rem;
    bottom: 6rem;
}



/* ----------------------------------------
products
----------------------------------------*/
#products {
  margin-top:-50px;
  padding-top:50px;}


.products {
  position: relative;
  background:url(/products/megane_shampoo/images/products_bg.png) no-repeat 0 10rem,linear-gradient(to bottom, #eafbf7, #fff);
  background-size: contain;
  margin-bottom: 8rem;}


.products::before {
  content: "";
  display: block;
  height: 8rem;
  background: url(/products/megane_shampoo/images/products_top_line.png) #fff no-repeat;
  background-size: contain;
  background-position: bottom;
}

img.products_img  {
  filter: drop-shadow(0 0 3rem rgba(255, 255, 255, 1));
  width: 40%;
  height: auto;
  display: block;
  margin: 5rem auto 2rem;}

.products_logo {
  width:70%;
  z-index: 2;
  height: auto;
  display: block;
  margin: auto auto 4rem auto;
  }


/* btn */
.shop-btn {
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  right: 0;
  width: calc(100% - 3rem);
}

p.onlineshop{
  background:none;
  padding:0;
  width:100%;
  margin:0 0 2rem;
}		

p.onlineshop a{
  align-items: center;
  text-align: left;
  font-weight: normal;
  color: #fff;
  line-height: 1.3;
  background-color: #00a87c;
  padding: 2rem 1.5rem 2rem 2rem;
  margin: 0;
  border-radius: 1.5rem;
  height: 9.5rem;
  display: flex;
  justify-content: start;
  font-size: clamp(1.6rem, 4vw, 2rem);
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.6);
}
p.onlineshop a.hover{box-shadow: none;}
p.onlineshop a img{
  display: inline-block;
  width:3.5rem;
  height: 3.3rem;
  margin:  0.5rem 1rem 0 0;
}





/* ----------------------------------------
floating-bn
----------------------------------------*/
.floating-bn {
  background-color:#fff;
	position: fixed;
	right: 10px;
	z-index: 7;
	opacity: 0;
	/*transform: translateY(100px);*/
}
.floating-bn img{
  vertical-align: top;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 30%);
  transition: box-shadow 0.12s, opacity 0.12s;
}
.floating-bn.hover img{
  box-shadow: none;
  opacity: 0.8;
}


.floating-bn.UpMove{
	animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime{
  from {
  opacity: 0;
	transform: translateY(100px);
  }
  to {
  opacity: 1;
	transform: translateY(0);
  }
}

.floating-bn.DownMove{
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  opacity: 1;
	transform: translateY(0);
  }
  to {
  opacity: 0;
	transform: translateY(100px);
  }
}
