/** common **/
/* =============================================== */
.contentspage {}

.contentspage img {
  max-width: 100%;
  height: auto;
}

/* ul,ol */
.contentspage ul,
.contentspage ol {
  margin: 2rem 0;
  counter-reset: ol_li;
}
.contentspage ul > li,
.contentspage ol > li {
  position: relative;
  padding-left: 2rem;
  list-style-type: none;
}
.contentspage ul > li:before {
  content: '';
  width: .8rem;
  height: .8rem;
  display: inline-block;
  background: #2aa5d8;
  position: absolute;
  left: 0;
  top: .7rem;
}
.contentspage ol > li:before {
  counter-increment: ol_li;
  content: counter(ol_li) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #2aa5d8;
}

/* table */
.contentspage table { border-collapse: collapse; border-spacing: 0; width: 100%; }
.contentspage table img { max-width: 100%; height: auto; }
.contentspage th, .contentspage td {
  display: block;
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  vertical-align: top;
}
.contentspage th {
  width: 100%;
  padding: 2rem 1rem 0.5rem;
  background-color: #fafafa;
  text-align: left;
}
.contentspage th::after {
  display: none;
}
.contentspage th:empty, td:empty {
  border: none;
}
.contentspage th p:last-of-type, .contentspage td p:last-of-type {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .contentspage th, .contentspage td { display: table-cell; padding: 1.5rem; border-bottom: 1px solid #ddd; }
  .contentspage th { width: 200px; }
  .contentspage th:empty, .contentspage  td:empty { border-bottom: 1px solid #ddd; }
}
.noboder th,
.noboder td { border: none; }

/* pagenation */
.pagenation {
  margin: 2rem 0 0;
}
.pagenation:after, .pagenation ul:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}
.pagenation ul {
    margin: 0;
}
.pagenation ul li {
  border: 1px solid #ddd;
  padding: 0;
  float: left;
  list-style: none outside none;
  margin-left: -1px;
}
.pagenation ul li::before {
  display: none;
}
.pagenation li:first-child {
  margin-left: 0;
}
.pagenation li.active {
  background-color: rgba(42, 165, 216, 1);
  color: #fff;
  padding: .8rem 1.5rem;
}
.pagenation li a {
  display: block;
  width: 100%;
  padding: .8rem 1.5rem;
  background: transparent;
  color: #227aab !important;

  text-decoration: none !important;
}
.pagenation li a:hover {
  background-color: rgba(42, 165, 216, 1);
  color: #fff !important;
  opacity: 0.8;
  transition-duration: 500ms;
  transition-property: all;
  transition-timing-function: ease;
}

#contents .contentspage h2 {
  position: relative;
  line-height: 2.2rem;
  margin: 5rem 0 4rem;
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid #d9d9d9;
  color: #028ac3;
  font-size: 2.2rem;
  font-weight: normal;
}
#contents .contentspage h2::before {
  display: none;
}
#contents .contentspage h2:first-child {
  margin: 0 0 4rem;
}
.contentspage h3 {
  position: relative;
  line-height: 2.2rem;
  margin: 5rem 0 4rem;
  padding-left: 2rem;
  font-size: 1.8rem;
}
.contentspage h3::before {
  content: '';
  display: block;
  position: absolute;
  width: 5px;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 2.5px;
  background: #2aa5d8;
}
.contentspage h4 {
  position: relative;
  line-height: 2.2rem;
  margin: 4rem 0 3rem;
  font-size: 1.6rem;
}

.contentspage p { margin-bottom: 1.5rem; }

.page_title {
  display: block;
  position: relative;
  width: 100%;
  height: 20vw;
  max-height: 200px;
  min-height: 120px;
  background: #fff url(../img/head_bg.jpg) center/cover no-repeat;
}
.page_title::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 20vw;
  max-height: 200px;
  min-height: 120px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.76);
}
#contents .page_title h2 {
  position: absolute;
  z-index: 3;
  width: 100%;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  border: none;
  color: #028ac3;
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
}
#contents .page_title h2::before { display: none; }

