@charset "UTF-8";
/*
Theme Name: reisan
Theme URI:
Author: PEEES
Description: 株式会社礼山鉱商 コーポレートサイト（ペンプレ♣/c3-3 ベース｜あたたかいオレンジ系・丸ゴシック仕様）
Version: 1.0.0
*/
/* =============================================================
   礼山鉱商テーマ  ─ カラー：濃オレンジ × アプリコット × クリーム
   フォント：Zen Maru Gothic（見出し）/ Noto Sans JP（本文）/ Comfortaa（英字）
   ※ビルドツール未導入のため style.scss と同一内容（プレーンCSS）で管理
   ============================================================= */
:root {
  --main-text:#4a3a2e;
  --bg:#fffdf9;
  --orange:#e8763a;
  --orange-deep:#d05f22;
  --orange-soft:#f5a662;
  --apricot:#fbe3cc;
  --cream:#fff5ea;
  --footer:#5c4433;
  --shape:rgba(232,118,58,.10);
  --shape-header:rgba(232,118,58,.85);
  --grad:linear-gradient(135deg,#e8763a,#f5a662);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--main-text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 1rem;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  vertical-align: bottom;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.5;
}

.en {
  font-family: "Comfortaa", cursive;
}

.wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.br_pc {
  display: inline;
}

.br_sp {
  display: none;
}

/* 電話リンク（PCは無効化） */
.tel-link {
  cursor: text;
  text-decoration: none;
  pointer-events: none;
}

/* ---------- fade-in（jQueryが .scroll-in を付与） ---------- */
.fade-in {
  opacity: 0;
  transition-duration: 0.9s;
  transition-property: opacity, transform;
}

.fade-in-up {
  transform: translate(0, 50px);
}

.fade-in-down {
  transform: translate(0, -50px);
}

.fade-in-left {
  transform: translate(-50px, 0);
}

.fade-in-right {
  transform: translate(50px, 0);
}

.scroll-in {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- プレースホルダ（画像未登録時） ---------- */
.ph {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  min-height: 200px;
  border-radius: inherit;
  background: linear-gradient(135deg, #fbe3cc 0%, #f9d3ae 55%, #f5b57e 100%);
  color: #c46a32;
}

.ph i {
  font-size: 2.4rem;
  opacity: 0.75;
}

.ph span {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* ---------- 共通ロゴ ---------- */
.logo_mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.logo_name {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  line-height: 1.3;
}

.logo_name small {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  font-weight: 500;
  opacity: 0.9;
}

.logo_name b {
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* =============================================================
   ローディング
   ============================================================= */
#loading {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.loading_text {
  text-align: center;
}

.loadingText {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--orange);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}

.pulse-container {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.pulse-bubble {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 0.6s ease infinite alternate;
}

.pulse-bubble-2 {
  animation-delay: 0.2s;
}

.pulse-bubble-3 {
  animation-delay: 0.4s;
}

@keyframes pulse {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0.3;
    transform: scale(0.75);
  }
}
/* =============================================================
   ヘッダー PC
   ============================================================= */
header {
  position: relative;
  z-index: 100;
}

#header_pc {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 3% 0 0;
}

#header_pc .header_logo {
  padding: 0 0 0 18px;
}

/* ロゴ（アイコン＋社名／画像）を包む角丸背景。幅・高さは中身に自動フィット */
#header_pc .header_logo a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  padding: 12px 22px 14px;
  background: var(--shape-header);
  border-radius: 0 0 40px 16px;
  box-shadow: 0 6px 18px rgba(200, 90, 30, 0.25);
}

#header_pc .header_logo img {
  max-height: 44px;
  width: auto;
}

#header_pc .logo_mark {
  width: 44px;
  height: 44px;
  font-size: 1.25rem;
}

#header_pc .logo_name b {
  font-size: 0.88rem;
}

#header_pc .logo_name small {
  font-size: 0.6rem;
}

/* 背景画像でも白文字が見えるよう、メニューに半透明の下地を敷く。長いメニューは折り返さず1行維持 */
.header_menu ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  padding: 12px 10px 8px;
  background: rgba(70, 38, 16, 0.32);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 0 0 22px 22px;
}

.header_menu li a {
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: 0.8rem;
  white-space: nowrap;
  padding: 7px 9px;
  border-radius: 24px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  transition: 0.3s;
  font-family: "Zen Maru Gothic", sans-serif;
  line-height: 1.4;
}

.header_menu li a span {
  font-family: "Comfortaa", cursive;
  font-size: 0.55rem;
  opacity: 0.85;
  letter-spacing: 0.06em;
}

.header_menu li a:hover {
  background: rgba(255, 255, 255, 0.22);
}

.header_menu li a.sns-link {
  font-size: 1rem;
  padding: 7px 8px;
}

/* ヘッダー SP */
#header_sp {
  display: none;
}

/* =============================================================
   スライダー（TOP）
   ============================================================= */
#top_main {
  position: relative;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
}

