@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=M+PLUS+Rounded+1c");

/* 基本設定 */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

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

body {
  background-color: #fff;
  margin: 0;
  padding: 0;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  color: #333232;
  line-height: 1.6;
}

/* 基本のボタンスタイル */
.ts-btn {
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid #1a73e8;
  padding: 12px 24px;
  font-size: 16px;
  display: inline-block;
  margin-top: 10px;
}

/* 青ボタン */
.btn--blue {
  background-color: #1a73e8;
  color: #fff !important;
  box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
}

.btn--blue:hover {
  transform: translateY(-2px);
}

/* 白ボタン */
.btn--basic {
  background-color: #fff;
  color: #1a73e8 !important;
  box-shadow: 0 3px 8px rgba(26, 115, 232, 0.15);
}

.btn--basic:hover {
  transform: translateY(-2px);
}

/* 見出し */
h2 {
  position: relative;
  padding: 1.5rem;
  text-align: center;
  font-size: 45px;
  font-weight: bold;
}

h2:before {
  position: absolute;
  bottom: -10px;
  left: calc(50% - 30px);
  width: 60px;
  height: 5px;
  content: "";
  border-radius: 3px;
  background-color: #27acd9;
  margin-bottom: 10px;
}

/* セクション */
.section {
  margin: 60px;
}

.grid {
  display: grid;
  margin: 40px 0;
}

.flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.end {
  align-self: flex-end;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1rem auto;
  width: 100%;
  max-width: 1200px;
}

.btn-center {
  text-align: center;
  margin-top: 1rem;
}

@media screen and (max-width: 768px) {
  .section {
    margin: 20px;
  }
}

.content {
  margin: 50px 10px;
}

.content-text {
  margin: 100px 50px;
}

.content-text h4 {
  margin-bottom: 15px;
}

/* フッター固定レイアウト */
.footer_fixed {
  min-height: 100vh;
  position: relative;
  padding-bottom: 0;
}

footer {
  width: 100%;
  position: relative;
  bottom: auto;
  display: block;
  padding: 0;
}

/* 元のフッターの競合スタイルを無効化 */
footer ul.footer-links {
  display: none;
}

footer>.copyright {
  display: none;
}

/* ユーティリティクラス */
.right {
  text-align: right;
}

.red {
  color: red;
}

.bold {
  font-weight: bold;
}

/* reCAPTCHA バッジの非表示 */
.grecaptcha-badge {
  visibility: hidden;
}

/* Cookie バナー */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 10px;
  text-align: center;
  z-index: 999;
}

#accept-cookies {
  background: #fff;
  color: #333;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 15px;
}

/* ヘッダーのスタイルを完全に整理し直す */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff;
  z-index: 999;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
}

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

/* メニュートグルボタン - デスクトップでは非表示 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 22px;
  position: relative;
  z-index: 2;
}

.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #333;
  left: 0;
  transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
  top: 0;
}

.menu-toggle span:nth-child(2) {
  top: 10px;
}

.menu-toggle span:nth-child(3) {
  top: 20px;
}

/* ナビゲーションメニュー */
.nav_menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav_menu li {
  margin: 0;
  white-space: nowrap;
}

.nav_menu li a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  padding: 5px 0;
  display: inline-block;
  transition: color 0.3s;
}

.nav_menu li a:hover {
  color: #27acd9;
}

/* モバイル対応 (900px以下) */
@media screen and (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
  }

  .nav_menu.active {
    display: flex;
  }

  .nav_menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
  }

  .nav_menu li a {
    display: block;
    width: 100%;
  }
}

/* フッター */
footer {
  width: 100%;
  position: relative;
  bottom: auto;
  display: block;
  padding: 0;
}

/* 元のフッターの競合スタイルを無効化 */
footer ul.footer-links {
  display: none;
}

footer a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s;
}

footer a:hover {
  color: #fff;
}

footer ul {
  display: flex;
  list-style: none;
  padding: 0;
}

.footer-links li+li {
  margin-left: 16px;
}

