/* ページ共通スタイル - インラインスタイルの外部化 */

/* ========================================
   セクション基本スタイル
======================================== */
.section-title-area {
  text-align: center;
  padding: 3rem 2rem;
}

.section-title-area p {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
}

.section-title-description {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.section-title-description-color {
  font-size: 1.1rem;
  margin-top: 1rem;
  color: var(--text-color);
}

/* 最終更新日 */
.last-updated {
  font-size: 0.9rem;
  margin-top: 1rem;
  opacity: 0.8;
}

/* ========================================
   コンテンツコンテナ
======================================== */
.content-container-narrow {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.content-container-medium {
  max-width: 1000px;
  margin: 3rem auto;
}

.content-container-wide {
  max-width: 1200px;
  margin: 3rem auto;
}

.content-wrapper {
  line-height: 1.8;
}

.section-margin {
  margin: 3rem 0;
}

.section-margin-large {
  margin: 4rem auto;
}

/* ========================================
   index.html 専用スタイル
======================================== */
.hero-section-custom {
  text-align: center;
  padding: 4rem 2rem 1rem 2rem;
}

.hero-text-custom {
  font-size: 1.2rem;
  white-space: pre-wrap;
}

.hero-buttons-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.example-section-wrapper {
  margin: 0 0 4rem 0;
}

.features-section {
  margin: 0;
  padding: 0;
  min-height: 450vh;
  position: relative;
}

.features-inner {
  position: sticky;
  top: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.features-section h2 {
  text-align: center;
}


.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* SNSリンクセクション */
.sns-section {
  text-align: center;
  padding: 2rem;
  margin: 2rem 0;
}

.sns-icons-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

/* ========================================
   commerce.html / privacy.html / terms.html 専用スタイル
======================================== */
.legal-intro {
  margin-bottom: 2rem;
}

.legal-intro p {
  margin-bottom: 1.5rem;
}

.legal-section-item {
  margin: 2rem 0;
  padding: 2rem 2.5rem;
  font-size: 0.9rem;
}

.legal-section-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.legal-section-title-large {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content-indent {
  margin-left: 1.5rem;
}

.legal-content {
  margin-left: 1rem;
}

.legal-content-note {
  margin-left: 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.legal-list {
  margin-left: 1.5rem;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-list-large li {
  margin-bottom: 0.8rem;
}

.legal-sub-list {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.legal-highlight-box {
  margin-left: 1rem;
  background: var(--bg-color);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.legal-subtitle {
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.legal-subtitle-margin {
  margin-top: 1rem;
}

.legal-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.legal-paragraph {
  margin-bottom: 1rem;
}

.legal-list-item {
  margin-bottom: 0.5rem;
}

.legal-list-item-large {
  margin-bottom: 0.8rem;
}

.legal-contact-box {
  margin-left: 1.5rem;
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 1rem;
}

.legal-contact-box p {
  margin-top: 0.5rem;
}

.legal-end {
  margin-top: 3rem;
  text-align: right;
  font-size: 0.9rem;
}

/* ========================================
   contact.html 専用スタイル
======================================== */
.contact-form-section {
  margin: 3rem 0;
}

.contact-intro {
  margin: 2rem 0;
  color: var(--text-color);
}

.contact-note {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-color);
}

.contact-btn {
  display: inline-block;
  padding: 1.25rem 3rem;
  font-size: 1.1rem;
  text-decoration: none;
}

.support-note {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.sns-links {
  margin-top: 0.5rem;
}

.sns-link-item {
  margin-right: 1rem;
}

/* ========================================
   pricing.html 専用スタイル
======================================== */

/* テンプレート料金セクション（カード形式） */
.template-pricing-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.template-pricing-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.template-pricing-header h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.template-pricing-header p {
  font-size: 0.95rem;
  color: var(--text-color);
}

.template-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.template-card {
  padding: 0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.template-card:hover {
  transform: translateY(-4px);
}

.template-card-image {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, rgba(255,153,153,0.1) 0%, rgba(153,209,242,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.template-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.template-card:hover .template-card-image img {
  filter: grayscale(0%);
}

.template-card-placeholder {
  display: none;
  width: 60px;
  height: 60px;
  color: var(--text-color);
  opacity: 0.3;
}

.template-card-placeholder svg {
  width: 100%;
  height: 100%;
}

.template-card-image.no-image img {
  display: none;
}

.template-card-image.no-image .template-card-placeholder {
  display: block;
}

.template-card-content {
  padding: 1.25rem 1.5rem 1.5rem;
  text-align: center;
}

.template-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.template-card-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.template-card-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
}

/* 既存スタイル */
.pricing-card {
  text-align: center;
  padding: 2rem;
}

.pricing-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-icon-primary {
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(255, 153, 153, 0.3);
}

.pricing-icon-secondary {
  background: var(--accent-blue);
  box-shadow: 0 4px 12px rgba(153, 209, 242, 0.3);
}

.pricing-icon span {
  font-size: 2.5rem;
}

.pricing-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: white;
}

.pricing-title {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.pricing-description {
  font-size: 1.1rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.pricing-box {
  padding: 3rem 5rem;
  margin-top: 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
}

.pricing-amount {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.pricing-amount span {
  font-size: 1.2rem;
}

.pricing-unit {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.pricing-unit-margin {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* オプション料金リスト */
.pricing-option-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pricing-option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(128, 128, 128, 0.15);
}

.pricing-option-item:last-child {
  border-bottom: none;
}

.pricing-option-name {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
}

.pricing-option-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-option-price small {
  font-size: 0.85rem;
  font-weight: 500;
}

/* 料金に含まれるものセクション */
.pricing-includes {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.pricing-include-item {
  text-align: center;
  flex: 1 1 150px;
  max-width: 200px;
  padding: 1rem;
}

.pricing-include-icon {
  margin-bottom: 0.5rem;
}

.pricing-include-icon svg {
  width: 2rem;
  height: 2rem;
  stroke: var(--primary-color);
}

.pricing-include-title {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.pricing-include-description {
  font-size: 0.85rem;
  color: var(--text-color);
}

/* 配送セクション */
.pricing-shipping {
  border-top: 2px solid rgba(128, 128, 128, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
}

.pricing-shipping-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.pricing-shipping-icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--text-dark);
}

.pricing-shipping-header h3 {
  color: var(--text-dark);
  margin: 0;
}

.pricing-shipping-free {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1rem;
}

.pricing-shipping-note {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}

/* 注意事項 */
.pricing-notes-box {
  padding: 1.5rem 2rem;
  border-radius: 15px;
  text-align: left;
}

.pricing-notes {
  margin-left: 1.5rem;
  color: var(--text-color);
  line-height: 1.8;
  font-size: 0.9rem;
}

.pricing-notes li {
  margin-bottom: 0.5rem;
}

.pricing-notes-title {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.pricing-includes-title {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

/* ポストカード画像 */
.pricing-postcard-image {
  margin-top: 2rem;
  text-align: center;
}

.pricing-postcard-image img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  filter: grayscale(100%);
  box-shadow:
    5px 5px 10px var(--shadow-dark),
    -5px -5px 10px var(--shadow-light);
}

/* pricing.html用コンパクトコンテナ */
.pricing-compact-section {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2.5rem 3rem;
}

/* ========================================
   関連リンクセクション
======================================== */
.related-links-section {
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  margin: 3rem auto;
}

.related-links-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ========================================
   FAQ セクション
======================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  padding: 1.5rem 2rem;
  text-align: left;
}

.faq-question {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.faq-answer {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ========================================
   リンクスタイル
======================================== */
.link-primary {
  color: var(--primary-color);
  text-decoration: none;
}

.link-primary:hover {
  text-decoration: underline;
}

/* ========================================
   SNSアイコンカラー
======================================== */
.sns-icon-x {
  color: #000000;
}

.sns-icon-instagram {
  color: #E4405F;
}

.sns-icon-note {
  color: #41C9B4;
}

/* ========================================
   ダウンロードページ
======================================== */
.download-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
}

.download-container {
  max-width: 600px;
  width: 100%;
}

/* ========================================
   レスポンシブ対応
======================================== */
@media (max-width: 768px) {
  .section-title-area {
    padding: 2rem 1rem;
  }

  /* 特徴セクションのモバイル対応 */
  .features-section {
    min-height: 400vh;
  }

  /* テンプレートカードのレスポンシブ */
  .template-pricing-section {
    padding: 0 1rem;
  }

  .template-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .template-card-name {
    font-size: 0.95rem;
  }

  .template-card-price {
    font-size: 1.25rem;
  }

  .pricing-amount {
    font-size: 2rem;
  }

  .pricing-amount span {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sns-icons-container {
    gap: 1.5rem;
  }

  .related-links-buttons {
    flex-direction: column;
    align-items: center;
  }
}
