/*---------------------------------------------------------------------*/
/*　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　     　*/
/*　　　　　　　       トップページ用CSS　2025.07.01　 　　　          */
/*　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　　     */
/*---------------------------------------------------------------------*/


    /* ==== ヒーローセクション ==== */
    .hero {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
    }

    .hero video {
      position: absolute;
      top: 50%;
      left: 50%;
      min-width: 100%;
      min-height: 100%;
      transform: translate(-50%, -50%);
      object-fit: cover;
      z-index: -1;
    }

    .hero-content {
      position: absolute;
      top: 50%;
      left: 5%;
      transform: translateY(-50%);
      text-align: left;
      color: #222;
      z-index: 1;
      padding: 2rem;
    }

    .hero-content h1 {
      font-size: 4.5rem;
      margin-bottom: 0.5rem;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
  display: inline-block; /* transformを適用するために必要 */
    }

    .hero-content p {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
      font-size: 1.5rem;
    }

    .floating-image {
      position: absolute;
      z-index: 0;
      width: 150px;
      transform-style: preserve-3d;
      animation: smoothFloat3D 12s ease-in-out infinite;
    }

    @keyframes smoothFloat3D {
      0% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1);
      }
      20% {
        transform: translateY(-20px) rotateX(30deg) rotateY(90deg) rotateZ(15deg) scale(1.1);
      }
      40% {
        transform: translateY(-40px) rotateX(60deg) rotateY(180deg) rotateZ(30deg) scale(1.15);
      }
      60% {
        transform: translateY(-30px) rotateX(90deg) rotateY(270deg) rotateZ(45deg) scale(1.1);
      }
      80% {
        transform: translateY(-10px) rotateX(60deg) rotateY(360deg) rotateZ(30deg) scale(1.05);
      }
      100% {
        transform: translateY(0) rotateX(0deg) rotateY(450deg) rotateZ(0deg) scale(1);
      }
    }

    .img1 { top: 15%; left: 10%; animation-delay: 0s; }
    .img2 { top: 30%; right: 15%; animation-delay: 1s; }
    .img3 { top: 55%; right: 35%; animation-delay: 2s; }
    .img4 { top: 70%; right: 20%; animation-delay: 1s; }
    .img5 { top: 10%; left: 50%; animation-delay: 2s; }
    .img6 { bottom: 10%; left:20%; animation-delay: 0s; }

.news {
 background: #111;
 color: #fff;
 padding: 70px 0 50px;
 overflow:hidden;
}

.newsInner {
 width: 70%;
 margin: 0 auto;
}

.newsTitle {
 float:left;
 width: 20%;
 margin: 0 5% 0 0;
 padding: 0;
}

.newsTitle h2 {
 font-family: "Alata", sans-serif;
 font-weight: 400;
 font-style: normal;
 font-size: 3.25rem;
 margin-bottom: 10px;
 padding: 0;
 font-weight: 500;
 line-height: 1;
 transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
 display: inline-block; /* transformを適用するために必要 */
}

.newsTitle p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 1.15rem;
 color: #fff;
}

.newsText {
 float:left;
 width: 75%;
 margin: 0;
 padding: 0;
}

.newsText dl{
 margin: 0 auto 2em;
 padding: 0 0 2em 0;
 border-bottom:1px #fff dotted;
}

.newsText dt{
 font-family: 'Noto Sans JP', sans-serif;
 width: 10em;
 clear: left;
 float: left;
 font-size: 0.85rem;
 line-height: 1.6;
 letter-spacing: 0.1em;
 color:#fff;
}

.newsText dd{
 font-family: 'Noto Sans JP', sans-serif;
 margin-left: 10em;
 font-size: 0.85rem;
 line-height: 1.6;
 letter-spacing: 0.1em;
 color:#fff;
}

.newsText dd a{
 color : #fff;
 text-decoration:underline;
}

.newsText dd a:hover{
 color : #fff;
 text-decoration:none;
}


/* アニメーション前の初期状態 */
.fadeUp {
  opacity: 0;
  transform: translateY(60px); /* ← 距離を30px→60pxに */
  transition: all 1s ease-out; /* ← ゆっくり（1.5秒）に */
}

/* アニメーション後の状態 */
.fadeUp.show {
  opacity: 1;
  transform: translateY(0);
}

.service {
 width: 90%;
 max-width: 1200px;
 margin: 0 auto;
 padding: 70px 0 50px;
 overflow:hidden;
}

.serviceTitle {
 float:left;
 width: 20%;
 margin: 0 5% 0 0;
 padding: 0;
}

.serviceTitle h2 {
 font-family: "Alata", sans-serif;
 font-weight: 400;
 font-style: normal;
 font-size: 3.25rem;
 color: #222;
 margin-bottom: 10px;
 padding: 0;
 font-weight: 500;
 line-height: 1;
 transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
 display: inline-block; /* transformを適用するために必要 */
}

.serviceTitle p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 1.15rem;
 color: #222;
}

