/* ===========================
   コミュプロ広島 — free-chair-622.css
   =========================== */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #62BD00;
  --primary-hover: #4C8A0A;
  --secondary: #1a1a2e;
  --text: #000;
  --text-gray: #666;
  --bg-light: #F5F5F5;
  --white: #fff;
  --footer-bg: #1a1a2e;
  --card-shadow: 0 22px 40px rgba(0,0,0,.15);
  --radius: 3px;
  --font: 'Rubik', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.3;
}

h2 { font-weight: 300 !important; }
p  { font-weight: 400 !important; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === CONTAINERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }

.section-title {
  font-size: 2rem;
  font-weight: 300 !important;
  margin-bottom: 10px;
  color: var(--secondary);
}

.section-subtitle {
  font-family: var(--font);
  font-weight: 500 !important;
  color: var(--primary) !important;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.text-center { text-align: center; }

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius) !important;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  border: none;
}

.btn::before { display: none !important; }

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover) !important; color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--secondary); }

/* === ANN-BAR === */
#ann-bar {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.ann-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ann-social a {
  color: rgba(255,255,255,0.7);
  margin-right: 12px;
  font-size: 15px;
  transition: color 0.3s;
}
.ann-social a:hover { color: var(--primary); }

.ann-hours, .ann-phone { color: rgba(255,255,255,0.85); }
.ann-hours i, .ann-phone i { color: var(--primary); margin-right: 6px; }
.ann-phone a { color: rgba(255,255,255,0.85); transition: color 0.3s; }
.ann-phone a:hover { color: var(--primary); }

/* === HEADER === */
#masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  gap: 20px;
}

.site-logo svg { height: 44px; width: auto; }

/* === NAV === */
.main-navigation .menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-navigation .menu li a {
  font-size: 15px;
  font-weight: 400;
  color: var(--secondary);
  transition: color 0.3s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}

.main-navigation .menu li a:hover,
.main-navigation .menu li.current-menu-item a {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--secondary);
}

/* === MOBILE NAV === */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 9999;
  padding: 60px 30px 30px;
  transition: right 0.3s ease;
  box-shadow: -5px 0 20px rgba(0,0,0,0.15);
}

.mobile-nav.open { right: 0; }

.mobile-nav-close {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 20px;
  cursor: pointer;
  color: var(--secondary);
}

.mobile-nav ul { margin-bottom: 25px; }
.mobile-nav ul li { border-bottom: 1px solid #eee; }

.mobile-nav ul li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--secondary);
  transition: color 0.3s, padding 0.2s;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li.current-menu-item a {
  background-color: #f5f5f5;
  color: var(--primary) !important;
  font-weight: bold;
  border-radius: 4px;
  padding-left: 10px !important;
}

.mobile-nav .btn { display: block; text-align: center; margin-bottom: 15px; }

.mobile-phone {
  margin-top: 20px;
  color: var(--text);
  font-size: 14px;
}
.mobile-phone a { color: var(--text); }

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9998;
  display: none;
}
.mobile-nav-overlay.show { display: block; }

/* === HERO === */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #00000091;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.hero-text {
  font-size: 17px;
  line-height: 32px;
  margin-bottom: 35px;
  color: rgba(255,255,255,0.9);
}

