/* Corrective styles for home social links and responsive biography. */
.layout--landing .landing-identity{justify-content:center}
.layout--landing .identity-copy{flex:0 1 760px}
.layout--landing .identity-social{justify-content:center!important;margin-left:auto!important;margin-right:auto!important;width:100%;gap:.65rem}
.layout--landing .identity-social .social-chip{display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:40px}
.layout--landing .social-chip__image{width:25px!important;height:25px!important;display:block;object-fit:contain;flex-shrink:0}
.layout--landing .social-chip--scholar{background:#17365b;border-color:#4277b5}
.layout--landing .social-chip--scholar:hover{background:#204a7a}
.profile-intro{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:2rem;align-items:start}
.profile-intro__portrait{display:block;width:100%;height:auto;max-width:220px;border-radius:12px;object-fit:cover;justify-self:end}
.profile-intro__text{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.profile-intro{grid-template-columns:1fr}.profile-intro__portrait{grid-row:1;justify-self:center;max-width:180px}.layout--landing .identity-social{justify-content:center!important}}

/* Align the masthead title with the author sidebar on wide inner pages.
   The landing page keeps its full-width masthead treatment. */
@media (min-width: 1024px) {
  body:not(.layout--landing) .masthead__inner-wrap {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
  }
  body:not(.layout--landing) .masthead .site-title {
    box-sizing: border-box;
    flex: 0 0 16%;
    width: 16%;
    margin-right: 0;
    padding-left: 0;
    text-align: left;
  }
  body:not(.layout--landing) .masthead .visible-links {
    margin-left: auto;
  }
}

/* Center the site title over the portrait/sidebar column on wide pages.
   Minimal Mistakes places the author avatar at the center of the 200px sidebar. */
@media (min-width: 1024px) {
  body:not(.layout--landing) .masthead .site-title {
    flex: 0 0 200px;
    width: 200px;
    max-width: 200px;
    padding: 0;
    margin: 0;
    text-align: center;
    justify-content: center;
  }
}

/* 本文中のリンク：通常・訪問済み・ホバー時 */
.page__content a,
.page__content a:visited {
  color: #79c9ff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.page__content a:hover,
.page__content a:focus {
  color: #b4e3ff !important;
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}