@charset "utf-8";

/*　基本設定（共通）
--------------------------------------------- */
@media print, screen and (min-width : 767px) {
  body {
    min-width: 1000px;
  }
  body.blog:before {
    content: "";
    width: 100%;
    height: 6px;
    background: #3b9476;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }
}
@media screen and (max-width : 767px) {
  html {
    font-size: 4.0625vw
  }
}


/*　header
--------------------------------------------- */
.header_blog {
  padding: 5rem 0;
  text-align: center;
  background: url(img/blogheader.jpg) no-repeat center center/cover;
  margin-bottom: 1rem;
  position: relative;
}
.header_blog .top_desc {
  color: #ffffff;
  background: #3b9476;
  padding: 0 1rem 3px 1rem;
  box-sizing: border-box;
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 1rem;
  border-radius: 0 0 0.25rem 0.25rem;
}
.header_blog:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(img/dot.png);
  width: 100%;
  height: 100%;
  z-index: 1;
}
.header_blog:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: -1.5%;
  background-image: url(img/back_2_2.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom;
  width: 103%;
  height: 100%;
  z-index: 2;
}
.header_blog h1 span {
  display: block;
  line-height: 1.5em;
  font-size: 4rem;
  font-family: 'Noto Serif JP', serif;
  font-weight: normal;
  color: #ffffff;
  text-shadow: #666666 1px 1px 10px, #666666 -1px 1px 10px, #666666 1px -1px 10px, #666666 -1px -1px 10px;
}

