/* ========================================
   訪問看護ステーション シーガル
   style.css
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --navy: #3D6494;
  --navy-d: #2E4E75;
  --navy-l: #5580B0;
  --orange: #C47A5A;
  --orange-d: #A8604A;
  --lightblue: #EAF1F8;
  --offwhite: #F4F8FB;
  --text: #333333;
  --text-light: #666666;
  --border: #E0E0E0;
  --white: #FFFFFF;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --max-w: 1100px;
  --header-h: 72px;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #F4F8FB;
  line-height: 1.8;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul, ol {
  list-style: none;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-en {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  font-weight: 400;
  opacity: 0.6;
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(2.3rem, 4vw, 2.3rem);
  letter-spacing: 0.12em;
  font-weight: 700;
  color: #3D6494;
}
.section-desc {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}
/* ========================================
   ヘッダー
   ======================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
  transition: box-shadow 0.3s;
}
#header.is-scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.13);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-img {
  height: 44px;
  width: auto;
}
.header-nav ul {
  display: flex;
  gap: 28px;
}
.header-nav a {
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.2s;
  position: relative;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}
.header-nav a:hover {
  color: var(--navy);
}
.header-nav a:hover::after {
  width: 100%;
}
.btn-contact-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.825rem;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 30px;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(196, 122, 90, 0.3);
}
.btn-contact-header:hover {
  background: var(--orange-d);
  transform: translateY(-1px);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.sp-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100dvh;
  background: var(--white);
  z-index: 200;
  padding: 80px 32px 40px;
  transition: right 0.35s ease;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}
.sp-menu.is-open {
  right: 0;
}
.sp-menu ul {
  display: flex;
  flex-direction: column;
}
.sp-menu li a {
  display: block;
  padding: 16px 0;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
}
.sp-menu-cta {
  margin-top: 24px !important;
  display: block;
  background: var(--orange);
  color: var(--white) !important;
  text-align: center;
  border-radius: 30px;
  padding: 14px 0 !important;
  font-weight: 700;
  border-bottom: none !important;
}
.sp-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
}
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 190;
}
.sp-overlay.is-open {
  display: block;
}
/* ========================================
   ヒーロー
   ======================================== */
#hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#hero .container {
  display: flex;
  justify-content: flex-start;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
.slide-01 {
  background-image: url('../images/hero/hero-01.jpg');
  background-position-x: 70%;
  background-position-y: center;
  background-size: cover;
}
.slide-02 {
  background-image: url('../images/hero/hero-02.jpg');
  background-position-x: 70%;
  background-position-y: 40%;
  background-size: cover;
}
.slide-03 {
  background-image: url('../images/hero/hero-03.jpg');
  background-position-x: 70%;
  background-position-y: center;
  background-size: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(61, 100, 148, 0.25) 35%, rgba(61, 100, 148, 0.05) 65%, rgba(61, 100, 148, 0) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: 80px;
  max-width: 50%;
  margin-left: 4%;
}
.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.3s, transform 0.6s 0.3s;
}
.hero-label.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--white);
  line-height: 1.6;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}
.hero-line-1.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-line-2.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}
.hero-reveal {
  display: inline-block;
  position: relative;
  overflow: hidden;
}
.hero-reveal-cover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--orange);
  transform: translateX(-101%);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero-reveal-text {
  display: inline-block;
  font-family: 'Shippori Mincho', serif;
  font-weight: 700;
  font-size: 1.4em;
  opacity: 0;
  transform: translateX(-24px);
  text-shadow: 0 0 12px rgba(196, 122, 90, 0.6), 0 0 24px rgba(196, 122, 90, 0.25), 2px 3px 0 rgba(0, 0, 0, 0.3);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.35s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.35s;
}
.hero-reveal.is-active .hero-reveal-cover {
  transform: translateX(101%);
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.42s;
}
.hero-reveal.is-active .hero-reveal-text {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.62s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.62s;
}
.hero-sub {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.9;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s 1.2s, transform 0.7s 1.2s;
}
.hero-sub.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s 1.4s, transform 0.7s 1.4s;
}
.hero-btns.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.btn-contact-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(196, 122, 90, 0.4);
  transition: all 0.25s;
}
.btn-contact-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(196, 122, 90, 0.55);
  background: var(--orange-d);
}
.btn-outline-white {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.25s;
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  z-index: 1;
}
.hero-scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
.slide-dots {
  position: absolute;
  bottom: 28px;
  right: 40px;
  display: flex;
  gap: 8px;
  z-index: 1;
}
.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s;
}
.slide-dot.is-active {
  background: var(--orange);
  transform: scale(1.3);
}
/* ========================================
   お知らせ
   ======================================== */
.section-news {
  padding: 56px 0;
  background: #F4F8FB;
  border-bottom: none;
}
.news-inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.news-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  padding-top: 4px;
  min-width: 100px;
}
.news-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.2s;
}
.news-item:first-child {
  border-top: 1px solid var(--border);
}
.news-item:hover {
  opacity: 0.7;
}
.news-date {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
}
.news-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 1px 8px;
  border-radius: 10px;
  white-space: nowrap;
}
.news-ttl {
  font-size: 0.875rem;
  color: var(--text);
}
/* ========================================
   About
   ======================================== */
