
/* ===================================
  基本設定とリセット
  =================================== */
* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

:root {
   /* カラーパレット */
   --primary-color: #FF8C42;
   --secondary-color: #4CAF50;
   --accent-color: #2196F3;
   --text-dark: #333333;
   --text-light: #666666;
   --text-gray: #999999;
   --bg-light: #FFF9F5;
   --bg-white: #FFFFFF;
   --bg-cream: #FFF5E6;
   --bg-green-light: #E8F5E9;
   --bg-blue-light: #E3F2FD;
   --border-color: #E0E0E0;
   --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
   --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
   --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.15);
  
   /* フォント */
   --font-main: 'Noto Sans JP', sans-serif;
   --font-rounded: 'M PLUS Rounded 1c', sans-serif;
}

body {
   font-family: var(--font-main);
   color: var(--text-dark);
   line-height: 1.8;
   background-color: var(--bg-white);
   overflow-x: hidden;
}

.container {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 20px;
}

.pc-only {
   display: inline;
}

/* ===================================
  ヘッダー
  =================================== */
.header {
   background-color: var(--bg-white);
   box-shadow: var(--shadow-light);
   position: sticky;
   top: 0;
   z-index: 1000;
   padding: 20px 0;
}

.header-content {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.logo h1 {
   font-family: var(--font-rounded);
   font-size: 24px;
   font-weight: 800;
   color: var(--primary-color);
}

.logo .provisional {
   font-size: 14px;
   font-weight: 400;
   color: var(--text-gray);
}

.nav {
   display: flex;
   gap: 30px;
   align-items: center;
}

.nav-link {
   text-decoration: none;
   color: var(--text-dark);
   font-weight: 500;
   transition: color 0.3s;
}

.nav-link:hover {
   color: var(--primary-color);
}

.nav-link.cta-button {
   background-color: var(--primary-color);
   color: white;
   padding: 10px 24px;
   border-radius: 30px;
   transition: all 0.3s;
}

.nav-link.cta-button:hover {
   background-color: #E67A32;
   transform: translateY(-2px);
   box-shadow: var(--shadow-medium);
}

.pdf-button {
   background-color: #2196F3;
   color: white;
   border: none;
   padding: 10px 20px;
   border-radius: 30px;
   cursor: pointer;
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-family: var(--font-main);
   font-size: 14px;
   font-weight: 500;
   transition: all 0.3s;
}

.pdf-button:hover {
   background-color: #1976D2;
   transform: translateY(-2px);
   box-shadow: var(--shadow-medium);
}

.pdf-button i {
   font-size: 16px;
}

/* ===================================
  ヒーローセクション
  =================================== */
.hero {
   background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
   padding: 60px 0 80px;
   position: relative;
   overflow: hidden;
}

.hero::before {
   content: '';
   position: absolute;
   width: 500px;
   height: 500px;
   background: radial-gradient(circle, rgba(255, 140, 66, 0.12) 0%, transparent 70%);
   border-radius: 50%;
   top: -150px;
   right: -100px;
   z-index: 0;
}

.hero-content {
   position: relative;
   z-index: 1;
}

.hero-inner {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 60px;
   align-items: center;
}

.hero-section-title {
   font-size: 16px;
   font-weight: 600;
   color: var(--text-light);
   margin-bottom: 20px;
   letter-spacing: 0.05em;
}

.hero-trust-badge {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   background-color: white;
   padding: 12px 24px;
   border-radius: 50px;
   box-shadow: var(--shadow-light);
   margin-bottom: 30px;
   font-size: 13px;
   color: var(--text-light);
   line-height: 1.6;
}

.hero-trust-badge i {
   color: var(--primary-color);
   font-size: 18px;
   flex-shrink: 0;
}

.hero-title {
   font-family: var(--font-rounded);
   font-size: 42px;
   line-height: 1.5;
   font-weight: 900;
   margin-bottom: 30px;
   color: var(--text-dark);
}

.hero-title .highlight-paper {
   color: var(--primary-color);
   display: inline-block;
   position: relative;
}

.hero-title .service-name {
   color: var(--secondary-color);
   font-size: 48px;
}

.hero-title .provisional-small {
   font-size: 20px;
   font-weight: 400;
   color: var(--text-gray);
}

.hero-subtitle {
   font-size: 17px;
   line-height: 1.9;
   color: var(--text-light);
   margin-bottom: 30px;
}

.hero-campaign {
   background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
   border: 2px solid var(--primary-color);
   border-radius: 16px;
   padding: 20px 25px;
   margin-bottom: 30px;
}

.campaign-badge {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background-color: var(--primary-color);
   color: white;
   padding: 6px 16px;
   border-radius: 20px;
   font-size: 13px;
   font-weight: 700;
   margin-bottom: 12px;
}

.campaign-badge i {
   font-size: 14px;
}

.campaign-text {
   font-size: 18px;
   font-weight: 600;
   color: var(--text-dark);
}

.campaign-text strong {
   color: var(--primary-color);
}

.campaign-price {
   font-size: 28px;
   font-weight: 900;
   font-family: var(--font-rounded);
   color: var(--primary-color);
   margin-left: 8px;
}

.hero-cta {
   text-align: left;
}

.btn {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 16px 40px;
   border: none;
   border-radius: 50px;
   font-size: 18px;
   font-weight: 700;
   text-decoration: none;
   cursor: pointer;
   transition: all 0.3s;
   font-family: var(--font-rounded);
}

.btn-primary {
   background-color: var(--primary-color);
   color: white;
   box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
   background-color: #E67A32;
   transform: translateY(-3px);
   box-shadow: var(--shadow-strong);
}

.btn-large {
   padding: 20px 50px;
   font-size: 20px;
}

.cta-note {
   margin-top: 15px;
   font-size: 13px;
   color: var(--text-gray);
}

.hero-image {
   display: flex;
   justify-content: center;
   align-items: center;
}

.hero-image-placeholder {
   background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
   width: 100%;
   height: 450px;
   border-radius: 20px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   gap: 30px;
   box-shadow: var(--shadow-medium);
   position: relative;
   overflow: hidden;
}

.hero-image-placeholder::before {
   content: '';
   position: absolute;
   width: 200px;
   height: 200px;
   background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
   border-radius: 50%;
   bottom: -50px;
   left: -50px;
}

.image-icon-group {
   display: flex;
   gap: 30px;
}

.image-icon-group i {
   font-size: 70px;
   color: var(--primary-color);
   opacity: 0.3;
}

.image-text {
   text-align: center;
   color: var(--text-gray);
}

.image-text p {
   font-size: 14px;
   margin: 5px 0;
}

/* ===================================
  セクション共通スタイル
  =================================== */
.section {
   padding: 100px 0;
}

.section-label {
   text-align: center;
   margin-bottom: 20px;
}

.section-label span {
   display: inline-block;
   background-color: var(--bg-green-light);
   color: var(--secondary-color);
   padding: 8px 24px;
   border-radius: 50px;
   font-size: 14px;
   font-weight: 600;
}

.section-header {
   text-align: center;
   margin-bottom: 60px;
}

.section-title {
   font-family: var(--font-rounded);
   font-size: 36px;
   font-weight: 900;
   line-height: 1.6;
   color: var(--text-dark);
   margin-bottom: 20px;
}

.section-title .highlight-orange {
   color: var(--primary-color);
}

.section-title .highlight-green {
   color: var(--secondary-color);
}

.section-title .provisional-small {
   font-size: 18px;
   font-weight: 400;
   color: var(--text-gray);
}

.section-description {
   font-size: 16px;
   line-height: 1.9;
   color: var(--text-light);
}

/* ===================================
  実績ブロック
  =================================== */
.results-section {
   background-color: var(--bg-white);
   border-bottom: 1px solid var(--border-color);
}

.results-content {
   max-width: 900px;
   margin: 0 auto;
   text-align: center;
}

.results-lead {
   font-size: 20px;
   font-weight: 600;
   color: var(--text-dark);
   margin-bottom: 30px;
}

.results-lead strong {
   color: var(--secondary-color);
}

.results-text {
   font-size: 18px;
   line-height: 2;
   color: var(--text-light);
   margin-bottom: 40px;
}

.results-examples {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 30px;
   margin-bottom: 40px;
}

.result-item {
   background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
   padding: 30px;
   border-radius: 16px;
   border-left: 4px solid var(--primary-color);
   text-align: left;
}

.result-icon {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B1A 100%);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 20px;
}

