@charset "UTF-8";
/*
 * エキスパートページ用スタイル
 */
.navbar-main-list-link {
  padding: 10px 10px 10px 22px;
  background: #f4edd0;
}
.navbar-main-list-link::before {
  text-indent: -1em;
  color: #666;
}
.navbar-main-list-link:hover {
  background: #dbd4b4;
}

.fade-in-animation {
  animation: 0.8s fade-in;
}

/* ------------------------------
　　エキスパート
------------------------------ */
/* 詳細ページ */
.p-expert {
  max-width: 672px;
  margin: 3rem 20px 0;
}

.p-expert__footer {
  margin-top: 3rem;
  border-top: 4px solid #efefef;
  padding-top: 8px;
}

@media screen and (min-width: 768px) {
  .p-expert {
    margin: 5rem auto;
  }
  .p-expert__footer {
    margin-top: 5rem;
    padding-top: 16px;
  }
}
.p-expert-meta__title {
  margin: 0;
  text-align: center;
}

.p-expert-meta__profile {
  margin-top: 40px;
  text-align: center;
}

.p-expert-meta__profile-image img {
  display: inline-block;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.p-expert-meta__profile-name {
  margin: 0;
  font-size: 16px;
}
.p-expert-meta__profile-name small {
  font-size: 14px;
}

.p-expert-meta__profile-url {
  margin: 4px 0 0;
}
.p-expert-meta__profile-url a {
  text-decoration: underline;
}
.p-expert-meta__profile-url a,
.p-expert-meta__profile-url a:link,
.p-expert-meta__profile-url a:hover,
.p-expert-meta__profile-url a:active,
.p-expert-meta__profile-url a:visited {
  color: #333;
}
.p-expert-meta__profile-url a:hover {
  text-decoration: none;
}

.p-expert-meta__profile-occupation {
  margin-top: 8px;
  font-size: 12px;
}

.p-expert-meta__profile-links {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
}
.p-expert-meta__profile-links a {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-expert-meta__profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    text-align: left;
  }
  .p-expert-meta__profile-image img {
    width: 200px;
    height: 200px;
  }
  .p-expert-meta__profile-name {
    font-size: 20px;
  }
  .p-expert-meta__profile-name small {
    font-size: 18px;
  }
  .p-expert-meta__profile-links {
    justify-content: flex-start;
  }
}
.p-expert-profile {
  margin: 40px 0 24px;
  padding: 16px 20px;
  background: #f7f7f7;
}

@media screen and (min-width: 768px) {
  .p-expert-profile {
    padding: 24px 32px;
  }
}
.p-expert-body h2:not(:first-child),
.p-expert-body h3:not(:first-child),
.p-expert-body h4:not(:first-child),
.p-expert-body h5:not(:first-child) {
  margin-top: 3em;
}
.p-expert-body p,
.p-expert-body ul,
.p-expert-body ol {
  margin-top: 0;
  margin-bottom: 2.5em;
}

/* エキスパート 所属先 */
.p-expert-company__info-logo {
  text-align: center;
}

.p-expert-company__name {
  margin: 0;
  font-size: 20px;
}
.p-expert-company__name a {
  text-decoration: underline;
}
.p-expert-company__name a,
.p-expert-company__name a:link,
.p-expert-company__name a:visited,
.p-expert-company__name a:active,
.p-expert-company__name a:hover {
  color: #333;
}
.p-expert-company__name a:hover {
  text-decoration: none;
}

.p-expert-company___amount {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 14px;
  font-weight: bold;
}
.p-expert-company___amount dd {
  margin-left: 0;
}

.p-expert-company__comment {
  line-height: 1.6;
  margin: 0.5rem 0 1.5rem;
}

@media screen and (min-width: 768px) {
  .p-expert-company__info {
    display: flex;
    align-items: center;
    gap: 24px;
  }
  .p-expert-company__comment {
    margin: 2rem 0 1.5rem;
  }
}
/* トップ ヘッダー */
.p-expert-main {
  display: grid;
  grid-template-rows: min-content min-content 1fr;
  grid-template-areas: 'title' 'image' 'caption';
  padding-top: 48px;
}

.p-expert-main__title {
  grid-area: title;
  line-height: 1;
  margin: 0;
  text-align: center;
}

.p-expert-main__caption {
  grid-area: caption;
  margin: 48px 0 0;
}

