/* ==============================
   Manual Base / Variables
============================== */

html {
  margin-top: 0 !important;
}

body.manual-body {
  --manual-orange: #f66a2d;
  --manual-orange-soft: #fff0e8;
  --manual-brown: #3f332d;
  --manual-text: #4a4a4a;
  --manual-muted: #8b817b;
  --manual-bg: #fff8f2;
  --manual-card: #ffffff;
  --manual-border: #f2dfd2;
  --manual-shadow: 0 10px 30px rgba(107, 72, 50, 0.12);
  --manual-hover-shadow: 0 12px 28px rgba(107, 72, 50, 0.14);
  --manual-hover-border: rgba(246, 106, 45, 0.35);

  margin: 0;
  background: var(--manual-bg);
  color: var(--manual-text);
  font-family: 'M PLUS 1p', 'Hiragino Kaku Gothic ProN', 'Helvetica Neue', sans-serif;
}

body.manual-body * {
  box-sizing: border-box;
}

body.manual-body img {
  max-width: 100%;
  height: auto;
}

/* ==============================
   Header
============================== */

.manual-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(255, 248, 242, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(242, 223, 210, 0.9);
}

.manual-site-header-inner {
  width: min(100% - 40px, 960px);
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 32px;
}

.manual-site-logo a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-decoration: none;
}

.manual-site-logo-img {
  display: block;
  width: 180px;
  height: auto;
}

.manual-site-logo-sub {
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.04em;
}

.manual-site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
}

.manual-site-nav a {
  color: var(--manual-brown);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.manual-site-nav a:hover {
  color: var(--manual-orange);
}

.manual-site-menu-button {
  display: none;
  appearance: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 8px;
  cursor: pointer;
}

.manual-site-menu-button span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--manual-brown);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.manual-site-menu-button.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.manual-site-menu-button.is-active span:nth-child(2) {
  opacity: 0;
}

.manual-site-menu-button.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==============================
   Header Drawer
============================== */

.manual-site-drawer {
  display: none;
}

.manual-site-drawer-inner {
  width: min(100% - 28px, 520px);
  margin: 0 auto;
  padding: 18px 0 18px;
}

.manual-site-drawer-heading {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 8px 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.manual-site-drawer-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.manual-site-drawer-nav {
  display: grid;
  gap: 8px;
}

.manual-site-drawer-nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  color: var(--manual-brown);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(107, 72, 50, 0.06);
}

