/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}
body{
    background: #f9f9f9;
    font-family: 'Cairo', sans-serif;
}
/*style-class*/
.grey{color:#ccc;}
span.small{font-size: .8em;}
span.big{font-size: 1.2em;}
.ml1{margin-left: 1em;}
.mt1{margin-top: 1em;}
.mt2{margin-top: 2em;}
i.fas{padding-right: .5em;}
/*style-class-end*/

header{
    font-family: 'Cairo', sans-serif;
    font-size: 11vw;
    text-align: center;
    margin: 10px auto;
}
a{
    color: #000;
}
main{
    position: relative;
}
.category{
    display: block;
    position: sticky;
    top: 0;
    left: 0;
    z-index: -1;
    font-size: 2em;
    color: rgba(0,0,0,.1);
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 500;
    font-style: italic;
    background: #f9f9f9;
}
.box , .one-box{
    border:solid 1px #ddd;
    width: 96%;
    margin: auto;
    background: #fff;
    box-shadow: 0 0 5px rgba(0,0,0,.1);
    margin-bottom: 15px;
    transition: all .3s;
    top: 0;
    left: 0;
}
.box:hover{
    box-shadow: 2px 2px 5px rgba(0,0,0,.1);
    position: relative;
    top: -2px;
    left: -2px;
}
.box-no{
    border:none;
    box-shadow: none;
    background: none;
}
.box-no:hover{ 
    box-shadow: none;
}
.one-box{
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 300;
}
p.about{
    font-size: 16px;
}
.profile .caption{
    margin:10px 0 0;
    font-size: 20px;
    font-weight: 500;
}
.profile .name{
    font-size: 28px;
    border-bottom: none;
}

.view img{
    width: 100vw;
    object-fit: cover;
    object-position: top;
}
.name{
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 300;
    font-size: 7vw;
    border-bottom: 1px dashed #777;
}
.name .data{
    font-size: 5vw;
}
.name.long-name{
    font-size: 6vw;
}
.detalis{
    padding: 2%;
}
.detalis p{
    margin-top: 10px;
    font-size: 4vw;
}
ul{
    list-style: none;
    padding-left: 5px;;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}
ul li a{
    color: #666;
}
ul li.active{
    color: #333;
    font-weight: 400;
}
.box{
    filter: grayscale(50%);
}
.box:hover{
    filter: grayscale(0%);
}
nav{
    text-align: center;
}
nav li{
    display: inline-block;
    padding:0 10px;
}
.update{
    text-align: center;
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 300;
    font-size: 13px;
    padding: 20px 0;
}
.update .dot{
    padding-bottom: 2px;
    border-bottom: 2px #ccc dotted;
}
.update .saisyu{
    font-weight: 500;
}
.update .recent{
    font-weight: 400;
}
@media screen and (min-width:641px){
main section{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: auto;
}
header{
    font-size: 6vw;
}
.box{
    width: 550px;
    margin: auto auto 15px;
    display: grid;
    grid-template-columns:200px 200px;
    grid-template-rows:100px 200px;
}
.one-box{
    width:900px;
    padding: 1em 2em;
}
.view_back{
    grid-row-start: 1;
    grid-row-end: 3;
    display: grid;
}
.view{
    grid-row-start: 1;
    grid-row-end: 3;
}
.view img{
    height: 100%;
    max-height: 300px;
    width: 100%;
}
.name{
    font-size: 24px;
    grid-column-start: 1;
    grid-column-end: 3;
}
.name.long-name{
    font-size: 22px;
}
.name .data{
    font-size: 17px;
}
.detalis{
    grid-column-start: 2;
    grid-column-end: 4;
}
.detalis p{
    font-size: 16px;
}
.category{
    font-size: 7vw;
}
}
@media screen and (min-width:1024px) {
main section{
    width: 1130px;
    margin: auto;
}
header{
    font-size: 80px;
}
}
/* @media (prefers-color-scheme: dark) {
body {
background-color: #222;
color: #fff;
}
main{
    border:solid 1px #aaa;
}
} */

/*work*/
.block{
    display: block;
    position: static;
}
.work{
    padding: 4px;
}
.work h3{
    font-family: 'M PLUS 1p', sans-serif;
    font-style: italic;
    font-size: 1.3em;
    font-weight: 700;
    color: #777;
}
.work h4{
    font-family: 'M PLUS 1p', sans-serif;
    font-size:1em ;
    color: #999;
    font-weight: 500;
    padding-top: 1em;
}
.icon{
    margin: 2px 2px;
}
.icon.r18{
    border: 1px solid rgba(100, 0, 0, .5);
}
.flex{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.icon_img{
    width: 32px;
    height: 32px;
    object-fit:cover;
}
@media screen and (min-width:641px){
.work h3{
    font-size: 2.5vw;
}
.work h4{
    font-size: 1.5vw;
}
}