/*
 * ======================================
 * 追加クラス一覧（共通SCSS取り込み検討用）
 * ======================================
 *
 * .gsh-cta          - お問い合わせCTAセクション
 * .gsh-cta__label   - CTA電話番号ラベル
 * .gsh-cta__note    - CTA注記テキスト
 * .gsh-mv           - メインビジュアルセクション
 * .gsh-mv__catchcopy - MV キャッチコピー
 * .gsh-greeting     - ごあいさつセクション装飾
 * .gsh-content-menu - コンテンツメニューカード装飾
 *
 * ======================================
 * 共通SCSSに不足していたもの
 * ======================================
 *
 * - サイトカラーのCSS変数上書き（構造不足）
 * - パステルカラー配色への全体的なオーバーライド
 * - ヘッダー電話番号のパステルピンク色対応
 * - フッターのやわらか背景色
 *
 */

/* ============================================================
   カラー変数（CSS カスタムプロパティ）
   ============================================================ */
:root {
  --color-pink:   #FBD2D8;
  --color-blue:   #C3EAFB;
  --color-yellow: #FEF2A8;
  --color-pink-deep:  #d97b8a;  /* 操作可能要素用の少し濃いピンク */
  --color-text:   #444444;
  --color-text-light: #888888;
  --color-white:  #ffffff;
}

/* ============================================================
   基本フォント・ボディ
   ============================================================ */
body {
  font-family: 'Zen Maru Gothic', 'YakuHanJP', sans-serif;
  font-size: 1.8rem;
  color: var(--color-text);
  background: var(--color-white);
}

a {
  color: var(--color-pink-deep);
}

/* 英字フォント上書き */
.heading__en,
.header__nav-en,
.sp-nav__en,
.btn-cta-tel,
.header__tel,
.footer-bottom__copyright {
  font-family: 'Quicksand', sans-serif;
}

/* ============================================================
   カラーオーバーライド（main.css の orange 系を pink 系に）
   ============================================================ */

/* --- ヘッダー --- */
.header-bar {
  background: var(--color-white);
  box-shadow: 0 2px 12px rgba(217, 123, 138, 0.12);
}

/* アイコンナビ用に高さを拡張 */
.header__inner {
  height: 105px;
  padding: 0;
  max-width: 1800px;
  position: relative;
}
@media (max-width: 1100px) {
  .header__inner { height: 60px; }
  .header__logo img { height: 50px !important; }
}

/* ナビ：中央配置 + アイテム間隔 */
.header__nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  gap: 30px;
}

/* ロゴ左寄せ・サイズ */
.header__logo {
  margin-right: auto;
}
.header__logo img {
  height: 65px;
}

