/*共通*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #ffffff; /* サイト全体の背景をほんのり赤に */
  color: #222; /* 文字色を濃いグレーに */
  font-family: 'Helvetica Neue', Arial, sans-serif; /* きれいなゴシック体 */
  line-height: 1.6; /* 行間を少し広めにして読みやすく */
  margin: 0;
  padding: 0;
}

.logo {
  width: 300px;
  height: auto;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  background-color: #111; /* ←背景を濃いグレー */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.menu li {
  margin: 0 20px;
  position: relative;
}

.menu a {
  color: #fff; /* ←文字色は白に変更 */
  text-decoration: none;
  font-size: 18px;
  padding: 10px 0;
  display: block;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #e60000; /* 赤い線 */
  transition: width 0.3s;
}

.menu a:hover::after {
  width: 100%;
}




.hero {
  background: url('img/hero-bg.jpg') no-repeat center center/cover;
  text-align: center;
  padding: 100px 20px;
  color: #222;
}

.wave-top {
  position: relative;
  top: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}


/*index*/
.about, .services, .contact-call {
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* さらに中央寄せ感を強める */
  border-radius: 10px; /* ←角を丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ←ふわっとシャドウ */
  background-color: #fff5f5;
}


.about h3,
.services h3,
.contact-call h3 {
  font-size: 24px;
  margin: 0 auto 20px auto;
  max-width: 1000px;
  position: relative;
  padding-bottom: 10px; /* 線との間にちょっと余裕 */
  border-bottom: 2px solid #e60000; /* 赤い下線 */
  

}

.about p {
  margin-bottom: 30px; /* ←各項目の下に30px余白をつける */
  line-height: 1.8;    /* ←行間も少し広げて読みやすく */
  align-items: flex-start;
  text-align: left;
}

.services ul {
  list-style-type: disc;
  padding-left: 20px;
  list-style: none
}

.services li {
  margin-bottom: 30px; /* ←各項目の下に30px余白をつける */
  line-height: 1.8;    /* ←行間も少し広げて読みやすく */
  margin-bottom: 100px;

}

.services-title{
  display: block;
  text-align: left;
  font-size: 18px;
  
}

.services li span {
  display: block;
  text-align: left;
  font-size: 16px;
  
}


.contact-button {
  display: block;         /* ブロック要素にする */
  margin: 20px auto 0;     /* 上マージン20px、左右オートで中央に */
  padding: 10px 30px;
  background-color: #333;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  width: fit-content;      /* ボタン幅を中身に合わせる */
}

.contact-button:hover {
  background-color: #555;
}


/*profile*/
.profile {
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* さらに中央寄せ感を強める */
  border-radius: 10px; /* ←角を丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ←ふわっとシャドウ */
  background-color: #fff5f5;
}


.profile h3 {
  font-size: 24px;
  margin: 0 auto 20px auto;
  max-width: 1000px;
  position: relative;
  padding-bottom: 10px; /* 線との間にちょっと余裕 */
  border-bottom: 2px solid #e60000; /* 赤い下線 */
}

.profile ul {
  list-style-type: disc;
  padding-left: 20px;
  list-style: none
}

.profile li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  line-height: 1.8;

}

.profile li span {
  display: inline-block;
  width: 30%; /* ←左を30%に */
  font-weight: bold;
  text-align: right; 
  padding-right: 100px;
}

.profile li p {
  display: inline-block;
  width: 70%; /* ←右を70%に */
  margin: 0;
  text-align: left; /* 右も基本は左寄せでOK */
}

.map-container {
  margin-top: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.map-container iframe {
  width: 100%;
  height: 300px;
  border-radius: 8px; /* ←地図の角を丸めてもおしゃれ！ */
}


/*services.html*/
.jigyo {
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* さらに中央寄せ感を強める */
  border-radius: 10px; /* ←角を丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ←ふわっとシャドウ */
  background-color: #fff5f5;
}


.jigyo h3 {
  font-size: 24px;
  margin: 0 auto 20px auto;
  max-width: 1000px;
  position: relative;
  padding-bottom: 10px; /* 線との間にちょっと余裕 */
  border-bottom: 2px solid #e60000; /* 赤い下線 */
}

.jigyo ul {
  list-style-type: disc;
  padding-left: 10px;
  list-style: none
}

.jigyo li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  line-height: 1.8;

}

.jigyo li span {
  display: inline-block;
  width: 30%; /* ←左を30%に */
  font-weight: bold;
  text-align: right; 
  padding-right: 100px;
}

.jigyo li p {
  display: inline-block;
  width: 70%; 
  margin: 0;
  text-align: left; /* 右も基本は左寄せでOK */
}

/*contact.html*/
.contact {
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* さらに中央寄せ感を強める */
  border-radius: 10px; /* ←角を丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ←ふわっとシャドウ */
  background-color: #fff5f5;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 600px;  /* 好みに応じて調整可能 */
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.contact h3 {
  font-size: 24px;
  margin: 0 auto 20px auto;
  max-width: 1000px;
  position: relative;
  padding-bottom: 10px; /* 線との間にちょっと余裕 */
  border-bottom: 2px solid #e60000; /* 赤い下線 */
}

/*privacy.html*/
.privacy {
  margin: 50px auto;
  padding: 50px 30px;
  text-align: center;
  max-width: 1000px; /* さらに中央寄せ感を強める */
  border-radius: 10px; /* ←角を丸める */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* ←ふわっとシャドウ */
  background-color: #fff5f5;
}



.privacy h3 {
  font-size: 24px;
  margin: 0 auto 20px auto;
  max-width: 1000px;
  position: relative;
  padding-bottom: 10px; /* 線との間にちょっと余裕 */
  border-bottom: 2px solid #e60000; /* 赤い下線 */
}

/*フッター*/
.footer {
  background-color: #111; /* フッターの背景も濃いグレーに */
  padding: 30px 0;
  text-align: right;
  color: #fff;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  display: flex;
  justify-content: right;
}

.footer-menu li {
  margin: 0 15px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
}

.footer-menu a:hover {
  color: #e60000; /* ホバーで赤く光らせる */
}

.copyright {
  font-size: 14px;
  color: #aaa; /* ちょっと薄めにして控えめに */
}


/*アニメーション*/

.scroll-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* スプラッシュ全体 */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1s ease 2s forwards;
}

#splash {
  display: none;
}

#splash.show-animation {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeOut 1s ease 3.5s forwards;
}

.logoanime {
  width: 200px;
  animation: zoomIn 3.5s ease both;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}


/* スマホサイズの時に文字サイズを小さくする */
@media screen and (max-width: 768px) {
   .menu a {
     font-size: 11.5px; /* スマホではメニューの文字を小さめに */
   }
   
  .footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 8px;
  }


  iframe {
    width: 100%;
    height: 500px;
    max-width: 100%;
  }
  
  .profile li {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile li span,
  .profile li p {
    width: 100%;
    text-align: left;
    padding-right: 0;
  }
  
  .jigyo li {
    flex-direction: column;
    align-items: flex-start;
  }

  .jigyo li span,
  .jigyo li p {
    width: 100%;
    text-align: left;
    padding-right: 0;
  }
}