.section-about {
  background: #F4F8FB;
  padding: 140px 0;
}
.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--navy);
  line-height: 1.9;
  text-align: center;
  margin-bottom: 16px;
}
.about-body {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.9;
  text-align: center;
  margin-bottom: 56px;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 52px;
}
.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}
.about-card:hover {
  transform: translateY(-6px);
}
.about-card-img-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
}
.about-card-bg-circle {
  position: absolute;
  top: 10px;
  right: -10px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--lightblue);
}
.about-card-img-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(61, 100, 148, 0.12);
}
.about-img-dummy {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #b8ddf0 0%, #88c8e8 100%);
}
.about-card-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-card-num {
  position: absolute;
  bottom: 4px;
  right: -4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(196, 122, 90, 0.4);
}
.about-card-ttl {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}
.about-card-desc {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}
.about-more {
  text-align: center;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 48px 0 40px;
}
.about-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
  position: relative;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
/* 右線 */
.about-grid-item:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: #D8E8F2;
}
/* 下線（1行目のみ） */
.about-grid-item:nth-child(-n+3)::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: #D8E8F2;
}
.about-grid-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
}
.about-grid-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-grid-ttl {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.about-grid-desc {
  font-size: 0.875rem;
  line-height: 1.75;
  color: #666;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  /* お知らせ SP */
  .news-inner {
    flex-direction: column;
    gap: 12px;
  }
  .news-label {
    min-width: auto;
  }
  .news-item {
    flex-wrap: wrap;
    gap: 6px 12px;
  }
  .news-ttl {
    width: 100%;
  }
  .section-about {
    padding: 80px 0;
  }
  .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid-item {
    padding: 24px 16px;
  }
  /* PC用の右線ルールをリセット */
  .about-grid-item::after {
    display: none;
  }
  /* 2列用：右列以外に右線 */
  .about-grid-item:not(:nth-child(2n))::after {
    display: block;
    content: '';
    position: absolute;
    right: 0;
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: #D8E8F2;
  }
  /* PC用の下線ルールをリセット */
  .about-grid-item::before {
    display: none;
  }
  /* 2列用：1〜4番目（上2行）に下線 */
  .about-grid-item:nth-child(-n+4)::before {
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: #D8E8F2;
  }
}
.about-grid-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0 24px 0 24px;
  overflow: hidden;
  margin-top: auto;
  box-shadow: 0 4px 16px rgba(61, 100, 148, 0.12);
  position: relative;
}
.about-grid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	  transform: scale(1.15);
  transform-origin: center;
  object-position: top left;
}
/* C：左下のアクセントライン */
.about-grid-photo::before {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -6px;
  width: 40%;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
  opacity: 0.3;
}
.section-title {
  font-size: 2rem;
}
/* ========================================
   採用情報バナー
   ======================================== */
