html{
  font-size: 17px;
}
*{
    box-sizing: border-box;
}
body{
     font-family: "Zen Kaku Gothic New", sans-serif;
     margin: 0 0 0 0;
}  

h1{
  margin: 50px;
}

p {
  line-height: 1.7;
  word-break: break-word;
  hyphens: auto;
  text-align: left;
}

/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
      position: fixed;
      width: 100%;
      height: 100%;
      z-index: 999;
      background:rgb(207, 204, 204);
      text-align:center;
      color:#fff;
      
  }
  
  /* Loading画像中央配置　*/
  #splash_logo {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
  }
  
  /* Loading アイコンの大きさ設定　*/
  #splash_logo svg{
      width: 500px;
      height: 200px;
  }
  
  /*=============== SVGアニメーション内の指定 =================*/
  
  /*アニメーション前の指定*/
  #mask path {
          fill-opacity: 0;/*最初は透過0で見えない状態*/
          transition: fill-opacity .10s;/*カラーがつく際のアニメーション1秒で変化*/
          fill: none;/*塗りがない状態*/
          stroke: #333;/*線の色*/
      }
  
  /*アニメーション後に.doneというクラス名がで付与された時の指定*/
  #mask.done path{
        fill: #333;/*塗りの色*/
        fill-opacity: 2;/*透過1で見える状態*/
        stroke: none;/*線の色なし*/
    }

     
/*
SLIDE MENU
================================================ */
/* 開閉ボタン */
.btn-menu {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 4;
    padding: .5rem 1rem;
    border: 1px solid var(--brown);
    border-radius: 50%;
    height: 4rem;
    width: 4rem;
    transition: .4s;
}
.btn-menu svg {
    fill: var(--brown);
    margin-top: .25rem;
    height: 2rem;
    width: 2rem;
}

/* 閉じるボタン */
#menu-close {
    border: 1px solid var(--light-green);
}
#menu-close svg {
    fill: var(--light-green);
}

/* スライドメニューパネル */
#menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    padding: 8rem 2rem 2rem;
    width: max(32vw, 20rem);
    height: 100vh;
    background-color: rgb(236, 233, 233);
    box-shadow: 0 0 2rem var(--brown);
    font-family: var(--oswald-font);
    translate: 100vw;
    opacity: 0.5;
}
.menu-list {
    list-style: none;
}
.menu-list li {
    margin: 1.5rem 0;
    opacity: 0;
}
.menu-list a {
    color: var(--light-green);
    text-decoration: none;
    font-size: 2rem;
}

.top{
  text-align: center;
  display: block;
  margin: 0;
}

/*　枠線＋テキストが出現 　*/

.lineText{
	position: relative;/*テキストの基点となる位置を定義*/
}

/*線の設定*/
.lineText span.mask::before,
.lineText span.mask::after{
    position: absolute;
    top: 4%;
    right: 2.5%;
    bottom: 4%;
    left: 2.5%;
    z-index: 3;
    content:"";
    opacity: 0;
    transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
}

.lineText span.mask::before {
    border-top: 1px solid #0d0d0d;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-bottom: 1px solid #0d0d0d;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(0,1);
}

.lineText span.mask::after{
    border-right: 1px solid #0d0d0d;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    border-left: 1px solid #0d0d0d;/*枠線の色と太さを変更したい場合はこの数値を変更*/
    transform: scale(1,0);
}

.lineText:hover span.mask::before,
.lineText:hover span.mask::after{/*hoverした時の変化*/
	opacity: 1;
    transform: scale(1);
}

/*中央テキスト*/
.lineText span.cap{
	opacity:0;
	transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	position: absolute;
	z-index:3;/*テキストを前面に出す*/
	top: 70%;
    left: 30%;
	transform: translate(-50%,-50%);
	color: #0d0d0d;/*テキストの色を変えたい場合はここを修正*/
    line-height: 1.5;/*行の高さを1.5にする*/
}

.lineText:hover span.cap{/*hoverした時の変化*/
	opacity:1;
}


/* concept フワッと */
.blur{
	animation-name:blurAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
}

@keyframes blurAnime{
  from {
	filter: blur(10px);
	transform: scale(1.02);
	opacity: 0;
  }

  to {
	filter: blur(0);
	transform: scale(1);
	opacity: 1;
  }
}
 
.blurTrigger{
    opacity: 0;
    text-align: center;
}


/* 線画 */

.image-container {
  display: flex; /* フレックスボックスを使用して横並びにする */
  justify-content: center; /* 中央揃えにする */
  gap: 10px; /* 画像の間のスペース */
  margin-bottom: 50px;
}

.image-container img {
  width: 100px; /* 画像の幅を100pxに縮小 */
  height: auto; /* 高さは自動調整 */
}


/*==================================================
スライダーのためのcss
===================================*/
.slider {
  position:relative;
z-index: 1;
/*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
height: 60vh; /* スライダー全体の縦幅を60vhにする */
width: 80%; /* スライダー全体の横幅を80%にする */
margin: 0 auto; /* スライダー全体を中央に配置 */
margin-bottom: 30px;
}
/*　背景画像設定　*/

.slider-item01 {
  background:url(../images/red.jpeg);
}

