:root {
  --text: #3e2f26;
  --text-soft: #6b5548;
  --main: #f59f66;
  --main-dark: #ea8847;
  --main-strong: #c96f31;
  --main-light: #fff7f1;
  --sub-light: #fffdfb;
  --line: #ebe7e2;
  --card: #ffffff;
  --table-head: #fff7f1;
  --table-border: #ecdccd;
  --shadow: 0 12px 30px rgba(42, 28, 18, 0.08);
  --shadow-soft: 0 8px 22px rgba(42, 28, 18, 0.05);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1100px;
  --section-gap: 56px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 118px;
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: #ffffff;
  font-size: 15px;
  line-height: 1.7;
  word-break: break-word;
}

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

.page-wrap {
  width: 100%;
  overflow-x: hidden;
}

.top-fixed-area {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(255, 253, 251, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 18px rgba(62, 47, 38, 0.08);
}

.site-header {
  border-bottom: 1px solid #f0e7df;
  padding: 12px 16px 10px;
}

.site-title {
  margin: 0;
  text-align: center;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  color: #7a4b33;
  letter-spacing: 0.03em;
}

.page-nav {
  border-bottom: 1px solid #f2e9e1;
}

.page-nav-list {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 10px 16px;
  flex-wrap: wrap;
}

.page-nav-list a {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 16px;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.page-nav-list a:hover {
  color: var(--main-dark);
}

.page-nav-list .contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(245, 159, 102, 0.28);
}

.page-nav-list .contact-link:hover {
  color: #fff;
  opacity: 0.96;
  transform: translateY(-1px);
}

.section-anchor {
  scroll-margin-top: 138px;
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 250, 246, 0.97) 0%, rgba(255, 250, 246, 0.94) 34%, rgba(255, 250, 246, 0.20) 66%, rgba(255, 250, 246, 0.06) 100%),
    url('/img/top.png') no-repeat right center / cover;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  min-height: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 28px 16px;
}

.hero-text {
  max-width: 580px;
}

.hero-catch {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 900;
  color: #844d2f;
  letter-spacing: 0.01em;
}

.hero-sub {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 800;
  color: #5e4334;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(240, 139, 65, 0.22);
}

.hero-btn,
.hero-btn-sub,
.estimate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  border: none;
  box-shadow: 0 14px 30px rgba(245, 159, 102, 0.30);
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.hero-btn:hover,
.hero-btn-sub:hover,
.estimate-btn:hover {
  transform: translateY(-1px);
  opacity: 0.97;
  box-shadow: 0 16px 32px rgba(245, 159, 102, 0.34);
}

.hero-btn-sub {
  margin-top: 8px;
}

