/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  padding: 0;
}

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

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

:root {
  --font-base: 'Noto Sans JP', sans-serif;
  --font-en: 'Jost', sans-serif;
  --font-qa: 'Nunito', sans-serif;

  --c-white: #ffffff;
  --c-black: #333333;
  --c-dark: #282727;
  --c-text-main: #333333;
  --c-text-light: #4b5563;
  --c-gray-light: #f7f7f7;
  --c-gray-border: #e6e6e6;

  --c-primary-light: #4b9349;
  --c-primary-dark: #03aaa3;
  --c-yellow-main: #fcbc00;
  --c-orange: #ee7f37;
  --c-gold: #cea538;
  --c-gold-gradient-1: #fcd972;
  --c-gold-gradient-2: #fac13f;

  --c-bg-yellow-light: #fff5d7;
  --c-bg-plan-light: #f6f5e9;
  --c-bg-plan-blue: #f1f6ff;
}

body {
  font-family: var(--font-base);
  color: var(--c-text-main);
  line-height: 1.6;
  background-color: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-large {
  max-width: 1085px;
}

.container-medium {
  max-width: 960px;
}

.container-small {
  max-width: 820px;
}

/* Typography & Utilities */
.text-gradient {
  background: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bg-gradient {
  background: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
}

.bg-gradient-yellow {
  background: linear-gradient(155deg, var(--c-gold-gradient-1) 16%, var(--c-gold-gradient-2) 95%);
}

.bg-gradient-brand {
  background: linear-gradient(to right, #fae3a4 4.3%, #ecb93f);
}

.bg-yellow {
  background: linear-gradient(165.26deg, var(--c-gold-gradient-1) 16%, var(--c-gold-gradient-2) 95%);
}

.text-white {
  color: var(--c-white);
}

.text-gold {
  color: var(--c-gold);
}

.text-orange {
  color: var(--c-orange);
}

.text-yellow {
  color: var(--c-yellow-main);
}

.text-gray {
  color: var(--c-text-light);
}

.bg-white {
  background: var(--c-white);
}

.bg-dark {
  background: var(--c-dark);
}

.bg-gray-light {
  background: var(--c-gray-light);
}

.bg-light-yellow {
  background: var(--c-bg-yellow-light);
}

.bg-price-light {
  background: var(--c-bg-plan-light);
}

.bg-price-blue {
  background: var(--c-bg-plan-blue);
}

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

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

.fw-bold {
  font-weight: 700;
}

.shadow {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.shadow-lg {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.relative {
  position: relative;
}

/* Buttons */
.btn-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  background: linear-gradient(165.26deg, var(--c-gold-gradient-1) 16%, var(--c-gold-gradient-2) 95%);
  border-radius: 4px;
  color: #1e2024;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}

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

.btn-cta img {
  width: 24px;
  height: 24px;
}

.btn-header {
  padding: 14px 36px;
  font-size: 16px;
}

.btn-large {
  padding: 18px 48px;
  font-size: 18px;
  font-weight: 700;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

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

.logo-group {
  position: relative;
  width: 97px;
  height: 12px;
}

.logo-shape {
  position: absolute;
  width: 100%;
}

.logo-shape2 {
  position: absolute;
  left: 23%;
  top: 17%;
  width: 70%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 1px solid #ccc;
  padding-left: 16px;
  margin-left: 16px;
}

.logo-text-main {
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
}

.logo-company {
  font-weight: 900;
  font-size: 12px;
  color: #5d5b5b;
}

/* Hero */
.hero {
  position: relative;
  padding-top: 100px;
  min-height: 720px;
  display: flex;
  align-items: center;

}

.hero-content-wrp {
  background: url("assets/bg-cta.jpg") no-repeat;
  background-size: 100% auto;
  width: 100%;
  padding: 120px 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.hero-subtitle {
  font-weight: 900;
  font-size: 22px;
  color: #333;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-weight: 900;
  font-size: 44px;
  line-height: 1.2;
  letter-spacing: 2px;
  margin-bottom: 40px;
}

.hero-desc {
  font-weight: 400;
  font-size: 16px;
  color: #0d0e10;
  line-height: 1.8;
  margin-bottom: 50px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-desc-underline {
  width: 13px;
  margin: 0 auto;
}

/* Section Utilities */
.section-title {
  font-size: 30px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 11px;
  line-height: 1.2;
  justify-content: center;
}

.section-icon {
  width: 9px;
  height: 9px;
}

.section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
}

.mb-lg {
  margin-bottom: 40px;
}

/* About Cert */
.about-cert {
  padding: 90px 0;
  text-align: center;
}

.about-desc {
  font-size: 14px;
  line-height: 2;
  color: #202223;
  margin-top:24px;
  margin-bottom: 50px;
}

.cert-images {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}

.cert-images img {
  width: 232px;
  height: 202px;
  border-radius: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  object-fit: cover;
}

.cert-change {
  display: inline-block;
  text-align: center;
}

.cert-change-title {
  font-size: 24px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
}

.cert-change-desc {
  font-size: 14px;
  color: #080e15;
  line-height: 2;
}

/* Merits */
.merits {
  padding: 80px 0 100px;
  background-image: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
  overflow: hidden;
}

.dec-top-left {
  position: absolute;
  top: 30px;
  left: 60px;
  width: 108px;
}

.dec-bottom-right {
  position: absolute;
  bottom: 30px;
  right: 60px;
  width: 108px;
  transform: rotate(180deg);
}

.merits .section-header {
  justify-content: flex-start;
  align-items: center;
}

.merit-cards {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

.merit-card {
  background: #fff;
  border-radius: 8px;
  width: 326px;
  height: 225px;
  padding: 30px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  width: 60%;
  line-height: 1.4;
  color: transparent;
  background: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
}

.card-num {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 50px;
  line-height: 1;
  margin-top: -10px;
  color: transparent;
  background: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
}

.card-line-wrap {
  position: absolute;
  top: 98px;
  left: 0;
  width: 100%;
  height: 1px;
}

.card-line {
  width: 100%;
  height: 1px;
}

.card-desc {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  margin-top: 10px;
}

/* Reasons */
.reasons {
  padding: 80px 0;
}

.reasons .section-header {
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 14px;
  line-height: 2;
  margin-bottom: 40px;
}

.comparison-table {
  width: 100%;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
}

.table-row {
  display: flex;
  width: 100%;
  align-items: stretch;
}

.table-cell {
  padding: 18px 24px;
  font-size: 18px;
  line-height: 1.5;
  border: 2px solid var(--c-gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom:1px solid #ccc;
}

.table-row:not(:first-child) .table-cell {
  border-top: none;
}

.col-label {
  width: 263px;
  background-color: var(--c-gray-light);
  font-weight: 700;
  justify-content: flex-start;
  color: var(--c-dark);
}

.col-general {
  width: 380px;
  background-color: var(--c-white);
  border-left: none;
}

.col-af {
  width: 380px;
  background-color: var(--c-bg-yellow-light);
  border-left: none;
}

.col-afbg {
  width: 380px;
  border: none;
  font-weight: 700;
}

.empty {
  background: transparent;
  border: none;
  border-bottom: 3px solid var(--c-gray-border);
  border-right: 2px solid var(--c-gray-border);
  border-left: 2px solid var(--c-gray-border);
  border-top: 2px solid var(--c-gray-border);
  background-color: var(--c-gray-light);

}

/* Plans */
.plans {
  padding: 80px 0 120px;
  background-image: linear-gradient(to right, var(--c-primary-light), var(--c-primary-dark));
}

.plans .section-header {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.plans-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.plan-card {
  background: var(--c-white);
  border-radius: 8px;
  padding: 30px 40px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.plan-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 30px;
}

.plan-badge {
  font-size: 14px;
  font-weight: 700;
  color: #7d838e;
  border: 1px solid #bcbcbc;
  border-radius: 10px;
  padding: 4px 16px;
  text-align: center;
}

.plan-name {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.2;
  margin: 0;
}

.plan-desc {
  font-size: 14px;
  color: #1a1d21;
  line-height: 2;
  margin: 0;
}

.plan-action {
  display: flex;
  align-items: center;
  gap: 30px;
}

.plan-action .btn-cta {
  padding: 16px;
}

.plan-price-box {
  border-radius: 4px;
  padding: 12px 24px;
  text-align: center;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 14px;
  color: #1f2937;
  line-height: 1;
}

.price-value {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

/* Schedule */
.schedule {
  padding: 90px 0;
  background: var(--c-white);
}

.schedule .section-desc {
  text-align: center;
  margin-bottom: 50px;
}

.timeline {
  position: relative;
  margin: 0 auto;
  max-width: 780px;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 19px;
  width: 1px;
  border-left: 2px dashed #bbbcbd;
  z-index: 1;
}

.timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 60px;
  z-index: 2;
}

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

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background: rgba(225, 233, 230, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.dot-inner {
  width: 8px;
  height: 8px;
  background: #858c8a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #fff;
}

.timeline-content {
  background: var(--c-white);
  border: 1px dashed #bbbcbd;
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 24px;
}

.phase-badge {
  font-family: var(--font-en);
  font-size: 14px;
  padding: 2px 10px;
  border-radius: 4px;
  color: #333;
}

.phase-date {
  font-weight: 500;
  font-size: 16px;
  color: #333;
}

.phase-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--c-gold);
}

.phase-desc {
  font-size: 14px;
  color: #25282c;
  line-height: 1.7;
  background: #fdfdfd;
  padding: 10px;
  border-radius: 4px;
}

/* FAQ */
.faq {
  padding: 90px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 40px;
}

.faq-item {
  background: var(--c-white);
  border-radius: 4px;
  padding: 20px 24px 20px 78px;
  position: relative;
}

.qa-icon {
  position: absolute;
  left: 25px;
  font-family: var(--font-qa);
  font-weight: 800;
  font-size: 31px;
  line-height: 1;
}

.q-icon {
  top: 21px;
  color: var(--c-orange);
}

.a-icon {
  top: 83px;
  color: var(--c-yellow-main);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-gray-border);
  margin-bottom: 20px;
}

.q-text {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.icon-toggle {
  width: 32px;
  height: 32px;
}

.a-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--c-black);
}

/* Related Services */
.services {
  padding: 90px 0;
}

.services-desc {
  text-align: center;
  margin-bottom: 50px;
  font-size: 16px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
}

.service-img {
  height: 157px;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

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

.mask-img .img-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.mask-img .img-main {
  position: absolute;
  left: 0;
  top: -23%;
  width: 100%;
  height: 178%;
  z-index: 2;
}

.service-title-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px 8px;
  border-bottom: 1px solid #d9d9d9;
  margin-top: 12px;
}

.service-title {
  font-size: 14px;
  font-weight: 500;
  color: #282727;
}

.icon-arrow {
  width: 24px;
  height: 24px;
}

/* Bottom CTA */
.cta-bottom {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

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

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--c-white);
}

.cta-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
}

.cta-subtitle {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 40px;
}

.cta-box {
  border-radius: 8px;
  padding: 50px 0;
  width: 100%;
  max-width: 1045px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-box-text {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 24px;
}

.cta-box-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 30px;
}

.btn-cta-large {
  padding: 14px 40px;
  font-size: 16px;
}

/* Footer */
.footer {
  padding: 24px 0;
}

.footer-content {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.copyright {
  font-size: 12px;
  line-height: 1.6;
  padding-right: 60px;
}

.pagetop {
  position: fixed;
  right: 208px;
  bottom: 20px;
  z-index: 100;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover, .pagetop:focus-visible {
  opacity: 0.7;
}
.pagetop svg {
  display: block;
}

.tx-strong{
  font-weight:bold;
  background: linear-gradient(transparent 60%, #fae3a4 60%);
}
.hero-sp-mv{
  display:none;
}

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

  .cert-images {
    flex-direction: column;
    align-items: center;
  }

  .table-cell {
    font-size: 13px;
    padding:8px;
  }
}


@media (max-width: 768px) {
  .faq,
  .services,
  .schedule,
  .plans,
  .cta-bottom{
    padding:50px 0;
  }
  .hero-sp-mv{
    display:block;
  }
  .pc-only{
    display:none;
  }
  .header-inner {
    padding: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .logo-area {
    flex-direction: column;
  }
  .logo-text {
    display:none;
  }
  .hero-subtitle {
    font-size: 18px;
  }
  .btn-header {
    display: none;
  }
  .merit-cards {
    flex-direction: column;
    align-items: center;
  }
  .plans-list {
    gap: 20px;
  }
  .plan-card {
    flex-direction: column;
    text-align: center;
  }
  .plan-header {
    flex-direction: column;
    gap: 10px;
  }
  .service-cards {
    grid-template-columns: 1fr;
  }
  .hero {
    align-items: flex-start;
    padding:50px 0 24px 0;
    min-height: auto;
  }
  .hero-content{
    padding:24px 20px;
  }
  .hero-content-wrp {
    padding: 0px 0px 0 0px;
    background:none;
  }
  .hero-title {
    font-size: 24px;
    margin: 0 0 16px 0;
  }
  .hero-desc {
    font-size: 14px;
    text-align: left;
  }
  .about-cert{
    padding:24px 0;
  }
  .about-desc{
    text-align: left;
  }
  .section-title{
    font-size:18px;
    text-align: left;
    margin-bottom:0;
  }
  .about-cert .section-title{
    padding:0 0 24px 0;
  }
  .merits .section-title,
  .reasons .section-title{
    padding:0;
    margin-bottom:0;
  }
  .cert-change-title{
    font-size:18px;
  }
  .cert-change-desc{
    text-align: left;
  }
  .merits{
    padding:48px 0;
  }
  .col-label{
    width:370px;
  }
  .plan-action{
    flex-direction: column;
  }
  .plan-card{
    padding:24px;
  }
  .schedule .section-desc{
    margin-bottom: 24px;
  }
  .timeline-item{
    padding-left:60px;
  }
  .q-text{
    font-size:16px;
  }
  .a-text{
    font-size:14px;
  }
  .cta-title{
    font-size:18px;
  }
  .cta-subtitle{
    font-size:16px;
  }
  .cta-box-text{
    font-size:14px;
  }
  .plan-content{
    gap:16px;
  }
  .phase-title{
    font-size:18px;
    line-height:1.5em;
  }
}




/*-- 追記 --*/
.footer {
  position: relative;
  background: #F7F7F7;
  box-sizing: border-box;
  padding: 49px clamp(20px, 10vw, 208px) 40px;
}
.footer-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
}
.footer-main {
  display: flex;
  gap: 57px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.footer-company {
  flex-shrink: 0;
  width: 307px;
}
.footer-company-name {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  margin: 0 0 17px;
}
.footer-logo {
  margin-bottom: 18px;
}
.footer-address {
  font-size: 14px;
  line-height: 1.71;
  margin: 0;
}
.footer-btns {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 17px;
}
.footer-btn--primary {
  background: #BA0000;
  color: #FFFFFF;
  transition: opacity 0.2s ease;
}
.footer-btn--primary:hover {
  opacity: 0.7;
}
.footer-btn--secondary {
  background: #FFFFFF;
  color: #BA0000;
  font-family: "Jost", "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1;
  gap: 10px;
  min-width: 247px;
  justify-content: flex-start;
  transition: background-color 0.2s ease;
}
.footer-btn--secondary:hover {
  background: #F5D3D5;
}
.footer-links {
  display: flex;
  gap: 32px;
  flex: 1;
  min-width: 742px;
}
.footer-nav-group {
  flex-shrink: 0;
  padding-left: 18px;
  border-left: 1px solid #D9D9D9;
}
.footer-nav-group:first-of-type {
  width: 170px;
  flex: 0 0 170px;
  min-width: 170px;
}
.footer-nav-group:nth-of-type(2) {
  width: 220px;
  flex: 0 0 220px;
  min-width: 220px;
}
.footer-nav-group:nth-of-type(3) {
  width: 254px;
  flex: 0 0 254px;
  min-width: 254px;
}
.footer-nav-title {
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #333333;
  margin: 0 0 18px;
}
.footer-nav-title a {
  color: inherit;
  text-decoration: none;
}
.footer-nav-title a:hover {
  color: #BA0000;
}
.footer-nav-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-nav-subsection {
  position: relative;
  padding-left: 18px;
}
.footer-nav-subsection::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 5px;
  background: #BA0000;
  border-radius: 50%;
}
.footer-nav-subtitle {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.14;
  color: #333333;
  margin: 0 0 9px;
}
.footer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 2;
  color: #333333;
}
.footer-nav-list li {
  padding-left: 12px;
  position: relative;
}
.footer-nav-list li::before {
  content: "-";
  position: absolute;
  left: 0;
}
.footer-nav-list a {
  color: inherit;
  text-decoration: none;
}
.footer-nav-list a:hover {
  color: #BA0000;
}
.footer-bottom {
  padding-top: 0;
}
.footer-bottom-line {
  height: 1px;
  background: #D9D9D9;
  margin-bottom: 18px;
}
.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 47px;
}
.footer-bottom-links a {
  font-weight: 500;
  font-size: 12px;
  line-height: 1.14;
  color: #333333;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #BA0000;
}
.footer-bottom .footer-copyright {
  font-size: 12px;
  line-height: 1.67;
  margin: 0;
  text-align: right;
}

.pagetop {
  position: fixed;
  right: 208px;
  bottom: 20px;
  z-index: 100;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.pagetop.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.pagetop:hover, .pagetop:focus-visible {
  opacity: 0.7;
}
.pagetop svg {
  display: block;
}
.footer-lp .footer-nav-group:first-of-type{
  width:100%;
  flex:none;
}
.footer-lp .footer-nav-list{
  display:flex;
  gap:10px;
}
.footer-lp .isms-area{
  background:#fff;
  text-align: center;
  margin:16px 0 0 0;
  padding:8px 24px;
  display:flex;
  flex-wrap: wrap;
  align-items: center;
  gap:24px;
}
.footer-lp .isms-area img{
  max-width:200px;
}
.footer-lp .isms-tx{
  font-size:12px;
  text-align: left;
  padding:16px;
  display:flex;
  gap:24px;
}
.footer-lp .isms-tx span{
  font-weight:bold;
  display:block;
  margin-top:8px;
}
.footer-lp .isms-tx a{
  display:block;
  padding:8px 0;
}


@media (max-width: 1200px) {
 .footer {
    padding: 49px 40px 40px;
  }
  .footer-main {
    flex-wrap: wrap;
  }
  .footer-company {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-company .footer-logo {
    order: -2;
    margin-bottom: 12px;
    width: 168px;
    height: auto;
  }
  .footer-company .footer-company-name {
    order: -1;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .footer-address {
    text-align: left;
    margin-bottom: 32px;
  }
  .footer-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-btns .footer-btn {
    margin: 0;
  }
  .footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 18px;
    width: auto;
    min-width: 0;
    white-space: nowrap;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.71;
    margin-bottom: 18px;
  }
  .footer-btn--secondary {
    width: 224px;
    gap: 10px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 0;
  }
  .pagetop {
    right: 40px;
  }
  .footer-links {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 32px;
  }
  .footer-nav-group {
    min-width: 0 !important;
    width: auto !important;
    flex: 1 1 auto !important;
  }
}
@media (max-width: 768px) {
.footer {
    padding: 32px 20px 32px;
  }
  .footer-main {
    flex-direction: column;
    gap: 0;
    margin-bottom: 51px;
  }
  .footer-company {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-company .footer-logo {
    order: -2;
    margin-bottom: 12px;
    width: 168px;
    height: auto;
  }
  .footer-company .footer-company-name {
    order: -1;
    margin-bottom: 18px;
    font-size: 13px;
  }
  .footer-address {
    margin-bottom: 16px;
    text-align: left;
  }
  .footer-btns {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 18px;
    width: auto;
    height: auto;
    min-width: 0;
    white-space: nowrap;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.71;
  }
  .footer-btn img {
    flex-shrink: 0;
    width: 27px;
    height: 27px;
  }
  .footer-btn--secondary {
    width: 224px;
    justify-content: flex-start;
    gap: 10px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
  }
  .footer-btns .footer-btn {
    margin-bottom: 18px;
  }
  .footer-btns .footer-btn--secondary {
    margin-bottom: 0;
  }
  .footer-links {
    flex-direction: column;
    gap: 32px;
    min-width: 0;
  }
  .footer-nav-group {
    width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    padding-left: 18px !important;
    border-left: 1px solid #D9D9D9 !important;
    border-top: none;
    padding-top: 0;
    margin-bottom: 0;
  }
  .footer-nav-content {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .footer-nav-subsection:first-child {
    flex: 1 1 0;
    min-width: 0;
  }
  .footer-nav-subsection:last-child {
    flex: 0 0 auto;
    min-width: 80px;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom-links {
    gap: 28px;
  }
  .footer-copyright {
    text-align: left !important;
  }
  .pagetop {
    right: 20px;
    bottom: 20px;
  }
  .page-hero {
    height: 160px;
    margin: 0 calc(20px * -1);
    margin-bottom: 40px;
  }
  .page-hero-content {
    left: 20px;
    bottom: 40px;
  }
  .page-hero-title {
    font-size: 28px;
  }
  .contact-form .form-submit {
    gap: 24px;
    width: 100%;
  }
  .footer {
    padding-bottom: 40px;
  }
  .footer-nav-group{
    border:none !important;
    padding:0 !important;
    border-left:none !important;
  }
  .footer-lp .footer-nav-list{
    display:block;
    gap:10px;
  }
  .footer-lp .isms-area{
    background:#fff;
    text-align: center;
    margin:16px 0 0 0;
    padding:24px 8px;
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    gap:0;
    justify-content: center;
  }
}

.top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding:8px 18px;
  border-radius: 8px;
  border:1px solid #BA0000;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.89;
  letter-spacing: 0.055em;
  text-decoration: none;
  max-width:246px;
  margin:16px 0;
}
.top-btn--white {
  background: #FFFFFF;
  color: #BA0000;
  transition: background-color 0.2s ease;
}