/*
Template: xeory_extension
Theme Name: サポデブ ver 1.0.20
Version: 1.0.20
Author: SUPPORTAS
Description: 

HISTORY
バグ修正 Forums 新着返信のアイコン表示修正（2025.04.12）
新規登録申請ページジャンプ設定（2025.07.16）
PHP８系バグ修正（2025.12.05）
*/

/* xl 1280px */
@media (min-width: 1280px) {
}
/* lg 1024px */
@media (min-width: 1024px) and (max-width: 1279.98px) {
}
/* md 768px */
@media (min-width: 768px) and (max-width: 1023.98px) {
}
/* sm 640px */
@media (min-width: 640px) and (max-width: 767.98px) {
}
@media (max-width: 639.98px) {
}

/* ----------- common ----------- */
html {
  margin-top: 0px !important;
}

body {
  font-family: 'Roboto', 'Zen Kaku Gothic New', sans-serif !important;
}

body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background-color: #181e29;
}
body::-webkit-scrollbar-thumb {
  background-color: #2894db;
}

.page-id-1654 .breadcrumb-area {
  display: none;
}

a:hover {
  text-decoration: none;
  opacity: 0.7;
}

body.color02 a {
  color: #23739e;
}

.color02 a.wp-block-file__button {
  padding: 8px 24px;
  color: #fff;
  background-color: #2894db;
}

#content.table {
  display: inherit;
}

.enlighter-default {
  font-size: 14px;
}

@media screen and (max-width: 1023.98px) {
  article.page .post-content {
    padding: 20px;
  }
}

/* ----------- header ----------- */

#header {
  height: 72px;
}

.header-bg {
  background-color: #2894db !important;
}

.header-front {
  background-color: initial !important;
}

#header #logo {
  height: 72px;
  line-height: 1em;
}

#header #logo img {
  width: 150px;
}

body.color02 #header a {
  height: 100%;
  display: flex;
  align-items: center;
}

#header .icon-menu.icon-mypage {
  border-color: transparent;
}

#header .icon-menu.icon-mypage i {
  font-size: 1.75em;
}

#header-right {
  height: 72px;
  display: flex;
  align-items: center;
}

#gnav-front {
  margin: 0 0 0 auto;
  float: right;
  text-align: right;
}

#gnav-front ul li {
  display: inline-block;
  position: relative;
}

#gnav-front ul li a {
  border: 2px solid #ffffff;
}

#gnav-front ul li a:hover {
  opacity: 0.7;
}

#gnav ul li {
  height: 72px;
}

#gnav ul li a {
  padding: 20px 12px;
}

body.color02 #gnav,
body.color02 #gnav ul li a {
  background-color: transparent;
}

.main-visual {
  width: 100%;
  background-image: linear-gradient(104deg, #2ea7e0 0%, #015d9d 100%);
  color: #fff;
}

.main-visual .inner {
  max-width: 840px;
  padding-top: 40px;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 64px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  clear: both;
}

.mv-category {
  margin-top: 48px;
  padding-left: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mv-category > li {
  width: 256px;
  height: 256px;
  padding: 20px;
  background-color: #fff;
  border-radius: 5px;
  color: #015d9d;
  position: relative;
}

.mv-category .head {
  display: flex;
}

.mv-category .head p {
  font-size: 140%;
  font-weight: bold;
  margin: 0;
  margin-left: 12px;
}

.mv-category svg {
  width: 32px;
  height: 32px;
  fill: #015d9d;
}

.mv-category .more-txt {
  margin: 0;
  position: absolute;
  right: 20px;
  bottom: 12px;
  text-align: right;
  font-size: 70%;
  color: #015d9d;
}

.mv-category .more-txt a {
  color: #015d9d;
}

.latest-topic {
  margin-top: 20px;
  font-size: 90%;
  padding-left: 0;
}

.latest-topic li {
  margin-top: 12px;
  padding-left: 1em;
  position: relative;
}

.latest-topic li::before {
  content: '\f0da';
  font-family: FontAwesome;
  position: absolute;
  left: 5px;
  top: 0;
}

.latest-topic li a {
  text-decoration: underline;
}

.inner {
  max-width: 800px;
  margin: 0 auto;
}

.top-news {
  margin-top: 60px;
}

.head-design01 {
  padding-left: 24px;
  font-size: 140%;
  font-weight: 600;
  position: relative;
}

.head-design01::before {
  content: '';
  width: 4px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #015d9d;
  border-radius: 5px;
}

.news-list01 {
  margin-top: 40px;
  padding: 0;
  /* padding: 20px; */
  border: 2px solid #ebeef0;
  background-color: #fff;
  border-radius: 2px;
}

.news-list01 li {
  padding: 20px;
  border-top: 2px solid #ebeef0;
}

.news-list01 li:first-of-type {
  border-top: none;
}

.news-list01 p {
  margin: 0;
  color: #4e4e4e;
}

.news-list01 a {
  text-decoration-color: #4e4e4e66;
  color: #4e4e4e;
}

.news-list01 time {
  font-size: 80%;
  color: #808080;
}

.news-list01 .auther {
  font-size: 80%;
  margin-left: 12px;
  color: #808080;
}

/* ----------- search box ----------- */

.search-box {
  width: 100%;
  height: 60px;
  position: relative;
}

.search-box #searchform {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  border-radius: 0;
}

.search-box #searchform input {
  width: calc(100% - 80px);
  height: 100%;
  padding-left: 50px;
  border-radius: 8px 0 0 8px;
  color: #4e4e4e;
  font-size: 1rem;
}

