@import url('https://fonts.googleapis.com/css2?family=LXGW+Marker+Gothic&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "LXGW Marker Gothic", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

span {
  display: block;
  font-size: 18px;
}

.span-contact {
  display: inline-block;
  font-size: 18px;
}

/* カルーセル用スタイル */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.hero-slide:nth-child(1) {
  background-image: url(../img/demo/demo5.jpg);
  background-size: cover;
  background-position: center;
}

.hero-slide:nth-child(2) {
  background-image: url(../img/demo/demo6.jpg);
  background-size: cover;
  background-position: center;
}

.hero-slide:nth-child(3) {
  background-image: url(../img/demo/demo7.jpg);
  background-size: cover;
  background-position: center;
}

/* カルーセルナビゲーション */
.carousel-navigation {
  position: absolute;
  bottom: 200px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

.dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .carousel-navigation {
    bottom: 80px;
    gap: 15px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
  }
}

/* スクロール用のコンテナ */
.scroll-container {
  position: relative;
}

.section-wrapper {
  position: relative;
  z-index: 1;
}

/* ヘッダー・ナビゲーション */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-menu {
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ヘッダータイトル */
.header-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 1px;
}

/* ハンバーガーボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  cursor: pointer;
  margin-left: auto;
  position: relative;
  z-index: 1001;
  background: rgba(253, 95, 161, 0.993);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 2, 108, 0.993);
  transform: scale(1.1);
}

.hamburger:hover span {
  background: white;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 20px;
  background: #333;
  margin: 2px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ハンバーガーメニューがアクティブな時 */
.hamburger.active {
  background: rgba(255, 2, 108, 0.993);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: white;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: white;
}

/* モバイルメニュー */
.nav-menu ul {
  position: fixed;
  top: 0;
  right: -150%;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  transition: right 0.3s ease;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu ul.active {
  right: 0;
}

.nav-menu li {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.nav-menu ul.active li {
  opacity: 1;
  transform: translateY(0);
}

.nav-menu ul.active li:nth-child(1) {
  transition-delay: 0.1s;
}

.nav-menu ul.active li:nth-child(2) {
  transition-delay: 0.2s;
}

.nav-menu ul.active li:nth-child(3) {
  transition-delay: 0.3s;
}

.nav-menu ul.active li:nth-child(4) {
  transition-delay: 0.4s;
}

.nav-menu ul.active li:nth-child(5) {
  transition-delay: 0.5s;
}

.nav-menu ul.active li:nth-child(6) {
  transition-delay: 0.6s;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 2rem;
  padding: 1.5rem 3rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  text-align: center;
  display: block;
  position: relative;
  overflow: hidden;
  min-width: 250px;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.4s ease;
}

.nav-menu a:hover::before {
  left: 0;
}

.nav-menu a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.3);
}

/* メニューオーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ヒーローセクション */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

/* スクロールインジケーター */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: white;
  position: relative;
  border-radius: 1px;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: translateX(-50%) rotate(45deg);
}

.scroll-arrow-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  animation: scrollArrowMove 2s ease-in-out infinite;
}

