/* CSS Reset & Variables */
:root {
  --primary-blue: #2ca7f2;
  --primary-dark: #1d6bc4;
  --accent-yellow: #fcd972;
  --accent-yellow-dark: #fac13f;

  --text-main: #282727;
  --text-dark: #111827;
  --text-light: #5d5b5b;
  --bg-light: #ebf0f3;
  --bg-lighter: #fafafa;

  --gradient-main: linear-gradient(to right, var(--primary-dark), var(--primary-blue));
  --gradient-accent: linear-gradient(163.309deg, var(--accent-yellow) 15.988%, var(--accent-yellow-dark) 95.744%);

  --font-base: 'Noto Sans JP', sans-serif;
  --font-num: 'Jost', sans-serif;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 25px rgba(29, 107, 196, 0.3);
  --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.2);
  --shadow-soft: 0 0 15px rgba(255, 212, 217, 0.5);
}

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

body {
  font-family: var(--font-base);
  color: var(--text-main);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden;
}

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

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

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

.container-s {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}


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

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.font-black {
  font-weight: 900;
}

.text-sm {
  font-size: 14px;
  font-weight: 400;
}

/* Utility Classes */
.gradient-bg {
  background: var(--gradient-main);
}

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(172.35deg, rgb(31, 112, 200) 16%, rgb(37, 137, 219) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.flex-between {
  display: flex;
  justify-content: space-between;
}

.align-center {
  display: flex;
  align-items: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.4;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-large {
  padding: 16px 24px;
  font-size: 18px;
  border-radius: 8px;
}

.btn-outline {
  background-color: #fff;
  border: 1px solid #e8e8e8;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background-color: #f5f5f5;
}

.btn-gradient {
  background: var(--gradient-main);
  color: #fff;
  border: none;
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(29, 107, 196, 0.4);
}

.btn-white {
  background-color: #fff;
  color: var(--primary-dark);
  border: none;
}

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

.btn-white:hover {
  background-color: #f0f8ff;
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  border-radius: 8px;
}

.link-blue {
  color: var(--primary-blue);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.link-blue:hover {
  text-decoration: underline;
}

/* Section Titles */
.section-title {
  font-size: 32px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 48px;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

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

.header-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gradient-main);
}

/* Floating Navigation */
.floating-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 40px 170px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 100;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.brand-subtitle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-left: 3px;
}

.brand-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-bottom a{
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 8px;
  margin-top: 4px;
}

.brand-logo {
  display: flex;
  align-items: center;
  margin-left: 3px;
}


.brand-company-name {
  font-size: 14px;
  font-weight: 900;
  color: var(--text-light);
  margin-left: 12px;
}

.nav-actions {
  display: flex;
  gap: 16px;
}

/* Hero Section */
.hero {
  padding-top: 0;
  position: relative;
  min-height: 788px;
  display: flex;
  align-items: center;
  background-image: url('assets/img/mvbg.jpg');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-container {
  display: flex;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 50%;
  padding: 0 40px 0 178px;
  z-index: 10;
  margin-top: 80px;
}

.hero-badge {
  display: inline-flex;
  background: var(--gradient-accent);
  color: #211e1e;
  padding: 6px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 24px;
  box-shadow: 0 4px 10px rgba(250, 193, 63, 0.3);
}

.hero-heading {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 3.64px;
  margin-bottom: 32px;
}

.highlight-blue {
  color: #1e6ec6;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 48px;
  color: #0d0e10;
}

.hero-actions {
  display: flex;
  gap: 24px;
}



/* Obligation Section */
.obligation-banner {
  position: relative;
  z-index: 20;
  margin: 60px 0;
}

.obligation-card-inner {
  border: 1px solid #fff;
  padding: 30px 30px;
  border-radius: 20px;
}

.obligation-card {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  text-align: center;
  padding: 8px;
}

.obligation-card h2 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.obligation-card p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

/* Challenges Section */
.challenges {
  padding: 120px 0;
  background-color: var(--bg-light);
  position: relative;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 100px;
}

.challenge-card {
  padding: 24px;
  background: #fff;
  border-radius: 8px;
  position: relative;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.challenge-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.challenge-images {
  width: 100%;
  pointer-events: none;
}

.challenge-ellipse {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  height: 140px;
  width: 140px;
}

.challenge-images-icon {
  margin: -48px auto 0px auto;
  position: relative;
  z-index: 2;
}

.challenge-img {
  position: relative;
  width: 100%;
  z-index: 2;
}

.challenge-ornament {
  position: absolute;
  top: 0;
  left: calc(50% - 24px);
  width: 50px;
  height: 69px;
  z-index: 1;
}

.challenge-ornament img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.challenge-content h3 {
  font-size: 18px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: #282727;
  line-height: 28px;
  margin: 18px 0 12px 0;
}

.challenge-content h3.text-center {
  text-align: center;
}

.challenge-content p {
  font-size: 14px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #282727;
  line-height: 24px;
  margin: 0;
}

/* Solutions / Systemization */
.solutions {
  padding: 100px 0;
}

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

.icon-accent {
  font-size: 40px;
  color: #e8e8e8;
  opacity: 0.5;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1000px;
  margin: 0 auto;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 60px;
}

.solution-item.reverse {
  flex-direction: row-reverse;
}

.solution-image {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.solution-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 167, 242, 0.05);
  /* subtle tint overlay */
  z-index: 1;
}

.solution-content {
  flex: 1;
}

.point-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #fff;
}

.solution-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.solution-content p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

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

.reasons .section-title {
  color: #fff;
  margin-bottom: 60px;
}

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

.reason-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}

