@charset "UTF-8";

/* =========================================================
   入社式LP — Stylesheet (HTML再現版)
   ========================================================= */

:root {
  --gold: #FFC72C;
  --gold-light: #FFE066;
  --gold-deep: #E0A924;
  --ink: #2A2A2A;
  --ink-soft: #555;
  --paper: #FFFBF0;
  --paper-2: #FFF6DC;
  --cream: #FFFDF8;
  --rule: #F0E4B8;
}

html, body { margin: 0; padding: 0; }

body {
  background: #EAE3D2;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

/* ------ Container ------ */
.ceremony-lp {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

/* ============ HERO ============ */
.lp-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background:
    radial-gradient(ellipse at 95% 20%, rgba(229,185,71,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 90%, rgba(240,210,116,0.12) 0%, transparent 55%),
    var(--paper);
  padding-bottom: 18px;
  overflow: hidden;
}

/* ヘッダー背景装飾 */
.lp-hero::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 24px;
  width: 130px;
  height: 130px;
  background:
    radial-gradient(circle at center, var(--gold-light) 0 2.5px, transparent 3px) 0 0 / 16px 16px,
    radial-gradient(circle at center, transparent 0);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  -webkit-mask: radial-gradient(circle at top right, black 0%, transparent 75%);
          mask: radial-gradient(circle at top right, black 0%, transparent 75%);
}

.lp-hero__photo {
  position: relative;
  overflow: visible;
  align-self: stretch;
  min-height: 360px;
}
.lp-hero__photo .img-frame {
  position: relative;
}
/* 右端をクリームに溶けさせるグラデーション */
.lp-hero__photo .img-frame::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 35%;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(251,246,236,0.15) 40%,
    rgba(251,246,236,0.55) 75%,
    var(--paper) 100%);
  pointer-events: none;
  z-index: 3;
}
/* ゴールドの縦線アクセント（写真とテキストのブリッジ） */
.lp-hero__photo::after {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 70px;
  right: -1px;
  width: 2px;
  background: linear-gradient(to bottom, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
  z-index: 4;
  opacity: 0.5;
}
.lp-hero__photo .img-frame { width: 100%; height: 100%; }
.lp-hero__photo .img-frame > img { width: 100%; height: 100%; object-fit: cover; }

/* 右下の黄色い曲線装飾（ヒーロー全幅に廣がる） */
.lp-hero__curve {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 90px;
  pointer-events: none;
  z-index: 2;
}

.lp-hero__copy {
  padding: 40px 50px 60px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.lp-hero__title {
  font-family: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 78px;
  letter-spacing: 0.22em;
  line-height: 1.05;
  margin: 0 0 28px;
  white-space: nowrap;
  text-shadow: 0 2px 0 rgba(0,0,0,0.02);
  position: relative;
}
/* タイトル装飾点 */
.lp-hero__title::after {
  content: "";
  position: absolute;
  right: -8px;
  top: -2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(229,185,71,0.2);
}

.lp-hero__lead {
  font-size: 16px;
  color: var(--ink);
  line-height: 2.1;
  margin: 0 0 22px;
  letter-spacing: 0.08em;
}

.lp-hero__new-start {
  font-family: "Allura", "Great Vibes", "Brush Script MT", cursive;
  color: var(--gold);
  font-size: 64px;
  line-height: 1;
  text-align: right;
  margin-top: 12px;
  letter-spacing: 0.01em;
  font-weight: 400;
  font-style: italic;
  transform: rotate(-4deg);
  transform-origin: right center;
  text-shadow: 0 2px 4px rgba(229,185,71,0.15);
  position: relative;
}

/* ============ SECTION COMMON ============ */
.lp-section {
  padding: 36px 50px 28px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 36px;
  align-items: start;
}

.lp-section__head {
  position: relative;
  padding-top: 8px;
}

.lp-section__head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 120%;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 40%, transparent 40%, transparent 50%, var(--gold) 50%, var(--gold) 100%);
  background-size: 6px 1px, 6px 1px;
}

.lp-section__heading {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  position: relative;
  padding-left: 16px;
}
.lp-section__heading::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 4px; height: 22px;
  background: var(--gold);
  transform: translateY(-50%);
}
.lp-section__heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: -14px;
  width: 80%;
  height: 1px;
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 8px 1px;
  background-repeat: repeat-x;
}

.lp-section__body {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 2.2;
  letter-spacing: 0.06em;
}
.lp-section__body p { margin: 0 0 1.2em; }

.lp-section__photos {
  display: grid;
  gap: 10px;
}

/* レイアウト：式典・メッセージ（横長1枚） */
.lp-section--message .lp-section__photos {
  grid-template-columns: 1fr;
}
.lp-section--message .lp-section__photo {
  aspect-ratio: 16/9;
}

