/*!
Theme Name: BuddyX Child
Description: BuddyX Child ( This is a customized theme )
Template: buddyx
Version: 1.0.0
Text Domain: buddyx
*/
/* setting
================================== */
*, *:before, *:after {
  box-sizing: border-box;
}
html {
  font-size: 62.5%;/* 1rem = 10px */
}
@media print, screen and (min-width: 768px) {
  html {
    overflow: auto;
    min-width: 1000px;
  }
}
body {
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif, 'Yu Gothic', '游ゴシック', '游ゴシック体', YuGothic, Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
  font-feature-settings : "palt";
  color: #383737;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.7;
  -webkit-print-color-adjust: exact;/* baskground_print */
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;/* safari_textBold*/
  -webkit-text-size-adjust: 100%;/* safari_textBold*/
}
@media all and (-ms-high-contrast:none){
  body {font-family:'Noto Sans JP', sans-serif, Meiryo, 'ヒラギノ角ゴ Pro W3', メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;}
}
@media print, screen and (min-width: 768px) {
  body {
    font-size: 1.6rem;
    min-width: 1000px;
  }
}

/* リンク設定*/
a {
	color: #348dc5;
	transition: all 0.2s ease;
}
a:hover {
  color: #3aa9ef;
  text-decoration: underline;
}
a img {
  transition: all 0.2s ease;
}
a img:hover {
  opacity:.7;
}

/* フォームスタイルの完全初期化*/
input, button, textarea, select {
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  line-height: 1;
  font-family : inherit;
  font-size   : 100%;
}
@media screen and (max-width: 699px) {
input, button, textarea, select {
  max-width: 100%;
}
}/*@media*/

input[type="text"],
select {
  padding: 4px;
  line-height: 1.6;/*iOS*/
  height: 32px;
  vertical-align: top;
}

button,
input[type="submit"] {
 -webkit-appearance: none;
 border-radius: 0;
  background: #003680;
  color: #FFF;
  padding: 8px;
}

/*IE10以降のフォーム内の要素を非表示*/
input::-ms-clear {visibility:hidden}
input::-ms-reveal {visibility:hidden}

/* clearfix*/
.cf:after { content: ""; clear: both; display: block; }
.clear { clear: both;}

/* display none*/
.sp_none {
  display: none;
}
@media print, screen and (min-width: 768px) {
  .pc_none {
    display: none;
  }
  .sp_none {
    display: block;
  }
}

/*フォント設定*/
button, input, optgroup, select, textarea,
.main-navigation {
  font-family: 'Noto Sans JP', sans-serif, 'Yu Gothic', '游ゴシック', '游ゴシック体', YuGothic, Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
}
.site-title:hover, .site-title a:hover,
.main-navigation ul li.current-menu-item>a,
.main-navigation a:hover, .main-navigation ul li a:hover, .nav--toggle-small .menu-toggle:hover, .nav--toggle-sub li.menu-item-has-children:hover {
	color: #A62126;
	text-decoration: none;
}

/*不要なデザイン削除*/
.featured-media {
	display: none;
}

/*キーカラー変更*/
#breadcrumbs a, .buddyx-breadcrumbs a,
#subnav .current a,
#page nav#object-nav.vertical .selected>a,#page nav#object-nav.vertical a:hover,
#page .bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a,
#page .buddypress-wrap .bp-navs li:not(.current) a:hover{
	color: #A62126;
}
a.read-more.button, button[type=submit], input[type=button], input[type=reset], input[type=submit],.wp-block-button__link, .wp-element-button,.bp-single-vert-nav .bp-navs.vertical li span.count,
#page #buddypress input[type=submit],
#page form#bp-data-export button,
#page #buddypress a.button{
	background-color: #A62126;
}