@keyframes scrollArrowMove {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-30px, -30px) rotate(120deg);
  }

  66% {
    transform: translate(30px, -30px) rotate(240deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 25px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 2rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* セクション共通スタイル */
section {
  padding: 100px 2rem;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ヘッダー直下のセクション用調整 */
.section-after-header {
  padding-top: 150px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

/* Thoughtsセクション */
.thoughts {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
  width: 100%;
  padding-top: 150px;
  padding-bottom: 100px;
}

.thoughts-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.thoughts-text {
  font-size: 1.2rem;
  line-height: 2;
  margin-bottom: 2rem;
  color: #555;
}

.passion-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.passion-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.passion-card:hover {
  transform: translateY(-10px);
}

/* フェードアニメーション用の初期状態 */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
}

.fade-down {
  opacity: 0;
  transform: translateY(-50px);
}

.fade-left {
  opacity: 0;
  transform: translateX(-50px);
}

.fade-right {
  opacity: 0;
  transform: translateX(50px);
}

/* セクションタイトルのアニメーション */
.section-title {
  opacity: 0;
  transform: translateY(30px);
}

.passion-card h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Aboutセクション */
.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  opacity: 1;
  visibility: visible;
}

.about-text h3 {
  color: #667eea;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: #666;
}

.career-timeline {
  margin-top: 2rem;
}

.timeline-item {
  display: flex;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.timeline-year {
  font-weight: bold;
  color: #667eea;
  margin-right: 1rem;
  min-width: 60px;
}

/* タイプライター効果用スタイル */
.typewriter-target {
  overflow: hidden;
  border-right: 2px solid #333;
  white-space: nowrap;
  animation: blink-caret 1s step-end infinite;
  visibility: hidden; /* 初期は非表示 */
}

.typewriter-target.typing {
  border-right: 2px solid #007bff;
  animation: blink-caret 1s step-end infinite;
}

.typewriter-target.typed {
  border-right: none;
  animation: none;
  white-space: normal;
}

/* カーソルの点滅アニメーション */
@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: #007bff; }
}

/* タイプライター用の初期状態 */
.typewriter-container {
  opacity: 0;
}

.typewriter-container.visible {
  opacity: 1;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .typewriter-target {
    white-space: normal;
    border-right: none;
  }
  
  .typewriter-target.typing {
    white-space: nowrap;
    border-right: 2px solid #007bff;
  }
}

/* Productionセクション */
.production {
  background: #f8f9fa;
  width: 100%;
  padding: 100px 2rem;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.production-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  will-change: transform, opacity;
}

.production-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.production-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.production-info {
  padding: 2rem;
}

.production-info h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.production-info p {
  color: #666;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-tag {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* スライドアニメーション用の初期状態 */
.slide-animation {
  opacity: 0;
  transform: translateY(50px);
  transition: none;
}

.slide-animation.slide-from-top {
  transform: translateY(-50px);
}

.slide-animation.animated {
  opacity: 1;
  transform: translateY(0);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .production {
    padding: 60px 1rem;
  }
  
  .production-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .production-item img {
    height: 200px;
  }
  
  .production-info {
    padding: 1.5rem;
  }
  
  .production-info h3 {
    font-size: 1.1rem;
  }
  
  .slide-animation {
    transform: translateY(30px);
  }
  
  .slide-animation.slide-from-top {
    transform: translateY(-30px);
  }
}

@media (max-width: 480px) {
  .production {
    padding: 40px 0.5rem;
  }
  
  .production-grid {
    gap: 1.5rem;
  }
  
  .production-info {
    padding: 1rem;
  }
  
  .tech-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .slide-animation {
    transform: translateY(30px);
  }
  
  .slide-animation.slide-from-top {
    transform: translateY(-30px);
  }
}

/* Skillセクション */
.skill-section {
  padding: 80px 20px;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1440px;
  margin: 0 auto;
}

.skill-category {
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-image: url(../img/demo/skill.jpg);
  background-size: cover;
  background-position: center;
}

.skill-category1 {
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  background-image: url(../img/demo/skill1.jpg);
  background-size: cover;
  background-position: center;
}

.skill-category2 {
  background-image: url(../img/demo/skill2.jpg);
  background-size: cover;
  background-position: center;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.skill-category3 {
  background-image: url(../img/demo/skill3.jpg);
  background-size: cover;
  background-position: center;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.skill-category h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: black;
  font-weight: bold;
  background: #cee3f8;
  border-radius: 25px;
}

.skill-category1 h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: black;
  font-weight: bold;
  background: #cee3f8;
  border-radius: 25px;
}

.skill-category2 h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: black;
  font-weight: bold;
  background: #cee3f8;
  border-radius: 25px;
}

.skill-category3 h3 {
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  color: black;
  font-weight: bold;
  background: #cee3f8;
  border-radius: 25px;
}

.skill-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.skill-item {
  background: #cee3f8;
  padding: 0.8rem 1.2rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.skill-item:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-3px);
}

/* Reviewsセクション */
.reviews {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reviews .section-title {
  color: white;
}

.reviews .section-title::after {
  background: white;
}

/* Reviewsセクション用スクロールインジケーター */
.reviews-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  opacity: 0.8;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.reviews-scroll-indicator .scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: translateX(-50%) rotate(45deg);
}

.reviews-scroll-indicator .scroll-arrow-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
  animation: scrollArrowMove 2s ease-in-out infinite;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0 auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-10px);
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-style: italic;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reviewer-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.reviewer-details {
  text-align: left;
}

.reviewer-details strong {
  display: block;
  margin-bottom: 0.2rem;
}

.reviewer-details small {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Contactセクション */
.contact {
  padding: 100px 0;
}

.contact-form {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 20px;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1rem 3rem;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* フッター */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .header-title {
    font-size: 1.2rem;
  }

  .hamburger {
    width: 45px;
    height: 45px;
  }

  .nav-menu a {
    font-size: 1.6rem;
    min-width: 200px;
    padding: 1.2rem 2.5rem;
  }

  .nav-menu ul {
    gap: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  section {
    padding: 60px 1rem;
  }

  .thoughts {
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .section-title {
    font-size: 2rem;
  }

  .thoughts-content {
    padding: 0 1rem;
  }

  /* レビューカルーセルのモバイル対応 */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .review-text {
    min-height: 100px;
    font-size: 0.9rem;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-arrow.prev {
    left: 5px;
  }

  .carousel-arrow.next {
    right: 5px;
  }
}

@media (max-width: 480px) {
  .nav-menu a {
    font-size: 1.4rem;
    min-width: 180px;
    padding: 1rem 2rem;
  }

  .nav-menu ul {
    gap: 1.5rem;
  }

  .thoughts {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .carousel-container {
    padding: 0 1rem;
  }

  .review-card {
    padding: 1.2rem;
  }

  .review-text {
    min-height: 80px;
    font-size: 0.85rem;
  }
}