

   
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'Noto Sans JP', 'Noto Sans', sans-serif; line-height: 1.6; background: rgba(2, 115, 83, 0.04); color: #333; }

 @media (max-width: 768px) {
      .main-image .logo {
        max-width: 30vw;
        top: 10px;
        right: 10px;
        }


     .service-item {
    flex-direction: column !important; /* ← 強制的に縦並びにする */
    align-items: center;
    text-align: center;
  }

  .service-img {
    order: -1 !important; /* ← 必ず上に表示されるように強制 */
    margin: 0 0 20px 0;
    width: 100%;
    max-width: 300px;
  }

  .service-text {
    order: 0 !important;
    text-align: left;
    width: 100%;
  }
      
    }



     section {
      padding: 40px;
      max-width: 1000px;
      margin: auto;
      background-color: var(--main-color);
      margin-bottom: 100px;
      margin-top: 100px;
    }
  

    header, footer {
      background-color: var(--main-color);
      color: white;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 40px;
    }

    header h1, 
    footer h1 { font-size: 24px;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); 
    
    }

    header {
    background-color: rgba(2, 115, 83, 0.6);  /* ← 0%透明 */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    position: absolute;     /* ← main-image の上に重ねる */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}



    nav a {
      margin-left: 20px;
      text-decoration: none;
      color: white;
      transition: color 0.3s ease;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    }

    nav a:hover { color: var(--hover-color); }




    .language-dropdown {
  position: relative;
  display: inline-block;
}


.lang-menu {
  display: none;
  position: absolute;
  background-color: white;
  color: black;
  min-width: 120px;
  top: 100%; /* 親のすぐ下に */
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.lang-menu li a {
  color: black;
  padding: 5px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.lang-menu {
  display: none;
  /* ...他のスタイル... */
}

/* .active クラスが付いたときに表示されるようにする */
.lang-menu.active {
  display: block;
}


   #site-title,
  #site-title-footer {
  color: white; /* 通常の文字色 */
  cursor: pointer;
  transition: color 0.3s ease;
  }

  #site-title:hover,
  #site-title-footer:hover {
  color: var(--hover-color); /* または任意の色 */
  }


    .main-image {
      width: 100%;
      height: 640px;
      background: url('img/main_img.jpg') center top /cover no-repeat;
      
    }

    .main-text {
      position: absolute;
      top: 160px;
      left: 40px;
      color: white;
      font-size: 1.5em;
      font-weight: bold;
      line-height: 1.8em;
      text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
      line-height: 60px;
    }

    .logo-container {
    position: absolute;
    top: 220px;
    right: 60px;
    width: 240px;

      /* アニメーション追加 */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s; /* 任意：ゆっくり出したい場合 */
    }

    @keyframes fadeInUp {
    0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

    .main-logo {
    width: 100%;
    height: auto;
     filter: drop-shadow(1px 1px 6px rgba(0, 0, 0, 0.6)); 
    }

    .main-text {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
  }




  .fixed-contact-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
  border: 2px solid white; 
  border-radius: 32px;  
  transition: opacity 0.3s ease, visibility 0.3s ease;

  }

  .contact-button {
  background: linear-gradient(135deg, var( --hover-color), #6602a9);
  color: white;
  padding: 14px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: background-color 0.3s, transform 0.2s;
  }

  .contact-button:hover {
  background: linear-gradient(135deg, #4f4c4d, #1c1b1b);
  transform: translateY(-3px);
  }

  /* 非表示時 */
  .hidden {
   opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  }



  #profile {
  background-color: white;
  
  }

  #profile h2 {
  color: #333333;  /* 文字色 */
  font-weight: bold;
  text-align: center;
  }

  .profile-container {
  display: flex;
  align-items: center;       /* 縦中央寄せ */
  justify-content: center;   /* 横中央寄せ */
  flex-wrap: wrap;           /* スマホなどで縦並びに */
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0px;
  gap:10px
  }
  
  .profile-img-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;     /* 画像を中央に配置 */
}

    .profile-img {
   max-width: 280px;
   height: auto;
   border-radius: 10px;
  margin-bottom: 40px; /* 画像の下にスペースを追加 */
   
    }

 .profile-text {
  flex: 1;                   /* 画像の横に伸びる */
  min-width: 250px;          /* スマホでつぶれすぎ防止 */
  color: #333333;
  
} 

  

  .name {
  font-weight: bold;
  }


 

  .sns-icons {                 /*← 親：アイコンを横並びにするためのスタイル */
  display: flex;
  justify-content: center;  /*← アイコンを中央に配置 */
  
  flex-wrap: wrap;  /*← アイコンが画面幅に応じて折り返されるようにする */
  gap: 20px;  /*← アイコン間のスペース*/

  margin: 30px auto;
  max-width: 100%;
}

