@charset "UTF-8";
/* CSS Document */

html,
html {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}
body {
    font-family: "Helvetica" ,'Century Gothic','ヒラギノ角ゴ ProN W3','Hiragino Kaku Gothic ProN', "游ゴシック", 'Yu Gothic', "游ゴシック体", "YuGothic", "メイリオ", "Meiryo",sans-self;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    background-color: #FFFFFF;
}
header {
    position: fixed;
    margin: 0;
    height: 120px;
    width: 100%;
    max-width: 1024px;
    background-color: #FFFFFF;
}
main{

    
}
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

a {
    font-size: 1em;
    font-weight: 200;
    color : #505050;
    /*text-decoration : none;*//*リンクの下線を消さない*/
}
a:visited {
    color : #505050;
}
a:hover {
    cursor: pointer;
    color : #FF0033;
}

h1 {/*Sign Fumiko Nakajima*/
    position: absolute;
    font-size: 1.2em;
    font-weight: 400;
    color: #FF0033;
    padding: 0;
    margin-top: 10;
}
h2 {/*Profile page 中島史子（なかじまふみこ）*/
    font-size: 1.5em;
    font-weight: 400;
    color: #707070;
    margin: 0px;
}
h3 {/*article title*/
    margin: 50px 0px 0px 0px;
    font-size: 1.5em;
    font-weight: 400;
    color: #707070;
    text-align: center;
}
h4 {/*page title　幅410px未満で表示*/
    margin: 50px 0px 0px 0px;
    font-size: 1.25em;
    font-weight: 400;
    color: #707070;
    text-align: center;
}
h5 {/*What's New*/
    font-size: 1.5em;
    font-weight: 400;
    color: #707070;
}
p {
    font-size: 1em;
    font-weight: 300;
    color: #505050;
    margin-bottom: 0px;
}
footer {
    margin: 10px;
    padding: 0px;
    clear:both;
}
.sign{
    padding: inherit;
    margin: 10px;
    width: 300px;
}
.name{
    margin-top: -30px;
    padding-left: 40px;
}
.top-image {
    margin: 0 auto;
    padding-top: 100px;
    text-align: center;
    width: 360px;
}

.title{
    margin-bottom: 0px;
    padding-left: 10px;
}
.background-box{
    background-color: #FFFFFF;
    height: auto;
}
.works-box{
    background-color: #ffffff;
    height: auto;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: left;
}
.profile-box{
    height: auto;
    margin-top: 50px;
    margin-bottom: 10px;
    padding: 10px;
    text-align: left;
}
.profile-content {
    height: auto;
    padding-left: 10px;
    padding-bottom: 10px;
}
.links-box {
    margin-top: 10px;
    padding: 40px 0px;
    text-align: center;
}
.contact-box {
    margin-top: 50px;
    padding: 30px 0px 50px;
    text-align: center;
}

/************ここからWhat's Newの記事************/
.whatsnew {
    object-fit: contain; 
}
/*↑gridの中の画像にも使用*/
.whatsnew-content {
    background-color: #FFFFFF;
    display: block;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
    float: left;
}
.whatsnew-image {
    padding: 10px 20px 10px 10px;
    width: 25%;
    float: left;    
}
.whatsnew-article {
    height: 80px;
    overflow: auto;
}
hr {
    border-top: 1px solid #d6d6d6;
}
/************ここまでWhat's Newの記事************/

/*Worksの記事をタイルレイアウトで配置*/
.grid {
    display: grid;
    gap: 0px;
    justify-items: center;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
/*▲このエラーは無視してください。CSSバリアブルに対応していないためにDreamweaverではエラー表示されているだけです*/
}
.grid2 {
    display: grid;
    gap: 0px;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
/*▲このエラーは無視してください。CSSバリアブルに対応していないためにDreamweaverではエラー表示されているだけです*/
}
.item {
    border-radius: 2px;
    padding: 15px;
    text-align: center;

}
/***********ここからExhibitionの記事***********/
.exhibition-content {
    background-color: #FFFFFF;
    display: block;
    height: auto;
    width: 100%;
    margin-bottom: 20px;
    float: left;
}
.exhibition-image {
    padding: 10px 20px 10px 10px;
    width: 40%;
    float: left;    
}
.exhibition-article {
    height: 140px;
    padding:10px;
    overflow: auto;
}
/***********ここまでExhibitionの記事************/

.p-footer-text {
    font-size: 1em;
    font-weight: 200;
    color: #505050;
    margin: 20px;
    text-align: center;
    clear: both;
}

/* --------------------------------------------------
  ここからタブレット用* 幅410px以上のスタイル指定 ここから
-------------------------------------------------- */
@media (min-width: 410px){
        
body {
    max-width: 780px;
}
.whatsnew-image {
    width: 30%;    
}
.whatsnew-article {
    height: 200px;
}
}

/* --------------------------------------------------
  ここからデスクトップ用 幅780px以上のスタイル指定 ここから
-------------------------------------------------- */
@media (min-width: 780px){
body {
    max-width: 1024px;
}
header{
    height: 130px;
}

h1 {/*Sign Fumiko Nakajima*/
    padding: 0px;
    margin-top: 10px;
}
/*▼デスクトップでは表示されません。代わりにメインナビゲーションが太字で表示されます*/
h4 {/*Page title*/
    display: none;
}
.top-image {
    width: 500px;
    padding-top: 140px;
}

.whatsnew-image {
    width: 35%;    
}
.whatsnew-article {
    height: 240px;
}
.photo-credit {
  color: rgba(0, 0, 0, 0.75);
  font-size: 12px;
}
}