@media (max-width: 768px) {
  #contents .page_title h2 {
    font-size: 2.3rem;
  }
}
@media (max-width: 540px) {
  #contents .page_title h2 {
    font-size: 2rem;
  }
}
.breadcrumb {
  font-size: 1.3rem;
  background: #f1f1f1;
}
.breadcrumb > p {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
}
.breadcrumb a { color: #2aa5d8 !important; }

.contentspage .inner {
  width: 96%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 0;
}

.contentspage .archive {
  padding: 2rem 0;
  background-color: #f1f1f1;
}
.contentspage .anchor {
  background-color: #f9f9f9;
}
.contentspage .archive > ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack:justify;
  -ms-flex-pack:justify;
  -flex-pack:justify;
  -ms-flex-wrap:wrap;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto -1rem;
  transition: all 0.5s;
}
.contentspage .archive > ul + ul {
  margin: 2rem auto -1rem;
}
.contentspage .archive > ul li:before { display: none; }
.contentspage .archive > ul li {
  margin-bottom: 1rem;
}
.contentspage .archive > ul a {
  display: block;
  position: relative;
  padding: 0.3rem 1rem;
  border-radius: 3px;
  background-color: rgba(42, 165, 216, 1);
  color: #fff;
  text-decoration: none;
  font-size: 1.4rem;
}
.contentspage .archive > ul a:hover {
  color: #fff;
  background-color: rgba(42, 165, 216, 0.8);
}
.contentspage .archive > .anchorlinks li {
  padding: 0;
}
.contentspage .archive > .anchorlinks a {
  position: relative;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  color: rgba(42, 165, 216, 1);
  text-decoration: none;
  font-size: 1.3rem;
  text-align: center;
}
.contentspage .archive > .anchorlinks a::after {
  content: "";
  display: inline;
  width: 1px;
  height: 100%;
  position: absolute;
  right: -12.5%;
  border-right: 1px solid #ccc;
}
.contentspage .archive > .anchorlinks li:nth-of-type(5n) a::after {
  display: none;
}
.contentspage .archive > .anchorlinks a:hover {
  color: rgba(42, 165, 216, 0.8);
  background-color: transparent;
}

@media (min-width: 999px) {
  .contentspage .archive > ul li:last-of-type {
    margin-right: 0;
  }
}
.contentspage .archive > .sp_snopen { display: none; }
@media (max-width: 999px) {
  .contentspage .archive .flex-four > li,
  .contentspage .archive .flex-five > li {
    width: 22.5%;
    margin: 0 1% 1rem;
  }
  .contentspage .archive > .anchorlinks li:nth-of-type(5n) a::after {
    display: inline;
  }
  .contentspage .archive > .anchorlinks li:nth-of-type(4n) a::after {
    display: none;
  }
}
@media (max-width: 768px) {
  .contentspage .archive .flex-four > li,
  .contentspage .archive .flex-five > li {
    width: 46%;
    margin: 0 2% 1rem;
  }
  .contentspage .archive > .anchorlinks li:nth-of-type(2n) a::after {
    display: none;
  }
}
@media (max-width: 540px) {
  .contentspage .archive > .sp_snopen {
    display: block;
    font-weight: bold;
    text-align: center;
  }
  .contentspage .archive > .sp_snopen i {
    font-size: 1.8rem;
    transition: all 0.5s;
  }
  .contentspage .archive ul { display: none; margin: 2rem 0 0; }
  .contentspage .archive .flex-four > li {
    width: 96%;
    margin: 0 auto 1rem;
    padding: 0;
  }
  .contentspage .archive .flex-five > li {
    width: 50%;
    margin: 0 0 1rem;
  }
  .contentspage .archive > .anchorlinks li a {
    padding: 0 1rem;
    text-align: left;
  }
  .contentspage .archive > .anchorlinks a::after {
    right: 0;
  }
}
.contentspage .archive > .anchorlinks li:last-of-type a::after {
  display: none;
}

/** topics **/
.topics .inner > ul {
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px dotted #dcdcdc;
}
@media (max-width: 768px) {
  .topics .inner > ul {
    margin-bottom: 4rem;
  }
}
.topics .inner > ul li {
  min-height: 60px;
  padding: 0;
  border-bottom: 1px dotted #dcdcdc;
  font-weight: bold;
}
.topics .inner > ul li::before {
  display: none;
}
.topics .inner > ul a {
  display: block;
  width: 100%;
  padding: 0.8rem 0;
  text-decoration: none;
}
.topics .date {
  display: block;
  margin-bottom: 0.2rem;
  color: #666;
  font-size: 1.3rem;
  font-weight: normal;
}
@media (max-width: 1000px) {
  .topics .flex-two > li {
    padding: 1rem;
  }
}
@media (max-width: 768px) {
  .topics .flex-between {
    display: block;
  }
  .topics .flex-two > li {
    width: 98%;
    margin: 0 auto;
    padding: 0;
  }
}

