@charset "utf-8";

:root {
  --chalk-white: #f5f0e8;
  --chalk-cream: #ede8dc;
  --board-dark: #1a2420;
  --board-mid: #243028;
  --board-green: #2d3d35;
  --feature-bg: #4a6741;
  --chalk-teal: #51a695;
  --chalk-yellow: #f5d76e;
  --chalk-pink: #e8847a;
  --wood-brown: #8b6f47;
  --text-main: #2c2c2c;
  --text-sub: #5a5a5a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text-main);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background: var(--board-dark);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(94, 196, 176, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(245, 215, 110, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: stretch;
  min-height: 220px;
  height: 100%;
}

.hero-label {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--chalk-teal);
  border: 1px solid var(--chalk-teal);
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.hero-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(28px, 4vw, 36px);
  color: var(--chalk-white);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin-bottom: 14px;
  align-self: center;
}

.hero-title span {
  position: relative;
  display: inline-block;
}
.hero-title span::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--chalk-teal);
  border-radius: 2px;
  opacity: 0.8;
}

.hero-desc {
  color: rgba(245, 240, 232, 0.72);
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  text-align: left;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  padding: 28px 40px;
  border: 2px dashed rgba(245, 240, 232, 0.2);
  border-radius: 4px;
  margin: 12px 12px 12px 12px;
}

.hero-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== SECTION ===== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 56px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.section-header::before {
  content: "";
  display: block;
  width: 4px;
  height: 24px;
  background: var(--chalk-teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

/* ===== CARDS GRID ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--board-green);
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.card:nth-child(2) .card-img img {
  object-fit: cover;
}

.card-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.card-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--wood-brown);
  opacity: 0.85;
  z-index: 2;
}

.card-body {
  padding: 16px 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--chalk-teal);
  border: 1px solid var(--chalk-teal);
  padding: 2px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
  align-self: flex-start;
}

.card-title {
  font-family: "Noto Serif JP", serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 6px;
  min-height: 2em;
}

.card-sub {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
  flex: 1;
  min-height: 60px;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding: 9px 18px;
  background: var(--chalk-teal);
  color: var(--chalk-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  text-decoration: none;
  transition:
    background 0.2s,
    gap 0.2s;
  align-self: flex-start;
}

.card-btn:hover {
  background: #3d8c80;
  gap: 10px;
  color: var(--chalk-white);
}

.card-btn::after {
  content: "→";
  font-size: 11px;
}

.card:nth-child(1) .card-img {
  background: #243530;
}
.card:nth-child(2) .card-img {
  background: #1e2e28;
}
.card:nth-child(3) .card-img {
  background: #263831;
}

/* ===== 設置方法セクション ===== */
.install-section {
  background: #fff;
  padding: 36px 24px 48px;
}

.install-inner {
  max-width: 900px;
  margin: 0 auto;
}

.install-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.install-header::before {
  content: "";
  display: block;
  width: 4px;
  height: 24px;
  background: var(--chalk-teal);
  border-radius: 2px;
  flex-shrink: 0;
}

.install-title {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.install-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.install-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.install-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.install-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #e8eeec;
}

.install-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.install-body {
  padding: 10px 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.install-name {
  font-family: "Noto Serif JP", serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: -5px;
}

.install-note {
  font-size: 11px;
  color: var(--text-sub);
  margin-bottom: 10px;
}

.install-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--chalk-teal);
  color: var(--chalk-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 3px;
  text-decoration: none;
  transition:
    background 0.2s,
    gap 0.2s;
}

.install-btn:hover {
  background: #3d8c80;
  gap: 10px;
  color: var(--chalk-white);
}

.install-btn::after {
  content: "→";
  font-size: 11px;
}

/* ===== FEATURE STRIP ===== */
.feature-heading {
  max-width: 900px;
  margin: 0 auto;
  padding: 0px 24px 16px;
}

.feature-heading-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.04em;
}

.feature-strip {
  background: var(--feature-bg);
  padding: 20px 24px 24px;
}

.feature-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.feature-item {
  background: var(--feature-bg);
  padding: 16px 20px;
  text-align: center;
}

.feature-icon {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
  color: var(--chalk-white);
  opacity: 0.95;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.feature-label {
  color: var(--chalk-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.feature-note {
  color: rgba(245, 240, 232, 0.85);
  font-size: 11px;
  line-height: 1.7;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
