:root {
  --primary: #0077a3;
  --primary-light: rgba(0, 119, 163, 0.1);
  --primary-foreground: #ffffff;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --muted: rgba(125, 132, 136, 0.408);
  --muted-foreground: #64748b;
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #0077a3;
  --destructive: #ef4444;
  --destructive-foreground: #ffffff;
  --radius: 0.5rem;
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

img {
  user-select: none;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans JP", sans-serif;
}

.b-m-16 {
  padding-left: 1.5rem;
  margin-bottom: 16px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
}



.body-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/assets/img/body-bg.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right;
  background-attachment: fixed;
  z-index: -4;
}


/* iOSだけ固定を無効にする */
@supports (-webkit-touch-callout: none) {
  .body-background {
    background-attachment: scroll;
    /* iOSでは固定しない */
  }
}


.body-background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  /* ←ここで透過度を調整 */
  z-index: -3;
}

/* Loading Screen */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 153px;
  height: 117px;
}

.icon-container {
  margin-bottom: 2rem;
}

.utensils-icon {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 0.6;
    transform: scale(0.95);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  100% {
    opacity: 0.6;
    transform: scale(0.95);
  }
}

.company-title {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #4c78af;
}

.progress-container {
  width: 16rem;
  margin: 0 auto;
}

.progress-bar {
  width: 100%;
  height: 0.5rem;
  background-color: #e0e0e0;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background-color: #4c78af;
  border-radius: 9999px;
  width: 0%;
  transition: width 0.3s ease-out;
}

.progress-text {
  font-size: 0.875rem;
  color: #666;
}

.keywords-container {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.keyword {
  padding: 0.25rem 0.75rem;
  background-color: rgba(76, 99, 175, 0.1);
  color: #4c78af;
  border-radius: 9999px;
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* クッキーバナーのスタイル */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9998;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
}

.cookie-text p {
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-text a {
  color: #3498db;
  text-decoration: none;
  font-weight: 500;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn.accept {
  background: #27ae60;
  color: white;
}

.cookie-btn.accept:hover {
  background: #2ecc71;
  transform: translateY(-2px);
}

.cookie-btn.decline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cookie-btn.decline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.cookie-btn.settings {
  background: #34495e;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.settings:hover {
  background: #2c3e50;
  border-color: rgba(255, 255, 255, 0.4);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 15px;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}

/* バナー非表示時のスタイル */
.cookie-status {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 12px;
  display: none;
}

.reset-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 14px;
}

.reset-btn:hover {
  background: #c0392b;
}


/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  padding: 1.25rem 0;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  width: 210px;
  height: 40px;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgb(247, 253, 255);
  transition: color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.logo img {
  width: 100%;
}

.header.scrolled .logo {
  color: var(--primary);
}

.nav-desktop {
  display: none;
}

.nav-item {
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin: 0 0.25rem;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.header.scrolled .nav-item {
  color: var(--foreground);
}

.header.scrolled .nav-item.active {
  background-color: var(--muted);
  color: var(--primary);
}

.header.scrolled .nav-item:hover {
  background-color: var(--muted);
  color: var(--primary);
}

.nav-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border: none;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: #ffffff;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.btn-outline:hover {
  background-color: var(--muted);
  color: #fff;
}

.btn-light {
  color: rgb(82, 85, 86);
  border-color: white;
}

.btn-icon {
  padding: 0.5rem;
  border-radius: 50%;
}

.mobile-menu-btn {
  display: block;
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
}

.header.scrolled .mobile-menu-btn {
  color: var(--foreground);
}

.mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  display: none;
  animation: slideInRight 0.3s ease-out;
}

.mobile-menu.open {
  display: block;
}

.mobile-nav-item {
  display: block;
  padding: 0.75rem 1rem;
  margin: 0.5rem 1rem;
  border-radius: var(--radius);
}

.mobile-nav-item:hover {
  background-color: var(--muted);
}

.mobile-nav-item.active {
  background-color: rgba(0, 119, 163, 0.1);
  color: var(--primary);
}

.mobile-contact-btn {
  display: block;
  margin: 1rem;
}



/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: center;
  background-color: rgba(0, 0, 0, 0.3);
  background-blend-mode: overlay;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  /* 好みで調整 */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, white 100%);
  pointer-events: none;
  /* クリックイベントに干渉しないように */
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease;
}

.hero-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title span {
  color: #58c4f5;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease;
  transition-delay: 300ms;
}

.hero-description span {
  color: #58c4f5;
}

.hero-description.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s ease;
  transition-delay: 500ms;
}

.hero-buttons.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  opacity: 0;
  transition: opacity 1s ease;
  transition-delay: 700ms;
}

.hero-scroll.visible {
  opacity: 1;
}

/* 各ページヒーロー設定 */
/* ニュース */
.news-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/news/news_hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.news-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.news-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.news-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.news-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ランキング */
.ranking-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/ranking/rankingyou1.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ranking-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.ranking-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.ranking-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.ranking-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 会社概要 */
.organization_chart {
  width: 100%;
}

