@import url(common.css);

/* ============================================================
   ケアホームページ専用CSS
   ============================================================ */

/* ============================================================
   ヘッダー：介護ページ専用カラー
   ============================================================ */

/* PCナビゲーションのレイアウト */
.care-page .header-nav {
  display: block;
  margin-left: auto;
}

.care-page .header-nav ul {
  display: flex;
  align-items: center;
  gap: 25px;
}

.care-page .header-nav a {
  position: relative;
  display: block;
  color: var(--color-text);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

/* アクティブページ・ホバー時 */
.care-page .header-nav a:hover,
.care-page .header-nav a.is-active {
  color: #ff5900;
}

/* ナビゲーションの下線 */
.care-page .header-nav a::after {
  background-color: #ff5900;
}

/* お問い合わせボタン */
/* お問い合わせボタン */
.care-page .header-contact {
  flex-shrink: 0;
}

/* ============================================================
   お問い合わせボタン（介護ページ専用カラー）
   ============================================================ */

/* お問い合わせボタン：介護ページ */
.care-page .header-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;

  color: #ffffff;
  background-color: #ff5900;
  border-color: #ff5900;
}

.care-page .header-contact .header-contact-icon {
  flex-shrink: 0;
}

.care-page .header-contact a:hover {
  color: #ffffff;
  background-color: #e94f00;
  border-color: #e94f00;
}

.care-page .header-contact .header-contact-icon {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.care-page .header-contact .header-contact-text {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  font: inherit;
  white-space: nowrap;
}

.care-page .header-contact a:hover {
  color: #ffffff;
  background-color: #e94f00;
  border-color: #e94f00;
}
/* ============================================================
   メインビジュアル：完成済み・変更しない
   ============================================================ */

.care-page .care-hero {
  position: relative;
  margin-bottom: 15px;
}

.care-page .care-hero-photo {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.care-page .care-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.care-page .care-hero-content {
  position: absolute;
  top: 30%;
  left: 5%;
  z-index: 2;
  width: 40%;
  transform: none;
  isolation: isolate;
  text-shadow: none;
}

.care-page .care-hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: -15px;
  right: 45%;
  bottom: 0;
  background: rgba(255, 255, 255, 0.55);
  filter: blur(20px);
  border-radius: 50%;
  pointer-events: none;
}

.care-page .care-hero-catch {
  font-size: 30px;
  color: #ff5900;
}

.care-page .care-hero-catch-large,
.care-page .care-hero-catch-large-word {
  font-size: 40px;
  font-weight: 700;
  color: #ff5900;
}

.care-page .care-hero-catch,
.care-page .care-hero-catch-large,
.care-page .care-hero-catch-large-word {
  -webkit-text-stroke: 10px #ffffff;
  paint-order: stroke fill;
}

.care-page #care-hero-heading {
  transform: translateY(-100px) rotate(-10deg);
  transform-origin: left center;
}

.care-page .care-hero-catch-large {
  position: relative;
}

.care-page .care-hero-catch-large::after {
  content: "";
  position: absolute;
  left: -250px;
  right: -130px;
  bottom: -8px;
  height: 8px;
  border-top: 3px solid #ffb36b;
  border-radius: 50% 50% 0 0;
  pointer-events: none;
}

.care-page .care-hero-description {
  position: relative;
  z-index: 2;
  margin-top: 0;
  transform: translateY(-80px);
}

.care-page .care-hero-description::before {
  content: none;
}

.care-page .care-hero-message {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 8%;
  width: 280px;
  margin: 0;
}

.care-page .care-hero-message img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============================================================
   サービス紹介
   ============================================================ */

.care-page .care-services {
  padding: 40px 0 50px;
}

.care-page .care-services .care-section {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
}

.care-page .care-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.care-page .care-service-card {
  position: relative;
  min-width: 0;
  height: 100%;
  overflow: visible;
  background: transparent;
  border: 1px solid #dededb;
  border-radius: 14px;
}

.care-page .care-service-image {
  position: relative;
  width: 100%;
  height: 180px;
  aspect-ratio: auto;
  overflow: visible;
}

.care-page .care-service-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px 13px 0 0;
}

.care-page .care-service-body {
  padding: 0 18px 24px;
}

.care-page .care-service-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: -50px 0 12px 16px;
  font-size: 46px;
  line-height: 1;
  color: #e89132;
}

