.identity-app-root {
  max-width: 100% !important;
  width: 90% !important;
  margin: 0 auto !important;
  font-family: 'Segoe UI', 'Hiragino Sans', 'Meiryo', sans-serif !important;
  background: #fffbe8 !important;
  padding: 28px 20px !important;
  border-radius: 16px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
@media (max-width: 700px) {
  .identity-app-root {
    width: 95% !important;
    padding: 18px 15px !important;
  }
}
.identity-app-root .question-box {
  background: #fffbe8 !important;
  border: 2px solid #b7e0ff !important;
  border-radius: 12px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  margin: 0 auto 24px auto !important;
  padding: 18px 16px 14px 16px !important;
  box-shadow: none !important;
  outline: none !important;
  display: block !important;
}
.identity-app-root .question-box::before,
.identity-app-root .question-box::after,
.identity-app-root .question::before,
.identity-app-root .question::after,
.identity-app-root .question-icon {
  display: none !important;
  content: none !important;
}
.identity-app-root .question {
  font-weight: bold !important;
  margin-bottom: 10px !important;
  color: #2b6cb0 !important;
  font-size: 1.08em !important;
  letter-spacing: 0.01em !important;
  padding: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
}
.identity-app-root textarea, .identity-app-root select, .identity-app-root input[type="text"] {
  width: 100%;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  font-size: 1em;
  box-sizing: border-box;
}
.identity-app-root .buttons {
  text-align: right;
}
.identity-app-root button {
  margin-left: 8px;
  padding: 7px 22px;
  border: none;
  background: linear-gradient(90deg, #72e2b0 0%, #4e8cff 100%);
  color: #fff;
  border-radius: 24px;
  cursor: pointer;
  font-size: 1.05em;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(76, 175, 80, 0.10);
  transition: background 0.2s, box-shadow 0.2s;
}
.identity-app-root button:hover:not(:disabled) {
  background: linear-gradient(90deg, #4e8cff 0%, #72e2b0 100%);
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.18);
}
.identity-app-root button:active {
  opacity: 0.95;
}
.identity-app-root button:disabled {
  background: #ccc;
}

/* --- まとめエリア --- */
.identity-app-root .summary-area {
  background: #fff !important;
  width: 90% !important;
  max-width: 90vw !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding: 18px !important;
  border-radius: 10px !important;
  margin: 0 auto 12px auto !important;
  display: flex !important;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  box-sizing: border-box !important;
}

/* --- ナビゲーションボタン（PC・スマホ共通） --- */
.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}
.nav-btn {
  background: #fff;
  border: 2px solid #bde2ff;
  color: #2b6cb0;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: 0 4px 6px rgba(43,108,176,0.1);
  font-size: 1em;
}
.nav-btn:hover {
  background: #e6f2ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(43,108,176,0.15);
}
.nav-btn.active {
  background: #2b6cb0;
  color: #fff;
  border-color: #2b6cb0;
  box-shadow: 0 2px 4px rgba(43,108,176,0.3) inset;
  transform: translateY(0);
}

/* --- グリッドレイアウト（PC用） --- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

/* スマホ用（1列）の調整 */
@media (max-width: 700px) {
  .apps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.app-wrapper {
  background: #fdfdfd;
  border-radius: 16px;
  padding-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-section-title {
  text-align: center;
  font-size: 1.3em;
  color: #333;
  margin: 20px 0 5px 0;
}
.app-section-keywords {
  text-align: center;
  font-size: 0.85em;
  color: #666;
  margin: 0 0 20px 0;
  padding: 0 10px;
}

/* ==========================================================================
   新設：ヒーローセクション（ファーストビュー）
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #e6f2ff 0%, #fdfdfd 100%);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #d0e8ff;
  margin-bottom: 40px;
}
.hero-title {
  color: #2b6cb0;
  font-size: 2.2em;
  margin-top: 0;
  margin-bottom: 10px;
  letter-spacing: 2px;
}
.hero-catchphrase {
  font-size: 1.2em;
  font-weight: bold;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}
.target-audience-box {
  background: rgba(255, 255, 255, 0.8);
  border: 2px dashed #bde2ff;
  border-radius: 12px;
  padding: 20px;
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
  box-shadow: 0 4px 10px rgba(43,108,176,0.05);
}
.target-title {
  font-weight: bold;
  color: #2b6cb0;
  text-align: center;
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.1em;
}
.target-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.target-list li {
  margin-bottom: 10px;
  color: #555;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   新設：得られる結果セクション
   ========================================================================== */
.expected-result-section {
  text-align: center;
  margin-bottom: 50px;
}
.section-title {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 20px;
}
.section-title-highlight {
  position: relative;
  display: inline-block;
}
.section-title-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #f7a800;
  border-radius: 2px;
}
.result-placeholder {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  max-width: 800px;
  margin: 0 auto;
}
.result-sample-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #eee;
  margin-bottom: 15px;
}
.result-note {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   ステップ図解（利用方法）
   ========================================================================== */
.step-diagram {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  background: #fdfaf0;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #fce29f;
}
.step-item {
  text-align: center;
  flex: 1;
}
.step-number {
  font-size: 0.8em;
  font-weight: bold;
  color: #d97706;
  margin-bottom: 5px;
}
.step-icon {
  font-size: 2em;
  margin-bottom: 5px;
}
.step-text {
  font-size: 0.85em;
  font-weight: bold;
  color: #444;
  line-height: 1.4;
}
.step-arrow {
  color: #ccc;
  font-size: 1.2em;
}

@media (max-width: 600px) {
  .step-diagram {
    flex-direction: column;
    gap: 10px;
  }
  .step-arrow {
    transform: rotate(90deg);
  }
}

/* ==========================================================================
   アニメーション用クラス
   ========================================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* --- 利用方法・活用方法セクション --- */
.usage-guide-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 15px auto 30px auto;
  justify-content: center;
  max-width: 900px; /* 全体幅を制限して小さく見せる */
}
.usage-box {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1 1 45%;
  min-width: 280px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-top: 3px solid #f7a800;
  font-size: 0.9em; /* 文字サイズを少し小さく */
}
.usage-box h3 {
  margin-top: 0;
  color: #333;
  display: flex;
  align-items: center;
  font-size: 1.1em;
  border-bottom: 1px dashed #eee;
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.usage-box p, .usage-box li {
  color: #555;
  line-height: 1.5;
  margin-bottom: 8px;
}
.usage-list-title {
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 4px;
}
.usage-list, .application-list {
  margin-top: 0;
  padding-left: 20px;
  margin-bottom: 10px;
}
.usage-list li, .application-list li {
  margin-bottom: 6px;
}
.usage-note {
  font-size: 0.85em;
  color: #777 !important;
  background: #fdfdfd;
  padding: 10px;
  border-radius: 6px;
  margin-top: 10px;
  border: 1px solid #f4f4f4;
}

.scroll-hint-text {
  text-align: center;
  font-weight: bold;
  color: #2b6cb0;
  margin: 20px auto 40px auto;
  background: #e6f2ff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 0.9em;
  max-width: 700px; /* 幅を制限 */
}

/* --- ヘッダー --- */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.site-name {
  font-weight: bold;
  font-size: 1.2em;
  color: #333;
}
.header-center {
  display: flex;
  gap: 24px;
}
.header-link {
  text-decoration: none;
  color: #555;
  font-weight: bold;
  transition: color 0.2s;
}
.header-link:hover {
  color: #2b6cb0;
}
.header-right {
  display: flex;
}
.header-contact-btn {
  background-color: #f7a800;
  color: #fff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 24px;
  font-weight: bold;
  transition: background 0.2s;
}
.header-contact-btn:hover {
  background-color: #e69a00;
}
.mobile-menu-btn {
  display: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .header-center, .header-right {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
}

/* --- 手書き用フォーマットセクション --- */
.handwritten-format-section {
  background-color: #fff;
  border-radius: 16px;
  padding: 50px 5%;
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.format-content {
  width: 100%;
  max-width: 900px;
}
.format-content h2 {
  color: #2b6cb0;
  margin-top: 0;
  font-size: 1.6em;
}
.format-desc {
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 画像コンテナ */
.format-images-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
}
.format-image-box {
  flex: 1 1 300px;
  max-width: 400px;
}
.format-image-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 1px solid #eee;
}

.download-btn {
  display: inline-block;
  background-color: #2b6cb0;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 4px 10px rgba(43,108,176,0.3);
  transition: all 0.2s;
  margin-bottom: 30px;
}
.download-btn:hover {
  background-color: #205082;
  box-shadow: 0 6px 14px rgba(43,108,176,0.4);
  transform: translateY(-2px);
}
.newsletter-box {
  background-color: #fdfaf0;
  border: 1px solid #fce29f;
  padding: 24px;
  border-radius: 12px;
}
.newsletter-box h3 {
  color: #d97706;
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.2em;
}
.newsletter-box p {
  color: #555;
  font-size: 0.95em;
  margin-bottom: 20px;
  line-height: 1.6;
}
.newsletter-btn {
  display: inline-block;
  background-color: #f7a800;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: bold;
  transition: background 0.2s;
}
.newsletter-btn:hover {
  background-color: #e69a00;
}

/* --- フッター --- */
.site-footer {
  background-color: #333;
  color: #ccc;
  text-align: center;
  padding: 24px 10px;
  margin-top: 60px;
}
.site-footer p {
  margin: 0;
  font-size: 0.9em;
}

/* --- トップへ戻るボタン --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #f7a800;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background-color: #e69a00;
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
}

