/* 会社概要：事業所案内を中央揃え、スマホ画像の大きさを調整。 */
.feat h4,.feat p{text-align:center}
@media(max-width:760px){
  .page-hero.n .photo{width:80%;justify-self:center}
  .president>img{width:66.6667%;height:auto;justify-self:center}
  .feat>img{display:block;width:66.6667%!important;height:auto;margin-inline:auto}
}

/* 会社概要下部：代表プロフィール */
.leader-profile-card{max-width:850px;margin-inline:auto;background:#fff;border:3px solid var(--ink);border-radius:22px;padding:1.35rem 1.55rem 1.2rem;box-shadow:0 6px 0 var(--ink)}
.leader-profile-head{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:1.45rem}
.leader-profile-photo-frame{width:150px;height:185px;overflow:hidden;border:2px solid var(--ink);border-radius:16px;background:#fff}
.leader-profile-photo{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.leader-profile-role{display:inline-block;background:var(--green-soft);color:var(--green-d);border-radius:999px;padding:.12rem .65rem;font-size:.75rem;font-weight:900;line-height:1.5}
.leader-profile-identity h3{font-family:"Kaisei Decol","Zen Maru Gothic",serif;font-size:1.45rem;line-height:1.4;margin:.35rem 0 .55rem}
.leader-profile-identity h3 small{font-family:"Zen Maru Gothic",sans-serif;font-size:.72rem;font-weight:700;color:var(--brown);margin-left:.45rem;white-space:nowrap}
.leader-profile-identity p,.leader-profile-body p{font-size:.9rem;line-height:1.75}
.leader-profile-identity .leader-profile-hobby{font-size:.8rem;color:#695747;margin-top:.45rem}
.leader-profile-body{border-top:2px dashed var(--line);margin-top:1.1rem;padding-top:.9rem;display:grid;grid-template-columns:minmax(0,1fr);gap:.55rem}
.leader-profile-history{border-top:2px dashed var(--line);margin-top:1rem;padding-top:.7rem;font-size:.84rem}
.leader-profile-history h3{margin:0 0 .45rem;font-size:inherit;line-height:1.6;font-weight:900;color:var(--green-d)}
.leader-profile-history ol{list-style:none;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:repeat(7,auto);grid-auto-flow:column;gap:0 1.1rem;padding:.4rem 0 0}
.leader-profile-history li{display:grid;grid-template-columns:6.4em minmax(0,1fr);gap:.45rem;padding:.36rem 0;border-top:1px solid var(--line);line-height:1.55}
.leader-profile-history time{font-weight:900;color:var(--brown)}
@media(max-width:760px){
  .leader-profile-card{padding:1.15rem 1.1rem 1rem}
  .leader-profile-head{grid-template-columns:110px minmax(0,1fr);gap:1rem}
  .leader-profile-photo-frame{width:110px;height:137px;border-radius:13px}
  .leader-profile-identity h3{font-size:1.18rem;margin:.3rem 0 .35rem}
  .leader-profile-identity h3 small{display:block;margin:.1rem 0 0;font-size:.67rem}
  .leader-profile-identity p{font-size:.8rem;line-height:1.6}
  .leader-profile-identity .leader-profile-hobby{font-size:.75rem}
  .leader-profile-history ol{grid-template-columns:1fr;grid-template-rows:none;grid-auto-flow:row}
}
@media(max-width:380px){
  .leader-profile-head{grid-template-columns:96px minmax(0,1fr);gap:.8rem}
  .leader-profile-photo-frame{width:96px;height:125px}
}

/* オールチェンジ株式会社の経営理念・行動指針 */
#allchange-philosophy {
  scroll-margin-top: 1.5rem;
}
#allchange-philosophy-title {
  word-break: keep-all;
}
.allchange-philosophy-card {
  max-width: 850px;
  margin-inline: auto;
  padding: clamp(1.15rem, 4vw, 2.5rem);
  background: var(--orange-soft);
  text-align: center;
  line-height: 1.8;
}
.allchange-philosophy-card h3 {
  margin-bottom: .35rem;
  font-size: 1rem;
  font-weight: 900;
}
.allchange-philosophy-motto {
  margin-bottom: .35rem;
  font-family: "Kaisei Decol", "Zen Maru Gothic", serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.5;
  word-break: keep-all;
}
.allchange-philosophy-policy {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 2px dashed var(--line);
}
.allchange-philosophy-policy p + p {
  margin-top: .35rem;
}
.allchange-philosophy-principle {
  font-weight: 900;
}

@media (max-width: 760px) {
  #allchange-philosophy {
    scroll-margin-top: 4.25rem;
  }
  #allchange-philosophy-title {
    margin-bottom: 1rem;
  }
  .allchange-philosophy-card {
    line-height: 1.65;
  }
  .allchange-philosophy-policy {
    margin-top: 1rem;
    padding-top: .9rem;
  }
}
