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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: #263238;
  background: #ffffff;
  overflow-x: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.header {
  width: 100%;
  height: 88px;
  background: rgba(255, 255, 255, 0.97);
  position: relative;
  z-index: 100;
}

.header-inner {
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-logo {
  display: flex;
  align-items: center;
}

.header-logo img {
  width: 165px;
  height: auto;
}

.header-company-name {
  padding-left: 22px;
  border-left: 1px solid #dce4e8;
  color: #263b48;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.header-nav > a:not(.contact-button) {
  transition: opacity 0.25s ease, color 0.25s ease;
}

.header-nav > a:not(.contact-button):hover {
  opacity: 0.55;
}

.contact-button {
  min-width: 174px;
  height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #189ed6 0%, #2389bf 100%);
  border-radius: 999px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 139, 190, 0.2);
  opacity: 0.95;
}

.hero {
  position: relative;
  width: 100%;
  height: 560px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg,
      rgba(255,255,255,0.98) 0%,
      rgba(255,255,255,0.95) 14%,
      rgba(255,255,255,0.82) 25%,
      rgba(255,255,255,0.52) 36%,
      rgba(255,255,255,0.15) 50%,
      rgba(255,255,255,0) 67%),
    url("images/hero-main.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
}

.hero-content {
  width: 48%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-en {
  margin-bottom: 20px;
  color: #279bd1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.hero h1 {
  margin-bottom: 25px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #142d3d;
  font-size: clamp(44px, 3.8vw, 64px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.055em;
}

.hero-text {
  margin-bottom: 30px;
  color: #40535f;
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
}

.hero-button {
  min-width: 190px;
  height: 54px;
  padding: 0 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #199bd2, #287fb3);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(31, 139, 190, 0.22);
}

.section-en {
  margin-bottom: 8px;
  color: #299fd4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.service-section {
  padding: 54px 0 80px;
  background: #ffffff;
}

.service-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.service-heading {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 42px;
}

.service-title {
  padding-right: 36px;
  border-right: 1px solid #ccd7dd;
}

.service-title h2,
.news-heading h2,
.contact-copy h2 {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #173042;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.service-title h2 {
  font-size: 36px;
}

.service-lead h3 {
  margin-bottom: 8px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #193243;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.service-lead p {
  color: #65747d;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dbe5ea;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(31, 71, 91, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(31, 71, 91, 0.12);
}

.service-image {
  width: 100%;
  height: 190px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.service-image-01 { background-image: url("images/service-homecare.png"); }
.service-image-02 { background-image: url("images/service-careplan.png"); }
.service-image-03 { background-image: url("images/service-massage.png"); }
.service-image-04 { background-image: url("images/service-support.png"); }

.service-card-body {
  padding: 24px 22px 22px;
  text-align: center;
}

.service-icon {
  width: 42px;
  height: 42px;
  margin: -44px auto 15px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(33, 66, 82, 0.1);
}

.service-card h4 {
  min-height: 58px;
  margin-bottom: 16px;
  color: #19384a;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.service-card p {
  min-height: 88px;
  margin-bottom: 20px;
  color: #6d7a81;
  font-size: 13px;
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-character;
  text-align-last: left;
  letter-spacing: 0.015em;
}

.service-link {
  width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.service-link:hover { transform: translateY(-1px); }
.service-blue .service-icon { color: #269bd4; }
.service-blue .service-link { color: #1b8ec7; background: #eef9ff; border: 1px solid #79c8ed; }
.service-teal .service-icon { color: #1ab7ad; }
.service-teal .service-link { color: #169a92; background: #edfbfa; border: 1px solid #75d8d1; }
.service-orange .service-icon { color: #ef8a3b; }
.service-orange .service-link { color: #df7a2e; background: #fff4ea; border: 1px solid #f3b77f; }
.service-green .service-icon { color: #68ad4a; }
.service-green .service-link { color: #5c9f3f; background: #f2fbe9; border: 1px solid #9cd879; }

.about-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f7fbfd;
}

.about-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/about-group.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.about-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.94) 16%,
    rgba(255,255,255,0.68) 28%,
    rgba(255,255,255,0.18) 40%,
    rgba(255,255,255,0) 52%);
}

.about-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.about-content { width: 36%; }
.about-content .section-en { margin-bottom: 11px; }

.about-content h2 {
  margin-bottom: 19px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #173042;
  font-size: clamp(34px, 2.8vw, 45px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.about-text {
  margin-bottom: 10px;
  color: #637780;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

.about-button {
  margin-top: 10px;
  min-width: 190px;
  height: 46px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #188fc8;
  background: rgba(255,255,255,0.92);
  border: 1px solid #78c6e7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.recruit-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: #f8fcfe;
}

.recruit-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/recruit-main.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.recruit-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(255,255,255,0.99) 0%,
    rgba(255,255,255,0.97) 18%,
    rgba(255,255,255,0.88) 30%,
    rgba(255,255,255,0.50) 42%,
    rgba(255,255,255,0.10) 56%,
    rgba(255,255,255,0) 68%);
}

.recruit-inner {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1400px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.recruit-content { width: 42%; }
.recruit-content .section-en { margin-bottom: 11px; }

.recruit-content h2 {
  margin-bottom: 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  color: #173042;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.035em;
}

.recruit-text {
  margin-bottom: 8px;
  color: #637780;
  font-size: 13px;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.recruit-button {
  margin-top: 12px;
  min-width: 195px;
  height: 46px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #199bd2, #287fb3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.recruit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 138, 184, 0.2);
}

.recruit-message {
  position: absolute;
  right: 4%;
  top: 76px;
  color: #2b93cc;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 24px;
  line-height: 1.55;
  letter-spacing: 0.08em;
  transform: rotate(-5deg);
}

.news-section {
  padding: 54px 0 58px;
  background: #ffffff;
}

.news-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}

.news-heading {
  margin-bottom: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.news-heading h2 { font-size: 34px; }

.news-more {
  min-width: 128px;
  height: 40px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #198fc7;
  background: #ffffff;
  border: 1px solid #a4d8ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.news-list { border-top: 1px solid #dbe4e8; }

.news-item {
  min-height: 62px;
  display: grid;
  grid-template-columns: 120px 105px 1fr 30px;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #dbe4e8;
  transition: background 0.2s ease;
}

.news-item:hover { background: #f8fcfe; }
.news-item time { color: #75848b; font-size: 12px; }

.news-category {
  min-width: 80px;
  padding: 5px 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #258fc0;
  background: #eaf7fc;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.news-category-recruit { color: #1b9c90; background: #e9f9f6; }
.news-item p { color: #3d505b; font-size: 13px; line-height: 1.6; }
.news-arrow { color: #2398ce; font-size: 17px; }

.contact-section {
  padding: 48px 0;
  background: linear-gradient(135deg, #eaf8ff 0%, #f7fcff 48%, #e7f6ff 100%);
}

.contact-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.contact-copy h2 {
  margin-bottom: 14px;
  font-size: 34px;
  line-height: 1.45;
}

.contact-copy > p:last-child {
  color: #647780;
  font-size: 13px;
  line-height: 1.9;
}

.contact-panel {
  padding: 28px 30px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(113,196,231,0.4);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(40,120,160,0.06);
}

.contact-panel-title {
  margin-bottom: 8px;
  color: #183847;
  font-size: 16px;
  font-weight: 700;
}

.contact-panel-text {
  margin-bottom: 20px;
  color: #718087;
  font-size: 12px;
  line-height: 1.75;
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-main-button,
.contact-sub-button {
  height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-main-button {
  color: #ffffff;
  background: linear-gradient(135deg, #199bd2, #287fb3);
}

.contact-main-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(35, 138, 184, 0.2);
}

.contact-sub-button {
  color: #248ec0;
  background: #ffffff;
  border: 1px solid #85cbe7;
}

.contact-sub-button:hover { transform: translateY(-2px); }

.footer { background: #ffffff; }

.footer-inner {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0 34px;
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-brand { max-width: 340px; }
.footer-logo img { width: 185px; }

.footer-company {
  margin-top: 18px;
  color: #263b48;
  font-size: 14px;
  font-weight: 700;
}

.footer-message {
  margin-top: 10px;
  color: #7a888f;
  font-size: 12px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  gap: 70px;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-link-group a {
  color: #4d5e67;
  font-size: 13px;
  transition: opacity 0.2s ease;
}

.footer-link-group a:hover { opacity: 0.55; }
.footer-link-sub a { color: #87949a; font-size: 12px; }

.footer-bottom {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px 0 24px;
  border-top: 1px solid #e0e7ea;
}

.footer-bottom p {
  color: #9aa5aa;
  font-size: 11px;
  text-align: right;
}

@media (max-width: 1100px) {
  .header-company-name { display: none; }
  .header-nav { gap: 22px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-content { width: 42%; }
  .recruit-content { width: 46%; }
}

@media (max-width: 900px) {
  .header { height: 72px; }
  .header-inner { width: 100%; padding: 0 22px; }
  .header-logo img { width: 135px; }
  .header-company-name { display: none; }
  .header-nav { gap: 0; }
  .header-nav > a:not(.contact-button) { display: none; }
  .contact-button { min-width: auto; height: 42px; padding: 0 18px; font-size: 12px; }

  .hero { height: 680px; }
  .hero-bg {
    background-image:
      linear-gradient(180deg,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0.05) 45%,
        rgba(255,255,255,0.62) 65%,
        rgba(255,255,255,0.95) 82%,
        #ffffff 100%),
      url("images/hero-main.png");
    background-position: 67% center;
  }
  .hero-inner { width: 100%; }
  .hero-content { width: 100%; justify-content: flex-end; padding: 0 24px 48px; }
  .hero-en { margin-bottom: 12px; font-size: 11px; }
  .hero h1 { margin-bottom: 17px; font-size: clamp(36px, 10vw, 48px); line-height: 1.4; }
  .hero-text { margin-bottom: 24px; font-size: 13px; line-height: 1.8; }
  .hero-button { height: 50px; font-size: 13px; }

  .service-section { padding: 42px 0 60px; }
  .service-heading { display: block; margin-bottom: 30px; }
  .service-title { margin-bottom: 24px; padding-right: 0; padding-bottom: 18px; border-right: 0; border-bottom: 1px solid #d7e0e5; }
  .service-title h2 { font-size: 30px; }
  .service-lead h3 { font-size: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-image { height: 210px; }
  .service-card p { min-height: auto; }

  /* GROUP：スマホ専用画像を上、本文を下に分離 */
  .about-section {
    height: auto;
    min-height: 0;
    padding-top: 390px;
    background: #ffffff;
    overflow: visible;
  }

  .about-bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    height: 390px;
    background-image: url("images/group-mobile.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .about-bg::after {
    display: none;
  }

  .about-inner {
    width: 100%;
    height: auto;
    display: block;
    padding: 30px 24px 40px;
  }

  .about-content {
    width: 100%;
  }

  .about-content h2 {
    white-space: normal;
    font-size: 32px;
    margin-bottom: 15px;
  }

  .about-text {
    font-size: 12px;
    line-height: 1.75;
    margin-bottom: 8px;
  }

  .recruit-section { height: 590px; }
  .recruit-bg { background-position: 70% center; }
  .recruit-bg::after {
    background: linear-gradient(180deg,
      rgba(255,255,255,0.02) 0%,
      rgba(255,255,255,0.05) 43%,
      rgba(255,255,255,0.80) 68%,
      rgba(255,255,255,0.98) 100%);
  }
  .recruit-inner { width: 100%; align-items: flex-end; padding: 0 24px 34px; }
  .recruit-content { width: 100%; }
  .recruit-content h2 { font-size: 32px; margin-bottom: 14px; }
  .recruit-text { font-size: 12px; line-height: 1.75; }
  .recruit-message { display: none; }

  .news-section { padding: 46px 0; }
  .news-heading h2 { font-size: 30px; }
  .news-item { grid-template-columns: 100px 90px 1fr; min-height: 60px; padding: 12px 0; gap: 10px; }
  .news-arrow { display: none; }

  .contact-section { padding: 42px 0; }
  .contact-inner { display: block; }
  .contact-copy { margin-bottom: 28px; }
  .contact-copy h2 { font-size: 30px; }
  .contact-panel { padding: 24px 22px; }

  .footer-inner { display: block; padding: 44px 0 30px; }
  .footer-links { margin-top: 32px; gap: 40px; }
}

@media (max-width: 520px) {
  .contact-button span { display: none; }
  .hero { height: 640px; }
  .hero-content { padding-bottom: 38px; }
  .hero h1 { font-size: 36px; }

  .about-section { padding-top: 340px; }
  .about-bg { height: 340px; }

  .news-heading { align-items: center; }
  .news-item { grid-template-columns: 1fr; gap: 7px; }
  .news-category { width: fit-content; }

  .contact-actions { grid-template-columns: 1fr; }

  .footer-links { display: block; }
  .footer-link-group + .footer-link-group { margin-top: 24px; }
  .footer-bottom p { text-align: left; }
}
