body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f9fafb;
    color: #111;
}

header {
    background-color: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
	display: flex;
	align-items: center;
	gap: 10px;
}

header .logo .logo_img img {
	display: block;
	height: auto;
}

header .logo .logo_title {
	font-weight: 800;
	font-size: 20px;
	color: #2c3e50;
}

header nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
}

/* ヘッダー・ナビのスマホ対応 */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  body{
    background: #FFF;
  }

  header {
    flex-wrap: wrap;
  }

  header .logo .logo_title {
	  font-weight: 600;
	  font-size: 15px;
	  color: #2c3e50;
  }

  .menu-toggle {
    display: block;
  }

  nav#main-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
    gap: 1rem;
  }

  nav#main-nav a {
    margin-left: 0;
    text-align: center;
  }

  nav#main-nav.active {
    display: flex;
  }
}

.hero {
    border-top: 2px solid #455a64;
    border-bottom: 2px solid #455a64;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem 2rem 5rem;
    background: linear-gradient(to bottom right, #628e8c, #26aa81);
    color: white;
    overflow: hidden;
    justify-content: center;
    position: relative;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-50px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(50px); }
    100% { opacity: 1; transform: translateX(0); }
}

.hero-text {
    max-width: 600px;
    text-align: left;
    animation: slideInLeft 1s ease-out forwards;
    z-index: 2;
}

.hero-image {
    animation: slideInRight 1s ease-out forwards;
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 120%;
    max-width: none;
    height: auto;
    transform: translateY(5%); /* 画像を少し下にずらして見切れさせる */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero button {
    transition: background-color 0.3s ease, transform 0.2s ease;
    background-color: #FFFFFF;
    color: #333;
    border: none;
    padding: 0.8rem 1.6rem;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 6px;
}

.hero button:hover {
    background-color: #73fbd0;
    transform: translateY(-3px);
}

/* 機能一覧 */
.features {
  padding: 3rem 1rem;
  max-width: 1200px; /* 中央寄せの幅制限 */
  margin: 0 auto;     /* 中央寄せ */
  background-color: #f9f9f9;
  font-family: sans-serif;
}

.features h3 {
  color: #26aa81;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 2rem; /* 間隔調整 */
  flex-wrap: wrap; /* スマホ対応 */
}

.feature img {
  max-width: 600px;
  width: 100%;
}

.feature h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.feature_text {
  flex: 1;
  min-width: 280px;
}

.feature:nth-of-type(even) {
  flex-direction: row-reverse;
}

/* 機能一覧 */
.function-list {
  padding: 50px 0px;
  background-color: #f9f9f9;
  text-align: center;
}

.function-list h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #26aa81;
}

.function-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));  /* アイテムを自動で横に並べる */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.function-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.function-item:hover {
  transform: translateY(-5px);
}

.function-item img {
  width: 100%;
  height: auto;
}

.function-item h4 {
  font-size: 1.2rem;
  margin-top: 15px;
  margin-bottom: 10px;
}

.function-item p {
  font-size: 0.95rem;
  color: #555;
  text-align: left;
}

.function-item p.command {
    font-size: 0.7rem;
    color: #919090;
}

/* インストール要件 */
.requirements {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 3rem 4rem;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.requirements h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 600;
}

.requirements ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}

.requirements li {
  margin-bottom: 0.8rem;
  font-size: 1rem;
}

/* 更新情報 */
.update-info {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0rem 2rem;
  border-radius: 12px;
}

.update-info h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #26aa81;
  text-align: center;
}

.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.update-list li {
  padding: 0.75rem 0;
  display: flex;
  align-items: center;
  font-size: 1.3rem;
}

.update-list li:last-child {
  border-bottom: none;
}

.update-date {
  font-size: 1.3rem;
  color: #888;
  margin-right: 1rem;
  white-space: nowrap;
}

.update-list a {
  color: #0073aa;
  text-decoration: none;
  flex: 1;
}

.update-list a:hover {
  text-decoration: underline;
}

/* フッター */
.site-footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    margin-top: 10rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: auto;
    display: block;
}

.footer-nav {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: #ecf0f1;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: #7fc2bd;
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* モーダル用 */
.image-modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.image-modal .modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
}

.image-modal .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}