/* -------------------------------
   assets/style.css
   株式会社岩崎紘子事務所サイト用
---------------------------------- */

/* 全体共通 */
body {
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  color: #333;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

/* ヘッダー部分 */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

/* ロゴ画像 */
.logo {
  width: 120px !important;
  height: auto !important;
  display: block;
  object-fit: contain;
}

/* 社名とキャッチコピー */
.header-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-text h1 {
  font-size: 20px;
  margin: 0;
}

.header-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: #666;
}

/* ナビゲーション */
nav {
  background-color: #f3f0ed;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: center;
  padding: 10px 0;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

nav a:hover {
  background-color: #e0d9d4;
}

nav a.active {
  background-color: #c7b8a5;
  color: #fff;
}

/* メイン部分 */
main {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

h2 {
  border-bottom: 2px solid #c7b8a5;
  padding-bottom: 6px;
  margin-bottom: 20px;
}

p {
  line-height: 1.8;
}

/* テーブル */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

th, td {
  text-align: left;
  border-bottom: 1px solid #eee;
  padding: 10px 8px;
}

th {
  width: 25%;
  background-color: #fafafa;
  color: #555;
}

/* 問い合わせフォーム */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  align-self: flex-start;
  padding: 8px 20px;
  background-color: #c7b8a5;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #b09c82;
}

/* フッター */
footer {
  text-align: center;
  padding: 24px 0;
  color: #666;
  font-size: 13px;
  background-color: transparent;
}

/* レスポンシブ（スマホ） */
@media (max-width: 640px) {
  header {
    padding: 16px 20px;
    gap: 12px;
  }
  .logo {
    width: 100px !important;
  }
  main {
    margin: 20px auto;
  }
  nav {
    gap: 12px;
    padding: 8px 0;
  }
}
