@charset "UTF-8";
/* ==========================================================================
   社長の一言ページ専用スタイル / message.html
   ========================================================================== */

.msg__inner {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 72px;
  align-items: start;
}

/* --------------------------------------------------------------- 写真 */
.msg__photo-col {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.msg__photo {
  border-radius: var(--r-xl) var(--r-xl) var(--r-lg) var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--cream);
  margin: 0;
}

.msg__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 26%;
}

.msg__caption {
  padding: 18px 16px 20px;
  text-align: center;
  background: #fff;
}
.msg__caption-role {
  display: block;
  font-size: 1.2rem;
  letter-spacing: .16em;
  color: var(--ink-muted);
  margin-bottom: 2px;
}
.msg__caption-name {
  display: block;
  font-family: var(--font-jp);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
}

.msg__badge {
  position: absolute;
  right: -18px; top: -18px;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold-400);
  box-shadow: var(--shadow-sm);
}
.msg__badge-label { font-size: 1.05rem; letter-spacing: .16em; color: var(--gold-400); }
.msg__badge-num {
  font-family: var(--font-en);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.msg__badge-num i { font-style: normal; }
.msg__badge-num small { font-family: var(--font-jp); font-size: 1.2rem; font-weight: 700; }

/* --------------------------------------------------------------- 本文 */
.msg__title {
  font-size: clamp(2.6rem, 1.9rem + 2.4vw, 3.8rem);
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 34px;
  padding-bottom: 26px;
  position: relative;
}
.msg__title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 72px; height: 2px;
  background: var(--gold);
}

.msg__text {
  font-size: 1.6rem;
  line-height: 2.25;
  margin-bottom: 24px;
}
.msg__text strong { color: var(--navy); }

/* 導入の一段落だけ少し大きく（読み物としての入り口をつくる）
   ※ ドロップキャップは日本語（長音・拗音）で崩れるため使わない */
.msg__text:first-of-type {
  font-size: 1.72rem;
  color: var(--navy);
  font-weight: 500;
}

.msg__subtitle {
  font-size: 2.1rem;
  color: var(--navy);
  margin: 46px 0 20px;
  padding-left: 18px;
  border-left: 4px solid var(--gold);
}

.msg__sign {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  text-align: right;
  font-size: 1.45rem;
  color: var(--ink-muted);
  line-height: 2;
}
.msg__sign-name {
  font-family: var(--font-jp);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------- 4つのこと */
.policy {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.policy__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.policy__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }

.policy__num {
  position: absolute;
  right: 22px; top: 16px;
  font-family: var(--font-en);
  font-size: 4.6rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-100);
}

.policy__title { font-size: 1.9rem; color: var(--navy); margin-bottom: 12px; position: relative; z-index: 1; }
.policy__text { font-size: 1.45rem; line-height: 1.95; color: var(--ink-muted); position: relative; z-index: 1; }

/* --------------------------------------------------------------- レスポンシブ */
@media (max-width: 960px) {
  .msg__inner { grid-template-columns: 1fr; gap: 40px; }
  .msg__photo-col { position: static; max-width: 340px; margin: 0 auto; width: 100%; }
  .policy { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .msg__text { font-size: 1.5rem; line-height: 2.15; }
  .msg__subtitle { font-size: 1.85rem; margin-top: 36px; }
  .msg__sign { text-align: left; }
  .msg__badge { width: 88px; height: 88px; right: -8px; top: -12px; }
  .msg__badge-num { font-size: 2.6rem; }
  .policy__item { padding: 26px 22px 24px; }
  .policy__num { font-size: 3.6rem; right: 16px; top: 12px; }
}
