html,
body {
  overflow-x: hidden;
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



.top_all {
  padding: 50px 100px;
}

.our_text_box {
  padding: 0 8rem;
}

.philosophy-container {
  margin: 0 auto;
  color: #4a4a4a;
  line-height: 1.8;
}

.philosophy-container a {
  display: inline-block;
  margin-bottom: 20px;
  color: #666666;
  text-decoration: none;
  font-size: 14px;
}

.instagram-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}

.top-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  margin-bottom: 50px;
}

.top-heading1 {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  margin-left: 80px;
}

.instagram_top_title_wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}

.instagram_top_title_wrap .san_logo {
  margin-right: 10px;
}

.sp-only {
  display: none
}

.instagram_text {
  font-size: 30px;
  color: #4A3525;
  text-align: center;
}

.instagram_card {
  display: flex;
  justify-content: space-between;
}

.comment1 {
  color: #5EAD9F;
  font-size: 28px;
  display: flex;
  justify-content: center;
  white-space: nowrap;
}

.parent-container {
  display: flex;
  align-items: center;
  /* 垂直方向の中央揃え */
}

.main-title {
  color: #2C4A34;
  font-size: 35px;
  font-weight: bold;
  margin-top: 10px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.sub-title {
  display: block;
  font-size: 20px;
  color: #2C4A34;
  font-weight: bold;
  font-family: "Roboto Slab", serif;
}

/* 右側キャッチフレーズ */
.message-box .catchphrase {
  margin: 0;
  font-size: 35px;
  color: #2c4233;
  line-height: 1.4;
}

.sub-title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background-color: #333333;
}

.our-text-wrapper {
  font-size: 20px;
}

.highlight-text {
  color: #D36436;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 1px;
}

.highlight-text2 {
  color: #D36436;
  font-size: 25px;
  font-weight: bold;
  margin-bottom: 15px;
}

.highlight-text3 {
  color: #D36436;
  font-weight: bold;
  margin-bottom: 1px;
}

.highlight-text2::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  margin-right: 8px;
  vertical-align: middle;
  background-color: #333333;
}

.greeting-block {
  margin-top: 40px;
}

.greeting-block p {
  font-size: 20px;
}

.signature {
  text-align: right;
  margin-top: 20px;
}


.facility {
  margin: 0 auto;
  color: #4a4a4a;
  line-height: 1.6;
  margin-top: 100px;
}

.san_logo {
  height: auto;
  width: 70px;
  vertical-align: middle;
}


/* 施設リスト全体 */
.facility-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 2rem 2rem;
}

/* ==========================================
   施設情報
   ========================================== */

.facility-item {
  display: flex;
  align-items: center;
  border-radius: 8px;
  justify-content: space-between;
}

.facility-img-wrapper {
  height: auto;
  width: 400px;
  flex-shrink: 0;
  overflow: hidden;
  /* 拡大しても枠からはみ出さない */
  /* border: 1px solid #ccc; */
  border-radius: 12px;
}

.facility-img {
  width: 100%;
  height: 250px;
  object-fit: cover;

  display: block;
  transition: transform 0.5s ease;
}

.facility_box {
  display: flex;
  gap: 50px;
  align-items: center;
}

.top-main {
  margin-top: 50px;
}

/* ホバー時に写真を少し拡大（マウス操作できる端末のみ） */
@media (hover: hover) {
  .facility-img-wrapper:hover .facility-img {
    transform: scale(1.13);
  }

  .facility-img-wrapper:hover .facility-img1 {
    transform: scale(1.08);
  }
}


.disservice {
  font-size: 26px;
  color: #333333;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.disservice_item {
  display: none;
}


.heading {
  display: flex;
  gap: 100px;
  background-color: rgba(255, 255, 255, 0.6);
}

.claw {
  width: 35px;
  height: auto;
}

.facility-text {
  font-size: 21px;
  margin-bottom: 4px;
  color: #333333;
}

.facility_info_tel {
  font-size: 21px;
  color: #333333;
  text-decoration: none;
}


.facility-insta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* width: 100%; */
  flex-shrink: 0;
}


.facility-insta a {
  display: inline-block;
  text-decoration: none;
}

.insta {
  width: 150px;
  height: auto;
}

.insta_text {
  width: 150px;
  height: auto;
}

.facility-insta span {
  font-size: 10px;
  color: #666;
  margin-top: 4px;
}

.top_stack {
  line-height: 1.3;
}

/* ==========================================
  私たちが大切にしていること
   ========================================== */
.image-stack {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;

}

.heart {
  position: absolute;
  top: 58%;
  left: 70%;
  transform: translate(-50%, -50%);
  margin-top: 180px;
  width: 60%;
  height: auto;
  opacity: 0.5;
  z-index: -1;
}

.dragonfly_brown {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 120px;
  height: auto;
  z-index: 2;
  opacity: 0.25;
}

.community-voice {
  width: 100%;
  margin: 150px auto 60px;
  position: relative;
  display: grid;
  /* 背景画像とカード群を同じエリアに重ねる、または左右に分けるグリッド構成 */
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 30px;
}

.bg-image {
  opacity: 0.5;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  padding: 0 8rem;
}

.voice-scroll-container {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2カラムでカードを配置する場合 */
  gap: 40px;
  align-items: center;
  padding: 40px;
  box-sizing: border-box;
}

/* カードを包むコンテナを新しくフレックス（またはグリッド）にする場合 */
.voice-scroll-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  /* ここでカードの幅をこれまで通りに制限 */
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 20px;
}

.voice-card-01 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  width: 600px;
  height: auto;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  top: -17%;
  right: 3%;
}

.voice-card-02 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  width: 700px;
  height: auto;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  margin-top: -2%;
  top: 22%;
  left: 2%;
}

.voice-card-03 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  width: 700px;
  height: auto;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  bottom: 18%;
  right: 2%;
}

.voice-card-04 {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 16px;
  width: 700px;
  height: auto;
  box-shadow: 0 4px 17px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  bottom: -10%;
  left: 3%;

}