.organization_chart img {
  width: 100%;
}

.CTF_img {
  width: 100%;
  display: flex;
  justify-content: center;
  /* 左右中央 */
  align-items: center;
  /* 上下中央 */
}

.CTF_img img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  /* 枠内に収める（必要に応じて） */
}

.Philosophy-content {
  background: rgb(255, 248, 240);
  padding: 50px;
  position: relative;
  margin: 40px 0;
  border-left: 8px solid transparent;
  border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%)1;
}

.Philosophy-content {
  opacity: 0;
  transform: translate(-100vw);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.Philosophy-content.show {
  opacity: 1;
  transform: translateX(0);
}

.Philosophy-content:nth-child(even) {
  margin-left: 60px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  border-left: none;
  border-right: 8px solid transparent;
  border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%)1;
}

.Philosophy-content:nth-child(odd) {
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}

.Philosophy-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 25px;
  position: relative;
}

.Philosophy-title::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -20px;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%);
}

.Philosophy-content-text {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.Actions-content {
  background: rgb(255, 248, 240);
  padding: 50px;
  position: relative;
  margin: 40px 0;
  border-left: 8px solid transparent;
  border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%)1;
}

.Actions-content {
  opacity: 0;
  transform: translate(100vw);
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.Actions-content.show {
  opacity: 1;
  transform: translateX(0);
}

.Actions-content:nth-child(even) {
  margin-left: 0px;
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 40px 100%, 0 calc(100% - 40px));
  border-left: none;
  border-right: 8px solid transparent;
  border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%)1;
}

.Actions-content:nth-child(odd) {
  clip-path: polygon(40px 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%, 0 40px);
}

.Actions-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 25px;
  position: relative;
}

.Actions-title::before {
  content: '';
  position: absolute;
  top: -15px;
  left: -20px;
  width: 60px;
  height: 4px;
  background: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%);
}