#top_main .top_main, #top_main .slider, #top_main .slick-img {
  height: 100%;
}

#top_main .slick-img img {
  width: 100%;
  height: 78vh;
  min-height: 520px;
  -o-object-fit: cover;
     object-fit: cover;
}

#top_main .slick-list, #top_main .slick-track {
  height: 100%;
}

.slick-dots {
  display: none !important;
}

#top_main::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -60px;
  width: 120%;
  height: 120px;
  z-index: 4;
  background: var(--bg);
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}

.slider_text {
  position: absolute;
  left: 8%;
  bottom: 22%;
  z-index: 5;
}

.slider_text h1 {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-shadow: 0 2px 14px rgba(150, 70, 20, 0.45);
  font-family: "Zen Maru Gothic", sans-serif;
}

.slider_text h2 {
  display: inline-block;
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--orange-deep);
  background: rgba(255, 250, 243, 0.92);
  padding: 8px 22px;
  border-radius: 30px;
  letter-spacing: 0.1em;
  font-family: "Zen Maru Gothic", sans-serif;
}

/* =============================================================
   セクション見出し共通
   ============================================================= */
#top_news h1, #flex_contents h1, #footer_contact h1 {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.08em;
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 34px;
}

#top_news h1::after, #flex_contents h1::after, #footer_contact h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: var(--grad);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

/* =============================================================
   What's New
   ============================================================= */
#top_news {
  position: relative;
  padding: 90px 0 70px;
}

#top_news::before {
  content: "";
  position: absolute;
  top: 30px;
  left: -140px;
  width: 380px;
  height: 380px;
  z-index: -1;
  background: var(--shape);
  border-radius: 46% 54% 60% 40%/50% 45% 55% 50%;
}

#top_news .top_news_btn {
  max-width: 760px;
  margin: 0 auto 8px;
  padding: 0 5%;
  text-align: right;
}

#top_news .top_news_btn button {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.8rem;
  color: var(--orange-deep);
  background: var(--cream);
  border: 1px solid var(--apricot);
  border-radius: 20px;
  padding: 6px 18px;
  cursor: pointer;
  transition: 0.3s;
}

#top_news .top_news_btn button:hover {
  background: var(--apricot);
}

#top_news .top_news_contents {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 5%;
}

#top_news .top_news_contents li {
  display: flex;
  gap: 22px;
  align-items: baseline;
  padding: 16px 8px;
  border-bottom: 1px dashed var(--apricot);
  transition: 0.3s;
}

#top_news .top_news_contents a:hover li {
  background: var(--cream);
}

#top_news .date {
  font-family: "Comfortaa", cursive;
  font-size: 0.8rem;
  color: var(--orange);
  white-space: nowrap;
}

#top_news .title {
  font-size: 0.95rem;
}

/* =============================================================
   Greeting
   ============================================================= */
#greeting {
  padding: 60px 0;
}

#bg-greeting {
  display: flex;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(200, 120, 60, 0.14);
  background-color: var(--apricot);
  min-height: 360px;
}

.greeting_img {
  flex: 1 1 42%;
}

.greeting_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

#text-greeting {
  flex: 1 1 58%;
  background: #fff;
  padding: 56px 6%;
}

#text-greeting h1 {
  font-size: 1.7rem;
  color: var(--orange-deep);
  margin-bottom: 4px;
  font-family: "Comfortaa", cursive;
}

#text-greeting .sub {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--orange-soft);
  display: block;
  margin-bottom: 22px;
  font-weight: 700;
}

#text-greeting p {
  font-size: 0.95rem;
}

/* =============================================================
   川口を福祉大国に（top_contents）
   ============================================================= */
#top_contents {
  margin: 70px 0;
  padding: 90px 0 100px;
  position: relative;
  color: #fff;
  background: var(--grad);
}

#top_contents::before, #top_contents::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 70px;
  background: var(--bg);
}

#top_contents::before {
  top: -1px;
  border-radius: 0 0 50% 50%/0 0 100% 100%;
}

#top_contents::after {
  bottom: -1px;
  border-radius: 50% 50% 0 0/100% 100% 0 0;
}

#top_contents_box {
  max-width: 940px;
  margin: 0 auto;
  padding: 40px 5% 0;
  text-align: center;
}

#top_contents_box h1 {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(160, 70, 20, 0.3);
}

#top_contents_box > p {
  max-width: 680px;
  margin: 0 auto 24px;
  font-size: 0.95rem;
}

.ssk_words {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.ssk_words li {
  background: rgba(255, 255, 255, 0.94);
  color: var(--orange-deep);
  border-radius: 60px;
  padding: 12px 30px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(140, 60, 15, 0.22);
}

.ssk_words li b {
  font-family: "Comfortaa", cursive;
  margin-right: 8px;
  font-size: 1.2rem;
}

.top_contents_img ul {
  display: flex;
  gap: 28px;
  justify-content: center;
}

.top_contents_img li {
  width: 340px;
  height: 230px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(140, 60, 15, 0.28);
  transform: rotate(-1.5deg);
}

.top_contents_img li img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.top_contents_img li:last-child {
  transform: rotate(1.5deg);
}

/* =============================================================
   Contents（バナー）
   ============================================================= */
#flex_contents {
  padding: 40px 0 90px;
  position: relative;
}