/* 親要素（緑色の背景ブロック） */
.badge_green {
  display: flex;
  /* 中身（画像とpタグ）を横並びにする */
  align-items: center;
  /* 上下方向（垂直方向）の中央揃え */
  justify-content: center;
  /* 横方向（水平方向）の中央揃え（必要に応じて） */
  gap: 10px;
  /* アイコンと文字の間の隙間 */
  background-color: #8dbd44;
  /* 背景色（実際のデザインに合わせて調整） */
  padding: 10px 20px;
  /* 内側の余白 */
  border-radius: 4px;
  /* 角丸（必要なら） */
}

/* 吹き出し画像 */
.speech-image {
  width: 28px;
  /* アイコンのサイズ（適宜変更してください） */
  height: auto;
  /* アスペクト比を維持 */
  flex-shrink: 0;
  /* 画像が潰れるのを防ぐ */
}

/* テキスト部分 */
.badge_voice {
  margin: 0;
  /* pタグデフォルトのマージンを打ち消し */
  color: #ffffff;
  /* 文字色 */
  font-weight: bold;
  /* 太字 */
  font-size: 24px;
  /* 文字サイズ */
  line-height: 1.4;
  /* 行高の調整 */
}

.badge_pink {
  display: flex;
  /* 中身（画像とpタグ）を横並びにする */
  align-items: center;
  /* 上下方向（垂直方向）の中央揃え */
  justify-content: center;
  /* 横方向（水平方向）の中央揃え（必要に応じて） */
  gap: 10px;
  /* アイコンと文字の間の隙間 */
  background-color: #e56b6b;
  /* 背景色（実際のデザインに合わせて調整） */
  padding: 10px 20px;
  /* 内側の余白 */
  border-radius: 4px;
  /* 角丸（必要なら） */
}

/* 吹き出し画像 */
.speech-image {
  width: 28px;
  /* アイコンのサイズ（適宜変更してください） */
  height: auto;
  /* アスペクト比を維持 */
  flex-shrink: 0;
  /* 画像が潰れるのを防ぐ */
}

/* テキスト部分 */
.badge_voice {
  margin: 0;
  /* pタグデフォルトのマージンを打ち消し */
  color: #ffffff;
  /* 文字色 */
  font-weight: bold;
  /* 太字 */
  font-size: 20px;
  /* 文字サイズ */
  line-height: 1.4;
  /* 行高の調整 */
}

.badge {
  margin-bottom: 8px;
}

.badge.pink {
  background-color: #e56b6b;
}

.badge.green {
  background-color: #8bc34a;
}

.body-text {
  font-size: 18px;
  color: #000000;
  /* margin: 0; */
  /* margin: 32px 0 16px 0; */
  margin-top: 16px;
  line-height: 1.5;
}

.speech-image {
  width: 46px;
  height: 35px;
}

.message {
  margin: 250px 20px 40px;
  color: #4a4a4a;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 140px;
  clear: both;
  background-color: rgba(255, 255, 255, 0.6);

}

.catchphrase {
  font-size: 40px;
  line-height: 1.2;
  margin-top: -10px;
}

/* ==========================================
  インスタグラム
   ========================================== */
.instagram-section {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  padding: 40px 50px;
  box-sizing: border-box;
  margin: 17rem 8rem 5rem;
}

/* Instagramは施設3枠とメッセージ1枠を2列×2行で均等に配置 */
.insta-cards-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  width: 100%;
  max-width: 900px;
  margin: 50px auto 80px;
  row-gap: 110px;
  column-gap: 100px;
  margin-top: 80px;
  margin-bottom: 80px;
}


svg {
  overflow: visible;
  /* はみ出た文字を表示許可 */
  max-width: none;
  /* 幅の自動縮小を防ぐ */
}

.curved-title-wrapper .instagram-section {
  position: relative;
  min-height: 120px;
  width: 100%;
  margin-bottom: 20px;
  z-index: 10;
}

/* 他の施設と同様に、QRコード(qr)の横にSVGテキスト(svg)を並べる共通設定にする */
.insta-cards-container>div:not(.insta-message-card) {
  display: grid;
  grid-template-areas:
    "qr svg"
    "id id"
    "img img";
  align-content: start;
  justify-items: start;
  width: 100%;
  min-width: 130px;
  margin: 0 auto;
}

/* 赤とんぼ固有の回転やスタイルを調整しつつ、配置エリアをSVGにする */
.insta-cards-container>div:not(.insta-message-card)>.insta-arched-name {
  grid-area: svg;
  /* これによりQRコードの横に配置されます */
  width: min(100%, 140px);
  height: auto;
  overflow: visible;
  /* 必要に応じて回転を調整、または削除 */
  transform: none;
}

.curved-svg .instagram-section {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 10;
}


.insta-icon {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 65px;
  height: auto;
  z-index: 2;
}

.insta-card1 {
  margin-bottom: 100px;
}

.insta-color {
  font-size: 24px;
  color: #5EAD9F;
  font-weight: bold;
  font-family: "Roboto Slab", serif;
}

.insta-id {
  position: absolute;
  width: 215px;
  height: 32px;
  z-index: 2;
}



/* Instagramサムネイル：ホバー時に少し拡大（枠からははみ出さない） */
.insta-link {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

@media (hover: hover) {
  .insta-link:hover .insta-thumb {
    transform: scale(1.08);
  }
}

.insta-footer-link-wrapper {
  text-align: center;
  margin-top: 35px;
}

.insta-footer-link {
  display: inline-block;
  color: #61b8ad;
  /* テーマに合わせたエメラルドグリーン */
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
  /* デフォルトの下線を消す */
  transition: opacity 0.3s ease;
}

/* ホバー時の効果 */
.insta-footer-link:hover {
  opacity: 0.7;
  text-decoration: underline;
  /* ホバー時に下線を表示 */
}

.Sanhāmon3 {
  height: auto;
  width: 324px;
}

/* ==========================================
  「料金表」「求人情報」「情報公開」
   ========================================== */
.info-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  margin-bottom: 100px;
  margin-top: 100px;
}

.top_heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.info-nav-card {
  position: relative;
  overflow: hidden;
}

