tabmenu.css 5.71 KB
@charset "utf-8";
/* CSS Document */

/*------------------------------------------------------------
   トップページインフォメーションタブ
------------------------------------------------------------*/
label.panel-label {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  display: block;
  width: 100%;
  /*color: #bdc3c7;*/
  cursor: pointer;
  /*background-color: #ecf0f1;*/
  -webkit-transition-property: background-color, color;
  transition-property: background-color, color;
  -webkit-transition-duration: 200ms;
  transition-duration: 200ms;
  
}
label.panel-label:hover {
  /*color: #003399;*/
  
  background-color: #009fa8;
}

#panels {
  background-color: white;
  
  border: 1px solid #dfdfdf;
  padding: 10px 20px;
}
#panels .container {
  margin: 0 auto;
  width: 100%;
}
#panels section header label.panel-label {
  /*padding: 12px 24px;*/
  box-sizing: border-box;
}
#panels section main,
#panels section .main {
  box-sizing: border-box;
  max-height: 0;
  opacity: 0;
  -webkit-transition: opacity 600ms;
  transition: opacity 600ms;
  overflow-y: hidden;
}
#panels .moduletable {
}
#panels .moduletable h3 {
	display: none;
}
#panels ul.category-module {
	margin: 0;
	text-align: left;
}
#panels ul.category-module li {
	list-style-type: none;
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #dfdfdf;
	font-size: 90%;
}

.mod-articles-category-category {
	background-color: #e60019;
	color: #fff;
	padding: 1px 5px 0;
	text-align: center;
	margin: 0 5px;
	font-size: 85%;
}
.mod-articles-category-category a,
.mod-articles-category-category a:link,
.mod-articles-category-category a:active,
.mod-articles-category-category a:hover,
.mod-articles-category-category a:visited {
	text-decoration: none;
	color: #fff;
}


#panel-1-ctrl:checked ~ #panels #panel-1 main,
#panel-2-ctrl:checked ~ #panels #panel-2 main,
#panel-3-ctrl:checked ~ #panels #panel-3 main,
#panel-4-ctrl:checked ~ #panels #panel-4 main,
#panel-5-ctrl:checked ~ #panels #panel-5 main,

#panel-1-ctrl:checked ~ #panels #panel-1 .main,
#panel-2-ctrl:checked ~ #panels #panel-2 .main,
#panel-3-ctrl:checked ~ #panels #panel-3 .main,
#panel-4-ctrl:checked ~ #panels #panel-4 .main,
#panel-5-ctrl:checked ~ #panels #panel-5 .main {
  max-height: initial;
  opacity: 1;
  /*padding: 48px 24px;*/
  
  padding: 10px 20px;
}


#panel-1-ctrl:checked ~ #tabs-list #li-for-panel-1,
#panel-2-ctrl:checked ~ #tabs-list #li-for-panel-2,
#panel-3-ctrl:checked ~ #tabs-list #li-for-panel-3,
#panel-4-ctrl:checked ~ #tabs-list #li-for-panel-4,
#panel-5-ctrl:checked ~ #tabs-list #li-for-panel-5 {
  pointer-events: none;
  cursor: default;
  -webkit-transform: translate3d(0, 1px, 0);
  transform: translate3d(0, 1px, 0);
  box-shadow: none;
  border-right: none;
  
  background-color: #009fa8;
}
#panel-1-ctrl:checked ~ #tabs-list #li-for-panel-1.last,
#panel-2-ctrl:checked ~ #tabs-list #li-for-panel-2.last,
#panel-3-ctrl:checked ~ #tabs-list #li-for-panel-3.last,
#panel-4-ctrl:checked ~ #tabs-list #li-for-panel-4.last,
#panel-5-ctrl:checked ~ #tabs-list #li-for-panel-5.last {
  /*border-right: 1px solid transparent;*/
}
#panel-1-ctrl:checked ~ #tabs-list #li-for-panel-1 + li,
#panel-2-ctrl:checked ~ #tabs-list #li-for-panel-2 + li,
#panel-3-ctrl:checked ~ #tabs-list #li-for-panel-3 + li,
#panel-4-ctrl:checked ~ #tabs-list #li-for-panel-4 + li,
#panel-5-ctrl:checked ~ #tabs-list #li-for-panel-5 + li {
  /*border-left: 1px solid #dfdfdf;*/
}
#panel-1-ctrl:checked ~ #tabs-list #li-for-panel-1 label.panel-label,
#panel-2-ctrl:checked ~ #tabs-list #li-for-panel-2 label.panel-label,
#panel-3-ctrl:checked ~ #tabs-list #li-for-panel-3 label.panel-label,
#panel-4-ctrl:checked ~ #tabs-list #li-for-panel-4 label.panel-label,
#panel-5-ctrl:checked ~ #tabs-list #li-for-panel-5 label.panel-label {
  /*background-color: white;
  color: #003399;*/
}
#panel-1-ctrl:checked ~ #tabs-list #li-for-panel-1 label.panel-label::after,
#panel-2-ctrl:checked ~ #tabs-list #li-for-panel-2 label.panel-label::after,
#panel-3-ctrl:checked ~ #tabs-list #li-for-panel-3 label.panel-label::after,
#panel-4-ctrl:checked ~ #tabs-list #li-for-panel-4 label.panel-label::after,
#panel-5-ctrl:checked ~ #tabs-list #li-for-panel-5 label.panel-label::after {
  /*height: 6px;*/
}



ul#tabs-list {
  display: flex;
  list-style: none;
  text-align: center;
  margin: 0 0 0 20px;
  padding: 0;
}
ul#tabs-list li {
  text-align: center;
  font-size: 90%;
  /*width: 18%;
  box-shadow: 0px -2px 2px rgba(0, 0, 0, 0.05);
  border-right: 1px solid #dfdfdf;*/
  position: relative;
  
  list-style-type: none;
  margin: 0 5px 0;
  background-color: #787878;
  color: #fff;
  padding: 5px;
}
ul#tabs-list li:hover {
  -webkit-transition: none;
  transition: none;
  border-right: none;
  
  background-color: #009fa8;
}
ul#tabs-list li:hover.last {
  /*border-right: 1px solid transparent;*/
}
ul#tabs-list li:hover + li {
  /*border-left: 1px solid #dfdfdf;*/
}
ul#tabs-list li label.panel-label {
  position: relative;
  padding: 0;
  
  font-size: 90%;
  margin: 0 auto;
  line-height: 1.3;
}
ul#tabs-list li label.panel-label::after {
  content: "";
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 100%;
  /*background-color: #003399;*/
  height: 0;
  -webkit-transition-property: height;
  transition-property: height;
  -webkit-transition-duration: 200ms;
  transition-duration: 200ms;
}
ul#tabs-list li label.panel-label:hover {
  /*padding-top: 24px;*/
  background-color: #009fa8;
}
ul#tabs-list li label.panel-label:hover::after {
  /*height: 6px;*/
  
  background-color: #009fa8;
}

main, .main {
    margin: 0 auto;
	
	width: 100%;
}
.panel-radios {
  display: none;
}

main p, .main p {
  /*line-height: 1.3;*/
}


@media (max-width: 1231px) {
	}


/*-------------------*/
}