/* ========================================
   Variables & Reset
   ======================================== */
:root {
  --red: #b30000;
  --red-dark: #8a0000;
  --blue: #003399;
  --blue-dark: #002266;
  --blue-light: #e8eef8;
  --yellow: rgba(248, 227, 0, 1);
  --yellow-dark: #e6b800;
  --white: #ffffff;
  --black: #222222;
  --gray-100: #f5f5f5;
  --gray-200: #e0e0e0;
  --gray-400: #999999;
  --gray-600: #666666;
  --shadow-sm: 2px 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  --font: 'Noto Sans JP', sans-serif;
  --header-h: 72px;
  --container: 1100px;
  --container-wide: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--black);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ========================================
   Utilities
   ======================================== */
.text-white { color: var(--white); }
.text-red { color: var(--red); }
.text-blue { color: var(--blue); }
.text-yellow { color: var(--yellow); }
.attention { color: var(--gray-600); }
.mt-8 { margin-top: 8px; }
.mb-40 { margin-bottom: 40px; }

.sp-only { display: none; }
.pc-only { display: block; }

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background: var(--blue);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue-light);
}

.btn--light {
  background: #4d8fd9;
  color: var(--white);
}

.btn--light:hover {
  background: #3a7bc8;
}

.btn--yellow {
  background: var(--yellow);
  color: var(--black);
}

.btn--yellow:hover {
  background: var(--yellow-dark);
}

.btn--sm {
  font-size: 0.8125rem;
  padding: 8px 20px;
}

.btn--lg {
  font-size: 1.0625rem;
  font-weight: 400;
  padding: 18px 40px;
  min-width: 280px;
  letter-spacing: 0.1em;
}

.btn_arrow {
  content: '';
  display: inline-block;
  width: 6px;
  height: 10px;
  background: url('../images/btn_arrow.svg') no-repeat center;
  background-size: contain;
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
  font-size: 1.75rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
}

.section-title--blue {
  color: var(--blue);
  position: relative;
  padding-bottom: 16px;
}

.section-title--blue::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--red);
  border-radius: 2px;
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
  transition: box-shadow 0.3s, background 0.3s;
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  height: 100%;
  width: 180px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.header__buttons .btn--sm {
  min-width: 149px;
  height: 41px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__contact {
  text-align: right;
  line-height: 1.3;
}

.header__tel {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--black);
  transition: opacity 0.2s;
}

.header__tel:hover {
  opacity: 0.75;
}

.header__tel-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.header__tel-number {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header__hours {
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--black);
  margin-top: 2px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  margin-bottom: 40px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.97) 0%,
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 255, 255, 0.4) 65%,
    rgba(255, 255, 255, 0.05) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px;
  width: 100%;
}

.hero__target {
  max-width: 850px;
  text-align: center;
  font-size: 1.765rem;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  margin-left: calc(50% - 50vw);
}

.hero__target-slash {
  color: var(--red);
  font-weight: 700;
}

.hero__target-em {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--black);
}

.hero__badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;
  margin-left: calc(50% - 50vw);
  margin-bottom: 24px;
  padding: 12px 48px 12px max(20px, calc(50vw - 50% + 20px));
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - 45px) 100%, 0 100%);
}

.hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.45;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.hero__title-inner {
  display: block;
  font-weight: 600;
}

.hero__title-bg {
  display: none;
}

.hero__title-line {
  display: inline-block;
}

.hero__title-line--lg {
  font-size: 1.5em;
  font-weight: 900;
}

.hero__desc {
  font-size: 1.5rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.9;
}

.hero__cta {
  box-shadow: var(--shadow-sm);
}

/* ========================================
   Support Banner
   ======================================== */
.support-banner {
  padding: 0 4% 40px;
}

.support-banner__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 20px;
  background: var(--blue-dark);
}

.support-banner__text {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 700;
}

.support-banner__text.sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 2rem;
}

.free_icon {
  display:flex;
  justify-content: center;
  align-items: center;
  width: 108px;
  height: 53px;
  color: var(--blue);
  font-size: 2rem;
  border-radius: 5px;
  background: var(--white);
}