.search-box #searchform button {
  width: 120px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 100%;
  letter-spacing: 0.25em;
  background-color: #2ea7e0;
  color: #fff;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

.search-box #searchform button:hover {
  background-color: #6cacda;
}

.search-box svg,
.search-box i {
  width: 20px;
  height: 20px;
  z-index: 1;
  fill: #2ea7e0;
  display: block;
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.header-search {
  float: left;
  margin-left: 18px;
  margin-top: 16px;
  position: relative;
}

.header-search #searchform {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  border-radius: 0;
}

.header-search #searchform-header input {
  width: 420px;
  height: 40px;
  padding-left: 50px;
  border-radius: 6px 0 0 6px;
  color: #4e4e4e;
  font-size: 0.8rem;
  border: #ffffff;
}

.header-search #searchform-header button {
  width: 100px;
  height: 40px;
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  line-height: 0px;
  background-color: #dddddd;
  color: #444444;
  border-radius: 0 6px 6px 0;
  position: absolute;
}

/* sm	640px	@media (min-width: 640px) { ... }
md	768px	@media (min-width: 768px) { ... }
lg	1024px	@media (min-width: 1024px) { ... }
xl	1280px	@media (min-width: 1280px) { ... }
2xl	1536px	@media (min-width: 1536px) { ... } */

/* xl 1280px */
@media (min-width: 1280px) {
  .header-search #searchform-header input {
    width: 220px;
  }

  .header-search #searchform-header button {
    width: 80px;
  }
}
/* lg 1024px */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  .header-search #searchform-header input {
    width: 220px;
  }

  .header-search #searchform-header button {
    width: 80px;
  }
}
/* md 768px */
/* @media (min-width: 768px) and (max-width: 1023.98px) {
  .header-search #searchform-header input {
    width: 17vw;
  }

  .header-search #searchform-header button {
    width: 80px;
  }
} */
/* sm 640px */
@media (max-width: 1023.98px) {
  #header {
    height: initial !important;
  }

  .header-search {
    margin: 0px !important;
    width: 100%;
  }

  .header-search #searchform-header input {
    width: 100%;
    border-radius: 8px;
  }

  .header-search #searchform-header button {
    width: 80px;
    border-radius: 8px;
    border-top-left-radius: 0px;
    border-end-start-radius: 0px;
    top: 0px;
    right: 0px;
  }

  #gnav-front {
    display: block;
    width: 100%;
  }

  #gnav-front ul li {
    display: block;
  }

  #gnav-front ul li a {
    display: block;
  }
}

@media (max-width: 1023.98px) {
  .sp-hidden {
    display: none;
  }
}

.header-search #searchform-header button:hover {
  background-color: #e1e1e1;
}

.header-search svg,
.header-search i {
  width: 20px;
  height: 20px;
  z-index: 1;
  fill: #2ea7e0;
  display: block;
  position: absolute;
  top: 10px;
  left: 16px;
}

/* ----------- header ----------- */

