@charset "UTF-8";
/* ==========================================================================
   山形銀行本店ビルのご案内 ／ 固有CSS（SP）
   ※ プロパティ記述順は 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 12px #0059cb;
  --htb-serif: "Noto Serif JP", "Noto Sans JP", serif;
  --htb-lora: "Lora", serif;
  color: var(--htb-text);
}

.htb-inner {
  padding: 0 var(--cntPaddingX);
}

.htb-sec {
  padding: 56px 0;
}

/* セクション見出し */
.htb-head {
  margin-bottom: 36px;
  text-align: center;
}
.htb-head_en {
  color: var(--htb-text);
  font-family: var(--htb-lora);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 1px;
}
.htb-head_ja {
  margin-top: 4px;
  color: var(--htb-navy);
  font-family: var(--htb-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1.5px;
}
.htb-head::after {
  content: "";
  width: 100%;
  height: 2px;
  margin-top: 20px;
  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: 460px;
  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%;
  padding: 56px var(--cntPaddingX) 0;
  position: relative;
  z-index: 1;
  text-shadow: var(--htb-glow);
}
.htb-mv_title {
  font-family: var(--htb-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 2px;
}
.htb-mv_lead {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.6px;
}
.htb-mv_open {
  margin-top: 20px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  border: 1px solid #fff;
}
.htb-mv_open_label {
  font-size: 14px;
  font-weight: 500;
}
.htb-mv_open_date {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* ==========================================================================
   コンセプト（#333 / 30%）
   ========================================================================== */
.htb-concept {
  position: relative;
  z-index: 0;
  color: #fff;
  border-top: 4px solid var(--colorRed);
  border-bottom: 4px solid var(--colorRed);
  clip-path: inset(0);
}
/* iOS含め固定背景を実現：fixed擬似要素を clip-path でセクションにクリップ */
.htb-concept::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  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;
}
.htb-concept_item {
  margin-top: 48px;
}
.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: 18px;
  line-height: 1.4;
  letter-spacing: 1px;
  opacity: 0.5;
}
.htb-concept_no span {
  font-size: 30px;
}
.htb-concept_title {
  margin-top: 4px;
  font-family: var(--htb-serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 1px;
}
.htb-concept_text {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.4px;
}

/* 全幅画像→見出し→本文 縦積み */
.htb-concept_item-full .htb-concept_body {
  margin-top: 20px;
}
.htb-concept_item-full .htb-concept_text {
  margin-top: 16px;
}

/* 2カラム→縦積み（画像が上） */
.htb-concept_item-imgL,
.htb-concept_item-imgR {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.htb-concept_item-imgR {
  flex-direction: column-reverse;
}

/* ==========================================================================
   各フロアの概要
   ========================================================================== */
.htb-floor {
  background: #fff;
}
.htb-floor_item {
  margin-top: 40px;
}
.htb-floor_item:first-of-type {
  margin-top: 0;
}
.htb-floor_title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--htb-text);
  font-family: var(--htb-serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 1px;
}
.htb-floor_badge {
  width: 60px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 1px;
  background: var(--htb-red);
  border-radius: 6px;
}
.htb-floor_badge-wide {
  width: auto;
  padding: 0 12px;
}
.htb-floor_text {
  margin-top: 16px;
  color: var(--htb-text);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.4px;
}
.htb-floor_imgs {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.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;
}