.result-icon i {
   font-size: 28px;
   color: white;
}

.result-item p {
   font-size: 16px;
   font-weight: 600;
   line-height: 1.8;
   color: var(--text-dark);
}

.highlight-number {
   color: var(--primary-color);
   font-weight: 900;
   font-size: 110%;
}

.highlight-text {
   color: var(--secondary-color);
   font-weight: 700;
}

.results-conclusion {
   font-size: 17px;
   color: var(--text-light);
   margin-bottom: 40px;
}

.results-message {
   background-color: var(--bg-green-light);
   padding: 30px;
   border-radius: 16px;
   border-left: 4px solid var(--secondary-color);
}

.results-message p {
   font-size: 17px;
   line-height: 2;
   color: var(--text-dark);
}

.results-message strong {
   color: var(--secondary-color);
}

/* ===================================
  ターゲットセクション
  =================================== */
.target-section {
   background-color: var(--bg-light);
}

.target-list {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 25px;
   max-width: 1000px;
   margin: 0 auto;
}

.target-item {
   background-color: white;
   padding: 25px 30px;
   border-radius: 16px;
   box-shadow: var(--shadow-light);
   display: flex;
   align-items: center;
   gap: 20px;
   transition: all 0.3s;
}

.target-item:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-medium);
}

.target-icon {
   width: 60px;
   height: 60px;
   background-color: var(--bg-green-light);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-shrink: 0;
}

.target-icon i {
   font-size: 28px;
   color: var(--secondary-color);
}

.target-item p {
   font-size: 16px;
   font-weight: 600;
   color: var(--text-dark);
   line-height: 1.7;
}

/* ===================================
  問題セクション
  =================================== */
.problem-section {
   background-color: var(--bg-white);
}

.problem-lead {
   text-align: center;
   margin-bottom: 50px;
}

.problem-stat {
   font-size: 22px;
   font-weight: 600;
   line-height: 1.8;
   color: var(--text-dark);
}

.problem-content {
   max-width: 800px;
   margin: 0 auto 50px;
}

.problem-subtitle {
   font-size: 24px;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 30px;
   text-align: center;
}

.problem-text {
   font-size: 18px;
   line-height: 2;
   color: var(--text-light);
   text-align: center;
   margin-bottom: 30px;
}

.problem-voices {
   display: flex;
   justify-content: center;
   gap: 20px;
   margin: 30px 0;
   flex-wrap: wrap;
}

.voice-bubble {
   background-color: var(--bg-cream);
   padding: 15px 25px;
   border-radius: 30px;
   font-size: 16px;
   font-weight: 600;
   color: var(--primary-color);
   border: 2px solid var(--primary-color);
}

.problem-text-small {
   font-size: 16px;
   line-height: 1.9;
   color: var(--text-light);
   text-align: center;
}

.source-note {
   font-size: 13px;
   color: var(--text-gray);
}

.problem-issues {
   max-width: 800px;
   margin: 0 auto;
}

.problem-list {
   list-style: none;
   padding: 0;
}

.problem-list li {
   background-color: var(--bg-light);
   padding: 20px 25px;
   padding-left: 60px;
   border-radius: 12px;
   margin-bottom: 15px;
   position: relative;
   font-size: 16px;
   color: var(--text-dark);
   line-height: 1.7;
   transition: all 0.3s;
}

.problem-list li:hover {
   background-color: var(--bg-cream);
   transform: translateX(5px);
}

.problem-list li::before {
   content: '!';
   position: absolute;
   left: 20px;
   top: 50%;
   transform: translateY(-50%);
   width: 30px;
   height: 30px;
   background-color: var(--primary-color);
   color: white;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   font-weight: 900;
   font-size: 18px;
}

/* ===================================
  コンセプトセクション
  =================================== */
.concept-section {
   background-color: var(--bg-cream);
}

.concept-content {
   max-width: 900px;
   margin: 0 auto;
}

.concept-text {
   text-align: center;
   margin-bottom: 40px;
}

.concept-text p {
   font-size: 17px;
   line-height: 2;
   margin-bottom: 25px;
   color: var(--text-dark);
}

.concept-text strong {
   color: var(--secondary-color);
   font-weight: 700;
}

.concept-note {
   background-color: var(--bg-green-light);
   border-left: 4px solid var(--secondary-color);
   padding: 20px 25px;
   border-radius: 8px;
   display: flex;
   align-items: flex-start;
   gap: 15px;
}

.concept-note i {
   font-size: 20px;
   color: var(--secondary-color);
   margin-top: 2px;
   flex-shrink: 0;
}

