@charset "UTF-8";
/* ==========================================================================
   lower-base  下層ページ（p-rooms / p-facilities / p-meeting）に共通の台紙・見出し
   出典: Figma 10/20 版（複製 htdC4qyAq7fk5ItvUNHpJA）。各 p-<slug>.scss から @use される（p-* ＝ ページ固有 CSS の共通土台）
   作り: TOP・送迎と同じ canvas scale 方式。区画ごとに <section class="js-canvas-fit" data-w-pc="1440" data-w-sp="390"> の中に
         .js-canvas-fit-inner の台紙（SP 390／PC 1440）を置き、縮尺は --canvas-scale-sp|pc（functions.php の wp_head が先に入れる）
   ========================================================================== */
/* 区画（高さは .js-canvas-fit が中身に追従） */
.p-lower__canvas {
  position: relative;
  left: 50%;
  width: 390px;
  transform: translateX(-50%) scale(var(--canvas-scale-sp));
  transform-origin: top center;
  color: #525252;
  text-spacing-trim: space-all; /* 句読点の間を詰めない（送迎ページ 10/9 検品で確定） */
}

/* 写真帯（Banner Image: PC 1440×436／SP 390×147・ニュー 1011:1171 ほか 3館同じ写真）。391〜768 は画面いっぱい（T-35） */
.p-lower__band {
  width: 100%;
  height: min(147px, 37.6923076923vw);
  overflow: hidden;
}

.p-lower__band-img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* 区画の英字見出し（FACILITIES / SERVICE: 英字 ＋ 和名）。館ごとの飾り（c-sec-deco）・書体・色＝作業票 §2-c
   SP: ニュー 600 36/47 ＋ 8 ＋ 和名 Zen Old Mincho 700 18/26（1302:1133 V gap 8）／サンプラス「＋」27 at (0,0)・文字 700 32/54 at (18,6)・和名 #d9d9d9 at 68（1210:3240）
   🔁 10/21 原本照合 B-1: 「＋」を absolute にすると h2（和名を含み全幅）の左端＝画面左端に出る → flex の子として並べ、文字側の負の margin で重ねる
       ウィング「///」36.5×29.3 at (2,6) ＋ gap 10 ＋ 文字 600 32/42・和名 at 50（1210:3626）
   PC: ニュー 600 64/109 ＋ 和名 20/34（333×143・1011:1528）／サンプラス「＋」42.6 ＋ 文字 at x27 700/600 64/109・和名 #d9d9d9（1012:1544）／ウィング「///」63.5×51 at y17 ＋ gap 10 ＋ 600 64/83・和名 at 110（1014:1543）
   ROOM の見出しは p-rooms.scss（和名なし） */
.p-lower__sec-title {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--font-buenard);
  font-size: 36px;
  font-weight: 600;
  line-height: 47px; /* 46.8 → 箱 47 */
  white-space: nowrap;
}

.p-lower__sec-title-ja {
  flex: 0 0 100%;
  margin-top: 8px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px; /* 26.1 → 箱 26。SP「サービス」の Zen Kaku Gothic New 500 は混在＝「館内施設」と同じに（作業票 D-6） */
  text-align: center;
}

.p-lower--sunplus .p-lower__sec-title {
  align-items: flex-start;
  color: var(--color-main);
  font-size: 32px; /* 1210:3244・1210:3176（10/21 原本照合 B-6: 36 になっていた） */
  font-weight: 700;
  line-height: 54px; /* 54.4 → 箱 54 */
}

.p-lower--sunplus .p-lower__sec-title .c-sec-deco--plus {
  flex: 0 0 auto;
}

.p-lower--sunplus .p-lower__sec-title-text {
  margin: 6px 18px 0 -9px; /* 文字 (104,6) − 「＋」(86,0)＝18 → ＋27 に 9 食い込む（1210:3244）。右 18＝「＋」の張り出しと同じ幅＝文字を中央に（D-41） */
}

.p-lower--sunplus .p-lower__sec-title-ja,
.p-lower--wing .p-lower__sec-title-ja {
  color: #d9d9d9; /* #d9d9d9（1210:3248・1210:3634） */
}

.p-lower--wing .p-lower__sec-title {
  color: var(--color-main);
  font-size: 32px;
  line-height: 42px; /* 41.6 → 箱 42 */
}

.p-lower--wing .p-lower__sec-title .c-sec-deco--chev {
  margin: -1px 9px -1px -1px; /* SVG の pad 1・gap 10 */
}