.info-nav-logo {
  opacity: 0.35;
  width: 300px;
  height: auto;

}

/* カード（親要素）の基準設定 */
.info-nav-card {
  position: relative;
  /* 子要素の位置基準 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 「料金表」「求人情報」「情報公開」 */
.info-nav-title {
  font-size: 35px;
  font-weight: bold;
  line-height: 1.2;
  color: #2C4A34;
  /* 画像に合わせた濃い緑色 */
}

.info-nav-content {
  position: absolute;
  text-align: center;
}

/* 「PLICE LIST」「CAREERS」「INFORMATION」 */
.info-nav-sub {
  font-size: 30px;
  font-weight: 700;
  margin: 8px 0;
  line-height: 1.2;
  color: #2C4A34;
  font-family: "Roboto Slab", serif;
}

/* 「ENTER」および電話番号 */
.info-nav-btn,
.info-nav-phone {
  font-size: 35px;
  display: inline-block;
  text-decoration: none;
  color: #5EAD9F;
  font-weight: 700;
  font-family: "Roboto Slab", serif;
}

/* 「詳しく見る」 */
.info-nav-link-text {
  font-size: 20px;
  display: block;
  margin-top: 4px;
  color: #5EAD9F;
}

/* カード全体にアニメーションの準備 */
.info-nav-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

/* ホバー時にカード全体をやや拡大 */
.info-nav-card:hover {
  transform: scale(1.05);
  /* 1.05倍に拡大（拡大率を抑えたい場合は 1.03 などに変更） */
}

/* リンク化に伴う装飾の打ち消し */
a.info-nav-card {
  text-decoration: none;
  color: inherit;
  display: flex;
}

/* ENTERボタンのホバー・ポインター設定 */
.info-nav-btn {
  font-size: 35px;
  font-weight: bold;
  color: #38b6b6;
  line-height: 1.1;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* お知らせエリア全体 */
.news-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

/* タイトル見出し */
.news-container .top-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.news-container .news-logo {
  width: 40px;
  height: auto;
}

.news-container .main-title {
  font-size: 40px;
  font-weight: bold;
  color: #1a3322;
  margin: 0;
}

.news-container .sub-title {
  font-size: 18px;
  color: #1a3322;
  margin: 0;
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* ヘッダー（日付とタイトル） */
.news {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* 左寄せ */
  gap: 20px;
}

.news-date {
  font-size: 40px;
  color: #333;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  font-family: "Zen Maru Gothic", sans-serif;
}

.news-title {
  font-size: 40px;
  font-weight: bold;
  color: #1a3322;
  margin: 0;
  flex: 1;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* 本文（説明文） */
.news-excerpt {
  font-size: 16px;
  color: #333;
  margin: 0;
  line-height: 1.6;
}

/* ホバーで少し透過 */
.news-link:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

/* お知らせ全体の囲み */
.news_section {
  margin: 24px 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 0 8rem;
}

/* 各記事カード（全体がクリック可能） */
a.news-item {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 24px;
  padding: 12px 12px 12px 0;
  border-radius: 8px;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* ホバー時に少し背景色をつけてリンク感を出す */
a.news-item:hover {
  background-color: rgba(0, 0, 0, 0.03);
  opacity: 0.8;
}

/* 1件あたりの枠 */
.news-item {
  margin-bottom: 20px;
}

/* 日付とタイトルを横並びにするヘッダー */
.news-header {
  display: flex;
  align-items: baseline;
  /* テキストのベースライン（下端）を揃える */
  gap: 20px;
  /* 日付とタイトルの間の幅 */
  margin-bottom: 6px;
  width: 100%;
}

/* タイトル（WEBサイト新規公開） */
.news-title {
  font-size: 45px;
  font-weight: bold;
  color: #1a3322;
  margin: 0;
}

/* 本文テキスト（（株）サンハーモニー...） */
.news-text {
  font-size: 28px;
  color: #333;
  margin: 0 0 30px 0;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* ==========================================
   全体コンテナ（カード背景）
   ========================================== */
.contact-card {
  background-color: #fdf6e9;
  /* 薄いクリーム色の背景 */
  border-radius: 24px;
  padding: 40px;
  margin: 0 auto;
  box-sizing: border-box;
  color: #2b3e26;
  height: auto;
  margin-top: 150px;
  max-width: 1280px;
}

/* ==========================================
   ヘッダー（上部キャッチフレーズ）
   ========================================== */
.contact-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 35px;
}

.contact-header .line {
  flex: 1;
  max-width: 140px;
  height: 2px;
  background-color: #5EAD9F;
}

.contact-header .badge {
  border: 2.5px solid #5EAD9F;
  background-color: #fdf6e9;
  color: #2b3e26;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 30px;
  border-radius: 50px;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================
   ボディ領域（左右2列レイアウト）
   ========================================== */
.contact-body {
  display: flex;
  gap: 40px;
  position: relative;
}

/* 中央の縦区切り線 */
.contact-body::before {
  content: "";
  position: absolute;
  top: 40px;
  bottom: 0;
  left: 50%;
  width: 1px;
  background-color: #d2c8b8;
  transform: translateX(-50%);
}

.contact-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ==========================================
   見出し・アイコン領域
   ========================================== */

.col-title-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 25px;
}

.icon-circle {
  width: 54px;
  height: 54px;
  background-color: #20422d;
  /* ダークグリーン */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 12px;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
}

.col-title {
  font-size: 25px;
  font-weight: bold;
  margin: 0;
  position: relative;
  padding-bottom: 6px;
  text-align: center;
  display: inline-block;
}

.col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background-color: #64a18e;
}

/* ==========================================
   左側：電話情報（各店舗）
   ========================================== */
/* 最後の店舗だけ下線を消す */


.facility-inner {
  margin: 0 auto;
  width: fit-content;
}

.facility-info:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
  font-size: 20px;
}

.facility-name {
  display: flex;
  justify-content: center;
  width: fit-content;
  background-color: #e6cbac;
  /* ベージュ系タグ */
  color: #4a3b2c;
  font-size: 20px;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.facility-name-item {
  display: none;
}

.time-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.time-info .label {
  background-color: #e6cbac;
  color: #4a3b2c;
  font-size: 20px;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: "Zen Maru Gothic", sans-serif;
}

.time-info .text {
  font-size: 23px;
  font-weight: bold;
  font-family: "Zen Maru Gothic", sans-serif;
}

.top_tel_wrap {
  display: flex;
  justify-content: center;
}

.tel-link {
  display: inline-block;
  /* font-size: 50px; */
  font-weight: 800;
  color: #20422d;
  text-decoration: none;
  line-height: 1.2;
  font-family: "ROboto Slab", sans-serif;
}

.tel-label {
  font-size: 35px;
  margin-right: 4px;
  font-family: "ROboto Slab", sans-serif;
}

.top_tel_label_item {
  font-size: 25px;
  margin-right: 4px;
  font-family: "ROboto Slab", sans-serif;

}

/* ==========================================
   右側：メール情報
   ========================================== */
.contact-mail {
  display: flex;
  flex-direction: column;
}

.mail_all {
  justify-content: space-between;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.mail-box {
  border-radius: 16px;
  text-align: center;
  align-items: center;
  flex: 1;
  font-size: 40px;

}

.mail-address {
  font-size: 30px;
  font-weight: 800;
  color: #2C4A34;
  text-decoration: none;
  line-height: 1.4;
  word-break: break-all;
  font-family: "ROboto Slab", sans-serif;
}

/* ホバー時の挙動 */
.tel-link:hover,
.mail-address:hover {
  opacity: 0.7;
}

/* 問い合わせカード内部の店舗のみ下線を引く */
.contact-card .facility-info {
  margin-bottom: 24px;
  padding-bottom: 16px;
}

.contact-card .facility-info1 {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #64a18e;
}

/* 問い合わせカード内の最後の店舗だけ下線を消す */
.contact-card .facility-info:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 丸枠アイコン領域 */
.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* 丸枠内の画像サイズ調整 */
.icon-circle img,
.icon-circle .icon-img {
  width: 70px;
  /* アイコンの大きさを調整 */
  height: auto;
  object-fit: contain;
  display: block;
}

.mail_logo {
  height: auto;
  margin: 40px auto;

}

/* 上下左右の位置を絶対固定 */
.san_logo1 {
  width: auto;
  height: auto;
  display: block;
  max-width: 200px;
}

.sp-only {
  display: none;
}

@media screen and (min-width:1440px) {

  .top_all {
    padding: 50px 200px;
  }

  .facility-list {
    padding: 0 8rem;
  }


  .instagram_card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* 上端を揃える */
    max-width: 1100px;
    margin: 0 auto;
  }

  .instagram_sub {
    margin-top: 10px;
    /* 見出しの高さに合わせて微調整 */
  }

  /* 2. Instagramカード（2行×2列）の配置調整 */
  .insta-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 均等に2列並べる */
    gap: 60px 150px;
    /* 上下60px、左右80pxの余白 */
    max-width: 1050px;
    margin: 60px auto 0;
  }

  /* 各カード内のレイアウト固定 */
  .insta-cards-container>div:not(.insta-message-card) {
    display: grid;
    grid-template-areas:
      "qr svg"
      "id id"
      "img img";
    grid-template-columns: auto 1fr;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  /* 「えーる」（1番目のカード）のSVG位置微調整 */
  .insta-cards-container>div:nth-child(1)>svg {
    margin-top: -5px;
    /* 必要に応じて数値を調整してください（例: -2px 〜 -10px） */
  }

  /* 「えーる宇佐」（2番目のカード）のSVG位置微調整 */
  .insta-cards-container>div:nth-child(2)>svg {
    margin-bottom: 0px;
    /* 余白をなくすため、値を 0 に変更または削除します */
    height: auto;
  }

  .insta-cards-container>div:not(.insta-message-card)>a {
    grid-area: qr;
  }

  .insta-cards-container>div:nth-child(2)>a>.insta-icon1 {
    width: 130px !important;
    max-width: 130px !important;
    height: auto !important;
  }


  .insta-color {
    grid-area: id;
    font-size: 26px;
    margin: 8px 0;
  }


}

@media screen and (max-width:1380px) {

  .disservice {
    font-size: 23px;
  }

  .facility-text {
    font-size: 20px;
  }

  .facility-img-wrapper {
    width: 350px;
  }

  .voice-card-02 {
    top: 25%;
  }

  .voice-card-03 {
    bottom: 12%;
  }

  .voice-card-04 {
    bottom: -19%;
  }


}



@media screen and (max-width:1201px) {

  .sub-title {
    font-size: 32px;
  }



  .top-catch {
    margin-bottom: 0;
  }

  .bg-image {
    height: 700px;
  }

  .info-nav-title {
    font-size: 38px;
  }

  .info-nav-sub {
    font-size: 30px;
  }

  .voice-card-01,
  .voice-card-02,
  .voice-card-03,
  .voice-card-04 {
    left: 1%;
    width: 1070px;
    margin-top: 15px;
  }

  .voice-card-01 {
    top: -20%;
  }

  .voice-card-02 {
    top: 14%;
  }

}



@media screen and (min-width: 1101px) {
  .contact-card .facility-info {
    border-bottom: 2px solid #64a18e;
    /* 1100pxより大きい時だけ線を表示する */
  }

}

@media screen and (max-width: 1100px) {

  .top_all {
    padding: 50px 50px;
  }


  /* アイコンと文字列の間隔を空ける */
  .icon-circle {
    margin-bottom: 35px;
    /* お好みに合わせて 30px〜45px で調整してください */
  }


  .disservice {
    font-size: 28px;
  }

  .facility-text {
    font-size: 23px;
  }

  .body-text {
    font-size: 18px;
  }

  .badge {
    font-size: 20px;
  }

  .highlight_text {
    font-size: 30px;
  }

  .insta-cards-container {
    column-gap: 30px;
  }


  .facility-insta {
    display: none;
  }



  .info-nav-container {
    gap: 90px;
  }

  .facility-info1 {
    display: none;
  }

  .info-nav-btn,
  .info-nav-phone {
    font-size: 40px;
  }

  .mail-box {
    background: none;
    /* 背景の指定をすべてリセット・削除する */
    /* または background-color: transparent; 背景を透明にする */
  }


  .time-info .label {
    font-size: 20px;
  }

  .time-info .text {
    font-size: 28px;
  }

}

@media screen and (max-width:1077px) {
  .sub-title {
    font-size: 30px;
  }

  .our_text_box {
    padding: 2rem 2rem;
  }

  .top-catch {
    margin-bottom: 0;
  }

  .bg-image {
    height: 700px;
  }

  .curved-svg {
    right: 60px;
  }

  .voice-card-01,
  .voice-card-02,
  .voice-card-03,
  .voice-card-04 {
    left: 1%;
    width: 100%;
    margin-top: 15px;
  }

  .instagram_text {
    font-size: 30px;
  }

  .main-title {
    font-size: 35px;
  }

  .info-nav-btn,
  .info-nav-phone {
    font-size: 35px;
  }

  /* 親要素を折り返し可能にし、間隔を調整 */
  .info-nav-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  /* 1つ目のカード（料金表）：上中央に1つだけ配置 */
  .info-nav-card:nth-child(1) {
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
  }

  /* 2つ目（求人情報）と 3つ目（情報公開）：下に2つ並べる */
  .info-nav-card:nth-child(2),
  .info-nav-card:nth-child(3) {
    /* 幅を半分に */
    display: flex;
    justify-content: center;
  }

  /* 既存の個別コードの幅（left: 10%）をリセット */
  .info-nav-card:nth-child(3) .info-nav-content {
    left: auto;
  }

  /* 背景画像のサイズを768px用に調整 */
  .info-nav-bg {
    width: 300px;
    /* 画面に合わせて調整してください */
    height: auto;
  }

  /* 文字サイズを画面に合わせて調整 */
  .info-nav-title {
    font-size: 36px;
  }

  .info-nav-sub {
    font-size: 27 px;

  }

  .info-nav-btn {
    font-size: 20px;
  }

  .info-nav-btn,
  .info-nav-phone {
    font-size: 35px;
    /* 電話番号が収まるよう少し小さめに */
  }

  .info-nav-link-text {
    font-size: 20px;
  }

  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .top-catch {
    line-height: 1.4;
    /* 行間を詰める */
    font-size: 25px;
  }

  /* 本文テキスト（（株）サンハーモニー...） */
  .news-text {
    font-size: 28px;
    color: #333;
    margin: 0 0 30px 0;
    /* 下に余白を設けて次の記事と離す */
    padding: 0;
  }

  /* 写真の枠・コンテナ部分 */
  .facility-img-wrapper {

    border-radius: 12px;
    border: none;
    overflow: hidden;
    flex-shrink: 0;
  }

  .col-title-area {
    margin-bottom: 30px;
  }

  .news-title {
    font-size: 35px;
  }

  .top_heading {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .news-text {
    font-size: 32px;
    color: #333;
  }

  /* 3つのカードを2列並び（1つは下に落ちる）に調整 */
  .insta-card {
    flex: 0 0 calc(50% - 20px);
    max-width: 400px;
    /* カードが広がりすぎないよう制御 */
  }

  .insta-footer-link {
    position: absolute;
    text-align: center;
    width: auto;
    /* 下線を消す設定 */
    text-decoration: none;
    /* 指定の文字色 */
    color: #5EAD9F;
  }

  .facility-name-item {
    display: block;
  }

  /* ==========================================
   ヘッダー（上部キャッチフレーズ）
   ========================================== */
  .contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
  }

  .contact-header .line {
    flex: 1;
    max-width: 140px;
    height: 2px;
    background-color: #64a18e;
  }

  .contact-header .badge {
    border: 2.5px solid #5EAD9F;
    background-color: #fdf6e9;
    color: #2b3e26;
    font-size: 18px;
    font-weight: bold;
    padding: 8px 30px;
    border-radius: 50px;
    text-align: center;
    white-space: nowrap;
  }

  /* ==========================================
   ボディ領域（左右2列レイアウト）
   ========================================== */
  .contact-body {
    display: flex;
    gap: 40px;
    position: relative;
  }

  /* 中央の縦区切り線 */
  .contact-body::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 50%;
    width: 1px;
    background-color: #d2c8b8;
    transform: translateX(-50%);
  }

  .contact-col {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* ========================================== */
  見出し・アイコン領域

  /* ========================================== */
  .col-title-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
  }

  .icon-circle {
    width: 54px;
    height: 54px;
    background-color: #20422d;
    /* ダークグリーン */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 12px;
  }

  .icon-circle svg {
    width: 26px;
    height: 26px;
  }

  .col-title {
    font-weight: bold;
    margin: 0;
    position: relative;
    padding-bottom: 6px;
    text-align: center;
    display: inline-block;
  }

  .col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: #64a18e;
  }

  /* ==========================================
   左側：電話情報（各店舗）
   ========================================== */

  /* 最後の店舗だけ下線を消す */
  .facility-info:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  /* 丸枠アイコン領域 */
  .icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }

  /* 丸枠内の画像サイズ調整 */
  .icon-circle img,
  .icon-circle .icon-img {
    width: 60px;
    /* アイコンの大きさを調整 */
    height: auto;
    object-fit: contain;
    display: block;
  }


  .time-info .text {
    font-size: 24px;
  }


}

@media screen and (max-width: 1000px) {

  /* 画像本体 */
  .facility-img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
  }

  .facility-text,
  .facility_info_tel {
    font-size: 20px;
  }

  .tel-label {
    font-size: 32px;
  }


  .comment1 {
    font-size: 25px;
  }

  .time-info .text {
    font-size: 21px;
  }

  .col-title {
    font-size: 21px;
  }
}

