/* ==========================================================
   custom.css — アニメーション / モバイルメニュー
   ========================================================== */

:root {
  --background: #fff !important;
  --foreground: #171717 !important;
}

html {
  scroll-behavior: auto !important;
}

/* 初期表示外のセクション描画を遅延させる */
main > section,
main > div[data-animate] {
  content-visibility: auto;
  contain-intrinsic-size: 1px 900px;
}

/* ----- ヘッダー ----- */
#site-header {
  transform: translateZ(0);
}

/* SP版ヘッダー（768px未満） */
@media (max-width: 767px) {
  .header-logo-sub {
    font-size: 10px;
    color: #1d365b;
  }
  .header-logo-main {
    font-size: 18px;
    color: #1d365b;
  }
  .header-logo-en {
    display: none;
  }
  .header-sp-icon {
    color: #1d365b;
  }
  .header-sp-label {
    font-size: 8px;
    color: rgba(29,54,91,0.75);
  }
  .hamburger-line {
    background-color: #1d365b;
  }
}

/* PC版ヘッダー（768px以上）：SP専用要素を非表示 */
@media (min-width: 768px) {
  .header-sp-only {
    display: none;
  }
  .header-logo-sub {
    font-size: 10px;
  }
  .header-logo-main {
    font-size: 18px;
  }
  .header-logo-en {
    font-size: 7px;
    opacity: 0.45;
  }
}

@media (min-width: 1024px) {
  .header-logo-sub {
    font-size: 13px;
  }
  .header-logo-main {
    font-size: 24px;
  }
  .header-logo-en {
    font-size: 10px;
  }
}

