/* 全体のスタイル */
/* 全体のスタイル */

body{
  font-family: Arial, sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  background-color: #f8f8f8;
  color: #333;
}

/* headerのスタイル */
header {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  text-align: center;
  width: 60%;
  margin: 0 auto;
}

/* navのスタイル */
nav {
  margin-top: 10px;
  text-align: center;
  background-color: #f8f8f8;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

nav ul li {
  width: 180px;
  text-align: center;
}

nav ul li a {
  display: block;
  text-decoration: none;
  color: white;
  padding: 10px;
  background-color: #4CAF50;
  border-radius: 5px;
  transition: background-color 0.3s;
}
nav ul li a.active, /* 現在のページ */
nav ul li a:hover { /* ホバー時 */
    color: red;
}

nav ul li a:hover {
  background-color: #45a049;
}
.image-slider {
  display: flex;
  flex-direction: row-reverse;
  overflow: hidden;
}

.image-slider img {
  width: 50%;
  transition: transform 5ms;
}
.slider {
  position: relative;
  overflow: hidden;
  width: 800px; /* Adjust as needed */
  height: 600px; /* Adjust as needed */
  margin: 0 auto;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out; /* Adjust transition timing as needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
}
/* mainのスタイル */
main {
  padding: 20px;
  background-color: #fff;
  max-width: 800px;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 各セクションのスタイル */
section {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

section h2 {
  color: #4CAF50;
  font-size: 1.5rem;
  margin-bottom: 10px;
  padding-left: 20px;
  border-left: 4px solid #4CAF50;
  border-bottom: 1px dotted #4CAF50;
}

section p, section ul, section ol {
  margin: 0;
  padding-left: 20px;
}
section p .path{
  margin-top: 50px;
  padding-top: 10px 20px;
}

/* ul, ol スタイル */
ul, ol {
  margin-bottom: 10px;
}

ul li, ol li {
  margin-bottom: 5px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  margin-bottom: 20px;
}

table, th, td {
  border: 1px solid #ddd;
}

th, td {
  padding: 10px;
  text-align: left;
}

th {
  background: #b5cfee;
  color: white;
}
.gazou img{
  text-align: center;
}
.intro {
  margin-bottom: 20px;
}
.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.text {
  width: 60%;
}
.image{
  width: 40%;
}
.image img {
  width: 100%;
  max-width: 300px;
  border: 1px solid #ccc;
}
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid-item {
  text-align: center;
}

.grid-item img {
  width: 80%;
  transition: transform 0.3s ease;
}
.grid-item img:hover {
  transform: translateX(10px);
}


/* footerのスタイル */
footer {
  background-color: #4CAF50;
  color: white;
  text-align: center;
  padding: 10px;
  margin-top: 20px;
}
