/* ============================================
   WIOの工事屋さん - Corporate Site Stylesheet
   Theme: #0d7377 (Teal)
   ============================================ */

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Sans", "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
}
a { color: #0d7377; text-decoration: none; transition: color 0.2s; }
a:hover { color: #095456; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Layout */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  background: #0d7377;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-logo a {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-logo img {
  height: 40px;
  width: auto;
}
.site-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.site-logo small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  opacity: 0.85;
}

/* Navigation */
.nav-list { display: flex; gap: 1.5rem; }
.nav-list a {
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav-list a:hover,
.nav-list a.current { color: #fff; border-bottom-color: #fff; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #0d7377 0%, #14a3a8 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.08) 0%, transparent 70%);
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { transform: translateX(-20%) translateY(-10%); }
  to { transform: translateX(20%) translateY(10%); }
}
.hero h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
  position: relative;
}
.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.hero .btn {
  margin-top: 2rem;
  position: relative;
}

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: #f0f8f8; }
.section-title {
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #0d7377;
}
.section-subtitle {
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); transform: translateY(-2px); }
.card h3 {
  font-size: 1.1rem;
  color: #0d7377;
  margin-bottom: 0.8rem;
}
.card p { font-size: 0.95rem; color: #555; }
.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.card img {
  border-radius: 6px;
  margin-bottom: 1rem;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* Page header (sub pages) */
.page-header {
  background: linear-gradient(135deg, #0d7377 0%, #14a3a8 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}
.page-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.page-header p {
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

/* Company info table */
.info-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}
.info-table th,
.info-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  font-size: 0.95rem;
}
.info-table th {
  width: 160px;
  color: #0d7377;
  font-weight: 600;
  background: #f0f8f8;
}

/* Content area */
.content-area {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.content-area h3 {
  font-size: 1.3rem;
  color: #0d7377;
  margin: 2rem 0 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid #0d7377;
}
.content-area p { margin-bottom: 1rem; }

/* Flow steps */
.flow-steps {
  max-width: 700px;
  margin: 0 auto;
}
.flow-step {
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid #e0e0e0;
  align-items: flex-start;
}
.flow-step:last-child { border-bottom: none; }
.flow-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #0d7377;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.flow-content h3 {
  font-size: 1.1rem;
  color: #0d7377;
  margin-bottom: 0.5rem;
}
.flow-content p {
  font-size: 0.95rem;
  color: #555;
}

/* Price cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.price-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: center;
}
.price-card-header {
  background: #0d7377;
  color: #fff;
  padding: 1.5rem;
}
.price-card-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}
.price-card-header p {
  font-size: 0.85rem;
  opacity: 0.85;
}
.price-card-body {
  padding: 2rem;
}
.price-card-body img {
  max-height: 250px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}
.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #0d7377;
  margin-bottom: 0.3rem;
}
.price-tax {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 1rem;
}
.price-detail {
  text-align: left;
  font-size: 0.9rem;
  color: #555;
}
.price-detail li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  padding-left: 1.2rem;
  position: relative;
}
.price-detail li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #0d7377;
  font-weight: 700;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption {
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  color: #555;
  background: #fff;
}

/* FAQ accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 2.5rem 1.2rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.6;
}
.faq-question::before {
  content: 'Q.';
  color: #0d7377;
  font-weight: 700;
  margin-right: 0.5rem;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #0d7377;
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 0 1.2rem 1.8rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
}
.faq-item.open .faq-answer {
  display: block;
}

/* W Guarantee badge */
.guarantee-section {
  text-align: center;
  padding: 3rem 0;
}
.guarantee-section img {
  max-width: 300px;
  margin: 0 auto 1.5rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #0d7377 0%, #14a3a8 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem;
}
.cta-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.cta-section p {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.cta-phone {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.cta-phone a { color: #fff; }
.cta-phone small {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* Footer */
.site-footer {
  background: #0a3a3c;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-primary { background: #0d7377; color: #fff; }
.btn-primary:hover { background: #095456; color: #fff; }
.btn-white { background: #fff; color: #0d7377; }
.btn-white:hover { background: #f0f8f8; color: #095456; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* Map */
.map-container {
  max-width: 800px;
  margin: 2rem auto 0;
}
.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #0d7377;
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .hero { padding: 3rem 1.5rem; }
  .hero h2 { font-size: 1.6rem; }
  .section { padding: 2.5rem 0; }
  .info-table th { width: 120px; }
  .flow-step { gap: 1rem; }
  .flow-num { width: 40px; height: 40px; font-size: 1rem; }
  .price-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .gallery-item img { height: 160px; }
  .footer-nav { gap: 1rem; }
  .cta-phone { font-size: 1.6rem; }
}