.copyright {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
  .section {
    margin: 50px 50px 100px 50px;
  }

  .main img,
  .main_contents {
    width: 90%;
    height: 90%;
  }

  h1 {
    font-size: 60px;
  }

  .main h6 {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {

  /* ヘッダー */
  header {
    padding: 10px 20px;
  }
}

/* TSケア詳細情報用カード */
.tscare-card {
  background-color: #f9faff;
  border: 1px solid #d1e3f8;
  border-radius: 12px;
  padding: 30px 40px;
  margin-bottom: 60px;
  box-shadow: 0 4px 12px rgba(39, 172, 217, 0.15);
}

.tscare-card h4 {
  color: #1a73e8;
  margin-bottom: 20px;
  font-weight: 700;
}

.tscare-card h5 {
  color: #2a4d8f;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.tscare-card ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.5;
}

.tscare-card ul li {
  margin-bottom: 10px;
}

.tscare-card p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.tscare-price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tscare-price-item {
  background-color: #e6f0ff;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 2px 8px rgba(39, 172, 217, 0.2);
  text-align: center;
  font-weight: 600;
  color: #1a3d7c;
  transition: background-color 0.3s ease;
}

.tscare-price-item:hover {
  background-color: #c3dbff;
  cursor: default;
}

.tscare-price-item h6 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.tscare-price-item .price {
  font-size: 1.8rem;
  color: #27acd9;
  font-weight: 800;
  margin-top: 5px;
}

.tscare-price-total {
  font-size: 1.5rem;
  font-weight: 900;
  color: #0a1f3a;
  margin-top: 30px;
  text-align: right;
}

.tscare-step-list {
  margin-left: 20px;
  font-size: 1.1rem;
  color: #2a4d8f;
  font-weight: 600;
}

.tscare-step-list li {
  margin-bottom: 12px;
}

.tscare-contact {
  background-color: #d9e9ff;
  border-radius: 12px;
  padding: 25px 30px;
  margin-top: 40px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a3d7c;
  box-shadow: 0 3px 10px rgba(39, 172, 217, 0.25);
}

.tscare-contact a {
  color: #0a2a5a;
  text-decoration: underline;
  font-weight: 800;
}

.tscare-contact a:hover {
  color: #07407a;
}

/* 特徴カード */
.feature-card {
  background-color: #f9faff;
  border: 1px solid #d1e3f8;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(39, 172, 217, 0.15);
  display: flex;
  align-items: center;
}

.feature-card img {
  width: 80px;
  height: 80px;
  margin-right: 20px;
}

.feature-card h4 {
  color: #1a73e8;
  margin-bottom: 10px;
  font-weight: 700;
}

.feature-card p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.tscare-price-item .price {
  font-size: 1.6rem;
  color: #0d2a5a;
  font-weight: 800;
}

footer {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

/* メインビジュアル */
.main {
  height: auto;
  padding: 50px 20px;
}

.main_flex {
  flex-direction: column;
  gap: 30px;
}

.main img {
  width: 200px;
  height: 200px;
}

h1 {
  font-size: 40px;
}

/* セクション */
.section {
  margin: 30px 20px;
}

/* フッター */
footer {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
}

.footer-links {
  flex-direction: column;
  gap: 10px;
}

.footer-links li+li {
  margin-left: 0;
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 46, 95, 0.0);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero h6 {
  font-size: 22px;
  margin-bottom: 30px;
  font-weight: 400;
}

.subtitle {
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

/* CTA Section */
.cta-section {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 0;
  text-align: center;
  margin: 60px 0;
  position: relative;
}

.cta-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 82, 165, 0.8);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  font-weight: 700;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* 導入事例セクション */
.testimonials {
  padding: 20px 0;
  background-color: #f8fbff;
  border-radius: 12px;
}

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

.testimonial-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(39, 172, 217, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(39, 172, 217, 0.2);
}

.testimonial-image {
  height: 200px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-image img {
  transform: scale(1.05);
}

.testimonial-content {
  padding: 25px;
}

.testimonial-content h4 {
  color: #1a73e8;
  margin-bottom: 10px;
  font-size: 22px;
}

.testimonial-role {
  color: #555;
  font-style: italic;
  margin-bottom: 15px;
  font-size: 14px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  position: relative;
}

.testimonial-text::before {
  content: '"';
  font-size: 60px;
  color: rgba(39, 172, 217, 0.1);
  position: absolute;
  left: -15px;
  top: -20px;
}

.testimonial-cta {
  text-align: center;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* アニメーション効果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.testimonial-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.4s;
}

/* 強化されたフッター */
.enhanced-footer {
  background-color: #053366;
  color: #fff;
  padding: 60px 0 0 0;
  position: relative;
  margin-top: 80px;
  width: 100%;
}

.enhanced-footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23053366' d='M0,64L60,58.7C120,53,240,43,360,48C480,53,600,75,720,80C840,85,960,75,1080,64C1200,53,1320,43,1380,37.3L1440,32L1440,100L1380,100C1320,100,1200,100,1080,100C960,100,840,100,720,100C600,100,480,100,360,100C240,100,120,100,60,100L0,100Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  flex: 0 0 250px;
  margin-bottom: 30px;
}

.footer-logo img {
  width: 120px;
  height: auto;
}

.footer-logo p {
  margin-top: 15px;
  font-size: 14px;
  color: #a9c2e8;
}

.footer-links-container {
  display: flex;
  flex-wrap: wrap;
  flex: 1;
  justify-content: space-around;
}

.footer-column {
  flex: 0 0 auto;
  margin-bottom: 30px;
  min-width: 160px;
  /* 最大幅を設定して長いタイトルが適切に折り返されるように */
  max-width: 220px;
}

.footer-column h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  /* 長いタイトルの単語間で折り返しが発生するように */
  word-break: break-word;
  hyphens: auto;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: #27acd9;
}

/* フッターメニューアイテムが縦に表示されるよう修正 */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  /* ブロック表示に変更 */
  width: 100%;
}

.footer-menu li {
  margin-bottom: 12px;
  display: block;
  /* 各アイテムをブロック表示に */
  width: 100%;
}

.footer-menu a {
  color: #a9c2e8;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: block;
  /* リンクもブロック表示に */
  padding: 2px 0;
}

.footer-menu a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-bottom {
  background-color: #042650;
  padding: 20px;
  text-align: center;
  margin-top: 30px;
}

.footer-bottom .copyright {
  color: #a9c2e8;
  font-size: 14px;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-logo {
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-links-container {
    flex-direction: column;
  }

  .footer-column {
    text-align: center;
    margin-bottom: 30px;
    /* スマホサイズの場合は100%幅で中央揃え */
    max-width: 100%;
  }

  .footer-column h4 {
    /* 長いタイトルがうまく折り返されるように設定 */
    font-size: 16px;
    padding: 0 10px;
    line-height: 1.4;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-menu a {
    /* リンクタップ領域を広げる */
    padding: 8px 0;
  }
}

/* お知らせセクションのスタイル */
.news-box {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 46, 95, 0.1);
  padding: 30px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.news h3 {
  color: #1a73e8;
  font-size: 1rem;
  min-width: 100px;
  margin: 0;
  font-weight: 600;
}

.news-title {
  flex-grow: 1;
}

.news-title a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 1.1rem;
  font-weight: 500;
}

.news-title a:hover {
  color: #27acd9;
  text-decoration: underline;
}

/* 機能ハイライトのタブ形式デザイン */
.function-tabs {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
}

.tab-navigation {
  display: flex;
  flex-wrap: wrap;
  background-color: #f5f9ff;
  border-radius: 8px 8px 0 0;
  border-bottom: 2px solid #e6f0ff;
}

.tab-button {
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #555;
  position: relative;
  transition: all 0.3s;
  outline: none;
}

.tab-button:hover {
  color: #1a73e8;
}

.tab-button.active {
  color: #1a73e8;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #1a73e8;
}

.tab-content-container {
  background-color: #fff;
  border-radius: 0 0 8px 8px;
  border: 1px solid #e6f0ff;
  border-top: none;
}

.tab-content {
  display: none;
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.tab-content.active {
  display: flex;
}

.tab-image {
  width: 180px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(39, 172, 217, 0.15);
}

.tab-image img {
  width: 100%;
  height: auto;
  display: block;
}

.tab-details {
  flex-grow: 1;
}

.tab-details h5 {
  font-size: 20px;
  margin-top: 0;
  margin-bottom: 15px;
  color: #1a73e8;
}

.feature-list {
  margin-top: 20px;
  padding-left: 20px;
}

.feature-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 20px;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #27acd9;
  font-weight: bold;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .tab-content {
    flex-direction: column;
  }

  .tab-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
  }
}

/* 価格プランの改善スタイル */
.pricing-container {
  margin: 30px;
}

.pricing-block {
  margin: 30px;
  position: relative;
  padding-left: 30px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.toggle-label {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  padding: 0 15px;
}

.toggle-label.active {
  color: #1a73e8;
}

/* トグルスイッチ */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: #1a73e8;
}

input:focus+.slider {
  box-shadow: 0 0 1px #1a73e8;
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* 価格表テーブル */
.pricing-tables {
  transition: all 0.3s ease;
}

.pricing-tables.hidden {
  display: none;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 46, 95, 0.1);
}

.pricing-table thead th {
  background-color: #f0f5ff;
  color: #1a3d7c;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.pricing-table tbody td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-total {
  background-color: #f0f5ff;
  font-size: 1.1em;
}

/* パッケージカード */
.package-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 25px;
}

