@charset "UTF-8";

body {font-family: メイリオ, "Hiragino Kaku Gothic Pro", sans-serif; margin: 0; padding: 0; background-color: #f4f7fb;}



     /***** img *****/

.topimg {width: 100%; height: auto; display: block; margin: 0 auto;}


     /***** タイトル *****/

.title {display: flex; align-items: center; justify-content: space-between;
        border-bottom: 2px solid rgba(255, 0, 0, 0.6); padding-bottom: 5px;
        position: fixed; top: 0; width: 100%; background-color: rgb(0 0 0 / 18%); z-index: 1000;
        backdrop-filter: blur(8px); box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        transition: background-color 0.4s ease, backdrop-filter 0.4s ease;}

.title h1 {color: #99FFFF; font-family: "Crimson Text", serif; font-weight: 400; font-style: normal; margin: 0;
           padding-left: 70px; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4)}

.title.scrolled { background-color: rgb(0 0 0 / 45%); backdrop-filter: blur(10px);}




     /***** 画像を重ねる *****/

.start {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: flex;
  flex-direction: column;   /* ← 追加 */
  justify-content: center;
  align-items: center;
  text-align: center;
}
.start::before {z-index: 0;}

.start::after {z-index: 1;}

     /***** mozi *****/

.start h2 {position: relative; z-index: 2; font-family: "Crimson Text", serif; font-size: clamp(32px, 8vw, 72px); 
           font-weight: 400; letter-spacing: 0.15em; color: rgba(255, 255, 255, 0.95); text-shadow:
           0 2px 10px rgba(0, 0, 0, 0.4), 0 0 25px rgba(150, 200, 255, 0.3); margin: 0;
           /* アニメーション準備 */opacity: 0; transform: scale(0.95); animation: centerFade 3.5s ease forwards;}



@keyframes centerFade {
  0% {opacity: 0; transform: scale(0.9);}
  60% {opacity: 1; transform: scale(1.03);}
  100% {opacity: 1; transform: scale(1);}
}

@keyframes fadeUp {to {opacity: 1; transform: translateY(0);}
}

     /***** 画像を動かず *****/

.start::after {content: ""; position: absolute; inset: 0;
               background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.03));}

.start::before {content: ""; position: absolute; inset: 0; background-image: url("fukuoka.jpg"); 
                background-position: center top;
                background-repeat: no-repeat; background-size: cover; 
                animation: zoomSmooth 10s ease-in-out infinite alternate;
                will-change: transform; filter: brightness(1.1) saturate(1.1);}

@keyframes zoomSmooth {from { transform: scale(1); } to   { transform: scale(1.08); }}


/* 福岡エリア */

.area {margin-top: 20px;}

.start p {font-size: 20px; letter-spacing: 0.2em; color: white; font-family: "Noto Serif JP", serif;
          font-optical-sizing: auto; font-style: normal; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6),  
          0 0 30px rgba(150, 200, 255, 0.5); -webkit-font-smoothing: antialiased; }



     /***** menu *****/