#flex_contents::before {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -160px;
  width: 420px;
  height: 420px;
  z-index: -1;
  background: var(--shape);
  border-radius: 55% 45% 40% 60%/45% 55% 45% 55%;
}

#bnr-wrap {
  display: flex;
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

#bnr-wrap li {
  flex: 1;
}

.bnr-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 300px;
  border-radius: 26px;
  overflow: hidden;
  padding: 0 24px 22px;
  box-shadow: 0 10px 26px rgba(200, 120, 60, 0.16);
  transition: 0.4s;
}

.bnr-link:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(200, 120, 60, 0.26);
}

.bnr-link .bnr-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
}

.bnr-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(120, 55, 15, 0.72) 0%, rgba(120, 55, 15, 0.1) 55%, transparent 100%);
}

.bnr-link h2, .bnr-link p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.bnr-link h2 {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.bnr-link p {
  font-size: 0.8rem;
  opacity: 0.92;
}

/* =============================================================
   footer contact
   ============================================================= */
#footer_contact {
  position: relative;
}

.footer_contact {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
  background: var(--cream);
  background-size: cover;
  background-position: center;
}

.footer_contact::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -100px;
  width: 340px;
  height: 340px;
  background: var(--shape);
  border-radius: 50% 50% 55% 45%/55% 45% 50% 50%;
}

.footer_contact_contents {
  position: relative;
  z-index: 2;
  text-align: center;
}

.footer_contact_content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.footer_contact_tel a button {
  font-family: "Comfortaa", cursive;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--orange-deep);
  background: none;
  border: none;
  cursor: pointer;
}

.footer_contact_tel button i {
  margin-right: 12px;
  font-size: 1.3rem;
}

.footer_contact_tel ul {
  font-size: 0.85rem;
  color: #8a7361;
  margin-top: 6px;
}

.footer_contact_form button {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 40px;
  padding: 18px 46px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 118, 58, 0.35);
  transition: 0.3s;
}

.footer_contact_form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(232, 118, 58, 0.45);
}

.footer_contact_form button i {
  margin-right: 10px;
}

/* =============================================================
   footer
   ============================================================= */
footer {
  background: var(--footer);
  color: #fff;
  padding: 50px 0 0;
}

.footer_menu {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}

.footer_menu ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-bottom: 18px;
}

.footer_menu li a {
  font-size: 0.85rem;
  opacity: 0.9;
  transition: 0.3s;
}

.footer_menu li a:hover {
  opacity: 1;
  color: var(--orange-soft);
}

.footer_menu ul:last-child a {
  font-size: 1.15rem;
}

.footer_logo_eria {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 20px 5% 30px;
}

.footer_logo_img a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.footer_logo_img img {
  max-height: 48px;
  width: auto;
}

.footer_logo_img .logo_mark {
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

.footer_logo_info ul {
  font-size: 0.83rem;
  opacity: 0.9;
}

.footer_logo_info i {
  margin-right: 8px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  text-align: center;
  padding: 16px;
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 10px;
}

/* ページトップ（PCは丸ボタンのみ・SPはラベル付きを別途表示） */
.back-to-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(232, 118, 58, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.topBtnSp {
  display: none;
}

/* =============================================================
   下層共通
   ============================================================= */
#lower {
  position: relative;
  padding-top: 440px;
}

#lower .lower {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
  background-color: var(--apricot);
}

#lower .lower_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 440px;
  background: linear-gradient(120deg, rgba(232, 118, 58, 0.55), rgba(245, 166, 98, 0.3));
}

.lower_contents {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  padding-top: 90px; /* 上に重なるヘッダー分を差し引き、見える領域で上下中央に */
}

.lower_contents h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.14em;
  text-shadow: 0 2px 12px rgba(150, 70, 20, 0.5);
}

.lower_contents p {
  font-family: "Comfortaa", cursive;
  color: #fff;
  letter-spacing: 0.3em;
  font-size: 0.9rem;
  text-shadow: 0 2px 8px rgba(150, 70, 20, 0.5);
}

/* リード文はヒーローの下に通常フローで配置（重なり防止） */
#lower .lower-header-wrap {
  position: relative;
  z-index: 3;
  padding: 34px 5% 0;
}

#lower .lower-comment {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

#lower .lower-comment p {
  color: var(--main-text);
  font-size: 0.95rem;
}

/* 下層の重複見出しブロック（#lower に集約するため非表示） */
.contents_top {
  display: none;
}

/* =============================================================
   会社概要
   ============================================================= */
#philosophy {
  max-width: 820px;
  margin: 70px auto;
  padding: 50px 6%;
  text-align: center;
  background: var(--cream);
  border-radius: 30px;
  position: relative;
}

