/* ==========================================================
   プロフィールページ（動作確認用の簡易版）
   index.html（ロサンジェルスバルコニー版）と
   同じ配色・フォントを使っています。
   ========================================================== */

:root {
  --white: #ffffff;
  --ivory: #fbfaf6;
  --stone: #f3efe6;
  --sky: #e9f7fd;
  --sky-deep: #c3e9f8;
  --sand: #f4ecda;
  --green: #94b287;
  --green-deep: #6d8c62;
  --gold: #cdb586;
  --text: #46595c;
  --text-soft: #75878a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Jost", "Noto Sans JP", sans-serif;
  color: var(--text);
  min-height: 100vh;
  /* アイボリー〜淡い空色のやわらかいグラデーション */
  background: linear-gradient(180deg, var(--sky) 0%, var(--ivory) 40%, var(--sand) 100%);
  padding: calc(40px + env(safe-area-inset-top, 0px)) 20px
           calc(40px + env(safe-area-inset-bottom, 0px));
}

@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

.profile {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
  animation: fade-in 0.5s ease-out both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

.profile__label {
  font-weight: 400;
  /* ★「PROFILE BOOK」の文字サイズの変更箇所★ */
  font-size: clamp(1.3rem, 6vw, 2rem);
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  color: var(--text);
}

/* ---- 飾り線 ---- */
.profile__ornament {
  display: flex;
  justify-content: center;
  margin: 18px 0 10px;
}

.profile__ornament--bottom {
  margin: 10px 0 32px;
}

.profile__ornament span {
  display: block;
  width: 54px;
  height: 1px;
  background: var(--gold);
}

.profile__names {
  font-weight: 300;
  font-size: clamp(2rem, 10vw, 3.2rem);
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  color: var(--text);
}

/* 「&」だけ上品なイタリックのゴールドに */
.profile__names .amp {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 0.72em;
  color: var(--gold);
  margin: 0 0.08em;
}

/* ---- プロフィールブックの各ページ ---- */
.profile__pages {
  margin-bottom: 32px;
}

.profile__page {
  background: var(--white);
  border: 1px solid rgba(205, 181, 134, 0.45);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 14px 30px rgba(70, 89, 92, 0.1);
  margin-bottom: 20px;
}

.profile__page img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.profile__back {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid rgba(205, 181, 134, 0.7);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 55%, var(--stone) 100%);
  color: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(70, 89, 92, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile__back:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 26px rgba(70, 89, 92, 0.18);
}

.profile__back:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 4px;
}

/* ---- 写真アップロードのお願い ---- */
.profile__photos {
  margin-bottom: 36px;
  padding: 24px 20px;
  background: var(--white);
  border: 1px solid rgba(205, 181, 134, 0.45);
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(70, 89, 92, 0.1);
}

.profile__photos-text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.profile__photos-link {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid rgba(205, 181, 134, 0.7);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--white) 0%, var(--ivory) 55%, var(--stone) 100%);
  color: var(--green-deep);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(70, 89, 92, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile__photos-link:hover {
  transform: scale(1.04);
  box-shadow: 0 14px 26px rgba(70, 89, 92, 0.18);
}

.profile__photos-link:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .profile {
    animation: none;
  }
}