@media screen and (max-width: 900px) {
  .sp-only {
    display: inline;
    /* スマホ用改行を有効化 */
  }

  .facility-item {
    width: 100%;
    justify-content: center;
  }


  .facility_box {
    flex-direction: column;
    align-items: center;
    /* 垂直方向の中央揃え */
    justify-content: flex-start;
    gap: 40px;
    /* 画像とテキストの間隔 */
  }

  /* 横並び時の画像ラッパー・画像サイズ調整（お好みで調整してください） */
  .facility-img-wrapper {
    flex: 0 0 45%;
    /* 画像側の幅の目安 */
    max-width: 500px;
  }

  /* 横並び時のテキスト情報エリア */
  .facility-info {
    flex: 1;
    /* 残りの幅を埋める */
  }

  /* 施設名（見出し） */
  .disservice {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 左寄せ（中央にしたい場合は center） */
    gap: 8px;
    /* アイコンと文字の間隔 */
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
  }

  /* 画像ラッパー */
  .facility-img-wrapper {
    width: 100%;
    margin-bottom: 0;
    /* flexのgapで調整するため0に */
  }

  /* 画像本体 */
  .facility-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
  }

  /* テキスト情報エリア */
  .facility-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* 行間の調整 */
    width: 100%;
  }

  .facility-text,
  .facility_info_tel {
    font-size: 20px;
    line-height: 1.6;
    color: #333;
    margin: 0;
  }

  /* 電話番号リンク */
  .facility_info_tel {
    color: inherit;
    text-decoration: none;
  }

  .facility_info_tel:hover {
    text-decoration: underline;
  }

  /* クラス名のハイフン・アンダーバーの微調整（HTML側と統一） */
  .facility_box {
    display: flex;
  }

  .instagram_card {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* タイトル部分 */
  .instagram-heading {
    margin-bottom: 30px;
    /* タイトルとテキストの間隔 */
  }

  /* テキストを配置するエリア */
  .instagram_sub {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .instagram_text {
    font-size: 28px;
  }

  .instagram_top_title_wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: none;
  }

  .instagram-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  /* ヘッダー部分 */
  .top-heading {
    display: flex;
    margin-bottom: 24px;
  }

  /* 3つのカードをまとめるコンテナ */
  .insta-cards-container {
    align-items: center;
    gap: 48px;
    /* 各施設間の余白 */
    width: 100%;
  }

  /* QRコード（aタグ）と SVGテキストを包むための疑似レイアウト */
  .insta-cards-container>div {
    /* QRとSVGを横並びにするレイアウト設定 */
    display: grid;
    justify-content: center;
    align-items: center;
  }

  /* 1. QRコードエリア */
  .insta-cards-container>div>a {
    grid-area: qr;
    justify-self: end;
  }

  .insta-icon1 {
    width: 110px;
    /* QRコードのサイズ */
    height: 110px;
    object-fit: contain;
    display: block;
  }

  /* 2. SVGカーブテキストエリア */
  .insta-cards-container>div>svg {
    grid-area: svg;
    justify-self: start;
    width: 140px;
    /* テキスト表示領域の幅調整 */
    height: auto;
    max-height: 100px;
  }

  /* 3. アカウント名 (@DEISABISUYELL など) */
  .insta-color {
    grid-area: id;
    color: #559e83;
    /* 落ち着いたグリーン */
    text-align: left;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin: 8px 0 14px 0;
    font-family: "Zen Maru Gothic", sans-serif;
  }

  /* 4. メイン写真 */
  .insta-thumb {
    grid-area: img;
    width: 210px;
    /* 写真の幅 */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    /* ほんのり影をつける */
    display: block;
    margin: 0 auto;
  }

  .comment1 {
    color: #5EAD9F;
    font-size: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .time-info .text {
    font-size: 17px;
  }


  .contact-card {
    padding: 40px 20px;
  }

  .top_tel_label_item {
    font-size: 22px;

  }

  .mail_address {
    font-size: 30px;
  }

  .news_section {
    padding: 0;
  }

  .comment1 {
    font-size: 22px;
  }


}

@media screen and (max-width:800px) {

  .info-nav-btn,
  .info-nav-phone {
    font-size: 35px;
  }

  .time-info .text {
    font-size: 16px;
  }


}

@media screen and (min-width: 769px) {

  /* 769px以上（PCサイズ）ではスマホ用を完全に消す */
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
    /* またはflexなど元のレイアウトに合わせて調整 */
  }
}