.package-card {
  flex: 0 1 280px;
  /* 幅を300pxから280pxに縮小 */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 46, 95, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  font-size: 0.95rem;
  /* フォントサイズを少し小さく */
  padding-bottom: 80px;
  /* ボタンの高さ分の余白 */
}

.package-card:hover {
  transform: translateY(-3px);
  /* ホバー時の浮き上がり効果を少し控えめに */
  box-shadow: 0 5px 20px rgba(0, 46, 95, 0.15);
}

.package-card.featured {
  border: 2px solid #1a73e8;
  transform: scale(1.03);
  /* 拡大率を1.05から1.03に控えめに */
}

.package-card.featured:hover {
  transform: translateY(-3px) scale(1.03);
}

.package-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #1a73e8;
  color: #fff;
  padding: 4px 12px;
  /* パディングを少し小さく */
  font-size: 12px;
  /* フォントサイズを小さく */
  font-weight: 600;
  border-radius: 0 0 0 8px;
}

.package-header {
  background-color: #f0f5ff;
  padding: 20px 15px;
  /* パディングを少し小さく */
  text-align: center;
}

.package-header h5 {
  font-size: 20px;
  /* フォントサイズを小さく */
  margin: 0 0 12px;
  color: #1a3d7c;
}

.package-price {
  margin: 8px 0;
}

