/* ===== サンプル告知バナー ===== */
.demo-bar {
  background: #f59e0b;
  color: #1e293b;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.demo-bar__icon { font-size: 1rem; flex-shrink: 0; }
.demo-bar__text { line-height: 1.5; }

/* ===== リセット & ベース ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }

/* ===== ユーティリティ ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.pc-only { display: none; }
@media (min-width: 768px) { .pc-only { display: inline; } }

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn--primary {
  background: #fff;
  color: #2563eb;
  border: 2px solid #fff;
}
.btn--contact {
  background: #2563eb;
  color: #fff;
  font-size: 1.1rem;
  padding: 16px 48px;
}
.btn--contact:hover { box-shadow: 0 8px 24px rgba(37,99,235,0.35); }

/* ===== ヘッダー ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
}
.logo span { color: #2563eb; }
.nav { display: none; }
@media (min-width: 768px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 32px; }
  .nav__list a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    transition: color 0.2s;
  }
  .nav__list a:hover { color: #2563eb; }
}

/* ハンバーガー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  transition: all 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 768px) { .hamburger { display: none; } }

/* SPメニュー */
.sp-nav {
  display: none;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.sp-nav.open { display: block; }
.sp-nav ul { padding: 8px 0 16px; }
.sp-nav li a {
  display: block;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
}
.sp-nav li a:hover { background: #f1f5f9; color: #2563eb; }

/* ===== ヒーロー ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #3b82f6 100%);
  overflow: hidden;
  padding: 60px 20px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.hero__sub {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 20px;
}
.hero__desc {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

/* ===== セクション共通 ===== */
.section { padding: 80px 0; }
.section__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  text-align: center;
  color: #1e293b;
  letter-spacing: 0.05em;
}
.section__sub {
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  margin-top: 6px;
  margin-bottom: 48px;
}

/* ===== About ===== */
.about { background: #f8fafc; }
.about__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}
.about__inner.visible { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .about__inner { flex-direction: row; align-items: flex-start; }
}
.about__img { flex-shrink: 0; }
.about__avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto;
}
.about__name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1e293b;
}
.about__desc {
  color: #475569;
  margin-bottom: 20px;
  line-height: 1.8;
}
.about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.about__tags li {
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #bfdbfe;
}

/* ===== Works ===== */
.works { background: #fff; }
.works__lead {
  text-align: center;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 52px;
}

/* サンプルカード */
.sample-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 900px) {
  .sample-cards { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.sample-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.09);
  transition: transform 0.3s, box-shadow 0.3s, opacity 0.6s;
  opacity: 0;
  transform: translateY(24px);
}
.sample-card.visible { opacity: 1; transform: translateY(0); }
.sample-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,0.13); }

/* ミニプレビュー部分 */
.sample-card__preview {
  padding: 12px 12px 0;
}
.sample-card__preview--teal  { background: linear-gradient(135deg, #ecfdf5, #d1fae5); }
.sample-card__preview--brown { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.sample-card__preview--pink  { background: linear-gradient(135deg, #fff1f2, #fce7f3); }

.sample-card__preview-inner {
  background: #fff;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.sp-bar {
  height: 22px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  padding: 0 8px;
  gap: 4px;
}
.sp-bar::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #fca5a5;
  box-shadow: 10px 0 0 #fcd34d, 20px 0 0 #6ee7b7;
}
.sp-hero {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}
.sp-hero--teal  { background: linear-gradient(135deg, #059669, #10b981); }
.sp-hero--brown { background: linear-gradient(135deg, #1e293b, #334155); }
.sp-hero--pink  { background: linear-gradient(135deg, #be185d, #ec4899); }

.sp-rows { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.sp-row { display: flex; gap: 5px; }
.sp-block { flex: 1; height: 22px; background: #f1f5f9; border-radius: 4px; }
.sp-block--tall { height: 36px; }
.sp-table { height: 32px; background: #f1f5f9; border-radius: 4px; }
.sp-map   { height: 36px; background: #d1fae5; border-radius: 4px; }
.sp-flow  { height: 28px; background: #fef9c3; border-radius: 4px; }
.sp-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 4px; }
.sp-gallery div { height: 28px; background: #fce7f3; border-radius: 3px; }
.sp-voice { flex: 1; height: 32px; background: #f1f5f9; border-radius: 4px; }
.sp-staff { flex: 1; height: 40px; background: #fce7f3; border-radius: 50% 50% 4px 4px; }

/* テキスト部分 */
.sample-card__body { padding: 20px; }
.sample-card__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 10px;
}
.sample-card__preview--teal  ~ .sample-card__body .sample-card__label { background: #d1fae5; color: #065f46; }
.sample-card__preview--brown ~ .sample-card__body .sample-card__label { background: #fef3c7; color: #92400e; }
.sample-card__preview--pink  ~ .sample-card__body .sample-card__label { background: #fce7f3; color: #9d174d; }

.sample-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
  line-height: 1.5;
}
.sample-card__title small {
  font-size: 0.78rem;
  font-weight: 500;
  color: #94a3b8;
  display: block;
  margin-top: 4px;
}
.sample-card__desc {
  font-size: 0.83rem;
  color: #64748b;
  line-height: 1.8;
  margin-bottom: 16px;
}
.sample-card__btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: opacity 0.2s;
}
.sample-card__btn:hover { opacity: 0.85; }
.sample-card__btn--teal  { background: #10b981; color: #fff; }
.sample-card__btn--brown { background: #b45309; color: #fff; }
.sample-card__btn--pink  { background: #be185d; color: #fff; }

/* ===== Service ===== */
.service { background: #f8fafc; }
.service__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) { .service__grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s, box-shadow 0.3s;
}
.service-card.visible { opacity: 1; transform: none; }
.service-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); }
.service-card--featured {
  background: linear-gradient(135deg, #2563eb, #3b82f6);
  color: #fff;
}
.service-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 50px;
}
.service-card__icon { font-size: 2.5rem; margin-bottom: 12px; }
.service-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 20px;
}
.service-card--featured .service-card__price { color: #fff; }
.service-card__list { text-align: left; }
.service-card__list li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: #475569;
  border-bottom: 1px solid #f1f5f9;
  padding-left: 20px;
  position: relative;
}
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}
.service-card--featured .service-card__list li {
  color: rgba(255,255,255,0.9);
  border-bottom-color: rgba(255,255,255,0.2);
}
.service-card--featured .service-card__list li::before { color: #a7f3d0; }
.service__note {
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ===== Contact ===== */
.contact { background: #1e293b; }
.contact .section__title { color: #fff; }
.contact .section__sub { color: #64748b; }
.contact__inner { text-align: center; }
.contact__lead {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.9;
}
.contact__note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: #64748b;
}

/* ===== フッター ===== */
.footer {
  background: #0f172a;
  padding: 24px 0;
  text-align: center;
}
.footer__copy {
  color: #475569;
  font-size: 0.85rem;
}