.menu li a {text-decoration: none; display: block; padding-left: 15px; padding-right: 15px; padding-top: 5px;
             padding-bottom: 5px; font-family: "Noto Serif JP", serif;
             font-optical-sizing: auto; font-style: normal; font-size: 18px;
             color: #eee; position: relative; display: inline-block;}

.menu a::after {position: absolute; bottom: -4px; left: 0; content: ''; width: 100%; height: 2px; background: #FF0000;
                transform: scaleX(0); transform-origin: left; transition: transform .3s ease;}

.menu a:hover::after {transform: scaleX(1);}



.title ul {list-style: none; display: flex; padding-right: 70px}


     /***** sub *****/

.sub h2 {font-size: 40px; text-align: center; margin-bottom: 0; font-family: "Crimson Text", serif; 
         font-weight: 400; font-style: normal; word-spacing: 20px;
         background: linear-gradient(to right, white, #FF0000);
         -webkit-background-clip: text;
         -webkit-text-fill-color: transparent;}

.sub p {font-size: 35px; text-align: center; margin-top: 0; margin-bottom: 0; font-family: "Noto Serif JP", serif; 
        font-optical-sizing: auto; font-style: normal; color: white; word-spacing: 20px}

.sub {background: linear-gradient(90deg, #0000CC 0%, #99CCFF 100%); border-top: solid 4px #000080}

@media screen and (max-width: 768px) {

  .box1 {
    flex-direction: column;   /* 縦並び */
    padding: 0 20px;          /* 左右余白を調整 */
  }

  .kiji,
  .ban {
    width: 100%;              /* 横幅いっぱい */
  }

  .ban img {
    width: 100%;              /* 画像も広く */
    max-width: 100%;
    height: auto;
  }

}


     /***** sub~jigyouの間に博多を入れる *****/

.sub-background {
  position: relative;
  max-width: 1366px;   /* ← 追加 */
  width: 100%;
  margin: 0 auto;      /* ← 中央寄せ */
  text-align: center;
  overflow: hidden;
  padding-bottom: 50px;
}

.sub-background::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 950px;

background:
  linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0.6)
  ),
  url("../assets/hakata.jpg") center top / cover no-repeat;

background-blend-mode: lighten;

  filter: blur(1.2px);   /* ← ここ追加 */
  transform: scale(1.01); /* ← 端が切れないよう少し拡大 */

  z-index: 0;
}


.sub-background > * {
  position: relative;
  z-index: 1;  /* 前面に表示 */
}


     /***** subを動かす *****/

.sub {
  opacity: 0;
  transform: translateY(50px); /* 下にずらす */
  transition: all 1.5s ease;
}

.sub.show {
  opacity: 1;
  transform: translateY(0); /* 元の位置に戻る */
}



     /***** kiji *****/

.kiji h2 {font-size: 35px; color: #99FFFF; font-family: "Crimson Text", serif; font-weight: 400; 
          font-style: normal; margin-bottom: 30px; border-bottom: 2px solid rgba(255, 0, 0, 0.6);
          display: inline-block;}

.kiji p {font-size: 20px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; margin: 6px 0;
         font-style: normal; color: #DCDCDC; ; line-height: 1.8; text-align: left;}




.highlight {color: #0000BB}

.light {color: #A9A9A9}


     /***** 軽バン *****/

.ban img {max-width: 60%; margin-top: 10px; box-shadow: 0 12px 25px rgba(0,0,0,0.8);}

     /***** imgスライドイン *****/

.slide-in {opacity: 0; transform: translateX(100px); /* 右にずらす */
           transition: all 1s ease-out;}

@keyframes slideInRight {
           to {opacity: 1; transform: translateX(0);}
}

.slide-in.show {opacity: 1; transform: translateX(0);}


     /***** スライドイン *****/

/* 左スライド */

.slide-in-left {opacity: 0; transform: translateX(-100px); transition: all 2s ease-out;}

.slide-in-left.show {opacity: 1; transform: translateX(0);}

/* 右スライド */

.slide-in-right {opacity: 0; transform: translateX(100px); transition: all 2s ease-out;}

.slide-in-right.show {opacity: 1; transform: translateX(0)}

/* 上からスライドイン */
.slide-in-top { opacity: 0; transform: translateY(-100px); /* 上にずらす */ transition: all 2s ease-out;}

.slide-in-top.show {opacity: 1; transform: translateY(0);}

/* 下からスライドイン */

.slide-in-bottom {
  opacity: 0;
  transform: translateY(80px);   /* 下にずらす */
  transition: opacity 1s ease, transform 1s ease;
}

.slide-in-bottom.show {
  opacity: 1;
  transform: translateY(0);
}

/* 中央からスライドイン */

.fade-center {opacity: 0; transform: scale(0.9); transition: opacity 1.2s ease, transform 1.2s ease;}

.fade-center.show {opacity: 1; transform: scale(1);}


     /***** 記事と軽バンを横並びに *****/

.box1 {position: relative; display: flex; align-items: center; padding: 20px 40px;
       background: linear-gradient(0deg, #99CCFF 0%, #0000CC 100%); overflow: hidden; margin-top: 150px}

.box1::after {content: ""; position: absolute; top: 0; right: 0;
              width: 20%;   /* ← 斜線エリアの幅 */
              height: 100%; background: linear-gradient(to left, rgba(0,0,0,0.2), transparent), 
              repeating-linear-gradient( -55deg, 	#00008B 0px,
              	#00008B 15px, transparent 15px, transparent 100px); z-index: 1; }
              
.ban {text-align: center}

.kiji, .ban {max-width: 50%; box-sizing: border-box; position: relative; z-index: 2;}



     /***** 事業内容 *****/

.jigyou {margin-top: 200px; background: linear-gradient(0deg, white 0%, #00CC00 30%, #00CC00 70%, white 100%); 
         padding: 0}

.jigyou h2 {font-size: 38px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
            color: #eee; padding-top: 10px; padding-bottom: 10px; letter-spacing: 0.3em; text-align: center}



     /***** るーと　*****/

.rute {margin-top: 100px; position: relative; display: flex; justify-content: center;   /* 中央寄せ */ gap: 100px; 
       align-items: flex-start; background: linear-gradient(to bottom, transparent 0%, transparent 25%, 
       #CC0000 25%, #CC0000 100%); } 

.teiki, .sp {width: 30%; box-sizing: border-box; position: relative;}

.teiki h2, .sp h2 {color: white; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
                   letter-spacing: 0.1em; font-size: 35px}

.teiki p, .sp p {color: white; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
                 letter-spacing: 0.1em; font-size: 20px}

.teiki img {width: 100%; height: auto; display: block; padding-bottom: 30px}

.sp img {width: 100%; height: auto; display: block; padding-bottom: 30px}


     /***** 高品質 *****/

.hinsitu {position: relative; display: flex; align-items: center; background-color: #eee; margin-top: 100px; 
          border-top: solid 2px #999999; border-bottom: solid 2px #999999}

.hand {max-width: 40%; box-sizing: border-box; position: relative; text-align: center}

.haiso {max-width: 60%; box-sizing: border-box; position: relative;}

.hand img {max-width: 80%; height: auto; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);}

.haiso h2 {font-size: 35px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal}

.haiso p {font-size: 18px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
          padding-right: 30px; letter-spacing: 0.1em}


     /***** 急な依頼 *****/

.dash img {max-width: 80%;height: auto; border-radius: 12px; box-shadow: 0 30px 70px rgba(0,0,0,0.6),
           0 0 30px rgba(255,255,255,0.15);}

.spot {position: relative; display: flex; align-items: center; padding-left: 40px; 
       background: linear-gradient(135deg, #0000EE, #0000EE); margin-top: 50px; padding-top: 40px;
       padding-bottom: 40px; box-sizing: border-box;}

.irai {width: 60%; box-sizing: border-box; position: relative}

.dash {width: 40%; box-sizing: border-box; position: relative; text-align: center; }

.spot h2 {font-size: 35px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
          text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); color: white}

.spot p {font-size: 18px; font-family: "Noto Serif JP", serif;  font-optical-sizing: auto; font-style: normal;
          padding-right: 30px; letter-spacing: 0.1em; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); color: white; 
          letter-spacing: 0.1em}


/* サービスカード */
.services {padding: 80px 5%; background: #142338; color: #fff; text-align: center;}

.services h2 {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}

.cards {display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; margin-top: 40px;}

.card {background: #1e2a47; padding: 30px; border-radius: 15px; max-width: 300px; flex: 1; transition: transform 0.3s;}

.card p {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}

.card:hover { transform: translateY(-10px);}

.card h3 {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal; margin-bottom: 15px;
          font-size: 1.3rem; color: #00ccff;}
          

     /***** 挨拶 *****/

.aisatu {max-width: 100%;  padding: 60px 20px; background-color: #142338;
         border-top: 1px solid rgba(255,255,255,0.1);}

.aisatu-inner { max-width: 800px; margin: 0 auto;}

.aisatu h2 {text-align: center; margin-bottom: 30px; font-size: 35px; font-family: "Noto Serif JP", serif;  
            font-optical-sizing: auto; font-style: normal; color: white}

.aisatu p {text-align: left; line-height: 1.8; font-size: 20px; font-family: "Noto Serif JP", serif;  
           font-optical-sizing: auto; font-style: normal; color: white; letter-spacing: 0.1em}


     /***** toi *****/

.toi h2 {margin: 15px 0; font-size: 35px; letter-spacing: 2px; font-family: "Noto Serif JP", serif; 
         font-optical-sizing: auto; font-style: normal; text-align: center; color: #000044}

.toi p {margin: 0; font-size: 20px; font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal;
        text-align: center; color: #000044}

.toi, .mail {background: rgba(255, 255, 255, 0.05); border: 1px solid #4da6ff; padding: 40px; max-width: 600px;
      margin: 60px auto; text-align: center; border-radius: 12px; box-shadow: 0 0 20px rgba(0, 80, 255, 0.3);}


     /***** mail *****/

.mail:hover { background: rgba(77,166,255,0.1);}

.mail h2 {display: flex; align-items: center; justify-content: center; /* 中央寄せ */ 
          gap: 10px;  /* アイコンと文字の間 */font-size: 24px;
          font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}

.material-symbols-outlined {font-size: 28px; /* アイコンサイズ */}

.mail {cursor: pointer; display: block;  /* ← 重要 */ text-decoration: none;    /* 下線消す */color: #000044 }

    
     /***** しめ *****/

.site-footer {background: #f4f7fb; padding: 60px 20px; text-align: center; color: #333;
              border-top: 2px solid #4da6ff;  }

.footer-inner {max-width: 800px; margin: 0 auto;}

.site-footer h3 {font-size: 20px; margin-bottom: 20px; letter-spacing: 1px;
                 font-family: "Crimson Text", serif; font-weight: 400; font-style: normal; color: #111;}

.site-footer p { margin: 6px 0; font-size: 15px; font-family: "Noto Serif JP", serif; font-optical-sizing: auto; 
                font-style: normal}

.site-footer small {display: block; margin-top: 30px; font-size: 13px; color: #777;}




     /***** 599以下 *****/

@media (max-width: 599px){


br {display: none; }


     /***** menu *****/

#menu {display: none}

.menu li a {font-size: 12px;  padding: 5px 8px;}

     /***** タイトル *****/

.title { width: 100%; max-width: 1366px; margin: 0 auto}

.title h1 {padding-top: 10px; padding-left: 10px; font-size: 20px}

.title ul {padding-right: 10px}

     /***** トグルボタン *****/

#menubtn { cursor: pointer; background-color: #D9E5FF;
           border: solid 1px #DDDDDD; border-radius: 5px; position: absolute; top: 10px; right: 15px;}

#menubtn.open {position: relative; top: 0; right: 0; margin-right: 10px;}

#menubtn span {display: inline-block; text-indent: -9999px;}

#menubtn i {color: #3300FF; font-size: 16px;}

#menubtn.open i::before {content: "\f00d";}

#menu {display: none; position: absolute; top: 60px; right: 0; background: rgba(0,0,50,0.95); width: 100%; padding: 8px 0;}

#menu.open {display: block !important;}

#menu { padding: 8px 0;}

#menu ul {list-style: none; padding: 0; margin: 0; text-align: center; }

#menu li {text-align: center;}

.menu li {margin-left: auto; margin-right: auto}




/***** sub *****/

.sub h1 {word-spacing: 5px; font-size: 30px; margin-top: 0px}

.sub p {word-spacing: 10px; font-size: 20px;}          

.sub h2 {font-size: 20px}

     /***** slide in *****/

.slide-in-left, .slide-in-right {transform: translateY(50px);}

.box1 {flex-direction: column;}

.kiji, .ban {width: 100%;}

.ban img {max-width: 90%;}

     /***** box1 *****/

.box1 {margin-top: 60px}

.kiji h1 {font-size: 30px;}

.kiji p {font-size: 16px;}



.kiji, .ban {width: 100%; max-width: 100%;  }


     /***** 事業内容 *****/

.jigyou {margin-top: 100px}

.jigyou h2 {font-size: 30px; letter-spacing: 0.1em}


     /***** ルート *****/

  .rute {margin-top: 50px;
    flex-direction: column;   /* ← 縦並び */
    align-items: center;      /* ← 中央寄せ */
    gap: 50px;                /* ← 間隔少し縮める */
  }

  .teiki,
  .sp {
    width: 85%;               /* ← 横幅広めに */
  }


.rute {background: linear-gradient(to bottom, transparent 0%, transparent 10%, 
       #CC0000 10%, #CC0000 100%); } 

.teiki h2, .sp h2 {font-size: 25px}

.teiki p, .sp p {font-size: 18px}


     /***** 高品質 *****/

.haiso h2 {font-size: 25px}

.hinsitu {flex-direction: column; /* ← 縦並び */ text-align: center; /* ← 中央寄せ */ padding: 40px 15px; /* ← 余白調整 */}

.hand, .haiso {max-width: 100%; width: 100%;}

.hand img { max-width: 90%; margin-bottom: 20px;}

.haiso p {padding-right: 0;  /* ← PC用の右余白を消す */}


     /***** spot *****/

.spot {flex-direction: column; padding: 40px 15px; text-align: center;}

.irai, .dash {width: 100%; max-width: 100%;}


.dash { order: -1;   /* 画像を上にする */ margin-bottom: 20px;}

.irai p {padding-right: 0;   /* PC用の右余白解除 */}

.irai h2 {font-size: 25px}


     /***** yakei *****/

.sub-background::before { height: 850px; }

/* 縦並び */

.cards {
  flex-direction: column;
  align-items: center;
}

.card {
  max-width: 90%;
}

 
}    
    
     /***** 600以上 *****/
     
@media (min-width: 600px) and (max-width: 767px){

     /***** トグル *****/

#menubtn {display: none}

     /**** メニュー *****/

#menu {display: block !important}

.menu li a {font-size: 16px;}

     /***** タイトル *****/

.title h1 {font-size: 35px; padding-left: 15px}

.title ul {padding-right: 10px}

     /***** sub *****/

.sub h1 {margin-top: 0px}

     /***** box1 *****/

.box1 {margin-top: 50px}

.kiji, .ban {width: 100%; max-width: 100%;  }

     /***** 事業内容 *****/

.jigyou {margin-top: 100px}


     /***** slide in *****/

.slide-in-left, .slide-in-right {transform: translateY(50px);}

.box1 {flex-direction: column;}

.kiji, .ban {width: 100%;}

.ban img {max-width: 90%;}


     /***** ルート *****/

.rute {background: linear-gradient(to bottom, transparent 0%, transparent 10%, 
       #CC0000 10%, #CC0000 100%); } 

.teiki h2, .sp h2 {font-size: 25px}

.teiki p, .sp p {font-size: 18px}


     /***** 高品質 *****/

.haiso h2 {font-size: 25px}

     /***** hakata *****/

.sub-background::before { height: 1030px; }


}

     /***** 760~850 *****/


@media (min-width: 760px) and (max-width: 850px){

/* タイトル */

.title h1 { padding-left: 20px; }

}


     /***** 768~1365 *****/
     
@media (min-width: 768px) and (max-width: 1365px){

   
     /***** タイトル *****/

.title h1 {font-size: 50px}

     /***** トグル *****/

#menubtn {display: none}

     /**** メニュー *****/

#menu {display: block !important}

     /***** sub *****/

.sub h1 {margin-top: 0px; padding-top: 20px}

.sub p {padding-bottom: 20px}

     /***** box1 *****/

.box1 {margin-top: 100px}

.ban img {max-width: 80%}


     /***** yakei *****/

.sub-background::before { height: 870px; }


     /***** 事業内容 *****/

.jigyou {margin-top: 100px}


}


     /***** 1000~1200以上 *****/
     
@media (min-width: 1000px) and (max-width: 1200px){

.sub-background::before { height: 740px; }

}

     
     /***** 1366px以上 *****/
     
@media (min-width: 1366px){

 .title, .topimg, .sub, .box1, .rute, .hinsitu, .sub-background , .spot
      {max-width: 1366px; margin-left: auto; margin-right: auto}

     /***** sub *****/

.sub h1 {margin-top: 0px; padding-top: 20px}

.sub p {padding-bottom: 20px}

     /***** box1 *****/

.box1 {margin-top: 200px}

     /***** box2 *****/

.box2 {margin-top: 100px}


     /***** タイトル *****/

.title h1 {font-size: 50px}

     /***** トグル *****/

#menubtn {display: none}

     /**** メニュー *****/

#menu {display: block !important}

     /***** sub *****/

.sub h1 {margin-top: 0px; padding-top: 20px}

.sub p {padding-bottom: 20px}

.title {max-width: 1366px; left: 50%; transform: translateX(-50%);}




}