.price-amount {
  font-size: 22px;
  /* 価格のフォントサイズを小さく */
  font-weight: 700;
  color: #1a73e8;
  display: block;
}

.price-period {
  font-size: 13px;
  /* 期間表示を小さく */
  color: #666;
}

.package-features {
  padding: 20px;
  /* パディングを小さく */
}

.package-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package-features li {
  padding: 8px 0;
  /* パディングを小さく */
  border-bottom: 1px solid #eee;
  color: #444;
  font-size: 0.9rem;
  /* 機能一覧のフォントサイズを小さく */
}

.package-features li:last-child {
  border-bottom: none;
}

.package-button {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 0 20px;
}

.package-button .ts-btn {
  display: block;
}

.pricing-note {
  text-align: center;
  margin-top: 20px;
  color: #666;
}

/* 導入ステップのプロセスフロー */
.implementation-steps {
  margin: 40px 0;
}

.step-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  position: relative;
  margin: 20px 0;
}

.step-item {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 15px;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: #1a73e8;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  z-index: 2;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(39, 172, 217, 0.2);
}

.step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-content h6 {
  font-size: 18px;
  margin: 0 0 10px;
  color: #1a3d7c;
}

.step-content p {
  font-size: 14px;
  color: #444;
}

.step-duration {
  background-color: #e6f0ff;
  color: #1a73e8;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
  margin-top: 10px;
}

.step-connector {
  flex-grow: 0;
  flex-shrink: 0;
  width: 40px;
  position: relative;
  margin-top: 20px;
}

.step-connector::before {
  content: "";
  position: absolute;
}

.step-connector::after {
  content: "→";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  color: #1a73e8;
  font-size: 20px;
}

@media (max-width: 992px) {
  .step-flow {
    flex-direction: column;
  }

  .step-item {
    width: 100%;
    margin-bottom: 40px;
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
  }

  .step-connector::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
  }

  .step-connector::after {
    content: "↓";
    top: 50%;
    left: 0;
    transform: translateY(-50%);
  }
}

/* タブコンテンツのJavaScriptを追加する前にデフォルト表示を設定 */
.tab-content {
  display: none;
}

.tab-content.active {
  display: flex;
}

/* パッケージ価格表示のデフォルト状態 */
#module-pricing {
  display: block;
}

#package-pricing {
  display: none;
}

/* モジュールカードのスタイル */
.module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.module-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 46, 95, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 46, 95, 0.15);
}

.module-header {
  background-color: #f0f5ff;
  padding: 15px;
  text-align: center;
  border-bottom: 2px solid #d1e3f8;
}

.module-header h5 {
  font-size: 20px;
  margin: 0;
  color: #1a3d7c;
}

.module-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.module-description {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 500;
}

.module-features {
  flex-grow: 1;
  margin-bottom: 20px;
}

.module-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-features li {
  padding: 6px 0;
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: #555;
}

.module-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-weight: bold;
}

.module-price-row {
  display: flex;
  justify-content: space-between;
  background-color: #f9faff;
  padding: 15px;
  border-radius: 8px;
  border: 1px solid #e6f0ff;
}

