/*
theme name: programmer-blog
Author: mm-poison
Description: 素人プログラマーのブログ
Version: 1.0
*/


@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&family=Yusei+Magic&display=Noto+Sans+JP:wght@300&display=swap');



html {
    font-size: 62.5%;
}


/*
header==========================================
*/

.header-box {
   width: 80%;
   margin-left: auto;
   margin-right: auto;
}

#header-img img {
   width: 100%;
}

#header-img {
   position: relative;
}

.header-text {
   position: absolute;
   top: 20%;
   left: 41%;
   transform: translate(-50%,-50%);
   color: white;
}

.header-text h1 {
   font-size: 50px;
   font-size: 5.0rem;
}

.breadcrumbs {
   font-size: 15px;
   font-size: 1.5rem;
   margin-top: 10px;
}

#header-img-sp {
   display: none;
}
   
    
/*
footer==============================
*/

footer {
    justify-content: center;
    height: 50px;
    display: flex;
    align-items: center;
}

.footer {
    margin-top: 30px;
}

small {
    
    
    font-size: 7px;
    font-size: 0.7rem;
    margin-left: auto;
    margin-right: auto;
    }


/*
page=============================
*/

article {
   width: 80%;
}

.page-box {
   display: flex;
   justify-content: space-between;
   margin-top: 50px;
}

.blog-box ul {
   list-style: none;
   padding-left: 0;
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
}

.blog-list a {
   text-decoration: none;
   color: black;
   font-size: 15px;
   font-size: 1.5rem;
   font-weight: bold;
}

.blog-list .date {
   font-size: 15px;
   font-size: 1.5rem;
}

.blog-list a:hover {
   color: gray;
}

.section-title {
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
   font-size: 20px;
   font-size: 2.0rem;
}

.center {
   border: 1px solid black;
   text-align: center;
   width: 20%;
   margin-left: auto;
   margin-right: auto;
   height: 50px;
   border-radius: 2rem;
   margin-top: 50px;
}

.center a {
   text-decoration: none;
   font-size: 15px;
   font-size: 1.5rem;
   display: inline-block;
   width: 100%;
   height: 50px;
   color: black;
   border-radius: 2rem;
}

.center a:hover {
   background-color: gray;
   color: white;
   transition: .5s;
}

.blog-box {
   font-size: 15px;
   font-size: 1.5rem;
}

.page-text {
   width: 90%;
}

.span-title {
   font-size: 15px;
   font-size: 1.5rem;
   margin-left: 20px;
   display: inline-block;
   animation-iteration-count: infinite;
   font-weight: normal;
   position: absolute;
   width: 135px;
   top: -7px;
   left: 550px;
}

section {
   position: relative;
}

.new-blog {
   margin-top: 100px;
}

.ad {
   text-align: center;
   margin-top: 100px;
   margin-bottom: 100px;
}

#ad-box {
   display: flex;
}

.ad-tech {
   width: 50%;
}

.first-blog h2 {
   font-size: 15px;
}

.first-blog {
   margin-top: 100px;
}

.first-blog a {
   text-decoration: none;
}

figcaption {
   font-size: 15px;
   font-size: 1.5rem;
   color: green;
}


/*
single======================================================================================================
*/

#content {  
   display: flex;  /*共通*/
   margin-top: 50px;
   width: 80%;
   justify-content: center;
   margin-left: auto;
   margin-right: auto;
}

.comment-box {
   margin-top: 100px;
}

#respond {
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
}

#content-single {
    margin-top: 80px;
}

.page-navi-top p {
   font-size: 15px;
   font-size: 1.5rem;
}

.page-navi-php {
   font-size: 15px;
   font-size: 1.5rem;
}

.date-single {
   font-size: 15px;
   font-size: 1.5rem;
}

.comment-p {
   width: fit-content;
   margin-left: auto;
   margin-right: auto;
}

.page-navi-single {
   border-top: 1px solid black;
   width: 95%;
}

