@charset "UTF-8";

/* --- 基本スタイル --- */
body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333333;
  line-height: 1.8;
  background-color: #ffffff;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 5%;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo-area {
  font-weight: bold;
  font-size: 1.2rem;
  color: #333333;
  line-height: 1;
}

.logo-area-logo {
  height: 30px;
  width: auto;
}

.header-cta {
  background-color: #B22222;
  color: #ffffff;
  padding: 10px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 1px;
  border: solid 2px #B22222;
}

.header-cta:hover {
  background-color: #8b0000;
  border: solid 2px #8b0000;
  transform: translateY(-1px);
}




.header-cta-contact {
  background-color: #fff;
  color: #B22222;
  margin-right: 10px;
}

.header-cta-contact:hover {
  background-color: #f6f6f6;
  color: #8b0000;
}




/* --- 共通コンポーネント --- */
.main-cta {
  display: inline-block;
  background-color: #B22222;
  color: #ffffff;
  padding: 18px 40px;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
  letter-spacing: 1px;
  text-align: center;
}

.main-cta:hover {
  background-color: #8b0000;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.4);
}

.sub-cta {
  display: inline-block;
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 16px 40px;
  font-size: 1.15rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: transform 0.2s, background 0.3s, color 0.3s;
  letter-spacing: 1px;
  min-width: 250px;
  text-align: center;
}

.sub-cta:hover {
  background-color: #ffffff;
  color: #333333;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: #B22222;
  padding: 18px 50px;
  font-size: 1.25rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s, box-shadow 0.3s;
  text-align: center;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

section {
  padding: 90px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #333333;
  letter-spacing: 1.5px;
  font-weight: bold;
}
.partnership .section-title {
  font-size: 2.1rem;
  letter-spacing: 0;

}

.section-title span {
  color: #B22222;
}

.section-lead {
  text-align: center;
  font-size: 1.1rem;
  color: #555555;
  line-height: 1.8;
  max-width: 1000px;
  margin: 0 auto 50px;
}

/* --- セクション1: ヒーロー --- */
.hero {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 85vh;
  background-image: url('../img/3422292_m.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 0 5%;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 30, 35, 0.55) 0%, rgba(10, 10, 15, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.label {
  display: inline-block;
  background-color: #ffffff;
  color: #333333;
  padding: 4px 14px;
  font-size: 0.85rem;
  margin-bottom: 25px;
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
}

h1 {
  font-size: 3.25rem;
  line-height: 1.4;
  margin-bottom: 30px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 2px;
}

h1 span.hero_top {
  margin-bottom: 20px;
  font-size: 3rem;
  display: inline-block;
}

h1 span.hero_color {
  color: #e66;
}

.sub-copy {
  font-size: 1.25rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: bold;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- セクション2〜4: 課題・要因・解決策 --- */
.problems {
  background-color: #f9f9fa;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.problem-card {
  background: #ffffff;
  padding: 35px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border-top: 4px solid #B22222;
}

.problem-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.problem-number {
  width: 36px;
  height: 36px;
  background-color: #333333;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: bold;
  flex-shrink: 0;
}

.problem-card h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #333333;
  line-height: 1.4;
}

.problem-desc {
  font-size: 0.95rem;
  color: #666666;
  margin: 0;
}

.problem-cta {
  margin-top: 80px;
  text-align: center;
}

.problem-cta-copy {
  font-size: 1.6rem;
  margin-bottom: 10px;
  font-weight: bold;
  display: inline-block;
  position: relative;
  margin-left: 35px;

}

.problem-cta-copy::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -35px;
  width: 30px;
  height: 24px;
  background: url(../img/problem-cta_attention.svg) no-repeat ;
  background-size: auto 24px;
}

.problem-cta-copy-sub {
  font-size: 1.125rem;
  margin-bottom: 40px;
}

.transition {
  background-color: #333333;
  color: #ffffff;
  text-align: center;
  padding: 80px 5%;
}

.transition h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  font-weight: normal;
}

.transition-lead {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  max-width: 1000px;
  margin: 0 auto 20px;
}

.transition-flow {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 1.25rem;
  font-weight: bold;
}

.transition-flow p {
  margin: 0;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid #B22222;
}

.transition-flow .desc {
  display: block;
  font-size: 0.95rem;
  color: #aaaaaa;
  font-weight: normal;
  margin-top: 8px;
}

.arrow-down {
  color: #B22222;
  font-size: 1.5rem;
  margin: 5px 0;
}

