@charset "utf-8";
/* common */
@import url("./variables.css");

.single {
  background: var(--color-green-light);
}
.single-wrap {
  margin-inline: auto;
}
.flex {
  display: flex;
  justify-content: space-between;
  align-content: center;
  flex-wrap: wrap;
}

#postwrap {
  background: var(--color-white);
  max-width: 80%;
  padding-block: var(--block-padding-y);
  margin-inline: auto;
    margin-bottom: var(--block-padding-y);
    border-radius: var(--radius-s);
}

#postwrap .title {
  display: block;
  text-align: center;
  margin: 20px 0 30px;
}

#postwrap h1 {
  font-size: 1.8rem;
  margin: 0 auto 10px;
}

#postwrap .contentwrap {
  font-size: 1rem;
  margin-bottom: 30px;
  border-top: 1px solid var(--color-green);
  border-bottom: 1px solid var(--color-green);
  padding: 50px 0;
}
.single-thumnail {
  margin-bottom: var(--block-padding-y);
}
.single-thumnail img{
  margin-inline: auto;
  display: block;
  max-height: 410px;
  object-fit: contain;
}
@media screen and (max-width: 960px) {
  .single {
    background: var(--color-green-light);
  }
  .single-thumnail img{
    max-height: 400px;
    object-fit: contain;
  }
}
#bloginfo {
  font-size: 1rem;
  line-height: 1.6;
  padding-bottom: 50px;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid #333;
}
#bloginfo p {
  line-height: 1.75;
}
.blog-cta_ttl {
  font-size: 1.3125rem;
  margin-bottom: 16px;
}
.blog-cta_txt {
  margin-bottom: 16px;
}
.blog-cta_info {
  margin-bottom: 24px;
}
.blog-cta_info p {
  margin-bottom: 8px;
}
.blog-cta_tel {
  color: var(--color-gold);
  font-weight: bold;
  font-size: 170%;
  letter-spacing: 0.05em;
}
.post-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-link-wrap {
  width: 50%;
}
.post-link-wrap.-left {
  
}
.post-link.arrow-right {
  height: 100%;
  justify-content: end;
}
.post-link.arrow-right svg {
  transform: scale(-1, 1);
}
.post-link_wrap {
  line-height: 1.25;
}
@media screen and (max-width: 768px) {
  .post-link_wrap {
    font-size: 0.875rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 制限したい行数が3の場合 */
    overflow: hidden;
  }
}
.linknav {
  display: flex;
  gap: 24px;
  margin-bottom: 30px;
}
.linknav a {
  width: 49.5%;
}
.linknav svg {
  background-color: #dedddd;
  border-radius: 99%;
  padding: 2%;
}
@media screen and (max-width: 768px) {
  .linknav {
    gap: 16px;
  }
  .linknav svg {
    width: 100%;
    max-width: 16px;
  }
}
.meta-nav {
  margin-bottom: 4px;
}

#bloginfo .link_bnr {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 20px auto;
  gap: 24px;
}

#bloginfo .link_bnr .btn {
  width: 36%;
  background: #b29970;
  display: block;
  text-align: center;
  padding: 15px 1vw;
  color: #fff;
}
#bloginfo .link_bnr .btn.center {
  display: flex;
  align-items: center;
  justify-content: center;
}
#bloginfo .link_bnr .btn .fa-brands.fa-line {
  margin-right: 8px;
}
#bloginfo .link_bnr .btn:hover {
  opacity: 0.7;
}
@media screen and (max-width: 768px) {
  #bloginfo .link_bnr {
    gap: 16px;
  }
  #bloginfo .link_bnr .btn {
    width: 100%;
  }
}
#bloginfo .bnr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 30px auto;
}

#bloginfo .bnr a {
  width: 23%;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}

#bloginfo .bnr a img {
  width: 100%;
}

#sidebar {
  width: 20%;
  background: #f2efe9;
  padding: 2%;
}

#sidebar .widget {
  margin-bottom: 30px;
}

#sidebar .widget h2 {
  margin-bottom: 15px;
  padding: 0.25em 0.5em; /*上下 左右の余白*/
  color: #494949; /*文字色*/
  background: transparent; /*背景透明に*/
  border-left: solid 5px #d2bd9b; /*左線*/
}

#sidebar .widget ul li {
  list-style: none;
  margin-bottom: 10px;
}

footer {
  background: #fff;
}
#postwrap .contentwrap img {
  /* width: 100%; */
  object-fit: contain;
  max-width: 360px;
  height: auto;
}

@media screen and (max-width: 768px) {
  #postwrap {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding-bottom: 50px;
    padding-inline: 20px;
    box-sizing: border-box;
  }
  #postwrap h1 {
    font-size: 1.2rem;
    line-height: 1.6;
  }

  #sidebar {
    width: 100%;
    padding: 20px;
  }
  .contentwrap p{
    margin-bottom: 0px;
  }
}
@media screen and (max-width: 400px) {
  #postwrap .contentwrap{
    padding: 32px 0;
  }
  #postwrap .contentwrap img {
    max-width: 100%;
  }
}
#postwrap .contentwrap img + img {
  margin-left: 12px;
}

/* メディアプレイヤー全体の幅を親要素にフィット */
.wp-video-shortcode {
  width: 100% !important;
  max-width: 720px;
  height: auto !important;
}
.mejs-container {
  width: 100% !important;
  height: auto !important;
}
@media screen and (max-width: 768px) {
  #postwrap .contentwrap img {
    display: block;
    margin-inline: auto;
    margin-top: 1rem;
  }
  #postwrap .contentwrap img + img {
    margin-left: auto;
  }
}
