/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基本スタイル */
:root {
  --primary-color: #2E4D44;  /* 深緑色 */
  --secondary-color: #467E71;  /* ブランドグリーン */
  --accent-color: #7FAA92;  /* ライトグリーン */
  --text-dark: #2C3E50;
  --text-light: #5A6C7D;
  --bg-light: #E8F3EE;
  --bg-white: #FFFFFF;
  --bg-cream: #E8F3EE;
  --bg-gradient: linear-gradient(135deg, #E8F3EE 0%, rgba(70, 126, 113, 0.2) 50%, #E8F3EE 100%);
  --shadow: 0 4px 20px rgba(70, 126, 113, 0.08);
  --shadow-hover: 0 12px 35px rgba(70, 126, 113, 0.15);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 25px;
  --border-radius-small: 15px;
  --border-radius-large: 35px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  color: var(--text-light);
  background: #ffffff;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* 日本語テキストの改行制御 - グローバル設定 */
.page-title,
.page-description,
.section-title,
.lead-text,
.card h3,
.card p,
.value-item h3,
.value-item p,
.price-header h3,
.price-details p,
.product-name,
.product-description,
.product-card h3,
.product-card p,
h1, h2, h3, h4, h5, h6,
p, li, span, td, th {
  word-wrap: normal;
  overflow-wrap: normal;
  line-break: normal;
  white-space: normal;
}

/* SDGsページのactivity-card用スタイル */
.activity-card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(127, 170, 146, 0.08);
}

.activity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.activity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--accent-color);
}

.activity-header h3 {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin: 0;
  flex: 1;
}

.status-badge {
  background: var(--bg-light);
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  flex-shrink: 0;
}

.status-badge.active {
  background: var(--secondary-color);
  color: white;
}

.activity-content {
  color: var(--text-light);
  line-height: 1.8;
}

.activity-content p {
  margin-bottom: 20px;
}

.detail-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 30px 0 15px;
  font-weight: 600;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.detail-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(46, 77, 68, 0.08);
}

.detail-list li:last-child {
  border-bottom: none;
}

.detail-list .label {
  font-weight: 600;
  color: var(--text-dark);
  margin-right: 10px;
}

.activity-intro {
  background: var(--bg-light);
  padding: 20px;
  border-radius: var(--border-radius-small);
  margin-bottom: 20px;
  font-weight: 500;
}

.join-message {
  background: linear-gradient(135deg, rgba(248, 249, 252, 0.5), rgba(232, 229, 245, 0.3));
  padding: 25px;
  border-radius: var(--border-radius);
  margin-top: 30px;
}

/* プロセスフローのスタイル */
.process-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
  padding: 20px;
  background: rgba(248, 249, 252, 0.5);
  border-radius: var(--border-radius);
}

.process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--bg-white);
  padding: 20px 15px;
  border-radius: var(--border-radius-small);
  box-shadow: 0 4px 15px rgba(46, 77, 68, 0.08);
  transition: var(--transition);
  min-width: 120px;
  border: 1px solid rgba(127, 170, 146, 0.1);
}

.process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 89, 0.15);
}

.process-icon {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.process-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.3;
  word-break: keep-all;
}

.process-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
  word-break: keep-all;
}

.process-arrow {
  font-size: 1.5rem;
  color: var(--accent-color);
  font-weight: bold;
  margin: 0 5px;
}

/* エコシステムグリッドのスタイル */
.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 20px 0;
  padding: 20px;
  background: rgba(248, 249, 252, 0.5);
  border-radius: var(--border-radius);
}

.eco-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--border-radius-small);
  text-align: center;
  box-shadow: 0 4px 15px rgba(46, 77, 68, 0.08);
  transition: var(--transition);
  border: 1px solid rgba(127, 170, 146, 0.1);
}

.eco-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 124, 89, 0.15);
}

.eco-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.eco-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin: 10px 0 8px;
}

.eco-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .activity-card {
    padding: 20px;
    margin-bottom: 20px;
  }

  .activity-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .activity-header h3 {
    font-size: 1.2rem;
    word-break: keep-all;
  }

  .detail-title {
    font-size: 1rem;
  }

  .detail-list {
    font-size: 0.9rem;
  }

  /* プロセスフローのモバイル対応 */
  .process-flow {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .process-card {
    min-width: 100px;
    padding: 15px 10px;
  }

  .process-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .process-text {
    font-size: 0.8rem;
  }

  .process-arrow {
    transform: rotate(90deg);
    font-size: 1.2rem;
    margin: 5px 0;
  }

  /* エコシステムグリッドのモバイル対応 */
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .eco-card {
    padding: 15px;
  }

  .eco-icon {
    font-size: 1.5rem;
  }

  .eco-title {
    font-size: 0.9rem;
  }

  .eco-desc {
    font-size: 0.8rem;
  }
}

/* feature-tagアイコンの完全削除（グローバル） */
.feature-tag::before,
.feature-tag::after,
.product-features span::before,
.product-features span::after {
  content: none !important;
  display: none !important;
}

/* カテゴリーヘッダーのレイアウト（デスクトップ - デフォルト） */
.category-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.category-header h3 {
  margin: 0;
  flex: none;
}

.category-header .badge {
  display: inline-block;
  flex-shrink: 0;
}

