@charset "UTF-8";




/* ---------------------------------- レンズ種類 ---------------------------------- */  

#sec02 .sec-in {
  position: relative;
  z-index: 2;
}


#sec02 .sec-title {
  pointer-events: none;
  margin: 0 auto;
  transform: translateY(1em);
}

.tab-nav {
  display: flex;
  gap: .5em
}

.tab-item {
  width: calc(100% / 4 - .25em );
  text-align: center;
  padding: .8em .2em;
  border-radius: 1em 1em 0 0 ;
  background-color: #fff;
  pointer-events: painted;
  color: #44613C;
  border: 1px solid #44613C;
  border-bottom: 0;
  cursor: pointer;
  transition: .2s ease all;
}
.tab-item:hover {
  background-color: #44613C;
  color: #fff;
}

.tab-item.is-active {
  background-color: #44613C;
  color: #fff;
}

.tab-cnt {
  padding: 2em;
  background-color: #44613C;
}

.tab-cnt .tab-cnt-in {
  background-color: #fff;
  overflow: hidden;
}


.tab-panel {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em 0;
  display: none;
}

.tab-panel.is-active {
  display: block;
}

#sec02 h4 {
  pointer-events: none;
  font-size: 1.1em;
}



#sec02 h5 {
  font-size: 1.6em;
  margin-bottom: 1em;
  font-family: "Zen Old Mincho", serif;

  opacity: 0;
  transform: translateY(1em);
  transition: 1s ease all;
}
#sec02 h5.active {
  opacity: 1;
  transform: translateY(0);
}


.lens-cnt {
  margin-bottom: 2em;
}

.lens-t {
  position: relative;
  display: inline-block;
  padding: .8em .5em .8em 1.5em;
  width: 16em;
  margin-bottom: .5em;
}

.lens-t::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50vw;
  background-image: linear-gradient(to right, rgba(233, 230, 212, 1), rgba(255, 255, 255, 1));
}


.lens-t p {
  position: relative;
  z-index: 2;
}

.lens-item {
  margin-bottom: 1em;
  padding-bottom: 1em;
  border-bottom: 1px solid #ccc;

  opacity: 0;
  transform: translateY(1em);
  transition: .5s ease all;
}
.lens-item.active {
  opacity: 1;
  transform: translateY(0);
}

.lens-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.lens-item p {
  width: 90%;
  margin: 0 auto;
}

#sec02 .case h5 {
  font-family: "Zen Old Mincho", serif;
  text-align: center;
  font-size: 1.6em;
  font-weight: 700;
  color: #34771E;
}

.case-item {
  margin-bottom: 2em;
}


.case-item:last-child {
  margin-bottom: 0;
}

.case-t {
  display: flex;
  gap: .5em;
  align-items: end;
  margin-bottom: 2em;

  opacity: 0;
  transform: translateY(1em);
  transition: .5s ease all;
}
.case-t.active {
  opacity: 1;
  transform: translateY(0);
}


.case-namber {
  position: relative;
  display: grid;
  width: 3.2em;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 50vw;
  border: .15em solid #44613C;
}

.case-namber span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-55% , -85%);
  font-family: "Montserrat", sans-serif;
  font-size: 1.2em;
  line-height: 1;
  font-weight: 500;
  color: #44613C;
}
 
.case-namber p {
  align-content: center;
  text-align: center;
  color: #44613C;
}

.case-t2 {
  position: relative;
  align-content: center;
  transform: translateY(-.5em);
  width: calc(100% - 3.7em);
  line-height: 1.5;
}
.case-t2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: calc(100% + 2em);
  height: .15em;
  background-color: #44613C;
}


.case-t2 span.t-1 {
  display: inline-block;
  font-size: 1.4em;
}

.case-cnt-flex {
  display: flex;
  gap: 1.5em;
  align-items: center;
}

.case-cnt-flex .flex-item-1 {
  width: 30%;

  opacity: 0;
  filter: blur(10px);
  transition: 1s ease all;
}
.case-cnt-flex .flex-item-1.active {
  opacity: 1;
  filter: blur(0);
}

.case-img {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}