.header-hidden {
  /* display: none; */
  position: fixed;
  transform: translateY(-72px);
  transition: 0.4s;
  width: 100vw !important;
  z-index: 1050;
  display: block !important;
}

.header-display {
  transform: translateY(0px);
}

ul.front-category {
  margin: 0px;
}

ul.front-category li {
  padding-left: 12px;
  position: relative;
}

ul.front-category li:before {
  content: '\f0da';
  font-family: FontAwesome;
  color: #808080;
  font-size: 0.8rem;
  vertical-align: middle;
  position: absolute;
  left: 0px;
  top: 2px;
}

.quick-access {
  border: #ffffff 2px solid;
  background-color: rgb(94, 167, 220);
}

.quick-access img {
  margin-bottom: 8px;
}

.quick-access a {
  color: #ffffff !important;
}

.front-main-buttons {
  border-bottom: 2px solid #dddddd;
  background-color: #ffffff;
}

.front-main-buttons a {
  padding: 20px;
  border-left: 2px solid #dddddd;
}

.front-main-buttons a:hover {
  background-color: #eeeeee;
}

.front-main-buttons a:nth-child(3n) {
  border-right: 2px solid #dddddd;
}

.front-main-buttons img {
  margin-right: 12px;
}

/* xl 1280px */
@media (min-width: 1280px) {
}
/* lg 1024px */
@media (min-width: 1024px) and (max-width: 1279.98px) {
}
/* md 768px */
@media (min-width: 768px) and (max-width: 1023.98px) {
}
/* sm 640px */
@media (min-width: 640px) and (max-width: 767.98px) {
}
@media (max-width: 639.98px) {
  .front-main-buttons .wrap {
    width: 100% !important;
    margin: 0px auto !important;
  }

  .front-main-buttons a {
    border-bottom: 2px solid #dddddd;
  }

  .front-main-buttons {
    border-bottom: none;
  }
  .wp-block-table .has-fixed-layout {
    table-layout: initial;
  }
}

.front-terms a {
  border-bottom: 1px solid #dddddd;
  display: block;
  padding: 16px;
}

footer a {
  color: #ffffff !important;
}

@media (max-width: 767.98px) {
  #gnav-ul li {
    margin-bottom: 12px;
  }
}

.front-terms a {
  padding-left: 24px;
  position: relative;
}

.front-terms a:before {
  content: '\f0da';
  font-family: FontAwesome;
  color: #808080;
  font-size: 0.8rem;
  vertical-align: middle;
  position: absolute;
  left: 8px;
  top: 18px;
}

/* ----------------information-------------- */

article.information {
  background: #fff;
  border: 1px #e5e5e5 solid;
}

/* ----------------release-------------- */

article.release {
  background: #fff;
  border: 1px #e5e5e5 solid;
}
article.release iframe {
  margin-bottom: 1em;
}
article.release .wp-block-file {
  margin-bottom: 1em;
}

/* --------------page nation-------------- */

body.color02 .pagination .current {
  background-color: #2894db !important;
}

.post-footer a {
  background-color: rgb(31, 41, 55) !important;
}

ul.post-footer-list a {
  font-size: 0.9rem;
  padding: 2px 12px;
  margin-right: 2px;
}

.cat-name span {
  border: 1px solid #2894db !important;
  color: #2894db !important;
}

.post-content h2 {
  background-color: rgb(31, 41, 55) !important;
}

