/* block.css */

/*----------------------------------
Title
------------------------------------*/
h2.wp-block-heading {
font-size: var(--font-h2);
color: var(--color2);
background: #F2F4F5;
padding: 8px 16px;
position: relative;
margin-bottom: 12px;
font-weight: bold;
line-height: 1.2em;
}
h2.wp-block-heading:not(:first-child),
h3.wp-block-heading:not(:first-child),
h4.wp-block-heading:not(:first-child),
h5.wp-block-heading:not(:first-child),
h6.wp-block-heading:not(:first-child) {
margin-top: 48px;
}

h3.wp-block-heading {
font-size: var(--font-h3);
color: var(--color2);
margin-bottom: 12px;
padding-bottom: 12px;
padding-left: 24px;
border-bottom: solid 1px #445479;
position: relative;
font-weight: bold;
}
h3.wp-block-heading::before {
content: "";
width: 16px;
height: 6px;
border-radius: 3px;
background: var(--color2);
position: absolute;
left: 0px;
top: 0.8em;
}

h4.wp-block-heading {
font-size: 18px;
margin-bottom: 12px;
padding-bottom: 12px;
border-bottom: solid 1px #445479;
font-weight: bold;
}

h5.wp-block-heading{
  font-size: 16px;
  font-weight: 700;
  padding-left: 14px;
  margin-bottom: 8px;
  line-height: 1.2;
  position: relative;
}
h5.wp-block-heading::before{
  position: absolute;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-text3_, #3D5999);
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

h6.wp-block-heading{
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.2;
}

/*----------------------------------
Block
------------------------------------*/
p:not(:last-child),
.wp-block-list:not(:last-child) {
margin-bottom: 15px;
}
.block-section {
font-size: 14px;
}
.block-section * {
line-height: 1.8em !important;
}

/*リストの制御*/
.wp-block-list {
padding-left: 1em;
margin-left: 1em;
}
/*ul.wp-block-list > li {
list-style-type: disc;
}
ol.wp-block-list > li {
list-style-type: decimal;
}*/

/*リンクリストの制御*/
.wp-block-list.link-list {
padding-left: 0px;
margin-left: 0px;
}
.wp-block-list.link-list li {
list-style-type: none;
}

.link-list li {
line-height: 2em;
}
.link-list a {
    font-size: var(--font-h5);
    margin-left: 1em;
    position: relative;
				color: #4768B2;
}
.link-list a::before {
    content: "";
    display: block;
    width: 7px;
    height: 8px;
				background: url(/wp-content/themes/ResearcherPlus/img/common/nav-arrow-b.svg) center center / contain no-repeat;
    position: absolute;
    top: 50%;
    margin-top: -3px;
				margin-left: 0px;
}

/*詳細テキスト*/
.wp-block-details {
  margin-bottom: 16px;
}
.wp-block-details summary{
  display: inline-block;
  list-style: none;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
  padding-left: 24px;
  transition: 0.2s;
}
.wp-block-details summary::-webkit-details-marker {
  display:none;
}
.wp-block-details summary::before{
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_arrow_l_b.svg);
  background-size: contain;
  vertical-align: middle;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}
.wp-block-details summary:hover{
  text-decoration: underline;
}
.wp-block-details summary:hover::before{
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_arrow_l_w.svg);
}
.wp-block-details[open] summary::before{
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_arrow_u_b.svg);
}
.wp-block-details[open] summary:hover::before{
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_arrow_u_w.svg);
}
.wp-block-details[open] p{
  margin-top: 8px;
  padding-left: 24px;
  line-height: 1.8;
}

