/* COMMON SETTING
-------------------------------------------------------------------- */

/* ELEMENTS
-------------------------------------------------------------------- */

body {
	min-width: 320px;
	overflow-x: hidden;
	padding-top: 90px;
	position: relative;
}

body,
input,
textarea {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	color: #ffffff;
	font-family:Lato,游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	font-size: 18px;
	line-height: 1.5;
    background: #000000;
    word-wrap: break-word;
}

* {
	box-sizing: border-box;
}

a {
	color: #336633;
	cursor:pointer;
}

img {
	height: auto;
	max-width: 100%;
	vertical-align: bottom;
}

/* new clearfix */
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */


/* HEADER
-------------------------------------------------------------------- */

.header {
	background: #336633;
	position: fixed;
	top: 0;
	width: 100%;
    height: 80px;
	z-index: 1000;
}

.headerInner {
	width: 96%;
    height: 80px;
	margin: 0 auto;
	padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
	display: flex;
	align-items: center;
	width: 40%;
	padding: 1em 0;
}

.logo img {
	width: 180px;
    vertical-align: middle;
}

.logo a::after {
    content: 'EISEI BUNKO MUSEUM';
    font-family: Georgia, "Times New Roman", Times, "serif";
    letter-spacing: 0.1em;
    color: #ffffff;
    text-decoration: none;
    display: inline;
    margin-left: 40px;
    line-height: 0;
}

.tw_icon {
    position: absolute;
    right: 150px;
}
.insta_icon {
    position: absolute;
    right: 100px;
}

#wrapper nav {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    padding-top: 100px;
    background:#1D1D1D;
    font-size: 20px;
    box-sizing: border-box;
    opacity: 0.8;
    z-index: 2;
}
#wrapper nav ul li {
    display:block;
    padding: 20px 28px;
}
#wrapper nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}
#wrapper .btn-gnavi {
    width: 40px;
    height: 34px;
    z-index: 3;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-transition: all 400ms;
    transition: all 400ms;
    margin-top: 6px;
}
#wrapper .btn-gnavi span {
    position: absolute;
    width: 35px;
    height: 4px;
    background: #fff;
    border-radius: 0;
    -webkit-transition: all 400ms;
    transition: all 400ms;
    z-index: 100;
}
#wrapper .btn-gnavi span:nth-child(1) {
    margin-top: 0;
}
#wrapper .btn-gnavi span:nth-child(2) {
    margin-top: 12px;
}
#wrapper .btn-gnavi span:nth-child(3) {
    margin-top: 24px;
}
#wrapper .btn-gnavi.open span {
    background: #fffff;
    width: 35px;
}
#wrapper .btn-gnavi.open span:nth-child(1) {
    margin-top: 16px;
    transform:rotate(45deg);
}
#wrapper .btn-gnavi.open span:nth-child(2) {
    margin-top: 16px;
    transform:rotate(-45deg);
}
#wrapper .btn-gnavi.open span:nth-child(3) {
    display: none;
}
#wrapper .contents section p {
    position: absolute;
    top: 50%;
    width: 30%;
    line-height: 1.4;
    font-size: 20px;
    color: #fff;
}
.arrow{
  position: relative;
  display: inline-block;
  padding-left: 20px;
}

.arrow::before{
  content: '';
  width: 10px;
  height: 10px;
  border: 0px;
  border-top: solid 3px #336633;
  border-right: solid 3px #336633;
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  left: 0;
  margin-top: -4px;
}

#global-navi li {
    margin-left: 20px;
}

#wrapper .contents section:nth-child(odd) p {
    left: 10%;
}
#wrapper .contents section:nth-child(even) p {
    right: 10%;
}

/* EXHIBITION
-------------------------------------------------------------------- */

article {
    text-align: center;
    letter-spacing: 0.1em;
    display: block;
    padding-top: 90px;
    margin: auto;
    margin-top: -90px;
}

h2 {
    font-size: 36px;
    color: #336633;
    font-weight: bold;
    margin: 100px 0 10px 0;
    text-align: center;
    line-height: 1.1;
}

p.lead {
    font-size: 18px;
    text-align: center;
}

.notes {
    font-size: 12px;
    line-height: 1.1;
}

p.lead::after {
    content: '';
    border-bottom: 2px solid #ffffff;
    margin: 30px auto 80px;
    max-width: 700px;
    display: block;
}

