/* ========================================
   リセット & ベーススタイル
======================================== */

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

/* Color Palette based on the document */
:root {
  --green: #4ecdc4;
  --purple: #4f3f9f;
  --light-blue: #a9efea;
  --linear-gradation: linear-gradient(135deg, #4ecdc4 0%, #4f3f9f 100%);
  --btn-orange: #f97316;
  --dark-gray: #;
  --medium-gray: #666666;
  --light-gray: #f1fbfb;
  --white: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  color: #333333;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

.container {
  max-width: calc(1200px + 20px * 2);
  margin: 0 auto;
  padding: 0 20px;
}

.hidden-pc {
  display: none;
}

/* ========================================
   ヘッダー
======================================== */

.header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
}

.logo {
  width: 160px;
  height: 35px;
}

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

  gap: 20px;
}

.header-tel {
  position: relative;
  padding-left: 32px;
  text-decoration: none;
  letter-spacing: -0.04em;
  color: var(--purple);
  font-size: 25px;
  font-weight: 700;
}

.header-tel::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 30px;
  content: "";
  transform: translateY(-50%);
  background: url(./img/tel-icon.png) no-repeat center center / contain;
}

/* ========================================
   ボタン
======================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;

  gap: 10px;
}

.cta-button .cta-icon {
  fill: var(--white);
}

.cta-button:hover .cta-icon {
  fill: var(--btn-orange);
}

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

.btn-style6 {
  position: relative;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  transition: color 0.3s;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  border: 2px solid var(--btn-orange);
  background-color: var(--btn-orange);
  font-weight: 600;
}

.btn-style6::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  content: "";
  transition: width 0.3s ease;
  background-color: var(--white);
}

.btn-style6:hover {
  color: var(--btn-orange);
}

.btn-style6:hover::before {
  width: 100%;
}

.size-medium {
  padding: 0.75em 1.5em;
  font-size: 1rem;
}

.width-auto {
  width: auto;
}

.radius-medium {
  border-radius: 8px;
}

/* ========================================
   ヒーローセクション
======================================== */