.manual-site-drawer-nav a i {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

.manual-site-drawer-sub {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ffc7a5;
}

.manual-site-drawer-sub a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--manual-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.manual-site-drawer-sub a i {
  color: var(--manual-orange);
  font-size: 11px;
}

body.manual-drawer-open {
  overflow: hidden;
}

/* ==============================
   Footer
============================== */

.manual-site-footer {
  width: 100%;
  background: linear-gradient(180deg, var(--manual-bg) 0%, #fff3eb 100%);
  color: var(--manual-brown);
  padding: 42px 0 30px;
  border-top: 1px solid rgba(242, 223, 210, 0.9);
}

.manual-site-footer-inner {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(242, 223, 210, 0.75);
}

.manual-site-footer-logo span {
  display: block;
  color: var(--manual-brown);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.manual-site-footer-logo small {
  display: block;
  margin-top: 4px;
  color: var(--manual-orange);
  font-size: 13px;
  font-weight: 600;
}

.manual-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.manual-site-footer-links li {
  margin: 0;
  padding: 0;
}

.manual-site-footer-links a {
  color: var(--manual-brown);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.6;
}

.manual-site-footer-links a:hover {
  color: var(--manual-orange);
}

.manual-site-footer-links-sub a {
  color: var(--manual-muted);
  font-weight: 500;
}

.manual-site-footer-copy {
  margin: 24px 0;
  color: var(--manual-muted);
  font-size: 12px;
}

.manual-site-footer-nav {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.manual-site-footer-group {
  display: grid;
  gap: 10px;
}

.manual-site-footer-heading {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 2px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
}

.manual-site-footer-heading::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: currentColor;
}

.manual-site-footer-group + .manual-site-footer-group {
  padding-top: 4px;
}

/* ==============================
   waneco talk+ Web Manual
============================== */

.manual-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(246, 106, 45, 0.08), transparent 24%),
    radial-gradient(circle at 90% 30%, rgba(255, 202, 164, 0.16), transparent 28%),
    var(--manual-bg);
  color: var(--manual-text);
  line-height: 1.8;
  overflow: hidden;
}

.manual-page a {
  color: inherit;
  text-decoration: none;
}

.manual-container {
  width: min(100% - 40px, 960px);
  margin: 0 auto;
}

/* ==============================
   Archive Hero
============================== */

.manual-hero {
  padding: 54px 0 58px;
  background: linear-gradient(180deg, #fff 0%, var(--manual-bg) 100%);
  border-bottom: 1px solid rgba(242, 223, 210, 0.8);
}

.manual-hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 56px;
  min-height: 250px;
}

.manual-hero-content::before {
  content: "";
  position: absolute;
  inset: -34px -10px -24px;
  background-image:
    radial-gradient(circle, rgba(246, 106, 45, 0.1) 2px, transparent 3px),
    radial-gradient(circle, rgba(246, 106, 45, 0.06) 2px, transparent 3px);
  background-size: 54px 54px;
  background-position: 0 0, 24px 26px;
  pointer-events: none;
  opacity: 0.7;
}

.manual-hero-text,
.manual-hero-visual {
  position: relative;
  z-index: 1;
}

.manual-hero-text h1 {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1.52;
  color: var(--manual-brown);
  letter-spacing: 0.02em;
}

.manual-hero-text p {
  margin: 24px 0 0;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 600;
  color: #5d514b;
}

.manual-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.manual-hero-pets {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==============================
   Search
============================== */

.manual-search-box {
  position: relative;
  z-index: 2;
  margin: 34px auto 0;
}

.manual-search-box form {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 15px 13px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 14px 34px rgba(107, 72, 50, 0.1);
}

.manual-search-box i {
  color: #b7aea8;
  font-size: 18px;
}

.manual-search-box input[type="search"] {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: var(--manual-text);
}

.manual-search-box input[type="search"]::placeholder {
  color: #b7aea8;
}

.manual-search-box button {
  border: 0;
  border-radius: 999px;
  background: var(--manual-orange);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  cursor: pointer;
}

/* ==============================
   Sections
============================== */

.manual-section {
  padding: 48px 0 20px;
}

.manual-section-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #ffc7a5;
}

.manual-section-heading i {
  color: var(--manual-orange);
  font-size: 22px;
}

.manual-section-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.4;
  color: var(--manual-brown);
}

/* ==============================
   Common Cards
============================== */

.manual-card,
.manual-wide-card,
.manual-post-item,
.manual-package-item,
.manual-choice-card,
.manual-line-support-card,
.manual-post-nav-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

@media (hover: hover) {
  .manual-card:hover,
  .manual-wide-card:hover,
  .manual-post-item:hover,
  .manual-package-item:hover,
  .manual-choice-card:hover,
  .manual-line-support-card:hover,
  .manual-post-nav-card:hover {
    transform: translateY(-2px);
    border-color: var(--manual-hover-border);
    box-shadow: var(--manual-hover-shadow);
  }
}

/* ==============================
   Category Cards
============================== */

.manual-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.manual-card {
  position: relative;
  min-height: 230px;
  padding: 26px 17px 48px;
  border-radius: 18px;
  background: var(--manual-card);
  border: 1px solid rgba(242, 223, 210, 0.9);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.1);
  text-align: center;
}