.concept-note p {
   font-size: 14px;
   line-height: 1.8;
   color: var(--text-dark);
}

/* ===================================
  仕組みセクション
  =================================== */
.system-section {
   background-color: var(--bg-white);
}

.system-steps {
   display: flex;
   align-items: center;
   justify-content: space-between;
   margin-bottom: 60px;
   flex-wrap: wrap;
   gap: 20px;
}

.step-item {
   background-color: white;
   border: 2px solid var(--border-color);
   padding: 30px 20px;
   border-radius: 16px;
   text-align: center;
   flex: 1;
   min-width: 150px;
   max-width: 180px;
   position: relative;
   transition: all 0.3s;
}

.step-item:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-medium);
   border-color: var(--primary-color);
}

.step-number {
   position: absolute;
   top: -15px;
   left: 50%;
   transform: translateX(-50%);
   width: 40px;
   height: 40px;
   background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B1A 100%);
   color: white;
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   font-weight: 900;
   font-size: 18px;
   box-shadow: var(--shadow-medium);
}

.step-icon {
   width: 80px;
   height: 80px;
   background-color: var(--bg-light);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto 20px;
}

.step-icon i {
   font-size: 32px;
   color: var(--primary-color);
}

.step-title {
   font-size: 16px;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 15px;
}

.step-description {
   font-size: 13px;
   line-height: 1.7;
   color: var(--text-light);
   margin-bottom: 10px;
}

.step-note {
   font-size: 11px;
   color: var(--primary-color);
   font-weight: 600;
}

.step-arrow {
   flex: 0;
   color: var(--primary-color);
   font-size: 24px;
}

.system-info {
   display: grid;
   grid-template-columns: repeat(4, 1fr);
   gap: 20px;
}

.info-box {
   background-color: white;
   border: 2px solid var(--border-color);
   padding: 25px;
   border-radius: 12px;
   text-align: center;
   transition: all 0.3s;
}

.info-box:hover {
   border-color: var(--secondary-color);
   box-shadow: var(--shadow-light);
}

.info-box h4 {
   font-size: 14px;
   font-weight: 600;
   color: var(--text-dark);
   margin-bottom: 12px;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 8px;
}

.info-box h4 i {
   color: var(--secondary-color);
   font-size: 16px;
}

.info-box p {
   font-size: 13px;
   color: var(--text-light);
   line-height: 1.7;
}

/* ===================================
  メリットセクション
  =================================== */
.merits-section {
   background-color: var(--bg-light);
}

.merits-list {
   display: grid;
   grid-template-columns: 1fr;
   gap: 30px;
   max-width: 900px;
   margin: 0 auto;
}

.merit-card {
   background-color: white;
   border: 2px solid var(--border-color);
   border-radius: 20px;
   padding: 40px;
   position: relative;
   transition: all 0.3s;
}

.merit-card:hover {
   border-color: var(--secondary-color);
   transform: translateY(-5px);
   box-shadow: var(--shadow-medium);
}

.merit-highlight {
   border-color: var(--primary-color);
   background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.merit-number {
   position: absolute;
   top: 20px;
   right: 30px;
   font-size: 48px;
   font-weight: 900;
   color: var(--bg-light);
   font-family: var(--font-rounded);
}

.merit-icon {
   width: 80px;
   height: 80px;
   background: linear-gradient(135deg, var(--secondary-color) 0%, #45A049 100%);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin-bottom: 25px;
}

.merit-icon i {
   font-size: 36px;
   color: white;
}

.merit-title {
   font-size: 22px;
   font-weight: 700;
   line-height: 1.6;
   color: var(--text-dark);
   margin-bottom: 20px;
}

.merit-points {
   list-style: none;
   padding: 0;
}

.merit-points li {
   padding: 12px 0;
   padding-left: 30px;
   position: relative;
   font-size: 16px;
   color: var(--text-light);
   line-height: 1.8;
}

.merit-points li::before {
   content: '✓';
   position: absolute;
   left: 0;
   color: var(--secondary-color);
   font-weight: 700;
   font-size: 18px;
}

.merit-case {
   background-color: var(--bg-cream);
   padding: 15px 20px;
   margin: 10px 0 10px -30px;
   border-left: 4px solid var(--primary-color);
   border-radius: 8px;
}

.merit-case strong {
   color: var(--primary-color);
   font-weight: 900;
}

.merit-example {
   margin-top: 15px;
   padding: 12px 20px;
   background-color: var(--bg-green-light);
   border-radius: 8px;
   font-size: 14px;
   color: var(--secondary-color);
   font-weight: 600;
}

/* ===================================
  料金セクション
  =================================== */
.price-section {
   background-color: var(--bg-white);
}

.price-content {
   max-width: 600px;
   margin: 0 auto;
}

.price-card {
   background-color: white;
   border-radius: 20px;
   box-shadow: var(--shadow-medium);
   overflow: hidden;
}

.price-main {
   background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B1A 100%);
   padding: 50px;
   text-align: center;
   color: white;
}

.price-amount {
   display: flex;
   justify-content: center;
   align-items: baseline;
   gap: 10px;
   margin-bottom: 10px;
}

.price-label {
   font-size: 20px;
   font-weight: 600;
}

.price-value {
   font-size: 64px;
   font-weight: 900;
   font-family: var(--font-rounded);
}

.price-unit {
   font-size: 28px;
   font-weight: 600;
}

.price-tax {
   font-size: 16px;
}

.price-includes {
   padding: 40px;
   border-bottom: 1px solid var(--border-color);
}

.price-includes h4 {
   font-size: 16px;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 20px;
   display: flex;
   align-items: center;
   gap: 10px;
}

.price-includes h4 i {
   color: var(--secondary-color);
   font-size: 18px;
}

.price-includes ul {
   list-style: none;
}

.price-includes ul li {
   padding: 10px 0;
   padding-left: 30px;
   position: relative;
   font-size: 15px;
   color: var(--text-light);
}

.price-includes ul li::before {
   content: '✓';
   position: absolute;
   left: 0;
   color: var(--secondary-color);
   font-weight: 700;
   font-size: 18px;
}

.price-campaign {
   padding: 30px 40px;
   background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
   display: flex;
   align-items: center;
   gap: 20px;
   border-bottom: 1px solid var(--border-color);
}

.campaign-icon {
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B1A 100%);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   flex-shrink: 0;
}

.campaign-icon i {
   font-size: 28px;
   color: white;
}

.campaign-content h4 {
   font-size: 16px;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 8px;
}