.hero {
  position: relative;
  padding: 150px 0 100px;
  opacity: 0;
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url(./img/hero-background.svg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  mix-blend-mode: soft-light;
  opacity: 0.1;
}

.hero.loaded {
  transform: translateY(0);
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  grid-template-columns: calc((100% - 60px) / 2) calc((100% - 60px) / 2);
  gap: 60px;
  justify-content: center;
}

.hero-text {
}

.hero-title {
  margin-bottom: 30px;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.3;
}

.highlight {
  color: var(--green);
}

.highlight-bold {
  color: var(--green);
  font-weight: 800;
}

.hero-subtitle {
  margin-bottom: 40px;
  opacity: 0.95;
  font-size: 18px;
  line-height: 1.8;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.hero-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   事例ロゴカルーセル
======================================== */

.logo-scroll-section {
  padding: 20px 0;
}

.logo-slide {
  display: block;
  width: 160px;
  height: 120px;
  margin: 0 auto;
}

.logo-slide img {
  max-width: 100%;
  height: auto;
}

.myLogoSwiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* ========================================
   セクション共通
======================================== */

.section-title {
  margin-bottom: 20px;
  text-align: center;
  color: #333333;
  font-size: 42px;
  font-weight: 900;
}

.section-subtitle {
  margin-bottom: 60px;
  text-align: center;
  color: var(--medium-gray);
  font-size: 20px;
  font-weight: 500;
}

.section-title-white {
  margin-bottom: 20px;
  text-align: center;
  color: var(--white);
  font-size: 42px;
  font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.16), -2px 2px 10px rgba(0, 0, 0, 0.16), 2px -2px 10px rgba(0, 0, 0, 0.16), -2px -2px 10px rgba(0, 0, 0, 0.16);
}

/* ========================================
   よくある顧客の課題
======================================== */

.challenges-section {
  padding: 100px 0;
  background: var(--light-gray);
  position: relative;
}

.challenges-section::after {
  position: absolute;
  z-index: 1;
  bottom: -48px;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  transform: translateX(-50%);
  border-width: 50px 50px 0 50px;
  border-style: solid;
  border-color: var(--light-gray) transparent transparent transparent;
}

.challenges-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.challenge-card {
  padding: 40px 30px;
  transition: all 0.3s ease;
  border-radius: 20px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.challenge-icon {
  margin: 20px auto;
  max-width: 200px;
  height: auto;
  width: 100%;
}

.challenge-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.challenge-title {
  line-height: 1.4;
  margin-bottom: 20px;
  color: #333333;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  min-height: calc(20px * 2 * 1.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.challenge-list {
  list-style: none;
}

.challenge-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 25px;
  color: #666666;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.challenge-list li::before {
  position: absolute;
  left: 0;
  content: "";
  background: url(./img/check-purple.svg) no-repeat center center / contain;
  width: 20px;
  height: 20px;
}

/* ========================================
   背景セクション
======================================== */

.background-section {
  padding: 100px 0;
  background: white;
}

.background-grid {
  display: grid;
  margin-top: 60px;

  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.background-item {
  padding: 40px;
  transition: all 0.3s ease;
  border-radius: 20px;
  background: var(--light-gray);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.background-icon {
  margin: 20px auto;
  max-width: 280px;
  height: auto;
  width: 100%;
}

.background-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.background-item h3 {
  margin-bottom: 15px;
  color: #333333;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.4;
  min-height: calc(22px * 2 * 1.4);
}

.background-reason {
  padding-left: 0;
}

.background-reason li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  list-style: none;
  color: #333;

  gap: 10px;
  flex-direction: row;
  padding-left: 25px;
  position: relative;
}

.background-reason li::before {
  position: absolute;
  left: 0;
  content: "";
  background: url(./img/check-green.svg) no-repeat center center / contain;
  width: 20px;
  height: 20px;
}

/* ========================================
   Ai CMOとは
======================================== */

.about-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.about-content {
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-catchphrase {
  margin-bottom: 30px;
  color: var(--green);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.5;
}

.about-description {
  padding-left: 0;
}

.about-description li {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  list-style: none;
  color: #333;

  gap: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 20px;
  font-weight: 500;
}

.about-description li::before {
  position: absolute;
  left: 0;
  content: "";
  background: url(./img/check-green.svg) no-repeat center center / contain;
  width: 20px;
  height: 20px;
}

.about-visual {
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

.about-visual img {
  width: 100%;
}

/* ========================================
   ツール特徴/機能について
======================================== */

.features-section {
  padding: 100px 0;
  background: white;
}

.feature-item {
  display: grid;
  align-items: stretch;
  margin-bottom: 80px;
  padding: 60px;
  border-radius: 30px;
  background: var(--light-gray);

  grid-template-columns: 1fr 1fr;
  gap: 60px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-item-reverse {
  grid-template-columns: 1fr 1fr;
}

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

.feature-content {
}

.feature-number {
  display: inline-block;
  display: flex;
  align-items: center;
  height: 90px;
  color: var(--green);
  font-size: 4.2em;
  font-weight: 900;
}

.feature-title {
  margin-bottom: 20px;
  color: #333333;
  font-size: 28px;
  font-weight: 700;
}

.feature-description {
  margin-bottom: 30px;
  color: #666666;
  font-size: 16px;
  line-height: 1.8;
}

.feature-details h4 {
  margin-bottom: 10px;
  color: #333333;
  font-size: 18px;
  font-weight: 700;
}

.feature-details ul {
  list-style: none;
}

.feature-details ul li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
  color: #666666;
}

.feature-details ul li::before {
  position: absolute;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: url(./img/right-arrow.svg) no-repeat center center / contain;
}

.feature-details p {
  color: #666666;
  line-height: 1.8;
}

.feature-visual {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-collage {
  position: relative;
  width: 100%;
  min-height: 340px;
}

.video-wrapper {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-primary {
  aspect-ratio: 9 / 16;
  width: 35%;
  top: -40px;
  left: 0;
  z-index: 2;
}

.video-secondary {
  aspect-ratio: 13 / 9;
  width: 67%;
  z-index: 1;
  left: 33%;
  top: 50%;
}

.video-solo {
  aspect-ratio: 13 / 9;
  width: 100%;
  z-index: 1;
  left: 0%;
  top: 0%;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================================
   プロフェッショナルプラン
======================================== */

.professional-section {
  padding: 100px 0;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, rgb(78, 205, 196, 0.85) 0%, rgb(79, 63, 159, 0.85) 100%), url(./img/professional.webp) no-repeat center center / contain;
}

.professional-subtitle {
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.16), -2px 2px 10px rgba(0, 0, 0, 0.16), 2px -2px 10px rgba(0, 0, 0, 0.16), -2px -2px 10px rgba(0, 0, 0, 0.16);
}

.professional-image {
  width: 500px;
  height: auto;
}

.professional-description {
  max-width: 800px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  font-size: 18px;
  line-height: 1.8;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.16), -2px 2px 10px rgba(0, 0, 0, 0.16), 2px -2px 10px rgba(0, 0, 0, 0.16), -2px -2px 10px rgba(0, 0, 0, 0.16);
}

/* ========================================
   金額
======================================== */

.pricing-section {
  padding: 100px 0;
  background: var(--light-gray);
}

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

.pricing-card {
  position: relative;
  padding: 50px 40px;
  transition: all 0.3s ease;
  border-radius: 20px;
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.pricing-card-featured {
  transform: scale(1.05);
  color: white;
  background: linear-gradient(135deg, #4f3f9f 0%, #4ecdc4 100%);
}

.pricing-card-featured:hover {
  transform: scale(1.08) translateY(-10px);
}

.pricing-badge {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  color: white;
  border-radius: 20px;
  background: var(--purple);
  font-size: 14px;
  font-weight: 700;
}

.pricing-badge-featured {
  background: var(--green);
}

.pricing-title {
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.pricing-card-featured .pricing-title {
  color: white;
}

.pricing-description {
  margin-bottom: 30px;
  color: #666666;
  font-size: 16px;
  line-height: 1.6;
}

.pricing-card-featured .pricing-description {
  color: rgba(255, 255, 255, 0.9);
}

.pricing-price {
  margin-bottom: 30px;
}

.price-amount {
  display: block;
  color: var(--purple);
  font-size: 42px;
  font-weight: 900;
}

.pricing-card-featured .price-amount {
  color: white;
}

.price-note {
  display: block;
  color: #999999;
  font-size: 14px;
}

.pricing-card-featured .price-note {
  color: rgba(255, 255, 255, 0.8);
}

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

.pricing-features li {
  position: relative;
  padding: 12px 0;
  padding-left: 25px;
  color: #666666;
  border-bottom: 1px solid #f5f7fa;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pricing-card-featured .pricing-features li {
  color: white;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-features li::before {
  position: absolute;
  left: 0;
  content: "";
  background: url(./img/check-purple.svg) no-repeat center center / contain;
  width: 20px;
  height: 20px;
}

.pricing-card-featured .pricing-features li::before {
  background: url(./img/check-greenwhite.svg) no-repeat center center / contain;
}

.pricing-link {
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--purple);
  border-bottom: 2px solid var(--purple);
  font-weight: 700;
}

/* ========================================
   弊社実績
======================================== */

.case-studies-section {
  padding: 100px 0;
  background: white;
}

.case-studies-cta {
  margin-top: 60px;
  text-align: center;
}

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

.result-item {
  padding: 30px;
  text-align: center;
  border-radius: 20px;
  background: var(--light-gray);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.problem-icon {
  width: 150px;
  margin-inline: auto;
  height: auto;
}

.result-item h3 {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: bold;
}

.result-item p {
  color: #333;
  font-weight: 500;
  line-height: 1.6;
  margin-top: 15px;
}

/* ========================================
   CTA部分（HubSpotフォーム）
======================================== */

.contact-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.contact-description {
  margin-bottom: 60px;
  text-align: center;
  color: #666666;
  font-size: 18px;
  line-height: 1.8;
}

.contact-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px;
  border-radius: 20px;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ========================================
   フッター
======================================== */

.footer {
  padding: 60px 0 30px;
  color: white;
  background: #2c3e50;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-nav {
  display: flex;

  gap: 30px;
}

.footer-nav a {
  transition: all 0.3s ease;
  text-decoration: none;
  color: white;
}

.footer-nav a:hover {
  color: #4ecdc4;
}

.footer-bottom {
  padding-top: 30px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* ========================================
   レスポンシブ対応
======================================== */

@media (max-width: 1024px) {
  .hero-content {
    gap: 50px;
  }

  .hero-title {
    font-size: 38px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-title-white {
    font-size: 36px;
  }

  .challenges-grid {
    gap: 30px;
  }

  .feature-item,
  .feature-item-reverse {
    padding: 40px;

    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-item-reverse > .feature-visual {
    order: 2;
  }

  .feature-item-reverse > .feature-content {
    order: 1;
  }

  .feature-details p {
    margin-bottom: 30px;
  }

  .feature-details ul li:last-child {
    margin-bottom: 30px;
  }

  .feature-visual {
    max-width: 700px;
    width: 100%;
    margin-inline: auto;
  }

  .video-collage {
    min-height: 500px;
  }

  .video-primary {
    top: 0;
  }

  .video-secondary {
    top: 30%;
  }

  .pricing-grid {
    gap: 30px;
  }

  .pricing-card {
    padding: 40px 30px;
  }

  .price-amount {
    font-size: 38px;
  }

  .results-grid {
    gap: 30px;
  }
}

@media (max-width: 859px) {
  .hero-content {
    gap: 40px;
  }

  .hero-title {
    font-size: 35px;
    line-height: 1.4;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .challenge-card {
    padding: 30px 20px;
  }

  .background-grid {
    gap: 30px;
  }

  .background-item {
    padding: 24px;
  }

  .pricing-card {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .hidden-sp {
    display: none;
  }

  .hidden-pc {
    display: block;
  }

  .header-content {
  }

  .nav {
  }

  .container {
    padding: 0 15px;
  }

  .header-content {
    gap: 15px;
  }

  .logo {
  }

  .header-tel {
    font-size: 20px;
  }

  .nav .cta-button {
    padding: 10px 20px;
    font-size: 12px;
  }

  .hero {
    padding: 90px 0 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-visual {
    justify-content: center;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .section-title-white {
    font-size: 28px;
  }

  .challenges-section {
    padding: 80px 0;
  }

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

  .challenge-list {
    margin-inline: auto;
  }

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

  .background-reason {
    margin-inline: auto;
  }

  .feature-item,
  .feature-item-reverse {
    padding: 24px;
  }

  .feature-number {
    font-size: 3.2em;
  }

  .feature-title {
    font-size: 27px;
  }
  .about-section {
    padding: 80px 0;
  }

  .about-catchphrase {
    font-size: 26px;
  }

  .about-description li {
    text-align: left;
    font-size: 17px;
  }

  .professional-description {
    font-size: 16px;
  }

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

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

  .pricing-features {
    width: fit-content;
    margin-inline: auto;
  }

  .pricing-card-featured {
    transform: scale(1);
  }

  .results-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: center;

    gap: 30px;
  }

  .result-item {
    padding: 30px;
  }

  .footer-content {
    gap: 30px;
  }

  .footer-nav {
    flex-direction: column;
    text-align: center;

    gap: 15px;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .feature-icon-large {
    font-size: 80px;
  }
}

@media (max-width: 560px) {
  .header-tel {
    display: none;
  }

  .logo {
    width: 140px;
    height: 30px;
  }

  .feature-item {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 20px;
  }

  .feature-item.feature-item-reverse {
    grid-template-columns: 1fr;
  }

  .feature-details ul li:last-child {
    margin-bottom: 10px;
  }

  .feature-description {
    margin-bottom: 10px;
  }

  .feature-details p {
    margin-bottom: 10px;
  }

  .video-collage {
    position: relative;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .video-wrapper {
    position: relative;
    width: 90%;
    aspect-ratio: auto;
    box-shadow: none;
  }

  .video-primary {
    width: 80%;
    aspect-ratio: 9 / 16;
    top: auto;
    left: auto;
    z-index: 1;
  }

  .video-secondary {
    width: 100%;
    aspect-ratio: 16 / 9;
    top: auto;
    left: auto;
    z-index: 1;
  }

  .video-solo {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }

  .btn-hero {
    padding: 15px 35px;
    font-size: 16px;
  }

  .phone-link {
    padding: 8px 15px;
    font-size: 14px;
  }

  .feature-title {
    line-height: 1.6;
  }

  .video-primary {
    width: 100%;
  }
}