.case-img-in {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border-radius: 50vw;
}
.case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-img span {
  position: absolute;
  display: block;
  bottom: 0;
  left: 0;
  transform: translate(-26%, 20%);
  width: 120%;
  height: auto;
  aspect-ratio: 1 / 1;
  background: url(../images/blur_5.webp) no-repeat center / contain;
}


.case-cnt-flex .flex-item-2 {
  width: 70%;
}



.case-cnt-t {
  position: relative;
  margin-bottom: 2em;

  opacity: 0;
  filter: blur(10px);
  transition: 1s ease all;
}
.case-cnt-t.active {
  opacity: 1;
  filter: blur(0);
}

.case-cnt-t:last-child {
  margin-bottom: 0;
}


.case-cnt-t .text-box {
  position: relative;
  width: 100%;
  padding: 2em 3em 1em 3em;
}

.case-cnt-t .t-2 {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  transform: translate(-.8em , -.5em);
  z-index: 2;
  padding: .5em 1em;
  line-height: 1;
  background-color: #34771E;
  color: #fff;
}


.case-cnt-t.case-cnt-t1 {
  margin-bottom: 1em;
  width: 98%;
  margin-left: auto;
}

.case-cnt-t.case-cnt-t1 .text-box {
  background-color: #F5F5F5;
}

.case-cnt-t.case-cnt-t2 .text-box {
  background-color: #E9E6D4;
}



/* ---------------------------------- 近視レンズ ---------------------------------- */  



.case-cnt-flex .arrow {
  display: block;
  width: 5em;
  height: 1.5em;
  margin: 0 auto 1em;
  background-color: #34771E;
  clip-path: polygon(0 0, 100% 0, 50% 100%);

  opacity: 0;
  transform: translateY(-1em);
  transition: .5s ease all;
}
.case-cnt-flex .arrow.active {
  opacity: 1;
  transform: translateY(0);
}

#sec03.sec {
  background-color: #D9E785;
}

#sec03 .cnt-1 {
  position: relative;
  width: 70%;
  background-color: #fff;
  padding: 2em 4em;
}

.cnt-1 .deco-1,
.cnt-1 .deco-2  {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(20% , -50%);
  width: 6vw;
  max-width: 84px;
}
.cnt-1 .deco-2 {
  position: absolute;
  bottom: 0;
  right: 0;
  top: auto;
  left: auto;
  transform: translate(-20% , 50%);

}

.cnt-t {
  width: 70%;
  max-width: 20em;
  margin-bottom: 2em;
}

.cnt-t h6 {
  font-size: 1.6em;
  color: #34771E;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;

  opacity: 0;
  filter: blur(10px);
  transition: 1s ease all;
}

.cnt-t h6.active {
  opacity: 1;
  filter: blur(0);
}


.cnt-box {
  position: relative;
  margin-bottom: 1.5em;
  padding: 1.5em 1em 1em 1em;
  border: 1px #34771E solid;
  width: 70%;
  max-width: 400px;

  opacity: 0;
  transition: .5s ease all;
}
.cnt-box.active {
  opacity: 1;
}

.cnt-box-t {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50% , -50%);
  display: inline-block;
  width: 11em;
  background-color: #fff;
  padding: 0  2em;
  color: #34771E;
}

.cnt-item {
  margin-bottom: 1em;
  text-align: center;

  opacity: 0;
  transform: translateY(1em);
  transition: 1s ease all;
}
.cnt-item.active {
  opacity: 1;
  transform: translateY(0);
}

.cnt-item:last-child {
  margin-bottom: 0;
}

.cnt-item-t {
  font-weight: bold;
  margin-bottom: .25em;
}
.cnt-item-t::before {
  content: '';
  display: inline-block;
  transform: translateY(-15%);
  width: .6em;
  height: .6em;
  margin-right: .5em;
  border-radius: 50vw;
  background-color: #34771E;
}

.cnt-item-t span {
  display: inline-block;
}


.cnt-1 .text-box p {
  font-size: .88em;
  line-height: 1.7;
}