.care-page .care-service-body h2 {
  margin: 0 0 12px;
  text-align: left;
  line-height: 1.6;
}

.care-page .care-service-body p {
  margin: 0;
  text-align: left;
  line-height: 1.9;
}

/* ============================================================
   1日の流れ
   ============================================================ */

.care-page .care-schedule {
  padding: 44px 0 48px;
  background-color: #fff3e5;
}

/* タイトル・説明文 */

.care-page .care-schedule > .care-section-heading {
  display: flex;
  align-items: center;
  gap: 0;
  width: 90%;
  max-width: 1800px;
  margin: 0 auto 28px;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  border-left: 5px solid #e89132;
  text-align: left;
}

.care-page .care-schedule > .care-section-heading .care-heading {
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 22px;
  background: transparent;
  border: 0;
}

.care-page .care-schedule > .care-section-heading > p {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 8px 22px;
  background: transparent;
  text-align: left;
}

/* 左右のレイアウト */

.care-page .care-schedule-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 午前・午後のタイムライン */

.care-page .care-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.care-page .care-schedule-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
}

/* 時間ラベル */

.care-page .care-schedule-row .care-time-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  height: 76px;
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  background: #e89132;
  border-radius: 9px;
  text-align: left;
  white-space: nowrap;
}

/* 太陽アイコン */

.care-page .care-schedule-row .care-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #ffffff;
  color: #e89132;
  font-size: 27px;
  line-height: 1;
}

/* 午前・午後の部と時間 */

.care-page .care-schedule-row .care-time-label strong,
.care-page .care-schedule-row .care-time-label small {
  display: block;
  margin: 0;
  color: #ffffff;
  line-height: 1.4;
  white-space: nowrap;
}

.care-page .care-schedule-row .care-time-label strong {
  font-size: 15px;
  font-weight: 700;
}

.care-page .care-schedule-row .care-time-label small {
  font-size: 12px;
}

/* 白いタイムライン帯 */

.care-page .care-schedule-row .care-timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: 4px;
  width: 100%;
  height: 76px;
  min-width: 0;
  margin: 0;
  padding: 0 8px;
  box-sizing: border-box;
  list-style: none;
  background: #ffffff;
  border-radius: 8px;
}

/* 各項目 */

.care-page .care-schedule-row .care-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  height: 76px;
  margin: 0;
  padding: 3px 0;
  box-sizing: border-box;
  text-align: center;
}

/* タイムラインのアイコン */

.care-page .care-schedule-row .care-timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100%;
  height: 30px;
  min-height: 0;
  color: #e89132;
  font-size: 26px;
  line-height: 1;
}

/* 項目の文字 */