.header-nav {
  background: linear-gradient(180deg, #f9fbff 0%, #edf2ff 100%);
  border-top: 1px solid rgba(29,54,91,0.12);
  border-bottom: 1px solid rgba(29,54,91,0.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 6px 16px rgba(18,40,78,0.08);
}

.header-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-right: 8px;
  padding: 8px 14px;
  border-radius: 0;
  color: #152a4a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.header-nav-link:last-child {
  margin-right: 0;
}

.header-nav-link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 3px;
  border-radius: 0;
  background: #2563eb;
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-nav-link:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

.header-nav-link:hover {
  background: rgba(29,54,91,0.08);
  color: #102442;
  box-shadow: inset 0 0 0 1px rgba(29,54,91,0.08);
  transform: translateY(-1px);
}

.header-nav-link.is-current {
  background: rgba(37,99,235,0.1);
  color: #0f2546;
  box-shadow: inset 0 0 0 1px rgba(37,99,235,0.16);
}

.header-nav-link.is-current::after {
  transform: scaleX(1);
  opacity: 1;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .header-nav {
    height: 46px;
  }
  .header-nav-link {
    min-height: 32px;
    margin-right: 4px;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
  }
  .header-nav-link::after {
    left: 8px;
    right: 8px;
    bottom: 4px;
  }
}

@media (min-width: 1024px) {
  .header-nav-link {
    min-height: 40px;
    margin-right: 9px;
    padding: 9px 15px;
    font-size: 13px;
  }
}

/* ----- Hero セクション ----- */
.hero-section {
  height: 100svh;
  min-height: 560px;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-title {
  font-size: clamp(2.5rem, 10vw, 8rem);
}

.hero-line-bar {
  width: 40px;
  height: 2px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .hero-line-bar {
    width: 60px;
  }
}

.hero-sub-label {
  font-size: clamp(0.75rem, 1.8vw, 1.25rem);
  letter-spacing: 0.15em;
}

.hero-sp-br {
  display: inline;
}

@media (min-width: 768px) {
  .hero-sp-br {
    display: none;
  }
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  max-width: 32rem;
}

.hero-btn-text {
  font-size: clamp(0.875rem, 1.8vw, 1.125rem);
}

.hero-cta-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-cta-primary::before {
  content: "";
  position: absolute;
  top: -140%;
  left: -40%;
  width: 36%;
  height: 380%;
  transform: rotate(24deg);
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.12) 45%,
    rgba(255,255,255,0.42) 50%,
    rgba(255,255,255,0.12) 55%,
    rgba(255,255,255,0) 100%
  );
  animation: hero-cta-shine 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.hero-cta-primary:hover {
  transform: scale(1.06);
  background-color: #1d4ed8;
  box-shadow: 0 10px 28px rgba(37,99,235,0.4);
}

.hero-cta-primary:active {
  transform: scale(0.97);
}

@keyframes hero-cta-shine {
  0% {
    left: -42%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  38% {
    left: 118%;
    opacity: 1;
  }
  100% {
    left: 118%;
    opacity: 0;
  }
}

/* ----- Call us セクション（Poch風・ライト） ----- */
.callus-section {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 28px 28px 24px;
  border-radius: 20px;
  background: #f5f7fb;
  border: 1px solid rgba(29,54,91,0.1);
  box-shadow: 0 2px 12px rgba(29,54,91,0.06);
  text-align: center;
}

.callus-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.callus-br {
  display: none;
}

.callus-phone {
  position: relative;
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.callus-phone-icon {
  width: 100%;
  height: 100%;
  animation: callus-ring 2.2s ease-in-out infinite;
  transform-origin: 60% 70%;
  filter: drop-shadow(0 2px 6px rgba(29,54,91,0.15));
}

.callus-sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.callus-sparkle-1 {
  top: 2px;
  right: 4px;
  animation: callus-twinkle 1.6s ease-in-out infinite;
}

.callus-sparkle-2 {
  top: 20px;
  left: -4px;
  width: 11px;
  height: 11px;
  animation: callus-twinkle 2s ease-in-out 0.5s infinite;
}

.callus-sparkle-3 {
  bottom: 6px;
  right: -2px;
  width: 9px;
  height: 9px;
  animation: callus-twinkle 2.4s ease-in-out 1s infinite;
}

.callus-title {
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 800;
  color: #1d365b;
  letter-spacing: 0.01em;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(29,54,91,0.06);
}

@keyframes callus-ring {
  0%, 100% { transform: rotate(0deg); }
  8% { transform: rotate(14deg); }
  16% { transform: rotate(-12deg); }
  24% { transform: rotate(10deg); }
  32% { transform: rotate(-6deg); }
  40% { transform: rotate(0deg); }
}

@keyframes callus-twinkle {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

@media (min-width: 1024px) {
  .callus-section {
    padding: 36px 40px 30px;
  }
  .callus-phone {
    width: 110px;
    height: 110px;
  }
  .callus-sparkle-1 { width: 18px; height: 18px; }
  .callus-sparkle-2 { width: 13px; height: 13px; }
  .callus-sparkle-3 { width: 11px; height: 11px; }
  .callus-main {
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .callus-section {
    padding: 12px 8px 12px 6px;
    margin-top: 14px;
    border-radius: 14px;
  }
  .callus-main {
    justify-content: center;
    gap: 4px;
  }
  .callus-phone {
    width: 28px;
    height: 28px;
    margin-left: -2px;
  }
  .callus-sparkle-1 { width: 8px; height: 8px; }
  .callus-sparkle-2 { width: 6px; height: 6px; }
  .callus-sparkle-3 { width: 5px; height: 5px; }
  .callus-title {
    font-size: 16px;
    line-height: 1.42;
    display: inline-block;
    text-align: left;
  }
  .callus-br {
    display: inline;
  }
}

/* ----- お知らせティッカー ----- */
.info-head {
  margin-bottom: 12px;
  text-align: left;
}

.info-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #2563eb;
  margin-bottom: 2px;
}

.info-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 28px;
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin: 0;
}

.info-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
}

.info-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 18px;
  border: 1.5px solid #0a0a0a;
  background: transparent;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  margin-left: auto;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.info-link:hover {
  background: #0a0a0a;
  color: #fff;
}

.news-ticker-box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.06);
  overflow: hidden;
  position: relative;
}

.news-ticker-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563EB, #1d365b);
  border-radius: 16px 16px 0 0;
}