.support-banner__price {
  text-align: center;
  padding: 20px;
}

.support-banner__price__title {
  font-size: 1.5rem;
  color: var(--blue);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Image buttons */
.btn-img {
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-img:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

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

.btn-img--support img {
  max-width: 470px;
  width: 100%;
}

.btn-img--subsidy img {
  height: 60px;
}

/* ========================================
   Category Tabs
   ======================================== */
.category-tabs {
  padding: 24px 20px 40px;
}

.category-tabs__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.category-tab {
  font-family: var(--font);
  font-weight: 400;
  padding: 16px 12px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--blue);
  background: var(--white);
  color: var(--blue);
  text-align: center;
}

.category-tab span {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 4px;
}

.category-tab:nth-of-type(1) {
  border-color: var(--blue-light);
  color: var(--text);
}

.category-tab:nth-of-type(2) {
  background: var(--blue-light);
  border: none;
}

.category-tab:nth-of-type(3) {
  background: var(--blue);
  border: none;
}

.category-tab:nth-of-type(3) .c_white {
  color: var(--white);
}

.mark {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 1px 20px 2px;
  border-radius: 15px;
  letter-spacing: 0.2em;
  font-weight: 400;
}

.category-tabs .attention {
  font-size: 0.8125rem;
  color: var(--gray-600);
  margin-top: 8px;
  text-align: center;
}

/* ========================================
   Risk Section
   ======================================== */
.risk {
  background-color: #a50000;
  background-image: url('../images/sec-risk_bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 80px 20px 32px;
}

.risk__inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
}

.risk__title {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.2em;
}

.risk__subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  margin-bottom: 40px;
}

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

.risk-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.risk-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.risk-card__icon {
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.risk-card__icon img {
  width: auto;
  height: 80px;
}

.risk-card__title {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 12px;
}

.risk-card__text {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.8;
  text-align: left;
}

/* ========================================
   Features (Z-pattern)
   ======================================== */
.features {
  padding: 80px 20px 20px;
  background: var(--white);
}

.features__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.feature-item {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* gap: 40px; */
  align-items: center;
  width: 820px;
  margin-bottom: 40px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  filter: drop-shadow(1px 5px 1px rgba(0, 0, 0, 0.2));
}

.features .section-title {
  margin-bottom: 24px;
}

.features__subtitle,
.stats__subtitle,
.cases__subtitle,
.service__subtitle,
.steps__subtitle {
  font-size: 0.9375rem;
  margin-bottom: 64px;
  text-align: center;
  letter-spacing: 0.2em;
}

.features__items_wrap {
  position: relative;
  margin-bottom: 40px;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item--reverse .feature-item__body {
  order: 2;
}

.feature-item--reverse .feature-item__img {
  order: 1;
}

.feature-item__body {
  position: relative;
  z-index: 1;
  padding-left: 64px;
}

.feature-item--reverse .feature-item__body {
  padding-left: 0;
  padding-right: 8px;
}

.feature-item__num {
  position: absolute;
  top: 50%;
  left: -24px;
  transform: translateY(-50%);
  width: 130px;
  height: auto;
  z-index: 0;
  user-select: none;
  pointer-events: none;
}

.feature-item--reverse .feature-item__num {
  width: 240px;
  left: auto;
  right: -24px;
}

.features__items_wrap:nth-of-type(3) .feature-item__num {
  width: 240px;
}

.features__items_wrap:nth-of-type(2) .feature-item {
  margin-left: auto;
  grid-template-columns: 1fr 2fr;
}

.features__items_wrap:nth-of-type(2) .feature-item__body {
  grid-column: 2;
  padding-left: 32px;
  padding-right: 64px;
}

.features__items_wrap:nth-of-type(2) .feature-item__num {
  width: 240px;
  left: auto;
  right: -24px;
}

.features__items_wrap:nth-of-type(2) .feature-item__img {
  left: 0;
  right: auto;
}

.feature-item__title {
  position: relative;
  z-index: 1;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 20px;
  line-height: 1.5;
}

.feature-item__text {
  position: relative;
  z-index: 1;
  font-size: 0.9375rem;
  color: var(--black);
  line-height: 2;
}

.feature-item__text strong {
  font-weight: 700;
}

.feature-item__img {
  position: absolute;
  width: 430px;
  z-index: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.feature-item__img img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* ========================================
   Statistics
   ======================================== */
.stats {
  position: relative;
  padding: 80px 20px;
  text-align: center;
}

.stats__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
  margin: 0 auto;
}

.stats__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
}

.stats__circles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.stat-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

.stat-circle:hover {
  transform: scale(1.06);
}

.stat-circle__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.2;
}

