/*
theme name: Masayoshi Itou website
Author: Masayoshi Itou
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%;
}

body {
    width: 80%;
    margin: 0 auto;
}


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

.header {
    height: 50px;
}

#logo-sp {
   display: none;
}

.header-box {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    width: 70px;
    margin: 0 0 0 3rem;
}

nav a {
    text-decoration: none;
    font-family: "Rock Salt";
    color: black;
    font-size: 18px;
    font-size: 1.8rem;
}

span {
    color: blue;
}

nav a:hover{
    font-size: 25px;
    font-size: 2.5rem;
    }
    
.top-title-none {
    display: none;
}

#logo img {
   width: 150px;
   height: auto;
}

#logo {
   margin-top: 20px;
}
    
    
/*
footer==============================
*/

footer {
    text-align: center;
    height: 50px;
}

.footer {
    margin-top: 30px;
}

small {
    color: blue;
    font-family: "Rock Salt";
    font-size: 7px;
    font-size: 0.7rem;
    margin-left: auto;
    margin-right: auto;
    }


/*
top-main=============================
*/

.top-container {
    text-align: center;
    width: 100%;
    font-family: "Rock Salt";
    height: 300px;
}

.top-title {
    margin-top: 130px;
}

.top-title h1 {
    color: blue;
    font-size: 70px;
    font-size: 7.0rem;
    height: 100px;
    }

.top-title h2 {
    color: black;
    font-size: 40px;
    font-size: 4.0rem;
    height: 10px;
    }
    
.roop-box {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 90px;
}

.blog-box {
    width: 50%;
    text-align: center;
    margin-top: 70px; 
}

.news-list {
    text-align: left;
    padding-left: 20px;
}

.news-list li {
    list-style: none;
    font-size: 15px;
    font-size: 1.5rem;
    display: flex;
}

.news-list li a {
    width: 100%;
    display: inline-block;
    margin-left: 5px;
}


.section-title {
    font-family: "Rock Salt";
    font-size: 19px;
    font-size: 1.9rem;
}


/*
about============================================
*/

.page-title-page-about {
    font-family: "Rock Salt";
    margin-left: 35px;
    margin-top: 0;
    font-size: 50px;
    font-size: 5.0rem;
}

.profile-icon {
    width: 415px;
    height: 415px;
    margin-left: 100px;
    margin-top: 40px;
    border-radius: 50%;
}

.about-box{
    width: 80%;
    display: flex;
    margin-top: 0;
    margin-bottom: 50px;
}

.profile-photo {
    text-align: center;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.about-text h2 {
    font-family: "Noto+Sans";
    font-size: 19px;
    font-size: 1.9rem;
    font-weight: normal;
    width: 500px;
    }

.about-text p {
    font-family: "Noto+Sans";
    /*width: 100%;*/
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 25px;
    text-align: left;
    width: 500px;
    }

.about-text {
    margin-left: 100px;
    margin-top: 50px;
}


/*
works & hobby===================================
*/

.page-navi {
    width: 83%;
    font-size: 15px;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    margin-left: 117px;
    height: 50px;
}

.page-navi-hobby {
    width: 83%;
    font-size: 15px;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    height: 50px;
    margin-left: 9px;
}


.page-navi-single {
    margin-top: 100px;
    width: 92%;
    font-size: 15px;
    font-size: 1.5rem;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    height: 50px;
    border-top: 1px solid black;
}

.page-navi-php {
    margin-top: 15px;
}

.blog-title-article {
    font-family: "Noto+Sans";
    font-weight: normal;
    font-size: 25px;
    font-size: 2.5rem;
    text-align: center;
}

.blog-title-article-single {
    font-family: "Noto+Sans";
    font-weight: normal;
    font-size: 25px;
    font-size: 2.5rem;
    text-align: center;
}

.blog-title-top-single {
   font-family: "Noto+Sans";
    font-weight: normal;
    font-size: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.blog-flex {
   display: flex;
   flex-wrap: wrap;
   margin-top: 100px;
}


.blog-title-top {
    font-size: 15px;
    font-size: 1.5rem;
    text-align: left;
    height: 50px;
    margin-left: 5px;
    margin-right: 5px;
}

.blog-container {
    margin-top: 80px;
    margin: 0 auto;
}

.img {
    border: 1px solid black;
    width: 600px;
    margin: 0 auto;
}


.img img {
    width: 600px;
    height: auto;
    margin-top: 10px;
}

.img-hobby  {
    text-align: center;
    border-top: 1px solid black;
}

.img-hobby img {
    width: 230px;
    height: auto; 
}

.hobby-p {
    margin-left: 0;
    font-size: 15px;
    font-size: 1.5rem;
}

.hobby-span {
    font-size: 35px;
    font-size: 3.5rem;
    color: blue;
    display: inline-block;
}

.blog-body {
    text-align: center;
    font-size: 15px;
    font-size: 1.5rem;
}

.blog-body p {
    width: 92%;
    margin: 1em auto;
}

.blog-body img:hover {
   opacity: 0.5;
}

.img:hover {
  opacity: 0.5;
}

.img-hobby:hover {
  opacity: 0.5;
}

.date {
    font-size: 15px;
    font-size: 1.5rem;
    text-align: right;
    width: 81%;
}

.date-hobby {
    font-size: 15px;
    font-size: 1.5rem;
    text-align: right;
    width: 98%;
}


.date-single{
    font-size: 15px;
    font-size: 1.5rem;
    text-align: right;
    width: 97%;
}

.blog-footer {
    border-bottom: 2px solid black;
    margin-top: 20px;
    height: 50px;
}




.wp-pagenavi {
    margin-top: 30px;
}

.blog-wrap-archive {
    text-align: center;
    margin: 0 auto;
}

.blog-wrap {
   width: 100%;
}


.blog-box-box {
    margin-top: 100px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.blog-box-box-hobby {
   width: 31%;
   margin-left: 10px;
   margin-right: 10px;
   margin-top: 10px;
   border: 1px solid black;
}


.page-title-page {
    font-family: "Rock Salt";
    margin-bottom: 80px;
    margin-top: 0;
    margin-left: 35px;
    font-size: 50px;
    font-size: 5.0rem;
}

.blog-box-h2 {
    font-size: 20px;
    font-size: 2.0rem;
    text-align: left;
    height: 50px;
    margin-left: 5px;
    margin-right: 5px;
}

.blog-box-h2-works {
    font-size: 20px;
    font-size: 2.0rem;
    text-align: center;
    height: 50px;
}


#content {
    display: flex;
    justify-content: space-between;
}

article {
    width: 100%;
}

.wp-block-image{
    border: 1px solid black;
}

.comment-box {
   margin-left: auto;
   margin-right: auto;
   margin-top: 100px;
   width: 340px;
   font-size: 15px;
   font-size: 1.5rem;
}


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

aside {
    width: 15%;
    margin-top: 200px;
}

#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;
}


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

#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;
}

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