.post-content h2 a {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/*-------------TIPS---------------*/

article.post .wp-block-image {
  margin-bottom: 2em;
}

ul.tips-list {
  margin: 0px;
  text-align: justify;
}

ul.tips-list li {
  padding-left: 12px;
  position: relative;
  list-style: none;
}

ul.tips-list li:before {
  content: '\f0da';
  font-family: FontAwesome;
  color: #808080;
  font-size: 0.8rem;
  vertical-align: middle;
  position: absolute;
  left: 0px;
  top: 2px;
}

h2 {
  display: flex;
  /* justify-content: space-between; */
  justify-content: left;
  align-items: center;
}

.cat-num {
  font-size: 16px;
}

/* ----------- tag list ----------- */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li a {
  padding: 4px 16px;
  display: block;
  border: 1px solid #ebeef0;
  border-radius: 50px;
  color: #4e4e4e;
}

.tag-list li.d-none {
  display: none;
}

.tag-list li span {
  color: #c3c6c7;
}

.tag-list + .tag-more-btn {
  margin-left: auto;
  display: block;
  text-align: right;
}

.side-wedget-area .tag-list {
  margin-top: 16px;
}

.side-widget-area .tag-list li a {
  border: 1px solid #c3c6c7;
}

/* ----------------forum-------------- */

article.forum {
  background: #fff;
  border: 1px #e5e5e5 solid;
}

article.topic {
  background: #fff;
  border: 1px #e5e5e5 solid;
}

.bbp-breadcrumb,
.bbp-search-form {
  display: none;
}

/* .forum-header {
  border-bottom: none !important;
} */

.bbp-header {
  padding: 12px !important;
}

#bbpress-forums {
  margin-bottom: 0px !important;
}

#bbpress-forums ul.bbp-forums {
  margin-bottom: 0px !important;
  border: none !important;
  font-size: 1rem !important;
}

#bbpress-forums blockquote {
  clear: none;
}

.bbp-forum-content {
  font-size: 0.9rem !important;
  line-height: 1.2rem !important;
  margin: 16px 0 !important;
}

.bbp-forum-status-open {
  padding: 24px !important;
}

.bbp-forum-title {
  font-size: 1.1rem !important;
  font-weight: bold !important;
}

.forum-content {
  padding: 30px 64px 10px;
}

body form .bbp-the-content-wrapper .mce-container-body button {
  background-color: inherit;
  color: inherit;
}

/* xl 1280px */
@media (min-width: 1280px) {
}
/* lg 1024px */
@media (min-width: 1024px) and (max-width: 1279.98px) {
}
/* md 768px */
@media (min-width: 768px) and (max-width: 1023.98px) {
}
/* sm 640px */
@media (min-width: 640px) and (max-width: 767.98px) {
  .forum-content {
    padding: 0px 0px 0px;
  }
}
@media (max-width: 639.98px) {
  .forum-content {
    padding: 0px 0px 0px;
  }
}

.forum-content div,
p,
li,
ul,
ol span {
  font-size: 1rem !important;
  line-height: 1.6rem !important;
}

.forum-content a {
  line-height: 1.6rem !important;
  font-weight: bold !important;
}

span.bbp-admin-links a {
  font-size: 0.9rem !important;
}

/*--------------humberger------------*/

.hum-btn {
  display: block;
  position: absolute;
  right: 28px;
  top: 28px;
  cursor: pointer;
}

.sp-nav-area {
  position: fixed;
  width: 100vw;
  background-color: #2894db !important;
  z-index: 1200;
  padding: 16px;
  height: 480px;
}

.sp-nav-area a {
  color: #ffffff !important;
  text-align: left;
}

.sp-nav-hidden {
  /* display: none; */
  position: fixed;
  transform: translateY(-480px);
  transition: 0.4s;
  width: 100vw !important;
  z-index: 1050;
  display: block !important;
}

.sp-nav-display {
  transform: translateY(0px);
}

/*-----------side widget----------*/
h2.side-title {
  background-color: initial !important;
  padding: 0px 16px !important;
  margin-bottom: 12px !important;
  border-left: #015d9d 4px solid !important;
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  font-size: 1.2rem !important;
}

.main-inner article {
  background: #fff;
  border: 1px #e5e5e5 solid;
}

/* ----------- forum search box ----------- */

#bbp-search-form {
  width: 100%;
  height: 100%;
  border: none;
  background-color: transparent;
  border-radius: 0;
}

#bbp-search-form input {
  width: calc(100% - 80px);
  height: 40px !important;
  padding-left: 12px;
  border-radius: 8px 0 0 8px;
  color: #4e4e4e;
  font-size: 1rem;
}

#bbp-search-form button {
  width: 120px;
  height: 40px !important;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 100%;
  letter-spacing: 0.25em;
  background-color: #dddddd !important;
  color: #333 !important;
  font-weight: 500;
  border-radius: 0 8px 8px 0;
}

#bbp-search-form button:hover {
  background-color: #6cacda;
}

/* ----------- login/signup page ----------- */