.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* === ABOUT === */
.about-section { background: var(--white); overflow: hidden; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-text-card {
  background: var(--white);
  padding: 60px 50px;
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .about-text-card { left: 65px; }
  .about-img-wrap { position: relative; left: -65px; }
}

.about-text-card p {
  font-size: 16px;
  line-height: 30px;
  color: var(--text-gray);
  margin-bottom: 15px;
}

.about-img-wrap { overflow: hidden; border-radius: var(--radius); }
.about-img-wrap img { width: 100%; height: 480px; object-fit: cover; }

/* zoom animation like template */
@keyframes zoom-img {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.spa505 img { animation: zoom-img 20s ease-in-out infinite; }

/* read-more */
.read-more-content { max-height: 0; overflow: hidden; transition: max-height 0.6s ease; }
.read-more-content.expanded { max-height: 1000px; }
.read-more-link {
  display: inline-block;
  color: #000;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 5px;
}

/* === SERVICES / PRICING === */
.services-section { background: var(--bg-light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 22px 40px rgba(0,0,0,.15) !important;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.5s, border-bottom 0.5s;
  border-bottom: 4px solid transparent;
}

.service-card:hover {
  border-bottom: 4px solid var(--primary);
  transform: translate(0,-5px);
  transition: all 0.5s;
}

.service-card-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.service-card h3 { font-size: 18px; font-weight: 500; color: var(--secondary); margin-bottom: 8px; }
.service-price { font-size: 22px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }
.service-desc { font-size: 14px; color: var(--text-gray); line-height: 24px; margin-bottom: 20px; }

/* === BENEFITS === */
.benefits-section { background: var(--white); }

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.benefit-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 35px 25px;
  box-shadow: rgba(0,0,0,0.2) 0px 12px 28px 0px, rgba(0,0,0,0.1) 0px 2px 4px 0px, rgba(255,255,255,0.05) 0px 0px 0px 1px inset;
  transition: transform 0.3s, border-bottom 0.3s;
  border-bottom: 4px solid transparent;
}

.benefit-card:hover { transform: translateY(-5px); border-bottom-color: var(--primary); }

.benefit-icon {
  width: 54px;
  height: 54px;
  background: rgba(98,189,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 22px;
}

.benefit-card h3 { font-size: 18px; font-weight: 500; color: var(--secondary); margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-gray); line-height: 26px; }

/* === STATS === */
.stats-section { background: var(--secondary); padding: 60px 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item { color: var(--white); }

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label { font-size: 14px; color: rgba(255,255,255,0.7); }

/* === TESTIMONIALS === */
.testimonials-section { background: var(--bg-light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.testimonial-stars { color: var(--primary); margin-bottom: 12px; font-size: 14px; }
.testimonial-text { font-size: 15px; line-height: 28px; color: #444; margin-bottom: 20px; font-style: italic; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

.testimonial-name { font-weight: 500; font-size: 15px; color: var(--secondary); }
.testimonial-role { font-size: 13px; color: var(--text-gray); }

/* === SLIDER (slick) === */
.slider-section { background: var(--white); overflow: hidden; }
.slid-parent { margin-top: 30px; margin-bottom: 50px; }

.slid-child {
  min-height: 500px;
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin-inline: 10px;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  overflow: hidden;
}

.slid-child::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.slid-child-content { position: relative; z-index: 2; }
.slid-child h3 { font-size: 20px; font-weight: 500; color: var(--white); margin-bottom: 20px; }

.slid-parent li { background: #fff !important; border-radius: 100px; }
li.slick-active { background: var(--primary) !important; }
.slick-dots { position: relative; top: 35px; }

/* === CTA === */
.cta-section {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 100px 0;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,46,0.85);
}

.cta-content { position: relative; z-index: 2; color: var(--white); }
.cta-title { font-size: 2.5rem; font-weight: 300; margin-bottom: 20px; color: var(--white); }
.cta-text { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 35px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* === FAQ === */
.faq-section { background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 40px auto 0; }
.faq-item { border-bottom: 1px solid #e0e0e0; }

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--secondary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--primary); font-size: 18px; flex-shrink: 0; transition: transform 0.3s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 0 20px; color: var(--text-gray); font-size: 15px; line-height: 28px; font-weight: 400 !important; }

/* === FOOTER === */
#colophon { background: var(--footer-bg); color: var(--white); padding-top: 60px; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 26px; margin: 15px 0 20px; }
.footer-social a { color: rgba(255,255,255,0.65); margin-right: 14px; font-size: 17px; transition: color 0.3s; }
.footer-social a:hover { color: var(--primary); }
.footer-col h4 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color 0.3s; }
.footer-links li a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
  font-size: 14px;
  line-height: 22px;
}

.footer-contact-item i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: color 0.3s; }
.footer-contact-item a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 13px; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary); }

/* === GDPR COOKIE BAR === */
#cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--secondary);
  color: var(--white);
  z-index: 99999;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}

#cookie-bar.show { display: block; }

.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-bar-text { font-size: 14px; color: rgba(255,255,255,0.85); flex: 1; min-width: 250px; }
.cookie-bar-text a { color: var(--primary); text-decoration: underline; }
.cookie-bar-buttons { display: flex; gap: 10px; flex-shrink: 0; }

.cookie-btn-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font);
  transition: background 0.3s;
}
.cookie-btn-accept:hover { background: var(--primary-hover) !important; }

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font);
  transition: all 0.3s;
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* === SCROLL ANIMATIONS === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.zoomIn {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.zoomIn.visible { opacity: 1; transform: scale(1); }

/* === CONTACT FORM === */
.contact-form { max-width: 700px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--secondary); margin-bottom: 7px; }
.form-group label .required { color: #e00; margin-left: 3px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.3s;
}
.form-control:focus { outline: none; border-color: var(--primary); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-privacy { font-size: 13px; color: var(--text-gray); margin-bottom: 20px; }
.form-privacy a { color: var(--primary); }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--secondary);
  padding: 80px 0 60px;
  text-align: center;
  color: var(--white);
}

.page-hero h1 { font-size: 2.5rem; font-weight: 300; color: var(--white); margin-bottom: 15px; }
.page-hero p { color: rgba(255,255,255,0.75); font-size: 16px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; margin-top: 15px; font-size: 14px; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--primary); }

/* === CONTENT PAGES === */
.content-section { padding: 80px 0; }
.content-section h2 { font-size: 1.6rem; font-weight: 500 !important; color: var(--secondary); margin: 35px 0 15px; }
.content-section h3 { font-size: 1.2rem; font-weight: 500; color: var(--secondary); margin: 25px 0 12px; }
.content-section p { color: #444; font-size: 15px; line-height: 28px; margin-bottom: 15px; }
.content-section ul { list-style: disc; padding-left: 25px; margin-bottom: 15px; }
.content-section ul li { color: #444; font-size: 15px; line-height: 28px; margin-bottom: 8px; }
.content-section a { color: var(--primary); text-decoration: underline; }

/* === RESPONSIVE === */
@media only screen and (max-width:1024px) {
  #ann-bar { display: none; }
  .hamburger { display: block; }
  .main-navigation { display: none; }
  .header-inner .btn-primary { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .about-text-card { left: 0 !important; padding: 40px 30px; }
  .about-img-wrap { left: 0 !important; }
  .about-img-wrap img { height: 300px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }

  .hero-title { font-size: 2.2rem; }
}

@media only screen and (max-width:600px) {
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 1.8rem; }
  .section-title { font-size: 1.6rem; }
  .cta-title { font-size: 1.8rem; }
  .page-hero h1 { font-size: 1.8rem; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }

  .slick-dots { top: 25px; }

  .hero-buttons { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
}
