:root {
  --navy: var(--atom-red);
  --navy-2: #800006;
  --navy-soft: #fff6f6;
  --sky: #fff6f6;
  --sky-2: #fde8e8;
  --yellow: #b30009;
  --ink: #1a1a1a;
  --muted: #666666;
  --line: rgba(179, 0, 9, 0.16);
  --white: #ffffff;
  --danger: #b30009;
  --shadow: 0 18px 40px rgba(179, 0, 9, 0.1);
  --radius: 20px;
  /* deadline-visual / mid-cta 用 */
  --atom-white: #ffffff;
  --atom-black: #1a1a1a;
  --atom-red: #d31b21;
  --atom-gray-text: #666666;
  --font-serif-en: "Cormorant Garamond", serif;
  --font-serif: "Noto Serif JP", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background:
    radial-gradient(circle at right top,
      rgba(179, 0, 9, 0.08),
      transparent 26rem),
    linear-gradient(180deg, #ffffff 0%, var(--sky) 100%);
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--ink);
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.05em;
}

.topbar-accent {
  color: #ffe100;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1300px, calc(100% - 40px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo > img {
  height: 26px;
  width: auto;
}

.logo-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--atom-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  width: 80%;
  height: 80%;
}

.global-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 16px;
  color: var(--ink);
}

.global-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.global-nav a:hover {
  color: var(--navy-2);
  border-color: var(--navy);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(179, 0, 9, 0.18);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.header-actions a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 75%);
  transform: skewX(-15deg);
  animation: shine 3.5s linear infinite;
}

.tel-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.tel-text {
  font-size: 16px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 999px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 72px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(1fr, 1fr);
  gap: 0 60px;
  align-items: center;
  min-height: 620px;
  width: min(1300px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-copy {
  padding: 24px 0 40px;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 18px;
}

h1 {
  color: var(--navy);
  font-size: clamp(46px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: 0.035em;
  line-height: 1.08;
}

h1 .kana {
  font-size: 0.72em;
}

.hero h1 .line2 {
  display: block;
  margin-top: 8px;
  font-size: 0.72em;
}

.headline-sub {
  display: block;
  margin-top: 12px;
  padding: 0;
  background: none;
  color: var(--atom-red);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.5;
}

.hero p {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  grid-column: 1;
  grid-row: 2;
  align-self: start;
}

.hero-cta a,
.cta-card a {
  display: inline-flex;
  min-width: 300px;
  padding: 30px 20px 20px;
  border-radius: 10px;
  background: var(--atom-red);
  border: 1px solid rgba(27, 36, 109, 0.08);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.cta-card a {
  flex-direction: column;
}

.hero-cta a::after,
.cta-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 75%);
  transform: skewX(-15deg);
  animation: shine 3.5s linear infinite;
}

@keyframes shine {
  20% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.hero-cta a .label,
.cta-card a .label {
  color: var(--atom-white);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-cta a .number,
.cta-card a .number {
  color: var(--atom-white);
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-badges + .hero-cta {
  margin-top: 20px;
}

.hero-badges span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  border: 1px solid rgba(27, 36, 109, 0.1);
  box-shadow: 0 10px 20px rgba(27, 36, 109, 0.05);
}

.hero-visual {
  position: relative;
  padding-right: 24px;
  grid-row: 1 / span 2;
  grid-column: 2;
}

.hero-main-photo {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 28px 50px rgba(179, 0, 9, 0.16);
  border: 10px solid #fff;
}

.hero-main-photo img {
  width: 100%;
  aspect-ratio: 4.5 / 3;
  object-fit: cover;
  object-position: center 35%;
}

.hero-caption {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, #ff3b3b, #a01018);
  padding: 8px 14px;
  border-radius: 0 0 0 10px;
}

.hero-caption strong {
  display: block;
  background: transparent;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

.hero-caption-accent {
  color: var(--atom-red);
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 25px;
}

.hero-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f4f4;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

.hero-check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--atom-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-check-icon::after {
  content: "✓";
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}

p.hero-credit {
  font-size: 14px;
  color: var(--atom-black);
  margin: 8px 0 0;
  padding: 0 4px;
}

.hero-cta-availability {
  position: relative;
  display: inline-block;
  align-self: center;
  background: #fff;
  border-radius: 50px;
  padding: 10px 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: -15px;
  z-index: 2;
  border: 2px solid var(--atom-red);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-cta-availability::before {
  content: "";
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 12px solid var(--atom-red);
}

.hero-cta-availability::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
}

.hero-cta-avail-accent {
  color: var(--atom-red);
  font-weight: 800;
}

.hero-tel-btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--atom-red);
  border: none;
  box-shadow: 0 8px 28px rgba(179, 0, 9, 0.45);
  position: relative;
  overflow: hidden;
  gap: 12px;
  text-decoration: none;
}

.hero-tel-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 75%);
  transform: skewX(-15deg);
  animation: shine 3.5s linear infinite;
}

.hero-tel-btn-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--atom-red);
}