/* カードコンテンツの改行制御を追加 */
.product-card h3,
.product-card .product-name,
.stat-card h3,
.advantage-card h3 {
  display: inline-block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 長いテキストの場合は複数行表示 */
@supports (-webkit-line-clamp: 2) {
  .product-card h3,
  .product-card .product-name {
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
  }
}

/* モバイル端末での最適化 - 文字サイズの動的調整 */
@media (max-width: 767px) {
  /* コンテナの最大幅を設定 */
  .section-container {
    max-width: 100%;
    overflow-x: hidden;
    padding: 0 15px;
  }

  .card,
  .value-item,
  .price-card,
  .product-card,
  .stat-card,
  .advantage-card,
  .testimonial-card,
  .method-card,
  .sdg-goal,
  .activity-card,
  .initiative-card,
  .eco-card,
  .process-card {
    max-width: 100%;
    overflow-x: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* カード内のテキストは適切に改行 */
  .product-card h3,
  .product-card .product-name,
  .stat-card h3,
  .advantage-card h3 {
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    hyphens: none;
    min-width: 0;
  }

  /* 括弧を含むテキストの改行制御 */
  .product-card h3 {
    text-align: center;
    font-size: clamp(0.9rem, 4vw, 1.1rem);
    line-height: 1.5;
    padding: 0 10px;
    word-break: keep-all;

    /* フレックスボックスで制御しない */
    display: block;

    /* 最小幅を設定して改行を制御 */
    min-height: 2.5em;
  }

  /* カテゴリーヘッダーのバッジを下に配置 */
  .category-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .category-header h3 {
    width: 100% !important;
    margin: 0 0 5px 0 !important;
    font-size: clamp(1.2rem, 5vw, 1.6rem) !important;
    line-height: 1.3 !important;
    word-break: keep-all !important;
    padding: 0 10px !important;
  }

  .category-header .badge {
    display: inline-block !important;
    margin-top: 5px !important;
  }

  /* feature-tagのアイコンを削除 */
  .feature-tag::before,
  .feature-tag::after,
  .product-features .feature-tag::before,
  .product-features .feature-tag::after,
  .product-card .feature-tag::before,
  .product-card .feature-tag::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* product-card内の不要なアイコンを削除 */
  .product-card .feature-tag,
  .product-features .feature-tag {
    position: relative;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* すべての絵文字を非表示（DNAアイコンなど） */
  .product-card .feature-tag:first-child::before {
    content: "" !important;
  }

  /* 日本語テキストの改行制御 - バランス重視 */
  .page-title,
  .section-title,
  h1, h2, h3 {
    word-break: keep-all; /* 単語を維持 */
    overflow-wrap: normal;
    line-height: 1.4;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
  }

  /* service-headerの改行制御 */
  .service-header h3 {
    font-size: clamp(1rem, 4.5vw, 1.3rem) !important;
    word-break: keep-all !important;
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  .page-description,
  .lead-text,
  p, li, span {
    word-break: break-word; /* 必要に応じて単語内で改行 */
    overflow-wrap: break-word;
    line-height: 1.6;
  }

  /* viewport単位を使用した動的文字サイズ調整 */
  .page-title {
    font-size: clamp(1.3rem, 5.5vw, 1.9rem);
  }

  .section-title {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
  }

  .lead-text {
    font-size: clamp(0.9rem, 3.8vw, 1.1rem);
  }

  .card h3,
  .value-item h3,
  .price-header h3 {
    font-size: clamp(0.95rem, 4vw, 1.2rem);
  }

  .card p,
  .value-item p,
  .price-details p {
    font-size: clamp(0.8rem, 3.5vw, 1rem);
  }

  /* 特にサービス商品ページの要素 */
  .service-item h3,
  .product-item h3,
  .product-card h3 {
    font-size: clamp(0.9rem, 4vw, 1.15rem);
    padding: 0 5px;
  }

  .service-item p,
  .product-item p,
  .product-card p {
    font-size: clamp(0.75rem, 3.2vw, 0.95rem);
    padding: 0 5px;
  }
}

/* 320px以下の小型スマートフォン用 */
@media (max-width: 320px) {
  .page-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
  }

  .section-title {
    font-size: clamp(1.1rem, 4.5vw, 1.4rem);
  }

  .lead-text {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
  }

  .card h3,
  .value-item h3 {
    font-size: clamp(0.85rem, 3.8vw, 1rem);
  }

  .card p,
  .value-item p {
    font-size: clamp(0.75rem, 3.2vw, 0.85rem);
  }
}

/* コンタクトカードのモバイル最適化 */
@media (max-width: 767px) {
  /* contact-methodsを縦1列に強制 */
  .contact-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
    padding: 0 !important;
  }

  /* method-cardの統一修正 - 必ず1つずつ縦に配置 */
  .method-card {
    width: 100% !important;
    max-width: none !important;
    padding: 30px 25px !important;
    margin: 0 0 20px 0 !important;
    border-radius: 20px !important;
    background: var(--bg-white) !important;
    box-shadow: 0 10px 35px rgba(46, 77, 68, 0.1) !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease !important;
    flex: none !important;
  }

  .method-card.active {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
  }

  /* カード内要素の配置 */
  .method-card .method-icon {
    display: block;
    font-size: 2.5rem;
    margin: 0 auto 15px;
  }

  .method-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .method-card p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.5;
  }

  .method-card .phone-number,
  .method-card .email-address {
    display: inline-block;
    margin-top: 10px;
    font-size: 1rem;
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
  }

  .recommended-badge {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 15px;
    background: var(--secondary-color);
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
  }

  /* お問い合わせフォームカード */
  .contact-card,
  .contact-info-card,
  .contact-box {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }

  /* カード内のコンテンツ幅調整 */
  .contact-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-form-section,
  .contact-info-section {
    width: 100%;
    padding: 30px 25px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(46, 77, 68, 0.1);
  }

  /* カード内のレイアウト調整 */
  .contact-method {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
  }

  .contact-method .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .contact-method .content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .contact-method h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .contact-method p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* グリッドレイアウトの調整 */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 営業時間などの情報 */
  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(248, 249, 252, 0.5);
    border-radius: 12px;
  }

  .info-item .info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .info-item .info-content {
    flex: 1;
  }

  .info-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
  }

  .info-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-light);
    word-break: break-word;
  }

  .info-item a {
    color: var(--primary-color);
    text-decoration: none;
  }
}

