/*
Theme Name: Okuhida Buggy Theme
Theme URI: https://okuhidabuggy.site/
Author: 株式会社ひらゆの森
Author URI: https://okuhidabuggy.site/
Description: オクヒダバギー用の最小構成WordPressテーマ
Version: 1.0.0
Text Domain: okuhidabuggy-theme
*/

:root{
  --okb-green:#7abb27;
  --okb-green-dark:#77a70d;
  --okb-text:#333;
  --okb-border:#e6e6e6;
  --okb-bg:#fff;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",Meiryo,sans-serif;
  color:var(--okb-text);
  background:#fff;
  line-height:1.7;
}
img{
  max-width:100%;
  height:auto;
  display:block;
}
a{
  color:inherit;
}
.site-main{
  display:block;
}

.okb-page{
  background:#fff;
}
.okb-container{
  width:min(1100px, calc(100% - 32px));
  margin:0 auto;
}
.okb-section{
  padding:56px 0;
}
.okb-section-title{
  font-size:32px;
  font-weight:700;
  text-align:center;
  margin:0 0 28px;
  line-height:1.4;
}
.okb-section-title small{
  display:block;
  font-size:14px;
  font-weight:400;
  margin-top:6px;
  color:#666;
}
.okb-btn{
  display:inline-block;
  background:var(--okb-green);
  color:#fff;
  padding:14px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
}
.okb-btn:hover{
  opacity:.9;
  color:#fff;
}

/* Header */
.okb-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:#fff;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
}
.okb-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:14px 0;
}
.okb-logo img{
  max-height:56px;
  width:auto;
}
.okb-nav ul{
  display:flex;
  gap:18px;
  list-style:none;
  margin:0;
  padding:0;
  align-items:center;
  flex-wrap:wrap;
}
.okb-nav a{
  text-decoration:none;
  color:#333;
  font-weight:700;
}
.okb-nav .okb-contact{
  background:var(--okb-green);
  color:#fff;
  padding:10px 16px;
  border-radius:999px;
}

/* Hero Slider */
.okb-hero{
  position:relative;
  overflow:hidden;
}
.okb-slider{
  position:relative;
}
.okb-slide{
  display:none;
}
.okb-slide.is-active{
  display:block;
}
.okb-slide img{
  width:100%;
  aspect-ratio:16/7;
  object-fit:cover;
}
.okb-slider-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.4);
  color:#fff;
  border:none;
  width:44px;
  height:44px;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
}
.okb-slider-btn.prev{left:16px}
.okb-slider-btn.next{right:16px}
.okb-dots{
  position:absolute;
  left:50%;
  bottom:16px;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
}
.okb-dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.55);
  cursor:pointer;
}
.okb-dot.is-active{
  background:#fff;
}

/* Videos */
.okb-videos{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}
.okb-video{
  aspect-ratio:16/9;
}
.okb-video iframe{
  width:100%;
  height:100%;
  border:0;
  border-radius:16px;
}

/* Cards */
.okb-steps,
.okb-faq,
.okb-links{
  display:grid;
  gap:16px;
}
.okb-step,
.okb-card{
  background:#fff;
  border:1px solid var(--okb-border);
  border-radius:16px;
  padding:20px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.okb-step h3,
.okb-card h3{
  margin:0 0 10px;
  font-size:22px;
}
.okb-step ul,
.okb-card ul{
  margin:0;
  padding-left:1.2em;
}

/* FAQ */
.okb-faq-item{
  border:1px solid var(--okb-border);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.okb-faq-question{
  width:100%;
  padding:18px 20px;
  background:#fff;
  border:none;
  text-align:left;
  font-size:18px;
  font-weight:700;
  cursor:pointer;
}
.okb-faq-answer{
  display:none;
  padding:0 20px 18px;
}
.okb-faq-item.is-open .okb-faq-answer{
  display:block;
}

/* Price */
.okb-price{
  max-width:900px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--okb-border);
  border-radius:18px;
  padding:28px;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.okb-price h3{
  margin-top:0;
  color:var(--okb-green-dark);
}

/* Map */
.okb-map-image{
  max-width:900px;
  margin:0 auto;
}

/* Access */
.okb-access iframe{
  width:100%;
  height:380px;
  border:0;
  border-radius:16px;
}

/* Links */
.okb-link-list{
  display:grid;
  gap:14px;
  max-width:900px;
  margin:0 auto;
}
.okb-link-list a{
  display:block;
  padding:14px 18px;
  border:1px solid var(--okb-border);
  border-radius:12px;
  text-decoration:none;
  color:#333;
  background:#fff;
}
.okb-link-list a:hover{
  background:#f8f8f8;
}

/* Banner */
.okb-banner{
  max-width:900px;
  margin:0 auto;
}

/* Footer */
.okb-footer{
  background:var(--okb-green);
  color:#fff;
  text-align:center;
  padding:24px 16px;
}

.okb-default-page{
  padding:60px 0;
}
.okb-default-page h1{
  margin-top:0;
}

@media (max-width: 768px){
  .okb-header__inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .okb-nav ul{
    gap:12px;
  }
  .okb-slide img{
    aspect-ratio:4/3;
  }
  .okb-videos{
    grid-template-columns:1fr;
  }
  .okb-section{
    padding:40px 0;
  }
  .okb-section-title{
    font-size:26px;
  }
}