.campaign-content p {
   font-size: 18px;
   font-weight: 600;
   color: var(--primary-color);
}

.campaign-content strong {
   font-size: 20px;
   font-weight: 900;
}

.price-notes {
   padding: 30px 40px;
   background-color: var(--bg-light);
}

.price-notes p {
   font-size: 14px;
   color: var(--text-light);
   display: flex;
   align-items: flex-start;
   gap: 10px;
   margin-bottom: 10px;
}

.price-notes p:last-child {
   margin-bottom: 0;
}

.price-notes i {
   color: var(--primary-color);
   margin-top: 2px;
   flex-shrink: 0;
}

/* ===================================
  FAQセクション
  =================================== */
.faq-section {
   background-color: var(--bg-cream);
}

.faq-list {
   max-width: 900px;
   margin: 0 auto;
}

.faq-item {
   background-color: white;
   border: 2px solid var(--border-color);
   border-radius: 12px;
   margin-bottom: 20px;
   overflow: hidden;
   transition: all 0.3s;
}

.faq-item:hover {
   border-color: var(--secondary-color);
}

.faq-question {
   padding: 25px 30px;
   display: flex;
   align-items: center;
   gap: 15px;
   cursor: pointer;
   transition: all 0.3s;
}

.faq-question:hover {
   background-color: var(--bg-light);
}

.faq-question i.fa-question-circle {
   font-size: 24px;
   color: var(--primary-color);
   flex-shrink: 0;
}

.faq-question h3 {
   font-size: 16px;
   font-weight: 600;
   color: var(--text-dark);
   flex: 1;
}

.faq-toggle {
   color: var(--secondary-color);
   font-size: 18px;
   transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
   transform: rotate(180deg);
}

.faq-answer {
   max-height: 0;
   overflow: hidden;
   transition: all 0.3s;
   padding: 0 30px;
   padding-left: 70px;
}

.faq-item.active .faq-answer {
   max-height: 500px;
   padding-bottom: 25px;
}

.faq-answer p {
   font-size: 15px;
   line-height: 1.9;
   color: var(--text-light);
}

/* ===================================
  資料請求フォームセクション
  =================================== */
.contact-section {
   background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
}

.contact-form-wrapper {
   max-width: 700px;
   margin: 0 auto;
}

.contact-form {
   background-color: white;
   padding: 50px;
   border-radius: 20px;
   box-shadow: var(--shadow-medium);
}

.form-group {
   margin-bottom: 30px;
}

.form-group label {
   display: block;
   font-size: 15px;
   font-weight: 600;
   color: var(--text-dark);
   margin-bottom: 10px;
}

.required {
   background-color: #FF5252;
   color: white;
   font-size: 11px;
   padding: 3px 8px;
   border-radius: 4px;
   margin-left: 8px;
   font-weight: 700;
}

.optional {
   background-color: var(--text-gray);
   color: white;
   font-size: 11px;
   padding: 3px 8px;
   border-radius: 4px;
   margin-left: 8px;
   font-weight: 700;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
   width: 100%;
   padding: 14px 18px;
   border: 2px solid var(--border-color);
   border-radius: 8px;
   font-size: 15px;
   font-family: var(--font-main);
   transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
   outline: none;
   border-color: var(--secondary-color);
   box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.checkbox-group {
   display: flex;
   gap: 30px;
}

.checkbox-label {
   display: flex;
   align-items: center;
   gap: 10px;
   cursor: pointer;
   font-size: 15px;
   color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
   width: 20px;
   height: 20px;
   cursor: pointer;
   accent-color: var(--secondary-color);
}

.form-privacy {
   background-color: var(--bg-green-light);
   padding: 20px;
   border-radius: 8px;
   margin-bottom: 30px;
}

.form-privacy p {
   font-size: 13px;
   line-height: 1.7;
   color: var(--text-dark);
   display: flex;
   align-items: flex-start;
   gap: 10px;
}

.form-privacy i {
   color: var(--secondary-color);
   margin-top: 2px;
   flex-shrink: 0;
}

.form-submit {
   text-align: center;
}

.form-submit button {
   width: 100%;
}

.form-success {
   background-color: white;
   padding: 60px 50px;
   border-radius: 20px;
   box-shadow: var(--shadow-medium);
   text-align: center;
}

.success-icon {
   width: 100px;
   height: 100px;
   background: linear-gradient(135deg, var(--secondary-color) 0%, #45A049 100%);
   border-radius: 50%;
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 0 auto 30px;
}

.success-icon i {
   font-size: 50px;
   color: white;
}

.form-success h3 {
   font-size: 28px;
   font-weight: 700;
   color: var(--text-dark);
   margin-bottom: 20px;
}

.form-success p {
   font-size: 16px;
   line-height: 1.9;
   color: var(--text-light);
}

/* ===================================
  事業者情報セクション
  =================================== */
.company-section {
   background-color: var(--bg-white);
}

.company-content {
   max-width: 900px;
   margin: 0 auto;
}

.company-intro {
   text-align: center;
   margin-bottom: 50px;
}

.company-intro p {
   font-size: 17px;
   line-height: 2;
   color: var(--text-light);
   margin-bottom: 25px;
}

.company-intro strong {
   color: var(--secondary-color);
   font-weight: 700;
}

.company-message {
   background: linear-gradient(135deg, var(--bg-green-light) 0%, var(--bg-cream) 100%);
   padding: 35px;
   border-radius: 16px;
   border-left: 4px solid var(--secondary-color);
   margin-top: 40px;
}

.company-message p {
   font-size: 18px;
   line-height: 2;
   color: var(--text-dark);
   margin: 0;
}

.company-message strong {
   color: var(--secondary-color);
   font-weight: 700;
   font-size: 110%;
}

.company-info {
   background-color: white;
   border: 2px solid var(--border-color);
   border-radius: 16px;
   padding: 40px;
}

.company-table {
   width: 100%;
   border-collapse: collapse;
}

.company-table tr {
   border-bottom: 1px solid var(--border-color);
}

.company-table tr:last-child {
   border-bottom: none;
}

.company-table th {
   text-align: left;
   padding: 20px 20px 20px 0;
   font-size: 14px;
   font-weight: 700;
   color: var(--text-dark);
   width: 150px;
   vertical-align: top;
}

.company-table td {
   padding: 20px 0;
   font-size: 15px;
   color: var(--text-light);
   line-height: 1.8;
}

.company-table td a {
   color: var(--accent-color);
   text-decoration: none;
   transition: color 0.3s;
}

.company-table td a:hover {
   color: var(--primary-color);
   text-decoration: underline;
}

/* ===================================
  フッター
  =================================== */
.footer {
   background-color: #2C3E50;
   color: white;
   padding: 60px 0 30px;
}

.footer-content {
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-bottom: 40px;
}

.footer-logo h3 {
   font-family: var(--font-rounded);
   font-size: 24px;
   font-weight: 800;
   margin-bottom: 10px;
}

.footer-logo .provisional-small {
   font-size: 14px;
   font-weight: 400;
   opacity: 0.7;
}

.footer-logo p {
   font-size: 14px;
   opacity: 0.8;
}

.footer-links {
   display: flex;
   gap: 30px;
}

.footer-links a {
   color: white;
   text-decoration: none;
   font-size: 14px;
   transition: opacity 0.3s;
}

.footer-links a:hover {
   opacity: 0.7;
}

.footer-bottom {
   text-align: center;
   padding-top: 30px;
   border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
   font-size: 13px;
   opacity: 0.7;
}

/* ===================================
  ページトップボタン
  =================================== */
.page-top {
   position: fixed;
   bottom: 30px;
   right: 30px;
   width: 60px;
   height: 60px;
   background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B1A 100%);
   color: white;
   border: none;
   border-radius: 50%;
   cursor: pointer;
   box-shadow: var(--shadow-medium);
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s;
   z-index: 999;
}

.page-top.show {
   opacity: 1;
   visibility: visible;
}

.page-top:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-strong);
}