.news-ticker-scroll {
  max-height: 170px;
  overflow-y: auto;
  padding: 14px 24px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.08) transparent;
}

.news-ticker-scroll::-webkit-scrollbar {
  width: 4px;
}

.news-ticker-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.news-ticker-scroll::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
}

.news-ticker-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-decoration: none;
  transition: background 0.15s;
  border-radius: 4px;
}

.news-ticker-item:last-child {
  border-bottom: none;
}

.news-ticker-item:hover {
  background: rgba(37,99,235,0.03);
}

.news-ticker-date {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 900;
  color: #1d365b;
  font-variant-numeric: tabular-nums;
  min-width: 100px;
}

.news-ticker-badge {
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #FF4F00, #ff6a2a);
  padding: 2px 9px;
  border-radius: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 6px;
  box-shadow: 0 1px 4px rgba(255,79,0,0.25);
}

.news-ticker-text {
  font-size: 16px;
  color: rgba(10,10,10,0.82);
  line-height: 1.75;
  transition: color 0.15s;
}

.news-ticker-item:hover .news-ticker-text {
  color: #0a0a0a;
}

.news-ticker-footer {
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 10px 24px;
  text-align: right;
  background: rgba(0,0,0,0.015);
}

.news-ticker-more {
  font-size: 12px;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.news-ticker-more:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .info-head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 10px;
    row-gap: 6px;
  }
  .info-heading {
    font-size: 24px;
    min-width: 0;
  }
  .info-link {
    min-height: 38px;
    padding: 7px 16px;
    font-size: 12px;
    margin-left: 0;
    justify-self: end;
  }
  .news-ticker-box {
    border-radius: 12px;
  }
  .news-ticker-box::before {
    border-radius: 12px 12px 0 0;
  }
  .news-ticker-scroll {
    padding: 10px 16px 4px;
    max-height: 180px;
  }
  .news-ticker-item {
    flex-wrap: wrap;
    gap: 2px 10px;
  }
  .news-ticker-date {
    font-size: 13px;
    min-width: auto;
  }
  .news-ticker-text {
    font-size: 15px;
    width: 100%;
    line-height: 1.72;
  }
  .news-ticker-footer {
    padding: 8px 16px;
  }
}

/* ----- 施設紹介 ----- */
.facility-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  color: #2563eb;
  margin-bottom: 2px;
}

.facility-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 32px;
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  margin: 0;
}

.facility-head {
  text-align: left;
  margin-bottom: 8px;
}

/* ----- SNS ----- */
.sns-inner {
  width: 100%;
}

.sns-copy {
  min-width: 0;
}

.sns-title-wrap {
  align-items: center;
}

.sns-title {
  margin: 0;
}

.sns-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.sns-label-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sns-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.sns-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .sns-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .sns-inner {
    align-items: stretch;
    gap: 18px;
  }

  .sns-copy {
    width: 100%;
    text-align: center;
  }

  .sns-label {
    margin-bottom: 6px;
    justify-content: center;
  }

  .sns-title-wrap {
    gap: 10px;
    justify-content: center;
  }

  .sns-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .sns-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sns-action {
    width: 100%;
    min-height: 50px;
    padding: 10px 16px;
    border-radius: 14px;
    justify-content: center;
    font-size: 14px;
    line-height: 1;
  }
}

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

.facility-card {
  display: block;
  text-decoration: none;
}

.facility-thumb {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(10,10,10,0.08);
  background: #dbe4f0;
}

.facility-thumb img {
  width: 100%;
  height: 124px;
  object-fit: cover;
  transition: transform 0.32s ease;
}

