@charset "UTF-8";
/**
 * PlusA — 松山オフィス専用LP スタイルシート
 * Version: 2.1.0
 * ユーザー指定ワイヤーフレーム13セクション＋2必須要素 完全準拠
 * 端正な和モダンデザイン / AI感完全排除
 */

/* ── 全体スコープ・リセット ────────────────────────────── */
html {
  overflow: visible;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100%;
}

.matsuyama-page {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #2c2c2c;
  background-color: #ffffff;
  line-height: 1.85;
  letter-spacing: 0.03em;
  word-break: break-word;
  -webkit-font-smoothing: antialiased;
  max-width: 100% !important;
  width: 100% !important;
}

.matsuyama-page *,
.matsuyama-page *::before,
.matsuyama-page *::after {
  box-sizing: border-box;
}

/* 共通インナーコンテナ（全社共通 style.css と完全統一） */
.matsuyama-page .inner {
  width: 100%;
  max-width: 1366px;
  margin-inline: auto;
  padding-left: 8.3125rem;
  padding-right: 8.3125rem;
}

@media screen and (max-width: 1024px) {
  .matsuyama-page .inner {
    padding-left: 5.6875rem;
    padding-right: 6.3125rem;
  }
}

@media screen and (max-width: 768px) {
  .matsuyama-page .inner {
    width: 100%;
    padding-left: 27px;
    padding-right: 27px;
    margin-inline: auto;
    max-width: 554px;
  }
}

/* ユーティリティ */
.u-pc-only {
  display: block;
}

.u-sp-only {
  display: none !important;
}

@media (max-width: 767px) {
  .u-pc-only {
    display: none !important;
  }
  .u-sp-only {
    display: block !important;
  }
}

/* ── セクション共通背景・余白 ──────────────────────────── */
.matsuyama-sec {
  padding: 90px 0;
  position: relative;
}

@media (max-width: 767px) {
  .matsuyama-sec {
    padding: 52px 0;
  }
}

.matsuyama-sec--white {
  background-color: #ffffff;
}

.matsuyama-sec--light {
  background-color: #f7f5ef;
  border-top: 1px solid #ebe6dc;
  border-bottom: 1px solid #ebe6dc;
}

.matsuyama-sec--dark {
  background-color: #222222;
  color: #f5f4ef;
}

.matsuyama-sec--dark * {
  color: inherit;
}

/* ── セクション共通ヘッダー（全社デザイン完全準拠） ──────── */
.matsuyama-page .section-title_wrap {
  margin-bottom: 45px;
  text-align: left;
}

@media (max-width: 767px) {
  .matsuyama-page .section-title_wrap {
    margin-bottom: 28px;
  }
}

.matsuyama-page .section-title {
  color: #222222;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

@media (max-width: 767px) {
  .matsuyama-page .section-title {
    font-size: 1.625rem;
    letter-spacing: 0.06em;
  }
}

/* ── 全セクション共通見出し（日本語見出し h2 はすべてゴールド #ab8f50 厳守） ── */
.matsuyama-page h2:not(.contact-us__title):not(.join__title),
.matsuyama-page h2:not(.contact-us__title):not(.join__title) *,
.matsuyama-page .section-title_ja,
.matsuyama-page .section-title_ja *,
.matsuyama-page .section-title_ja span {
  color: #ab8f50 !important;
}

.matsuyama-page .section-title_ja {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.matsuyama-page .section-title_ja span {
  display: inline-block;
}

@media (max-width: 767px) {
  .matsuyama-page .section-title_ja {
    font-size: 1.125rem;
    line-height: 1.5;
  }
}

.matsuyama-page .matsuyama-sec-header__sub {
  font-size: 14.5px;
  color: #666666;
  margin: 0;
  line-height: 1.7;
}

.matsuyama-page .matsuyama-sec-header__sub span {
  display: inline-block;
}

@media (max-width: 767px) {
  .matsuyama-page .matsuyama-sec-header__sub {
    font-size: 13.5px;
    line-height: 1.75;
  }
}

.matsuyama-sec--dark .section-title {
  color: #ffffff;
}

.matsuyama-sec--dark .section-title_ja {
  color: #ab8f50;
}

.matsuyama-sec--dark .matsuyama-sec-header__sub {
  color: #d1d5db;
}

/* ── 1. FV・地域の相談入口 ────────────────────────────── */
.matsuyama-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #1a1a1a;
}

@media (max-width: 767px) {
  .matsuyama-hero {
    min-height: auto;
    padding: 46px 0 50px;
  }
}

.matsuyama-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.matsuyama-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.8);
}

.matsuyama-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 20, 19, 0.9) 0%, rgba(28, 32, 30, 0.74) 100%);
}

.matsuyama-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.matsuyama-hero__content {
  max-width: 820px;
  color: #ffffff;
}

.matsuyama-hero__sub {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #ab8f50;
  margin: 0 0 14px;
}

.matsuyama-hero__title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
}

.matsuyama-hero__title span {
  font-size: 28px;
  font-weight: 500;
  display: block;
  margin-top: 6px;
  color: #f7f5ee;
}

@media (max-width: 767px) {
  .matsuyama-hero__title {
    font-size: clamp(1.25rem, 5.4vw, 1.5rem);
    line-height: 1.38;
  }
  .matsuyama-hero__title span {
    font-size: clamp(1.0625rem, 4.6vw, 1.25rem);
    margin-top: 4px;
  }
}

