/*
 Theme Name: texet-hp
 Template: lightning
 Version: 0.1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

.site-header {
  background: linear-gradient(135deg, #2a3f5f 0%, #3d5a80 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.site-logo a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-logo a:hover {
  opacity: 0.8;
}

.site-nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.site-nav a:hover {
  color: white;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, #3B82F6 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}


@keyframes fadeInOut {
  0%, 100% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.1;
  }
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  font-weight: 400;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(30px);
  }
}

.site-footer {
  background: #0f1621;
  color: var(--color-white);
  padding: 2rem 0 1rem;
  margin-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 10;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-main {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: nowrap !important;
  flex-direction: row !important;
}

.footer-column {
  flex: 1 1 0;
  min-width: 0;
}

.footer-column:first-child {
  flex: 1.5 1 0;
}

.footer-column h3 {
  font-size: 1.0rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--color-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.3rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}

.footer-column p,
.footer-column ul {
  font-size: 1.0rem;
  line-height: 1.4;
}

.footer-tagline {
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-address {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.0rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 0.2rem;
  font-size: 1.0rem;
  white-space: nowrap;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--color-white);
}

.footer-column li span {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding: 1rem 0 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.0rem;
}

/* ページ共通スタイル - 親テーマのスタイルを上書き */
body {
  background: #0f1621 !important;
}

.site-main {
  background: #0f1621 !important;
  min-height: calc(100vh - 200px);
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 各ページのメインコンテナ */
.page-mission,
.page-products,
.page-company,
.page-contact,
.page-release {
  background: #0f1621 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-hero {
  background: linear-gradient(135deg, #172133 0%, #1e2a3e 100%);
  color: white;
  padding: 3rem 0;
  margin: 0 !important;
  margin-top: -1px !important; /* ヘッダーとの隙間を完全に削除 */
}

.page-hero .page-title {
  font-size: 2.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* コンテンツセクション */
section.mission-content,
section.products-content,
section.company-content,
section.contact-content,
section.release-content,
.mission-content,
.products-content,
.company-content,
.contact-content,
.release-content {
  padding: 3rem 0;
  background: linear-gradient(135deg, #485974 0%, #040f22 100%) !important;
  color: #e0e0e0;
}

/* セクション内のテキスト色調整 */
.mission-content p,
.products-content p,
.company-content p,
.contact-content p,
.release-content p,
.lead-text,
.vision-content p,
.value-item p {
  color: #d0d0d0 !important;
}

/* カードスタイル */
.value-item,
.product-card,
.company-info,
.card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

/* Valueセクションの英語タイトル */
.value-item h3,
.value-item .value-title {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.2em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* セクションタイトル */
.section-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* リードテキスト */
.lead-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #d0d0d0 !important;
  margin-bottom: 2rem;
}

/* カード */
.card {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 親テーマのマージン/パディングを上書き */
#main,
.main,
main,
article,
.article,
.content,
#content {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
}

/* Lightningテーマ特有のクラスを上書き */
.siteContent,
.site-body,
.site-body-container {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #0f1621 !important;
}

@media (max-width: 768px) {
  /* モバイル用のルート設定 */
  body {
    overflow-x: hidden;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  
  /* フッターのモバイル対応 - コンパクトな3列レイアウト */
  .site-footer {
    padding: 1.5rem 0;
    overflow: hidden;
    background: #0f1621;
    position: relative;
    z-index: 10;
  }
  
  .site-footer .container {
    padding: 0 0.5rem;
  }
  
  .footer-main {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 1rem;
    padding: 0 0.5rem 1rem;
    justify-content: space-between;
  }
  
  .footer-column {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  
  .footer-column:first-child {
    flex: 1.2 1 auto !important;
  }
  
  /* モバイルでサービスカラムを非表示 */
  .footer-mobile-hide {
    display: none !important;
  }
  
  /* リンクカラムをコンパクトに */
  .footer-mobile-compact {
    flex: 0.8 1 auto !important;
  }
  
  .footer-column h3 {
    font-size: 1.0rem;
    margin-bottom: 0.3rem;
    padding-bottom: 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
  }
  
  .footer-column p,
  .footer-column li {
    font-size: 1.0rem;
    line-height: 1.3;
  }
  
  .footer-tagline {
    font-size: 1.0rem;
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.8);
    white-space: normal;
  }
  
  .footer-address {
    font-size: 1.0rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.3;
    white-space: normal;
  }
  
  .footer-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  .footer-column li {
    margin-bottom: 0.15rem;
    font-size: 1.0rem;
    white-space: nowrap;
  }
  
  .footer-column li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
  }
  
  .footer-column li span {
    font-size: 1.0rem;
  }
  
  /* 全セクション表示 */
  .footer-column {
    display: block !important;
  }
  
  .footer-bottom {
    padding: 0.8rem 0 0.5rem;
    font-size: 1.0rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}
