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

:root {
  --primary: #3DBFB0;
  --primary-dark: #2ea89a;
  --primary-light: #e8f8f6;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --bg-gray: #f7f9f9;
  --border: #e0eded;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(61,191,176,0.10);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'BIZ UDPGothic', sans-serif;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  background: var(--white);
}

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border-color: #ccc;
}
.btn--outline:hover { border-color: var(--primary); color: var(--primary); }

.btn--ghost {
  background: rgba(255,255,255,0.15);
  color: var(--text);
  border-color: var(--primary);
}
.btn--ghost:hover { background: #f0fffe; }
.btn--ghost .btn__arrow { color: var(--primary); }

.btn--lg {
  padding: 7px 28px;
  font-size: 16px;
}

.btn--cta {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
  font-size: 16px;
  padding: 11px 36px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  white-space: nowrap;
}
.btn--cta:hover { background: #f0fffe; }

.btn__arrow {
  font-size: 1.2em;
  margin-left: 14px;
  position: relative;
  top: -1px;
}

/* ========================================
   HEADER
======================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  flex-shrink: 0;
}
.logo__icon {
  color: var(--primary);
  font-size: 18px;
  border: 2px solid var(--primary);
  padding: 2px 4px;
  border-radius: 4px;
  line-height: 1;
}
.logo__kn { color: var(--primary); }

.nav { flex: 1; }
.nav__list {
  display: flex;
  gap: 28px;
}
.nav__list a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__list a:hover { color: var(--primary); }

.header__actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }

/* ========================================
   HERO
======================================== */
.hero {
  background: url('img/hero-bg.jpg') center / cover no-repeat;
  padding: 70px 0 0;
  overflow: hidden;
}

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

.hero__lead {
  display: block;
  font-size: 32px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
}

.hero__title {
  font-size: 84px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.2em;
}
.hero__title--accent { color: var(--primary); }

.hero__desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__btns .btn--lg {
  width: 220px;
  justify-content: center;
  padding: 7px 20px;
  font-size: 14px;
}

/* --- Hero KV Image --- */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__kv-img {
  width: 100%;
  max-width: 700px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(61,191,176,0.18));
}

/* --- Hero Badges --- */
.hero__badges {
  margin-top: 48px;
  border-top: 1px solid #d8f0ee;
  padding: 20px 0;
  background: rgba(255,255,255,0.9);
}

.badge-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
}
.badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}
.badge-icon {
  display: inline-flex;
  align-items: center;
}
.badge-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.badge-icon--free {
  font-size: 14px;
  font-weight: 900;
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.badge-icon--excel {
  font-size: 14px;
  font-weight: 900;
  background: #217346;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   SECTION COMMON
======================================== */
.section {
  padding: 80px 0;
}
.section--gray {
  background: var(--bg-gray);
}

.section__title {
  font-size: 28px;
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  padding-bottom: 16px;
}
.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

/* ========================================
   FEATURES
======================================== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(61,191,176,0.15);
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}
.feature-card__icon img { width: 100%; height: 100%; object-fit: contain; }

.feature-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}
.feature-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ========================================
   STEPS
======================================== */
.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
}

.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  flex: 1;
  max-width: 280px;
  position: relative;
}

.step__num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__icon {
  width: 120px;
  height: 120px;
  margin: 8px auto 20px;
}
.step__icon img { width: 100%; height: 100%; object-fit: contain; }

.step__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.step__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.step__arrow {
  font-size: 48px;
  color: var(--primary);
  align-self: center;
  padding: 0 16px;
  flex-shrink: 0;
}

/* ========================================
   USE CASES
======================================== */
.usecases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

.usecase-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
}
.usecase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.usecase-card__img {
  height: 180px;
  overflow: hidden;
}
.usecase-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder svg { width: 100%; height: 100%; object-fit: cover; }

