@charset "UTF-8";

/* ==========================================================================
   1. ベース設定 (Reset & Core Styles)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: auto;
}

/* 全画面メニュー表示時の背景スクロール完全ロック */
body.menu-open {
  overflow: hidden !important;
  height: 100vh !important;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  touch-action: none;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #222222;
  background-color: #f4f6f9;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.sp_br {
  display: none;
}

@media screen and (max-width: 450px) {
  .pc_br {
    display: none;
  }
  .sp_br {
    display: block;
  }
}


/* ==========================================================================
   2. ヘッダー & ナビゲーション (スマートヘッダー＆全画面メニュー)
   ========================================================================== */
.header {
  width: 100%;
  background-color: #0b1a30;
  color: #ffffff;
  position: fixed; /* stickyからfixedへ変更して上スクロール検知に対応 */
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 下スクロール時に上へスライド退避 */
.header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  z-index: 1003;
}

.nav {
  display: flex;
  align-items: center;
  position: relative;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-item a {
  color: #e0e6ed;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 6px 0;
}

.nav-item a:hover {
  color: #d4af37;
}

/* PC表示時はハンバーガーボタン非表示 */
.nav-toggle-btn {
  display: none;
}

/* --------------------------------------------------------------------------
   768px以下：全画面（100vh / 100dvh）固定メニュー
   -------------------------------------------------------------------------- */
@media screen and (max-width: 915px) {
  .header-container {
    padding: 14px 20px;
  }

  .nav-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1005;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-toggle-btn span {
    width: 100%;
    height: 2.5px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
  }

  /* メニューオープン時のバツ印アニメーション */
  .nav.is-open .nav-toggle-btn span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
    background-color: #f1d78a;
  }

  .nav.is-open .nav-toggle-btn span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav.is-open .nav-toggle-btn span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
    background-color: #f1d78a;
  }

  /* 全画面オーバーレイメニュー */
  .nav-list {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(135deg, #071222 0%, #0b1a30 50%, #0d2240 100%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 80px 20px 40px;
    box-shadow: none;
    border-radius: 0;
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.05);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1000;
  }

  .nav.is-open .nav-list {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
  }

  .nav-item {
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

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

  .nav-item a {
    display: inline-block;
    padding: 12px 20px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.08em;
    width: 100%;
    transition: all 0.25s ease;
    position: relative;
  }

  .nav-item a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f1d78a 0%, #d4af37 100%);
    transition: all 0.3s ease;
    transform: translateX(-50%);
  }

  .nav-item a:hover,
  .nav-item a:focus {
    color: #f1d78a;
  }

  .nav-item a:hover::after {
    width: 60%;
  }
}

/* 450px 以下（スマートフォン） */
@media screen and (max-width: 450px) {
  .site-title {
    font-size: 1.25rem;
  }
  .header-container {
    padding: 12px 15px;
  }
  .nav-toggle-btn {
    width: 28px;
    height: 20px;
  }
  .nav-item {
    max-width: 280px;
  }
  .nav-item a {
    font-size: 1.02rem;
    padding: 10px 16px;
  }
}

/* ==========================================================================
   3. ヒーローセクション (Hero Section - ヘッダー被り解消余白調整)
   ========================================================================== */
.hero {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #071222 0%, #0d2240 100%);
  color: #ffffff;
  padding: 130px 20px 60px;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  position: relative;
  flex: 1;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.03em;
}

.hero-sub-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.hero-check-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-check-item::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 12px;
  flex-shrink: 0;
  background-image: url("../img/icon-check-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-note-asterisk {
  font-size: 11px;
  font-weight: 700;
  padding-bottom: 11px;
  color: #f1d78a;
  margin-left: 5px;
  vertical-align: super;
  line-height: 0;
}

.hero-animated-item {
  position: relative;
  padding-bottom: 4px;
}

