@charset "utf-8";

  img {
  vertical-align: bottom;
  max-width: 100%;
  }
  .box11 img {
    padding: 10px;
  }
  .box12 {
    width: 300px;
    height: 200px;
  }
  
  .p1 {
  display: inline-block;
  padding: 10px;
  }
  
  .p2 {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-template-columns: repeat(2, auto);
  }
  .p2 img{
  width: 100%;
  height: auto;
  }
#box-1 {
  margin: 50px;
}
.box {
  display:flex;
  flex-direction: row;
  justify-content: space-around;
  margin-bottom: 40px;
}

.text {
}
.box-text {
  text-align: center;
  margin-bottom: 10px;
}

h3 {
  font-size: 27px;
  margin: 0;
}

.pict {
  width: 30%;
  margin-left: 3%;
}

.pict img {
  width: 100%;
  height:auto;
}

.box:nth-child(even) {
  flex-direction: row-reverse;
}
.box:nth-child(even) .text {
  text-align: right;
}
.box:nth-child(even) .pict {
  margin-left: 0;
  margin-right: 3%;
}

@media (max-width:768px) {
  .box {
    flex-direction: column;
  }
  .box:nth-child(even) {
    flex-direction: column;
  }
  .text {
    text-align: center;
  }
  .box:nth-child(even) .text {
    text-align: center;
  }
  .pict {
    width:100%;
    margin-left: 0;
    text-align: center;
  }
  .box:nth-child(even) .pict {
    margin-left: 0;
    margin-right: 0%;
  }
  .pict img {
    width:50%;
    height:auto;
  }
}

.content {
  display: flex;
  gap: 10px;
}
/* スライダ―のCSS */
.slider {
  width: 300px;
  height: 350px;
  display: flex;
  gap: 15px;
  overflow-x: auto;
  border: 5px solid #c0c0c0;
}
.slide {
  width: 300px;
}
p {
  margin-top: 0;
  text-align: center;
}
/* ボタンのCSS */
ul {
  margin: 0;
  padding: 0;
}
ul li {
  list-style: none;
}
ul li a {
  border-radius: 50%;
}
ul li a img {
  border-radius: 50%;
  width: 40px;
}


@media screen and (max-width: 768px){
  .title {
    font-size: 16px;
  }
  .sub-title {
    font-size: 13px;
  }
  .title3 {
    font-size: 16px;
  }
  }

html {
  font-size: 100%;
}
#contact1 {
  
}
input, textarea {
  border: 1px solid #CCC;
  background: #F5F5F5;
}
select:not(:-internal-list-box) {
  overflow: visible !important;
}
select:not(:-internal-select-author-button) {
  appearance: auto;
  box-sizing: border-box;
  align-items: center;
  -webkit-rtl-ordering: logical;
  color: fieldtext;
  background-color: field;
  cursor: default;
  white-space: pre;
  border-width: 1px;
  border-style: solid;
  border-color: light-dark(rgb(118, 118, 118), rgb(133, 133, 133));
  border-image: initial;
  border-radius: 0px;
}
th, td {
  line-height: 1.6;
  padding: 5px;
}
body {
  color: #121212;
  font-size: 0.9rem;
  line-height: 1.7;
  font-family: 'Noto Serif JP', serif;
}
a {
  color: #121212;
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
.site-title {
  line-height: 1px;
}
.site-title a {
  display: block;
}
.sec-title {
  font-size: 2.25rem;
  margin-bottom: 30px;
  text-align: center;
}
.img1-1 {
  width: 60%;
  margin: 0 auto;
  
}
/*
フェード表示させる要素に使用するためのクラス
*/
.fadein {
  opacity : 0;
  transform: translateY(20px);
  transition: all 1s;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
「position: fixed;」でヘッダーを固定し、「z-index: 10;」で前面に表示
※他のコンテンツでpositionをrelative、absolute、fixedのいずれかに
設定している場合は、z-indexの数値が大きい方が前面に表示される
*/
.title0 {
  width: 100%;
  display: flex;
  padding: 20px 40px;
  justify-content: space-between;

  z-index: 10;
  background-color: #fff;
  border: #000 solid 4px;
}
/*
ハンバーガーメニュー
解説は、「中級編：ストアサイト（インテリア）」のCSS参照
*/
#navi {
  display: block;
  position: fixed;
  top: 0;
  left: -300px;
  bottom: 0;
  width: 300px;
  color: #fff;
  padding: 60px 25px;
  background-color: #121212;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all .5s;
  z-index: 20;
  opacity: 0;
}
#navi a {
  color: #fff;
}
.open #navi {
  left: 0;
  opacity: 1;
}
#navi ul {
  margin: 0;
  padding: 0;
}
#navi ul.nav-menu {
  margin-bottom: 60px;
  border-top: solid 1px #fff;
}
#navi ul.nav-menu li {
  position: relative;
  margin: 0;
  padding: 20px 0;
  border-bottom: solid 1px #fff;
}
#navi ul.nav-sns li {
  padding: 5px 0;
}
.toggle_btn {
  display: block;
  position: fixed;
  top: 25px;
  right: 45px;
  width: 30px;
  height: 30px;
  transition: all .5s;
  cursor: pointer;
  z-index: 20;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 14px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}
