/*
Theme Name: Dewa Garden Works
Theme URI: https://dewagardenworks.com
Author: Dewa Garden Works
Description: Dewa Garden Works オリジナルテーマ
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: dgw
*/


:root {
  --deep-forest: #025918;
  --leaf-green:  #078C03;
  --young-lime:  #93F205;
  --passion-red: #E63946;
  --terracotta:  #BF6415;
  --stone:       #2D2D2D;
  --white:       #ffffff;
  --gray-50:     #f8f8f6;
  --gray-100:    #f0f0ec;
  --gray-200:    #e2e2dc;
  --gray-400:    #a0a09a;
  --border:      #e4e4de;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.08);
  --font-head:   'Noto Sans JP', sans-serif;
  --font-sub:    'Zen Maru Gothic', sans-serif;
  --font-body:   'Noto Sans JP', sans-serif;
  --max-w:       1040px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--stone);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  padding-right: 48px; /* sidebar */
}

/* WordPress管理バー対応 */
.admin-bar #site-header {
  top: 32px;
}
.admin-bar #hero {
  margin-top: calc(96px + 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar #site-header {
    top: 46px;
  }
  .admin-bar #hero {
    margin-top: calc(96px + 46px);
  }
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* TYPOGRAPHY */
.eyebrow {
  font-family: var(--font-sub);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--leaf-green);
  display: block;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--deep-forest);
  margin-bottom: 16px;
}
.section-lead {
  font-size: 15px;
  color: var(--gray-400);
  max-width: 520px;
  line-height: 1.8;
}

/* LAYOUT */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
section { padding: 80px 0; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: opacity .18s, transform .15s;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-line {
  background: #06C755;
  color: #fff;
  font-size: 16px;
  padding: 16px 36px;
  border-radius: 50px;
}
.btn-primary { background: var(--leaf-green); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--deep-forest);
  border: 1.5px solid var(--deep-forest);
  padding: 10px 22px;
  font-size: 14px;
}

/* HEADER */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 48px;
  z-index: 200;
  height: 96px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.header-logo img { height: 70px; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
  color: var(--stone);
  letter-spacing: 0.02em;
}
.header-nav a { position: relative; padding-bottom: 3px; }
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--leaf-green);
  transition: width .2s;
}
.header-nav a:hover::after { width: 100%; }
.header-nav a:hover { color: var(--leaf-green); }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta .btn { padding: 12px 24px; font-size: 14px; border-radius: 50px; }

/* SIDEBAR */
#sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 48px;
  background: var(--deep-forest);
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0;
}
.sidebar-item {
  width: 40px; height: 40px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: background .15s;
  text-decoration: none;
}
.sidebar-item:hover { background: rgba(255,255,255,0.12); }
.sidebar-icon {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-icon img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.sidebar-icon-placeholder {
  width: 22px; height: 22px;
  border-radius: 4px;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-weight: 700;
}
.sidebar-label {
  font-size: 8px;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.sidebar-divider {
  width: 24px; height: 1px;
  background: rgba(255,255,255,0.15);
  margin: 4px 0;
}

/* FLOAT CTA */
#float-cta {
  position: fixed;
  bottom: 28px; right: 64px;
  z-index: 250;
  background: #06C755;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(6,199,85,0.35);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform .15s, box-shadow .15s;
}
#float-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(6,199,85,0.4); }

/* HERO */
#hero {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 600px;
}
.hero-content {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 56px 56px 80px;
  gap: 22px;
  order: 1;
}
.hero-deco {
  order: 2;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  font-family: var(--font-sub);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--leaf-green);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--deep-forest);
}
.hero-title em {
  font-style: normal;
  color: var(--leaf-green);
  display: block;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.85;
  color: #666;
  max-width: 340px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 8px;
}
.hero-note { font-size: 12px; color: var(--gray-400); }