.blog-body p {
   font-size: 15px;
   font-size: 1.5rem;
}

.blog-body p {
   margin-top: 50px;
   margin-bottom: 50px;
}

.blog-container h2 {
   font-size: 20px;
   font-size: 2.0rem;
}

.blog-body img {
   width: 100%;
   height: auto;
}

code {
   font-size: 15px;
   font-size: 1.5rem;
   color: blue;
}

#respond {
   font-size: 15px;
   font-size: 1.5rem;
}

.wp-block-image {
   width: 80%;
   height: auto;
}

.single-title {
   font-size: 50px;
   font-size: 5.0rem;
   font-weight: bold;
}


/*
ウィジェット=====================================================
*/

aside {
    width: 15%;
}

#wp-calendar {
    width: 100%;
    height: auto;
}

.widget table thead th,
.widget table tbody td {
  border: 1px #cccccc solid;
  text-align: center;
}

.widget h3 {
  border-left:5px #cccccc solid;
  border-bottom:1px #cccccc solid;
  padding-left:10px;
  font-size: 12px;
  font-size: 1.2rem;
}

caption {
    font-size: 10px;
    font-size: 1.0rem
}

.wp-calendar-nav-prev a {
    font-family: normal;
}

.side-ad img {
   width: 100%;
}

/*
404======================================
*/

#content-404 {
   display: flex;
}


/*
index==================================
*/

.blog-box-index {
   display: flex;
   align-items: center;
}

.blog-box-h2 {
   margin-top: 0;
   margin-bottom: 0;
   margin-left: 10px;
   font-size: 15px;
   font-size: 1.5rem;
}

.blog-box-h2 a {
   text-decoration: none;
   color: black;
}

.blog-box-h2 a:hover {
   color: gray;
}

.date-index {
   font-size: 15px;
   font-size: 1.5rem;
}

.page-navi {
   margin-top: 50px;
   border-top: 1px solid;
   width: 95%;
}

.wp-pagenavi {
   padding-top: 20px;
}

/*
レスポンシブ=======================================
====================================================
====================================================
===================================================
*/

@media(max-width: 376px)
{

.header {
   width: 90%;
   margin-left: auto;
   margin-right: auto;
}

.header-box {
   width: 100%;
}

#header-img-sp img {
   width: 100%;
}

#header-img-sp {
   display: block;
   width: 100%;
}

#header-img {
   display: none;
}

article {
   margin-left: auto;
   margin-right: auto;
   width: 100%;
}

#content {
   display: block;
   width: 90%;
}

.page-text {
   width: 100%;
}

.span-title {
   left: 70px;
   top: 45px;
}

.center {
   width: 100%;
}

.header-text {
   width: 90%;
   left: 57%;
   top: 39%;
}

.header-text h1 {
   font-size: 17px;
   font-size: 1.7rem;
   width: 88%;
}

aside {
   display: none;
}

.blog-box ul {
   width: 100%;
   margin-top: 50px;
}

.blog-flex {
   width: 90%;
}

.comment-box {
   margin-top: 50px;
}

#comment {
   width: 80%;
}

#ad-box {
   display: block;
}

.blog-box-index {
   margin-bottom: 20px;
}

.blog-list li {
   display: flex;
   margin-bottom: 20px;
}

.blog-list .date {
   margin-right: 10px;
}

.page-navi {
   font-size: 15px;
   font-size: 1.5rem;
}

.comment-form-comment {
   font-size: 15px;
   font-size: 1.5rem;
}

.comment-p {
   font-size: 15px;
   font-size: 1.5rem;
}

#respond {
   font-size: 15px;
   font-size: 1.5rem;
}

small {
   font-size: 12px;
   font-size: 1.2rem;
}

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


}/*レスポンシブかっこ閉じ*/




/* Only this element will take half the time to finish */
.my-element {
  --animate-duration: 5s;
}