.care-page .care-schedule-row .care-timeline li > span:last-child {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

/* 項目間の矢印 */

/* 項目間の矢印 */
.care-page .care-schedule-row .care-timeline li:not(:last-child)::after {
  content: "＞";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  color: #e89132;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

/* おすすめボックス */

.care-page .care-recommend {
  position: absolute;
  top: -56px;
  bottom: 0;
  right: 0;
  width: calc((100% - 28px) * 0.296296);
  min-width: 0;
  margin: 0;
  padding: 12px 16px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #f0d9c0;
  border-top: 4px solid #e89132;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.care-page .care-recommend h3 {
  flex-shrink: 0;
  margin: -12px -16px 8px;
  padding: 8px 12px;
  background: #e89132;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  border: 0;
  border-radius: 8px 8px 0 0;
  overflow-wrap: anywhere;
}

.care-page .care-recommend ul {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 40px);
  margin: 0;
  padding: 0 0 12px;
  list-style: none;
  box-sizing: border-box;
}

.care-page .care-recommend li {
  position: relative;
  margin: 0;
  padding: 8px 0 8px 20px;
  color: #444444;
  font-size: 13px;
  line-height: 1.5;
  border-bottom: 1px solid #f5e8db;
  overflow-wrap: anywhere;
  box-sizing: border-box;
}

.care-page .care-recommend li:last-child {
  padding-bottom: 12px;
  border-bottom: 0;
}

.care-page .care-recommend li::before {
  content: "✓";
  position: absolute;
  top: 8px;
  left: 0;
  color: #e89132;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

/* ============================================================
   スタッフ紹介
   ============================================================ */

.care-page .care-staff {
  width: 95%;
  max-width: 1800px;
  margin: 40px auto 0;
  padding: 12px 0 14px;
}

.care-page .care-staff .care-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 10px;
}

.care-page .care-staff .care-heading-group {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.care-page .care-staff .care-heading {
  flex-shrink: 0;
  margin: 0;
  padding-left: 12px;
  border-left: 5px solid #e89132;
  color: #10294b;
  font-size: 28px;
  line-height: 1.4;
}

.care-page .care-staff .care-heading-group p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.care-page .care-staff .care-outline-button {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 4px 12px;
  border: 1px solid #ff5900;
  border-radius: 20px;
  color: #ff5900;
  background: #ffffff;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

/* スタッフカード：6人を横一列に配置 */

.care-page .care-staff-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.care-page .care-staff-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #eeeeeb;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
}

/* 顔写真 */

.care-page .care-staff-card > img {
  display: block;
  width: 100%;
  height: 200px;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

/* 役職ラベル */

.care-page .care-staff-card .care-staff-role {
  position: absolute;
  top: 185px;
  left: 8px;
  z-index: 2;
  display: inline-block;
  max-width: calc(100% - 16px);
  padding: 5px 10px;
  overflow: hidden;
  background: #ff5900;
  border-radius: 3px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.care-page .care-staff-card:nth-child(5) .care-staff-role {
  background: #f36b79;
}

/* 名前・コメント */

.care-page .care-staff-body {
  padding: 12px 10px 10px;
}

.care-page .care-staff-body h3 {
  margin: 0 0 5px;
  padding-top: 10px;
  color: #10294b;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}

.care-page .care-staff-body p {
  margin: 0;
  color: #444444;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* 最後の3人の写真を少し引きで表示 */

.care-page .care-staff-card:nth-child(n + 4) > img {
  object-fit: cover;
  object-position: center 25%;
  transform: none;
}

/* ============================================================
   施設の様子
   ============================================================ */

.care-page .care-facility {
  width: 95%;
  max-width: 1800px;
  margin: 40px auto 0;
  padding: 12px 0 20px;
  background: #ffffff;
  box-sizing: border-box;
}

/* 見出し・説明文・もっと見る */

.care-page .care-facility .care-section-heading-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 8px;
}

.care-page .care-facility .care-heading-group {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 0;
}

.care-page .care-facility .care-heading-group::before {
  content: none;
}

.care-page .care-facility .care-heading {
  flex-shrink: 0;
  margin: 0;
  padding-left: 12px;
  border-left: 5px solid #e89132;
  color: #10294b;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.4;
}

.care-page .care-facility .care-heading-group p {
  margin: 0;
  color: #10294b;
  font-size: 15px;
  line-height: 1.6;
}

.care-page .care-facility .care-outline-button {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 4px 12px;
  border: 1px solid #ff5900;
  border-radius: 20px;
  background: #ffffff;
  color: #ff5900;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
}

/* 写真5枚を横一列に配置 */

.care-page .care-facility .care-facility-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin: 0;
}

.care-page .care-facility .care-facility-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #ffffff;
}

.care-page .care-facility .care-facility-card img {
  display: block;
  width: 100%;
  height: 160px;
  margin: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.care-page .care-facility .care-facility-card:hover img {
  transform: none;
}

.care-page .care-facility .care-facility-card figcaption {
  position: static;
  margin: 0;
  padding: 3px 2px 0;
  background: transparent;
  color: #10294b;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.care-page .care-facility .care-facility-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

/* ============================================================
   ご利用者さまの声
   ============================================================ */

.care-page .care-voices {
  width: 90%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 40px 32px;
  box-sizing: border-box;
  background: radial-gradient(ellipse at top left, rgba(255, 218, 173, 0.28), transparent 45%), #fff8f0;
  border-radius: 24px;
}

.care-page .care-voices-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 見出し */

.care-page #care-voices-heading {
  flex: 0 0 auto;
  margin: 0;
  padding: 12px 16px;
  background: #e89132;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.6;
  border-radius: 4px 18px 18px 4px;
  white-space: nowrap;
}

/* コメントカード */

.care-page .care-voice {
  display: flex;
  flex: 1 1 0;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin: 0;
}

/* 仮アイコン */

.care-page .care-voice-avatar {
  display: grid;
  place-items: center;
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  overflow: hidden;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #ffe5c7;
  box-shadow: 0 3px 10px rgba(130, 85, 40, 0.12);
}

.care-page .care-voice-avatar img {
  display: none;
}

.care-page .care-voice-avatar::before {
  font-size: 34px;
  line-height: 1;
}

.care-page .care-voice:nth-of-type(1) .care-voice-avatar::before {
  content: "👵";
}

.care-page .care-voice:nth-of-type(2) .care-voice-avatar {
  background: #dcece2;
}

.care-page .care-voice:nth-of-type(2) .care-voice-avatar::before {
  content: "👴";
}

.care-page .care-voice:nth-of-type(3) .care-voice-avatar {
  background: #f7dfdf;
}

.care-page .care-voice:nth-of-type(3) .care-voice-avatar::before {
  content: "👵";
}

/* 吹き出し */

.care-page .care-voice blockquote {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 16px;
  border: 1px solid #f0e2d2;
  border-radius: 16px;
  background: #ffffff;
  color: #51473f;
  font-size: 16px;
  line-height: 1.8;
  box-shadow: 0 4px 14px rgba(130, 85, 40, 0.06);
}

.care-page .care-voice blockquote::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-left: 1px solid #f0e2d2;
  border-bottom: 1px solid #f0e2d2;
  background: #ffffff;
  transform: rotate(45deg);
}

.care-page .care-voice blockquote small {
  display: block;
  margin-top: 6px;
  color: #a18b78;
  font-size: 14px;
}

/* ============================================================
   事業所情報・お問い合わせ
   ============================================================ */

.care-page #care-contact {
  margin-top: 40px;
  background: #ffffff;
}

/* お問い合わせエリア：3列の高さを揃える */
.care-page .care-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 0;
  width: 100%;
  align-items: stretch;
}

/* 事業所情報：オレンジ */

.care-page .care-contact-name {
  position: relative;
  min-width: 0;
  padding: 30px 24px 30px calc(max(2.5vw, (100vw - 1800px) / 2) + 17px);
  box-sizing: border-box;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  background: #f39838;
  color: #ffffff;
}

.care-page .care-contact-name::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: max(2.5vw, (100vw - 1800px) / 2);
  width: 5px;
  background: #ffffff;
}

