/* more投稿 */

@media screen and (max-width: 768px) {
  .new-article-t {
    padding-top: 10%;
  }
}

.new-article-t h1 {
  padding-left: 10px;
  position: relative;
  color: #333;
  text-shadow: 0 0 2px white;
}

@media screen and (max-width: 400px) {
  .new-article-t h1 {
    font-size: 20px;
  }

  .new-article-t h1:before {
    width: 35px;
    height: 35px;
  }
}

.new-article-t-left {
  max-width: 1500px;
  margin: auto;
}

.new-article-t-left-element {
  margin: 5% 10px 0 10px;
}

.new-article-t-center {
  display: flex;
  justify-content: center;
}

.new-article-t-center-element {
  max-width: 1500px;
  margin: 10px;
}

*,
:after,
:before {
  background-repeat: no-repeat;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
:after,
:before {
  text-decoration: inherit;
  vertical-align: inherit;
}
* {
  padding: 0;
  margin: 0;
}
main {
  display: block;
}
a {
  background-color: transparent;
}
a:active,
a:hover {
  outline-width: 0;
}
input {
  border-radius: 0;
}
button,
input {
  font: inherit;
}
button {
  overflow: visible;
}
button {
  text-transform: none;
}
[type="submit"],
button {
  cursor: pointer;
  color: inherit;
}
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
[type="submit"]::-moz-focus-inner,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}
[type="submit"],
button {
  -webkit-appearance: button;
}
button,
input {
  background-color: transparent;
  border-style: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  color: inherit;
  font: inherit;
}
img {
  border-style: none;
}
@media screen {
  [hidden~="screen"]:not(:active):not(:focus):not(:target) {
    position: absolute !important;
    clip: rect(0 0 0 0) !important;
  }
}

@media screen and (min-width: 768px) {
  body {
    font-size: 1.4rem;
  }
}
* {
  word-break: break-word;
  outline: 0;
}
a {
  text-decoration: none;
  color: #07b;
}
a:hover {
  color: #00649c;
  text-decoration: underline;
  cursor: pointer;
}

.article-media {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.article-media.article-media-center {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.article-media .article-media-left {
  margin-right: 8px;
  -webkit-box-flex: 0;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
}
.article-media .article-media-content {
  -webkit-box-flex: 1;
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
}
.cardbox {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  height: 100%;
}
.cardbox .cardbox-item {
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
  width: 100%;
}
.cardbox .cardbox-item:last-of-type {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
@media screen and (min-width: 768px) {
  .cardbox .cardbox-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    overflow: hidden;
  }
}
.cardbox.is-multiCell {
  height: auto;
}
@media screen and (min-width: 768px) {
  .cardbox.is-multiCell {
    margin-right: -12px;
  }
}
@media screen and (min-width: 768px) {
  .cardbox.is-multiCell .cardbox-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    margin: 0 12px 12px 0;
    width: calc(50% - 12px);
  }
}
@media screen and (min-width: 960px) {
  .cardbox.is-multiCell .cardbox-item {
    margin: 0 12px 12px 0;
    width: calc(33.3333333333% - 12px);
  }
}
@media screen and (min-width: 768px) {
  .cardbox.is-multiCell.is-2line .cardbox-item {
    display: block;
  }
}
.card-article {
  padding: 16px;
  background-color: #fff;
  display: grid;
  grid-template-rows: -webkit-min-content 1fr -webkit-min-content;
  grid-template-rows: min-content 1fr min-content;
  grid-template-columns: 36px 1fr;
  grid-template-areas: "header header" "content content" "nav nav";
  gap: 8px;
  height: 100%;
}
@media screen and (min-width: 768px) {
  .card-article {
    grid-template-areas: "header header" "content content" "nav nav";
    padding: 16px 12px;
    border-radius: 5px;
    height: 100%;
  }
}
.card-article .card-header {
  grid-area: header;
}
.card-article .card-content {
  grid-area: content;
}
.card-link {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
}
.thumbnail::before {
  display: block;
  width: 100%;
  padding-top: 100%;
  content: "";
  background-color: #e1e1e1;
}
.thumbnail.article-thumbnail {
  border-radius: 7px;
}
.thumbnail.article-thumbnail::before {
  padding-top: 56.25%;
}
.thumbnail .thumbnail-image {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  -webkit-transition: 0.1s linear;
  transition: 0.1s linear;
}
.thumbnail .thumbnail-image:hover {
  opacity: 0.6;
}
.profile-box {
  position: relative;
  overflow: hidden;
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;
}
.profile-box:before {
  display: block;
  position: absolute;
  width: 100%;
  padding-top: 100%;
  padding-top: 100%;
  background-color: #e1e1e1;
  content: "";
}
.profile-box > .profile-item {
  display: block;
  position: absolute;
  left: 50%;
  z-index: 10;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 100%;
}
.profile-box > .profile-item:hover {
  opacity: 0.6;
}
.profile-box.profile-small {
  width: 30px;
  height: 30px;
  border-radius: calc(30px / 2);
}
.article-date {
  color: rgba(0, 0, 0, 0.64);
  font-size: 1.2rem;
}
.profile-name {
  display: -webkit-box !important;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.article-title {
  line-height: 1.5;
}
.article-title.article-3size {
  font-size: 1.4rem;
}
.article-title.articlecard-element {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 8px;
  height: 3em;
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.article-box {
  padding: 16px;
}
.article-box.article-box-top {
  padding: 0;
}
@media screen and (min-width: 768px) {
  .article-box.article-box-top {
    padding-top: 16px;
    padding-bottom: 16px;
  }
}
button {
  border: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  cursor: pointer;
}
.btn.type-basic:disabled:hover:not(:disabled) {
  background: #ccc;
}

@media screen and (max-width: 768px) {
  .cardbox .cardbox-item {
    display: block; /* すべてのカードを表示 */
    margin: 10px;
  }
}

@media screen and (max-width: 768px) {
  .cardbox .cardbox-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  }
}

/* ページネーション */
.pager .pagination {
    text-align: center;
  }
  
  .pager .pagination li {
    display: inline;
    margin: 0 2px;
    padding: 0;
    display: inline-block;
    width: 50px;
    height: 50px;
    text-align: center;
    position: relative;
    border-radius: 10px;
  }
  
  
  .pager .pagination li a{
    vertical-align: middle;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    display:table;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all  0.3s ease;
  }
  
  .pager .pagination li a span{
    display:table-cell;
    vertical-align:middle;
  }
  
  .pager .pagination li a:hover,
  .pager .pagination li a.active{
    color: #fff;
    background: #27acd9;
  }
  
  @media only screen and (max-width: 767px){
    .pager .pagination li{
      display: none;
    }
  
    .pager .pagination li.pre,
    .pager .pagination li.next{
      display: inline-block;
      width: 40%;
      height: 50px;
      text-align: center;
    }
  
    .pager .pagination li.pre a,
    .pager .pagination li.next a{
      width: 100%;
      text-align: center;
    }
  
    .pager .pagination li.pre span::after{
      content: "　前の12件へ";
    }
  
    .pager .pagination li.next span::before{
      content: "次の12件へ　";
    }
  
  }
  