/* ================================================================================
   プレゼンテーションスキル研修 - メインスタイルシート
   ================================================================================ */

:root {
  --primary: #62BD00;
  --primary-hover: #4C8A0A;
  --secondary: #1a1a2e;
  --text: #000;
  --text-gray: #666;
  --bg-white: #fff;
  --bg-gray: #F5F5F5;
  --accent: #4C8A0A;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', 'Noto Sans JP', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 30px;
  color: var(--text);
  background: var(--bg-white);
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Rubik', 'Noto Sans JP', Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: inherit;
}

h2 {
  font-weight: 300 !important;
}

h3 {
  font-size: 26px;
}

p {
  font-weight: 400 !important;
  margin-bottom: 5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1410px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ヘッダー */
#masthead {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(0,0,0,0.91);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-navigation a {
  color: #fff;
  font-weight: 400;
  transition: color 0.3s;
}

.main-navigation a:hover {
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 3px;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* ヒーローセクション */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
  color: #fff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 300;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* セクション共通 */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  font-family: 'Rubik', 'Noto Sans JP', Helvetica, Arial, sans-serif;
  font-weight: 500 !important;
  color: var(--primary) !important;
  font-size: 16px;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 300;
}

/* グリッド */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* カード */
.card {
  background: var(--bg-white);
  border-radius: 3px;
  box-shadow: 0 22px 40px rgba(0,0,0,.15);
  overflow: hidden;
  transition: all 0.5s;
}

.card:hover {
  transform: translate(0,-5px);
  border-bottom: 4px solid var(--primary);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.card-content {
  padding: 30px;
}

.card-title {
  font-size: 22px;
  margin-bottom: 15px;
}

.card-text {
  color: var(--text-gray);
  margin-bottom: 20px;
}

/* 価格カード */
.price-card {
  background-size: cover;
  background-position: center;
  padding: 50px 30px;
  text-align: center;
  color: #fff;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
}

.price-card > * {
  position: relative;
  z-index: 2;
}

.price-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.price-card .price {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 30px;
}

/* スライダー */
.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-item {
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 50px;
  margin: 0 10px;
  border-radius: 3px;
  position: relative;
}

.slider-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  border-radius: 3px;
}

.slider-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.slider-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

/* お客様の声 */
.testimonial {
  background: var(--bg-gray);
  padding: 30px;
  border-radius: 3px;
  margin-bottom: 30px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 500;
  color: var(--primary);
}

/* FAQ */
.faq-item {
  background: var(--bg-white);
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--bg-gray);
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease;
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 30px 20px;
  color: var(--text-gray);
}

/* フッター */
footer {
  background: var(--secondary);
  color: #fff;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-widget h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer-widget ul {
  list-style: none;
}

.footer-widget ul li {
  margin-bottom: 10px;
}

.footer-widget a {
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.footer-widget a:hover {
  color: var(--primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* クッキー通知 */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--secondary);
  color: #fff;
  padding: 20px;
  z-index: 99999;
  display: none;
}

.cookie-notice.show {
  display: block;
}

.cookie-content {
  max-width: 1410px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

/* モバイルメニュー */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* レスポンシブ */
@media only screen and (max-width:1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width:768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--secondary);
    transition: left 0.3s;
    padding: 30px;
  }
  
  .main-navigation.active {
    left: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 20px;
  }
  
  .hero-content h1 {
    font-size: 32px;
  }
  
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  section {
    padding: 50px 0;
  }
}

@media only screen and (max-width:600px) {
  .hero-content h1 {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .slider-item {
    min-height: 400px;
    padding: 30px;
  }
}