.p-expert-main__image {
  grid-area: image;
  margin: 24px 0 0;
  text-align: center;
}
.p-expert-main__image img {
  display: inline-block;
}

@media screen and (min-width: 768px) {
  .p-expert-main {
    display: grid;
    gap: 32px 40px;
    grid-template: 'title image' min-content 'caption image' 1fr / auto 366px;
    padding: 48px 0 36px;
    border-bottom: 4px solid #efefef;
  }
  .p-expert-main__title {
    padding-top: 36px;
    text-align: left;
  }
  .p-expert-main__image {
    margin: 0;
  }
  .p-expert-main__image {
    margin: 0;
  }
  .p-expert-main__image img,
  .p-expert-main__image picture {
    width: 100%;
    height: auto;
  }
}
/* エキスパート一覧 */
.p-expert-card-wrap {
  margin: 48px auto 0;
  border-top: 4px solid #efefef;
}

.p-expert-card {
  border-bottom: 4px solid #efefef;
}

.p-expert-card__link {
  display: block;
  padding: 32px 16px;
}
.p-expert-card__link,
.p-expert-card__link:link,
.p-expert-card__link:visited,
.p-expert-card__link:active,
.p-expert-card__link:hover {
  color: #333;
}
@media (hover: hover) {
  .p-expert-card__link:hover {
    background: #f7f7f7;
  }
}

.p-expert-card__info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.p-expert-card__thumbnail {
  overflow: hidden;
  width: 84px;
  height: 84px;
  border-radius: 50%;
}
.p-expert-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-expert-card__meta-name,
.p-expert-card__meta-company {
  margin: 0;
}

.p-expert-card__meta-name {
  font-size: 20px;
}
.p-expert-card__meta-name small {
  font-size: 16px;
}

.p-expert-card__meta-company {
  font-size: 14px;
  font-weight: bold;
  text-decoration: underline;
}

.p-expert-card__caption {
  margin-top: 1rem;
}

@media screen and (min-width: 768px) {
  .p-expert-card-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 32px;
    margin: 64px auto 0;
    border-top: none;
  }
  .p-expert-card {
    border-bottom: none;
  }
  .p-expert-card__link {
    min-height: 100%;
    padding: 20px;
  }
}
/* エキスパート情報（パートナー詳細） */
.p-expert-info {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 2px solid #f5f5f5;
}
.p-expert-info + .p-expert-info {
  margin-top: 32px;
}

.p-expert-info__thumbnail {
  flex: 0 0 auto;
  width: 90px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
}
.p-expert-info__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-expert-info__name {
  line-height: 1.5;
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.p-expert-info__occupation {
  line-height: 1.5;
  margin: 1px 0 0;
  font-size: 12px;
}

.p-expert-info__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  line-height: 1;
  margin: 8px 0 0;
  padding: 0;
  gap: 8px;
}
.p-expert-info__links a {
  display: block;
}

.p-expert-info__readmore {
  margin: 14px 0 0;
  font-weight: bold;
  font-size: 10px;
}
.p-expert-info__readmore a,
.p-expert-info__readmore a:link,
.p-expert-info__readmore a:hover,
.p-expert-info__readmore a:active,
.p-expert-info__readmore a:visited {
  display: inline-block;
  padding: 1px 8px 0;
  border: 1px solid currentcolor;
  border-radius: 15px;
  color: #333;
}

/* ------------------------------
　　タグ
------------------------------ */
.p-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 8px;
  border: 1px solid currentcolor;
  border-radius: 50px;
  background: white;
  font-size: 14px;
  font-weight: bold;
}
@media screen and (min-width: 768px) {
  .p-tag {
    padding: 8px 24px;
  }
}
.p-tag,
.p-tag:link,
.p-tag:hover,
.p-tag:active,
.p-tag:visited {
  color: #333;
  border: 1px solid currentcolor;
}
.p-tag:hover {
  background: #f5f5f5;
}

.p-tag__omit {
  line-height: 1;
}
.p-tag__omit img {
  vertical-align: bottom;
}

/* 小さなタグ */
.p-tag--tiny {
  display: inline-block;
  line-height: 1.75;
  margin: 0;
  padding: 2px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 15px;
  background: white;
  color: #333;
  font-size: 12px;
}

a.p-tag--tiny,
a.p-tag--tiny:link,
a.p-tag--tiny:hover,
a.p-tag--tiny:active,
a.p-tag--tiny:visited {
  color: #333;
  border: 1px solid #e2e2e2;
}
a.p-tag--tiny:hover {
  background: #f5f5f5;
}