/* 768px以下：CSSのstickyでなめらかに追従・重なるようにする */
@media screen and (max-width: 768px) {
  .disservice {
    grid-area: title;
  }

  .sp-only {
    display: inline;
  }


  /* セクション全体の配置 */
  .community-voice {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 40px auto 80px auto;
    height: auto;
  }

  /* 背景写真 */
  .bg-image {
    position: relative;
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    opacity: 0.75;
    border-radius: 12px;
    margin-bottom: 20px;
    z-index: 1;
  }

  /* コンテナ */
  .voice-scroll-container {
    position: relative;
    display: block;
    padding: 0 10px 40px 10px;
    z-index: 2;
  }

  /* 各カード：CSSのstickyでなめらかに追従・重なるようにする */
  .community-voice .voice-card-01,
  .community-voice .voice-card-02,
  .community-voice .voice-card-03,
  .community-voice .voice-card-04 {
    position: sticky !important;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px 16px;
    width: 100%;
    max-width: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    margin-bottom: 24px;
    transform: none !important;
    will-change: transform;
  }

  /* 画面上部から固定される位置を少しずつずらしてキレイに重なりながら流れるようにする */
  .community-voice .voice-card-01 {
    top: 90px;
    z-index: 1;
  }

  .community-voice .voice-card-02 {
    top: 120px;
    z-index: 2;
  }

  .community-voice .voice-card-03 {
    top: 150px;
    z-index: 3;
  }

  .community-voice .voice-card-04 {
    top: 180px;
    z-index: 4;
    margin-bottom: 0;
  }

  /* バッジ等のレイアウト安定化 */
  .badge_green,
  .badge_pink {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 52px;
  }

  .badge_green {
    background-color: #8dbd44;
  }

  .badge_pink {
    background-color: #e56b6b;
  }

  .philosophy-layout-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .philosophy-left-col {
    display: none;
  }

  .contact-header .badge {
    font-size: 16px;
    padding: 8px 20px;
  }

  .facility-name-item {
    display: none;
  }

  .instagram-section {
    margin-top: 10px;
  }
}

