/* === ベーススタイル（モバイルファースト） === */
body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.6;
  padding: 0;
}

/* ヘッダー */
h1 {
	margin:0;
	color: white;
}
h1 a {
	color: white;
    text-decoration: none;
}
.site-header {
  background: linear-gradient(to right, #f26c00, #f78d1d);
  color: white;
  padding: 1rem;
  text-align: center;
}

.site-title {
  margin: 0;
  font-size: 1.6rem;
}

.main-nav {
  margin-top: 0.5rem;
}

.nav-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-evenly;
}

.nav-item {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-item:hover {
  text-decoration: underline;
}
.train-container {
  position: relative;
  width: 100%;
  height: 170px;
  overflow: hidden;
}
.train{
	text-align: center;
    background: antiquewhite;
    color: orange;
    font-weight: bold;
}
.slide-image {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 25%; /* 必要に応じて画像サイズを調整 */
  animation: slideLoop 3s linear infinite;
}

@keyframes slideLoop {
  0% {
    left: 100%;
  }
  100% {
    left: -150px; /* 画像の幅ぶんだけ通り過ぎる */
  }
}

/* セクション共通 */
.section {
  padding: 2rem 1rem;
}

.section-title {
  font-size: 1.5rem;
	text-align: center;
    color: #f6900a;
    font-weight: bold;
}

.section-text,
.service-list {
  font-size: 1rem;
}

/* サービスリスト */
.service-list {
    padding: 0;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    flex-direction: column;
}
.service-item {
list-style: none;
    margin: auto;
}
.service-item img{
	width: 100%;
}
/* サイトマップ */

.sitemap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: auto;
    max-width: 1420px;
    justify-content: space-evenly;
}

.sitemap .category {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.sitemap h2 {
    color: #ff6600;
    font-size: 20px;
    border-bottom: 2px solid #ff6600;
    padding-bottom: 5px;
}

.sitemap ul {
    list-style: none;
    padding: 0;
}

.sitemap ul li {
    margin: 10px 0;
}

.sitemap ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    transition: color 0.3s;
}

.sitemap ul li a:hover {
    color: #ff6600;
}

/* フォーム */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-input,
.form-textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.form-textarea {
  min-height: 100px;
}

.form-button {
  padding: 0.8rem;
  background-color: #1e1e1e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.form-button:hover {
  background-color: #444;
}

/* フッター */
.site-footer {
  text-align: center;
  padding: 1rem;
  background: #1e1e1e;
  color: white;
  font-size: 0.9rem;
}
.terms ol{
	padding:0;
}
/* === メディアクエリ：タブレット以上（768px〜） === */
@media (min-width: 768px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    text-align: left;
  }

  .main-nav {
    margin-top: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 1rem;
  }

  .section {
    padding: 3rem 2rem;
    max-width: 1420px;
    margin: auto;
  }
}

/* === メディアクエリ：デスクトップ以上（1024px〜） === */
@media (min-width: 1024px) {
  .site-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

.service-list {
flex-direction: row;
}

.service-item {
    margin-bottom: 0.5rem;
    list-style: none;
	width: 33%;
	    margin: 0.1%;
}
.service-item img{
	width: 100%;
}
  .form-input,
  .form-textarea {
    max-width: 600px;
    margin: auto;
  }

  .form-button {
    width: 200px;
    margin: auto;
  }
}
