/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .sankaku-logo            - ヘッダー用テキストロゴ
 * .sankaku-header-sns      - ヘッダーSNSアイコン
 * .sankaku-shipper-btn     - 出荷者メニューボタン
 * .sankaku-footer-logo     - フッターテキストロゴ
 * .sankaku-footer-info     - フッター住所情報
 * .sankaku-footer-sns__item - フッターSNSリンク
 * .sankaku-mv              - TOPメインビジュアル
 * .sankaku-greet           - ごあいさつ白ボックス（内側二重ボーダー）
 * .sankaku-greet-foot      - ごあいさつ下部装飾バー
 * .sankaku-feature-card    - 特徴カード（番号+タイトル+テキスト）
 * .sankaku-sns-bnr         - SNSリンクバナーグリッド
 * .sankaku-facility-section - 施設情報セクション（画像+テキスト2カラム）
 * .sankaku-lottery-table   - 宝くじ当選実績テーブル
 * .sankaku-spot-card       - 周辺スポットカード
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * 値の粒度不足：
 *   - ごあいさつ内側二重ボーダーは共通CSSに存在しない（装飾パターン不足）
 *   - MV catch copy の Noto Serif JP 縦並び大文字スタイル
 *
 * 装飾パターン不足：
 *   - ヘッダーのテキストロゴ（画像なし）
 *   - ごあいさつ下部の斜め装飾バー（`.greet-foot`相当）
 *   - 宝くじ当選テーブルの金額ハイライト行
 *
 */

/* ============================================================
   基本設定
   ============================================================ */

:root {
  --color-red: #CC0000;
  --color-red-dark: #990000;
  --color-bg: #111111;
  --color-surface: #1a1a1a;
  --color-border: #3a3a3a;
  --color-text: #e8ddd0;
  --color-text-light: #999;
}

/* スクロールバーをシンプルに */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #CC0000; border-radius: 3px; }

a { transition: color 0.3s, opacity 0.3s; }

/* ============================================================
   ヘッダー：画像ロゴ
   ============================================================ */

.sankaku-logo-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.header__logo img.sankaku-logo-img {
  display: block;
  width: 200px;
  height: auto;
  transition: width 0.3s ease;
}

.is-fixed .header__logo img.sankaku-logo-img {
  width: 130px;
}

@media (max-width: 1100px) {
  .header__logo img.sankaku-logo-img {
    width: 150px;
  }
}

/* ============================================================
   ヘッダー：右側ボタン類
   ============================================================ */

.sankaku-header-sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.8rem;
  padding: 4px 6px;
  text-decoration: none;
  transition: color 0.3s;
}