.manual-card-icon {
  width: 82px;
  height: 82px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--manual-orange-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual-card:nth-child(2) .manual-card-icon {
  background: #ffeaf0;
}

.manual-card:nth-child(3) .manual-card-icon {
  background: #e8f8ed;
}

.manual-card:nth-child(4) .manual-card-icon {
  background: #e9f0ff;
}

.manual-card-icon i {
  font-size: 34px;
  color: var(--manual-orange);
}

.manual-card:nth-child(3) .manual-card-icon i {
  color: #1abf5b;
}

.manual-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
  color: var(--manual-brown);
}

.manual-card p {
  margin: 9px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--manual-text);
  text-align: left;
}

.manual-card-arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--manual-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* Wide Card */

.manual-wide-card {
  display: grid;
  grid-template-columns: 74px 1fr 28px;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.9);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.1);
}

.manual-wide-icon {
  width: 64px;
  height: 50px;
  border-radius: 14px;
  background: #fff1e7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--manual-orange);
  font-size: 26px;
}

.manual-wide-card h3 {
  margin: 0;
  font-size: 17px;
  color: var(--manual-brown);
}

.manual-wide-card p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--manual-muted);
}

.manual-wide-card > span,
.manual-wide-card > i {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--manual-orange);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

.manual-wide-card > span i,
.manual-wide-card > i {
  color: #fff !important;
}

/* ==============================
   FAQ / Lists
============================== */

.manual-faq-area {
  padding-top: 44px;
}

.manual-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.manual-chip-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 5px 14px rgba(107, 72, 50, 0.08);
  color: var(--manual-brown);
  font-size: 14px;
  font-weight: 600;
}

.manual-post-list {
  display: grid;
  gap: 12px;
}

.manual-post-item {
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 18px 18px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.9);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
}

.manual-post-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.manual-post-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--manual-brown);
}

.manual-post-item p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--manual-muted);
}

.manual-post-item > i,
.manual-post-item > span {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--manual-orange);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

.manual-post-item > span i,
.manual-post-item > i {
  color: #fff !important;
}

.manual-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--manual-border);
  color: var(--manual-muted);
  font-size: 13px;
}

.manual-empty::before {
  content: "\f059";
  font-family: "Font Awesome 7 Free";
  font-weight: 600;
  color: var(--manual-orange);
}

/* ==============================
   LINE Support / Footer Message
============================== */

.manual-contact-section {
  padding: 18px 0 46px;
}

.manual-line-support-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  align-items: center;
  gap: 26px;
  padding: 24px 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff 0%, #fff5ee 100%);
  border: 1px solid rgba(246, 106, 45, 0.18);
  box-shadow: 0 10px 26px rgba(107, 72, 50, 0.08);
}

.manual-line-support-image {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.manual-line-support-image > img {
  width: 130px;
  height: auto;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.9);
}

.manual-line-button {
  display: block;
  line-height: 0;
}

.manual-line-button img {
  width: 120px;
  height: auto;
}

.manual-line-support-text {
  min-width: 0;
}

.manual-line-support-text h2 {
  margin: 0;
  color: var(--manual-brown);
  font-size: 22px;
  line-height: 1.5;
}

.manual-line-support-text p {
  margin: 8px 0 0;
  color: var(--manual-muted);
  font-size: 14px;
  line-height: 1.8;
}

.manual-line-support-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px !important;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.manual-line-support-id {
  color: var(--manual-brown) !important;
  font-weight: 600;
}

.sp-only {
  display: none;
}

.manual-footer-message {
  padding: 28px 0 4px;
  text-align: center;
  color: var(--manual-brown);
  font-weight: 600;
}

.manual-footer-pets {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 9px;
  margin-bottom: 8px;
  color: #d9a16d;
}

.manual-footer-pets i:first-child {
  font-size: 32px;
}

.manual-footer-pets i:last-child {
  font-size: 24px;
}

.manual-footer-message p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* ==============================
   Manual Single
============================== */

.manual-single-hero {
  padding: 34px 0 42px;
  background: linear-gradient(180deg, #fff 0%, var(--manual-bg) 100%);
  border-bottom: 1px solid rgba(242, 223, 210, 0.8);
}

.manual-single-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.manual-back-link,
.manual-back-home {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--manual-brown);
  font-size: 14px;
  font-weight: 600;
}

