/* =================================================================
   基本設定 (Base & Variables)
   ================================================================= */
:root {
  --primary-color: #68b42d;
  --primary-color-dark: #5aa025;
  --text-color: #333;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --font-family: 'Noto Sans JP', sans-serif;
}

/* --- Global Resets & Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.8;
  color: var(--text-color);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary-color-dark);
  outline-offset: 3px;
  border-radius: 4px;
}


/* =================================================================
   レイアウト & ヘルパー (Layout & Helpers)
   ================================================================= */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 30px 0;
  overflow: hidden;
}

.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

/* --- Typography Helpers --- */
h2.section-title {
  margin-bottom: 20px;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.05em;
}

.section-subtitle {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  text-align: center;
}

.highlight {
  color: var(--primary-color);
  font-weight: 700;
}

.highlight-number {
  display: inline-block;
  margin: 0 0.1em;
  color: var(--primary-color);
  font-size: 1.5em;
  font-weight: 900;
  transform: translateY(0.05em);
}


/* =================================================================
   汎用コンポーネント (Components)
   ================================================================= */
/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  background: var(--primary-color);
  color: white;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(104, 180, 45, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: var(--primary-color-dark);
  border-color: var(--primary-color-dark);
  box-shadow: 0 6px 20px rgba(104, 180, 45, 0.3);
  transform: translateY(-3px);
}

.cta-button.large {
  padding: 18px 50px;
  font-size: 1.1rem;
}

.cta-button-outline {
  color: var(--primary-color);
  background: #fff;
}

.cta-button-outline:hover,
.cta-button-outline:active {
  color: #fff;
  background: var(--primary-color);
  box-shadow: 0 6px 20px rgba(104, 180, 45, 0.2);
  transform: translateY(-3px);
}

