@charset "utf-8";
:root {
  --s-width: min(80vw,1080px);
  --box-shadow-gray:.8rem .8rem 1rem rgba(0, 0, 0, .05), -.8rem -.8rem 1rem #f8f8f8;
}

/* common */

body{
  margin: 0;
  background-color: #fff;
  color: #666;
  font-family: "Noto Sans JP", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
  line-height: 1.2;
  box-sizing: border-box;
  scroll-padding-top: calc((var(--headerHeight, 95px)) + 20px); 
}

h1, h2, h3, h4, h5, h6, p, figure, ul, dt, dd{
  margin: 0;
  padding: 0;
  list-style: none;
}


a{
  color: inherit;
  text-decoration: none;
}

a:hover{
  transition : 1s;
  opacity: 0.5;
}


img{
  display: block;
  width: 100%;
  height: auto;
}

.btn {
  display: block;
  width: auto;
  padding: 0.5rem 1.5rem;s
  text-align: center;
  border-radius: 25px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  transition : 1s;
  background-color: #fff;
  text-wrap: nowrap;
  box-shadow: var(--box-shadow-gray);
}


.btn:hover {
  background-color: #dfdfdf;
  transition : 1s;
}


/* typography */
h1, h2 {
  font-family: "Bonheur Royale", serif;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-size:48px;
}

h2 {
  font-size:40px;
  text-align: center;
  margin-bottom: 4rem;
}

h3 {
  font-size:18px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 1.5rem;
}

p, li{
  font-size: 16px;
  line-height: 1.8;
}


/* header area*/
header{
  margin: auto;
}

.header_inner {
  display: flex;
  padding: 0.5rem 1rem 1rem;
  justify-content: space-between;
  align-items: end;
}

.nav__item{
  display: inline;
  padding-left: 2rem;
}

.nav__item a{
  position: relative;
}

.nav__item a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #999;
  bottom: -5px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.6s;
  }
  
  .nav__item a:hover::after {
  transform: scale(1, 0.9); /
  }



@media (max-width:767px){

  button {
    display: block;
  }
  
/* 
hamburger(ハンバーガーアイコン)
=================================== */
.hamburger {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 34px;
  height: 20px;
  cursor: pointer;
  z-index: 300;
}

.hamburger__line {
  position: absolute;
  width: 34px;
  height: 2px;
  right: 0;
  background-color: #333;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 1px;
}

.hamburger__line--2 {
  top: 12px;
}

.hamburger__line--3 {
  top: 24px;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 11px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 11px;
}

/* 
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  right: -100%;
  /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  width: 85%;
  /* 出てくるスライドメニューの幅 */
  height: 100vh;
  background-color: #000000f2;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto;
  /* メニューが多くなったらスクロールできるように */
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  right: 0;
}


/* 
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}

.sp-nav ul{
  display: flex;
  flex-direction: column;
  padding-top: 3rem;
  padding-left: 2rem;
}

.sp_nav li{
  padding: 24px;
}

.nav__item{
  display: inline;
  padding-left: 2rem;
}

.nav__item a{
  position: relative;
  font-size: 18px;
  line-height: 5;
  letter-spacing: 0.25rem;
}

.nav__item a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 1px;
  background: #999;
  bottom: -5px;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.6s;
  }
  
  .nav__item a:hover::after {
  transform: scale(1, 0.9); /
  }

  .nav__item a::after {
    transform-origin: left top;
    }

}

/* FV area*/
.fv {
  background-image: url(../images/fv_bg.jpg);
  width: 100%;
  height: auto;
  background-position: bottom;
  background-size: cover;
}

.fv_inner {
  width: var(--s-width);
  height: 400px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  margin: 0 auto;
}

.fv_text{
  width: 450px;
  height: 250px;
  background: #fff;
  border-radius: 34% 55% 40% 40% / 60% 60% 70% 40%;
  padding: 2rem 3rem;
  grid-column: 1 / 3;
  grid-row: 2 / 3;
  display: flex;
  align-items: center;
  animation: move 20s linear infinite; 
}


@keyframes move {

  0% {
    border-radius:  34% 55% 40% 40% / 60% 60% 50% 40%;
  }

  25% {
    border-radius: 50% 60% 60% 44% / 70% 75% 40% 60%; 
  }

  50% {
    border-radius:  34% 55% 40% 40% / 60% 60% 45% 40%; 
  }

  75% {
    border-radius: 30% 60% 40% 50% / 70% 50% 50% 40%; 
  }

  100% {
    border-radius: 40% 50% 50% 50% / 50% 60% 50% 60%; 
  }
}

.fv_text_list{
  display:flex;
  padding-top: 1rem;
}


.fv_text_list dt{
  padding-bottom: 0.1rem;
  width: 120px;
}


.fv_text_list dd{
  text-align: left;
  width: 280px;
}

