@charset "UTF-8";
/* CSS Document */
html {
  font-size: 62.5%; /* 16px * 62.5% = 10px */
  width: 100%;
  box-sizing: border-box;
}
body {
  color: #333333; /* RGB */
/*  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;*/
  font-family: "a-otf-ryumin-pr6n", serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.8em;
  line-height: 3.2rem;
  text-align: left;
  letter-spacing: 0.05em;
  box-sizing: border-box;

}
h2 {
  font-size: 2.2rem;
  padding-bottom: 20px;
  letter-spacing: 0.08em;
}
p{
  font-size: 1.8rem;
}

a:hover {
  opacity: 0.5;
}
.none{
  display: none;
}

@media(min-width:600px){
  body{
    letter-spacing: 0.08em;
  }
  h2 {
    font-size: 2.8rem;
    padding-bottom: 30px;
    letter-spacing: 0.12em;
  }
  h3{
    font-size: 2.2rem;
  }
  p{
    font-size: 2.2rem;
    line-height: 4.0rem;
  }
  time{
    font-size: 2.4rem;
  }
  address{
    font-size: 2.0rem;
  }
  .main{
    text-align: center;
  }
}

/*元々トップにあった部分*/
.header__navigation {
  display: none;
}
@media(max-width:720px) { /*ハンバーガーアイコン*/
  #nav-drawer {
    background-color: #f0efed;
    padding: 10px 24px 5px;
    text-align: right; /*テキストを右によせる*/
    position: relative; /*座標*/
  }
  #nav-open {
    display: inline-block;
    vertical-align: middle; /*上下の揃えは、真ん中に。*/
    width: 30px;
    height: 22px;
  }
  #nav-open span, #nav-open span:before, #nav-open span:after /*#nav-open spanの部分と、そこの前の部分と、後ろの部分*/ {
    position: absolute; /*絶対座標*/
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #777;
    display: block;
    content: ""; 
  } 
  #nav-open span:before {
    bottom: -8px; 
  }
  #nav-open span:after {
    bottom: -16px; 
  }
  #nav-close {
    z-index: 999; 
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.5; /*不透明度は50%に（不透明度は数字を大きくするほど色が濃くなる）*/
  }
  #nav-content {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999; /*ドロワーメニューの下地より上に表示させたいため「999」より大きくする*/
    width: 80%;
    height: 100%;
    background-color: #FFF;
    text-align: left; /*文字は左よせに*/
    padding: 25px 0 0 25px; /*上と左の端から文字までの余白。上2、左25、右と下0*/
    transform: translateX(-105%); /*場所を動かす。X軸を動かします。-105%（つまり、左に105%なので画面の範囲から飛び出る）*/
    transition: 0.3s ease-in-out; /*transitionは動きがあったときにどのように動くかを指定するもの。訳：変化する。0.3秒かけて。スムーズな動きで。*/
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.25) /*rgbaの「a」は不透明度*/
  }
  .nav-drawer__title {
    display: block; /*ソースコードでclass="none"にしたので、スマホ版の場合のみblockを入れることで表示させる*/
    font-weight: 600; /*このサイトの場合、500が普通の文字、600が太字で設定している*/
    margin-top: 20px;
    margin-bottom: 46px;
  }
  .nav-drawer__title img {
    width: 10%;
    padding-right: 10px;
    vertical-align: bottom;
  }
  .nav-drawer__link-top {
    display: block; /*ソースコードでclass="none"にしたので、スマホ版の場合のみblockを入れることで表示させる*/
  }
  #nav-content ul li {
    margin-bottom: 36px; /*各文字の下端から、その下にある文字の上端までの余白*/
  }
  #nav-content ul li a {
    text-decoration: none; /*テキストの装飾はなし（下線など）*/
    font-site: 1.6rem;
    font-weight: 600;
    color: #333;
  }
  #nav-content ul li a img {
    width: 10%;
    padding-right: 10px;
    vertical-align: bottom;
  }
  #nav-input:checked ~ #nav-close {
    display: block;
  } /*#nav-inputにチェックが入っている時、#nav-close（この2つは同じ階層にあるので「~」が必要になる）はディスプレイが表示されるように。(ハンバーガーボタンをクリックすると画面が薄黒くなる)ハンバーガー以外の場所はチェックボックスではない場所なのでそこをクリックすると、チェックボックス解除＝画面の薄黒くなるのが元に戻る*/
  #nav-input:checked ~ #nav-content { /*#nav-inputにチェックが入っている時、#nav-content（この2つは同じ階層にあるので「~」が必要になる）は*/
    transform: translateX(0%); /*普段はコンテントを-105%にして隠しているので、チェックが入っている時は0%にして元の位置に戻す。よって隠れている部分が表示される*/
  }
}
@media(min-width:720px) { /*@は特殊。画面が720pxより広いとき、以下の指定をしてください*/
  .header__inner {
    background-color: #f0efed;
    display: flex;
    margin: 0 auto;
  }
  .header {
    background-color: #f0efed;
    max-width: 1040px; /*どんなに大きくても1040pxを超えないようにしてください*/
    margin: 0 auto; /*上下は0、左右は自動にすると中央に寄る*/
    min-height: 50px;
    padding: 14px;
    box-sizing: border-box;
  }
  .header__navigation {
    display: block; /*block_表示する*/
    text-align: right; /*右側に配置したいので、右揃えにする*/
  }
  .header__navigation ul {
    display: flex;
    justify-content: flex-end;
  }
  .header__navigation ul li {
    margin-left: 40px; /*MENU,ACCESS,NEWS、それぞれの間の余白*/
  }
  .header__navigation ul li a { /*リンクなので勝手に下線のついた紫になる。それを修正する。*/
    text-decoration: none; /*テキストの装飾(今回は下線)はなしでお願いします。*/
    font-size: 2rem;
    font-weight: 600;
    color: #333333;
  }
  .nav-img {
    width: 40px;
    vertical-align: bottom;
  }
}
.section-top {
  margin-bottom: 60px; /*ヘッダー下端から「本展について」上端*/
  background-color: #f0efed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.section-top h1 { /*BonjourPanda タンタン画展*/
  font-size: 2.4rem;
  line-height: 3.8rem;
  text-align: left;
  padding-left: 40px;
  padding-bottom: 20px;
  letter-spacing: 0.08em;
}
.section-top img {
  width: 80%;
  margin: 0 auto;
}
.section-top h2 {
  text-align: center;
  font-family: "fot-tsukubrdgothic-std","a-otf-ryumin-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2.2rem;
  letter-spacing: 0.08em;
  width: 100%;
  padding-bottom: 15px;
  padding-top: 20px;
}
.section-top h3 {
  text-align: center;
  font-family: "fot-tsukubrdgothic-std", "a-otf-ryumin-pr6n",sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  width: 100%;
  padding-bottom: 30px;
}
@media(min-width:720px) /*スマホより大きい時*/ {
  .section-top h1 {
    font-size: 3.6rem;
    line-height: 6.2rem;
    text-align: left;
    padding: 30px 80px;
  }
  .section-top img {
    max-height: 50vh;
    width: auto;
    max-width: 100%;
  }
  .section-top h2 {
    box-sizing: border-box;
    font-size: 3.6rem;
    text-align: right;
    padding: 30px 80px 0;
  }
  .section-top h3 {
    box-sizing: border-box;
    font-size: 3.6rem;
    text-align: right;
    padding: 30px 80px;
  }
}
@media(min-width:1000px) {
  .section-top h3 br {
    display: none;
  }
}

