* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  color: #333;
  line-height: 1.7;
}

/* ヘッダー */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: #1a73e8;
}

.nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.nav a:hover {
  color: #1a73e8;
}

/* ヒーロー */
.hero {
  height: 70vh;
  background: url("hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.hero-inner {
  text-align: center;
  background: #ffffffdd;
  padding: 30px 20px;
  border-radius: 8px;
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 28px;
}

.hero p {
  margin: 0 0 20px;
  font-size: 16px;
}

.btn-primary {
  display: inline-block;
  padding: 10px 24px;
  background: #1a73e8;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
}

.btn-primary:hover {
  background: #1559b5;
}

/* セクション共通 */
.section {
  padding: 60px 20px;
}

.section-gray {
  background: #f7f7f7;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 24px;
  border-left: 4px solid #1a73e8;
  padding-left: 10px;
}

/* about */
.about-points {
  list-style: none;
  padding: 0;
}

.about-points li {
  margin-bottom: 8px;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.card h3 {
  margin-top: 0;
}

/* works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.work-item {
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.work-thumb {
  height: 160px;
  border-radius: 4px;
  margin-bottom: 10px;
  background-size: cover;
  background-position: center;
  background-color: #ddd;
}

/* 仮の背景画像（実際は差し替え） */
.work-thumb-1 { background-image: url("work1.jpg"); }
.work-thumb-2 { background-image: url("work2.jpg"); }
.work-thumb-3 { background-image: url("work3.jpg"); }

/* flow */
.flow-list {
  list-style: none;
  padding: 0;
  counter-reset: flow;
}

.flow-list li {
  margin-bottom: 16px;
  padding-left: 4px;
}

/* contact */
.contact-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-family: inherit;
  font-size: 14px;
}

/* footer */
.footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 16px 10px;
  font-size: 12px;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    margin-top: 8px;
  }

  .hero {
    height: 60vh;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}