.p-lower--wing .p-lower__sec-title-text {
  margin-right: 47.52px; /* 飾り＋間と同じ幅＝文字を中央に（D-41） */
}

@media (min-width: 769px) {
  .p-lower__canvas {
    width: 1440px;
    transform: translateX(-50%) scale(var(--canvas-scale-pc));
  }
  .p-lower__band {
    height: min(436px, 30.2777777778vw);
  }
  .p-lower__sec-title {
    font-size: 64px;
    line-height: 109px; /* 108.8 → 箱 109 */
  }
  .p-lower__sec-title-ja {
    margin-top: 0; /* 和名 y109＝英字の箱の直下 */
    font-size: 20px;
    line-height: 34px;
  }
  .p-lower--sunplus .p-lower__sec-title {
    font-size: 64px;
    font-weight: 600; /* FACILITIES 600（1012:1546）。SERVICE 700 は p-facilities.scss（p-* は lower-base より後） */
    line-height: 109px;
  }
  .p-lower--sunplus .p-lower__sec-title-text {
    margin: 0 27px 0 -15.6px; /* 文字 x27（1012:1546）＝「＋」42.6 に 15.6 食い込む。右 27＝張り出しと同じ＝文字を中央に（D-41） */
  }
  .p-lower--wing .p-lower__sec-title {
    font-size: 64px;
    line-height: 83px; /* 83.3 → 箱 83 */
  }
  .p-lower--wing .p-lower__sec-title .c-sec-deco--chev {
    margin: 16px 9px 0 -1px; /* (2,17) − pad 1 */
  }
  .p-lower--wing .p-lower__sec-title-text {
    margin-right: 74.52px; /* 飾り＋間と同じ幅＝文字を中央に（D-41） */
  }
  .p-lower--wing .p-lower__sec-title-ja {
    margin-top: 26px; /* 英字の箱 1+83=84 → 和名 110 */
  }
}
/* ==========================================================================
   p-company  会社概要（固定ページ company・グループのページ）
   出典: Figma 10/22 15:42 版（複製 BVAT9PkAaGHxOAabLuJ8Zm）PC 1023:3909（1440×6239）／SP 1296:513（390×8042）
   区画の積み重ね＝前の区画の下端 → この上端（Figma の y・式を書く）。PC の y は 110（ヘッダー）を含むページ座標・SP は 37 を含む
   部品（c-group-fv・c-group-head・c-group-table・c-group-recruit）＝_c-group.scss。作業票＝`_REST_20261022.md`
   🔒 モバイルファースト（基底＝SP）
   ========================================================================== */
.p-company {
  padding-bottom: 60px; /* SP: 採用欄の下端 7030.4 → フッター 7090 */
  background: #fffef9; /* ページ地 #fffef9（1023:3909 fill） */
}

/* --- 導入（SP PHILOSOPHY 1296:772・紙飛行機 1296:775） --- */
.p-company__intro {
  overflow-x: clip; /* 紙飛行機（PC は台紙の右端 1440 を 94 越える）で横スクロールを出さない */
}

.p-company__intro-canvas {
  padding-top: 70px; /* FV 下端 162 → 見出し 232 */
}

.p-company__plane {
  position: absolute;
  top: 14.2px; /* SP 176.16 − 162 */
  left: 289.4px;
  width: 116.4px;
  height: auto;
  max-width: none;
}

