@charset "UTF-8";
/* ========================================================================
   StickyNotes (Snotes) 
   ======================================================================== */

/* ------------------------------------------------------------------------
   1. 基本設定 & 変数
   ------------------------------------------------------------------------ */
:root {
  --font-primary: 'Inter', 'Noto Sans JP', 'Meiryo UI', sans-serif;
  
  --color-navy-dark: #0F172A;
  --color-navy: #1E293B;
  --color-navy-light: #334155;
  
  --color-blue: #2563EB;
  --color-blue-hover: #1D4ED8;
  --color-blue-light: #3B82F6;
  --color-cyan: #38BDF8;
  
  --color-bg: #F8FAFC;
  --color-bg-alt: #F1F5F9;
  --color-card: #FFFFFF;
  --color-border: #E2E8F0;
  
  --color-text: #1E293B;
  --color-text-muted: #64748B;
  --color-text-light: #94A3B8;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 30px -10px rgba(15, 23, 42, 0.2);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--color-blue-hover);
}

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

/* ------------------------------------------------------------------------
   2. ヘッダー & ナビゲーション
   ------------------------------------------------------------------------ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.app-icon-badge {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.site-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.site-title a {
  color: #FFFFFF;
}

.site-title a:hover {
  color: var(--color-cyan);
}

.site-tagline {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: -2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: #CBD5E1;
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.nav-link.highlight {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-hover));
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.nav-link.highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* ------------------------------------------------------------------------
   3. ヒーローセクション
   ------------------------------------------------------------------------ */