span.border {
    background: linear-gradient(transparent 60%, #D0EAFF 60%);
}


.img-wrap {
  background-color: #eee;
  position: relative;
}


.sec03-img {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(50% , 0);
  width: 60%;
  max-width: 400px;
  height: auto;
  aspect-ratio: 1 / 1;

  opacity: 0;
  filter: blur(10px);
  transition: 1s ease all;
}
.sec03-img.active {
  opacity: 1;
  filter: blur(0);
}

.sec03-img-in {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50vw;
  overflow: hidden;
}

.sec03-img-in img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sec03-img img.dot {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(21% , 8%);
}





/* ---------------------------------- 取り扱いレンズメーカー ---------------------------------- */  


#sec04 h3 {
  font-family: "Zen Old Mincho", serif;
  font-size: 2em;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 1em;

  opacity: 0;
  filter: blur(10px);
  transition: 1s ease all;
}
#sec04 h3.active {
  opacity: 1;
  filter: blur(0);
}

#sec04 .flex {
  flex-wrap: wrap;
  gap: 2em;
}

#sec04 .flex-item {
  width: calc(100% / 3 - 1.4em);
  padding: 1em;
  background: linear-gradient(
    to top, 
    #ffffff 0%, 
    #E0D7C1 100%
  );

  opacity: 0;
  filter: blur(10px);
  transform: translateY(1em);
  transition: .5s ease all;
}
#sec04 .flex-item.active {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

#sec04 .item-img {
  width: 85%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto 1em auto;
}

#sec04 h4 {
  text-align: center;
  margin-bottom: .5em;
}

#sec04 .text-box p {
  font-size: .88em;
}



























/*768px以下*/
@media screen and (max-width: 768px){

/* ---------------------------------- レンズ種類 ---------------------------------- */  

  /* .sec#sec02 {
    padding: 0;
  } */
   
  .tab-cnt {
    padding: 1em;
  }

  #sec02 .sec-in {
    max-width: initial;
  }

  #sec02 .sec-title {
    transform: translateY(0);
  }


  .tab-nav {
    flex-wrap: wrap;
    gap: 0;
  }

  .tab-item {
    width: 50%;
    border-radius: 0;
  }


  .case-cnt-flex {
    flex-direction: column;
  }

  .case-cnt-flex .flex-item-2 {
    width: 100%;
  }

  .case-cnt-flex .flex-item-1 {
    width: 70%;
  }

  #sec02 .sec-in {
    width: 100%;
  }

  .case-cnt-t .text-box {
    padding: 2em 1.5em 1em 1.5em ;
  }

  .case-item {
    margin-bottom: 4em;
  }

  .case-t2 span.t-1 {
    display: inline;
  }

  .case-t {
    align-items: center;
    border-bottom: 1px #44613C solid;
  }

  .case-t2::after {
    display: none;
  }


/* ---------------------------------- 近視レンズ ---------------------------------- */  


  #sec03 .sec-in {
    max-width: 600px;
  }

  #sec03 .cnt-1 {
    position: relative;
    width: 100%;
    padding: 2em;
  }

  
  .cnt-t {
    width: 100%;
  }

  .cnt-box {
    width: 100%;
    margin: 0 auto 1.5em auto;
  }

  .sec03-img {
    position: initial;
    width: 90%;
    max-width: 400px;
    transform: translate(0 , 0);
    margin: 0 auto 3.5em;
  }

  .cnt-1 .deco-1,
  .cnt-1 .deco-2 {
    width: 20vw;
  }

  .cnt-1 .text-box p {
    font-size: 1em;
  }



/* ---------------------------------- 取り扱いレンズメーカー ---------------------------------- */  




  #sec04 .sec-in {
    max-width: initial;
  }

  #sec04 .flex-item {
    margin: 0 auto;
    width: calc(100% / 2 - 1em);
  }

  #sec04 h3 {
    text-align: center;
  }

  #sec02 .sec-title h3 {
    color: #E0D7C1;
  }
  #sec02 .sec-title.active h3 {
    opacity: .2;
  }




}





@media screen and (max-width: 480px){

    #sec04 .flex-item {
      width: 100%;
      max-width: 400px;
    }

  }








