@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: 90%;
    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.2em;
	color: #fff;
	border-radius: 15px;
	padding: 2px 20px;
	font-weight: 500;
    cursor: pointer;
    border:none;
    transition: 0.5s;
    min-height: 40px;
}

button:hover{
    opacity: 0.8;
}

.back_button{
    margin: 20px 0;
    padding: 0;
}
.back_button button,
.menu_box button,
.lesson button {
    padding: 8px 20px;
}


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



.button {   /* 使い方ページで使用しているボタン見本 */
    font-size: 1.5rem;
    color: #fff;
    background-color: #498fcf;
    margin: 0.5rem;
    padding: 0.3rem;
}
.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: 5%;
}

.selectmenu{
    width: 80%;
    margin: 0 auto;
    justify-content: space-evenly;
    align-items: stretch;
}
.selectmenu div{
    text-align: center;
    margin: 2rem 0;
    width: 25%;
    padding: 8px;
    /* margin: 5rem;
    width: 40rem;
    font-size: 4rem; */
}
.selectmenu p{
    text-align: center;
    /* width: 40rem; */
    font-size: 1.5rem;
    margin: 1rem 0 0;
    font-weight: bold;
}
.selectmenu button {
    text-align: center;
    padding: 1vh 1vw;
    border-radius: 1rem;
    color: #333333;
    width: 100%;
    height: 100%;
    font-size: 1.2rem;
    font-weight: bold;
}
.selectmenu button.color_g {
    background-color: #DCF9C4;
    border: solid 3px #C2EDA0;
}
.selectmenu button.color_o {
    background-color: #FFE1A4;
    border: solid 3px #FFD37B;
}
.selectmenu button.color_y {
    background-color: #FFF49A;
    border: solid 3px #FFEF71;
}
.selectmenu button.color_c {
    background-color: #D1ECFF;
    border: solid 3px #A8DBFF;
}

.selectmenu img{
    text-align: center;
    width: 15rem;
    height: 10rem;
}

.start {
    width: 80%;
    display: flex;
    flex-wrap: wrap;
    margin: 1rem auto;
    align-items: center;
    justify-content: flex-start;
}
.start div p {
    margin: auto;
    padding: 8px 0;
    font-size: 1rem;
}
.start div img {
    width: 5rem;
    height: auto;
}
.start div.my-comment {
    width: 60%;
    margin: 10px 0;
}
.start div.my-comment p {
    display: inline-block;
    position: relative;
    margin: 0 10px 0 10px;
    padding: 10px;
    border-radius: 12px;
    background: #ffffff;
    width: 90%;
    font-size: 1.5rem;
}

.start div.my-comment p:before {
    content: "";
    position: absolute;
    top: 19px;
    left: -12px;
    border: 12px solid transparent;
    border-left: 18px solid #ffffff;
    -webkit-transform: rotate(55deg);
    transform: rotate(55deg);
}


.contents-2 {
    width: 95%;
    flex-wrap: wrap;
    margin: 0 auto;
    padding-top: 24px;
}

.contents-2 .images {
    width: 25%;
}
.contents-2 .images img {
    width: 95%;
    margin-bottom: 20px;
}
.contents-2 .explanation {
    width: 70%;
    background-color: #ffffff;
    padding: 8px;
    position: relative;
    border-radius: 2rem;
    font-size: 1.4rem;
}
.contents-2 .explanation>div {
    width: 100%;
    margin-top: 10px;
}
.contents-2 .explanation::before {
    content: "";
    position: absolute;
    top: 30%;
    left: -86px;
    margin-top: -12px;
    border: 24px solid transparent;
    border-right: 64px solid #ffffff;
    z-index: 2;
}
.contents-2 .explanation table {
    width: 100%;
    margin-top: 1.5rem;
}
.contents-2 .explanation table td.nowrap{
    white-space: nowrap;
}
.contents-2 .explanation table td span,
.contents-2 .explanation div p span {
    font-weight: bold;
}

.contents-2 .click_menu{
    width: 100%;
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.contents-2 .click_menu_center{
    display: block;
}

.contents-2 .click_menu .menu_box{
    background-color: #fff;
    width: 49%;
    border-radius: 32px;
}
.contents-2 .click_menu .menu_1 {
    width: 75%;
}

.contents-2 .click_menu_center .menu_box{
    margin: 0 auto;
}


.contents-2 .click_menu h3{
    font-size: 1.2em;
    background-color: #1565C0;
    color: #fff;
    border-radius: 32px 32px 0 0;
    padding: 16px;
    text-align: center;
}

.contents-2 .click_menu div{
    text-align: center;
}

.contents-2 .click_menu p{
    padding: 8px;
}

.contents-2 .click_menu div img{
    /*height: 480px;*/
    width: 100%;
    height: fit-content;
    margin: 32px 0;
}
.contents-2 .click_menu div img.example {
    width: 33%;
    margin: 16px auto;
}


.contents-2 .click_menu div button{
    margin: 32px 0;
}

.contents-2 span{
    font-weight: bold;
}




td.top {
    vertical-align: top;
}
.lesson {
    text-align: center;
    margin: 16px 0;
}

.invisible {
    display: 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;
    }
    
    .selectmenu{
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .selectmenu div{
        width: 100%;
        padding: 0;
        margin: 24px 0;
    }


    .back_button{
        margin: 40px 0;
        padding: 0;
        text-align: center;
    }
    
    .start div.my-comment{
        width: 70%;
    }

    .start div.my-comment p {
        font-size: 1.2rem;
    }
    
    .start div.my-comment p:before {
        top: 50%;
    }

    .contents-2 .click_menu{
        display: block;
    }
    
    .contents-2 .click_menu .menu_box{
        width: 100%;
        margin-bottom: 16px;
    }
    
    .contents-2 .click_menu .menu_box p{
        padding: 8px;
    }

    
    .contents-2 .click_menu div img{
        height: auto;
        width: 60%;
        margin: 32px 0;
    }
    

    




}