/* タグ一覧 */
.p-tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
}
.p-tag-list.-flex-start {
  justify-content: flex-start;
}
.p-tag-list.-mt-mini {
  margin-top: 14px;
  line-height: 1;
}
.p-tag-list.-mt-small {
  margin-top: 24px;
}

/* 選択済みのタグ一覧 */
.p-tag-selected {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1em;
}

.p-tag-selected__heading {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
}

.p-tag-selected__list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

/* タグ一覧（表記のみ） */
.p-tag-display {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  list-style: none;
  padding-left: 0;
}

.p-tag-display__item {
  padding: 2px 10px;
  border: 1px solid #e2e2e2;
  border-radius: 15px;
  font-size: 12px;
}

/* ------------------------------
　　エキスパートページのベース
　　（www@acms の foundation/_base.scss 相当。共通ヘッダー・フッターに
　　　影響させないため、メイン領域だけにスコープしている）
------------------------------ */
.p-expert-page {
  background: #fff;
  color: #333;
  font-family:
    -apple-system, blinkmacsystemfont, 'Helvetica Neue', 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans',
    meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.7;
}
.p-expert-page a {
  color: #0051d3;
  text-decoration: none;
}
.p-expert-page a:hover,
.p-expert-page a:active,
.p-expert-page a:visited {
  text-decoration: none;
  border-bottom: 0;
}

@media screen and (min-width: 768px) {
  .p-expert-page {
    font-size: 16px;
  }
}
/* コンテナー（www@acms の foundation/_base.scss より） */
.c-wide-gutter-container {
  box-sizing: content-box;
  max-width: 1024px;
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
}

/* エントリータイトル（www@acms/css/www.css より） */
.p-expert-page .entryTitle a {
  transition: opacity 0.2s ease;
}

.p-expert-page .entryTitle a:link,
.p-expert-page .entryTitle a:visited,
.p-expert-page .entryTitle a:active {
  color: #333;
}

.p-expert-page .entryTitle a:hover {
  text-decoration: none;
  opacity: 0.7;
}

/* ------------------------------
　　themes/system/css/acms.css より必要分（アイコンフォント）
------------------------------ */
@font-face {
  font-family: acms-fonts;
  font-style: normal;
  font-weight: normal;
  src: url('/themes/system/fonts/acms-fonts.eot');
  src:
    url('/themes/system/fonts/acms-fonts.eot') format('embedded-opentype'),
    url('/themes/system/fonts/acms-fonts.ttf') format('truetype'),
    url('/themes/system/fonts/acms-fonts.woff') format('woff'),
    url('/themes/system/fonts/acms-fonts.svg') format('svg');
}
.p-expert-page [class*='acms-icon-'] {
  display: inline-block;
  font-family: acms-fonts;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  text-transform: none;
  text-decoration: inherit;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.p-expert-page .acms-icon-arrow-right::before {
  content: '\e977';
}

/* ------------------------------
　　本文ユニットの既定スタイル
　　acms2026（Tailwind）の Preflight で打ち消される見出し・リストの
　　ブラウザ既定値を、元テーマと同じ見え方になるよう本文エリアだけ戻す
------------------------------ */
.p-expert-body h2:not(:first-child),
.p-expert-body h3:not(:first-child),
.p-expert-body h4:not(:first-child),
.p-expert-body h5:not(:first-child) {
  margin-top: 3em;
}

.p-expert-body h2,
.p-expert-body h3,
.p-expert-body h4,
.p-expert-body h5 {
  margin-bottom: 0.5em;
}

.p-expert-body h2 {
  font-size: 1.5em;
  font-weight: bold;
}

.p-expert-body h3 {
  font-size: 1.17em;
  font-weight: bold;
}

.p-expert-body h4 {
  font-weight: bold;
}

.p-expert-body h5 {
  font-size: 0.83em;
  font-weight: bold;
}

.p-expert-body p,
.p-expert-body ul,
.p-expert-body ol {
  margin-top: 0;
  margin-bottom: 2.5em;
}

.p-expert-body ul {
  padding-left: 40px;
  list-style: disc;
}

.p-expert-body ol {
  padding-left: 40px;
  list-style: decimal;
}

.p-expert-body img {
  max-width: 100%;
  height: auto;
}

.column-iframe iframe {
  max-width: 100%;
}