/* GALLERY CAROUSEL */
#gallery { background: var(--gray-50); }
.carousel-wrap { position: relative; }
.carousel-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.carousel-track.dragging { cursor: grabbing; transition: none; }
.gallery-card {
  flex: 0 0 calc((100% - 40px) / 3);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.gallery-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.gallery-label {
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-forest);
  font-family: var(--font-sub);
  border-top: 1px solid var(--border);
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--deep-forest);
  transition: background .15s, opacity .15s;
  z-index: 10;
}
.carousel-btn:hover { background: var(--gray-50); }
.carousel-btn.disabled { opacity: 0.3; pointer-events: none; }
.carousel-btn-prev { left: -22px; }
.carousel-btn-next { right: -22px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}
.carousel-dot.active {
  background: var(--leaf-green);
  transform: scale(1.3);
}
@media (max-width: 900px) {
  .gallery-card { flex: 0 0 calc(100% - 0px); }
  .carousel-btn-prev { left: -16px; }
  .carousel-btn-next { right: -16px; }
}

/* ABOUT */
#about { background: var(--white); }
.about-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}
.about-photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/2;
  object-fit: cover;
  object-position: center top;
}
.about-body {
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.about-body p {
  font-size: 15px;
  color: #555;
  line-height: 1.85;
  margin-bottom: 14px;
}
.about-body p:last-child { margin-bottom: 0; }

/* REVIEWS */
#reviews { background: var(--gray-50); }
.reviews-carousel-wrap { position: relative; }
.reviews-viewport {
  overflow: hidden;
  border-radius: 12px;
}
.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.reviews-track.dragging { cursor: grabbing; transition: none; }
.review-card {
  flex: 0 0 calc((100% - 40px) / 3);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.review-stars { color: #F5A623; font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--stone);
  margin-bottom: 20px;
  font-family: var(--font-sub);
}
.review-author { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 6px; }
.review-google-icon {
  width: 16px; height: 16px;
  background: #4285F4;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  font-weight: 700;
}
.reviews-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--deep-forest);
  transition: background .15s, opacity .15s;
  z-index: 10;
}
.reviews-btn:hover { background: var(--gray-50); }
.reviews-btn.disabled { opacity: 0.3; pointer-events: none; }
.reviews-btn-prev { left: -22px; }
.reviews-btn-next { right: -22px; }
.reviews-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.reviews-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background .2s, transform .2s;
  border: none;
  padding: 0;
}
.reviews-dot.active { background: var(--leaf-green); transform: scale(1.3); }
.reviews-link { text-align: center; margin-top: 32px; }
.reviews-link a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--leaf-green);
  border-bottom: 1.5px solid var(--young-lime);
  padding-bottom: 2px;
}
@media (max-width: 900px) {
  .review-card { flex: 0 0 100%; }
}

/* SERVICES */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--leaf-green);
  border-radius: 4px 0 0 4px;
}
.service-icon-wrap {
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.service-icon-placeholder {
  width: 48px; height: 48px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--gray-100);
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gray-400);
}
.service-name {
  font-family: var(--font-sub);
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-forest);
  margin-bottom: 6px;
}
.service-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-price-wrap {
  padding: 12px 16px;
  background: var(--gray-50);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  padding: 3px 0;
  border-bottom: 1px solid var(--border);
}
.price-row:last-child { border-bottom: none; }
.price-label { color: #555; }
.price-val { font-weight: 900; color: var(--deep-forest); font-family: var(--font-head); }
.price-estimate { font-size: 14px; font-weight: 700; color: var(--gray-400); }
.services-note {
  margin-top: 20px;
  font-size: 12px;
  color: var(--deep-forest);
  line-height: 1.9;
}

/* FLOW */
#flow { background: var(--gray-50); }
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 48px;
  position: relative;
}
.flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
  align-self: stretch;
}
.flow-arrow {
  width: 24px; height: 3px;
  background: var(--deep-forest);
  position: relative;
}
.flow-arrow::after {
  content: '';
  position: absolute;
  right: -1px; top: -5px;
  border: 6px solid transparent;
  border-left: 9px solid var(--deep-forest);
}
.flow-step {
  text-align: center;
  padding: 28px 16px;
  background: var(--gray-100);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  align-self: stretch;
}
.flow-steps-inner {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 48px;
}
.flow-num {
  width: 48px; height: 48px;
  background: var(--deep-forest);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  margin: 0 auto;
  font-family: var(--font-head);
  flex-shrink: 0;
}
.flow-icon-wrap {
  width: 56px; height: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 4px;
}
.flow-icon-wrap img { width: 32px; height: 32px; object-fit: contain; }
.flow-icon-placeholder {
  width: 32px; height: 32px;
  border: 2px dashed var(--border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--gray-400);
}
.flow-step h4 {
  color: var(--deep-forest);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-sub);
}
.flow-step p { font-size: 12px; color: #777; line-height: 1.6; }
.flow-cta {
  text-align: center;
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.flow-cta-note { font-size: 12px; color: var(--gray-400); }

/* FAQ */
#faq { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--stone);
  font-family: var(--font-sub);
  line-height: 1.5;
}
.faq-icon {
  font-size: 22px;
  color: var(--leaf-green);
  flex-shrink: 0;
  transition: transform .25s;
  font-weight: 400;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 0 20px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.85;
}
.faq-item.open .faq-a { display: block; }

/* INSTAGRAM */
#instagram { background: var(--gray-50); }
.insta-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}
.insta-item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  background: var(--gray-100);
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.insta-item:hover img { transform: scale(1.05); }
.insta-cta { text-align: center; }
.insta-handle {
  font-family: var(--font-sub);
  font-size: 15px;
  font-weight: 700;
  color: var(--deep-forest);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--young-lime);
  padding-bottom: 2px;
}

