@charset "UTF-8";

/*
----------------------------------------------------------------------------------------
カラー変数 (Copied from css/style.css)
----------------------------------------------------------------------------------------
*/
:root {
  --color-primary: #2ba1a9;
  --color-primary-dark: #1e838a;
  --color-secondary-green: #10b981;
  --color-secondary-green-light: #4ade80;
  --color-secondary-blue: #3b82f6;
  --color-secondary-cyan: #06b6d4;
  --color-secondary-cyan-light: #22d3ee;
  --color-text-dark: #1f2937;
  --color-text-light: #4b5563;
  --color-text-lighter: #64748b;
  --color-text-lighter2: #cfd9e7;
  --color-white: #ffffff;
  --color-background-light: #f8fafc;
  --color-background-gray: #e2e8f0;
  --color-background-blue-light: #f0f9ff;
  --color-accent-yellow: #F2C94C;
  /* グラデーション */
  --gradient-hero: linear-gradient(135deg, var(--color-secondary-green), var(--color-secondary-blue));
  --gradient-background: linear-gradient(135deg, var(--color-secondary-green-light) 0%, var(--color-secondary-cyan-light) 50%, var(--color-secondary-blue) 100%);
  --gradient-card: linear-gradient(135deg, var(--color-secondary-green), var(--color-primary));
  --gradient-icon: linear-gradient(135deg, var(--color-secondary-green-light), var(--color-secondary-cyan-light));
  --gradient-text: linear-gradient(135deg, var(--color-secondary-green-light), var(--color-secondary-cyan));
}

/*
----------------------------------------------------------------------------------------
共通設定 (Copied from css/style.css)
----------------------------------------------------------------------------------------
*/

* {
  box-sizing: border-box;
}

body {
  /* background-color: var(--color-white); */
  background: linear-gradient(135deg, var(--color-secondary-green), var(--color-secondary-blue));
  color: var(--color-text-dark);
  font-family: "Noto Sans JP", 'Arial', sans-serif;
  margin-left: 280px;
  /* Sidebar width */
}

img {
  max-width: 100%;
  height: auto;
}

.section-header,
.sample-list-container {
  text-align: center;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out ;
}

.sample-grid {
  animation: fadeInUp 1s ease-out 0.2s both;

}


/* アニメーション */

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

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

/*
----------------------------------------------------------------------------------------
左側固定サイドバー (Copied from css/style.css)
----------------------------------------------------------------------------------------
*/

.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  z-index: -1;
}

/* ロゴ・ブランド */
.brand {
  padding: 0 2rem;
  margin-top: 2rem;
  margin-bottom: 1.6rem;
  text-align: center;
}

.logo-svg {
  width: 180px;
  height: auto;
}

.brand p {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 300;
}

/* ナビゲーションメニュー */
.nav-menu {
  flex: 1;
  padding: 0 1rem;
}

.nav-item {
  margin-bottom: 0.3rem;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  line-height: 1.8;
}

.nav-link::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.5s ease;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
  color: var(--color-primary);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-icon {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  opacity: 0.8;
}

/* ハンバーガーメニュー (PCでは非表示) */
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger-menu .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger-menu .bar:nth-child(1) {
  top: 0;
}

.hamburger-menu .bar:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu .bar:nth-child(3) {
  bottom: 0;
}

/* ハンバーガーメニューアクティブ時 */
.hamburger-menu.active .bar:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}


/*
----------------------------------------------------------------------------------------
レスポンシブ対応 (Header)
----------------------------------------------------------------------------------------
*/

