@charset "utf-8";

/* =========================
   ロケーション＆アクセス：サブヘッダー
   ========================= */

/* 画像 260px ＋ その下にはみ出す見出し */
.location-subhead {
  position: relative;
  padding-top: 215px;   /* h1 の開始位置（上から 230px） */
  padding-bottom: 70px; /* リード分の余白 */
  background-color: #fff;
  overflow: visible;
}

/* 上 260px だけ背景画像を敷く */
.location-subhead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 260px;  /* 画像の高さ */
  background-image: url("../images/location/subhead.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 中身は最大幅 1000px・左寄せ */
.location-subhead__overlay {
  max-width: 1000px;
  margin: 0 auto;
	position: relative;  /* ★ 追加 */
  z-index: 1;
}

.location-subhead__inner {
  text-align: left;
}

/* h1（1行で収まるサイズ） */
.location-subhead__title {
  font-size: 68px;
  letter-spacing: 0.18em;
  color: #211e23;
	line-height: 120%;
}

/* リードテキスト */
.location-subhead__lead {
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: 0.08em;
	line-height: 100%;
}

/* =========================
   SP 調整
   ========================= */
@media (max-width: 768px) {
  .location-subhead {
    padding-top: 160px;   /* スマホでは少し低めに調整 */
    padding-bottom: 50px;
  }

  .location-subhead::before {
    height: 220px;
  }

  .location-subhead__overlay {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .location-subhead__title {
    font-size: 34px;
    letter-spacing: 0.08em;
  }

  .location-subhead__lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.06em;
  }
}



/* =========================
   アクセスマップ
   ========================= */

.location-map {
  padding: 60px 0 80px;
  background-color: #fff;
}

.location-map__inner {
  max-width: 1000px;       /* 基本ルールに合わせて 1000px */
  margin: 0 auto;
  text-align: center;
}

.location-map__inner img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 768px) {
	.location-map {
		padding: 40px 5vw;
	}
}

/* =========================
   STATION ブロック
   ========================= */

.location-station {
  padding: 80px 0;
  background-color: #fff;
	overflow: hidden;
}

.location-station__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.location-station__panel img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 右側の写真ブロック */
.location-station__photo {
  position: relative;
  flex: 1 1 auto;
}

.location-station__photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* STATION 見出し（写真の上に重ねる） */
.location-station__heading {
  position: absolute;
  top: 40px;
  right: -40px;     /* 写真から 40px はみ出す */
  font-size: 33px;
  letter-spacing: 0.3em;
  color: #211e23;
  line-height: 1;
  white-space: nowrap;
}

/* 見出しの右に、画面右端まで伸びる1px線を引く */
.location-station__heading::after {
  content: "";
  position: absolute;
  left: 0;              /* ← 左端（＝Sの位置）からスタート */
  top: 100%;            /* 見出しの真下 */
  margin-top: 4px;      /* 文字との隙間を調整 */
  width: 100vw;         /* 右方向に画面端まで伸びるくらい長く */
  border-bottom: 1px solid #211e23;
}

/* SP時は縦並びにするなど、ここから調整 */
@media (max-width: 768px) {
	.location-station {
		padding: 40px 5vw;
	}
	
  .location-station__inner {
    flex-direction: column;
  }

  .location-station__heading {
    position: static;
    margin-top: 16px;
  }

  .location-station__heading::after {
    position: static;
    display: block;
    margin: 8px 0 0;
    width: 100%;
  }
}

/* =========================
   PARK ブロック
   ========================= */

.location-park {
  padding: 40px 0;
  background-color: #fff;
	overflow: hidden;
}

.location-park__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
	align-items: center;
}

/* 左：写真側 */
.location-park__photo {
  position: relative;
  flex: 0 0 auto;
  overflow: visible;
}

.location-park__photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 右：説明側（PNG でもテキストでもOK） */
.location-park__panel {
  flex: 1 1 auto;
}

.location-park__panel img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 見出し：写真から 40px 左にはみ出す感じで配置 */
.location-park__heading {
  position: absolute;
  top: 40px;       /* 縦位置はデザイン見ながら調整 */
  left: -40px;     /* 写真から左に 40px はみ出す */
  font-size: 33px; /* 指定サイズ */
  letter-spacing: 0.3em;
  color: #211e23;
  line-height: 1;
  white-space: nowrap;
}

/* ★ K の右端あたりから、左方向へボーダーを伸ばす */
.location-park__heading::before {
  content: "";
  position: absolute;
  top: 100%;        /* 見出しの真下 */
  right: 0;         /* ここが K の位置 → 線の右端 */
  margin-top: 4px;  /* 文字との隙間を微調整 */
  width: 100vw;     /* 左方向に画面端まで届くくらいの長さ */
  border-bottom: 1px solid #211e23;
}