.matsuyama-hero__copy {
  font-size: 20px;
  font-weight: 600;
  color: #e6cb95 !important;
  margin: 0 0 16px;
  letter-spacing: 0.05em;
}

.matsuyama-hero__copy span {
  display: inline-block;
  color: inherit;
}

@media (max-width: 767px) {
  .matsuyama-hero__copy {
    font-size: clamp(0.95rem, 4vw, 1.0625rem);
    line-height: 1.5;
    margin-bottom: 14px;
  }
}

.matsuyama-hero__lead {
  font-size: 15.5px;
  line-height: 1.85;
  color: #e5e3dc;
  margin: 0 0 26px;
}

@media (max-width: 767px) {
  .matsuyama-hero__lead {
    font-size: 13.5px;
    line-height: 1.75;
    margin-bottom: 22px;
  }
}

.matsuyama-hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

@media (max-width: 767px) {
  .matsuyama-hero__tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 26px;
  }
}

.matsuyama-hero__tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 12px;
  color: #f7f5ee;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
}

@media (max-width: 767px) {
  .matsuyama-hero__tag {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 6px;
    font-size: 11.5px;
    letter-spacing: 0.02em;
    min-height: 38px;
  }
}

.matsuyama-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 767px) {
  .matsuyama-hero__actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
}

/* ── 全社共通ボタン連携・FVボタン ───────────────────────── */
.matsuyama-page .btn-surround {
  display: inline-block;
  text-decoration: none;
  color: #ffffff !important;
  font-weight: 700;
  background-color: #ab8f50;
  text-align: center;
  padding: 1rem 1.5rem;
  position: relative;
  width: auto;
  min-width: 13.75rem;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(171, 143, 80, 0.25);
  transition: all 0.3s ease;
}

.matsuyama-page .btn-surround span {
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  display: inline-block;
  width: 100%;
  transition: color 0.3s ease;
}

.matsuyama-page .btn-surround:hover {
  background-color: #ffffff;
  box-shadow: 0 6px 20px rgba(171, 143, 80, 0.35);
}

.matsuyama-page .btn-surround:hover span {
  color: #ab8f50 !important;
}

/* FVの白枠線ボタン */
.matsuyama-hero-btn--outline {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(4px);
  box-shadow: none !important;
}

.matsuyama-hero-btn--outline span {
  color: #ffffff !important;
}

.matsuyama-hero-btn--outline:hover {
  background: #ffffff !important;
  border-color: #ffffff !important;
}

.matsuyama-hero-btn--outline:hover span {
  color: #222222 !important;
}

/* モバイルでの全社ボタンスタイル強制上書き（幅100%・文字見切れ完全防止） */
@media (max-width: 767px) {
  .matsuyama-page .btn-surround,
  .matsuyama-page .btn-surround-w,
  .matsuyama-hero-btn,
  .matsuyama-cta__btn {
    width: 100% !important;
    min-width: unset !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 16px !important;
    box-sizing: border-box !important;
  }

  .matsuyama-page .btn-surround span,
  .matsuyama-page .btn-surround-w span {
    width: auto !important;
    white-space: nowrap !important;
    font-size: 14px !important;
  }

  .matsuyama-sec-btn .btn-surround {
    max-width: 320px !important;
    margin-left: auto;
    margin-right: auto;
  }
}

.matsuyama-btn--wide {
  width: 100%;
  max-width: 380px;
  padding: 16px 24px;
}

.matsuyama-sec-btn {
  text-align: center;
  margin-top: 45px;
}

/* PLANSセクション ボタン2個横並び */
.matsuyama-plan-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.matsuyama-plan-btns__primary {
  /* btn-surroundと同じ見た目、サイズ維持 */
}

.matsuyama-plan-btns__outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border: 2px solid #ab8f50;
  color: #ab8f50;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}

.matsuyama-plan-btns__outline:hover {
  background: #ab8f50;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .matsuyama-plan-btns {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .matsuyama-plan-btns__primary,
  .matsuyama-plan-btns__outline {
    width: 100%;
    max-width: 340px;
    text-align: center;
    justify-content: center;
  }
}

.matsuyama-text-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #ab8f50;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.matsuyama-text-link:hover {
  color: #8c733e;
  transform: translateX(3px);
}

.matsuyama-text-link:hover {
  color: #7a6039;
  transform: translateX(4px);
}

.matsuyama-text-link--light {
  color: #cbb17b;
}

.matsuyama-text-link--light:hover {
  color: #e5d1a5;
}

/* ── 2. 課題への共感 ────────────────────────────────────── */
.matsuyama-concern-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

@media (max-width: 900px) {
  .matsuyama-concern-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.matsuyama-concern-card {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  padding: 32px 26px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .matsuyama-concern-card {
    padding: 24px 20px;
  }
}

.matsuyama-concern-card:hover {
  transform: translateY(-3px);
  border-color: #d4caa8;
}

.matsuyama-concern-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0ece3;
}

.matsuyama-concern-card__num {
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 600;
  color: #ab8f50;
  line-height: 1;
  flex-shrink: 0;
  white-space: nowrap;
}

.matsuyama-concern-card__title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.45;
  margin: 0;
}

.matsuyama-concern-card__title span {
  display: inline-block;
}

@media (max-width: 767px) {
  .matsuyama-concern-card__title {
    font-size: 16px;
  }
}