@media (max-width: 1024px) {

  /* ヘッダーレイアウト変更 */
  .sidebar {
    width: 100%;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
  }

  .brand {
    margin: 0;
    padding: 0;
  }

  .logo-svg {
    width: 140px;
  }

  .hamburger-menu {
    display: block;
  }

  /* ナビゲーションメニュー (ドロワー) */
  .nav-menu {
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    display: flex;
    /* flexに戻す */
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    margin-bottom: 1.5rem;
    width: 100%;
    text-align: center;
    margin-right: 0;
    /* Reset */
    min-width: auto;
    /* Reset */
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1rem;
    justify-content: center;
  }

  .demo-site-section {
    padding-top: 110px;
    /* Header height + padding */
  }

  body {
    margin-left: 0;
  }
}


.footer {
  color: var(--color-white);
  font-size: 0.8rem;
  text-align: center;
  padding: 2rem 0;
  /* background-color: #333; */
  /* background: linear-gradient(135deg, var(--color-secondary-green), var(--color-secondary-blue)); */
  /* Added background since it might be missing context */
}

.footer p {
  color: var(--color-white);
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  margin: 0 0.75rem;
  color: var(--color-white);
  /* Fixed typo whiter -> white */
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--color-text-lighter2);
}

.footer .copyright {
  color: var(--color-white);
}

/*
----------------------------------------------------------------------------------------
ページトップに戻るボタン (Copied from css/style.css)
----------------------------------------------------------------------------------------
*/
#page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-secondary-green), var(--color-secondary-blue));
  color: var(--color-white);
  text-align: center;
  line-height: 50px;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

#page-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#page-top-btn:hover {
  background: linear-gradient(135deg, var(--color-secondary-green-dark), #2563eb);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

/*
----------------------------------------------------------------------------------------
レスポンシブ対応 (Copied from css/style.css)
----------------------------------------------------------------------------------------
*/

@media (max-width: 768px) {
  body {
    margin-left: 0;
    padding: 0;
  }

  .brand {
    margin: 0;
  }

  .footer {
    padding-top: 0;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
  }

  .footer-links a {
    margin-bottom: 0.5rem;
  }

  .demo-site-section {
    padding: 40px 5% 30px;
  }

}

/*
----------------------------------------------------------------------------------------
Demo Site Specific Styles
----------------------------------------------------------------------------------------
*/

/* Main Container */
.demo-site-section {
  padding: 70px 5% 60px;
  /* margin-left: 260px; */
  /* Removed as body has margin-left */
  background: linear-gradient(135deg, var(--color-secondary-green), var(--color-secondary-blue));
  min-height: 100vh;
  /* margin-top: 50px; */
}

@media (max-width: 768px) {
  .demo-site-section {
    padding: 40px 5% 30px;
  }
}

.demo-site-title {
  font-size: clamp(1.8rem, 1.69rem + 0.55vw, 2.1rem);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-white);
}


.demo-site-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-white);
  font-size: 1rem;
}

.demo-site-subtitle2 {
  color: var(--color-accent-yellow);
  /* color: var(--color-white); */
  /* font-size: 1rem; */
}

/* Grid Layout */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Card Styles */
.sample-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.sample-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card-image-placeholder {
  width: 100%;
  height: 200px;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 3rem;
  font-weight: bold;
}

.card-content {
  padding: 20px;
}

.card-industry {
  font-size: 0.85rem;

  /* Accent color */

  /* イエロー */
  color: var(--color-accent-yellow);
  /* color: #F2C94C; */
  /* color: #FFB946; */
  /* color: #DDAA44; */



  /* オレンジ */
  /* color: #FF8A3D; */
  /* color: #FF7F50; */
  /* color: #E6732F; */



  /* コーラル */
  /* color: #FF6F61; */
  /* color: #FF8360; */
  /* color: #E85A4F; */

  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.card-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

/* Responsive Design for Grid */
@media (max-width: 1024px) {
  .sample-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .demo-site-section {
    padding-top: 40px;
  }

  .sample-grid {
    grid-template-columns: 1fr;
  }
}

/* Sample List Styles */
.sample-list-container {
  max-width: 1000px;
  margin: 0 auto 3rem;
  text-align: center;
}

.sample-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.sample-list li {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: default;
}

.sample-list li:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .sample-list li {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}