/*
Theme Name: RentalSV
Theme URI: https://rentalsv.net
Author: craffit (古渡加奈)
Author URI: https://craffit.jp
Description: レンタルサーバー比較サイト用オリジナルテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: rentalsv
*/

/* ============================================
   CSS Variables
============================================ */
:root {
  --color-teal:       #0D9488;
  --color-teal-dark:  #0F766E;
  --color-teal-light: #CCFBF1;
  --color-amber:      #F59E0B;
  --color-amber-dark: #D97706;
  --color-text:       #1F2937;
  --color-text-sub:   #6B7280;
  --color-border:     #E5E7EB;
  --color-bg:         #FFFFFF;
  --color-bg-gray:    #F9FAFB;
  --radius:           12px;
  --shadow:           0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-hover:     0 4px 12px rgba(0,0,0,.12), 0 8px 24px rgba(0,0,0,.08);
  --transition:       0.2s ease;
  --font:             'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --max-width:        1100px;
}

/* ============================================
   Reset & Base
============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============================================
   Layout
============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 80px 0; }
.section--gray { background: var(--color-bg-gray); }

/* ============================================
   Typography
============================================ */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-title span { color: var(--color-teal); }

.section-lead {
  text-align: center;
  color: var(--color-text-sub);
  margin-bottom: 48px;
  font-size: 0.95rem;
}

/* ============================================
   Buttons
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-teal);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn--amber {
  background: var(--color-amber);
  color: #fff;
}
.btn--amber:hover {
  background: var(--color-amber-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-teal);
  color: var(--color-teal);
}
.btn--outline:hover {
  background: var(--color-teal);
  color: #fff;
}

.btn--lg { padding: 18px 36px; font-size: 1.05rem; }

/* ============================================
   Badge
============================================ */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge--best { background: var(--color-amber); color: #fff; }
.badge--good { background: var(--color-teal-light); color: var(--color-teal-dark); }
.badge--new  { background: #EDE9FE; color: #7C3AED; }