.hero-tel-btn-icon svg,
.hero-tel-btn-icon img {
  width: 28px;
  height: 28px;
}

.hero-cta .hero-tel-btn .label {
  flex: 1;
  color: #fff;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
}

.hero-cta .hero-tel-btn .label .label-tel {
  font-size: 17px;
  letter-spacing: 0.08em;
  margin-top: 7px;
}

@media (max-width: 767px) {
  .hero-cta .hero-tel-btn .label .label-num {
    display: none;
  }
}

.hero-tel-btn-arrow {
  flex-shrink: 0;
  position: relative;
  width: 18px;
  height: 18px;
}

.hero-tel-btn-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 9px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translate(-65%, -50%) rotate(45deg);
}

.section {
  padding: 92px 0;
}

#about-group {
  padding: 46px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  text-align: center;
  letter-spacing: 0.02em;
}

h3 {
  font-size: 22px;
  color: var(--navy);
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

.grid-2 > * {
  box-shadow: none;
}

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

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

.card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(27, 36, 109, 0.08);
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.photo-panel {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 50px rgba(179, 0, 9, 0.1);
  margin: 0 auto;
}

.photo-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.worry-list {
  display: grid;
  gap: 16px;
}

.worry-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 24px;
}

.num {
  font-size: 30px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  font-style: italic;
}

.reason-item {
  padding: 28px;
  border-top: 5px solid var(--navy);
  background: linear-gradient(180deg,
      rgba(238, 242, 255, 0.55),
      rgba(255, 255, 255, 0.96));
}

.group-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 46px;
  text-align: center;
  border-radius: 15px;
  background: linear-gradient(135deg,
      rgba(238, 242, 255, 0.9),
      rgba(232, 244, 248, 0.9));
  border: 1px solid rgba(27, 36, 109, 0.08);
  box-shadow: var(--shadow);
}

.group-card h2 {
  font-size: clamp(22px, 3vw, 32px);
}

.group-card p {
  margin-bottom: 0;
}

.group-card img {
  height: 110px;
  width: auto;
  margin: 26px auto 30px;
  background: #fff;
  padding: 12px 10px;
}

.message-card {
  padding: 34px;
  border-left: 6px solid var(--navy);
}

.small {
  font-size: 14px;
  color: var(--muted);
}

.fee-wrap {
  max-width: 1000px;
  margin: 0 auto;
}

.fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(27, 36, 109, 0.08);
}

.fee-table th,
.fee-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(27, 36, 109, 0.08);
  text-align: left;
}

.fee-table th {
  background: var(--ink);
  color: #fff;
  font-size: 16px;
}

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

.fee-table td:last-child {
  text-align: right;
  color: var(--navy);
  font-size: 24px;
  font-weight: 900;
}

.fee-card {
  padding: 22px;
  text-align: center;
}

.fee-card p {
  margin-bottom: 0;
}

.notice {
  font-size: 14px;
  margin-top: 18px;
  color: var(--muted);
}