.manual-back-link i,
.manual-back-home i {
  color: var(--manual-orange);
  font-size: 13px;
}

.manual-back-home {
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 5px 14px rgba(107, 72, 50, 0.06);
}

.manual-back-link:hover,
.manual-back-home:hover {
  color: var(--manual-orange);
}

.manual-single-title-area {
  position: relative;
  padding: 28px 30px 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: var(--manual-shadow);
  overflow: hidden;
}

.manual-single-title-area::before {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--manual-orange-soft);
}

.manual-single-category {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  font-size: 13px;
  font-weight: 600;
}

.manual-single-title-area h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--manual-brown);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.manual-single-lead {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--manual-muted);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 600;
}

.manual-single-body-section {
  padding: 36px 0 56px;
}

.manual-single-card {
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 10px 30px rgba(107, 72, 50, 0.1);
}

.manual-single-thumbnail {
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff7f1;
}

.manual-single-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
}

.manual-single-content {
  color: var(--manual-text);
  font-size: 16px;
  line-height: 2;
}

.manual-single-content > *:first-child {
  margin-top: 0;
}

.manual-single-content > *:last-child {
  margin-bottom: 0;
}

.manual-single-content h2 {
  position: relative;
  margin: 46px 0 20px;
  padding: 0 0 12px 18px;
  color: var(--manual-brown);
  font-size: 24px;
  line-height: 1.45;
  border-bottom: 2px dashed #ffc7a5;
}

.manual-single-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.36em;
  width: 7px;
  height: 1.15em;
  border-radius: 999px;
  background: var(--manual-orange);
}

.manual-single-content h3 {
  margin: 34px 0 14px;
  padding: 13px 16px;
  border-radius: 16px;
  background: var(--manual-orange-soft);
  color: var(--manual-brown);
  font-size: 19px;
  line-height: 1.5;
}

.manual-single-content p {
  margin: 0 0 18px;
}

.manual-single-content strong {
  color: var(--manual-brown);
  font-weight: 600;
}

.manual-single-content a {
  color: var(--manual-orange);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.manual-single-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 22px auto;
  border-radius: 18px;
}

.manual-single-content ul,
.manual-single-content ol {
  margin: 20px 0;
  padding: 18px 22px 18px 40px;
  border-radius: 18px;
  background: #fffaf6;
  border: 1px solid rgba(242, 223, 210, 0.8);
}

.manual-single-content li {
  margin: 7px 0;
}

.manual-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border-radius: 16px;
  font-size: 14px;
}

.manual-single-content th,
.manual-single-content td {
  padding: 12px;
  border: 1px solid var(--manual-border);
}

.manual-single-content th {
  background: var(--manual-orange-soft);
  color: var(--manual-brown);
}

/* ==============================
   Manual Step List
============================== */

.manual-step-list {
  position: relative;
  margin: 8px 0 0;
  padding: 6px 0;
}

.manual-step-item {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
}

.manual-step-item:first-child {
  padding-top: 0;
}

.manual-step-item:not(:last-of-type) {
  border-bottom: 2px dashed #ffc7a5;
}

.manual-step-number {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--manual-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(246, 106, 45, 0.22);
}

.manual-step-content {
  min-width: 0;
}

.manual-step-content > *:first-child {
  margin-top: 0;
}

.manual-step-content > *:last-child {
  margin-bottom: 0;
}

.manual-step-content h2,
.manual-step-content h3 {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--manual-brown);
  font-size: 22px;
  line-height: 1.5;
}

.manual-step-content h2::before,
.manual-step-content h3::before {
  content: none;
}

.manual-step-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--manual-text);
}

.manual-step-content img {
  margin: 18px 0 0;
}

.manual-step-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px 0 0;
  padding: 15px 18px;
  border-radius: 18px;
  background: #fffaf6;
  border: 1px dashed #ffc7a5;
  color: var(--manual-brown);
  font-size: 14px;
  line-height: 1.8;
}

