@charset "UTF-8";
/* SP用設定 ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 800px) {
  
  html {font-size: min(3.75vw, 30px);}
  
  span > span {display: block;}
  .annotation > .sp_hidden {display: none;}
  .pc_hidden {display: block;}
  .sp_hidden {display: none;}
  
  main {padding-bottom: 0em;}
  
  /* top */
  #top .content .logo {
    width: 50%;
    top: 7.7em;
    filter: drop-shadow(0 0 5px rgba(60, 68, 36, 1));
  }
  
  
  /* movie */
  #movie {padding: 3.6em 0;}
  .movie-box {width: 85%;}
  
  
  /* organic */
  #organic .content {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    grid-row-gap: 1.5em;
    color: rgba(var(--main-color), 1);
  }
  #organic .content picture {grid-area: 2/ 1/ 3/ 2;}
  #organic .content .st1 {
    grid-area: 1/ 1/ 2/ 2;
    color: rgba(16, 46, 42, 1);
    margin-top: 0;
    text-align: center;
    font-size: 1.6em;
    margin-left: 0;
    letter-spacing: 0.1em;
  }
  #organic .content .st2 {
    grid-area: 3/ 1/ 4/ 2;
    padding: 0;
    margin-left: 8%;
  }
  
  
  /* feature */
  #feature h2 {font-size: 1.6em;}
  #feature .title {
    display: block;
    padding: 2em 8%;
  }
  #feature .title .left .st1 {font-size: 1.5em;}
  
  #feature h3 {font-size: 1.5em;}
  #feature h3 .br:last-of-type {
    font-size: 0.7em;
    margin-top: 1em;
    letter-spacing: 0.02em;
  }
  #feature .content {padding: 2em 0;}
  
  
  /* 特長1 */
  #organic-component .content {
    grid-template-columns: repeat(2, 1fr);
    padding: 3em 2%;
    font-size: 1.2em;
  }
  #organic-component .box {grid-column: 1 span;}
  #organic-component .box5 {grid-column: 1 span;}
  #organic-component .box .img-box {width: 70%;}
  #next-gen-component .content {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1.5em 0;
    padding: 3em 5%;
    font-size: 0.9em;
  }
  #next-gen-component .content .box1,
  #next-gen-component .content .box2 {padding: 2em 1.5em 3em;}
  #next-gen-component .content .box1::before,
  #next-gen-component .content .box2::before {
    content: "";
    background-color: inherit;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    right: 100%;
  }
  #next-gen-component .content .box2::before {
    right: 0;
    left: 100%;
  }
  #next-gen-component .content .box2::after {
    content: "＊ 但し、ナチュラルクリアソープを除く";
    display: block;
    position: absolute;
    bottom: 2.5em;
    right: 0;
    font-size: 0.69em;
  }
  #next-gen-component .content .box2 .organic-icon {
    top: 2em;
    left: 0.5em;
  }  
  .pick-up .st1 {
    display: block;
    font-size: 1.2em;
    margin-left: 0;
    margin-top: 0.5em;
  }
  .pick-up .st2 {
    font-size: 0.85em;
    text-align: left;
    position: relative;
  }
  .pick-up .st2::after {
    content: "＊ 但し、ナチュラルクリアソープを除く";
    display: block;
    position: absolute;
    bottom: -3em;
    right: 0;
    font-size: 0.69em;
  }
  .pick-up .img-box {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2em;
  }
  .pick-up .img-box > .box:first-of-type {margin-top: 1em;}
  .pick-up .img-box > .box:nth-of-type(3) {display: none;}  
  #next-gen-component .annotation {margin: 0 0 4.5em;}

  
  /* 特長2 */
  #lamella .img-box {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 2em;
  }
  #lamella .content .st1 {
    border: none;
    font-size: 1.2em;
    padding: 0;
    margin: 1.5em auto;
  }
  #lamella .skin-type {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 1em;
  }
  #lamella .skin-type .st3 {margin: 0.5em -1.05em;}
  #lamella .skin-type .st2 {text-wrap-mode: nowrap;}
  #lamella .skin-type .box {padding-bottom: 1em;}
  #lamella .skin-type .st5 {font-size: 0.75em;}
  #lamella .skin-type .component-img {width: 95%;}
  #lamella .skin-type .lamella-img {margin-bottom: 1.5em;}
  #lamella .annotation {line-height: 1.6em;}
  #lamella .annotation span:nth-of-type(2) {margin-right: 0;}
  
  
  /* 特長3 */
  #feature3 .title .left .st2 {letter-spacing: 0.1em;}
  #feature3 .title .st3 p + p {margin-top: 1em;}
  #feature3 .title .st3 p:nth-of-type(2) .br{
    display: inline;
  }
  #free .content {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2em;
  }
  #free .content .box {
    grid-column: 1 span;
    width: 6em;
    height: 6em;
  }
  #free .content .box:nth-of-type(6) {grid-column: auto;}
  #free .annotation .br:last-of-type {
    letter-spacing: -0.04em;
  }
  #free .annotation .br:last-of-type span:first-of-type {
    margin-right: 0;
  }
  
  
  /* 特長4 */
  #feature #aroma h3 span:last-of-type {
    width: auto;
    text-align: center;
  }
  #aroma .content {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 3em 4em;
  }
  
  
  /* lineup */
  #lineup {padding: 3em 0;}
  #lineup .content {position: relative;}
  #lineup .content::after {
    content: "＊1 水分と脂分のバランスを整えるお手入れ　＊2 お肌にツヤを与えるお手入れ"; 
    display: block;
    text-align: right;
    font-size: 0.6em;
    width: auto;
    height: auto;
    color: rgba(var(--main-color), 1);
    padding: 3em;
  }
  #lineup .content > p {
    background-color: white;
    line-height: 4em;
    margin: 2em 0;
    letter-spacing: 0.1em;
  }
  .jump_content {grid-template-columns: repeat(1, 1fr);}
  
  .lineup_item {grid-column: 1 span !important;}
  
  .sp_title {
    position: relative;
    text-align: left;
    padding-left: 3em;
    line-height: 2.7em;
    letter-spacing: 0.1em;
  }
  .sp_title::before {
    content: "";
    display: inline-block;
    width: 0.3em;
    height: 1.8em;
    background-color: rgba(var(--background-color), 1);
    margin-right: 0.7em;
    vertical-align: middle;
  }
  .sp_title::after{
    content: "+";
    position: absolute;
    right: 2em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1em;
  }
  .lineup_item.active .sp_title::after{
    content: "−";
  }
  .line_box {
    display: none;
    grid-template-columns: repeat(1, 1fr) !important;
    margin-top: 0;
    grid-gap: 1.5em;
    padding: 2em 0;
  }
  .lineup_item.active .line_box {
    display:grid;
  }
  
  
  .line_box .box {
    display: grid;
    grid-column: 1 span!important;
    grid-template-columns: 35% 1fr;
    grid-template-rows: 32.6% auto;
    padding: 0;
    color: rgba(var(--main-color), 1);
    width: 90%;
    margin: 0 auto;
  }
  #basic_box .box:nth-of-type(5) {grid-column: auto;}
  
  #lineup_trial .line_box .box {
    grid-template-columns: 48% 1fr;
  }
  .line_box .img-box {
    grid-row: 2 span;
    height: 15em;
  }
  .line_box .category {
    grid-area: 1/ 2/ 2/ 3;
    align-self: end;
  }
  .line_box .name {grid-area: 2/ 2/ 3/ 3;}
  
  
  /* item */
  #item > .box {display: block;}
  #item > .box > .img-box {height: 17em;}
  #item .right-box {
    width: 90%;
    font-size: 0.87em;
    margin: 3em auto;
  }
  #item .line_box {display: grid;}
  #item .line_box .box {position: relative;}
  #item .line_box .box::after {
    display: block;
    border-bottom: solid 1px rgba(var(--main-color), 0.2);
    padding-bottom: 1em;
    width: 100%;
    height: 100%;
    opacity: 1;
    line-height: 10em;
  }
  #item .line_box .box:not(:first-of-type)::after {
    height: 100%;
  }
  .line_box .box:hover::after {
  opacity: 1;
}
  
  
  
  /* step */
  #step {padding: 3em 0 0;}
  #step .content ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 2em;
    width: 85%;
    margin: 3.5em auto 1em;
    border: none;
  }
  #step label {
    background-color: rgba(var(--background-color), 1);
    width: auto;
    padding-bottom: 0.9em;
  }
  #step input[type="radio"]:checked + label {
    border: none;
    background-color: rgba(var(--point-color), 1);
    color: white;
    opacity: 1;
  }
  
  .product-slider {margin: 3em 0;}
  .swiper-button-prev,
  .swiper-button-next {display: none;}
  .swiper-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 4em;
  }
  .product-slider .swiper-slide {width: 100%;}
  .product-slider .swiper-slide:not(:last-child)::after {
    top: calc(100% + 2em);
    right: 50%;
    transform: rotate(90deg) translate(-90%, -40%);
  }
  .product-slider .swiper-slide:nth-child(2)::before {
    content: "";
    position: absolute;
    top: 100%;
    width: 100%;
    height: 4em;
    background-color: white;
    left: 0;
  } 
  .product-slider .swiper-slide:nth-child(2)::after {
    left: 50%;
    top: 68%;
    background-color: transparent;
    transform: rotate(0);
  }
  .product-slider {
    margin: 3em auto 0;
    padding: 3em 2.5em 8em;
  }
  .select-step .box .right {
    font-size: 1.15em;
  }
  
  
  /* step */
  #step h2 .st1{
    font-size: 1em;
    letter-spacing: 0.12em;
    line-height: 1.3em;
  }
  #step h2 .st2 {
    font-size: 0.5em;
  }
  #step .content ul::after {
  bottom: -2.5em;
  }
  
}

@media screen and (max-width: 500px) {
  
  #organic .content .st2 {
    font-size: 1em;
    letter-spacing: 0.04em;
  }
  #feature .title .left .st3 {font-size: 1em;}
  
  .pick-up .st1 {font-size: 1.3em;}
  .pick-up .st2 {font-size: 1em;}
  
  
  
  
  
  
  
  
  
  
  
  
  
  
}