@charset "utf-8";

/* カテゴリー・詳細共通 */

/* ************************************************ 
*	ページタイトル
* ************************************************ */	
.pagetitle-box {
width: 100%;
height: 170px;
padding: 0px;
margin: 0 auto 0 auto;
position:relative;
z-index: 0;
background-color: #87cefa;
}

.wrapper-pagetitle {
margin: 0; 
padding: 0;
height: 100px;
width: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
 -webkit-transform: translate(-50%,-50%);
 -ms-transform: translate(-50%,-50%);
background-color: #56A8E4;
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-o-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-ms-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
background-color: #56A8E4;
}

.pagetitle {
margin: 0 auto 0 auto;
padding: 0 0 0 0;
font-size: 30px;
font-weight:normal;
color: #fff;
letter-spacing: 0;
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
 -webkit-transform: translate(-50%,-50%);
 -ms-transform: translate(-50%,-50%);
z-index:99;
}
.htitle {
  position: relative;
  padding: 0 0 15px 0;
  font-size: 21px;
  font-weight: 500;
}
.htitle:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  content: '';
  background-image: -webkit-repeating-linear-gradient(135deg, #999, #999 1px, transparent 2px, transparent 5px);
  background-image: repeating-linear-gradient(-45deg, #999, #999 1px, transparent 2px, transparent 5px);
  background-size: 7px 7px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}


/* ************************************************ 
*	カテゴリーページ
* ************************************************ */
.category-box {
width: 100%;
height: auto;
padding: 0;
margin: 0 auto 25px auto;
text-align: center;
overflow: hidden;
position: relative;
z-index:0;
}
.category-box img{
vertical-align: bottom;
}
.category-stitle {
background:rgba(51,51,51,0.8);
width: 100%;
font-size: 18px;
font-weight: normal;
color: #fff;
padding: 20px 0;
margin: 0 auto 0 auto;
text-align: center;
position: absolute;
bottom: 0px;
left: 50%;
transform: translateX(-50%);
 -webkit-transform: translateX(-50%);
 -ms-transform: translateX(-50%);
z-index:1;
}
.category-stitle::before {
position:relative;
top: 3px;
left: -10px;
content:"";
display:inline-block;
width:20px;
height:20px;
background-image: url("../images/icon_search.svg");
background-repeat: no-repeat;
background-size:contain;
}


/* ************************************************ 
*	詳細ページ　Wrapper
* ************************************************ */
.contents-box{
}
.wrapper-block {
display: flex;
justify-content: flex-end;
position:relative;
z-index: 9;
-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-o-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
-ms-box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
box-shadow: 0px 3px 3px rgba(0,0,0,0.1);
}
.main-content {
width: calc(75% - 275px);
min-width: 900px;
margin: 0 40px 100px auto; 
padding: 0;
}
.main-content a{  
color: #87cefa;
}
.sidebar__inner {
width: 275px;
margin: 0; 
padding: 0;
}
.is-affixed { width: 275px; }


/* ************************************************ 
*   詳細ページ
* ************************************************ */
.detail-block {
margin: 0;
padding: 30px 0 20px 0;
}
.index-box {
margin: 40px 0 0 0;
padding: 30px;
background-color: #efefef;
}
.index-box-title {
	color: #333;
	font-size: 16px;
	margin-bottom: 15px;
}

.index-box-title span {
	display: flex;
	align-items: center;
	color: #333;
	font-size: 24px;
	text-transform: uppercase;
}

.index-box ul{
margin: 0;
padding: 10px 0;
border-top: 1px solid #43b14a;
border-bottom: 1px solid #43b14a;
counter-reset:list;
list-style-type:none;
}
.index-box ul li{
  position:relative;
  padding: 0 0 0 20px;
  margin: 7px 0 7px 0px;
  line-height: 30px;
}
.index-box ul li a{
  font-size:16px;
  color: #333;
}
.index-box ul li a:hover{
  color: #000;
  text-decoration: none;
}
.index-box ul li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #333;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.detail-block .text-box{
margin: 0;
padding: 10px;
}

.cattop-btn-box {
margin: 50px auto 0 auto;
padding: 0;
text-align: center;
}
.cattop-btn a {
  display: inline-block;
  text-align: center;
  position: relative;
  margin: 0;
  padding: 20px 0;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
border: 1px solid #333;
width: 35%;
border-radius: 50vh; /* CSS3 */
 -webkit-border-radius: 50vh; /* Firefox */
 -moz-border-radius: 50vh; /* Safari,Chrome */
}
.cattop-btn a::after {
  content: '';
  width: 7px;
  height: 7px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  transform: rotate(45deg);
  position: absolute;
  right: 30px;
  top: calc(50% - 5px);
}
.cattop-btn a:hover {
  text-decoration: none;
  background-color: #efefef;
  color: #333;
  border: 1px solid #333;
  transition: 0.3s;
}
.cattop-btn a:hover::after {
  transition: 0.3s;
}


