/* 共通スタイル定義 */
:root {
  /* カラー変数 */
  --primary-color: #333;
  --secondary-color: #666;
  --background-color: #fff;
  --accent-color: #007bff;
  
  /* フォントサイズ変数 */
  --font-size-small: 0.875rem;
  --font-size-normal: 1rem;
  --font-size-large: 1.25rem;
  --font-size-xlarge: 1.5rem;
}

/* 共通レイアウト */
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--background-color);
}

.mainimg img {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ロゴ画像共通スタイル */
.logoimg {
  position: absolute;
  width: 15%;
  left: 36px;
  top: 28px;
  z-index: 2;
}

/* メインコンテンツエリア共通スタイル */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ナビゲーションメニュー共通スタイル */
.menu {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: right;
  padding: 0px;
  gap: 30px;
  position: absolute;
  width: 950px;
  height: 64px;
  left: 50px;
  top: 20px;
  z-index: 3;
}

.menu a {
  text-decoration: none;
  color: var(--primary-color);
}

.menu a:hover {
  color: var(--accent-color);
}

/* ハンバーガーメニュー共通スタイル */
.hamburger {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: right;
  padding: 0px;
  gap: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 3;
}

/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  .menu {
    display: none;
  }
  
  .hamburger {
    display: block;
    position: fixed;
    top: 1rem;
    right: 1rem;
  }
  
  .hamburger img {
    width: 30px;
    height: auto;
  }
} 

p.exp {
  /* 説明文 */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: right;
  color: #000000;
}

@media(max-width: 800px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

@media(min-width: 801px) {
  .menu {
    display: flex;
  }

  .hamburger {
    display: none;
  }
}

.button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.button {
  width: 200px;
  padding: 15px;
  text-align: center;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background 0.3s;
}

.button:hover {
  background-color: #0056b3;
}

.button-main {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50vh;
  background-color: #f0f0f0;
}


/* レスポンシブ対応の追加 */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px;
  }

  .main-title {
    font-size: 2rem;
  }

  .sub-title {
    font-size: 1.2rem;
  }

  .about-content h2,
  .vision-content h2 {
    font-size: 1.6rem;
  }

  .description {
    font-size: 1rem;
    line-height: 1.8;
  }

  .vision-text {
    font-size: 1.2rem;
  }
}