/* ==========================================================
   各セクション共通スタイル - 改善版
   Vision、Business、Company、Footer
========================================================== */

/* ==========================================================
   スクロールインジケーター（FVセクション用）
========================================================== */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  animation: fadeInUp 1s ease 2s both;
  z-index: 5;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@keyframes scrollDown {
  0%, 100% {
    transform: scaleY(0.5);
    opacity: 0.3;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* ==========================================================
   CTAボタン - 改善版
========================================================== */
/* ==========================================================
   CTAボタン（画像寄せ：左アイコン＋右矢印）
========================================================== */

.cta-in-section{
  text-align: center !important;
  margin: 50px 0 !important;
}

.cta-simple-button{
  display: inline-flex;
  align-items: center;
  min-width: 320px;
  padding: 18px 22px;
  border-radius: 999px;
  text-decoration: none;

  /* 文字（WEBフォント） */
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;

  /* 色は今のまま */
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #222;

  /* 画像の“縁取り感” */
  border: 1px solid rgba(0,0,0,.14);
  box-shadow:
    0 12px 28px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.35);

  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

/* アイコン（WEBフォント：Material Symbols） */
.cta-simple-button .cta-icon{
  font-family: "Material Symbols Rounded";
  font-size: 26px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
  font-variation-settings: "opsz" 24, "wght" 400, "FILL" 0, "GRAD" 0;
}

/* テキスト中央寄せ（左右アイコンがあってもセンター維持） */
.cta-simple-button .cta-label{
  flex: 1;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
}

/* 右矢印は右端へ */
.cta-simple-button .cta-icon--arrow{
  margin-left: auto;
  transition: transform .25s ease;
}

/* hover */
.cta-simple-button:hover{
  background: linear-gradient(135deg, #ffb300 0%, #ffa000 100%);
  transform: translateY(-3px);
  box-shadow:
    0 16px 36px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.38);
  color: #222;
}

.cta-simple-button:hover .cta-icon--arrow{
  transform: translateX(3px);
}

.cta-simple-button:active{
  transform: translateY(-1px);
  box-shadow:
    0 10px 22px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.35);
}

/* ==========================================================
   Visionセクション - 改善版（グラデーション背景）
========================================================== */

.vision-section {
  position: relative;
  padding: 110px 0 80px;
  background: linear-gradient(180deg, 
    #0a0a0a 0%, 
    #1a1a1a 50%, 
    #121212 100%);
  color: var(--text);
  overflow: hidden;
}

/* セクション装飾 */
.vision-section .section-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.vision-section .container {
  position: relative;
  z-index: 1;
}

.vision-section .cta-center-top {
  text-align: center !important;
  margin: 0 auto 70px !important;
  position: relative !important;
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
  z-index: 10;
}

.vision-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}

.vision-content::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 2px;
  height: 180px;
  background: linear-gradient(to bottom, 
    transparent, 
    rgba(255, 255, 255, 0.2) 20%, 
    rgba(255, 255, 255, 0.2) 80%, 
    transparent);
}

.vision-text {
  flex: 0 0 44%;
  text-align: center;
}

.vision-title-inner {
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  color: #ffffff;
}

.vision-subtitle {
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
}

.text-container {
  flex: 1;
  max-width: 46%;
  text-align: left;
  color: rgba(255, 255, 255, 0.78);
}

.text-container p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.95;
  text-align: left;
}

.news-section-items {
  display: none !important;
}

/* ==========================================================
   Businessセクション - 改善版（異なる背景色）
========================================================== */

.business-section {
  padding: 80px 0;
  background: linear-gradient(180deg, 
    #1a1a1a 0%, 
    #222222 100%);
  position: relative;
}

.business-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.1) 50%, 
    transparent);
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.95);
}

.business-intro {
  text-align: center;
  margin: 0 auto 50px;
  max-width: 820px;
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.75);
}

.cta-bottom-center {
  text-align: center !important;
  margin: 50px auto !important;
}

.business-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 18px;
}

.business-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.business-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ナンバリング */
.business-item .item-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  line-height: 1;
  z-index: 1;
  font-family: 'Arial Black', sans-serif;
}

.business-item .item-title {
  margin: 0;
  padding: 20px 20px 12px;
  font-size: 1.35rem;
  font-weight: 900;
  text-align: center;
  position: relative;
  z-index: 2;
}

.business-item .item-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.business-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.business-item:hover .item-image img {
  transform: scale(1.08);
}