/* --- Scroll Animation --- */
.scroll-trigger {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-trigger.visible {
  opacity: 1;
  transform: translateY(0);
}

.problem-card.scroll-trigger:nth-child(2),
.framework-step:nth-child(2) {
  transition-delay: 0.1s;
}

.problem-card.scroll-trigger:nth-child(3),
.framework-step:nth-child(3) {
  transition-delay: 0.2s;
}

.problem-card.scroll-trigger:nth-child(4) {
  transition-delay: 0.3s;
}

.problem-card.scroll-trigger:nth-child(5) {
  transition-delay: 0.4s;
}


/* =================================================================
   ヘッダー (Header)
   ================================================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0px 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

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

.logo-image {
  width: auto;
  height: 70px;
}

.header-cta-group {
  display: flex;
  gap: 10px;
}


/* =================================================================
   各セクションのスタイル
   ================================================================= */
/* --- ファーストビュー (Hero) --- */
.hero {
  position: relative;
  padding: 100px 0 40px 0;
  background: linear-gradient(145deg, #f0f3ed 58%, #ffffff 58%);
}

.hero-container-flex {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content-left {
  flex: 1.2;
  text-align: left;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.hero-content-left h1 {
  margin-bottom: 20px;
  color: #1A202C;
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.45;
}

.price-highlight {
  padding: 0 0.2em;
  background: linear-gradient(transparent 65%, #a6e97a 65%);
}

.title-divider {
  width: 80px;
  height: 4px;
  margin: 0 0 25px 0;
  border: none;
  border-radius: 2px;
  background-color: var(--primary-color);
}

.hero-features {
  margin: 0 0 20px 0;
}

.hero-features ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 0;
  list-style: none;
}

.hero-features li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px 5px;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #fff;
  font-size: 1.0rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-features li:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(104, 180, 45, 0.12);
  transform: translateY(-4px);
}

.hero-features svg {
  width: 32px;
  height: 32px;
  color: var(--primary-color);
}

.hero-features strong {
  color: var(--primary-color);
  font-weight: 700;
}

.hero-credibility-logos {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 30px 0;
}

.awards-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

.awards-logo-fv {
  width: auto;
  height: 110px;
}

.hero-content-left .google-partner img {
  width: auto;
  height: 110px;
}

.hero-cta-group-horizontal {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 25px;
}

.hero-form-right {
  flex: 1;
  min-width: 380px;
  max-width: 420px;
}

.hero-form-wrapper {
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.hero-form-wrapper .form-title {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.hero-form-wrapper .form-subtitle {
  margin-bottom: 0px;
  color: #555;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.hs-form-frame {
  width: 100% !important;
  height: 520px !important;
}

.hero-form-wrapper .form-note {
  margin-top: 15px;
  color: #777;
  font-size: 0.75rem;
  text-align: center;
}


/* --- 課題提起 (Problems) --- */
.problems {
  padding-bottom: 0;
  background-color: #fff;
}

.problems .section-title {
  margin-bottom: 0px;
}

.problem-mindmap-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: 40px auto;
  aspect-ratio: 1 / 1;
}

.mindmap-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  stroke: #e0e0e0;
  stroke-width: 2;
  z-index: 1;
}

.mindmap-center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 17%;
  aspect-ratio: 1 / 1;
  border: 5px solid #fff;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  box-shadow: 0 0 0 3px var(--primary-color);
  transform: translate(-50%, -50%);
  z-index: 3;
}

.mindmap-center img {
  width: 80px;
  height: 80px;
}

.mindmap-node {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 2;
}

.mindmap-node:hover {
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 3;
}

/* Node Positions */
#node1 { top: 15%; left: 50%; } /* Top */
#node2 { top: 35%; left: 87%; } /* Top-Right */
#node3 { top: 81%; left: 74%; } /* Bottom-Right */
#node4 { top: 81%; left: 26%; } /* Bottom-Left */
#node5 { top: 35%; left: 13%; } /* Top-Left */

.node-icon {
  margin-bottom: 0px;
  color: var(--primary-color);
}

.node-icon img {
  width: 100px;
  height: 100px;
}

.node-text h4 {
  margin-bottom: 0px;
  color: var(--text-color);
  font-size: 1.15rem;
  font-weight: 700;
}

.node-text p {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.5;
}


/* --- 課題から解決への転換ブロック --- */
.transition-wrapper {
  max-width: 800px;
  margin: 0 auto 50px;
  padding: 40px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.transition-problem-statement {
  position: relative;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.6;
}

.transition-problem-statement::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background-color: var(--border-color);
  transform: translateX(-50%);
}

.transition-wrapper .solution-catchphrase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 20px 0;
}

.solution-catchphrase .catchphrase-line-1 {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5em;
  width: 100%;
}

.solution-catchphrase .catchphrase-line-2 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.solution-catchphrase .brand-emphasis.brand-logo {
  display: block;
  height: 100px;
  width: auto;
  margin: 0;
  padding: 15px 30px;
  border-radius: 16px;
  background-image: linear-gradient(160deg, #84d44a, #5aa025);
  color: white;
  box-shadow: 0 8px 20px rgba(89, 160, 37, 0.3);
}

.solution-catchphrase .phrase-left,
.solution-catchphrase .phrase-right {
  display: block;
  font-size: 1.8rem;
  font-weight: 500;
}

.solution-catchphrase .phrase-left {
  justify-self: end;
  text-align: right;
}

.solution-catchphrase .phrase-right {
  justify-self: start;
  text-align: left;
}


/* --- 結論から次セクションへの転換ブロック --- */
.transition-block {
  padding: 20px 0;
  background-color: #fff;
  text-align: center;
}

.transition-block .solution-conclusion {
  margin-top: 0;
  margin-bottom: 40px;
}

.transition-block .solution-conclusion p {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
}

.transition-pre-title {
  color: #555;
  font-size: 1.1rem;
  font-weight: 500;
}


/* --- 選ばれる理由 (Solution / Framework) --- */
.solution-story-wrapper {
  padding: 60px 0 20px;
  background-color: var(--light-gray);
}

.solution-story-wrapper .section-subtitle {
  max-width: 900px;
}

.framework-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-top: 50px;
}

.framework-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-label {
  align-self: center;
  margin-bottom: 20px;
  padding: 5px 15px;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.step-icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
}

.step-icon-wrapper img {
  width: 80px;
  height: 80px;
}

.step-content h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-weight: 700;
}

.step-content p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
}

.framework-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
}

.framework-arrow svg {
  width: 40px;
  height: 40px;
}

.solution-conclusion {
  margin-top: 60px;
  text-align: center;
}

.solution-conclusion p {
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
}

.solution-conclusion .cta-button {
  margin-top: 30px;
}

.video-button-wrapper {
  margin-top: 40px;
  text-align: center;
}

.video-play-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  background-color: #fff;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-play-button:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 6px 20px rgba(104, 180, 45, 0.2);
  transform: translateY(-3px);
}

.video-play-button .play-icon {
  width: 20px;
  height: 20px;
}


/* --- 選ばれる理由タブセクション (Reasons Tab) --- */
.reasons-tab-section {
  padding: 20px 0;
  background-color: var(--light-gray);
}