.matsuyama-concern-card__text {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin: 0;
}

.matsuyama-concern-lead {
  text-align: center;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  max-width: 780px;
  margin: 0 auto;
}

.matsuyama-concern-lead p {
  font-size: 15px;
  font-weight: 500;
  color: #222222;
  margin: 0 0 10px;
}

/* ── 3. 差別化・支援体制 ────────────────────────────────── */
.matsuyama-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .matsuyama-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.matsuyama-feature-item {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  padding: 34px 30px;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matsuyama-feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 767px) {
  .matsuyama-feature-item {
    gap: 16px;
    padding: 24px 20px;
  }
}

.matsuyama-feature-item__num {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  color: #ab8f50;
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 4px;
}

@media (max-width: 767px) {
  .matsuyama-feature-item__num {
    font-size: 26px;
  }
}

.matsuyama-feature-item__body {
  flex: 1;
}

.matsuyama-feature-item__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 10px;
}

@media (max-width: 767px) {
  .matsuyama-feature-item__title {
    font-size: 16px;
  }
}

.matsuyama-feature-item__text {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin: 0;
}

/* ── 4. サービスメニュー（トップページ完全流用） ───────────── */
.matsuyama-top-service {
  position: relative;
  overflow: hidden;
}

.matsuyama-top-service .service__title.section-title {
  color: #ffffff !important;
}

.matsuyama-top-service .section-title_ja {
  color: #ab8f50 !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-top: 10px !important;
}

.matsuyama-top-service__lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  margin: 16px 0 0;
  max-width: 320px;
}

@media screen and (max-width: 768px) {
  .matsuyama-top-service .section-title_ja {
    font-size: 22px !important;
  }
  .matsuyama-top-service__lead {
    font-size: 13px;
    max-width: 100%;
    margin-top: 10px;
  }
}

.matsuyama-top-service .service__btn {
  margin-top: 40px;
}

/* ── 5. 支援の具体像（シミュレーション） ──────────────── */
.matsuyama-sim-lead-box {
  background: #fdfbf7;
  border: 1px solid #ebe2d3;
  padding: 16px 22px;
  border-radius: 2px;
  margin-bottom: 40px;
}

.matsuyama-sim-lead-box__text {
  font-size: 13.5px;
  color: #7a6e5b;
  margin: 0;
  line-height: 1.6;
}

.matsuyama-sim-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 980px) {
  .matsuyama-sim-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.matsuyama-sim-step {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

@media (max-width: 767px) {
  .matsuyama-sim-step {
    padding: 22px 14px;
  }
}

.matsuyama-sim-step__badge {
  display: inline-block;
  align-self: flex-start;
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ab8f50;
  background: #f8f5ee;
  border: 1px solid #e8e0ce;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.matsuyama-sim-step__title {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.45;
  margin: 0 0 12px;
}

.matsuyama-sim-step__desc {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.75;
  margin: 0 0 20px;
}

.matsuyama-sim-sample {
  margin-top: auto;
  background: #faf8f5;
  border: 1px solid #ede7db;
  border-radius: 2px;
  padding: 14px;
}

.matsuyama-sim-sample__header {
  font-size: 12px;
  font-weight: 600;
  color: #8c734b;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #dcd4c3;
}

.matsuyama-sim-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.matsuyama-sim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

@media (max-width: 767px) {
  .matsuyama-sim-sample {
    padding: 12px 8px;
  }
  .matsuyama-sim-table {
    min-width: 290px;
    font-size: 11px;
  }
  .matsuyama-sim-table th,
  .matsuyama-sim-table td {
    padding: 6px 4px;
    white-space: nowrap;
  }
  .matsuyama-sim-table th:first-child,
  .matsuyama-sim-table td:first-child {
    white-space: normal;
  }
}

.matsuyama-sim-table th,
.matsuyama-sim-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid #ede7db;
}

.matsuyama-sim-table th {
  background: #f2ede2;
  font-weight: 600;
  color: #4a463d;
}

.matsuyama-sim-table td.is-up {
  color: #c4473a;
  font-weight: 600;
}

.matsuyama-sim-agenda {
  list-style: none;
  padding: 0;
  margin: 0;
}

.matsuyama-sim-agenda li {
  font-size: 12px;
  color: #444444;
  line-height: 1.6;
  margin-bottom: 6px;
  padding-left: 10px;
  position: relative;
}

.matsuyama-sim-agenda li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #ab8f50;
}



/* ── 6. 松山オフィスの担当者・相談体制（ORGANIZATION） ─────── */
.matsuyama-team-overview__card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

@media (max-width: 860px) {
  .matsuyama-team-overview__card {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.matsuyama-team-overview__img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background-color: #f2eee6;
}

.matsuyama-team-overview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matsuyama-team-overview__body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .matsuyama-team-overview__body {
    padding: 24px 20px;
  }
}

.matsuyama-team-overview__title {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.45;
  margin: 0 0 16px;
}

@media (max-width: 767px) {
  .matsuyama-team-overview__title {
    font-size: 18px;
  }
}

.matsuyama-team-overview__text {
  font-size: 14.5px;
  color: #555555;
  line-height: 1.85;
  margin: 0 0 16px;
}

.matsuyama-team-overview__points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px dashed #e8e3d9;
}