#hero {
  background: linear-gradient(135deg, var(--color-navy-dark) 0%, var(--color-navy) 60%, #0F172A 100%);
  color: #FFFFFF;
  padding: 4.5rem 1.5rem 5.5rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-version-tag {
  display: inline-block;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: var(--color-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 1.2rem;
}

.gradient-text {
  background: linear-gradient(90deg, #60A5FA, var(--color-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: #94A3B8;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary-hero {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-hover));
  color: #FFFFFF;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  transition: all 0.25s ease;
}

.btn-primary-hero:hover {
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.5);
}

.btn-primary-hero .btn-icon {
  font-size: 1.6rem;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
}

.btn-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.btn-sub {
  font-size: 0.72rem;
  opacity: 0.85;
}

.btn-secondary-hero {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.btn-secondary-hero:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

.btn-secondary-hero .btn-icon {
  font-size: 1.3rem;
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.88rem;
  color: #CBD5E1;
}

/* 付箋紙プレビューモックアップ (CSS描画) */
.hero-preview {
  position: relative;
}

.sticky-card-stack {
  position: relative;
  height: 380px;
}

.sticky-card {
  position: absolute;
  width: 240px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  color: #1E293B;
  transition: transform 0.3s ease;
}

.sticky-card:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10 !important;
}

.yellow-card {
  background-color: #FFF8DC;
  border: 1px solid #FFE699;
  top: 20px;
  left: 20px;
  transform: rotate(-4deg);
  z-index: 1;
}

.pink-card {
  background-color: #FFE6EB;
  border: 1px solid #FFB8C6;
  top: 80px;
  left: 140px;
  transform: rotate(3deg);
  z-index: 2;
}

.blue-card {
  background-color: #DDF2FF;
  border: 1px solid #A3DAFF;
  top: 180px;
  left: 40px;
  transform: rotate(-2deg);
  z-index: 3;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.status-inprogress {
  background-color: #FEF3C7;
  color: #92400E;
}

.status-completed {
  background-color: #D1FAE5;
  color: #065F46;
}

.pin-icon {
  font-size: 1rem;
}

.card-body {
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.card-body ul {
  list-style: none;
  margin-top: 0.3rem;
  padding-left: 0.2rem;
}

.card-footer {
  font-size: 0.7rem;
  color: #64748B;
  text-align: right;
  border-top: 1px dashed rgba(0,0,0,0.1);
  padding-top: 0.4rem;
}

/* ------------------------------------------------------------------------
   4. セクション共通 & 特徴カード
   ------------------------------------------------------------------------ */
.section-block {
  padding: 5rem 1.5rem;
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-card);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
}

.icon-navy   { background: #EFF6FF; color: var(--color-blue); }
.icon-blue   { background: #F0F9FF; color: var(--color-cyan); }
.icon-indigo { background: #EEF2FF; color: #6366F1; }
.icon-purple { background: #F5F3FF; color: #8B5CF6; }
.icon-teal   { background: #F0FDFA; color: #14B8A6; }
.icon-orange { background: #FFF7ED; color: #F97316; }

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  margin-bottom: 0.8rem;
}

.feature-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ------------------------------------------------------------------------
   5. 動作環境 & 仕様テーブル
   ------------------------------------------------------------------------ */
.spec-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table th {
  width: 25%;
  background-color: #F8FAFC;
  color: var(--color-navy-dark);
  font-weight: 700;
  text-align: left;
}

.spec-table td {
  color: var(--color-text);
}

/* ------------------------------------------------------------------------
   6. ブログコンテンツ & 記事一覧 (Ninja Blog互換)
   ------------------------------------------------------------------------ */
#main-content {
  padding: 4rem 1.5rem;
  background-color: var(--color-bg);
}

.main-container {
  max-width: 900px;
  margin: 0 auto;
}

.entry-single-block,
.static-page-block {
  background: var(--color-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.page-title,
.entry-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-navy-dark);
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 1.2rem;
}

.entry-content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--color-text);
}

.entry-content h2 {
  font-size: 1.4rem;
  border-left: 4px solid var(--color-blue);
  padding-left: 0.8rem;
  margin: 2rem 0 1rem;
  color: var(--color-navy-dark);
}

/* コメントセクション */
#comments-section {
  margin-top: 3rem;
  background: var(--color-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.comments-title {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.comment-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.comment-author {
  font-weight: 700;
  color: var(--color-navy-dark);
}

.comment-form {
  margin-top: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-submit {
  background: var(--color-blue);
  color: #FFFFFF;
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--color-blue-hover);
}

/* ------------------------------------------------------------------------
   7. フッター
   ------------------------------------------------------------------------ */
#site-footer {
  background-color: var(--color-navy-dark);
  color: var(--color-text-light);
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.82rem;
  color: #64748B;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
}

/* ------------------------------------------------------------------------
   8. レスポンシブ (スマホ・タブレット最適化)
   ------------------------------------------------------------------------ */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1001;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  #site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out, padding 0.35s ease;
    padding: 0 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  }

  #site-nav.nav-open {
    max-height: 360px;
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .nav-link {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
  }

  .nav-link.highlight {
    text-align: center;
    margin-top: 0.4rem;
  }

  #hero {
    padding: 3rem 1.2rem 3.5rem;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.9rem;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.2rem;
  }

  .hero-badges {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* スマホ画面での付箋紙カードの縦積み表示 */
  .sticky-card-stack {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin: 0 auto;
  }

  .sticky-card {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: var(--shadow-md);
  }

  .section-block {
    padding: 3rem 1.2rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .feature-card {
    padding: 1.6rem;
  }

  .spec-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
  }

  .spec-table th,
  .spec-table td {
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .main-container,
  .entry-single-block,
  .static-page-block {
    padding: 1.5rem 1.2rem;
  }
}

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

  .site-title {
    font-size: 1.15rem;
  }

  .site-tagline {
    font-size: 0.7rem;
  }
}

/* ------------------------------------------------------------------------
   9. 忍者ブログ 広告表示エリア (CM1, CM2)
   ------------------------------------------------------------------------ */
.ninja-ad-container {
  text-align: center;
  margin: 1.5rem auto;
  padding: 0.5rem 0;
  max-width: 1200px;
  overflow: hidden;
}