.login-page {
  width: 100%;
  height: 100vh;
  min-height: 800px;
  display: flex;
}
.login-page .login-wrap {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-page .login-box {
  width: 480px;
  max-width: 90%;
  height: auto;
  padding: 40px 60px;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0px 0px 16px rgba(206, 219, 224, 0.4);
  text-align: center;
}
.login-page .login-box #logo a {
  width: 65%;
  height: auto;
  display: inline-block;
  text-align: center;
}
.login-page .login-box #logo img {
  display: inline-block;
}
#wpmem_login {
  width: 100%;
}
#wpmem_login fieldset,
#wpmem_reg fieldset {
  margin-bottom: 0;
}
#wpmem_login legend,
#wpmem_reg legend {
  display: none;
}
#wpmem_login label,
#wpmem_reg label {
  display: block;
  text-align: left;
  color: #666;
  /* font-weight: bold; */
}
#wpmem_login .div_text,
#wpmem_reg .div_text {
  margin-top: 5px;
}
#wpmem_login input[type='text'],
#wpmem_login input[type='emeil'],
#wpmem_login input[type='password'],
#wpmem_reg input[type='text'],
#wpmem_reg input[type='email'],
#wpmem_reg input[type='password'] {
  width: 100%;
  height: auto;
  margin-top: 5px;
  padding: 8px 12px;
  /* border-radius: 4px; */
  border: 1px solid #ddd;
  font-size: 14px;
  color: #444;
  /* background-color: #f6f6f6; */
  /* font-weight: bold; */
  letter-spacing: 0.025em;
}
#wpmem_login input[type='text']:focus,
#wpmem_login input[type='emeil']:focus,
#wpmem_login input[type='password']:focus,
#wpmem_reg input[type='text']:focus,
#wpmem_reg input[type='email']:focus,
#wpmem_reg input[type='password']:focus {
  border: 1px solid #2894db;
}
#wpmem_login .button_div,
#wpmem_reg .button_div {
  text-align: center;
}
#wpmem_login .button_div label,
#wpmem_reg .button_div label {
  display: inline-block;
}
#wpmem_login .button_div input[type='submit'],
#wpmem_reg .button_div input[type='submit'] {
  width: 100%;
  /* max-width: 260px; */
  height: 55px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border-radius: 2px;
  border: none;
  color: #fff;
  font-weight: 400;
  background: #2894db;
  font-size: 18px;
}
#wpmem_login .link-text {
  margin-top: 16px;
  text-align: center;
}
#wpmem_login .link-text a {
  display: block;
  color: #2894db;
}
.login-input .signup-text {
  margin-top: 16px;
}
.login-input .signup-text a {
  color: #2894db;
}
.login-page .message-wrap {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(104deg, #2ea7e0 0%, #015d9d 100%);
  color: #fff;
}
.login-page .message-wrap .content {
  max-width: 80%;
}
.login-page .message-wrap .catch {
  margin-bottom: 48px;
  font-size: min(56px, 2.4vw) !important;
  font-weight: bold;
}
.login-page .message-wrap .catch-sub {
  margin-bottom: 32px;
  font-size: 24px !important;
  font-weight: bold;
}
header#header {
  display: none !important;
}
.logged-in header#header {
  display: block !important;
}
.breadcrumb-area {
  display: none;
}
.logged-in .breadcrumb-area {
  display: block;
}
/* #wpadminbar {
  display: none;
} */
/* .logged-in #wpadminbar {
  display: block;
} */
footer {
  display: none;
}
.logged-in footer {
  display: block;
}
.signup .main-inner {
  margin-right: 0;
}
.signup .main-inner header {
  padding: 0px;
  margin-bottom: 0;
  display: block;
  border: none;
}
.signup .main-inner header .post-title {
  font-size: 24px;
  font-weight: normal;
  color: #2894db;
}
.signup .main-inner article.page {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 60px;
  background-color: #fff;
  border-radius: 16px;
  border: none;
  box-shadow: 0px 0px 16px rgba(206, 219, 224, 0.4);
  text-align: center;
}
.signup .main-inner article.page .post-content {
  padding: 0;
}
#wpmem_reg {
  width: 100%;
  text-align: center;
}
#wpmem_reg .req {
  color: #db2849;
}
.signup .post-share {
  display: none;
}
.wpmem_msg {
  width: 100%;
  padding: 16px;
  border: 1px solid #db2849;
  background-color: #fff2f5;
  color: #db2849;
  font-size: 14px;
}

