/* ========================================
   森本ガス風呂店 - style.css (Corporate Teal)
   ======================================== */

:root {
  --c-primary: #20A39E;
  --c-primary-dark: #178A85;
  --c-primary-light: #3EBFB5;
  --c-navy: #1F2E3D;
  --c-navy-soft: #34495E;
  --c-text: #2C3E50;
  --c-text-soft: #5C6E7F;
  --c-line: #E5EBEE;
  --c-bg-soft: #F7F9FA;
  --c-white: #FFFFFF;
  --shadow-sm: 0 2px 10px rgba(31, 46, 61, 0.06);
  --shadow-md: 0 6px 24px rgba(31, 46, 61, 0.10);
  --shadow-lg: 0 12px 40px rgba(31, 46, 61, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif;
  color: var(--c-text);
  line-height: 1.8;
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary-dark); text-decoration: none; }
em { font-family: 'Cormorant Garamond', serif; font-style: italic; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.02em;
}
.brand-sub {
  font-size: 10px;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.global-nav { flex: 1; display: flex; justify-content: center; }
.global-nav ul { display: flex; gap: 28px; list-style: none; }
.global-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--c-navy);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.global-nav a:hover { color: var(--c-primary); }
.global-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--c-primary);
  transition: width 0.2s, left 0.2s;
}
.global-nav a:hover::after { width: 100%; left: 0; }

.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.tel-label { font-size: 10px; color: var(--c-text-soft); letter-spacing: 0.1em; }
.tel-number {
  font-size: 20px;
  font-weight: 900;
  color: var(--c-navy);
  letter-spacing: 0.02em;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-primary);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.2s;
}
.btn-cta:hover { background: var(--c-primary-dark); transform: translateY(-1px); }
.btn-cta svg { width: 16px; height: 16px; }

