html {
    background: white;
}

header{
    background: linear-gradient(180deg,dodgerblue, deepskyblue);
    height: 160px;
    text-align: center;
    font-size: 32px;
    padding-top: 32px;
}

main {
    background:white;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.06);
    color: #545454;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 750px;
    padding: 2em 2em 4em;
}
/**/
aside{
    width: 220px;
    background: skyblue;
    padding-left: 2em;
    
}

#contents{
    display: flex;
}

h1{
    color: white;
    font-size: 16px;
}

h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

h2 {
    margin-top: 4em;
}

a {
    color: black;
    text-decoration: none;
}

b, strong {
    font-weight: 600;
}

footer{
    height: 48px;
    padding-top: 1em;
    background-color: #003682;
    color:white;
    text-align: center;
    clear:both;
}

samp {
    display: none;
}

img {
    animation: colorize 2s cubic-bezier(0, 0, .78, .36) 1;
    background: transparent;
    border: 10px solid rgba(0, 0, 0, 0.12);
    border-radius: 4px;
    display: block;
    margin: 1.3em auto;
    max-width: 95%;
}

ul{
    list-style: none;
}

sup{
    font-weight: bold;
}

table{
    margin:auto;
}

th,td{
    border: 1px solid;
}

tbody th{
    text-align: left;
}

@keyframes colorize {
    0% {
        -webkit-filter: grayscale(100%);
        filter: grayscale(100%);
    }
    100% {
        -webkit-filter: grayscale(0%);
        filter: grayscale(0%);
    }
}

.lead{
    margin-left:8em;
    color: black;
    font-size: 16.5px;
    
}


.horizon{
    text-align: center;
}

.footnote{
    font-size: 14px;
}

.lawcode{
    background-color: white;
    margin: 1em;
    padding: 1em;
    border: 1px solid black;
}

.endline{
    text-align: center;
    margin-top: 3em;
}

.margin2em{
    margin-left: 2em; 
}

//ここからは、アコーディオン表示のためのコード。

.wrap {
  margin: 2em 0;
  padding: 0;
}

.wrap label {
  display: block;
  padding : 4px;
    height: 24px;
    width:144px;
  color: black;
  font-weight: bold;
  background: lightblue;
    text-align: center;
  cursor: pointer;
    float: right;
}

.wrap labelb {
  display: block;
  padding : 4px;
    height: 24px;
  color: black;
  font-weight: bold;
  text-align:right;
  cursor: pointer;
}

.wrap input[type="checkbox"] {
  display: none;
}

.wrap .content {
  height: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 10px;
}

.switch:checked + .content {
  height: auto;
  padding: 18px;
  background: #f7f7f7;
    clear:both;
}

//ここまで。


//アコーディオン表示「かっ飛び編」SPL。

.wrapb {
  margin: 2em 0;
  padding: 0;
}

.wrapb label {
  display: block;
  padding : 4px;
    height: 24px;
  color: dimgray;
  font-weight: bold;
  text-align:right;
  cursor: pointer;
}

.wrapb input[type="checkbox"] {
  display: none;
}

.wrapb .content {
  height: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 10px;
}

.switch:checked + .content {
  height: auto;
  padding: 18px;
  background: #f7f7f7;
    clear:both;
}

//ここまで。



