:root {
  --main-color: #1da341;
}


html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.container {
  max-width: 960px;
}

.header {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  padding: 1rem;
}

.header-title {
  font-size: 14px;
  display: inline-block;
  font-weight: 600;
  margin-left: 20px;
}

.sub-title1 {
  color: var(--main-color) !important;
  font-size: 16px;
  font-weight: 800;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}
.sub-title2 {
  color: #B7B7B7 !important;
  font-size: 20px;
  font-weight: 800;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN","Hiragino Sans",sans-serif;
}
.sub-title3 {
  color: #666;
  font-size: 18px;
  margin-left: 5px;
  margin-right: 5px;
}

.flash-message-last {
  margin-bottom: 0;
}

.dropdown {
  display: inline-block;
}

.header-form {
  display: flex;
  align-items: center;
  /* margin-right: 60px; */
}


.bg-main {
  background-color: var(--main-color) !important;
}

.nav-box {
  padding: 0;
} 

.nav-content {
  border: 1px solid var(--main-color);
  padding: 0;
  flex-wrap: 1;
}

.navbar-nav {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
}

.nav-block {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}

.nav-item {
  color: #f8f9fa;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  font-size: 0.9rem;
}
.nav-item:hover {
  background: #198a37;
  color: #fff;
  text-decoration: none;
}
.nav-box .active {
  color: var(--main-color);
  background: #fff;
}

.nav-item a {
  font-size: 1rem;
}

.nav-item-search {
  display: none;
}

.nav-item-form {
  display: flex;
  flex-grow: 1;
  height: 40px;
}

.nav-divide {
  width: 1px;
  height: 38px;
  background: #bbbfca;
  margin: 0;
}
.nav-divide-first {
  display: none;
}

.pricing-header {
  max-width: 700px;
}

.card-deck .card {
  min-width: 220px;
}

.language-select {
  width: 120px;
  height: 50px;
  display: inline-block;
}

.logo {
    padding-left: 20px;
    height: 50px;
}

.menu-block {
  display: flex;
  justify-content: flex-start;
}

.about {
  max-width: 735px;
}

.about h4 {
  font-size: 1.3rem;
}

.content-title {
  border-bottom: solid #bbbfca;
}

.content-block {
  border-bottom: 1px solid #bbbfca;
  margin-top: 30px;
}

.comment-sub-item-category{
  width: 130px;
}

.category-box {
  background-color: var(--main-color);
  color: #fff;
  font-size: 11px;
  padding: 9px;
  margin-top: 7px;
  border-radius: 3%;
}

.country-img {
  width: 30px;
  border: 1px solid;
}

.edit {
  clear: both;
  position: fixed;
  bottom: 250px;
  right: 15%;
  z-index: 2;
  height: 50px;
}
.category-edit {
  bottom: 50px;
  height: 100px;
}

.edit-link {
    display: block;
    width: 100px;
    height: 100px;
    background: url("/static/front/img/edit.png") no-repeat;
    background-size: cover;
    border-radius: 50%;
}
.edit-link:hover {
  cursor: pointer;
}

.floating-button-box {
  width: 50px;
  margin: 0 auto 40px;
}

.floating-button {
    display: flex;
    background: var(--main-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin: 10px auto 10px;
}
.floating-button:hover, .floating-button:focus {
  cursor: pointer;
  text-decoration: none;
}

.material-symbols-outlined {
  color: #fff;
}

.thread-item {
  display: inline-flex;
  padding-bottom: 0.5rem;
}

.thread-sub-item {
  display: inline-flex;
  align-items: center;
}

.comment-block {
  border-bottom: 1px solid #e1e1e1;
}

.comment-item {
  display: inline-flex;
  width: 100%;
  font-size: .75rem;
  color: #666;
}

.comment-sub-block {
  overflow-wrap: break-word;
}

.comment-sub-item {
  display: inline-flex;
  align-items: center;
}

.comment-sub-item-btn button:focus {
  outline: none;
}

.top-comment-sub-item{
  align-items: flex-end;
}

.comment-sub-item-right {
  justify-content: space-evenly;
  flex-grow: 1;
}

.icon-sub-item {
  display: flex;
  align-items: center;
}

.comment-sub-item-thread {
  width: 320px;
  align-items: center;
}

.comment-name {
  width: 140px;
}
.comment-country-box {
  width: 46px;
}
.comment-time-thread {
  width: 90px;
}

.comment-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}


