/* ===================================================
   Formal Collection - PC スタイルシート
   groupName: fashion / groupNumber: 001
   =================================================== */

:root {
  --color-text: #111111;
  --color-bg: #F7F7F7;
  --color-border: #E0E0E0;
  --color-divider: #EEEEEE;
  --font-serif: "Shippori Mincho", "Yu Mincho", "Noto Serif JP", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --letter-spacing-wide: 0.08em;
  --letter-spacing-widest: 0.15em;
}

body {
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  background-color: var(--color-bg);
}

a:hover {
  text-decoration: none;
  color: inherit;
}

/* ===== 共通セクションラベル ===== */
.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text);
  opacity: 0.4;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 40px;
  font-weight: 300;
  margin: 0 0 12px 0;
  letter-spacing: var(--letter-spacing-wide);
  line-height: 1.2;
}

.section-description {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  opacity: 0.6;
  margin: 0;
}

/* ===== ゴーストボタン ===== */
.ghost-btn {
  display: inline-block;
  padding: 12px 40px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--color-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  border: 1px solid var(--color-text);
  background: transparent;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.ghost-btn:hover {
  opacity: 0.8;
}

/* ===== ヒーローセクション ===== */
.formal-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg);
}

.formal-hero__text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.formal-hero__text-inner {
  text-align: left;
}

.formal-hero__subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  margin-bottom: 28px;
  opacity: 0.5;
  color: var(--color-text);
}

.formal-hero__title {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 300;
  letter-spacing: var(--letter-spacing-wide);
  margin: 0;
  line-height: 1.1;
  color: var(--color-text);
}

.formal-hero__title span {
  font-weight: 400;
  text-transform: none;
}

.formal-hero__photo {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.formal-hero__photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 20s infinite;
}

.formal-hero__photo img:nth-child(1) { animation-delay: 0s; }
.formal-hero__photo img:nth-child(2) { animation-delay: 5s; }
.formal-hero__photo img:nth-child(3) { animation-delay: 10s; }
.formal-hero__photo img:nth-child(4) { animation-delay: 15s; }

@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ===== シーン別セクション ===== */
.scenes-section {
  padding-top: 160px;
}

.scenes-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.scenes-section__header .section-description {
  margin: 0 auto;
  max-width: 400px;
}

.scenes-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.scene-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-decoration: none;
  color: var(--color-text);
  overflow: hidden;
}

.scene-card--reverse {
  direction: rtl;
}

.scene-card--reverse > * {
  direction: ltr;
}

.scene-card__image-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.scene-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.scene-card:hover .scene-card__image {
  transform: scale(1.03);
}

.scene-card__image--funeral {
  /* funeral image specific offset if needed */
}

.scene-card__body {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.scene-card:hover .scene-card__body {
  background-color: #333333;
  color: #ffffff;
}

.scene-card__title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}

.scene-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  opacity: 0.7;
  margin: 0 0 32px 0;
  transition: color 0.4s ease;
}

.scene-card:hover .scene-card__desc {
  color: #ffffff;
  opacity: 1;
}

.scene-card__link {
  font-family: var(--font-sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-widest);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.scene-card__link::after {
  content: '→';
  font-size: 14px;
  transition: transform 0.3s ease;
}

.scene-card:hover .scene-card__link {
  color: #ffffff;
}

.scene-card:hover .scene-card__link::after {
  transform: translateX(4px);
}

/* ===== スタイルガイドセクション ===== */
.style-guide-section {
  padding: 120px 0;
  text-align: center;
}

.style-guide-section__header {
  margin-bottom: 60px;
}

.style-guide-section__header .section-description {
  margin: 0 auto;
  max-width: 400px;
}

.style-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}

.style-guide-card {
  background-color: #ffffff;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
}

.style-guide-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.05em;
  margin: 0 0 8px 0;
}

.style-guide-card__subtitle {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--color-text);
  opacity: 0.5;
  margin: 0 0 32px 0;
}

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

.style-guide-list li {
  font-family: var(--font-sans);
  font-size: 14px;
  border-bottom: 1px solid var(--color-divider);
  letter-spacing: 0.03em;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

.style-guide-list li:first-child {
  border-top: 1px solid var(--color-divider);
}

.style-guide-list li::after {
  content: '›';
  font-size: 16px;
  opacity: 0.3;
  transition: opacity 0.4s ease;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.style-guide-list li:hover {
  background-color: #333333;
  color: #ffffff;
}

.style-guide-list li:hover::after {
  opacity: 1;
  color: #ffffff;
  right: 16px;
}

.style-guide-list a {
  color: inherit;
  text-decoration: none;
  display: block;
  padding: 14px 0;
  transition: padding 0.4s ease;
}

.style-guide-list li:hover a {
  padding: 14px 16px;
}

/* ===== コレクションセクション ===== */
.collection-section {
  padding: 120px 0;
}

.collection-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.collection-section__header .section-description {
  margin: 0 auto;
  max-width: 400px;
}

.collection-section__btn {
  text-align: center;
  padding-top: 40px;
}

/* ===== カテゴリーセクション ===== */
.category-section {
  padding: 120px 0;
}

.category-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.category-section__header .section-description {
  margin: 0 auto;
  max-width: 400px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.category-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--color-text);
}

.category-card__image-wrap {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.category-card__image-wrap::before {
  content: "";
  display: block;
  padding-top: 100%;
}

.category-card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.category-card:hover .category-card__image {
  opacity: 0.8;
}

.category-card__name {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 400;
  text-align: left;
  margin: 0;
  letter-spacing: 0.03em;
}

/* ===== マナーガイドセクション ===== */
.manner-section {
  padding: 120px 0;
}

.manner-section__header {
  text-align: center;
  margin-bottom: 60px;
}

.manner-section__header .section-description {
  margin: 0 auto;
  max-width: 400px;
}

.manner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.manner-card {
  background-color: #ffffff;
  padding: 40px;
}

.manner-card__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 20px 0;
  letter-spacing: 0.05em;
}

.manner-card__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 2;
  color: var(--color-text);
  opacity: 0.6;
  margin: 0 0 24px 0;
}

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

.manner-list li {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-text);
  opacity: 0.7;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.manner-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-text);
  opacity: 0.3;
}

.manner-section__note {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 2;
  color: var(--color-text);
  opacity: 0.5;
  max-width: 600px;
  margin: 60px auto 0;
  text-align: center;
}

/* ===== CTAセクション ===== */
.cta-section {
  padding: 160px 0;
  text-align: center;
}

.cta-section__title {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.05em;
  margin: 0 0 32px 0;
}

.cta-section__desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 2.2;
  color: var(--color-text);
  opacity: 0.5;
  margin: 0 0 8px 0;
}

/* ===== ECM Alcor 上書き ===== */
.ecm-alcor {
  background-color: transparent;
}

/* ===== ファッション関連企画 見出し ===== */
.fashion-footer-heading {
  text-align: center;
  padding: 80px 0 60px;
}
