/* ベーススタイル */
body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.wrap_original {
  overflow: hidden;
  }

.container {
  width: auto;
  margin: 0 auto;
  padding: 20px;
}

/* ヘッダー */
header {
  background: #333;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 50px;
}

header nav {
  margin: 0 0 0 auto;
}

header nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  margin: 0;
}

header nav ul li {
  margin-right: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav ul li.colorchange a:hover{
	color: skyblue;
	font-size: 20px;
	font-weight: bold;
}

/* ヒーローセクション */
#hero {
  background: url('image/meotop.jfif') no-repeat center center/cover;
  color: #fff;
  text-align: center;
  /*min-height: 40vh; /* 👈 画面の高さの40%に設定 */

  /* h1とpを垂直中央に配置するため、以下のプロパティを追加/確認 */
  /*display: flex;*/
  /*flex-direction: column; */
  /*justify-content: center;*/

  padding: 100px 0;
  position: relative;
  margin-top: 80px; /* ヘッダーの高さ分の余白を追加 */
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h2 {
  font-size: 3em;
  margin-bottom: 10px;
}

#hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* サービスセクション */
#services {
  background: #fff;
  padding: 50px 0;
  text-align: center;
}

#services h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

#services .service {
  background: #f4f4f4;
  padding: 20px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#services .service h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* 導入事例セクション */
#about {
  background: #76dac1;
  padding: 50px 0;
  text-align: left;
}

#about h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.case-block {
  display: flex;
  justify-content: space-between;
}

.case-block .case-left,
.case-block .case-center,
.case-block .case-right {
  flex-basis: 33.33%;
  padding: 0 10px;
}

.case h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.case p {
  font-size: 1.1em;
  line-height: 1.6;
  /* text-align: center; */ /* センター揃えを希望する場合はコメントを外してください */
}

.case ul {
  list-style-type: none;
  padding-left: 0;
}

.case ul ul {
  list-style-type: none;
}

.case-right {
  margin-left: 0;
}

.font_color{
  font-size: 20px; 
  color:red
}

.background {
  background-color: #e9e628; /* ここで背景色を指定 */
  padding: 10px; /* 適切な余白を設定 */
}

/* お問い合わせボタン */
.contact-button {
  background-color: transparent;
  text-align: center;
  margin-top: 20px;
  width: 480px;
  margin: 0 auto;
}

.cta-button {
  background-color: #27ae60;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.cta-button span {
  font-size: 16px;
}

.cta-button:hover {
  transform: scale(1.05);
}

    /* 問い合わせフォーム */
    .contact-form {
      background: #fff;
      padding: 20px;
      border-radius: 5px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      width: 100%;
      max-width: 600px;
      box-sizing: border-box;
      margin: 20px auto; /* 中央に配置 */
  }

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  color: #333;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  height: 100px;
}

.contact-form button {
  background: #5bc8ac;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: block;
  margin: 20px auto 0;
}

.contact-form button:hover {
  background: #4aa08d;
}

.required {
  background-color: red;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  margin-right: 5px;
}

.optional {
  background-color: gray;
  color: white;
  padding: 2px 5px;
  border-radius: 3px;
  margin-right: 5px;
}
  
.sp-nav {
  display: none;/* 600px以上時、スマホ用ナビゲーションバーを表示しない */
}

/* レスポンシブデザイン （ハンバーガーメニュー表示）*/
@media (max-width: 600px) {

  .pc-nav {
    display: none;
 }

 .sp-nav {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: block;
  width: 100%;
  background: rgba(0, 0, 0, .8);
  opacity: 0;
  transform: translateY(-100%);
  transition: all .2s ease-in-out;
}

 #hamburger {
  position: relative;
  display: block;
  width: 30px;
  height: 25px;
  margin: 0 0 0 auto;
}
#hamburger span {
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}
#hamburger::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
#hamburger::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70%;
  height: 2px;
  background-color: #fff;
}

/*スマホメニュー*/
.sp-nav ul {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.sp-nav li {
  margin: 0;
  padding: 0;
}
.sp-nav li span {
  font-size: 15px;
  color: #fff;
}
.sp-nav li a, .sp-nav li span {
  display: block;
  padding: 20px 0;
}
/*-閉じるアイコンー*/
.sp-nav .close {
  position: relative;
  padding-left: 20px;
}
.sp-nav .close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 16px;
  height: 1px;
  background: #fff;
  transform: rotate( 45deg );
}
.sp-nav .close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  display: block;
  width: 16px;
  height: 1px;
  background: #fff;
  transform: rotate( -45deg );
}
.toggle {
  transform: translateY( 0 );
  opacity: 1;
}
.main-visual {
  padding: 0 4%;
}
h2 {
  line-height: 1.6;
  text-align: center;
}

.contact-button {
  width: 400px;
  margin: 0 auto;
}

}
  /* ページトップに戻るボタンのスタイル */
  .page-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* 初期状態では非表示 */
    background-color: #00bfff;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    z-index: 1000;
  }
  
  .page-top-btn:hover {
    background-color: #87cefa;
  }  