/*トップページ*/
.home-page h2 {
	margin-bottom:32px;
	font-size:2.8rem;
	font-weight: bold;
}
.home-page h2 span,
.ttlDsign1 span {
	display: flex;
	align-items: center;
	color: #A62126;
	font-size: 1.8rem;
	text-transform: uppercase;
}
.home-page h2 span::after,
.ttlDsign1 span::after  {
	content: '';
	display: inline-block;
	margin-left: 8px;
	width: 40px;
	height: 1px;
	background-color: #A62126;
}
.home-page .wp-block-latest-posts__list {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.home-page .wp-block-latest-posts.wp-block-latest-posts__list > li {
	width:calc((100% - 40px) / 2);
    background: #FFF;
    padding: 16px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
	margin-bottom: 24px;
}
.home-page .wp-block-latest-posts.wp-block-latest-posts__list li:last-child {
	margin-bottom: 24px;
}
.home-page .wp-block-latest-posts.wp-block-latest-posts__list > li a {
	width:calc(100% - 100px - 1em);
}
.home-page .wp-block-latest-posts.wp-block-latest-posts__list > li:nth-child(2n) {
	margin-left:40px;
}
.home-page .wp-block-latest-posts__post-author,
.home-page .wp-block-latest-posts__post-date{
	margin-left:calc(1em + 100px);
}
@media print, screen and (max-width: 768px) {
	.home-page .wp-block-latest-posts__list {
		display: block;
	}
	.home-page .wp-block-latest-posts.wp-block-latest-posts__list > li {
		width:100%;
	}
	.home-page .wp-block-latest-posts.wp-block-latest-posts__list > li:nth-child(2n) {
		margin-left:0;
	}
}
.home-page ul,
.home-page .entry-content ul {
	margin:0;
}
.home-page .wp-block-latest-posts.wp-block-latest-posts__list li {
	overflow: hidden;
}
.home-page .is-layout-constrained {
	margin:24px 0;
}
.home-page .wp-block-latest-posts__post-title {
	display: inline-block;
	font-size: 1.8rem;
	margin-bottom: 8px;
}
.home-page .wp-block-latest-posts__featured-image img {
    border: 1px solid #e8e8e8;
}

/*共通*/
#page h1, h2, h3, h4, h5, h6,h1.page-title {
	font-family: 'Noto Sans JP', sans-serif, 'Yu Gothic', '游ゴシック', '游ゴシック体', YuGothic, Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
	font-weight: bold;
}
.wpp-list li {
	margin-bottom: 24px;
    border-left: 1px solid #A62126;
    padding-left: 16px;
}
.wpp-post-title {
	display:inline-block;
	margin-bottom:8px;
}
.wpp-meta, .post-stats {
	font-size: 1.4rem;
}
.site-wrapper {
	margin: 40px 0;
}
.site-header-wrapper {
	padding:0;
}
.main-navigation ul#primary-menu>li>a {
	position:relative;
}
.main-navigation ul#primary-menu>li>a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 3px;
    background: #A62126;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.main-navigation ul#primary-menu>li >a:hover::after,
.main-navigation ul#primary-menu>li.current_page_item >a::after,
.main-navigation ul#primary-menu>li.current-menu-item >a::after{
    transform: scale(1, 1);
}
.bp-user .main-navigation ul#primary-menu>li.current-menu-item.menu-item-37 >a {
	color:#111;
}
.bp-user .main-navigation ul#primary-menu>li.current-menu-item.menu-item-37 >a::after {
	transform: scale(0, 1);
}
.site-title a {
	font-size: 2.1rem;
	background: url(img/isclogo.svg) no-repeat 0 center;
    background-size: 44px;
    padding-left: 50px;
}
@media print, screen and (max-width: 768px) {
	.site-title a {
		font-size: 1.8rem!important;
		background-size: 32px;
	    padding-left: 36px;
	}
}
.main-navigation ul#primary-menu>li>a {
	font-weight: bold;
}
.sticky-sidebar h2 {
	font-size: 1.8rem;
	margin-bottom: 16px;
	color: #A62126;
}
.posted-by,
.entry-date {
	font-size: 1.6rem;
}
.wp-block-latest-posts__post-date,
.wp-block-latest-posts__post-author{
	font-size:1.4rem;
}
.buddyx-article--default .post-thumbnail img {
	width:100%;
	height: 300px;
	object-fit: cover;
}
.post-meta-category__item a,
#page .post-meta-category a {
	display: inline-block;
	background-color:#A62126;
	color: #FFF;
	padding: 2px 8px;
	border-radius: 2px;
	text-decoration:none;
}
a.read-more.button, button[type=submit], input[type=button], input[type=reset], input[type=submit],.wp-block-button__link, .wp-element-button {
	border: 1px solid #A62126;
}
.site-info {
	font-size:1.4rem;
}
#page .buddypress-wrap .bp-navs li.current a, .buddypress-wrap .bp-navs li.selected a {
	border-bottom: 1px solid #A62126;
}