.deadline {
  background: linear-gradient(135deg, #fff6f6, #fde8e8);
}

.deadline-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 52px;
  align-items: center;
}

.deadline h2 {
  text-align: left;
}

.deadline-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deadline-circle {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  position: relative;
  margin-top: 20px;
}

.deadline-circle::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 14px;
  background: linear-gradient(160deg, #4a4a4a, #111111);
  border-radius: 4px 4px 2px 2px;
  z-index: 2;
}

.deadline-circle::after {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 8px;
  background: linear-gradient(160deg, #4a4a4a, #111111);
  border-radius: 2px 2px 0 0;
  z-index: 2;
}

.deadline-circle .stopwatch-side {
  position: absolute;
  top: 8%;
  width: 10px;
  height: 16px;
  background: linear-gradient(160deg, #4a4a4a, #111111);
  border-radius: 2px;
  z-index: 3;
}

.deadline-circle .stopwatch-side.left {
  left: 16.5%;
  transform: rotate(-30deg);
}

.deadline-circle .stopwatch-side.right {
  right: 16.5%;
  transform: rotate(30deg);
}

.deadline-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  position: relative;
  z-index: 1;
}

.deadline-circle-bg {
  fill: none;
  stroke: rgba(179, 0, 9, 0.1);
  stroke-width: 3;
}

.deadline-circle-outer {
  fill: var(--atom-white);
  stroke: url(#ringGrad);
  stroke-width: 1;
}

.deadline-circle-progress {
  fill: none;
  stroke: var(--atom-red);
  stroke-width: 3.5;
  stroke-linecap: butt;
  stroke-dasharray: 172.5 65.26;
  stroke-dashoffset: 0;
}

.deadline-circle-fade {
  fill: none;
  stroke: url(#arcFadeGrad);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 24.5 214.26;
  stroke-dashoffset: -172.5;
}

.deadline-tick {
  stroke: #2a2a2a;
  stroke-width: 0.7;
  stroke-linecap: round;
}

.deadline-tick.major {
  stroke-width: 1.2;
}

.deadline-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.deadline-center-num {
  font-family: var(--font-serif);
  font-size: 115px;
  font-weight: 700;
  color: var(--atom-black);
  line-height: 1;
  letter-spacing: -0.02em;
}

.deadline-center-num .small {
  font-size: 32px;
  font-weight: 600;
  color: var(--atom-red);
  margin-left: 2px;
}

.deadline-center-label {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--atom-gray-text);
  letter-spacing: 0.15em;
  margin-top: 8px;
  font-weight: 500;
}

.deadline-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(27px, 3.5vw, 35px);
  font-weight: 700;
  color: var(--atom-black);
  line-height: 1.6;
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}

.deadline-content .lead {
  font-size: 18px;
  color: var(--atom-gray-text);
  line-height: 2;
  margin-bottom: 28px;
}

.deadline-content .lead strong {
  color: var(--atom-red);
  font-weight: 700;
}

.penalty-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.penalty-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 15px;
  background: #fff;
  border: 1px solid rgba(27, 36, 109, 0.08);
  box-shadow: 0 10px 24px rgba(27, 36, 109, 0.05);
}

.penalty-list span {
  font-size: 18px;
}

.penalty-list strong {
  color: var(--navy);
  font-size: 22px;
  white-space: nowrap;
  flex-shrink: 0;
}

.case-card {
  padding: 32px;
  margin-top: 24px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 22px 0;
}

.case-meta div {
  padding: 15px;
  border-radius: 15px;
  background: linear-gradient(180deg,
      rgba(238, 242, 255, 0.8),
      rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(27, 36, 109, 0.08);
}

.result {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 5px solid var(--navy);
  border-radius: 15px;
  background: rgba(179, 0, 9, 0.08);
  color: var(--ink);
  font-weight: 800;
}

.flow {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.flow-step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 20px;
  padding: 24px;
}

.badge {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-weight: 900;
}

.faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  align-items: flex-start;
  cursor: pointer;
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: rgba(179, 0, 9, 0.06);
}