.serviceText {
 float:left;
 width: 75%;
 margin: 0 0 40px 0;
 padding: 0;
}

.serviceText p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 400;
 font-size: 1rem;
 line-height: 2;
 letter-spacing: 0.1em;
 color: #222;
}


.serviceInner {
 clear: both;
 display: flex;
 justify-content: center;
 gap: 20px;
 flex-wrap: wrap;
 margin: 0;
}

.service .serviceBox {
 flex: 1 1 300px;
 padding: 30px;
 color: #fff;
}

.service .serviceBox h3 {
 font-family: "Alata", sans-serif;
 font-weight: 400;
 font-style: normal;
 font-size: 2rem;
 color: #fff;
 margin-bottom: 10px;
 padding: 0;
 font-weight: 500;
 line-height: 1;
 transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
 display: inline-block; /* transformを適用するために必要 */
}

.service .serviceBox p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 0.9rem;
 letter-spacing: 0.1em;
 color: #fff;
}

.service .serviceBox .serviceBoxinner {
 display: flex;               /* 横並びにする */
 justify-content: space-between; /* 左右に配置 */
 align-items: flex-start; /* ← これで縦方向の上寄せ */
 gap: 20px;                   /* テキストと画像の間に余白 */
 margin-top: 30px;
 padding: 0;
 width: 100%;                 /* 全幅にするのが自然 */
}

.service .serviceBox .serviceBoxinner p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 400;
 font-size: 0.9rem;
 line-height: 2;
 letter-spacing: 0.1em;
 color: #fff;
 width: 45%;                  /* テキストの幅を指定（画像と半分ずつ） */
 margin: 0;                   /* 不要な余白を防止 */
}

.service .serviceBox .serviceBoxinner img {
 width: 55%;                  /* 画像も半分 */
 height: auto;
 object-fit: contain;         /* 画像比率保持 */
}


.service .serviceBox:nth-child(1) {
 background: #7fc942;
 border-radius: 18px;
}

.service .serviceBox:nth-child(2) {
 background: #f4a000;
 border-radius: 18px;
}

/* serviceBox リンク全体を覆うオーバーレイリンク */
.serviceBox {
 position: relative;
 overflow: hidden;
 cursor: pointer;
 border-radius: 10px;
 transition: transform 0.3s, box-shadow 0.3s;
}

.serviceBox:hover {
 transform: translateY(-5px);
 box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* オーバーレイリンク（クリック範囲用） */
.linkOverlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 z-index: 1;
 text-decoration: none;
 color: inherit;
}

/* serviceBox 内の a 全体に強制適用 */
.serviceBox a,
.serviceBox a:link,
.serviceBox a:visited,
.serviceBox a:hover,
.serviceBox a:active,
.serviceBox h3 a,
.serviceBox p a {
 text-decoration: none !important;
 color: inherit !important;
}

/* ホバー時の全体カラー変化（好みに応じて） */
.serviceBox:hover {
 background-color: #333;
}
	
.works {
 width: 100%;
 background:#82C6E3;
 padding: 70px 0px;
}

.worksTitle {
 width: 90%;
 margin: 0 auto 30px;
 padding: 0;
}

.worksTitle h2 {
 font-family: "Alata", sans-serif;
 font-weight: 400;
 font-style: normal;
 font-size: 3.25rem;
 color: #fff;
 margin-bottom: 10px;
 padding: 0;
 font-weight: 500;
 line-height: 1;
 transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
 display: inline-block; /* transformを適用するために必要 */
}

.worksTitle p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 1.15rem;
 color: #fff;
}


.swiper-container {
 width: 100%;
 padding: 30px 0 70px;
 overflow: hidden; /* ←追加する */
}

.swiper-wrapper {
 transition-timing-function: linear !important; /* ←一定速度で動くために追加 */
}

.swiper-slide {
 width: auto; /* 自動幅 */
 flex-shrink: 0;
 display: flex;
 justify-content: center;
 align-items: center;
}

.swiper-slide img {
 width: 300px;
 height: auto;
 margin: 0 5px;
 object-fit: cover;
 border-radius: 8px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
 transition: transform 0.3s;
}

.swiper-slide img:hover {
 transform: scale(1.05);
}

.worksBT_wrapper {
 text-align: center;
}

.worksBT {
 display: inline-flex;
 align-items: center;
 padding:20px 35px;
 background-color: #EEDEA8;
 color: #222;
 font-family: "Noto Sans", sans-serif;
 font-size: 0.85rem;
 text-decoration: none;
 text-align:center;
 border-radius: 999px;
 transition: background-color 0.3s ease;
 border: none;
}

.worksBT:hover {
 background-color: #F7EED0; /* ホバー時の色 */
}

.colum {
  background: #fafafa;
  padding: 60px 0;
}

.colum-inner {
 width: 90%;
 max-width: 1200px;
 margin: 0 auto;
}

.columTitle {
 width: 100%;
 margin: 0 auto 30px;
 padding: 0;
}