.feature-wrap,
.nyukai-wrap,
.tk-wrap,
.tk2-wrap,
.pet-age-type-box,
.pet-plan-chart,
.benefit-table,
.special-benefit,
.flow-wrapper,
.apply-flow-box,
.estimate-section {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.feature-wrap {
  padding-top: 56px;
}

.section-label {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  color: #8a5638;
  margin-bottom: 20px;
}

.table-section-title,
.section-main-title {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: #7f4c33;
  margin: var(--section-gap) 0 10px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.section-sub-title {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-soft);
  margin: 0 0 22px;
  padding: 0 16px;
  line-height: 1.7;
}

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

.problem-card,
.feature-point,
.estimate-result-card {
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.problem-card-title,
.feature-point-title {
  font-size: 22px;
  font-weight: 900;
  color: #7f4c33;
  margin-bottom: 10px;
  line-height: 1.45;
}

.problem-card p,
.feature-point p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.7;
}

.solution-banner {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 14px 18px;
  text-align: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(240, 139, 65, 0.22);
}

.feature-modern {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 28px;
  padding: 18px 0 0;
}

.feature-modern-text {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.feature-main-title {
  margin: 0 0 12px;
  font-size: 40px;
  line-height: 1.25;
  font-weight: 900;
  color: #7f4c33;
}

.feature-main-desc {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}

.feature-main-desc-strong {
  font-size: 18px;
  line-height: 1.75;
  font-weight: 700;
  color: #6d5649;
  margin: 0 0 16px;
}

.feature-accent {
  color: #d17736;
  font-weight: 900;
}

.feature-modern-image img {
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.feature-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 880px;
  margin: 24px auto 0;
}

.feature-compare-card {
  background: #fff;
  border: 1px solid #ece6df;
  border-radius: 22px;
  padding: 20px 16px;
  box-shadow: var(--shadow);
  text-align: left;
}

.feature-compare-card-main {
  background: #fff8f3;
  border: 2px solid #f5b48c;
}

.feature-compare-head {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6a15a;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.feature-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-compare-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  color: #5a4134;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.7;
}

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

.feature-compare-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #d17736;
  font-weight: 900;
}

.feature-highlight-message {
  max-width: 920px;
  margin: 24px auto 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff1e7, #fff7f1);
  border: 1px solid #f3dfd0;
  color: #c96f31;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.feature-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
  margin: 24px auto 0;
}

.sp-only {
  display: none;
}

.modern-table,
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--table-border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.nyukai-table,
.tk-table,
.tk2-table {
  overflow: hidden;
}

.nyukai-table th,
.nyukai-table td,
.tk-table th,
.tk-table td,
.tk2-table th,
.tk2-table td {
  border-bottom: 1px solid var(--table-border);
  border-right: 1px solid var(--table-border);
  text-align: center;
  vertical-align: middle;
  padding: 12px 10px;
}

.nyukai-table tr:last-child td,
.tk-table tr:last-child td,
.tk2-table tr:last-child td {
  border-bottom: none;
}

.nyukai-table th:last-child,
.nyukai-table td:last-child,
.tk-table th:last-child,
.tk-table td:last-child,
.tk2-table th:last-child,
.tk2-table td:last-child {
  border-right: none;
}

.nyukai-table thead th,
.tk-table thead th {
  background: linear-gradient(180deg, #fff8f2 0%, #fff1e7 100%);
  color: #7c4f37;
  font-weight: 900;
}

.nyukai-table,
.tk-table,
.tk2-table {
  font-size: 16px;
  line-height: 1.65;
}

.nyukai-wrap {
  margin-top: 10px;
}

.nyukai-table thead th {
  font-size: 15px;
}

.nyukai-table thead th:first-child {
  background: #fffaf7;
}

.nyukai-table td:first-child {
  background: #fff9f5;
  color: #7f4c33;
  font-weight: 900;
  width: 24%;
}

.nyukai-table tbody td:not(:first-child) {
  font-weight: 800;
  color: #5a4032;
}

.nyukai-table tbody tr:nth-child(even) td {
  background: #fffdfb;
}

.nyukai-table tbody tr:nth-child(even) td:first-child {
  background: #fff7f1;
}

.tk-wrap,
.tk2-wrap {
  margin-top: 20px;
}

.tk-table {
  font-size: 16px;
}

.tk-table th {
  font-size: 15px;
  line-height: 1.45;
}

.tk-table td {
  background: #fff;
}

.tk-table tbody tr:nth-child(even) td:not(.tk-section):not(.tk-nopad) {
  background: #fffdfb;
}

.tk-section {
  background: linear-gradient(180deg, #fff8f2 0%, #fff2e8 100%);
  font-weight: 900;
  color: #7b4c33;
  padding: 10px 8px;
  letter-spacing: 0.02em;
  font-size: 15px;
}

.tk-text,
.tk2-text {
  line-height: 1.7;
  text-align: left;
  color: #5a4134;
}

.tk-nopad,
.tk2-nopad {
  padding: 0 !important;
  background: #fffdfb !important;
}

.tk-sub,
.tk2-inner {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tk-sub td,
.tk2-inner td {
  border: 1px solid var(--table-border);
  text-align: center;
  vertical-align: middle;
  padding: 8px 6px;
  line-height: 1.7;
  background: #fffdfb;
  font-size: 15px;
}

.tk-sub tr:first-child td,
.tk2-inner tr:first-child td {
  border-top: none;
}

.tk-sub tr:last-child td,
.tk2-inner tr:last-child td {
  border-bottom: none;
}

.tk-sub td:first-child,
.tk2-inner td:first-child {
  border-left: none;
}

.tk-sub td:last-child,
.tk2-inner td:last-child {
  border-right: none;
}

.tk-brace-cell {
  padding: 0 !important;
}

.tk-brace {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

.tk-brace svg {
  width: 24px;
  height: 132px;
}

.tk2-table {
  font-size: 16px;
}

.tk2-table > tbody > tr:nth-child(even) > td:not(.tk-section):not(.tk2-nopad) {
  background: #fffdfb;
}

.tk2-table > tbody > tr > td:first-child:not(.tk-section) {
  background: #fff9f5;
  font-weight: 900;
  color: #7f4c33;
}

.pet-age-type-title {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
  color: #d17736;
  line-height: 1.3;
  text-align: center;
}

.pet-age-type-section {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding: 12px;
  border-radius: 22px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
  background: #fff;
  border: 1px solid #efe8e1;
}

.section-age,
.section-kind {
  background: #fff;
}

.pet-age-type-label {
  flex: 0 0 96px;
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  font-size: 19px;
  line-height: 1.4;
  padding: 12px 8px;
  min-height: 114px;
  box-shadow: 0 8px 20px rgba(240, 139, 65, 0.20);
}

.pet-age-type-cards {
  display: flex;
  gap: 12px;
  flex: 1;
}

.pet-age-type-card {
  flex: 1;
  background: #fff;
  border-radius: 18px;
  padding: 12px 10px 14px;
  text-align: center;
  min-height: 114px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #f0e7df;
}

.pet-age-type-card-head {
  display: inline-block;
  min-width: 78%;
  background: #f6a15a;
  color: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 10px;
}

.pet-age-type-card-body {
  color: #8b5738;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.7;
  margin: 0;
}

.pet-age-type-card-body.small {
  font-size: 15px;
  line-height: 1.7;
}

.pet-plan-chart {
  position: relative;
  margin-top: 14px;
  padding-top: 18px;
  padding-bottom: 8px;
  color: #c96f31;
}

.pet-plan-header,
.pet-plan-block {
  display: grid;
  grid-template-columns: 150px 120px 36px 120px 1fr 50px 1fr;
  gap: 10px;
  align-items: stretch;
}

.pet-plan-header {
  margin-bottom: 14px;
  padding-top: 30px;
}

.head-empty {
  height: 1px;
}

.head-pet,
.head-green {
  text-align: center;
  font-weight: 900;
  border-radius: 14px;
  padding: 10px 8px;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
  font-size: 15px;
}

.head-pet {
  background: #fff3e8;
  color: #8a5638;
}

.head-green {
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
}

.pet-plan-block {
  margin-bottom: 24px;
  padding: 12px;
  background: #fff;
  border: 1px solid #efe3d8;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.pet-plan-divider {
  border-top: 1px dashed #ead8cb;
  margin: 12px 0 20px;
}

.age-ribbon,
.pet-age-tag {
  color: #fff;
  font-weight: 900;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.04em;
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%);
}

.age-ribbon {
  font-size: 16px;
  line-height: 1.5;
  min-height: 350px;
  padding: 16px 12px;
}

.under50 {
  background: #d98349;
}

.over50 {
  background: #c46a43;
}

.person-box {
  background: #fff;
  border: 1px solid #f0e1d5;
  border-radius: 16px;
  color: #8a5638;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 126px;
  padding: 12px;
  font-size: 15px;
  line-height: 1.7;
  box-shadow: var(--shadow-soft);
  align-self: center;
}

.plus-sign {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1;
  font-weight: 700;
  color: #b78b6f;
  align-self: center;
}

.pet-age-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.pet-age-tag {
  padding: 12px 8px;
  font-size: 15px;
  min-height: 126px;
  line-height: 1.5;
}

.less6 {
  background: #eea56f;
}

.more6 {
  background: #d68a57;
}

.price-col,
.course-col {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  background: #fffaf6;
  border-radius: 18px;
  padding: 10px;
  border: 1px solid #f0e3d8;
}

.price-box,
.course-box {
  background: #fff;
  border: 1px solid #efe1d5;
  border-radius: 18px;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #a35e34;
  font-weight: 900;
  padding: 10px 12px;
  line-height: 1.65;
  font-size: 15px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-box:hover {
  transform: scale(1.03);
  background: #fff7f0;
}

.price-box .small {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  line-height: 1.4;
  color: #7d573c;
}

.price-box .big,
.course-box .big {
  display: block;
  font-size: 18px;
  line-height: 1.4;
  color: #bf6b34;
}

.course-box.active {
  border: 2px solid #f59f66;
  background: #fff7f0;
  transform: scale(1.06);
  box-shadow: 0 16px 32px rgba(245, 159, 102, 0.32);
  position: relative;
  z-index: 2;
}

.course-box.active::after {
  content: "おすすめ";
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #f59f66, #ea8847);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 900;
}

.arrow-col {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
  align-items: center;
  justify-items: center;
}

.arrow {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c28a63;
  font-size: 32px;
  font-weight: 700;
}

.pet-plan-note {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 800;
  color: #7b4c33;
  line-height: 1.6;
  text-align: right;
}

.estimate-section {
  max-width: var(--max);
  margin: 0 auto 34px;
  padding: 0 24px;
}

.estimate-box {
  position: relative;
  background: #fff7f0;
  border: 2px solid #f5b48c;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(240, 139, 65, 0.15);
  padding: 22px 18px;
}

.estimate-badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: linear-gradient(135deg, var(--main), var(--main-dark));
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(245, 159, 102, 0.25);
}

.estimate-title {
  margin: 0 0 8px;
  text-align: center;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.3;
  color: #d17736;
}

.estimate-lead {
  margin: 0 0 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.7;
}

.estimate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}

.estimate-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.estimate-row label {
  font-size: 15px;
  font-weight: 900;
  color: #7f4c33;
  line-height: 1.5;
}

.estimate-row select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.estimate-row select:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 4px rgba(245, 159, 102, 0.16);
}

.estimate-result {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px;
  margin-top: 20px;
}

.estimate-result-label {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.5;
}

.estimate-result-course {
  display: inline-block;
  min-width: 76px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7f0, #ffe8d6);
  border: 2px solid #f59f66;
  box-shadow: 0 8px 18px rgba(245, 159, 102, 0.18);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  color: #bf6b34;
}

.estimate-result-price {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #bf6b34;
}

.estimate-result-price small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
}

.estimate-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: #fff8f2;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: #8a5638;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.estimate-action {
  margin-top: 22px;
  text-align: center;
}

