/* =============================
   株式会社Airu Webサイト用CSS
   白背景＋上品で清潔なデザイン
   ============================= */

/* ===== ベース設定 ===== */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #222;
  background: linear-gradient(to bottom right, #ffffff, #f7f9fc);
  background-attachment: fixed;
  overflow-x: hidden;
}

/* コンテナ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ヘッダー ===== */
header {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px 0 15px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #0d1b4d;
  letter-spacing: 1px;
  margin: 0 0 10px;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  display: inline-block;
}

.nav-menu a {
  display: inline-block;
  padding: 10px 22px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d1b4d;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-menu a:hover {
  background: #0d1b4d;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== ページヒーロー共通デザイン ===== */
.page-hero {
  text-align: center;
  padding: 160px 20px 220px;
  background: linear-gradient(to bottom, #eef3ff, #ffffff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
  color: #0d1b4d;
  letter-spacing: 1px;
}

.page-hero p {
  font-size: 1.1rem;
  color: #444;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== メインコンテンツ ===== */
main {
  padding: 100px 20px;
}

h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 40px;
  color: #0d1b4d;
}

p {
  line-height: 1.8;
}

/* ===== カードレイアウト ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #0d1b4d;
}

.card-body p {
  color: #555;
  line-height: 1.6;
}

.card-body .date {
  font-size: 0.9rem;
  color: #777;
  display: block;
  margin-bottom: 10px;
}

/* ===== セクション交互の背景 ===== */
section {
  position: relative;
  padding: 100px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

section:nth-of-type(even) {
  background: #f8faff;
}

/* ===== ヒーロー（トップページ専用） ===== */
.hero {
  text-align: center;
  padding: 180px 20px 200px;
  background: linear-gradient(to bottom, #eef3ff, #ffffff);
}

.hero h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #0d1b4d;
}

.hero p {
  font-size: 1.1rem;
  color: #444;
}

/* ===== ニュース・実績ページ調整 ===== */
.news, .case-studies {
  background: #ffffff;
  color: #222;
}

/* ===== フッター ===== */
footer {
  background: #f2f4f8;
  color: #555;
  padding: 30px 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===== リンク ===== */
a {
  color: #0d1b4d;
  text-decoration: none;
}

a:hover {
  color: #0047ff;
}

/* ===== ビジョンセクション（任意追加用） ===== */
.vision {
  text-align: center;
  padding: 120px 20px;
  background: linear-gradient(to bottom, #f8faff, #ffffff);
}

.vision h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #0d1b4d;
}

.vision p {
  color: #444;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===== スクロールアニメーション準備（まだ非表示なし） ===== */
section {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== お問い合わせフォーム ===== */
.contact-form {
  background: #ffffff;
  padding: 120px 20px;
}

.contact-form .container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form h2 {
  text-align: center;
  color: #0d1b4d;
  margin-bottom: 50px;
  font-size: 1.8rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 600;
  color: #0d1b4d;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0047ff;
  background: #fff;
  box-shadow: 0 0 5px rgba(0,71,255,0.2);
}

.contact-form button {
  align-self: center;
  width: 50%;
  padding: 15px;
  background: #0d1b4d;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background: #0047ff;
  transform: translateY(-2px);
}