.page-404 {
    margin-top: 200px;
    font-family: "Rock Salt";
    color: blue;
    font-size: 30px;
    font-size: 3.0rem;
    height: 100px;
}


/*
contact=====================================
*/

.contact-body {
    margin-top: 100px;
    margin-bottom: 140px;
    text-align: center;
}

.contact-body p {
    font-size: 15px;
    font-size: 1.5rem;
    width: 500px;
}

.contact-box {
    text-align: left;
    margin: 0 auto;
    width: 340px;
}

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

.index-p {
    font-size: 25px;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 250px;
    margin-bottom: 320px;
}

.nav-button {
  display: none; 
}

.sp-nav {
  display: none; 
}



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

@media(max-width: 768px)
{

#logo-sp img {
   width: 150px;
   height: auto;
}

#logo-sp {
   display: block;
   margin-top: 20px;
}



body {
    width: 90%;
    margin: 0 auto;
}

.header-box {
   display: none;
}

.page-title-page {
   font-size: 25px;
   font-size: 2.5rem;
   margin-left: 0;
}

.page-title-page-about {
   font-size: 25px;
   font-size: 2.5rem;
   margin-left: 0;
}


.top-title h1 {
   font-size: 30px;
   font-size: 3.0rem;
   height: 40px;
}

.top-container {
   height: 200px;
}

.top-title h2 {
   font-size: 20px;
   font-size: 2.0rem;
}

.roop-box {
   display: block;
}

.blog-box {
   width: 100%;
}

.news-list {
   padding-left: 0;
}

.news-list li {
   width: 350px;
   margin: 0 auto;
}

.section-title {
   text-align: center;
   margin: 0;
   width: 100%;
}

.about-main{
   width: 90%;
   margin: 0 auto;
}

.about-box {
   display: block;
   width: 100%;
}

.about-text {
   margin-left: 0;
}

.about-text p {
   width: 100%;
   margin-top: 0;
   height: 130px;
}

.about-text h2 {
   margin-bottom: 0;
   margin-top: 65px;
   width: 100%;
}

.profile-icon {
   margin-left: 0;
   width: 250px;
   height: 250px;
}

aside {
   display: none;
}

article {
   width: 100%;
}

.blog-box-box {
   margin-left: 0;
   width: 100%;
}

.blog-box-h2 {
   text-align: left;
   font-size: 20px;
   font-size: 2.0rem;
   margin-left: 5px;
}

.img img {
   width: 100%;
}

.img-hobby img {
   width: 100%;
}

.hobby-p {
   margin-left: 0;
}

.blog-title-top {
   text-align: left;
   margin-left: 5px;
}



.contact-body p {
   width: 90%;
   margin: 0 auto;
   margin-top: 25px;
}

.contact-body {
   text-align: center;
}

.contact-box {
   width: 340px;
}

.blog-flex {
   display: block;
}

.blog-box-box-hobby {
   width: 95%;
}

.wp-block-image img {
   height: auto;
}

.img {
   width: 100%;
}

.page-navi {
   margin-left: 0;
}

.date {
   width: 40%;
   text-align: left;
}

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

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

/*
ハンバーガーメニュー=============================
=================================================
=================================================
=================================================
*/

.nav-button {
   display: block;
   font-size: 3.0rem;
   cursor: pointer;
}

.fas fa-bars {
   margin: 0 auto;
}

.sp-nav {
   display: none;
   width: 90%;
   position: absolute;
   z-index: 1000;
   height: 50rem;
   opacity: 0.9;
   box-sizing: border-box;
   background-color: white;
}

.sp-nav-list li {
   display: block;
   height: 70px;
}

nav ul {
   display: block;
   padding-left: 0;
}

nav li {
   margin: 0 auto;
}

nav a {
   font-size: 25px;
   font-size: 2.5rem;
}

.nav-footer {
   margin-top: 90px;
   text-align: center;
}

.nav-box {
   text-align: left;
   display: flex;
   justify-content: space-between;
   width: 99%;
}





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




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