@charset "UTF-8";

/*********************
HOME
*********************/

.paragraph {
  line-height: 2.2;
}

p.paragraph {
  margin-bottom: 1.4em;
}

@media screen and (max-width: 768px) {
  .paragraph {
    line-height: 1.8;
  }
}

.lead-text {
  font-size: 1.1em;
}

/*********************
MAINPICT
*********************/

#home-mainpict {
  position: relative;
  background: #222;
  overflow: hidden;
}

#home-mainpict .main-pict {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  animation-name: fadeInImg;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

@keyframes fadeInImg {
  0% {
    opacity: 0;
    transform: scale(1.01);
    filter: blur(6px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

#home-mainpict .main-inner {
  position: absolute;
  top: 45%;
  left: 20%;
}

#home-mainpict .main-inner .logo img {
  display: block;
  opacity: 0;
  animation-name: fadeIn;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}

#home-mainpict .main-inner .logo.black {
  width: 200px;
  margin-bottom: 40px;
}

#home-mainpict .main-inner .logo.ieni {
  width: 300px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media screen and (min-width: 980px) {
  #home-mainpict .img-sp {
    display: none;
  }
}

@media screen and (max-width: 979px) {
  #home-mainpict .img-pc {
    display: none;
  }
}

@media screen and (max-width: 879px) {
  #home-mainpict .main-inner {
    position: absolute;
    top: 45%;
    left: 10%;
  }

  #home-mainpict .main-inner .logo.black {
    width: 110px;
    margin-bottom: 40px;
  }

  #home-mainpict .main-inner .logo.ieni {
    width: 160px;
  }
}

/*********************
SECTION-CONCEPT
*********************/

@media screen and (min-width: 1350px) {
  #section-concept {
    background: #f0f0f0 url(../images/concept-bg.jpg) no-repeat left center;
    background-size: cover;
  }

  #section-concept article {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  #section-concept .content-inner {
    width: 55%;
    margin: 4em 0;
    margin-left: 45%;
  }
}

@media screen and (max-width: 1349px) {
  #section-concept {
    background: #f0f0f0 url(../images/concept-bg-tab.jpg) no-repeat left;
    background-size: cover;
  }

  #section-concept .content-inner {
    width: 55%;
    margin-left: 45%;
  }
}

@media screen and (max-width: 1109px) {
  #section-concept {
    background: #f7f7f7 url(../images/concept-bg-sp.jpg) no-repeat center top;
    background-size: contain;
    padding-top: 50vw;
  }

  #section-concept .content-inner {
    width: 100%;
    margin-left: 0;
  }

  .tab-thin {
    width: 80%;
    margin: 0 auto;
    padding: 0;
  }
}

@media screen and (max-width: 480px) {
  .tab-thin {
    width: 100%;
  }
}

/*********************
SECTION-GALLERY
*********************/

#section-gallery .content-inner .pict .img-sp {
  display: none;
}

#section-gallery .content-inner .pict .gallery-thumb {
  display: flex;
  margin-top: 2px;
  gap: 2px;
}

#section-gallery .content-inner .pict .gallery-thumb img {
  width: 100%;
  max-width: calc((100% - 6px)/4);
}


@media screen and (min-width: 1110px) {
  #section-gallery .content-inner {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
  }

  #section-gallery .content-inner .pict {
    width: 55%;
  }

  #section-gallery .content-inner .body {
    width: 40%;
    padding-right: 5%;
    margin: 4em 0;
  }
}

@media screen and (max-width: 1109px) {
  #section-gallery .content-inner .pict {
    margin-bottom: 2em;
  }

  #section-gallery .content-inner .pict .gallery-thumb {
    display: flex;
    margin-top: 2px;
    gap: 2px;
  }

  #section-gallery .content-inner .pict .gallery-thumb img {
    width: 100%;
  }
}

@media screen and (max-width: 479px) {
  #section-gallery .content-inner .pict .img-pc {
    display: none;
  }

  #section-gallery .content-inner .pict .img-sp {
    display: block;
  }

  #section-gallery .content-inner .pict .gallery-thumb {
    flex-wrap: wrap;
  }

  #section-gallery .content-inner .pict .gallery-thumb img {
    max-width: calc((100% - 2px)/2);
  }
}

/*********************
SECTION-SFB
*********************/

#section-sfb {
  background: #d5d7d7;
}

#section-sfb .sfb img {
  width: 100%;
  max-width: 480px;
}

@media screen and (min-width: 1110px) {
  #section-sfb .content-inner {
    display: flex;
    align-items: stretch;
  }

  #section-sfb .content-inner .pict {
    width: 55%;
  }

  #section-sfb .content-inner .pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #section-sfb .content-inner .body {
    width: 45%;
    padding-left: 5%;
    margin: 4em 0;
  }
}

@media screen and (max-width: 1109px) {
  #section-sfb .content-inner .pict {
    margin-bottom: 2em;
  }
}

/*********************
SECTION-PRODUCT
*********************/

#section-product {
  background: #f2f2f2;
}

#section-product .img-sp {
  display: none;
}

#section-product .switch-img-wrapper figure {
  margin-bottom: 10px;
}