.sankaku-header-sns:hover { color: #CC0000; }

.sankaku-shipper-btn {
  display: inline-block;
  font-size: 1.15rem;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.sankaku-shipper-btn:hover {
  border-color: #CC0000;
  color: #CC0000;
}

/* ============================================================
   メインビジュアル（TOP）
   ============================================================ */

.sankaku-mv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sankaku-mv__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.sankaku-mv__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sankaku-mv__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}

.sankaku-mv__catch {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #fff;
  font-size: 4.8rem;
  letter-spacing: 0.2em;
  line-height: 1.5;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.sankaku-mv__catch-en {
  display: block;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.sankaku-mv__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.sankaku-mv__scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  animation: sankaku-scroll-line 2s infinite;
}

@keyframes sankaku-scroll-line {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

.sankaku-mv__scroll-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.0rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

@media (max-width: 639px) {
  .sankaku-mv__catch {
    font-size: 3.0rem;
    letter-spacing: 0.1em;
  }

  /* 画像が見切れないよう、SP では高さを自動調整 */
  .sankaku-mv {
    height: auto;
    min-height: 0;
  }

  .sankaku-mv__bg {
    position: relative;
    width: 100%;
    height: auto;
    object-fit: unset;
    display: block;
  }

  /* overlay・content を画像の上に重ねる */
  .sankaku-mv__overlay,
  .sankaku-mv__content,
  .sankaku-mv__scroll {
    position: absolute;
  }

  /* ScrollインジケーターをSP時に下げる */
  .sankaku-mv__scroll {
    bottom: 0px;
  }
}

/* ============================================================
   お知らせ・イベント（TOP）
   ============================================================ */

.sankaku-news-list {
  width: 100%;
}

.news-bl {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin: 0;
  padding: 0;
}

.news-bl dt,
.news-bl dd {
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
  margin: 0;
  display: flex;
  align-items: center;
}

.news-bl dt {
  padding: 5px;
  line-height: 1.3;
  background: #dddddd;
  color: #111111;
  border: 1px solid #dddddd;
  font-size: 1.4rem;
  border-radius: 5px;
  width: 7em;
  text-align: center;
  justify-content: center;
  float: left;
}

.news-bl.white dt {
  background: transparent;
  border: 1px solid #dddddd;
  color: #dddddd;
  text-align: center;
}

.news-bl dd a {
  color: #e8ddd0;
  text-decoration: none;
  font-size: 1.4rem;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.news-bl dd a:hover {
  color: #CC0000;
}

/* ============================================================
   ごあいさつ（炎×中央テキスト）
   ============================================================ */

.sankaku-greet-section {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 1000px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.sankaku-greet-fire {
  position: absolute;
  top: 0;
  width: 28%;
  height: 100%;
  z-index: 0;
}

.sankaku-greet-fire img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sankaku-greet-fire--left {
  left: 0;
}

.sankaku-greet-fire--left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 20%, #000 100%);
}

.sankaku-greet-fire--right {
  right: 0;
}

.sankaku-greet-fire--right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 20%, #000 100%);
}

.sankaku-greet-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.sankaku-greet-heading {
  font-family: "Noto Serif JP", serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: #e8ddd0;
  margin-bottom: 55px;
  text-shadow:
    -2px -2px 0 #CC0000,
     2px -2px 0 #CC0000,
    -2px  2px 0 #CC0000,
     2px  2px 0 #CC0000,
    -3px  0   0 #CC0000,
     3px  0   0 #CC0000,
     0   -3px 0 #CC0000,
     0    3px 0 #CC0000;
}

.sankaku-greet-body {
  text-align: left;
  line-height: 2.2;
  color: #e8ddd0;
  font-size: 1.5rem;
}

.sankaku-greet-body p + p {
  margin-top: 1.4em;
}

.sankaku-greet-catch {
  font-family: "Noto Serif JP", serif;
  font-size: 2.0rem;
  line-height: 2.0;
  margin-bottom: 1.6em;
  text-align: center;
}

.sp-br {
  display: none;
}

@media (max-width: 639px) {
  .sp-br {
    display: inline;
  }
  .sankaku-greet-section {
    padding: 70px 0;
  }
  .sankaku-greet-fire {
    width: 40%;
    opacity: 0.6;
  }
  .sankaku-greet-heading {
    font-size: 2.0rem;
    letter-spacing: 0.3em;
  }
}

/* ============================================================
   特徴カード（3枚グリッド）
   ============================================================ */

.sankaku-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.sankaku-feature-card {
  background: #1a1a1a;
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  border-radius: 5px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.sankaku-feature-card:hover {
  border-color: #CC0000;
  transform: translateY(-4px);
}

.sankaku-feature-card__num {
  font-family: "Josefin Sans", sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: rgba(204, 0, 0, 0.25);
  line-height: 1;
  margin-bottom: 15px;
}

.sankaku-feature-card__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.5;
  border-bottom: 2px solid #CC0000;
  padding-bottom: 12px;
}

.sankaku-feature-card__text {
  font-size: 1.4rem;
  line-height: 1.9;
  color: rgba(232, 221, 208, 0.8);
}

@media (max-width: 896px) {
  .sankaku-feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   SNSリンクバナー
   ============================================================ */

.sankaku-sns-bnr {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: 1000px;
  margin: 0 auto;
}

.sankaku-sns-bnr__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  background: #1c1c1c;
  text-decoration: none;
  color: #e8ddd0;
  transition: background 0.3s, color 0.3s;
  gap: 10px;
  min-height: 120px;
  border: 1px solid #2a2a2a;
}

.sankaku-sns-bnr__item:hover {
  background: #CC0000;
  color: #fff;
}

.sankaku-sns-bnr__icon {
  font-size: 2.4rem;
}

.sankaku-sns-bnr__name {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 639px) {
  .sankaku-sns-bnr {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   施設案内（TOPページ）
   ============================================================ */

.sankaku-facility-bg {
  position: relative;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27969/bg-01.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sankaku-facility-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.sankaku-facility-bg .container {
  position: relative;
  z-index: 1;
}

.sankaku-facility-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.sankaku-facility-list__item {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 30px 20px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
  text-decoration: none;
  color: #e8ddd0;
}

.sankaku-facility-list__item:hover {
  background: #CC0000;
  border-color: #CC0000;
  color: #fff;
}

.sankaku-facility-list__name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.6rem;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}

.sankaku-facility-list__en {
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(232, 221, 208, 0.5);
  text-transform: uppercase;
  display: block;
}

.sankaku-facility-list__item:hover .sankaku-facility-list__en {
  color: rgba(255,255,255,0.7);
}

@media (max-width: 896px) {
  .sankaku-facility-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 639px) {
  .sankaku-facility-list { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .sankaku-facility-list__item { padding: 20px 12px; }
}

/* ============================================================
   施設情報ページ：各施設セクション
   ============================================================ */

.sankaku-facility-section {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 60px;
  margin-bottom: 60px;
}

.sankaku-facility-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sankaku-facility-section__hours {
  display: grid;
  grid-template-columns: 7em 1fr;
  margin-top: 20px;
  background: #1c1c1c;
  border-left: 3px solid #CC0000;
}

.sankaku-facility-section__hours dt,
.sankaku-facility-section__hours dd {
  padding: 10px 20px;
  border-bottom: 1px solid #2a2a2a;
}

.sankaku-facility-section__hours dt:last-of-type,
.sankaku-facility-section__hours dd:last-of-type {
  border-bottom: none;
}

.sankaku-facility-section__hours dt {
  font-size: 1.25rem;
  font-weight: 700;
  color: #CC0000;
}

.sankaku-facility-section__hours dd {
  font-size: 1.4rem;
  color: #e8ddd0;
  margin: 0;
}

/* 施設情報 2カラムレイアウト */
.sankaku-facility-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head img"
    "body img";
  gap: 0 4%;
  align-items: start;
  margin-bottom: 40px;
}

.sankaku-facility-layout--reverse {
  grid-template-areas:
    "img head"
    "img body";
}

.sankaku-facility-layout__head {
  grid-area: head;
}

.sankaku-facility-layout__img {
  grid-area: img;
}

.sankaku-facility-layout__body {
  grid-area: body;
}

@media (max-width: 896px) {
  .sankaku-facility-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 0;
  }

  .sankaku-facility-layout__head { order: 1; }
  .sankaku-facility-layout__img  { order: 2; }
  .sankaku-facility-layout__body { order: 3; }

  .sankaku-facility-layout__img .img-frame {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .sankaku-facility-layout__img .img-frame > img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* ============================================================
   宝くじ当選実績テーブル
   ============================================================ */

.sankaku-lottery-table {
  font-size: 1.3rem;
}

.sankaku-lottery-table tr.sankaku-lottery-jackpot {
  background: rgba(204, 0, 0, 0.15);
  color: #ff8888;
  font-weight: 700;
}

/* ============================================================
   アクセスページ
   ============================================================ */

/* 社長挨拶：鬼背景 */
.sankaku-greeting-section {
  position: relative;
  overflow: hidden;
}

.sankaku-greeting-oni {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 639px) {
  .sankaku-greeting-oni {
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.3;
  }
}

/* 会社概要：鬼背景 oni_4 */
.sankaku-overview-section {
  position: relative;
  overflow: hidden;
}

.sankaku-oni4-img {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: 100%;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 639px) {
  .sankaku-oni4-img {
    height: 50%;
    top: auto;
    bottom: 0;
    opacity: 0.25;
  }
}

/* 宝くじ：鬼背景 */
.sankaku-lottery-section {
  position: relative;
  overflow: hidden;
}

.sankaku-lottery-oni {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.sankaku-lottery-section .container {
  position: relative;
  z-index: 1;
}

/* 鬼背景セクション */
.sankaku-access-section {
  position: relative;
  overflow: hidden;
  background: #111111;
}

.sankaku-access-oni {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  max-width: none;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 639px) {
  .sankaku-access-oni {
    width: 100%;
    height: 50%;
    top: auto;
    bottom: 0;
    object-position: center top;
    opacity: 0.3;
  }
}

/* 住所カード */
.sankaku-access-card {
  max-width: 680px;
  margin: 0 auto;
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  padding: 35px 50px;
}

.sankaku-access-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.sankaku-access-dl__row {
  display: flex;
  align-items: baseline;
  gap: 30px;
  padding: 14px 0;
  border-bottom: 1px solid #2a2a2a;
}

.sankaku-access-dl__row:last-child {
  border-bottom: none;
}

.sankaku-access-dl dt {
  font-weight: 700;
  color: #CC0000;
  min-width: 55px;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.sankaku-access-dl dd {
  font-size: 1.5rem;
  color: #e8ddd0;
  line-height: 1.6;
  margin: 0;
}

.sankaku-access-dl dd a {
  color: #e8ddd0;
  text-decoration: none;
}

.sankaku-access-dl dd a:hover { color: #CC0000; }

/* 地図 */
.sankaku-access-map {
  border-radius: 5px;
  overflow: hidden;
  line-height: 0;
}

.sankaku-access-map iframe {
  display: block;
  width: 100%;
}

/* 交通・駐車場カード 2列 */
.sankaku-access-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.sankaku-access-detail-card {
  background: #1c1c1c;
  border: 1px solid #2a2a2a;
  border-radius: 5px;
  padding: 28px 30px;
}

.sankaku-access-detail-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid #CC0000;
  margin-bottom: 20px;
}

.sankaku-access-detail-card__en {
  font-size: 1.2rem;
  color: #CC0000;
  font-family: "Josefin Sans", sans-serif;
  letter-spacing: 0.05em;
}

.sankaku-access-detail-card__ja {
  font-size: 1.7rem;
  font-weight: 700;
  color: #e8ddd0;
}

.sankaku-access-detail-card p {
  font-size: 1.4rem;
  color: rgba(232, 221, 208, 0.8);
  line-height: 1.9;
}

@media (max-width: 639px) {
  .sankaku-access-card {
    padding: 25px 20px;
  }
  .sankaku-access-dl__row {
    flex-direction: column;
    gap: 4px;
  }
  .sankaku-access-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   会社沿革：火花背景
   ============================================================ */

.sankaku-history-section {
  position: relative;
  background-color: #111111;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27969/hibana.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.sankaku-history-section .container {
  position: relative;
  z-index: 1;
}

.sankaku-history-body {
  background: rgba(0, 0, 0, 0.55);
  padding-top: 40px;
  padding-bottom: 40px;
}

/* ============================================================
   会社案内ページ：社長挨拶
   ============================================================ */

.sankaku-president-signature {
  margin-top: 30px;
  text-align: right;
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  color: rgba(232, 221, 208, 0.8);
}

/* ============================================================
   周辺スポット
   ============================================================ */

.sankaku-spot-card {
  border-bottom: 1px solid var(--color-border);
  padding: 0 0 60px 0;
  margin-bottom: 60px;
}

.sankaku-spot-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.sankaku-spot-card__img-wrap {
  width: 100%;
  height: 425px;
  overflow: hidden;
  border-radius: 5px;
  background: #1c1c1c;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sankaku-spot-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sankaku-spot-card:hover .sankaku-spot-card__img-wrap img {
  transform: scale(1.05);
}

.sankaku-spot-card__distance {
  display: inline-block;
  background: #CC0000;
  color: #fff;
  font-family: "Josefin Sans", sans-serif;
  font-size: 1.2rem;
  padding: 3px 12px;
  border-radius: 2px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.sankaku-spot-card__info {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1.35rem;
  color: rgba(232, 221, 208, 0.75);
}

.sankaku-spot-card__info dt {
  font-weight: 700;
  color: rgba(232, 221, 208, 0.55);
  min-width: 60px;
}

/* 周辺情報 2カラムレイアウト */
.sankaku-spot-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "head img"
    "body img";
  gap: 0 4%;
  align-items: start;
}

.sankaku-spot-layout--reverse {
  grid-template-areas:
    "img head"
    "img body";
}

.sankaku-spot-layout__head {
  grid-area: head;
}

.sankaku-spot-layout__img {
  grid-area: img;
}

.sankaku-spot-layout__body {
  grid-area: body;
}

@media (max-width: 896px) {
  .sankaku-spot-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sankaku-spot-layout__head { order: 1; }
  .sankaku-spot-layout__img  { order: 2; width: 100%; }
  .sankaku-spot-layout__body { order: 3; }

  .sankaku-spot-card__img-wrap {
    height: 260px;
  }
}

/* ============================================================
   フッター：画像ロゴ
   ============================================================ */

.sankaku-footer-logo a {
  text-decoration: none;
  display: inline-block;
}

.sankaku-footer-logo-img {
  display: block;
  width: 160px;
  height: auto;
}

.sankaku-footer-info {
  margin-top: 20px;
  font-size: 1.35rem;
  font-style: normal;
  color: rgba(232, 221, 208, 0.75);
  line-height: 1.8;
}

.sankaku-footer-info a {
  color: rgba(232, 221, 208, 0.75);
  text-decoration: none;
}

.sankaku-footer-info a:hover { color: #CC0000; }

.sankaku-footer-sns__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 1.5rem;
  transition: background 0.3s, color 0.3s;
}

.sankaku-footer-sns__item:hover {
  background: #CC0000;
  color: #fff;
}

.sankaku-shipper-btn--footer {
  font-size: 1.2rem;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}

.sankaku-shipper-btn--footer:hover {
  border-color: #CC0000;
  color: #CC0000;
}

/* ============================================================
   ページヒーロー：サイト固有スタイル
   ============================================================ */

.page-hero {
  min-height: 250px;
  background: #000;
}

.page-hero .heading-hero {
  padding-top: 100px;
}

.sankaku-page-hero-bg {
  background: linear-gradient(135deg, #1a0000 0%, #000 60%, #0a0a0a 100%);
}

.sankaku-page-hero__accent {
  display: block;
  width: 40px;
  height: 2px;
  background: #CC0000;
  margin: 12px auto 0;
}

/* ============================================================
   セクション見出し（サイト全体）
   ============================================================ */

/* heading の英字にJosefin Sansを確実に適用 */
.heading__en,
.heading-bar .heading__en,
.heading-big .heading__en {
  font-family: "Josefin Sans", sans-serif;
}

/* 見出し日本語はNoto Serif JP */
.heading__ja,
.heading-bar .heading__ja,
.heading-underline .heading__ja {
  font-family: "Noto Serif JP", serif;
}

/* ============================================================
   コンタクトCTAセクション
   ============================================================ */

.sankaku-contact-cta-wrap {
  background: #CC0000;
  padding: 80px 0;
}

/* ============================================================
   コンタクトフォーム
   ============================================================ */

.sankaku-form-wrap {
  max-width: 800px;
  margin: 0 auto;
}

/* ============================================================
   テーブル（会社概要・アクセス）
   ============================================================ */

.sankaku-table-overview {
  width: 100%;
}

.sankaku-table-overview th {
  color: #CC0000;
}

/* ============================================================
   フローティングナビ（SP）
   ============================================================ */

.sp-fixed-bar__item {
  background: #CC0000;
}

.sp-fixed-bar__item:hover {
  background: #990000;
}

/* ============================================================
   記事詳細（entry.php）
   ============================================================ */

.sankaku-entry {
  padding: 0;
}

.sankaku-entry__head {
  padding-bottom: 30px;
  margin-bottom: 40px;
  border-bottom: 1px solid #3a3a3a;
}

.sankaku-entry__meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.sankaku-entry__date {
  font-size: 1.3rem;
  color: rgba(232, 221, 208, 0.55);
  letter-spacing: 0.05em;
}

.sankaku-entry__category {
  display: inline-block;
  font-size: 1.2rem;
  color: #CC0000;
  border: 1px solid #CC0000;
  padding: 2px 10px;
  border-radius: 3px;
}

.sankaku-entry__title {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: "Noto Serif JP", serif;
  line-height: 1.5;
  color: #e8ddd0;
}

.sankaku-entry__body {
  font-size: 1.5rem;
  line-height: 2.0;
  color: #e8ddd0;
  margin-bottom: 60px;
}

.sankaku-entry__body img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin: 20px 0;
}

.sankaku-entry__body a {
  color: #CC0000;
  text-decoration: underline;
}

.sankaku-entry__pager {
  display: flex;
  justify-content: space-between;
  padding: 30px 0;
  border-top: 1px solid #3a3a3a;
  border-bottom: 1px solid #3a3a3a;
  margin-bottom: 40px;
  font-size: 1.4rem;
}

.sankaku-entry__pager a {
  color: #e8ddd0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sankaku-entry__pager a:hover {
  color: #CC0000;
}

/* ============================================================
   視差固定画像
   ============================================================ */

.fixed-img {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.fixed-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27969/fixed-img.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 1;
}

.fixed-img--company::before {
  background-image: url(https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27969/fixed-img2.jpg);
}

@media (max-width: 896px) {
  .fixed-img::before,
  .fixed-img--company::before {
    background-attachment: scroll;
  }
}

.btn--outline {
  background: #111111;
}

.accordion--arrow .accordion__head,
.accordion__head {
  font-size: 1.5rem;
}

/* ============================================================
   お問い合わせCTA
   ============================================================ */

.sankaku-contact-cta {
  background: #111111;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}

.sankaku-contact-cta__inner {
  display: flex;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.sankaku-contact-cta__block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 55px 40px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
}

.sankaku-contact-cta__block:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sankaku-contact-cta__divider {
  width: 1px;
  background: #fff;
  flex-shrink: 0;
  margin: 30px 0;
}

.sankaku-contact-cta__icon {
  font-size: 4.0rem;
  color: #fff;
  line-height: 1;
}

.sankaku-contact-cta__num {
  font-size: 3.0rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}

.sankaku-contact-cta__form-title {
  font-size: 2.8rem;
  font-family: "Josefin Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  line-height: 1;
}

.sankaku-contact-cta__label {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
}

@media (max-width: 639px) {
  .sankaku-contact-cta__inner {
    flex-direction: column;
  }
  .sankaku-contact-cta__divider {
    width: auto;
    height: 1px;
    margin: 0 30px;
  }
  .sankaku-contact-cta__block {
    padding: 40px 20px;
  }
  .sankaku-contact-cta__num,
  .sankaku-contact-cta__form-title {
    font-size: 2.2rem;
  }
}

/* フッターナビ横並び */
.footer-sitemap__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
}

.footer-sitemap__item {
  margin-bottom: 0;
}

@media (max-width: 639px) {
  .footer-sitemap {
    display: none;
  }
}

.accordion__body,
.accordion--arrow .accordion__body {
  background: none;
}

/* ============================================================
   お知らせ一覧ページ（entry_list.php）
   ============================================================ */

.sankaku-entrylist-section {
  background: #111111;
}

.sankaku-entrylist-wrap {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.sankaku-entrylist-main {
  flex: 1;
  min-width: 0;
}

.sankaku-entrylist-side {
  width: 240px;
  flex-shrink: 0;
}

.sankaku-side-block {
  border: 1px solid #2a2a2a;
}

.sankaku-side-block__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  padding: 14px 16px;
  border-bottom: 1px solid #2a2a2a;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sankaku-side-block__title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1em;
  background: #CC0000;
  flex-shrink: 0;
}

.sankaku-side-block__body {
  padding: 12px 0;
}

/* CMS月別アーカイブ出力 */
.sankaku-side-block__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sankaku-side-block__body li {
  border-bottom: 1px solid #2a2a2a;
}

.sankaku-side-block__body li:last-child {
  border-bottom: none;
}

.sankaku-side-block__body li a {
  display: block;
  padding: 10px 16px;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  background: transparent;
  transition: color 0.2s ease, background 0.2s ease;
}

.sankaku-side-block__body li a:hover {
  color: #fff;
  background: rgba(204, 0, 0, 0.15);
}

@media (max-width: 639px) {
  .sankaku-entrylist-side {
    width: 100%;
  }
}

/* CMS出力：記事リスト */
.blog_topics {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog_topics li {
  border-bottom: 1px solid #2a2a2a;
}

.blog_topics li:first-child {
  border-top: 1px solid #2a2a2a;
}

.blog_topics li a {
  display: block;
  text-decoration: none;
  transition: background 0.2s ease;
  padding: 20px 0;
}

.blog_topics li a:hover {
  background: rgba(255, 255, 255, 0.03);
}

.topics_detail {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.imgbox {
  flex-shrink: 0;
  width: 160px;
}

.imgbox img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.textbox {
  flex: 1;
  min-width: 0;
}

.time_date {
  display: block;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.textbox h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.textbox p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 639px) {
  .sankaku-entrylist-wrap {
    flex-direction: column;
  }
  .topics_detail {
    flex-direction: column;
    gap: 12px;
  }
  .imgbox {
    width: 100%;
  }
  .imgbox img {
    height: 180px;
  }
  .textbox h3 {
    font-size: 1.4rem;
    white-space: normal;
  }
}

/* ============================================================
   スマホ固定ナビ
   ============================================================ */
.sp-fixed-nav {
  display: none;
}

@media (max-width: 767px) {
  .sp-fixed-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #111111;
    border-top: 1px solid #fff;
  }

  .sp-fixed-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.3;
    gap: 4px;
    border-right: 1px solid #fff;
  }

  .sp-fixed-nav__item:last-child {
    border-right: none;
  }

  .sp-fixed-nav__icon {
    font-size: 1.8rem;
  }

  .sp-fixed-nav__label {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
  }

  /* フッターとコンテンツが固定ナビに隠れないよう余白確保 */
  body {
    padding-bottom: 70px;
  }

  /* ページトップボタンを固定ナビの上に表示 */
  .page-top {
    bottom: 80px;
  }
}

/* SPナビ 閉じるボタン */
.sp-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 5px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
}

.sp-nav__close-line {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: absolute;
}

.sp-nav__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.sp-nav__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

/* ハンバーガーメニューボタン背景 */
.nav-toggle {
  background: #CC0000;
  backdrop-filter: none;
}

/* フォーム必須ラベル文字色 */
.form-contents form dl dt:not(.pattern-exclusion) span {
  color: #111111 !important;
}

.form-contents .form-thanks-msg p {
  color: #333 !important;
}