/* ========== HERO ========== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  max-height: 780px;
  overflow: hidden;
  color: var(--c-white);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.18); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(23, 138, 133, 0.85) 0%, rgba(32, 163, 158, 0.55) 55%, rgba(31, 46, 61, 0.3) 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  pointer-events: none;
}
.hero-pattern svg { width: 100%; height: 100%; }
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 30px;
}
.hero-inner {
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding-left: 20px;
  position: relative;
}
.hero-inner::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  background: var(--c-white);
}
.hero-title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}
.hero-title-line {
  display: inline-block;
  background: rgba(31, 46, 61, 0.15);
  padding: 4px 20px 8px;
  margin-bottom: 8px;
  backdrop-filter: blur(2px);
}
.hero-sub {
  font-size: clamp(20px, 3vw, 30px);
  color: var(--c-white);
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.hero-scroll {
  position: absolute;
  right: 40px;
  bottom: 24px;
  color: var(--c-white);
  font-size: 11px;
  letter-spacing: 0.3em;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: var(--c-white);
  opacity: 0.6;
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -30px;
  left: 0;
  width: 100%;
  height: 30px;
  background: var(--c-white);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -30px; }
  100% { top: 60px; }
}

/* ========== SECTION COMMON ========== */
.section-label {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--c-primary);
  letter-spacing: 0.25em;
  margin-bottom: 12px;
  font-style: italic;
}
.section-label.light { color: var(--c-white); opacity: 0.95; }
.section-heading {
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 900;
  color: var(--c-navy);
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.section-heading.light { color: var(--c-white); }
.section-head-center {
  text-align: center;
  margin-bottom: 56px;
}

/* ========== ABOUT ========== */
.about {
  padding: 100px 0;
  background: var(--c-white);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  left: -80px;
  top: 60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(32, 163, 158, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-text .section-heading { margin-bottom: 32px; }
.about-body p {
  color: var(--c-text-soft);
  font-size: 15px;
  line-height: 2.1;
  margin-bottom: 4px;
}
.about-visual {
  position: relative;
  padding: 20px 20px 0 0;
}
.about-photo {
  position: relative;
  overflow: hidden;
  clip-path: polygon(6% 0, 100% 0, 100% 94%, 0 100%, 0 6%);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-accent {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 60%;
  height: 60%;
  background: var(--c-primary);
  z-index: -1;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  opacity: 0.15;
}

/* ========== SERVICES ========== */
.services {
  padding: 100px 0 120px;
  background: linear-gradient(135deg, var(--c-primary-dark) 0%, var(--c-primary) 100%);
  position: relative;
  overflow: hidden;
}
.services-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--c-white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.sc-photo {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.sc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .sc-photo img { transform: scale(1.05); }
.sc-body {
  padding: 24px 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.sc-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--c-navy);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.sc-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--c-primary);
  font-size: 13px;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.sc-desc {
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.9;
  margin-bottom: 16px;
  flex: 1;
}
.sc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sc-tags span {
  background: var(--c-bg-soft);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--c-line);
}

/* ========== REASONS ========== */
.reasons { padding: 100px 0; background: var(--c-bg-soft); }
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.reason-item {
  background: var(--c-white);
  padding: 40px 30px 32px;
  border-radius: 6px;
  position: relative;
  border-top: 4px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s;
}
.reason-item:hover { transform: translateY(-4px); }
.reason-num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 60px;
  color: var(--c-primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.reason-title {
  font-size: 20px;
  color: var(--c-navy);
  margin-bottom: 4px;
  font-weight: 900;
}
.reason-en {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--c-primary);
  font-size: 12px;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
.reason-desc {
  color: var(--c-text-soft);
  font-size: 14px;
  line-height: 1.9;
}

/* ========== COMPANY ========== */
.company { padding: 100px 0; background: var(--c-white); }
.company-inner {
  max-width: 820px;
  margin: 0 auto;
}
.company-table {
  border-top: 1px solid var(--c-line);
}
.ct-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 22px 12px;
  border-bottom: 1px solid var(--c-line);
  gap: 24px;
}
.ct-row dt {
  color: var(--c-navy);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  position: relative;
  padding-left: 18px;
}
.ct-row dt::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  background: var(--c-primary);
}
.ct-row dd {
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.9;
}
.ct-row dd a { color: var(--c-primary-dark); font-weight: 700; }

/* ========== CONTACT ========== */
.contact {
  padding: 100px 0;
  background: var(--c-navy);
  color: var(--c-white);
  position: relative;
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.contact-tel-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
}
.ctb-label {
  font-size: 13px;
  letter-spacing: 0.2em;
  opacity: 0.75;
  margin-bottom: 12px;
}
.ctb-number {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  color: var(--c-white);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.ctb-number svg { width: clamp(26px, 4vw, 36px); height: clamp(26px, 4vw, 36px); color: var(--c-primary-light); }
.ctb-hours { font-size: 13px; opacity: 0.75; }

/* ========== FOOTER ========== */
.site-footer {
  background: #14202B;
  color: var(--c-white);
  padding: 30px 20px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; flex-direction: column; line-height: 1.3; }
.footer-name { font-weight: 700; font-size: 14px; }
.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--c-primary-light);
  font-size: 11px;
  letter-spacing: 0.2em;
}
.footer-copy { font-size: 11px; opacity: 0.6; letter-spacing: 0.1em; }

/* ========================================
   TABLET (~ 960px)
   ======================================== */
@media (max-width: 960px) {
  .header-inner { padding: 10px 16px; gap: 12px; flex-wrap: wrap; }
  .global-nav { display: none; }
  .brand { flex: 1; }
  .header-tel { display: none; }
  .btn-cta { padding: 10px 16px; font-size: 13px; }

  .hero-scroll { display: none; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual { padding: 0; }

  .service-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .reason-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; gap: 20px; }

  section.about, section.services, section.reasons, section.company, section.contact { padding: 70px 0; }
}

/* ========================================
   MOBILE (~ 560px)
   ======================================== */
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .header-inner { padding: 10px 14px; }
  .brand-name { font-size: 15px; }
  .brand-sub { font-size: 9px; }
  .brand-logo { width: 34px; height: 34px; }
  .btn-cta { padding: 8px 14px; font-size: 12px; }
  .btn-cta svg { width: 14px; height: 14px; }

  .hero { height: 78vh; min-height: 480px; }
  .hero-content { padding: 0 16px; }
  .hero-inner { padding-left: 14px; }
  .hero-inner::before { width: 3px; }
  .hero-title { font-size: 26px; line-height: 1.35; }
  .hero-title-line { padding: 2px 10px 5px; margin-bottom: 6px; }
  .hero-sub { font-size: 18px; }

  .section-head-center { margin-bottom: 40px; }
  .section-label { font-size: 14px; }

  .about-body p { font-size: 14px; line-height: 2.0; }

  .sc-body { padding: 20px 18px 24px; }
  .sc-title { font-size: 18px; }

  .reason-item { padding: 32px 24px 26px; }
  .reason-num { font-size: 50px; }
  .reason-title { font-size: 18px; }

  .ct-row {
    grid-template-columns: 100px 1fr;
    padding: 16px 8px;
    gap: 14px;
  }
  .ct-row dt { font-size: 12px; padding-left: 14px; }
  .ct-row dt::before { width: 6px; height: 6px; top: 10px; }
  .ct-row dd { font-size: 14px; }

  .contact-tel-box { padding: 30px 20px; }

  .footer-inner { flex-direction: column; text-align: center; gap: 10px; }
}
