/* カスタムプリセット */

:root {
  --link-color: #1F2382;
  --color1: #054624;
  --color2: #79030F;
  --color3: ;
  --content-width: 960px;
  --gutter: 1.3rem;
  --fnt-sml: 0.8rem;
  --fnt-lrg: 1.5rem;
  --breakpoint1: 960px;
  --breakpoint2: 700px;
}

* {
  margin: 0;
  padding: 0;
  outline: 0;
  font-size: inherit;
  line-height: inherit;
  vertical-align: baseline;
  background: transparent
}

*,
*:before,
*:after {
  box-sizing: border-box
}

/*リンクの設定*/

a {
  color: #1F2382;
  color: var(--link-color);
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none
}

a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  color: inherit;
  text-decoration: none
}

/*フォント*/

html {
  font-family: "Lucida Grande", Tahoma, Verdana, Arial, "Hiragino Kaku Gothic Pro", Meiryo, "MS PGothic", sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.8;
  font-weight: 400
}

@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css);
/*レイアウト*/

main p,
main h1,
main h2,
main h3,
main h4,
main h5,
main h6,
.mb {
  margin-bottom: 1.3rem;
  margin-bottom: var(--gutter)
}

.mb0 {
  margin-bottom: 0
}

.mb_ {
  margin-bottom: .5rem
}

.mb1 {
  margin-bottom: 1rem
}

.mb1_ {
  margin-bottom: 1.5rem
}

.mb2 {
  margin-bottom: 2rem
}

.mb2_ {
  margin-bottom: 2.5rem
}

.mb3 {
  margin-bottom: 3rem
}

.mt2 {
  margin-top: 2rem
}

img {
  object-fit: contain
}

.text-clear {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  white-space: nowrap
}

.fill-parent {
  display: block;
  width: 100%;
  height: 100%
}

.reset-style {
  all: unset;
  display: block
}

.left {
  float: left
}

body {
  width: 100%;
  background: #FFF;
  color: #333;
  font-size: 14px;
}

.wrapper {
  width: 960px;
  margin: 0 auto;
}

.clearfix {
  clear: both;
  min-height: 1px;
}

.clearfix:after {
  content: ".";
  visibility: hidden;
}

/*   header    */

header {
  margin: 0 auto 30px auto;
}

header.sub {
  height: 190px;
  margin-bottom: 0;
}

header .wrapper {
  position: relative;
}

header h1 {
  background: url(../assets/templates/swc/images/logo.png) no-repeat;
  height: 120px;
  width: 308px;
}

header #info1 {
  background: url(../assets/templates/swc/images/info.png) no-repeat;
  position: absolute;
  top: 25px;
  right: 0;
  width: 294px;
  height: 18px;
  font-size: 0;
}

header #info1 li {
  display: inline-block;
  width: 90px;
  height: 18px;
}

header #info1 li:nth-child(2) {
  width: 120px;
  padding: 0 10px;
}

header #info1 li:nth-child(3) {
  width: 84px;
}

header #info2 {
  position: absolute;
  top: 55px;
  right: 0;
  font-size: 0;
}

header #info2 li {
  display: inline-block;
  width: 140px;
  height: 36px;
}

header #info2 li:nth-child(1) {
  background: url(../assets/templates/swc/images/join.png) no-repeat;
  margin-right: 10px;
}

header #info2 li:nth-child(2) {
  background: url(../assets/templates/swc/images/about.png) no-repeat;
  margin-right: 10px;
}

header #info2 li:nth-child(3) {
  background: url(../assets/templates/swc/images/mypage.png) no-repeat;
}

header #info1 li a {
  display: block;
  width: 100%;
  height: 18px;
}

header .main-menu {
  background: #054624;
  height: 70px;
}

header .main-menu ul {
  height: 70px;
  width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
}

header .main-menu ul li {
  padding: 0 1rem;
}

/*
header .main-menu ul li.has-sub:not(.opened) {
  position: relative;
}
header .main-menu ul li.has-sub:not(.opened):before {
  content: " ";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  cursor: pointer;
}
*/

header .main-menu ul li a {
  display: flex;
  align-content: center;
  line-height: 70px;
  color: #fff;
}

header .main-menu ul li a:hover {
  text-decoration: none;
  color: #BC9A9C;
}

.sub-menu {
  background: rgba(0, 0, 0, .75);
  height: 70px;
  width: 100%;
  position: absolute;
  left: 0;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
}

.sub-menu ul {
  height: 70px;
  width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: left;
  padding: 0 20px;
  transform: translateX(-30%);
  transition: 0.4s;
}

.has-sub.opened .sub-menu {
  visibility: visible;
  opacity: 1;
  z-index: 2;
}

.has-sub.opened .sub-menu ul {
  transform: translateX(0);
}

.sub-menu ul li a {
  display: flex;
  align-content: center;
  line-height: 70px;
  color: #fff;
  padding: 0 15px;
}

.sub-menu ul li a:before {
  content: "〉";
}

.sub-menu ul li a:hover {
  text-decoration: none;
  color: #BC9A9C;
}

