@charset "UTF-8";

body {font-family: メイリオ, "Hiragino Kaku Gothic Pro", sans-serif; margin: 0; padding: 0; background-color: #f4f7fb;}




     /***** タイトル *****/

.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);}



     /***** 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}


     /***** 画像を動かず *****/

.hero {position: relative; height: 80vh; display: flex; justify-content: center; align-items: center; text-align: center;
       color: #fff; overflow: hidden; /* 背景がはみ出しても隠す */}

.hero-bg {position: absolute; top: 0; left: 50%; transform: translateX(-50%) scale(1); width: 100%;
          height: 150%; background-image: url('fukuoka.jpg'); background-size: cover;
          background-position: center top; z-index: 0; filter: brightness(1.1) saturate(1.1);
          animation: zoomSmooth 15s ease-in-out infinite alternate; will-change: transform;}

@keyframes zoomSmooth { from { transform: translateX(-50%) scale(1); } to   { transform: translateX(-50%) scale(1.08); }}

.hero-inner {position: relative; z-index: 1; /* 背景より前に表示 */}



/* ヒーローセクション */

.hero {background: url('../assets/fukuoka.jpg') center/cover no-repeat; height: 80vh; display: flex; justify-content: center;
       align-items: center; color: #fff; text-align: center; position: relative;}

.hero::before {content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.4);}

.hero-inner { position: relative; z-index: 1;}

.hero h2 {font-family: 'Crimson Text', serif; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 10px;
          text-shadow: 0 2px 10px rgba(0,0,0,0.6);}

.hero p {font-family: "Crimson Text", serif; font-weight: 400; font-style: normal; font-size: clamp(1rem, 2.5vw, 1.5rem);
         margin-bottom: 20px;}

.hero a {font-family: "Crimson Text", serif; font-weight: 400; font-style: normal}

.btn { background: #00ccff; color: #fff; padding: 12px 30px; border-radius: 30px; text-decoration: none;
      font-weight: 600; transition: 0.3s;}

.btn:hover {background: #0099cc;}


/* 会社概要 */
.about { padding: 80px 5%;  background: #fff; text-align: center;}

.about h2 {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal; font-size: 35px}

.company-info p {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal; margin: 10px 0; 
                 font-size: 1rem;}

/* サービスカード */
.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;}

/* お問い合わせ */
.contact {
  padding: 80px 5%;
  text-align: center;
}
.contact .phone {
  margin-top: 15px;
  font-weight: 600;
}

/* コンタクト */

.contact h2 {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}

.contact p {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}

.contact a {font-family: "Noto Serif JP", serif; font-optical-sizing: auto; font-style: normal}



     /***** しめ *****/

.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;}


     /***** スライドイン *****/

/* 左スライド */

.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);}




     /***** 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}


     /***** slide in *****/

.slide-in-left, .slide-in-right {transform: translateY(50px);}

.box1 {flex-direction: column;}

.kiji, .ban {width: 100%;}

.ban img {max-width: 90%;}


  .cards {
    flex-direction: column;
    gap: 20px;
  }
  .nav a {
    margin-left: 10px;
  }
 

  /* 画像の縦幅 */

.hero {height: 60vh;   /* 80vh → 60vh に縮める */}

.hero-bg {height: 100%;   /* 150%をやめる */}

/* 会社概要 */

.about h2 {font-size: 30px}


/* 縦並び */

.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}


  .cards {
    flex-direction: column;
    gap: 20px;
  }
  .nav a {
    margin-left: 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%;}



}

     /***** 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}

 

}


     /***** 1000~1200以上 *****/
     
@media (min-width: 1000px) and (max-width: 1200px){



}

     
     /***** 1366px以上 *****/
     
@media (min-width: 1366px){

 .title  
      {max-width: 1366px; margin-left: auto; margin-right: auto}

.title {max-width: 1366px; left: 50%; transform: translateX(-50%);}



     /***** タイトル *****/

.title h1 {font-size: 50px}

     /***** トグル *****/

#menubtn {display: none}

     /**** メニュー *****/

#menu {display: block !important}



}