@import url('https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap');

/* === 基本スタイル === */
body {
  font-family: 'Noto Sans JP', 'Yu Gothic UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.7;
}

/* === ヘッダー === */
.hero-header {
  background: #ffffff;
  padding: 3rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.logo-area {
  max-width: 800px;
  margin: 0 auto;
}

.logo-transparent {
  height: 120px;
  margin-bottom: 0.2rem;
  opacity: 0.96;
}

.company-name {
  margin-top: 0.1rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

header h1 {
  color: #003366;
  font-size: 2.2rem;
  margin: 0.2rem 0;
}

header p {
  color: #555;
  margin: 0;
  font-size: 1.05rem;
}

/* === ナビゲーション === */
nav {
  background-color: #e8e8e8;
  text-align: center;
  padding: 1rem 0;
  font-weight: bold;
}

nav a {
  color: #003366;
  margin: 0 1.5rem;
  text-decoration: none;
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}

/* === ヒーローエリア（画像＋テキスト） === */
.hero-image-text {
  position: relative;
  background: url('hero.jpg') center center / cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 2rem auto;
}

.hero-text {
  background: rgba(0, 0, 0, 0.55);
  padding: 2rem;
  border-radius: 12px;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero-image-text h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-image-text p {
  font-size: 1rem;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  word-break: keep-all;
  line-break: strict;
}

/* === セクション共通 === */
section {
  max-width: 960px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

section h2 {
  color: #003366;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

section p,
section li {
  font-size: 1rem;
}

/* === サービスカード === */
.service-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.service-card h3 {
  color: #003366;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}

/* === フッター === */
footer {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

/* === レスポンシブ対応 === */
@media screen and (max-width: 768px) {
  .logo-transparent {
    height: 80px;
    margin-bottom: 0.1rem;
  }

  header h1 {
    font-size: 1.5rem;
    margin: 0.1rem 0;
  }

  header p {
    font-size: 0.95rem;
  }

  nav a {
    display: inline-block;
    margin: 0.5rem 0.8rem;
    font-size: 0.95rem;
  }

  .hero-image-text {
    height: 300px;
    padding: 1rem;
  }

  .hero-text {
    padding: 1.5rem;
  }

  .hero-image-text h1 {
    font-size: 1.4rem;
    line-height: 1.6;
  }

  .hero-image-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    word-break: keep-all;
    line-break: strict;
  }

  section {
    padding: 1.5rem 1rem;
  }

  .service-card {
    padding: 1.2rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}