.hero {
  min-height: clamp(60vh, 100vh, 100vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 2rem 1rem;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: clamp(0.1em, 0.3em, 0.3em);
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 1rem;
}

.hero-subtitle {
  display: block;
  font-size: clamp(0.8rem, 2vw, 1.2rem);
  font-weight: 400;
  margin-top: 0.3em;
  color: #666;
  letter-spacing: 0.1em;
}

.accent-circle {
  width: clamp(150px, 30vw, 300px);
  height: clamp(150px, 30vw, 300px);
  background: #FFEFD5;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  opacity: 0.8;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  color: #999;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
  white-space: nowrap;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #FFEFD5;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}

.works-grid.single {
  grid-template-columns: 1fr;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.work-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: #FFEFD5;
}

.work-image {
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f5f5f5 0%, #FFEFD5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #fff;
}

.work-card_firstview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}


.work-content {
  padding: clamp(0.8rem, 2vw, 1.5rem);
}

.work-title {
  font-size: clamp(0.8rem, 1.8vw, 1.3rem);
  font-weight: 500;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333333;
}

.work-description {
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  color: #666;
  line-height: 1.6;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  padding: clamp(0.2rem, 0.5vw, 0.3rem) clamp(0.5rem, 1vw, 0.8rem);
  background: #FFEFD5;
  border-radius: 20px;
  font-size: clamp(0.65rem, 1.2vw, 0.85rem);
  color: #666;
}

@media (max-width: 670px) {
  .works-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .works-grid.single {
      grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .works-grid {
      gap: clamp(0.8rem, 2vw, 1.5rem);
  }

  .container {
      padding: 3rem 1rem;
  }

  .hero {
      min-height: 60vh;
  }

  .work-image {
      height: 250px;
  }

  .accent-circle {
      width: clamp(120px, 25vw, 200px);
      height: clamp(120px, 25vw, 200px);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .works-grid {
      gap: 1.5rem;
  }

  .container {
      padding: 4rem 1.5rem;
  }

  .hero {
      min-height: 70vh;
  }

  .work-image {
      height: 300px;
  }

  .accent-circle {
      width: clamp(150px, 25vw, 220px);
      height: clamp(150px, 25vw, 220px);
  }
}
/* ===== 共通 ===== */

.menu-section {
  margin-bottom: 4rem;
}

.menu-section img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ===== うなぎ看板 ===== */

/* セットの並び（PC / タブレット） */
.unagi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* 1セット（中身は常に固定） */
.unagi-set {
  display: grid;
  grid-template-columns: 2fr 1fr; /* フルサイズ：Instagram */
  gap: 1rem;
  background: #fafafa;
  padding: 1rem;
  border-radius: 12px;
}

/* Instagram用 */
.unagi-instagram {
  text-align: center;
}

.insta-label {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 0.05em;
}

/* ===== 横書きメニュー ===== */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ===== スマホ対応 ===== */

@media (max-width: 768px) {
  /* うなぎ看板：1セットずつ */
  .unagi-grid {
    grid-template-columns: 1fr;
  }

  /* 横書きメニュー：1枚ずつ */
  .menu-grid {
    grid-template-columns: 1fr;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  background: #fafafa;
  color: #999;
  font-size: 0.9rem;
}
.back-button {
  position: fixed;
  top: 2rem;
  left: 2rem;
  padding: 0.8rem 1.5rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 30px;
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-button:hover {
  background: #FFEFD5;
  border-color: #FFEFD5;
}

.hero-image {
  width: 100%;
  height: clamp(300px, 50vh, 500px);
  background: linear-gradient(135deg, #f5f5f5 0%, #FFEFD5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(3rem, 8vw, 5rem);
}

.firstview {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.web_app_container {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2rem);
}

.project-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 500;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  line-height: 1.4;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: clamp(3rem, 6vw, 4rem);
  align-items: center;
}

.cta-button {
  display: block;
  width: fit-content;
  padding: clamp(0.8rem, 2vw, 1rem) clamp(2rem, 4vw, 3rem);
  background: #FFEFD5;
  color: #333;
  text-decoration: none;
  border-radius: 50px;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 239, 213, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 239, 213, 0.6);
}

.web_app_section {
  margin-bottom: clamp(3rem, 6vw, 4rem);
}

.web_app_section-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 500;
  margin-bottom: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #FFEFD5;
}

.web_app_section-content {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.9;
  color: #555;
}

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-item {
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.feature-title {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature-sublist {
  list-style: none;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  margin-top: 0.5rem;
}

.feature-sublist li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.3rem;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  color: #666;
}

.feature-sublist li::before {
  content: '▪︎';
  position: absolute;
  left: 0;
  color: #ffb337;
  font-weight: bold;
}

.feature-sublist-title {
  font-weight: 600;
}

.feature-sublist-ItemDetail {
  font-weight: normal;
  font-size: 12px;
  color: #666;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 1rem;
}

.tech-category {
  background: #fafafa;
  padding: clamp(1rem, 2vw, 1.5rem);
  border-radius: 8px;
  border-left: 3px solid #FFEFD5;
}

.tech-category-title {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: #333;
}

.tech-category ul {
  list-style: none;
}

.tech-category li {
  font-size: clamp(0.85rem, 1.6vw, 0.95rem);
  color: #666;
  margin-bottom: 0.3rem;
  padding-left: 1rem;
  position: relative;
}

.tech-category li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #ffb337;
}

.er-diagram {
  width: 100%;
  background: #f5f5f5;
  border-radius: 8px;
  padding: clamp(2rem, 4vw, 3rem);
  margin-top: 1rem;
  text-align: center;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.er-image {
  width: 100%;
  background: #f5f5f5;
  border-radius: 8px;
  text-align: center;
  font-size: clamp(0.9rem, 1.8vw, 1rem);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .back-button {
      top: 1rem;
      left: 1rem;
      padding: 0.6rem 1.2rem;
      font-size: 0.85rem;
  }

  .tech-grid {
      grid-template-columns: 1fr;
  }
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