.manual-step-note::before {
  content: "\f0eb";
  flex: 0 0 auto;
  font-family: "Font Awesome 7 Free";
  font-weight: 600;
  color: var(--manual-orange);
  margin-top: 0.15em;
}

/* old step card fallback */
.manual-step-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 16px;
  margin: 24px 0;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
}

/* ==============================
   Choice Cards
============================== */

.manual-choice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.manual-choice-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
  text-decoration: none !important;
}

.manual-choice-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--manual-orange-soft);
  color: var(--manual-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.manual-choice-text {
  min-width: 0;
}

.manual-choice-text h3 {
  margin: 0 0 5px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--manual-brown);
  font-size: 16px;
  line-height: 1.45;
}

.manual-choice-text h3::before {
  content: none;
}

.manual-choice-text p {
  margin: 0;
  color: var(--manual-muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

.manual-choice-card > span {
  justify-self: end;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--manual-orange);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}

.manual-choice-card > span i {
  color: #fff !important;
}

/* ==============================
   Screen Shot / QR
============================== */

.manual-screen-shot {
  width: min(100%, 360px);
  margin: 20px 0 0;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
}

.manual-screen-shot img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 14px;
}

.manual-qr-box {
  width: 190px;
  margin: 20px 0 0;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
}

.manual-qr-box img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 12px;
}

/* ==============================
   Package List
============================== */

.manual-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.manual-package-item {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 22px 18px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
  text-align: center;
}

.manual-package-image {
  width: 100%;
  height: 120px;
  margin: 0 auto 16px;
  padding: 8px;
  border-radius: 16px;
  background: #fffaf6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manual-package-image img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: 0;
  border-radius: 0;
  object-fit: contain;
}

.manual-package-item h2 {
  margin: 0 0 9px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--manual-brown);
  font-size: 18px;
  line-height: 1.45;
  letter-spacing: 0.01em;
}

.manual-package-item h2::before {
  content: none;
}

.manual-package-item p {
  margin: 0;
  color: var(--manual-muted);
  font-size: 13px;
  line-height: 1.75;
  text-align: left;
  font-weight: 500;
}

.manual-package-item p:last-child {
  margin-bottom: 0;
}

/* ==============================
   Post Navigation
============================== */

.manual-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.manual-post-nav-card {
  display: block;
  padding: 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.08);
}

.manual-post-nav-card span {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 600;
}

.manual-post-nav-card strong {
  display: block;
  color: var(--manual-brown);
  font-size: 15px;
  line-height: 1.6;
}

.manual-post-nav-next {
  text-align: right;
}

.manual-post-nav-next span {
  justify-content: flex-end;
}

.manual-single-line-section {
  margin-top: 22px;
}

/* ==============================
   Next Action
============================== */

.manual-next-action {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 34px 0 0;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fffaf6;
  border: 1px solid rgba(242, 223, 210, 0.95);
  box-shadow: 0 8px 22px rgba(107, 72, 50, 0.06);
  text-align: left;
}

.manual-next-label {
  display: block;
  margin: 0 !important;
  color: var(--manual-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}

.manual-next-label::before {
  content: "次に進む";
  display: block;
  margin-bottom: 3px;
  color: var(--manual-orange);
  font-size: 12px;
  font-weight: 600;
}

.manual-next-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 210px;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--manual-orange);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(246, 106, 45, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.manual-next-button i {
  color: #fff;
  font-size: 12px;
}

@media (hover: hover) {
  .manual-next-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(246, 106, 45, 0.26);
  }
}

/* ==============================
   Tablet
============================== */