.faq-item strong {
  line-height: 1.7;
}

.faq-item > div {
  flex: 1;
}

.faq-item > span {
  color: var(--navy);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease;
}

.faq-answer {
  display: none;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-item.open > span {
  transform: rotate(45deg);
}

/* ===== MID CTA ===== */
.mid-cta-section {
  display: flex;
  justify-content: center;
  margin-top: 62px;
  width: min(1120px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.mid-cta-inner {
  background: var(--atom-red);
  box-shadow: 0 6px 20px rgba(179, 0, 9, 0.25);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 20px 32px;
  margin: 0 auto;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.mid-cta-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(255, 255, 255, 0) 25%,
      rgba(255, 255, 255, 0.6) 50%,
      rgba(255, 255, 255, 0) 75%);
  transform: skewX(-15deg);
  animation: shine 3.5s linear infinite;
}

.mid-cta-inner:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(179, 0, 9, 0.35);
}

.mid-cta-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--atom-white);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

p.mid-cta-text {
  margin-bottom: 8px;
}

.mid-cta-inner a {
  font-size: 32px;
  font-weight: 600;
  color: var(--atom-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.mid-cta-note {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.cta {
  background: var(--atom-black);
  color: #fff;
}

.cta h2,
.cta p {
  color: #fff;
}

.cta-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 46px;
  text-align: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.12);
}

.cta .hero-cta a,
.cta .cta-card a {
  margin: 26px auto 0;
  text-align: center;
}

footer {
  padding: 62px 0;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 40px;
}

/* Red-theme refinements aligned with 税理LP_赤 */
.header {
  background: rgba(255, 255, 255, 0.97);
}

.logo {
  color: var(--ink);
  letter-spacing: 0.08em;
}

h1,
h2,
h3 {
  color: var(--ink);
}

.eyebrow,
.num,
.hero-call .label,
.fee-table td:last-child,
.penalty-list strong,
.faq-item > span {
  color: var(--navy);
}

.card,
.hero-main-photo,
.fee-table,
.photo-panel,
.group-card {
  border-color: rgba(179, 0, 9, 0.12);
}

.reason-item {
  border-top-color: var(--navy);
}

.fee-table th {
  background: var(--ink);
}

.faq-item {
  border-left: 3px solid transparent;
}

.faq-item.open {
  border-left-color: var(--navy);
  background: #fff;
}

.footer-grid h3 {
  color: var(--navy);
}

#worries .photo-panel {
  order: -1;
}

#message .photo-panel {
  aspect-ratio: 4.5 / 3;
  max-width: 480px;
}

#message h2 {
  white-space: nowrap;
  font-size: clamp(22px, 3vw, 36px);
}