/* ナビアイコン画像 */
.header__nav-icon-img {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 4px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* ナビ文字サイズ */
.header__nav-ja {
  font-size: 1.6rem;
}

/* ナビリンク調整：ホバーはアイコン薄く + 下線 */
.header__nav-item a {
  padding: 8px 14px;
}
.header__nav-item a:hover {
  opacity: 1;
}
.header__nav-item a:hover .header__nav-icon-img {
  opacity: 0.65;
  transform: translateY(-2px);
}
.header__nav-item a::after {
  background: var(--color-pink-deep);
}

/* EN テキストは非表示（アイコンに差し替えのため） */
.header__nav-en {
  display: none;
}

/* 右エリア：電話番号リスト */
.header__right {
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  padding-right: 20px;
  height: 100%;
}

.header__tel-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.header__tel-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.header__tel-label {
  font-size: 1.8rem;
  color: var(--color-text-light);
  white-space: nowrap;
}

.header__tel {
  font-size: 1.9rem;
  color: var(--color-pink-deep);
  text-decoration: none;
  white-space: nowrap;
}
.header__tel::before {
  color: var(--color-pink-deep);
}

/* SPナビ下部エリア：縦並び */
.sp-nav__bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

/* SPナビ内電話ボタン */
.sp-nav__tel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  padding: 12px 24px;
  text-decoration: none;
  color: #fff;
  transition: background 0.2s ease;
  flex: 1;
  text-align: center;
}
.sp-nav__tel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}
.sp-nav__tel-btn i {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.sp-nav__tel-btn-label {
  font-size: 1.0rem;
  opacity: 0.85;
  white-space: nowrap;
}
.sp-nav__tel-btn-num {
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  white-space: nowrap;
}

/* ハンバーガー */
.nav-toggle {
  background: rgba(251, 210, 216, 0.9);
}

.nav-toggle__line {
  background: var(--color-pink-deep);
}

/* SPナビ */
.sp-nav {
  background: linear-gradient(135deg, rgba(217, 123, 138, 0.97), rgba(195, 80, 100, 0.98));
}

/* --- 見出し --- */
.heading__en {
  color: var(--color-pink-deep);
}

.heading-bar {
  border-left-color: var(--color-pink-deep);
}

.heading-bar .heading__en {
  color: var(--color-pink-deep);
}

.heading-accent {
  color: var(--color-pink-deep);
}

.heading-accent::before {
  background: var(--color-pink-deep);
}

.heading-icon-bar::after {
  background: var(--color-pink-deep);
}

/* --- ボタン --- */
.btn {
  border-color: var(--color-pink-deep);
}

.btn-circle-arrow--solid {
  background: #84d2f3;
}
.btn-circle-arrow--solid .btn__circle {
  background: #fff;
  color: #84d2f3;
}
.btn-circle-arrow--solid:hover {
  background: #5bbde0;
}
.btn-circle-arrow--solid:hover .btn__circle {
  color: #5bbde0;
}

.btn--solid {
  background: var(--color-pink-deep);
  border-color: var(--color-pink-deep);
  color: var(--color-white);
}

.btn--solid:hover {
  background: #c06078;
  border-color: #c06078;
  opacity: 1;
}

.btn--outline {
  color: var(--color-pink-deep);
}

.btn--outline:hover {
  background: var(--color-pink-deep);
  color: var(--color-white);
  opacity: 1;
}

.btn-circle-arrow {
  color: var(--color-text);
}

.btn-circle-arrow:hover {
  background: var(--color-pink-deep);
}

.btn__circle {
  background: var(--color-pink-deep);
}

.btn-cta-tel {
  color: var(--color-pink-deep);
}

.btn-cta-tel::before {
  color: var(--color-pink-deep);
}

/* --- フッター --- */
.footer-body--soft {
  background: #FFF5F6;
}

.footer-body__info a {
  color: #333;
}

.footer-body__nav-item a:hover {
  color: var(--color-pink-deep);
}

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

.footer-bottom--base-light {
  background: var(--color-pink);
}

.footer-bottom--base-light .footer-bottom__copyright {
  color: var(--color-text);
}

/* --- ページトップボタン --- */
.page-top {
  background: none;
}
.page-top__link {
  background: var(--color-pink-deep);
}
.page-top__link:hover {
  background: #c06078;
}

/* --- ページヒーロー --- */
.page-hero__overlay {
  background: rgba(200, 100, 120, 0.3);
}

/* --- テーブル --- */
.table-base th {
  background: var(--color-pink);
  color: var(--color-text);
}

/* ============================================================
   メインビジュアル（MV）
   ============================================================ */
.gsh-mv {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
}

@media (max-width: 639px) {
  .gsh-mv {
    height: 70vh;
    min-height: 400px;
  }
}

#slideshow {
  width: 100%;
  height: 100%;
}

#slideshow .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#slideshow .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: gsh-zoom 12s ease forwards;
}

@keyframes gsh-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.12); }
}

.gsh-mv__overlay {
  position: absolute;
  inset: 0;
  background: rgba(180, 80, 100, 0.22);
  z-index: 2;
  pointer-events: none;
}

.gsh-mv__text {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
}

.gsh-mv__catchcopy {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  line-height: 1.6;
  letter-spacing: 0.08em;
}

@media (max-width: 896px) {
  .gsh-mv__catchcopy { font-size: 2.4rem; }
}
@media (max-width: 639px) {
  .gsh-mv__catchcopy { font-size: 2.5rem; }
}

/* ============================================================
   ごあいさつセクション
   ============================================================ */
.gsh-greeting {
  position: relative;
  overflow: hidden;
}

