/*
	▼基本の配色
　背景色： #f9f9f9
	メイン（濃い緑）： #4ebaba
	サブ（薄い緑）： #aceded
*/
body {
	border-top: solid 10px #4ebaba;
	border-bottom: solid 10px #4ebaba;
}
footer#colophon{
	border-top: dashed 1px rgba(0,0,0,0.15);
}

/* メインコンテンツ幅の設定を上書き */
@media only screen and (min-width: 782px) {
.responsive-max-width, .entry-content > .wp-block-button.aligncenter, hr.wp-block-separator.is-style-wide, .entry-content > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator):not(.wp-block-button):not(.entry-attachment), .entry-content > *:not(.wp-block-button), .entry-content [class*="inner-container"] > *:not(.alignwide):not(.alignfull):not(.alignleft):not(.alignright):not(.wp-block-separator), .entry-content .wp-audio-shortcode, .post-navigation, .pagination {
	max-width: 1006px;
}
}
/* 横幅いっぱい指定がメインコンテンツ幅の設定の影響を受けないよう調整 */
@media only screen and (min-width: 560px) {
.entry-content > .alignfull, .entry-content > .alignfull.wp-block-jetpack-gif, .entry-content > .alignfull.wp-block-jetpack-tiled-gallery, .singular .hentry .entry-header .entry-title:before, .singular .hentry .entry-header .entry-title:after, .page-title:before, .page-title:after {
	max-width: inherit!important;
}
}

/* 全体のフォントサイズ調整 */
@media only screen and (min-width: 560px) {
body {
	font-size: 0.9rem!important;
}
h2, .h2 {
	font-size: 1.6rem!important;
}
h3, .h3 {
	font-size: 1.4rem!important;
}
/* 固定ページ見出し */
h1.entry-title {
	font-size: 1.8rem!important;
	line-height: 1.25!important;
}
/* MV テキスト */
.home .entry-content .wp-block-cover__inner-container p strong {
	font-size: 1.1rem;
}
}

/* サイトタイトル位置の調整 */
@media only screen and (min-width: 560px) {
.site-header .site-title {
	align-self: self-start;
}
}
@media only screen and (min-width: 560px) {
.site-header .site-title + .site-description {
	margin-top: 10px;
}
}

/* グロナビのフキダシのデザイン調整 */
@media only screen and (min-width: 560px) {
.main-menu-container .sub-menu li a {
	font-weight: normal;
}
.main-menu-container .sub-menu li:first-child a {
	padding-top: 14px;
}
.main-menu-container .sub-menu li:last-child a {
	padding-bottom: 14px;
}
}

/* グロナビのフォントサイズの調整 */
@media only screen and (min-width: 560px) {
.main-navigation a {
	font-size: 0.8rem!important;
	font-weight: normal;
}
}

/* 検索入力のデザイン調整 */
.wp-block-search__inside-wrapper {
	height: 48px;
}
.wp-block-search__inside-wrapper .wp-block-search__button.has-icon {
	min-height: auto;
	min-width: auto;
	width: 48px;
}

/* 見出しのデザイン調整 */
h2, .h2 {
	border-left: solid 6px #4ebaba;
  padding-left: 12px;
}

/* トピックスの見出しのフォントサイズの調整 */
@media only screen and (min-width: 782px) {
.wpnbha article .entry-title {
	font-size: 1.4rem!important;
	line-height: 1.5!important;
}
.wpnbha article .entry-title+p,
.wpnbha article .entry-title+p+a {
	font-size: 0.86957rem;
}
}

/* 研究内容ページのギャラリー写真のホバーアニメーション追加 */
.wp-block-jetpack-tiled-gallery .tiled-gallery__item {
  overflow: hidden;
}
.wp-block-jetpack-tiled-gallery .tiled-gallery__item img {
  transition-duration: 0.5s;
}
.wp-block-jetpack-tiled-gallery .tiled-gallery__item img:hover {
  transform: scale(1.2);
  transition-duration: 0.5s;
}

/* 成果発表ページのリストの間隔調整 */
.original-papers-list li {
	position: relative;
	margin-bottom: 15px;
}
.original-papers-list li:last-child {
	margin-bottom: 0;
}
/* 成果発表ページのPDFアイコン追加 */
.pdf a::before {
	content: url("./wp-content/uploads/2021/11/icon_1r_24.png");
	display: inline-block;
	vertical-align: middle;
}

/* フッターウィジェットエリアのフォントサイズの調整 */
footer .wp-block-group__inner-container h3+p {
	font-size: 0.86957rem;
}
.footer-navigation .footer-menu a {
	font-weight: normal;
}

/* フッターのグロナビを横一列にする */
@media only screen and (min-width: 640px) {
.site-info {
	flex: auto;
}
footer #menu-primary-2 li a {
	font-size: 0.8rem!important;
}
}

/* 検索結果ページの見出しのフォントサイズを変更 */
@media only screen and (min-width: 560px) {
.search-results .entry-header .entry-title a {
	font-size: 1.52087rem;
}
}

/* 固定ページの吹き出し */
.wp-block-media-text__content .fukidashi {
	border-radius: 10px;
	padding: 1rem;
	background-color: #ddffff;
}
.wp-block-media-text__content .fukidashi.pink {
	background-color: #ffeeff;
}

/* SP版のMV幅の調整 */
@media only screen and (max-width: 559px) {
.wp-block-cover .wp-block-cover__inner-container, .wp-block-cover-image .wp-block-cover__inner-container {
	width: auto;
}
}