/* SP はとりあえず縦並びにしておく例 */
@media (max-width: 768px) {
	.location-park {
		padding: 40px 5vw;
	}
	
  .location-park__inner {
    flex-direction: column;
  }

  .location-park__photo,
  .location-park__panel {
    width: 100%;
  }

  .location-park__heading {
    position: static;
    margin-bottom: 8px;
  }

  .location-park__heading::before {
    position: static;
    display: block;
    margin: 0 0 8px;
    width: 100%;
  }
}


/* =========================
   SHOPING ブロック
   ========================= */

.location-shopping {
  padding: 40px 0;
  background-color: #fff;
  overflow: hidden; /* 右に伸びる線で横スクロールが出ないように */
}

.location-shopping__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 中央の大きい写真 */
.location-shopping__photo {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.location-shopping__photo img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* SHOPING 見出し（写真右端から 40px はみ出させる） */
.location-shopping__heading {
  position: absolute;
  top: 60px;       /* 縦位置：デザインを見ながら微調整 */
  right: -40px;    /* 写真から右に 40px はみ出す */
  font-size: 33px;
  letter-spacing: 0.3em;
  color: #211e23;
  line-height: 1;
  white-space: nowrap;
}

/* SHOPING の左端から右方向へ細い線を伸ばす */
.location-shopping__heading::after {
  content: "";
  position: absolute;
  top: 100%;        /* 見出しの真下 */
  left: 0;          /* S の位置からスタート */
  margin-top: 4px;  /* 文字との隙間 */
  width: 100vw;     /* 右方向に画面端まで届くくらい長く */
  border-bottom: 1px solid #211e23;
}

/* =========================
   SP 調整
   ========================= */
@media (max-width: 768px) {
  .location-shopping {
    padding: 60px 0;
  }

  .location-shopping__photo {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .location-shopping__heading {
    position: static;
    margin-top: 16px;
    text-align: left;
  }

  .location-shopping__heading::after {
    position: static;
    display: block;
    margin-top: 8px;
    width: 100%;
  }
}

/* =========================
   駅前複合ビル 説明テキスト
   ========================= */

.location-textblock {
  padding: 80px 0;
  background-color: #fff;
}

.location-textblock__inner {
  margin: 0 auto;
  text-align: center;
}

/* 見出し：27px */
.location-textblock__title {
  font-size: 27px;
  line-height: 1.8;
  letter-spacing: 0.18em;
  margin-bottom: 36px;
}

/* 本文：18px */
.location-textblock__body p {
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: 0.08em;
}

/* SP 調整 */
@media (max-width: 768px) {
  .location-textblock {
    padding: 60px 16px;
  }

  .location-textblock__inner {
    max-width: 100%;
  }

  .location-textblock__title {
    font-size: 22px;
    line-height: 1.7;
    letter-spacing: 0.12em;
  }

  .location-textblock__body p {
    font-size: 15px;
    line-height: 2;
    text-align: left;
  }
}

/* =========================
   イチ＊ビル 施設紹介
   ========================= */

.location-building {
  padding: 40px 0;
  background-color: #fff;
}

.location-building__inner {
  max-width: 1000px;
  margin: 0 auto;
}

/* 上段：写真＋フロア案内 */
.location-building__main {
  display: flex;
  align-items: stretch;   /* 左右を同じ高さにそろえる */
}

/* 左写真 */
.location-building__photo {
  flex: 0 0 40%;          /* 右側を広めに、写真は小さめ */
  display: flex;          /* 中の img を高さ100%でフィットさせるため */
}

.location-building__photo img {
  display: block;
  width: 100%;
  height: 100%;           /* 右側と同じ高さまで伸ばす */
  object-fit: cover;      /* はみ出す部分はトリミング */
}

/* 右フロア案内 */
.location-building__floors {
  flex: 0 0 60%;
  background-color: #9c8556;
  color: #fff;
  display: flex;
  align-items: stretch;
}

.location-building__floors-inner {
  padding: 14px 32px 14px;
  box-sizing: border-box;
  width: 100%;
}

/* 各フロア行 */
.location-building__floor {
  display: flex;
  align-items: center;       /* 階層名・テキスト・アイコンを縦中央に */
  padding: 14px 0;
}

.location-building__divider {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
}

/* 1F・2F… フロア番号：22px（幅固定で左端を揃える） */
.location-building__floor-level {
  flex: 0 0 52px;            /* ★ 固定幅：ここを変えれば全行のオフセットが変わる */
  text-align: left;
  font-size: 22px;
  font-weight: 700;
}

/* 店名＋文章 */
.location-building__floor-main {
  flex: 1 1 auto;
}

/* 店舗名：20px */
.location-building__floor-name {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
}

/* 説明文：17px */
.location-building__floor-text {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* 右側アイコン：幅固定 */
.location-building__floor-icon {
  flex: 0 0 96px;
  margin-left: 16px;
}

.location-building__floor-icon img {
  display: block;
  width: 100%;
  height: auto;
}

/* 下の「イチ＊ビル 徒歩8分（約600m）」 */
.location-building__caption {
  margin-top: 10px;
  font-size: 29px;           /* ベース：29px */
  line-height: 1.6;
  text-align: left;
}

/* 左の小さな縦バー */
.location-building__caption-mark {
  display: inline-block;
  width: 8px;
  height: 26px;
  background-color: #9c8556;
  margin-right: 8px;
  vertical-align: middle;
}

/* 赤い数字：58px */
.location-building__caption-minute {
  font-size: 58px;
  color: #bf0000;
  line-height: 1;
  vertical-align: baseline;
}

/* 他のテキスト部分（色は共通） */
.location-building__caption-name,
.location-building__caption-walk,
.location-building__caption-rest {
  vertical-align: baseline;
}

/* =========================
   PC専用調整
   ========================= */
@media (min-width: 769px) {
  /* 店舗名はPCでは必ず1行に */
  .location-building__floor-name {
    white-space: nowrap;
  }
}

/* =========================
   SP 調整
   ========================= */
@media (max-width: 768px) {
  .location-building__main {
    flex-direction: column;
  }

  .location-building__photo,
  .location-building__floors {
    flex: 1 1 auto;
  }

  /* SP では画像を自然な比率に戻す */
  .location-building__photo img {
    height: auto;
    object-fit: cover;
  }

  .location-building__floors-inner {
    padding: 20px 16px 24px;
  }

  .location-building__caption {
    font-size: 22px;
    text-align: center;
  }

  .location-building__caption-minute {
    font-size: 40px;
  }
}

/* i-ビル用：背景色だけ #6a5a37 に変更 */
.location-building--ibiru .location-building__floors {
  background-color: #6a5a37;
}

/* i-ビルのフロア案内はベース 16px で揃える */
.location-building--ibiru .location-building__floor-text {
  font-size: 16px;
  line-height: 1.6;
}

/* =========================
   周辺施設（3×3グリッド）
   ========================= */

.location-facilities {
  padding: 40px 0 20px;
  background-color: #fff;
}

.location-facilities__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px; /* 行・列の間隔 */
  font-size: 16px;
}

/* 各カード */
.location-facilities__item {
  text-align: left;
}

.location-facilities__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 施設名 */
.location-facilities__name {
  margin: 8px 0 2px;
  font-weight: 700;
	font-size: 16px;
	line-height: 100%;
}

/* 距離・時間 */
.location-facilities__info {
  margin: 0;
  line-height: 1.6;
}

/* =========================
   SP 調整
   ========================= */
@media (max-width: 900px) {
	.location-facilities {
		padding: 40px 5vw;
	}
	
  .location-facilities__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .location-facilities__inner {
    grid-template-columns: 1fr;
  }
}

/* =========================
   テキスト版 周辺施設
   ========================= */

.location-facilities-text {
  padding: 40px 0 0px;
  background-color: #fff;
  font-size: 16px;
}

.location-facilities-text__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  column-gap: 60px;   /* カラム間 */
  row-gap: 40px;      /* 段間 */
}

/* 1カテゴリあたり約 470px 幅 */
.location-facilities-text__category {
  flex: 0 0 calc(50% - 30px); /* (100% - 60px) / 2 */
	text-align: left;
}

/* 見出し行（黒四角＋タイトル＋下線） */
.location-facilities-text__header {
  display: flex;
  align-items: center;
  padding-bottom: 6px;
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
	justify-content: flex-start;
}

.location-facilities-text__marker {
  width: 10px;
  height: 10px;
  background-color: #333;
  margin-right: 8px;
}

.location-facilities-text__title {
  font-size: 17px;
  font-weight: 700;
	text-align: left; 
}

/* リスト全体 */
.location-facilities-text__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 1行（施設名 … 距離） */
.location-facilities-text__item {
  display: flex;
  align-items: baseline;
  margin-bottom: 4px;
}

/* 左：施設名 */
.location-facilities-text__name {
  white-space: nowrap;
}

/* 中央のドットリーダー */
.location-facilities-text__dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted #333;
  margin: 0 0.5em;
  transform: translateY(-2px); /* 文字と高さを少し合わせる調整 */
}

/* 右：徒歩◯分（約◯m） */
.location-facilities-text__time {
  white-space: nowrap;
}

/* =========================
   SP 調整
   ========================= */
@media (max-width: 768px) {
	.location-facilities-text {
		padding: 40px 5vw;
	}
	
  .location-facilities-text__inner {
    flex-direction: column;
    column-gap: 0;
  }

  .location-facilities-text__category {
    flex: 1 1 auto;
  }
}