/* 左右浮き装飾 */
.gsh-greeting__deco {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

.gsh-greeting__deco--left {
  left: -30px;
  top: 0px;
  width: 500px;
}

.gsh-greeting__deco--right {
  right: -30px;
  top: 0px;
  width: 500px;
  transform: scaleX(-1);
}

@media (max-width: 639px) {
  .gsh-greeting__deco { width: 120px; }
}

.gsh-greeting__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.gsh-greeting__catch {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  line-height: 1.6;
  margin-bottom: 30px;
}

@media (max-width: 639px) {
  .gsh-greeting__catch { font-size: 2.5rem; }
}

.gsh-greeting__text {
  font-size: 1.8rem;
  line-height: 2;
  color: var(--color-text);
  text-align: left;
}

/* ============================================================
   コンテンツメニュー
   ============================================================ */
.gsh-content-menu {
  background: var(--color-pink);
  position: relative;
}

/* 上部ウェーブ */
.gsh-content-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: -39px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--color-pink);
  clip-path: ellipse(55% 80% at 50% 100%);
  pointer-events: none;
}

.gsh-menu-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(217, 123, 138, 0.15);
  transition: all 0.3s ease;
  display: block;
  text-decoration: none;
  color: var(--color-text);
}

.gsh-menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(217, 123, 138, 0.25);
  opacity: 1;
}

.gsh-menu-card__img {
  height: 290px;
  overflow: hidden;
}

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

.gsh-menu-card:hover .gsh-menu-card__img img {
  transform: scale(1.08);
}

.gsh-menu-card__body {
  padding: 20px;
}

.gsh-menu-card__title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-pink-deep);
}

.gsh-menu-card__text {
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--color-text-light);
}

.gsh-menu-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 1.8rem;
  color: var(--color-pink-deep);
  margin-top: 12px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
}

.gsh-menu-card__more::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* ============================================================
   お問い合わせCTA
   ============================================================ */
.gsh-cta {
  background: linear-gradient(160deg, #FDF4F6 0%, #F4F9FE 100%);
}

/* 説明文 */
.gsh-cta__desc {
  text-align: center;
  font-size: 1.8rem;
  color: var(--color-text-light);
  margin-top: 14px;
  margin-bottom: 48px;
  line-height: 1.8;
}

@media (max-width: 639px) {
  .gsh-cta__desc {
    font-size: 1.8rem;
    margin-bottom: 32px;
    text-align: left;
  }
}

/* カードグリッド */
.gsh-cta__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .gsh-cta__cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 各カード */
.gsh-cta__card {
  background: #ffffff;
  border: 1.5px solid #F7CDD5;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
}

@media (max-width: 896px) {
  .gsh-cta__card {
    padding: 28px 20px;
  }
}

/* カード見出し */
.gsh-cta__card-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  margin-bottom: 24px;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .gsh-cta__card-title {
    font-size: 1.8rem;
    margin-bottom: 18px;
  }
}

/* 電話ボタン縦並び */
.gsh-cta__tel-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 電話ボタン */
.gsh-cta__tel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #DCF0FA;
  color: var(--color-pink-deep);
  font-family: 'Quicksand', sans-serif;
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.gsh-cta__tel-btn i {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.gsh-cta__tel-btn:hover {
  background: #C5E6F5;
  color: #c4606f;
  box-shadow: 0 3px 12px rgba(195, 234, 251, 0.6);
}

@media (max-width: 639px) {
  .gsh-cta__tel-btn {
    font-size: 1.8rem;
    padding: 13px 20px;
    width: 100%;
  }
}

/* 花ライン装飾（CTAとフッターの間） */
.gsh-hana-line {
  line-height: 0;
  overflow: hidden;
  margin-top: -65px;
}

.gsh-hana-line img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 639px) {
  .gsh-hana-line {
    margin-top: -45px;
  }
}

/* ============================================================
   ページヒーロー（下層ページ）
   ============================================================ */
.gsh-page-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 639px) {
  .gsh-page-hero { height: 160px; }
}

.gsh-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-pink) 0%, #f8b8c4 50%, var(--color-blue) 100%);
  z-index: 0;
}

.gsh-page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.gsh-page-hero__ja {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.4;
  margin-top: 85px;
}

@media (max-width: 639px) {
  .gsh-page-hero__ja { font-size: 2rem; }
}

/* ============================================================
   沿革タイムライン（about.php）
   ============================================================ */
.gsh-timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

/* 縦ライン */
.gsh-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--color-pink-deep), var(--color-pink));
}

/* 各アイテム */
.gsh-timeline__item {
  position: relative;
  padding: 20px 0 16px 52px;
  border-bottom: 1px solid rgba(247, 205, 213, 0.7);
}
.gsh-timeline__item:last-child {
  border-bottom: none;
}

/* ドット */
.gsh-timeline__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-pink-deep);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--color-pink-deep);
}

