/* CSS Document */
@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;
  }


  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;
  }
  /* リセット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{
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-weight: 600;
  }


body{
	font-size: 94%;
	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;
}

p{
    text-align: justify;
}

main{
    width: 80%;
    margin: 0 auto;
    margin-top: 16px;
    margin-bottom: 64px;
    background-color: #fff;
    padding: 16px;
    border-radius: 16px;
}

h1,  h2,  h3,  h4, h5{
	line-height:200%;
	font-weight: 600;
}




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



h2{
    margin: 16px 0;
    font-size: 1.3em;
    padding: 0.25em 0.5em;
    background: transparent;
     border-left: solid 5px #7db4e6;
}


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: 4px 24px;
	font-weight: 500;
    cursor: pointer;
    border:none;
    transition: 0.5s;
}

button:hover{
    opacity: 0.8;
}

.back_button{
    margin: 20px 0;
}


footer {
    display:flex;
    position: fixed;
    flex-wrap:wrap-reverse;
    flex-direction:row;
    justify-content: space-between;
    width: 100%;

    font-weight:200;
    font-size:.75rem;

    bottom: 0;
    left: 50%;
    transform: translate(-50%,0);
    
    color:#3e3e3e;
    background-color:#f1f1f1;
    box-shadow: 0px 0px 4.4px 1.2px #cccccc;

    user-select:none;
}
footer>span:last-child{
    padding-right:.8rem;
}

.video_list{
    display: block;
}

.video_list li{
    width: 49%;
    margin: 0 auto;
}



.youtube {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
.youtube iframe {
    width: 100%;
    height: 100%;
  }


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



@media screen and (max-width: 599px) {
    h1 {
        font-size: 1.5rem;

    }

    main{
        width: 98%;
        padding: 8px;
        margin: 0 auto;
        margin-top: 16px;
        margin-bottom: 40px;
    }

    
    .video_list{
        display: block;
    }

    .video_list li{
        width: 100%;
    }


    h2{
        margin: 16px 0;
        font-size: 1.2em;
        padding: 4px 8px;
    }
    







}

