@charset "utf-8";

/* ========================================
   SEO Enhancement Styles
   コレクションページ用セクション
   ======================================== */

/* ----------------------------------------
   共通: セクションタイトル
   ---------------------------------------- */
.seo-section-title {
  text-align: center;
  margin-bottom: 35px;
}

.seo-section-title h2 {
  font-family: 'Herr Von Muellerhoff', cursive;
  font-size: 42px;
  color: #333;
  font-weight: 400;
  margin-bottom: 5px;
  line-height: 1;
}

.seo-section-title .ja {
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
}

/* ----------------------------------------
   Heritage セクション
   ---------------------------------------- */
.seo-heritage-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-heritage-content {
  max-width: 1100px;
  margin: 0 auto;
}

.seo-heritage-text {
  margin-top: 40px;
}

.seo-heritage-text p {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
  font-family: 'Noto Serif JP', serif;
  margin-bottom: 25px;
  text-align: left; 
}

.seo-heritage-text p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------
   Brands セクション
   ---------------------------------------- */
.seo-brands-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
  border-top: 1px solid #e5e5e5;
  border-left: 1px solid #e5e5e5;
}

.seo-brand-card {
  position: relative;
  background: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-right: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  transition: background 0.3s ease;
}

.seo-brand-card:hover {
  background: #f9f9f9;
}

.seo-brand-card .brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  transition: all 0.3s ease;
}

.seo-brand-card .brand-logo img {
  max-height: 80px;
  max-width: 200px;
  width: auto;
  transition: all 0.3s ease;
}

.seo-brand-card:hover .brand-logo img {
  transform: scale(1.05);
}

.seo-brand-card .brand-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(51, 51, 51, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  transition: all 0.3s ease;
}

.seo-brand-card:hover .brand-overlay {
  opacity: 1;
}

.seo-brand-card .brand-summary {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.95);
  margin: 0;
  text-align: center;
}

.seo-brand-card .brand-link {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #BB6767;
  text-transform: uppercase;
}

/* ----------------------------------------
   Materials セクション
   ---------------------------------------- */
.seo-materials-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 100%;
  margin: 50px auto 0;
}

.seo-material-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  overflow: hidden;
}

.seo-material-card .material-image {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: #fafafa;
}

.seo-material-card .material-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.seo-material-card:hover .material-image img {
  transform: scale(1.05);
}

.seo-material-card .material-content {
  padding: 25px;
  text-align: center;
}

.seo-material-card .material-label {
  font-family: 'Crimson Text', serif;
  font-size: 10px;
  letter-spacing: 2px;
  color: #BB6767;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.seo-material-card h4 {
  font-family: 'Crimson Text', serif;
  font-size: 15px;
  font-weight: 400;
  color: #333;
  margin-bottom: 12px;
}

.seo-material-card p {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

/* ----------------------------------------
   Placement セクション
   ---------------------------------------- */
.seo-placement-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-placement-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  max-width: 100%;
  margin: 40px auto 0;
}

.seo-placement-card {
  flex: 1;
  max-width: 350px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}

.seo-placement-card .image-wrapper {
  position: relative;
  padding-top: 140%;
  overflow: hidden;
}

.seo-placement-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.seo-placement-card:hover img {
  transform: scale(1.05);
}

.seo-placement-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  transition: background 0.3s ease;
}

.seo-placement-card:hover .overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.8) 100%);
}

.seo-placement-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 25px;
  color: #fff;
  text-align: center;
}

.seo-placement-card .en {
  font-family: 'Crimson Text', serif;
  font-size: 20px;
  letter-spacing: 3px;
  display: block;
  margin-bottom: 8px;
}

.seo-placement-card .ja {
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.9;
}

.seo-placement-card .line {
  width: 30px;
  height: 1px;
  background: #BB6767;
  margin: 15px auto 0;
}

/* ----------------------------------------
   Display Tips セクション
   ---------------------------------------- */
.seo-display-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-display-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
}

.seo-display-image {
  position: relative;
  overflow: hidden;
}

.seo-display-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-display-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.seo-display-tip {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 35px;
  background: #f9f9f9;
  border: 1px solid #eee;
  margin: -1px 0 0 -1px;
}

.seo-display-tip .num {
  font-family: 'Crimson Text', serif;
  font-size: 28px;
  color: #BB6767;
  line-height: 1;
}

