@charset "utf-8";

body {
  margin: 0;
  font-family: yu-mincho-pr6n, sans-serif;
}

.container {
  padding: 0 16px 0 16px;
}

section .container {
  display: flex;
  flex-flow: column;
  gap: 50px;
}

/*スクロールアニメーション*/
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: .9s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/*画像の縮小設定*/
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/*link-box1-3の横並び設定*/
.display-flex {
  display: flex;
  gap: 10px;
}

/* ナビ */
.nav {
  position: relative;
  background-image: url(../images/1946-top-2.jpg);
  height: 400px;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #b59948;
}

.nav .container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.nav .container {
  transition: top .3s ease;
}

.nav .container.hide {
  top: -70px;
}

.nav .container.scrolled {
  background-color: rgba(181, 153, 72, 0.8);
}



.c1-1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  text-align: center;
  text-shadow: 1px 1px #000;
  color: #fff;
  font-size: 3.2em;
  font-weight: bold;
  white-space: nowrap;
  z-index: 10;
  letter-spacing: 0.1em;
}

.c2-1 {
  margin: 10px 0;
  padding: 10px 10px;
  max-width: 100%;
  text-align: center;
  font-size: 2.4em;
  line-height: 1.2;
}

.osaka {
  color: #b59948;
  text-shadow: 1px 1px #000;

}

.c2-2 {
  margin: 10px 0;
  padding: 10px 10px;
  max-width: 100%;
  text-align: center;
  font-size: 2.0em;
  line-height: 1.0;
  color: #525252;

}

.sen,
.ino {
  text-shadow: 0.5px 0.5px #000;

}

/* ハンバーガメニューがopen状態の時は背景色を変更する */
header #nav-container.open {
  background-color: rgba(181, 153, 72, 0.8);
}

/* メニューボタン */
.menu-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 40px;
  height: 40px;
  border: none;
  background: url(../images/menuba40x40.png) no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: 101;
}

.menu-btn.open {
  background-image: url(../images/menubaopen40x40.png);
}

/* メニューボタン表示 */
.menu-btn {
  display: block;
}


.nav.scrolled .title a,
.nav.scrolled .navbar li a {
  color: #fff;
}


/* 王希奇「一九四六」大阪展 */

.title {
  position: absolute;
  left: 50%;
  bottom: 20px;
  /* 下から20px */
  top: 10px;
  transform: translateX(-50%);
  margin: 0;
  white-space: nowrap;
}

.title a {
  color: #fff;
  font-size: 1.2em;
  text-decoration: none;
  text-align: center;
  padding: 10px 0;
}

/*link-box メニューバーの非表示*/
.linkbox .nav {
  display: none;
}

/*link-box*/
.link-box1,
.link-box2,
.link-box3 {
  /*display-flex 箱の設定*/
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 10px;
  position: relative;
  box-sizing: border-box;
}

/*画像のホバー半透明*/
.link-box1 a,
.link-box2 a,
.link-box3 a {
  position: relative;
}

/*色の膜*/
.link-box1 a::after,
.link-box2 a::after,
.link-box3 a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(181, 153, 72, 0.5);
  opacity: 0;
  transition: 0.3s;
  z-index: 1;
}

/*文字を前面へ*/
.link-box1 p,
.link-box2 p,
.link-box3 p {
  /*display-flex 写真上に文字の下部配置*/
  position: absolute;
  top: 90%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5em;
  margin: 0;
  text-align: center;
  max-width: 90%;
  text-shadow: 0 0 5px rgba(0, 0, 0, 1), 0 0 15px #000;
  /*前面へ*/
  z-index: 2;
}

/*ホバー時*/
.link-box1 a:hover::after,
.link-box2 a:hover::after,
.link-box3 a:hover::after {
  opacity: 1;
}

.link-box1,
.link-box2,
.link-box3,
.c3,
.map,
.c4,
.news-box {
  margin-bottom: 70px;
}