.p-company__intro-body {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-company__intro-title {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 32px;
  font-weight: 600;
  line-height: 54px; /* 108 ÷ 2 */
  text-align: center;
}

.p-company__intro-text {
  margin: 44px 0 0; /* 見出し下端 340 → 384 */
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 400;
  line-height: 32px; /* 128 ÷ 4 */
  text-align: center;
}

/* --- 理念（SP 1296:745）＝部品 c-group-points（_c-group.scss）。ここは区画の位置だけ --- */
.p-company__philosophy-canvas {
  padding: 80px 16px 0; /* 上: 導入の下端 512 → 理念 592 */
}

/* --- 代表メッセージ（SP 1296:732: 写真 → 題 → 本文 3 つ → 署名） --- */
.p-company__message-canvas {
  padding: 52px 16px 0; /* 上: 理念の下端 1719 → 1771 */
}

.p-company__message-photo {
  display: block;
  width: 358px;
  max-width: none;
  height: 344px; /* 344.03 */
  margin-left: -3px; /* x13（本文の左 16 より 3 左＝Figma どおり） */
  object-fit: cover;
}

.p-company__message-title {
  margin: 20px 0 0 7px; /* 写真の下端 2115 → 2135・x23 */
  font-family: var(--font-mincho);
  font-size: 28px;
  font-weight: 700;
  line-height: 48px; /* 144 ÷ 3 */
}

.p-company__message-text {
  margin: 16px 0 0; /* 段落の間 16（2434 → 2450） */
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 400;
  line-height: 27px; /* 135 ÷ 5 */
}

.p-company__message-title + .p-company__message-text {
  margin-top: 20px; /* 題の下端 2279 → 2299 */
}

.p-company__message-sign {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px; /* 276 → 298 */
  margin: 20px 0 0; /* 本文の下端 2682 → 2702 */
}

.p-company__message-role {
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 400;
  line-height: 27px; /* 26.6 → 箱 27 */
}

.p-company__message-name {
  font-family: var(--font-mincho);
  font-size: 29px;
  font-weight: 500;
  line-height: 56px; /* 55.1 → 箱 56 */
  letter-spacing: 4.64px;
  margin-right: -4.64px; /* 行末の字間の分（ブラウザは最後の字の後ろにも字間を付ける）＝右端を Figma の文字の右端にそろえる */
}

/* --- 会社概要（SP 1296:678: 見出し → 40 → 表の箱 350 → 30 → 3 館） --- */
.p-company__overview-canvas {
  padding-top: 90px; /* メッセージの下端 2758 → 見出し 2848 */
}

.p-company__table-box {
  position: relative;
  width: 350px;
  margin: 40px auto 0; /* 見出し下端 2946 → 2986 */
  padding: 50px 20px;
  border-radius: 16px;
  background: #ffffff;
}

/* 枠 0.5px（SP 1296:679 stroke 0.5）＝Chrome は 1px 未満を 1px に丸める＝擬似要素を 2 倍で描いて 0.5 に縮める（作業票 §3-4） */
.p-company__table-box::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  border: 1px solid #525252;
  border-radius: 32px;
  content: "";
  transform: scale(0.5);
  transform-origin: top left;
  pointer-events: none;
}

.p-company__hotels {
  display: flex;
  flex-direction: column;
  gap: 39.6px; /* 39.558 */
  width: 358px;
  margin: 30px auto 0; /* 箱の下端 3805 → 3835 */
  padding: 0;
  list-style: none;
}

.p-company__hotel-photo {
  display: block;
  width: 100%;
  max-width: none;
  height: 262px; /* 262.07 */
  object-fit: cover;
}

.p-company__hotel-body {
  display: flex;
  flex-direction: column;
  gap: 9.9px; /* 9.8895 */
  margin-top: 33.6px; /* 33.6243 */
}

.p-company__hotel-name {
  margin: 0;
  padding-bottom: 8.9px; /* 見出しの行 36.59（Figma）− 丸 27.69 */
  font-family: var(--font-gothic-jp);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px; /* 23.1/23.4 → 箱 24 */
}

.p-company__hotel-link {
  display: inline-flex;
  align-items: center;
  gap: 19.8px; /* 19.779 */
  color: inherit;
  text-decoration: none;
}

.p-company__hotel-arrow {
  width: 27.7px;
  height: 27.7px;
  color: var(--color-main);
}

.p-company__hotel-lead {
  margin: 0;
  white-space: nowrap; /* Figma は幅が文字なり（WIDTH_AND_HEIGHT）＝改行は 
だけ（§3-9・ウィングの 2 行目 360 はカード 358 を 2 越える＝Figma も同じ） */
  font-family: var(--font-gothic);
  font-size: 20px;
  font-weight: 400;
  line-height: 31px; /* 62 ÷ 2 */
}

.p-company__hotel-address {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 400;
  line-height: 31px; /* 93 ÷ 3 */
}

/* --- 沿革（SP 1296:614: 見出し → 40 → 年表。行の間 40・点は本文 1 行目の中心） --- */
.p-company__history-canvas {
  padding-top: 90px; /* 3 館の下端 5435.3 → 5525.3 */
}

.p-company__timeline {
  position: relative;
  margin: 40px 0 0; /* 見出し下端 5623.3 → 5663.3 */
  padding-left: 20px;
}

/* 縦の線（SP 1296:671: x102.27・1px #c6e8ee・最初の点の中心から下端まで） */
.p-company__timeline::before {
  position: absolute;
  top: 35px;
  bottom: 0;
  left: 102px;
  width: 1px;
  background: var(--color-bg-light);
  content: "";
}