.stat-circle__unit {
  font-size: 1rem;
}

.stat-circle__label {
  font-weight: 700;
  color: var(--gray-600);
  margin-top: 4px;
  line-height: 1.4;
}

.stats__box {
  display: inline-block;
  background: var(--white);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--red);
  font-weight: 700;
  padding: 12px 40px;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}

/* ========================================
   Case Studies
   ======================================== */
.cases {
  padding: 80px 20px;
  background: var(--white);
}

.cases__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

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

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.case-card__img {
  overflow: hidden;
}

.case-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s;
}

.case-card:hover .case-card__img img {
  transform: scale(1.05);
}

.case-card__title {
  font-size: 1rem;
  font-weight: 900;
  padding: 20px 20px 8px;
  line-height: 1.5;
}

.case-card__text {
  font-size: 0.875rem;
  color: var(--gray-600);
  padding: 0 20px 24px;
  line-height: 1.8;
}

.case-card__text.text-red {
  color: var(--red);
  font-weight: 500;

}

.cases .section-title {
  margin-bottom: 20px;
}

/* ========================================
   Service Menu
   ======================================== */
.service-menu {
  background: var(--red);
  background-image: url('../images/service_bg.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.04) 10px,
    rgba(0, 0, 0, 0.04) 20px
  ); */
  padding: 80px 20px;
  text-align: center;
}

.service-menu__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  letter-spacing: 0.2em;
}

.service-menu__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
}

.service-menu__title.fw-400 {
  font-weight: 400;
}

.service-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 48px;
}

.service-menu .btn--lg {
  padding: 18px 56px;
}

.service-card {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card__img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card__title {
  font-size: 1rem;
  font-weight: 900;
  padding: 16px 16px 8px;
}

.service-card__text {
  font-size: 0.8125rem;
  color: var(--gray-600);
  padding: 0 16px 20px;
  line-height: 1.7;
}

/* ========================================
   Steps
   ======================================== */
.steps {
  padding: 80px 20px;
  background: var(--white);
  text-align: center;
}

.steps__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.steps__list {
  text-align: left;
  margin-bottom: 48px;
}

.step-item {
  display: flex;
  gap: 24px;
  padding: 28px;
  align-items: flex-start;
  background: #f8f8f8;
  filter: drop-shadow(1px 5px 1px rgba(0, 0, 0, 0.2));
  margin-bottom: 28px;
}

.step-item__content {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.step-item__content__header {
  display: flex; 
  align-items: center;
  gap: 16px;
  width: 35%;
  letter-spacing: 0.2em;
  border-right: 1px solid #000;
}

.step-item__label {
  flex-shrink: 0;
  background: var(--red);
  color: var(--white);
  padding: 6px 14px;
  letter-spacing: 0.2em;
}

.step-item__title {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-weight: 600;
}

.step-item__text {
  width: 65%;
  color: var(--gray-600);
  line-height: 1.8;
  margin-left: 16px;
}

.steps .section-title {
  margin-bottom: 20px;
} 

/* ========================================
   Pricing
   ======================================== */
.pricing {
  padding: 0;
  line-height: 0;
}

.pricing__wrap {
  position: relative;
  line-height: 0;
}

.pricing__wrap img {
  width: 100%;
  height: auto;
}

.pricing__cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 32%;
  width: 40%;
  display: block;
  transition: opacity 0.2s, transform 0.2s;
}

.pricing__cta:hover {
  opacity: 0.9;
  transform: translateX(-50%) translateY(-2px);
}

.pricing__cta img {
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .pricing__cta {
    top: 31%;
    width: 90%;
  }
}

.pricing__inner {
  max-width: 700px;
  margin: 0 auto;
}

.pricing__table {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  text-align: left;
}

.pricing__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-200);
  gap: 16px;
}