.dels {
     background-image: linear-gradient(transparent 0.5em, #FF0000 0, #FF0000 calc(0.5em + 1px), transparent 0, transparent calc(0.5em + 5px), #FF0000 0, #FF0000 calc(0.5em + 6px), transparent 0);
    color: #CCCCCC;
    text-decoration: none;
}

.exhibition_block {
    max-width: 1200px;
    margin: 0 auto 200px;
    text-align: left;
    margin-top: -90px;
    padding-top: 90px;
}

.exhibition_block h3 {
    color: #000000;
    font-weight: bold;
    font-style: italic;
    background-color: #336633;
    padding: 4px 30px 0 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.exhibition_block h4 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1;
}

.exhibition_block h4 .subtitle {
    font-size: 20px;
    font-weight: bold;
}

dl {
    line-height: 1.2;
    margin-bottom: 40px;
}

dl dt {
    font-weight: bold;
    float: left;
    clear: both;
    width: 10em;
    padding-right: 20px;
}

dl dd {
    border-left: 3px solid #ffffff;
    padding-left: 20px;
    float: left;
    margin-bottom: 20px;
}

.exhibition_block .overview p {
    padding: 7px 0;
    font-size: 16px;
    clear: both;
}

.image_area {
    margin: 60px auto 0;
    display: flex;
    justify-content: space-around;
}

.image_area_sp {
    margin: 60px auto 0;
}

.col2 {
    flex-basis: 45%;
}
.col3 {
    flex-basis: 30%;
}
.col4 {
    flex-basis: 24%;
}

figure {
    text-align: left;
}
figcaption {
    font-size: 13px;
    margin-top: 20px;
}
figcaption .artworkname {
    font-weight: bold;
    padding-bottom: 10px;
    display: inline-block;
}
.image_area_sp figure {
    width: inherit;
    display: flex;
    align-items: flex-start;
}
.image_area_sp figure img {
    margin-right: 40px;
}
.image_area_sp figure figcaption {
    margin-top: 0;
}
.image_area_sp .second_block {
    display: flex;
}
.image_area_sp .second_block figure {
    margin: 60px 100px 0 0;
}
.image_area figure.img05 {
    width: 400px;
}
.image_area figure.img04, .image_area figure.img06, .image_area figure.img07 {
    width: 220px;
}
.image_area figure img.narrow {
    width: 250px;
}
.image_area figure img.middle {
    width: 300px;
}
.vertical-col {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.btn a {
    border: 2px solid #FFFFFF;
    border-radius: 20px;
    padding: 5px 20px 5px 30px;
    color: #FFFFFF;
    text-decoration: none;
    margin: 10px 0 0 0;
    display: inline-block;
    width: auto;
}

.btn a:after {
    content: "";
    left: 10px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #FFFFFF;
    border-right: 1px solid #FFFFFF;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.btnarrow {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 15px;
}
.btnarrow::before,
.btnarrow::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.partnership {
    border: 1px solid #fff;
    padding: 20px 30px;
    margin: 30px 0 0 0;
}
.partnership p {
    font-size: 14px;
    margin: 10px 0 0 0;
}


/* ABOUT
-------------------------------------------------------------------- */

article#about {
    max-width: 1200px;
}

article#about h2 {
    margin-top: 0;
}

article#about section h3 {
    font-size: 20px;
    font-weight: bold;
    background-color: none;
    color: #ffffff;
    margin: 40px 0;
}

article#about .image_area figure {
    width: inherit;
}

article#about figure.headimg {
    margin: auto;
    display: inline-block;
    width:inherit;
}

article#about section p {
    font-size: 16px;
    max-width: 1200px;
    padding: 7px 0;
    text-align: left;
}

article#about section {
    margin-bottom: 100px;
}

article#about .image_area {
    margin: 0 auto 80px;
    max-width: 900px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

article#about .image_area img {
    height: inherit;
}

article#about section .third_part {
}

article#about section.s03 {
    margin-bottom: 0;
}

article#about .collection {
    max-width: 1200px;
}

/* LINK
-------------------------------------------------------------------- */

article#link {
    max-width: 1000px;
}

article#link section h3 {
    font-size: 20px;
    font-weight: bold;
    background-color: none;
    color: #336633;
    margin: 40px 0;
}

article#link section p {
    font-size: 12px;
    margin: 40px 0;
}


/* ACCESS
-------------------------------------------------------------------- */

article#access {
    max-width: 1200px;
}

article#access .transport {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    text-align: left;
}

article#access .transport section {
    width: 216px;
    letter-spacing: 0;
}