.section-banners {
  padding: 88px 0;
}
.recruit-block {
  position: relative;
  min-height: 380px;
}
.recruit-img {
  position: absolute;
  right: 0;
  top: 0;
  width: 62%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #b8d4ec;
}
.recruit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: -41% top;
}
.recruit-card {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  background: var(--navy);
  border-radius: 16px;
  padding: 48px 44px 36px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(61, 100, 148, 0.2);
  overflow: hidden;
}
.recruit-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.12;
  pointer-events: none;
}
.recruit-wave-2 {
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  opacity: 0.07;
  pointer-events: none;
}
.recruit-en {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.6;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.recruit-ttl {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.recruit-desc {
  font-size: 13px;
  line-height: 1.9;
  opacity: 0.85;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.recruit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 50px;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 1;
  transition: all 0.25s;
}
.recruit-btn:hover {
  background: var(--offwhite);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  .recruit-block {
    min-height: auto;
  }
  .recruit-img {
    position: relative;
    width: 100%;
    height: 240px;
  }
  .recruit-card {
    position: relative;
    width: 100%;
    top: auto;
    transform: none;
    border-radius: 0 0 16px 16px;
    padding: 36px 28px;
  }
}
/* ========================================
   ボタン共通
   ======================================== */
.btn-outline-navy {
  display: inline-block;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 50px;
  transition: all 0.25s;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}
.section-more {
  text-align: center;
}
.btn-text-navy {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--navy);
  font-weight: 700;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.btn-text-navy:hover {
  opacity: 0.6;
}
/* ========================================
   CTA
   ======================================== */
.section-cta {
  background: #F4F8FB;
  text-align: center;
  padding: 120px 0;
}
.cta-lead {
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  margin-bottom: 20px;
}
.cta-body {
  font-size: 0.925rem;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 40px;
}
.cta-btns {
  margin-bottom: 20px;
}
.btn-contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(196, 122, 90, 0.35);
  transition: all 0.25s;
}
.btn-contact-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(196, 122, 90, 0.5);
  background: var(--orange-d);
}
.section-cta {
  position: relative;
  overflow: hidden;
}
.cta-bg-deco {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
/* ========================================
   フッター
   ======================================== */
#footer {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.footer-address {
  font-size: 0.825rem;
  opacity: 0.7;
  line-height: 1.9;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 0.85rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-nav a:hover {
  opacity: 1;
}
.footer-copy {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.5;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
}
/* ========================================
   アニメーション
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.slide-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 900px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-card-img-wrap, .about-card-bg-circle, .about-card-img-circle {
    width: 160px;
    height: 160px;
  }
  .banner-recruit-card {
    grid-template-columns: 1fr;
  }
  .banner-recruit-img {
    min-height: 220px;
  }
}
@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }
  .section {
    padding: 64px 0;
  }
  .header-nav, .header-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .logo-img {
    height: 36px;
  }
  #hero {
    min-height: 92dvh;
  }
  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(61, 100, 148, 0.50) 60%, rgba(61, 100, 148, 0.18));
  }
  .slide-01 {
    background-image: url('../images/hero/TOP1＿SP.png');
    background-position-x: 45%;
    background-position-y: center;
    background-size: cover;
  }
  .slide-02 {
    background-image: url('../images/hero/TOP2＿SP.jpg');
    background-position-x: 70%;
    background-position-y: center;
    background-size: cover;
  }
  .slide-03 {
    background-image: url('../images/hero/TOP3＿SP.jpg');
    background-position-x: 70%;
    background-position-y: center;
    background-size: cover;
  }
  /* 採用バナー SP：上下レイアウト */
  .banner-recruit-text {
    padding: 36px 28px;
  }
  .banner-recruit-img {
    min-height: 200px;
  }
	.recruit-img img{
		object-position: center top;
	}
  .voice-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
  }
  .footer-logo-img {
    height: 40px;
  }
}
/* ▼ 2分岐CTA */
.section-split-cta {
  padding: 72px 0 56px;
  background: #E8F2F9;
  position: relative;
  overflow: hidden;
}
.wave-bottom-1 {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 96px;
  opacity: 0.45;
  pointer-events: none;
}
.wave-bottom-2 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 228px;
  opacity: 0.28;
  pointer-events: none;
}
.split-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}
.split-cta-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 6px 28px rgba(61, 100, 148, 0.10), 0 1px 4px rgba(61, 100, 148, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  min-height: 190px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.split-cta-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(61, 100, 148, 0.15);
}
.split-cta-body {
  flex: 1;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.split-cta-bg-text {
  position: absolute;
  font-family: 'Caveat', cursive;
  font-size: 51px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  bottom: 2px;
  left: 8px;
  opacity: 0.07;
  transform: rotate(-2deg);
}
.split-cta-user .split-cta-bg-text {
  color: #3D6494;
  opacity: 0.13;
  left: auto;
  right: 8px;
}
.split-cta-recruit .split-cta-bg-text {
  color: #C47A5A;
  opacity: 0.11;
  left: auto;
  right: 8px;
}
.split-cta-en {
  font-size: 11px;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.split-cta-user .split-cta-en {
  color: var(--navy);
}
.split-cta-recruit .split-cta-en {
  color: var(--orange);
}
.split-cta-ttl {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 20px;
  color: #222;
  position: relative;
  z-index: 1;
}
.split-cta-btn {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  width: fit-content;
  position: relative;
  z-index: 1;
  letter-spacing: 0.04em;
}
.split-cta-user .split-cta-btn {
  background: var(--navy);
}
.split-cta-recruit .split-cta-btn {
  background: var(--orange);
}
.split-cta-img {
  width: 155px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.split-cta-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 769px) and (max-width: 1024px) {
  .slide-02 {
    background-position-x: 30%;
  }
  .slide-03 {
    background-position-x: 50%;
  }
}
@media (max-width: 767px) {
  .split-cta-inner {
    grid-template-columns: 1fr;
  }
  .split-cta-card {
    min-height: auto;
  }
  .split-cta-body {
    padding: 20px 16px;
  }
  .split-cta-ttl {
    margin-bottom: 12px;
  }
  .split-cta-img {
    width: 110px;
  }
}
/* ========================================
   事業所情報
   ======================================== */
.section-office {
  background: #F2F7FB;
  position: relative;
  overflow: hidden;
}
.section-banners::before, .section-office::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 126px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 40' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C200,5 400,35 600,18 C800,2 1000,32 1200,15 L1200,0 L0,0 Z' fill='%23FAFAF8'/%3E%3C/svg%3E");
  background-size: 100% 100%;
}
.office-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.office-table {
  width: 100%;
}
.office-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #D8E8F2;
}
.office-row:first-child {
  border-top: 1px solid #D8E8F2;
}
.office-row dt {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  min-width: 140px;
}
.office-row dd {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.8;
}
@media (max-width: 767px) {
  .office-row {
    flex-direction: column;
    gap: 4px;
    padding: 14px 0;
  }
  .office-row dt {
    min-width: auto;
  }
  .recruit-img {
    top: 10px;
  }
}
/* ========================================
   波セパレーター共通
   ======================================== */
.wave-sep {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  padding: 0;
}
.wave-sep svg {
  display: block;
  width: 100%;
}
.title-deco {
  display: block;
  margin: 12px auto 0;
  max-width: 480px;
}