.p-company__timeline-list {
  display: flex;
  flex-direction: column;
  gap: 40px; /* 本文の下端 → 次の行（5731 → 5771 ほか） */
  margin: 0;
  padding: 0;
  list-style: none;
}

.p-company__timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 95px 51px 205px; /* 年 x20 → 月 x115 → 本文 x166 */
  align-items: start;
}

/* 点（SP 12×12・x96）＝本文 1 行目の中心（上端 +24 ＋ 11）に置く（Figma の点は +23〜+28 の混在・差 ≤6 で揃える） */
.p-company__timeline-item::before {
  position: absolute;
  top: 29px;
  left: 76px; /* 96 − 20 */
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-main);
  content: "";
}

.p-company__timeline-year,
.p-company__timeline-month {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  color: var(--color-main);
}

.p-company__timeline-num {
  font-family: var(--font-buenard);
  font-size: 28px;
  font-weight: 700;
  line-height: 48px; /* 47.6 → 箱 48 */
}

.p-company__timeline-unit {
  margin-top: 21px; /* 年: 5663.31 → 5684.31 */
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 700;
  line-height: 27px;
}

.p-company__timeline-unit--m {
  margin-top: 24px; /* 月: 5663.31 → 5687.31 */
  font-size: 13px;
  line-height: 22px;
}

.p-company__timeline-text {
  margin: 24px 0 0; /* 行の上端 5663.31 → 5687 */
  font-family: var(--font-gothic); /* Figma の Inter は欧文書体＝Noto Sans（作業票 R-12） */
  font-size: 18px;
  font-weight: 400;
  line-height: 22px; /* 21.8 → 箱 22 */
}

.p-company__timeline-end {
  margin: 40px 0 0 96px; /* 最後の行の下端 6297.3 → 6337.3・x116 */
  font-family: var(--font-gothic);
  font-size: 18px;
  line-height: 22px;
}

/* --- 採用への誘導（SP 1296:602） --- */
.p-company__recruit-canvas {
  padding-top: 73px; /* 年表の下端 6359（区画の枠 6372 は年表の下に 13 の余白を含む）→ 6432 */
}

