/* Reset and base styles */
* {
  box-sizing: border-box;
}
body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic Pro", Meiryo, sans-serif;
  margin: 0;
  line-height: 1.6;
  color: #333;
/*  background-color: #f8f9fa; */
}

.container-top {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 0;
  background-image: url(img/top.png);
  background-size:cover;

}
.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 0;
}


/* ヘッダー・ファーストビュー */
header {
/*  background: linear-gradient(135deg, #007acc, #004a80);*/
  color: #fff; 
  text-align: center;
  padding: 3rem 1rem 4rem;
}
header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.sub-copy {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.btn-primary {
  display: inline-block;
  background-color: #007acc;
  color: #fff;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin: 0.3rem;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #005ea0;
  outline: none;
}

/* セクション見出し */
.problems h2,
#services h2,
.benefits h2,
#works h2,
#pricing h2,
#faq h2,
#contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #004a80;
  border-bottom: 3px solid #007acc;
  padding-bottom: 0.3rem;
}

/* 共感・課題提示 */
.problems .lead {
  font-weight: 600;
  margin-bottom: 1rem;
}

.problems ul {
  list-style: inside disc;
  margin-left: 0;
  padding-left: 1rem;
  margin-bottom: 3rem;
}

/* サービス紹介カード型グリッド */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.service-card .icon {
  font-size: 3rem;
  margin-bottom: 0.8rem;
  color: #007acc;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #004a80;
}

.service-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* ベネフィット */
.benefits ul {
  list-style: inside circle;
  margin-left: 0;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}
.benefits ul li {
  margin-bottom: 0.7rem;
}
.benefits p.text-center {
  text-align: center;
  font-style: italic;
  color: #004a80;
}

/* 施工事例 */
.works {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.work-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.work-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.work-item .desc {
  padding: 1rem;
  font-size: 0.9rem;
  color: #444;
}
.testimonial {
  margin-top: 0.8rem;
  font-weight: 600;
  color: #007acc;
  font-style: normal;
}

/* 料金表 */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.price-table th,
.price-table td {
  border: 1px solid #ddd;
  padding: 0.8rem 1rem;
  text-align: left;
}
.price-table th {
  background-color: #007acc;
  color: #fff;
}

/* FAQ */
.faq dl {
  margin: 0 0 2rem 0;
}
.faq dt {
  font-weight: 700;
  margin-top: 1rem;
  color: #004a80;
}
.faq dd {
  margin-left: 1rem;
  margin-bottom: 1rem;
  color: #333;
}

/* 最後のCTA */
.final-cta {
  text-align: center;
  background-color: fffffff;
  color: #000000;
  padding: 2rem 1rem;
  margin-bottom: 3rem;
  border-radius: 8px;
}
.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}
.final-cta a.btn-primary {
  margin: 0 0.3rem;
  background-color: #005ea0;
}
.final-cta a.btn-primary:hover,
.final-cta a.btn-primary:focus {
  background-color: #003f6b;
}

/* お問い合わせフォーム */
form {
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
form label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 600;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 1.2rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}
form textarea {
  min-height: 100px;
}
form button.btn-primary {
  width: 100%;
  font-size: 1.1rem;
  padding: 0.8rem;
  border: none;
  border-radius: 6px;
  background-color: #007acc;
  color: #fff;
  cursor: pointer;
}
form button.btn-primary:hover,
form button.btn-primary:focus {
  background-color: #005ea0;
  outline: none;
}

/* requiredマーク */
.required {
  color: red;
  margin-left: 0.15em;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem 0;
  background-color: #004a80;
  color: #fff;
  font-size: 0.9rem;
  margin-top: 4rem;
}

/* レスポンシブ */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.6rem;
  }
  .service-card {
    padding: 1.2rem 1rem;
  }
  .works {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}
/* ヘッダーロゴ＆電話番号 */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: fffffff;
  padding: 0.5rem 1rem;
}
.logo {
  height: 50px;
}
.header-contact {
  text-align: right;
  color: #000000;
  font-size: 0.9rem;
}
.phone-number {
  display: block;
  font-size: 1.2rem;
  color: #000000;
  text-decoration: none;
  font-weight: bold;
}
.phone-number:hover {
  text-decoration: underline;
}

/* フッター情報 */
.footer-info {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.footer-info p {
  margin: 0.2rem 0;
}
.footer-info strong {
  font-size: 1.1rem;
}

/* 会社情報 */
.company-info h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #004a80;
  border-bottom: 3px solid #007acc;
  padding-bottom: 0.3rem;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.company-table th,
.company-table td {
  border: 1px solid #ddd;
  padding: 0.8rem 1rem;
  text-align: left;
}

.company-table th {
  background-color: #f0f6fb;
  color: #004a80;
  width: 30%;
  font-weight: 600;
}