#mask {
  display: none;
  transition: all .5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 10;
  cursor: pointer;
}

/*-------------------------------------------
Main
-------------------------------------------*/
#main {
  padding-top: 0px;
}

/*-------------------------------------------
Video
-------------------------------------------*/
#bg-video {
  width: 100%;
  max-height: 960px;
  object-fit: cover;
}

/*-------------------------------------------
Pickup
-------------------------------------------*/
#pickup {
  width: 100%;
  padding: 100px 0 50px 0;
}
#pickup .slick-area {
  font-size: 0;
}
#pickup .slick-area li {
  padding: 0 30px;
}

/*-------------------------------------------
Feature
-------------------------------------------*/
#feature {
  max-width: 1240px;
  padding: 100px 16px 50px 16px;
  margin: -50px auto 10px auto;
}
/*
グリッドレイアウト
要素の最小サイズは300pxで、画面の幅にあわせて要素の幅が自動で変化する
repeatで全ての要素に対して適用
「gap: 26px;」で行と列の隙間を設定
*/
#feature .grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
#feature .grid .item {
  transition: all  0.3s ease;
  box-shadow: 0 0 4px 4px #000000;
}
#feature .grid img {
  vertical-align: top;
}
#feature .grid .item-content {
  padding: 15px;
}
#feature .grid .item-cat {
  font-size: 0.8rem;
  margin-bottom: 0px;
  text-align: center;
}
#feature .grid .item-text {
  font-weight: bold;
  margin-bottom: 20px;
}
#feature .grid .item-date {
  font-size: 0.75rem;
  text-align: right;
}
.item {
  padding: 10px;
}
/*-------------------------------------------
Contact
-------------------------------------------*/
#contact {
  color: #fff;
  background-color: #121212;
  padding: 50px 0;
}
#contact .sec-title {
  color: #fff;
}
#contact .content {
  max-width: 1240px;
  padding: 0 16px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}
#contact .contact-info p {
  margin-bottom: 30px;
}
#contact .contact-info,
#contact .contact-form {
  width: 45%;
}
#contact .contact-form input,
#contact .contact-form textarea {
  width: 100%;
  background-color: #fff;
  padding: 10px;
  margin-bottom: 20px;
}
#contact .contact-form .button input {
  width: 200px;
  color: #fff;
  background-color: #121212;
  border: solid 1px #fff;
  padding: 12px 0;
  margin-bottom: 0;
}
#contact .contact-form .button input:hover {
  color: #202020;
  background-color: #fff;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