.matsuyama-team-point {
  font-size: 13px;
  font-weight: 600;
  color: #8c734b;
  position: relative;
  padding-left: 18px;
}

.matsuyama-team-point::before {
  content: "✔";
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* ── 7. メンバー紹介（トップページ完全同一形式） ─────────── */
.matsuyama-member-section {
  position: relative;
  overflow: visible !important;
  max-width: 100% !important;
  width: 100% !important;
  will-change: transform;
}

/* PC時の右パネルカード初期状態（GSAP未発火時のフォールバックも考慮しつつトップページと整合） */
@media screen and (min-width: 769px) {
  .matsuyama-member-section .slider__wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    position: relative;
  }

  .matsuyama-member-section .slider__wrap-left {
    position: sticky;
    top: 11.25rem;
    align-self: flex-start;
    height: 100%;
    width: 50%;
  }

  .matsuyama-member-section .slider__wrap-right {
    width: 50%;
  }
}

/* スマホ表示時の最適化（トップページ完全同一Swiperスライダー） */
@media screen and (max-width: 768px) {
  .matsuyama-member-section .member__inner {
    padding-left: 27px !important;
    padding-right: 0 !important; /* トップページと完全に揃えてスライダー右端を突き抜けさせる */
    width: 100% !important;
    max-width: 100% !important;
  }

  .matsuyama-member-section .member__wrap-sp {
    opacity: 1 !important;
    visibility: visible !important;
    overflow-x: hidden;
    position: relative;
    width: 100% !important;
  }

  .matsuyama-member-section .member__container {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 2.5rem !important;
  }

  .matsuyama-member-section .member__swiper {
    overflow: hidden !important;
    width: 100% !important;
  }

  .matsuyama-member-section .member__swiper-slide {
    width: 64% !important;
    max-width: 320px !important;
  }

  /* SP時は横スクロールスライダーのため名前・黄色ポリゴンを常時表示 */
  .matsuyama-member-section .member__name-en,
  .matsuyama-member-section .member__name-ja {
    -webkit-clip-path: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .matsuyama-member-section .member__img {
    --scaleY: 1 !important;
  }

  /* 横スクロールバグの完全防止 */
  .matsuyama-member-section .member__loop-sp {
    display: flex !important;
    overflow: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
  }
}

/* ── 7. 支援事例 ────────────────────────────────────────── */
.matsuyama-case-note {
  max-width: 800px;
  margin: 0 auto 30px;
  background: #fdfbf7;
  border: 1px solid #ede4d5;
  padding: 12px 18px;
  border-radius: 2px;
  font-size: 13px;
  color: #7a6e5b;
  text-align: center;
}

.matsuyama-case-note p {
  margin: 0;
}

.matsuyama-voice-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 340px));
  justify-content: center;
  gap: 2.125rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

#voice .matsuyama-sec-header {
  text-align: center;
}

#voice .matsuyama-sec-header__sub {
  text-align: left;
}

@media (max-width: 768px) {
  .matsuyama-voice-list {
    grid-template-columns: minmax(0, 340px);
  }
}

/* ── 8. 記事・コラム（PC 4列 / SP 2列） ────────────────────────── */
.matsuyama-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 270px));
  justify-content: center;
  gap: 24px;
}

@media (max-width: 1024px) {
  .matsuyama-column-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 270px));
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .matsuyama-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 24px;
  }
}

.matsuyama-column-card {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.matsuyama-column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.matsuyama-card-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #ffffff;
  background: linear-gradient(135deg, #1c2a48 0%, #2d426d 100%);
  letter-spacing: 0.12em;
}

.matsuyama-column-card__img-wrap .matsuyama-card-placeholder {
  min-height: 11rem;
}

.matsuyama-card-placeholder span {
  font-size: 1.125rem;
  font-weight: 700;
}

.matsuyama-card-placeholder small {
  margin-top: 0.5rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
}

.matsuyama-column-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.matsuyama-column-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #f0ece3;
}

.matsuyama-column-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.matsuyama-column-card:hover .matsuyama-column-card__img-wrap img {
  transform: scale(1.04);
}

.matsuyama-column-card__cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(33, 36, 35, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(2px);
}

.matsuyama-column-card__cat-label {
  display: none;
}

.matsuyama-column-card__body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.matsuyama-column-card__meta {
  margin-bottom: 6px;
}

.matsuyama-column-card__date {
  display: block;
  font-size: 11px;
  color: #888888;
}

.matsuyama-column-card__title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0 0 8px;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matsuyama-column-card:hover .matsuyama-column-card__title {
  color: #ab8f50;
}

.matsuyama-column-card__excerpt {
  font-size: 12px;
  color: #666666;
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .matsuyama-column-card__img-wrap {
    aspect-ratio: 140 / 92;
  }
  .matsuyama-column-card__cat {
    display: none;
  }
  .matsuyama-column-card__cat-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #4a463d;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .matsuyama-column-card__body {
    padding: 10px 8px 12px;
  }
  .matsuyama-column-card__date {
    font-size: 9.5px;
    color: #888888;
    margin-bottom: 4px;
  }
  .matsuyama-column-card__title {
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0 0 6px;
  }
  .matsuyama-column-card__excerpt {
    font-size: 11px;
    line-height: 1.45;
  }

  .matsuyama-column-grid > :only-child,
  .matsuyama-news-grid > :only-child {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
  }
}