/* 引用ブロックテスト */
.wp-block-quote{
  border-left: initial;
  padding: 0 12px 0 24px;
  margin: 0 0 12px;
  position: relative;
}
.wp-block-quote::before{
  position: absolute;
  content: "";
  width: 4px;
  height: 100%;
  background: var(--text-text-1, #343F5C);
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.wp-block-quote p{
  font-size: 14px;
  line-height: 1.8;
}

/* プルクオート */
.wp-block-pullquote{
  padding: 40px 20px 24px;
  border: 1px solid var(--line-line1, #D9D9D9);
  background: var(--bg-bg_, #F2F4F5);
  margin: 0 0 24px;
}
.wp-block-pullquote.has-text-align-left {
  text-align: left;
}
.wp-block-pullquote.has-text-align-center {
  text-align: center;
}
.wp-block-pullquote.has-text-align-right {
  text-align: right;
}
.wp-block-pullquote p{
  font-size: var(--font-size-h3, 20px);
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}
.wp-block-pullquote p::before{
  position: absolute;
  content: "";
  width: 16px;
  height: 16px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_pullquote.svg);
  background-size: contain;
  vertical-align: middle;
  left: 0;
  top: -24px;
}
.wp-block-pullquote cite{
  font-size: 14px;
  line-height: 1.8;
}

/* メディア DLボタン */
.wp-block-file{
  margin-bottom: 32px;
}
#content a.wp-block-file__button {
  background: #32373c;
  border: 1px solid #32373c;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  padding: 4px 16px 4px 36px;
  position: relative;
  transition: 0.2s;
  margin-left: 16px;
}
#content a.wp-block-file__button::before{
  position: absolute;
  content: "";
  width: 12px;
  height: 16px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_dl_w.svg);
  background-size: contain;
  background-repeat: no-repeat;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}
#content a.wp-block-file__button:hover{
  background: #fff;
  color: #32373c;
}
#content a.wp-block-file__button:hover::before{
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_dl_bk.svg);
}

/* ボタン */
.wp-block-group.is-nowrap.is-layout-flex.wp-block-group-is-layout-flex:has(.wp-block-button),
.wp-block-group.is-nowrap.is-layout-flex.wp-block-group-is-layout-flex:has(.wp-block-buttons){
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.wp-block-buttons {
  margin-bottom: 24px;
}
#content a.wp-block-button__link{
  background: #fff;
  border: 1px solid var(--btn, #4768B2);
  border-radius: 120px;
  text-decoration: none;
  padding: 16px 44px 16px 26px;
  font-size: var(--font-size-h4, 16px);
  font-weight: 700;
  line-height: 1.4;
  min-width: 160px;
  max-width: 360px;
  position: relative;
  transition: color .2s, border-color .2s;
  z-index: 0;
}
#content a.wp-block-button__link.has-text-align-left {
  text-align: left;
}

#content a.wp-block-button__link.has-text-align-center {
  text-align: center;
}

#content a.wp-block-button__link.has-text-align-right {
  text-align: right;
}
#content .has-small-font-size .wp-block-button__link{
  font-size: 12px !important;
}
#content .has-medium-font-size .wp-block-button__link{
  font-size: 16px !important;
}
#content .has-large-font-size .wp-block-button__link{
  font-size: 20px !important;
}
#content .has-x-large-font-size .wp-block-button__link{
  font-size: 24px !important;
}
#content a.wp-block-button__link::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 120px;
  background: var(--btn, linear-gradient(91deg, #4768B2 0.65%, #3D5999 100%));
  opacity: 1;
  transition: opacity .2s;
  z-index: -1;
}
#content a.wp-block-button__link:hover::before{
  opacity: 0;
}
#content a.wp-block-button__link:hover{
  color: #3D5999;
}
#content a.wp-block-button__link::after{
  position: absolute;
  content: "";
  width: 24px;
  height: 24px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_btnArrow_l_w.svg);
  background-size: contain;
  vertical-align: middle;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
  z-index: 1;
}
#content a.wp-block-button__link:hover{
  color: #3D5999;
  background: #fff;
}
#content a.wp-block-button__link:hover::after{
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_btnArrow_l_b.svg);
}

/* 横並び */
.is-layout-flex > p {
  margin-bottom: 15px;
}

/* 区切り線 */
.wp-block-separator{
  border-bottom: 1px solid #445479;
  margin: 24px auto;
}

/* アーカイブ カテゴリー一覧 */
.wp-block-archives,.wp-block-categories{
  margin-bottom: 24px;
}
#content .wp-block-archives li,
#content .wp-block-categories li{
  line-height: normal;
}
#content .wp-block-archives a,
#content .wp-block-categories a{
  font-size: var(--font-size-h5, 14px);
  padding-left: 14px;
  position: relative;
}
#content .wp-block-categories a{
  color: var(--text-text4_, #4768B2);
}
#content .wp-block-archives a::before,
#content .wp-block-categories a::before{
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_archiveArrow_l.svg);
  background-size: contain;
  vertical-align: middle;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  transition: 0.2s;
}
#content .wp-block-archives a:hover{
  color: rgba(51, 51, 51, 0.6);
  text-decoration: underline;
}
#content .wp-block-categories a:hover{
  color: rgba(71, 104, 178, 0.6);
}
#content .wp-block-archives a:hover::before,
#content .wp-block-categories a:hover::before{
  opacity: 1;
}