/* 画像オーバーレイ */
.business-item .item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.business-item:hover .item-overlay {
  opacity: 1;
}

.business-item .item-desc {
  margin: 0;
  padding: 20px 20px 24px;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================
   Companyセクション - 改善版（グラデーション背景）
========================================================== */

.company-overview-section {
  padding: 80px 0;
  background: linear-gradient(180deg, 
    #e8e8e8 0%, 
    #f5f5f5 100%);
  position: relative;
}

.company-overview-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 0, 0, 0.1) 50%, 
    transparent);
}

.company-overview-section .section-title {
  color: #222222;
}

.company-details {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 40px;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.company-details dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px 30px;
  margin: 0;
  padding: 0;
}

.company-details dt {
  margin: 0;
  color: #222222;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.company-details dd {
  margin: 0;
  color: #444444;
  line-height: 1.85;
  font-size: 1rem;
}

/* ==========================================================
   Footer - 改善版（SEO対策＆充実化）
========================================================== */

#footer,
#footer-container,
.footer-container,
.footer {
  background: linear-gradient(180deg, 
    #0a0a0a 0%, 
    #000000 100%) !important;
  color: var(--text) !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.15) 50%, 
    transparent);
}

#footer-in,
.footer-in {
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px 20px 30px;
}

/* フッターコンテンツグリッド */
.footer-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.footer-section p,
.footer-section address {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 15px 0;
  font-style: normal;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-nav a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.95);
  padding-left: 20px;
}

.footer-nav a:hover::before {
  opacity: 1;
  left: 0;
}

/* フッター下部 */
.footer-bottom,
.footer-bottom-content {
  display: block !important;
  padding: 25px 20px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright {
  display: block !important;
  margin: 0 !important;
  font-size: 0.85rem !important;
  line-height: 1.6 !important;
  color: rgba(240, 240, 240, 0.6) !important;
  text-align: center;
}

.footer-bottom-logo,
#admin-panel,
.mobile-footer-menu-buttons,
.mobile-header-menu-buttons,
.go-to-top,
#go-to-top,
.go-to-top-button,
.footer-meta {
  display: none !important;
}

/* ==========================================================
   レスポンシブ: タブレット・スマートフォン
========================================================== */

@media (max-width: 1024px) {
  .footer-content-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
  }
}

@media (max-width: 768px) {
  /* Vision */
  .vision-section {
    padding: 86px 0 60px;
  }

  .vision-section .cta-center-top {
    margin-bottom: 50px !important;
  }

  .vision-content {
    flex-direction: column;
    gap: 30px;
  }

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

  .text-container {
    max-width: 100%;
    text-align: center;
  }

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

  .vision-text {
    flex: 1;
  }

  /* Business */
  .business-section {
    padding: 60px 0;
  }

  .business-items {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .business-item .item-image {
    height: 220px;
  }

  /* Company */
  .company-overview-section {
    padding: 60px 0;
  }

  .company-details {
    padding: 30px 20px;
  }

  .company-details dl {
    grid-template-columns: 110px 1fr;
    gap: 16px 18px;
  }

  /* Footer */
  .footer-content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #footer-in,
  .footer-in {
    padding: 50px 20px 25px;
  }

  .scroll-indicator {
    bottom: 30px;
  }
}

@media (max-width: 480px) {
  /* Vision */
  .vision-title-inner {
    font-size: 1.85rem;
  }

  .vision-subtitle {
    font-size: 1.4rem;
  }

  .text-container p {
    font-size: 1rem;
  }

  /* Business */
  .section-title {
    font-size: 1.9rem;
  }

  .business-intro {
    font-size: 1rem;
  }

  .business-item .item-number {
    font-size: 2.8rem;
    top: 15px;
    right: 15px;
  }

  /* CTA Button */
  .cta-simple-button {
    min-width: 280px;
    padding: 18px 40px;
    font-size: 1.05rem;
  }

  .cta-simple-button::after {
    font-size: 1.2rem;
  }

  /* Company */
  .company-details dl {
    grid-template-columns: 1fr;
    gap: 8px 0;
  }

  .company-details dt {
    margin-top: 10px;
  }

  .company-details dt:first-child {
    margin-top: 0;
  }

  .scroll-indicator {
    bottom: 25px;
    font-size: 0.7rem;
  }

  .scroll-arrow {
    height: 30px;
  }
}