.module-price {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.price-label {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 5px;
}

.price-amount {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a73e8;
}

/* 合計金額表示カード */
.pricing-total-card {
  background-color: #e6f0ff;
  padding: 15px 20px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 50px;
  box-shadow: 0 3px 10px rgba(0, 46, 95, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a3d7c;
}

.total-prices {
  display: flex;
  gap: 25px;
}

.total-price {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.total-price-label {
  font-size: 0.8rem;
  color: #555;
  margin-bottom: 5px;
}

.total-price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a3d7c;
}

@media (max-width: 768px) {
  .module-cards {
    grid-template-columns: 1fr;
  }

  .pricing-total-card {
    flex-direction: column;
    gap: 15px;
  }

  .total-prices {
    width: 100%;
    justify-content: space-around;
  }
}

/* パッケージカードのチェックマークとバツマーク */
.check-icon:before {
  content: "✓";
  color: #2ecc71;
  font-weight: bold;
  margin-right: 8px;
  font-size: 1.1rem;
}

.x-icon:before {
  content: "✕";
  color: #e74c3c;
  font-weight: bold;
  margin-right: 8px;
  font-size: 1rem;
}

/* セクションブロックのスタイル */
.section-block {
  margin: 50px 0;
  position: relative;
  padding-left: 30px;
  border-left: 4px solid #e6f0ff;
}

.section-icon {
  position: absolute;
  left: -20px;
  /* -22pxから-20pxに調整 */
  top: 0;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(39, 172, 217, 0.2);
  z-index: 2;
}

/* アイコンサイズも調整して中央に表示されるようにする */
.section-icon i {
  display: block;
  width: 20px;
  /* 24pxから20pxに調整 */
  height: 20px;
  /* 24pxから20pxに調整 */
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* アイコン画像を設定 */
.concept-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M2 6a6 6 0 1 1 10.174 4.31c-.203.196-.359.4-.453.619l-.762 1.769A.5.5 0 0 1 10.5 13a.5.5 0 0 1 0 1 .5.5 0 0 1 0 1l-.224.447a1 1 0 0 1-.894.553H6.618a1 1 0 0 1-.894-.553L5.5 15a.5.5 0 0 1 0-1 .5.5 0 0 1 0-1 .5.5 0 0 1-.46-.302l-.761-1.77a1.964 1.964 0 0 0-.453-.618A5.984 5.984 0 0 1 2 6zm6-5a5 5 0 0 0-3.479 8.592c.263.254.514.564.676.941L5.83 12h4.342l.632-1.467c.162-.377.413-.687.676-.941A5 5 0 0 0 8 1z'/%3E%3C/svg%3E");
}

.solution-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M7.657 6.247c.11-.33.576-.33.686 0l.645 1.937a2.89 2.89 0 0 0 1.829 1.828l1.936.645c.33.11.33.576 0 .686l-1.937.645a2.89 2.89 0 0 0-1.828 1.829l-.645 1.936a.361.361 0 0 1-.686 0l-.645-1.937a2.89 2.89 0 0 0-1.828-1.828l-1.937-.645a.361.361 0 0 1 0-.686l1.937-.645a2.89 2.89 0 0 0 1.828-1.828l.645-1.937zM3.794 1.148a.217.217 0 0 1 .412 0l.387 1.162c.173.518.579.924 1.097 1.097l1.162.387a.217.217 0 0 1 0 .412l-1.162.387A1.734 1.734 0 0 0 4.593 5.69l-.387 1.162a.217.217 0 0 1-.412 0L3.407 5.69A1.734 1.734 0 0 0 2.31 4.593l-1.162-.387a.217.217 0 0 1 0-.412l1.162-.387A1.734 1.734 0 0 0 3.407 2.31l.387-1.162zM10.863.099a.145.145 0 0 1 .274 0l.258.774c.115.346.386.617.732.732l.774.258a.145.145 0 0 1 0 .274l-.774.258a1.156 1.156 0 0 0-.732.732l-.258.774a.145.145 0 0 1-.274 0l-.258-.774a1.156 1.156 0 0 0-.732-.732L9.1 2.137a.145.145 0 0 1 0-.274l.774-.258c.346-.115.617-.386.732-.732L10.863.1z'/%3E%3C/svg%3E");
}

.features-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M14 1a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-2.5a2 2 0 0 0-1.6.8L8 14.333 6.1 11.8a2 2 0 0 0-1.6-.8H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h12zM2 0a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h2.5a1 1 0 0 1 .8.4l1.9 2.533a1 1 0 0 0 1.6 0l1.9-2.533a1 1 0 0 1 .8-.4H14a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2z'/%3E%3Cpath d='M5 6a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0z'/%3E%3C/svg%3E");
}