/* 480px以下のスマートフォン用追加調整 */
@media (max-width: 480px) {
  /* contact-methodsとmethod-cardを再度強制設定 */
  .contact-methods {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    width: 100% !important;
    grid-template-columns: none !important;
  }

  .method-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 25px 20px !important;
    margin: 0 0 15px 0 !important;
    border-radius: 20px !important;
    background: var(--bg-white) !important;
    box-shadow: 0 8px 30px rgba(46, 77, 68, 0.08) !important;
    display: block !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .method-card .method-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .method-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    word-break: keep-all;
  }

  .method-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
    line-height: 1.5;
  }

  .method-card .phone-number,
  .method-card .email-address {
    font-size: 0.95rem;
    color: var(--primary-color);
    text-decoration: none;
    word-break: break-all;
  }

  .recommended-badge {
    position: static;
    margin-top: 10px;
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
  }

  /* コンタクトフォームセクション */
  .contact-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .contact-form-section,
  .contact-info-section {
    width: 100%;
    padding: 25px 20px;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(46, 77, 68, 0.08);
  }

  /* 全カード系コンポーネントの統一最適化 */
  .card,
  .stat-card,
  .product-card,
  .advantage-card,
  .testimonial-card,
  .service-card,
  .sdg-card,
  .activity-card {
    width: 100% !important;
    margin: 15px 0 !important;
    padding: 25px 20px !important;
    box-sizing: border-box !important;
  }

  /* グリッドレイアウトの修正 */
  .stats-grid,
  .products-grid,
  .advantages-grid,
  .testimonials-grid,
  .services-grid,
  .sdgs-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    width: 100% !important;
  }

  .contact-method {
    gap: 12px;
  }

  .contact-method .icon {
    font-size: 1.3rem;
  }

  .contact-method h3 {
    font-size: 0.95rem;
  }

  .contact-method p {
    font-size: 0.85rem;
  }

  /* フォームフィールドの最適化 */
  .form-group {
    margin-bottom: 20px;
    width: 100%;
  }

  .form-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

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

  .form-group input,
  .form-group textarea,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border-radius: 8px;
    border: 1px solid rgba(46, 77, 68, 0.2);
    background: var(--bg-white);
    box-sizing: border-box;
  }

  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }

  /* チェックボックスの最適化 */
  .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
  }

  /* ボタンの最適化 */
  .submit-btn,
  .contact-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: 25px;
    margin-top: 15px;
  }
}

/* デスクトップビュー用のcontact-methods設定 */
@media (min-width: 768px) {
  .contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
  }

  .method-card {
    padding: 30px;
    text-align: center;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
  }

  .method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
  }

  .method-card .method-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
  }

  .method-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
  }

  .method-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
  }

  .recommended-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
  }
}

/* FAQ セクションのスタイル */
.faq-section {
  margin: 40px 0;
}

/* 最初のFAQアイテムをデフォルトで開いておく（オプション） */
.faq-item:first-child {
  /* 必要に応じてコメントアウト */
  /* .active と同じスタイルを適用 */
}

.faq-category {
  margin-bottom: 40px;
}

.faq-category h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--border-radius-small);
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(46, 77, 68, 0.05);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(46, 77, 68, 0.1);
}

.faq-question {
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: rgba(248, 249, 252, 0.5);
}

.faq-question h3 {
  flex: 1;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Q.の文字はHTMLのh3内にすでにあるため、CSSで追加しない */

.faq-toggle {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s;
  margin-left: auto;
  cursor: pointer;
  user-select: none;
  line-height: 1;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px 20px 20px;
  display: none;
  overflow: visible;
}

.faq-item.active .faq-answer,
.faq-item.open .faq-answer {
  display: block;
}

/* 回答の直接のpタグもスタイリング */
.faq-answer > p {
  padding: 15px;
  background: rgba(248, 249, 252, 0.5);
  border-radius: var(--border-radius-small);
  color: var(--text-light);
  line-height: 1.8;
  margin: 10px 0;
}

.faq-answer-content {
  padding: 15px;
  background: rgba(248, 249, 252, 0.5);
  border-radius: var(--border-radius-small);
  color: var(--text-light);
  line-height: 1.8;
  margin-left: 30px;
}

/* モバイル用FAQ調整 */
@media (max-width: 767px) {
  .faq-category h3 {
    font-size: 1.1rem;
    padding: 10px 5px;
  }

  .faq-question {
    padding: 15px;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
  }

  .faq-question h3 {
    font-size: 0.95rem;
    line-height: 1.5;
    padding-right: 5px;
    flex: 1;
  }

  .faq-toggle {
    font-size: 1.2rem;
    min-width: 24px;
    text-align: center;
    line-height: 1;
  }

  .faq-answer {
    padding: 0 15px 15px 15px;
  }

  .faq-answer p,
  .faq-answer-content {
    margin-left: 0;
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.7;
    background: rgba(248, 249, 252, 0.5);
    border-radius: var(--border-radius-small);
  }

  .faq-note {
    margin-top: 10px;
    padding: 10px;
    background: rgba(248, 249, 252, 0.7);
    border-radius: 8px;
    font-size: 0.85rem;
  }

  .faq-note ul {
    margin: 5px 0 0 15px;
    padding: 0;
  }

  .faq-note li {
    line-height: 1.6;
  }
}

/* 480px以下の調整 */
@media (max-width: 480px) {
  .faq-question {
    padding: 12px;
  }

  .faq-question h3 {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .faq-toggle {
    font-size: 1rem;
  }

  .faq-answer p,
  .faq-answer-content {
    padding: 10px;
    font-size: 0.85rem;
  }
}

/* カスタムカーソル - 柔らかい印象に */
.cursor {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transition: all 0.15s ease;
  z-index: 9998;
  display: none;
  opacity: 0.6;
}

.cursor-follower {
  width: 10px;
  height: 10px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 9997;
  display: none;
  opacity: 0.8;
}

@media (hover: hover) and (pointer: fine) {
  .cursor, .cursor-follower {
    display: block;
  }
}

/* ヘッダー */
header {
  background: #467E71;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 100%;
  border-bottom: 3px solid #2E4D44;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo img {
  height: 80px;
  width: auto;
}

/* ナビゲーション */
nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  position: relative;
  transition: var(--transition);
  font-size: 17px;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  border-radius: 20px;
}

nav a:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 3px;
}

nav a:hover::after {
  width: 60%;
}

nav a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-weight: 600;
}

nav a.active::after {
  width: 60%;
  background: #FFFFFF;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #FFFFFF;
  margin: 3px 0;
  transition: var(--transition);
}

