@charset "utf-8";

/* ---------------------------------------------------
   File: common.css
   Version: 2.0.0
   Update: 2024-07-04
   Author: https://flowlab.co.jp

   (c)2007-2024 Flowlab inc. All Rights Reserved.
--------------------------------------------------- */



/* =======================================================================================================================

   WIDE DESKTOP LAYOUT

======================================================================================================================= */
.sp { display: none;}

/* ====================================================
		Layout
==================================================== */
body {
  background: #cbcbcc;
  position: relative;
}
#container {
  padding: 50px 0;
}
main {
  max-width: 540px;
  filter: drop-shadow(0 0 30px rgb(0,0,0,0.1));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* -------------------------------
		Background
------------------------------- */
body::before,
body::after {
  content: '';
  position: fixed;
  display: block;
  z-index: 0;
}
body::before {
  width: 750px;
  height: 260px;
  background: url("../images/bg_text.png") no-repeat 0 0 / 750px 260px;
  top: 0;
  left: 0;
}
body::after {
  width: 180px;
  height: 160px;
  background: url("../images/bg_illust.png") no-repeat 0 0 / 180px 160px;
  bottom: 0;
  right: 30px;
}





/* ====================================================
		Splash
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #1e1214;
}

/* -------------------------------
		Logo
------------------------------- */
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#splash_logo img {
  width: 300px;
}

/* -------------------------------
		Animation
------------------------------- */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}




/* ====================================================
		Header
==================================================== */
/* -------------------------------
		Logo
------------------------------- */
#logo {
  overflow: hidden;
}
#logo img {
  display: block;
}

/* -------------------------------
		Main Visual
------------------------------- */
h1 img {
  display: block;
}




/* ====================================================
		Common
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#about,
#products p.txt,
#detail section,
#lens,
#shop {
  position: relative;
  overflow: hidden;
}
#about::after,
#products p.txt::after,
#detail section::after,
#lens::after,
#shop::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}




/* ====================================================
		About
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#about {
  height: 952px;
}
#about::after {
  width: 540px;
  height: 952px;
  background: url("../images/img_about.jpg") no-repeat 0 0 / contain;
}




/* ====================================================
		Products
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#products {
  position: relative;
}
#products img {
  display: block;
}

/* -------------------------------
		Text
------------------------------- */
#products p.txt {
  height: 398px;
}
#products p.txt::after {
  width: 540px;
  height: 398px;
  background: url("../images/txt_glasses_detail.jpg") no-repeat 0 0 / contain;
}




/* ====================================================
		Detail
==================================================== */
/* -------------------------------
		Detail 01
------------------------------- */
#detail section:nth-child(1) {
  height: 476px;
}
#detail section:nth-child(1)::after {
  width: 540px;
  height: 476px;
  background: url("../images/img_detail01.jpg") no-repeat 0 0 / contain;
}

/* -------------------------------
		Detail 02
------------------------------- */
#detail section:nth-child(2) {
  height: 446px;
}
#detail section:nth-child(2)::after {
  width: 540px;
  height: 446px;
  background: url("../images/img_detail02.jpg") no-repeat 0 0 / contain;
}

/* -------------------------------
		Detail 03
------------------------------- */
#detail section:nth-child(3) {
  height: 397px;
}
#detail section:nth-child(3)::after {
  width: 540px;
  height: 397px;
  background: url("../images/img_detail03.jpg") no-repeat 0 0 / contain;
}

/* -------------------------------
		Detail 04
------------------------------- */
#detail section:nth-child(4) {
  height: calc(425px + 100px);
}
#detail section:nth-child(4)::after {
  width: 540px;
  height: calc(425px + 100px);
  background: #fff url("../images/img_detail04.jpg") no-repeat 0 0 / contain;
}




/* ====================================================
		Lens
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#lens {
  height: 627px;
}
#lens::after {
  width: 540px;
  height: 627px;
  background: url("../images/img_lens.jpg") no-repeat 0 0 / contain;
}




/* ====================================================
		Shop
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#shop {
  height: 465px;
}
#shop::after {
  width: 540px;
  height: 465px;
  background: url("../images/img_shop.jpg") no-repeat 0 0 / contain;
}




/* ====================================================
		Banner
==================================================== */
/* -------------------------------
		Layout - Width100
------------------------------- */
#bannerW100 {
  background: #fff;
  padding: 0 30px 20px;
}

/* -------------------------------
		Layout - Small
------------------------------- */
#banner {
  width: calc(540px - 60px);
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 30px;
}
#banner li {
  width: 48%;
}
#banner li img {
  display: block;
}




/* ====================================================
		Copyright
==================================================== */
/* -------------------------------
		Layout
------------------------------- */
#copyright,
#copyright img {
  display: block;
}








/* =======================================================================================================================

   TABLET

======================================================================================================================= */
@media screen and (min-width: 897px) and (max-width: 1299px) {
  .sp { display: none;}
  

  
  
  
}













/* =======================================================================================================================

   MOBILE

======================================================================================================================= */
@media screen and (max-width: 896px) {
  .sp { display: block;}
  .pc { display: none;}
  
  /* ====================================================
      Layout
  ==================================================== */
  #container {
    padding: 0;
  }
  main {
  }
  
  
  
  
  
  /* ====================================================
      Splash
  ==================================================== */
  /* -------------------------------
      Logo
  ------------------------------- */
  #splash_logo img {
    width: 150px;
  }
  
  
  
  
  /* ====================================================
      Common
  ==================================================== */
  /* -------------------------------
      Layout
  ------------------------------- */
  #about,
  #products p.txt,
  #detail section,
  #lens,
  #shop {
    height: auto!important;
    position: static;
  }
  #about::after,
  #products p.txt::after,
  #detail section::after,
  #lens::after,
  #shop::after {
    content: none;
  }
  
  

  
  /* ====================================================
      Detail
  ==================================================== */
  /* -------------------------------
      Layout
  ------------------------------- */
  #detail {
    background: #fff;
  }
  
  /* -------------------------------
      Detail 04
  ------------------------------- */
  #detail section:nth-child(4) {
    background: #fff;
    padding-bottom: 50px;
  }

  
  
  
  /* ====================================================
      Banner
  ==================================================== */
  /* -------------------------------
      Layout - Width100
  ------------------------------- */
  #bannerW100 {
    padding: 0 20px 20px;
  }
  
  /* -------------------------------
      Layout - Small
  ------------------------------- */
  #banner {
    width: calc(100% - 40px);
    padding: 0 20px;
  }
  
  
    
  
  

  


}