/* =========================================================
   サイト全体の可読性（緑の見出しの色・サイズは変更しない）
   ========================================================= */
body { line-height: 1.9; letter-spacing: .04em; }

/* 本文 */
p { line-height: 1.95; margin-bottom: 1.35em; }
p:last-child { margin-bottom: 0; }
li { line-height: 1.9; }

/* 見出し（色・サイズはそのまま、行間だけ読みやすく） */
h2 { line-height: 1.45; }
h3 { line-height: 1.7; }
.sub_title h2 { line-height: 1.5; }

/* 表（会社概要・沿革・店舗情報・採用・お問い合わせ） */
table { border-collapse: collapse; }
th, td { line-height: 1.85; }
#company th, #company td { padding: 17px 16px; }
#office th, #office td,
#recruit th, #recruit td,
#contact th, #contact td { padding: 14px 14px; }

/* リンクの視認性 */
a { transition: color .3s ease, opacity .3s ease; }

/* 本文の行長を制限して読みやすく（全幅カラムのテキストのみ） */
.container .row > [class*="col-lg-12"] > h3,
.container .row > [class*="col-lg-12"] > p {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

/* 3枚並びの写真は高さを揃える（ボタン等には影響しない .al-c 内の画像のみ） */
[class*="col-lg-4"].al-c > img.w100 {
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
}
[class*="col-lg-6"].al-c > img.w100 { border-radius: 12px; }

/* フッター */
#footer, .copyright { line-height: 1.7; }

@media only screen and (max-width: 767px) {
  body { line-height: 1.85; }
  p { line-height: 1.9; }
  #company th, #company td { padding: 13px 12px; }
}

/* =========================================================
   企業情報ページ
   ========================================================= */
/* 余白の詰め（テーマ既定は見出し上下50pxで空きすぎるため） */
.co-page .sub_title h2 { margin: 0 0 30px; }
.co-page .row.p100-t { padding-top: 62px; }
.co-page .row.p50-t { padding-top: 44px; }
.co-page .row.p100-b { padding-bottom: 62px; }

/* テキスト＋写真の2カラムを上下中央で揃える */
.co-col { display: flex; flex-direction: column; justify-content: center; }
.co-page h3 { line-height: 1.7; margin-bottom: 18px; }
.co-page p { font-size: .93rem; line-height: 1.95; letter-spacing: .04em; }

/* 写真（やわらかい角丸＋ふんわり影） */
.co-photo {
  border-radius: 24px; overflow: hidden; background: #fef5f5;
}
.co-photo img { width: 100%; height: auto; display: block; }
.co-caption {
  display: inline-block; text-align: center; font-size: .8rem; color: #d96f86;
  background: #fef5f5; border-radius: 100vh; padding: 6px 20px;
  margin: 16px auto 0 !important; letter-spacing: .08em; font-weight: 700;
}
.co-col .co-caption { align-self: center; }

/* カード（会社概要・沿革・アクセス情報） */
.co-panel {
  background: #fff; border-radius: 26px; padding: 34px 38px;
}
.co-panel--sm { padding: 26px 28px; }
/* 白背景のセクションでは淡いピンクのカードに */
.co-page .section-bg-left .co-panel { background: #fdf6f6; }
.co-panel table { margin: 0; }
.co-panel table tr:last-child th,
.co-panel table tr:last-child td { border-bottom: 0 !important; }
.co-page #company th { color: #ef858c; }
.co-page #company th, .co-page #company td { border-bottom: 1px solid #f4ecec !important; }
.co-panel h3 { text-align: left; margin-bottom: 14px; }

/* 社長あいさつ（写真＋本文をひとつのカードに） */
.co-greeting {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
  padding: 40px 44px;
}
.co-greeting-photo .co-photo { border-radius: 20px; }
.co-greeting-body h3 {
  text-align: left; font-size: 1.3rem; color: #ef858c;
  margin: 0 0 22px; padding-bottom: 18px;
  border-bottom: 1px solid #f4e4e4;
  line-height: 1.7; letter-spacing: .05em;
}
.co-greeting-body p { margin: 0 0 1.1em; }
.co-sign {
  display: flex; align-items: baseline; justify-content: flex-end; gap: 14px;
  margin: 24px 0 0 !important; padding-top: 18px; border-top: 1px solid #f4e4e4;
}
.co-sign-role { font-size: .78rem; color: #a29b9a; letter-spacing: .12em; }
.co-sign-name { font-size: 1.15rem; font-weight: 700; color: #3e3a39; letter-spacing: .12em; }

/* 経営方針（社長あいさつと左右を反転させたカード） */
.co-policy {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 44px;
  align-items: center;
  padding: 40px 44px;
}
.co-policy-photo .co-photo { border-radius: 20px; }
.co-policy-body h3 {
  text-align: left; font-size: 1.24rem; color: #ef858c;
  margin: 0 0 22px; padding-bottom: 18px;
  border-bottom: 1px solid #f4e4e4;
  line-height: 1.75; letter-spacing: .05em;
}
.co-policy-body p { margin: 0 0 1.1em; }
.co-policy-note {
  display: inline-block;
  margin: 6px 0 0 !important;
  font-size: .8rem !important; color: #a29b9a; letter-spacing: .06em;
}

@media only screen and (max-width: 991px) {
  .co-greeting { grid-template-columns: 1fr; gap: 26px; padding: 28px 24px; }
  .co-greeting-photo { max-width: 300px; margin: 0 auto; }
  .co-greeting-body h3 { font-size: 1.08rem; }
  .co-policy { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .co-policy-photo { max-width: 340px; margin: 0 auto; order: -1; }
  .co-policy-body h3 { font-size: 1.06rem; }
  .co-br { display: none; }
}

/* 企業理念：やわらかいカード3枚 */
.co-philosophy {
  list-style: none; counter-reset: ph; padding: 0; margin: 6px 0 0; max-width: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.co-philosophy li {
  counter-increment: ph;
  position: relative;
  background: #fff; border-radius: 24px;
  padding: 34px 24px 30px;
  text-align: center;
  font-size: 1.02rem; font-weight: 700; color: #3e3a39;
  letter-spacing: .05em; line-height: 1.75;
}
.co-philosophy li::before {
  content: counter(ph);
  position: static; transform: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: #ef858c; color: #fff;
  font-size: 1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;

}

/* 事業所スナップのグリッド */
.co-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 0; }
.co-shot { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: #fef5f5; }
.co-shot img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}

/* 交通アクセス */
.co-access { height: 100%; display: flex; flex-direction: column; }
.co-access h3 {
  text-align: left; font-size: 1.15rem; color: #ef858c;
  margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid #f4e4e4;
  letter-spacing: .05em;
}
.co-access-list { margin: 0; }
.co-access-list > div + div { margin-top: 20px; }
.co-access-list dt {
  display: flex; align-items: center; gap: 8px; margin: 0 0 7px;
  font-size: .78rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em;
}
.co-access-list dt i { color: #ef858c; font-size: .8rem; }
.co-access-list dd { margin: 0; font-size: .93rem; color: #3e3a39; line-height: 1.9; letter-spacing: .04em; }
.co-access-btn {
  display: inline-block; margin-top: auto; padding-top: 0;
  align-self: flex-start;
  background: #ef858c; color: #fff; font-weight: 700; font-size: .84rem;
  padding: 11px 26px; border-radius: 100vh; text-decoration: none;
  letter-spacing: .06em; transition: opacity .3s ease;
  margin-top: 26px;
}
.co-access-btn:hover { opacity: .82; color: #fff; text-decoration: none; }

/* 地図（カードと高さを揃える） */
.co-map { border-radius: 24px; overflow: hidden; border: 0; line-height: 0; height: 100%; min-height: 380px; }
.co-map iframe { display: block; width: 100%; height: 100% !important; min-height: 380px; }

@media only screen and (max-width: 991px) {
  .co-col + .co-col { margin-top: 22px; }
  .co-gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .co-philosophy { grid-template-columns: 1fr; gap: 14px; }
  .co-philosophy li { font-size: .96rem; padding: 26px 20px 24px; }
  .co-panel { padding: 26px 22px; border-radius: 22px; }
}
@media only screen and (max-width: 575px) {
  .co-gallery { grid-template-columns: repeat(2, 1fr); }
  .co-philosophy li::before { width: 40px; height: 40px; font-size: .92rem; }
  .co-panel { padding: 22px 18px; }
}

/* =========================================================
   採用情報ページ
   ========================================================= */
.rc-page .sub_title h2 { margin: 0 0 26px; }
.rc-page .row.p100-t { padding-top: 62px; }
.rc-page .row.p50-t { padding-top: 40px; }
.rc-page .row.p100-b { padding-bottom: 62px; }

/* 冒頭のリード文（下に余白をとる） */
.rc-page .row.p100-t { padding-bottom: 56px; }
.rc-page .row.p100-t > .col-11 > p { max-width: 900px; margin: 26px auto 0; line-height: 2.05; letter-spacing: .045em; }

/* 先輩社員の声：導入文 */
.rc-voice-intro { max-width: 860px; margin: 0 auto 34px !important; text-align: center; line-height: 2.05; letter-spacing: .045em; }

/* 先輩社員カード */
.rc-voice {
  display: grid;
  grid-template-columns: 300px 1fr;
  /* 左＝写真／右＝本文＋続きを見る（本文のすぐ下にボタンが来る） */
  grid-template-areas: "photo main";
  align-content: start;
  gap: 0 40px;
  background: #fff; border-radius: 24px; padding: 34px 40px;
  max-width: 1060px; margin: 0 auto 22px;
}
.rc-voice-photo-wrap { grid-area: photo; }
.rc-voice-main { grid-area: main; }
/* 社員セクションは淡いピンク背景／カードは白で統一（境目をはっきりさせる） */
/* セクション側に余白を持たせて、間に白い帯が出ないようにする */
.rc-page .rc-voice-sec {
  background-color: #fdf1f2;
  padding: 22px 0;
  margin: 0 !important;
}
.rc-page .rc-voice-sec + .rc-voice-sec { padding-top: 0; }
.rc-page .rc-voice-sec .rc-voice { background: #fff; }
.rc-page .rc-voice-sec .row { margin-bottom: 0; }
.rc-page .rc-voice-sec .p100-t { padding-top: 0; }
.rc-page .rc-voice-sec .p50-b { padding-bottom: 0; }
.rc-voice-photo { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 18px; background: #fef5f5; }
.rc-voice-photo img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}
.rc-voice-meta { text-align: center; margin: 16px 0 0; }
.rc-voice-role { display: block; font-size: 1.02rem; font-weight: 700; color: #3e3a39; letter-spacing: .06em; }
/* 入社年バッジ（カード背景と同化しないよう塗りつぶし） */
.rc-voice-year {
  display: inline-block; margin-top: 10px;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: #ef858c;
  border-radius: 100vh; padding: 5px 18px;
}
.rc-voice-body h3,
.rc-voice-extra h3 {
  text-align: left; font-size: 1.08rem; font-weight: 700; color: #ef858c;
  letter-spacing: .06em; margin: 0 0 12px; padding-left: 16px; position: relative; line-height: 1.65;
}
.rc-voice-body h3::before,
.rc-voice-extra h3::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 5px; height: 1.05em; background: #ef858c; border-radius: 3px;
}
.rc-voice-body h3 + p, .rc-voice-extra h3 + p { margin-bottom: 1.5em; }
.rc-voice-body p, .rc-voice-extra p { font-size: .93rem; line-height: 2; letter-spacing: .04em; }
.rc-voice-body > *:last-child { margin-bottom: 0; }

/* 「続きを見る」ボタン（開閉しても位置が動かないよう固定） */
.rc-page .accordion { border: 0; background: transparent; }
.rc-page .accordion-item { border: 0; background: transparent; margin: 0 !important; }
.rc-page .accordion-header { display: flex; justify-content: center; margin: 6px 0 0 !important; }
.rc-page .accordion-button,
.rc-page .accordion-button.collapsed,
.rc-page .accordion-button:not(.collapsed) {
  width: auto; flex: 0 0 auto;
  border-radius: 100vh !important;
  background-color: #ef858c !important; background-image: none !important; color: #fff !important;
  font-weight: 700; font-size: .86rem; letter-spacing: .06em;
  padding: 11px 30px !important; margin: 0 !important; border: 0 !important;
  box-shadow: none !important; outline: none !important;
  transition: opacity .3s ease !important;
}
.rc-page .accordion-button:hover { opacity: .85; }
.rc-page .accordion-button::after { filter: brightness(0) invert(1); margin-left: 10px; }
.rc-page .accordion-body, .rc-page .accordion-collapse .accordion-body { padding: 0; }
.rc-page .accordion-collapse > div { padding-top: 22px; }

/* FAQ：パララックスなしでも前後のセクションと自然に区切る */
.rc-page .rc-faq-sec {
  background-color: #fff8f8;
  background-image: none;
  border-top: 0;
  padding-top: 34px;
}
.rc-page .rc-faq-sec .row { margin-bottom: 0; }

/* 募集要項のバナー2枚 */
.rc-entry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 6px 0 0; }
.rc-entry-card {
  display: block; background: #fff; border-radius: 18px; overflow: hidden;
  text-decoration: none; color: #3e3a39; transition: background-color .35s ease;
}
.rc-entry-card:hover { background: #fdeced; text-decoration: none; color: #3e3a39; }
.rc-entry-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #fef5f5; }
.rc-entry-thumb img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none; transition: transform .6s ease;
}
.rc-entry-card:hover .rc-entry-thumb img { transform: scale(1.06); }
.rc-entry-body { padding: 20px 22px 22px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.rc-entry-ttl { margin: 0; font-size: 1.15rem; font-weight: 700; color: #3e3a39; letter-spacing: .06em; text-align: left; line-height: 1.5; }
.rc-entry-en { display: block; font-size: .72rem; color: #ef858c; font-weight: 700; letter-spacing: .08em; margin-top: 6px; }
.rc-entry-arrow {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fef5f5; color: #ef858c; font-size: .74rem; transition: .35s;
}
.rc-entry-card:hover .rc-entry-arrow { background: #ef858c; color: #fff; transform: translateX(4px); }

/* 3つの強み */
.rc-strength { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.rc-strength--reverse .rc-strength-photo { order: 2; }
.rc-strength--reverse .rc-strength-body { order: 1; }
.rc-strength-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: #fef5f5; }
.rc-strength-photo img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}
.rc-strength-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #ef858c; color: #fff; font-weight: 700; font-size: 1rem;
  margin: 0 0 16px; letter-spacing: 0;
}
.rc-strength-body h3 {
  text-align: left; font-size: 1.24rem; color: #3e3a39; font-weight: 700;
  line-height: 1.7; letter-spacing: .05em; margin: 0 0 16px;
  padding-bottom: 14px; border-bottom: 1px solid #f4e4e4;
}
.rc-strength-body p { font-size: .94rem; line-height: 2; letter-spacing: .04em; margin: 0; }

@media only screen and (max-width: 991px) {
  .rc-entry { grid-template-columns: 1fr; gap: 18px; }
  .rc-voice {
    grid-template-columns: 1fr;
    grid-template-areas: "photo" "main";
    gap: 22px 0; padding: 26px 22px; border-radius: 20px;
  }
  .rc-voice-photo-wrap { width: 100%; max-width: 280px; margin-left: auto; margin-right: auto; justify-self: center; }
  .rc-strength { grid-template-columns: 1fr; gap: 22px; }
  .rc-strength--reverse .rc-strength-photo,
  .rc-strength--reverse .rc-strength-body { order: 0; }
  .rc-strength-body h3 { font-size: 1.06rem; }
}

/* =========================================================
   事業内容ページ
   ========================================================= */
/* 余白の詰め */
.wk-page .sub_title h2 { margin: 0 0 26px; }
.wk-page .row.p100-t { padding-top: 62px; }
.wk-page .row.p50-t { padding-top: 44px; }
.wk-page .row.p100-b { padding-bottom: 62px; }

/* 事業番号 */
.wk-no {
  font-size: 2.6rem; font-weight: 700; color: #f6d3d6;
  line-height: 1; letter-spacing: .08em; margin: 0 0 14px !important;
  text-align: center; font-family: 'Noto Serif JP', serif;
}
.wk-block--split .wk-no { text-align: left; }

/* リード文 */
.wk-lead { max-width: 900px; margin: 0 auto; text-align: center; }
.wk-lead--left { max-width: none; text-align: left; margin: 0; }
.wk-lead h3 {
  font-size: 1.22rem; font-weight: 700; color: #ef858c;
  line-height: 1.8; letter-spacing: .05em; margin: 0 0 20px; text-align: inherit;
}
.wk-lead p {
  font-size: .95rem; color: #3e3a39; line-height: 2.05;
  letter-spacing: .045em; margin: 0 0 .6em;
}
.wk-note { font-size: .85rem !important; color: #8d8685 !important; margin-top: 10px !important; }
.wk-logos { display: flex; align-items: center; gap: 20px; margin: 20px 0 4px; justify-content: center; }
.wk-lead--left .wk-logos { justify-content: flex-start; }
.wk-logos img { height: 64px; width: auto; display: block; transition: opacity .3s; }
.wk-logos a:hover img { opacity: .75; }

/* 写真 */
.wk-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0 0; }
.wk-photo { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 18px; background: #fef5f5; }
.wk-photo img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}

/* 左右2カラム（テキスト＋写真） */
.wk-block--split {
  display: grid; grid-template-columns: 1fr 420px;
  gap: 46px; align-items: center;
}
.wk-block--reverse .wk-split-body { order: 2; }
.wk-block--reverse .wk-split-photo { order: 1; }

@media only screen and (max-width: 991px) {
  .wk-no { font-size: 2.1rem; }
  .wk-lead h3 { font-size: 1.08rem; line-height: 1.75; }
  .wk-photos { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
  .wk-block--split { grid-template-columns: 1fr; gap: 24px; }
  .wk-block--reverse .wk-split-body,
  .wk-block--reverse .wk-split-photo { order: 0; }
  .wk-split-photo { max-width: 480px; margin: 0 auto; width: 100%; }
  .wk-br { display: none; }
}
@media only screen and (max-width: 575px) {
  .wk-photos { grid-template-columns: 1fr; }
  .wk-logos img { height: 52px; }
}

/* =========================================================
   ケアホープページ
   ========================================================= */
/* 余白の詰め（テーマ既定は見出し上下50pxで空きすぎるため） */
.ch-page .sub_title h2 { margin: 0 0 26px; }
.ch-page .row.p100-t { padding-top: 62px; }
.ch-page .row.p50-t { padding-top: 44px; }
.ch-page .row.p100-b { padding-bottom: 62px; }
.ch-page .p50-t { padding-top: 40px; }
.ch-page .p50-b { padding-bottom: 40px; }

.ch-lead { max-width: 880px; margin: 0 auto; text-align: center; }
.ch-lead--left { max-width: none; text-align: left; }
.ch-lead h3 {
  font-size: 1.22rem; font-weight: 700; color: #ef858c;
  line-height: 1.8; letter-spacing: .05em; margin: 0 0 20px; text-align: inherit;
}
.ch-lead p {
  font-size: .95rem; color: #3e3a39; line-height: 2.05;
  letter-spacing: .045em; margin: 0 0 6px;
}
.ch-note { font-size: .85rem !important; color: #8d8685 !important; margin-top: 6px !important; }

.ch-photos {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin: 34px 0 0;
}
.ch-photo {
  position: relative; aspect-ratio: 4/3; overflow: hidden;
  border-radius: 14px; background: #fef5f5;
}
.ch-photo img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}
/* 在宅医療（テキスト＋写真の2カラム）は上下中央で揃える */
.ch-col { display: flex; flex-direction: column; justify-content: center; }

.ch-logos { display: flex; align-items: center; gap: 20px; margin: 22px 0 4px; justify-content: center; }
.ch-lead--left .ch-logos { justify-content: flex-start; }
.ch-logos img { height: 64px; width: auto; display: block; transition: opacity .3s; }
.ch-logos a:hover img { opacity: .75; }

@media only screen and (max-width: 991px) {
  .ch-lead h3 { font-size: 1.08rem; line-height: 1.75; }
  .ch-photos { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 26px; }
  .ch-col + .ch-col { margin-top: 22px; }
  .ch-br { display: none; }
}
@media only screen and (max-width: 575px) {
  .ch-photos { grid-template-columns: 1fr; }
  .ch-logos img { height: 52px; }
}

/* =========================================================
   事業所情報ページ 店舗カード一覧
   ========================================================= */
.office-list { max-width: 1140px; }
.office-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin: 10px 0 60px;
}
.office-card {
  position: relative;
  display: flex; flex-direction: column; height: 100%;
  /* トップページの事業所カードと同じ背景（淡いピンク＋ロゴ透かし） */
  background: #fef5f5 url(../images/logo4.svg) no-repeat right bottom;
  border: 0; border-radius: 18px;
  overflow: hidden; text-decoration: none; color: #3e3a39;
  box-shadow: none;
  transition: background-color .35s ease;
}
.office-card:hover {
  transform: none;
  box-shadow: none;
  background-color: #fdeced;
  text-decoration: none; color: #3e3a39;
}
/* 写真＋店名オーバーレイ */
.office-card-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #fef5f5; }
.office-card-thumb img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
  transition: transform .7s cubic-bezier(.2, .7, .3, 1);
}
.office-card:hover .office-card-thumb img { transform: scale(1.08); }
.office-card-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(30, 24, 24, .78) 0%, rgba(30, 24, 24, .34) 38%, rgba(30, 24, 24, 0) 68%);
  transition: opacity .4s ease;
}
.office-card:hover .office-card-scrim { opacity: .92; }
.office-card-name {
  position: absolute; left: 18px; right: 18px; bottom: 15px; z-index: 2; margin: 0;
  font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.45;
  letter-spacing: .05em; text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .38);
}

.office-card-body { display: flex; flex-direction: column; gap: 7px; padding: 17px 19px 15px; flex: 1; }
.office-card-meta {
  display: flex; gap: 9px; align-items: flex-start; margin: 0;
  font-size: .82rem; color: #8d8685; line-height: 1.7;
}
.office-card-meta i { color: #ef858c; font-size: .76rem; margin-top: .35em; flex: 0 0 13px; text-align: center; }
/* フッター（詳細を見る＋矢印ボタン） */
.office-card-foot {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.office-card-more {
  font-size: .8rem; font-weight: 700; color: #ef858c; letter-spacing: .06em;
}
.office-card-arrow {
  width: 36px; height: 36px; border-radius: 50%; flex: 0 0 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid #f3d3d6; color: #ef858c; font-size: .74rem; background: #fff;
  transition: background .35s ease, color .35s ease, transform .35s ease, border-color .35s ease;
}
.office-card:hover .office-card-arrow {
  background: #ef858c; border-color: #ef858c; color: #fff; transform: translateX(4px);
}

@media only screen and (max-width: 991px) {
  .office-cards { grid-template-columns: repeat(2, 1fr); gap: 18px; margin-bottom: 44px; }
}
@media only screen and (max-width: 767px) {
  /* スマホは1カラム */
  .office-cards { grid-template-columns: 1fr !important; gap: 16px; }
}

/* =========================================================
   店舗 詳細ページ（single-office.php）
   基調：#ef858c / #fef5f5 / 文字 #3e3a39
   ========================================================= */

.shop-wrap { padding: 70px 0 100px; }
.shop-inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* パンくず */
.shop-bread { font-size: .76rem; color: #a8a1a0; letter-spacing: .06em; margin: 0 0 30px; }
.shop-bread a { color: #a8a1a0; text-decoration: none; transition: .3s; }
.shop-bread a:hover { color: #ef858c; text-decoration: none; }
.shop-bread em { font-style: normal; margin: 0 9px; opacity: .55; }
.shop-bread strong { color: #3e3a39; font-weight: 500; }

/* 2カラム（PC：左＝写真／右＝情報） */
/* PC：左＝写真(1行目)＋QR(2行目) ／ 右＝情報（2行ぶち抜き） */
.shop-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 60px;
  row-gap: 0;
  align-items: start;
}
/* ※ 追従（sticky）にすると下のQRカードに重なるため通常配置 */
.shop-media { grid-column: 1; grid-row: 1; position: static; }
.shop-info  { grid-column: 2; grid-row: 1 / span 2; }
.shop-line  { grid-column: 1; grid-row: 2; align-self: start; }
.shop-photo {
  border-radius: 20px;
  overflow: hidden;
  background: #fef5f5;
}
.shop-photo img { width: 100%; height: auto; display: block; }

/* ---- 店内写真スライダー（メイン） ---- */
.shop-gal {
  position: relative; overflow: hidden; border-radius: 20px;
  background: #fef5f5;
}
/* 4:3 の枠に固定し、画像はトリミングして敷き詰める */
.shop-gal-stage { position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden; }
.shop-gal-img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
  opacity: 0; transition: opacity .45s ease;
}
.shop-gal-img.is-active { opacity: 1; }
/* 前後ボタン */
.shop-gal-prev, .shop-gal-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #3e3a39; font-size: .8rem;
  display: flex; align-items: center; justify-content: center;
  border: 0; transition: .3s; padding: 0;
}
.shop-gal-prev { left: 14px; }
.shop-gal-next { right: 14px; }
.shop-gal-prev:hover, .shop-gal-next:hover { background: #ef858c; color: #fff; }
/* ---- サムネイル ---- */
.shop-gal-thumbs {
  margin-top: 12px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px;
}
.shop-gal-thumb {
  position: relative; aspect-ratio: 1/1; padding: 0; border: 2px solid transparent;
  border-radius: 10px; overflow: hidden; cursor: pointer; background: #fef5f5;
  opacity: .6; transition: opacity .3s, border-color .3s; box-sizing: border-box;
}
.shop-gal-thumb img {
  position: absolute; top: 0; left: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; display: block; max-width: none;
}
.shop-gal-thumb:hover { opacity: .9; }
.shop-gal-thumb.is-active { opacity: 1; border-color: #ef858c; }

/* 右：情報 */
.shop-type {
  display: inline-block; background: #ef858c; color: #fff;
  font-size: .71rem; font-weight: 700; letter-spacing: .14em;
  padding: 6px 18px; border-radius: 100vh;
}
.shop-name {
  font-size: 1.95rem; font-weight: 700; color: #3e3a39;
  letter-spacing: .045em; line-height: 1.5; margin: 18px 0 0;
}
.shop-name::after {
  content: ""; display: block; width: 54px; height: 3px;
  background: #ef858c; border-radius: 2px; margin: 20px 0 0;
}

.shop-tags { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.shop-tags li {
  font-size: .75rem; font-weight: 700; color: #d96f86;
  background: #fff; border: 1px solid #f3ced2;
  padding: 6px 15px; border-radius: 100vh; letter-spacing: .04em;
}

/* 情報リスト */
.shop-spec { margin: 34px 0 0; border-top: 1px solid #f0eaea; }
.shop-spec > div { display: flex; gap: 22px; padding: 17px 2px; border-bottom: 1px solid #f0eaea; }
.shop-spec dt {
  flex: 0 0 94px; margin: 0; padding-top: .3em;
  font-size: .78rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em;
}
.shop-spec dd { flex: 1; margin: 0; color: #3e3a39; font-size: .93rem; line-height: 1.95; letter-spacing: .04em; }

/* 電話 */
.shop-tel {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 1.55rem; font-weight: 700; color: #3e3a39;
  text-decoration: none; letter-spacing: .01em; line-height: 1.25;
}
.shop-tel i {
  font-size: .82rem; color: #fff; background: #ef858c;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.shop-tel:hover { color: #ef858c; text-decoration: none; }

/* LINE / QR */
.shop-line {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: #fdf7f7; border: 0; border-radius: 18px;
  padding: 22px 24px; margin: 30px 0 0;
}
.shop-line-qr img { width: 132px; height: auto; display: block; border-radius: 8px; background: #fff; }
.shop-line-body { flex: 1; min-width: 190px; }
.shop-line-ttl { font-size: .95rem; font-weight: 700; color: #3e3a39; margin: 0 0 8px; letter-spacing: .06em; }
.shop-line-txt { font-size: .8rem; color: #8d8685; line-height: 1.8; margin: 0 0 14px; }
.shop-line-btn {
  display: inline-block; background: #06c755; color: #fff; font-weight: 700;
  font-size: .86rem; padding: 10px 24px; border-radius: 100vh;
  text-decoration: none; letter-spacing: .06em; transition: .3s;
}
.shop-line-btn:hover { opacity: .87; color: #fff; text-decoration: none; }

/* SNS（情報リストと同じ行として並べる） */
.shop-sns {
  display: flex; align-items: center; gap: 22px;
  margin: 0; padding: 13px 2px; border-bottom: 1px solid #f0eaea;
}
.shop-sns .lbl {
  flex: 0 0 94px;
  font-size: .78rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em;
}
.shop-sns a img { width: 38px; height: auto; display: block; transition: opacity .3s; }
.shop-sns a:hover img { opacity: .7; }

/* 追加情報（HP等）… 上の行と隙間なく続けて表示する */
.shop-extra { margin: 0; }
.shop-extra table { width: 100%; border-collapse: collapse; }
.shop-extra th {
  width: 94px; text-align: left; vertical-align: top; padding: 15px 22px 15px 2px;
  font-size: .78rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em;
  border-bottom: 1px solid #f0eaea; border-top: none;
}
.shop-extra td {
  padding: 15px 2px; font-size: .93rem; line-height: 1.9; color: #3e3a39;
  border-bottom: 1px solid #f0eaea; border-top: none;
}
.shop-extra td a { color: #d96f86; }
/* 店内写真などのサムネイルを均一サイズのグリッドに整える */
.shop-extra td .info-image { padding: 0; }
.shop-extra td.d-flex { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.shop-extra td.d-flex > a { display: block; border-radius: 8px; overflow: hidden; }
.shop-extra td img.thumbnail-image {
  width: 100% !important; height: auto; aspect-ratio: 4/3; object-fit: cover;
  display: block; border-radius: 0; transition: transform .5s ease;
}
.shop-extra td.d-flex > a:hover img.thumbnail-image { transform: scale(1.07); }

/* アクセス（地図） */
.shop-access { margin: 84px 0 0; }
.shop-sec-en {
  font-size: .74rem; font-weight: 700; color: #ef858c;
  letter-spacing: .22em; text-transform: uppercase; text-align: center; margin: 0 0 6px;
}
.shop-sec-ja {
  font-size: 1.28rem; font-weight: 700; color: #3e3a39;
  letter-spacing: .16em; text-align: center; margin: 0 0 30px;
}
.shop-map { border-radius: 18px; overflow: hidden; border: 0; }
.shop-map iframe { width: 100%; height: 380px; border: 0; display: block; }
.shop-map-note { text-align: center; margin: 18px 0 0; }
.shop-map-btn {
  display: inline-block; font-size: .82rem; font-weight: 700; color: #3e3a39;
  border: 1px solid #ded7d6; background: #fff; padding: 9px 26px;
  border-radius: 100vh; text-decoration: none; letter-spacing: .06em; transition: .3s;
}
.shop-map-btn:hover { border-color: #ef858c; color: #ef858c; text-decoration: none; }

/* 他の事業所 */
.shop-others { margin: 90px 0 0; }
.shop-back { margin: 56px 0 0; text-align: center; }

/* ---------- レスポンシブ ---------- */
@media only screen and (max-width: 991px) {
  .shop-wrap { padding: 46px 0 70px; }
  /* SP：写真 → 情報 → QR の縦並び */
  .shop-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 30px; }
  .shop-media, .shop-info, .shop-line { grid-column: 1; grid-row: auto; }
  .shop-media { position: static; }
  .shop-line { margin-top: 0; }
  .shop-name { font-size: 1.5rem; }
  .shop-access { margin: 60px 0 0; }
  .shop-map iframe { height: 300px; }
  .shop-others { margin: 64px 0 0; }
}
@media only screen and (max-width: 575px) {
  .shop-inner { padding: 0 18px; }
  .shop-name { font-size: 1.32rem; }
  .shop-spec > div { flex-direction: column; gap: 5px; padding: 14px 2px; }
  .shop-spec dt { flex-basis: auto; padding-top: 0; }
  .shop-sns { flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 2px; }
  .shop-sns .lbl { flex-basis: auto; }
  .shop-tel { font-size: 1.35rem; }
  .shop-line { padding: 18px; gap: 16px; }
  .shop-line-qr img { width: 108px; }
  .shop-gal-thumbs { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .shop-gal-prev, .shop-gal-next { width: 36px; height: 36px; }
  .shop-map iframe { height: 240px; }
  .shop-extra th { width: 84px; padding-right: 14px; }
}

@media only screen and (max-width: 991px) {
  .co-map { height: auto; min-height: 300px; }
  .co-map iframe { min-height: 300px; }
  .co-access { height: auto; }
  .co-access-btn { margin-top: 22px; }
}

/* 画像＋テキストの横並びカード（.cate_gray）が折り返さないように
   ※ 元は inline-block の 40%/60% 指定で、幅がぴったりのため折り返していた */
.cate_gray { display: flex !important; align-items: center; flex-wrap: nowrap; }
.cate_gray .left-box { width: 40%; flex: 0 0 40%; max-width: 40%; }
.cate_gray .right-box { width: 60%; flex: 0 0 60%; max-width: 60%; padding: 0 20px; }
@media only screen and (max-width: 575px) {
  .cate_gray { flex-wrap: wrap; }
  .cate_gray .left-box, .cate_gray .right-box { width: 100%; flex: 0 0 100%; max-width: 100%; }
  .cate_gray .right-box { padding: 14px 16px 18px; }
}

/* お知らせカードに薄い線 */
.news-card { border: 1px solid #f0e3e4 !important; }
.news-card:hover { border-color: #ef858c !important; }

/* カード全体を囲むリンクの下線を消す（事業内容・事業所など） */
a:has(> .cate_gray), a:has(> .cate_office) { text-decoration: none !important; }
.cate_gray, .cate_gray *, .cate_office, .cate_office * { text-decoration: none !important; }
.img_wrap > a { text-decoration: none !important; }

/* トップページ 事業所カード（住所・電話つき／角丸） */
.cate_office {
  border: 1px solid #f0e3e4 !important;
  border-radius: 16px !important;
  overflow: hidden;
  padding: 0 0 18px !important;
  margin-bottom: 26px !important;
  text-align: center;
  transition: border-color .35s ease, background-color .35s ease;
  height: calc(100% - 26px);
  display: flex; flex-direction: column;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
.cate_office:hover { border-color: #ef858c !important; }
.cate_office > .w100 { margin: 0 !important; }
.cate_office > .w100 img {
  width: 100% !important; aspect-ratio: 4/3; object-fit: cover;
  display: block; margin: 0 !important; border-radius: 0;
}
.cate_office h3 {
  font-size: 1rem !important; font-weight: 700; color: #3e3a39;
  margin: 15px 16px 10px !important; line-height: 1.55; letter-spacing: .04em;
}
.office-card-info { margin: 0 16px 14px; text-align: left; }
.office-card-info p {
  display: flex; gap: 8px; align-items: flex-start; margin: 0 0 5px;
  font-size: .78rem; color: #8d8685; line-height: 1.65; letter-spacing: .02em;
}
.office-card-info p:last-child { margin-bottom: 0; }
.office-card-info i { color: #ef858c; font-size: .72rem; margin-top: .35em; flex: 0 0 12px; text-align: center; }
.cate_office .cate_office_btn { margin-top: auto; padding: 0 16px; }
.cate_office .cate_office_btn a {
  border-radius: 100vh;
  width: 100% !important; display: block;
  padding: 10px 8px !important; font-size: .78rem !important;
  white-space: nowrap; letter-spacing: .06em; line-height: 1.3;
  margin: 0 !important;
}

/* ヘッダー：ケアホープと採用情報ボタンの間隔を詰める */
.pc-menu .h_carehope_btn { margin-right: 3px !important; }
.pc-menu .h_recruit_btn { margin-left: 3px !important; }

/* =========================================================
   お問い合わせページ（Contact Form 7）
   ========================================================= */
.ct-page .sub_title h2 { margin: 0 0 26px; }
.ct-page .row.p100-t { padding-top: 62px; padding-bottom: 20px; }
.ct-page .row.p50-t { padding-top: 44px; }
.ct-page .row.p100-b { padding-bottom: 62px; }

.ct-lead { max-width: 760px; margin: 0 auto 30px !important; text-align: center; line-height: 2.05; letter-spacing: .045em; }

/* 電話の案内 */
.ct-tel {
  max-width: 560px; margin: 0 auto 40px; padding: 22px 26px;
  background: #fff; border-radius: 20px; text-align: center;
}
.ct-tel-label { display: block; font-size: .78rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em; margin-bottom: 8px; }
.ct-tel-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.9rem; font-weight: 700; color: #3e3a39; text-decoration: none; letter-spacing: .02em; line-height: 1.2;
}
.ct-tel-num i {
  font-size: .8rem; color: #fff; background: #ef858c;
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.ct-tel-num:hover { color: #ef858c; text-decoration: none; }
.ct-tel-note { display: block; font-size: .78rem; color: #8d8685; margin-top: 8px; letter-spacing: .04em; }

/* フォーム全体 */
.ct-form { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 40px 44px; }
.ct-form .wpcf7 { margin: 0; }
.ct-form form > p { margin: 0; }

.cf7-row { display: grid; grid-template-columns: 220px 1fr; gap: 18px 24px; align-items: start; padding: 18px 0; border-bottom: 1px solid #f4ecec; }
.cf7-row:first-of-type { padding-top: 0; }
.cf7-label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .92rem; font-weight: 700; color: #3e3a39; letter-spacing: .06em; line-height: 1.6; margin: 6px 0 0; }
.cf7-req { font-size: .68rem; font-weight: 700; color: #fff; background: #ef858c; border-radius: 100vh; padding: 3px 10px; letter-spacing: .06em; }

.ct-form input[type="text"],
.ct-form input[type="email"],
.ct-form input[type="tel"],
.ct-form textarea {
  width: 100%; box-sizing: border-box;
  border: 1px solid #e6dcdc; border-radius: 10px;
  padding: 12px 14px; font-size: .94rem; color: #3e3a39;
  background: #fdfbfb; transition: border-color .3s ease, background-color .3s ease;
  font-family: inherit; line-height: 1.7;
}
.ct-form input:focus, .ct-form textarea:focus {
  outline: none; border-color: #ef858c; background: #fff;
}
.ct-form ::placeholder { color: #c3bcbc; }

/* 同意チェック */
.cf7-privacy { margin: 24px 0 0; text-align: center; font-size: .88rem; letter-spacing: .04em; }
.cf7-privacy a { color: #d96f86; }
.cf7-privacy .wpcf7-list-item { margin: 0; }
.cf7-privacy input[type="checkbox"] { width: 17px; height: 17px; accent-color: #ef858c; vertical-align: -3px; margin-right: 6px; }

/* 送信ボタン */
.cf7-submit { text-align: center; margin: 28px 0 0; }
.ct-form input[type="submit"] {
  background: #ef858c; color: #fff; border: 0; border-radius: 100vh;
  font-size: 1rem; font-weight: 700; letter-spacing: .12em;
  padding: 15px 70px; cursor: pointer; transition: opacity .3s ease;
  font-family: inherit;
}
.ct-form input[type="submit"]:hover { opacity: .85; }
.ct-form .wpcf7-spinner { display: block; margin: 12px auto 0; }

/* CF7のメッセージ */
.ct-form .wpcf7-not-valid-tip { color: #e05a63; font-size: .8rem; margin-top: 6px; }
.ct-form .wpcf7-response-output {
  margin: 24px 0 0 !important; padding: 14px 18px !important;
  border-radius: 12px !important; border-width: 1px !important;
  font-size: .9rem; text-align: center;
}

/* よくある質問（アコーディオン） */
.ct-page details.qa-007 {
  background: #fff; border-radius: 16px; margin: 0 0 12px; padding: 0; overflow: hidden;
}
.ct-page details.qa-007 > summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 56px 20px 54px;
  font-size: .98rem; font-weight: 700; color: #3e3a39; letter-spacing: .04em; line-height: 1.6;
}
.ct-page details.qa-007 > summary::-webkit-details-marker { display: none; }
.ct-page details.qa-007 > summary::before {
  content: "Q"; position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%;
  background: #ef858c; color: #fff; font-size: .78rem;
  display: flex; align-items: center; justify-content: center;
}
.ct-page details.qa-007 > summary::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid #ef858c; border-bottom: 2px solid #ef858c;
  transform: rotate(45deg); transition: transform .3s ease;
}
.ct-page details.qa-007[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ct-page details.qa-007 > p {
  margin: 0; padding: 0 24px 22px 54px;
  font-size: .92rem; line-height: 2; color: #3e3a39; letter-spacing: .04em;
  border-top: 1px solid #f4ecec; padding-top: 18px;
}

@media only screen and (max-width: 991px) {
  .ct-form { padding: 26px 22px; border-radius: 20px; }
  .cf7-row { grid-template-columns: 1fr; gap: 8px; padding: 15px 0; }
  .cf7-label { margin: 0; }
  .ct-tel-num { font-size: 1.6rem; }
  .ct-form input[type="submit"] { width: 100%; padding: 15px 0; }
  .ct-page details.qa-007 > summary { padding: 16px 44px 16px 48px; font-size: .92rem; }
  .ct-page details.qa-007 > p { padding: 16px 18px 18px 48px; }
}

/* =========================================================
   処方箋送信LINEアカウント情報ページ
   ========================================================= */
.ln-page .row.p100-t { padding-top: 62px; padding-bottom: 10px; }

/* 使い方の案内 */
.ln-steps { background: #fff; border-radius: 22px; padding: 30px 34px; margin: 10px 0 40px; }
.ln-lead { text-align: center; margin: 0 0 24px !important; line-height: 2.05; letter-spacing: .045em; font-size: .95rem; }
.ln-step-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ln-step-list li {
  display: flex; align-items: center; gap: 12px;
  background: #fdf1f2; border-radius: 14px; padding: 14px 18px;
  font-size: .88rem; font-weight: 700; color: #3e3a39; letter-spacing: .03em; line-height: 1.6;
}
.ln-step-list li span {
  flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%;
  background: #06c755; color: #fff; font-size: .84rem;
  display: flex; align-items: center; justify-content: center;
}

/* 店舗カード */
.ln-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ln-card {
  background: #fff; border-radius: 18px; padding: 22px 18px 20px;
  text-align: center; display: flex; flex-direction: column;
  transition: transform .3s ease;
}
.ln-card-name {
  font-size: .96rem !important; font-weight: 700; color: #3e3a39;
  margin: 0 0 14px !important; line-height: 1.5; letter-spacing: .03em; text-align: center;
}
.ln-card-qr { margin: 0 auto 16px; width: 100%; max-width: 180px; }
.ln-card-qr img { width: 100% !important; height: auto; display: block; border-radius: 8px; }
.ln-card-btn {
  margin-top: auto; display: inline-block;
  background: #06c755; color: #fff; font-weight: 700; font-size: .82rem;
  padding: 10px 0; border-radius: 100vh; text-decoration: none;
  letter-spacing: .06em; transition: opacity .3s ease;
}
.ln-card-btn:hover { opacity: .85; color: #fff; text-decoration: none; }

@media only screen and (max-width: 991px) {
  .ln-cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .ln-step-list { grid-template-columns: 1fr; gap: 10px; }
  .ln-steps { padding: 24px 20px; border-radius: 18px; }
  .ln-br { display: none; }
}
@media only screen and (max-width: 575px) {
  .ln-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ln-card { padding: 16px 12px 14px; border-radius: 14px; }
  .ln-card-name { font-size: .84rem !important; }
}

/* トップページ 事業内容・採用情報のカードを角丸に */
.cate_gray {
  border-radius: 16px !important;
  overflow: hidden;
  border: 1px solid #f0e3e4 !important;
  transition: border-color .35s ease;
}
.img_wrap:hover .cate_gray { border-color: #ef858c !important; }
.cate_gray .left-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cate_gray .left-box { align-self: stretch; overflow: hidden; }

/* トップページ：採用情報〜募集要項の間隔を詰める */
.home .container.p100-b.recruit { padding-bottom: 30px !important; }
.home .fp-entry { padding-top: 0 !important; }
.home .fp-entry .sub_title h2 { margin-top: 0 !important; margin-bottom: 26px !important; }

/* =========================================================
   ポリシー系ページ（個人情報保護方針・サイトポリシー・パートナーシップ）
   ========================================================= */
.pl-page .row.p100-t { padding-top: 62px; padding-bottom: 10px; }
.pl-page .row.p50-t { padding-top: 44px; }
.pl-page .row.p100-b { padding-bottom: 62px; }

.pl-body {
  background: #fff; border-radius: 24px; padding: 44px 48px;
}
.pl-body > *:first-child { margin-top: 0 !important; }
.pl-body > *:last-child { margin-bottom: 0 !important; }
.pl-body p {
  font-size: .93rem; line-height: 2.05; letter-spacing: .04em;
  color: #3e3a39; margin: 0 0 1.5em;
}
.pl-head {
  text-align: left !important;
  font-size: 1.1rem !important; font-weight: 700; color: #ef858c;
  letter-spacing: .06em; line-height: 1.6;
  margin: 2.4em 0 1em !important; padding: 0 0 12px 16px;
  border-bottom: 1px solid #f4e4e4; position: relative;
}
.pl-head::before {
  content: ""; position: absolute; left: 0; top: .15em;
  width: 5px; height: 1.05em; background: #ef858c; border-radius: 3px;
}

@media only screen and (max-width: 991px) {
  .pl-body { padding: 26px 22px; border-radius: 18px; }
  .pl-head { font-size: 1rem !important; margin-top: 2em !important; }
}

/* =========================================================
   送信完了ページ
   ========================================================= */
.tk-card {
  background: #fff; border-radius: 26px; padding: 54px 48px;
  text-align: center; max-width: 760px; margin: 0 auto;
}
.tk-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: #ef858c; color: #fff; font-size: 1.9rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.tk-en {
  font-size: .76rem !important; font-weight: 700; color: #ef858c;
  letter-spacing: .24em; text-transform: uppercase; margin: 0 0 6px !important;
}
.tk-title {
  font-size: 1.5rem !important; font-weight: 700; color: #3e3a39;
  letter-spacing: .1em; margin: 0 0 26px !important; line-height: 1.5;
  display: block !important;
}
.tk-text {
  font-size: .96rem; line-height: 2.05; letter-spacing: .045em;
  color: #3e3a39; margin: 0 0 22px !important;
}
.tk-note {
  font-size: .84rem !important; line-height: 1.9; color: #8d8685;
  background: #fdf6f6; border-radius: 14px; padding: 16px 20px;
  margin: 0 0 30px !important; letter-spacing: .03em;
}
.tk-tel { margin: 0 0 32px; }
.tk-tel-label { display: block; font-size: .76rem; font-weight: 700; color: #a29b9a; letter-spacing: .12em; margin-bottom: 8px; }
.tk-tel-num {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 1.7rem; font-weight: 700; color: #3e3a39; text-decoration: none; line-height: 1.2;
}
.tk-tel-num i {
  font-size: .76rem; color: #fff; background: #ef858c;
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.tk-tel-num:hover { color: #ef858c; text-decoration: none; }
.tk-tel-note { display: block; font-size: .76rem; color: #8d8685; margin-top: 8px; }

.tk-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.tk-btn {
  display: inline-block; padding: 13px 34px; border-radius: 100vh;
  font-size: .88rem; font-weight: 700; letter-spacing: .06em;
  text-decoration: none; transition: .3s;
  border: 1px solid #ded7d6; color: #3e3a39; background: #fff;
}
.tk-btn:hover { border-color: #ef858c; color: #ef858c; text-decoration: none; }
.tk-btn--main { background: #ef858c; border-color: #ef858c; color: #fff; }
.tk-btn--main:hover { background: #ef858c; color: #fff; opacity: .85; }

@media only screen and (max-width: 991px) {
  .tk-card { padding: 34px 22px; border-radius: 20px; }
  .tk-title { font-size: 1.2rem !important; }
  .tk-tel-num { font-size: 1.45rem; }
  .tk-btns { flex-direction: column; }
  .tk-btn { width: 100%; }
  .tk-br { display: none; }
}

/* トップページの事業所カード：スマホは1カラム */
@media only screen and (max-width: 767px) {
  .cate_office { margin-bottom: 18px !important; height: auto; }
}
@media only screen and (max-width: 767px) {
  .home [class*="col-6"][class*="col-lg-3"] { width: 100% !important; flex: 0 0 100% !important; max-width: 100% !important; }
}

/* フッターのリンクが途中で改行しないように */
#footer .col-6.col-lg { padding-left: 8px; padding-right: 8px; }
#footer .sub a {
  display: inline-block;
  white-space: nowrap;
  letter-spacing: 0;
  margin: 0;
}
#footer > .container > .row > [class*="col-"] > a { white-space: nowrap; letter-spacing: .02em; }
@media only screen and (max-width: 991px) {
  #footer .sub a { white-space: normal; }
}

/* =========================================================
   1) スマホ：見出しの行間を広げる（2行になったとき詰まって見える対策）
   ========================================================= */
@media (max-width: 767px) {
  h2 { line-height: 1.7 !important; }
  .sub_title h2 { line-height: 1.7 !important; }
  h3 { line-height: 1.75; }
  .work h3, .ln-card-name { line-height: 1.7 !important; }
  .recruit .right-box h3, .cate_office h3 { line-height: 1.6 !important; }
  .footer-logo_bg h2 { line-height: 1.7em; }
  .rc-entry-ttl, .work h3.rc-entry-ttl { line-height: 1.6 !important; }
  .parallax_tit { line-height: 1.4; }
  .single h2, #footer h2 { line-height: 1.6; }
}

/* =========================================================
   2) スマホの横スクロール対策
      .container.p-0 の中で Bootstrap の .row が持つ
      左右 -12px のマイナスマージンがはみ出していた
   ========================================================= */
.container.p-0 > .row { margin-left: 0; margin-right: 0; }

/* =========================================================
   3) フッターの文字を読みやすい大きさに
   ========================================================= */
#footer > .container > .row > [class*="col-"] > a {
  display: inline-block;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 6px;
}
#footer .sub { font-size: .94rem; line-height: 1.75; margin-bottom: 0 !important; }
#footer .sub a { font-size: .94rem; line-height: 1.75; }

/* PCは列幅を中身に合わせて可変にし、文字を大きくしても折り返さないように */
@media (min-width: 992px) {
  #footer > .container > .row { justify-content: space-between; }
  #footer > .container > .row > [class*="col-"] {
    flex: 0 1 auto;
    width: auto;
    max-width: none;
  }
}

@media (max-width: 991px) {
  #footer .sub a { white-space: normal; }
  .copyright { font-size: .8rem; line-height: 1.9; }
  .copyright a { font-size: .8rem; }
}

/* =========================================================
   スマホ：フッターの見出し（トップ／事業内容…）の上に余白を入れる
   2列に折り返したとき、上の段のリンクと見出しが 2px しか
   離れておらず、どこからが次の項目か分かりにくかった
   ========================================================= */
@media (max-width: 991px) {
  #footer > .container > .row > [class*="col-"] { margin-top: 26px; }
  #footer > .container > .row > [class*="col-"]:nth-child(1),
  #footer > .container > .row > [class*="col-"]:nth-child(2) { margin-top: 0; }
}

/* =========================================================
   スマホ：採用情報「続きを見る」の下に余白を入れる
   ========================================================= */
@media only screen and (max-width: 991px) {
  .rc-voice { padding-bottom: 34px; }
  .rc-voice-extra .accordion-item { margin-bottom: 0; }
  .rc-voice-extra .accordion-header { margin-bottom: 0; }
  .rc-voice-extra .accordion-collapse .accordion-body { padding-bottom: 4px; }
}

/* スマホ：トップページ採用情報の見出しを少し小さく */
@media (max-width: 767px) {
  .recruit .right-box h3 { font-size: 1.25rem !important; }
}

/* スマホ：「続きを見る」を開いたとき、ボタンと中身の間に余白を入れる */
@media only screen and (max-width: 991px) {
  .rc-voice-extra .collapse > div,
  .rc-voice-extra .collapsing > div { padding-top: 28px; }
}

/* =========================================================
   PCヘッダーメニュー：項目が増えても文字が途中で折り返さないように
   （「ホーム」が「ホー／ム」のように割れるのを防ぐ）
   ========================================================= */
.pc-menu ul { flex-wrap: nowrap; }
.pc-menu li { white-space: nowrap; }
.pc-menu a { white-space: nowrap; }

/* 項目が8つあるので、PC全体で少し小さめに */
@media (min-width: 992px) {
  .pc-menu li { margin: 0 7px; }
  .pc-menu a { font-size: .88rem; padding: 5px 3px; letter-spacing: 0; }
  .pc-menu a.pc-menu-rec { font-size: .84rem; padding: 0.3rem 1.1rem; }
}
/* 画面が狭いときはさらに詰める＋ハンバーガー（右端80px）と重ならないよう余白を確保 */
@media (min-width: 992px) and (max-width: 1279px) {
  .pc-menu ul { padding-right: 62px; }
  .pc-menu li { margin: 0 4px; }
  .pc-menu a { font-size: .8rem; padding: 5px 2px; }
  .pc-menu a.pc-menu-rec { font-size: .78rem; padding: 0.3rem 0.8rem; }
}