.comment-reply-count {
  display: none;
}

.comment-reply-ul {
  list-style:  none;
  padding-inline-start: 5px;
}

.comment-reply-btns {
  display: flex;
  justify-content: end;
  align-items: center;
}

.btn-reply {
  display: block;
  padding: 0.25rem 0.5rem;
  font-size: .65em;
  color: #fff;
  background-color: var(--main-color);
  border: 1px solid;
  border-radius: 0.25rem;
  height: 28px;
}
.btn-reply span {
  color: #fff;
}
.btn-reply:hover, .btn-reply:focus {
  color: #fff;
  background-color: #198a37;
}

.btn-no-reply {
  display: block;
  padding: 0.25rem 0.5rem;
  font-size: .65em;
  color: var(--main-color);
  background-color: #fff;
  border: 1px solid;
  border-radius: 0.25rem;
  height: 28px;
}
.btn-no-reply span {
  color: var(--main-color);
}
.btn-no-reply:hover, .btn-no-reply:focus {
  color: #fff;
  background-color: var(--main-color);
}
.btn-no-reply:hover span, .btn-no-reply:focus span {
  color: #fff;
}

.reply-group {
  display: none;
  position: relative;
  padding: 12px 16px 20px;
  margin-left: 46px;
  border-left: 3px solid #e1e1e1;
}

.comment-reply-li-div,span {
  font-size: 0.75rem;
  color: #666;
}
.comment-reply-li-div,.fas_button_alert {
  display: inline-flex;
}

.alert-block {
  display: flex;
  align-items: center;
}

.alert-modal-btn {
  width: 45px;
  padding: 4px 8px;
  border: 1px solid #e1e1e1;
  font-size: .8rem;
  color: #909090;
}

.btn-send-reply {
  background: var(--main-color);
  color: white;
}
.btn-send-reply:hover, .btn-send-reply:focus {
  background: #198a37;
  color: white;
}

.inputles-form-item-maxlength {
  display: flex;
  justify-content: end;
}

.btn-les {
  background: var(--main-color);
  color: white;
}
.btn-les:hover, .btn-les:focus {
  background: #198a37;
  color: white;
}

.btn-create-thread {
  background: var(--main-color);
  color: white;
}
.btn-create-thread:hover, .btn-create-thread:focus {
  background: #198a37;
  color: white;
}

.search-block {
  display: flex;
}

.input_search {
  width: 40vh;
  height: 50px;
}
.btn_search {
  height: 50px;
  background: #fff;
  color: var(--main-color);
  border: 1px solid var(--main-color);
  white-space: nowrap;
}

.alert-modal-box {
  max-width: 520px;
}
.btn-alert {
  background: var(--main-color);
  color: white;
}
.btn-alert:hover, .btn-alert:focus {
  background: #198a37;
  color: white;
}


/* Breadcrumb */
.breadcrumb {
    padding: 10px 15px 10px;
    margin:0px;
    background-color: #fff;;
    width: 100%;
    position: relative;
    background: #fff;;
    border-radius: 0;
    overflow-x: auto;
    white-space: nowrap;
}
.breadcrumb ul {
    padding: 0px;
}
.breadcrumb ol {
    padding: 0px;
}
.breadcrumb li {
    display:inline-block;
    padding: 0px 5px;
}
.breadcrumb li:first-child a {
    background-repeat: no-repeat;
    background-position: center left;
    padding-left: 20px;
}
.breadcrumb li a {
    color: #000;
}
.breadcrumb li + li:before {
    content: ' > ';
    padding-right: 5px;
}
.breadcrumb-thread-name {
    width: 550px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}
/* end breadcrumb */

.fas_button_circle {
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 25px;
  color: #fff;  
  cursor: pointer;
}
.fas_button_circle:before {
  line-height: 26px;
  width: 26 px;
  text-align: center;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-weight: 900;
  font-size: 15px;

  display: flex;
  justify-content: center;
  width: 110%;
}
.fas_button_like {
  background: #ff4500;
}
.fas_button_dislike {
  background: #4169e1;
}
.fas_button_translation {
  background: #0f5779;
  padding-left: 3.5px;
}
.fas_button_unactive {
  background: gray;
}