.sub-header {
  background: url(../assets/templates/swc/images/sub_main_bg.png) repeat center center;
}

.sub-header h2 {
  font: 1.8rem/3 'Noto Sans Japanese', sans-serif;
  font-weight: 600;
}

/* slide */

.slide-wrapper {
  position: relative;
}

header .slider {
  height: 400px;
  background: #eee;
  background-size: cover;
  width: 3000px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 auto;
}


/*  bxslider  */

.bx-wrapper {
  border: none;
  box-shadow: none;
  height: 400px;
  width: 100%;
  margin: 0;

}

.bx-wrapper ul li img {
  object-fit: cover;
  height: 400px;
}


.bx-wrapper .bx-pager.bx-default-pager {
  bottom: 15px;
  padding: 0;
}

.bx-wrapper .bx-pager.bx-default-pager a {
  background-color: rgba(255, 255, 255, .5);
}

.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active {
  background-color: #fff;
}



/*      main       */

main article {
  width: 960px;
  margin: auto;
}

.breadcrumbs li {
  display: inline-block;
}

.breadcrumbs li:not(:last-child):after {
  content: ">";
  margin: auto .5rem;
}

.breadcrumbs a:hover {
  color: inherit;
}

main section h3 {
  background: #79030F;
  background: var(--color2);
  padding: .8rem auto;
  padding-left: 1rem;
  font-size: 1.3rem;
  font-weight: bold;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 1.3rem;
  margin-bottom: var(--gutter);
}

main section h4 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 1em;
}

main section p {
  line-height: 1.8;
}

main section dl.meeting {
  line-height: 1.8;
}

dl.meeting {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

dl.meeting dt {
  width: 20%;
  padding: 5px 0;
}

dl.meeting dd {
  width: 80%;
  padding: 5px 0;
}

div.conf1123 {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

div.conf1123 div:first-child {
  text-align: center;
  width: 10%;
}

div.conf1123 div:nth-child(2) {
  width: 80%;
}

div.conf1123 div:nth-child(2) p {
  margin: 0;
}

div.sympo_program {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

div.sympo_program div:first-child {
  text-align: center;
  width: 15%;
}

div.sympo_program div:nth-child(2) {
  width: 85%;
}

div.sympo_program div:nth-child(2) p {
  margin: 0;
}

div.summer_school {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

div.summer_school div:first-child {
  text-align: center;
  width: 20%;
}

div.summer_school div:nth-child(2) {
  width: 80%;
}

div.summer_school div:nth-child(2) p {
  margin: 0;
}

main.sub section p {
  margin-bottom: 20px;
}

section#top_about {
  display: flex;
  align-items: center;
}

section#top_about h2 {
  white-space: nowrap;
  font-size: 2.5rem;
  font-family: 'Noto Sans Japanese', sans-serif;
  font-weight: 400;
  font-weight: bold;
  margin-bottom: 0;
  margin-right: 3rem;
  width: 360px;
}

section#top_about h2 span {
  display: block;
  font-size: 18px;
  color: #7D0310;

}

section#top_about p {
  font-weight: 600;
  transform: translateY(20px);
}

section#top_about p a {
  float: right;
}

section#items {
  background: url(../assets/templates/swc/images/bg.png) repeat;
  padding: 50px 0;
}

section#items > .wrapper {
  display: flex;
  justify-content: space-around;
}

section#items div.item {
  width: 300px;
  padding: 20px 20px 0;
  background: #fff;
  position: relative;
}

section#items div.item > p {
  margin-bottom: 4rem;
}

section#items div.item p span {
  font-weight: bold;
  display: block;
  font-size: 16px;
}

section#topics:not(.reset-style) {
  background: url(../assets/templates/swc/images/niagara_16-9.jpg) no-repeat center center;
  background-size: auto 100%;
  padding: 30px 0;
  min-height: 600px;
}

section#topics .wrapper {
  height: 540px;
  background: rgba(255, 255, 255, .8);
  padding: 30px 30px 90px 30px;
  width: 900px;
  position: relative;
}

section#topics h2 {
  font-weight: 700;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  margin-bottom: 1.3rem;
  margin-bottom: var(--gutter);
}

section#topics h2 span {
  font-weight: 600;
  color: #79030F;
  color: var(--color2);
  font-size: 1.4rem;
  margin-left: 2rem;
}

section#topics dl.topics {
  height: 350px;
  overflow-y: scroll;
  padding-right: 20px;
}

article section#topics dl.topics {
  min-height: 105px;
  height: auto;
  overflow-y: auto;
}

section#topics dl dt {
  font-weight: bold;
  float: left;
}

section#topics dl dd {
  padding-left: 150px;
}

section#topics dl dd:nth-child(3n+2) {
  color: #052089;
}

section#topics dl dd:nth-child(3n) {
  margin-bottom: 10px;
}


section#topics a.archive {
  background: url(../assets/templates/swc/images/archive.png) no-repeat;
  display: block;
  width: 160px;
  height: 36px;
  position: absolute;
  right: 30px;
  bottom: 30px;
  font-size: 0;
}

