/* ========================================
   graduation.css - 卒業アルバムページ
   ======================================== */

.graduation-album-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.album-hero {
  position: relative;
  width: 100%;
  overflow: hidden;  
}

.album-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================
   メインコンテンツラッパー
   ======================================== */
.album-content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  flex: 1;
}

.graduation-content-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ========================================
   イントロセクション
   ======================================== */
.album-intro {
  text-align: center;
  padding: 4rem 2rem;
  background-color: #fff;
}

/* ========================================
   2カラムセクション（写真と文字）
   ======================================== */
.album-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3rem 0;
  align-items: center;
}

.album-feature .feature-image {
  width: 100%;
}

.album-feature .feature-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.album-feature .feature-content {
  padding: 1rem 0;
}

.album-feature .feature-text {
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.3rem;
}

.album-feature .feature-text:last-child {
  margin-bottom: 0;
}

/* ========================================
   製作依頼ボタン
   ======================================== */
.album-cta {
  text-align: center;
  padding: 4rem 0;
}

.cta-button-icon {
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

/* ========================================
   お客様に選ばれる７つの理由セクション
   ======================================== */
.reasons-section {
  background-color: #FFF;
  padding: 3rem 0;
  margin-top: 2rem;
}

.graduation-content-container .cta-buttons {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.cta-button.orange {
  background: linear-gradient(135deg, #f5a623 0%, #e09000 100%);
  color: #fff;
}

.cta-button.orange:hover {
  background: linear-gradient(135deg, #e09000 0%, #c07800 100%);
  color: #fff;
}

/* ========================================
   AlbumFeaturePoint - ポイントカード
   ======================================== */
.feature-point {
  margin-bottom: 3rem;
  width: 100%;
}

/* ヘッダー部分（逆丸長方形） */
.point-header {
  display: flex;
  align-items: center;
  background: #fff;
  padding: 0.8rem 2rem;
  margin-bottom: 0.5rem;
  position: relative;
  border: 2px solid var(--corner-color);
  width: 100%;
}

/* 4隅の逆丸 */
.corner {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #FFF;
}

.corner-tl {
  top: -2px;
  left: -2px;
  border-radius: 0 0 40px 0;
  border-right: 2px solid var(--corner-color);
  border-bottom: 2px solid var(--corner-color);
}

.corner-tr {
  top: -2px;
  right: -2px;
  border-radius: 0 0 0 40px;
  border-left: 2px solid var(--corner-color);
  border-bottom: 2px solid var(--corner-color);
}

.corner-bl {
  bottom: -2px;
  left: -2px;
  border-radius: 0 40px 0 0;
  border-right: 2px solid var(--corner-color);
  border-top: 2px solid var(--corner-color);
}

.corner-br {
  bottom: -2px;
  right: -2px;
  border-radius: 40px 0 0 0;
  border-left: 2px solid var(--corner-color);
  border-top: 2px solid var(--corner-color);
}

.point-label {
  font-size: 1.5rem;
  color: #999;
  font-weight: normal;
  margin-left: 1rem;
  margin-right: 0.3rem;
}

.point-title-block {
  transform: translateX(-40px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.point-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #222;
  line-height: 1;
  margin-right: -0.5rem;
}

.point-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
}

.point-subtitle {
  font-size: 0.95rem;
  color: #444;
  font-weight: bold;
  padding-left: 1rem;
}

/* コンテンツ部分 */
.point-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.point-text {
  padding: 1rem;
}

.point-content {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.point-detail {
  margin-bottom: 1.5rem;
}

.detail-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
  padding-left: 0.8rem;
  border-left: 3px solid #333;
}

.detail-text {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin: 0;
}

.point-button-wrapper {
  margin-top: 2rem;
}

.point-image {
  padding: 1rem;
  width: 100%;
}

.point-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* リバースレイアウト */
.feature-point.reverse .point-body {
  direction: rtl;
}

.feature-point.reverse .point-body > * {
  direction: ltr;
}

/* ========================================
   アルバム制作の流れ (AlbumProcess)
   ======================================== */
.album-content-3-wrapper {
  width: 100%;
}

.album-process-section {
  padding: 60px 0;
}

.album-process-section .album-content-wrapper {
  margin-top: -4rem;
  margin-bottom: 5rem;
}

.album-process-section .section-main-left-title {
  position: relative;
  font-size: 1.5rem;
  text-align: left;
  font-weight: bold;
  color: #333;
}

.album-process-section .section-main-left-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 30px;
  width: 5%;
  border-bottom: 2px solid #CCC;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
  margin-top: -10px;
}

.process-item {
  display: flex;
  flex-direction: column;
}

.process-header {
  background-color: #fff;
  border: 1px solid #f0e5e0;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.process-step-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.process-title {
  font-size: 20px;
  font-weight: 500;
  color: #333;
  margin-left: 5px;
}

.process-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
}

.process-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.process-item:hover .process-image {
  transform: scale(1.05);
}

.process-description {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

/* ========================================
   思い出のカタチセクション (MemoryProducts)
   ======================================== */
.memory-products-section {
  background-color: #fafaf8;
  padding: 80px 0;
}

.section-main-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-bottom: 2rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 40px;
  margin-top: 60px;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-image-wrapper {
  width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 0;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  padding-bottom: 4px;
}

.product-description {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

.product-description .highlight {
  color: #d4a574;
  font-weight: 800;
}

/* ========================================
   お問い合わせCTAセクション (ContactCTA)
   ======================================== */
.contact-cta-section {
  background-color: #fff;
  padding: 60px 0 80px;
}

.contact-cta-text {
  font-size: 24px;
  color: #333;
  text-align: center;
  margin: 0 0 20px 0;
  font-weight: 400;
}

.contact-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 30px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 5px;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
  }

  .album-hero-title {
    font-size: 2rem;
    left: 5%;
  }

  .album-hero-image {
    filter: blur(4px) brightness(1.05);
    transform: scale(1.05); /* 端のボケ防止 */
  }


  .album-content-wrapper {
    padding: 0 1rem;
  }

  .album-intro {
    padding: 2rem 1rem;
  }

  .intro-title {
    font-size: 1.5rem;
  }

  .intro-text {
    font-size: 1rem;
  }

  .album-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }

  .album-cta {
    padding: 3rem 0;
  }

  .cta-button {
    padding: 1rem 3rem;
    font-size: 1rem;
  }

  .section-main-center-title {
    font-size: 1.5rem;
  }

  /* ポイントカード */
  .point-header {
    padding: 0.6rem 1rem;
    justify-content: center;
  }

  /* スマホ時はpoint-labelとpoint-numberを非表示 */
  .point-label,
  .point-number {
    display: none;
  }

  /* タイトルブロックを中央に */
  .point-title-block {
    transform: none;
    margin: 0 auto;
  }

  .point-title {
    font-size: 1rem;
  }

  .point-subtitle {
    font-size: 0.75rem;
    padding-left: 0;
    text-align: center;
  }

  .point-body {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-point.reverse .point-body {
    direction: ltr;
  }

  /* 制作フロー */
  .album-process-section {
    padding: 60px 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .process-header {
    padding: 16px 20px;
  }

  .process-step-icon {
    font-size: 13px;
    padding: 5px 10px;
  }

  .process-title {
    font-size: 18px;
  }

  .process-description {
    font-size: 13px;
  }

  /* 思い出のカタチ */
  .memory-products-section {
    padding: 60px 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .product-title {
    font-size: 16px;
  }

  .product-description {
    font-size: 13px;
  }

  /* お問い合わせCTA */
  .contact-cta-section {
    padding: 50px 0 60px;
  }

  .contact-cta-text {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .contact-buttons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-cta-button {
    padding: 18px 24px;
    font-size: 15px;
  }
}