.sns-icon {                  /*← 子：各アイコン画像のサイズやホバーエフェクト*/
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sns-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}


#services {
    background-color:var(--colorcontents) ;
    
    max-width: 1000px;
  
    
 }

   #services h2 {
  color:white;  /* 文字色 */
  font-weight: bold;
  text-align: center;
  } 

  #services h3 {
    font-size: large;
    color: white;  /* 文字色 */
    margin-bottom: 50px;
    font-weight: bold;
  }

  #services p {
    color: white;  /* 文字色 */
  }

  #services section{
    background-color: transparent;
  }

  .service-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px; /* 各サービス間のスペースを拡大 */
  gap: 20px;
  padding-bottom: 40px; /* オプションで内側にも余白追加可 */
  border-bottom: 20px solid rgba(255, 255, 255, 0.2); /* 薄い区切り線（任意） */
  }

  .service-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
  }



  .service-text {
    flex: 1;
    order: 1;
    text-align: left; 
  }
  .service-img {
    width: 250px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    order: 2; /* 画像を右側に表示 */
    margin-left: auto;  
  
  }

  .price-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 40px auto;
  flex-wrap: wrap;
  }

.price-box {
  border: 2px solid #027353; /* メインカラーに合わせた枠線 */
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.2rem;
  background-color: white;
  color: #027353;
  }

.price-text {
  font-weight: bold;
  font-size: 1.5rem;
  color: white;
}




#contact {
      background-color: white;
      padding: 40px;
      max-width: 800px;
      margin: auto;
      border-radius: 10px;
     }

    #contact h2 {
  color:black;  /* 文字色 */
  font-weight: bold;
  text-align: center;
  } 


    h2 { margin-bottom: 40px;
    font-size: 20px; 
    }
    ul { list-style: none; padding-left: 0; }
    ul li { margin-bottom: 10px; }

    form label {
      display: block;
      margin-top: 15px;
    }

    form input {
      width: 100%;
      padding: 10px;
      font-size: 1rem;
      margin-top: 5px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    form textarea {
      width: 100%;
      padding: 10px;
      font-size: 1rem;
      line-height: 1.5;
      resize: none; /* ユーザーによる手動リサイズを無効化（任意） */
      overflow-y: hidden; /* スクロールバー非表示 */
      border: 1px solid #ccc;
      border-radius: 4px;
    }

    form button {
      margin-top: 20px;
      padding: 12px 24px;
      background-color:var(--colorcontents);
      color: white;
      border: none;
      border-radius: 5px;
      font-size: 1em;
      cursor: pointer;
      
    
    }

    form button:hover {
     background-color: #014d3a; /* ホバー時の色。メインカラーに合わせて調整可 */
    }

  
    .button-wrapper {
    text-align: center; /* 中央寄せ */
    }




    .modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 90%;
  text-align: center;
}

.hidden {
  display: none;
}




 .footer-menu a {
      color: white;
      margin-left: 20px;
      text-decoration: none;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
 }

    .copyright {
    padding-bottom: 10px; /* フッターの下にスペースを追加 */
    font-size: 12px;  
    background-color: var(--main-color);  /* 文字の大きさ */
    color: white;        /* 文字色 */
    text-align: center; 
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }

     