.kinenshi-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ヒーローセクション */
.kinenshi-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.kinenshi-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.kinenshi-hero-title {
  position: absolute;
  top: 50%;
  left: 20%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  font-weight: 600;
  color: #333;
  letter-spacing: 0.1em;
  margin: 0;
}

.kinenshi-hero-subtitle {
  position: absolute;
  bottom: 10%;
  left: 10%;
  font-size: 1.2rem;
  font-weight: 300;
  color: #333;
  letter-spacing: 0.05em;
  margin: 0;
}


/* イントロセクション */
.kinenshi-intro {
  text-align: center;
  padding: 4rem 2rem 2rem;
  background-color: #fff;
}

/* 横幅いっぱいの背景色付きタイトル */
.kinenshi-page-title {
  width: 100%;
  background-color: #f0f0f0;
  padding: 3rem 0;
}

.page-title-container {
  max-width: var(--container-width-standard);
  margin: 0 auto;
  padding: 0 2rem;
}

.page-title-text {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin: 0;
}

/* メインコンテンツ */
.kinenshi-content-wrapper {
  max-width: var(--container-width-standard);
  margin: 0 auto;
  padding: 0 2rem;
  flex: 1;
}

/* セクション共通 */
.kinenshi-section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 30px 0;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  text-align: center;
}

/* 2カラムセクション */
.kinenshi-2col-section {
  padding: 60px 0;
}

.col-2-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 2rem;
  align-items: center;
}

.col-2-image {
  width: 100%;
  border-radius: 8px;
}

.col-2-image img {
  width: 100%;
  height: auto;
  display: block;
}

.col-2-text {
  padding: 0 20px;
}

.col-2-text p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin: 0;
}

/* 特徴セクション */
.kinenshi-feature {
  padding: 60px 0;
}

/* 4枚画像横並び */
.samples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.sample-item {
  cursor: pointer;
  transition: transform 0.3s;
}

.sample-item img {
  width: 100%;
  height: auto;
  display: block;
}

.sample-item:hover {
  transform: translateY(-5px);
}

/* 制作フロー */
.kinenshi-flow {
  padding: 60px 0;
}

/* ご依頼から納品までの目安 */
.kinenshi-timeline {
  padding: 60px 0;
}

.timeline-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  text-align: left;
  margin-top: 2rem;
}

/* 制作例 */
.kinenshi-examples {
  padding: 60px 0;
}

.examples-box {
  border: 2px solid #333;
  border-radius: 8px;
  padding: 3rem 2.5rem;
  background-color: #fff;
}

.examples-box-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 2rem 0;
  text-align: center;
}

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

.examples-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.examples-list li {
  font-size: 1.1rem;
  color: #555;
  line-height: 2;
  padding-left: 1.5rem;
  position: relative;
}

.examples-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: #333;
  font-size: 0.8rem;
}

/* Step Flow（制作の流れ） */
.step-flow-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-flow-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.step-flow-header {
  flex-shrink: 0;
}

.step-number-image {
  width: 60px;
  height: auto;
}

.step-flow-content {
  flex: 1;
}

.step-flow-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.5rem 0;
}

.step-flow-divider {
  height: 2px;
  background-color: #e0e0e0;
  margin: 0.5rem 0 1rem 0;
}

.step-flow-description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
}

/* feature-text */
.feature-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
}

/* ライトボックス */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  cursor: default;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 0.7;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .kinenshi-hero-title {
    font-size: 2rem;
    left: 5%;
  }

  .kinenshi-hero-subtitle {
    font-size: 1rem;
    left: 5%;
  }

  .page-title-text {
    font-size: 1.5rem;
  }

  .kinenshi-content-wrapper {
    padding: 0 1rem;
  }

  .kinenshi-section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .kinenshi-2col-section,
  .kinenshi-feature,
  .kinenshi-flow {
    padding: 40px 0;
  }

  .col-2-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .col-2-text {
    padding: 0;
  }

  .col-2-text p,
  .feature-text {
    font-size: 0.9rem;
  }

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

  .timeline-text {
    font-size: 0.9rem;
  }

  .examples-box {
    padding: 2rem 1.5rem;
  }

  .examples-box-title {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

  .examples-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .examples-list li {
    font-size: 0.9rem;
    line-height: 2;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }
}