.facility-name {
  margin: 9px 0 0;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.facility-name::before {
  content: "◯";
  color: #44a3b8;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 2px;
  flex-shrink: 0;
}

.facility-card:hover .facility-thumb img {
  transform: scale(1.05);
}

.facility-card:hover .facility-name {
  color: #1d4ed8;
}

@media (max-width: 1023px) {
  .facility-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .facility-thumb img {
    height: 118px;
  }
  .facility-name {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .facility-heading {
    font-size: 28px;
  }
  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
  }
  .facility-thumb {
    border-radius: 10px;
  }
  .facility-thumb img {
    height: 110px;
  }
  .facility-name {
    font-size: 12px;
    gap: 5px;
    margin-top: 7px;
  }
  .facility-name::before {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }
  .facility-thumb img {
    height: 180px;
  }
}

/* ----- 記事スライダー ----- */
.article-slider-en {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: #2563EB;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.heading-gif-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.article-slider-heading {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 26px;
  font-weight: 900;
  color: #0a0a0a;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.article-pop-heading,
.article-pop-item {
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.84);
  transform-origin: center center;
}

.article-pop-heading.is-pop-visible,
.article-pop-item.is-pop-visible {
  animation: article-pop-in 640ms cubic-bezier(0.2, 0.9, 0.2, 1.15) forwards;
}

.article-slider-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.article-pop-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a0a0a;
  transition: all 0.25s;
}

.slider-arrow:hover {
  background: #2563EB;
  color: #fff;
  transform: scale(1.1);
}

.article-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 20px 54px;
}

.article-slider-track::-webkit-scrollbar {
  display: none;
}

.article-card {
  flex-shrink: 0;
  width: calc((100% - 40px) / 3);
  min-width: 260px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow:
    0 10px 24px rgba(37,99,235,0.1),
    0 4px 14px rgba(0,0,0,0.06);
  z-index: 2;
}

.article-card-img {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.article-card:hover .article-card-img img {
  transform: scale(1.05);
}

.article-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.article-card:hover .article-card-overlay {
  opacity: 1;
}

.article-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #2563EB, #1d4ed8);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

.article-card-body {
  padding: 16px 18px 20px;
}

.article-card-date {
  font-size: 11px;
  font-weight: 700;
  color: #2563EB;
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.article-card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0a0a0a;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.article-slider-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 20px;
  border-radius: 9999px;
  border: 1.5px solid #0a0a0a;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  color: #0a0a0a;
  text-decoration: none;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.article-slider-link:hover {
  transform: scale(1.04);
  background: #0a0a0a;
  color: #fff;
}

.article-slider-track-wrap {
  position: relative;
}

.article-slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.article-slider-nav .slider-arrow {
  pointer-events: auto;
}

@keyframes article-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  58% {
    opacity: 1;
    transform: scale(1.08);
  }
  78% {
    transform: scale(0.96);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .article-slider-head-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    column-gap: 10px;
    row-gap: 8px;
  }
  .article-slider-heading {
    font-size: 22px;
  }
  .heading-gif-icon {
    width: 42px;
    height: 42px;
  }
  .article-slider-link {
    min-height: 38px;
    padding: 7px 16px;
    font-size: 12px;
    margin-left: 0;
    justify-self: end;
  }
  .article-slider-nav {
    display: none;
  }
  .article-slider-track {
    padding: 20px 0;
  }
  .article-card {
    width: 75vw;
    min-width: 240px;
  }
  .article-card-img {
    height: 160px;
  }
  .slider-arrow {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 768px) {
  .article-slider-heading {
    white-space: nowrap;
  }
}

/* ----- スクロール / 登場アニメーション ----- */
[data-animate] {
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
  transform: translate3d(0, 24px, 0);
}

[data-animate="fade-down"] {
  transform: translate3d(0, -20px, 0);
}

[data-animate="fade-left"] {
  transform: translate3d(-20px, 0, 0);
}

[data-animate="fade-right"] {
  transform: translate3d(20px, 0, 0);
}

[data-animate="fade"] {
  transform: translate3d(0, 0, 0);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* ----- モバイルメニュー ----- */
#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

#menu-toggle .hamburger-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle.is-open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

#menu-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}

#menu-toggle.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ----- 発信アニメーション（SNSセクション） ----- */
.broadcast-icon {
  position: relative;
  width: 48px;
  height: 48px;
}

@media (min-width: 1024px) {
  .broadcast-icon {
    width: 64px;
    height: 64px;
  }
}

.broadcast-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(255,255,255,0.6);
}

@media (min-width: 1024px) {
  .broadcast-dot {
    width: 14px;
    height: 14px;
  }
}

.broadcast-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.3);
  opacity: 0;
  animation: broadcast-pulse 2.4s cubic-bezier(0.2, 0.6, 0.4, 1) infinite;
}