.hamburger.active span {
  background: var(--primary-color);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* メインコンテンツ */
main {
  margin-top: 0;
  min-height: calc(100vh - 200px);
}

/* ヒーローセクション */
.hero {
  background-image: linear-gradient(rgba(232, 243, 238, 0.9), rgba(184, 212, 204, 0.8)), url('./images/hero-science.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 180px 0 140px;
  margin-top: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: none;
  border-radius: 0 0 50px 50px;
  min-height: 700px;
}

/* 画像が読み込まれない場合のフォールバック */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-gradient);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 10;
  position: relative;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--text-dark);
  margin-bottom: 30px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
  font-family: 'Noto Sans JP', sans-serif;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-light);
  margin-bottom: 45px;
  line-height: 2;
  font-weight: 400;
  letter-spacing: 0.03em;
}

/* セクション共通スタイル */
.section {
  padding: 80px 0;
}

.section.bg-light {
  background: linear-gradient(135deg, #E8F3EE 0%, #B8D4CC 50%, #E8F3EE 100%);
}

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

.section-title {
  text-align: center;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 60px;
  position: relative;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: 'Noto Sans JP', sans-serif;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -5px;  /* ほぼ文字に接触する位置 */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  opacity: 0.8;
}

/* 会社紹介セクション */
.company-intro-section {
  background: linear-gradient(135deg, rgba(232, 243, 238, 0.5) 0%, rgba(70, 126, 113, 0.08) 100%);
  padding: 100px 0;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  text-align: left;
  line-height: 2;
}

.intro-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.intro-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.intro-mission {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius-small);
  border-left: 4px solid var(--primary-color);
}

/* カード - 有機的で柔らかい印象 */
.card {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 24px;
  box-shadow: 0 10px 40px rgba(46, 77, 68, 0.04);
  transition: var(--transition);
  border: 1px solid rgba(127, 170, 146, 0.06);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(74, 124, 89, 0.02) 0%, transparent 70%);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(74, 124, 89, 0.12);
  border-color: rgba(127, 170, 146, 0.12);
}

.card:hover::before {
  opacity: 0.7;
}

/* ボタン - 有機的で柔らかいデザイン */
.btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--secondary-color);
  color: var(--bg-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(70, 126, 113, 0.15);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  font-size: 15px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 35px rgba(70, 126, 113, 0.25);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-white);
  border-color: var(--secondary-color);
  box-shadow: 0 8px 25px rgba(70, 126, 113, 0.15);
}

/* フッター */
footer {
  background: linear-gradient(135deg, #2E4D44, #467E71, #3D6B5E);
  color: #FFFFFF;
  padding: 90px 0 50px;
  position: relative;
  border-radius: 50px 50px 0 0;
  margin-top: 80px;
}

footer::before {
  content: '';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: var(--secondary-color);
  border-radius: 20px;
  opacity: 0.3;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  color: #FFFFFF;
}

.footer-section a {
  color: #FFFFFF;
  text-decoration: none;
  transition: var(--transition);
  font-weight: 400;
}

.footer-section a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;  /* 線との間隔を追加 */
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  color: #FFFFFF;
}

/* ===== レスポンシブデザイン ===== */

/* 1920px以上 - ウルトラワイドディスプレイ */
@media (min-width: 1920px) {
  .section-container {
    max-width: 1600px;
    padding: 0 40px;
  }

  .hero h1 {
    font-size: 4.5rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.6rem;
    max-width: 900px;
    margin: 0 auto 50px;
  }

  .section-title {
    font-size: 3.2rem;
    margin-bottom: 80px;
  }

  .card {
    padding: 50px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
  }
}

/* 1441px〜1919px - ウルトラワイドモニター */
@media (min-width: 1441px) and (max-width: 1919px) {
  .section-container {
    max-width: 1400px;
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 4rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 45px;
  }

  .section-title {
    font-size: 2.8rem;
    margin-bottom: 70px;
  }

  .card {
    padding: 45px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
  }
}

/* 1280px〜1440px - PC・デスクトップ（ワイド） */
@media (min-width: 1280px) and (max-width: 1440px) {
  .section-container {
    max-width: 1200px;
    padding: 0 25px;
  }

  .hero h1 {
    font-size: 3.6rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 2.6rem;
    margin-bottom: 60px;
  }

  .card {
    padding: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
}

/* 1025px〜1279px - PC・デスクトップ（標準） */
@media (min-width: 1025px) and (max-width: 1279px) {
  .section-container {
    max-width: 1000px;
    padding: 0 20px;
  }

  .hero {
    padding: 120px 0;
    margin-top: 0;
    min-height: 550px;
  }

  .hero h1 {
    font-size: 3.2rem;
    line-height: 1.4;
    margin-bottom: 25px;
  }

  .hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
  }

  .section-title {
    font-size: 2.4rem;
    margin-bottom: 50px;
  }

  .card {
    padding: 36px;
  }

  .footer-content {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
  }

  nav a {
    font-size: 16px;
    padding: 9px 14px;
  }
}