.slider-item02 {
  background:url(../images/packeg.jpeg);
}

.slider-item03 {
  background:url(../images/image1.jpeg);
}

.slider-item04 {
  background:url(../images/image2.jpeg);
}

.slider-item {
  width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
  height:50vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
  background-repeat: no-repeat;/*背景画像をリピートしない*/
  background-position: center;/*背景画像の位置を中央に*/
  background-size: contain;
}

/*矢印の設定*/

/*戻る、次へ矢印の位置*/
.slick-prev, 
.slick-next {
  position: absolute;/*絶対配置にする*/
z-index: 3;
  top: 42%;
  cursor: pointer;/*マウスカーソルを指マークに*/
  outline: none;/*クリックをしたら出てくる枠線を消す*/
  border-top: 2px solid #ccc;/*矢印の色*/
  border-right: 2px solid #ccc;/*矢印の色*/
  height: 25px;
  width: 25px;
}

.slick-prev {/*戻る矢印の位置と形状*/
  left:2.5%;
  transform: rotate(-135deg);
}

.slick-next {/*次へ矢印の位置と形状*/
  right:2.5%;
  transform: rotate(45deg);
}

/*ドットナビゲーションの設定*/

.slick-dots {
position: relative;
z-index: 3;
  text-align:center;
margin:-50px 0 0 0;
}

.slick-dots li {
  display:inline-block;
margin:0 5px;
}

.slick-dots button {
  color: transparent;
  outline: none;
  width:8px;/*ドットボタンのサイズ*/
  height:8px;/*ドットボタンのサイズ*/
  display:block;
  border-radius:50%;
  background:#ccc;/*ドットボタンの色*/
}

.slick-dots .slick-active button{
  background:#333;/*ドットボタンの現在地表示の色*/
}


  .header{
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    background-color: #223a70;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
  }
  .header__inner{
    padding: 0 20px;
  }
  .header__logo{
    font-size: 20px;
    color: #fff;
    text-transform: uppercase;
  }
  .mainView{
    height: 100px;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .mainView p{
    font-size: 28px;
    font-weight: bold;
  }
  .scrollDown{
    position: absolute;
    bottom: 80px;
    right: 50%;
    animation: scrollDown 1s ease-in-out infinite;
  }
  @keyframes scrollDown{
    0% {bottom: 10%}
    50% {bottom: 15%}
    100% {bottom: 10%}
  }
  .scrollDown span{
    position: absolute;
    left: -25px;
    bottom: 10px;
    font-size: 0.8em;
    letter-spacing: 0.05em;
    writing-mode: vertical-rl;
  }
  .scrollDown::before{
    position: absolute;
    content: "";
    width: 1px;
    height: 20px;
    background-color: #333;
    bottom: 0;
    right: -6px;
    transform: skew(-30deg);
  }
  .scrollDown::after{
    position: absolute;
    content: "";
    width: 1px;
    height: 60px;
    background-color: #333;
    bottom: 0;
    right: 0;
  }
  .boxes{
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 100px;
    row-gap: 80px;
    margin: 100px;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}
    
  .box {
    flex-direction:column;
    justify-content: space-evenly;
    align-items: flex-start;
    
  }
  .box {
    /*追加*/
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
    text-align: center;
    
  }

  .is-active {
    /*要素を表示させる*/
    opacity: 1;
    visibility: visible;
    /*元の位置に戻す*/
    transform: translateY(0);
  }


   .image-container{
    display: flex;
    justify-content: center; /* 画像を中央揃えにする */
    align-items: center; /* 画像を縦方向に中央揃えにする */
    flex-wrap: wrap; /* 画面サイズに合わせて折り返す */
    gap: 10px; /* 画像間のスペース */
    padding: 20px;
    box-sizing: border-box;
}

.box img {
    max-width: 200px; /* 画像の最大幅 */
    height: auto; /* 画像の縦横比を保つ */
}
  

  @keyframes infinity-scroll-left {
    from {
      transform: translateX(0);
    }
      to {
      transform: translateX(-100%);
    }
    }
    .scroll-infinity__wrap {
      display: flex;
      overflow: hidden;
    }
    .scroll-infinity__list {
      display: flex;
      list-style: none;
      padding: 0
    }
    .scroll-infinity__list--left {
      animation: infinity-scroll-left 80s infinite linear 0.5s both;
    }
    .scroll-infinity__item {
      width: calc(200vw / 6);
    }
    .scroll-infinity__item>img {
      max-width: 100%;
      height: auto;
    }



/*========= ページトップのためのCSS ===============*/

#page-top a{
  background:#0e272c;
  color:#fff;
  text-align: center;
  display: block;
  text-decoration: none;
  padding:20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  transition: all 0.3s;
}

#page-top a:hover{
  background: #777;
}


small{
  background:#333;
  color:#fff;
  display: block;
  text-align: center;
  padding:20px;
}

@media(max-width:767px){

img{
  max-width: 100%;
}
}

/* スマートフォン用 */
@media (max-width: 600px) {
  body {
      font-size: 14px;
      line-height: 1.4;
  }
.haco{
  width: 300px;
}
.mainView{
  height: 60px;
}
}