.highlight-text {
  color: #ff8c8c;
  font-size: 1.6rem;
}

.solution {
  background-color: #ffffff;
  padding: 80px 5%;
}

.comparison-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 30px;
}

.comparison-box {
  padding: 25px 30px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.comparison-box.old {
  border-left: 5px solid #888888;
  background-color: #f9f9fa;
}

.comparison-box.new {
  border-left: 5px solid #B22222;
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.08);
}

.box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px dotted #ccc;
  padding-bottom: 10px;
}

.box-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #666666;
}

.box-desc {
  font-size: 0.95rem;
  color: #888888;
}

.new .box-title {
  color: #B22222;
}

.new .box-desc {
  color: #333333;
  font-weight: bold;
}

.flow-steps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.step {
  background: #ffffff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  border: 1px solid #dcdcdc;
  color: #555555;
  flex: 1;
  text-align: center;
  min-width: 120px;
}

.new .step {
  background: #fff5f5;
  color: #B22222;
  border: 1px solid #ffcccc;
}

.flow-arrow {
  color: #aaaaaa;
  font-size: 1.2rem;
}

.new .flow-arrow {
  color: #B22222;
}

.solution-conclusion {
  text-align: center;
  font-size: 1.6rem;
  font-weight: bold;
  color: #B22222;
  margin-top: 30px;
  letter-spacing: 1px;
}

.scroll-bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
}

.bridge-line {
  width: 2px;
  height: 50px;
  background-color: #B22222;
}

.bridge-arrow-sleek {
  width: 16px;
  height: 16px;
  border-bottom: 3px solid #B22222;
  border-right: 3px solid #B22222;
  transform: rotate(45deg);
  margin-top: -6px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(-10px) rotate(45deg);
  }

  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* --- セクション5〜7: 概要・メリット --- */
.service-overview {
  padding: 0;
}

.service-header-bg {
  background-color: #333333;
  padding: 90px 5% 150px;
  text-align: center;
}

.service-header-bg .section-title {
  color: #ffffff;
  margin-bottom: 30px;
}

.service-header-bg .section-lead {
  color: rgba(255, 255, 255, 0.85);
}

.service-header-bg .section-lead strong {
  color: #ff8c8c;
  font-size: 1.25rem;
}

.service-cards-bg {
  background-color: #f9f9fa;
  padding: 0 5% 90px;
}

.overlap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  margin-top: -80px;
  position: relative;
  z-index: 10;
}

.point-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.point-badge {
  display: inline-block;
  background-color: #B22222;
  color: #ffffff;
  padding: 5px 15px;
  font-size: 0.9rem;
  font-weight: bold;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.point-card h3 {
  font-size: 1.3rem;
  color: #333333;
  margin-bottom: 15px;
}

.benefits {
  background-color: #ffffff;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto 60px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e0e0e0;
}

.benefit-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.benefit-title {
  font-size: 1.5rem;
  color: #333333;
  font-weight: bold;
  border-left: 5px solid #B22222;
  padding-left: 15px;
  line-height: 1.4;
}

.benefit-content {
  font-size: 1rem;
  color: #555555;
  padding-left: 20px;
}

.benefit_val_text ,
.benefit_val_month ,
.benefit_val_val ,
.benefit_val_yen {
  font-weight: bold;
  color: #333;
}

.benefit_val_text {
  font-size: 1.25rem;
}

.benefit_val_month {
  font-size: 1.5rem;
}

.benefit_val_val {
  font-size: 2.75rem;
  color: #B22222;
}

.benefit_val_yen {
  font-size: 1.75rem;
  color: #B22222;
}

.price-box {
  display: inline-block;
  background-color: #fff5f5;
  border: 2px solid #B22222;
  padding: 20px 40px;
  border-radius: 8px;
  text-align: center;
  margin-top: 10px;
}

.price-box .price {
  font-size: 2rem;
  color: #B22222;
  font-weight: bold;
  margin: 10px 0;
}

/* --- セクション8〜11: 機能・事例 --- */


.case-studies {
  background-color: #ffffff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-card {
  border-radius: 8px;
  overflow: hidden;
  
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-top: solid 4px #B22222;
}

.case-header {
  background-color: #fff;
  margin: 20px 30px;
  font-size: 1.25rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: solid 1px #eee;
}

.case-header .case-header-img {
  border-radius: 4px;
  height: 50px;
  width: auto;
}

.case-body {
  padding: 0 30px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f9f9fa;
  background-color: #fff;
}

.case-placeholder {
  font-size: 0.95rem;
  padding-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.case-placeholder-lead {
  font-size: 1rem;
  font-weight: bold;
  padding-bottom: 10px;
}

.case-placeholder-title {
  font-size: 1.125rem;
  font-weight: bold;
  position: relative;
  margin-top: 15px;
  margin-left: 15px;
}

.case-placeholder-title::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -15px;
  margin-top: -10px;
  width: 8px;
  height: 20px;
  background: #B22222;
  border-radius: 4px;
}
.main-cta-case {
  padding: 10px 28px;
  font-size: 1rem;
  width: 216px;
}
.main-cta-case ,
.main-cta-case:hover {
  box-shadow: none;
}

/* --- NEW! セクション12〜16: パートナーシップの強み・実績 --- */
.partnership {
  background-color: #f9f9fa;
  border-top: 1px solid #e0e0e0;
}

.partnership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto 50px;
}