/*展示会詳細*/
.c3 {
  padding: 20px 10px 20px 10px;
}

.c3-title {
  font-size: 1.5em;
  font-weight: bold;
}

.c3-day {
  text-align: center;
  font-feature-settings: "kern" 1;
  /*フォントカーニング有効化*/
  font-size: 2em;
}

.c3 table {
  border-spacing: 20px 0;
}

.c3>p:first-child {
  text-align: center;
}

.c3 th {
  text-align-last: justify;
  text-align: center;
  vertical-align: top;
}

.num-lage {
  /*数字を大きく*/
  font-size: 64px;
}
.num-small {
  font-size: 15px;
}

.map {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.map iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

p.indent {
  text-indent: 5em;
}

.space-right {
  margin-right: 12px;
  /* 右側に12pxの余白 */
}

/*映像*/
.c4 {
  text-align: center;
  padding: 20px 10px 20px 10px;
}

.c4 {
  margin-bottom: 70px;
}

.c4 video {
  width: 80%;
  max-width: 1500px;
  height: auto;
}

.c4-title {
  font-weight: bold;
  background: #fff;
  text-align: center;
  font-size: 1.5em;
  margin-bottom: 40px;
}


/*お知らせ*/
.news-scroll {
  max-width: 460px;
  /* 好きな幅に調整 */
  margin: 0 auto;
  max-height: 240px;
  overflow: auto;
  padding: 20px;
  font-size: 1.3em;
}

.news-scroll p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1.5em;
}

.news-box {
  width: 80%;
  max-width: 900px;
  margin: 0 auto 90px;
  /*下に90pxの余白*/
}

