/*
 * OFFICE cacco — 案件固有オーバーライド（Tier 2）
 * ブランドカラーは brief §0 No.10 / §5 の確定値を使用する。
 */
:root {
  --office-cacco-accent: #fbb432;
  --office-cacco-sub: #008B45;
  --office-cacco-line: #06C755;
}

/* MV英文ブランド */
.bl_fv-pro_ttl {
  font-size: clamp(4.5rem, 10vw, 9rem);
}

/* セクション見出しの和文タイトル */
.bl_heading-pro .--jp,
.bl_container.__dark .bl_heading-pro .--jp {
  color: var(--office-cacco-accent);
}

/* WORKS見出しの言語順と導入文 */
.bl_heading-pro .--en.--jp-title {
  font-family: "Noto Sans JP", sans-serif;
}

.bl_heading-pro .--jp.--en-sub {
  font-family: "Outfit", sans-serif;
  text-transform: uppercase;
}

.bl_heading-pro .--jp.--black,
.bl_body.__black {
  color: var(--color-black);
}

/* ボタンホバー */
.el_btn:hover,
.el_btn__submit:hover {
  background: var(--office-cacco-sub);
  border-color: var(--office-cacco-sub);
  color: var(--color-white);
}

/* ヘッダー・SP・フッターメニューのホバー */
.bl_header_nav a:hover,
.bl_header_nav a:focus-visible,
.bl_spNav_list a:hover,
.bl_spNav_list a:focus-visible,
.bl_footer_nav a:hover,
.bl_footer_nav a:focus-visible {
  color: var(--office-cacco-sub);
}

/* 巨大ロゴは1表示のまま、テンプレート標準アニメーションを往復させる */
.bl_giantLogo_track {
  animation-direction: alternate;
}

/* ブランドロゴ */
.bl_header_logo img {
  width: clamp(150px, 16vw, 220px);
  max-height: 48px;
  object-fit: contain;
}

.bl_footer_logo img {
  width: clamp(180px, 20vw, 260px);
  max-height: 60px;
  object-fit: contain;
}

/* キーボード操作時のフォーカスを共通化 */
:where(a, button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* CTAの左カラムもリンクとして扱う */
.bl_cta-pro_tel {
  display: block;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.bl_cta-pro_tel:hover {
  color: var(--color-white);
  opacity: 0.75;
}

/* 共通CTAは公式LINEの1カラムのみ */
.bl_cta-pro_inner.__lineOnly {
  grid-template-columns: 1fr;
}

.bl_cta-pro_inner.__lineOnly .bl_cta-pro_tel {
  border-right: 0;
  text-align: center;
}

/* 案件固有ブロック: ステータス */
.bl_status {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--pro-grayBorder);
  font-family: "Outfit", sans-serif;
  font-size: var(--fontsize-s);
  font-weight: 600;
  letter-spacing: 0.12em;
}

/* WORKS: LP MobileボタンをPCで等幅横並びにする */
.bl_serviceActions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.bl_serviceActions .el_btn {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  text-align: center;
}

@media screen and (max-width: 896px) {
  .bl_serviceActions {
    grid-template-columns: 1fr;
  }
}

/* 案件固有ブロック: 代表者署名 */
.bl_signature {
  width: min(100%, 360px);
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
}

/* ABOUT理念: 本文と上端を揃え、画像下端は署名より上に収める */
.bl_media.__philosophy {
  align-items: start;
}

.bl_media.__philosophy .bl_media_img.__textFit img {
  aspect-ratio: 20 / 21;
}

/* 案件固有ブロック: 記事メイン画像 */
.bl_articleImage {
  width: 100%;
  max-height: 640px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* 案件固有ブロック: 問い合わせ方法 */
.bl_contactOption_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.bl_contactOption_grid.__single {
  max-width: 640px;
  margin-right: auto;
  margin-left: auto;
}

.bl_contactOption {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--pro-grayBorder);
  text-align: center;
}

.bl_contactOption_icon {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--office-cacco-line);
}

.bl_contactOption_ttl {
  margin-top: 1.5rem;
  font-size: var(--fontsize-l);
}

.bl_contactOption_text {
  margin-top: 1rem;
  color: var(--pro-textGray);
}

.bl_contactOption_qr {
  width: min(100%, 220px);
  height: auto;
  margin-top: 2rem;
}

.bl_contactOption .el_btn {
  margin-top: 2.5rem;
}

/* 案件固有ブロック: プライバシーポリシー */
.bl_privacy {
  max-width: 880px;
  margin-right: auto;
  margin-left: auto;
}

.bl_privacy_ttl {
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--pro-grayBorder);
  font-size: var(--fontsize-l);
  line-height: 1.5;
}
