@charset "UTF-8";

/*　ページ全体の設定　*/
body {
    margin: 0;
    font-family: sans-serif;
}

/*　「ヘッダー」ブロック　*/
header {
    padding: 25px 15px;
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #a0719f;
}

/*　リンク　*/
a {
	text-decoration: none;  
} 

a:hover {
    opacity: 0.7;
}

/*　ナビゲーションメニュー　*/
nav ul {
    list-style-type: none;
    padding: 0;
    color: #666666;
    font-size: 12px;
    display: flex;
    justify-content: center;
}

nav li:not(:last-child) {
    margin-right: 20px;
}

/*　サブメニュー：注目記事メニュー（トピックス）　*/
.topics ul {
    list-style-type: none;
    padding: 0;
}

.topics a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.topics figure {
    width: 100px;
    flex: none;
}

/*　「コンテンツ」ブロック　*/
.contents {
    background-color: #cc9aaa;
    padding: 40px 15px;
}

.topics img {
    vertical-align: bottom;
}

.topics h3 {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 10px;
}

/*　記事　*/
article {
    background-color: #ffffff;
    padding: 20px;
}

h1 {
    font-size: x-large;
}

p {
    line-height: 2;
}

/*　画像　*/
img {
    width: 100%;
    height: auto;
}

figure {
    margin: 0;
}


/*　記事ページの画像　*/
.picture ul {
    list-style-type: none;
    padding: 0;
}

.picture figure {
    flex: none;
    
}

.picture img {
    vertical-align: bottom;
    display: inline-block;
}

.picture p {
    margin: 0;
    margin-bottom: 30px;
    line-height: 2;
}

/* .picture h3 {
    margin: 0;
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 2;
} */



/*　投稿日　*/
time {
    color: #666666;
    margin-bottom: 0px;
    display: block;
}

.clock ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    margin: 0;
    align-items: center;
}

.clock div {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

.clock p {
    margin: 0;
    margin-right: 5px;
    font-size: 14px;
}

.clock figure {
    width: 20px;
    flex: none;
    margin-right: 10px;
}

/*　訪問者カウンター　*/


/*　サブメニュー　(記事ページ？)*/
aside {
    background-color: #ffffff;
    padding: 20px;
    margin-top: 40px;
}

h2 {
    color: #a0719f;
    font-weight: normal;
    text-align: center;
}

/*　Good Button*/
.GoodButton {
    text-align: center;
    margin-top: 0;
}

.GoodButton .Button {
    height: 30px;
    width: 60px;
    padding-top: 10px;
    outline-style: outset;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/*　関連記事（記事ページの下部）　*/
.RelatedArticles ul {
    list-style-type: none;
    padding: 0;
}

.RelatedArticles a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: darkblue;
}

.RelatedArticles figure {
    width: 80px;
    flex: none;
    margin-right: 10px;
}

/*　参考文献（記事ページの下部）　*/
.References ul {
    list-style-type: none;
    padding: 0;
}

.References a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: darkblue;
}

.References figure {
    width: 20px;
    flex: none;
    margin-right: 10px;
}

/*　外部リンク（記事ページの下部）　*/
.ExternalLink ul {
    list-style-type: none;
    padding: 0;
}

.ExternalLink a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: darkblue;
}

.ExternalLink figure {
    width: 20px;
    flex: none;
    margin-right: 10px;
}


/*　「フッター」ブロック　*/
footer {
    background-color: #a0719f;
    padding: 25px 15px;
    color: #efe8e1;
    font-size: 14px;
    text-align: center;
}

/*　トップイメージ：　ヒーローイメージ　*/
.hero {
    background-image: url(Images/hero-03.jpg); 
    background-size: cover;
    background-position: center;
    height: 232px;
    color: #ffffff;
    padding: 15px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero h1 {
    font-size: XX-large;
    text-shadow: 0 0 5px #444444;
    text-align: center;
    margin: 0;
}

.hero .counter {
    display: flex;
    margin-top: 10px;
}

.hero .counter div {
    border: solid 2px #ffffff;
    padding: 5px 10px;
    border-radius: 10px;
    background-color: rgba(206, 97, 133,0.7);
    margin-right: 10px;
    margin-left: 10px;
    font-size: 20px;
    text-shadow: 0 0 10px #333333;
}

.hero .counter p {
    margin: 0;
    font-size: 12px;
}

.hero p {
    font-weight: bold;
    text-shadow: 0 0 10px #444444;
    margin-top: 0;
}

.hero a {
    border: solid 2px #ffffff;
    padding: 10px 40px;
    border-radius: 10px;
    background-color: rgba(41, 171, 226,0.7);
    margin-top: 10px;
}
/* トップページ：NEWS */
.news {
    flex-direction: column;
    padding: 15px;
    margin-top: 10px;
    border: solid 2px #ce6185;
    border-radius: 10px;
    background-color: rgba(230, 235, 238,0.7);
}

.news h2 {
    margin: auto;
    color: #ce6185;
}

.news div {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.news img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.news p {
    margin: 0;
    font-size: 16px;
}


/*　トップページ：記事一覧　*/
.toppost {
    padding: 15px
}

.toppost div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.toppost article {
    padding: 0;
    width: 48%;
    flex: none;
}

.toppost article:not(:nth-last-child(-n+2)) {
    margin-bottom: 12px;
}

.toppost h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 14px;
    
}

/* ====　ここから下はPC版　==== */
@media (min-width: 600px) {

/*　PC版：コンテナ　*/
.container {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/*　PC版：「ヘッダー」ブロック内のコンテナ　*/
header .container {
    display: flex;
    justify-content: space-between;
}

/*　PC版：記事　*/
article {
    padding-left: 60px;
    padding-right: 60px;
}

h1 {
    font-size: xx-large;
}

p {
    font-size: 18px;
}
    
 /*　PC版：画像　*/
.picture ul {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.picture li {
    padding: 0;
    width: 48%;
    flex: none;
} 
    
.picture article:not(:nth-last-child(-n+2)) {
    margin-bottom: 12px;
}    
    
.picture h3 {
    margin: 0;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 2;
}   

/*　PC版：関連記事（記事ページの下部）　*/ 
.RelatedArticles figure {
    width: 120px;
}    
        
/*　PC版：トップページ：　ヒーローイメージ　*/   
.hero h1 {
    font-size: xx-large;
}

/*　PC版：トップページ：　記事一覧　*/
.toppost article {
    width: 23%;
}

.toppost article:not(:nth-last-child(-n+2)) {
    margin-bottom: 0;
}    

.news {
    width: 500px;
    margin: auto;
    margin-top: 10px;
    border-radius: 10px;
}    
    
    
}

/* ====　PC版の設定ここまで　==== */

