@charset "UTF-8";

.page-single__index-header {
    padding: 2rem;
    border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
}

.page-single__index-header-wrap {
    display: flex;
}

.page-single__index-date {
    font-size: 1.5rem;
    font-weight: bold;
    padding-right: .8rem;
    border-right: 1px solid #cccccc;
}

.page-single__index-category {
    font-size: 1.5rem;
    padding-left: .8rem;
}


.page-single__index-content {
    margin-top: 4rem;
}

.page-single__index-content p{
    font-size: 1.8rem;
}

.page-single__index-content h2{
    font-size: 3.2rem;
}

.page-single__index-title {
    font-size: 3.2rem;
    font-weight: bold;
    margin-top: .5rem;
}

.page-single__index-toArchieve {
    margin-top: 8rem;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 1.8rem;
    border: 1px solid #cccccc;
    transition: .3s;
    font-weight: bold;
}

.page-single__index-toArchieve:hover {
    background-color: #6e0d0d;
    border: none;
    color: #fff;
}

.sns__container {
    display: flex;
    justify-content: space-between;
    margin-top: 8rem;
}

.sns__container a {
    max-width: 30rem;
    border-radius: 20px;
    border: 1px solid #333333;
    display: inline-block;
    width: 100%;
    position: relative;
    text-align: center;
    padding: 1rem 0;
    font-size: 1.6rem;
    transition: .3s;
}

.sns__container a:hover {
    color: #fff;
    background-color: #333333;
}


.sns__container a.sns__facebook:before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(../img/share-facebook.png) no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 1rem;
}

.sns__container a.sns__twitter:before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(../img/share-x.png) no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 1rem;
}

.sns__container a.sns__line:before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(../img/share-line.png) no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: middle;
    margin-right: 1rem;
}

.wp-block-file__embed{
    display: none;
}

#wp-block-file--media-d1c338d1-1c2c-4fd1-95c5-48acee388449{
    display: none;
}


.wp-block-file *+.wp-block-file__button {
  display: inline-block;
  margin-left: 0 !important;
  width: 100%;
  padding: 1rem 4rem;
  font-size: 1.8rem;
  font-weight: bold;
  border: .2rem solid #333;
  border-radius: 3rem;
  position: relative;
  background-color: #fff;
  color: #333;
  transition: .3s;
  text-align: center;
  line-height: 1.5;
}

.wp-block-file *+.wp-block-file__button:hover {
  color: #fff;
  background-color: #333;
}

.wp-block-file *+.wp-block-file__button::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../../common/img/dl-icon-hover.png) no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.wp-block-file *+.wp-block-file__button:hover::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  background: url(../../common/img/dl-icon.png) no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
}

.wp-block-file:not(.wp-element-button) a:first-of-type{
    display: none;
}

@media screen and (max-width: 768px) {

    .page-single__index-toArchieve {
        margin-top: 6.4rem;
    }

    .page-single__index {
        padding: 6.4rem 0;
    }

    .page-single__index-header {
        padding: 1.5rem 1rem 1.5rem 1rem;
        border-bottom: 1px solid #cccccc;
        border-top: 1px solid #cccccc;
    }

    .page-single__index-date {
        font-size: 1.2rem;
        font-weight: bold;
        padding-right: .8rem;
        border-right: 1px solid #cccccc;
    }

    .page-single__index-category {
        font-size: 1.2rem;
        padding-left: .8rem;
    }


    .page-single__index-content {
        margin-top: 4rem;
    }

    .page-single__index-title {
        font-size: 2rem;
        margin-top: .5rem;
        font-weight: normal;
    }

    .sns__container {
        flex-direction: column;
        gap: 2rem;
    }

    .sns__container a {
        max-width: 100%;
    }

    .page-single__index-content p{
    font-size: 1.5rem;
}

.page-single__index-content h2{
    font-size: 2.4rem;
}
}

/*クラシックエディター調整分*/

.wp-block-image img {
    width: 100%;
}

.gallery-item .gallery-caption {
    text-align: left;
    font-size: 1.6rem;
    margin-top: 0;
    line-height: 1.6;
}

.wp-block-image :where(figcaption) {
    line-height: 1.6;
    font-size: 1.6rem;
}

.wp-block-preformatted {
    font-size: 1.8rem;
    line-height: 1.7;
    text-align: justify;
}

.wp-block-preformatted a{
    text-decoration: underline;
    display: inline;
    color: #99770F;
}

@media screen and (max-width: 768px) {

    .gallery-item .gallery-caption {
        text-align: left;
        font-size: 1rem;
        margin-top: 0;
    }

    .wp-block-preformatted {
        font-size: 1.4rem;
        line-height: 1.7;
        text-align: justify;
    }

    .wp-block-image :where(figcaption){
        font-size: 1.4rem;
    }
}