:root {
  --accent: #ff6f61;
  --bg: #ffffff;
  --text: #333;
}

*, *:before, *:after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ベース設定 */
body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.6;
  background-color: var(--bg);
  color: var(--text);
}

h1, h2, h3, h4 {
  font-family: "Yu Mincho", "Noto Serif JP", serif;
  color: #003366;
  margin-bottom: 0.5em;
}

section {
  padding: 4rem 2rem;
}

header {
  height: 56px;
  padding: 1rem;
}

header img {
  height: 24px;
}

/* ヒーローセクション */
.hero {
  width: 100%;
  height: calc(100vh - 56px);
  background-color: rgba(230, 245, 255, 0.8);
  overflow: hidden;
  padding: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-text {
  padding-left: 4rem;
}

@media (max-width: 768px) {
	.hero-text {
	  padding-left: 0;
	}
}

.hero-text h1 {
  font-size: 2rem;
}
.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.hero-image img {
  width: auto;
  height: auto;
}

@media (max-width: 768px) {
	.hero-image img {
	  width: 100%;
	}
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0,0,0,.5);
  width: 600px;
  max-width: 90%;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
}

.bg-image img {
  width: 100%;
  height: auto;
}

#ctaBtn {
  background-color: #007acc;
  color: #fff;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}
#ctaBtn:focus {
  outline: 2px solid #005fa3;
}

/* クライアントの声 */
.testimonials {
  background-color: #fff;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-grid article {
  background-color: #f5f9fc;
  padding: 1rem;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* サービス紹介 */
.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: #ffffff;
  border-left: 4px solid #007acc;
  padding: 1rem;
  border-radius: 6px;
}

/* FAQセクション */
.faq button {
  background: none;
  border: none;
  font-size: 1rem;
  color: #007acc;
  cursor: pointer;
  padding: 0.5rem 0;
}
.faq-answer {
  padding: 0.5rem 1rem;
  background-color: #eef6fc;
  border-left: 3px solid #007acc;
  margin-bottom: 1rem;
}

/* フッター */
footer {
  background-color: #003366;
  color: #fff;
  padding: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
footer a {
  color: #fff;
  text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



br.sp {
  display: none;
}

@media (max-width: 768px) {
  br.sp {
    display: block;
  }
}