.reasons-title {
  position: relative;
  margin-bottom: 40px !important;
  padding-bottom: 25px;
}

.reasons-title .title-pre {
  display: block;
  margin-bottom: 25px;
  color: #555;
  font-size: 1.1rem;
  font-weight: 500;
}

.reasons-title .highlight-number {
  font-size: 1.4em;
}

.reasons-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--primary-color);
  transform: translateX(-50%);
}

.reason-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.reason-tab-card {
  position: relative;
  padding: 25px 50px 25px 25px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: all 0.3s ease;
}

.reason-tab-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
  transform: translateY(-5px);
}

.reason-tab-card.active {
  border-color: var(--primary-color);
  background-color: #f7faf5;
  box-shadow: 0 8px 25px rgba(104, 180, 45, 0.1);
  transform: translateY(-5px);
}

.reason-number {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 700;
}

.reason-tab-card h4 {
  margin: 0 0 8px 0;
  color: var(--text-color);
  font-size: 1.3rem;
}

.reason-tab-card p {
  min-height: 3.2em;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.reason-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: 10px;
  border-bottom: 3px solid var(--primary-color);
  border-right: 3px solid var(--primary-color);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.reason-tab-card.active .reason-arrow {
  transform: translateY(-30%) rotate(225deg);
}

.reason-contents {
  display: none;
}

.reason-contents.visible {
  display: block;
}

.reason-content-item {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border-color);
  animation: fadeIn 0.5s ease-in-out;
}

.reason-content-item.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reason Content: Comparison Table */
.comparison-table {
  display: flex;
  align-items: stretch;
  gap: 20px;
  margin-top: 20px;
}

.comparison-column {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.comparison-header {
  padding: 20px;
  background: #6c757d;
  color: #fff;
  text-align: center;
}

.comparison-header h3 {
  margin: 0 0 5px 0;
  font-size: 1.4rem;
}

.comparison-header span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.daread-column .comparison-header {
  background: var(--primary-color);
}

.daread-column .comparison-header img {
  width: auto;
  height: 40px;
  margin: 0 auto 10px;
}

.comparison-body {
  padding: 10px;
}

.comparison-item {
  display: flex;
  align-items: center;
  min-height: 100px;
  padding: 20px 10px;
  border-bottom: 1px dashed var(--border-color);
}

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

.item-title {
  width: 35%;
  padding-right: 10px;
  font-weight: 700;
  text-align: center;
}

.item-desc {
  width: 65%;
  color: #555;
  text-align: center;
}

.item-desc.strong {
  color: var(--primary-color);
  font-weight: 700;
}

.comparison-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.comparison-arrow svg {
  width: 40px;
  height: 40px;
}

/* Reason Content: Google Awards */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.award-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.award-item .award-image {
  width: 100%;
  height: auto;
  max-width: 280px;
  object-fit: contain;
}

/* Reason Content: Before/After */
.before-after-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
}

.ba-box {
  width: 45%;
  padding: 30px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.ba-box h4 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 900;
}

.ba-box h4 span {
  padding: 3px 10px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.before-box h4 {
  color: #dc3545;
}

.before-box h4 span {
  background: #dc3545;
}

.after-box h4 {
  color: var(--primary-color);
}

.after-box h4 span {
  background: var(--primary-color);
}

.before-box ul {
  list-style: '✕ ';
  color: #dc3545;
}

.after-box ul {
  list-style: '✓ ';
  color: var(--primary-color);
}

.ba-box ul {
  padding-left: 20px;
}

.ba-box ul li {
  margin-bottom: 10px;
  color: var(--text-color);
}

.ba-arrow {
  display: flex;
  align-items: center;
  color: var(--primary-color);
}

.ba-arrow svg {
  width: 50px;
  height: 50px;
}


/* --- サービス詳細 (Services) --- */
.services {
  background-color: #fff;
}

.service-summary-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background-color: var(--light-gray);
}

.service-list-box {
  flex: 1.5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.service-list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.service-list-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.service-list-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary-color);
}

.service-list-text h4 {
  margin-bottom: 2px;
  font-size: 1.0rem;
  font-weight: 700;
}

.service-list-text p {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.6;
}

.service-price-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  border-radius: 16px;
  background-color: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.price-label {
  margin-bottom: 2px;
  color: #555;
  font-size: 0.9rem;
  font-weight: 700;
}