@media screen and (max-width: 1023.98px) {
  .login-page {
    height: auto;
    padding-top: 40px;
    flex-direction: column;
  }
  .login-page .login-wrap {
    width: 100%;
  }
  .login-page .login-box {
    width: 100%;
    padding: 32px 6%;
  }
  .login-page .message-wrap {
    width: 100%;
    padding: 40px 16px;
    display: none;
  }
  .login-page .message-wrap .content {
    max-width: 100%;
  }
  .login-page .message-wrap .catch {
    font-size: min(24px, 5.6vw) !important;
  }
  .signup .main-inner article.page {
    padding: 32px 6%;
    background-color: #fff;
    border-radius: 16px;
    border: none;
    box-shadow: 0px 0px 16px rgba(206, 219, 224, 0.4);
    text-align: center;
  }
  #wpmem_reg fieldset {
    margin-top: 16px;
  }
  header#header.header-front {
    display: none !important;
  }
  /* .logged-in #wpadminbar {
    display: none;
  } */
}

/* ----------- Mypage ----------- */

#wpmem-mypage ul {
  padding: 0px;
  margin: 0px;
}

#wpmem-mypage ul li {
  list-style: none;
  margin-bottom: 8px;
}

#wpmem-mypage ul li a::before {
  content: '\f303';
  /* Font Awesome check icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
}

/* #wpmem-mypage ul li a {
    text-decoration: underline;
  } */

#wpmem-mypage .user_login {
  width: 150px;
  text-align: center;
  font-weight: bold;
  margin-top: 4px;
  margin-bottom: 16px;
}

#wpmem-mypage .go-back-mypage {
  margin-top: 16px;
}

#wpmem-mypage .go-back-mypage a::before {
  content: '\f060';
  /* Font Awesome arrow-left icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
}

#wpmem-mypage .user-logout {
  margin-top: 24px;
}

#wpmem-mypage .user-logout a::before {
  content: '\f2f5';
  /* Font Awesome sign-out icon */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 8px;
}

#wpmem-mypage .div_image {
  text-align: left;
}

#wpmem-mypage .div_image img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

#wpmem_prof_img {
  margin-top: 8px;
}

.req-text {
  display: none;
}

/* ----------- Avatar ----------- */

.avatar-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

/* -------BBPRESS---------*/

#bbpress-forums p.bbp-topic-meta img.avatar {
  max-width: 80px !important;
  max-height: 80px !important;
}

#bbpress-forums p.bbp-topic-meta img {
  max-width: 80px !important;
  max-height: 80px !important;
}

a.bbp-forum-title::before {
  content: '\f044'; /* pen */
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  margin-right: 4px;
}

a.bbp-topic-permalink::before {
  content: '\f15b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 4px;
}

a.bbp-topic-permalink {
  font-weight: bold;
}

.bbp-topic-title {
  padding-left: 12px;
}

li.bbp-forum-freshness {
  text-align: left;
}

li.bbp-forum-topic-count span::before {
  content: '\f15b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 0px;
}

li.bbp-forum-reply-count span::before {
  content: '\f075';
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 0px;
}

li.bbp-topic-voice-count span::before {
  content: '\f15b'; /*ファイル*/
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 4px;
}

li.bbp-topic-reply-count span::before {
  content: '\f075'; /*吹き出し*/
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 4px;
}

li.bbp-topic-freshness {
  text-align: left;
}

.bbp-topic-meta {
  font-size: 0.9rem !important;
}

span.bbp-forum-date::before {
  content: '\f133'; /*カレンダー*/
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 2px;
}

h1.entry-title {
  font-size: 1.4rem !important;
  margin-bottom: 1.4rem;
}

h1.entry-title::before {
  content: '\f15b';
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  margin-right: 8px;
}

.bbp-pagination-count {
  font-size: 0.9rem;
}

.bbp-form legend {
  font-size: 0.9rem;
}

.bbp-topic-started-by {
  font-size: 0.9rem;
}

.bbp-reply-author {
  font-size: 0.9rem;
}

.bbp-reply-author img {
  margin: 0 auto;
}

