
.page-top #profile.message-section{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 360px;
  min-height:620px;
  padding:72px max(var(--gutter),calc((100vw - var(--page))/2)) 76px;
  overflow:hidden;
  background:#fff;
  isolation:isolate;
}
.page-top #profile .message-copy{
  position:relative;
  z-index:2;
  grid-column:1;
  align-self:center;
  width:100%;
  max-width:720px;
  margin:0;
  padding:0;
}
.page-top #profile .message-copy .eyebrow{
  margin-bottom:28px;
  font-family:inherit;
  font-size:var(--chapter-size);
  font-weight:700;
  line-height:1.55;
  letter-spacing:.075em;
}
.page-top #profile .message-copy .eyebrow::after{content:none}
.page-top #profile .message-text{max-width:680px;margin:0}
.page-top #profile .message-text p{
  margin:0 0 24px;
  color:#263a35;
  font-size:16px;
  line-height:1.95;
  letter-spacing:.01em;
}
.page-top #profile .message-signature{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:0 10px;
  margin:31px 0 0;
  color:#24433c;
  font-size:14px;
  line-height:1.6;
}
.page-top #profile .message-signature::before{
  content:"";width:38px;height:1px;margin-right:4px;
  background:#52645f;transform:translateY(-4px);
}
.page-top #profile .message-signature strong{
  font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif JP",serif;
  font-size:22px;font-weight:500;letter-spacing:.04em;
}
/* TEST1 retake: right edge is the fixed composition anchor.
   Width reduction removes mainly the left bright field, never the right side. */
.page-top #profile .message-visual{
  position:absolute;
  z-index:0;
  top:50%;
  right:0;
  width:min(760px,64vw);
  height:380px;
  overflow:hidden;
  background:transparent;
  transform:translateY(-50%);
  pointer-events:none;
}
.page-top #profile .message-picture,
.page-top #profile .message-photo{
  display:block;width:100%;height:100%;
}
.page-top #profile .message-photo{
  object-fit:cover;
  object-position:right center;
  -webkit-mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 16%,
    rgba(0,0,0,.04) 27%,
    rgba(0,0,0,.16) 38%,
    rgba(0,0,0,.42) 50%,
    rgba(0,0,0,.76) 62%,
    #000 74%,
    #000 100%);
  mask-image:linear-gradient(90deg,
    transparent 0%,
    transparent 16%,
    rgba(0,0,0,.04) 27%,
    rgba(0,0,0,.16) 38%,
    rgba(0,0,0,.42) 50%,
    rgba(0,0,0,.76) 62%,
    #000 74%,
    #000 100%);
}
.page-top #profile .message-visual::before{content:none}

/* At the narrow wide-state, give copy the faded-left field while keeping the person anchored right. */
@media(min-width:1006px) and (max-width:1100px){
  .page-top #profile.message-section{
    grid-template-columns:minmax(0,1fr) 270px;
    padding-left:var(--gutter);
    padding-right:var(--gutter);
  }
  .page-top #profile .message-copy{max-width:660px}
  .page-top #profile .message-text{max-width:640px}
  .page-top #profile .message-visual{
    right:0;
    width:min(690px,72vw);
    height:345px;
  }
  .page-top #profile .message-photo{object-position:right center}
}

/* 比較テスト②：935px以下。順序は維持し、表示窓だけ約78%の高さへ浅くする。 */
@media(max-width:1005px){
  .page-top #profile.message-section{
    display:grid;
    grid-template-columns:1fr;
    min-height:0;
    padding:58px var(--gutter) 62px;
    overflow:hidden;
  }
  .page-top #profile .message-copy{display:contents}
  .page-top #profile .message-copy .eyebrow{
    grid-column:1;grid-row:1;margin-bottom:24px;
  }
  .page-top #profile .message-visual{
    position:relative;
    grid-column:1;grid-row:2;
    top:auto;right:auto;
    width:100%;
    height:auto;
    aspect-ratio:3.4/1;
    margin:0 0 26px;
    transform:none;
    pointer-events:auto;
  }
  .page-top #profile .message-picture,
  .page-top #profile .message-photo{
    width:100%;height:100%;
  }
  .page-top #profile .message-photo{
    object-fit:cover;
    object-position:50% 42%;
    -webkit-mask-image:none;
    mask-image:none;
  }
  .page-top #profile .message-text{
    grid-column:1;grid-row:3;
    width:100%;max-width:720px;
  }
  .page-top #profile .message-signature{
    grid-column:1;grid-row:4;width:100%;
  }
  .page-top #profile .message-text p{
    font-size:16px;line-height:1.9;margin-bottom:22px;
  }
}
@media(max-width:560px){
  .page-top #profile.message-section{padding:48px var(--gutter) 54px}
  .page-top #profile .message-copy .eyebrow{margin-bottom:20px}
  .page-top #profile .message-visual{
    width:calc(100% + 2 * var(--gutter));
    margin-left:calc(-1 * var(--gutter));
    margin-right:calc(-1 * var(--gutter));
    margin-bottom:24px;
    aspect-ratio:3.45/1;
  }
  .page-top #profile .message-photo{object-position:50% 40%}
  .page-top #profile .message-signature{
    gap:2px 8px;margin-top:28px;font-size:13px;
  }
  .page-top #profile .message-signature strong{font-size:19px}
}

/* 1005〜900px限定：浅型1カラム版の本文だけを少し広げる。
   バナー、文字組み、署名、768px以下、1006px以上は変更しない。 */
@media (min-width:900px) and (max-width:1005px){
  .page-top #profile .message-text{
    max-width:820px;
  }
}

/* 1006px以上：本文枠の右端だけを段階補正。
   基準=1024px時点 640px / 本文16px換算: 5文字=80px, 7文字=112px */
@media (min-width:1006px) and (max-width:1219px){
  .page-top #profile .message-text{max-width:640px;}
}
@media (min-width:1220px) and (max-width:1349px){
  .page-top #profile .message-text{max-width:720px;}
}
@media (min-width:1350px){
  .page-top #profile .message-copy{max-width:752px;}
  .page-top #profile .message-text{max-width:752px;}
}