#contents .topics_entry .inner h2:first-child {
  margin-bottom: 1rem !important;
}
.topics_entry .date {
  display: block;
  margin-bottom: 3rem;
  color: #666;
  font-size: 1.3rem;
  font-weight: normal;
}

/** form **/
.contentspage .liquorform table {
	font-size: 1.4rem;
}
.contentspage .liquorform th {
	display: block;
	padding: 1.5rem;
	width: 100%;
}
.contentspage .liquorform tr:first-of-type th {
	border-top: 1px solid #ddd;
}
.contentspage .liquorform td:empty {
	display: none;
}

.contentspage .liquorform .noborder {
	width: auto;
}
.contentspage .liquorform .noborder td {
	border: none;
	padding: 0;
}
.contentspage .liquorform .noborder td:first-of-type {
	width: 100%;
	padding: 1rem 0 0;
	font-weight: bold;
}
.contentspage .liquorform .noborder tr:first-of-type td:first-of-type {
	padding: 0;
}

.contentspage .liquorform .w200 {
	width: 200px !important;
	padding: 0 !important;
	font-weight: normal !important;
}
.contentspage .liquorform .w200 input[type="text"] {
	width: 90%;
}
.contentspage .liquorform .cell {
	display: inline-block;
}
.contentspage .liquorform input {
	max-width: 100%;
	margin-bottom: .8rem;
	padding: .5rem;
}
.contentspage .liquorform input[type="submit"],
.contentspage .liquorform input[type="button"] {
	padding: 1.5rem 3rem;
	background-color: rgba(42, 165, 216, 1);
	border: 1px solid #ddd;
	color: #fff;
	cursor: pointer;
	transition: all 0.2s linear;
}
.contentspage .liquorform table + input[type="submit"],
.contentspage .liquorform table + input[type="button"] {
	margin: 2rem 0 0;
}
.contentspage .liquorform input[type="submit"]:hover,
.contentspage .liquorform input[type="button"]:hover {
	background: transparent;
	color: #227aab;
}
.contentspage .liquorform input[type="submit"] + .contentspage .liquorform input[type="submit"],
.contentspage .liquorform input[type="submit"] + .contentspage .liquorform input[type="button"] {
	margin-left: 1.5rem;
}
.contentspage .liquorform input[name="Reset"],
.contentspage .liquorform input[name="mod"],
.contentspage .liquorform input[name="btnReset"] {
	  background-color: #ddd;
	  color: #333;
}
.contentspage .liquorform input[name*="Adress"] {
	padding: .5rem;
}
.contentspage .liquorform select {
	max-width: 300px;
	padding: .5rem 0;
	margin-bottom: .8rem;
}
.contentspage .liquorform .size80 {
	width: 100%;
}

.contentspage .liquorform .send_btn {
	padding: 2rem 0 0;
	text-align: center;
}
.contentspage .liquorform .middle_txt,
.contentspage .liquorform .send_btn p {
	margin: 2rem 0 0;
}
.contentspage .liquorform .sp {
	display: inline;
}
.contentspage .liquorform .pc {
	display: none;
}

td {
	word-break: break-all;
}
.datelist {
	width: 100%;
	overflow-x: auto;
}
.datelist > div {
	min-width: 750px;
}
.datelist > div tr:first-of-type td {
	display: none !important;
}
.datelist > div th,
.datelist > div td {
	display: table-cell !important;
	padding: .5rem !important;
	border: 1px solid #ddd !important;
}
.datelist > div th {
	width: auto !important;
	text-align: center;
}
.datelist > div td:first-of-type {
	text-align: center;
}

@media (min-width: 768px) {
	.contentspage .liquorform th {
		display: table-cell;
		width: 20%;
	}
	.contentspage .liquorform td:empty {
		display: table-cell;
	}
	.contentspage .liquorform tr:first-of-type th {
		border-top: none;
	}
	.contentspage .liquorform .noborder td:first-of-type {
		width: 25%;
		padding: 0 0 1rem;
	}
	.contentspage .liquorform .cell {
		display: table-cell;
	}
	.contentspage .liquorform .size80 {
		width: 80%;
	}
	.contentspage .liquorform .sp {
		display: none;
	}
	.contentspage .liquorform .pc {
		display: table-cell;
	}
}

/** respond **/
/* =============================================== */
@media (max-width: 1200px) {
}
@media (max-width: 1000px) {
}
@media (max-width: 768px) {
  html {
    font-size: 58.8%;
  }
}
@media (max-width: 400px) {
  html {
    font-size: 55.55%;
  }
}