#philosophy::before {
  content: "\f004";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
}

#philosophy h2 {
  color: var(--orange-deep);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

#philosophy p {
  font-size: 0.95rem;
}

.company_contents {
  max-width: 860px;
  margin: 0 auto 70px;
  padding: 0 5%;
}

.company_contents h3, .sales h3, .history h3 {
  font-size: 1.2rem;
  color: var(--orange-deep);
  margin-bottom: 22px;
  font-family: "Zen Maru Gothic", sans-serif;
}

.company_contents h3 i, .sales h3 i, .history h3 i {
  margin-right: 10px;
}

.company_contents table, .history table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(200, 120, 60, 0.1);
}

.company_contents th, .company_contents td, .history th, .history td {
  padding: 16px 22px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--apricot);
  text-align: left;
  vertical-align: top;
}

.company_contents th, .history th {
  width: 170px;
  background: var(--cream);
  color: var(--orange-deep);
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
}

.company_contents tr:last-child th, .company_contents tr:last-child td {
  border-bottom: none;
}

.map {
  margin-top: 34px;
  border-radius: 18px;
  overflow: hidden;
  height: 320px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#sales {
  padding: 0 0 90px;
}

.sales {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5%;
}

.sales ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.sales li {
  flex: 1 1 320px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(200, 120, 60, 0.1);
}

.sales_name {
  background: var(--grad);
  color: #fff;
  padding: 12px 22px;
}

.sales_name h4 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.05rem;
}

.sales_contents {
  padding: 18px 22px;
  font-size: 0.88rem;
}

.sales_contents .tel i {
  margin-right: 8px;
  color: var(--orange);
}

#history {
  padding: 0 0 90px;
}

.history {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5%;
}

/* =============================================================
   グループホームSSK
   ============================================================= */
#home .home_intro {
  max-width: 820px;
  margin: 64px auto 10px;
  padding: 0 5%;
  text-align: center;
}

#home .home_intro h2 {
  font-size: 1.6rem;
  color: var(--orange-deep);
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 8px;
}

#home .home_intro h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 5px;
  border-radius: 3px;
  background: var(--grad);
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.ssk_meaning {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 10px;
  flex-wrap: wrap;
}

.ssk_meaning li {
  background: var(--cream);
  border: 1.5px solid var(--apricot);
  border-radius: 60px;
  padding: 10px 26px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  color: var(--orange-deep);
}

.ssk_meaning li b {
  font-family: "Comfortaa", cursive;
  margin-right: 8px;
  color: var(--orange);
}

.home_list {
  max-width: 1100px;
  margin: 50px auto 90px;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 36px;
}

.home_card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(200, 120, 60, 0.12);
  transition: 0.3s;
}

.home_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(200, 120, 60, 0.18);
}

.home_card .card_head {
  padding: 28px 30px 18px;
}

.home_card .card_img {
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--cream);
}

.home_card .card_img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.home_card .card_body {
  padding: 24px 30px 30px;
}

.home_num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Comfortaa", cursive;
  color: var(--orange);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.home_num::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}

.home_card h2 {
  font-size: 1.3rem;
  color: var(--orange-deep);
  line-height: 1.5;
}

.home_card p {
  font-size: 0.92rem;
}

.home_tag {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.home_tag span {
  font-size: 0.75rem;
  background: var(--cream);
  color: var(--orange-deep);
  border-radius: 20px;
  padding: 4px 14px;
}

/* =============================================================
   相談支援・訪問介護（service）
   ============================================================= */
#service .service {
  max-width: 1000px;
  margin: 60px auto 90px;
  padding: 0 5%;
}

#service .service_contents ul {
  display: block;
}

#service .service_contents li {
  display: flex;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(200, 120, 60, 0.12);
  margin-bottom: 40px;
}

#service .service_contents li .contents_box {
  display: flex;
  width: 100%;
}

#service .service_contents li.reverse .contents_box {
  flex-direction: row-reverse;
}

#service .list_writing {
  flex: 1 1 55%;
  padding: 44px 5%;
}

#service .list_image {
  flex: 1 1 45%;
  min-height: 300px;
}

#service .list_image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.service_icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

#service .list_writing h2 {
  font-size: 1.4rem;
  color: var(--orange-deep);
  margin-bottom: 14px;
}

#service .list_writing p {
  font-size: 0.92rem;
}

.service_detail_list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

#service .service_contents .service_detail_list li {
  display: block;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
  margin: 0 0 8px;
  padding: 0 0 0 20px;
  position: relative;
  font-size: 0.92rem;
}

#service .service_contents .service_detail_list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* 主なサービス内容パネル */
.service_detail {
  margin: 22px 0 0;
  background: var(--cream);
  border-radius: 16px;
  padding: 20px 22px;
}

.service_detail .service_detail_list {
  margin: 6px 0 0;
}