/* ************************************************ 
*	詳細ページ　リスト
* ************************************************ */
h4.detail-title {
position: relative;
margin: 15px 0 0 0;
padding:0;
background-color: #efefef;
font-size: 15px;
}

h4.detail-title label{
color: #333;
text-decoration: none;
display: block;
font-size: 15px;
font-weight: normal;
padding: 10px 10px 10px 8.5em;
text-indent: -6.3em;
}
h4.detail-title label span{
text-decoration: underline;
margin-left: 15px;
}
h4.detail-title label:hover{
color: #333;
text-decoration: none;
}
h4.detail-title label:hover span{
color: #000;
text-decoration: none;
}

h4.detail-title::after {
     position: absolute;
     top: 50%;
     left:0;
     content: '';
     width: 20px;
     height:5px;
     background-color:#43b14a;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.hidden_box {
margin: 0;
padding: 0;
}
.hidden_box .titleleft{
margin: 0 0 0 -1em;
padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    cursor :pointer;
    text-decoration: underline;
}

/*ボタンホバー時*/
.hidden_box label:hover {
color:#ff6790;
text-decoration:none;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked ~ .hidden_show {
    padding: 5px 0;
    height: auto;
    opacity: 1;
}
.hidden_box_waku {
    padding: 5px 20px;
}
li.pdf {
margin: 0 0 0 0;
padding: 10px 0px 5px 35px;
background-image: url("../images/pdf_icon.png");
background-position: 5px center;
background-repeat: no-repeat;
background-size: auto 25px;
line-height: 200%;
}
li.word {
margin: 0 0 0 0;
padding: 10px 0px 5px 35px;
background-image: url("../images/word_icon.png");
background-position: 5px center;
background-repeat: no-repeat;
background-size: auto 25px;
line-height: 200%;
}


/* ************************************************ 
*	テーブル
* ************************************************ */	
table.detailtable {
width: 100%;
margin: 20px 0 50px 0;
padding: 0 0 0 0;
border-collapse: collapse;
border-spacing: 0;
border: 1px #999 solid;
}
table.detailtable th{
font-weight: normal;
text-align: center;
padding: 15px 0 15px 0;
vertical-align: middle;
white-space: nowrap; 
border-bottom: 1px #999 solid;
border-right: 1px #999 solid;
background-color: #efefef;
}
table.detailtable td:first-child{
width:12%;
}
table.detailtable td:nth-child(2) {
width:30%;
text-align: left;
}
table.detailtable td:nth-child(3),
table.detailtable td:nth-child(4) {
width:16.5%;
}
table.detailtable td:last-child {
width:25%;
text-align: left;
word-break: break-all;
}

table.detailtable td {
text-align: center;
padding: 10px 5px;
white-space: normal;
vertical-align: middle;
border-bottom: 1px #999 solid;
border-right: 1px #999 solid;
}
table.detailtable td a{
color: #333;
text-decoration: none;
}
table.detailtable a:hover{
color: #333;
text-decoration: underline;
}
table.detailtable tbody td:before {
  background: #efefef;
  margin-right: 10px;
  padding: 20px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
table.detailtable th:last-child {
border-right: none;
}
table.detailtable td:last-child {
border-right: none;
}


/* ************************************************ 
*	サイドエリア
* ************************************************ */	
.inner_content{
width: calc(100% - 40px);
margin: 0; 
padding: 50px 20px;
background-color: #efefef;
}
.inner_content ul{
margin: 0;
padding: 0;
border-top: 1px solid #fff;
counter-reset:list;
list-style-type:none;
}
.inner_content ul li{
  position:relative;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  line-height: 30px;
  border-bottom: 1px solid #fff;
}
.inner_content ul li a{
  font-size:16px;
  color: #333;
  padding: 10px 0 10px 20px;
  display: block;
}
.inner_content ul > li.current > a,
.inner_content ul > li > a:hover {
  background-color: #fff;
  text-decoration: none;
}
.inner_content ul li.sub-menu {
text-indent: 1em;
}
.inner_content ul li.sub-menu:before{
  left: 1em;
}

.inner_content ul li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #333;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}


/* ************************************************ 
*	サイドエリアSP
* ************************************************ */	
.sidebar-sp {
width: calc(90% - 40px);
margin: 0 auto 0 auto; 
padding: 30px 20px;
background-color: #efefef;
border-bottom: 50px solid #fff;
}
.sidebar-sp ul{
margin: 0;
padding: 0;
border-top: 1px solid #fff;
counter-reset:list;
list-style-type:none;
}
.sidebar-sp ul li{
  position:relative;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  line-height: 30px;
  border-bottom: 1px solid #fff;
}
.sidebar-sp ul li a{
  font-size:4vw;
  color: #333;
  padding: 10px 0 10px 20px;
  display: block;
}
.sidebar-sp ul > li.current > a,
.sidebar-sp ul > li > a:hover {
  background-color: #fff;
  text-decoration: none;
}
.sidebar-sp ul li.sub-menu {
text-indent: 1em;
}
.sidebar-sp ul li.sub-menu:before{
  left: 1em;
}

.sidebar-sp ul li:before{
  counter-increment: list;
  content: "";
  display: block;
  position: absolute;
  left: 0;
  height: 0;
  width: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid #333;
  top: 50%;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}


/* ************************************************ 
*	スクロール調整
* ************************************************ */	
/* PC 画面の横幅が960px以上 */
#anq1,
#anq2,
#anq3,
#anq4,
#anq5,
#anq6,
#anq7,
#anq8,
#anq9,
#anq10 {
margin: -50px 0 0 0;
padding-top:50px;
}

/* Tablet (Portrait) 画面の横幅が768px〜959pxまで */
@media only screen and (min-width: 768px) and (max-width: 959px) {
#anq1,
#anq2,
#anq3,
#anq4,
#anq5,
#anq6,
#anq7,
#anq8,
#anq9,
#anq10 {
margin: -110px 0 0 0;
padding-top:110px;
}
}