.fv img{
  grid-column: 2 / 4;
  grid-row: 2 / 4;
  height: auto;
  align-self: self-end;
  height: 80%;
  width: 100%;
  object-fit: contain;
}


@media (max-width:768px){

  .fv_inner {
    height: 600px;
    display: grid;
    grid-template-columns:  1fr 1fr 1fr 1fr;
    grid-template-rows: 2fr 2fr;
    width: 90%;
    margin: auto;
    padding-top: 2rem;
  }

  .fv_text{
    width: 100%;
    height: 300px;
    background: #fff;
    padding: 50px 30px 30px 50px;
    grid-column: 1 /4;
    grid-row: 1/4 ;
    font-size: 14px;
  }

  .fv_text_list {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .fv_text_list dt{
    padding-bottom: 0.05rem;
  }
  

  .fv_text_list dd{
    width: 100%;
  }
  
  .fv img{
    grid-column: 3 / 5;
    grid-row: 3 / 5;
    height: auto;
    width: 90%;
    object-fit: cover;
  }
}

main {
  margin: auto;
  width: 100%;
}

section {
  margin-top: 10rem;
}

.about p {
  margin: auto;
  width: min(80vw,720px);
}



/* works area */

.works_inner {
  width: var(--s-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-content: center;
  gap: 32px;

}


.work {
  display: flex;
  flex-direction: column;
  box-shadow: var(--box-shadow-gray);
  padding: 2rem;
  border-radius: 25px;
  flex:1 ;
}

.work img {
  width: 32px;
  height: 32px;
  display: block;
  margin: 0 auto;
  margin-bottom: 32px;
}

.work p{
  text-align: justify;
  margin-bottom: 2rem;
}


@media (max-width:768px){
  .works_inner {
    display: block;
    align-content: center;
  }
  .work {
  margin-bottom: 32px;
  width: 78%;
  }

}

/* section common   */
.s_inner {
  width: var(--s-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-content: center;
  gap: 32px;
}

.s_inner img{
  border-radius: 25px 25px 0 0;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.s_inner .item{
  display: flex;
  flex-direction: column;
  border-radius: 25px;
  box-shadow: var(--box-shadow-gray);
  background-color: #fff;
  padding-bottom: 1.5rem;
  font-size: 13px;
}


.item dl{
  padding: 0.5rem 1rem 0;
  margin-bottom: 1rem;
}

.item dt{
  width: 80px;
}
.item  dd{
  text-align: left;
  width: calc(100% - 80px);
}

.detail {
  display: flex;
}

.item p{
  font-size: 13px;
  padding:0 1rem;
  margin-bottom: 1rem;
}

.detail dt{
  flex: 1;
  padding-bottom: 2px;
}

@media (max-width:768px){
  .s_inner {
    width: 85%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    align-content: center;
    gap: 32px;
  }
  
}


/*====================================================================
slick
====================================================================*/


.sliderArea {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}
.sliderArea.w300 {
  max-width: 300px;
}
.slick-slide {
  margin: 0 5px;
}
.slick-slide img {
  width: auto;
  height: 300px;
  border-radius: 25px;
}

.slick-prev, .slick-next {
  z-index: 1;
  padding: 1rem;
}
.slick-prev:before, .slick-next:before {
  color: #000;
}
.slick-slide {
  transition: all ease-in-out .3s;
  opacity: 1;
}
.slick-active {
  opacity: 1;
}
.slick-current {
  opacity: 1;
}
.thumb {
  margin: 20px 0 0;
}
.thumb .slick-slide {
  cursor: pointer;
}
.thumb .slick-slide:hover {
  opacity: .7;
}


.slide_item {
  position: relative;
  height: 300px;
}


.slide_item p {
  position: absolute;
  color: #333;
  bottom: 0;
  padding: 0.2rem 1rem;
  background-color: rgba(250, 250, 250, 0.8);
  width: auto;
  margin: 1rem;
  border-radius: 25px;
  box-shadow: 2px 2px 2px rgb(0, 0, 0, 0.5);
}

.sp{
  display: none;
}
.sp img{
  border-radius: 25px;
}

@media (max-width:768px){
 .variable {
  display: none;
 }

 .sp{
  display: block;
 }

 .slide_item {
  width: 100%;
  height: auto;
  margin-bottom: 32px;
 }

 .s_font{
  font-size: 12px;
  letter-spacing: 0;
 }
}

/* coding area */

.codings {
  background-color: #f0e6e7;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.codings .item{
  box-shadow: .8rem .8rem 1rem rgba(0, 0, 0, 0.041), -.8rem -.8rem 1rem #fff8f9;
  }


/* banner area */

.banners {
  background-color: #dff3e8;
  padding-top: 8rem;
  padding-bottom: 8rem;
}


/* footer */

footer {
  background-color: #333;
  color: #fff;
  margin: auto;
  padding: 0.5%;
  text-align: center;
  margin-top: 200px;
}