article#access section h3 {
    font-size: 16px;
    font-weight: bold;
    background-color: none;
    margin-bottom: 20px;
}

article#access p {
    font-size: 14px;
    text-align: left;
}


/* INFORMATION
-------------------------------------------------------------------- */

article#information {
    max-width: 1000px;
    padding-bottom: 60px;
}

article#information section h3 {
    font-size: 20px;
    font-weight: bold;
    background-color: none;
    border: 1px solid #ffffff;
    display: inline-block;
    padding: 10px;
    width: 200px;
    margin-bottom: 20px;
    line-height: 1;
}

article#information p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 40px;
    line-height: 1.2;
}

article#information .additional {
    font-size: 14px;
    display: inline-block;
    margin: 20px 0;
}

article#information h4 {
    font-size: 14px;
    text-align: left;
    letter-spacing: 0;
}

dl.fee {
    margin-bottom: 60px;
    text-align: left;
    margin: 20px auto;
    width: 34em;
}

dl.fee dt {
    width: 20em;
}

dl.fee dd {
    width: 12em;
}

.asterrisk_list {
    text-align: left;
    font-size: 14px;
    letter-spacing: 0;
}

.asterrisk_list li {
    text-indent: -1em;
    padding-left: 1em;
}

.asterrisk_list li::before {
    content: '＊';
}

.museum_guide {
    max-width: 1000px;
    border: 1px solid #ffffff;
    padding: 30px;
    margin: 100px 0; 
}

.museum_guide h3 {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 40px;
    text-align: center;
}

.museum_guide dl {
    margin-bottom: 60px;
    text-align: left;
    margin: 20px auto;
    width: 42em;
}

.museum_guide dl dt {
    width: 10em;
}

.museum_guide dl dd {
    width: 30em;
    text-align: left;}

/* SERVICE
-------------------------------------------------------------------- */

article#service, article#materials {
    max-width: 1000px;
    text-align: left;
}

article#service h2, article#materials h2 {
    margin-top: 0;
}

article#service section h3, article#materials section h3 {
    font-weight: bold;
    background-color: none;
    margin-bottom: 20px;
}

article#service p, article#materials p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 7px;
}

ol {
    font-size: 14px;
    letter-spacing: 0;
    list-style-type: decimal;
    padding-left: 1em;
    line-height: 1.5;
    margin-bottom: 40px;
}

ol li {
    padding-left: 1em;
}

article#service .museum_guide, article#materials .museum_guide {
    margin-top:40px;
    margin-bottom: 40px;
}

.graybase {
    background-color: #1D1D1D;
    padding: 0 0 20px 0;
}

article#materials .asterrisk_list {
    margin: 10px 0;
}

article#materials .s01 {
    margin-bottom: 40px;
}

/* FOOTER
-------------------------------------------------------------------- */

.footer {
	padding: 30px 0;
    clear: both;
}

.copyright {
	clear: both;
	font-size: 75%;
	text-align: center;
	margin: auto;
    letter-spacing: 0.1em;
}


@media screen and (max-width: 1180px) {
    
.logo {
	width: 80%;
}

article {
    width: 86%;
}
    
p.lead::after {
    margin: 30px auto 0;
}
    
.exhibition_block {
    margin: 0 auto 0;
}
   
dl dd {
    width: 70%;
}
        
.image_area {
    width: 100%;
}   
    
figure {
    transform: scale(0.9); /* Equal to scaleX(0.9) scaleY(0.9) */
    width: 100%;
    margin-bottom: 30px;
}
    
.image_area_sp figure.img01 {
    width: inherit;
    display: block;
}

.image_area_sp figure.img01 figcaption {
    margin-top: 20px;
}

.image_area_sp .second_block {
    display: flex;
}

.image_area_sp .second_block figure {
    margin: 20px 100px 0 0;
}

article#about {
    width: 86%;
    margin-top: 60px;
}

article#about .image_area {
    max-width: 880px;
}

article#about .image_area figure {
    transform: scale(0.9); /* Equal to scaleX(0.9) scaleY(0.9) */
}

article#about .image_area img {
    height: inherit;
}
    
article#about .collection {
    width: 100%;
    display: block;
}
    
article#about section .third_part p {
    max-width: 100%;
}

article#about section .third_part {
    position:inherit;
   top: 0;
}

article#about .collection figure {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

article#about .collection figure img {
    margin-right: 40px;
}

