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

ul,
ol {
  list-style: none;
}

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

@font-face {
  font-family: "mcdlight";
  src: url(../font/NitalagoRuika-04M.TTF) format(truetype);
}
@font-face {
  font-family: "mcdmid";
  src: url(../font/NitalagoRuika-06M.TTF) format(truetype);
}
@font-face {
  font-family: "mcdlar";
  src: url(../font/NitalagoRuika-08M.TTF) format(truetype);
}
@font-face {
  font-family: "mcdmidmono";
  src: url(../font/NitalagoRuikaMono-06M.TTF) format(truetype);
}
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

/* First Area */
.first-area {
  min-height: 100vh;
  background-image: url(../img/Firstview-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.first-title-area {
  text-align: center;
}

main {
  padding-bottom: 50px;
}

.first-title {
  font-size: clamp(20px, 5vw, 35px);
  color: #3c3c3c;
  padding-top: 20px;
  font-family: "mcdmid";
  line-height: 1.4;
}

span.marker {
  background-image: repeating-linear-gradient(-45deg,#21ff00 0, #21ff00 3px,transparent 3px, transparent 6px);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 50%;
}

.first-title-sub {
  padding: 30px 20px;
}

.first-h1 {
  margin-top: 20px;
}

.first-span {
  color: #FFFEF8;
  font-size: clamp(40px, 8vw, 80px);
  background-color: #2B74F2;
  padding: 8px 20px;
  border-radius: 10px;
  font-family: "mcdmid";
  display: inline-block;
}

.second-h1 {
  margin-top: 20px;
}

.marker-sub {
  background:linear-gradient(transparent 45%, #FFFF99 60%);
}

.first-span-mon {
  font-size: clamp(30px, 6vw, 75px);
  color: #0200F2;
  font-family: 'Courier New', Courier, monospace;
}

.first-span-sub {
  font-size: clamp(40px, 8vw, 90px);
  color: #0200F2;
  letter-spacing: 0.1rem;
  font-family: YakuHanJP, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
}

.first-text {
  font-family: "mcdmid";
  font-size: clamp(16px, 3vw, 25px);
  color: #3c3c3c;
  line-height: 1.5;
  padding: 0 20px;
}

.first-text strong {
  background:linear-gradient(transparent 65%,#F4F5F7 60%);
}

.first-button-area,
.cam-button-area,
.flow-button-area,
.faq-button-area {
  text-align: center;
  margin-top: clamp(30px, 5vw, 70px);
  font-family: "mcdmid";
  padding: 0 20px;
}

.first-button {
  font-size: clamp(18px, 4vw, 35px);
  color: #F4F5F7;
  width: 100%;
  max-width: 500px;
  margin: auto;
  background-color: #03D3C6;
  padding: 10px;
  border-radius: 30px;
}

.first-button-inside {
  position: relative;
  display: block;
  border: #F4F5F7 3px solid;
  padding: 10px;
  border-radius: 25px;
}

.first-button a::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 20px;
  height: 20px;
  margin: auto;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  box-sizing: border-box;
}

/* Section Titles */
.portfolio-title,
.reason-area-title,
.customer-title,
.flow-area-title,
.faq-title,
.price-title,
.handle-title,
.company-title,
.news-area-title {
  color: #3c3c3c;
  text-align: center;
  padding: 40px 20px 20px;
  font-size: clamp(18px, 3vw, 23px);
  font-family: "mcdmid";
}

.portfolio-title span,
.reason-area-title span,
.customer-title span,
.flow-area-title span,
.faq-title span,
.price-title span,
.price-section-title span,
.comp-title span,
.handle-title span,
.company-title span,
.news-area-title span {
  border-bottom: 4px solid #2B74F2;
  padding-bottom: 13px;
}

/* Section Backgrounds */
.portfolio-area,
.reason-area,
.cam-area,
.customer-area,
.flow-area,
.price-area,
.comp-area,
.company-area,
.faq-area,
.handle-area,
.news-area {
  background-color: #FAFDFE;
}

/* Portfolio Section */
.portfolio-text {
  margin-top: 15px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.5em;
  padding: 0 20px;
}

.portfolio-text span {
  color: #0200F2;
}

/* Campaign Area */
.cam-area {
  padding: 30px 15px;
  background-color: #2B74F2;
  color: #F4F5F7;
  font-family: "mcdmid";
  text-align: center;
}

.campaign-badge {
  display: inline-block;
  background: #F4F5F7;
  color: #2B74F2;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: clamp(16px, 3vw, 25px);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(43, 116, 242, 0.2);
  border: 2px solid transparent;
  animation: bounce 2s ease-in-out infinite;
}

.campaign-badge:hover {
  background: #2B74F2;
  color: #F4F5F7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 116, 242, 0.4);
}

.campaign-badge:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(43, 116, 242, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
      transform: translateY(0); 
  }
  40% { 
      transform: translateY(-5px); 
  }
  60% { 
      transform: translateY(-3px); 
  }
}

.cam-title {
  margin: 20px 0;
  text-align: center;
  font-size: clamp(24px, 6vw, 50px);
  line-height: 1.4em;
  letter-spacing: 0.1em;
  text-shadow: 0px 0px 3px black;
}

.cam-title span {
  font-size: clamp(28px, 7vw, 60px);
  letter-spacing: normal;
  background:linear-gradient(transparent 75%, #D90107 60%);
  text-shadow: 0px 0px 5px black;
}

.cam-triangle {
  margin: auto;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 30px solid transparent;
  border-left: 30px solid transparent;
  border-top: 40px solid #F4F5F7;
  border-bottom: 0;
}

/* Slider */
.slider img {
  width: 100%;
  height: auto;
  margin: 30px 0;
}

.slider .slick-slide {
  margin: 0 10px;
}

/* Reasons Section */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 90%;
  margin: auto;
  padding: 40px 20px;
}

.reason-card {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.reason-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  background: #e8efff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reason-icon img {
  width: 28px;
  height: 28px;
}

.reason-title {
  font-weight: bold;
  margin-bottom: 8px;
  font-size: clamp(14px, 2vw, 16px);
}

.reason-desc {
  font-size: clamp(12px, 2vw, 14px);
  color: #555;
  line-height: 1.5;
}

/* Flow Section */
.flow-container {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.flow-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  position: relative;
}

.flow-box-left {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.flow-step {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: clamp(14px, 2vw, 16px);
}

.flow-img img {
  width: clamp(60px, 10vw, 80px);
  height: clamp(60px, 10vw, 80px);
  object-fit: cover;
  border-radius: 50%;
  background-color: #eee;
}

.flow-box-right {
  flex: 1;
  width: 100%;
}

.flow-box-title p {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: bold;
  margin-bottom: 10px;
}

.flow-box-text p {
  margin-bottom: 5px;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.5;
}

.flow-triangle {
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 15px solid #ccc;
  margin: 0 auto 40px auto;
}

/* Customer Testimonials */
.customer-text {
  margin-top: 15px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.5em;
  padding: 0 20px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  padding-top: 30px;
}

.testimonial-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.customer-info {
  flex: 1;
}

.industry-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.industry-manufacturing {
  background-color: #dbeafe;
  color: #1e40af;
}
.industry-retail {
  background-color: #dcfce7;
  color: #166534;
}

.industry-it {
  background-color: #e9d5ff;
  color: #7c3aed;
}

.industry-construction {
  background-color: #fed7aa;
  color: #c2410c;
}
.industry-medical {
  background-color: #fce7f3;
  color: #be185d;
}

.industry-education {
  background-color: #e0e7ff;
  color: #3730a3;
}

.customer-name {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  color: #1f2937;
}

.rating {
  display: flex;
  gap: 0.125rem;
  justify-content: flex-start;
}

.star {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1;
}

.star.filled {
  color: #fbbf24;
}

.star.empty {
  color: #d1d5db;
}

.testimonial-text {
  color: #4b5563;
  line-height: 1.7;
  font-size: clamp(14px, 2vw, 16px);
}

/* FAQ Section */
.faq-title {
  padding-top: 50px;
}

.faq-text {
  margin-top: 15px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.5em;
  padding: 0 20px 40px;
}

.faq-list {
  width: 90%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
}

.faq-question:hover {
  background-color: #f9fafb;
}

.faq-question h3 {
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: #1f2937;
  flex: 1;
  margin-right: 1rem;
  line-height: 1.5;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: #6b7280;
  transition: transform 0.3s ease, color 0.3s ease;
  min-width: 24px;
  text-align: center;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #3b82f6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8fafc;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 1.5rem;
}

.faq-answer p {
  color: #4b5563;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.7;
}

.faq-item.active .faq-question {
  background-color: #f0f9ff;
  border-bottom: 1px solid #e0f2fe;
}

/* Price Plans */
.plans-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px 20px 60px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.plan-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.plan-card.featured {
  border: 3px solid #2563eb;
  transform: none;
}

.plan-card.featured::before {
  content: "人気プラン";
  position: absolute;
  top: 20px;
  right: -40px;
  background: #2563eb;
  color: white;
  padding: 8px 40px;
  font-size: 0.9rem;
  font-weight: 600;
  transform: rotate(45deg);
}

.plan-name {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.plan-description {
  color: #666;
  margin-bottom: 20px;
  font-size: clamp(12px, 2vw, 14px);
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 30px;
  justify-content: center;
}

.price-amount {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  color: #2563eb;
}

.price-currency {
  font-size: clamp(16px, 3vw, 20px);
  color: #2563eb;
  margin-right: 5px;
}

.price-period {
  font-size: clamp(12px, 2vw, 16px);
  color: #666;
  margin-left: 5px;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.5;
}

.plan-features li::before {
  content: "✓";
  color: #4CAF50;
  font-weight: bold;
  margin-right: 10px;
  font-size: clamp(14px, 2vw, 16px);
  margin-top: 2px;
  flex-shrink: 0;
}

.price-text,
.price-section-text {
  margin-top: 15px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.5em;
  padding: 0 20px;
}

.price-section-title {
  color: #3c3c3c;
  text-align: center;
  padding: 20px;
  font-size: clamp(18px, 3vw, 23px);
  font-family: "mcdmid"
}

/* Comparison Table */
.comparison-table {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  width: 95%;
  margin: auto;
  overflow-x: auto;
}

.table-full {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.table-header {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.th-item {
  padding: 20px 16px;
  text-align: left;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: #374151;
  border-right: 1px solid #e5e7eb;
}

.company-header {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  color: white;
  padding: 20px 24px;
  text-align: center;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  border-right: 1px solid #e5e7eb;
}

.company-column {
  width: 33.333333%;
}

.th-standard, .th-premium {
  padding: 20px 16px;
  text-align: center;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 600;
  color: #374151;
}

.th-standard {
  border-right: 1px solid #e5e7eb;
}

.feature-row {
  border-bottom: 1px solid #f3f4f6;
}

.feature-row:hover {
  background-color: #f1f5f9;
  transition: background-color 0.2s ease;
}

.feature-row:last-child {
  border-bottom: none;
}

.td-item {
  padding: 20px 16px;
  font-weight: 600;
  color: #374151;
  background-color: #f9fafb;
  border-right: 1px solid #e5e7eb;
  font-size: clamp(12px, 2vw, 14px);
}

.highlight-cell {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 20px 24px;
  text-align: center;
  border-right: 1px solid #e5e7eb;
  position: relative;
}

.highlight-cell::before {
  content: '✓';
  position: absolute;
  top: 8px;
  right: 12px;
  font-weight: bold;
  font-size: 16px;
  color: white;
}

.td-standard {
  padding: 20px 16px;
  text-align: center;
  border-right: 1px solid #e5e7eb;
  font-size: clamp(12px, 2vw, 14px);
}

.td-premium {
  padding: 20px 16px;
  text-align: center;
  font-size: clamp(12px, 2vw, 14px);
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 8px;
}

.badge-best {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.badge-standard {
  background: #e5e7eb;
  color: #6b7280;
}

.badge-premium {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.circle-mark {
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 8px;
  color: white;
}

.circle-mark-green {
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 8px;
  color: #10b981;
}

.x-mark {
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 8px;
  color: #ef4444;
}

.price-main {
  font-size: clamp(16px, 3vw, 32px);
  font-weight: bold;
  margin-bottom: 4px;
  color: white;
}

.price-sub {
  font-size: clamp(10px, 2vw, 14px);
  opacity: 0.9;
  color: white;
}

.price-other {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.service-title {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  margin-bottom: 8px;
  color: white;
}

.service-desc {
  font-size: clamp(10px, 2vw, 14px);
  opacity: 0.9;
  line-height: 1.5;
  color: white;
}

.service-other {
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.comp-title {
  margin: 30px 0;
  color: #3c3c3c;
  text-align: center;
  padding: 20px;
  font-size: clamp(18px, 3vw, 23px);
  font-family: "mcdmid";
}

/* Timeline */
.timeline-container {
  position: relative;
  width: 90%;
  margin: auto;
  padding: 0 20px;
}

.timeline-line {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, #34d399, #60a5fa, #a78bfa);
  border-radius: 2px;
  z-index: 1;
}

.timeline-item {
  position: relative;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
  z-index: 2;
}

.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.4s; }
.timeline-item:nth-child(4) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.timeline-badge-container {
  display: flex;
  justify-content: center;
  padding-bottom: 32px;
}

.timeline-badge {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: clamp(12px, 2vw, 14px);
}

.timeline-badge.current {
  background-color: #10b981;
}

.timeline-badge.future {
  background-color: #3b82f6;
}

.timeline-badge.plan {
  background-color: #8b5cf6;
}

.timeline-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.timeline-content.reverse {
  direction: ltr;
}

.timeline-content.reverse > * {
  direction: ltr;
}

.content-text {
  padding: 0 16px;
}

.content-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.content-description {
  color: #4b5563;
  margin-bottom: 24px;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.6;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-tag {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: clamp(11px, 2vw, 13px);
}

.area-tag.current {
  background-color: #d1fae5;
  color: #065f46;
}

.area-tag.future {
  background-color: #dbeafe;
  color: #1e40af;
}

.card-container {
  display: flex;
  justify-content: center;
}

.area-card {
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  width: 100%;
  transition: all 0.3s ease;
  border-left: 4px solid;
}

.area-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.area-card.current-card {
  border-left-color: #10b981;
}

.area-card.future-card {
  border-left-color: #3b82f6;
}

.area-card.plan-card {
  border-left-color: #8b5cf6;
}

.card-status {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 12px;
  animation: pulse 2s infinite;
}

.bounce-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 12px;
  animation: bounce 1s infinite;
}

.plan-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 12px;
}

.current-dot {
  background-color: #10b981;
}

.future-dot {
  background-color: #3b82f6;
}

.plan-dot {
  background-color: #8b5cf6;
}

@keyframes pulse {
  0%, 100% { 
      transform: scale(1); 
      opacity: 1; 
  }
  50% { 
      transform: scale(1.1); 
      opacity: 0.8; 
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
      transform: translateY(0);
  }
  40%, 43% {
      transform: translateY(-8px);
  }
  70% {
      transform: translateY(-4px);
  }
  90% {
      transform: translateY(-2px);
  }
}

.status-text {
  font-weight: 600;
  font-size: clamp(12px, 2vw, 14px);
}

.current-status {
  color: #065f46;
}

.future-status {
  color: #1e40af;
}

.plan-status {
  color: #6b21a8;
}

.card-title {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
}

.card-description {
  color: #4b5563;
  font-size: clamp(12px, 2vw, 14px);
  line-height: 1.5;
}

.plan-highlight {
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  border-radius: 8px;
  padding: 16px;
  display: inline-block;
  width: 100%;
  text-align: center;
}

.plan-text {
  color: #7c3aed;
  font-weight: 600;
  font-size: clamp(12px, 2vw, 14px);
}

.contact-section {
  margin-top: 64px;
  background: white;
  border-radius: 16px;
  padding: 32px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.contact-title {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 16px;
}

.contact-description {
  color: #4b5563;
  margin-bottom: 24px;
  font-size: clamp(12px, 2vw, 14px);
}

.contact-button {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: scale(1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: clamp(14px, 2vw, 16px);
}

.contact-button:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.handle-text {
  margin-top: 15px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(16px, 3vw, 22px);
  line-height: 1.5em;
  padding: 0 20px 50px;
}

/* Company Table */
.company-table-area {
  width: 95%;
  margin: auto;
  padding-top: 50px;
  overflow-x: auto;
}

.company-table {
  border-collapse: collapse;
  margin: auto;
  width: 100%;
  min-width: 600px;
}

.company-table th {
  width: 30%;
  text-align: left;
  padding: 15px 20px;
  font-size: clamp(14px, 2vw, 20px);
  font-weight: normal;
  color: #333333;
  background-color: #f9fafb;
}

.company-table td {
  font-size: clamp(12px, 2vw, 18px);
  padding: 20px 20px;
  line-height: 1.6;
}

.company-table tr {
  border-top: 2px solid rgba(37, 99, 235, 0.2);
  border-bottom: 2px solid rgba(37, 99, 235, 0.2);
}

/* Footer */
.footer-container {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
  color: white;
}

.footer-wave-container {
  position: relative;
}

.footer-wave-svg {
  width: 100%;
  height: 3rem;
  color: white;
}

.footer-wave-animation {
  animation: footer-wave 4s ease-in-out infinite;
}

@keyframes footer-wave {
  0%, 100% { 
      transform: translateY(0px); 
  }
  50% { 
      transform: translateY(-8px); 
  }
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

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

.footer-title {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #bfdbfe;
  text-align: center;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: clamp(12px, 2vw, 14px);
  color: #bfdbfe;
  align-items: center;
}

.footer-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-icon {
  margin-right: 0.5rem;
  width: 1rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(12px, 2vw, 14px);
}

.footer-link {
  color: #bfdbfe;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: #93c5fd;
  transform: translateY(-1px);
}

.footer-chat-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-chat-text {
  font-size: clamp(12px, 2vw, 14px);
  color: #bfdbfe;
  text-align: center;
}

.footer-chat-button {
  background-color: white;
  color: #2563eb;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: clamp(12px, 2vw, 14px);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  width: fit-content;
}

.footer-chat-button:hover {
  background-color: #dbeafe;
  transform: scale(1.05);
}

.footer-chat-icon {
  margin-right: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(147, 197, 253, 0.3);
  padding-top: 1rem;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(12px, 2vw, 14px);
  color: #bfdbfe;
}

.footer-legal-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* News Section */
.news-list {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 20px;
  border: 2px solid #e3f2fd;
  width: 95%;
  min-height: 200px;
  margin: 30px auto 0;
}

.news-item {
  background: #f8faff;
  border: 2px solid #e3f2fd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

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

.news-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background: #2c5aa0;
}

.news-item:hover {
  transform: translateX(5px) translateY(0);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
  border-color: #2c5aa0;
}

.news-title {
  color: #2c5aa0;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 600;
  margin-bottom: 10px;
}

.news-content {
  color: #4a5568;
  line-height: 1.8;
  margin-bottom: 15px;
  font-size: clamp(12px, 2vw, 16px);
  white-space: pre-line;
}

.news-date {
  color: #718096;
  font-size: clamp(11px, 2vw, 14px);
  text-align: right;
}

.no-news {
  text-align: center;
  color: #718096;
  font-size: clamp(14px, 2vw, 16px);
  padding: 40px 20px;
}

.loading {
  text-align: center;
  color: #2c5aa0;
  font-size: clamp(14px, 2vw, 16px);
  padding: 40px 20px;
}

.loading::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #e3f2fd;
  border-radius: 50%;
  border-top-color: #2c5aa0;
  animation: spin 1s ease-in-out infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.other-option-area {
  margin-top: 15px;
  padding: 0 20px 50px;
  font-family: "mcdmid";
  text-align: center;
  font-size: clamp(18px, 3vw, 26px);
  line-height: 1.5em;
}

/* Mobile and Desktop Specific Styles */
@media (min-width: 768px) {
  .footer-grid {
      grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-company {
      text-align: left;
  }
  
  .footer-chat {
      text-align: right;
  }
  
  .footer-info {
      align-items: flex-start;
  }
  
  .footer-info-item {
      justify-content: flex-start;
  }
  
  .timeline-content {
      grid-template-columns: 1fr 1fr;
      gap: 32px;
  }
  
  .timeline-line {
      display: block;
  }
  
  .area-tags {
      justify-content: flex-start;
  }
  
  .card-header {
      flex-direction: row;
      justify-content: space-between;
      align-items: flex-start;
  }
  
  .rating {
      justify-content: flex-end;
  }
  
  .flow-box {
      flex-direction: row;
      align-items: flex-start;
  }
  
  .flow-box-left {
      width: 120px;
      margin-bottom: 0;
      margin-right: 20px;
  }
  
  .flow-box-right {
      text-align: left;
  }
  
  .plan-card.featured {
      transform: scale(1.05);
  }
}

@media (min-width: 1024px) {
  .reasons {
      grid-template-columns: repeat(4, 1fr);
  }
  
  .first-button {
      width: 60%;
      max-width: 600px;
  }
  
  .plans-container {
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
  }
  
  .company-table th {
      padding-left: 60px;
  }
  
  .company-table td {
      padding-right: 60px;
  }
}

/* Chat Button Styles - レスポンシブ対応済み */
.chat-button {
    position: fixed;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: none;
    outline: none;
    text-decoration: none;
}

@media (max-width: 767px) {
    .chat-button {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        max-width: 300px;
        height: 60px;
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        font-size: 16px;
        font-weight: bold;
        color: white;
    }

    .chat-button:hover {
        transform: translateX(-50%) translateY(-3px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    }

    .chat-button:active {
        transform: translateX(-50%) translateY(-1px);
    }
}

@media (min-width: 768px) {
    .chat-button {
        bottom: 30px;
        right: 30px;
        width: 200px;
        height: 60px;
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        border-radius: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 14px;
        font-weight: bold;
        gap: 8px;
        padding: 0 16px;
    }

    .chat-button:hover {
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    }

    .chat-button:active {
        transform: translateY(-1px) scale(1.02);
    }
}

@media (min-width: 1024px) {
    .chat-button {
        width: 210px;
        height: 70px;
        font-size: 16px;
        gap: 10px;
        padding: 0 20px;
    }
}

.chat-icon {
    font-size: 24px;
}

@media (min-width: 768px) {
    .chat-icon {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .chat-icon {
        font-size: 20px;
    }
}

.chat-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.chat-button:hover::before {
    transform: scale(1.2);
    opacity: 0;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.chat-button.pulse {
    animation: pulse 2s infinite;
}

.chat-button:focus {
    outline: 3px solid rgba(255, 107, 107, 0.5);
    outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
    .chat-button {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }
}

@media (prefers-contrast: high) {
    .chat-button {
        border: 2px solid white;
    }
}