.usecase-card__img--1 { background: linear-gradient(135deg, #e8f5f4, #d4eeec); }
.usecase-card__img--2 { background: linear-gradient(135deg, #f0f8f7, #ddf0ee); }
.usecase-card__img--3 { background: linear-gradient(135deg, #eaf5f4, #d8eeed); }

.usecase-card__body {
  padding: 20px 24px 24px 12px;
  text-align: center;
}
.usecase-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  justify-content: center;
}
.usecase-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.usecase-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0;
}
.usecase-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.usecases__note {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
}
.usecases__note strong {
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

/* ========================================
   SUPPORT
======================================== */
.support__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.support__search-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
}

.support__search {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 16px;
}
.support__search-input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: inherit;
}
.support__search-btn {
  padding: 0 14px;
  background: var(--primary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #fff;
  transition: background 0.2s;
}
.support__search-btn:hover { background: var(--primary-dark); }
.support__search-btn svg { width: 18px; height: 18px; }

.support__tags-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.support__tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.support__tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--primary);
  border-radius: 50px;
  font-size: 12px;
  color: var(--primary);
  background: #fff;
  transition: all 0.2s;
}
.support__tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.support__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.support-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-card);
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.support-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(61,191,176,0.15);
}

.support-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}
.support-card__icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.support-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0;
}
.support-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}
.support-card__link {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* ========================================
   CTA BANNER
======================================== */
.cta-banner {
  padding: 40px 20px;
}
.cta-banner__wrap {
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(135deg, #3DBFB0 0%, #2aa598 50%, #259589 100%);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-banner__illust {
  position: absolute;
  left: 50px;
  bottom: 0;
  width: 200px;
  height: auto;
  pointer-events: none;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  justify-content: center;
  padding: 32px 40px 32px 300px;
}


.cta-banner__text { flex: 1; color: var(--white); }
.cta-banner__sub {
  font-size: 15px;
  opacity: 0.9;
  margin-bottom: 6px;
}
.cta-banner__title {
  font-size: 28px;
  font-weight: 900;
}

/* ========================================
   FOOTER
======================================== */
.footer {
  background: #f7f9f9;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 48px;
  padding-bottom: 40px;
}

.logo--footer .logo__text { font-size: 18px; }

.footer__tagline {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.7;
}

.footer__nav {
  display: flex;
  gap: 40px;
}
.footer__nav-col p.footer__nav-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}
.footer__nav-col ul li {
  margin-bottom: 8px;
}
.footer__nav-col ul li a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer__nav-col ul li a:hover { color: var(--primary); }

.footer__sns {
  display: flex;
  flex-direction: row;
  gap: 10px;
}
.sns-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e0e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.sns-btn svg { width: 18px; height: 18px; }
.sns-btn:hover { background: var(--primary); color: #fff; }

.footer__bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 18px 0;
  font-size: 12px;
  color: var(--text-muted);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 960px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__btns { justify-content: center; }
  .hero__kv-img { max-width: 400px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; }
  .step__arrow { transform: rotate(90deg); padding: 0; }
  .usecases__grid { grid-template-columns: 1fr; }
  .support__inner { grid-template-columns: 1fr; }
  .support__cards { grid-template-columns: 1fr; }
  .cta-banner__inner { flex-direction: column; text-align: center; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { flex-wrap: wrap; gap: 24px; }
  .footer__sns { flex-direction: row; }
  .nav { display: none; }
  .badge-list { flex-wrap: wrap; gap: 20px; justify-content: center; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 44px; }
  .features__grid { grid-template-columns: 1fr; }
  .section__title { font-size: 22px; }
  .cta-banner__title { font-size: 20px; }
}

/* ========================================
   PAGE HEADER (利用規約等の下層ページ)
======================================== */
.page-header {
  background: var(--bg-gray);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}
.page-header__title {
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
}

/* ========================================
   TERMS PAGE
======================================== */
.terms-page {
  padding: 60px 0 80px;
}
.terms {
  max-width: 800px;
  margin: 0 auto;
}
.terms__article {
  margin-bottom: 48px;
}
.terms__heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  border-left: 4px solid var(--primary);
  padding-left: 12px;
  margin-bottom: 16px;
  line-height: 1.5;
}
.terms__article p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.terms__list {
  list-style: decimal;
  padding-left: 24px;
  margin: 12px 0 16px;
}
.terms__list li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.operator-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.operator-table th,
.operator-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
}
.operator-table th {
  width: 160px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.operator-table td {
  color: var(--text-secondary);
}
.operator-link {
  color: var(--primary);
  text-decoration: underline;
}
.operator-link:hover {
  color: var(--primary-dark);
}

.terms__date {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
