@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Noto+Sans+JP:wght@300;400;700&display=swap');

/* --- Design Variables --- */
:root {
  --primary: #DDB8B8;
  --primary-light: #F4E3E3;
  --secondary: #E5D9D1;
  --accent: #C2D5C6;
  --bg: #FAF7F5;
  --surface: #FFFFFF;
  --text-dark: #4A4A4A;
  --text-light: #7D7D7D;
  --warning: #E0B2B2;
  --info: #B4C8D8;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(74, 74, 74, 0.04);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* --- Layout Containers --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

/* --- Navigation Header --- */
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(250, 247, 245, 0.85);
  backdrop-filter: blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(229, 217, 209, 0.3);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 400;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  writing-mode: horizontal-tb !important;
}

.nav-list li {
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  flex-shrink: 0;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap !important;
  word-break: keep-all !important;
  writing-mode: horizontal-tb !important;
  display: inline-block;
}

.nav-link:hover {
  color: var(--primary);
}

/* --- Menu Toggle (Hamburger Button) --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-dark);
  border-radius: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 15px;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 10px 20px rgba(221, 184, 184, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(221, 184, 184, 0.4);
}

.btn-outlined {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--primary);
}

.btn-outlined:hover {
  background-color: var(--primary-light);
}

/* --- Hero Section --- */
.hero {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.badge {
  background-color: var(--primary-light);
  color: #c98585;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 540px;
}

.download-badges {
  display: flex;
  gap: 16px;
}

.badge-store {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--text-dark);
  color: white;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.badge-store:hover {
  transform: translateY(-2px);
  background-color: #333333;
}

.badge-store-text {
  text-align: left;
}

.badge-store-text span {
  display: block;
  font-size: 9px;
  color: #cccccc;
}

.badge-store-text strong {
  font-size: 14px;
}

/* --- Mockup Phone --- */
.hero-mockup {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 570px;
  background-color: #fafafa;
  border-radius: 40px;
  border: 12px solid var(--text-dark);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  overflow: hidden;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  padding: 16px;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
}

/* ダミーアプリUI */
.phone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.phone-title {
  font-size: 14px;
  font-weight: 700;
}

.phone-card {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(229, 217, 209, 0.4);
}

/* --- Target (Why) Section --- */
.target-section {
  background-color: var(--surface);
  text-align: center;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 15px;
}

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

.target-card {
  background-color: var(--bg);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(229, 217, 209, 0.4);
  text-align: left;
  transition: var(--transition);
}

.target-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.target-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 22px;
}

.target-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.target-text {
  font-size: 14px;
  color: var(--text-light);
}

/* --- Features Section --- */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

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

.feature-item.reverse {
  direction: rtl;
}

.feature-item.reverse .feature-content {
  direction: ltr;
}

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

.feature-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
}

.feature-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.feature-text {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.feature-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.feature-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.feature-bullet-icon {
  color: var(--accent);
  font-size: 18px;
}

.feature-image {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 217, 209, 0.4);
}

/* --- Privacy Section --- */
.privacy-cta {
  background: linear-gradient(135deg, #F4E3E3 0%, #E5D9D1 100%);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  margin-bottom: 60px;
  border: 1px solid rgba(255,255,255,0.4);
}

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

.privacy-cta-text {
  font-size: 16px;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto 40px;
}

.privacy-cta-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.privacy-cta-feat {
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Footer --- */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-logo {
  color: white;
}

.footer-logo .logo-sub {
  color: #cccccc;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  color: #cccccc;
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13px;
  color: #999999;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555555;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 12px;
  color: #999999;
}

/* --- Scroll Animation Classes --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Policy Page Custom Layout --- */
.policy-page {
  padding: 80px 0;
}

.policy-content {
  background-color: var(--surface);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(229, 217, 209, 0.4);
}

.policy-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(229, 217, 209, 0.4);
  padding-bottom: 24px;
}

.policy-date {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 8px;
}

.policy-body h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 16px;
  color: var(--text-dark);
}

.policy-body p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.policy-body ul {
  margin-left: 20px;
  list-style: disc;
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 15px;
}

.policy-body li {
  margin-bottom: 8px;
}

.policy-disclaimer {
  background-color: var(--primary-light);
  padding: 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid var(--primary);
  font-weight: 600;
  color: var(--text-dark);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Responsive Adjustments --- */
@media screen and (max-width: 992px) {
  .menu-toggle {
    display: flex !important;
  }

  .nav {
    display: none !important;
    position: fixed !important;
    top: 72px !important;
    left: 0 !important;
    width: 100vw !important;
    height: auto !important;
    max-height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    background-color: #FAF7F5 !important;
    box-shadow: 0 12px 30px rgba(74, 74, 74, 0.15) !important;
    padding: 32px 24px 40px !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
    border-bottom: 1px solid rgba(229, 217, 209, 0.6) !important;
    z-index: 9999 !important;
  }

  .nav.active {
    display: flex !important;
    animation: fadeInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
  }

  .nav-list li {
    width: 100% !important;
    text-align: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
  }

  .nav-link {
    font-size: 16px !important;
    padding: 8px 16px !important;
    display: inline-block !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    writing-mode: horizontal-tb !important;
  }

  .download-btn {
    display: flex !important;
    width: 100% !important;
    max-width: 260px !important;
    text-align: center !important;
    margin: 8px auto 0 !important;
    font-size: 14px !important;
    justify-content: center !important;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    align-items: center;
  }
  .target-grid {
    grid-template-columns: 1fr;
  }
  .feature-item {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-item.reverse {
    direction: ltr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 32px;
  }
  .download-badges {
    flex-direction: column;
    width: 100%;
  }
  .badge-store {
    justify-content: center;
  }
  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
  .policy-content {
    padding: 24px;
  }
}
