@charset "utf-8";
/*
Theme Name: pardc
*/
.t_contact {
  margin-top: 0;
}
.top-blog-content *, .top-blog-content *:before, .top-blog-content *:after, .blog-contnet *, .blog-contnet *:before, .blog-contnet *:after {
  box-sizing: border-box;
}
.top-blog-content {
  background-color: #f9f9f9;
  padding-bottom: 64px;
  padding-top: 40px;
}
.top-blog-content-inner {
  max-width: 1088px;
  width: calc(100% - 32px);
  margin: 0 auto;
}
.recent-category-container{
  display: flex;
  flex-direction: column;
}
.recent-posts-title, .recent-category-title {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(to right, rgba(48,167,207,1) 0%,rgba(96,195,204,1) 100%);
  width: calc(100vw - 18px);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 24px;
  margin-bottom: 24px;
}
.recent-posts {
  margin-bottom: 40px;
}
.recent-post a {
  display: block;
  text-decoration: none;
  background-color: #fff;
  border-bottom: 1px dotted #aaa;
  padding: 16px;
  overflow: auto;
}
.recent-post:last-of-type a {
  border: none;
}
.recent-posts .recent-post-title {
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
  border-bottom: 1px dotted #ddd;
  overflow: hidden;
  margin: 0 0 16px;
}
p.recent-post-date {
  font-size: 12px;
  text-align: right;
  line-height: 1;
  margin-bottom: 8px;
}
.recent-posts .recent-post-portion {
  margin-bottom: 0;
}
.recent-post-portion span {
  color: #006c78;
}
.recent-posts .post-thumbnail-c {
  display: block;
  width: 150px;
  height: 150px;
  position: relative;
  float: left;
  margin-right: 24px;
  overflow: hidden;
}
.post-thumbnail-c .post-thumbnail{
  position: absolute;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 134%;
}
.recent-category:not(:nth-child(1)) {
    margin-bottom: 40px;
}
.recent-category:nth-child(1){
  order:5;
}
.recent-category:nth-child(1) .recent-category-title{
  background: #6fbddc;
}
.recent-category:nth-child(2){
  order:1;  
}
.recent-category:nth-child(2) .recent-category-title{
  background: #1661aa;
}
.recent-category:nth-child(3){
  order:2;
}
.recent-category:nth-child(3) .recent-category-title{
  background: #259daa;
}
.recent-category:nth-child(4){
  order:3;
}
.recent-category:nth-child(4) .recent-category-title{
  background: #ba915a;
}
.recent-category:nth-child(5){
  order:4;
}
.recent-category:nth-child(5) .recent-category-title{
  background: #259daa;
}
.recent-category-c {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.recent-category-i {
  background-color: #fff;
  flex: 0 0 auto;
  width: calc((100% - 48px) / 4);
  margin: 0 16px 16px 0;
}
.recent-category-i:nth-of-type(4n) {
  margin-right: 0;
}
.recent-category-i a {
  display: block;
  padding: 16px;
  text-decoration: none;
  overflow: auto;
}
.recent-category-i .post-thumbnail-c {
  display: block;
  width: auto;
  height: 0;
  padding-top: 100%;
  margin: 0 auto 16px;
  position: relative;
  overflow: hidden;
}
p.recent-category-post-title {
  line-height: 1.4;
}
.recent-category-link a {
    background-color: #555;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    padding: 16px;
    margin: 0 auto 16px;
    display: block;
}


#mvbox {
  background-image: url('./images/blog00.jpg');
  background-size: cover;
  background-position: center;
  width: 100vw;
  height: 420px;
  position: relative;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
#mvbox h1 {
  max-width: calc(100% - 32px);
  top: 50%;
  text-shadow: 0px 0px 4px #fff, 0px 0px 4px #fff, 0px 0px 4px #fff, 0px 0px 4px #fff, 0px 0px 4px #fff, 0px 0px 4px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff, 0px 0px 8px #fff;
}
.blog-content {
  padding-bottom: 64px;
}
.blog-content-inner {
  max-width: 1088px;
  width: calc(100% - 32px);
  margin: 0 auto;
}
.blog-content-inner *:first-child {
  margin-top: 0;
}
.blog-content *, .blog-content *:before, .blog-content *:after {
  box-sizing: border-box;
}
.blog-content p {
  margin-bottom: 1em;
}
.blog-content strong {
  font-weight: bold;
}
.blog-content em {
  font-style: italic;
}
.blog-content a {
  color: #0084ce;
  text-decoration: underline;
}
.blog-content .wp-block-image {
  margin-top: 24px;
  margin-bottom: 24px;
}
.blog-content img {
  max-width: 100%;
  height: auto;
}
.blog-content h2, .blog-content h3, .blog-content h4 {
  color: #123d51;
  font-weight: bold;
  font-family: Georgia, 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
  margin: 32px 0;
}
.blog-content h2 {
  font-size: 26px;
  padding: 14px 32px;
  background-image: url(/images/oktab15.svg);
}
.blog-content h3 {
  font-size: 24px;
  display: flex;
  justify-content: flex-start;
  border-bottom: 1px solid #eee;
}
.blog-content h3:before {
  content: "";
  background-image:  url(/images/oktab15.svg);
  width: 16px;
  flex: 0 0 auto;
  margin-right: 16px;
}
.blog-content h4 {
  font-size: 22px;
  padding-left: 16px;
  border-bottom: 1px solid #eee;
}
.blog-content ul, .blog-content ol {
  margin-bottom: 24px;
}
.blog-content li {
  display: flex;
  justify-content: flex-start;
  line-height: 1.4;
  padding-bottom: 8px;
  border-bottom: 1px dotted #aaa;
  margin-bottom: 16px;
}
.blog-content li:before {
  content: "";
  display: inline-block;
  background-image: url('/images/painless1.svg');
  background-size: cover;
  width: 24px;
  height: 20px;
  flex: 0 0 auto;
  margin-right: 16px;
}
.blog-content ol {
  counter-reset: counter-ol;
}
.blog-content ol li {
  counter-increment: counter-ol;
}
.blog-content ol li:before {
  content: counter(counter-ol);
  background-image: none;
  background-color: #0083ce;
  color: #fff;
  font-size: .8em;
  text-align: center;
  line-height: 1;
  min-width: 1.5em;
  height: 22px;
  padding: 6px 4px 4px;
}