.columTitle h2 {
 font-family: "Alata", sans-serif;
 font-weight: 400;
 font-style: normal;
 font-size: 3.25rem;
 color: #222;
 margin-bottom: 10px;
 padding: 0;
 font-weight: 500;
 line-height: 1;
 transform: scaleY(0.9); /* 0.9で縦方向に20%縮む */
 display: inline-block; /* transformを適用するために必要 */
}

.columTitle p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 1.15rem;
 color: #222;
}

.colum-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* 3列均等配置 */
  gap: 20px; /* 必要なら */
}

.colum-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  width: calc((100% - 40px) / 3); /* 3列に均等配置。gap 2 * 20pxを引く */
  box-sizing: border-box;
}

.colum-item img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.colum-item h3 {
 font-family: "Noto Sans", sans-serif;
 font-weight: 500;
 font-size: 1rem;
 color: #099;
 letter-spacing: 0.05em;
 margin-bottom: 0.5rem;
}

.colum-item p {
 font-family: "Noto Sans", sans-serif;
 font-weight: 400;
 font-size: 0.9rem;
 letter-spacing: 0.05em;
 color: #222;
}

.read-more {
 display: inline-block;
 margin-top: 10px;
 font-family: "Noto Sans", sans-serif;
 font-size: 0.85rem;
 color: #0066cc;
 text-decoration: underline;
}

.columBT_wrapper {
 margin-top: 50px;
 text-align: center;
}

.columBT {
 display: inline-flex;
 align-items: center;
 padding:20px 70px;
 background-color: #099;
 color: #fff;
 font-family: "Noto Sans", sans-serif;
 font-size: 0.85rem;
 text-decoration: none;
 text-align:center;
 border-radius: 999px;
 transition: background-color 0.3s ease;
 border: none;
}

.columBT:hover {
 background-color: background: #4CB7B7; /* ホバー時の色 */
}




/* スマホ表示時の調整 */
@media (max-width: 767px) {

.hero {
 height: 80vh;
}
		
.hero-content {
 position: absolute;
 top: 50%;
 left: 1%;
 transform: translateY(-50%);
 text-align: left;
 color: #222;
 z-index: 1;
 padding: 2rem;
}

.hero-content h1 { font-size: 2rem; }
.hero-content p { font-size: 1rem; }
.floating-image { width: 100px; }
.nav {
 flex-direction: column;
 gap: 0.5rem;
 align-items: flex-end;
}

.news {
 background: #111;
 color: #fff;
 padding: 50px 0 30px;
 overflow:hidden;
}

.newsInner {
 width: 90%;
 margin: 0 auto;
}

.newsTitle {
 float:left;
 width: fit-content;
 margin: 0 0 30px;
 padding: 0;
}


.newsText {
 float:left;
 width: 100%;
 margin: 0;
 padding: 0;
}

.newsText dl{
 margin: 0 auto 1.5em;
 padding: 0 0 1.5em 0;
 border-bottom:1px #fff dotted;
}

.newsText dt{
 font-family: 'Noto Sans JP', sans-serif;
 width: 8em;
 clear: left;
 float: left;
 font-size: 0.85rem;
 line-height: 1.6;
 letter-spacing: 0.1em;
 color:#fff;
}

.newsText dd{
 font-family: 'Noto Sans JP', sans-serif;
 margin-left: 8em;
 font-size: 0.85rem;
 line-height: 1.6;
 letter-spacing: 0.1em;
 color:#fff;
}

.newsText dd a{
 color : #fff;
 text-decoration:none;
}

.newsText dd a:hover{
 color : #fff;
 text-decoration:underline;
}

.service {
 width: 90%;
 padding: 50px 0 30px;
 overflow:hidden;
}

.serviceTitle {
 float:left;
 width: fit-content;
 margin: 0 0 30px;
 padding: 0;
}


.serviceText {
 float:left;
 width: 100%;
 margin: 0 0 30px 0;
 padding: 0;
}

.serviceText p {
 font-size: 0.9rem;
}

.service .serviceBox .serviceBoxinner {
 flex-direction: column;
}

.service .serviceBox .serviceBoxinner p,
.service .serviceBox .serviceBoxinner img {
 width: 100%;
}

.works {
 padding: 50px 0 30px;
}

.swiper-slide img {
 width: 200px; /* スマホ用にサイズ調整 */
}

.colum-inner {
 width: 80%;
 max-width: none;
 margin: 0 auto;
}

  .colum-list {
    flex-direction: column;  /* 縦並びに変更 */
    gap: 15px;               /* 各項目の間隔 */
    justify-content: center; /* 中央寄せ */
  }

  .colum-item {
    width: 100%;             /* 幅100% */
    flex: 0 0 100%;          /* Flexbox幅固定 */
    margin-bottom: 20px;     /* 下の余白 */
  }

  .read-more {
    font-size: 0.8rem;       /* リンク文字を縮小 */
  }

  .columBT {
    padding: 15px 40px;      /* ボタンサイズ調整 */
    font-size: 0.8rem;       
  }



}