/* ── 9. お知らせ（PC 2列 / SP 2列） ────────────────────────── */
.matsuyama-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 540px));
  justify-content: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .matsuyama-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    row-gap: 24px;
    max-width: 100%;
  }
}

.matsuyama-news-card {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.matsuyama-news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.matsuyama-news-card__link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  height: 100%;
  box-sizing: border-box;
  border-bottom: none !important;
}

/* 矢印アイコンの完全非表示（共通スタイルの ::before, ::after 矢印干渉を排除） */
.matsuyama-news-card a::before,
.matsuyama-news-card a::after,
.matsuyama-news-card__link::before,
.matsuyama-news-card__link::after {
  content: none !important;
  display: none !important;
}

.matsuyama-news-card .news__content-img {
  width: 110px;
  aspect-ratio: 120 / 80;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background-color: #f2eee6;
}

.matsuyama-news-card .news__content-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.matsuyama-news-card:hover .news__content-img img {
  transform: scale(1.04);
}

.matsuyama-news-card__body {
  flex: 1;
  min-width: 0;
}

.matsuyama-news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.matsuyama-news-card .news__content-category {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 2px;
  background-color: #e9e4d8;
  color: #4a463d;
  text-transform: uppercase;
}

.matsuyama-news-card .news__content-category.information {
  background-color: #e3ecf5;
  color: #2b5680;
}

.matsuyama-news-card .news__content-category.event {
  background-color: #f7ebd9;
  color: #8c5d1e;
}

.matsuyama-news-card .news__content-time {
  font-size: 11.5px;
  color: #888888;
}