/* CONTACT */
#contact { background: var(--gray-50); }
.contact-box { max-width: 600px; margin: 0 auto; text-align: center; }
.contact-box .section-lead { margin: 0 auto 40px; }
.contact-main-btn { margin-bottom: 24px; }
.contact-sub {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-sub-item { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #666; font-weight: 500; }
.contact-tel { font-size: 18px; font-weight: 900; color: var(--deep-forest); font-family: var(--font-head); }

/* BUSINESS */
#business {
  background: var(--white);
  padding: 32px 0;
  border-top: 1px solid var(--border);
}
.business-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.business-text { font-size: 13px; color: var(--gray-400); }
.business-text strong { color: var(--stone); font-weight: 700; display: block; margin-bottom: 4px; font-size: 14px; }

/* FOOTER */
#footer {
  background: var(--deep-forest);
  color: rgba(255,255,255,0.6);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-logo { margin: 0 auto 20px; }
.footer-logo img { height: 52px; opacity: .9; margin: 0 auto; filter: brightness(0) invert(1); }
.footer-info { font-size: 13px; line-height: 2.2; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 24px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-links a:hover { color: rgba(255,255,255,0.85); }
.footer-copy { font-size: 11px; opacity: .45; }

/* SECTION HEADER */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .section-lead { margin: 0 auto; }

/* ABOUT PROFILES */
.about-profiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.profile-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.profile-photos {
  height: 220px;
  overflow: hidden;
}
.profile-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right top;
}
.profile-catch {
  font-family: var(--font-sub);
  font-size: 16px;
  font-weight: 700;
  color: var(--terracotta);
  padding: 16px 20px 8px;
  line-height: 1.4;
}
.profile-body {
  padding: 0 20px 20px;
}
.profile-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--stone);
  margin-bottom: 6px !important;
}
.profile-body p {
  font-size: 12px !important;
  color: #666;
  line-height: 1.8;
  margin-bottom: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  body { padding-right: 0; }
  #site-header { right: 0; }
  #sidebar { display: none; }
  #float-cta { right: 20px; }
  #hero { grid-template-columns: 1fr; height: auto; margin-top: 96px; }
  .hero-content { order: 1; padding: 48px 24px 40px 32px; }
  .hero-deco { order: 2; min-height: 200px; padding: 32px; }
  .about-top { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 480px; margin: 0 auto; }
  .about-profiles { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .flow-steps-inner { grid-template-columns: 1fr 1fr; gap: 16px; }
  .flow-connector { display: none; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .business-inner { flex-direction: column; text-align: center; }
  .header-nav { display: none; }
  .header-cta .btn-ghost { display: none; }
  .header-logo img { height: 44px; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
}
@media (max-width: 540px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-sub { flex-direction: column; align-items: center; }
  .flow-steps-inner { grid-template-columns: 1fr; }
}