.news-title {
  font-weight: bold;
  background: #fff;
  text-align: center;
  font-size: 1.5em;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.news-date {
  width: 140px;
  flex-shrink: 0;
}

.news span {
  flex: 1;
  font-size: 0;
  margin-bottom: 10px;
}

.news-new {
  width: 50px;
  flex-shrink: 0;
  text-align: center;
  color: #DC143C;
  font-weight: bold;
}


/*趣意書、パンフレット共通*/

ol {
  list-style-type: none;
  /* 数字を非表示にする */
  padding-left: 0;
  /* 左側の空白も消す場合 */
}

.pdf-note {
  text-align: center;
  margin-bottom: -30px;
}

.pdf-item {
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 10px 0;
  padding: 10px 0;
  width: 100%;
  box-sizing: border-box;
}

.pdf-download-1:hover,
.pdf-download-2:hover {
  opacity: 0.7;
}

.shuisho,
.panfu {
  text-align: center;
  padding: 20px 10px;
  font-size: 1.5em;
}

.pdf-download-1,
.pdf-download-2 {
  display: inline-block;
  width: 160px;
  padding: 12px 30px;
  background: #b59948;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.shuisho p,
.panfu p {
  margin-bottom: 30px;
}

/*主催～後援*/
.c8 table {
  border-collapse: collapse;
  margin: 0 auto;
  color: #000;
}

.c8 th {
  width: 70px;
  padding: 10px 20px 10px 0;

  text-align-last: justify;
  text-align: center;
  vertical-align: top;
}

.c8 td {
  padding: 10px 0;
  text-align: left;
}


/* フッター */
.footer-inner {
  text-align: center;
  margin-top: 0px;
  font-size: 0.5em;
}

.center {
  margin: 0 auto;
}



/* ---------- スマホ用 ---------- */
@media only screen and (max-width:767px) {

  /*オープニングのタイトル文字*/
  .opening-title {
    font-size: 1.8em;
    padding: 0 16px;
    text-align: center;
  }

  /*ナビ*/
  .nav .container {
    position: fixed;
  }

  /* メニューボタン */
  .menu-btn {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 101;
  }

  .container {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }

  .link-box1 a,
  .link-box2 a,
  .link-box3 a {
      display: block;
      width: 100%;
  }

  /*文字を前面へ*/
  .link-box1 p,
  .link-box2 p,
  .link-box3 p {
    /*display-flex 写真上に文字の下部配置*/
    position: absolute;
    width: 100%;
    top: 90%;
    color: white;
    font-size: 5vw;
    margin: 0;
    text-align: center;
    text-shadow: 0 0 5px rgba(0, 0, 0, 1), 0 0 15px #000;
    /*前面へ*/
    z-index: 2;
    min-width: 0;
  }

  /* メニュー（初期状態は非表示） */
  #menu {
    display: none;
  }

  .c3 table {
    border-spacing: 0;
  }

  /* 開いたときだけ表示 */
  #menu.open {
    display: block;
    position: absolute;
    top: 70px;
    /* ヘッダーの高さに合わせる */
    left: 0;
    width: 100%;
    background: rgba(181, 153, 72, 0.8);
    z-index: 100;
  }

  /* メニュー縦並び */
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 20px 0;
  }

  .navbar li {
    flex: none;
    width: 100%;
  }

  .navbar li a {
    display: block;
    text-align: center;
    padding: 15px 0;

    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    padding: 20px 0;
  }

  /*c1,c2縦並び*/
  .c1,
  .c2-1,
  .c2-2 {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  /* キャッチコピー */
  .c1 {
    position: absolute;
    bottom: 20px;
    margin: 0;
    color: #f2d289;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    white-space: normal;
    z-index: 10;

  }

  .c1-1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    margin: 0;
    text-align: center;
    text-shadow: 1px 1px #000;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.1em;
  }

  .c2-1 {
    font-size: 1.5em;
    word-break: normal;
    line-height: 1.8;
  }

  .c2-2 {
    font-size: 1.3em;
    word-break: normal;
    line-height: 1.8;
  }

  .display-flex {
    flex-direction: column;
  }

  .link-box1,
  .link-box2,
  .link-box3,
  .c3,
  .map,
  .c4,
  .news-box {
    margin-bottom: 75px;
  }

  .link-box1,
  .link-box2,
  .link-box3 {
    flex: none;
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .img-responsive {
    width: 100%;
    height: auto;
  }

  /* c3 */
  .c3>p:first-child {
    font-size: 1.5em;
  }

  .c3 p {
    font-size: 1em;
  }

  .c3 a {
    font-size: 1.3em;
  }

  .c3-day {
    font-size: 2em;
    text-align: center;
    font-weight: bold;
  }

  .num-lage {
    font-size: 1.6em;
    font-weight: bold;
  }

  .num-small {
  font-size: 15px;
}

  .c3 table {
    width: 100%;
  }

  .c3 tr {

    margin-bottom: 20px;
  }

  .c3 th {
    display: table;
    width: auto;
    margin: 0 auto;
    text-align: center;
    text-align-last: justify;
    vertical-align: top;
    padding: 5px 15px;
    white-space: nowrap;
  }

  .c3 td {
    display: block;
    width: auto;
    text-align: center;
    padding: 5px 10px;
    white-space: normal;
  }

  .c3 td {
    white-space: normal;
    word-break: normal;
    letter-spacing: normal;
  }

  p.indent {
    text-indent: 0em;
  }

  .space-right {
    margin-right: 0px;
    /* 右側に12pxの余白 */
  }


  .c4 {
    text-align: center;
    padding: 0;
  }

  .c4 video {
    width: 100%;
  }

  /* サブ改行 */
  .br-sp {
    display: block;
  }

  /*お知らせ スクロール非表示*/
  .news-scroll {
    max-width: 450px;
    /* 好きな幅に調整 */
    margin: 0 auto;
    max-height: 450px;
    overflow: auto;
    padding: 20px;
    font-size: 1.3em;
  }

  
  .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 20px;
  }

  .news-scroll p {
  margin: 0;
  padding-bottom: 10px;
  font-size: 1.5em;
}