.care-page .care-contact-name .zigyousyo-name {
  margin: 0 0 20px;
  padding: 0;
  border: none;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
}

.care-page .care-contact-name .adress {
  margin: 0;
  padding: 0;
  border: none;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.8;
}

/* 電話番号・お問い合わせエリア */

.care-page .care-contact-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-width: 0;
  padding: 30px 24px;
  box-sizing: border-box;
  background: #ffffff;
}

.care-page .care-contact-info {
  flex: none;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.care-page .care-contact-tel,
.care-page .care-contact-hours,
.care-page .care-contact-buttons {
  width: 100%;
  max-width: 360px;
}

.care-page .care-contact-info .care-phone {
  display: inline-block;
  margin: 0 0 8px;
  color: #333333;
  font-size: 36px;
  font-weight: 700;
  text-decoration: none;
}

.care-page .care-contact-info .care-contact-hours {
  margin: 0 0 20px;
  color: #333333;
  font-size: 18px;
  line-height: 1.8;
  white-space: nowrap;
}
/* お問い合わせボタン */

/* お問い合わせボタンを下端へ */
.care-page .care-contact-buttons {
  flex: none;
  width: 240px;
  margin: 0;
  padding: 0;
}

.care-page .care-contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  max-width: 300px;
  width: 100%;
  min-height: 52px;
  padding: 12px 40px;
  margin: 0 auto;
  box-sizing: border-box;
  border: 1px solid #f39838;
  border-radius: 4px;
  background: #f39838;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.3s,
    color 0.3s;
}

.care-page .care-contact-button-arrow {
  position: absolute;
  right: 18px;
  font-size: 24px;
  line-height: 1;
}

.care-page .care-contact-button:hover {
  background: #ffffff;
  color: #f39838;
}

.care-page .care-contact-map {
  width: 100%;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.care-page .care-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

/* ============================================================
   ケアページ：シンプルなフッターナビ
   ============================================================ */

.care-page .care-footer {
  background: #ffffff;
  padding: 28px 20px;
}

.care-page .care-footer .footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.care-page .care-footer .footer-nav a {
  color: #555555;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.care-page .care-footer .footer-nav a:hover {
  color: #f39838;
}