section ul.sitemap li ul li {
  padding-left: 1em;
}

div#sitemap li {
  margin-left: 30px;
}

div#sitemap li.sitemap-first {
  margin: 0;
}

div#sitemap li.sitemap-parent ul.sitemap-child {
  margin-left: 30px;
}

div#sitemap li.sitemap-parent ul.sitemap-child li.sitemap-first {
  margin-left: 30px;
}


.tikei {
  padding: 1.5rem;
  padding-left: 300px;
}

.tikei p {
  line-height: 1.8em;
}

a.detail {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  background: var(--color2);
  padding: 5px 20px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  white-space: nowrap;
}

a.detail:hover {
  text-decoration: none
}

a.detail:before {
  content: ">";
  color: #79030F;
  color: var(--color2);
  background: #fff;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border-radius: 1rem;
  line-height: 1;
  text-align: center;
  font-weight: 1000;
  margin-right: .8rem;
}

.paginate {
  display: flex;
  justify-content: space-between;
  padding: .3rem .5rem;
}

.ditto_off {
  display: none;
}

.paginate .prev,
.paginate .next {
  width: 4em;
  text-align: center;
}

.paginate .prev a,
.paginate .next a {
  display: block;
  width: 100%;
  height: 100%;
}

.paginate .pages {
  border: 1px solid #054624;
  border: 1px solid var(--color1);
  border-radius: .3rem;
}

.paginate .pages a,
.paginate .pages span {
  padding: 0 .5rem;
}

.paginate .pages a:hover {
  color: #fff;
  background: #054624;
  background: var(--color1);
  text-decoration: none;
}

.floor-nav li a {
  display: block;
  width: 100%;
  background: #79030F;
  background: var(--color2);
  border-bottom: .2rem solid #303e54;
  border-radius: .4rem;
  margin-bottom: .8rem;
  text-align: center;
  color: #fff;
  line-height: 3;
  display: block;
}

.floor-nav li a:active {
  margin-top: .2rem;
  transform: translateY(.2rem);
  border-bottom: none;
}

.floor-nav li a:hover {
  text-decoration: none;
}

a.pdf_file {
  background: url(../content/images/pdf_icon.png) no-repeat;
  background-size: 17px;
  padding-left: 18px;
}

a.excel {
  background: url(../content/images/xls_icon.png) no-repeat;
  background-size: 17px;
  padding-left: 18px;
}

/*    banners    */

#banners {
  margin: 20px auto;
  width: 960px;
}

#banners ul {
  font-size: 0;
}

#banners ul li {
  display: inline-block;
  width: 320px;
  text-align: center;
}

dl.chikei {
  display: flex;
  flex-wrap: wrap;
}

dl.chikei dt {
  width: 20%;
  text-align: end;
}

dl.chikei dd {
  width: 80%;
}

div.executive_list ul {
  margin-bottom: 30px;
}

div.geopark ul {
  margin-bottom: 30px;
}

div.geopark ul li {
  padding: 5px 0;
}

div.award h4 {
  text-decoration: underline;
}

table.archives {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
  border: solid 2px #79030F;
  border: solid 2px var(--color2);
}

table.archives th {
  background-color: #79030F;
  background-color: var(--color2);
  color: #fff;
}

table.archives tr {
  border-collapse: collapse;
  border: dashed 1px #79030F;
  border: dashed 1px var(--color2);
}

table.archives th,
table.archives td {
  text-align: center;
  padding: 5px 0;
}

/*      footer       */

footer {
  width: 100%;
  background: #054624;
  margin-top: 100px;
  position: relative;
}

footer:before {
  content: " ";
  display: block;
  position: absolute;
  background: url(../assets/templates/swc/images/footer_bg.png) no-repeat center top;
  height: 110px;
  width: 100%;
  max-width: 1271px;
  left: 50%;
  transform: translateX(-50%);
  top: -56px;
}

footer .wrapper {
  width: 100%;
  max-width: 1271px;
  overflow: hidden;
  position: relative;
}

footer a.to_top {
  display: block;
  position: absolute;
  top: -40px;
  z-index: 2;
  height: 100px;
  width: 100%;
}

footer nav {
  width: 960px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  padding: 60px 0 0;
}

footer nav > ul > li {
  display: inline-block;
  font-weight: bold;
  height: 170px;
  vertical-align: top;
  padding-right: 33px;
}

footer nav ul li ul {
  padding-top: 10px;
  font-weight: lighter;
}

footer nav ul li:last-child ul {
  padding-top: 0;
}

footer nav ul li:last-child ul li {
  font-weight: bold;
  padding-bottom: 10px;
}

footer nav ul li span {
  color: rgba(255, 255, 255, 0.5);
}

footer nav ul li a {
  color: #fff;
}

footer nav ul li a:hover {
  color: #fff;
}

footer p {
  text-align: center;
  color: #fff;
  padding-bottom: 30px;

}

.booksContainer {
  display: flex;
  flex-wrap: wrap;
}

.booksContainer .books {
  width: 480px;
  height: 480px;
}

.booksContainer .books img {
  width: 200px;
}