@media (max-width: 998px) {
  .global-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    z-index: 101;
    background: #fff;
    border: 1px solid rgba(27, 36, 109, 0.08);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 14px 18px;
  }

  .global-nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .global-nav a {
    display: block;
    padding: 14px 6px;
    border-bottom: 1px solid rgba(27, 36, 109, 0.08);
  }

  .global-nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 72px;
  }

  .topbar {
    font-size: 14px;
  }

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 64px;
    gap: 12px;
  }

  .logo {
    gap: 5px;
  }

  .logo > img {
    height: 21px;
  }

  .logo-icon {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-actions a {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
  }

  .tel-text {
    display: none;
  }

  .hero {
    padding: 24px 0 52px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
    width: calc(100% - 40px);
  }

  .hero-copy {
    padding: 0;
    order: 0;
  }

  .hero h1 .line2 {
    display: inline;
    margin-top: 0;
  }

  .hero-visual {
    order: 1;
    grid-row: auto;
    grid-column: auto;
    padding: 0;
    margin-left: -20px;
    margin-right: -20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-cta {
    order: 2;
    grid-column: auto;
    grid-row: auto;
  }

  .lead-top {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(34px, 10vw, 58px);
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero-main-photo {
    border: none;
    border-radius: 0;
    box-shadow: 0 30px 64px rgba(179, 0, 9, 0.1);
  }

  .hero-caption strong {
    font-size: 14px;
  }

  p.hero-credit {
    padding: 0 20px;
    font-size: 13px;
  }

  .hero-checklist {
    gap: 8px;
  }

  .hero-check-item {
    font-size: 14px;
    padding: 10px 9px;
    gap: 7px;
  }

  .hero-check-icon {
    width: 22px;
    height: 22px;
  }

  .hero-check-icon::after {
    font-size: 14px;
  }

  .hero-cta .hero-tel-btn .label {
    font-size: 18px;
  }

  .hero-cta-availability {
    font-size: 15px;
    padding: 8px 20px;
  }

  .hero-cta-availability::before {
    bottom: -12px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 11px solid var(--atom-red);
  }

  .hero-cta-availability::after {
    bottom: -9px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 9px solid #fff;
  }

  .hero-tel-btn-icon {
    width: 44px;
    height: 44px;
  }

  .hero-tel-btn-icon svg,
  .hero-tel-btn-icon img {
    width: 22px;
    height: 22px;
  }

  .hero-main-photo img {
    aspect-ratio: 4 / 2.8;
    object-position: center 30%;
  }

  .hero-cta a,
  .cta-card a {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 21px 10px;
  }

  .section {
    padding: 68px 0;
  }

  #about-group {
    padding: 34px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .deadline-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-panel {
    min-height: 260px;
  }

  .worry-item {
    grid-template-columns: 1fr;
  }

  .group-card {
    padding: 30px 20px;
  }

  .group-card img {
    height: 75px;
    margin: 12px auto 20px;
  }

  .message-card {
    padding: 24px;
  }

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

  .fee-table th,
  .fee-table td {
    padding: 14px 12px;
  }

  .fee-table td:last-child {
    font-size: 18px;
  }

  .deadline h2 {
    text-align: center;
  }

  .case-card {
    padding: 24px;
  }

  .case-meta {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 20px;
  }

  .cta-card {
    padding: 34px 20px;
  }
}

br.mob {
  display: none;
}

@media screen and (max-width: 920px) {
  br.mob {
    display: block;
  }
}

@media (max-width: 920px) {
  .deadline-visual {
    max-width: 320px;
    margin: 0 auto;
  }

  .deadline-center-num {
    font-size: 85px;
  }

  .deadline-center-num .small {
    font-size: 28px;
  }

  .mid-cta-inner {
    width: 100%;
    padding: 20px;
  }

  .mid-cta-text {
    font-size: 16px;
  }

  .mid-cta-inner a {
    font-size: 26px;
  }

  .mid-cta-note {
    font-size: 14px;
    white-space: normal;
  }
}

/* ===== FLOAT BANNER (スマホのみ) ===== */
.floatbn.type-org {
  display: none;
}

@media screen and (max-width: 920px) {
  .group-card p {
    text-align: left;
  }

  #worries .photo-panel {
    order: 0;
  }

  footer {
    padding-bottom: 90px;
  }

  .floatbn.type-org.is-visible {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    height: 90px;
    position: fixed;
    bottom: 0;
    left: 0;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    z-index: 200;
    padding: 0 15px;
  }

  .floatbn.type-org a {
    background: rgb(238, 238, 238);
    background: linear-gradient(0deg,
        rgb(238, 238, 238) 0%,
        rgb(255, 255, 255) 100%);
    border: 2px solid #dedede;
    width: 100%;
    height: 75px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }

  .floatbn.type-org a .text_area {
    position: relative;
    text-align: left;
    margin-left: 33px;
    color: #e8cdd0;
  }

  .floatbn.type-org a .text_area::before {
    content: "";
    width: 33px;
    height: 35px;
    background: url(images/float_telicon_red3.svg) no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    top: 5px;
    left: -42px;
  }

  .floatbn.type-org a .subtext {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: #000;
    margin: 2px 0 5px 0;
  }

  .floatbn.type-org a .maintext {
    color: #ff1717;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin: 0;
  }
}