body.buddypress .buddypress-wrap h2 {
  padding: 10px 20px 10px 10px !important;
}

#buddypress div#item-header-cover-image h2 {
  color: #fff !important;
}

#bbpress-forums li.bbp-header,
li.bbp-footer {
  background: #36373c !important;
}

li.bbp-header,
li.bbp-footer {
  color: #ffffff !important;
}

#bbpress-forums li.bbp-footer,
#bbpress-forums li.bbp-header {
  border-top: initial !important;
}

#bbpress-forums .widget_display_replies img.avatar,
#bbpress-forums .widget_display_topics img.avatar,
#bbpress-forums div.bbp-template-notice img.avatar,
#bbpress-forums p.bbp-topic-meta img.avatar,
#bbpress-forums ul.bbp-reply-revision-log img.avatar,
#bbpress-forums ul.bbp-topic-revision-log img.avatar {
  border: 1px solid #ddd !important;
}

.bbp-topics {
  border-bottom: 1px solid #ccc !important;
}

.bbp-body,
.bbp-footer {
  border-left: 1px solid #ccc !important;
  border-right: 1px solid #ccc !important;
}

#bbpress-forums li.bbp-body ul.forum {
  border-top: none !important;
  border-bottom: 1px solid #ccc !important;
  border-left: none !important;
  border-right: none !important;
}

#bbpress-forums li.bbp-body ul.topic {
  border-top: none !important;
  border-bottom: 1px solid #ccc !important;
  border-left: none !important;
  border-right: none !important;
}

article.forum {
  border: none !important;
}

#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results {
  border: none !important;
  border-bottom: 1px solid #ccc !important;
}

#bbpress-forums ul.bbp-forums {
  border: none !important;
}

#bbpress-forums ul.bbp-topics {
  border: none !important;
}

.bbp-header .bbp-reply-author,
.bbp-footer .bbp-reply-author {
  text-align: left !important;
  font-size: 1rem !important;
}

.bbp-reply-header {
  border-bottom: 1px solid #eee !important;
}

.reply a:before {
  font-size: 1rem !important;
  color: #2294d9 !important;
}

.bbp_dropdown {
  border: 1px solid #ddd !important;
  padding: 0px !important;
}

body.color02 article.post,
body.color02 article.page {
  border: 1px #e5e5e5 solid !important;
}

/* .main-inner article {
  border: none !important;
} */

.bbp-author-role {
  display: none !important;
}

.reply a:before {
  display: none !important;
}

.bbp-topics ul.sticky {
  background-color: initial !important;
}

.bbp-reply-revision-log {
  display: none !important;
}

#gnav-front ul li a.mypage-icon {
  border: none !important;
}

#favorite-toggle::before {
  content: '\f005'; /* FontAwesomeのstarアイコンのUnicode */
  font-family: 'FontAwesome'; /* FontAwesomeフォントを指定 */
  display: inline-block; /* アイコンをインライン要素として表示 */
  color: #23739e; /* アイコンの色を青色に設定 */
  margin-right: 2px;
}

#subscription-toggle span::before {
  content: '\f1ea'; /* FontAwesomeのstarアイコンのUnicode */
  font-family: 'FontAwesome'; /* FontAwesomeフォントを指定 */
  display: inline-block; /* アイコンをインライン要素として表示 */
  color: #23739e; /* アイコンの色を青色に設定 */
  margin-left: 4px;
  margin-right: 4px;
}

body.topic-template-default #bbpress-forums .bbp-replies .bbp-body {
  border-left: none !important;
  border-right: none !important;
}

body.topic-template-default .bbp-replies .loop-item-0 {
  /* background-color: #fffded !important; */
  margin-bottom: 40px !important;
  border-bottom: 1px solid #c6c6c6 !important;
  border-left: 1px solid #c6c6c6 !important;
  border-right: 1px solid #c6c6c6 !important;
}

body.topic-template-default
  .bbp-replies
  .bbp-body
  .bbp-reply-header:first-child {
  /* background-color: #fffbdb !important; */
  font-weight: bold !important;
  border-left: 1px solid #c6c6c6 !important;
  border-right: 1px solid #c6c6c6 !important;
  border-bottom: 1px solid #c6c6c6 !important;
}

