@charset "utf-8";
/*
theme Name: medievalstudies
Author: Toshinobu Nagata
Description: 西洋中世学会ウェブサイト
version： 2.0.0
*/

/*cssのリセット*/
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,
blockquote,pre,abbr,address,cite,code,del,dfn,em,img,
ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,
ol,ul,li,fieldset,form,label,legend,table,caption,
tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,
figcaption,figure,footer,header,hgroup,menu,nav,section,
summary,time,mark,audio,video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  border: 0;
  outline: 0;
  background: transparent;
}
 
body {
  line-height: 1;
}
 
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
 
nav ul {
  list-style: none;
}
 
blockquote,
q {
  quotes: none;
}
 
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
 
a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}
 
ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}
 
mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}
 
del {
  text-decoration: line-through;
}
 
abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}
 
table {
  border-spacing: 0;
  border-collapse: collapse;
}
 
hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

/* site */
body {
	font-family: joanna-nova, dnp-shuei-mincho-pr6n, serif;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	line-height: 1.7em;
}
img { border-style:none; }
a { text-decoration:none; }
a:link { color: #000; }
a:visited { color: #000; }
a:hover { color: #b8860b; text-decoration:none; transition: 0.3s; }
a:active { color: #000; }
hr {
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #ccc;
	background-color: transparent;
}
titleJP{
    font-size: 34px;
    line-height: 1.3em;
}
h1{
    font-size: 20px;
    line-height: 1.3em;
}
h2{
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
}
h3{
    font-size: 12px;
    line-height: 2em;
}
h4{
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3em;
}
p{
    margin: 0.75em 0px;
}
ul, ol{
    padding-left: 2em;
}

/* id サイトの外枠構造*/
body{
	margin: 0px;
	padding: 0px;
    background-color: #fff;
}
#header{
    position: fixed;
    z-index: 9999;
    top: 0;
    width: 100%;
    height: 36px;
    background-color: #fff;
    padding-top: 12px;
    text-align: center;
}
#container {
	width: 900px;
    margin-top: 36px;
	margin-right: auto;
	margin-left: auto;
	position: relative;
}
#footer{
    width: 100%;
    height: 120px;
    background-color: #fff;
    padding-top: 80px;
    text-align: center;
}

/* class サイトの内側の構成要素*/
.gray{
    color: gray;
}
.gridnews{
    display: grid;
    grid-template-columns: 700px 170px;
    grid-column-gap: 30px;
}
.griditems{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(auto, auto);
    grid-column-gap: 20px;
    grid-row-gap: 40px;
}
.gridarticle{
    margin-top: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 220px 660px;
    grid-gap: 20px;
}
.gridsingle{
    margin-top: 30px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 100px 700px 100px;
}
.gridnews, .griditems, .gridarticle, .gridsingle{
    background-color: #fff;
}

.parallax-window {
    height: 500px;
    margin: 0 calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
    text-align: center;
    padding-top: 50px;
}

.post-navigation {
    margin-top: 3em;
}

.adjust{
    padding-top: 60px;
    margin-top: -60px;
}

/* フォームに関するCSS*/
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea{
    width: 100%;
    padding: 8px 15px;
    margin-right: 10px;
    margin-top: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.wpcf7 input[type="checkbox"]{
    margin-top: 10px;
    margin-bottom: 20px;
}
.wpcf7-radio
.wpcf7-list-item{
    margin-top: 10px;
    margin-bottom: 20px;
}

input.wpcf7-submit{
    width: 80px;
    height: 35px;
    margin-top: 10px;
    padding: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: joanna-nova, dnp-shuei-mincho-pr6n, serif;
    font-size: 12px;
    transition: 0.3s;
}
input.wpcf7-submit:hover{
    background: #000;
    color: #fff;
}

/* アンケートに関するCSS*/
.wp-polls .Buttons{
    width: 80px;
    height: 35px;
    margin-top: 10px;
    padding: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: joanna-nova, dnp-shuei-mincho-pr6n, serif;
    font-size: 12px;
    transition: 0.3s;
}
.wp-polls .Buttons:hover{
    background: #000;
    color: #fff;
}

/* single.phpの前後リンクに関するCSS*/
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
.nav-links:after {
    content: "";
    display: block;
    clear: both;
}
.nav-previous {
    float: left;
    left: 50%;
    position: relative;
}
.nav-next {
    float: right;
    right: 50%;
    position: relative;
    margin-right: 1em;
    border-right: solid 1px;
    padding-right: 1em;
}

/* page-archives.phpとpage-newsarchives.phpのリンクに関するCSS*/
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0;
    position: relative;
}

.pagination span, .pagination a {
    display: block;
    width: auto;
    margin-right: 1em;
    border-right: solid 1px;
    padding-right: 1em;
}

/* ページ番号 */
.pagination .pager{
}

/* ホバー時 & 現在のページ */
.pagination a:hover,
.pagination .current  {
}

/* 前へ */
.pagination a.prev {
    border: none;
}
/* 次へ */
.pagination a.next {
    border: none;
}
/* 最初へ */
.pagination a.first {}
/* 最後へ */
.pagination a.last {}

/* Page x / y */
.pagination span.page_num {
    display: none;
}

.page_top{
    position: fixed;
    bottom: 30px;
    right: 60px;
}

/* コメント欄 */
#respond label{
	display:block;
}
#respond input,
#respond textarea{
	width: 100%;
}
#respond input[type="submit"]{
	width: auto;
}
.says{
	display:none;
}
.comment-author,
.comment-meta{
	display:inline-block;
}
.form-submit {
  width: 80px;
    height: 35px;
    margin-top: 10px;
    padding: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: joanna-nova, dnp-shuei-mincho-pr6n, serif;
    font-size: 12px;
    transition: 0.3s;
}
.form-submit:hover{
    background: #000;
    color: #fff;
}