.service_detail_label, .service_area_label {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--orange-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service_detail_label::before, .service_area_label::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--grad);
}

/* 対応エリア（タグ） */
.service_area {
  margin: 20px 0 0;
  max-width: 560px;
}

#service .service_contents .service_area_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 10px;
}

#service .service_contents .service_area_list li {
  display: block;
  background: #fff;
  border: 1px solid var(--apricot);
  border-radius: 20px;
  box-shadow: none;
  overflow: visible;
  margin: 0;
  padding: 5px 14px;
  font-size: 0.8rem;
  color: var(--orange-deep);
  text-align: center;
}

/* セクション締めコピー */
.service_catch {
  margin: 22px 0 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--orange-deep);
  line-height: 1.7;
  padding-left: 16px;
  border-left: 4px solid var(--orange);
  border-radius: 2px;
}

/* ページ最下部 締めバンド */
#service_closing {
  margin-top: 20px;
  padding: 70px 5%;
  background: var(--grad);
  color: #fff;
  text-align: center;
}

.service_closing_inner {
  max-width: 820px;
  margin: 0 auto;
}

.service_closing_inner p {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(160, 70, 20, 0.3);
  text-wrap: balance;
}

/* サービスカード：長文でも縦長になりすぎないよう画像を上部バナー化＋本文は全幅 */
#service .service_contents li .contents_box,
#service .service_contents li.reverse .contents_box {
  flex-direction: column;
}

#service .list_image {
  flex: none;
  width: 100%;
  height: 380px;
  min-height: 0;
}

#service .list_image img {
  -o-object-position: center 30%;
     object-position: center 30%;
}

#service .list_writing {
  flex: none;
  width: 100%;
  padding: 38px 6% 42px;
}

/* 主なサービス内容は横幅を活かして2カラム（PCのみ） */
@media screen and (min-width: 769px) {
  .service_detail .service_detail_list {
    -moz-columns: 2;
         columns: 2;
    -moz-column-gap: 30px;
         column-gap: 30px;
  }
  .service_detail .service_detail_list li {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
    margin-bottom: 10px;
  }
}
/* =============================================================
   採用情報
   ============================================================= */
.recruit_anchor {
  max-width: 880px;
  margin: 30px auto 0;
  padding: 0 5%;
}

.recruit_anchor ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.recruit_anchor a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange-deep);
  background: var(--cream);
  border: 1px solid var(--apricot);
  border-radius: 44px;
  padding: 11px 24px;
  transition: 0.3s;
}

.recruit_anchor a::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--orange-soft);
}

.recruit_anchor a:hover {
  background: var(--apricot);
  transform: translateY(-2px);
}

.recruit_anchor a.is-contact {
  color: #fff;
  background: var(--grad);
  border-color: transparent;
}

.recruit_anchor a.is-contact::after {
  color: rgba(255, 255, 255, 0.85);
}

#recruit .recruit_content, #contact {
  scroll-margin-top: 30px;
}

#recruit .recruit {
  max-width: 880px;
  margin: 60px auto 40px;
  padding: 0 5%;
}

.recruit_catch_box {
  background: var(--cream);
  border-radius: 24px;
  padding: 44px 6%;
  margin: 20px 0 0;
}

.recruit_catch {
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--orange-deep);
  letter-spacing: 0.05em;
  margin: 0 0 14px;
}

.recruit_catch_text {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.9;
}

.recruit_content {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 44px;
  box-shadow: 0 10px 28px rgba(200, 120, 60, 0.12);
}

.recruit_content > h2 {
  background: var(--grad);
  color: #fff;
  padding: 18px 28px;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.recruit_content > div {
  padding: 14px 28px 26px;
}

.recruit_content dl {
  display: flex;
  border-bottom: 1px dashed var(--apricot);
  padding: 13px 4px;
  font-size: 0.9rem;
}

.recruit_content dl:last-child {
  border-bottom: none;
}

.recruit_content dt {
  width: 160px;
  flex-shrink: 0;
  color: var(--orange-deep);
  font-weight: 700;
  font-family: "Zen Maru Gothic", sans-serif;
}

.recruit_content dd {
  flex: 1;
}

.recruit_btn {
  text-align: center;
  margin: 20px 0 90px;
}

.recruit_btn button {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 44px;
  padding: 18px 70px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(232, 118, 58, 0.35);
  transition: 0.3s;
}

.recruit_btn button:hover {
  transform: translateY(-3px);
}

/* =============================================================
   お問い合わせ（Contact Form 7）
   ============================================================= */
#contact .contact {
  max-width: 880px;
  margin: 60px auto 90px;
  padding: 0 5%;
}

#contact .contact_form_title {
  text-align: center;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--orange-deep);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

#contact .contact_form_title i {
  color: var(--orange-soft);
  margin-right: 10px;
}

#contact .form {
  background: #fff;
  border-radius: 26px;
  padding: 44px 6%;
  box-shadow: 0 10px 28px rgba(200, 120, 60, 0.12);
}