.pricing__row:last-child {
  border-bottom: none;
}

.pricing__name {
  font-size: 0.9375rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.pricing__tag {
  background: var(--red);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.pricing__price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
}

.pricing__note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 32px;
}

/* ========================================
   Subsidy
   ======================================== */
.subsidy {
  background: var(--blue);
  padding: 80px 20px;
}

.subsidy__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.subsidy__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.5;
}

.subsidy__text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.subsidy__highlight {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 1.5rem;
  font-weight: 900;
  padding: 2px 12px;
  border-radius: 4px;
}

.subsidy__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.subsidy__img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

/* ========================================
   Company
   ======================================== */
.company {
  padding: 80px 20px;
  background: var(--white);
}

.company__inner {
  max-width: 800px;
  margin: 0 auto;
}

.company__title {
  font-size: 1.5rem;
  font-weight: 900;
  text-align: center;
  color: var(--white);
  background: var(--blue);
  padding: 16px;
  border-radius: var(--radius) var(--radius) 0 0;
}

.company__table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow-sm);
}

.company__table th,
.company__table td {
  padding: 16px 20px;
  font-size: 0.875rem;
  border: 1px solid var(--gray-200);
  text-align: left;
}

.company__table th {
  background: var(--blue-light);
  color: var(--blue);
  font-weight: 700;
  width: 30%;
  white-space: nowrap;
}

.company__table td {
  background: var(--white);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
  padding: 80px 20px;
  background: var(--white);
}

.faq__inner {
  max-width: 800px;
  margin: 0 auto;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #f8f8f8;
  margin-bottom: 32px;
}

.faq-item__question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  font-weight: 700;
}

.faq-item__q {
  flex-shrink: 0;
  font-family: 'Geologica', sans-serif;
  font-size: 2rem;
  color: var(--red);
}

.faq-item__answer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 20px;
  align-items: center;
  position: relative;
}

.faq-item__answer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: var(--gray-200);
}

.faq-item__a {
  flex-shrink: 0;
  font-family: 'Geologica', sans-serif;
  font-size: 2rem;
  color: var(--red);
}

.faq-item__answer p {
  color: var(--gray-600);
  line-height: 1.8;
  padding-top: 4px;
}

/* ========================================
   Contact CTA
   ======================================== */
.consultation {
  background: #edeff4;
  padding: 80px 20px;
  text-align: center;
}

.contact-cta__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}

.contact-cta__text {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.contact-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.contact-cta__hours {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.form-section {
  text-align: center;
  padding-bottom: 56px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--blue);
  padding: 48px 20px 24px;
  color: var(--white);
}

.footer__inner {
  max-width: var(--container-wide);
  margin: 0 auto;
}

.footer__areas-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer__areas-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  font-size: 0.8125rem;
  opacity: 0.85;
  margin-bottom: 32px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  font-size: 0.75rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__links a:hover {
  opacity: 1;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 999;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--blue-dark);
}