@media screen and (max-width: 960px) {
  .manual-container {
    width: min(100% - 40px, 760px);
  }

  .manual-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manual-card {
    min-height: 212px;
  }

  .manual-hero-content {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .manual-hero-pets {
    width: 240px;
  }

  .manual-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==============================
   Smartphone
============================== */

@media screen and (max-width: 640px) {
  .manual-site-header {
    box-shadow: 0 6px 18px rgba(107, 72, 50, 0.06);
  }

  .manual-site-header-inner {
    width: min(100% - 28px, 520px);
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .manual-site-logo-img {
    width: 132px;
  }

  .manual-site-logo-sub {
    font-size: 11px;
  }

  .manual-site-nav {
    display: none;
  }

  .manual-site-menu-button {
    display: block;
  }

  .manual-site-drawer {
    display: block;
    max-height: 0;
    overflow: hidden;
    background: rgba(255, 248, 242, 0.98);
    border-top: 1px solid rgba(242, 223, 210, 0.8);
    transition: max-height 0.28s ease;
  }

  .manual-site-drawer.is-open {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .manual-site-footer {
    padding: 34px 0 26px;
  }

  .manual-site-footer-inner {
    width: min(100% - 28px, 520px);
    padding: 22px 20px;
  }

  .manual-site-footer-nav {
    gap: 20px;
    margin-top: 22px;
  }

  .manual-site-footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .manual-site-footer-links a {
    font-size: 13px;
  }

  .manual-site-footer-copy {
    margin-top: 22px;
  }

  .manual-container {
    width: min(100% - 28px, 520px);
  }

  .manual-hero {
    padding: 24px 0 34px;
  }

  .manual-hero-content {
    grid-template-columns: 1fr 142px;
    min-height: 188px;
    gap: 8px;
  }

  .manual-hero-content::before {
    inset: -18px -10px -10px;
    background-size: 46px 46px;
    opacity: 0.65;
  }

  .manual-hero-text h1 {
    font-size: 24px;
    line-height: 1.65;
  }

  .manual-hero-text p {
    margin-top: 18px;
    font-size: 14px;
  }

  .manual-hero-pets {
    width: 142px;
  }

  .manual-search-box {
    margin-top: 24px;
  }

  .manual-search-box form {
    grid-template-columns: 22px 1fr;
    padding: 13px 16px 13px 18px;
  }

  .manual-search-box button {
    display: none;
  }

  .manual-section {
    padding: 32px 0 14px;
  }

  .manual-section-heading h2 {
    font-size: 20px;
  }

  .manual-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .manual-card {
    min-height: 188px;
    padding: 22px 13px 42px;
  }

  .manual-card-icon {
    width: 72px;
    height: 72px;
  }

  .manual-card-icon i {
    font-size: 30px;
  }

  .manual-card h3 {
    font-size: 16px;
  }

  .manual-card p {
    font-size: 12px;
  }

  .manual-wide-card {
    grid-template-columns: 60px 1fr 28px;
    padding: 13px 15px;
  }

  .manual-wide-card h3 {
    font-size: 15px;
  }

  .manual-wide-card p {
    font-size: 12px;
  }

  .manual-chip-list a {
    min-height: 34px;
    padding: 6px 14px;
    font-size: 12px;
  }

  .manual-post-item {
    grid-template-columns: 1fr 28px;
    padding: 15px;
  }

  .manual-post-item h3 {
    font-size: 15px;
  }

  .manual-post-item p {
    font-size: 12px;
  }

  .manual-line-support-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .manual-line-support-image > img {
    width: 138px;
  }

  .manual-line-button img {
    width: 120px;
  }

  .manual-line-support-label {
    margin-left: auto;
    margin-right: auto;
  }

  .manual-line-support-text h2 {
    font-size: 17px;
  }

  .manual-line-support-text p {
    font-size: 12px;
  }

  .sp-only {
    display: block;
  }

  .manual-single-hero {
    padding: 18px 0 30px;
  }

  .manual-single-header {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .manual-back-link,
  .manual-back-home {
    font-size: 12px;
  }

  .manual-back-home {
    padding: 6px 10px;
  }

  .manual-single-title-area {
    padding: 26px 22px 28px;
  }

  .manual-single-title-area h1 {
    font-size: 24px;
  }

  .manual-single-card {
    padding: 20px;
  }

  .manual-single-content {
    font-size: 15px;
    line-height: 2;
  }

  .manual-single-content h2 {
    font-size: 22px;
  }

  .manual-single-content h3 {
    font-size: 18px;
  }

  .manual-step-list {
    margin-top: 0;
    padding: 0;
  }

  .manual-step-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 22px 0;
  }

  .manual-step-item:first-child {
    padding-top: 0;
  }

  .manual-step-number {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .manual-step-content h2,
  .manual-step-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }

  .manual-step-content p {
    font-size: 13px;
    line-height: 1.85;
  }

  .manual-step-note {
    gap: 8px;
    padding: 14px 15px;
    font-size: 13px;
  }

  .manual-screen-shot {
    width: min(100%, 320px);
    margin-top: 18px;
    padding: 10px;
    border-radius: 20px;
  }

  .manual-screen-shot img {
    border-radius: 12px;
  }

  .manual-qr-box {
    width: 170px;
    margin-top: 18px;
    padding: 12px;
    border-radius: 18px;
  }

  .manual-qr-box img {
    border-radius: 10px;
  }

  .manual-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 20px;
  }

  .manual-package-item {
    min-height: 250px;
    padding: 18px 14px 16px;
    border-radius: 18px;
  }

  .manual-package-image {
    height: 98px;
    margin-bottom: 13px;
    padding: 7px;
    border-radius: 14px;
  }

  .manual-package-item h2 {
    font-size: 16px;
  }

  .manual-package-item p {
    font-size: 12px;
    line-height: 1.7;
  }

  .manual-choice-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .manual-choice-card {
    grid-template-columns: 48px minmax(0, 1fr) 28px;
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
  }

  .manual-choice-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 19px;
  }

  .manual-choice-text h3 {
    font-size: 15px;
  }

  .manual-choice-text p {
    font-size: 12px;
  }

  .manual-post-nav {
    grid-template-columns: 1fr;
  }

  .manual-post-nav-next {
    text-align: left;
  }

  .manual-post-nav-next span {
    justify-content: flex-start;
  }

  .manual-next-action {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding: 18px;
  }

  .manual-next-button {
    width: 100%;
    min-width: 0;
    padding: 13px 18px;
    font-size: 14px;
  }
}

@media screen and (min-width: 641px) {
  .manual-site-drawer {
    display: none !important;
  }
}

/* ==============================
   Small Smartphone
============================== */

@media screen and (max-width: 420px) {
  .manual-container {
    width: min(100% - 26px, 420px);
  }

  .manual-hero-content {
    grid-template-columns: 1fr 126px;
    gap: 6px;
  }

  .manual-hero-text h1 {
    font-size: 22px;
  }

  .manual-hero-text p {
    font-size: 13px;
  }

  .manual-hero-pets {
    width: 126px;
  }

  .manual-card {
    min-height: 178px;
    padding: 20px 12px 40px;
  }

  .manual-card h3 {
    font-size: 15px;
  }

  .manual-card p {
    font-size: 11px;
  }

  .manual-single-title-area {
    padding: 24px 20px;
  }

  .manual-single-title-area h1 {
    font-size: 23px;
  }

  .manual-single-card {
    padding: 18px;
  }

  .manual-single-content h2 {
    font-size: 21px;
  }

  .manual-single-content h3 {
    font-size: 17px;
  }

  .manual-step-content h2,
  .manual-step-content h3 {
    font-size: 17px;
  }

  .manual-screen-shot {
    width: 100%;
    padding: 9px;
  }

  .manual-qr-box {
    width: 160px;
  }

  .manual-package-grid {
    gap: 12px;
  }

  .manual-package-item {
    min-height: 238px;
    padding: 16px 12px 15px;
  }

  .manual-package-image {
    height: 86px;
  }

  .manual-package-item h2 {
    font-size: 15px;
  }

  .manual-package-item p {
    font-size: 11px;
  }
}