#contact .form p {
  margin-bottom: 4px;
}

#contact .form label {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 22px;
}

/* 必須（.red）／任意（.blue）バッジ */
#contact .form .red, #contact .form .blue {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  font-family: "Zen Maru Gothic", sans-serif;
}

#contact .form .red {
  background: #e5533d;
}

#contact .form .blue {
  background: #4a90d9;
}

#contact .form input[type=text],
#contact .form input[type=email],
#contact .form input[type=tel],
#contact .form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: 1.5px solid var(--apricot);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  transition: 0.3s;
}

#contact .form input:focus, #contact .form textarea:focus {
  outline: none;
  border-color: var(--orange);
}

#contact .form textarea {
  height: 160px;
  resize: vertical;
}

.wpcf7-not-valid-tip {
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 400;
}

#contact .form .wpcf7-submit,
#contact .form input[type=submit] {
  display: block;
  width: auto;
  margin: 30px auto 0;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 40px;
  padding: 16px 66px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(232, 118, 58, 0.35);
  transition: 0.3s;
}

#contact .form .wpcf7-submit:hover {
  transform: translateY(-3px);
}

/* =============================================================
   プライバシーポリシー
   ============================================================= */
/* 上部の説明文を本文（#policy）と同じ幅・左端に揃え、左揃えにする */
#lower .lower-header-wrap.policy-lower {
  padding-left: 0;
  padding-right: 0;
}

#lower .policy-comment {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 5%;
  text-align: left;
}

#policy {
  max-width: 820px;
  margin: 60px auto 90px;
  padding: 0 5%;
}

#policy h2 {
  font-size: 1.05rem;
  color: var(--orange-deep);
  margin: 34px 0 10px;
  padding-left: 16px;
  border-left: 5px solid var(--orange);
  border-radius: 3px;
}

#policy h2:first-child {
  margin-top: 0;
}

#policy p {
  font-size: 0.9rem;
}

/* =============================================================
   お知らせ（news 一覧・詳細）
   ============================================================= */
#news .news {
  max-width: 880px;
  margin: 50px auto 90px;
  padding: 0 5%;
}

#news .news_contents > p {
  text-align: center;
  margin-bottom: 24px;
  color: #8a7361;
  font-size: 0.9rem;
}

#news .news_contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#news .news_contents a {
  display: block;
  text-decoration: none;
  color: inherit;
}

#news .news_contents li {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding: 20px 12px;
  border-bottom: 1px dashed var(--apricot);
  transition: 0.3s;
  background: #fff;
  border-radius: 14px;
  margin-bottom: 10px;
  box-shadow: 0 6px 18px rgba(200, 120, 60, 0.08);
}

#news .news_contents .outline {
  flex: 1;
  min-width: 0;
}

#news .news_contents a:hover li {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(200, 120, 60, 0.15);
}

#news .news_contents .date {
  font-family: "Comfortaa", cursive;
  font-size: 0.8rem;
  color: var(--orange);
  white-space: nowrap;
  padding-top: 4px;
}

#news .news_contents .sp_title {
  display: flex;
  align-items: center;
  gap: 10px;
}

#news .news_contents .sp_title .title {
  flex: 1;
  min-width: 0;
}

#news .news_contents .sp_title i {
  flex-shrink: 0;
  color: var(--orange);
}

#news .news_contents .title {
  font-weight: 700;
  color: var(--orange-deep);
}

#news .news_contents .descn p {
  font-size: 0.85rem;
  color: #8a7361;
}

#news .navigation {
  text-align: center;
  margin-top: 30px;
}

.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 3px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--orange-deep);
  border: 1px solid var(--apricot);
}

.wp-pagenavi span.current {
  background: var(--grad);
  color: #fff;
  border: none;
}

#single-news {
  max-width: 820px;
  margin: 50px auto 90px;
  padding: 0 5%;
}

/* ブログ（詳細ページ） */
#blog_single .blog_single {
  max-width: 880px;
  margin: 60px auto 90px;
  padding: 0 5%;
}

.blog_article {
  background: #fff;
  border-radius: 24px;
  padding: 48px 7% 54px;
  box-shadow: 0 10px 28px rgba(200, 120, 60, 0.12);
}

.blog_article_head {
  border-bottom: 2px solid var(--apricot);
  padding-bottom: 22px;
  margin-bottom: 32px;
}

.blog_article_head .date {
  font-family: "Comfortaa", cursive;
  font-size: 0.85rem;
  color: var(--orange);
  margin-bottom: 10px;
}

.blog_article_title {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.55;
  color: var(--orange-deep);
  letter-spacing: 0.03em;
}

.blog_article_body {
  font-size: 0.98rem;
  line-height: 2;
  color: var(--main-text);
}

.blog_article_body > *:first-child {
  margin-top: 0;
}

.blog_article_body p {
  margin: 0 0 1.5em;
}

