/* -----------------------------------------
   グローバルスタイル & レイアウト
----------------------------------------- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden; /* 縦横スクロールバーを発生させない */
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  font-family: 'Noto Sans JP', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: none;
  color: inherit;
}

/* -----------------------------------------
   ヘッダー
----------------------------------------- */
header {
  width: 100%;
  background-color: #34495e; /* ダークブルー系 */
  color: #fff;
  padding: 0.5em 1em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  width: 8em;
}
nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav li + li {
  margin-left: 1.5em;
}
nav a:hover {
  text-decoration: underline;
}
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* -----------------------------------------
   モバイルメニュー
----------------------------------------- */
.mobile-menu {
  display: none;
  background-color: #2c3e50;
}
.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu li {
  border-top: 1px solid #3b4a59;
}
.mobile-menu a {
  display: block;
  padding: 0.75em 1em;
  color: #fff;
}
.mobile-menu a:hover {
  background-color: #3b4a59;
}
.mobile-menu.active {
  display: block;
}

/* -----------------------------------------
   メインコンテンツ（TOP Hero領域）
----------------------------------------- */
main.top {
  flex: 1; /* ヘッダー・フッター以外の残り領域 */
  position: relative;
  background: url('../img/office.jpg') center center no-repeat;
  background-size: contain;  /* 画像全体を表示 */
  background-color: #1e3a5f;   /* 画像の余白部分は青系 */
}

/* コメントオーバーレイ */
.comment-overlay {
  position: absolute;
  bottom: 10%;
  right: 5%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 1em;
  border-radius: 0.5em;
  max-width: 80%;
  font-size: 1.5rem;  /* コメントの文字サイズ大きめ */
}

/* 企業情報ページ用カードレイアウト */
main.corporate-info {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background-color: #f0f8ff;  /* パステルブルー（AliceBlue） */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

main.corporate-info article h2 {
  margin-bottom: 15px;
  color: #34495e;
}

/* 定義リストのスタイル */
.info-section dt {
  font-weight: bold;
  margin-top: 15px;
}
.info-section dd {
  margin-bottom: 10px;
}
.info-section dd ol {
  margin: 0;
  padding-left: 0;
  /* リストマーカーを本文内に表示（必要に応じて調整） */
  list-style-position: inside;
}

/* メッセージページ用カードレイアウト */
main.message-page {
  max-width: 800px;
  margin: 20px auto;
  padding: 30px;
  background-color: #f0f8ff;  /* パステルブルー（AliceBlue） */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.message-content h2 {
  margin-bottom: 15px;
  color: #34495e;
}

.message-text {
  font-size: 1.2em;
  line-height: 1.8;
  color: #333;
}

/* -----------------------------------------
   フッター
----------------------------------------- */
footer {
  width: 100%;
  background-color: #34495e;
  color: #fff;
  text-align: center;
  padding: 1em;
}

/* -----------------------------------------
   レスポンシブ対応
----------------------------------------- */
@media (max-width: 768px) {
  nav {
    display: none;
  }
  main.corporate-info {
    padding: 20px;
    margin: 10px;
  }
  body.corporate-info {
    /* 他のページと異なり、縦方向のスクロールを許可 */
    overflow-y: auto;
  }
  .hamburger {
    display: block;
  }
  .comment-overlay {
    bottom: 35%;
    font-size: 1.1rem;
    padding: 0.75em;
  }
  .logo {
    font-size: 0.9rem;
  }
  main.message-page {
    padding: 20px;
    margin: 10px;
  }
  .message-text {
    font-size: 1.1em;
  }

}
