body {
  font-family: sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}

header {
  background: url("top_bg.png") center top/cover no-repeat;
  height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  padding-top: 40px;
  padding-bottom: 40px;
}

header h1, header p {
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 6px;
  margin: 5px;
  text-align: center;
}

header .cta {
  display: inline-block;
  margin-top: 1em;
  padding: 0.7em 1.5em;
  background: #ffcc00;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
}

main {
  padding: 2em;
}

section {
  margin-bottom: 2em;
  padding: 40px 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: 1.8em;
  color: #444;
  border-left: 6px solid #ffa726;
  padding-left: 10px;
  margin-bottom: 20px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li::before {
  content: "👉 ";
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.service-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.service-card h3 {
  margin-top: 0;
  color: #f57c00;
}

.gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.gallery img {
  width: 220px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.gallery p {
  text-align: center;
  font-size: 0.9em;
  margin-top: 5px;
}

.voice-box {
  display: flex;
  gap: 20px; /* 余裕を少し増加 */
  margin-bottom: 30px;
  align-items: flex-start;
}

.voice-box img {
  width: 80px; /* ← ここを拡大 */
  height: 80px; /* ← ここも拡大 */
  border-radius: 50%;
  object-fit: cover;
}

.voice-text {
  background: #f1f1f1;
  padding: 10px 15px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 1em;
  line-height: 1.5;
}

.cta {
  background: #ffe0b2;
  text-align: center;
  padding: 40px 20px;
  border-radius: 10px;
  margin-top: 40px;
}

.cta h2 {
  border: none;
  color: #e65100;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  background: #f57c00;
  color: white;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #ccc;
}

th, td {
  padding: 0.7em;
  text-align: left;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1em;
}
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.96);
  padding: 12px 10px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.floating-btn {
  flex: 1;
  max-width: 45%;
  margin: 0 6px;
  padding: 12px 0;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  font-size: 1em;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.3s ease;
}

.floating-btn.call {
  background-color: #f57c00;
}

.floating-btn.line {
  background-color: #43b581;
}

.floating-btn:hover {
  opacity: 0.85;
}
/* 背景色統一用クラス */
.bg-cream {
  background-color: #fdfaf5;
}

.bg-white {
  background-color: #ffffff;
}

.bg-lightgray {
  background-color: #f9f9f9;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.service-card {
  background: #fffaf0;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: flex;
  gap: 15px;
  align-items: center;
}

.service-card img {
  width: 70px;
  height: 70px;
  border-radius: 8px;
}

.service-card h3 {
  color: #f57c00;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.service-card ul li {
  font-size: 1.05em;
  line-height: 1.6;
}
/* ここまでが今のstyle.cssの内容 */

/* ↓この部分を一番最後に追加してください */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr !important;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  nav a {
    margin: 8px 0;
    font-size: 1.2em;
  }

  .gallery img {
    width: 100%;
    max-width: 300px;
  }

  .voice-box {
    flex-direction: column;
    align-items: center;
  }

  .voice-text {
    max-width: 100%;
  }
@media screen and (max-width: 768px) {
  .line-fixed-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #06C755;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 16px;
    border-radius: 24px;
    text-align: center;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    max-width: 250px;
    width: auto;
  }

  .line-btn-text {
    display: inline-block;
    line-height: 1.4;
  }
}