/* ドットから日付へ伸びる横線 */
.gsh-timeline__item::after {
  content: '';
  position: absolute;
  left: 16px;
  top: 29px;
  width: 28px;
  height: 1.5px;
  background: var(--color-pink);
}

/* 日付行 */
.gsh-timeline__head {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.gsh-timeline__date {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  letter-spacing: 0.03em;
}

/* 本文 */
.gsh-timeline__body {
  font-size: 1.8rem;
  color: var(--color-text);
  line-height: 1.8;
  padding-left: 2px;
}

@media (max-width: 639px) {
  .gsh-timeline__date { font-size: 1.8rem; }
  .gsh-timeline__body { font-size: 1.6rem; }
  .gsh-timeline__item { padding: 16px 0 12px 46px; }
}

/* ============================================================
   求める人材（recruit.php）3カラムカード
   ============================================================ */
.gsh-wanted {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 896px) {
  .gsh-wanted {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 639px) {
  .gsh-wanted {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.gsh-wanted__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(217, 123, 138, 0.08);
}

.gsh-wanted__img-wrap {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.gsh-wanted__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gsh-wanted__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  line-height: 1.5;
  margin-bottom: 12px;
}

.gsh-wanted__text {
  font-size: 1.8rem;
  color: var(--color-text);
  line-height: 1.9;
  text-align: left;
  max-width: 240px;
}

@media (max-width: 639px) {
  .gsh-wanted__img-wrap { width: 110px; height: 110px; }
  .gsh-wanted__title    { font-size: 1.8rem; }
  .gsh-wanted__text     { font-size: 1.3rem; max-width: 100%; }
}

/* ============================================================
   下層ページ：セクション汎用
   ============================================================ */
.section-pink   { background: #FFF5F6; }
.section-blue   { background: #EEF8FF; }
.section-yellow { background: #FFFDE8; }

/* ============================================================
   bg-wave ウェーブ区切り
   ============================================================ */
.bg-wave {
  position: relative;
  overflow: visible;
}
.bg-wave::before,
.bg-wave::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 15em;
  content: "";
  left: 0;
  pointer-events: none;
  z-index: -1;
}
.bg-wave::before {
  top: -13em;
}
.bg-wave::after {
  bottom: -13em;
  transform: rotate(180deg);
}
.bg-wave > .container {
  position: relative;
  z-index: 1;
}

/* section-pink 用ウェーブカラー */
.section-pink.bg-wave::before,
.section-pink.bg-wave::after {
  background: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28038/wave.svg') no-repeat center top / cover;
}

@media (max-width: 639px) {
  .bg-wave::before,
  .bg-wave::after {
    height: 3em;
  }
  .bg-wave::before { top: -3em; }
  .bg-wave::after  { bottom: -3em; }
}

/* ============================================================
   利用の流れ：ステップカード
   ============================================================ */
.gsh-step {
  position: relative;
  display: flex;
  gap: 24px;
  padding: 28px;
  background: var(--color-white);
  border-radius: 16px;
  box-shadow: 0 3px 16px rgba(217, 123, 138, 0.1);
  margin-bottom: 20px;
}

@media (max-width: 639px) {
  .gsh-step { flex-direction: column; gap: 12px; padding: 20px; }
}

.gsh-step__num {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-pink-deep);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.gsh-step__num small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.gsh-step__num strong {
  display: block;
  font-size: 1.4rem;
}

.gsh-step__body {}

.gsh-step__title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  margin-bottom: 8px;
}

.gsh-step__text {
  font-size: 1.8rem;
  line-height: 1.9;
  color: var(--color-text);
}

/* ステップ間矢印 */
.gsh-step-arrow {
  text-align: center;
  margin: 4px 0;
  color: var(--color-pink-deep);
  font-size: 1.6rem;
}

/* ============================================================
   サービスカード（できること・できないこと等）
   ============================================================ */
.gsh-service-card {
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(217, 123, 138, 0.1);
}

.gsh-service-card__img {
  height: auto;
  text-align: center;
}

.gsh-service-card__img img {
  width: 100%;
  max-width: 1000px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 639px) {
  .gsh-service-card__img {
    height: auto;
  }
  .gsh-service-card__img img {
    height: auto;
  }
}

.gsh-service-card__body {
  padding: 24px;
}

/* ============================================================
   アンダーライン見出し（アクセス・連絡先など）
   ============================================================ */
.gsh-underline-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #444;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-pink-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gsh-underline-heading i {
  color: var(--color-pink-deep);
  font-size: 1.8rem;
}

/* ============================================================
   テーブル（料金表）
   ============================================================ */
.gsh-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.gsh-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
}
.gsh-map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 639px) {
  .gsh-map-wrap {
    aspect-ratio: 4 / 3;
  }
}

.gsh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.8rem;
}