.pricing-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M0 5a5.002 5.002 0 0 0 4.027 4.905 6.46 6.46 0 0 1 .544-2.073C3.695 7.536 3.132 6.864 3 5.91h-.5v-.426h.466V5.05c0-.046 0-.093.004-.135H2.5v-.427h.511C3.236 3.24 4.213 2.5 5.681 2.5c.316 0 .59.031.819.085v.733a3.46 3.46 0 0 0-.815-.082c-.919 0-1.538.466-1.734 1.252h1.917v.427h-1.98c-.003.046-.003.097-.003.147v.422h1.983v.427H3.93c.118.602.468 1.03 1.005 1.229a6.5 6.5 0 0 1 4.97-3.113A5.002 5.002 0 0 0 0 5zm16 5.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0zm-7.75 1.322c.069.835.746 1.485 1.964 1.562V14h.54v-.62c1.259-.086 1.996-.74 1.996-1.69 0-.865-.563-1.31-1.57-1.54l-.426-.1V8.374c.54.06.884.347.966.745h.948c-.07-.804-.779-1.433-1.914-1.502V7h-.54v.629c-1.076.103-1.808.732-1.808 1.622 0 .787.544 1.288 1.45 1.493l.358.085v1.78c-.554-.08-.92-.376-1.003-.787H8.25zm1.96-1.895c-.532-.12-.82-.364-.82-.732 0-.41.311-.719.824-.809v1.54h-.005zm.622 1.044c.645.145.943.38.943.796 0 .474-.37.8-1.02.86v-1.674l.077.018z'/%3E%3C/svg%3E");
}

.package-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5V2zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1H4z'/%3E%3C/svg%3E");
}

.steps-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M6 12.5a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 0 1H6.5a.5.5 0 0 1-.5-.5ZM3 8.062C3 6.76 4.235 5.765 5.53 5.886a26.58 26.58 0 0 0 4.94 0C11.765 5.765 13 6.76 13 8.062v1.157a.933.933 0 0 1-.765.935c-.845.147-2.34.346-4.235.346-1.895 0-3.39-.2-4.235-.346A.933.933 0 0 1 3 9.219V8.062Zm4.542-.827a.25.25 0 0 0-.217.068l-.92.9a24.767 24.767 0 0 1-1.871-.183.25.25 0 0 0-.068.495c.55.076 1.232.149 2.02.193a.25.25 0 0 0 .189-.071l.754-.736.847 1.71a.25.25 0 0 0 .404.062l.932-.97a25.286 25.286 0 0 0 1.922-.188.25.25 0 0 0-.068-.495c-.538.074-1.207.145-1.98.189a.25.25 0 0 0-.166.076l-.754.785-.842-1.7a.25.25 0 0 0-.182-.135Z'/%3E%3Cpath d='M8.5 1.866a1 1 0 1 0-1 0V3h-2A4.5 4.5 0 0 0 1 7.5V8a1 1 0 0 0-1 1v2a1 1 0 0 0 1 1v1a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-1a1 1 0 0 0 1-1V9a1 1 0 0 0-1-1v-.5A4.5 4.5 0 0 0 10.5 3h-2V1.866ZM14 7.5V13a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V7.5A3.5 3.5 0 0 1 5.5 4h5A3.5 3.5 0 0 1 14 7.5Z'/%3E%3C/svg%3E");
}

.security-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2z'/%3E%3C/svg%3E");
}

.company-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694 1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z'/%3E%3Cpath d='M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z'/%3E%3C/svg%3E");
}

.agency-benefits-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5A1.5 1.5 0 0 1 7.5 2h1A1.5 1.5 0 0 1 10 3.5v1A1.5 1.5 0 0 1 8.5 6v1H14a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0V8h-5v.5a.5.5 0 0 1-1 0v-1A.5.5 0 0 1 2 7h5.5V6A1.5 1.5 0 0 1 6 4.5v-1zm-6 8A1.5 1.5 0 0 1 1.5 10h1A1.5 1.5 0 0 1 4 11.5v1A1.5 1.5 0 0 1 2.5 14h-1A1.5 1.5 0 0 1 0 12.5v-1zm6 0A1.5 1.5 0 0 1 7.5 10h1a1.5 1.5 0 0 1 1.5 1.5v1A1.5 1.5 0 0 1 8.5 14h-1A1.5 1.5 0 0 1 6 12.5v-1zm6 0a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v1a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5v-1z'/%3E%3C/svg%3E");
}

.agency-requirements-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M14.5 3a.5.5 0 0 1 .5.5v9a.5.5 0 0 1-.5.5h-13a.5.5 0 0 1-.5-.5v-9a.5.5 0 0 1 .5-.5h13zm-13-1A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2h-13z'/%3E%3Cpath d='M7 5.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 1 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0zM7 9.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 0 1h-5a.5.5 0 0 1-.5-.5zm-1.496-.854a.5.5 0 0 1 0 .708l-1.5 1.5a.5.5 0 0 1-.708 0l-.5-.5a.5.5 0 0 1 .708-.708l.146.147 1.146-1.147a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