.section-news ol li a{
  text-decoration: none;
  color: #333;
}


.footer {
  min-height: 228px; /*後から要素が増えた時のために、最低限の高さだけ指定しておく*/
  background-color: #f0efed;
  padding: 40px 40px 5px;
  font-weight: 600; /*通常は300~400くらい*/
}
.footer__site-map {
  margin-bottom: 25px; /*TOP、NEWSとかの文字部分の下端から、タンタンの上端まで*/
}
.footer h2 a {
  display: none;
}
.footer__site-map ul {
  text-align: center;
}
.footer__site-map li {
  margin: 0 10px 10px; /*各文字の左右10px、下10px空ける */
  display: inline-block; /*要素(TOPとかMENUとか)を横向きに並べられるようにインラインブロックにする*/
}
.footer__site-map li a {
  text-decoration: none; /*装飾が消える＝アクセス済みのリンクが紫色にならないようにする*/
  color: #333;
}
.footer__site-map li a:visited { /*visited_このリンクに訪問したことがある場合*/
  color: #777777;
}
.footer-tantan img {
  width: 100%;
}
@media(min-width:1040px) {
  .footer {
    min-height: 200px;
    margin: 0;
    padding: 0;
  }
  .footer h2 {
    padding: 0;
  }
  .footer h2 a {
    display: block;
    text-decoration: none;
    color: #333;
    max-width: 1040px;
    padding-top: 60px;
    margin: 0 auto;
  }
  .footer__container {
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 40px; /*グレーの上端から、文字の上端まで*/
    text-align: left; /*文字は左揃え*/
    display: flex;
  }
  .footer__site-map {
    float: left; /*浮かんだ状態で左に詰める*/
    align-self: center;
  }
  .footer__site-map ul li {
    font-size: 2.0rem;
  }
  .footer__site-map ul li a {
    text-decoration: none;
    color: #333;
  }
  .footer-tantan img {
    width: 370px;
    bottom: 40px;
    padding-left: 100px;
  }
}