.Actions-content-text {
  color: #555;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/about/about_thumb.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 大きい画面: 下を強調 */
@media (min-width: 768px) {
  .about-hero {
    background-position: center top;
  }
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.about-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.about-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.about-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.info-content span {
  white-space: nowrap;
  /* 各銀行名を途中で改行させない */
}

.info-card-bg {
  background: linear-gradient(135deg, #005eff 0%, #764ba2 100%);
  border-radius: 24px;
  position: relative;
  overflow-x: hidden;
  margin-bottom: 40px;
}

.info-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  animation: fadeInUp 1s ease-out 0.3s both;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s;
}

.info-card:hover::before {
  left: 100%;
}

.info-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem 1rem;
  transform: scale(1.01);
}

.info-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

.info-label::before {
  content: '';
  width: 4px;
  height: 20px;
  background: linear-gradient(135deg, #ffdc6b, #4ecdc4);
  border-radius: 2px;
  margin-right: 0.75rem;
  transition: height 0.3s ease;
}

.info-row:hover .info-label::before {
  height: 30px;
}

.info-content {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-size: 0.95rem;
}

.info-content ul {
  list-style-type: none;
  padding: 0;
}

.info-content li {
  padding: 0.4rem 0;
  position: relative;
  padding-left: 1.5rem;
  transition: all 0.3s ease;
}

.info-content li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #4ecdc4;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.info-content li:hover::before {
  transform: translateX(4px);
  color: #ff9f6b;
}

.highlight-number {
  background: linear-gradient(135deg, #ffb86b, #4ecdc4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.1rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(78, 205, 196, 0.1));
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  .company-logo {
    font-size: 2rem;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .info-label::before {
    width: 3px;
    height: 15px;
  }

  .info-card {
    padding: 1.5rem;
  }
}


.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
  transform: translateX(-50%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin: 3rem 0;
  opacity: 0;
  animation: slideIn 0.8s ease-out forwards;
}

.timeline-item:nth-child(odd) {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(even) {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(3n) {
  animation-delay: 0.3s;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin: 0 2rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.timeline-content-native {
  background: linear-gradient(135deg, #005eff, #4ea7ff) !important;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-content:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.timeline-content::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border: 15px solid transparent;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-content::before {
  right: -30px;
  border-left-color: rgba(255, 255, 255, 0.15);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -30px;
  border-right-color: rgba(255, 255, 255, 0.15);
}

.timeline-date {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  z-index: 10;
  transition: all 0.3s ease;
}

.timeline-date:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.event-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.event-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}

.milestone {
  background: linear-gradient(135deg, #ffd700, #ffed4e) !important;
  color: #333 !important;
}

.milestone .event-title {
  color: #333;
}

.milestone .event-description {
  color: rgba(51, 51, 51, 0.8);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 2rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 4rem;
  }

  .timeline-date {
    left: 2rem;
    font-size: 0.8rem;
    padding: 0.8rem 1rem;
  }

  .timeline-content::before {
    display: none;
  }

  .header h1 {
    font-size: 2rem;
  }
}

/* スマホ小サイズ対応 */
@media (max-width: 480px) {
  .timeline {
    padding: 1rem 0;
  }

  .timeline::before {
    left: 4rem;
    /* より右に移動 */
  }

  .timeline-item {
    margin: 2rem 0;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 1rem 0 6rem;
    /* より右に移動 */
  }

  .timeline-date {
    left: 4rem;
    /* より右に移動 */
    font-size: 0.75rem;
    padding: 0.6rem 0.8rem;
    min-width: 80px;
    /* 最小幅を設定 */
    text-align: center;
  }

  .timeline-content {
    padding: 1.5rem;
    border-radius: 15px;
  }

  .event-title {
    font-size: 1.1rem;
  }

  .event-description {
    font-size: 0.9rem;
  }

  .ranking-hero-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
  }

  .Philosophy-content,
  .Actions-content {
    padding: 20px 15px;
    margin-bottom: 25px;
    border-left: 4px solid transparent;
    border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%) 1;
    /* スマホではクリップパスを無効化してシンプルに */
    clip-path: none;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 1;
    transform: translateX(0);
  }

  .Philosophy-content:nth-child(even),
  .Actions-content:nth-child(even) {
    margin-left: 0;
    border-left: 4px solid transparent;
    border-right: none;
    border-image: linear-gradient(135deg, #52E5E7 10%, #130CB7 100%) 1;
    clip-path: none;
  }

  .Philosophy-content:nth-child(odd),
  .Actions-content:nth-child(odd) {
    clip-path: none;
  }

  .Philosophy-title,
  .Actions-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }

  .Philosophy-title::before,
  .Actions-title::before {
    top: -10px;
    left: -10px;
    width: 40px;
    height: 3px;
  }

  .Philosophy-content-text,
  .Actions-content-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
  }

  .Action-policy-table td {
    padding: 0.6rem;
  }

  .Action-policy-table ul {
    padding-left: 1rem;
  }

  .Action-policy-table li {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }
}

/* 超小サイズ対応 */
@media (max-width: 360px) {
  .timeline::before {
    left: 3.5rem;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0.5rem 0 5.5rem;
  }

  .timeline-date {
    left: 3.5rem;
    font-size: 0.7rem;
    padding: 0.5rem 0.6rem;
    min-width: 70px;
  }

  .timeline-content {
    padding: 1rem;
  }

  .Philosophy-content,
  .Actions-content {
    padding: 15px 12px;
  }

  .Philosophy-title,
  .Actions-title {
    font-size: 1.3rem;
  }

  .Philosophy-content-text,
  .Actions-content-text {
    font-size: 0.95rem;
  }

  .Action-policy-table li {
    font-size: 0.9rem;
  }
}



/* 事業内容 */
.services-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/services/services_thumb.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.services-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.services-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.services-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.principles-subtitle {
  margin-bottom: 40px;
  text-align: center;
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.principle-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4) 1;
  clip-path: polygon(20px 0%, 100% 0%, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0% 100%, 0% 20px);
  padding: 35px 30px;
  position: relative;
  overflow: hidden;
}

.principle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(255, 107, 107, 0.1) 0%,
      rgba(78, 205, 196, 0.1) 25%,
      rgba(69, 183, 209, 0.1) 50%,
      rgba(150, 206, 180, 0.1) 75%,
      rgba(255, 107, 107, 0.1) 100%);
  z-index: -1;
}

.principle-card:nth-child(odd) {
  clip-path: polygon(0% 0%, calc(100% - 20px) 0%, 100% 20px, 100% 100%, 20px 100%, 0% calc(100% - 20px));
}