.blog_article_body h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.25rem;
  color: var(--orange-deep);
  margin: 1.8em 0 0.8em;
  padding-left: 14px;
  border-left: 5px solid var(--orange-soft);
  line-height: 1.5;
}

.blog_article_body h3 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 1.1rem;
  color: var(--orange-deep);
  margin: 1.6em 0 0.6em;
}

.blog_article_body a {
  color: var(--orange);
  text-decoration: underline;
}

.blog_article_body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 12px 0;
}

.blog_article_body ul, .blog_article_body ol {
  margin: 0 0 1.5em 1.4em;
}

.blog_article_body li {
  margin-bottom: 0.5em;
}

.blog_article_body blockquote {
  margin: 0 0 1.5em;
  padding: 16px 22px;
  background: var(--cream);
  border-left: 5px solid var(--apricot);
  border-radius: 12px;
  color: #7a6553;
}

.blog_empty {
  text-align: center;
  color: #8a7361;
  padding: 40px 0;
}

.blog_back {
  text-align: center;
  margin-top: 44px;
}

.blog_back button {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  background: var(--grad);
  border: none;
  border-radius: 44px;
  padding: 15px 60px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(232, 118, 58, 0.35);
  transition: 0.3s;
}

.blog_back button:hover {
  transform: translateY(-3px);
}

/* =============================================================
   レスポンシブ
   ============================================================= */