.fas_button_alert {
  background: #dc143c;
  padding-left: 3.5px;
}

a.fas_button_alert {
  color: #fff;  
}
a.fas_button_alert:visited {
  color: #fff;  
}
a.fas_button_alert:active {
  color: #fff;  
}
a.fas_button_alert:hover {
  color: #fff;  
}


.sns-outer {
  display: flex;

  overflow: hidden;
}
.sns-box {
  float: left;
  text-align: center;
  transition: all .1s ease-in-out;
  display: table-cell;
  backface-visibility: hidden;
  width: 90px;
  height: 34px;
  border-radius: 2px;
}
.sns-box a {
  display: block;
  color: #fff;
  padding: 0.3em 0 0.2em;
  text-align: center;
  font-size: 1.1em;
}
.sns-box a:hover {
    color: #fff;
    text-decoration: none;
}
.sns-box:hover {
    opacity: .8;
}
.fa-kakao {
  width: 25px;
  filter: brightness(0) invert(1);
  margin-bottom: 3px;
}
.fa-naver {
  width: 20px;
  filter: brightness(0) invert(1);
  margin-bottom: 3px;
}

.b-twitter {
  background: #55acee;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: larger;
}
.b-line {
  background: #06c755;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: x-large;
}
.b-kakao {
  background: #F7DE40;
}
.b-naver {
  background: #00AE5B;
}

.hamburger {
  display : none;
}

.terms_list>li {
  margin-top: 20px;
}

.terms_list p {
  margin-bottom: 5px;
}

.terms h6 {
  font-weight: bold;
}

.privacy h4 {
  margin: 1.5rem 0 1rem;
}

.privacy>ol>li {
  margin-bottom: 10px;
}

.contact-form {
  max-width: 500px;
  width: 80%;
}

.contact-form span {
  color: red;
  margin-left: 10px;
}

.contact-form-input, .contact-form-area {
  width: 100%;
  box-sizing: border-box;
}

.contact-form-select {
  padding: 3px 8px;
}

.message-box{
  border: 1px solid #dee2e6;
  background: #f8f9fa;
  width: 80%;
  border-radius: 3px;
}
.message-box .contact-messages {
  margin: auto;
  padding-left: 0;
  list-style: none;
}
.contact-messages .success {
  color: #28a745;
}
.contact-messages .error {
  color: red;
}

.contact-note {
  display: flex;
  justify-content: center;
  max-width: 380px;
  text-align: center;
  margin: 0 auto;
}

.confirm_contact_form input, .confirm_contact_form textarea, .confirm_contact_form select {
  background-color: #eee;
  opacity: 1;
  border: 1px solid;
  border-radius: 3px;
}
.confirm_contact_form select {
  color: #000;
}

form .btn-contact-submit {
  background: var(--main-color);
  color: #fff;
  padding: 5px 15px;
  width: 100%;
  height: 45px;
}

form .btn-contact-submit {
  background: var(--main-color);
  color: #fff;
  padding: 5px 15px;
  width: 100%;
  height: 45px;
}
.btn-contact-submit:hover, .btn-contact-submit:focus {
  background: #198a37;
  color: #fff;
}

.confirm-btns {
  flex: 1;
  display: flex;
  align-items: center;
}

form .btn-confirm-contact-submit {
  background: var(--main-color);
  color: #fff;
  padding: 5px 15px;
  width: 100%;
  height: 45px;
}
form .btn-confirm-contact-submit:hover {
  background: #198a37;
  color: #fff;
}

form .btn-contact-back {
  padding: 5px 30px;
  width: 100%;
  height: 43px;
  line-height: 32px;
  border-radius: 2px;
  background: #fff;
}

.grecaptcha-badge{left:6px!important; width:70px!important; visibility: hidden;}
.grecaptcha-badge:hover{left:6px!important; width:256px!important;}


@media screen and (max-width:1440px) {
  .edit {
    right: 5%;
  }
}

@media screen and (max-width: 992px) {
  .logo {
      height: 30px;
  }

  .header-title {
      font-size: 0.8rem;
      text-wrap: nowrap;
  }

  .input_search {
    width: 30vh;
  }
}

@media screen and (max-width:921px) {
  .nav-divide-center {
    display: none;
  }
}