@media print, screen and (min-width : 767px) { /* PC */
  .header_inner {
    display: none;
  }
  .header_blog {
    min-height: 325px;
  }
  .header_blog h1 {
    position: absolute;
    z-index: 2;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    line-height: 1em;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  .header_blog {
    padding: 3rem 0;
  }
  .header_blog .top_desc {
    display: none;
  }
  .header_blog h1 {
    position: relative;
    z-index: 1;
  }
  .header_blog h1 span {
    font-size: 2.5rem;
  }
}

/*　footer
--------------------------------------------- */
footer {
  width: 100%;
  background-image: url(img/back_3.png);
  padding: 3rem 0 1rem;
  text-align: center;
  border-bottom: 6px solid #3b9476;
}
footer h1 {
  margin-bottom: 1rem;
}
footer h1 img {
  width: 150px;
}

@media only screen and (max-width: 768px){ /* スマホ */
  footer h1 img {
      width: 100%;
  }
}

/*　contents
--------------------------------------------- */
@media print, screen and (min-width : 767px) { /* PC */
  .wrap {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  .wrap {
    display: flex;
    flex-direction: column;
  }
  main {
    order: 1;
  }
  aside {
    order: 2;
  }
}


/*　sidebar
--------------------------------------------- */
aside > div {
  margin-bottom: 1.5rem;
}
aside > div h2 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 2px dotted #ccc;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}
aside > div h2:before {
  content: '';
  background-image: url(img/nav-baketsu.svg);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.25rem;
}
aside .about {
  background: #f9f7f4;
  padding: 1.5rem;
}
aside .about h2 {
  text-align: center;
  margin-bottom: 1rem;
  border-bottom: 0;
}
aside .about h2:before {
  content: none;
}
aside .about h2 img {
  width: 100%;
}
aside .about p {
  font-size: 0.9rem;
}
aside .about p:last-of-type {
  margin-top: 1rem;
}
aside .about p:last-of-type a {
  display: block;
  color: #fff;
  background: #c18646;
  text-align: center;
  border-radius: 0.25em;
  padding: 0.25rem 0;
}

aside .archive div {
  position: relative;
}
aside .archive div:after {
  content: "";
  position: absolute;
  right: 10px;
  top: 0.75rem;
  width: 10px;
  height: 10px;
  border-top: 2px solid #3b9476;
  border-left: 2px solid #3b9476;
  transform: translateY(-50%) rotate(-135deg);
  font-size: 1.5rem;
  pointer-events: none;
}
aside .archive div select {
  width: 100%;
  border: 1px solid #cccccc;
  padding: 0.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  font-size: 1rem;
}
aside .category h2 {
  margin-bottom: 0.5rem;
}
aside .category ul li.catparent:before {
  content: "■";
  color: #3b9476;
}
aside .category ul li.catchild {
  text-indent: 1em;
}
aside .category ul li.catchild:before {
  content: "ー";
  color: #cccccc;
}

aside .other ul li {
  margin-bottom: 0.75rem;
}
aside .other ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #3b9476;
  text-align: center;
  border-radius: 0.25em;
  padding: 0.25rem 0;
}
aside .other ul li a:before {
  content: '';
  width: 1.2rem;
  height: 1.2rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.5rem;
}
aside .other ul li:nth-of-type(1) a:before {
  content: none;
}
aside .other ul li:nth-of-type(2) a:before {
  content: '';
  background-image: url(img/icon-insta.svg);
}
aside .other ul li:nth-of-type(3) a:before {
  content: '';
  background-image: url(img/icon-fb.svg);
}
aside .other ul li:nth-of-type(4) a:before {
  content: '';
  background-image: url(img/icon-youtube.svg);
}

@media print, screen and (min-width : 767px) { /* PC */
  aside {
    width: 20%;
    margin-bottom: 200px;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  aside {
    padding: 2rem 10%;
  }
}


/*　posts
--------------------------------------------- */
main section h2 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 2px dotted #ccc;
  padding-bottom: 0.25rem;
  margin-bottom: 2rem;
}
main section h2:before {
  content: '';
  background-image: url(img/nav-kote.svg);
  width: 1.5rem;
  height: 1.5rem;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: contain;
  margin-right: 0.25rem;
}
main section h2 span {
  width: calc(100% - 1.5rem);
}

@media print, screen and (min-width : 767px) { /* PC */
  main {
    width: 80%;
    padding-left: 2rem;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  main section {
    padding: 2rem 5%;
  }
  main .about {
    padding: 0 2rem 2rem 2rem;
  }
  main .about p:nth-of-type(1) {
    margin-bottom: 1em;
  }
  main .about p a {
    display: block;
    color: #fff;
    background: #c18646;
    text-align: center;
    border-radius: 0.25em;
    padding: 0.25rem 0;
  }
}


 
/*　archive
--------------------------------------------- */
.archive p.category {
  font-size: 1.25rem;
  color: #3b9476;
  background-color: rgba(59, 148, 118, 0.15);
  margin-bottom: 2rem;
  padding: 0.5rem 1em;
}
.archive article {
  margin-bottom: 2rem;
  position: relative;
}
.archive article:after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #3b9476;
  border-right: 2px solid #3b9476;
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  right: 1.5rem;
  top: 50%;
}
.archive article a {
  display: flex;
  padding: 1.5rem;
  border: 2px solid #cccccc;
  background: #ffffff;
}
.archive article a figure {
  width: 35%;
  line-height: 0;
}
.archive article a figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.archive article a div {
  width: 65%;
  padding-left: 1em;
  padding-right: 2em;
  display: flex;
  flex-direction: column;
}
.archive article a div time {
  color: #aaaaaa;
  margin-bottom: 0.25rem;
}
.archive article a div h3 {
  margin-bottom: 0.5rem;
}
.archive article a div ul {
  display: flex;
  flex-wrap: wrap;
  margin-top: auto;
}
.archive article a div ul li {
  font-size: 0.9rem;
  color: #fff;
  background: #c18646;
  padding: 0 0.5em;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
  border-radius: 0.25em;
}

@media print, screen and (min-width : 767px) { /* PC */
  .archive section {
    margin-bottom: 100px;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  .archive p.category {
    font-size: 1rem;
  }
  .archive section {
    background-image: url(img/back_3.png);
  }
  .archive article {
    margin-bottom: 1rem;
  }
  .archive article:after {
    width: 0.5rem;
    height: 0.5rem;
    right: 0.5em;
  }
  .archive article a {
    padding: 0.5rem;
    border: 0;
  }
  .archive article a div {
    padding-left: 0.5em;
    padding-right: 1em;
  }
  .archive article a div time {
    margin-bottom: 0;
  }
  .archive article a div h3 {
    font-size: 1rem;
  }
  .archive article a div h3 + p {
    display: none;
  }
  .archive article a div ul li {
    font-size: 0.85rem;
    line-height: 1.5em;
    padding: 0 0.25rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
  }
}




/*　single
--------------------------------------------- */
.single time {
  color: #aaaaaa;
  margin-bottom: 0.5rem;
}
.single section h2 {
  margin-bottom: 1rem;
}
.single section ul.post-categories {
  display: flex;
  flex-wrap: wrap;
  text-align: right;
  margin-bottom: 2rem;
}
.single section ul.post-categories li {
  font-size: 0.9rem;
  color: #fff;
  background: #c18646;
  padding: 0 0.5em;
  margin-right: 0.5rem;
  border-radius: 0.25em;
}
.single section ul.post-categories li a {
  color: #ffffff;
}
.single section article {
  margin-bottom: 3rem;
}
.single section article p {
  margin-bottom: 2em;
}
.single section article p a {
  color: #c18646;
  border-bottom: 1px solid #c18646;
}
.single section article p a:before {
  content: "\0bb";
  margin-right: 0.25rem;
}
.single section article p img,
.single section article .wp-caption,
.single section article p iframe,
.single section article iframe {
  width: 80% !important;
  margin: 0 10% !important;
  padding: 0.5rem !important;
  border: 0 !important;
  box-shadow: 0 0 8px #D8D8D8 !important;  
  -moz-box-shadow: 0 0 8px #D8D8D8 !important;
  -webkit-box-shadow: 0 0 8px #D8D8D8 !important;
}
.single section article .wp-caption {
  margin: 0 10% 2em 10% !important;
}
.single section article .wp-caption img {
  width: 100%;
}
.single section article .wp-caption p {
  color: #999999;
  margin-bottom: 0;
}
.single section article p iframe {
  aspect-ratio: 16 / 9;
  height: auto !important;
}
.single section article iframe {
  margin: 0 auto !important;
}
.single section .pre-next {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
.single section .pre-next li {
  width: 50%;
}
.single section .pre-next li.nextPost {
  border-left: 1px solid #ccc;
}
.single section .pre-next li.nextPost:first-child {
  border-left: 0 !important;
  margin-left: auto;
}
.single section .pre-next li a {
  display: flex;
  padding: 1.5em 2em;
  position: relative;
}
.single section .pre-next li.nextPost a {
  justify-content: flex-end;
}
.single section .pre-next li.prevPost a:before {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #3b9476;
  border-left: 2px solid #3b9476;
  transform: translateY(-50%) rotate(-45deg);
  position: absolute;
  left: 0;
  top: 50%;
}
.single section .pre-next li.nextPost a:after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid #3b9476;
  border-right: 2px solid #3b9476;
  transform: translateY(-50%) rotate(45deg);
  position: absolute;
  right: 0;
  top: 50%;
}
.single section .pre-next li a p {
  width: calc(100% - 100px);
  margin: 0 1em;
  display: flex;
  flex-direction: column; 
  align-items: flex-start;
  justify-content: flex-start;
}
.single section .pre-next li.nextPost a p {
  align-items: flex-end;
}
.single section .pre-next li a p span {
  color: #999999;
}
.single section .pre-next li a div {
  background: #efefef;
  width: 100px;
  height: 100px;
}
.single section .pre-next li a div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media print, screen and (min-width : 767px) { /* PC */
  .single section .pre-next {
    margin-bottom: 200px;
    margin-top: 150px;
  }
}
@media only screen and (max-width: 768px){ /* スマホ */
  .single section .pre-next li a {
    flex-direction: column;
  }
  .single section .pre-next li a p {
    width: 100%;
    margin: 0;
  }
  .single section .pre-next li a div {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .single section .pre-next li.prevPost a {
    padding: 1em 1em 1em 1.5em;
  }
  .single section .pre-next li.nextPost a {
    padding: 1em 1.5em 1em 1em;
  }
  .single section .pre-next li.nextPost a div {
    order: 1;
  }
  .single section .pre-next li.nextPost a p {
    order: 2;
  }
  .single section .pre-next li a:before {
    top: 50px !important;
    transform: translateY(0) rotate(-45deg) !important;
  }
  .single section .pre-next li a:after {
    top: 50px !important;
    transform: translateY(0) rotate(45deg) !important;
  }
}


/*---------------------------------------------------------------------------
  ページネーション
----------------------------------------------------------------------------*/
div.pagination {
  clear:both;
  padding: 0.5rem;
  position:relative;
  background:none;
  margin:10px 0 20px;
  vertical-align: middle;
  display: flex;
  justify-content: flex-end;
}
div.pagination span, .pagination a {
  display:block;
  float:left ;
  margin: 2px 2px 2px 0 ;
  padding:6px 9px 5px 9px ;
  text-decoration:none;
  width: initial !important;
  height: initial !important;
  color:#fff ;
  background: #666 ;
}
div.pagination a:hover{
  color:#fff ;
  background: #fdcd1a;
}
div.pagination .current{
  padding:6px 9px 5px 9px ;
  background: #3b9476;
  color:#fff ;
}