#footer {
  color: #fff;
  background-color: #121212;
  text-align: center;
  padding: 10px;
  font-size: 0.75rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 600px) {
  .sec-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header {
    
  }
  .toggle_btn {
    right: 20px;
  }

  /*-------------------------------------------
  Video
  -------------------------------------------*/
  /*
  「height: 100vh;」で画面の高さにあわせる
  「object-fit: cover;」で中央でトリミング
  */
  #bg-video {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }

  /*-------------------------------------------
  Pickup
  -------------------------------------------*/
  #pickup {
    padding: 80px 0;
  }
  #pickup .slick-area li {
    padding: 0 20px;
  }

  /*-------------------------------------------
  Feature
  -------------------------------------------*/
  #feature {
    padding: 80px 16px;
  }
  #feature .grid .item-content {
    padding: 16px;
  }

  /*-------------------------------------------
  Contact
  -------------------------------------------*/
  #contact {
    padding: 80px 0;
  }
  #contact .content {
    flex-direction: column;
  }
  #contact .contact-info,
  #contact .contact-form {
    width: 100%;
  }
  #contact .contact-form .button input {
    width: 100%;
  }
}

.slide-container {
  width: 100%;
  margin: 50px auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  
 }
 .slide-wrapper {
  display: flex;
  animation: slide-flow 15s infinite linear 1s both;
 
 }
 .slide1{
  width: 360px;
  
  border: 2px solid black;
 }
 .item .fadein {
  margin: 0 auto;
 }
 .fadein {
  width: 100%;
  height: 150px;
  text-align: center;
  
 }
 @keyframes slide-flow {
  0% {transform: translateX(0);}
  100% {transform: translateX(-100%);}
 }


 @media screen and (max-width: 969px){
  .title {
    font-size: 16px;
  }
  .sub-title {
    font-size: 13px;
  }
  .title3 {
    font-size: 16px;
  }
  .slide1{
    width: 300px;
    object-fit:cover;
    border: 2px solid black;
   }

   .slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: row;
   }
   .slide-wrapper {
    display: flex;
    animation: slide-flow 30s infinite linear 1s both;
    flex-direction: row;
   }
   
   @keyframes slide-flow {
    0% {transform: translateX(0);}
    100% {transform: translateX(-100%);}
   }
  }


 @media screen and (max-width: 768px){
  .title {
    font-size: 16px;
  }
  .sub-title {
    font-size: 13px;
  }
  .title3 {
    font-size: 16px;
  }
  .slide-wrapper {
    display: flex;
    
   }
   .title0 {
    width: 100%;
    display: block;
    padding: 0px 0px;
    justify-content: space-between;
    z-index: 10;
    background-color: #fff;
    text-align: center;
}
  .slide1{
    width: 200px;
    object-fit:cover;
    border: 2px solid black;
   }
   .slide-container {
    width: 100%;
    margin: 50px auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    flex-direction: row;
   }
   .slide-wrapper {
    display: flex;
    animation: slide-flow 20s infinite linear 1s both;
    flex-direction: row;
   }
   
   @keyframes slide-flow {
    0% {transform: translateX(0);}
    100% {transform: translateX(-100%);}
   }

  }

  .layer{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
    width: 100%;
    height: 100%;
  }
  
  /* 背景画像の読み込み */
  .layer-bg{
    background: url(../img/photo_hero.jpg) no-repeat 0 0;
    background-size: 100%;
    filter: grayscale(20%);
  }
  
  /* 重ねる文字の基本設定 */
  .layer-txt{
    text-shadow: 4px 4px 8px rgba(1,10,10,10);
    color: #fff;
    letter-spacing: 0.4rem;

  }
  .layer-txt p {
    background-color: #000000;
    box-shadow: 10px 10px 10px 10px rgba(20, 20, 20, 0.5);
  }
  
  /* SP向けの設定 */
  @media screen and (max-width: 600px) {
    .layer-txt{
     font-size: 1.4rem;
     padding: 4rem 0;
    }
    .fadein {
      width: 90%;
      height: 200px;
      text-align: center;
      
     }
     .item .fadein {
      margin: 0 auto;
      margin-left: 5%;
     }
     td:last-child {
      width: 100px;
     }
     table.formTable {
      width: 0%;
  }
   
  
   
  }
  
  /* PC向けの設定 */
  @media screen and (min-width: 601px) {
    .layer-txt{
      font-size: 2rem;
      padding: 8rem 0;
    }
  } 
  @media screen and (min-width: 969px) {
    .layer-txt{
      font-size: 3.5rem;
      padding: 18rem 0;
    }
  }

 