.gsh-table th,
.gsh-table td {
  padding: 10px 14px;
  border: 1px solid #e8c0c6;
  vertical-align: middle;
}

.gsh-table th {
  background: var(--color-pink);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.gsh-table tbody tr:nth-child(even) td {
  background: #FFF5F6;
}

.gsh-table tbody tr:hover td {
  background: #FFEAEC;
}

@media (max-width: 639px) {
  .gsh-table,
  .gsh-table tbody,
  .gsh-table tr,
  .gsh-table th,
  .gsh-table td {
    display: block;
    width: 100% !important;
  }
  .gsh-table th {
    border-bottom: none;
  }
  .gsh-table td {
    border-top: none;
  }

  /* 横スクロール維持（利用料金テーブルなど） */
  .gsh-table-wrap--scroll .gsh-table,
  .gsh-table-wrap--scroll .gsh-table tbody,
  .gsh-table-wrap--scroll .gsh-table thead,
  .gsh-table-wrap--scroll .gsh-table tr,
  .gsh-table-wrap--scroll .gsh-table th,
  .gsh-table-wrap--scroll .gsh-table td {
    display: revert;
    width: revert !important;
  }
  .gsh-table-wrap--scroll .gsh-table th,
  .gsh-table-wrap--scroll .gsh-table td {
    border: 1px solid #e8c0c6;
  }
}

/* ============================================================
   2カラム：画像 ＋ テキスト
   ============================================================ */
.gsh-2col {
  display: flex;
  gap: 40px;
  align-items: center;
}

.gsh-2col__img {
  flex: 0 0 40%;
  max-width: 40%;
}

.gsh-2col__img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.gsh-2col__body {
  flex: 1;
}

/* 画像を右側に配置するバリエーション */
.gsh-2col--reverse {
  flex-direction: row-reverse;
}

@media (max-width: 767px) {
  .gsh-2col {
    flex-direction: column;
    gap: 24px;
  }
  .gsh-2col--reverse {
    flex-direction: column;
  }
  .gsh-2col__img {
    flex: none;
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================================
   グリッド内mbox高さ統一
   ============================================================ */
.grid-3 {
  align-items: stretch;
}
.grid-3 > .mbox {
  height: 100%;
  margin: 0;
  box-sizing: border-box;
}

/* ============================================================
   求人ページ：チェックリスト
   ============================================================ */
.gsh-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 896px) {
  .gsh-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  .gsh-checklist {
    grid-template-columns: 1fr;
  }
}

.gsh-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(217, 123, 138, 0.1);
  font-size: 1.8rem;
  line-height: 1.7;
}

.gsh-checklist li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: var(--color-pink-deep);
  font-size: 1.4rem;
  margin-top: 2px;
  flex-shrink: 0;
}


/* ============================================================
   SP固定バー
   ============================================================ */
.sp-fixed-bar {
  background: var(--color-pink-deep);
}

/* ============================================================
   スクロールアニメーション（data-aos 代替）
   ============================================================ */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos="fade-in"] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

[data-aos="fade-in"].aos-animate {
  opacity: 1;
}

/* AOS delay */
[data-aos-delay="100"] { transition-delay: 0.1s; }
[data-aos-delay="200"] { transition-delay: 0.2s; }
[data-aos-delay="300"] { transition-delay: 0.3s; }

/* ============================================================
   care-station.php 介護保険サービス：右上花柄背景
   ============================================================ */
.gsh-care-service {
  position: relative;
  overflow: hidden;
}

.gsh-care-service::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -40px;
  width: 55%;
  max-width: 800px;
  aspect-ratio: auto;
  height: 520px;
  background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28038/hana3.png');
  background-size: contain;
  background-position: right top;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.gsh-care-service__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 896px) {
  .gsh-care-service::after {
    width: 65%;
    height: 380px;
    opacity: 0.4;
    right: -20px;
  }
}

@media (max-width: 639px) {
  .gsh-care-service::after {
    width: 80%;
    height: 260px;
    opacity: 0.3;
    right: -10px;
    top: -10px;
  }
}

