@charset "UTF-8";

body {
  background: #f7f7f7;
  margin: 0;
  padding: 0;
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

/* ヘッダー全体 */
header {
  padding-top: 60px; /* ←ここで上に余白を作る */
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  background: transparent;
  text-align: center;
}

/* タイトル */
header h1 {
  font-size: 2rem;
  font-weight: normal;
  margin: 0 0 0 20px;
  letter-spacing: 0.03em;
  text-align: center;
}

/* ナビゲーション */
header nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0 20px 0 0;
  padding: 0;
  text-align: center;
}

header nav ul li a {
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  transition: color 0.2s;
}

header nav ul li a:hover {
  color: #888;
}

/* メインビジュアル */
#mainvisual {
  margin: 40px auto 0;
  max-width: 1200px;
  width: 100%;
}

#mainvisual img {
  display: block;
  width: 100%;
  height: 400px;        /* 画像を大きくする */
  object-fit: cover;    /* アスペクト比を保ちつつトリミング */
  border-radius: 0;
  box-shadow: none;
}

/* 以下はお好みで */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  background: transparent;
}

section {
  margin-top: 40px;
}

#about {
  text-align: center;
}

/* ulのリストスタイルを消して中央に */
#about ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px auto;
  display: inline-block; /* 横幅を内容に合わせて中央寄せ */
  text-align: left;      /* リスト内だけ左寄せにするなら */
}

/* li要素のデザイン調整（必要なら） */
#about li {
  margin-bottom: 10px;
}

/* セクションタイトル */
.sec-title {
  margin-bottom: 20px;
}

#works ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列 */
  gap: 32px; /* 画像間の余白 */
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 960px; /* 必要に応じて調整 */
}

#works img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px; /* お好みで角丸 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  object-fit: cover;
}

.wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.sec-title {
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  font-size: 2rem;
  font-weight: bold;
}

#news dl {
  width: 90%;
  margin: 0 auto;
  border-collapse: collapse;
}

#news dt, #news dd {
  display: inline-block;
  vertical-align: top;
  padding: 16px 8px;
}

#news dt {
  width: 20%;
  color: #888;
  text-align: left;
  font-weight: normal;
}

#news dd {
  width: 58%;
  border-bottom: 1px solid #ccc;
  margin-left: 0;
}

#news dl dt:not(:first-of-type) {
  margin-top: 0; /* 不要なスペース除去 */
}
#news dl dd:last-child {
  border-bottom: none;
}

#contact {
  text-align: center;
  margin: 60px 0 40px 0;
}

/* Contactタイトル */
#contact .sec-title {
  font-size: 2em;
  margin-bottom: 30px;
  font-weight: bold;
}

/* フォーム本体の枠・中央寄せ */
#contact form {
  display: inline-block;
  text-align: left;
  border: 1px solid #aaa;
  padding: 40px 40px 30px 40px;
  border-radius: 2px;
  min-width: 500px;
  background: #fff;
}

#contact dl {
  margin: 0 0 20px 0;
}

#contact dt {
  margin-bottom: 8px;
  font-size: 1em;
  font-weight: normal;
}

#contact dd {
  margin: 0 0 20px 0;
}

#contact input[type="text"],
#contact input[type="email"],
#contact textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #aaa;
  padding: 10px;
  font-size: 1em;
  background: transparent;
  margin-bottom: 5px;
}

#contact textarea {
  height: 100px;
  resize: vertical;
}

/* 送信ボタンを大きく黒く */
#contact .button {
  text-align: center;
  margin-top: 20px;
}

#contact input[type="submit"] {
  width: 220px;
  height: 50px;
  background: #111;
  color: #fff;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
#contact input[type="submit"]:hover {
  background: #333;
}

