/* ==========================================
   リセット & 基本設定
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1f2937;
  background-color: #ffffff;
  overflow-x: hidden;
  line-height: 1.5;
}
/* ========================================
   Background Layer (Fixed Background)
   ======================================== */
.background-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../img/background.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    z-index: -10;
    pointer-events: none;
}
@media (max-width: 767px) {
    .background-layer {
        background-image: url('../img/background_sp.png');

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

button {
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================
   ヘッダー
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 64px;
  background-color: rgba(166, 20, 105, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(138, 18, 86, 0.5);
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo-link {
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}

.header-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

/* デスクトップナビゲーション */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
  margin-right: 32px;
}

.nav-link {
  color: #ffffff;
  font-size: 16px;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover {
  color: #fce7f3;
}

/* デスクトップCTA */
.desktop-cta {
  display: none;
  align-items: center;
  gap: 16px;
}

.btn-contact-header,
.btn-download-header {
  padding: 8px 24px;
  border-radius: 9999px;
  font-weight: 300;
  font-size: 16px;
  transition: all 0.3s;
}

.btn-contact-header {
  background-color: #ffffff;
  color: #A61469;
  border: 2px solid #ffffff;
}

.btn-contact-header:hover {
  background-color: #fdf2f8;
  transform: scale(1.05);
}

.btn-contact-header:active {
  transform: scale(0.95);
}

.btn-download-header {
  background-color: #12767F;
  color: #ffffff;
  border: 2px solid #12767F;
}

.btn-download-header:hover {
  background-color: #0F5A61;
  transform: scale(1.05);
}

.btn-download-header:active {
  transform: scale(0.95);
}

/* ハンバーガーメニュー */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s;
}

.hamburger:hover .hamburger-line {
  background-color: #fce7f3;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #A61469;
  border-top: 1px solid #8A1256;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  max-width: 1152px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  color: #ffffff;
  font-size: 16px;
  padding: 8px 0;
  text-align: left;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-nav-link:hover {
  color: #fce7f3;
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid #8A1256;
}

.btn-contact-mobile,
.btn-download-mobile {
  padding: 12px 24px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  transition: all 0.3s;
}

.btn-contact-mobile {
  background-color: #ffffff;
  color: #A61469;
  border: 2px solid #ffffff;
}

.btn-contact-mobile:hover {
  background-color: #fdf2f8;
  transform: scale(1.05);
}

.btn-contact-mobile:active {
  transform: scale(0.95);
}

.btn-download-mobile {
  background-color: #12767F;
  color: #ffffff;
  border: 2px solid #12767F;
}

.btn-download-mobile:hover {
  background-color: #0F5A61;
  transform: scale(1.05);
}

.btn-download-mobile:active {
  transform: scale(0.95);
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero-section {
  position: relative;
  height: 642px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-image: url('../img/fv-background-image.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 767px) {
    .hero-section {
        background-image: url('../img/fv-background-image_sp.png');
    }
}
.hero-container {
  height: 642px;
  display: flex;
  align-items: center;
  padding: 64px 32px;
  position: relative;
  z-index: 10;
  padding-top: 144px;
}

.hero-grid {
  max-width: 1152px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-text {
  text-align: center;
  margin-bottom: 32px;
}

.hero-subtitle {
  margin-bottom: 8px;
}

.hero-subtitle p {
  font-size: 18px;
  color: #4b5563;
  margin-bottom: 8px;
}

.hero-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #1f2937;
  line-height: 1.4;
}

.hero-title-desktop {
  display: none;
}

.hero-title-mobile {
  display: inline;
}

.xology-font {
  font-family: 'Jost', sans-serif;
}

.hero-description {
  font-size: 14px;
  margin-bottom: 32px;
  color: #374151;
  line-height: 1.6;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.hero-image-mobile {
  display: block;
  padding: 0 32px;
  margin: 0 16px;
}

.hero-image-mobile img {
  width: 100%;
  height: auto;
  max-width: 384px;
  margin: 0 auto;
}

.hero-image-desktop {
  display: none;
}

.hero-cta {
  width: 100%;
}

.hero-cta-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  max-width: 280px;
  margin: 0 auto;
}

.hero-cta-desktop {
  display: none;
}

.btn-contact-hero-mobile,
.btn-download-hero-mobile {
  width: 100%;
  border-radius: 9999px;
  font-weight: 300;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-contact-hero-mobile {
  height: 48px;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.68px;
  background-color: #A61469;
  color: #ffffff;
}

.btn-contact-hero-mobile:hover {
  background-color: #8A1256;
  transform: scale(1.05);
}

.btn-contact-hero-mobile:active {
  transform: scale(0.95);
}

.btn-download-hero-mobile {
  height: 46px;
  font-size: 15px;
  line-height: 22px;
  letter-spacing: 0.5px;
  background-color: #12767F;
  color: #ffffff;
  border: 2px solid #12767F;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-download-hero-mobile:hover {
  background-color: #0F5A61;
  transform: scale(1.05);
}

.btn-download-hero-mobile:active {
  transform: scale(0.95);
}

.btn-contact-hero-desktop,
.btn-download-hero-desktop {
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
}

/* ==========================================
   セクション共通スタイル
   ========================================== */
.section-container {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2937;
}

.title-decoration {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 32px;
}

.decoration-svg {
  width: 100%;
  max-width: 470px;
  height: 12px;
  overflow: visible;
}

.section-description {
  font-size: 16px;
  margin-bottom: 48px;
  color: #4b5563;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-align:center;
}

/* ==========================================
   お悩みセクション
   ========================================== */
.problems-section {
  padding: 64px 24px;
}

.problems-image-wrapper {
  max-width: 1152px;
  margin: 0 auto;
}

.problems-image-mobile {
  display: block;
  width: 100%;
  height: auto;
}

.problems-image-desktop {
  display: none;
}

/* ==========================================
   解決策セクション
   ========================================== */
.solution-section {
  padding: 64px 24px;
}

.solution-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: #374151;
  max-width: 1280px;
  margin: 0 auto;
  text-align:center;
}

.solution-text {
  font-size: 24px;
  line-height: 1.6;
}

.solution-text-desktop {
  display: none;
}

.solution-text-mobile {
  display: block;
}

/* ==========================================
   特長セクション
   ========================================== */
.features-section {
  padding: 64px 24px;
}

.features-desktop {
  display: none;
}

.features-mobile {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-item-mobile {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-content-mobile {
  display: flex;
  flex-direction: column;
}

.feature-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.feature-number {
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  background-color: #A61469;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 16px;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: #1f2937;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #4b5563;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
}

.bullet {
  color: #12767F;
  margin-right: 8px;
  flex-shrink: 0;
}

.feature-image-mobile {
  width: 100%;
}

.feature-image-mobile img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.feature-image-mobile .adjustment{
  box-shadow:none;
}
/* ==========================================
   導入効果セクション
   ========================================== */
.effects-section {
  padding: 64px 24px;
}

.effects-image-wrapper {
  max-width: 1152px;
  margin: 0 auto;
}

.effects-image-desktop {
  display: none;
}

.effects-image-mobile {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================
   最終CTAセクション
   ========================================== */
.final-cta-section {
  padding: 96px 32px;
  background-color: #A61469;
  color: #ffffff;
  text-align: center;
}

.final-cta-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 32px;
}

.final-cta-title-mobile {
  display: inline;
}

.final-cta-title-desktop {
  display: none;
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

.btn-contact-final,
.btn-download-final {
  width: 100%;
  max-width: 320px;
  min-width: 280px;
  height: 56px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.5px;
  font-family: 'Noto Sans JP', sans-serif;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.btn-contact-final {
  background-color: #ffffff;
  color: #A61469;
}

.btn-contact-final:hover {
  background-color: #f3f4f6;
  transform: scale(1.05);
}

.btn-contact-final:active {
  transform: scale(0.95);
}

.btn-download-final {
  background-color: #12767F;
  color: #ffffff;
}

.btn-download-final:hover {
  background-color: #0F5A61;
  transform: scale(1.05);
}

.btn-download-final:active {
  transform: scale(0.95);
}

/* ==========================================
   フッタースペーサー
   ========================================== */
.footer-spacer {
  padding: 32px 0;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
  background-color: #A61469;
  padding: 24px 16px;
}

.footer-container {
  width: 100%;
}

.footer-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-desktop {
  display: none;
}

.footer-logo-mobile {
  display: flex;
  align-items: center;
}

.footer-logo-mobile img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.footer-links-mobile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}

.footer-links-mobile a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links-mobile a:hover {
  color: #fce7f3;
}

.footer-trademark-mobile {
  font-size: 10px;
  color: #ffffff;
  text-align: center;
}

.footer-copyright-mobile {
  font-size: 10px;
  color: #ffffff;
}

.footer-iso-mobile {
  display: flex;
  align-items: center;
}

.footer-iso-mobile img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

/* ==========================================
   レスポンシブ: タブレット以上（768px以上）
   ========================================== */
@media (min-width: 768px) {
  .problems-image-mobile {
    display: none;
  }

  .problems-image-desktop {
    display: block;
  }

  .footer-mobile {
    display: none;
  }

  .footer-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 8px;
  }

  .footer-logo-desktop {
    flex-shrink: 0;
  }

  .footer-logo-desktop img {
    height: 28px;
    width: auto;
    object-fit: contain;
  }

  .footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
    justify-content: center;
    overflow: hidden;
    padding-right: 200px;
  }

  .footer-links-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .footer-links-desktop a {
    color: #ffffff;
    font-size: 10px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
  }

  .footer-links-desktop a:hover {
    color: #fce7f3;
  }

  .footer-divider {
    color: #ffffff;
    font-size: 10px;
  }

  .footer-copyright-desktop {
    font-size: 9px;
    color: #ffffff;
    white-space: nowrap;
    margin-left: 8px;
  }

  .footer-trademark-desktop {
    font-size: 9px;
    color: #ffffff;
    text-align: center;
  }

  .footer-iso-desktop {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
  }

  .footer-iso-desktop img {
    height: 64px;
    width: auto;
    object-fit: contain;
  }
}

/* ==========================================
   レスポンシブ: デスクトップ（1024px以上）
   ========================================== */
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .desktop-cta {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .hero-section {
    height: 642px;
  }

  .hero-container {
    height: 642px;
    padding-top: 144px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 64px;
    align-items: center;
  }

  .hero-text {
    grid-column: span 4;
    text-align: left;
    margin-bottom: 0;
  }

  .hero-subtitle p {
    font-size: 20px;
  }

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

  .hero-title-desktop {
    display: inline;
  }

  .hero-title-mobile {
    display: none;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 48px;
  }

  .hero-image-wrapper {
    grid-column: span 3;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    order: 0;
  }

  .hero-image-mobile {
    display: none;
  }

  .hero-image-desktop {
    display: block;
    position: relative;
    transform: scale(1.5);
    transform-origin: center right;
  }





  .hero-image-desktop img {
    width: 100%;
    height: auto;
    max-height: 800px;
    margin-left: 50px;
  }

  .hero-cta {
    grid-column: span 4;
    order: 0;
  }

  .hero-cta-mobile {
    display: none;
  }

  .hero-cta-desktop {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .btn-contact-hero-desktop {
    width: 190px;
    height: 65px;
    font-size: 21.71px;
    line-height: 32.57px;
    letter-spacing: 0.68px;
    background-color: #A61469;
    color: #ffffff;
  }

  .btn-contact-hero-desktop:hover {
    background-color: #8A1256;
    transform: scale(1.05);
  }

  .btn-contact-hero-desktop:active {
    transform: scale(0.95);
  }

  .btn-download-hero-desktop {
    width: 260px;
    height: 65px;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: 0.5px;
    background-color: #12767F;
    color: #ffffff;
    border: 2px solid #12767F;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  }

  .btn-download-hero-desktop:hover {
    background-color: #0F5A61;
    transform: scale(1.05);
  }

  .btn-download-hero-desktop:active {
    transform: scale(0.95);
  }

  .section-description {
    font-size: 18px;
  }

  .solution-text-desktop {
    display: block;
  }

  .solution-text-mobile {
    display: none;
  }

  .features-desktop {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .features-mobile {
    display: none;
  }

  .feature-item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 64px;
    align-items: center;
  }

  .feature-content {
    display: flex;
    flex-direction: column;
  }

  .feature-image {
    width: 100%;
  }

  .feature-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .feature-image .adjustment{
    box-shadow:none;
    width:86%;
    margin:0 auto;
  }

  .effects-image-desktop {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .effects-image-mobile {
    display: none;
  }

  .final-cta-title-mobile {
    display: none;
  }

  .final-cta-title-desktop {
    display: inline;
  }

  .final-cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .footer-logo-desktop img {
    height: 28px;
  }

  .footer-links-desktop a {
    font-size: 12px;
  }

  .footer-divider {
    font-size: 12px;
  }

  .footer-copyright-desktop {
    font-size: 11px;
  }

  .footer-trademark-desktop {
    font-size: 12px;
  }

  .footer-iso-desktop img {
    height: 64px;
  }
}

/* ==========================================
   レスポンシブ: 大画面デスクトップ（1280px以上）
   ========================================== */
@media (min-width: 1280px) {
  .footer-logo-desktop img {
    height: 32px;
  }

  .footer-iso-desktop img {
    height: 80px;
  }
}

/* ==========================================
   小画面対応（iPhone SE等：320px-375px）
   ========================================== */
@media (max-width: 375px) {
  .header-container {
    padding: 0 16px;
  }

  .hero-container {
    padding: 64px 16px;
    padding-top: 120px;
  }

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

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

  .hero-description {
    font-size: 13px;
  }

  .section-container {
    padding: 0 16px;
  }

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

  .section-description {
    font-size: 14px;
  }

  .solution-text {
    font-size: 20px;
  }

  .feature-number {
    min-width: 40px;
    min-height: 40px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .feature-title {
    font-size: 20px;
  }

  .final-cta-title {
    font-size: 24px;
  }

  .btn-contact-final,
  .btn-download-final {
    font-size: 16px;
    min-width: 240px;
  }
}
