@charset "UTF-8";
/* --- Hero Area --- */
.hero-section {
  background: radial-gradient(circle at 70% 50%, #0066CC, #004DA1 60%, #003366);
  color: #fff;
  padding: 50px 0;
  overflow: hidden;
  position: relative;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  padding-right: 60px;
}

.hero-label {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.hero-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-image {
  flex: 0 0 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 4px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s;
}

.hero-container:hover .hero-image {
  transform: perspective(1000px) rotateY(0deg);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 900px) {
  .hero-section {
    padding: 40px 0;
  }

  .hero-container {
    flex-direction: column-reverse;
    gap: 30px;
  }

  .hero-text {
    padding-right: 0;
    text-align: center;
  }

  .hero-image {
    flex: auto;
    width: 100%;
    max-width: 100%;
    transform: none;
  }

  .hero-container:hover .hero-image {
    transform: none;
  }

  .hero-title {
    font-size: 26px;
  }
}

/* --- Section Titles --- */
.section-label {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 80px;
  color: var(--color-text-main);
  position: relative;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-sub);
  text-align: center;
  margin-bottom: 40px;
}

/* --- 3 Column Cards --- */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wf-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.wf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--color-border);
  transition: background 0.3s;
}

.wf-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-5px);
  border-color: rgba(0, 77, 161, 0.1);
}

.wf-card:hover::before {
  background: var(--color-main);
}

.wf-card-icon {
  font-size: 40px;
  color: var(--color-main);
  margin-bottom: 20px;
  background: var(--color-main-light);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.3s;
}

.wf-card:hover .wf-card-icon {
  transform: scale(1.1);
  background: var(--color-main);
  color: #fff;
}

.wf-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text-main);
}

.wf-card-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-sub);
  margin-bottom: 10px;
  display: block;
}

.wf-card-desc {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 30px;
  line-height: 1.8;
  flex-grow: 1;
}

.wf-card .btn {
  width: 100%;
}

.wf-card-list {
  text-align: left;
  width: 100%;
  margin-bottom: 25px;
  font-size: 15px;
  color: var(--color-text-sub);
  background: var(--color-bg-body);
  padding: 15px 20px;
  border-radius: 8px;
}

.wf-card-list li {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.wf-card-list li:last-child {
  margin-bottom: 0;
}

.wf-card-list li::before {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  color: var(--color-sub);
  margin-right: 8px;
}

/* --- 2 Column Cards --- */
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.wf-card-horizontal {
  align-items: flex-start;
  text-align: left;
}

@media screen and (max-width: 768px) {

  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* --- Service List & Group Headers --- */
.service-list-container {
  max-width: 1000px;
  margin: 0 auto;
}

/* Group Header Styling (Revised for Icons) */
.service-group-header {
  display: flex;
  align-items: center;
  margin: 50px 0 24px;
  position: relative;
}

/* Icon Badge instead of Text Badge */
.service-group-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-main);
  color: #fff;
  border-radius: 50%;
  margin-right: 15px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 77, 161, 0.2);
}

.service-group-icon span {
  font-size: 24px;
}

.service-group-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ライン装飾 */
.service-group-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0E0E0;
  margin-left: 20px;
}

.service-group-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Service Card Styling */
.service-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: #ddd;
  transition: background 0.3s;
}

.variant-purple::after {
  background: var(--color-cat-purple);
}

.variant-green::after {
  background: var(--color-cat-green);
}

.variant-blue::after {
  background: var(--color-cat-blue);
}

.variant-red::after {
  background: var(--color-cat-red);
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateX(5px);
}

.service-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f0f0f0;
  color: #555;
}

.service-icon-box span {
  font-size: 36px;
}

.variant-purple .service-icon-box {
  background: rgba(151, 71, 255, 0.1);
  color: var(--color-cat-purple);
}

.variant-green .service-icon-box {
  background: rgba(39, 174, 96, 0.1);
  color: var(--color-cat-green);
}

.variant-blue .service-icon-box {
  background: rgba(45, 156, 219, 0.1);
  color: var(--color-cat-blue);
}

.variant-red .service-icon-box {
  background: rgba(235, 87, 87, 0.1);
  color: var(--color-cat-red);
}