/* 日付・変更日 */
.wp-block-post-date{
  font-size: 14px;
  color: #888;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* 次の投稿 前の投稿 */
.post-navigation-link-next,.post-navigation-link-previous{
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.8;
}
.post-navigation-link-next a{
  position: relative;
  line-height: 1.8;
}
.post-navigation-link-next a::after{
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_themeArrow_l.svg);
  background-size: contain;
  vertical-align: middle;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}
.post-navigation-link-previous a{
  position: relative;
  padding-left: 14px;
}
.post-navigation-link-previous a::before{
  position: absolute;
  content: "";
  width: 10px;
  height: 10px;
  background-image: url(/wp-content/themes/ResearcherPlus/img/common/icons/icon_themeArrow_r.svg);
  background-size: contain;
  vertical-align: middle;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: 0.2s;
}
#content .post-navigation-link-next a:hover,
#content .post-navigation-link-previous a:hover{
  opacity: .6;
  text-decoration: underline;
}

/*----------------------------------
カスタムブロック
------------------------------------*/
.profile-card:not(:last-of-type) {
margin-bottom: 20px;
}
.profile-card .wp-block-columns {
  display: block;
		overflow: hidden;
}

.profile-card__image {
  width: 120px;
		float: left;
		margin-bottom: 8px !important;
}

.profile-card__image img {
  width: 100%;
}

.profile-card__upper,
.profile-card__lower {
width: calc(100% - 140px);
float: right;
}

.profile-card__upper {
margin-bottom: 16px !important;
}
.profile-card__upper p:first-child {
font-size: 14px;
font-weight: bold;
margin-bottom: 4px;
}
.profile-card__upper p:last-child {
font-size: 12px;
line-height: 1.6em;
}

.profile-card__lower {
font-size: 14px;
line-height: 1.8em;
}

strong {
font-weight: bold;
}

/* PC表示：2カラム横並び */
/*@media (min-width: 768px) {
  .profile-card .wp-block-columns {
    flex-direction: row;
  }

  .profile-card__upper {
    margin-bottom: 1em;
  }
}
*/

/*テーブル*/
.wp-block-table {
margin: auto;
}
.wp-block-table:not(:last-child) {
margin-bottom: 24px;
}
.wp-block-table thead {
border-bottom: none;
}
.wp-block-table thead th{
background: #EEF7FA;
font-weight: bold;
}
.wp-block-table td, .wp-block-table th {
border: solid 1px var(	--color4);
line-height: 1.8em;
padding: 8px 12px;
}

.wp-block-table tr:has(> *:nth-child(11)) th,
.wp-block-table tr:has(> *:nth-child(11)) td {
width: 100px;
}

/* 改ページのページネイション */
.page-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 40px 0 16px;
  gap: 6px;
}
.page-links a,
.page-links > span {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 3px;
  text-align: center;
  font-size: var(--font-h5);
  text-decoration: none !important;
  background-color: #F2F4F5;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.page-links a:hover {
  background-color: #D6D8D9;
  color: #fff;
}
.page-links .current {
  background-color: #D6D8D9;
  pointer-events: none;
}
.page-links a.prev,
.page-links a.next {
  background-color: var(--color1);
  background-image: url("/wp-content/themes/ResearcherPlus/img/common/arrow-1-w.svg");
  background-size: 27%;
  background-position: center;
  background-repeat: no-repeat;
  text-indent: 110%;
  white-space: nowrap;
  overflow: hidden;
  color: #fff;
}
.page-links a.prev {
  transform: scale(-1, 1);
}
.page-links a.prev,
.page-links a.next {
  font-weight: bold;
}

/* youtube X*/
.wp-block-embed.alignleft,
.wp-block-embed.aligncenter,
.wp-block-embed.alignright{
  width: 100%;
  max-width: 500px;
}
.wp-block-embed.alignleft{
  margin-left: 0;
  margin-right: auto;
}
.wp-block-embed.aligncenter{
  margin-left: auto;
  margin-right: auto;
}
.wp-block-embed.alignright{
  margin-left: auto;
  margin-right: 0;
}
.wp-block-embed__wrapper iframe{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}