article#about .collection figure figcaption {
    margin-top: 0;
}
    
article#link {
    width: 86%;
}
    
article#access {
    width: 86%;
}

article#access iframe {
    width: 100%;
}
    
article#access .transport {
    display: block;
}

article#access .transport section {
    width: 100%;
}

article#access section h3 {
    margin-bottom: 0;
}

article#access p {
    font-size: 14px;
    margin-bottom: 20px;
}

article#information {
    width: 86%;
}

.museum_guide {
    width: 100%;
    margin: 100px 0; 
}
    
.museum_guide dl {
    width: 80%;
}

.museum_guide dl dt {
    width: 10em;
}

.museum_guide dl dd {
    width: 60%;
}
    
article#service, article#materials {
    width: 86%;
}
}

@media screen and (max-width: 767px) {
    
.header {
    height: 64px;
}
    
.headerInner {
	width: 92%;
    height: 64px;
}
    
.logo img {
    width: 130px;
}
.logo a::after {
    content: '';
}
    
.tw_icon {
    position: absolute;
    right: 120px;
}
.insta_icon {
    position: absolute;
    right: 70px;
}
    
#wrapper nav ul li {
    display:block;
    padding: 10px 20px 10px 28px;
}
    
#wrapper nav {
    right: -300px;
    width: 300px;
    padding-top: 90px;
    font-size: 20px;
}

#wrapper .contents section p {
    top: 50%;
    width: 30%;
}
    
article {
    padding-top: 80px;
    margin-top: -80px;
}
   
article#exhibition h2 {
    margin-top: 40px;
}

dl dt {
    border-bottom: 2px solid #ffffff;
    float: none;
}

dl dd {
    border-left: none;
    padding: 20px 0 0 0;
    float: none;
    margin-bottom: 20px;
    width: 100%;
}
    
.exhibition_block {
    margin: 0 auto 20px;
}
    
.exhibition_block .overview p {
    padding: 7px 0;
    font-size: 18px;
}
    
.image_area {
    margin: 60px auto 0;
    display: block;
}
    
figure {
    margin: 0 auto 30px;
}
    
figure img {
    margin: auto;
    display: block;
    width: 350px;
    }
    
figcaption {
    font-size: 16px;
}
    
.image_area_sp .second_block {
    display: block;
}
    
.image_area_sp figure.img03 figcaption {
    margin-top: 20px;
}
  
.image_area_sp .second_block figure.img03 {
    display: block;
    width: 300px;
}
    
.image_area figure.img04, .image_area figure.img05, .image_area figure.img06, .image_area figure.img07 {
    width: 100%;
}
    
.image_area figure.size60 img {
    display: block;
    width: 60%;
}    
.image_area figure.img04 img {
    display: block;
    width: 80px;
}
    
.image_area figure.img05 img {
    display: block;
    width: 300px;
}

.image_area figure.img06 img {
    display: block;
    width: 120px;
}

.image_area figure.img07 img {
    display: block;
    width: 140px;
}

article#about .image_area {
    margin: 0 auto 80px;
    max-width: 100%;
    display: block;
}

article#about .image_area img {
    height: inherit;
}
   
article#about .collection {
    max-width: 100%;
    display: block;
}
    
article#about .collection figure {
    display: block;
    margin-bottom: 0;
}

article#about .collection figure img {
    margin-right: 0;
}

article#about .collection figure figcaption {
    margin-top: 20px;
}
    
article#link section p {
    font-size: 16px;
    margin: 0 0 40px 0;
}
    
article#link section h3 {
    margin: 20px 0;
}
    
article#access section h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

article#access p {
    font-size: 16px;
}
    
article#information .additional {
    font-size: 16px;
}

article#information h4 {
    font-size: 16px;
}
    
dl.fee {
    margin-bottom: 60px;
    margin: 20px auto;
    width: 100%;
}

dl.fee dt {
    width: 90%;
}

dl.fee dd {
    width: 100%;
}
    
.asterrisk_list {
    font-size: 16px;
}
    
.museum_guide {
    margin: 40px 0; 
}

.museum_guide h3 {
    margin-bottom: 40px;
}

.museum_guide dl {
    margin-bottom: 60px;
    margin: 20px auto;
    width: 100%;
}

.museum_guide dl dt {
    width: 100%;
}

.museum_guide dl dd {
    width: 100%;
}

article#service p, article#materials p {
    font-size: 16px;
}
    
ol {
    font-size: 16px;
    margin-bottom: 40px;
}
}