.partner-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  position: relative;
  border-top: 4px solid #333333;
}

.partner-card.tm {
  border-top-color: #B22222;
}

.partner-logo {
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 50px;
}

.partner-logo span {
  color: #B22222;
}

.partner-card h3 {
  font-size: 1.25rem;
  color: #333333;
  margin-bottom: 15px;
}

.partner-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

.evaluations {
  text-align: center;
  margin-top: 60px;
}

.eval-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.eval-badge {
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 25px 30px;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.eval-badge .stars {
  color: #B22222;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.eval-badge .text {
  font-size: 0.9rem;
  font-weight: bold;
  color: #555;
}

/* --- NEW! セクション18: Q&A --- */
.faq {
  background-color: #ffffff;
}

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

.faq-item {
  margin-bottom: 25px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.faq-q {
  background-color: #f9f9fa;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #333333;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.faq-q::before {
  content: "Q.";
  color: #B22222;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.5;
}

.faq-a {
  background-color: #ffffff;
  padding: 20px 25px 25px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.7;
  border-top: 1px dashed #dcdcdc;
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.faq-a::before {
  content: "A.";
  color: #333333;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.2;
}

/* --- NEW! セクション19: 最終CTA & フッター --- */
.final-cta {
  background-color: #B22222;
  color: #ffffff;
  text-align: center;
  padding: 100px 5%;
  background-image: linear-gradient(135deg, #8b0000 0%, #B22222 100%);
}

.final-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  letter-spacing: 1.5px;
}

.final-cta p {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .cta-group {
  margin-bottom: 30px;
}


/* footer */
.p-footer {
  background-color: #000A11;
  color: #F5F5F5;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.48;
  text-align: center;
}

.p-footer__inner {
  padding: 3.125rem 2.0625rem 6.25rem;
}

.p-footer__content {
  width: 100%;
}

.p-footer__content__list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;

  gap: 0 0.5625rem;
}

.p-footer__content__list__item {
  width: 9.375rem;
  list-style: none;
}

.p-footer__content__list__item a {
  padding: 0.96875rem 0;
  display: block;
  color: #F5F5F5;
  text-decoration: none;
}

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

/* --- レスポンシブ --- */
@media only screen and (max-width: 1240px) {
  .problem-grid {
    max-width: 900px;
  }
  .overlap-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {

  .header-cta-wrap {
    display: none;
  }
  h1 {
    font-size: 2.2rem;
  }

  .hero {
    min-height: 70vh;
    padding: 40px 5%;
  }

  .cta-group {
    flex-direction: column;
    width: 100%;
  }

  .main-cta,
  .sub-cta {
    width: 100%;
    box-sizing: border-box;
  }

  section {
    padding: 60px 5%;
  }

  

  .service-header-bg {
    padding: 60px 5% 100px;
  }

  .overlap-grid {
    margin-top: -50px;
  }

  .final-cta h2 {
    font-size: 1.8rem;
  }

  .overlap-grid {
    grid-template-columns: repeat(auto-fit, minmax(70vw, 1fr));
  }

  .partner-logo img {
    max-height: 40px;
  }

}

@media only screen and (min-width: 768px) {

  .p-footer__inner {
    padding: 1.375rem 1.5625rem 2.5rem;
  }

  .p-footer__content {
    max-width: 66.875rem;
    margin: 0 auto;
  }

  .p-footer__content__list {
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 0;
  }

  .p-footer__content__list__item {
    width: initial;
  }

}