body.topic-template-default
  .bbp-replies
  .bbp-body
  .bbp-reply-author:first-child {
  font-weight: bold !important;
}

body.topic-template-default .bbp-body .type-reply:nth-child(n + 2) {
  padding-left: 16px !important;
  font-weight: normal !important;
  border-left: 3px solid #dadada !important;
  border-right: 1px solid #dadada !important;
}

body.topic-template-default
  .bbp-replies
  .bbp-body
  .bbp-reply-header:nth-child(n + 2) {
  padding-left: 16px !important;
  font-weight: normal !important;
  border-left: 8px solid #bdbdbd !important;
  border-right: 1px solid #dadada !important;
  border-bottom: 1px solid #dadada !important;
}

li.bbp-footer {
  display: none;
}

div.bbp-reply-header:first-of-type {
  border-top: none !important;
}

#wpadminbar {
  position: fixed !important;
}

.reply-list img {
  display: inline;
  margin-right: 2px;
}

/* ----------- FAQ block ----------- */
.faq-list {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #0e2f921a;
}

.faq-list .question {
  padding-right: 40px;
  position: relative;
  cursor: pointer;
  line-height: 1.5em;
  font-weight: bold;
}

.faq-list:first-child .answer {
  display: block;
}

.faq-list .question .flexbox {
  display: flex;
  align-items: center;
}

.faq-list .question .icon {
  margin-right: 20px;
}

.faq-list .icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: flex-start;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #0e2f92;
  color: #fff;
  font-weight: bold;
  font-size: 120%;
}

.faq-wrap .plus-toggle {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.faq-wrap .plus-toggle::before,
.faq-wrap .plus-toggle::after {
  content: '';
  width: 100%;
  height: 3px;
  border-radius: 4px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #0e2f92;
  transition: transform 0.4s;
}

.faq-wrap .plus-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-wrap.open .plus-toggle::after {
  transform: translate(-50%, -50%) rotate(180deg);
}

.faq-list .answer {
  /* min-height: 40px; */
  margin-top: 20px;
  padding-left: 60px;
  padding-right: 40px;
  display: none;
  position: relative;
  line-height: 1.75em;
}

.faq-list .answer .flexbox {
  min-height: 40px;
}

.faq-list .answer .icon {
  position: absolute;
  top: 0px;
  left: 0;
  border: 2px solid #0e2f92;
  background-color: #fff;
  color: #0e2f92;
}

.faq-list .answer p {
  margin-bottom: 0;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.faq-list .answer .note {
  color: #a4a4a4;
}

.faq-list .answer a {
  text-decoration: underline;
  color: #00f;
}

.wp-block-lazyblock-faq.faq-list {
  margin-top: 24px;
  padding: 0px;
  border: 2px solid rgba(14, 47, 146, 0.1);
  border-radius: 10px;
}
.wp-block-lazyblock-faq.faq-list .question {
  padding: 16px;
  padding-right: 48px;
  background-color: rgba(14, 47, 146, 0.1);
  border-radius: 8px;
}
.wp-block-lazyblock-faq.faq-list.open .question {
  border-radius: 8px 8px 0 0;
}
.wp-block-lazyblock-faq.faq-list .plus-toggle {
  right: 20px;
}
.wp-block-lazyblock-faq.faq-list .answer {
  margin-top: 0;
  padding: 16px 40px;
  text-align: justify;
}

.wp-block-table td {
  vertical-align: top !important;
}

.wp-block-lazyblock-links-list .links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 2px solid #e9eef1;
}

.wp-block-lazyblock-links-list .links-list__item {
  margin: 0;
}

.wp-block-lazyblock-links-list .links-list__item a {
  padding: 16px 40px 16px 20px;
  position: relative;
  display: block;
  background-color: #fff;
  border-top: 1px solid #e9eef1;
  text-decoration: none;
  color: #4e4e4e;
}

.wp-block-lazyblock-links-list .links-list__item a:hover {
  color: #2894db;
  background-color: #f8f9fb;
}

.wp-block-lazyblock-links-list .links-list__item:first-child a {
  border-top: none;
}

.wp-block-lazyblock-links-list .links-list__item > a:before {
  position: absolute;
  top: 50%;
  right: 20px;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0da';
  color: #2894db;
  font-size: 16px;
  transform: translate(0, -50%);
}