.price-value {
  margin-top: 20px;
  margin-bottom: 5px;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.price-value span {
  font-size: 3.5rem;
  font-weight: 900;
}

.price-note {
  margin-bottom: 25px;
  color: #666;
  font-size: 0.9rem;
}


/* --- 料金プラン (Pricing) --- */
#pricing {
  display: none;
}

.pricing {
  background-color: var(--light-gray);
}

.common-features {
  max-width: 700px;
  margin: 0 auto 40px;
  padding: 25px 30px;
  border: 1px solid #dce4d5;
  border-radius: 16px;
  background-color: #f0f3ed;
  text-align: center;
}

.common-features h4 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: 700;
}

.common-features ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 0;
  list-style: none;
}

.common-features li {
  color: #444;
  font-size: 0.9rem;
}

.common-features li span {
  margin-right: 5px;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.pricing-tab {
  padding: 10px 25px;
  border: 1px solid var(--border-color);
  border-radius: 50px;
  background-color: #fff;
  color: #555;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-tab:hover {
  background-color: #f1f1f1;
  border-color: #ccc;
}

.pricing-tab.active {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(104, 180, 45, 0.2);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 20px 90px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  background: white;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.active {
  border-color: var(--primary-color);
  box-shadow: 0 15px 45px rgba(104, 180, 45, 0.15);
  transform: translateY(-10px);
}

.recommend-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  padding: 4px 15px;
  border-radius: 20px;
  background: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  transform: translateX(-50%);
}

.budget-label {
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.0rem;
  font-weight: 700;
}

.pricing-card h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 900;
}

.price {
  margin: 10px 0 20px;
  color: #555;
  font-size: 1.2rem;
}

.price span {
  color: var(--text-color);
  font-size: 3rem;
  font-weight: 900;
}

.price small {
  display: block;
  margin-top: 3px;
  color: #666;
  font-size: 0.9rem;
}

.plan-description {
  min-height: 3.6em;
  margin-bottom: 15px;
  color: #555;
  font-size: 0.9rem;
}

.plan-diff-list {
  flex-grow: 1;
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.plan-diff-list li {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 1.0rem;
}

.plan-diff-list li span {
  font-size: 1.1rem;
  font-weight: bold;
}

.plan-diff-list .included {
  color: var(--primary-color);
}

.plan-diff-list .not-included {
  color: #aaa;
  text-decoration: line-through;
}

.pricing-card .plan-cta {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  width: auto;
  padding: 12px;
  font-size: 1.0rem;
}

.pricing-note {
  margin-top: 30px;
  color: #666;
  font-size: 0.85rem;
  line-height: 1.7;
  text-align: center;
}


/* --- オプションサービス (Options) --- */
.options-info {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.options-info h4 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.options-info > p {
  margin-bottom: 40px;
  color: #555;
}

.option-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  color: var(--text-color);
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.option-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.option-card-logo {
  flex-shrink: 0;
  width: 100px;
}

.option-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 60px;
}

.option-card-content h3 {
  margin: 0 0 5px 0;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: left;
}

.option-card-content p {
  margin: 0;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: left;
}

.option-card-price {
  margin-top: 10px;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 700;
}

.option-card-arrow {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.option-card:hover .option-card-arrow {
  transform: translateX(5px);
}


/* --- お客様の声 (Testimonials) --- */
.testimonials {
  background-color: #fff;
}

.testimonials .container {
  position: relative;
}

.testimonial-swiper-compact {
  position: relative;
  margin: 30px auto 0;
  padding: 20px 0;
  overflow: hidden;
}

.testimonial-swiper-compact .swiper-slide {
  height: auto;
}

.testimonial-trigger-card {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: var(--light-gray);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-trigger-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.testimonial-trigger-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 60px;
}

.testimonial-trigger-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.testimonial-trigger-text h4 {
  margin-bottom: 5px;
  font-size: 1.0rem;
  font-weight: 700;
}

.testimonial-trigger-text p {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

.testimonial-swiper-compact .swiper-pagination {
  position: static;
  margin-top: 30px;
}

.testimonial-swiper-compact .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  opacity: 1;
  transition: background-color 0.3s;
}

.testimonial-swiper-compact .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

.testimonial-compact-nav {
  top: 50%;
  color: var(--primary-color);
  transform: translateY(-50%);
}

.testimonial-compact-nav::after {
  font-size: 1.5rem;
  font-weight: bold;
}


/* --- Vision --- */
.vision {
  position: relative;
  padding: 50px 0;
  /* ★背景画像を指定してください */
  background: url('./images/vision_bg.png') no-repeat center center/cover;
  color: #fff;
  overflow: hidden;
}

.vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(30, 30, 30, 0.7), rgba(15, 15, 15, 0.9));
}

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