/* Mobile (Portrait) 画面の横幅が767pxまで */
@media only screen and (max-width: 767px) {
#anq1,
#anq2,
#anq3,
#anq4,
#anq5,
#anq6,
#anq7,
#anq8,
#anq9,
#anq10 {
margin: 0;
padding-top: 0;
}
}


/* ************************************************ 
*   レスポンシブ
* ************************************************ */
/* PC 画面の横幅が1240px以上 */
@media only screen and (min-width: 1240px){
.sidebar-sp { display: none; }
}

/* PC 画面の横幅が960px以上 */
@media only screen and (min-width: 960px){
.sidebar-sp { display: none; }
.main-content { min-width: 66%; }
}

/* Tablet (Portrait) 画面の横幅が768px〜959pxまで */
@media only screen and (min-width: 768px) and (max-width: 959px) {
.wrapper-pagetitle {
width: 100%;
}
.pagetitle { font-size: 21px; }

.detail-block { padding: 30px 0 20px 0; }
.index-box {
margin: 30px 0 0 0;
padding: 30px;
}
.htitle { font-size: 18px; }

.main-content {
width: calc(95% - 210px);
min-width: 70%;
margin: 0 2.5% 50px 2.5%; 
}

.cattop-btn a {
font-size: 15px;
width: 50%;
}

.sidebar__inner {
width: 210px;
}
.is-affixed { width: 210px; }
.inner_content{
width: calc(100% - 30px);
margin: 0; 
padding: 60px 15px;
}
.inner_content ul li a{
  font-size:13px;
  padding: 7px 0 7px 15px;
}
.sidebar-sp { display: none; }

}


/* Mobile (Portrait) 画面の横幅が767pxまで */
@media only screen and (max-width: 767px) {
.pagetitle-box {
width: 100%;
height: 100px;
}
.wrapper-pagetitle {
height: 60px;
}
.pagetitle-illustbox {
    width: 100%;
    margin: 0;
}
.pagetitle { font-size: 6vw; width: 100%; }
.category-stitle {
    font-size: 4vw;
    padding: 17px 0 20px 0;
}

.hidden_box_waku { padding: 0; }
.hidden_box_waku-news { padding: 0px 0px 10px 0px; }
.hidden_box_waku-link { padding: 10px 0px; }
.hidden_box_waku-link li{ margin: 0px 0px 15px 0px; }

.detail-block { padding: 30px 0 20px 0; }
.index-box {
margin: 30px 0 0 0;
padding: 30px 15px;
}
.index-box-title { font-size: 4.5vw; }
.index-box-title span { font-size: 6vw; }
.index-box ul li a { font-size: 4vw; }

.htitle { font-size: 5.5vw; }
.detail-block .text-box{ padding: 0; }

.cattop-btn a {
padding: 15px 0;
font-size: 4.5vw;
width: 100%;
}

.main-content {
width: 90%;
min-width: 90%;
margin: 0 auto 50px auto; 
}

h4.detail-title label{
font-size: 4.5vw;
padding: 10px 10px 10px 1em;
text-indent: 1em;
line-height: 150%;
}

table.detailtable {
border-top: 2px solid #999;
font-size: 4vw;
}
table.detailtable tr {
border-top: 2px solid #999;
}
table.detailtable th {
text-align: center;
border-right: none;
}
table.detailtable tbody td:before {
    padding: 15px 10px;
}
table.detailtable td {
text-align: left;
border-right: none;
border-bottom: 1px #999 solid !important;
padding: 0 0 0 0;
vertical-align: middle;
}
table.detailtable td .bt-content{
padding: 15px 0;
}
table.detailtable td:first-child,
table.detailtable td:nth-child(2),
table.detailtable td:nth-child(3),
table.detailtable td:nth-child(4),
table.detailtable td:last-child {
width:100%;
}

.sidebar-bg { display: none; }

}
