/* ===== Shell Pages ===== */
.shell-page main {
  max-width: 1280px;
}

.shell-page .logo {
  gap: 0.5rem;
}

.shell-page .logo img {
  display: block;
  width: auto;
  height: 34px;
}

.logo-wordmark {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #7b3f00;
}

.embed-shell {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.embed-frame {
  width: 100%;
  min-height: 920px;
  border: 0;
  border-radius: 16px;
  background: #fff8f2;
  box-shadow: 0 10px 28px rgba(58, 42, 26, 0.08);
}

.embed-note {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  color: #8a6244;
}

.page-intro {
  margin-top: 1rem;
}

.page-intro--center {
  text-align: center;
}

.page-intro h1 {
  font-size: 1.7rem;
  line-height: 1.15;
  color: #7b3f00;
  margin-bottom: 0.4rem;
}

.page-intro h2 {
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 600;
  color: #8a6244;
  margin-bottom: 0.45rem;
}

.page-intro p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #7c5a3f;
}

.page-intro--compact h1 {
  margin-bottom: 0.25rem;
}

.page-intro--compact h2 {
  margin-bottom: 0.3rem;
}

.page-intro--compact p {
  max-width: 780px;
}

.page-intro--center p {
  max-width: 720px;
  margin: 0 auto;
}

.page-intro--wide p {
  max-width: 900px;
}

.content-nav {
  margin-top: 0.8rem;
  padding-top: 0.25rem;
}

.content-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.content-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.45rem 0.8rem;
  border: 1px solid #e3c4a2;
  border-radius: 999px;
  background: #fff8f2;
  color: #7b3f00;
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
}

.content-nav__list a:hover {
  background: #fff1e3;
  border-color: #d8ab79;
}

.page-sections {
  margin: 1.4rem auto 0;
  display: grid;
  gap: 1rem;
}

.page-sections--home {
  max-width: 900px;
}

.page-sections--endless {
  max-width: 980px;
}

.content-block {
  background: #fff8f2;
  border: 1px solid #ecd4ba;
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.content-block h2 {
  font-size: 1.08rem;
  line-height: 1.3;
  color: #7b3f00;
  margin-bottom: 0.5rem;
}

.content-block p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #6f5339;
  margin-bottom: 0.7rem;
}

.content-block p:last-child {
  margin-bottom: 0;
}

.steps-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #6f5339;
}

.steps-list li {
  margin-bottom: 0.65rem;
  line-height: 1.65;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  align-items: stretch;
}

.flow-step {
  position: relative;
  padding: 0.95rem 1rem;
  border: 1px solid #ecd4ba;
  border-radius: 14px;
  background: #fffaf5;
}

.flow-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 0.65rem;
  border-radius: 999px;
  background: #7b3f00;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}

.flow-step h3 {
  margin-bottom: 0.35rem;
  color: #7b3f00;
  font-size: 0.98rem;
  line-height: 1.3;
}

.flow-step p {
  margin-bottom: 0;
}

.flow-step::after {
  content: "→";
  position: absolute;
  right: -0.58rem;
  top: 50%;
  transform: translateY(-50%);
  color: #d4a87a;
  font-size: 1.1rem;
  font-weight: 700;
}

.flow-step:last-child::after {
  display: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.2rem;
  overflow: hidden;
  border: 1px solid #ecd4ba;
  border-radius: 12px;
}

.compare-table th,
.compare-table td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ecd4ba;
  color: #6f5339;
  line-height: 1.55;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table th {
  background: #fcf2e8;
  color: #7b3f00;
  font-size: 0.9rem;
  font-weight: 700;
}

.compare-table td:first-child {
  width: 26%;
  font-weight: 600;
  color: #7b3f00;
  background: #fffaf5;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item h3 {
  font-size: 0.96rem;
  line-height: 1.35;
  color: #7b3f00;
  margin-bottom: 0.2rem;
}

.faq-item p {
  margin-bottom: 0;
}

.shell-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  color: #8a6244;
}

.breadcrumb-nav a {
  color: #7b3f00;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.shell-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
  padding: 0 0.15rem;
}

.shell-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7b3f00;
}

.shell-caption {
  font-size: 0.84rem;
  color: #8a6244;
}

.endless-frame {
  width: 100%;
  min-height: 940px;
  border: 0;
  border-radius: 18px;
  background: #fff8f2;
  box-shadow: 0 10px 28px rgba(58, 42, 26, 0.08);
}

.site-footer {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.site-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #7b3f00;
  text-decoration: none;
}

.site-footer__brand img {
  display: block;
  width: auto;
  height: 28px;
}

.site-footer__wordmark {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
}

.site-footer__links a {
  color: #7b3f00;
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links a:hover {
  text-decoration: underline;
}

.site-footer__note {
  max-width: 760px;
  line-height: 1.55;
}

@media (max-width: 720px) {
  .shell-page main {
    max-width: 100%;
  }

  .embed-frame {
    min-height: 980px;
    border-radius: 12px;
  }

  .page-intro h1 {
    font-size: 1.45rem;
  }

  .shell-page .logo img {
    height: 30px;
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table th,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table td {
    border-bottom: 0;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .compare-table tr {
    border-bottom: 1px solid #ecd4ba;
    padding: 0.55rem 0;
  }

  .compare-table tr:last-child {
    border-bottom: 0;
  }

  .compare-table td:first-child {
    width: 100%;
    background: transparent;
    padding-bottom: 0.1rem;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-step::after {
    content: "↓";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -0.8rem;
    transform: translateX(-50%);
  }

  .logo-wordmark {
    font-size: 1.35rem;
  }

  .content-nav__list a {
    width: 100%;
    justify-content: center;
  }

  .shell-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .breadcrumb-nav {
    flex-wrap: wrap;
  }

  .endless-frame {
    min-height: 1080px;
    border-radius: 12px;
  }
}