/*
Theme Name: Okuhida Buggy
Theme URI: https://okuhidabuggy.site/
Author: Okuhida Buggy
Description: Static Peraichi page converted into an editable WordPress theme.
Version: 1.0.0
Text Domain: okuhida-buggy
*/

:root {
  --obg-green: #77a70d;
  --obg-deep: #26341b;
  --obg-line: #d9e7be;
  --obg-bg: #fbfff5;
}

html {
  scroll-behavior: smooth;
}

body.obg-body {
  margin: 0;
  padding-top: 88px !important;
  color: #26341b;
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

.obg-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(119, 167, 13, 0.2);
  box-shadow: 0 6px 22px rgba(38, 52, 27, 0.08);
}

.obg-header__inner,
.obg-wrap {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.obg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}

.obg-logo img {
  width: min(232px, 42vw);
  height: auto;
  display: block;
}

.obg-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 16px;
  font-weight: 700;
}

.obg-nav a {
  color: #333;
  text-decoration: none;
}

.obg-nav a:hover {
  color: var(--obg-green);
}

.obg-tel {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  color: #fff !important;
  background: var(--obg-green);
  border-radius: 4px;
}

.obg-section {
  padding: 54px 0;
}

.obg-section--soft {
  background: var(--obg-bg);
}

.obg-heading {
  margin: 0 0 30px;
  padding: 16px;
  color: #fff;
  background: var(--obg-green);
  text-align: center;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.45;
}

.obg-heading--plain {
  color: var(--obg-deep);
  background: transparent;
}

.obg-hero {
  position: relative;
  overflow: hidden;
  background: #10170e;
}

.obg-slider {
  position: relative;
  height: min(68vh, 680px);
  min-height: 360px;
  overflow: hidden;
}

.obg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.obg-slide.is-active {
  opacity: 1;
}

.obg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.obg-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.obg-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.obg-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.obg-card {
  background: #fff;
  border: 1px solid var(--obg-line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(38, 52, 27, 0.06);
}

.obg-price {
  max-width: 760px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.9;
}

.obg-price h2,
.obg-price h3 {
  color: var(--obg-green);
}

.obg-news {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.obg-news__item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--obg-line);
}

.obg-news__date {
  color: #66803d;
  font-weight: 700;
}

.obg-news a {
  color: var(--obg-deep);
  font-weight: 700;
  text-decoration: none;
}

.obg-flow,
.obg-faq,
.obg-links {
  max-width: 840px;
  margin: 0 auto;
}

.obg-flow__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--obg-line);
}

.obg-flow__num {
  color: var(--obg-green);
  font-weight: 800;
}

.obg-flow h3,
.obg-faq h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.obg-flow p,
.obg-faq p {
  margin: 0;
  line-height: 1.8;
}

.obg-faq__item {
  border-bottom: 1px solid var(--obg-line);
}

.obg-faq summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 800;
}

.obg-faq__answer {
  padding: 0 0 22px;
  line-height: 1.8;
}

.obg-map {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.obg-map img {
  width: 100%;
  height: auto;
  display: block;
}

.obg-map iframe {
  width: 100%;
  min-height: 280px;
}

.obg-links {
  display: grid;
  gap: 14px;
}

.obg-links a {
  color: #445cd5;
  font-weight: 700;
}

.obg-banner {
  text-align: center;
}

.obg-banner img {
  max-width: min(100%, 760px);
  height: auto;
}

.obg-footer {
  padding: 28px 0;
  color: #fff;
  background: #7abb27;
  text-align: center;
}

@media (max-width: 760px) {
  body.obg-body {
    padding-top: 74px !important;
  }

  .obg-header__inner {
    min-height: 74px;
  }

  .obg-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: space-around;
    gap: 0;
    padding: 8px 6px;
    background: #fff;
    border-top: 1px solid var(--obg-line);
    font-size: 12px;
  }

  .obg-tel {
    min-height: 34px;
    padding: 0 10px;
  }

  .obg-slide img {
    height: 100%;
  }

  .obg-slider {
    height: 48vh;
    min-height: 300px;
  }

  .obg-video-grid,
  .obg-map,
  .obg-flow__item,
  .obg-news__item {
    grid-template-columns: 1fr;
  }

  .obg-section {
    padding: 40px 0;
  }

  .obg-card {
    padding: 20px;
  }

  .obg-footer {
    padding-bottom: 74px;
  }
}
