/*
Theme Name: Remake Paint
Theme URI: https://remake.company/
Author: OpenAI
Author URI: https://openai.com/
Description: 外壁塗装の問い合わせ獲得向けに設計した、軽量・高カスタム性のWordPressテーマ。LINE・電話・フォームのCTAを重視。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: remake-paint
*/

:root {
  --rm-green: #2f6f57;
  --rm-green-dark: #255847;
  --rm-green-soft: #eef6f1;
  --rm-accent: #d69b2d;
  --rm-text: #1d2a23;
  --rm-muted: #5a6a62;
  --rm-border: #dce7e0;
  --rm-bg: #ffffff;
  --rm-shadow: 0 12px 30px rgba(24, 44, 35, 0.08);
  --rm-radius: 18px;
  --rm-container: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rm-text);
  background: var(--rm-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}
a { color: var(--rm-green); text-decoration: none; }
a:hover { opacity: .9; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(calc(100% - 32px), var(--rm-container)); margin: 0 auto; }
.section { padding: 72px 0; }
.section--soft { background: var(--rm-green-soft); }
.section__head { margin-bottom: 28px; }
.kicker {
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(47,111,87,.1); color: var(--rm-green);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
}
.section__title, h1, h2, h3 { line-height: 1.3; margin: 0 0 14px; }
.section__title { font-size: clamp(28px, 4vw, 40px); }
.section__lead { color: var(--rm-muted); max-width: 720px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 700; border: 1px solid transparent;
  transition: .2s ease; box-shadow: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--rm-green); color: #fff; }
.btn--secondary { background: #fff; color: var(--rm-green); border-color: var(--rm-green); }
.btn--accent { background: var(--rm-accent); color: #fff; }
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(220,231,224,.8);
}
.site-header__inner {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.site-branding__title { font-size: 24px; font-weight: 800; color: var(--rm-text); }
.site-branding__tag { font-size: 13px; color: var(--rm-muted); margin-top: 2px; }
.site-header__cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tel-link { font-weight: 800; color: var(--rm-text); white-space: nowrap; }
.hero {
  position: relative; overflow: hidden; padding: 70px 0 54px; background: linear-gradient(180deg, #f7fbf8 0%, #fff 100%);
}
.hero__grid {
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 34px; align-items: center;
}
.hero__copy h1 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.hero__copy p { font-size: clamp(16px, 2vw, 18px); color: var(--rm-muted); margin-bottom: 22px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.badge {
  padding: 8px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--rm-border); color: var(--rm-text); font-size: 13px; font-weight: 700;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.hero__subcta { font-size: 14px; color: var(--rm-muted); }
.hero__card {
  background: #fff; border: 1px solid var(--rm-border); box-shadow: var(--rm-shadow); border-radius: 24px; overflow: hidden;
}
.hero__media { aspect-ratio: 4/3; background: #e9f1ec center/cover no-repeat; }
.hero__cardbody { padding: 22px; }
.metric-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.metric { background: var(--rm-green-soft); border-radius: 16px; padding: 16px; }
.metric strong { display: block; font-size: 24px; color: var(--rm-green); }
.metric span { font-size: 13px; color: var(--rm-muted); }
.grid-3, .grid-4, .grid-2 { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.card {
  background: #fff; border: 1px solid var(--rm-border); border-radius: var(--rm-radius); padding: 24px; box-shadow: var(--rm-shadow);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.list-check, .list-plain { list-style: none; padding: 0; margin: 0; }
.list-check li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.list-check li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 800; color: var(--rm-green); }
.cta-band {
  background: linear-gradient(135deg, var(--rm-green-dark), var(--rm-green)); color: #fff; border-radius: 28px; padding: 34px;
}
.cta-band p { color: rgba(255,255,255,.82); }
.cta-band .hero__ctas .btn--secondary { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.case-card img { border-radius: 14px; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 16px; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.case-meta span { background: var(--rm-green-soft); color: var(--rm-green-dark); padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.faq-item { border-top: 1px solid var(--rm-border); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--rm-border); }
.faq-item summary { cursor: pointer; font-weight: 800; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 12px 0 0; color: var(--rm-muted); }
.area-list { display: flex; flex-wrap: wrap; gap: 10px; }
.area-list span { padding: 8px 12px; border: 1px solid var(--rm-border); border-radius: 999px; background: #fff; }
.site-footer { background: #15211b; color: rgba(255,255,255,.88); padding: 52px 0 88px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--rm-border); padding: 10px 12px env(safe-area-inset-bottom);
}
.sticky-cta__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.sticky-cta .btn { min-height: 46px; padding: 0 12px; font-size: 14px; }
.entry-content { max-width: 860px; }
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.archive-card { border: 1px solid var(--rm-border); border-radius: 18px; overflow: hidden; }
.archive-card__body { padding: 18px; }
.archive-card img { aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 980px) {
  .grid-4, .grid-3, .grid-2, .footer-grid, .post-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 720px) {
  .site-header__inner { padding: 8px 0; min-height: 64px; align-items: flex-start; }
  .site-header__cta { display: none; }
  .section { padding: 58px 0; }
  .hero { padding-top: 36px; }
  .hero__copy h1 { font-size: 34px; }
  .metric-grid { grid-template-columns: 1fr; }
  .sticky-cta__inner { grid-template-columns: 1fr 1fr 1fr; }
  .sticky-cta .btn { font-size: 12px; }
}

.site-header__inner > *, .hero__grid > *, .grid-2 > *, .grid-3 > *, .grid-4 > *, .footer-grid > * { min-width: 0; }
.btn { text-align: center; }

@media (max-width: 1024px) {
  .site-header__inner { min-height: auto; padding: 12px 0; align-items: flex-start; }
  .site-header__cta { width: 100%; justify-content: flex-start; }
  .hero { padding: 52px 0 44px; }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__copy h1 { font-size: clamp(32px, 5vw, 46px); }
  .hero__ctas .btn { flex: 1 1 220px; }
  .cta-band { padding: 28px; }
}

.screen-reader-text { position: absolute; left: -9999px; }

@media (max-width: 820px) {
  .metric-grid { grid-template-columns: 1fr; }
  .sticky-cta__inner { grid-template-columns: 1fr 1fr 1fr; }
}