@media screen and (max-width:600px) {

  .top_all {
    padding: 20px;
  }

  .highlight-text2 {
    font-size: 20px;
  }

  .instagram_text {
    font-size: 23px;
  }

  .highlight-text {
    font-size: 20px;
  }

  .san_logo {
    width: 47px;
  }



  .sub-title {
    font-size: 18px;
  }

  .our-text-wrapper p,
  .greeting-block p {
    font-size: 16px;
  }

  .contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
  }

  .disservice {
    font-size: 23px;
  }

}

/* -----------------------------------
   480px 以下の指定（一般的なスマホ）
----------------------------------- */
@media screen and (max-width: 480px) {

  .top-heading {
    gap: 1.5rem;
    margin: 0;
  }

  .highlight-text2 {
    font-size: 1.7rem;
  }

  .instagram_text {
    font-size: 20px;
    margin: 0;
  }

  .highlight-text {
    font-size: 20px;
  }

  .our-text-wrapper p,
  .greeting-block p {
    font-size: 14px;
  }

  .highlight-text {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }


  .insta-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    /* 各施設間の余白 */
    width: 100%;
    margin-top: 30px;
  }

  .info-nav-container {
    flex-direction: column;
    /* 縦方向の並びにする */
    align-items: center;
    gap: 30px;
    /* カード同士の縦の余白 */
  }

  /* すべてのカードを幅100%にして縦に1列で並べる */
  .info-nav-card:nth-child(1),
  .info-nav-card:nth-child(2),
  .info-nav-card:nth-child(3) {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    justify-content: center;
  }


  .info-nav-title {
    font-size: 30px;
  }

  .info-nav-sub {
    font-size: 27px;
  }

  .info-nav-btn {
    font-size: 35px;
  }

  .info-nav-phone {
    font-size: 35 px;
  }

  .info-nav-link-text {
    font-size: 20px;
  }

  .col-title {
    font-size: 23px;
  }

  .main-title {
    font-size: 21px;
  }

  .news-date {
    font-size: 25px;
  }

  .news-title {
    font-size: 25px;
  }

  .news {
    display: block;
  }

  .news-text {
    font-size: 18px;
  }

  .contact-header .line {
    flex: 1;
    max-width: 100px;

    background-color: #5EAD9F;
  }

  .disservice {
    font-size: 1.9rem;
    align-items: baseline;
  }

  .disservice_item {
    display: block;
  }

  .facility-text,
  .facility_info_tel {
    font-size: 18px;
  }

  .facility_box {
    grid-template-areas: none;
    gap: 20px;
  }

  .top_tel_label_item {
    font-size: 20px;
  }

  .comment1 {
    font-size: 24;
  }

  .badge_voice {
    font-size: 18px;
  }

  .body-text {
    font-size: 16px;
  }

  .bg-image {
    padding: 0 1rem;
  }

  .instagram-section {
    margin: 5rem 1rem 5rem;
  }

  /* 480px以下でプライバシーポリシーと問い合わせの前後にある棒を非表示にする */
  .privacy-page__heading span,
  .contact-header .line {
    display: none;
  }

  .mail_logo {
    margin: 10px auto;
  }

  .info-nav-bg {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .info-nav-logo {
    width: 220px;
  }
}