.hero-animated-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 34px;
  width: 285px;
  height: 3px;
  background: linear-gradient(90deg, #f1d78a 0%, #d4af37 50%, #f1d78a 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(241, 215, 138, 0.8);
  transform-origin: left center;
  animation: goldLineSweep 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes goldLineSweep {
  0% { transform: scaleX(0); opacity: 0; }
  15% { opacity: 1; }
  50% { transform: scaleX(1); opacity: 1; }
  75% { transform: scaleX(1); opacity: 0.8; }
  90%, 100% { transform: scaleX(1); opacity: 0; }
}

.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.badge {
  border: 1px solid #d4af37;
  color: #f1d78a;
  background: rgba(212, 175, 55, 0.1);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cta-wrapper {
  margin-bottom: 24px;
}

.cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ff7e00 0%, #e65c00 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  line-height: 1.4;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 92, 0, 0.6);
}

.cta-note {
  font-size: 0.72rem;
  color: #a0aec0;
  margin-top: 5px;
  letter-spacing: 0.02em;
  font-weight: 400;
  opacity: 0.85;
}

.hero-image {
  flex: 0 0 500px;
  max-width: 900px;
}

.hero-image img {
  width: 900px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .hero {
    padding-top: 110px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-check-item {
    font-size: 1.22rem;
  }
  .hero-image {
    flex: 0 0 440px;
    max-width: 440px;
  }
  .hero-image img {
    height: 380px;
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .hero {
    padding-top: 100px;
  }
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  .hero-sub-title {
    align-items: flex-start;
    text-align: left;
  }
  .badge-container {
    justify-content: center;
  }
  .hero-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    margin-top: 15px;
  }
  .hero-image img {
    height: auto;
    max-height: 380px;
  }
  .cta-note {
    text-align: center;
  }
}

/* 450px 以下（スマートフォン） */
@media screen and (max-width: 450px) {
  .hero {
    padding: 85px 15px 35px;
  }
  .hero-title {
    font-size: 1.45rem;
  }
  .hero-check-item {
    font-size: 1.02rem;
  }
  .hero-note-asterisk {
    padding-bottom: 8px;
    font-size: 8px;
  }
  .hero-check-item::before {
    width: 18px;
    height: 18px;
    margin-right: 8px;
  }
  .hero-animated-item::after {
    left: 26px;
    width: calc(100% - 26px);
  }
  .badge {
    font-size: 0.75rem;
    padding: 4px 8px;
  }
  .cta-btn {
    width: 100%;
    font-size: 0.88rem;
    padding: 14px 10px;
  }
  .cta-note {
    font-size: 0.68rem;
  }
  .hero-image img {
    max-height: 280px;
  }
}

/* ==========================================================================
   4. 経営サポートセクション (Support Section)
   ========================================================================== */
.support-section {
  position: relative;
  width: 100%;
  padding: 80px 20px;
  background-color: #f2f5f9;
  overflow: hidden;
}

.bg-pattern-grid {
  position: absolute;
  top: 20px;
  left: 3%;
  width: 220px;
  height: 220px;
  background-image: 
    linear-gradient(to right, rgba(11, 26, 48, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 26, 48, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 1;
}

.bg-pattern-circles {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 380px;
  height: 380px;
  background: 
    radial-gradient(circle at center, transparent 0, transparent 40px, rgba(11, 26, 48, 0.06) 41px, transparent 42px),
    radial-gradient(circle at center, transparent 0, transparent 80px, rgba(11, 26, 48, 0.06) 81px, transparent 82px),
    radial-gradient(circle at center, transparent 0, transparent 120px, rgba(11, 26, 48, 0.06) 121px, transparent 122px),
    radial-gradient(circle at center, transparent 0, transparent 160px, rgba(11, 26, 48, 0.06) 161px, transparent 162px);
  pointer-events: none;
  z-index: 1;
}

.support-container {
  position: relative;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 45px;
  letter-spacing: 0.02em;
}

.cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.support-card {
  width: 100%;
  background: #ffffff;
  border: 3px solid #0b1a30;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(11, 26, 48, 0.12);
}

.card-header {
  background-color: #0b1a30;
  color: #ffffff;
  padding: 14px 20px;
}

.card-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.card-body {
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
}

.card-image {
  flex: 0 0 45%;
  max-width: 45%;
}

.card-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.card-text {
  flex: 1;
  font-size: 1.05rem;
  color: #111111;
  line-height: 1.85;
  letter-spacing: 0.02em;
}

.card-text strong {
  font-weight: 700;
  color: #000000;
  background: none;
  border-bottom: 2px solid #b89130;
  padding-bottom: 1px;
  display: inline;
}

.card-footer {
  background: linear-gradient(
    180deg,
    #fce8a6 0%,
    #f3d274 25%,
    #e1b647 65%,
    #ca9d2d 100%
  );
  border-top: 1px solid #d4a938;
  color: #000000;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 0.98rem;
  text-align: center;
  letter-spacing: 0.01em;
}

.card-footer p {
  margin: 0;
  padding: 0;
}

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .section-title {
    font-size: 2rem;
  }
  .card-body {
    padding: 24px;
    gap: 20px;
  }
}

/* 768px 以下：ご指定の「写真を上に配置」縦積みレイアウト制御 */
@media screen and (max-width: 768px) {
  .support-section {
    padding: 60px 16px;
  }

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

  .cards-wrapper {
    gap: 30px;
  }

  /* 768px以下で写真を上、文章を下に配置 */
  .card-body {
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    text-align: left;
  }

  .card-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .card-image img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
  }

  .card-text {
    width: 100%;
    font-size: 0.98rem;
    line-height: 1.8;
  }

  .card-header h3 {
    font-size: 1.45rem;
  }
}

/* 450px 以下（スマートフォン最適化） */
@media screen and (max-width: 450px) {
  .support-section {
    padding: 45px 12px;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .cards-wrapper {
    gap: 20px;
  }

  .card-body {
    padding: 15px;
    gap: 15px;
  }

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

  .card-text {
    font-size: 0.92rem;
    line-height: 1.75;
  }

  .card-footer {
    font-size: 0.82rem;
    padding: 10px;
  }
}

/* ==========================================================================
   5. 業務一覧（オーダーメイドシステム開発）セクション
   ========================================================================== */
.services-section {
  width: 100%;
  padding: 90px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.services-container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #111111;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.services-main-subtitle {
  font-size: 0.98rem;
  color: #666666;
  letter-spacing: 0.03em;
  margin-bottom: 30px;
}

.divider-line {
  width: 1px;
  height: 28px;
  background-color: #cccccc;
  margin: 0 auto;
}

.category-block {
  margin-bottom: 65px;
  width: 100%;
}

.category-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #c8d6e5;
  letter-spacing: 0.03em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 25px;
  width: 100%;
}

.service-card {
  width: 100%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 18px 18px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.service-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.service-card .card-img-wrapper {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #f8f9fa;
}

.service-card .card-img-wrapper img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-card .card-description {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.65;
  text-align: left;
  letter-spacing: 0.01em;
  width: 100%;
  word-break: break-word;
  flex-grow: 1;
}

.service-card .card-footer-link {
  width: 100%;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
  text-align: right;
}

.service-card .detail-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b1a30;
  letter-spacing: 0.02em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.service-card .detail-link:hover {
  color: #d4af37;
  transform: translateX(3px);
}

@media screen and (max-width: 450px) {
  .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    margin-top: 25px;
    width: 100%;
  }
  .service-card .card-title {
  font-size: 15px;
  font-weight: 600;
  }
  .service-card .card-description {
  font-size: 12px;
  }
  .service-card .card-img-wrapper img {
  height: 120px;
  object-fit: cover;
}
}

/* ==========================================================================
   業績推移例セクション (人物写真大型化・高画質化レスポンシブ対応)
   ========================================================================== */
.performance-section {
  width: 100%;
  padding: 90px 20px;
  background-color: #f4f7fc;
  position: relative;
  overflow: hidden;
}

.performance-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.performance-main-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0b1a30;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.performance-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.performance-content-wrapper + .performance-content-wrapper {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed #d1d9e6;
}

/* 左側：グラフエリア */
.graph-area {
  flex: 1;
  max-width: 500px;
  padding: 20px 10px;
}

.graph-unit {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.bar-chart {
  position: relative;
  height: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.chart-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1;
}

.grid-line {
  width: 100%;
  height: 1px;
  background-color: #d1d9e6;
}

.chart-bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 260px;
  border-bottom: 2px solid #555555;
  padding: 0 10px;
}

.bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  height: 100%;
  justify-content: flex-end;
  position: relative;
}

.bar-fill {
  width: 100%;
  max-width: 75px;
  background: linear-gradient(180deg, #4da968 0%, #2e7d43 100%);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom center;
}

.bar-fill.orange-bar {
  background: linear-gradient(180deg, #ff9500 0%, #e65c00 100%);
}

.bar-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  white-space: nowrap;
}

.bar-label {
  position: absolute;
  bottom: -35px;
  font-size: 1rem;
  font-weight: 700;
  color: #222222;
  white-space: nowrap;
}

/* 棒グラフキーフレーム定義 */
.bar-1 .bar-fill { animation: growBar1_5s 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.bar-1 .bar-value { animation: fadeInVal1_5s 9.5s ease infinite; }
.bar-2 .bar-fill { animation: growBar2_5s 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.bar-2 .bar-value { animation: fadeInVal2_5s 9.5s ease infinite; }
.bar-3 .bar-fill { animation: growBar3_5s 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.bar-3 .bar-value { animation: fadeInVal3_5s 9.5s ease infinite; }

@keyframes growBar1_5s {
  0% { height: 0%; opacity: 0; }
  10%, 88% { height: 15%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}

@keyframes fadeInVal1_5s {
  0%, 3% { opacity: 0; transform: translateY(4px); }
  12%, 88% { opacity: 1; transform: translateY(0); }
  88.1%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes growBar2_5s {
  0%, 8.4% { height: 0%; opacity: 0; }
  18.4%, 88% { height: 48%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}

@keyframes fadeInVal2_5s {
  0%, 11.4% { opacity: 0; transform: translateY(4px); }
  20.4%, 88% { opacity: 1; transform: translateY(0); }
  88.1%, 100% { opacity: 0; transform: translateY(0); }
}

@keyframes growBar3_5s {
  0%, 16.8% { height: 0%; opacity: 0; }
  26.8%, 88% { height: 90%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}

@keyframes fadeInVal3_5s {
  0%, 19.8% { opacity: 0; transform: translateY(4px); }
  28.8%, 88% { opacity: 1; transform: translateY(0); }
  88.1%, 100% { opacity: 0; transform: translateY(0); }
}

/* 右側：実績カードエリア */
.performance-card {
  flex: 1;
  max-width: 580px;
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eef5;
}

.card-inner-top {
  display: flex;
  align-items: stretch; /* 写真の高さをめいっぱい拡大 */
  gap: 20px;
  margin-bottom: 22px;
}

/* --- 人物画像領域（幅220px固定で大きくドント配置） --- */
.person-image-wrapper {
  flex: 0 0 220px !important;
  width: 220px !important;
  max-width: 220px !important;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff; /* JPG背景となじむ下地 */
}

.person-image-wrapper img {
  width: 220px;
  height: 300px;
  max-width: none !important;
  max-height: none !important;
  display: block;
  object-fit: cover; /* JPG写真を領域いっぱいに美しくフィット */
  object-position: top center;
  /* 画像の鮮明化処理 */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.speech-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.speech-bubble {
  background-color: #f2f6f9;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.speech-bubble p {
  font-size: 0.92rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.5;
  margin: 0;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #f8fafc;
  padding: 6px 10px;
  border-radius: 4px;
}

.check-icon {
  color: #2e7d43;
  font-weight: bold;
  font-size: 0.85rem;
}

.check-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.4;
}

.card-inner-bottom {
  margin-top: 15px;
}

.company-message {
  font-size: 0.92rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.65;
  margin-bottom: 15px;
}

.card-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #d4af37 0%, #f1d78a 50%, #d4af37 100%);
  margin-bottom: 12px;
}

.reference-link-box {
  text-align: left;
}

.reference-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333333;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.reference-link:hover {
  color: #d4af37;
}

/* ==========================================================================
   レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .performance-main-title {
    font-size: 2rem;
  }
  .performance-content-wrapper {
    gap: 25px;
  }
  .person-image-wrapper {
    flex: 0 0 190px !important;
    width: 190px !important;
    max-width: 190px !important;
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .performance-section {
    padding: 60px 16px;
  }
  .performance-main-title {
    font-size: 1.75rem;
    margin-bottom: 35px;
  }
  .performance-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .performance-content-wrapper + .performance-content-wrapper {
    margin-top: 45px;
    padding-top: 30px;
  }
  .graph-area {
    max-width: 100%;
    width: 100%;
  }
  .performance-card {
    max-width: 100%;
    width: 100%;
  }
  .card-inner-top {
    gap: 18px;
  }
  .person-image-wrapper {
    flex: 0 0 170px !important;
    width: 170px !important;
    max-width: 170px !important;
  }
}

/* 450px 以下（スマートフォン） */
@media screen and (max-width: 450px) {
  .performance-section {
    padding: 45px 12px;
  }
  .performance-main-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  .card-inner-top {
    flex-direction: column;
    align-items: center;
  }
  .person-image-wrapper {
    flex: 0 0 auto !important;
    width: 180px !important;
    max-width: 180px !important;
    margin-bottom: 12px;
  }
  .person-image-wrapper img {
    min-height: auto;
  }
  .bar-value {
    font-size: 0.88rem;
  }
  .bar-label {
    font-size: 0.85rem;
  }
  .company-message {
    font-size: 0.88rem;
  }
  .check-text {
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   14. お客様の声・評判セクション (Testimonial Section - E-E-A-T & AIO)
   ========================================================================== */
.testimonial-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f4f7fc;
  overflow: hidden;
}

.testimonial-container {
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* ヘッダーエリア */
.testimonial-header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonial-main-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0b1a30;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  position: relative;
  display: inline-block;
}

.testimonial-main-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #0b1a30;
}

.testimonial-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.02em;
  margin-top: 15px;
}

/* 2列カードグリッド */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

/* カード個別スタイル */
.testimonial-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* カード上部：画像＋見出し情報 */
.card-top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.client-avatar {
  flex: 0 0 85px;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffffff;
}

.client-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.client-meta {
  flex: 1;
}

/* 生の評価バッジ */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b89130;
  margin-bottom: 6px;
}

.quote-icon {
  font-size: 1.1rem;
  font-family: Georgia, serif;
  line-height: 1;
}

/* 評価見出し */
.card-headline {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0;
}

.headline-underline {
  border-bottom: 2px solid #111111;
  padding-bottom: 1px;
}

/* 本文テキスト */
.card-body-text {
  flex-grow: 1;
}

.card-body-text p {
  font-size: 0.95rem;
  color: #222222;
  line-height: 1.75;
  letter-spacing: 0.01em;
  margin: 0;
  font-weight: 500;
}

/* ==========================================================================
   15. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .testimonial-main-title {
    font-size: 2rem;
  }
  .testimonial-subtitle {
    font-size: 0.95rem;
  }
  .testimonial-grid {
    gap: 20px;
  }
  .testimonial-card {
    padding: 22px;
  }
  .card-headline {
    font-size: 1.2rem;
  }
  .card-body-text p {
    font-size: 0.9rem;
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .testimonial-section {
    padding: 60px 16px;
  }
  .testimonial-main-title {
    font-size: 1.75rem;
  }
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .card-top-info {
    gap: 14px;
  }
  .client-avatar {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }
}

/* 450px 以下（スマートフォン: 1列配置） */
@media screen and (max-width: 450px) {
  .testimonial-section {
    padding: 45px 12px;
  }
  .testimonial-main-title {
    font-size: 1.4rem;
  }
  .testimonial-subtitle {
    font-size: 0.85rem;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-card {
    padding: 18px 15px;
  }
  .card-top-info {
    align-items: flex-start;
  }
  .client-avatar {
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
  }
  .card-headline {
    font-size: 1.08rem;
  }
  .card-body-text p {
    font-size: 0.85rem;
    line-height: 1.65;
  }
}

/* ==========================================================================
   10. 費用対効果セクション (Cost Effect Section)
   ========================================================================== */
.cost-effect-section {
  width: 100%;
  padding: 90px 20px;
  background-color: #eef3f8;
  position: relative;
  overflow: hidden;
}

.cost-effect-container {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.cost-effect-main-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0b1a30;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
}

.cost-cards-wrapper {
  display: flex;
  gap: 30px;
  align-items: stretch;
  justify-content: center;
}

.cost-card {
  flex: 1;
  max-width: 510px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* --- カードヘッダー（サイズ拡大対応） --- */
.cost-card-header {
  background-color: #0b1a30;
  border-bottom: 3px solid #d4af37;
  padding: 18px 20px;
  text-align: center;
}

.cost-card-header h3 {
  font-size: 1.75rem; /* 1.55rem → 1.75rem へ拡大 */
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* チェックマークアイコン（サイズ拡大対応） */
.header-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* 26px → 32px へ拡大 */
  height: 32px;
  background-color: #d4af37;
  color: #0b1a30;
  border-radius: 50%;
  font-size: 1.1rem; /* 0.9rem → 1.1rem へ拡大 */
  font-weight: 900;
  flex-shrink: 0;
}

/* カードボディ */
.cost-card-body {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* グラフ表示領域 */
.cost-chart-area {
  position: relative;
  height: 250px;
  width: 100%;
  margin-bottom: 25px;
}

/* 左右の破線ガイド（点線） */
.cost-trend-line,
.profit-trend-line {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  height: 180px;
  z-index: 1;
  pointer-events: none;
}

.cost-chart-bars {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 190px;
  border-bottom: 2px solid #cccccc;
  padding: 0 10px;
}

.cost-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  flex: 1;
  position: relative;
}

.cost-bar-value {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 6px;
  white-space: nowrap;
}

.val-red { color: #c0392b; }
.val-blue { color: #1e6292; }
.val-dark { color: #222222; }
.val-navy { color: #1e3a5f; }

.cost-bar-fill {
  width: 100%;
  max-width: 65px;
  border-radius: 2px 2px 0 0;
  transform-origin: bottom center;
}

.fill-red { background-color: #c0392b; }
.fill-blue { background-color: #1e6292; }
.fill-dark { background-color: #2c3e50; }
.fill-navy { background-color: #1e3a5f; }
.fill-blue-high { background-color: #1e6292; }

.cost-bar-label {
  position: absolute;
  bottom: -45px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #333333;
  text-align: center;
  line-height: 1.35;
  white-space: nowrap;
}

/* アニメーション設定 */
.cost-bar-left-1 .cost-bar-fill {
  animation: growCostL1 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.cost-bar-left-1 .cost-bar-value {
  animation: fadeInCostL1 9.5s ease infinite;
}

.cost-bar-left-2 .cost-bar-fill {
  animation: growCostL2 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.cost-bar-left-2 .cost-bar-value {
  animation: fadeInCostL2 9.5s ease infinite;
}

.cost-bar-right-1 .cost-bar-fill {
  animation: growCostR1 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.cost-bar-right-1 .cost-bar-value {
  animation: fadeInCostR1 9.5s ease infinite;
}

.cost-bar-right-2 .cost-bar-fill {
  animation: growCostR2 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.cost-bar-right-2 .cost-bar-value {
  animation: fadeInCostR2 9.5s ease infinite;
}

.cost-bar-right-3 .cost-bar-fill {
  animation: growCostR3 9.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
.cost-bar-right-3 .cost-bar-value {
  animation: fadeInCostR3 9.5s ease infinite;
}

@keyframes growCostL1 {
  0% { height: 0%; opacity: 0; }
  10%, 88% { height: 80%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}
@keyframes fadeInCostL1 {
  0%, 3% { opacity: 0; }
  12%, 88% { opacity: 1; }
  88.1%, 100% { opacity: 0; }
}

@keyframes growCostL2 {
  0%, 8.4% { height: 0%; opacity: 0; }
  18.4%, 88% { height: 38%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}
@keyframes fadeInCostL2 {
  0%, 11.4% { opacity: 0; }
  20.4%, 88% { opacity: 1; }
  88.1%, 100% { opacity: 0; }
}

@keyframes growCostR1 {
  0% { height: 0%; opacity: 0; }
  10%, 88% { height: 20%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}
@keyframes fadeInCostR1 {
  0%, 3% { opacity: 0; }
  12%, 88% { opacity: 1; }
  88.1%, 100% { opacity: 0; }
}

@keyframes growCostR2 {
  0%, 7.3% { height: 0%; opacity: 0; }
  17.3%, 88% { height: 38%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}
@keyframes fadeInCostR2 {
  0%, 10.3% { opacity: 0; }
  19.3%, 88% { opacity: 1; }
  88.1%, 100% { opacity: 0; }
}

@keyframes growCostR3 {
  0%, 14.7% { height: 0%; opacity: 0; }
  24.7%, 88% { height: 90%; opacity: 1; }
  88.1%, 100% { height: 0%; opacity: 0; }
}
@keyframes fadeInCostR3 {
  0%, 17.7% { opacity: 0; }
  26.7%, 88% { opacity: 1; }
  88.1%, 100% { opacity: 0; }
}

.cost-card-text {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 20px;
  padding-top: 15px;
}

.cost-card-text p {
  font-size: 1.05rem;
  color: #111111;
  line-height: 1.6;
  margin: 0;
}

.cost-card-text strong {
  font-weight: 700;
  color: #000000;
  background: none;
  border-bottom: 2px solid #b89130;
  padding-bottom: 1px;
}

.cost-card-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #ffffff;
  border: 2px solid #d4af37;
  border-radius: 8px;
  padding: 12px 16px;
  margin-top: auto;
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.15);
}

.badge-shield-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background-image: url("../img/icon-shield-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.cost-card-badge p {
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  line-height: 1.5;
  margin: 0;
}

/* --- レスポンシブ対応 (1080px / 768px / 450px) --- */
@media screen and (max-width: 1080px) {
  .cost-effect-main-title {
    font-size: 2rem;
  }
  .cost-card-header h3 {
    font-size: 1.5rem;
  }
  .header-check {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .cost-cards-wrapper {
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .cost-effect-section {
    padding: 60px 16px;
  }
  .cost-effect-main-title {
    font-size: 1.75rem;
    margin-bottom: 35px;
  }
  .cost-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .cost-card {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 450px) {
  .cost-effect-section {
    padding: 45px 12px;
  }
  .cost-effect-main-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  .cost-card-header h3 {
    font-size: 1.25rem;
  }
  .header-check {
    width: 24px;
    height: 24px;
    font-size: 0.85rem;
  }
  .cost-card-body {
    padding: 20px 14px;
  }
  .cost-bar-value {
    font-size: 0.8rem;
  }
  .cost-bar-label {
    font-size: 0.72rem;
    bottom: -40px;
  }
  .cost-card-text p {
    font-size: 0.88rem;
  }
  .cost-card-badge {
    padding: 8px 10px;
  }
  .cost-card-badge p {
    font-size: 0.73rem;
  }
}

/* ==========================================================================
   12. ご契約に付随されるサービスセクション (Included Services Section)
   ========================================================================== */
.included-services-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f7fafc;
  overflow: hidden;
}

.included-services-container {
  position: relative;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* ヘッダーエリア */
.included-services-header {
  text-align: center;
  margin-bottom: 55px;
}

.included-services-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0b1a30;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  line-height: 1.3;
}

.title-underline {
  position: relative;
  display: inline-block;
}

.title-underline::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #d4af37 0%, #f1d78a 100%);
  z-index: -1;
  border-radius: 3px;
}

.included-services-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.02em;
}

/* 9カードグリッド（3×3配置） */
.services-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: 100%;
}

/* カード個別スタイル */
.included-service-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 35px 20px 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8eef5;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.included-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* 金の円形ナンバーバッジ (1〜9) */
.card-number-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f1d78a 0%, #d4af37 100%);
  color: #0b1a30;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(212, 175, 55, 0.4);
  border: 2px solid #ffffff;
}

/* アイコン領域 */
.card-icon-wrapper {
  width: 60px;
  height: 60px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* カードタイトル */
.included-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

/* カード本文 */
.included-card-text {
  font-size: 0.88rem;
  color: #444444;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
  text-align: center;
  word-break: break-word;
}

/* ==========================================================================
   13. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .included-services-title {
    font-size: 2rem;
  }
  .included-services-subtitle {
    font-size: 0.98rem;
  }
  .services-grid-wrapper {
    gap: 20px;
  }
  .included-service-card {
    padding: 30px 16px 20px;
  }
  .included-card-title {
    font-size: 1.15rem;
  }
  .included-card-text {
    font-size: 0.82rem;
  }
}

/* 768px 以下（タブレット: 2列配置） */
@media screen and (max-width: 768px) {
  .included-services-section {
    padding: 60px 16px;
  }
  .included-services-title {
    font-size: 1.75rem;
  }
  .services-grid-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

/* 450px 以下（スマートフォン: 1列配置） */
@media screen and (max-width: 450px) {
  .included-services-section {
    padding: 45px 12px;
  }
  .included-services-title {
    font-size: 1.4rem;
  }
  .included-services-subtitle {
    font-size: 0.85rem;
  }
  .services-grid-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
  .included-service-card {
    padding: 28px 14px 18px;
  }
  .included-card-title {
    font-size: 1.1rem;
  }
  .included-card-text {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   16. 安心のご契約セクション (金のアニメーション下線・5秒間キープ仕様)
   ========================================================================== */
.contract-guarantee-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f2f5f9;
  overflow: hidden;
}

.contract-guarantee-container {
  position: relative;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* アウター白カード */
.guarantee-outer-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 12px 35px rgba(11, 26, 48, 0.08);
  border: 1px solid #e2e8f0;
}

/* ヘッダーエリア */
.guarantee-header {
  text-align: center;
  margin-bottom: 35px;
}

.guarantee-main-title {
  font-size: 2.3rem;
  font-weight: 700;
  color: #0b1a30;
  letter-spacing: 0.05em;
  margin-bottom: 25px;
}

.guarantee-badge-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.shield-check-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-image: url("../img/icon-shield-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- 金のアンダーラインアニメーション（CSSのみで約5秒間キープ） --- */
.guarantee-animated-title {
  position: relative;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: 0.02em;
  margin: 0;
  padding-bottom: 6px;
  display: inline-block;
}

.guarantee-animated-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 95%;
  height: 3px;
  background: linear-gradient(90deg, #d4af37 0%, #f1d78a 50%, #d4af37 100%);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.7);
  transform-origin: left center;
  /* 総周期8.5秒：伸びた後に約5秒間表示をキープするアニメーション */
  animation: goldLineKeep5s 8.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* 金線スライド伸長＆約5秒間表示キープキーフレーム */
@keyframes goldLineKeep5s {
  0% {
    transform: scaleX(0);
    opacity: 0;
  }
  15% {
    transform: scaleX(1);
    opacity: 1;
  }
  /* 15%〜75%の間（約5.1秒間）、伸び切った状態と100%不透明度を維持 */
  75% {
    transform: scaleX(1);
    opacity: 1;
  }
  88% {
    transform: scaleX(1);
    opacity: 0.85;
  }
  95%, 100% {
    transform: scaleX(1);
    opacity: 0;
  }
}

.guarantee-lead-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
}

/* インナーダーク紺パネル */
.guarantee-inner-panel {
  background-color: #07152b;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
}

.panel-image-wrapper {
  flex: 0 0 45%;
  max-width: 45%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.panel-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.panel-content-wrapper {
  flex: 1;
  color: #ffffff;
  text-align: center;
}

/* 月桂樹PNG画像付きタイトルエリア */
.laurel-title-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
}

.laurel-img {
  width: 50px;
  height: 150px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.laurel-title-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-check-gold {
  color: #d4af37;
  font-size: 1.3rem;
  font-weight: 900;
}

.laurel-title-text h4 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #f1d78a;
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.panel-description {
  font-size: 0.98rem;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.panel-note {
  font-size: 0.82rem;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   17. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .guarantee-main-title {
    font-size: 2rem;
  }
  .guarantee-animated-title {
    font-size: 1.35rem;
  }
  .guarantee-outer-card {
    padding: 40px 30px;
  }
  .laurel-img {
    width: 36px;
    height: 46px;
  }
  .laurel-title-text h4 {
    font-size: 1.6rem;
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .contract-guarantee-section {
    padding: 60px 16px;
  }
  .guarantee-outer-card {
    padding: 30px 20px;
  }
  .guarantee-inner-panel {
    flex-direction: column;
    padding: 24px 18px;
    gap: 25px;
  }
  .panel-image-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .laurel-img {
    width: 32px;
    height: 40px;
  }
  .laurel-title-text h4 {
    font-size: 1.45rem;
  }
}

/* 450px 以下（スマートフォン） */
@media screen and (max-width: 450px) {
  .contract-guarantee-section {
    padding: 45px 12px;
  }
  .guarantee-outer-card {
    padding: 22px 14px;
    border-radius: 12px;
  }
  .guarantee-main-title {
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
  .guarantee-badge-title {
    flex-direction: column;
    gap: 6px;
  }
  .guarantee-animated-title {
    font-size: 1.12rem;
  }
  .guarantee-lead-text {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .guarantee-inner-panel {
    padding: 18px 12px;
  }
  .laurel-title-box {
    gap: 6px;
  }
  .laurel-img {
    width: 24px;
    height: 30px;
  }
  .laurel-title-text h4 {
    font-size: 1.2rem;
  }
  .panel-description {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .panel-note {
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   18. 丁寧なヒアリング＆面談後のご契約セクション (E-E-A-T コンプライアンス)
   ========================================================================== */
.compliance-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f2f5f9;
  overflow: hidden;
}

.compliance-container {
  position: relative;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* アウターカード */
.compliance-outer-card {
  background: #f8fafc;
  border-radius: 16px;
  padding: 50px 40px;
  box-shadow: 0 12px 35px rgba(11, 26, 48, 0.06);
  border: 1px solid #e2e8f0;
}

/* ヘッダーエリア */
.compliance-header {
  text-align: center;
  margin-bottom: 35px;
}

.compliance-badge-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

/* ゴールド盾アイコン */
.shield-check-gold-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-image: url(../img/icon-shield-gold.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.compliance-main-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 0.03em;
  margin: 0;
}

.compliance-subtitle {
  font-size: 1.02rem;
  font-weight: 700;
  color: #333333;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
}

/* インナーカード（白背景パネル） */
.compliance-inner-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 35px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8eef5;
}

/* 左側：写真ボックス */
.compliance-image-box {
  flex: 0 0 48%;
  max-width: 48%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.compliance-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 右側：コンテンツボックス */
.compliance-content-box {
  flex: 1;
}

.compliance-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

/* 紺色盾アイコン */
.shield-check-navy-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background-image: url("../img/icon-external-link-navy.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.compliance-card-header h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 0.03em;
  margin: 0;
}

.compliance-card-lead {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.5;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* 法令リストボックス */
.legal-list-box {
  background-color: #f7f9fc;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.legal-item {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #222222;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.legal-item::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #d4af37;
  font-size: 1.2rem;
  font-weight: bold;
}

.legal-item strong {
  font-weight: 700;
  color: #111111;
}

/* 参照リンク */
.compliance-reference-box {
  text-align: right;
}

.compliance-reference-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b89130;
  text-decoration: underline;
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
}

.compliance-reference-link:hover {
  color: #0b1a30;
}

/* ==========================================================================
   19. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .compliance-main-title {
    font-size: 1.85rem;
  }
  .compliance-card-header h3 {
    font-size: 1.5rem;
  }
  .compliance-outer-card {
    padding: 40px 30px;
  }
  .compliance-inner-card {
    padding: 24px;
    gap: 25px;
  }
}

/* 768px 以下（タブレット: 縦積みレイアウト化） */
@media screen and (max-width: 768px) {
  .compliance-section {
    padding: 60px 16px;
  }
  .compliance-outer-card {
    padding: 30px 20px;
  }
  .compliance-inner-card {
    flex-direction: column;
    padding: 24px 18px;
    gap: 25px;
  }
  .compliance-image-box {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .compliance-reference-box {
    text-align: center;
  }
}

/* 450px 以下（スマートフォン最適化） */
@media screen and (max-width: 450px) {
  .compliance-section {
    padding: 45px 12px;
  }
  .compliance-outer-card {
    padding: 20px 12px;
    border-radius: 12px;
  }
  .compliance-badge-title {
    flex-direction: column;
    gap: 8px;
  }
  .shield-check-gold-icon {
    width: 26px;
    height: 26px;
  }
  .compliance-main-title {
    font-size: 1.25rem;
  }
  .compliance-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
  }
  .compliance-inner-card {
    padding: 16px 12px;
  }
  .compliance-card-header h3 {
    font-size: 1.3rem;
  }
  .compliance-card-lead {
    font-size: 0.92rem;
  }
  .legal-list-box {
    padding: 14px 12px;
  }
  .legal-item {
    font-size: 0.8rem;
    line-height: 1.5;
  }
  .compliance-reference-link {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   20. 代表紹介セクション (Profile Section - E-E-A-T 強化 & 額縁枠撤去)
   ========================================================================== */
.profile-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f4f7fc;
  overflow: hidden;
}

.profile-container {
  position: relative;
  max-width: 1020px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.profile-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0b1a30;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 50px;
}

/* プロフィールカード（アウター白パネル） */
.profile-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px;
  box-shadow: 0 12px 35px rgba(11, 26, 48, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 45px;
}

/* 左側：写真エリア（重い二重枠を削除し、モダンで洗練されたスタイルに統一） */
.profile-image-box {
  flex: 0 0 340px;
  max-width: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background-color: #f8fafc;
}

.profile-image-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 右側：コンテンツエリア */
.profile-content-box {
  flex: 1;
}

/* 氏名・肩書 */
.profile-header-info {
  position: relative;
  padding-left: 18px;
  margin-bottom: 25px;
}

.profile-header-info::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: linear-gradient(180deg, #d4af37 0%, #b89130 100%);
  border-radius: 2px;
}

.profile-name {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin-bottom: 8px;
}

.profile-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #444444;
  letter-spacing: 0.02em;
  margin: 0;
}

/* 経歴本文 */
.profile-bio {
  margin-bottom: 28px;
}

.profile-bio p {
  font-size: 1rem;
  color: #222222;
  line-height: 1.85;
  letter-spacing: 0.02em;
  font-weight: 500;
  margin: 0;
}

/* 詳しく見る リンク */
.profile-link-box {
  text-align: left;
}

.profile-detail-link {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1a30;
  letter-spacing: 0.03em;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.profile-detail-link:hover {
  color: #d4af37;
  transform: translateX(4px);
}

/* ==========================================================================
   21. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .profile-main-title {
    font-size: 2rem;
  }
  .profile-card {
    padding: 35px;
    gap: 30px;
  }
  .profile-image-box {
    flex: 0 0 290px;
    max-width: 290px;
  }
  .profile-name {
    font-size: 1.9rem;
  }
  .profile-bio p {
    font-size: 0.95rem;
    line-height: 1.75;
  }
}

/* 768px 以下（タブレット: 1カラム縦積み化） */
@media screen and (max-width: 768px) {
  .profile-section {
    padding: 60px 16px;
  }
  .profile-main-title {
    font-size: 1.75rem;
    margin-bottom: 35px;
  }
  .profile-card {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
    align-items: center;
  }
  .profile-image-box {
    flex: 0 0 auto;
    width: 260px;
    max-width: 100%;
  }
  .profile-header-info {
    text-align: center;
    padding-left: 0;
  }
  .profile-header-info::before {
    display: none;
  }
  .profile-bio p {
    text-align: left;
  }
  .profile-link-box {
    text-align: center;
  }
}

/* 450px 以下（スマートフォン最適化） */
@media screen and (max-width: 450px) {
  .profile-section {
    padding: 45px 12px;
  }
  .profile-main-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  .profile-card {
    padding: 22px 14px;
    border-radius: 12px;
  }
  .profile-image-box {
    width: 200px;
  }
  .profile-name {
    font-size: 1.5rem;
  }
  .profile-title {
    font-size: 0.9rem;
  }
  .profile-bio p {
    font-size: 0.88rem;
    line-height: 1.7;
  }
  .profile-detail-link {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   22. 事務所概要（会社概要）セクション (Office Info Section - E-E-A-T & AIO)
   ========================================================================== */
.office-info-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f2f5f9;
  overflow: hidden;
}

.office-info-container {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.office-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0b1a30;
  text-align: center;
  letter-spacing: 0.05em;
  margin-bottom: 45px;
}

/* アウター白カード */
.office-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 35px rgba(11, 26, 48, 0.08);
  border: 1px solid #e2e8f0;
}

.table-responsive-wrapper {
  width: 100%;
  overflow-x: auto;
}

/* 概要テーブル本体 */
.office-info-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid #1e324f;
}

/* テーブル行 */
.office-info-table tr {
  border-bottom: 1px solid #1e324f;
}

.office-info-table tr:last-child {
  border-bottom: none;
}

/* 左側見出し（紺フレーム） */
.office-info-table th {
  width: 28%;
  background-color: #0b1a30;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 20px;
  text-align: center;
  vertical-align: middle;
  border-right: 1px solid #ffffff;
  letter-spacing: 0.03em;
  box-shadow: inset 0 0 0 2px #0b1a30;
}

/* 右側データセル */
.office-info-table td {
  width: 72%;
  background-color: #ffffff;
  color: #111111;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 16px 24px;
  vertical-align: middle;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.office-info-table address {
  font-style: normal;
}

/* 金色の丸ポチ付きリスト */
.table-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.table-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.6;
}

.table-bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  background-color: #d4af37;
  border-radius: 50%;
}

/* ==========================================================================
   23. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .office-main-title {
    font-size: 2rem;
  }
  .office-card {
    padding: 30px;
  }
  .office-info-table th {
    width: 30%;
    font-size: 0.98rem;
    padding: 14px 16px;
  }
  .office-info-table td {
    width: 70%;
    font-size: 0.98rem;
    padding: 14px 18px;
  }
  .table-bullet-list li {
    font-size: 0.98rem;
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .office-info-section {
    padding: 60px 16px;
  }
  .office-main-title {
    font-size: 1.75rem;
    margin-bottom: 35px;
  }
  .office-card {
    padding: 20px 15px;
  }
  .office-info-table th {
    font-size: 0.92rem;
    padding: 12px 14px;
  }
  .office-info-table td {
    font-size: 0.92rem;
    padding: 12px 16px;
  }
  .table-bullet-list li {
    font-size: 0.92rem;
  }
}

/* 450px 以下（スマートフォン最適化: thとtdを縦積み表示） */
@media screen and (max-width: 450px) {
  .office-info-section {
    padding: 45px 12px;
  }
  .office-main-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }
  .office-card {
    padding: 14px 10px;
    border-radius: 12px;
  }
  
  /* スマホ向け縦積み変換 */
  .office-info-table,
  .office-info-table tbody,
  .office-info-table tr,
  .office-info-table th,
  .office-info-table td {
    display: block;
    width: 100%;
  }

  .office-info-table tr {
    border-bottom: 1px solid #dcdfe6;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }

  .office-info-table tr:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .office-info-table th {
    text-align: left;
    padding: 8px 12px;
    border-right: none;
    border-radius: 4px 4px 0 0;
    font-size: 0.88rem;
  }

  .office-info-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .table-bullet-list li {
    font-size: 0.85rem;
    padding-left: 16px;
  }

  .table-bullet-list li::before {
    top: 6px;
    width: 7px;
    height: 7px;
  }
}

/* ==========================================================================
   関係企業リンク＆アイコン表示用スタイル (E-E-A-T 視認性強化)
   ========================================================================== */
.office-link {
  color: #0b1a30;
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.office-link:hover {
  color: #d4af37;
}

.related-company-box {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.related-company-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #f0f4f9;
  border: 1px solid #c0d1e5;
  color: #0b1a30;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-company-link:hover {
  background-color: #0b1a30;
  color: #ffffff;
  border-color: #0b1a30;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(11, 26, 48, 0.15);
}

.related-company-link:hover .external-link-icon {
  background-image: url("../img/icon-external-link-white.svg");
}

/* 外部リンクリクエスト用アイコン (SVG Data URI で外部参照なし) */
.external-link-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url("../img/icon-external-link-navy.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.2s ease;
}

/* 450px スマートフォン表示調整 */
@media screen and (max-width: 450px) {
  .related-company-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .related-company-link {
    font-size: 0.82rem;
    padding: 4px 10px;
  }
}

/* ==========================================================================
   24. 無料業績診断CTAセクション (Free Diagnosis Section - CVR & E-E-A-T)
   ========================================================================== */
.free-diagnosis-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #f2f5f9;
  overflow: hidden;
}

.free-diagnosis-container {
  position: relative;
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

/* アウターカード */
.diagnosis-outer-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: 0 12px 35px rgba(11, 26, 48, 0.08);
  border: 1px solid #e2e8f0;
}

/* ヘッダーエリア */
.diagnosis-header {
  text-align: center;
  margin-bottom: 35px;
}

.diagnosis-badge-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

/* 紺丸チェックバッジ */
.navy-check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #0b1a30;
  color: #f1d78a;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.diagnosis-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 0.04em;
  margin: 0;
}

.diagnosis-subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222222;
  letter-spacing: 0.02em;
  margin: 0;
}

/* インナーレイアウト（左右2カラム） */
.diagnosis-inner-card {
  display: flex;
  align-items: stretch;
  gap: 35px;
}

/* 左側：写真ボックス */
.diagnosis-image-box {
  flex: 0 0 48%;
  max-width: 48%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.diagnosis-image-box img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* 右側：アクション領域 */
.diagnosis-action-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 安心の無料診断サポート ラベル */
.diagnosis-safe-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.gold-shield-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-image: url("../img/icon-shield-gold.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.diagnosis-safe-label h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #b89130;
  letter-spacing: 0.03em;
  margin: 0;
}

/* オレンジCTAボタン */
.diagnosis-btn-wrapper {
  margin-bottom: 14px;
}

.diagnosis-orange-btn {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, #ff7e00 0%, #ee6d17 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 16px 28px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(230, 92, 0, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  line-height: 1.4;
  text-decoration: none;
  box-sizing: border-box;
}

.diagnosis-orange-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 92, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-text {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  text-align: center;
  width: 100%;
}

.btn-arrow {
  font-size: 1.3rem;
  font-weight: 900;
  margin-left: 8px;
}

/* 安心注記 */
.diagnosis-note {
  font-size: 0.82rem;
  font-weight: 700;
  color: #222222;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* チェックリストボックス */
.diagnosis-check-box {
  background-color: #f7f9fc;
  border: 1px solid #dcdfe6;
  border-radius: 10px;
  padding: 16px 18px;
}

.diagnosis-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diagnosis-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-square-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #b89130;
  color: #ffffff;
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-item-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #222222;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

/* ==========================================================================
   25. レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .diagnosis-main-title {
    font-size: 2rem;
  }
  .diagnosis-subtitle {
    font-size: 0.98rem;
  }
  .diagnosis-outer-card {
    padding: 35px 30px;
  }
  .diagnosis-inner-card {
    gap: 25px;
  }
  .btn-text {
    font-size: 0.98rem;
  }
}

/* 768px 以下（タブレット: 縦積みレイアウト化） */
@media screen and (max-width: 768px) {
  .free-diagnosis-section {
    padding: 60px 16px;
  }
  .diagnosis-outer-card {
    padding: 30px 20px;
  }
  .diagnosis-inner-card {
    flex-direction: column;
    gap: 25px;
  }
  .diagnosis-image-box {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
  }
}

/* 450px 以下（スマートフォン最適化） */
@media screen and (max-width: 450px) {
  .free-diagnosis-section {
    padding: 45px 12px;
  }
  .diagnosis-outer-card {
    padding: 20px 12px;
    border-radius: 12px;
  }
  .navy-check-badge {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }
  .diagnosis-main-title {
    font-size: 1.35rem;
  }
  .diagnosis-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  .diagnosis-safe-label h3 {
    font-size: 1.05rem;
  }
  .diagnosis-orange-btn {
    padding: 14px 14px;
  }
  .btn-text {
    font-size: 0.88rem;
  }
  .diagnosis-note {
    font-size: 0.78rem;
  }
  .check-item-text {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   26. FAQ セクション (FAQ Section - AIO & Accordion)
   ========================================================================== */
.faq-section {
  position: relative;
  width: 100%;
  padding: 90px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.faq-container {
  position: relative;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  z-index: 2;
}

.faq-header {
  text-align: center;
  margin-bottom: 45px;
}

.faq-main-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #0b1a30;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.faq-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: #555555;
}

.faq-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
  border-color: #d4af37;
  box-shadow: 0 6px 18px rgba(11, 26, 48, 0.06);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  background-color: #f8fafc;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.q-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #0b1a30;
  color: #f1d78a;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  margin-right: 15px;
  flex-shrink: 0;
}

.q-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
  flex: 1;
  line-height: 1.5;
}

.faq-toggle-icon {
  position: relative;
  width: 16px;
  height: 16px;
  margin-left: 15px;
  flex-shrink: 0;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #0b1a30;
  transition: transform 0.25s ease;
}

.faq-toggle-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.faq-toggle-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.faq-item[open] .faq-toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 22px 20px 69px;
  font-size: 0.95rem;
  color: #333333;
  line-height: 1.75;
  border-top: 1px dashed #e2e8f0;
  padding-top: 15px;
  margin-top: 5px;
}

.faq-answer p {
  margin: 0;
}

/* ==========================================================================
   27. プライバシーポリシーセクション (Privacy Policy Section)
   ========================================================================== */
.privacy-section {
  width: 100%;
  padding: 70px 20px;
  background-color: #f2f5f9;
}

.privacy-container {
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

.privacy-header {
  text-align: center;
  margin-bottom: 30px;
}

.privacy-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b1a30;
}

.privacy-content-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 35px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.privacy-lead {
  font-size: 0.92rem;
  color: #333333;
  line-height: 1.7;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.privacy-block-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.privacy-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0b1a30;
  margin-bottom: 8px;
}

.privacy-block p {
  font-size: 0.88rem;
  color: #555555;
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   レスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */
@media screen and (max-width: 1080px) {
  .faq-main-title { font-size: 2rem; }
  .q-text { font-size: 1rem; }
  .privacy-title { font-size: 1.45rem; }
}

@media screen and (max-width: 768px) {
  .faq-section, .privacy-section { padding: 60px 16px; }
  .faq-main-title { font-size: 1.75rem; }
  .faq-question { padding: 15px 16px; }
  .faq-answer { padding: 12px 16px 16px 16px; }
  .privacy-content-card { padding: 22px 20px; }
}

@media screen and (max-width: 450px) {
  .faq-section, .privacy-section { padding: 45px 12px; }
  .faq-main-title { font-size: 1.4rem; }
  .q-badge { width: 26px; height: 26px; font-size: 0.82rem; margin-right: 10px; }
  .q-text { font-size: 0.88rem; }
  .faq-answer { font-size: 0.82rem; }
  .privacy-title { font-size: 1.25rem; }
  .privacy-lead, .privacy-block p { font-size: 0.82rem; }
  .privacy-block h3 { font-size: 0.92rem; }
}

/* ==========================================================================
   28. フッター領域 (Footer - E-E-A-T & Anchor Buttons)
   ========================================================================== */
.footer {
  width: 100%;
  background-color: #071222;
  color: #ffffff;
  padding: 60px 20px 30px;
  position: relative;
  z-index: 10;
  border-top: 3px solid #d4af37;
}

.footer-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  height: auto; /* 高さの強制伸長を解除 */
}

.footer-brand {
  flex: 0 0 320px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.88rem;
  color: #a0aec0;
  line-height: 1.6;
  margin: 0;
}

/* フッターアンカーボタンリスト */
.footer-nav {
  flex: 1;
}

.footer-anchor-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-anchor-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #e2e8f0;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.footer-anchor-btn::after {
  content: "›";
  font-size: 1.1rem;
  font-weight: bold;
  color: #d4af37;
  transition: transform 0.2s ease;
}

.footer-anchor-btn:hover {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-anchor-btn:hover::after {
  transform: translateX(3px);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  margin-bottom: 25px;
}

.footer-bottom {
  text-align: center;
}

.copyright {
  font-size: 0.85rem;
  color: #a0aec0;
  letter-spacing: 0.05em;
  margin: 0;
}

/* ==========================================================================
   29. フッターレスポンシブ対応 (1080px / 768px / 450px)
   ========================================================================== */

/* 1080px 以下 */
@media screen and (max-width: 1080px) {
  .footer-top {
    gap: 30px;
  }
  .footer-brand {
    flex: 0 0 280px;
  }
  .footer-anchor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 768px 以下（タブレット） */
@media screen and (max-width: 768px) {
  .footer {
    padding: 40px 16px 25px;
  }
  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 30px;
    height: auto;
  }
  .footer-brand {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
  .footer-nav {
    flex: 0 0 auto;
    width: 100%;
  }
  .footer-anchor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }
}

/* 450px 以下（スマートフォン最適化：高さ固定の解除＆間隔のリセット） */
@media screen and (max-width: 450px) {
  .footer {
    padding: 25px 12px 20px;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;            /* ブランドとボタン群の間隔を16pxへ固定 */
    margin-bottom: 20px;
    height: auto;         /* 縦の強制伸長を完全キャンセル */
  }
  .footer-brand {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .footer-title {
    font-size: 1.3rem;
    margin-bottom: 6px;
  }
  .footer-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .footer-nav {
    margin-top: 20px;
    flex: 0 0 auto;
    width: 100%;
  }
  .footer-anchor-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .footer-anchor-btn {
    padding: 9px 8px;
    font-size: 0.8rem;
  }
  .footer-divider {
    margin-bottom: 18px;
  }
  .copyright {
    font-size: 0.75rem;
  }
}