#page #buddypress input[type=submit],
#page form#bp-data-export button,
#page #buddypress a.button {
	border:1px solid  #A62126;
}
#page #buddypress input[type=submit]:hover,
#page form#bp-data-export button:hover,
#page #buddypress a.button:hover{
	opacity:0.7;
}
.buddyx-article-col .entry-title {
	margin-bottom: 24px;
}
.list_dot > li {
  position: relative;
  width: 100%;
  padding-left: 20px;
}
.list_dot > li:not(:last-child) {
  margin-bottom: 8px;
}
.list_dot > li:before {
  position: absolute;
  top: 10px;
  left: 7px;
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 6px;
  border: 1px solid #A0A5B4;
  background: #FFF;
}
.footerLink {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	list-style: none;
	margin:0;
	padding:0;
}
.footerLink a {
	display:inline-block;
	margin-top:24px;
	padding: 0 16px;
	text-decoration: underline;
	font-size: 1.4rem;
}
.recaptcha {
	padding-bottom:24px;
	margin-bottom:0;
	font-size:1.2rem;
	text-align:center;
}
/*.grecaptcha-badge { visibility: hidden; }*/
.site-info {
	border:none;
	padding-top: 8px;
}
/* go topボタン */
#pageTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 9999;
}
#pageTop a {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  background : #707070;
  color: #fff;
  opacity: 0.7;
}
@media print, screen and (min-width: 768px) {
  #pageTop a {
    width: 50px;
    height: 50px;
  }
}
#pageTop a:hover {
  opacity: 0.7;
}
#pageTop a:active {
  opacity: 1;
}
#pageTop a:after {
  position: absolute;
  right: 14px;
  top: 40%;
  display: block;
  content:"";
  width: 8px;
  height: 8px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
@media print, screen and (min-width: 768px) {
  #pageTop a:after {
    right: 17px;
    width: 15px;
    height: 16px;
    border-top: 3px solid #FFF;
    border-right: 3px solid #FFF;
  }
}

/*共通パーツ*/
.ttlDesign1 {
	margin-bottom: 24px;
	font-size: 2.rem;
	font-weight: bold;
	color: #A62126;
	padding-left: 8px !important;
	border-left: 4px solid #A62126;
	line-height:1.2;
}
.fS {
	font-size:80%;
}


/*歴史等*/
.ctl-wrapper .ctl-vertical-wrapper:not(.ctl-compact-wrapper) .ctl-story .ctl-labels,
.cool_timeline-template-default .post-thumbnail{
	display:none!important;
}
.cool_timeline-template-default.single .entry-content img {
	max-width:600px;
	height:auto;
	margin:0 auto 25px auto;
	width:100%;
}
.cool_timeline-template-default.single .entry-content img.noresize {
	width: initial;
	max-width:100%;
}
.post-thumbnail img {
	max-width: 740px;
	height: 360px;
	object-fit: cover;

}
.comment-form textarea {
	border: 1px solid #e8e8e8;
}

/*メンバー*/
.syozoku {
	font-size:1.6rem;
}

/*ギャラリー*/
.galleryList {
	margin:0!important;
	padding:0;
	list-style:none;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.galleryList >li {
	width:calc((100% - 120px) / 3);
	margin-bottom:24px;
	margin-right:40px;
	padding:24px;
	background:#FFF;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
}
.galleryList >li:nth-child(3n) {
	margin-right:0;
}
@media print, screen and (max-width: 768px) {
	.galleryList {
		display: block;
	}
	.galleryList >li {
		width:100%;
		margin-bottom:24px;
		margin-right:0;
	}
}
.galleryList img {
	width:240px;
	height:160px;
	object-fit: cover;
	margin: 0 auto 8px;
}

/*社内資料*/
.entry-content ul.shiryo {
	list-style: none;
	margin:0;
	padding:0;
}
.shiryo {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}
.entry-content ul.wp-block-list.shiryo li {
	width: calc((100% - 144px) / 6);
	margin-right: 24px;
	text-align: center;
}
.entry-content ul.wp-block-list.shiryo li:not(:last-child) {
	margin-bottom:24px;
}
@media print, screen and (max-width: 768px) {
	.entry-content ul.wp-block-list.shiryo li {
		width: 100%;
		max-width: 140px;
		margin: 0 auto;
	}
}

fieldset {
  background:white;
  text-align:center;
}

  fieldset img {
    margin:0 auto;
  }

#wpmem_login input[type="text"],
#wpmen_login input#pwd[type="password"]{
  width:250px!important;
  padding:10px;
  border:solid 1px #333;
}

input[type="password"]{
    margin-bottom:1em;
    width:250px!important;
    border:solid 1px #333;
}

/*アンカーリンクのズレ調整*/
html {
  scroll-padding-top: 100px;
}

.mycred-balance {
	padding: 10px;
    background-color: #FFF;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    font-size: 120%;
}

