﻿#wrapper {
    background: #f9f9f9;
}

section#service-archive {
    padding: 0;
    background: none;
}

ul.service_list.flex {
    flex-wrap: wrap;
    justify-content: flex-start;
}

ul.service_list li {
    width: 23.5%;
    margin: 0 2% 4% 0;
}

ul.service_list li:nth-child(4n) {
    margin: 0 0 4% 0;
}

ul.service_list li a img {height: auto;}

ul.service_list li a figure {
    border: 1px solid #efefef;
}

ul.service_list li a figcaption small.cate {
    border: 1px solid;
    padding: 0px 6px 2px;
    display: inline-block;
    border-radius: 5px;
    margin: 0 8px 0 0;
}

/*tab*/

.tab-box {
    margin: 60px auto 0;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  border-radius: 10px;
  position: relative;
  padding: 0;
}

.tab-wrap .list {
    overflow: hidden;
    background: #fff;
    border-radius: 0 0 5px 5px;
    border-top: 3px solid #183d5d;
}

.tabnav{
  display: flex;
  justify-content: center;
  width: 100%;
}
.tabnav li{
    width: 50%;
}
.tabnav li a{
    font-size: 1.3em;
    line-height: 1.5;
    display: block;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    margin: 0;
    text-align: center;
    color: #000;
    font-weight: 600;
    padding: 25px 0;
    border-radius: 5px 5px 0 0;
    bottom: 0px;
}
.tabnav li a.active{
    opacity: 1;
    background: #183d5d;
    color: #fff;
    border-right: none;
    bottom: 0px;
    box-shadow: inset -4px -3px 6px 3px #12304a;
    z-index: 3;
    padding: 25px 0 25px;
}


.tab-label {
  display:flex;
  justify-content: center;
  flex-wrap:wrap;
}

.tab-content {
  width: 100%;
  overflow: hidden;
  padding: 50px;
  display:
  none;
}

.tab-content.show{
	display:block;
}

.tab-label {
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  margin: 0;
  width: 50%;
  text-align: center;
  color: #000;
  font-weight: 600;
  padding: 25px 0;
  border-radius: 5px 5px 0 0;
  bottom: 0px;
}




/* アクティブなタブ */

.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  opacity: 1;
  transition: .5s opacity;
  margin: 0;
  padding: 0;
  border-top: 3px solid #183d5d;
}


.tab-switch:checked+.tab-label:before {
    opacity:1;
}

/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}

.tab-switch:checked+.tab-label+.tab-content b span {
    font-size: 28px;
    font-weight: 700;
}

.tab-switch:checked+.tab-label{
	opacity:1;
	background: #183d5d;
	color: #fff;
	border-right: none;
	bottom: 0px;
	box-shadow: inset -4px -3px 6px 3px #12304a;
	z-index: 3;
	padding: 25px 0 25px;
}

section#information.pass {
    padding: 0;
    background: none;
    border-radius: 0;
}

.link-list a.button3.pdf span {
    padding: 0 8px 0 0;
}

table.kubun {
    table-layout: auto;
    width: 1250px;
    width: auto;
}

table.kubun tr th:first-child {
    width: 10%;
}

table.kubun tr th {
    text-align: center;
    border-right: 1px dashed #eee;
}

table.kubun td {
    border-right: 1px dashed #eee;
    width: 9%;
}

table.kubun th:last-child,table.kubun td:last-child {
    border-right: none;
}

table.kubun tr:last-child td:last-child{
    border-right:1px dashed #eee;
}


@media (max-width: 1920px) {



}


@media (max-width: 1699px) {

  
}

@media (max-width: 1499px) {


}
@media (max-width: 1299px) {
  
/*定期*/
  .tabnav li a {
    font-size: 1.1em;
  }

}



@media (max-width: 1200px) {
section#service-archive .inner {
    max-width: 100%;
}
	
ul.service_list li {
    width: 32%;
}

ul.service_list li:nth-child(4n) {
    margin: 0 2% 4% 0;
}

ul.service_list li:nth-child(3n) {
    margin: 0 0 4% 0;
}

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


}



@media (max-width: 991px) {

  
/*tab*/
.tab-content {
    padding: 30px;
}
    
/*ic*/
ul.ic-all-list li {
    width: 31.33333%;
}

ul.ic-all-list li:nth-child(3n) {
    margin: 0 0 3% 0;
}

ul.ic-all-list li:nth-child(5n) {
    margin: 0 3% 3% 0;
}



}

@media (max-width: 767px) {
/*tab*/


.tabnav li {
    width: 20%;
}

 .tabnav li a,.tabnav li a.active {
    font-size: 1em;
    padding: 5px 0;
 }

 .tabnav li a b{
	 display:none;
 }
	


ul.service_list li,ul.service_list li:nth-child(3n) {
    width: 48.5%;
    margin: 0 3% 6% 0;
}

ul.service_list li:nth-child(2n) {
    margin: 0 0 6% 0;
}
    
}

@media (max-width: 480px) {
  #wrapper{
      background:none;
  }

  #message, #information {
    padding: 0;
    }

    .sub-inner {
        max-width: 90%;
        margin: auto;
    }

	section#service-archive .inner {
     max-width: 90%;
	}

	.tab-content {
    padding: 30px 0;
	}

}


@media (max-width: 350px) {


}