@media screen and (min-width: 1110px) {
  #section-product .content-inner {
    display: flex;
    align-items: stretch;
  }

  #section-product .content-inner .pict {
    width: 55%;
  }

  #section-product .content-inner .pict img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #section-product .content-inner .body {
    width: 45%;
    padding-left: 5%;
    margin: 6em 0;
  }
}

@media screen and (min-width: 1110px) and (max-width: 1480px) {
  #section-product .content-inner .pict {
    width: 50%;
  }

  #section-product .content-inner .body {
    width: 55%;
  }
}

@media screen and (min-width: 880px) {
  #section-product .switch-img-wrapper {
    display: flex;
    justify-content: space-between;
    font-size: .9em;
  }

  #section-product .switch-img-wrapper .primary {
    width: calc(33.33% - 10px);
  }

  #section-product .switch-img-wrapper .secondary {
    width: calc(66.66% - 20px);
  }
}

@media screen and (max-width: 1109px) {
  #section-product .img-pc {
    display: none;
  }

  #section-product .img-sp {
    display: block;
  }

  #section-product .content-inner .pict {
    margin-bottom: 2em;
  }

  #section-product .switch-img-wrapper .primary {
    margin-bottom: 2em;
  }
}

@media screen and (max-width: 479px) {
  #section-product .content-inner .pict {
    margin-bottom: 2em;
  }
}

/*********************
SECTION-PRODUCT02
*********************/

#section-product02 .melit {
  font-size: .9em;
  line-height: 1.8;
}

#section-product02 .melit figure {
  margin-bottom: 10px;
}

@media screen and (min-width: 980px) {
  #section-product02 .content-inner {
    display: flex;
    align-items: stretch;
  }

  #section-product02 .content-inner .pict {
    width: 35%;
  }

  #section-product02 .content-inner .body {
    width: 65%;
    padding-left: 5%;
  }
}

@media screen and (max-width: 979px) {
  #section-product02 .content-inner .pict {
    margin-bottom: 2em;
    text-align: center;
  }

  #section-product02 .content-inner .pict img {
    width: 90%;
    max-width: 400px;
  }
}


/*********************
SECTION-DESIGN
*********************/

#section-design {
  background: #333 url(../images/design-bg.jpg) no-repeat left center;
  background-size: cover;
  color: white;
}
#section-design a {
  color: white;
}


#section-design .photo-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

#section-design .photo-wrapper figure {
  width: calc(50% - 1px);
}

@media screen and (min-width: 980px) {
  #section-design article {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  #section-design .content-inner {
    width: 65%;
    margin: 2em 0;
    margin-left: 35%;
  }
}

@media screen and (max-width: 1699px) {
  #section-design {
    background: #333 url(../images/design-bg-tab.jpg) no-repeat left center;
  }
}

@media screen and (max-width: 979px) {
  #section-design {
    background: #333 url(../images/design-bg-sp.jpg) no-repeat left center;
  }

  #section-design {
    background-position-y: top;
    background-size: contain;
    padding-top: 70vw;
  }
}

@media screen and (max-width: 679px) {
  #section-design .photo-wrapper {
    flex-direction: column;
  }

  #section-design .photo-wrapper figure {
    width: 100%;
  }
}

/*********************
ANIMATION
*********************/
.fadeIn {
  transition: all .8s;
  transition-delay: .2s;
  transform: translateY(30px);
  opacity: 0;
  filter: blur(3px);
}

@media screen and (min-width: 680px) {
  .fadeIn.anime1st {
    transition-delay: .2s;
    transform: translateY(10px);
  }

  .fadeIn.anime2nd {
    transition-delay: .4s;
    transform: translateY(10px);
  }

  .fadeIn.anime3rd {
    transition-delay: .6s;
    transform: translateY(10px);
  }

  .fadeIn.anime4th {
    transition-delay: .8s;
    transform: translateY(10px);
  }
}

.fadeIn.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  filter: blur(0);
}

/* IMG */
.fadeIn.animeIMG {
  transition: all .7s;
  transition-delay: .2s;
  transform: translateX(30px);
  opacity: 0;
  filter: blur(6px);
}

.fadeIn.is-active.animeIMG {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  filter: blur(0);
}


/*********************
AR
*********************/
#section-ar {
  background: linear-gradient(65deg, #666, #333);
  color: white;
}

#section-ar .ar-title a {
  display: none;
}
.ar-title a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#section-ar .ar-title img {
  width: 100%;
  min-width: 240px;
  max-width: 320px;
}

@media screen and (max-width: 767px) {
#section-ar .ar-title a {
  display: block;
}
  .ar-title {
    position: relative;
  }
}

/* banner */
.ar-banner {
  position: fixed;
  background-color: #222;
  width: 100%;
  z-index: 10;
  transition: .2s;
}

.ar-banner .sp {
  display: none;
}

@media screen and (min-width: 768px) {
  .ar-banner {
    bottom: 100px;
    right: 0;
    padding: 15px 10px;
    max-width: 90px;
  }

  .ar-banner.fixed {
    max-width: 80px;
  }
}

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

  .ar-banner {
    bottom: 0;
    left: 0;
    padding: 10px;
    max-width: 220px;
  }

  .ar-banner.fixed {
    max-width: 240px;
  }

  .ar-banner.fixed {
    max-width: 200px;
  }

  .ar-banner .pc {
    display: none;
  }

  .ar-banner .sp {
    display: block;
  }
}