@media (min-width: 769px) {
  .p-company {
    padding-bottom: 100px; /* 採用欄の下端 5444 → フッター 5544 */
  }
  /* --- 導入（PC PHILOSOPHY 1023:4182: 302.5 幅・中央） --- */
  .p-company__intro-canvas {
    padding-top: 90px; /* FV 下端 534 → 見出し 624 */
  }
  .p-company__plane {
    top: 45px; /* 579 − 534 */
    left: 913px;
    width: 621px;
  }
  .p-company__intro-body {
    width: 302.5px;
    margin: 0 auto;
  }
  .p-company__intro-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 61px; /* 122 ÷ 2 */
    text-align: left;
  }
  .p-company__intro-text {
    margin-top: 60px; /* 746 → 806 */
    font-size: 16px;
    font-weight: 500;
    line-height: 34px; /* 68 ÷ 2（Manrope 33.6 → Noto Sans・R-12） */
    text-align: left;
    white-space: nowrap; /* 枠 302.5 は文の幅で決まる（PHILOSOPHY 1023:4182 の幅＝この文）＝改行は 
だけ。2 行目 304 は Firefox で折り返す（句読点を詰めない）＝§3-9 と同じ扱い */
  }
  /* --- 理念（PC 1023:4154）＝部品 c-group-points --- */
  .p-company__philosophy-canvas {
    padding: 146px 0 0 143px; /* 上: 導入の下端 874 → 1020・左 x143 */
  }
  /* --- 代表メッセージ（PC 1023:4137: 写真 487×468 ＋ 本文 593・両端揃え 1136） --- */
  .p-company__message-canvas {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 146px 155px 0 149px; /* 上: 理念の下端 1751 → 1897・左 x149・右 1440 − 1285（写真 487 と本文 593 を両端に＝1136 幅） */
  }
  .p-company__message-photo {
    width: 487px;
    height: 468px;
    margin-left: 0;
  }
  .p-company__message-body {
    width: 593px;
    padding-top: 18px; /* Heading 3 pad-top 18 */
  }
  .p-company__message-title {
    margin: 0;
    font-size: 30px;
    line-height: 54px; /* 108 ÷ 2 */
    letter-spacing: 1.5px;
  }
  .p-company__message-text {
    margin-top: 18px; /* Paragraph pad-top 18 */
    line-height: 34px; /* 101 ÷ 3（Manrope 33.6 → Noto Sans・R-12） */
  }
  .p-company__message-title + .p-company__message-text {
    margin-top: 27px; /* 最初の Paragraph pad-top 27 */
  }
  .p-company__message-sign {
    gap: 23px;
    margin-top: 29px; /* Container pad-top 29 */
  }
  /* --- 会社概要（PC 1023:4081: 見出し → 90 → 表の箱 1019 → 100 → 3 館 362×3・間 39） --- */
  .p-company__overview-canvas {
    padding-top: 163px; /* メッセージの下端 2441 → 見出し 2604 */
  }
  .p-company__table-box {
    width: 1019px;
    min-height: 779px;
    margin-top: 90px; /* 見出し下端 2702 → 2792 */
    padding: 70px 50px;
    border: 1px solid #525252; /* PC は 1px（1023:4089）＝通常の線 */
  }
  .p-company__table-box::after {
    content: none;
  }
  .p-company__hotels {
    flex-direction: row;
    justify-content: center;
    gap: 39px;
    width: auto;
    margin-top: 100px; /* 箱の下端 3571 → 3671 */
  }
  .p-company__hotel {
    width: 362px;
  }
  .p-company__hotel-photo {
    height: 265px;
  }
  .p-company__hotel-body {
    gap: 10px;
    margin-top: 34px;
  }
  .p-company__hotel-name {
    padding-bottom: 9px; /* 見出しの行 37 − 丸 28 */
  }
  .p-company__hotel-link {
    gap: 20px;
  }
  .p-company__hotel-arrow {
    width: 28px;
    height: 28px;
  }
  /* --- 沿革（PC 1023:4012: 見出し x172 を年表の上下中央・年表 x452。行は点の間隔 98 にそろえる＝作業票 R-16） --- */
  .p-company__history-canvas {
    display: flex;
    align-items: center;
    padding-top: 160px; /* 3 館の下端 4183 → 4343 */
  }
  .p-company__history-head {
    width: 87px;
    margin-left: 172px;
  }
  .p-company__timeline {
    margin: 0 0 0 193px; /* 見出しの右 259 → 年表 452 */
    padding-left: 0;
  }
  .p-company__timeline::before {
    top: 39px; /* 最初の点の中心 4382 − 4343 */
    left: 146px; /* 598 − 452 */
  }
  .p-company__timeline-list {
    gap: 44px; /* 行 54 ＋ 44 ＝ 点の間隔 98 */
  }
  .p-company__timeline-item {
    grid-template-columns: 208px 84px 1fr; /* 年 x452 → 月 x660 → 本文 x744 */
    min-height: 54px;
  }
  /* 月は「数字＋月」の中心をそろえる（Figma 1 桁 660〜690・2 桁 654〜695＝中心 675 前後。SP は左揃え＝1296:657） */
  .p-company__timeline-month {
    justify-content: center;
    width: 31px;
  }
  .p-company__timeline-item::before {
    top: 36px; /* 本文の中心（上端 +30 ＋ 12）− 6.5 */
    left: 140px; /* 592 − 452 */
    width: 13px;
    height: 13px;
  }
  .p-company__timeline-num {
    font-size: 32px;
    line-height: 54px; /* 54.4 → 箱 54 */
  }
  .p-company__timeline-unit {
    margin-top: 22px; /* 4343 → 4365 */
    font-size: 19px;
    line-height: 32px; /* 32.3 → 箱 32 */
  }
  .p-company__timeline-unit--m {
    margin-top: 27px; /* 4343 → 4370 */
    font-size: 14px;
    line-height: 24px;
  }
  .p-company__timeline-text {
    margin-top: 30px; /* 4343 → 4373 */
    font-size: 20px;
    line-height: 24px; /* 24.3 → 箱 24 */
    white-space: nowrap; /* Figma は幅が文字なり＝1 行（作業票 §3-9） */
  }
  .p-company__timeline-end {
    margin: 65px 0 0 200px; /* 「現在に至る」4952＝そろえた最後の行の上端 4833（4343 ＋ 98×5）＋ 54 ＋ 65・x652（年表の下端 4976 を Figma と同じに） */
    font-size: 20px;
    line-height: 24px;
  }
  /* --- 採用への誘導（PC 1023:4001: 写真 x0 ＋ 文） --- */
  .p-company__recruit-canvas {
    padding-top: 160px; /* 年表の下端 4976 → 5136 */
  }
}