.news-box {
  width: 80%;
  max-width: 900px;
  margin: 0 auto 90px;
  /*下に90pxの余白*/
}
  /* 年月 */
  .news-date {
    width: auto;
    order: 2;
  }

  /* 内容 */
  .news-text {
    width: 100%;
    order: 3;
  }

  /* New */
  .news-new {
    width: auto;
    order: 1;
  }

  .display-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /*趣意書とパンフレット*/
  .pdf-download-1,
  .pdf-download-2 {
    display: inline-block;
    white-space: nowrap;
    padding: 12px 20px;
  }

  .pdf-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 10px 0;

  }

  .pdf-download-1,
  .pdf-download-2 {
    white-space: nowrap;
  }

  .pdf-download-1 {
    margin: 10px 0;
  }

  /* 主催～後援 */
  .c8 {
    width: 100%;
    text-align: center;
  }

  .c8 table {
    width: auto;
    margin: 0 auto;
    border-collapse: collapse;
  }

  .c8 tr {
    display: block;
    margin-bottom: 10px;
  }

  .c8 th {
    display: table;
    width: auto;
    margin: 0 auto;
    padding: 5px 15px;
    text-align: center;
    text-align-last: auto;
    font-weight: normal;
  }

  .c8 td {
    display: block;
    text-align: center;
    padding: 5px 0;
  }

  section .c8 {
    margin-left: auto;
    margin-right: auto;
  }

  /* スクロール後 */
  .nav.scrolled .container {
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .title a,
  .nav.scrolled .navbar li a {
    color: #fff;
  }

  .linkbox .nav {
    display: flex;
  }
}

/* ---------- PC用 ---------- */
@media only screen and (min-width:768px) {

  .top-page .menu-btn {
    display: none;
  }

  .nav.menu-open .container {
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  /* メニュー横並び */

  .nav .container nav {
    width: 100%;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .navbar li a {
    display: block;
    color: #fff;
    font-size: 1.5em;
    text-decoration: none;
    white-space: nowrap;
    padding: 10px 15px;
  }

  /* ナビゲーション*/
  .navbar li {
    flex: 1;
    text-align: center;
  }

  /*サブ*/
  .navbar li a:hover {
    transform: scale(1.1);
  }

  .main-inner {
    padding: 0px 10px 40px 10px;
    background: #fff;
  }

  main p {
    margin: 0;
  }

  /*キャッチコピー*/
  .c1 {
    position: absolute;
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    margin: 0;
    text-align: center;
    text-shadow: 1px 1px #000;
    color: #ffd88a;
    font-size: 1.4em;
    font-weight: bold;
    white-space: nowrap;
    z-index: 10;
    letter-spacing: 0.13em;
  }

  /*サブ*/
  .br-sp {
    display: none;
  }


  section .container {
    flex-flow: row;
    flex-direction: row;
    justify-content: center;
    /* 中央寄せ */
    align-items: center;
    /* 縦方向も中央寄せ（必要なら） */
    gap: 1rem;
  }

  .display-flex {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .link-box1,
  .link-box2,
  .link-box3 {
    flex: 1;
  }


  /*ナビゲーション*/

  .main-inner {
    background: #fff;
  }

  #menu {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navbar {
    justify-content: center;
  }

  /* スクロール後 */
  .nav.scrolled .container {
    background: rgba(181, 153, 72, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }

  .title a,
  .nav.scrolled .navbar li a {
    color: #fff;
  }
}

/* ---------- 1680px幅 ---------- */
@media only screen and (max-width: 1680px) {

  .c2 {
    padding: 10px 15px;
  }

  .nav {
    height: 380px;
  }

  section .container {
    gap: 50px;
  }

  .link-box1,
  .link-box2,
  .link-box3 {
    margin-bottom: 50px;
  }
}

.fade-in {
  opacity: 0;
  animation: fadeIn 5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}



.fade-reveal {
  animation: reveal 3s ease-in forwards;
}

@keyframes reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }

  50% {
    opacity: 1;
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}