.vision-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.vision .section-title {
  margin-bottom: 40px;
  color: #fff;
}

.vision p {
  font-size: 1rem;
  line-height: 2.2;
  opacity: 0.9;
}

.vision-statement {
  margin: 40px 0;
  color: var(--primary-color);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.vision .vision-intro.scroll-trigger {
  transition-delay: 0.1s;
}

.vision .vision-statement.scroll-trigger {
  transition-delay: 0.3s;
}

.vision .vision-outro.scroll-trigger {
  transition-delay: 0.5s;
}


/* --- FAQ --- */
.faq {
  background-color: var(--light-gray);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 900px;
  margin: 30px auto 0;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 25px;
  border: none;
  background: none;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-toggle {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1;
  transition: transform 0.3s ease;
  border: none;
  background: none;
  padding: 0px;
  cursor: pointer;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 25px 25px;
  color: #555;
  line-height: 1.9;
}

.faq-link {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: underline;
}


/* --- Final CTA --- */
#contact.cta-final {
  padding: 20px 0;
  background: #fff;
}

.cta-final h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.cta-box-wrapper {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.cta-box {
  flex: 1;
  max-width: 450px;
  padding: 30px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: var(--light-gray);
  text-align: center;
}

.cta-box h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.cta-box p {
  min-height: auto;
  margin-bottom: 25px;
  color: #666;
}

.cta-note {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
  opacity: 0.8;
}


/* --- Booking & Company Info --- */
.booking-section {
  padding: 60px 0;
  background-color: var(--light-gray);
  text-align: center;
}

.booking-cta-wrapper {
  margin-top: 30px;
}

.company-info-section {
  padding: 40px 0;
  background: #fff;
}

.company-accordion-item {
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
}

.company-accordion-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 30px;
  cursor: pointer;
}

.company-accordion-header h3 {
  flex-grow: 1;
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 700;
}

.company-accordion-header .company-logo {
  flex-shrink: 0;
  width: 200px;
}

.company-accordion-header .accordion-arrow {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-left: 20px;
  border-bottom: 3px solid #ccc;
  border-right: 3px solid #ccc;
  transform: rotate(45deg);
  transition: transform 0.3s ease, border-color 0.3s;
}

.company-accordion-item.active .company-accordion-header .accordion-arrow {
  border-color: var(--primary-color);
  transform: rotate(-135deg);
}

.company-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding-top 0.5s ease-out;
}

.company-accordion-item.active .company-accordion-content {
  padding-top: 10px;
}

.company-content-inner {
  padding: 0 30px 30px;
  border-top: 1px solid var(--border-color);
}

p.company-tagline {
  margin-top: 20px;
  margin-bottom: 25px;
  color: #666;
  font-size: 0.95rem;
}

