@font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    src: url("../../font/NotoSansJP-Regular.woff") format("woff");
  }

  @font-face {
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 700;
    src: url("../../font/NotoSansJP-Bold.woff") format("woff");
  }

* {
    box-sizing: border-box;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}


html[lang="ja"] {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    line-height: inherit;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    vertical-align: baseline;
    text-align: justify;
  }
  /* リセットCSS（Reset CSS） */
  html, body, div, span, applet, object, iframe,
  h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  a, abbr, acronym, address, big, cite, code,
  del, dfn, em, img, ins, kbd, q, s, samp,
  small, strike, strong, sub, sup, tt, var,
  b, u, i, center,
  dl, dt, dd, ol, ul, li,
  fieldset, form, label, legend,
  table, caption, tbody, tfoot, thead, tr, th, td,
  article, aside, canvas, details, embed,
  figure, figcaption, footer, header, hgroup,
  menu, nav, output, ruby, section, summary,
  time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

  input, select, button,textarea{
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: 600;
  }

  body{
	padding:0;
	margin:0;
	letter-spacing: 0.03em;
    background-color: #fff;
    background-image: url("../../img/bg.png") ;
	box-sizing: border-box;
	word-break: break-all;
	line-height:180%;
	width: 100%;
	color: #212121;
}


main, article{
    width: 80%;
    margin: 0 auto;
}

h1 {
    font-size: 2em;
    text-align: center;
    padding: 32px;
    margin: 0;
    background-color: #347CB3;
    width: 100%;
    font-weight: bold;
    color: #fff;
    background-image: url("../../img/nav.png");
}

div {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

ul,li {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    background-color: #1565C0;
    font-size: 1.3em;
    color: #fff;
	border-radius: 15px;
	padding: 8px 20px;
	font-weight: 500;
    cursor: pointer;
    border:none;
    transition: 0.5s;
    min-height: 40px;
    margin: 8px 0;
}

button:hover{
    opacity: 0.8;
}

.back_button{
    margin: 20px 0;
    padding: 0;
}



h2{
    font-size: 1.5rem;
    margin: 0;
}

.center {
    width: fit-content;
    margin: 0 auto;
}

.flex, .flex_center, .flex_between, .flex_around, .flex_start {
    display: flex;
}

.flex_center{
    justify-content: center;
}
.flex_between{
    justify-content: space-between;
}
.flex_around{
    justify-content: space-around;
}
.flex_start{
    justify-content: flex-start;
}

div.exit-button {
    margin-left: 1%;
}

.contents {
    margin-top: 32px;
    width: 100%;
}
.contents>div {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    min-height: 500px;
    padding: 10px;
}

.explanation, .operation, .summary {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 30px;
}
.explanation {
    background-image: url("../img/bg_key_rev.jpg");
    border-radius: 1rem 0 0 1rem;
    width: 55%;
    color: #ffffff;
    font-size: 1.33rem;
}
.operation {
    border-radius: 0 1rem 1rem 0;
    background-color: #fff;
    width: 45%;
    padding: 16px;
}
.summary {
    border-radius: 1rem;
    width: 100%;
    background-color: #fff;
    padding: 16px;
}
.explanation div.exp_text {
    width: 80%;
}

.operation  ul li{
    font-size: 1.2em;
}
.explanation div.images {
    width: 55%;
}
.contents-1 .explanation div.images, .operation div.images {
    width: 50%;
    display: flex;
    justify-content: center;
}
div.images img {
    width: 100%;
}
.operation div.images img {
    width: auto;
    height: 180px;
}
.operation div {
    width: 100%;
    /*border: solid 1px black;*/
}

.operation ul {
    margin: auto;
}

.operation input[type=password]{
    margin: 16px 0;
    border-radius: 8px;
    padding: 8px;
    font-size: 1em;
}


#in_pw, #con_pw {
    font-size: 2rem;
    width: 90%;
}
.contents .invisible {
    visibility:hidden;
}
.caution, .input_caution, .excellent {
    color: #e1511b;
}
.input_caution, .excellent {
    margin: 0.5rem 1.5rem;
}
.hidden {
    display: none;
}

.contents-7 div.summary_article,
.contents-8 div.summary_article {
    width:95%;
    display:flex;
    flex-wrap: wrap;
}
.contents-7 div.summary_article {
    justify-content: space-between;
}
.contents-8 div.summary_article {
    justify-content: flex-start;
}
.contents-7 div.summary_article p {
    font-size: 1.75rem;
}
.contents-7 div.summary_article div.example_area {
    width: 75%;
    margin-top: 1.5rem;
}
.contents-8 div.summary_article div.example_area {
    width: 80%;
    margin-top: .5rem;
}
.contents-8 div.summary_article div.example {
    margin: 1rem auto 0 auto;
    font-size: 1.5rem;
}
.contents-7 div.summary_article .images,
.contents-8 div.summary_article .images {
    width: 20%;
    margin-top: 2rem;
}
.contents-8 div.summary_article ol {
    margin: 1rem auto;
    padding: 0 1rem;
    font-size: 1.5rem;
}
.contents-8 div.summary_article ol li {
    list-style-type: none;
    counter-increment: cnt;
}
.contents-8 div.summary_article ol li::before {
    content: "(" counter(cnt) ") ";
}
.contents-8 div.reference {
    font-size: 1.2rem;
}
.contents-8 div.reference a {
    font-size: 1.0rem;
}
.contents-8 div.soumu_link {
    width: 100%;
    margin: 2rem auto;
    text-align: center;
    font-size: 1.2rem;
}
.contents-8 div.soumu_link a {
    font-size: 1rem;
}

img {
    pointer-events: none;
}



/*================PC2 600px ~ 959px================ */
@media screen and ( max-width:960px){

    body{
        font-size: 96%;
    }

    main{
        width: 100%;
        padding: 0 8px;
    }

    p, div{
        font-size: 1em;
    }

    h1 {
        font-size: 1.5em;
        padding: 16px;
    }

    .back_button{
        margin: 40px 0;
        padding: 0;
        text-align: center;
    }

    .explanation, .operation, .summary {
        display: block;
    }

    .contents>div {
        display: block;
    }

    .explanation {
        border-radius: 1rem 1rem 0 0;
        width: 100%;
        text-align: center;
    }
    .operation {
        border-radius: 0 0 1rem 1rem;
        width: 100%;
        text-align: center;
    }


    .explanation div.images {
        width: 100%;
    }
    .contents-1 .explanation div.images, .operation div.images {
        width: 100%;
        display: block;
    }


    .explanation div.images img{
        width: 50%;
        margin: 16px 0;
    }





}