.seo-display-tip .tip-content h4 {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.seo-display-tip .text {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

/* ----------------------------------------
   FAQ セクション
   ---------------------------------------- */
.seo-faq-section {
  padding: 80px 20px;
  background: #fff;
}

.seo-faq-list {
  max-width: 1100px;
  margin: 40px auto 0;
}

.seo-faq-item {
  border: 1px solid #e5e5e5;
  margin-bottom: -1px;
}

.seo-faq-question {
  padding: 20px 50px 20px 25px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #f5f5f5;
  position: relative;
  transition: background 0.2s ease;
}

.seo-faq-question:hover {
  background: #ebebeb;
}

.seo-faq-question::before {
  content: 'Q';
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  font-weight: 400;
  color: #BB6767;
  flex-shrink: 0;
}

.seo-faq-question::after {
  content: '';
  position: absolute;
  right: 25px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid #999;
  border-bottom: 2px solid #999;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.seo-faq-item.open .seo-faq-question::after {
  transform: translateY(-30%) rotate(-135deg);
}

.seo-faq-answer {
  padding: 20px 25px 25px 25px;
  font-size: 14px;
  color: #666;
  line-height: 2;
  display: none;
  background: #fff;
  border-top: 1px solid #e5e5e5;
  text-align: left; 
}

.seo-faq-answer-inner {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.seo-faq-answer-inner::before {
  content: 'A';
  font-family: 'Crimson Text', serif;
  font-size: 18px;
  font-weight: 400;
  color: #8b7355;
  flex-shrink: 0;
}

.seo-faq-item.open .seo-faq-answer {
  display: block;
}

/* ----------------------------------------
   Related Content セクション
   ---------------------------------------- */
.seo-related-section {
  background: #fff;
  padding: 80px 20px;
}

.seo-related-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.seo-related-card {
  background: #fff;
  border: 1px solid #eee;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
}

.seo-related-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.seo-related-card-image {
  height: 180px;
  overflow: hidden;
}

.seo-related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.seo-related-card:hover .seo-related-card-image img {
  transform: scale(1.05);
}

.seo-related-card-content {
  padding: 25px;
  text-align: left; 
}

.seo-related-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #333;
  font-family: 'Noto Serif JP', serif;
}

.seo-related-card p {
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.7;
}

.seo-related-card .link-text {
  font-size: 11px;
  color: #BB6767;
  letter-spacing: 1px;
}

/* ----------------------------------------
   レスポンシブ対応
   ---------------------------------------- */
@media (max-width: 1000px) {
  .seo-materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .seo-display-layout {
    grid-template-columns: 1fr;
  }

  .seo-display-image {
    aspect-ratio: 16 / 9;
  }

  .seo-related-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .seo-heritage-section {
    padding: 60px 20px;
  }

  .seo-heritage-text p {
    font-size: 14px;
  }

  .seo-placement-grid {
    flex-direction: column;
    align-items: center;
  }

  .seo-placement-card {
    width: 100%;
    max-width: 400px;
  }

  .seo-placement-card .image-wrapper {
    padding-top: 100%;
  }
}

@media (max-width: 600px) {
  .seo-section-title h2 {
    font-size: 36px;
  }

  .seo-materials-grid {
    grid-template-columns: 1fr;
  }

  .seo-brands-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seo-brand-card {
    aspect-ratio: 3 / 2;
  }

  .seo-brand-card .brand-logo img {
    max-height: 40px;
    max-width: 120px;
  }

  .seo-display-tips {
    grid-template-columns: 1fr;
  }

  .seo-related-cards {
    grid-template-columns: 1fr;
  }
}

/* ----------------------------------------
   Brands セクション - シングルブランド（ヒーロー型）
   1ブランドの場合に使用
   ---------------------------------------- */
.seo-brands-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 50px auto 0;
  border: 1px solid #e5e5e5;
}

.seo-brands-single .brand-image {
  position: relative;
  overflow: hidden;
}

.seo-brands-single .brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.seo-brands-single .brand-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  background: #fafafa;
}

.seo-brands-single .brand-logo {
  margin-bottom: 25px;
}

.seo-brands-single .brand-logo img {
  max-height: 60px;
  max-width: 200px;
  width: auto;
}

.seo-brands-single .brand-description {
  font-size: 14px;
  line-height: 2;
  color: #555;
  margin-bottom: 25px;
}

.seo-brands-single .brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #BB6767;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.seo-brands-single .brand-link:hover {
  gap: 12px;
}

.seo-brands-single .brand-link::after {
  content: '→';
}

/* ----------------------------------------
   Brands セクション - マルチブランド（グリッド型）
   2〜6ブランドの場合に使用
   ---------------------------------------- */
.seo-brands-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 550px;
}

.seo-brands-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 825px;
}

/* cols-4 はデフォルト（既存CSS: repeat(4, 1fr)） */

.seo-brands-grid.cols-5 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 825px;
  border: none;
}

.seo-brands-grid.cols-5 .seo-brand-card {
  width: calc(33.333% - 1px);
  border: 1px solid #e5e5e5;
  margin: -0.5px;
}

.seo-brands-grid.cols-6 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 825px;
}

/* ----------------------------------------
   Brands セクション - レスポンシブ追加
   ---------------------------------------- */
@media (max-width: 767px) {
  .seo-brands-single {
    grid-template-columns: 1fr;
  }

  .seo-brands-single .brand-content {
    padding: 35px 25px;
  }

  .seo-brands-grid.cols-2,
  .seo-brands-grid.cols-3,
  .seo-brands-grid.cols-5,
  .seo-brands-grid.cols-6 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .seo-brands-grid.cols-5 {
    display: grid;
  }

  .seo-brands-grid.cols-5 .seo-brand-card {
    width: auto;
  }
}