/* レイアウト：所信表明（4枚） */
.lp-section--statement {
  grid-template-columns: 1fr 230px;
}
.lp-section--statement .lp-section__head { order: 2; }
.lp-section--statement .lp-section__photos {
  order: 1;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
}
.lp-section--statement .lp-section__photo:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  aspect-ratio: 4/5;
}
.lp-section--statement .lp-section__photo:nth-child(2) {
  grid-column: 2 / 3;
  aspect-ratio: 4/5;
}
.lp-section--statement .lp-section__photo:nth-child(3) {
  grid-column: 3 / 4;
  aspect-ratio: 4/5;
}
.lp-section--statement .lp-section__photo:nth-child(4) {
  display: none; /* 元レイアウトは3枚構成 */
}

/* レイアウト：辞令授与（2枚） */
.lp-section--order .lp-section__photos {
  grid-template-columns: 1fr 1fr;
}
.lp-section--order .lp-section__photo {
  aspect-ratio: 4/3;
}
.lp-section--order .lp-section__photo .img-frame > img {
  object-position: center 20%;
}
.lp-section--order .lp-section__photo:nth-child(1) .img-frame > img {
  object-position: center 8%;
}

/* ============ AFTER ============ */
.lp-after {
  position: relative;
  padding: 24px 50px 40px;
  text-align: center;
}

.lp-after__heading {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  letter-spacing: 0.18em;
  margin: 0 0 6px;
  position: relative;
  display: inline-block;
}
.lp-after__heading::before,
.lp-after__heading::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.lp-after__heading::before { left: -50px; transform: rotate(-25deg); }
.lp-after__heading::after  { right: -50px; transform: rotate(25deg); }

.lp-after__lead {
  margin: 12px 0 22px;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

.lp-after__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.lp-after__photo { aspect-ratio: 4/3; }

/* ============ CLOSING ============ */
.lp-closing {
  position: relative;
  padding: 36px 30px 64px;
  background: var(--paper-2);
  text-align: center;
}
.lp-closing__text {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.14em;
  line-height: 1.9;
  color: var(--ink);
  margin: 0;
}
.lp-closing__dots {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lp-closing__dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
}
.lp-closing__dots span:nth-child(1),
.lp-closing__dots span:nth-child(3) { background: var(--gold-light); }
.lp-closing__rules {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
  align-items: center;
}
.lp-closing__rules::before,
.lp-closing__rules::after {
  content: "";
  display: block;
  width: 180px;
  height: 1px;
  background-image: linear-gradient(to right, var(--gold) 50%, transparent 50%);
  background-size: 6px 1px;
}

.lp-closing__corner {
  position: absolute;
  left: 0; bottom: 0;
  width: 200px; height: 120px;
  pointer-events: none;
}

/* ============ Image Placeholder ============ */
.img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    repeating-linear-gradient(135deg,
      #E8DCC2 0 10px, #DDD0B2 10px 20px);
  overflow: hidden;
  border-radius: inherit;
}
.img-frame > .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,0.45);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  text-align: center;
  padding: 8px;
  line-height: 1.6;
  letter-spacing: 0;
}
.img-frame > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-frame > img[src=""],
.img-frame > img:not([src]) { display: none; }

.lp-section__photo,
.lp-after__photo {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08), 0 1px 3px rgba(0,0,0,0.06);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.lp-section__photo:hover,
.lp-after__photo:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12), 0 2px 5px rgba(0,0,0,0.06);
}

/* ゴールドのコーナーアクセント */
.lp-section__photo::before,
.lp-after__photo::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 18px;
  height: 18px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top-left-radius: 6px;
  z-index: 3;
  opacity: 0.85;
  pointer-events: none;
}
.lp-section__photo::after,
.lp-after__photo::after {
  content: "";
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-bottom-right-radius: 6px;
  z-index: 3;
  opacity: 0.85;
  pointer-events: none;
}

/* ヒーロー写真にも軽く適用（コーナーアクセントは無し） */
.lp-hero__photo .img-frame {
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* ============ Responsive ============ */
@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-hero__photo { min-height: 280px; aspect-ratio: 5/4; }
  .lp-hero__copy { padding: 22px 22px 8px; }
  .lp-hero__title { font-size: 58px; letter-spacing: 0.18em; white-space: nowrap; }
  .lp-hero__new-start { font-size: 44px; }

  .lp-section {
    grid-template-columns: 1fr;
    padding: 28px 22px 18px;
    gap: 16px;
  }
  .lp-section__head { padding-top: 0; }
  .lp-section__body { margin-top: 12px; }

  .lp-after { padding: 18px 22px 30px; }
  .lp-after__heading::before { left: -30px; width: 22px; }
  .lp-after__heading::after  { right: -30px; width: 22px; }

  .lp-closing { padding: 30px 22px 48px; }
  .lp-closing__text { font-size: 20px; letter-spacing: 0.1em; }
  .lp-closing__rules::before,
  .lp-closing__rules::after { width: 80px; }
}