.section-title {
  margin-top: 8px;
  color: #1a73e8;
  font-size: 24px;
  font-weight: 700;
  border-bottom: 0;
  padding-bottom: 0;
  position: relative;
  display: inline-block;
}

/* --- Pamphlet Migration Styles (Additive) --- */
/* Scoped to .pamphlet-section to prevent leaking styles to existing site */

.pamphlet-section {
  background-color: #fff;
  color: #333232;
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 60px;
  border-top: 1px solid #eee;
}

.pamphlet-section :root {
  --primary-color: #1a73e8;
  --secondary-color: #27acd9;
  --text-color: #333232;
  --bg-color: #FFFFFF;
  --light-bg-color: #f9faff;
  --accent-color: #e6f0ff;
}

/* Banner / Header for the section */
.group-inspection-banner {
  background-color: #f0f7ff;
  border: 1px solid #cce0ff;
  background-image: none;
  color: #1a3d7c;
  padding: 50px 20px;
  text-align: center;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1200px;
}

.group-inspection-banner h2 {
  font-size: 2.2rem;
  color: #1a73e8 !important;
  margin-bottom: 10px;
  border-bottom: none;
}

.group-inspection-banner h2::before {
  display: none;
  /* Remove default underline style of site h2 */
}

.group-inspection-banner p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Problems */
.pamphlet-section .problems {
  padding: 60px 5%;
  background-color: #f9faff;
}

.pamphlet-section .problems-content {
  display: flex;
  max-width: 1100px;
  margin: 0 auto;
  gap: 50px;
}

.pamphlet-section .problems-left {
  flex: 1;
}

.pamphlet-section .problems-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pamphlet-section .section-title {
  font-size: 2rem;
  color: #1a73e8;
  border-bottom: 2px solid #27acd9;
  padding-bottom: 10px;
  margin-bottom: 30px;
  display: inline-block;
}

.pamphlet-section .problem-list {
  list-style: none;
  padding: 0;
}

.pamphlet-section .problem-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  text-align: left;
}

.pamphlet-section .problem-list li::before {
  content: "●";
  color: #FF6666;
  position: absolute;
  left: 0;
}

.pamphlet-section .problem-card {
  background: white;
  border-left: 5px solid #27acd9;
  padding: 15px 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin-bottom: 15px;
}

.pamphlet-section .p-card-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a73e8;
}

.pamphlet-section .problem-summary {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  width: 100%;
  text-align: center;
  color: #1a73e8;
  font-weight: bold;
}

/* Overview / Concept */
.pamphlet-section .overview {
  padding: 60px 20px;
  text-align: center;
}

.pamphlet-section .concept-diagram {
  display: flex;
  justify-content: center;
  align-items: center;
  /* Vertical alignment */
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pamphlet-section .diagram-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.pamphlet-section .diagram-icon-square {
  width: 80px;
  height: 80px;
  background-color: #e6f0ff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #1a73e8;
}

.pamphlet-section .diagram-cloud {
  background-color: #1a73e8;
  color: white;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /* Circle looks better on web */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 102, 204, 0.3);
}

.pamphlet-section .diagram-arrow {
  font-size: 2rem;
  color: #ccc;
}

/* Features */
.pamphlet-section .features {
  padding: 60px 20px;
  background-color: #ffff;
}

.pamphlet-section .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pamphlet-section .feature-item {
  background: #f9faff;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.pamphlet-section .feature-image-container {
  height: 180px;
  background: #eee;
  margin-bottom: 15px;
  border-radius: 4px;
  overflow: hidden;
}

