@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;}

.logo {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); font-size: 40px}

.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}


/* zentai */

.hero {border-top: 8px solid #000033;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url("momoti.jpg") center/cover;
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal;
          font-size: 36px; margin-bottom: 10px;}

.hero p {font-family: "Noto Serif JP", serif;
          font-optical-sizing: auto; font-style: normal; font-size: 18px;}


/* 全体余白 */
.keifuku, .nayami, .taiou, .aria, .wake { max-width: 900px; margin: 80px auto; padding: 0 20px;}

/* 見出し */
.keifuku h2, .nayami h2, .taiou h2, .aria h2, .wake h2  {font-family: "Noto Serif JP", serif;
       font-size: 26px; margin-bottom: 20px; padding-left: 12px;}

/* 本文 */
.keifuku p, .nayami p, .taiou p, .aria p, .wake p {line-height: 1.8; color: #333;
font-family: "Noto Serif JP", serif;font-optical-sizing: auto; font-style: normal}

.nayami ul {display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0; list-style: none;}

.nayami li {background: #fff; border: 1px solid #ddd; padding: 15px; border-radius: 8px; position: relative;}

/* チェックマーク */

.nayami li::before {content: "✔"; color: #007BFF; margin-right: 8px;}


/* toi */

.taiou {background: #111; color: #fff; padding: 50px 30px; border-radius: 12px; text-align: center;
        margin: 80px auto; max-width: 900px;}

.taiou h2 {border-left: none; padding-left: 0; margin-bottom: 30px;font-family: "Noto Serif JP", serif;
          font-optical-sizing: auto; font-style: normal}

.taiou p {font-family: "Noto Serif JP", serif; color: white;
          font-optical-sizing: auto; font-style: normal; font-size: 20px; line-height: 2;}


/* aria */

.aria { text-align: center;}

.aria p {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal;
         font-size: 18px; font-weight: bold;}

.wake ul { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; padding: 0;}

.wake li { background: #111; color: #fff; padding: 20px; border-radius: 10px; text-align: center;
           font-weight: bold;}


 

     /***** スライドイン *****/

/* 左スライド */

.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);}


 

/* サービスカード */
.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);}


     /***** しめ *****/

.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; }


/* logo */

.logo {font-size: 20px; padding-top: 10px; padding-left: 10px}


     /***** 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}





/* 縦並び */

.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}




     /***** slide in *****/

.slide-in-left, .slide-in-right {transform: translateY(50px);}

.box1 {flex-direction: column;}

.kiji, .ban {width: 100%;}

.ban img {max-width: 90%;}




     /***** 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}



     /***** 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}






}