/* -----------------------------------
   390px 以下の指定（iPhoneなどの小画面スマホ）
----------------------------------- */
@media screen and (max-width: 390px) {
  .col-title {
    font-size: 21px;
  }
}

/* 768px以下：JSのスクロール量で下のカードを上のカードに重ねる */
@media screen and (max-width: 768px) {

  .community-voice .voice-card-01,
  .community-voice .voice-card-02,
  .community-voice .voice-card-03,
  .community-voice .voice-card-04 {
    position: relative !important;
    top: auto !important;
    margin-bottom: clamp(32px, 5vh, 56px) !important;
    transform: translate3d(0, var(--voice-card-shift, 0px), 0);
    will-change: transform;
  }

  .community-voice .voice-card-01 {
    z-index: 1 !important;
  }

  .community-voice .voice-card-02 {
    z-index: 2 !important;
  }

  .community-voice .voice-card-03 {
    z-index: 3 !important;
  }

  .community-voice .voice-card-04 {
    margin-bottom: 0 !important;
    z-index: 4 !important;
  }
}

/* プライバシーポリシー（トップページのお問い合わせ下） */
.privacy-page {
  margin: 64px auto 80px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 24px;
  max-width: none;
  color: #294c39;
  background: #fdf6e9;
  font-family: "Zen Maru Gothic", sans-serif;
  max-width: 1280px;
}

.privacy-page__heading {
  display: flex;
  /* Flexboxを使って中央揃え・均等配置にする */
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 42px;
  text-align: center;
}

.privacy-page__heading span {
  height: 2px;
  max-width: 140px;
  flex: 1;
  background: #5eada0;
}

.privacy-page__heading h2 {
  min-width: min(420px, 65vw);
  margin: 0;
  padding: 12px 30px;
  border: 2px solid #5eada0;
  border-radius: 999px;
  color: #294c39;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.4;
}

.privacy-page__content {
  font-size: 15px;
  line-height: 1.9;
}

.privacy-page__content p {
  margin: 0;
}

.privacy-page__intro {
  margin-bottom: 28px !important;
}

.privacy-page__section {
  margin: 0 0 22px;
}

.privacy-page__section h3,
.privacy-page__contact h3 {
  margin: 0 0 8px;
  color: #294c39;
  font-size: 16px;
  font-weight: 700;
}

.privacy-page__contact {
  margin-top: 28px;
}

.privacy-page__contact address {
  margin-top: 10px;
  font-style: normal;
}

.privacy-page__contact a {
  color: inherit;
  text-decoration: none;
}

.privacy-page__contact a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .privacy-page {
    width: auto;
    margin: 36px 14px 48px;
    padding: 26px 20px 34px;
  }

  .privacy-page {
    border-radius: 18px;
  }

  .privacy-page__heading {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 28px;
  }

  .privacy-page__heading h2 {
    min-width: 0;
    padding: 9px 17px;
    white-space: nowrap;
  }

  .privacy-page__content {
    font-size: 13px;
    line-height: 1.8;
  }

  .privacy-page__section {
    margin-bottom: 18px;
  }

  .privacy-page__section h3,
  .privacy-page__contact h3 {
    font-size: 14px;
  }
}