.matsuyama-news-card__title {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.5;
  margin: 0;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.matsuyama-news-card:hover .matsuyama-news-card__title {
  color: #ab8f50;
}

/* スマホ表示（SP）：縦型2列カードへ変形 */
@media (max-width: 768px) {
  .matsuyama-news-card__link {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    gap: 0;
  }

  .matsuyama-news-card .news__content-img {
    width: 100%;
    aspect-ratio: 140 / 92;
    border-radius: 0;
  }

  .matsuyama-news-card__body {
    padding: 10px 8px 12px;
  }

  .matsuyama-news-card__meta {
    gap: 6px;
    margin-bottom: 4px;
  }

  .matsuyama-news-card .news__content-category {
    font-size: 9.5px;
    padding: 1px 6px;
  }

  .matsuyama-news-card .news__content-time {
    font-size: 9.5px;
  }

  .matsuyama-news-card__title {
    font-size: 12.5px;
    line-height: 1.4;
  }
}

/* ── 10. 料金・プラン（service/zeimu 完全同一形式） ───────────────────────── */
.matsuyama-plan-sec {
  background-color: #e2e0d4 !important;
  padding-bottom: 3.75rem;
  padding-top: 5rem;
  position: relative;
  overflow-x: clip;
}

.matsuyama-plan-sec .matsuyama-sec-header {
  text-align: left;
  margin-bottom: 2rem;
}

.matsuyama-plan-sec .section-title_ja {
  color: #ab8f50 !important;
}

/* プランポイント（ハの字装飾バッジ） */
.matsuyama-plan-sec .service-detail__plan-point-wrapper {
  grid-gap: 1.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 18.75rem 23.75rem 23.75rem;
  justify-content: center;
  align-items: flex-end;
  margin-top: 2rem;
}

.matsuyama-plan-sec .service-detail__plan-point {
  align-content: center;
  display: grid;
  justify-content: center;
  place-content: center;
}

.matsuyama-plan-sec .service-detail__plan-point--standard span {
  font-size: 1rem;
  font-weight: 500;
  padding-bottom: 0.75rem;
  padding-top: 0.75rem;
  color: #333;
}

.matsuyama-plan-sec .service-detail__plan-point--advance span {
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 0.625rem;
  padding-top: 0.625rem;
  color: #ef7b25;
}

.matsuyama-plan-sec .service-detail__plan-point span {
  position: relative;
}

.matsuyama-plan-sec .service-detail__plan-point span::before,
.matsuyama-plan-sec .service-detail__plan-point span::after {
  content: "";
  position: absolute;
  top: 50%;
}

.matsuyama-plan-sec .service-detail__plan-point span::before {
  transform: rotate(-30deg) translateY(-50%);
  left: -0.625rem;
}

.matsuyama-plan-sec .service-detail__plan-point span::after {
  transform: rotate(30deg) translateY(-50%);
  right: -0.625rem;
}

.matsuyama-plan-sec .service-detail__plan-point--standard span::before,
.matsuyama-plan-sec .service-detail__plan-point--standard span::after {
  width: 0.0625rem;
  height: 1rem;
  background: #222;
}

.matsuyama-plan-sec .service-detail__plan-point--advance span::before,
.matsuyama-plan-sec .service-detail__plan-point--advance span::after {
  width: 0.125rem;
  height: 1.25rem;
  background: #ef7b25;
}

/* プランテーブル（3カラム） */
.matsuyama-plan-sec .service-detail__plan-table {
  grid-gap: 1.25rem;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 18.75rem 23.75rem 23.75rem;
  justify-content: center;
}

.matsuyama-plan-sec .service-detail__plan-column {
  flex: 1;
}

.matsuyama-plan-sec .service-detail__plan-column--advance {
  border: solid #e6ca2f;
  border-width: 0 0.25rem 0.25rem 0.25rem;
}

.matsuyama-plan-sec .service-detail__plan-column + .service-detail__plan-column {
  filter: drop-shadow(2px 2px 2px rgba(34, 34, 34, 0.2));
}

.matsuyama-plan-sec .service-detail__plan-table-title {
  border-bottom: 1px solid #a5a5a5;
  color: #a5a5a5;
  font-size: 1rem;
  font-weight: 500;
  height: 5rem;
  padding: 2.4375rem 0 1.125rem 2.0625rem;
  background: transparent;
}

.matsuyama-plan-sec .service-detail__plan-header {
  align-content: center;
  color: #fff;
  display: grid;
  font-size: 1.5rem;
  font-weight: 700;
  height: 5rem;
  justify-content: center;
  padding-bottom: 1.375rem;
  padding-top: 1.375rem;
  place-content: center;
  text-align: center;
}

.matsuyama-plan-sec .service-detail__plan-header--standard {
  background-color: #a5a5a5;
}

.matsuyama-plan-sec .service-detail__plan-header--advance {
  background-color: #e6ca2f;
}

.matsuyama-plan-sec .service-detail__plan-item {
  align-content: center;
  display: grid;
  font-size: 1rem;
  font-weight: 500;
  height: 3.75rem;
  justify-content: center;
  place-content: center;
  text-align: center;
}

.matsuyama-plan-sec .service-detail__plan-item-strong {
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.matsuyama-plan-sec .service-detail__plan-item-strong::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -0.5rem;
  right: -0.5rem;
  top: 60%;
  background-color: #e6ca2f;
  z-index: -1;
}

.matsuyama-plan-sec .service-detail__plan-item:nth-child(even) {
  background-color: #fff;
}

.matsuyama-plan-sec .service-detail__plan-item:nth-child(odd) {
  background-color: #faf7ec;
}

.matsuyama-plan-sec .service-detail__plan-item-name {
  align-items: center;
  border-bottom: 1px solid #a5a5a5;
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  gap: 0.625rem;
  height: 3.75rem;
  padding: 1.125rem 0 1.125rem 2.0625rem;
  position: relative;
  background: transparent;
}

.matsuyama-plan-sec .service-detail__question-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.matsuyama-plan-sec .service-detail__question {
  cursor: pointer;
  width: 1rem;
}

.matsuyama-plan-sec .service-detail__tooltip-message {
  background-color: #222;
  border-radius: 0.625rem;
  bottom: 1.875rem;
  color: #fff;
  display: none;
  font-size: 0.875rem;
  font-weight: 500;
  left: 1.625rem;
  padding: 1.25rem;
  position: absolute;
  width: 16.875rem;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  line-height: 1.6;
}

.matsuyama-plan-sec .service-detail__check-image {
  aspect-ratio: 1;
  width: 1.5rem;
}

.matsuyama-plan-sec .service-detail__triangle-image {
  aspect-ratio: 16/20;
  width: 1rem;
}

.matsuyama-plan-sec .service-detail__bar-image {
  width: 1.25rem;
}

/* スマホ表示対応（<= 768px） */
@media screen and (max-width: 768px) {
  .matsuyama-plan-sec {
    padding-bottom: 2rem;
    padding-top: 3.5rem;
  }

  .matsuyama-plan-sec .service-detail-title {
    font-size: 1rem;
    padding-bottom: 0.3125rem;
  }

  .matsuyama-plan-sec .service-detail__plan-description {
    font-size: 0.75rem;
    margin-top: 1rem;
    line-height: 1.65;
  }

  .matsuyama-plan-sec .service-detail__plan-point-wrapper {
    gap: 0.25rem;
    grid-template-columns: 8.5rem 6.5625rem 6.5625rem;
    margin-top: 1rem;
    justify-content: center;
  }

  .matsuyama-plan-sec .service-detail__plan-point {
    text-align: center;
  }

  .matsuyama-plan-sec .service-detail__plan-point--standard span {
    font-size: 0.625rem;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point--advance span {
    font-size: 0.625rem;
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point span::before,
  .matsuyama-plan-sec .service-detail__plan-point span::after {
    top: initial;
    bottom: 0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point span::before {
    transform: rotate(-30deg);
    left: -0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point span::after {
    transform: rotate(30deg);
    right: -0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point--standard span::before,
  .matsuyama-plan-sec .service-detail__plan-point--standard span::after {
    width: 0.0625rem;
    height: 1.375rem;
  }

  .matsuyama-plan-sec .service-detail__plan-point--advance span::before,
  .matsuyama-plan-sec .service-detail__plan-point--advance span::after {
    width: 0.0625rem;
    height: 1.375rem;
  }

  .matsuyama-plan-sec .service-detail__plan-table {
    gap: 0.25rem;
    grid-template-columns: 8.5rem 6.5625rem 6.5625rem;
    justify-content: center;
  }

  .matsuyama-plan-sec .service-detail__plan-table-title {
    font-size: min(0.75rem, 22px);
    height: 3.125rem;
    padding: 0.75rem 0 1.0625rem 0.5625rem;
  }

  .matsuyama-plan-sec .service-detail__plan-column--advance {
    border-width: 0 0.125rem 0.125rem 0.125rem;
  }

  .matsuyama-plan-sec .service-detail__plan-header {
    font-size: min(0.75rem, 22px);
    height: 3.125rem;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
    text-align: center;
  }

  .matsuyama-plan-sec .service-detail__plan-item {
    font-size: 0.625rem;
    text-align: left;
    height: 3.125rem;
    padding-left: 0.25rem;
  }

  .matsuyama-plan-sec .service-detail__plan-item-name {
    font-size: min(0.75rem, 22px);
    gap: 0.3125rem;
    height: 3.125rem;
    padding: 1rem 0 1rem 0.5rem;
  }

  .matsuyama-plan-sec .service-detail__plan-item-name span {
    letter-spacing: -0.06em;
  }

  .matsuyama-plan-sec .service-detail__question {
    width: 0.75rem;
  }

  .matsuyama-plan-sec .service-detail__tooltip-message {
    border-radius: 0.3125rem;
    bottom: 1.375rem;
    font-size: 0.625rem;
    left: 0;
    padding: 0.625rem;
    width: 10.625rem;
  }

  .matsuyama-plan-sec .service-detail__check-image {
    width: 1rem;
  }

  .matsuyama-plan-sec .service-detail__triangle-image {
    width: 0.875rem;
  }

  .matsuyama-plan-sec .service-detail__bar-image {
    width: 1rem;
  }
}



/* ── 11. 導入・税理士変更の流れ ────────────────────────── */
.matsuyama-flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .matsuyama-flow-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.matsuyama-flow-step {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  padding: 24px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.matsuyama-flow-step__num {
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #ab8f50;
  white-space: nowrap;
  margin-bottom: 8px;
}

.matsuyama-flow-step__title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0 0 10px;
}

.matsuyama-flow-step__desc {
  font-size: 13px;
  color: #555555;
  line-height: 1.7;
  margin: 0;
}

.matsuyama-flow-caution {
  max-width: 860px;
  margin: 0 auto;
  padding: 14px 20px;
  background: #faf8f5;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  font-size: 12.5px;
  color: #777777;
  line-height: 1.65;
}

.matsuyama-flow-caution p {
  margin: 0;
}

/* ── 12. 対応地域・相談方法 ────────────────────────────── */
.matsuyama-area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

@media (max-width: 860px) {
  .matsuyama-area-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.matsuyama-area-card {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.matsuyama-area-card__icon {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f2eee6;
}

.matsuyama-area-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matsuyama-area-card__body {
  padding: 28px 24px;
  flex: 1;
}

.matsuyama-area-card__title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 12px;
}

.matsuyama-area-card__desc {
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
  margin: 0 0 16px;
}

.matsuyama-area-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.matsuyama-area-card__list li {
  font-size: 13px;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.matsuyama-area-card__list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #ab8f50;
  font-size: 12px;
}

/* ── 13. アクセス・所在地 ──────────────────────────────── */
.matsuyama-office-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 60px;
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  padding: 36px 32px;
}

@media (max-width: 900px) {
  .matsuyama-office-summary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px;
    margin-bottom: 40px;
  }
}

.matsuyama-office-summary__name {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ab8f50;
}

@media (max-width: 767px) {
  .matsuyama-office-summary__name {
    font-size: 19px;
  }
}

.matsuyama-office-dl {
  margin: 0;
}

.matsuyama-office-dl dt {
  font-size: 13px;
  font-weight: 600;
  color: #ab8f50;
  letter-spacing: 0.05em;
  margin-top: 14px;
  margin-bottom: 4px;
}

.matsuyama-office-dl dt:first-child {
  margin-top: 0;
}

.matsuyama-office-dl dd {
  font-size: 14.5px;
  color: #333333;
  line-height: 1.7;
  margin: 0 0 12px;
}

.matsuyama-office-dl dd span {
  display: inline-block;
}

.matsuyama-map-iframe-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #ebe6dc;
}

.matsuyama-map-iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.matsuyama-gallery-block {
  margin-bottom: 60px;
}

.matsuyama-gallery-block:last-child {
  margin-bottom: 0;
}

.matsuyama-gallery-block__title {
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px;
  position: relative;
  padding-left: 14px;
}

.matsuyama-gallery-block__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background-color: #ab8f50;
}

.matsuyama-gallery-block__lead {
  font-size: 14px;
  color: #666666;
  margin: 0 0 24px;
}

.matsuyama-photo-grid {
  display: grid;
  gap: 20px;
}

.matsuyama-photo-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.matsuyama-photo-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .matsuyama-photo-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .matsuyama-photo-grid {
    gap: 10px;
  }
  .matsuyama-photo-grid--4,
  .matsuyama-photo-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.matsuyama-photo-card {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  overflow: hidden;
}

.matsuyama-photo-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f2eee6;
}

.matsuyama-photo-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.matsuyama-photo-card:hover .matsuyama-photo-card__img img {
  transform: scale(1.04);
}

.matsuyama-photo-card__cap {
  font-size: 12.5px;
  font-weight: 500;
  color: #555555;
  text-align: center;
  padding: 10px 12px;
  margin: 0;
  background-color: #faf8f5;
  border-top: 1px solid #f0ece3;
}

@media (max-width: 767px) {
  .matsuyama-photo-card__cap {
    font-size: 11px;
    padding: 8px 6px;
    line-height: 1.4;
  }
}

.matsuyama-route-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .matsuyama-route-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .matsuyama-route-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.matsuyama-route-step {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  padding: 16px;
}

@media (max-width: 767px) {
  .matsuyama-route-step {
    padding: 12px 10px;
  }
}

.matsuyama-route-step__num {
  font-family: "Cinzel", serif;
  font-size: 12px;
  font-weight: 600;
  color: #ab8f50;
  letter-spacing: 0.15em;
  white-space: nowrap;
  margin-bottom: 8px;
}

@media (max-width: 767px) {
  .matsuyama-route-step__num {
    font-size: 11px;
    margin-bottom: 6px;
  }
}

.matsuyama-route-step__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
  background-color: #f2eee6;
}

@media (max-width: 767px) {
  .matsuyama-route-step__img {
    margin-bottom: 8px;
  }
}

.matsuyama-route-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.matsuyama-route-step__desc {
  font-size: 13px;
  color: #444444;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 767px) {
  .matsuyama-route-step__desc {
    font-size: 11.5px;
    line-height: 1.55;
  }
}

/* ── 14. よくある質問（FAQ） ──────────────────────────── */
.matsuyama-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.matsuyama-faq-item {
  background: #ffffff;
  border: 1px solid #ebe6dc;
  border-radius: 2px;
  overflow: hidden;
}

.matsuyama-faq-q {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  transition: background-color 0.2s ease;
}

.matsuyama-faq-q:hover {
  background-color: #faf8f5;
}

@media (max-width: 767px) {
  .matsuyama-faq-q {
    padding: 14px 14px;
    font-size: 13.5px;
    gap: 10px;
  }
}

.matsuyama-faq-q__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ab8f50;
  color: #ffffff;
  font-size: 13px;
  font-family: "Cinzel", serif;
  font-weight: 600;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .matsuyama-faq-q__badge {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }
}