/* 狭いPC幅ではヘッダーメニューをさらに一段コンパクトにして折り返しを防ぐ */
@media screen and (min-width: 1025px) and (max-width: 1180px) {
  #header_pc .header_logo img {
    max-height: 40px;
  }
  #header_pc .header_logo a {
    padding: 10px 18px 12px;
  }
  .header_menu li a {
    font-size: 0.74rem;
    padding: 6px 7px;
  }
  .header_menu li a span {
    font-size: 0.5rem;
  }
}
@media screen and (max-width: 1024px) {
  .slider_text h1 {
    font-size: 2rem;
  }
  #bnr-wrap {
    flex-wrap: wrap;
  }
  #bnr-wrap li {
    flex: 1 1 46%;
  }
}
/* ヘッダーはタブレットでもSP（ハンバーガー）表示に切替（メニュー文字数増加のため） */
@media screen and (max-width: 1024px) {
  body {
    padding-bottom: 70px;
  }
  /* ヘッダー切替 */
  #header_pc {
    display: none;
  }
  #header_sp {
    display: block;
  }
  .header_sp {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 60;
  }
  /* ロゴ背景はPC同様、角丸タブとしてロゴにフィットさせる（旧::before装飾は廃止） */
  .header_sp .header_logo {
    padding: 0;
  }
  .header_sp .header_logo a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    padding: 12px 20px 14px 16px;
    background: var(--shape-header);
    border-radius: 0 0 28px 12px;
    box-shadow: 0 5px 16px rgba(200, 90, 30, 0.25);
  }
  .header_sp .logo_mark {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
  .header_sp .logo_name b {
    font-size: 0.8rem;
  }
  .header_sp .header_logo img {
    max-height: 40px;
    width: auto;
  }
  .header_sp_bottom {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 200;
    background: #fff;
    box-shadow: 0 -4px 18px rgba(150, 80, 30, 0.14);
  }
  .header_sp_bottom > ul {
    display: flex;
  }
  .header_sp_bottom > ul > li {
    flex: 1;
    text-align: center;
  }
  .header_sp_bottom > ul > li > a, .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    color: var(--orange-deep);
    cursor: pointer;
  }
  /* アイコン部を全項目で同じ高さ(24px)にして、ラベル位置を揃える */
  .header_icon {
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
  }
  .header_sp_bottom p {
    margin-top: 4px;
    font-size: 0.56rem;
    font-family: "Comfortaa", cursive;
    letter-spacing: 0.03em;
  }
  .hamburger {
    position: relative;
    z-index: 300;
  }
  /* 3本線をアイコン枠(24px)にまとめ、フォントアイコンと高さを合わせる */
  .hamburger .bars {
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
  .hamburger .bars span {
    display: block;
    width: 22px;
    height: 2.5px;
    border-radius: 2px;
    background: var(--orange-deep);
    transition: 0.35s;
  }
  .hamburger.active .bars span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .hamburger.active .bars span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bars span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
  /* メニュー展開中はオレンジ背景に重なるため、閉じる(×)ボタンとラベルを白に */
  .hamburger.active {
    color: #fff;
  }
  .hamburger.active .bars span {
    background: #fff;
  }
  .globalMenuSp {
    position: fixed;
    inset: 0;
    z-index: 250;
    background: rgba(232, 118, 58, 0.96);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  .globalMenuSp.active {
    opacity: 1;
    visibility: visible;
  }
  .globalMenuSp .ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .globalMenuSp .ul:last-child {
    flex-direction: row;
    gap: 26px;
  }
  .globalMenuSp a {
    color: #fff;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
  }
  .globalMenuSp .sns-link {
    font-size: 1.3rem;
  }
  .header_sp_policy a {
    color: #fff;
    font-size: 0.8rem;
    opacity: 0.85;
  }
}
@media screen and (max-width: 768px) {
  .br_pc {
    display: none;
  }
  .br_sp {
    display: inline;
  }
  /* スライダー */
  #top_main {
    height: 64vh;
    min-height: 440px;
  }
  #top_main .slick-img img {
    height: 64vh;
    min-height: 440px;
  }
  .slider_text {
    left: 6%;
    bottom: 18%;
  }
  .slider_text h1 {
    font-size: 1.5rem;
  }
  .slider_text h2 {
    font-size: 0.85rem;
    padding: 6px 16px;
  }
  /* 見出し */
  #top_news h1, #flex_contents h1, #footer_contact h1 {
    font-size: 1.45rem;
  }
  /* greeting */
  #bg-greeting {
    flex-direction: column;
    margin: 0 5%;
  }
  .greeting_img {
    min-height: 240px;
  }
  #text-greeting {
    padding: 36px 7%;
  }
  /* top_contents */
  #top_contents_box h1 {
    font-size: 1.35rem;
  }
  #top_contents_box > p {
    text-align: left;
  }
  .top_contents_img ul {
    flex-direction: column;
    align-items: center;
  }
  .top_contents_img li {
    width: min(340px, 86%);
  }
  /* バナー */
  #bnr-wrap {
    flex-direction: column;
  }
  .bnr-link {
    height: 220px;
  }
  /* footer contact */
  .footer_contact_content {
    flex-direction: column;
    gap: 22px;
  }
  /* 下層 */
  #lower {
    padding-top: 330px;
  }
  #lower .lower, #lower .lower_bg, .lower_contents {
    height: 330px;
  }
  .lower_contents {
    padding-top: 56px;
  }
  .lower_contents h1 {
    font-size: 1.5rem;
  }
  #lower .lower-header-wrap {
    padding: 24px 7% 0;
  }
  #lower .lower-comment {
    text-align: left;
  }
  #lower .lower-comment p {
    font-size: 0.9rem;
  }
  /* home：スマホは1カラム */
  .home_list {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  /* service：縦積み */
  #service .service_contents li .contents_box,
  #service .service_contents li.reverse .contents_box {
    flex-direction: column;
  }
  .home_card .card_body, #service .list_writing {
    padding: 28px 7%;
  }
  #service .list_image {
    min-height: 220px;
  }
  /* サービス長文レイアウト */
  #service .list_image {
    height: 240px;
  }
  #service .service_contents .service_area_list {
    grid-template-columns: repeat(2, 1fr);
  }
  .service_catch {
    font-size: 1rem;
  }
  #service_closing {
    padding: 48px 7%;
  }
  .service_closing_inner p {
    font-size: 1.2rem;
  }
  /* 採用 */
  .recruit_content dl {
    flex-direction: column;
  }
  .recruit_content dt {
    width: auto;
    margin-bottom: 2px;
  }
  .recruit_btn button {
    padding: 16px 48px;
    width: min(320px, 86%);
  }
  /* お知らせ */
  #news .news_contents li {
    flex-direction: column;
    gap: 6px;
  }
  /* 見出し・本文の改行を自然に（スマホ時の段落ち防止） */
  #top_contents_box h1,
  #home .home_intro h2,
  .home_card h2,
  #service .list_writing h2,
  .recruit_content > h2,
  .recruit_catch {
    text-wrap: balance;
  }
  /* 「○○SSK 職種名」はフレーズ内で切らず、スペース位置で改行させる */
  .recruit_content > h2 {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  #philosophy p {
    text-align: left;
    text-wrap: pretty;
  }
  .recruit_catch_text {
    text-wrap: pretty;
  }
  /* 会社概要・沿革テーブル：SPは縦積みにして見やすく */
  .company_contents table, .company_contents tbody,
  .history table, .history tbody {
    display: block;
    width: 100%;
  }
  .company_contents tr, .history tr {
    display: block;
    padding: 8px 4px;
    border-bottom: 1px solid var(--apricot);
  }
  .company_contents tr:last-child, .history tr:last-child {
    border-bottom: none;
  }
  .company_contents th, .company_contents td,
  .history th, .history td {
    display: block;
    width: 100%;
    border-bottom: none;
  }
  .company_contents th, .history th {
    background: transparent;
    padding: 8px 18px 0;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
  }
  .company_contents td, .history td {
    padding: 2px 18px 8px;
    font-size: 0.92rem;
  }
  /* ページトップ（SPはラベル付きボタンのみ表示） */
  .back-to-top {
    display: none;
  }
  .topBtnSp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 80px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(232, 118, 58, 0.4);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
    line-height: 1.1;
  }
  .topBtnSp.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .topBtnSp i {
    font-size: 1rem;
  }
  .topBtnSp p {
    font-size: 0.5rem;
    margin-top: 2px;
  }
}/*# sourceMappingURL=style.css.map */