.principle-card:nth-child(1) {
  border-image-source: linear-gradient(45deg, #ff6b6b, #ffa726);
}

.principle-card:nth-child(2) {
  border-image-source: linear-gradient(45deg, #4ecdc4, #26c6da);
}

.principle-card:nth-child(3) {
  border-image-source: linear-gradient(45deg, #45b7d1, #5c6bc0);
}

.principle-card:nth-child(4) {
  border-image-source: linear-gradient(45deg, #96ceb4, #66bb6a);
}

.principle-card:nth-child(5) {
  border-image-source: linear-gradient(45deg, #ffa726, #ff7043);
}

.principle-card:nth-child(6) {
  border-image-source: linear-gradient(45deg, #ab47bc, #e91e63);
}

.principle-card:nth-child(7) {
  border-image-source: linear-gradient(45deg, #42a5f5, #1e88e5);
}

.principle-card:nth-child(8) {
  border-image-source: linear-gradient(45deg, #ef5350, #f06292);
}

.principle-icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.principle-icon-container::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  top: -2px;
  left: -2px;
  z-index: -1;
}

.principle-icon {
  color: white;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.principle-title {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #2c3e50, #3498db);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 2px;
}

.principle-description {
  font-size: 16px;
  line-height: 1.8;
  color: #34495e;
  text-align: justify;
  position: relative;
  padding-left: 20px;
}

.principle-description::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

/* 各カードに独自の装飾 */
.principle-card:nth-child(1) .principle-icon-container {
  background: linear-gradient(135deg, #ff6b6b, #ffa726);
}

.principle-card:nth-child(2) .principle-icon-container {
  background: linear-gradient(135deg, #4ecdc4, #26c6da);
}

.principle-card:nth-child(3) .principle-icon-container {
  background: linear-gradient(135deg, #45b7d1, #5c6bc0);
}

.principle-card:nth-child(4) .principle-icon-container {
  background: linear-gradient(135deg, #96ceb4, #66bb6a);
}

.principle-card:nth-child(5) .principle-icon-container {
  background: linear-gradient(135deg, #ffa726, #ff7043);
}

.principle-card:nth-child(6) .principle-icon-container {
  background: linear-gradient(135deg, #ab47bc, #e91e63);
}

.principle-card:nth-child(7) .principle-icon-container {
  background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

.principle-card:nth-child(8) .principle-icon-container {
  background: linear-gradient(135deg, #ef5350, #f06292);
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .principles-section {
    padding: 6rem 0;
  }

  .principles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 10px;
  }

  .principle-card {
    padding: 25px 20px;
  }

  .principle-title {
    font-size: 24px;
  }

  .principle-description {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .principles-section {
    padding: 8rem 0;
  }

  .principles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* 量販店催事事業 */
.retail-content {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 各列の幅を均等に（50%:50%） */
  gap: 10px;
  /* 任意：要素間の間隔 */
  align-items: center;
  justify-content: center;
  text-align: left;
}

.retail-content-l,
.retail-content-r {
  padding: 1.5rem;
}

.retail-content-l ul li {
  margin-bottom: 16px;
  position: relative;
  padding-left: 1.8em;
  /* チェックマーク用の余白 */
}

.retail-content-l ul li::before {
  content: "〇";
  position: absolute;
  left: 0;
  top: 0;
  color: #ff750b;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.2;

  /* 絶対配置でも高さ揃うように */
}

/* メイン画像コンテナ */
.main-image-container {
  position: relative;
  height: 16rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  margin-top: 24px;
}

/* サブ画像グリッド */
.sub-images-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* サブ画像コンテナ */
.sub-image-container {
  position: relative;
  height: 8rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

/* 画像共通スタイル */
.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* ホバー時の画像拡大 */
.main-image-container:hover .event-image,
.sub-image-container:hover .event-image {
  transform: scale(1.1);
}

/* オーバーレイ */
.image-overlay {
  position: absolute;
  inset: 0;
  /* top, right, bottom, left すべてを0に設定 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
}

/* ホバー時のオーバーレイ表示 */
.main-image-container:hover .image-overlay,
.sub-image-container:hover .image-overlay {
  opacity: 1;
}

/* オーバーレイテキスト */
.overlay-text {
  color: white;
  padding: 1rem;
  font-weight: 500;
}

.overlay-text.small {
  padding: 0.5rem;
  font-size: 0.875rem;
}

/* アニメーション */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateY(-10deg);
  }

  to {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
  }
}

/* レスポンシブ対応 */
@media (max-width: 660px) {
  .retail-content-l .retail-content-subtitle {
    font-size: 14px;
  }

  .retail-content-l ul li {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .sub-images-grid {
    grid-template-columns: 1fr;
  }

  .main-image-container {
    height: 12rem;
  }

  .retail-content {
    grid-template-columns: 1fr;
    /* 縦並び（1列） */
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .retail-content-l,
  .retail-content-r {
    padding: 1.5rem;
  }

  .retail-content-l h3 {
    font-size: 24px;
  }

  .retail-content-l {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 各列の幅を均等に（50%:50%） */
    align-items: center;
    justify-content: center;
    text-align: left;
    gap: 10px;
  }



  .retail-content-l ul li {
    padding-left: 0;
    font-size: 16px;
  }

  .retail-content-l ul li::before {
    position: static;
    /* 絶対位置を解除して通常のテキストとして表示 */
    display: inline-block;
    margin-right: 0.4em;

  }

  @media (max-width: 660px) {
    .retail-content-l .retail-content-subtitle {
      font-size: 14px;
    }

    .retail-content-l ul li {
      font-size: 10px;
    }
  }

  @media (max-width: 390px) {
    .retail-content-l .retail-content-subtitle {
      font-size: 12px;
    }

    .retail-content-l ul li {
      font-size: 8px;
    }
  }
}

.retail-content-subtitle {
  font-size: 26px;
  color: var(--primary);
}

.retail-content-r-image-b img {
  width: 99%;
  border-radius: 15px;
}

.retail-content-l ul {
  list-style: none;
}

.Achievements {
  margin-top: 40px;
  background-color: var(--primary);
  color: #fff;
  padding: 1.5rem;
  border-radius: 15px;
}

.Achievements-title {
  font-size: 26px;
}

.customer-t-title {
  font-size: 26px;
  color: var(--primary);
  padding: 15px 0 0 24px;
}

.customer {
  background-color: #f2f2f2;
  border-radius: 15px;
}

.quote-3 {
  position: relative;
  padding: 3em 2.5em 2em 3.5em;
  color: #333333;

}

.quote-3::before {
  display: inline-block;
  position: absolute;
  top: 1em;
  left: 1.5em;
  width: 2em;
  height: 2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.58341 17.3211C3.55316 16.2274 3 15 3 13.0103C3 9.51086 5.45651 6.37366 9.03059 4.82318L9.92328 6.20079C6.58804 8.00539 5.93618 10.346 5.67564 11.822C6.21263 11.5443 6.91558 11.4466 7.60471 11.5105C9.40908 11.6778 10.8312 13.159 10.8312 15C10.8312 16.933 9.26416 18.5 7.33116 18.5C6.2581 18.5 5.23196 18.0095 4.58341 17.3211ZM14.5834 17.3211C13.5532 16.2274 13 15 13 13.0103C13 9.51086 15.4565 6.37366 19.0306 4.82318L19.9233 6.20079C16.588 8.00539 15.9362 10.346 15.6756 11.822C16.2126 11.5443 16.9156 11.4466 17.6047 11.5105C19.4091 11.6778 20.8312 13.159 20.8312 15C20.8312 16.933 19.2642 18.5 17.3312 18.5C16.2581 18.5 15.232 18.0095 14.5834 17.3211Z' fill='%232589d0'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: '';
}

.quote-3 p {
  margin-top: 0;
}

.quote-3 cite {
  display: block;
  color: #737373;
  font-size: .8em;
  text-align: right;
}

.retail-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/services/retail/retail_thumb.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.retail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.retail-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.retail-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.retail-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 資材事業 */
.materials-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('https://placehold.co/1920x1080');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.materials-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.materials-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.materials-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.materials-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* イベント催事事業 */
.events-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/services/events/events_hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.events-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.events-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.events-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.events-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 日配事業 */
.distribution-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('https://placehold.co/1920x1080');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.distribution-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.distribution-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.distribution-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.distribution-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ギフト事業 */
.gift-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('https://placehold.co/1920x1080');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gift-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.gift-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.gift-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.gift-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 不動産事業 */
.realestate-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/services/realestate/001.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.realestate-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.realestate-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.realestate-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.realestate-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* 利用規約 */
.sitepolicy-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/sp-hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sitepolicy-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.sitepolicy-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.sitepolicy-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.sitepolicy-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* プライバシーポリシー */
.privacy-policies-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  background-image: url('/assets/img/pp-hero.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.privacy-policies-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.privacy-policies-hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 1rem;
}

.privacy-policies-hero-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.privacy-policies-hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}


/* ページトップボタン */

#page_top {
  width: 70px;
  height: 70px;
  position: fixed;
  right: 2%;
  bottom: 5%;
  opacity: 0.6;
  z-index: 9998;
}

#page_top a {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  text-decoration: none;
  border-radius: 35px;
  background-color: #2563eb;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f102';
  font-size: 20px;
  color: #ffffff;
  position: absolute;
  width: 25px;
  height: 25px;
  top: -30px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}

#page_top a::after {
  content: 'PAGE TOP';
  font-size: 10px;
  color: #fff;
  position: absolute;
  top: 35px;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
  color: #ffffff;
}

/* history-section */
.history-section {
  width: 100%;
  height: auto;
  background-color: rgba(146, 200, 255, 0.5);
  border-radius: 45px;
  padding-bottom: 40px;
}

/* Business Areas Section */
.section {
  padding: 4rem 1rem;
}

.section-white {
  background-color: white;
}

.section-services {
  position: relative;
  overflow: hidden;
}

.section-services::before {
  content: "";
  position: absolute;
  inset: 0;
  /* top:0; left:0; right:0; bottom:0; の省略形 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: var(--bg-url, none);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: -1;
}

.section-services.bg-visible::before {
  opacity: 1;
}




.section-muted {
  background-color: rgba(222, 239, 255, 0.5);
  border-radius: 45px;
  margin-bottom: 26px;
}

.section-title-container {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--primary);
  text-align: center;
}

.section-title::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(to right,
      transparent 0%,
      rgb(90, 97, 230) 40%,
      rgb(90, 97, 230) 60%,
      transparent 100%);
}

.section-ranking-image-link {
  width: 70%;
  height: 70%;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  margin-top: 45px;
  border-radius: 10px;
}

/* 画像 */
.section-ranking-image-link img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}

/* 暗転用レイヤー */
.section-ranking-image-link .ranking-image-link-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  z-index: 1;
}

/* テキスト */
.ranking-image-link-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 15px 35px;
  /* 下部に余裕を持たせる */
  transform: translateY(15px);
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.2em;
  transition: background 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.9;
  z-index: 2;
}

/* ホバー時の暗転 */
.section-ranking-image-link:hover .ranking-image-link-overlay::after {
  background: rgba(0, 0, 0, 0.3);
}

/* ホバー時のテキスト効果 */
.section-ranking-image-link:hover .ranking-image-link-text {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(0);
  opacity: 1;
}

/* ホバー時の画像拡大 */
.section-ranking-image-link:hover img {
  transform: scale(1.1);
}

@media screen and (max-width: 768px) {
  .section-ranking-image-link {
    width: 100%;
    height: 100%;
  }
}

.section-description {
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  grid-auto-rows: 1fr;
  align-items: stretch;
}

.business-card {
  background-color: #f6fbff62;
  border-radius: var(--radius);
  overflow: hidden;
  border: solid 2px transparent;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ホバー中のカード */
.business-card.hovered {
  opacity: 1 !important;
  transform: scale(1.05);
  border-color: #007acc;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

/* ホバーしていないカードは薄く */
.business-card.faded {
  opacity: 0.4;
  transform: scale(0.97);
}


.services-card {
  background-color: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
  border: solid 2px transparent;
  padding: 1.5rem;
}

/* 事業紹介カード背景画像設定用 */
/* 共通 */
.business-card-retail,
.business-card-realestate,
.business-card-materials,
.business-card-gift,
.business-card-events,
.business-card-distribution {
  background-size: cover;
  /* 要素に画像をぴったり収める */
  background-position: center;
  /* 画像を中央に配置 */
  background-repeat: no-repeat;
  /* 画像の繰り返しを防ぐ */
}

.business-card:hover::before {
  transform: scale(1.1);
}

.business-card::before {
  content: '';
  position: absolute;
  inset: 0;
  /* top: 0; right: 0; bottom: 0; left: 0 と同じ */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.6s ease;
  z-index: -1;
}

/* 量販店催事事業 */
.business-card-retail::before {
  background-image: url(/assets/img/services/retail/retail_thumb.webp);
}

.business-card-retail:hover {
  transform: scale(1.1);
}


/* 資材事業 */
.business-card-materials::before {
  background-image: url(/assets/img/tobe_img.webp);
}

.business-card-materials:hover {
  transform: scale(1.1);
}

/* イベント催事事業 */
.business-card-events::before {
  background-image: url(/assets/img/services/events/events_thumb.webp);
}

.business-card-events:hover {
  transform: scale(1.1);
}

/* 日配事業 */
.business-card-distribution::before {
  background-image: url(/assets/img/tobe_img.webp);
}

.business-card-distribution:hover {
  transform: scale(1.1);
}



/* 不動産事業 */
.business-card-realestate::before {
  background-image: url('/assets/img/services/realestate/001.webp');
}

.business-card-realestate:hover {
  transform: scale(1.1);
}

.business-card:hover span>svg {
  stroke: #36a6ce;
}

.business-card:hover {
  transform: translateY(-0.5rem);
  color: #36a6ce;
  border: solid 2px #2589d0;
}

.c-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
}

.card {
  background-color: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* フェードイン完了後に transition を 0.3s に変更 */

.card.visible:hover {
  transition: all 0.3s ease-out;
  transform: translateY(-10px);
}

.card.visible:hover .news-card-title {
  color: #36a6ce;
  transition: 0.3s;
}


.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.5rem;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.9) 0%,
      /* 上は普通に塗りつぶし */
      rgba(255, 255, 255, 0.9) 90%,
      /* 90%まではそのまま色 */
      rgba(52, 152, 219, 0) 100%
      /* 下10%で透明にフェードアウト */
    );
}

.services-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
  padding: 1.5rem 0 1.5rem;
}

.services-section-reverse {
  flex-direction: row-reverse;
}

.services-description-content {
  flex: 1;
  padding: 40px;
  min-width: 200px;
}

.services-image-content {
  aspect-ratio: 3/2;
  flex: 1;
  min-width: 200px;
  padding: 40px;
  overflow: hidden;
}

.services-image-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.card-icon-container {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--primary-light);
  padding: 0.5rem;
  border-radius: 9999px;
}

.card-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

@media(max-width: 768px) {
  .services-section {
    flex-direction: column;
  }

  .services-section-reverse {
    flex-direction: column;
  }

  .services-description-content,
  .services-image-content {
    width: 100%;
  }

  .services-image-content {
    padding: 0;
  }

  .services-description-content {
    padding: 30px;
  }
}

.business-card:hover .card-icon-container {
  background-color: #2563eb;
  transition: all 0.3s ease;

}

.business-card:hover svg {
  stroke: #FFF;
  transition: all 0.3s ease;

}


.card-title {
  font-size: 1.25rem;
  font-weight: 700;
}



.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  flex-direction: column;
}

.card-content-services {
  height: 200px;
}

.card-content-dummy {
  height: 150px;
}

.card-description {
  color: var(--muted-foreground);
  flex-grow: 1;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.text-center {
  text-align: center;
}

.mt-12 {
  margin-top: 3rem;
  padding-top: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1rem;
}

.ml-4 {
  margin-left: 1rem;
}

.access-info p {
  margin-bottom: 16px;
}

.group {
  position: relative;
}

.group:hover .group-hover-translate-x {
  transform: translateX(4px);
}

.icon-right {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

/* News Section */
/* 過去のニュースセクションのスタイル改修 */
.news-archive-section {
  margin-top: 50px;
  padding: 5rem 0;
  background-color: #f8fafc;
  border-radius: 16px;
}

/* ニュースフィルター */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: 0.5rem;
}

.news-filter-item {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background-color: #fff;
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.news-filter-item:hover {
  background-color: #f1f5f9;
  color: #3182ce;
}

.news-filter-item.active {
  background-color: #3182ce;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.1), 0 2px 4px -1px rgba(49, 130, 206, 0.06);
}

/* ニュースグリッド */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  min-height: 400px;
  /* 最小の高さを設定して、ページ切り替え時のレイアウトシフトを防ぐ */
}

/* ニュースカード */
.news-card {
  background-color: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
  height: 100%;
  opacity: 0;
  transform: translateY(20px);
}

.news-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.news-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card:hover .news-card-image img {
  transform: scale(1.10);
}

.news-card-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.5rem 1rem;
  background-color: #3182ce;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  z-index: 1;
}

.news-card-date {
  padding: 0.5rem 1rem;
  background-color: rgba(213, 244, 255, 0.9);
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  z-index: 1;
}

.news-card-date-2 {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 1rem;
  background-color: rgba(213, 244, 255, 0.9);
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  z-index: 1;
}

.news-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
  line-height: 1.4;
  padding: 1.5rem 1.5rem 0 1.5rem;
}

.news-card-title-2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
  line-height: 1.4;
  padding: 0;
}

.news-card-excerpt {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.news-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.news-card-more {
  display: flex;
  align-items: center;
  color: #3182ce;
  font-weight: 600;
  font-size: 0.875rem;
  margin-top: auto;
  transition: color 0.2s ease;
}

.news-card-more svg {
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.news-card:hover .news-card-more {
  color: #2563eb;
}

.news-card:hover .news-card-more svg {
  transform: translateX(3px);
}

.card-footer {
  color: #36a6ce;
  display: flex;
  justify-content: space-between;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.btn-ghost {
  background-color: transparent;
  height: auto;
  padding: 0;
}

.btn-ghost:hover {
  background-color: transparent;
}

/* Partners Section */


.about-card-image {
  width: 100%;
}

.about-googlemap {
  width: 70%;
  height: 70%;
  aspect-ratio: 16/9;
}

.company-table ul li::marker {
  color: #ff750b;
}

.company-table th {
  background-color: #f8fafc;
}

.Action-policy-table ul {
  list-style: none;
}

.Action-policy-table ul li {
  margin-bottom: 16px;
  position: relative;
  line-height: 1.5;
  /* 縦位置を安定させる */
  padding-left: 1.6em;
}

.Action-policy-table ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1em;
  /* 微調整（フォントサイズとのバランスで調整可） */
  color: #ff750b;
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1;
  /* 絶対配置でも高さ揃うように */
}

.mt-4 ul li {
  margin-left: 20px;
}

.mt-4 ul li::marker {
  color: #ff750b;
}

.history-table th {
  background-color: #f8fafc;
}

/* 代表挨拶セクションのレスポンシブ対応強化 */
.message-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  height: auto;
  width: 100%;
  position: relative;
}

.message-container::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 10px;
  right: 10px;
  border: 2px solid #fff;
  pointer-events: none;
  z-index: 1;
}

/* 左側メッセージ */
.message-left {
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  color: #262629;
  padding: 2rem;
  min-width: 200px;
}

.message-left p {
  margin-bottom: 12px;
  line-height: 1.8;
}

/* 右側画像 */
.message-right {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  min-width: 200px;
}

.message-right img {
  width: 100%;
  /* 親要素の幅に合わせる */
  aspect-ratio: 1 / 1;
  /* 正方形に固定 */
  object-fit: cover;
  /* はみ出す部分はトリミング */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* レスポンシブ対応 */
@media screen and (max-width: 1200px) {
  .message-left br {
    display: none;
    /* 大きめの画面でも改行を解除 */
  }

  .message-left p {
    text-align: left;
  }
}

@media screen and (max-width: 992px) {
  .message-container {
    flex-direction: column-reverse;
    /* 画像を上、テキストを下に配置 */
  }

  .message-left,
  .message-right {
    width: 100%;
  }

  .message-right {
    padding-bottom: 1rem;
  }

  .message-left {
    padding-top: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .CTF_img img {
    max-width: 100%;
    max-height: 100%;
  }

  .message-left {
    align-items: center;
    text-align: center;
    padding: 1.5rem;
  }

  .message-right {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }

  .message-right img {
    max-width: 80%;
  }
}

@media screen and (max-width: 480px) {
  .CTF_img img {
    max-width: 100%;
    max-height: 100%;
  }

  .card-content {
    padding: 0;
  }

  .news-card-content {
    padding: 1rem;
  }

  .message-left {
    padding: 0 1.5rem 1.5rem 1.5rem;
  }

  .message-right {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }

  .message-right img {
    max-width: 100%;
  }

  .message-left p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .news-archive-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 1rem;
  }

  .news-archive-section .container {
    padding: 0;
  }

  .news-grid {
    padding: 0 1rem;
  }

  .c-card {
    overflow: visible;
  }

  .news-card-content .mt-12 {
    margin-top: 0;
  }
}

/* services */

.customer-list ul {
  column-count: 2;
  column-gap: 20px;
  padding-left: 20px;
}

.customer-list li {
  list-style: none;
  break-inside: avoid;
  margin-bottom: 6px;
}

.Logistics-list ul {
  padding-left: 40px;
}

.Logistics-list li {
  margin-bottom: 6px;
}

.Logistics-list li::marker {
  color: #ff750b;
}

/* recruit */
.recruit-table ul li::marker {
  color: #3182ce;
}

@media screen and (max-width:768px) {
  .customer-list ul {
    column-count: 1;
  }
}

/* CTA Section */
.section-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 4rem 1rem;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  max-width: 32rem;
  margin: 0 auto 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.btn-secondary {
  background-color: white;
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--secondary);
}

.btn-lg {
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/* Footer */
.footer {
  background-color: #1a202c;
  color: white;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-description {
  color: #a0aec0;
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #a0aec0;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: white;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: #a0aec0;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.contact-link {
  color: var(--primary);
}

.footer-address {
  font-style: normal;
  color: #a0aec0;
}

.footer-address p {
  margin-bottom: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid #2d3748;
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: #a0aec0;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
}

.footer-bottom-link {
  display: flex;
  gap: 22px;
}

/* ページネーション（改修版） */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.pagination-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  background-color: #fff;
  color: #64748b;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-button:hover:not(:disabled) {
  background-color: #f1f5f9;
  color: #3182ce;
}

.pagination-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  margin: 0 1rem;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.25rem;
  border: none;
  background-color: #fff;
  color: #64748b;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pagination-number:hover:not(.active) {
  background-color: #f1f5f9;
  color: #3182ce;
}

.pagination-number.active {
  background-color: #3182ce;
  color: #fff;
  box-shadow: 0 4px 6px -1px rgba(49, 130, 206, 0.1), 0 2px 4px -1px rgba(49, 130, 206, 0.06);
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #64748b;
}

/*
プライバシーポリシー
*/

.pp-section-1 p {
  margin-bottom: 16px;
}

.pp-section-3 p {
  margin-bottom: 16px;
}

.pp-section-3 ol {
  padding-left: 26px;
}

.pp-section-3 ol li::marker {
  color: #ff750b;
  font-weight: bold;
}

.pp-section-3 li {
  margin-bottom: 16px;
}

.pp-section-4 p {
  margin-bottom: 16px;
}

.pp-section-9 a {
  color: #2563eb;
}

/* 
サイトポリシー
 */
.sp-section-1 p {
  margin-bottom: 16px;
}

.sp-section-1 ul {
  padding-left: 26px;
}

.sp-section-1 li {
  margin-bottom: 16px;
}

.sp-section-1 ul li::marker {
  color: #ff750b;
  font-weight: bold;
}

.subsection-title {
  position: relative;
  padding: 0.3em 0.5em;
  margin-bottom: 16px;
  background: -webkit-linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  background: linear-gradient(to top, rgb(137, 184, 255), #c5ceff);
  color: #495193;
}

h4 {
  padding: .5em .7em;
  border-left: 5px solid #2589d0;
  color: #333333;
  margin-bottom: 16px;
}

.sp-section-1 ol {
  padding-left: 26px;
}

.sp-section-1 li {
  margin-bottom: 16px;
}

.sp-section-1 ol li::marker {
  color: #ff750b;
  font-weight: bold;
}

.sp-section-2 p {
  margin-bottom: 16px;
}

.sp-section-2 ol {
  padding-left: 26px;
}

.sp-section-2 li {
  margin-bottom: 16px;
}

.sp-section-2 ol li::marker {
  color: #ff750b;
  font-weight: bold;
}

.sp-section-6 ul {
  padding-left: 26px;
}

.sp-section-6 li {
  margin-bottom: 16px;
}

.sp-section-6 ul li::marker {
  color: #ff750b;
  font-weight: bold;
}

/*
フェードイン
*/
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.0s ease-out, transform 1.0s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.done {
  transition: 0.3s ease;
}


/*カルーセル*/
.owl-carousel {
  margin: 100px 0px 100px 0px;
}

.owl-carousel div img {
  border-radius: 5px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-10px) translateX(-50%);
  }

  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

/* Responsive */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
  }

  .mobile-menu-btn {
    display: none;
  }

  .hero-title {
    font-size: 3rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-filter-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .pagination-numbers {
    margin: 0 0.5rem;
  }

  .pagination-number {
    width: 2rem;
    height: 2rem;
    margin: 0 0.125rem;
  }

  .pagination-button {
    width: 2rem;
    height: 2rem;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom-link {
    display: block;
    margin-bottom: 22px;
  }
}


@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media(max-width: 1025px) {
  .about-googlemap {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
  }

}