/* ============================================================
   about.php ごあいさつ：花柄背景
   ============================================================ */
.gsh-greeting-about {
  position: relative;
  overflow: hidden;
}

.gsh-greeting-about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: calc(100vw * 631 / 1900);
  background-image: url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28038/hana2.png');
  background-size: 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.gsh-greeting-about__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 639px) {
  .gsh-greeting-about::before {
    opacity: 0.25;
  }
}

/* ============================================================
   recruit.php 働きやすさの理由（REASON）
   ============================================================ */
.gsh-reason {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1500px;
  margin: 0 auto;
  align-items: stretch;
}

/* 見出しブロック：1カラム分のグリッドセルとして中央寄せ */
.gsh-reason__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  /* 隣のカード高さに合わせて縦方向に引き伸ばす */
  align-self: stretch;
  margin: 0;
}

.gsh-reason__item {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 24px 32px;
  box-shadow: 0 2px 14px rgba(217, 123, 138, 0.09);
  display: flex;
  flex-direction: column;
}

.gsh-reason__label {
  display: block;
  background: linear-gradient(90deg, #f0a5b5 0%, #e8849a 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 10px 20px;
  border-radius: 9999px;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.gsh-reason__text {
  font-size: 1.8rem;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* タブレット：見出し全幅 + カード2カラム */
@media (max-width: 896px) {
  .gsh-reason {
    grid-template-columns: repeat(2, 1fr);
  }
  .gsh-reason__heading {
    grid-column: 1 / -1;
    align-self: auto;
    padding: 0 0 10px;
  }
}

/* SP：1カラム縦積み */
@media (max-width: 639px) {
  .gsh-reason {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gsh-reason__heading {
    grid-column: auto;
    padding: 0 0 8px;
  }
  .gsh-reason__item {
    padding: 20px 20px 24px;
  }
  .gsh-reason__label {
    font-size: 1.4rem;
    padding: 9px 16px;
    margin-bottom: 14px;
  }
  .gsh-reason__text {
    font-size: 1.8rem;
  }
}
[data-aos-delay="400"] { transition-delay: 0.4s; }

.container-narrow {
  max-width: 1000px;
}

:where(.heading-bar) .heading__ja {
  font-size: 1.8rem;
}

@media (max-width: 639px) {
  .btn-circle-arrow {
    font-size: 1.8rem;
  }
}

@media (max-width: 639px) {
  :where(.heading) .heading__ja {
    font-size: 1.8rem;
  }
}

/* ============================================================
   お知らせセクション（TOPICS）
   ============================================================ */
.gsh-topics {
  background: var(--color-white);
  padding: 32px 0;
  border-bottom: 1px solid #F7CDD5;
}

.gsh-topics__inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.gsh-topics__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  width: 180px;
  padding-right: 24px;
}

.gsh-topics__en {
  font-family: 'Quicksand', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-pink-deep);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.gsh-topics__ja {
  font-size: 2rem;
  color: #444444;
  font-weight: 700;
  margin-top: 6px;
}

.gsh-topics__divider {
  width: 1px;
  background: #F7CDD5;
  align-self: stretch;
  flex-shrink: 0;
  margin-right: 32px;
}

.gsh-topics__list {
  list-style: none;
  padding: 0 8px 0 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--color-pink-deep) #fde8eb;
}

.gsh-topics__list::-webkit-scrollbar {
  width: 6px;
}
.gsh-topics__list::-webkit-scrollbar-track {
  background: #fde8eb;
  border-radius: 9999px;
}
.gsh-topics__list::-webkit-scrollbar-thumb {
  background: var(--color-pink-deep);
  border-radius: 9999px;
}

.gsh-topics__item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dotted #F7CDD5;
}

.gsh-topics__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gsh-topics__date {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.6rem;
  color: var(--color-text-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.gsh-topics__text {
  font-size: 1.8rem;
  color: var(--color-text);
  line-height: 1.7;
}

@media (max-width: 639px) {
  .gsh-topics__inner {
    flex-direction: column;
    gap: 20px;
  }
  .gsh-topics__header {
    flex-direction: row;
    align-items: center;
    width: 100%;
    gap: 12px;
    padding-right: 0;
  }
  .gsh-topics__divider {
    width: 100%;
    height: 1px;
    align-self: auto;
    margin-right: 0;
    margin-bottom: 4px;
  }
  .gsh-topics__item {
    flex-direction: column;
    gap: 6px;
  }
}