.reason-card:hover {
  transform: translateY(-5px);
}

.reason-img {
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.reason-title {
  font-size: 20px;
  margin-bottom: 16px;
}

.reason-card p {
  font-size: 14px;
  line-height: 1.8;
}

/* Features */
.features {
  padding: 100px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.feature-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 24px 20px;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-blue);
  transform: translateY(-5px);
}

.feature-icon-lg {
  max-width: 135px;
  color: var(--primary-blue);
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 16px;
  min-height: 50px;
}

.feature-card p {
  font-size: 14px;
  text-align: left;
}

/* Case Studies */
.cases {
  padding: 100px 0;
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.case-card::before {
  content: '導入事例';
  position: absolute;
  top: -15px;
  left: 40px;
  background: var(--bg-light);
  color: var(--primary-dark);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
}

.case-meta {
  font-size: 12px;
  color: #666;
  margin-bottom: 16px;
}

.case-title {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.5;
  color: var(--primary-dark);
}

.case-card hr {
  border: none;
  border-top: 2px solid var(--primary-blue);
  width: 50px;
  margin-bottom: 20px;
}

.case-desc {
  font-size: 14px;
  line-height: 1.8;
}

/* Pricing */
.pricing {
  padding: 100px 0;
}

.pre-title {
  font-size: 16px;
  margin-bottom: 40px;
}

.pricing-card {
  display: flex;
  border-radius: 16px;
  padding: 30px;
  gap: 30px;
  align-items: center;
}

.pricing-box {
  background: #fff;
  flex: 1;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.pricing-header {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.pricing-header h3 {
  font-size: 20px;
}

.badge {
  background: var(--primary-blue);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.price-val {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.price-val .num {
  font-size: 64px;
  font-weight: 900;
  font-family: var(--font-num);
}

.price-val .unit {
  font-size: 18px;
  font-weight: 700;
}

.tax-note {
  font-size: 12px;
  color: #666;
}

.kenzo-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.kenzo-pre {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.kenzo-box h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.kenzo-box p {
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.8;
}

/* Flow Section */
.flow {
  padding: 100px 0;
}

.flow-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
}

.flow-line {
  position: absolute;
  top: 30px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: #dbe2e8;
  z-index: 1;
}

.step {
  position: relative;
  z-index: 2;
  width: 220px;
  text-align: center;
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-family: var(--font-num);
  font-weight: 700;
  margin: 0 auto 24px;
  border: 4px solid var(--bg-light);
}

.step h3 {
  font-size: 18px;
  margin-bottom: 16px;
  min-height: 50px;
}

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

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

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  padding: 24px 30px;
  cursor: pointer;
  list-style: none;
  gap: 20px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.q-mark {
  color: var(--primary-blue);
  font-size: 28px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
}

.faq-item h3 {
  font-size: 18px;
  flex: 1;
}

.expand-icon {
  font-size: 20px;
  color: #ccc;
  transition: transform 0.3s;
}

.faq-item[open] .expand-icon {
  transform: rotate(45deg);
  color: var(--primary-blue);
}

.faq-answer {
  display: flex;
  padding: 0 30px 30px;
  gap: 20px;
  border-top: 1px solid #f0f0f0;
  margin-top: -10px;
  padding-top: 24px;
}

.a-mark {
  color: var(--accent-yellow-dark);
  font-size: 28px;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
}

.answer-content p {
  font-size: 16px;
  margin-bottom: 8px;
}

/* Footer CTA */
.footer-cta {
  padding: 120px 0;
  position: relative;
  background: url('assets/img/footer_bg.jpg') center/cover no-repeat;
  text-align: center;
  min-height: 600px;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
}

.cta-title {
  color: #fff;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: #fff;
  font-size: 24px;
  margin-bottom: 48px;
  font-weight: 700;
}

.cta-box {
  background: var(--gradient-main);
  border-radius: 12px;
  padding: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.cta-desc {
  color: #fff;
  font-size: 18px;
  margin-bottom: 30px;
}

.cta-action-title {
  color: #fff;
  font-size: 28px;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
}


.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;
}

.hero-sp-img{
  display:none;
}
/* Responsive adjustments */
@media (max-width: 1024px) {
  .floating-nav {
    position: static;
    width: 100%;
    padding:16px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
  }
  .hero {
    background-image: none;
  }
  .hero-container{
    display:block;
  }
  .hero-sp-img{
    width:100%;
    height:auto;
  }
  .hero-content {
    width: 100%;
    padding: 0 20px;
    margin:24px auto;
  }
  .hero-actions{
    flex-direction: column;
  }
  .hero-image-wrapper {
    display: none;
  }

  .hero-heading {
    font-size: 40px;
  }

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

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

  .solution-item,
  .solution-item.reverse {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card {
    flex-direction: column;
  }

  .flow-steps {
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
  }

  .flow-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .container{
    padding: 0 24px;
  }
  .section-header{
    margin-bottom:38px;
  }
  .hero-sp-img{
    display:block;
  }
  .obligation-card h2 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 24px;
    line-height: 1.5;
  }
  .obligation-card-inner{
    padding:16px;
    text-align: left;
  }
  .challenges{
    padding:60px 0;
  }
  .section-title{
    font-size:22px;
    text-align: left;
  }
  .challenges-grid,
  .cases-grid {
    grid-template-columns: 1fr;
    gap:60px;
  }
  .features-grid,
  .reasons-grid{
    grid-template-columns: 1fr;
    gap:24px;
  }
  .section-desc{
    margin:24px auto 24px;
    text-align: left;
  }
  .challenges-grid{
    margin-top:48px;
  }
  .solution-item{
    gap:30px;
  }
  .hero-heading {
    font-size: 32px;
  }
  .obligation-card {
    padding: 30px 20px;
  }
  .solution-content h3 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  .solution-content p{
    font-size:14px;
    text-align: left;
  }
  .cta-actions {
    flex-direction: column;
  }
  .nav-actions {
    display: none;
  }
  .solutions,
  .reasons,
  .features,
  .pricing,
  .flow,
  .faq{
    padding:50px 0;
  }
  .reasons .section-title{
    margin-bottom: 30px;
  }
  .pricing-box,
  .kenzo-box{
    padding:24px;
    width:100%;
  }
  .price-val{
    flex-direction: column;
    align-items: center;
    gap:0;
  }
  .price-val .num{
    line-height:1;
  }
  .step{
    width:300px;
  }
  .footer-cta{
    padding:50px 0;
  }
  .cta-title,
  .cta-subtitle{
    font-size:18px;
  }
  .cta-box{
    padding:20px;
  }
  .cta-desc{
    font-size:16px;
  }
}






/*-- 追記 --*/
.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;
}