@charset "UTF-8";
/* =========================================================
   サカシタ電装 / 社長の一言ページ専用スタイル
   ========================================================= */

/* ---------------------------------------------------------
   本文レイアウト
   --------------------------------------------------------- */
.message__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.message__side {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.message__photo { position: relative; }
.message__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 160px 160px 22px 22px;
  box-shadow: var(--shadow-l);
}
.message__photo-deco {
  position: absolute;
  right: -22px; bottom: -22px;
  width: 160px; height: 160px;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: var(--mint);
  animation: blob 16s ease-in-out infinite;
}

.message__profile {
  margin-top: 34px;
  padding: 26px 24px;
  border-radius: var(--radius-l);
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.message__profile-role {
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--leaf);
  font-weight: 700;
}
.message__profile-name {
  margin-top: 4px;
  font-family: var(--font-round);
  font-size: 24px;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: .06em;
}
.message__profile-name span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .16em;
  color: var(--ink-sub);
}
.message__profile-list {
  margin-top: 20px;
  display: grid;
  gap: 12px;
  font-size: 13.5px;
}
.message__profile-list div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}
.message__profile-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.message__profile-list dt { color: var(--leaf); font-weight: 700; }
.message__profile-list dd { margin: 0; color: var(--ink); }

/* ---------------------------------------------------------
   本文
   --------------------------------------------------------- */
.message__lead {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.75;
  color: var(--forest-dark);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.message__text {
  margin-bottom: 26px;
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--ink-sub);
}
.message__quote {
  position: relative;
  margin: 40px 0;
  padding: 32px 34px 32px 58px;
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, var(--mint) 0%, #f6faf5 100%);
  font-family: var(--font-round);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  line-height: 1.9;
  color: var(--forest-dark);
}
/* 読み進めに合わせて線が伸びる（js/message.js が --qp を更新） */
.message__quote::before {
  content: "";
  position: absolute;
  left: 26px; top: 34px;
  width: 3px;
  height: calc((100% - 68px) * var(--qp, 0));
  border-radius: 4px;
  background: linear-gradient(180deg, var(--moss), var(--leaf));
}
.message__sign {
  margin-top: 40px;
  text-align: right;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--forest-dark);
}
.message__links {
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 900px) {
  .message__inner { grid-template-columns: 1fr; }
  .message__side { position: static; max-width: 420px; margin-inline: auto; width: 100%; }
  .message__photo img { border-radius: 130px 130px 20px 20px; }
}
@media (max-width: 560px) {
  .message__quote { padding: 26px 22px 26px 42px; }
  .message__quote::before { left: 18px; top: 28px; height: calc((100% - 56px) * var(--qp, 0)); }
  .message__links .btn { width: 100%; }
}