.broadcast-ring-1 {
  width: 28px;
  height: 28px;
  animation-delay: 0s;
}

.broadcast-ring-2 {
  width: 44px;
  height: 44px;
  animation-delay: 0.5s;
}

.broadcast-ring-3 {
  width: 60px;
  height: 60px;
  animation-delay: 1s;
}

@media (min-width: 1024px) {
  .broadcast-ring-1 { width: 36px; height: 36px; }
  .broadcast-ring-2 { width: 56px; height: 56px; }
  .broadcast-ring-3 { width: 76px; height: 76px; }
}

@keyframes broadcast-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0.9;
  }
  70% {
    opacity: 0.3;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .broadcast-ring {
    animation: none !important;
    opacity: 0.25 !important;
    transform: translate(-50%, -50%) scale(1) !important;
  }
  .callus-phone-icon,
  .callus-sparkle {
    animation: none !important;
  }
  .hero-cta-primary::before {
    animation: none !important;
  }
  .article-pop-heading,
  .article-pop-item {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .callus-sparkle {
    opacity: 0.6 !important;
    transform: scale(1) !important;
  }
}

/* ----- Arc Footer (soine reference tone) ----- */
.saps-arc-footer {
  position: relative;
  margin-top: 68px;
  background: #1f2328;
  color: #f4f7fb;
  overflow: hidden;
}

.saps-arc-footer::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -118px;
  width: 116%;
  height: 170px;
  background: #1f2328;
  border-bottom-left-radius: 50% 100%;
  border-bottom-right-radius: 50% 100%;
}

.saps-arc-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 92px 24px 26px;
}

.saps-arc-footer-brand {
  margin-bottom: 26px;
}

.saps-arc-footer-org {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(238, 245, 255, 0.86);
}

.saps-arc-footer-name {
  margin: 4px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.14;
  color: #ffffff;
}

.saps-arc-footer-en {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.11em;
  color: rgba(222, 232, 246, 0.72);
}

.saps-arc-footer-address,
.saps-arc-footer-tel {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(240, 246, 255, 0.92);
}

.saps-arc-footer-tel a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.saps-arc-footer-contact-row {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(240, 246, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 8px;
}

.saps-arc-footer-contact-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 24px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  background: #123f89;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.saps-arc-footer-contact-row a,
.saps-arc-footer-fax {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.saps-arc-footer-nav-wrap {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.saps-arc-footer-col-title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(219, 232, 248, 0.9);
}

.saps-arc-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.saps-arc-footer-list a {
  color: rgba(245, 250, 255, 0.88);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.45;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.saps-arc-footer-list a:hover {
  color: #ffffff;
  opacity: 1;
}

.saps-arc-footer-copy {
  margin: 20px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(217, 229, 243, 0.66);
}

body.has-arc-footer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.has-arc-footer main {
  flex: 1;
}

@media (max-width: 767px) {
  .saps-arc-footer {
    margin-top: 50px;
  }

  .saps-arc-footer::before {
    left: -20%;
    top: -88px;
    width: 140%;
    height: 126px;
  }

  .saps-arc-footer-inner {
    padding: 66px 14px 18px;
  }

  .saps-arc-footer-name {
    font-size: clamp(22px, 8vw, 30px);
  }

  .saps-arc-footer-address,
  .saps-arc-footer-tel,
  .saps-arc-footer-list a {
    font-size: 13px;
  }

  .saps-arc-footer-contact-row {
    font-size: 13px;
  }

  .saps-arc-footer-contact-label {
    min-width: 40px;
    height: 22px;
    font-size: 11px;
  }

  .saps-arc-footer-nav-wrap {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .saps-arc-footer-copy {
    margin-top: 14px;
    font-size: 11px;
  }
}

