@charset "UTF-8";
/* ==========================================================================
   山形銀行本店ビルのご案内 ／ 固有CSS（PC）
   ※ 量産外の特殊ページ。クラスは htb- で名前空間化
   ※ プロパティ記述順は common_v2/CLAUDE.md に準拠
   （grid→ボックス→display/flex→position→テキスト→背景装飾→アニメ→mask）
   ========================================================================== */

.htb {
  --htb-navy: var(--colorBlue);
  --htb-red: var(--colorRed);
  --htb-text: var(--defColor);
  --htb-glow: 0 0 16px #0059cb;
  --htb-serif: "Noto Serif JP", "Noto Sans JP", serif;
  --htb-lora: "Lora", serif;
  color: var(--htb-text);
}

/* 共通：コンテンツ幅 */
.htb-inner {
  max-width: var(--cntMaxWidth);
  margin: 0 auto;
  padding: 0 var(--cntPaddingX);
}

/* 共通：セクション */
.htb-sec {
  padding: 100px 0;
}

/* 共通：セクション見出し（EN + 日本語 + 中央フェード罫線） */
.htb-head {
  margin-bottom: 80px;
  text-align: center;
}
.htb-head_en {
  color: var(--htb-text);
  font-family: var(--htb-lora);
  font-size: var(--xLargeFontSize);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
}
.htb-head_ja {
  margin-top: 8px;
  color: var(--htb-navy);
  font-family: var(--htb-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 2px;
}
.htb-head::after {
  content: "";
  width: 100%;
  height: 2px;
  margin-top: 24px;
  display: block;
  background: linear-gradient(to right, rgba(2, 59, 133, 0), var(--htb-navy) 50%, rgba(2, 59, 133, 0));
}
.htb-head-dark .htb-head_en,
.htb-head-dark .htb-head_ja {
  color: #fff;
}
.htb-head-dark.htb-head::after {
  background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 50%, rgba(255, 255, 255, 0));
}

/* ==========================================================================
   MV
   ========================================================================== */
.htb-mv {
  min-height: 728px;
  display: flex;
  align-items: flex-start;
  position: relative;
  color: #fff;
  background: #1a2b3c url("/company/headoffice/images/img_mv.webp") center top / cover no-repeat;
}
.htb-mv_inner {
  width: 100%;
  max-width: var(--cntMaxWidth);
  margin: 0 auto;
  padding: 80px var(--cntPaddingX) 0;
  position: relative;
  z-index: 1;
  text-shadow: var(--htb-glow);
}
.htb-mv_title {
  font-family: var(--htb-serif);
  font-size: 64px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 3.2px;
}
.htb-mv_lead {
  margin-top: 24px;
  font-size: var(--largeFontSize);
  font-weight: 500;
  line-height: 1.67;
  letter-spacing: 0.9px;
}
.htb-mv_open {
  height: 52px;
  margin-top: 24px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #fff;
}
.htb-mv_open_label {
  font-size: var(--largeFontSize);
  font-weight: 500;
  letter-spacing: 0.9px;
}
.htb-mv_open_date {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1.4px;
}

/* ==========================================================================
   コンセプト（#333 / 30%）
   ========================================================================== */
.htb-concept {
  color: #fff;
  background-image: linear-gradient(rgba(51, 51, 51, 0.3), rgba(51, 51, 51, 0.3)), url("/company/headoffice/images/img_concept_bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  border-top: 4px solid var(--colorRed);
  border-bottom: 4px solid var(--colorRed);
}
.htb-concept_item {
  margin-top: 100px;
}
.htb-concept_item:first-of-type { margin-top: 0; }
.htb-concept_img img {
  width: 100%;
  height: auto;
  display: block;
}
.htb-concept_no {
  font-family: var(--htb-lora);
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 1.2px;
  opacity: 0.5;
}
.htb-concept_no span {
  font-size: 40px;
}
.htb-concept_title {
  margin-top: 4px;
  font-family: var(--htb-serif);
  font-size: var(--fontSizeH2);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1.6px;
}
.htb-concept_text {
  margin-top: 24px;
  font-size: var(--defFontSize);
  line-height: var(--defLineHeight);
  letter-spacing: var(--defLetterSpacing);
  text-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}

/* concept.01：全幅画像 ＋ 下に［見出し左／本文右］ */
.htb-concept_item-full {
  margin-top: 80px;
}
.htb-concept_item-full .htb-concept_body {
  margin-top: 40px;
  display: flex;
  gap: 40px;
}
.htb-concept_item-full .htb-concept_head {
  flex: 0 0 auto;
  max-width: 320px;
}
.htb-concept_item-full .htb-concept_text {
  min-width: 0;
  margin-top: 0;
  flex: 1 1 0%;
  font-size: var(--largeFontSize);
  line-height: 1.67;
}

/* concept.02・04：画像左／本文右　03：本文左／画像右（HTMLの並び順で制御） */
.htb-concept_item-imgL,
.htb-concept_item-imgR {
  display: flex;
  align-items: flex-start;
  gap: 56px;
}
.htb-concept_item-imgL .htb-concept_img,
.htb-concept_item-imgR .htb-concept_img {
  max-width: 520px;
  flex: 0 0 auto;
}
.htb-concept_item-imgL .htb-concept_body,
.htb-concept_item-imgR .htb-concept_body {
  flex: 1 1 0%;
}

/* ==========================================================================
   各フロアの概要（ライト背景）
   ========================================================================== */
.htb-floor {
  background: #fff;
}
.htb-floor_item {
  margin-top: 80px;
}
.htb-floor_item:first-of-type {
  margin-top: 0;
}
.htb-floor_title {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--htb-text);
  font-family: var(--htb-serif);
  font-size: var(--fontSizeH2);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1.6px;
}
.htb-floor_badge {
  width: 72px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 1.2px;
  background: var(--htb-red);
  border-radius: 8px;
}
.htb-floor_badge-wide {
  width: auto;
  padding: 0 16px;
}
.htb-floor_text {
  margin-top: 24px;
  color: var(--htb-text);
  font-size: var(--defFontSize);
  line-height: var(--defLineHeight);
  letter-spacing: var(--defLetterSpacing);
}
.htb-floor_imgs {
  margin-top: var(--spaceSmall);
  display: flex;
  gap: 40px;
}
.htb-floor_img {
  flex: 1 1 0%;
}
.htb-floor_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   フロア構造
   ========================================================================== */
.htb-structure {
  color: #fff;
  background: #333;
}
.htb-structure_img {
  text-align: center;
}
.htb-structure_img img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ==========================================================================
   アクセス
   ========================================================================== */
.htb-access {
  padding-bottom: 0;
  background: #fff;
}

/* ==================================================
先行公開用（index2.html）：ロゴのみヘッダー
※8/3本公開後、index2.html削除時にこのブロックも削除可
================================================== */
.header.header-simple {
  position: static;
}
.header.header-simple .header_main {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