.matsuyama-faq-q__text {
  flex: 1;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
  line-height: 1.45;
}

.matsuyama-faq-q__text span {
  display: inline-block;
}

.matsuyama-faq-q__icon {
  width: 16px;
  height: 16px;
  position: relative;
  flex-shrink: 0;
}

.matsuyama-faq-q__icon::before,
.matsuyama-faq-q__icon::after {
  content: "";
  position: absolute;
  background-color: #ab8f50;
  transition: transform 0.3s ease;
}

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

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

.matsuyama-faq-q[aria-expanded="true"] .matsuyama-faq-q__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.matsuyama-faq-a {
  display: none;
  padding: 0 24px 22px 68px;
  font-size: 14.5px;
  color: #555555;
  line-height: 1.8;
}

@media (max-width: 767px) {
  .matsuyama-faq-a {
    padding: 0 18px 18px 18px;
    font-size: 13.5px;
  }
}

.matsuyama-faq-a p {
  margin: 0;
}

/* ── 15. 最終相談CTA ───────────────────────────────────── */
.matsuyama-cta-inner {
  text-align: center;
  max-width: 860px;
}

.matsuyama-cta__en {
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: #cbb17b;
  margin: 0 0 10px;
}

.matsuyama-cta__title,
.matsuyama-cta__title * {
  font-size: 32px;
  font-weight: 600;
  color: #ab8f50 !important;
  line-height: 1.4;
  margin: 0 0 16px;
}