@media screen and (max-width: 767px) {
  .logo {
    height: 30px;
  }

  .header-title {
    font-size: 0.5rem;
  }

  .menu-block {
    display: flex;
    justify-content: end;
    align-items: center;
  }

  .nav-divide-center {
    display: flex;
  }

  .nav-item {
    font-size: 1rem;
    height: 45px;
  }

  .header-form {
    display: flex;
    margin-right: 60px;
  }

  .search-block {
    display: none;
  }

  .about h4 {
    font-size: 1.2rem;
  }
  
  .edit {
    right: 10px;
    height: 30px;
  }
  .category-edit {
    bottom: 50px;
    height: 100px;
  }

  .nav-item-search {
    display: flex;
    flex-grow: 1;
    height: 45px;
  }

  .input_search {
    width: 100%;
    height: 40px;
  }

  .btn_search {
    height: 40px;
  }
  
  .nav-divide {
    width: 100%;
    height: 1px;
  }
  .nav-divide-first {
    display: flex;
  }

  /*　ハンバーガーメニューボタン　*/
  .hamburger {
    display : block;
    position: absolute;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
  }

  .hamburger span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #BBBBBB;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
  }
  .hamburger span:nth-child(1) {
    top: 10px;
  }
  .hamburger span:nth-child(2) {
    top: 20px;
  }
  .hamburger span:nth-child(3) {
    top: 30px;
  }

  /* スマホメニューを開いてる時のボタン */
  .hamburger.active span:nth-child(1) {
    top : 20px;
    left: 6px;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
  }

  .hamburger.active span:nth-child(2),
  .hamburger.active span:nth-child(3) {
    top: 20px;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
  }

  /* メニュー背景　*/
  .nav-box {
    position: absolute;
    z-index : 2;
    top  : 5rem;
    left : 0;
    color: #fff;
    text-align: center;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }


  .comment-sub-block {
    position: relative;
  }

  .comment-sub-item-btn {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: -2.5rem;
  }

  .contact-form {
    max-width: 400px;
    width: 85%;
  }

}


@media screen and (max-width:480px) {
  h2 {
    font-size: 1.4rem;
  }

  .logo {
    padding-left: 10px;
  }
  .header-title {
    font-size: 11px;
    margin-top: 5px;
    margin-left: 5px;
    font-weight: normal;
    display: inline-block;
  }
  .menu-block {
    padding-right: 3px;
  }

  .navbar {
    display: inline-block;
    white-space: nowrap;
    overflow-x: scroll;
    width: 100%;
  }
  .content-block {
    padding-top: 0;
  }
  .header {
    padding-left: 0;
    padding-right: 0;
  }
  .logo-block {
    padding-left: 0;
  }
  .input_search {
    /* width: auto; */
  }
  .language-select {
    width: 100%;
  }
  .category-box {
    font-size: 8px;
  }
  .breadcrumb {
    padding-left: 0;
    font-size: 8px;
  }
  .breadcrumb li {
    padding: 0;
  }
  .breadcrumb li:first-child a {
    padding-left: 0;
  }
  .breadcrumb-thread-name {
    width: 240px;
  }

  .edit {
    height: 0;
  }
  .category-edit {
    bottom: 50px;
    height: 100px;
  }
  .edit-link {
    width: 60px;
    height: 60px;
    margin: auto;
  }

  .floating-button-box {
    height: 90px;
  }
  .floating-button {
    width: 40px;
    height: 40px;
}

  .thread-item {
    display: block;
  }

  .comment-item {
    display: block;
  }

  .sns-box {
    width: auto;
    flex-grow: 1;
    margin-bottom: 0;
  }

  .category-box-footer-text {
    padding: 7px 7px 0 7px;
  }

  .comment-country-box {
    padding: 7px 7px 0 7px;
    margin-top: 0;
  }

  .comment-id-block {
    padding: 0 7px 10px 7px;
    margin-top: 0;
  }

  .terms ol {
    padding-left: 0.8rem;
  }
}

@media screen and (max-width:360px) {
  .logo-block {
    display: flex;
    flex-direction: column;
  }
  
  .logo {
    height: 20px;
    padding-left: 15px;
  }
  
  .comment-sub-item-thread {
    width: auto;
  }
  
  .comment-time-thread {
    width: auto;
  }

  .comment-sub-block {
    margin-bottom: 2.5rem;
  }

  .btn-reply,.btn-no-reply {
    order: 2;
  }
}