.page-top i {
   font-size: 24px;
}

/* ===================================
  PDFダウンロードボタン（フローティング）
  =================================== */
.pdf-float-button {
   position: fixed;
   bottom: 110px;
   right: 30px;
   background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
   color: white;
   border: none;
   padding: 15px 25px;
   border-radius: 50px;
   cursor: pointer;
   box-shadow: var(--shadow-medium);
   opacity: 0;
   visibility: hidden;
   transition: all 0.3s;
   z-index: 999;
   display: flex;
   align-items: center;
   gap: 10px;
   font-family: var(--font-rounded);
   font-size: 15px;
   font-weight: 700;
}

.pdf-float-button.show {
   opacity: 1;
   visibility: visible;
}

.pdf-float-button:hover {
   transform: translateY(-5px);
   box-shadow: var(--shadow-strong);
}

.pdf-float-button i {
   font-size: 20px;
}

.pdf-float-button span {
   white-space: nowrap;
}

/* ===================================
  レスポンシブデザイン
  =================================== */
@media (max-width: 1024px) {
   .hero-inner {
       grid-template-columns: 1fr;
       gap: 40px;
   }
  
   .hero-image {
       order: -1;
   }
  
   .system-steps {
       justify-content: center;
   }
  
   .step-arrow {
       display: none;
   }
  
   .results-examples {
       grid-template-columns: 1fr;
   }
  
   .target-list {
       grid-template-columns: 1fr;
   }
  
   .system-info {
       grid-template-columns: repeat(2, 1fr);
   }
}

@media (max-width: 768px) {
   .nav {
       display: none;
   }
  
   .hero {
       padding: 40px 0 60px;
   }
  
   .hero-title {
       font-size: 30px;
   }
  
   .hero-title .service-name {
       font-size: 34px;
   }
  
   .hero-subtitle {
       font-size: 15px;
   }
  
   .section {
       padding: 60px 0;
   }
  
   .section-title {
       font-size: 28px;
   }
  
   .system-info {
       grid-template-columns: 1fr;
   }
  
   .contact-form {
       padding: 30px;
   }
  
   .footer-content {
       flex-direction: column;
       gap: 30px;
       text-align: center;
   }
  
   .footer-links {
       flex-wrap: wrap;
       justify-content: center;
   }
  
   .pc-only {
       display: none;
   }
  
   .pdf-float-button {
       bottom: 100px;
       right: 20px;
       padding: 12px 20px;
       font-size: 14px;
   }
  
   .pdf-float-button i {
       font-size: 18px;
   }
}

@media (max-width: 480px) {
   .container {
       padding: 0 15px;
   }
  
   .logo h1 {
       font-size: 18px;
   }
  
   .hero-title {
       font-size: 24px;
   }
  
   .hero-title .service-name {
       font-size: 28px;
   }
  
   .btn-large {
       padding: 16px 30px;
       font-size: 16px;
   }
  
   .section-title {
       font-size: 24px;
   }
  
   .price-value {
       font-size: 48px;
   }
  
   .contact-form {
       padding: 25px;
   }
  
   .page-top {
       width: 50px;
       height: 50px;
       bottom: 20px;
       right: 20px;
   }
  
   .page-top i {
       font-size: 20px;
   }
  
   .pdf-float-button span {
       display: none;
   }
  
   .pdf-float-button {
       padding: 15px;
       width: 50px;
       height: 50px;
       border-radius: 50%;
       justify-content: center;
   }
}

print.css

/* ===================================
  印刷・PDF出力用スタイルシート
  =================================== */

