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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  background-color: #FAFAF7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* =============================================
   Variables
   ============================================= */
:root {
  --primary: #2C5F7A;
  --primary-light: #3d7a9a;
  --accent: #E8935A;
  --accent-hover: #d97d42;
  --bg-main: #FAFAF7;
  --bg-section: #F5F0EB;
  --bg-white: #FFFFFF;
  --text-main: #333333;
  --text-sub: #666666;
  --text-light: #999999;
  --border: #E5DDD4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(44, 95, 122, 0.10);
  --shadow-hover: 0 8px 32px rgba(44, 95, 122, 0.18);
  --max-width: 1000px;
}

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

section {
  padding: 72px 0;
}

/* =============================================
   Animation
   ============================================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in--delay {
  transition-delay: 0.15s;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   Section Title
   ============================================= */
.section-title {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-title--light {
  color: #FFFFFF;
}

.section-title--light::after {
  background: rgba(255,255,255,0.6);
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(232, 147, 90, 0.35);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(232, 147, 90, 0.45);
}

.btn--line {
  background: #06C755;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(6, 199, 85, 0.30);
  font-size: 18px;
  padding: 18px 40px;
}

.btn--sm {
  font-size: 14px;
  padding: 11px 20px;
}

.btn--line:hover {
  background: #05b34d;
  box-shadow: 0 8px 24px rgba(6, 199, 85, 0.40);
}

.btn--email {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: inset 0 0 0 2px var(--primary);
  font-size: 18px;
  padding: 18px 40px;
}

.btn--email.btn--sm {
  padding: 11px 20px;
  font-size: 14px;
}

.btn--email:hover {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: inset 0 0 0 2px var(--primary);
}

.btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* =============================================
   Header
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header__logo {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-header__favicon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px;
  max-height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.site-header__logo:hover {
  opacity: 0.75;
}

.site-header__logo-kuma {
  color: var(--accent);
}

.btn--header-cta {
  background: #06C755;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 50px;
  box-shadow: 0 2px 10px rgba(6, 199, 85, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--header-cta:hover {
  background: #05b34d;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(6, 199, 85, 0.38);
}

/* =============================================
   ① Hero
   ============================================= */
.hero {
  background: linear-gradient(135deg, #FFFFFF 0%, #EEF6FA 100%);
  padding: 60px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.hero__label::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}

.hero__title {
  font-size: clamp(26px, 3.6vw, 36px);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero__name {
  display: inline-block;
  color: var(--accent);
  position: relative;
}

.hero__accent {
  display: inline-block;
  color: var(--accent);
}

.hero__sub {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 28px;
  line-height: 1.9;
}

.hero__cta-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-bottom: 14px;
}

.hero__cta-area .btn--sm {
  flex: 1 1 0;
  min-width: 0;
  justify-content: center;
}

.hero__reassurance {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero__image {
  position: relative;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: var(--primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.hero__avatar {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* =============================================
   ② Worries
   ============================================= */
.worries {
  background: #FDF6EE;
}

.worries__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
}

.worries__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border: 2px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  line-height: 1.6;
}

.worries__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 1px;
  border: 2px solid var(--accent);
  border-radius: 5px;
  background: rgba(232, 147, 90, 0.1);
}

.worries__check::after {
  content: '✓';
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.worries__cta {
  text-align: center;
  font-size: 17px;
  color: var(--text-main);
  line-height: 2;
}

.worries__cta strong {
  font-size: 20px;
  color: var(--primary);
  display: block;
  margin-top: 4px;
}

/* =============================================
   ③ Services
   ============================================= */
.services {
  background: var(--bg-main);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(44, 95, 122, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-card__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px 0;
  height: 164px;
  flex-shrink: 0;
}

.service-card__img {
  max-height: 116px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.service-card__body {
  padding: 18px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__tag {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.service-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* =============================================
   ④ Cases
   ============================================= */
.cases {
  background: var(--bg-section);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.case-card__image--placeholder {
  background: linear-gradient(135deg, #EEF6FA, #DDF0E8);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-card__emoji {
  font-size: 64px;
}

.case-card__body {
  padding: 24px;
}

.case-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.case-card__list {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 16px;
}

.case-detail {
  margin-bottom: 14px;
}

.case-detail__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 3px;
  letter-spacing: 0.03em;
}

.case-detail__text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
  margin: 0;
}

.case-card__link {
  font-size: 14px;
  color: var(--primary-light);
  font-weight: 500;
  border-bottom: 1px solid var(--primary-light);
  transition: color 0.2s;
}

.case-card__link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* =============================================
   ⑤ Pricing
   ============================================= */
.pricing {
  background: var(--bg-white);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--bg-main);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.pricing-card--accent {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.pricing-card--accent .pricing-card__name {
  color: rgba(255,255,255,0.85);
}

.pricing-card--accent .pricing-card__price {
  color: #FFFFFF;
}

.pricing-card__icon {
  font-size: 44px;
  margin-bottom: 16px;
}

.pricing-card__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.pricing-card__price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.pricing-plan-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
  text-align: left;
}

.pricing-plan-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 8px;
}

.pricing-plan-list__item:last-child {
  border-bottom: none;
}

.pricing-plan-list__plan {
  color: var(--text-sub);
  flex: 1;
}

.pricing-plan-list__price {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.pricing-card--accent .pricing-plan-list__item {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-card--accent .pricing-plan-list__plan {
  color: rgba(255, 255, 255, 0.75);
}

.pricing-card--accent .pricing-plan-list__price {
  color: #ffffff;
}

.pricing__note {
  text-align: center;
  font-size: 15px;
  color: var(--text-sub);
  line-height: 2;
  background: var(--bg-section);
  padding: 20px 32px;
  border-radius: var(--radius-sm);
  max-width: 480px;
  margin: 0 auto;
}

/* =============================================
   ⑥ About
   ============================================= */
.about {
  background: var(--bg-section);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}

.about__avatar {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about__title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 28px;
}

.about__body {
  font-size: 16px;
  color: var(--text-main);
  line-height: 2;
  margin-bottom: 20px;
}

.about__body:last-child {
  margin-bottom: 0;
}

.about__body strong {
  color: var(--primary);
  font-size: 17px;
}

/* =============================================
   ⑦ Contact
   ============================================= */
.contact {
  background: linear-gradient(135deg, var(--primary) 0%, #1e4a62 100%);
  padding: 100px 0;
  text-align: center;
}

.contact__sub {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact__pre-cta {
  color: rgba(255, 255, 255, 0.80);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.contact__buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: #1A2E3B;
  padding: 24px;
  text-align: center;
}

.footer__copy {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}

/* =============================================
   Section inline CTA
   ============================================= */
.section-cta {
  text-align: center;
  margin-top: 36px;
}

.section-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  background: var(--bg-section);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 10px 22px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.section-cta__link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* =============================================
   Responsive — Tablet (≤768px)
   ============================================= */
@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }

  .hero__text {
    order: 2;
  }

  .hero__image {
    order: 1;
    margin-bottom: 32px;
  }

  .hero__avatar {
    max-width: 280px;
  }

  .hero__cta-area {
    justify-content: center;
  }

  /* Worries */
  .worries__list {
    grid-template-columns: 1fr;
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
  }

  .service-card__img-wrapper {
    height: 148px;
    padding: 24px 28px 0;
  }

  .service-card__img {
    max-height: 104px;
  }

  /* Cases */
  .cases__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
  }

  /* About */
  .about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about__avatar {
    margin: 0 auto;
    max-width: 240px;
  }
}

/* =============================================
   Responsive — Small Mobile (≤480px)
   ============================================= */
@media (max-width: 480px) {
  .btn--line,
  .btn--email {
    width: 100%;
    max-width: 320px;
  }

  .hero__cta-area {
    flex-direction: column;
    align-items: center;
  }

  .hero__cta-area .btn--sm {
    width: 100%;
    max-width: 300px;
    flex: none;
  }

  .contact__buttons {
    flex-direction: column;
    align-items: center;
  }
}