/* 768px〜1024px - タブレット（横）〜小型PC */
@media (min-width: 768px) and (max-width: 1024px) {
  .header-container {
    padding: 15px 20px 12px;
  }

  .logo img {
    height: 65px;
  }

  .hero {
    padding: 100px 0;
    margin-top: 0;
    min-height: 500px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.8rem;
    line-height: 1.4;
    margin-bottom: 22px;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    padding: 0 20px;
  }

  .section {
    padding: 70px 0;
  }

  .section-container {
    max-width: 900px;
    padding: 0 20px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 45px;
  }

  .card {
    padding: 32px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  nav a {
    font-size: 15px;
    padding: 8px 12px;
  }

  .btn {
    padding: 14px 35px;
    font-size: 14px;
  }
}

/* 481px〜767px - タブレット（標準） */
@media (min-width: 481px) and (max-width: 767px) {
  .header-container {
    padding: 15px 20px 15px 20px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .logo img {
    height: 60px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 90px 25px;
    gap: 18px;
  }

  nav a {
    font-size: 16px;
    padding: 12px 18px;
    color: var(--text-dark);
  }

  nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  nav a.active {
    background: var(--primary-color);
    color: white;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 80px 0;
    margin-top: 0;
    min-height: 450px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2.4rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 28px;
    padding: 0 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .card {
    padding: 28px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    text-align: left;
  }

  .btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

/* 321px〜480px - スマートフォン（大型）〜タブレット（縦） */
@media (min-width: 321px) and (max-width: 480px) {
  .header-container {
    padding: 12px 15px 12px 15px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .logo img {
    height: 55px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 80px 20px;
    gap: 15px;
  }

  nav a {
    font-size: 15px;
    padding: 10px 15px;
    color: var(--text-dark);
  }

  nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  nav a.active {
    background: var(--primary-color);
    color: white;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 70px 0;
    margin-top: 0;
    min-height: 400px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding: 0 15px;
    line-height: 1.6;
  }

  .section {
    padding: 50px 0;
  }

  .section-container {
    padding: 0 15px;
  }

  .section-title {
    font-size: 1.8rem;
    margin-bottom: 35px;
  }

  .card {
    padding: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .btn {
    padding: 11px 25px;
    font-size: 13px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 200px;
    text-align: center;
  }
}

/* 〜320px - スマートフォン（標準） */
@media (max-width: 320px) {
  .header-container {
    padding: 10px 12px 10px 12px !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .logo img {
    height: 50px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 90%;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 70px 15px;
    gap: 12px;
  }

  nav a {
    font-size: 14px;
    padding: 8px 12px;
    color: var(--text-dark);
  }

  nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
  }

  nav a.active {
    background: var(--primary-color);
    color: white;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 60px 0;
    margin-top: 0;
    min-height: 350px;
    background-attachment: scroll;
  }

  .hero h1 {
    font-size: 1.7rem;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 0.85rem;
    margin-bottom: 20px;
    padding: 0 12px;
    line-height: 1.6;
  }

  .section {
    padding: 40px 0;
  }

  .section-container {
    padding: 0 12px;
  }

  .section-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .card {
    padding: 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .btn {
    padding: 10px 20px;
    font-size: 12px;
    border-radius: 40px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 180px;
    text-align: center;
  }

  .hero-features {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .feature-item {
    font-size: 0.8rem;
  }
}

/* 画像最適化スタイル */
.logo-image {
  height: 50px;
  width: auto;
  display: block;
}

.quality-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* 画像の遅延読み込み中のプレースホルダー */
img[loading="lazy"] {
  background-color: #f0f0f0;
}

/* 価格情報スタイル */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.price-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-large);
  padding: 40px;
  box-shadow: 0 15px 50px rgba(46, 77, 68, 0.04);
  transition: var(--transition);
  border: 1px solid rgba(127, 170, 146, 0.06);
  position: relative;
  overflow: hidden;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  opacity: 0.8;
}

.price-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 70px rgba(74, 124, 89, 0.15);
  border-color: rgba(127, 170, 146, 0.12);
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(127, 170, 146, 0.1);
}

.price-header h3 {
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 600;
}

.price-badge {
  background: var(--primary-color);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(46, 77, 68, 0.2);
  white-space: nowrap;  /* PC表示で改行を防ぐ */
}

.price-badge.special {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

/* モバイルでは改行を許可 */
@media (max-width: 768px) {
  .price-badge {
    white-space: normal;
  }
}

/* モバイルのみで改行を表示 */
.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .mobile-only {
    display: inline;
  }
}

.price-details {
  margin-bottom: 24px;
}

.price-details p {
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.price-range {
  margin-top: 20px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(127, 170, 146, 0.05);
}

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

.quantity {
  font-weight: 600;
  color: var(--primary-color);
}

.unit-price {
  color: var(--text-light);
  font-size: 0.9rem;
}

.total-price {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.price-download {
  background: linear-gradient(135deg, var(--bg-light), #F0EEF9);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  margin-top: 40px;
}

.download-section h3 {
  color: var(--text-dark);
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.download-section p {
  margin-bottom: 24px;
  color: var(--text-light);
}

.price-note {
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-small);
  padding: 24px;
  margin-top: 24px;
  text-align: left;
}

.price-note strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 12px;
}

.price-note ul {
  list-style: none;
  padding: 0;
}

.price-note li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.price-note li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* レスポンシブ画像 */
@media (max-width: 768px) {
  /* 横スクロール完全防止 */
  body, html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* すべての要素の幅制限 */
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* テキストのはみ出し防止 */
  p, li, span, div, h1, h2, h3, h4, h5, h6, a, td, th {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
  }

  .logo-image {
    height: 40px;
  }

  .price-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .price-card {
    padding: 24px;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .price-download {
    padding: 24px;
  }
}

/* 価格コンポーネント - レスポンシブ対応 */

/* 1920px以上 - ウルトラワイドディスプレイ */
@media (min-width: 1920px) {
  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin: 60px 0;
  }

  .price-card {
    padding: 50px;
  }

  .price-header h3 {
    font-size: 1.4rem;
  }

  .price-badge {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .price-details p {
    font-size: 1rem;
  }

  .total-price {
    font-size: 1.2rem;
  }

  .price-download {
    padding: 40px;
  }

  .download-section h3 {
    font-size: 1.5rem;
  }
}

/* 1440px-1919px - デスクトップ（大） */
@media (min-width: 1440px) and (max-width: 1919px) {
  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 28px;
    margin: 50px 0;
  }

  .price-card {
    padding: 44px;
  }

  .price-header h3 {
    font-size: 1.3rem;
  }

  .price-badge {
    padding: 9px 18px;
    font-size: 0.87rem;
  }

  .price-details p {
    font-size: 0.98rem;
  }

  .total-price {
    font-size: 1.15rem;
  }

  .price-download {
    padding: 36px;
  }

  .download-section h3 {
    font-size: 1.4rem;
  }
}

/* 1200px-1439px - デスクトップ（標準） */
@media (min-width: 1200px) and (max-width: 1439px) {
  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 26px;
    margin: 45px 0;
  }

  .price-card {
    padding: 40px;
  }

  .price-header h3 {
    font-size: 1.25rem;
  }

  .price-badge {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .price-details p {
    font-size: 0.95rem;
  }

  .total-price {
    font-size: 1.1rem;
  }

  .price-download {
    padding: 32px;
  }

  .download-section h3 {
    font-size: 1.3rem;
  }
}

/* 992px-1199px - デスクトップ（小）/ラップトップ */
@media (min-width: 992px) and (max-width: 1199px) {
  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
  }

  .price-card {
    padding: 36px;
  }

  .price-header h3 {
    font-size: 1.2rem;
  }

  .price-badge {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .price-details p {
    font-size: 0.9rem;
  }

  .total-price {
    font-size: 1.05rem;
  }

  .price-download {
    padding: 28px;
  }

  .download-section h3 {
    font-size: 1.25rem;
  }
}

/* 768px-991px - タブレット（横） */
@media (min-width: 768px) and (max-width: 991px) {
  .price-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin: 35px 0;
  }

  .price-card {
    padding: 32px;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price-header h3 {
    font-size: 1.15rem;
  }

  .price-badge {
    padding: 6px 12px;
    font-size: 0.78rem;
  }

  .price-details p {
    font-size: 0.88rem;
  }

  .total-price {
    font-size: 1rem;
  }

  .price-download {
    padding: 26px;
  }

  .download-section h3 {
    font-size: 1.2rem;
  }
}

/* 576px-767px - タブレット（縦） */
@media (min-width: 576px) and (max-width: 767px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
  }

  .price-card {
    padding: 28px;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price-header h3 {
    font-size: 1.1rem;
  }

  .price-badge {
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .price-details p {
    font-size: 0.85rem;
  }

  .price-item {
    padding: 10px 0;
  }

  .total-price {
    font-size: 0.95rem;
  }

  .price-download {
    padding: 24px;
  }

  .download-section h3 {
    font-size: 1.15rem;
  }
}

/* 480px-575px - スマートフォン（大） */
@media (min-width: 480px) and (max-width: 575px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 25px 0;
  }

  .price-card {
    padding: 24px;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .price-header h3 {
    font-size: 1.05rem;
  }

  .price-badge {
    padding: 5px 10px;
    font-size: 0.72rem;
  }

  .price-details p {
    font-size: 0.82rem;
  }

  .price-item {
    padding: 8px 0;
  }

  .quantity {
    font-size: 0.9rem;
  }

  .unit-price {
    font-size: 0.8rem;
  }

  .total-price {
    font-size: 0.9rem;
  }

  .price-download {
    padding: 20px;
  }

  .download-section h3 {
    font-size: 1.1rem;
  }
}

/* 〜320px - スマートフォン（標準） */
@media (max-width: 320px) {
  .price-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 20px 0;
  }

  .price-card {
    padding: 20px;
  }

  .price-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .price-header h3 {
    font-size: 1rem;
  }

  .price-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }

  .price-details p {
    font-size: 0.8rem;
  }

  .price-item {
    padding: 6px 0;
  }

  .quantity {
    font-size: 0.85rem;
  }

  .unit-price {
    font-size: 0.75rem;
  }

  .total-price {
    font-size: 0.85rem;
  }

  .price-download {
    padding: 18px;
  }

  .download-section h3 {
    font-size: 1rem;
  }

  .price-note {
    padding: 18px;
  }
}

/* 追加コンポーネント - レスポンシブ対応 */

/* ページヘッダー関連 */
.page-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
  text-align: center;
}

.page-title .subtitle {
  display: block;
  font-size: 0.6em;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 8px;
}

.page-description {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: var(--text-light);
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  white-space: nowrap;  /* PC表示で改行を防ぐ */
}

/* モバイルでは改行を許可 */
@media (max-width: 768px) {
  .page-description {
    white-space: normal;
  }
}

/* パンくずナビ */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 0;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* バリュープロポジション */
.value-proposition {
  margin: 40px 0;
}

.lead-text {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.8;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-item {
  background: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(46, 77, 68, 0.06);
  transition: var(--transition);
  border: 1px solid rgba(127, 170, 146, 0.08);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(74, 124, 89, 0.12);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.value-item h3 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 600;
}

.value-item p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* レスポンシブ対応 - 追加コンポーネント */

/* 1920px以上 - ウルトラワイドディスプレイ */
@media (min-width: 1920px) {
  .page-title {
    font-size: 3.8rem;
    margin-bottom: 30px;
  }

  .page-description {
    font-size: 1.4rem;
    line-height: 1.8;
  }

  .breadcrumb {
    font-size: 1rem;
    padding: 16px 0;
  }

  .lead-text {
    font-size: 1.5rem;
    line-height: 1.9;
    margin-bottom: 50px;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
  }

  .value-item {
    padding: 40px 32px;
  }

  .value-icon {
    font-size: 3rem;
    margin-bottom: 25px;
  }

  .value-item h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .value-item p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}

/* 1440px-1919px - デスクトップ（大） */
@media (min-width: 1440px) and (max-width: 1919px) {
  .page-title {
    font-size: 3.4rem;
    margin-bottom: 28px;
  }

  .page-description {
    font-size: 1.3rem;
    line-height: 1.8;
  }

  .breadcrumb {
    font-size: 0.98rem;
    padding: 15px 0;
  }

  .lead-text {
    font-size: 1.4rem;
    line-height: 1.85;
    margin-bottom: 46px;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
    margin-top: 46px;
  }

  .value-item {
    padding: 36px 28px;
  }

  .value-icon {
    font-size: 2.8rem;
    margin-bottom: 24px;
  }

  .value-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .value-item p {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

/* 1200px-1439px - デスクトップ（標準） */
@media (min-width: 1200px) and (max-width: 1439px) {
  .page-title {
    font-size: 3rem;
    margin-bottom: 25px;
  }

  .page-description {
    font-size: 1.2rem;
    line-height: 1.7;
  }

  .breadcrumb {
    font-size: 0.95rem;
    padding: 14px 0;
  }

  .lead-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 42px;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 42px;
  }

  .value-item {
    padding: 32px 26px;
  }

  .value-icon {
    font-size: 2.6rem;
    margin-bottom: 22px;
  }

  .value-item h3 {
    font-size: 1.25rem;
    margin-bottom: 14px;
  }

  .value-item p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* 992px-1199px - デスクトップ（小）/ラップトップ */
@media (min-width: 992px) and (max-width: 1199px) {
  .page-title {
    font-size: 2.6rem;
    margin-bottom: 22px;
  }

  .page-description {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .breadcrumb {
    font-size: 0.92rem;
    padding: 13px 0;
  }

  .lead-text {
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 38px;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 38px;
  }

  .value-item {
    padding: 28px 24px;
  }

  .value-icon {
    font-size: 2.4rem;
    margin-bottom: 20px;
  }

  .value-item h3 {
    font-size: 1.15rem;
    margin-bottom: 13px;
  }

  .value-item p {
    font-size: 0.95rem;
    line-height: 1.55;
  }
}

/* 768px-991px - タブレット（横） */
@media (min-width: 768px) and (max-width: 991px) {
  .page-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }

  .page-description {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .breadcrumb {
    font-size: 0.9rem;
    padding: 12px 0;
  }

  .lead-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 34px;
  }

  .value-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 34px;
  }

  .value-item {
    padding: 26px 22px;
  }

  .value-icon {
    font-size: 2.2rem;
    margin-bottom: 18px;
  }

  .value-item h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .value-item p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* 576px-767px - タブレット（縦） */
@media (min-width: 576px) and (max-width: 767px) {
  .page-title {
    font-size: 1.9rem;
    margin-bottom: 18px;
  }

  .page-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .breadcrumb {
    font-size: 0.88rem;
    padding: 10px 0;
  }

  .lead-text {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 30px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .value-item {
    padding: 24px 20px;
  }

  .value-icon {
    font-size: 2rem;
    margin-bottom: 16px;
  }

  .value-item h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .value-item p {
    font-size: 0.88rem;
    line-height: 1.45;
  }
}

/* 480px-575px - スマートフォン（大） */
@media (min-width: 480px) and (max-width: 575px) {
  .page-title {
    font-size: 1.7rem;
    margin-bottom: 16px;
  }

  .page-description {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .breadcrumb {
    font-size: 0.85rem;
    padding: 8px 0;
  }

  .lead-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 26px;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 26px;
  }

  .value-item {
    padding: 22px 18px;
  }

  .value-icon {
    font-size: 1.8rem;
    margin-bottom: 14px;
  }

  .value-item h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .value-item p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

/* 〜320px - スマートフォン（標準） */
@media (max-width: 320px) {
  .page-title {
    font-size: 1.5rem;
    margin-bottom: 14px;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .page-description {
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .breadcrumb {
    font-size: 0.8rem;
    padding: 6px 0;
  }

  .lead-text {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 22px;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
  }

  .value-item {
    padding: 20px 16px;
  }

  .value-icon {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .value-item h3 {
    font-size: 0.95rem;
    margin-bottom: 6px;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .value-item p {
    font-size: 0.8rem;
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: normal;
  }
}

/* レイアウト調整とバランス最適化 */

/* セクションコンテナの最適化 */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ページヘッダーのレイアウト調整 */
.page-header {
  background: linear-gradient(135deg, var(--bg-light) 0%, rgba(248, 249, 252, 0.8) 100%);
  padding: 60px 0 60px;
  margin-top: 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(127, 170, 146, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* グリッドレイアウトの改善 */
.services-grid,
.products-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
  align-items: start;
}

/* カードアライメントの改善 */
.card,
.service-card,
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card-content {
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
  padding-top: 15px;
}

/* ボタンのセンタリング調整 */
.btn-center {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* レスポンシブ対応 - レイアウト調整 */

/* 1920px以上 - ウルトラワイドディスプレイ */
@media (min-width: 1920px) {
  .section-container {
    max-width: 1400px;
    padding: 0 40px;
  }

  .page-header {
    padding: 60px 0 60px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 60px 0;
  }

  .btn-group {
    gap: 20px;
    margin: 40px 0;
  }
}

/* 1440px-1919px - デスクトップ（大） */
@media (min-width: 1440px) and (max-width: 1919px) {
  .section-container {
    max-width: 1300px;
    padding: 0 35px;
  }

  .page-header {
    padding: 50px 0 50px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 36px;
    margin: 55px 0;
  }

  .btn-group {
    gap: 18px;
    margin: 36px 0;
  }
}

/* 1200px-1439px - デスクトップ（標準） */
@media (min-width: 1200px) and (max-width: 1439px) {
  .section-container {
    max-width: 1200px;
    padding: 0 30px;
  }

  .page-header {
    padding: 50px 0 50px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 50px 0;
  }

  .btn-group {
    gap: 16px;
    margin: 32px 0;
  }
}

/* 992px-1199px - デスクトップ（小）/ラップトップ */
@media (min-width: 992px) and (max-width: 1199px) {
  .section-container {
    max-width: 960px;
    padding: 0 25px;
  }

  .page-header {
    padding: 50px 0 50px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin: 45px 0;
  }

  .btn-group {
    gap: 14px;
    margin: 28px 0;
  }
}

/* 768px-991px - タブレット（横） */
@media (min-width: 768px) and (max-width: 991px) {
  .section-container {
    max-width: 720px;
    padding: 0 20px;
  }

  .page-header {
    padding: 40px 0 40px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 40px 0;
  }

  .btn-group {
    gap: 12px;
    margin: 24px 0;
  }

  .card-footer {
    padding-top: 16px;
  }
}

/* 576px-767px - タブレット（縦） */
@media (min-width: 576px) and (max-width: 767px) {
  .section-container {
    max-width: 540px;
    padding: 0 16px;
  }

  .page-header {
    padding: 40px 0 40px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 35px 0;
  }

  .btn-group {
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .card-footer {
    padding-top: 14px;
  }
}

/* 480px-575px - スマートフォン（大） */
@media (min-width: 480px) and (max-width: 575px) {
  .section-container {
    padding: 0 14px;
  }

  .page-header {
    padding: 30px 0 30px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 30px 0;
  }

  .btn-group {
    flex-direction: column;
    gap: 8px;
    margin: 18px 0;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .card-footer {
    padding-top: 12px;
  }
}

/* 〜320px - スマートフォン（標準） */
@media (max-width: 320px) {
  .section-container {
    padding: 0 12px;
  }

  .page-header {
    padding: 30px 0 30px;
    margin-top: 0;
  }

  .services-grid,
  .products-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 25px 0;
  }

  .btn-group {
    flex-direction: column;
    gap: 6px;
    margin: 16px 0;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    font-size: 11px;
    padding: 8px 16px;
  }

  .card-footer {
    padding-top: 10px;
  }

  .page-header::before {
    opacity: 0.5;
  }

  /* 極小画面での文字はみ出し完全防止 */
  * {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* 長い単語の強制改行 */
  .product-name,
  .product-description,
  .feature-tag,
  .app-tag,
  .price-badge,
  .status-badge,
  .label {
    word-break: break-all !important;
    hyphens: auto !important;
  }

  /* カード内のパディング最適化 */
  .card,
  .product-card,
  .price-card {
    padding: 15px 8px;
  }

  /* SDGsページ専用調整 */
  .sdg-goal {
    padding: 20px 15px;
  }

  .sdg-content {
    padding: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .sdg-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    word-wrap: break-word;
  }

  .sdg-content h4 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .sdg-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .detail-list {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.85rem;
  }

  .process-text,
  .eco-title {
    font-size: 0.8rem;
  }

  /* はみ出し防止の最終手段 */
  body {
    overflow-x: hidden !important;
  }

  main,
  section,
  div {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* ニュース/ブログアイテムスタイル */
.news-item {
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.news-title {
  font-size: 1.1rem;
  margin: 10px 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.news-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* モバイル用ニュースアイテム調整 */
@media (max-width: 767px) {
  .news-item {
    padding: 15px;
  }

  .news-title {
    font-size: 1rem;
    word-break: keep-all;
    line-height: 1.5;
  }

  .news-excerpt {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .news-title {
    font-size: 0.95rem;
    word-break: break-all;
  }
}

/* SDGアイコンスタイル */
.sdg-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  position: relative;
  flex-shrink: 0;
}

.sdg-icon.goal-3 {
  background-color: #4C9F38;
}

.sdg-icon.goal-12 {
  background-color: #BF8B2E;
}

.sdg-icon.goal-15 {
  background-color: #56C02B;
}

.sdg-icon.goal-17 {
  background-color: #19486A;
}

.goal-number {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 5px;
}

.goal-icon-text {
  font-size: 0.65rem;
  text-align: center;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* モバイル用のSDGアイコン調整 - より積極的な調整 */
@media (max-width: 767px) {
  .sdg-icon {
    width: 90px !important;
    height: 90px !important;
    padding: 8px !important;
  }

  .goal-number {
    font-size: 1.3rem !important;
    margin-bottom: 2px !important;
  }

  .goal-icon-text {
    font-size: 0.45rem !important;
    line-height: 0.9 !important;
    letter-spacing: -0.3px !important;
  }
}

@media (max-width: 480px) {
  .sdg-icon {
    width: 75px !important;
    height: 75px !important;
    padding: 5px !important;
  }

  .goal-number {
    font-size: 1.1rem !important;
    margin-bottom: 1px !important;
  }

  .goal-icon-text {
    font-size: 0.38rem !important;
    line-height: 0.85 !important;
    letter-spacing: -0.5px !important;
    word-break: break-all !important;
  }
}

@media (max-width: 375px) {
  .sdg-icon {
    width: 70px !important;
    height: 70px !important;
    padding: 4px !important;
  }

  .goal-number {
    font-size: 1rem !important;
    margin-bottom: 0 !important;
  }

  .goal-icon-text {
    font-size: 0.35rem !important;
    line-height: 0.8 !important;
  }
}

/* タイムラインスタイル */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.timeline-year {
  background: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 80px;
  text-align: center;
  margin-right: 30px;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 15px rgba(46, 77, 68, 0.08);
  border: 1px solid rgba(127, 170, 146, 0.1);
}

.timeline-content h3 {
  color: var(--text-dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.timeline-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* モバイル用タイムライン調整 */
@media (max-width: 767px) {
  .timeline-item {
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 30px;
  }

  .timeline-year {
    margin-right: 0;
    margin-bottom: 15px;
    align-self: flex-start;
    font-size: 1rem;
    padding: 10px 16px;
    min-width: 70px;
  }

  .timeline-content {
    padding: 20px;
  }

  .timeline-content h3 {
    font-size: 1.1rem;
  }

  /* SDGsページの文字はみ出し対策 */
  .sdg-goal h3,
  .sdg-goal h4,
  .activity-intro,
  .detail-list li,
  .process-text,
  .eco-title,
  .eco-desc {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: keep-all;
    line-break: normal;
    hyphens: auto;
  }

  /* SDGゴールカードのレイアウト改善 */
  .sdg-goal {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  }

  @media (min-width: 768px) {
    .sdg-goal {
      flex-direction: row;
      align-items: flex-start;
    }
  }

  .activity-details {
    padding: 10px;
    background: rgba(248, 249, 252, 0.8);
    border-radius: 8px;
    margin-top: 15px;
  }
}

/* カード内要素の余白調整 */
.card p {
  margin-bottom: 12px;
}

.card h3 {
  margin-bottom: 10px;
}

.card h4 {
  margin-bottom: 8px;
}

.card ul {
  margin: 10px 0;
}

.card li {
  margin-bottom: 6px;
}

.product-info {
  margin-top: 15px;
}

/* 画像がない商品カードの調整 */
.product-card.no-image .product-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 8px !important;
}

.product-card.no-image .product-info {
  margin-top: 8px !important;
}

.product-card.no-image {
  padding-top: 20px !important;
}

.product-card.no-image .product-info p {
  margin-bottom: 8px !important;
}

.product-card.no-image .features {
  margin: 8px 0 !important;
}

.product-card.no-image .applications {
  margin: 8px 0 !important;
}

.product-card.no-image .coa-section {
  margin-top: 10px !important;
}

.product-info p {
  margin-bottom: 10px;
}

.features {
  margin: 10px 0 !important;
}

.applications {
  margin: 12px 0;
}

.coa-section {
  margin-top: 15px;
}

/* 大画面での商品グリッド最適化 */
@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    max-width: none;
  }
}

@media (min-width: 1440px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
  }
}

@media (min-width: 1920px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
  }
}