@media screen and (max-width: 1160px) {
.recent-posts-title, .recent-category-title{
    width: 100%;
}
}
@media screen and (max-width: 767px) {
.top-blog-content{
    padding-top: 24px;
}
#mv {
  margin-bottom: 24px;
}
#mvbox {
  height: 170px;
}
#mvbox h1 {
  font-size: 24px;
  letter-spacing: 0;
  top: 50%;
}
#mvbox h1 span {
  font-size: 0.6em;
}
.blog-content h2, .blog-content h3, .blog-content h4 {
  margin-bottom: 24px;
}
.blog-content h2 {
  font-size: 22px;
  padding: 8px 16px;
}
.blog-content h3 {
  font-size: 20px;
  margin-right: 8px;
}
.blog-content h4 {
  font-size: 18px;
  padding-left: 8px;
}
.blog-content .wp-block-image {
  overflow: hidden;
}
.recent-posts {
  max-width: 500px;
  margin: 0 auto 40px;
}
.recent-posts .post-thumbnail-c {
  float: none;
  margin: 0 auto 24px;
}
.recent-category-c {
  display: grid;
  justify-content: center;
  grid-gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  max-width: 500px;
  margin: 0 auto 16px;
}
.recent-category-i, .recent-category-i:nth-of-type(4n) {
  width: auto;
  margin: 0;
}
}
@media screen and (max-width: 375px) {
.post-thumbnail-c .post-thumbnail{
    max-width: 80%;
    min-width: 80%;
    min-height: auto;
}
}