.pamphlet-section .feature-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.pamphlet-section .f-title {
  color: #1a73e8;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Merits */
.pamphlet-section .merits {
  padding: 60px 20px;
  background-color: #fdfdfd;
}

.pamphlet-section .merits-infographic {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.pamphlet-section .merit-group {
  flex: 1;
  min-width: 300px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  background: white;
}

.pamphlet-section .merit-header {
  background: #1a73e8;
  color: white;
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: bold;
}

.pamphlet-section .merit-header.right-header {
  background: #27acd9;
}

.pamphlet-section .merit-box {
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.pamphlet-section .merit-box:last-child {
  border-bottom: none;
}

/* Existing icon classes mapping */
.site-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
}

.company-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M14.763.075A.5.5 0 0 1 15 .5v15a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5V14h-1v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V10a.5.5 0 0 1 .342-.474L6 7.64V4.5a.5.5 0 0 1 .276-.447l8-4a.5.5 0 0 1 .487.022zM6 8.694 1 10.36V15h5V8.694zM7 15h2v-1.5a.5.5 0 0 1 .5-.5h2a.5.5 0 0 1 .5.5V15h2V1.309l-7 3.5V15z'/%3E%3Cpath d='M2 11h1v1H2v-1zm2 0h1v1H4v-1zm-2 2h1v1H2v-1zm2 0h1v1H4v-1zm4-4h1v1H8V9zm2 0h1v1h-1V9zm-2 2h1v1H8v-1zm2 0h1v1h-1v-1zm2-2h1v1h-1V9zm0 2h1v1h-1v-1zM8 7h1v1H8V7zm2 0h1v1h-1V7zm2 0h1v1h-1V7zM8 5h1v1H8V5zm2 0h1v1h-1V5zm2 0h1v1h-1V5zm0-2h1v1h-1V3z'/%3E%3C/svg%3E");
}

.microscope-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}

.concept-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%231a73e8' viewBox='0 0 16 16'%3E%3Cpath d='M2 6a6 6 0 1 1 10.174 4.31c-.203.196-.359.4-.453.619l-.762 1.769A.5.5 0 0 1 10.5 13a.5.5 0 0 1 0 1 .5.5 0 0 1 0 1l-.224.447a1 1 0 0 1-.894.553H6.618a1 1 0 0 1-.894-.553L5.5 15a.5.5 0 0 1 0-1 .5.5 0 0 1 0-1 .5.5 0 0 1-.46-.302l-.761-1.77a1.964 1.964 0 0 0-.453-.618A5.984 5.984 0 0 1 2 6zm6-5a5 5 0 0 0-3.479 8.592c.263.254.514.564.676.941L5.83 12h4.342l.632-1.467c.162-.377.413-.687.676-.941A5 5 0 0 0 8 1z'/%3E%3C/svg%3E");
}


/* Responsive */
@media (max-width: 768px) {

  .pamphlet-section .problems-content,
  .pamphlet-section .merits-infographic {
    flex-direction: column;
  }

  .pamphlet-section .diagram-arrow {
    transform: rotate(90deg);
  }
}

/* コンパクトモジュールカード（拡張機能用） */
.compact-module-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

.compact-module-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 46, 95, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e6f0ff;
}

.compact-module-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 46, 95, 0.12);
}

.compact-module-header {
  background-color: #f5f9ff;
  padding: 12px 15px;
  text-align: center;
  border-bottom: 1px solid #d1e3f8;
}

.compact-module-header h5 {
  font-size: 16px;
  margin: 0;
  color: #1a3d7c;
  font-weight: 600;
}

.compact-module-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.compact-module-description {
  color: #444;
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.compact-module-features {
  flex-grow: 1;
  margin-bottom: 15px;
}

.compact-module-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.compact-module-features li {
  padding: 4px 0;
  position: relative;
  padding-left: 15px;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.4;
}

.compact-module-features li:before {
  content: "・";
  position: absolute;
  left: 0;
  color: #1a73e8;
  font-weight: bold;
}

/* 価格表示を行単位でコンパクトに */
.compact-price-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background-color: #f9faff;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #e6f0ff;
}

.compact-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.compact-price-label {
  color: #666;
  font-size: 0.8rem;
}

.compact-price-amount {
  font-weight: 700;
  color: #1a73e8;
  font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .compact-module-cards {
    grid-template-columns: 1fr;
  }
}

/* 料金構造の説明セクション */
.cost-structure-section {
  margin: 40px auto;
  max-width: 900px;
  padding: 0 20px;
}

.cost-structure-box {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 46, 95, 0.1);
  padding: 30px;
  border: 1px solid #e6f0ff;
}

.cost-flow {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.cost-element {
  flex: 1;
  min-width: 200px;
  background-color: #f5f9ff;
  border: 2px solid #1a73e8;
  border-radius: 10px;
  padding: 20px 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a73e8;
  margin-bottom: 10px;
}

.c-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.c-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #aaa;
  width: 30px;
}

.cost-message {
  text-align: center;
  background-color: #fff8e1;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #ffe082;
}

.cost-message p {
  margin: 0;
  font-size: 1rem;
  color: #5d4037;
  line-height: 1.6;
}

.cost-message strong {
  color: #e65100;
  background: linear-gradient(transparent 60%, #ffecb3 60%);
}

@media (max-width: 768px) {
  .cost-flow {
    flex-direction: column;
    align-items: center;
  }

  .c-plus {
    transform: rotate(90deg);
    margin: 10px 0;
  }

  .cost-element {
    width: 100%;
  }
}