.matsuyama-cta__title span {
  display: inline-block;
  color: #ab8f50 !important;
}

@media (max-width: 767px) {
  .matsuyama-cta__title {
    font-size: 22px;
    line-height: 1.4;
  }
}

.matsuyama-cta__lead {
  font-size: 15px;
  color: #d6d4cd;
  line-height: 1.8;
  margin: 0 auto 40px;
  max-width: 680px;
}

.matsuyama-cta__lead span {
  display: inline-block;
}

@media (max-width: 767px) {
  .matsuyama-cta__lead {
    font-size: 13.5px;
    margin-bottom: 30px;
  }
}

.matsuyama-cta__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  text-align: left;
}

@media (max-width: 767px) {
  .matsuyama-cta__box {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.matsuyama-cta__box-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 767px) {
  .matsuyama-cta__box-item {
    padding: 24px 20px;
    text-align: center;
  }
}

.matsuyama-cta__box-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px;
}

.matsuyama-cta__box-text {
  font-size: 13.5px;
  color: #b5b3aa;
  margin: 0 0 24px;
  line-height: 1.6;
}

.matsuyama-cta__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.matsuyama-cta__btn {
  flex: 1;
  min-width: 160px;
  text-align: center;
  justify-content: center;
}

/* アウトライン（白枠）バリアント：ダーク背景上で視認 */
.matsuyama-cta__btn--outline {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.matsuyama-cta__btn--outline:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #ffffff !important;
}

@media (max-width: 767px) {
  .matsuyama-cta__btns {
    flex-direction: column;
  }
  .matsuyama-cta__btn {
    min-width: unset;
    width: 100%;
  }
}

.matsuyama-cta__tel {
  display: block;
  text-decoration: none;
  color: #ffffff;
  margin-bottom: 6px;
}

.matsuyama-cta__tel-num {
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #cbb17b;
  display: inline-block;
  transition: color 0.2s ease;
}

.matsuyama-cta__tel:hover .matsuyama-cta__tel-num {
  color: #e5d1a5;
}

.matsuyama-cta__tel-note {
  font-size: 12px;
  color: #8c897f;
  margin: 0;
}

.matsuyama-empty-msg {
  text-align: center;
  font-size: 14px;
  color: #888888;
  padding: 40px 0;
}
