/*
Theme Name: webworks
Version: 1.6
Template: miyazaki
*/
body{
	background: #f7f5f3!important;
    font-family: 'Noto Sans JP', sans-serif!important;
    font-weight: 500!important;
    font-feature-settings: "palt";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}
.bg_white{
    background: #ffffff;
}
main#site-content {
    margin-top: 100px;
}
h1.front-title.site-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    margin: 0 auto;
    text-align: center;
    font-size: 32px;
}
.link_cont_box {
    font-family: 'Noto Sans JP';
}
.link_cont_box h2 {
    font-size: 2rem;
}
p.ec_list {
    line-height: 3.8rem;
    font-size: 1.7rem;
}
.img_cont_box {
    font-family: 'Noto Sans JP';
    text-align: center;
}
p.img_cont_lead {
    text-align: center;
}
p.img_cont_photo {
    max-width: 800px;
    margin: 0 auto 6rem auto!important;
}

.header-right {
    display: none;
}
.has-front-header .front-title-wrapper {
    position: unset!important;
}
h3.preview-title {
    text-align: center;
    font-size: 18px;
    margin-top: 0;
    padding-top: 26px;
    padding-bottom: 14px;
    font-weight: 500;
}
.footer-credits {
    text-align: center!important;
    margin: 0 auto;
}
.footer-copyright {
    font-family: 'Oswald', sans-serif;
    font-weight: 400!important;
    color: #666666;
    font-size: 14px!important;
    letter-spacing: 1px;
    margin: 0;
    text-align: center!important;
}
#site-header .section-inner {
    justify-content: center!important;
}
.header-left {
    margin-right: 0!important;
}
.site-title {
	font-family: 'Oswald', sans-serif;
    font-weight: 400!important;
	font-size: 32px!important;
}
p.site-title a {
    padding: 40px 40px 20px;
}
h1.entry-title {
    font-size: 15px;
    text-align: center;
    letter-spacing: 1px;
    text-indent: 1px;
}
main#site-content.page-cont {
    margin-top: 40px!important;
}
.post-cat {
    text-align: center;
    font-size: 15px;
    margin-bottom: 46px;
}
.works-box {
    text-align: center;
    margin: 0 auto;
}
.works-box p {
    margin-bottom: 0!important;
}
.works-box .pt-5 {
    padding-top: 56px;
}
.works-box p img {
    background: #ffffff;
    text-align: center;
    margin: 0 auto;
}
.post-inner {
    max-width: 100rem!important;
    text-align: center;
    margin: 0 auto;
}
.post-cat-top {
    text-align: center;
}
.post-cat-top a {
    font-size: 15px;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}
.post-cat-top span {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    display: inline-block;
    font-size: 15px;
    margin: 4px 8px 28px;
    color: #797979;
}
.post-cat span {
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    padding: 8px;
    color: #777777;
}
.preview-wrapper {
    position: relative;
}
.preview-wrapper a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
header.entry-header {
    margin: 0rem 0 2rem;
}
.works-box.works-version {
    margin-top: 6rem;
}
span.title {
    font-size: 15px;
}
.link-box {
    font-family: 'Noto Sans JP', sans-serif!important;
    font-weight: 400;
    font-size: 10px;
    margin-bottom: 28px;
}
.entry-content a {
    color: #7b7b7b!important;
}
.works-box.mt-5 {
    margin-top: 36px;
}
.pb-36{
   padding-bottom: 36px;
}
.pt-36{
  padding-top: 36px;  
}
.section-inner {
    width: calc( 100% - 3.6rem )!important;
}
p.site-title a {
    padding: 40px 40px 10px!important;
}
main#site-content {
    margin-top: 36px;
}
.pagination-single .previous-post {
    flex-direction: row-reverse!important;
    text-align: right!important;
}
.pagination-single .next-post {
    flex-direction: unset!important;
    text-align: left!important;
}
.pagination-single .next-post .arrow {
    margin-right: .8rem;
}
.pagination-single .previous-post .arrow {
    margin-left: .8rem;
}

@media (min-width: 600px){
	h3.preview-title {
        font-size: 2vw!important;
        padding-bottom: 12px;
    }
	.entry-header:first-child {
		margin-top: 7rem!important;
		margin-bottom: 5rem;
	}
	h1.entry-title {
		font-size: 3.6vw;
	}
	.post-cat {
		font-size: 3vw;
		margin-bottom: 5rem;
	}
    .entry-header:first-child {
        margin-bottom: 4rem;
    }
    .post-cat span {
        font-size: 20px;
        padding: 6px 12px;
    }
    .link-box {
        font-size: 14px;
        margin-bottom: 40px;
    }
    .works-box.mt-5 {
        margin-top: 48px;
    }
}
@media (min-width: 750px){
.footer-bottom {
    display: block!important;
}
.footer-credits {
    justify-content: center;
}
}

@media (min-width: 1000px){
h1.entry-title {
    font-size: 28px;
}
.entry-header:first-child {
    margin-bottom: 4rem;
}
.post-cat {
    font-size: 25px;
    margin-bottom: 6rem;
}
h3.preview-title {
    padding-bottom: 16px;
}
.post-cat span {
    font-size: 22px;
}
}

@media (min-width: 1020px){
    .header-left {
        display: block!important;
        margin-right: 0!important;
    }
    .site-title, .site-logo {
        margin-right: 0!important;
    }    
}

@media (min-width: 1200px){
    .site-title, .site-logo {
        margin-right: 0!important;
    }
	h3.preview-title {
		font-size: 19px!important;
		padding-bottom: 14px;
	}
.has-front-header .front-title {
    top: 66px;
	font-size: 40px!important;
}
.has-front-header .front-title-wrapper {
    margin-top: 5.4rem!important;
}
.post-cat-top span {
    margin: 4px 8px 28px;
}
}

.list-rakuten a {
    color: #000000 !important;
    font-family: auto;
    font-size: 16px;
}

#popup-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
}

#popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 400px;
  margin: 100px auto;
  position: relative;
  text-align: center;
}

#popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 20px;
}