/* 768px以下では電話・メールの問い合わせカードを非表示 */
@media screen and (max-width: 768px) {
  .contact-wrapper-sp .contact-card-sp {
    display: none !important;
  }
}

/* 768px以下：問い合わせ見出しとポリシーパネルの左右幅をそろえる */
@media screen and (max-width: 768px) {
  .contact-wrapper-sp {
    display: block !important;
    width: 100%;
  }

  .contact-wrapper-sp .contact-header,
  .privacy-page {
    width: 100%;
  }

  .privacy-page {
    margin-left: 0;
    margin-right: 0;
  }
}

/* PCでは問い合わせカード（幅90%）とポリシーパネルを同じ幅にする */
@media screen and (min-width: 769px) {
  .privacy-page {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (min-width: 601px) and (max-width: 768px) {


  .privacy-page__heading {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 10px;
  }
}


/* 759px以下では見出しの文字・余白も縮めて横はみ出しを防ぐ */
@media screen and (max-width: 759px) {

  .privacy-page__heading h2 {
    padding-right: clamp(10px, 2vw, 17px);
    padding-left: clamp(10px, 2vw, 17px);
  }
}



/* 768px以下ではPC版問い合わせカードを1カラムで表示 */
@media screen and (max-width: 768px) {
  #contact.contact-card.pc-only {
    display: block !important;
    width: 100%;
    margin: 0 auto;
    padding: 24px 18px;
  }

  .contact-wrapper-sp {
    display: none !important;
  }

  #contact .contact-header {
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }

  #contact .contact-body {
    flex-direction: column;
    gap: 24px;
  }

  #contact .contact-body::before {
    display: none;
  }

  #contact .contact-col {
    width: 100%;
    min-width: 0;
  }

  #contact .facility-info {
    width: 100%;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  #contact .facility-name {
    font-size: 16px;
    text-align: center;
  }

  .facility-inner {
    margin: 0;
  }

  .facility-wrapper {
    margin: 0 auto;
    margin-bottom: 30px;
  }

  #contact .time-info {
    flex-wrap: wrap;
    gap: 6px;
  }


  #contact .mail_all {
    flex-wrap: wrap;
    justify-content: center;
  }

  .mail_address {
    font-size: 23px;
  }

  .san_logo1 {
    width: 180px;
    padding-bottom: 30px;
  }


}

@media screen and (max-width: 768px) {


  .insta-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    justify-items: stretch;
    width: 100%;
    max-width: 1200px;
    gap: 80px;
    margin-top: 30px;
    margin-bottom: 80px;
  }

  .comment1 {
    font-size: 21px;
  }

  .top-heading {
    margin-top: 20px;
  }
}

/* 481〜729px：理念見出しを画面幅に合わせて縮小 */
@media screen and (min-width: 481px) and (max-width: 729px) {
  .philosophy-content>.top-heading .main-title {
    font-size: clamp(20px, 3.8vw, 28px);
    line-height: 1.25;
  }
}

/* ポリシー本文・各条文：スマホ16pxからPC20pxへ可変 */
.privacy-page__content,
.privacy-page__section h3,
.privacy-page__contact h3 {
  font-size: clamp(16px, calc(10px + 1.3vw), 20px);
}

/* 問い合わせカード内の電話番号を左寄せ */
#contact .top_tel_wrap {
  justify-content: flex-start;
  width: 100%;
}

#contact .tel-label {
  text-align: left;
}

/* 481〜729px：ページ内の各セクション見出しを同じサイズに揃える */
@media screen and (min-width: 481px) and (max-width: 729px) {

  .main-title,
  .news-container .main-title {
    font-size: clamp(20px, 3.8vw, 28px);
    line-height: 1.25;
  }
}

.insta-cards-container>div:not(.insta-message-card) {
  grid-template-areas:
    "qr svg"
    "id id"
    "img img";
  align-content: start;
  justify-items: start;
  width: 100%;
  min-width: 130px;
  margin: 0 auto;
}

.insta-cards-container>div:not(.insta-message-card)>a {
  grid-area: qr;
  justify-self: center;
}

.insta-cards-container>div:not(.insta-message-card)>a .insta-icon1 {
  width: 135px;
  height: auto;
}

.insta-cards-container>div:not(.insta-message-card)>svg {
  grid-area: svg;
  justify-self: start;
  width: (100% 140px);
  /* 文字が写真の右端あたりまでに収まるよう幅を調整 */
  height: auto;
  overflow: visible;
}

.insta-cards-container>.insta-card-third>.insta-arched-name {
  grid-area: svg;
  width: min(100%, 180px);
  height: auto;
  overflow: visible;
  transform: rotate(5deg);
}

.insta-cards-container>div:not(.insta-message-card)>.insta-color {
  grid-area: id;
  width: 100%;
  margin: 4px 0 10px;
  text-align: left;
  /* 左側に揃える場合 */
  color: #5EAD9F;
  font-weight: bold;
  font-family: "Roboto Slab", serif;
}

.insta-cards-container>div:not(.insta-message-card)>.insta-thumb {
  grid-area: img;
  width: 100%;
  max-width: 310px;
  height: auto;
  margin: 0;
  border-radius: 4px;
  object-fit: cover;
}

.insta-cards-container>.insta-message-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  container-type: inline-size;
}

/* お知らせの最後の下線から問い合わせカードまでを従来の2倍空ける */
.facility>.news_section {
  margin-bottom: 48px;
}

/* ポリシー見出しを問い合わせ見出しと同じカプセルデザインに統一 */
.privacy-page__heading h2 {
  border-radius: 50px;
  background-color: #fdf6e9;
  color: #2b3e26;
  font-size: 18px;
  font-weight: bold;
  line-height: normal;
  padding: 8px 30px;
  text-align: center;
  white-space: nowrap;
}