.estimate-btn {
  position: relative;
  min-width: 240px;
}

.estimate-btn::after {
  content: "→";
  margin-left: 8px;
}

.estimate-cta-text {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 900;
  color: #ea8847;
  line-height: 1.7;
}

.benefit-table,
.special-benefit,
.flow-wrapper {
  padding-top: 10px;
  padding-bottom: 10px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 96px 1.25fr 1.25fr 1fr;
  gap: 10px;
  align-items: stretch;
}

.benefit-head,
.benefit-side,
.special-head,
.special-side,
.special-side.stack .item {
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
  text-align: center;
  font-weight: 900;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-head {
  padding: 10px 8px;
  font-size: 15px;
  line-height: 1.4;
  box-shadow: var(--shadow-soft);
}

.benefit-side {
  padding: 8px;
  font-size: 14px;
  line-height: 1.4;
  min-height: 66px;
  box-shadow: var(--shadow-soft);
}

.benefit-side.small2 {
  font-size: 14px;
}

.benefit-box,
.special-box {
  background: #fff;
  border: 1px solid #edd8ca;
  color: #9c6139;
  text-align: center;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.benefit-box {
  border-radius: 16px;
  padding: 12px 10px;
  line-height: 1.6;
  min-height: 66px;
  font-size: 14px;
}

.benefit-box.tall {
  min-height: 82px;
}

.benefit-box .big,
.special-box .big {
  font-size: 17px;
  color: #c96f31;
  line-height: 1.35;
}

.benefit-box.span2 {
  grid-column: span 2;
}

.benefit-box.span3 {
  grid-column: span 3;
}

.benefit-note {
  margin: 18px 0 12px 4px;
  font-size: 16px;
  font-weight: 900;
  color: #d47b3a;
  line-height: 1.4;
}

.benefit-note::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border-radius: 50%;
  background: #f39b5d;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.special-benefit {
  margin-top: 30px;
}

.special-benefit-title {
  position: relative;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
  color: #d47b3a;
  line-height: 1.3;
  margin: 4px 0 18px;
  min-height: 38px;
}

.pet-left,
.pet-right {
  position: absolute;
  top: -8px;
  font-size: 24px;
  line-height: 1;
}

.pet-left {
  left: 0;
}

.pet-right {
  right: 0;
}

.special-benefit-grid,
.special-bottom {
  display: grid;
  grid-template-columns: 175px 1fr 1fr;
  gap: 14px;
  align-items: stretch;
}

.special-head {
  min-height: 44px;
  font-size: 15px;
  padding: 10px 8px;
  box-shadow: var(--shadow-soft);
}

.special-side {
  min-height: 40px;
  font-size: 14px;
  padding: 10px 12px;
  justify-content: flex-start;
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.special-side.stack {
  min-height: 128px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 8px;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.special-side.stack .item {
  border-radius: 12px;
  font-size: 14px;
  justify-content: flex-start;
  padding: 0 14px;
  box-shadow: var(--shadow-soft);
}

.special-box {
  border-radius: 18px;
  padding: 12px 10px;
  line-height: 1.6;
  font-size: 14px;
  background: #fffaf6;
}

.special-box.large {
  min-height: 128px;
}

.special-box.small {
  min-height: 44px;
  border-radius: 14px;
  font-size: 14px;
  padding: 10px 12px;
}

.special-note-red {
  margin: 12px 0 20px 2px;
  font-size: 14px;
  font-weight: 900;
  color: #d74a4a;
  line-height: 1.7;
}

.special-footnote {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
  color: #6d5649;
  line-height: 1.7;
}

.apply-flow-label,
.flow-title {
  background: linear-gradient(135deg, #f7b06d, #f08b41);
  color: #fff;
  text-align: center;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.apply-flow-label {
  padding: 12px;
  border-radius: 999px;
  max-width: 560px;
  margin: 0 auto;
  font-size: 18px;
}

.apply-flow-steps {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  flex-wrap: wrap;
  padding: 0 16px;
}

.apply-flow-step.last {
  margin-bottom: 12px;
}

.apply-flow-circle {
  width: 72px;
  height: 72px;
  border: 1px solid #efd8c7;
  border-radius: 50%;
  background: #fff7f0;
  color: #c8773c;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.apply-flow-arrow {
  font-size: 20px;
  color: #d1a07c;
}

.apply-flow-box {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--table-border);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 18px 16px;
  margin-top: 22px;
  margin-bottom: 44px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.apply-flow-heading {
  font-size: 18px;
  font-weight: 900;
  color: #8a5638;
  margin-bottom: 10px;
}

.apply-flow-item-title {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 6px;
}

.apply-flow-item-text {
  font-size: 15px;
  margin-left: 16px;
  margin-bottom: 16px;
}

.flow-wrapper {
  margin-top: 20px;
  margin-bottom: 40px;
}

.flow-title {
  width: min(94%, 700px);
  margin: 0 auto 22px;
  font-size: 18px;
  border-radius: 999px;
  padding: 12px 0;
  letter-spacing: 0.03em;
}

.flow-main {
  display: grid;
  grid-template-columns: 112px 1fr 112px;
  gap: 12px;
  align-items: stretch;
}

.side-box {
  background: #fff;
  border-radius: 26px;
  min-height: 320px;
  width: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 14px 10px 20px;
  box-shadow: var(--shadow-soft);
}

.side-box.left,
.side-box.right {
  border: 1px solid #f0dccc;
}

.side-label {
  font-weight: 900;
  font-size: 16px;
  color: #7f4c33;
  margin-top: 10px;
  text-align: center;
}

.coop-icon {
  width: 70px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.coop-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.steps {
  display: grid;
  grid-template-rows: repeat(6, 1fr);
  gap: 12px;
  padding: 0 6px;
}

.step-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.step-box {
  width: 100%;
  background: #fff8f2;
  border: 1px solid #ecd8ca;
  border-radius: 16px;
  color: #9c6139;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-soft);
}

.arrow-left,
.arrow-right {
  position: absolute;
  top: 50%;
  width: 64px;
  height: 0;
  border-top: 3px solid;
  transform: translateY(-50%);
  z-index: 1;
}

.arrow-left {
  left: -6px;
  border-color: #d39871;
}

.arrow-right {
  right: -6px;
  border-color: #d39871;
}

.arrow-left::before,
.arrow-right::after {
  content: "";
  position: absolute;
  top: -7px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

.arrow-left::before {
  left: -1px;
  border-right: 10px solid #d39871;
}

.arrow-right::after {
  right: -1px;
  border-left: 10px solid #d39871;
}

.company-info {
  margin-top: 56px;
  padding: 40px 16px;
  background: linear-gradient(180deg, #fffdfb 0%, #fff7f1 100%);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}

.company-inner {
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  text-align: left;
}

.company-info,
.company-info * {
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

.company-title {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 900;
  color: #7f4c33;
  line-height: 1.5;
}

.company-body p {
  margin: 4px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-soft);
  line-height: 1.7;
}

.flow-caution-box {
  margin-top: 24px;
  padding: 16px 18px;
  border-radius: 16px;
  background: #fff8f8;
  border: 1px solid #e8caca;
}

.flow-caution-title {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.5;
  color: #9b4d4d;
  margin-bottom: 10px;
}

.flow-caution-list {
  margin: 0;
  padding-left: 1.4em;
}

.flow-caution-list li {
  font-size: 15px;
  line-height: 1.7;
  color: #654949;
  margin-bottom: 6px;
}

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

.flow-highlight {
  margin: 20px 0 30px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff3ea 0%, #fffaf6 100%);
  border: 1px solid #e5b79a;
}

.flow-highlight-text {
  font-size: 15px;
  line-height: 1.7;
  color: #5f4637;
}

.flow-highlight-text strong {
  color: #9a3f18;
  font-weight: 800;
}

.apply-flow-subnote {
  font-size: 15px;
  color: #8a6a56;
  margin: 6px 0 14px;
}

.flow-caution-lite {
  margin-top: 20px;
  font-size: 15px;
  color: #8a6a56;
  text-align: right;
}

@media (max-width: 1024px) {
  body {
    padding-top: 142px;
  }

  .hero-catch {
    font-size: 32px;
  }

  .hero-sub {
    font-size: 20px;
  }

  .section-label {
    font-size: 30px;
  }

  .table-section-title,
  .section-main-title {
    font-size: 32px;
  }

  .feature-main-title {
    font-size: 36px;
  }

  .solution-banner {
    font-size: 22px;
  }

  .problem-grid,
  .feature-modern,
  .flow-main,
  .benefit-grid,
  .special-benefit-grid,
  .special-bottom,
  .feature-compare {
    grid-template-columns: 1fr;
  }

  .side-box {
    min-height: auto;
    width: 100%;
  }

  .arrow-left,
  .arrow-right,
  .head-empty,
  .plus-sign,
  .arrow-col {
    display: none;
  }

  .pet-plan-header,
  .pet-plan-block {
    grid-template-columns: 1fr;
  }

  .pet-age-col,
  .price-col,
  .course-col {
    grid-template-rows: auto;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 150px;
    font-size: 14px;
    line-height: 1.65;
  }

  .site-title {
    font-size: 20px;
  }

  .page-nav-list {
    gap: 8px;
    padding: 8px 10px;
    justify-content: center;
  }

  .page-nav-list a {
    font-size: 13px;
  }

  .page-nav-list .contact-link {
    padding: 8px 12px;
  }

  .section-anchor {
    scroll-margin-top: 154px;
  }

  .hero {
    min-height: 400px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(255, 249, 245, 0.97) 0%, rgba(255, 249, 245, 0.94) 46%, rgba(255, 249, 245, 0.58) 100%),
      url('/img/top.png') no-repeat 70% center / cover;
  }

  .hero-inner {
    min-height: 400px;
    align-items: flex-start;
    padding: 36px 12px 20px;
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-catch {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .hero-sub {
    font-size: 18px;
    margin-bottom: 14px;
    line-height: 1.55;
  }

  .hero-badge {
    font-size: 14px;
    padding: 8px 12px;
    margin-bottom: 14px;
  }

  .hero-btn,
  .hero-btn-sub,
  .estimate-btn {
    font-size: 15px;
    padding: 11px 16px;
    width: 100%;
    max-width: 320px;
  }

  .section-label,
  .table-section-title,
  .section-main-title {
    font-size: 26px;
  }

  .section-sub-title {
    font-size: 15px;
    padding: 0 8px;
  }

  .feature-main-title {
    font-size: 28px;
  }

  .feature-main-desc,
  .feature-main-desc-strong,
  .problem-card p,
  .feature-point p {
    font-size: 15px;
  }

  .problem-card-title,
  .feature-point-title {
    font-size: 20px;
  }

  .solution-banner {
    font-size: 18px;
    padding: 14px 16px;
    border-radius: 20px;
  }

  .feature-wrap,
  .nyukai-wrap,
  .tk-wrap,
  .tk2-wrap,
  .pet-age-type-box,
  .pet-plan-chart,
  .benefit-table,
  .special-benefit,
  .flow-wrapper,
  .apply-flow-box,
  .estimate-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .problem-card,
  .feature-point,
  .estimate-result-card,
  .feature-compare-card {
    padding: 16px 12px;
    border-radius: 18px;
  }

  .feature-compare-head {
    font-size: 15px;
  }

  .feature-compare-list li {
    font-size: 14px;
  }

  .feature-highlight-message {
    font-size: 16px;
    padding: 12px;
  }

  .sp-only {
    display: inline;
  }

  .pet-age-type-section,
  .pet-age-type-cards {
    flex-direction: column;
  }

  .pet-age-type-label {
    flex: none;
    min-height: auto;
    font-size: 18px;
  }

  .pet-age-type-card {
    min-height: auto;
  }

  .pet-age-type-card-head {
    width: 100%;
    min-width: auto;
    font-size: 15px;
  }

  .pet-age-type-card-body,
  .pet-age-type-card-body.small {
    font-size: 14px;
  }

  /* 表は wrap 側をスクロールにして、table 自体は table のまま維持 */
  .nyukai-wrap,
  .tk-wrap,
  .tk2-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nyukai-table,
  .tk-table,
  .tk2-table {
    min-width: 720px;
    display: table;
    white-space: normal;
  }

  .nyukai-table th,
  .nyukai-table td,
  .tk-table th,
  .tk-table td,
  .tk2-table th,
  .tk2-table td {
    font-size: 13px;
    padding: 8px 6px;
    min-width: auto;
  }

  .tk-section {
    font-size: 14px;
  }

  .pet-age-type-title {
    font-size: 20px;
  }

  /* 年払いがお得です以下 */
  .pet-plan-chart {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pet-plan-header,
  .pet-plan-block {
    min-width: 760px;
    grid-template-columns: 130px 105px 28px 105px 180px 40px 180px;
  }

  .head-pet,
  .head-green,
  .person-box,
  .pet-age-tag,
  .price-box,
  .course-box {
    font-size: 13px;
  }

  .price-box .big,
  .course-box .big {
    font-size: 16px;
  }

  .arrow {
    font-size: 24px;
  }

  .pet-plan-note {
    text-align: left;
    font-size: 13px;
  }

  .estimate-box {
    padding: 18px 14px;
    border-radius: 18px;
  }

  .estimate-title {
    font-size: 22px;
  }

  .estimate-lead,
  .estimate-row label {
    font-size: 14px;
  }

  .estimate-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .estimate-row select {
    height: 44px;
    font-size: 14px;
  }

  .estimate-result {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 18px;
  }

  .estimate-result-course {
    font-size: 24px;
  }

  .estimate-result-price {
    font-size: 26px;
  }

  .estimate-result-price small,
  .estimate-note,
  .estimate-cta-text {
    font-size: 13px;
  }

  .estimate-btn {
    min-width: auto;
    width: 100%;
  }

  .benefit-head,
  .benefit-side,
  .benefit-box,
  .special-head,
  .special-side,
  .special-box {
    font-size: 13px;
  }

  .benefit-box .big,
  .special-box .big {
    font-size: 16px;
  }

  .special-benefit-title {
    font-size: 20px;
    padding: 0 34px;
  }

  .pet-left,
  .pet-right {
    font-size: 22px;
    top: -2px;
  }

  .apply-flow-label,
  .flow-title {
    font-size: 16px;
  }

  .apply-flow-circle {
    width: 68px;
    height: 68px;
    font-size: 13px;
  }

  .step-box {
    font-size: 14px;
  }

  .company-title {
    font-size: 20px;
  }

  .company-body p,
  .flow-caution-list li,
  .flow-highlight-text,
  .apply-flow-subnote,
  .flow-caution-lite {
    font-size: 14px;
  }

  .company-info {
    padding: 36px 12px;
  }

  .company-inner {
    padding: 0;
    border-radius: 18px;
  }
    /* =========================
     保障内容まわり スマホ崩れ修正
     ========================= */

  .benefit-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .benefit-head,
  .benefit-side,
  .benefit-box {
    width: 100% !important;
    min-height: auto !important;
  }

  .benefit-head,
  .benefit-side {
    padding: 12px 10px !important;
    font-size: 14px !important;
    border-radius: 16px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .benefit-box {
    padding: 14px 12px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    border-radius: 16px !important;
  }

  .benefit-box.tall {
    min-height: auto !important;
  }

  .benefit-box.span2,
  .benefit-box.span3 {
    grid-column: span 1 !important;
  }

  .benefit-box .big {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }

  /* 特典表も同じく1カラム化 */
  .special-benefit-grid,
  .special-bottom {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .special-head,
  .special-side,
  .special-box,
  .special-side.stack .item {
    width: 100% !important;
    min-height: auto !important;
    font-size: 14px !important;
    border-radius: 16px !important;
  }

  .special-head,
  .special-side,
  .special-side.stack .item {
    padding: 12px 10px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .special-side.stack {
    min-height: auto !important;
    grid-template-rows: none !important;
  }

  .special-box,
  .special-box.large,
  .special-box.small {
    min-height: auto !important;
    padding: 14px 12px !important;
  }

  .special-box .big {
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
}