/* ========================================
   Fade-in Animation
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
  .service-menu__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__circles {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer__areas-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .header__logo img {
    width: 120px;
  }

  .header__right {
    gap: 8px;
  }

  .header__buttons .btn--sm {
    min-width: auto;
    height: 28px;
    padding: 8px 12px;
    font-size: 0.75rem;
  }

  .header__contact {
    display: none;
  }

  .hero {
    min-height: auto;
    background: var(--white);
  }

  .hero__bg {
    display: none;
  }

  .hero__content {
    padding: 20px 0 40px;
    max-width: 100%;
  }

  .hero__target {
    font-size: 0.8125rem;
    margin-bottom: 12px;
    padding: 0 20px;
  }

  .hero__target-em {
    font-size: 1.125rem;
  }

  .hero__badge {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 16px;
    padding: 10px 40px 10px max(20px, calc(50vw - 50% + 20px));
    clip-path: polygon(0 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  }

  .hero__title {
    position: relative;
    display: block;
    min-height: 220px;
    margin-bottom: 24px;
    font-size: 1rem;
    overflow: hidden;
  }

  .hero__title-bg {
    display: block;
    position: absolute;
    inset: 0;
    background: url('../images/fv-img_sp.jpg') center / cover no-repeat;
    z-index: 0;
  }

  .hero__title::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(255, 255, 255, 0.75) 42%,
      rgba(255, 255, 255, 0.15) 58%,
      transparent 72%
    );
    z-index: 1;
    pointer-events: none;
  }

  .hero__title-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
    max-width: 72%;
  }

  .hero__title-line {
    font-size: 1.55rem;
    font-weight: 500;
    line-height: 1.7;
  }

  .hero__title-line--lg {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
  }

  .hero__desc {
    font-size: 0.9375rem;
    text-align: center;
    padding: 0 20px;
    margin-bottom: 28px;
  }

  /* .hero__desc br {
    display: none;
  } */

  .hero__content .hero__cta {
    margin: 0 20px;
    width: calc(100% - 40px);
  }

  .hero__content .attention {
    text-align: center;
    font-size: 0.8125rem;
    padding: 0 20px;
  }

  .btn--lg {
    min-width: auto;
    width: 100%;
    font-size: 0.9375rem;
    padding: 16px 24px;
  }

  .support-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .support-banner__text {
    font-size: 1.324rem;
    gap: 8px;
  }

  .free_icon {
    width: 64px;
    height: 32px;
    font-size: 1.25rem;
  }

  .support-banner__text.sub {
    font-size: 1.155rem;
    flex-direction: column;
  }

  .btn-img--support img {
    height: 72px;
  }

  .btn-img--subsidy img {
    height: 48px;
    max-width: 100%;
  }

  .category-tabs__inner {
    grid-template-columns: 1fr;
  }

  .risk__cards {
    grid-template-columns: 1fr;
  }

  .features__items_wrap {
    margin-bottom: 60px;
  }

  .feature-item,
  .features__items_wrap:nth-of-type(2) .feature-item {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
    padding: 48px 20px 0;
    background: transparent;
    filter: none;
    border-radius: 0;
  }

  .feature-item__body,
  .features__items_wrap:nth-of-type(2) .feature-item__body {
    grid-column: auto;
    padding: 0;
    text-align: left;
  }

  .feature-item__num,
  .features__items_wrap:nth-of-type(2) .feature-item__num {
    width: 180px;
    left: 50%;
    right: auto;
    top: 0;
    transform: translate(-50%, -10%);
  }

  .feature-item__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    text-align: left;
  }

  .feature-item__text {
    font-size: 0.875rem;
    line-height: 1.9;
    text-align: left;
  }

  .feature-item__img,
  .features__items_wrap:nth-of-type(2) .feature-item__img {
    position: static;
    width: 100%;
    padding: 0;
    transform: none;
    margin-top: 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .feature-item__img img {
    width: 100%;
    border-radius: 0;
  }

  .cases__grid {
    grid-template-columns: 1fr;
  }

  .case-card__text{
    padding-bottom:12px;
  }

  .service-menu__title {
    font-size: 1.5rem;
  }

  .service-menu__grid {
    grid-template-columns: 1fr;
  }

  .stats__circles {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-circle {
    width: 130px;
    height: 130px;
  }

  .stat-circle__num {
    font-size: 2.5rem;
  }

  .subsidy__inner {
    grid-template-columns: 1fr;
  }

  .subsidy__img img {
    height: 220px;
  }

  .company__table th {
    white-space: normal;
    width: 35%;
  }

  .footer__areas-list {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-cta__buttons .btn {
    width: 100%;
    max-width: 320px;
  }

  .section-title {
    font-size: 1.375rem;
    margin-bottom: 32px;
  }

  .step-item {
    gap: 0;
  }

  .step-item__content {
    flex-direction: column;
    gap: 0;
  }

  .step-item__content__header {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .step-item__text {
    width: 100%;
    margin-left: 0;
  }

  .pricing__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