/*ポイント制度*/
.mycred-top-points {
	padding: 0!important;
	max-width:500px;
	margin: 0 !important;
}
.mycred-top-points li {
	list-style:none;
	text-align:center;
	font-weight:bold;
	padding: 8px;
    color: #FFF;
}
.mycred-top-points li:nth-child(1) {
	font-size:150%;
	background-color:#CF4944;
}
.mycred-top-points li:nth-child(2) {
	font-size:130%;
	background-color:#DD823B;
}
.mycred-top-points li:nth-child(3) {
	font-size:110%;
	background-color:#CCAF0B
}
.mycred-top-points li:nth-child(4) {
	background-color:#779f02
}
.mycred-top-points li:nth-child(5) {
	background-color:#028f9f
}
.group-warning {
	padding: 16px;
    border: 1px solid #e8e8e8;
    background-color: #FFF;
}
.ttl-group-warning {
	margin-bottom: 10px;
    font-weight: bold;
    text-align: center;
	color:#A62126;
}
.activity-timestamp {
	margin: 0 15px;
}

.link-text-register {display:none;}

/*非ログイン時にサイドバーを非表示*/
body.logged-out aside.primary-sidebar {
    display: none !important;
}

/* 非ログインユーザーはサイドバー非表示 */
body.logged-out #secondary {
    display: none!importante;
}
body.logged-out .search {
    display: none;
}

/*トップページタイムライン表示*/
.bp-timeline-wrapper {
    margin: 20px 0;
}

.bp-timeline-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.bp-timeline-avatar {
    margin-right: 12px;
}

.bp-timeline-body {
    flex: 1;
}
.bp-timeline-header {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
}
.bp-timeline-user a {
    font-weight: bold;
    margin-right: 6px;
}
.bp-timeline-date {
    font-size: 12px;
    color: #888;
}
.bp-timeline-content {
    margin: 6px 0;
    line-height: 1.6;
}
.activity-plus-img-wrap img {
    max-width: 100%;
    border-radius: 6px;
    margin-top: 8px;
}
.bp-timeline-meta {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}
.home-page .bp-timeline-avatar img {
	border-radius: 50%!important;
}
.bpfb_images img {
	max-width:200px;
	height:auto;
}
.bp-timeline-wrapper { margin: 20px 0; }
.bp-timeline-item { display:flex; gap:12px; padding:12px 0; border-bottom:1px solid #eee; }
.bp-timeline-avatar img { border-radius:50%; }
.bp-timeline-body { flex:1; }
.bp-timeline-title { font-weight:600; margin-bottom:6px; }
.bp-timeline-header { color:#888; font-size:13px; margin-bottom:8px; }
.bp-timeline-content { margin-bottom:8px; }
.activity-plus-img-wrap img { max-width:100%; border-radius:6px; display:block; margin:8px 0; }
.bp-timeline-meta { display:flex; align-items:center; gap:12px; margin-top:6px; }
.bp-timeline-like { margin-left:8px; }
.bp-timeline-comments-list { margin-top:10px; padding-left: 12px; border-left:2px solid #f1f1f1; }
.bp-comment-item { margin-bottom:8px; font-size:14px; }
.bp-timeline-comment-form { margin-top:10px; }
.bp-comment-textarea {
    width: 100%;
    min-height: 30px;
    padding: 8px;
    margin-bottom: 6px;
    background: #FFF;
	border:1px solid #e8e8e8;
}
.bp-comment-submit.button { padding:6px 12px; }
.home-page .bp-timeline-comments-list ul {
	padding:0;
	list-style: none;
	font-size: 1.4rem;
}
.home-page .bp-timeline-comments-list .acomment-avatar {
	float:left;
}
.home-page .bp-timeline-comments-list .acomment-avatar img {
	margin-right: 16px;
	border-radius: 50%;
}
.home-page .bp-timeline-comments-list .acomment-content p {
	margin-bottom:8px;
	margin-left:66px;
}
.home-page .bp-timeline-comments-list .action {
	display:flex;
	margin-left:66px;
	margin-bottom:15px;
	font-size:1.3rem;
}
.home-page .bp-timeline-comments-list .action a {
	color:#939597;
	margin-right:1em;
}
.home-page .wpulike {
	display:flex!important;	
}
.home-page .wp_ulike_likers_wrapper {
	margin-left:8px;
}
.home-page .wp-ulike-likers-list .wp-ulike-liker:nth-child(n+11) {
	display:none;
}

/*ISCの歴史*/
.ctl-wrapper .ctl-title {
	font-size:1.8rem;
}
.ctl-wrapper .ctl-media img {
	max-width:240px!important;
	height:auto!important;
}
.ctl-pagination-top {
	padding-bottom: 40px;
}
a {
    word-wrap:anywhere;
}