dl.company-data div {
  display: flex;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

dl.company-data div:last-child {
  border-bottom: none;
}

dl.company-data dt {
  flex-shrink: 0;
  width: 100px;
  font-weight: 700;
}

dl.company-data dd {
  margin-left: 20px;
  color: #555;
}

.company-link-wrapper {
  margin-top: 30px;
  text-align: center;
}


/* --- Modals --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
  z-index: 2000;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.modal-content {
  position: relative;
  width: 90%;
  border-radius: 12px;
  background: #fff;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.show .modal-content {
  transform: scale(1);
}

.modal-close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  border: none;
  background: none;
  color: #999;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.modal-close-button:hover {
  color: #333;
}

#testimonialModal .modal-content {
  max-width: 700px;
  padding: 40px;
  text-align: center;
}

#testimonialModalBody .company-name {
  margin-bottom: 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

#testimonialModalBody .testimonial-result {
  margin-bottom: 25px;
  font-size: 1.5rem;
  font-weight: 700;
}

#testimonialModalBody .testimonial-text {
  color: #666;
  line-height: 1.9;
  text-align: left;
}

#meetingModal .modal-content,
#videoModal .modal-content {
  max-width: 960px;
  padding: 0;
  background: #000;
  overflow: hidden;
}

#meetingModal .modal-close-button,
#videoModal .modal-close-button {
  top: -40px;
  right: 0;
  color: #fff;
  opacity: 0.8;
}

#meetingModal .modal-close-button:hover,
#videoModal .modal-close-button:hover {
  opacity: 1;
}

.meetings-iframe-container {
  min-height: 680px;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* --- Footer --- */
footer {
  padding: 20px;
  background-color: #333;
  color: #aaa;
  font-size: 0.85rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.copyright {
  font-size: 0.8rem;
}


/* =================================================================
   レスポンシブデザイン (Media Queries)
   ================================================================= */
@media (max-width: 1024px) {
  section {
    padding: 60px 0;
  }
  h2.section-title {
    font-size: 2rem;
  }
  .hero-container-flex {
    flex-direction: column;
    gap: 50px;
  }
  .hero-content-left {
    text-align: center;
  }
  .hero-content-left h1 {
    font-size: 2.2rem;
  }
  .title-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-credibility-logos,
  .hero-cta-group-horizontal {
    justify-content: center;
  }
  .hero-form-right {
    min-width: 0;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  .framework-wrapper {
    flex-direction: column;
  }
  .framework-arrow {
    margin: 15px 0;
    transform: rotate(90deg);
  }
}

@media (max-width: 992px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    display: none;
    max-width: 450px;
    transform: translateY(0);
  }
  .pricing-note{
    font-size:0.8rem;
  }
  .pricing-card.active {
    display: flex;
  }
  .reason-tabs {
    grid-template-columns: 1fr;
  }
  .reason-tab-card p {
    min-height: 0;
  }
  .reason-tab-card {
    transition: all 0.3s ease, border-radius 0s 0.3s;
  }
  .reason-tab-card.active {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      transition: all 0.3s ease, border-radius 0s 0s;
  }

  .reason-content-item {
      max-height: 0;
      overflow: hidden;
      margin: 0;
      padding-left: 20px;
      padding-right: 20px;
      padding-top: 0;
      padding-bottom: 0;
      border: 2px solid var(--primary-color);
      border-top: none; 
      border-radius: 0 0 12px 12px;
      background-color: #f7faf5;
      transition: max-height 0.5s ease-in-out, padding 0.5s ease-in-out;
      animation: none;
  }

  .reason-content-item.active {
      max-height: 1500px;
      padding-top: 20px;
      padding-bottom: 30px;
      margin-top: -2px;
      margin-bottom: 15px;
  }

  .reason-contents.visible {
      display: block;
      border-top: none;
      margin-top: 0;
      padding-top: 0;
  }
  .comparison-table {
    flex-direction: column;
    gap: 15px;
  }
  .before-after-wrapper {
      gap: 15px; 
  }
  .ba-box {
    width: 100%;
  }
  .comparison-arrow,
  .ba-arrow {
      display: none;
  }
  .awards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .comparison-item {
    min-height: auto;
    padding: 5px 5px;
    font-size: 0.9rem;
    grid-template-columns: 100px 1fr;
    align-items: start;
    gap: 10px;
  }

  .item-title {
      flex-shrink: 0;
      text-align: right;
      word-break: keep-all;
  }

  .item-desc {
      text-align: left;
  }

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

  .ba-box {
      /* Before/Afterボックスのパディングを調整 */
      padding: 5px 5px;
  }

  .ba-box h4 {
      font-size: 1.1rem;
      margin-bottom: 15px;
      flex-direction: column;
      align-items: center;
      gap: 5px;
  }

  .ba-box ul li {
      /* Before/Afterのリスト項目の文字サイズを調整 */
      font-size: 0.85rem;
      line-height: 1.6;
  }

  .award-item .award-image {
      /* 受賞実績の画像がコンテナに収まるように調整 */
      max-height: 90px;
      width: auto;
      margin: 0 auto;
  }
  .reasons-wrapper .section-subtitle{
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
  section {
    padding: 10px 0;
  }
  h2.section-title {
    font-size: 1.5rem;
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .header-cta-group {
    display: none;
  }
  .logo-image {
    height: 50px;
  }
  .hero {
    padding: 90px 0 50px;
  }
  .hero-content-left h1 {
    font-size: 1.4rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-features ul {
    gap: 5px;
  }
  .hero-features li {
    justify-content: flex-start;
    font-size: 0.65rem;
  }
  .hero-credibility-logos {
    gap: 20px;
  }

  .hero-cta-group-horizontal {
      width: 100%;
      flex-wrap: nowrap;
  }

  .hero-cta-group-horizontal .cta-button {
      flex: 1;
      padding: 12px 10px;
      font-size: 0.9rem;
  }

  .awards-logo-fv,
  .hero-content-left .google-partner img {
    height: 90px;
  }

  /* Mindmap to List */
  .problem-mindmap-container {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 500px;
    margin-top: 40px;
    aspect-ratio: auto;
  }
  .mindmap-lines,
  .mindmap-center {
    display: none;
  }
  .mindmap-node {
    position: static;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex-basis: calc(50% - 8px);
    flex-grow: 0;
    height: auto;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    aspect-ratio: auto;
    transform: none !important;
  }
  .mindmap-node:hover {
    transform: none !important;
  }
  .node-icon {
    flex-shrink: 0;
    margin-bottom: 10px;
  }
  .node-icon img{
    width: 80px;
    height: 80px;
  }
  .node-text h4 {
    margin-bottom: 2px;
    font-size: 0.85rem;
  }
  .node-text p {
    font-size: 0.7rem;
  }
  .problem-conclusion {
    margin-top: 40px;
    font-size: 1.2rem;
  }

  /* Transition Block */
  .transition-wrapper{
    padding: 10px;
  }
  .transition-wrapper .solution-catchphrase {
    display: block;
    padding: 0;
  }
  .transition-problem-statement {
    font-size: 1.1rem;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .solution-catchphrase .catchphrase-line-1 {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8em;
    font-size: 0.8rem;
  }
  .solution-catchphrase .phrase-left,
  .solution-catchphrase .phrase-right,
  .solution-catchphrase .catchphrase-line-2 {
    display: block;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    margin-top: 1em;
  }
  .solution-catchphrase .brand-emphasis.brand-logo {
    height: 70px;
    margin: 0;
  }
  .solution-catchphrase .catchphrase-line-2 {
    margin-top: 15px;
  }

  /* Framework-Step */
  .framework-wrapper{
    gap: 5px;
  }
  .framework-step{
    padding: 10px;
  }

  /* Solution */
  .solution-conclusion p {
    font-size: 1.2rem;
  }
  .solution-story-wrapper .section-subtitle{
    font-size: 0.9rem;
    margin-bottom: 0px;
  }
  .transition-block .solution-conclusion p{
    font-size: 1.1rem;
    margin-bottom: 0px;
  }
  
  /* Services */
  .service-summary-wrapper {
    flex-direction: column-reverse;
    gap: 30px;
    padding: 30px 20px;
  }
  .service-list-box {
    width: 100%;
    gap: 20px;
  }
  .service-price-box {
    width: 100%;
    padding: 25px 20px;
  }
  .services .section-subtitle{
    font-size: 0.8rem;
  }

  /* Reason */
  .reasons-tab-section h2{
    font-size:1.6rem;
  }
  .reason-tab-card{
    padding: 10px 20px 10px 10px;
  }
  
  
  /* Pricing */
  .common-features {
    padding: 20px;
  }
  .common-features h4 {
    font-size: 1.1rem;
  }
  .common-features ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    max-width: fit-content;
    margin: 0 auto;
  }
  .pricing-tabs {
    gap: 8px;
  }
  .pricing-tab {
    padding: 8px 18px;
    font-size: 0.8rem;
  }
  .pricing-card .plan-cta {
    position: static;
    margin-top: 20px;
  }
  .pricing .section-subtitle{
    font-size:0.9rem;
  }
  
  /* Options */
  .options-info h4 {
    font-size: 1.3rem;
  }
  .option-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* お客様の声 */
  .testimonial-trigger-card {
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  text-align: center;
  }
  .testimonial-trigger-logo {
    height: 40px;
    margin-bottom: 5px;
  }
  .testimonial-trigger-text h4 {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .testimonial-trigger-text p {
    font-size: 0.7rem;
  }
  
  /* Vision */
  .vision {
    padding: 10px 0;
  }
  .vision .section-title{
    margin-bottom: 5px;
  }
  .vision p {
    font-size: 0.7rem;
    line-height: 2;
  }
  .vision-statement {
    font-size: 1.1rem;
    margin: 5px 0;
  }

  /* FAQ */
  .faq-list {
    gap: 5px;
  }
  .faq-question {
    padding: 5px 5px;
    font-size: 0.8rem;
  }
  .faq-answer{
    font-size: 0.8rem;
  }
  
  /* Final CTA */
  .cta-box-wrapper {
    flex-direction: column-reverse;
  }
  .cta-box {
    padding: 30px 20px;
  }
  .cta-final h2 {
    font-size: 1.6rem;
  }
  /* Final CTA SP Buttons */
  .cta-final-buttons-sp {
      display: flex;
      gap: 15px;
      justify-content: center;
      margin-bottom: 20px;
  }
  .cta-final-buttons-sp .cta-button {
      flex: 1;
      padding: 12px 10px;
      font-size: 0.9rem;
  }

  /* Company Info */
  .company-info-section{
    padding: 20px 0;
  }
  .company-accordion-header {
    flex-direction: column;
    padding: 10px;
    text-align: center;
  }
  .company-accordion-header h3 {
    margin-bottom: 15px;
    font-size: 0.9rem;
  }
  .company-accordion-header .company-logo {
    order: -1;
    width: 180px;
    margin-bottom: 10px;
  }
  .company-accordion-header .accordion-arrow {
    position: absolute;
    bottom: 15px;
    transform: translateX(-50%) rotate(45deg);
  }
  .company-accordion-item.active .company-accordion-header .accordion-arrow {
    transform: translateX(-50%) rotate(-135deg);
  }
  .company-content-inner {
    padding: 0 20px 20px;
  }
  dl.company-data div {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  dl.company-data dt {
    width: auto;
  }
  dl.company-data dd {
    margin-left: 0;
  }

  /* Footer */
  .footer-links{
    gap:5px;
    font-size: 0.8rem;
  }
  .copyright{
    font-size:0.7rem;
  }

  /* Modals */
  #meetingModal .modal-close-button,
  #videoModal .modal-close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 1.5rem;
  }
}

/* =================================================================
   スマートフォン用フローティングバナー
   ================================================================= */
.sp-fixed-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.sp-banner-button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  gap: 8px;
  transition: opacity 0.3s;
}

.sp-banner-button:hover {
  opacity: 0.8;
}

.sp-banner-button svg {
  flex-shrink: 0;
}

/* 問い合わせボタン（左側） */
.sp-banner-contact {
  background-color: #fff;
  color: var(--primary-color);
}

/* 電話ボタン（右側） */
.sp-banner-phone {
  background-color: var(--primary-color);
  color: #fff;
}


/* スマートフォン用の表示制御 */
@media (max-width: 768px) {
  .sp-fixed-banner {
    display: flex;
  }

  /* 
    フッターなどがバナーに隠れないように、
    bodyの最下部にバナーの高さ分の余白を確保します。
  */
  body {
    padding-bottom: 65px;
  }
}

/* =================================================================
   理由2「品質」セクションの追加スタイル (v3: ナンバリング＆アイコン)
   ================================================================= */
.quality-grid-container {
    display: grid;
    /* PCでは2x2のグリッドレイアウト */
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.quality-grid-item {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.quality-grid-number {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f3ed;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 700;
}

.quality-grid-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 50px; /* 番号との余白を確保 */
    margin-bottom: 15px;
}

.quality-grid-title {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.5;
}

.quality-grid-desc {
    flex-grow: 1; /* カードの高さを揃えるために伸長させる */
    font-size: 0.9rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.video-button-wrapper-compact {
    margin-top: auto; /* カードの下端にボタンを配置 */
    text-align: center;
    
}
.video-button-wrapper-compact .video-play-button {
    font-size: 0.9rem;
    padding: 8px 16px;
}
.video-button-wrapper-compact .play-icon {
    width: 16px;
    height: 16px;
}


.award-image-compact-wrapper {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.award-image-compact {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* 高さを抑えてコンパクトに見せる */
}

/* 992px以下の画面（アコーディオン表示時）は1列にする */
@media (max-width: 992px) {
    .reason-content-item.active .quality-grid-container {
        grid-template-columns: 1fr;
    }
}

/* =================================================================
   ロゴティッカー (Logo Ticker) - 提案1
   ================================================================= */
.logo-ticker {
    padding: 20px 0;
    background-color: var(--light-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.logo-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.logo-track {
    display: flex;
    align-items: center;
    width: calc(180px * 12); 
    animation: scroll 30s linear infinite;
}

.logo-slider:hover .logo-track {
    animation-play-state: paused;
}

.logo-track img {
    height: 40px;
    width: auto;
    margin: 0 40px;
    /* filterとopacityを削除 */
    transition: transform 0.3s ease; /* transitionの対象をtransformのみに変更 */
}

.logo-track img:hover {
    /* 拡大する効果のみ残す */
    transform: scale(1.1);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-180px * 6)); }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .logo-track img {
        height: 30px;
        margin: 0 30px;
    }
    .logo-track {
        width: calc(140px * 12);
        animation: scroll 25s linear infinite;
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-140px * 6)); }
    }
}