.service-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.service-info {
  flex: 1;
  min-width: 250px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 購入後のタイトル修飾 */
.title-prefix {
  font-size: 13px;
  color: var(--color-text-sub);
  background: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: normal;
  margin-right: 5px;
}

.service-desc {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 12px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Service Tags Link Style Update */
.service-tag {
  font-size: 13px;
  color: var(--color-text-sub);
  background: var(--color-bg-body);
  padding: 6px 14px;
  border-radius: 20px;
  /* パディング微調整 */
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  text-decoration: none;
  /* リンクの下線を消す */
  transition: all 0.2s ease;
  /* ホバーアニメーション */
}

.service-tag::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: #ccc;
  border-radius: 50%;
  margin-right: 6px;
  transition: background 0.2s;
}

/* Hover State for Tags */
.service-tag:hover {
  border-color: var(--color-sub);
  color: var(--color-main);
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Color variants for tags */
.variant-purple .service-tag::before {
  background: var(--color-cat-purple);
}

.variant-green .service-tag::before {
  background: var(--color-cat-green);
}

.variant-blue .service-tag::before {
  background: var(--color-cat-blue);
}

.variant-red .service-tag::before {
  background: var(--color-cat-red);
}

@media screen and (max-width: 600px) {
  .service-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .service-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 15px;
  }

  .service-card .btn {
    width: 100%;
  }

  .service-group-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .service-group-header::after {
    display: none;
  }
}

/* --- Subscription Banner --- */
.sub-banner {
  background: linear-gradient(135deg, var(--color-main), var(--color-main-dark));
  border: none;
  border-radius: var(--radius-card);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 77, 161, 0.25);
  color: #fff;
}

.sub-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
  z-index: 0;
}

.sub-info {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.sub-icon {
  width: 70px;
  height: 70px;
  background: #fff;
  color: var(--color-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sub-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.sub-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.sub-features {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.sub-feature-item {
  font-size: 14px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: 4px;
}

.sub-feature-item::before {
  content: 'check_circle';
  font-family: 'Material Symbols Outlined';
  color: #4FC3F7;
  margin-right: 6px;
  font-size: 18px;
}

.sub-action {
  text-align: right;
  position: relative;
  z-index: 1;
}

.sub-price {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 8px;
}

.sub-price strong {
  font-size: 26px;
  color: #fff;
  font-weight: 800;
}

.sub-banner .btn-primary {
  background: #fff;
  color: var(--color-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sub-banner .btn-primary:hover {
  background: #f0f8ff;
}

@media screen and (max-width: 900px) {
  .sub-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .sub-features {
    flex-direction: column;
    margin-left: 0;
    margin-top: 15px;
    gap: 10px;
    width: 100%;
  }

  .sub-action {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .sub-action .btn {
    width: 100%;
  }
}

/* --- Bottom Contact Methods --- */
.bottom-contact {
  margin-top: 60px;
  margin-bottom: 80px;
}

.contact-method-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: 0.3s;
}

.contact-method-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.contact-method-icon {
  font-size: 36px;
  color: var(--color-main);
  margin-bottom: 20px;
  background: var(--color-bg-body);
  width: 80px;
  height: 80px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.contact-method-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-method-desc {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 25px;
  line-height: 1.6;
}

.contact-method-card .btn {
  width: 100%;
}

/* 規約・保証リスト */
.doc-links-section {
  margin-top: 40px;
}

.doc-links-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 40px;
}

.doc-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: var(--color-text-main);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  transition: 0.2s;
}

.doc-link:hover {
  color: var(--color-main);
  border-color: var(--color-main);
  padding-left: 5px;
}

.doc-link::before {
  content: 'description';
  font-family: 'Material Symbols Outlined';
  font-size: 18px;
  margin-right: 8px;
  color: #999;
}

.chatbot-open-button {
  position: relative;
}

.chatbot-open-button.is-chatbot-loading {
  pointer-events: none;
  opacity: 0.5;
}

.chatbot-open-button.is-chatbot-loading::after {
  content: "autorenew";
  font-family: "Material Symbols Outlined";
  font-size: 20px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  animation: chatbot-spin 1s linear infinite;
}

@keyframes chatbot-spin {
  from {
    transform: translateY(-50%) rotate(0deg);
  }

  to {
    transform: translateY(-50%) rotate(360deg);
  }
}