@media print {
   /* ===================================
      基本設定
      =================================== */
   * {
       -webkit-print-color-adjust: exact !important;
       print-color-adjust: exact !important;
       color-adjust: exact !important;
   }
  
   body {
       margin: 0;
       padding: 0;
       background: white !important;
       font-size: 11pt;
       line-height: 1.6;
   }
  
   .container {
       max-width: 100%;
       padding: 0 15mm;
   }
  
   /* ===================================
      非表示要素
      =================================== */
   .header,
   .nav,
   .page-top,
   .faq-toggle,
   #contactForm,
   .form-submit,
   .btn-primary,
   .cta-button,
   .hero-cta,
   .footer-links {
       display: none !important;
   }
  
   /* ===================================
      改ページ設定
      =================================== */
   .section {
       page-break-inside: avoid;
       padding: 15mm 0;
   }
  
   .hero,
   .problem-section,
   .concept-section,
   .system-section,
   .features-section,
   .recommend-section,
   .voice-section,
   .price-section,
   .faq-section,
   .contact-section,
   .company-section {
       page-break-after: auto;
       page-break-before: auto;
   }
  
   .section-header {
       page-break-after: avoid;
   }
  
   h1, h2, h3, h4, h5, h6 {
       page-break-after: avoid;
       page-break-inside: avoid;
   }
  
   /* ===================================
      ヒーローセクション
      =================================== */
   .hero {
       background: linear-gradient(135deg, #FFF5E6 0%, #FFF9F5 100%) !important;
       padding: 20mm 0 !important;
       page-break-after: always;
   }
  
   .hero::before {
       display: none;
   }
  
   .hero-inner {
       display: block !important;
   }
  
   .hero-image {
       display: none;
   }
  
   .hero-title {
       font-size: 24pt;
       margin-bottom: 10mm;
       color: #333 !important;
   }
  
   .hero-title .highlight {
       color: #FF8C42 !important;
   }
  
   .hero-title .service-name {
       color: #4CAF50 !important;
       font-size: 28pt;
   }
  
   .hero-subtitle {
       font-size: 12pt;
       margin-bottom: 10mm;
       color: #666 !important;
   }
  
   .hero-badge {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm;
       margin-bottom: 10mm;
       font-size: 10pt;
   }
  
   /* ===================================
      セクションタイトル
      =================================== */
   .section-title {
       font-size: 18pt;
       margin-bottom: 10mm;
       color: #333 !important;
   }
  
   .section-title .highlight-orange {
       color: #FF8C42 !important;
   }
  
   .section-title .highlight-green {
       color: #4CAF50 !important;
   }
  
   .section-description {
       font-size: 11pt;
       margin-bottom: 8mm;
       color: #666 !important;
   }
  
   .section-label span {
       background-color: #E8F5E9 !important;
       color: #4CAF50 !important;
       padding: 3mm 6mm;
       border-radius: 15mm;
       font-size: 10pt;
   }
  
   /* ===================================
      問題提起セクション
      =================================== */
   .problem-section {
       background-color: #FFF9F5 !important;
   }
  
   .problem-list {
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       gap: 5mm;
       page-break-inside: avoid;
   }
  
   .problem-item {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm;
       border-radius: 3mm;
       page-break-inside: avoid;
   }
  
   .problem-icon {
       width: 15mm;
       height: 15mm;
       background: #FF8C42 !important;
       border-radius: 50%;
       display: flex;
       justify-content: center;
       align-items: center;
       margin: 0 auto 5mm;
   }
  
   .problem-icon i {
       color: white !important;
       font-size: 14pt;
   }
  
   .problem-item-title {
       font-size: 10pt;
       text-align: center;
       color: #333 !important;
   }
  
   /* ===================================
      コンセプトセクション
      =================================== */
   .concept-note {
       background-color: #E8F5E9 !important;
       border-left: 2mm solid #4CAF50;
       padding: 5mm;
       border-radius: 2mm;
       page-break-inside: avoid;
   }
  
   .concept-text p {
       margin-bottom: 5mm;
       color: #333 !important;
   }
  
   /* ===================================
      仕組みセクション
      =================================== */
   .system-section {
       background-color: #FFF5E6 !important;
   }
  
   .system-steps {
       display: grid;
       grid-template-columns: repeat(5, 1fr);
       gap: 3mm;
       page-break-inside: avoid;
   }
  
   .step-arrow {
       display: none;
   }
  
   .step-item {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm 3mm;
       border-radius: 3mm;
       text-align: center;
       page-break-inside: avoid;
   }
  
   .step-number {
       position: relative;
       top: 0;
       left: 0;
       transform: none;
       width: 10mm;
       height: 10mm;
       background: #FF8C42 !important;
       color: white !important;
       border-radius: 50%;
       display: inline-flex;
       justify-content: center;
       align-items: center;
       font-size: 12pt;
       margin-bottom: 3mm;
   }
  
   .step-icon {
       width: 15mm;
       height: 15mm;
       background-color: #FFF9F5 !important;
       margin: 0 auto 3mm;
   }
  
   .step-icon i {
       color: #FF8C42 !important;
       font-size: 12pt;
   }
  
   .step-title {
       font-size: 9pt;
       margin-bottom: 2mm;
       color: #333 !important;
   }
  
   .step-description {
       font-size: 8pt;
       color: #666 !important;
   }
  
   .system-info {
       display: grid;
       grid-template-columns: repeat(4, 1fr);
       gap: 3mm;
       page-break-inside: avoid;
       margin-top: 5mm;
   }
  
   .info-box {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm;
       border-radius: 2mm;
       text-align: center;
   }
  
   .info-box h4 {
       font-size: 9pt;
       margin-bottom: 2mm;
       color: #333 !important;
   }
  
   .info-box h4 i {
       color: #4CAF50 !important;
   }
  
   .info-box p {
       font-size: 8pt;
       color: #666 !important;
   }
  
   /* ===================================
      メリットセクション
      =================================== */
   .features-grid {
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       gap: 5mm;
       page-break-inside: avoid;
   }
  
   .feature-card {
       background-color: white !important;
       border: 1px solid #4CAF50;
       padding: 5mm;
       border-radius: 3mm;
       page-break-inside: avoid;
   }
  
   .feature-number {
       position: relative;
       top: 0;
       right: 0;
       font-size: 20pt;
       color: #E8F5E9 !important;
   }
  
   .feature-icon {
       width: 20mm;
       height: 20mm;
       background: #4CAF50 !important;
       margin: 0 auto 5mm;
   }
  
   .feature-icon i {
       color: white !important;
       font-size: 16pt;
   }
  
   .feature-title {
       font-size: 11pt;
       margin-bottom: 3mm;
       color: #333 !important;
   }
  
   .feature-description {
       font-size: 9pt;
       color: #666 !important;
   }
  
   /* ===================================
      おすすめセクション
      =================================== */
   .recommend-section {
       background-color: #FFF9F5 !important;
   }
  
   .recommend-list {
       display: block;
   }
  
   .recommend-item {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm;
       margin-bottom: 3mm;
       border-radius: 15mm;
       display: flex;
       align-items: center;
       gap: 5mm;
       page-break-inside: avoid;
   }
  
   .recommend-icon {
       width: 12mm;
       height: 12mm;
       background-color: #E8F5E9 !important;
       flex-shrink: 0;
   }
  
   .recommend-icon i {
       color: #4CAF50 !important;
       font-size: 12pt;
   }
  
   .recommend-item p {
       font-size: 10pt;
       color: #333 !important;
   }
  
   /* ===================================
      利用者の声セクション
      =================================== */
   .voice-grid {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 5mm;
       page-break-inside: avoid;
   }
  
   .voice-card {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 5mm;
       border-radius: 3mm;
       page-break-inside: avoid;
   }
  
   .voice-avatar {
       width: 15mm;
       height: 15mm;
       background: #FF8C42 !important;
   }
  
   .voice-avatar i {
       color: white !important;
       font-size: 12pt;
   }
  
   .voice-info h4 {
       font-size: 10pt;
       color: #333 !important;
   }
  
   .voice-info p {
       font-size: 8pt;
       color: #999 !important;
   }
  
   .voice-content {
       font-size: 9pt;
       color: #666 !important;
   }
  
   /* ===================================
      料金セクション
      =================================== */
   .price-section {
       background-color: #FFF5E6 !important;
   }
  
   .price-card {
       background-color: white !important;
       border: 2px solid #FF8C42;
       border-radius: 5mm;
       overflow: visible;
       page-break-inside: avoid;
   }
  
   .price-main {
       background: #FF8C42 !important;
       padding: 10mm;
       text-align: center;
       color: white !important;
   }
  
   .price-label,
   .price-value,
   .price-unit,
   .price-tax,
   .price-tax-note {
       color: white !important;
   }
  
   .price-value {
       font-size: 36pt;
   }
  
   .price-includes {
       padding: 8mm;
       border-bottom: 1px solid #E0E0E0;
   }
  
   .price-includes h4 {
       font-size: 11pt;
       color: #333 !important;
   }
  
   .price-includes ul li {
       font-size: 10pt;
       color: #666 !important;
       padding: 2mm 0;
   }
  
   .price-notes {
       padding: 5mm 8mm;
       background-color: #FFF9F5 !important;
   }
  
   .price-notes p {
       font-size: 9pt;
       color: #666 !important;
   }
  
   /* ===================================
      FAQセクション
      =================================== */
   .faq-list {
       page-break-inside: auto;
   }
  
   .faq-item {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       margin-bottom: 3mm;
       padding: 5mm;
       border-radius: 2mm;
       page-break-inside: avoid;
   }
  
   .faq-question {
       padding: 0;
       cursor: default;
   }
  
   .faq-question i.fa-question-circle {
       color: #FF8C42 !important;
       font-size: 12pt;
   }
  
   .faq-question h3 {
       font-size: 11pt;
       color: #333 !important;
   }
  
   .faq-answer {
       max-height: none !important;
       overflow: visible !important;
       padding: 3mm 0 0 0 !important;
       display: block !important;
   }
  
   .faq-answer p {
       font-size: 10pt;
       color: #666 !important;
   }
  
   /* ===================================
      資料請求セクション（PDF用メッセージ）
      =================================== */
   .contact-section {
       background: #FFF9F5 !important;
       text-align: center;
   }
  
   .contact-form-wrapper::after {
       content: "資料請求はウェブサイトからお願いいたします";
       display: block;
       padding: 10mm;
       background-color: white;
       border: 2px solid #4CAF50;
       border-radius: 5mm;
       font-size: 14pt;
       font-weight: bold;
       color: #4CAF50 !important;
       margin: 10mm auto;
   }
  
   /* ===================================
      事業者情報セクション
      =================================== */
   .company-section {
       page-break-before: always;
   }
  
   .company-intro p {
       font-size: 10pt;
       color: #666 !important;
       margin-bottom: 5mm;
   }
  
   .company-philosophy {
       background: #E8F5E9 !important;
       padding: 8mm;
       margin: 8mm 0;
       border-radius: 3mm;
   }
  
   .philosophy-text {
       font-size: 16pt;
       color: #4CAF50 !important;
   }
  
   .company-info {
       background-color: white !important;
       border: 1px solid #E0E0E0;
       padding: 8mm;
       border-radius: 3mm;
   }
  
   .company-table th {
       font-size: 10pt;
       color: #333 !important;
       padding: 3mm 3mm 3mm 0;
   }
  
   .company-table td {
       font-size: 10pt;
       color: #666 !important;
       padding: 3mm 0;
   }
  
   .company-table td a {
       color: #2196F3 !important;
       text-decoration: underline;
   }
  
   /* ===================================
      フッター
      =================================== */
   .footer {
       background-color: #2C3E50 !important;
       color: white !important;
       padding: 10mm 0 5mm;
       page-break-before: avoid;
   }
  
   .footer-content {
       display: block;
       text-align: center;
   }
  
   .footer-logo h3,
   .footer-logo p,
   .footer-bottom p {
       color: white !important;
   }
  
   .footer-logo h3 {
       font-size: 14pt;
       margin-bottom: 3mm;
   }
  
   .footer-logo p {
       font-size: 10pt;
       margin-bottom: 5mm;
   }
  
   .footer-bottom {
       padding-top: 5mm;
       border-top: 1px solid rgba(255, 255, 255, 0.3);
   }
  
   .footer-bottom p {
       font-size: 9pt;
   }
  
   /* ===================================
      リンクの表示調整
      =================================== */
   a[href]:after {
       content: "";
   }
  
   a[href^="http"]:after {
       content: " (" attr(href) ")";
       font-size: 8pt;
       color: #999 !important;
   }
  
   a[href^="#"]:after {
       content: "";
   }
  
   /* ===================================
      ページ番号（オプション）
      =================================== */
   @page {
       margin: 15mm 15mm 20mm 15mm;
      
       @bottom-center {
           content: counter(page) " / " counter(pages);
           font-size: 9pt;
           color: #999;
       }
   }
}




       const question = item.querySelector('.faq-question');
      
       question.addEventListener('click', function() {
           // 現在のアイテムがアクティブかどうかをチェック
           const isActive = item.classList.contains('active');
          
           // すべてのFAQアイテムを閉じる
           faqItems.forEach(faqItem => {
               faqItem.classList.remove('active');
           });
          
           // クリックされたアイテムがアクティブでなければ開く
           if (!isActive) {
               item.classList.add('active');
           }
       });
   });
  
   // ===================================
   // 資料請求フォーム処理
   // ===================================
   const contactForm = document.getElementById('contactForm');
   const mailDeliveryCheckbox = document.getElementById('mailDelivery');
   const addressField = document.getElementById('addressField');
  
   // 郵送チェックボックスの変更を監視
   if (mailDeliveryCheckbox) {
       mailDeliveryCheckbox.addEventListener('change', function() {
           if (this.checked) {
               addressField.style.display = 'block';
               document.getElementById('address').setAttribute('required', 'required');
           } else {
               addressField.style.display = 'none';
               document.getElementById('address').removeAttribute('required');
           }
       });
   }
  
   // フォーム送信処理
   if (contactForm) {
       contactForm.addEventListener('submit', function(e) {
           e.preventDefault();
          
           // フォームデータの取得
           const formData = new FormData(contactForm);
           const data = {};
          
           // 配信方法のチェックボックスを配列として取得
           const deliveryMethods = [];
           const deliveryCheckboxes = document.querySelectorAll('input[name="deliveryMethod"]:checked');
           deliveryCheckboxes.forEach(checkbox => {
               deliveryMethods.push(checkbox.value);
           });
          
           // 配信方法が選択されているかチェック
           if (deliveryMethods.length === 0) {
               alert('資料の受け取り方法を少なくとも1つ選択してください。');
               return;
           }
          
           // データの収集
           for (let [key, value] of formData.entries()) {
               if (key !== 'deliveryMethod') {
                   data[key] = value;
               }
           }
           data.deliveryMethod = deliveryMethods;
          
           // ログに出力（開発用）
           console.log('資料請求データ:', data);
          
           // 実際の送信処理はここに実装
           // 例: fetch('/api/contact', { method: 'POST', body: JSON.stringify(data) })
          
           // 成功メッセージの表示
           contactForm.style.display = 'none';
           document.getElementById('formSuccess').style.display = 'block';
          
           // ページトップにスクロール
           const contactSection = document.getElementById('contact');
           const headerHeight = 80;
           const targetPosition = contactSection.offsetTop - headerHeight;
          
           window.scrollTo({
               top: targetPosition,
               behavior: 'smooth'
           });
       });
   }
  
   // ===================================
   // ページトップボタン & PDFボタン
   // ===================================
   const pageTopButton = document.getElementById('pageTop');
   const pdfButton = document.getElementById('pdfDownload');
  
   // スクロール時の表示/非表示
   window.addEventListener('scroll', function() {
       if (window.pageYOffset > 300) {
           pageTopButton.classList.add('show');
           if (pdfButton) {
               pdfButton.classList.add('show');
           }
       } else {
           pageTopButton.classList.remove('show');
           if (pdfButton) {
               pdfButton.classList.remove('show');
           }
       }
   });
  
   // クリック時のスクロール
   if (pageTopButton) {
       pageTopButton.addEventListener('click', function() {
           window.scrollTo({
               top: 0,
               behavior: 'smooth'
           });
       });
   }
  
   // ===================================
   // スクロールアニメーション（フェードイン）
   // ===================================
   const observerOptions = {
       root: null,
       rootMargin: '0px',
       threshold: 0.1
   };
  
   const observer = new IntersectionObserver(function(entries) {
       entries.forEach(entry => {
           if (entry.isIntersecting) {
               entry.target.classList.add('fade-in');
               observer.unobserve(entry.target);
           }
       });
   }, observerOptions);
  
   // アニメーション対象の要素を監視
   const animateElements = document.querySelectorAll('.problem-item, .feature-card, .step-item, .voice-card, .recommend-item');
   animateElements.forEach(element => {
       element.style.opacity = '0';
       element.style.transform = 'translateY(20px)';
       element.style.transition = 'opacity 0.6s ease, transform 0.6s ease';
       observer.observe(element);
   });
  
   // フェードインのスタイル
   const style = document.createElement('style');
   style.textContent = `
       .fade-in {
           opacity: 1 !important;
           transform: translateY(0) !important;
       }
   `;
   document.head.appendChild(style);
  
   // ===================================
   // ヘッダーのスクロール時の背景変更
   // ===================================
   const header = document.querySelector('.header');
   let lastScroll = 0;
  
   window.addEventListener('scroll', function() {
       const currentScroll = window.pageYOffset;
      
       if (currentScroll > 100) {
           header.style.boxShadow = '0 4px 12px rgba(0, 0, 0, 0.1)';
       } else {
           header.style.boxShadow = '0 2px 8px rgba(0, 0, 0, 0.08)';
       }
      
       lastScroll = currentScroll;
   });
  
   // ===================================
   // 数値カウントアニメーション（料金表示）
   // ===================================
   const priceValue = document.querySelector('.price-value');
  
   if (priceValue) {
       const priceObserver = new IntersectionObserver(function(entries) {
           entries.forEach(entry => {
               if (entry.isIntersecting) {
                   animateNumber(priceValue, 0, 19800, 1500);
                   priceObserver.unobserve(entry.target);
               }
           });
       }, observerOptions);
      
       priceObserver.observe(priceValue);
   }
  
   function animateNumber(element, start, end, duration) {
       const startTime = performance.now();
      
       function update(currentTime) {
           const elapsed = currentTime - startTime;
           const progress = Math.min(elapsed / duration, 1);
          
           // イージング関数（ease-out）
           const easeOut = 1 - Math.pow(1 - progress, 3);
           const current = Math.floor(start + (end - start) * easeOut);
          
           element.textContent = current.toLocaleString();
          
           if (progress < 1) {
               requestAnimationFrame(update);
           }
       }
      
       requestAnimationFrame(update);
   }
  
   // ===================================
   // CTAボタンのクリック追跡（アナリティクス用）
   // ===================================
   const ctaButtons = document.querySelectorAll('.btn-primary');
  
   ctaButtons.forEach(button => {
       button.addEventListener('click', function() {
           const buttonText = this.textContent.trim();
           console.log('CTA クリック:', buttonText);
          
           // Google Analyticsやその他のトラッキングツールへの送信
           // 例: gtag('event', 'click', { event_category: 'CTA', event_label: buttonText });
       });
   });
  
   // ===================================
   // モバイルメニューの処理（将来の拡張用）
   // ===================================
   // モバイルメニューが必要になった場合のための準備
   function createMobileMenu() {
       const nav = document.querySelector('.nav');
       if (window.innerWidth <= 768 && nav) {
           // モバイルメニューの実装
           console.log('モバイル表示');
       }
   }
  
   window.addEventListener('resize', createMobileMenu);
   createMobileMenu();
  
   // ===================================
   // 初期化完了ログ
   // ===================================
   console.log('神/紙学習サービス LP - 初期化完了');
   console.log('Version: 1.0.0');
   console.log('Contact: https://ls-miho.com/');
});

// ===================================
// ユーティリティ関数
// ===================================

// スクロール位置の取得
function getScrollPosition() {
   return window.pageYOffset || document.documentElement.scrollTop;
}

// 要素が画面内にあるかチェック
function isElementInViewport(el) {
   const rect = el.getBoundingClientRect();
   return (
       rect.top >= 0 &&
       rect.left >= 0 &&
       rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&
       rect.right <= (window.innerWidth || document.documentElement.clientWidth)
   );
}

// デバウンス関数
function debounce(func, wait) {
   let timeout;
   return function executedFunction(...args) {
       const later = () => {
           clearTimeout(timeout);
           func(...args);
       };
       clearTimeout(timeout);
       timeout = setTimeout(later, wait);
   };
}


