/* CSS Document */
*,
*::after,
*::before {
  box-sizing: inherit;
}

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,hr {
  margin: 0;
  padding: 0;
  border: 0;
}

html,body {
  box-sizing: border-box;
  line-height: 1.5;
  letter-spacing: 1.3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: var(--text);
  font-size: 16px;
}

article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,main,form legend {  display: block;}

ol,ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img,video,svg {
  max-width: 100%;
}

:root {
  --primary: #00498d;
  --accent: #1081bd;
  --accent-light:#def3f9;
  --sub: #FFE81A;
  --sub-dark:#ebb205;
  --title: #E74291;
  --text: #333333;
  --gray: #393F47;
  --mdgray: #e5e5e5;
  --lightgray: #F2F4F4;
  --base: #fbf8bd;
  --base2: #fcf496;
  --red: #e60314;
}

:root {
  --space-unit: 1em;
  --space: calc(1.25*var(--space-unit));
  --component-padding: var(--space);
}

.padding-md {
  padding: calc(var(--space) * 1.8);
}

.bg_primary {
  background: var(--primary);
}

.bg_white {
  background: #FFF;
}

.bg_gray {
  background: var(--gray);
}

.bg_base {
  background: var(--base);
}

.bg_lightgray {
  background: var(--lightgray);
}

.bg_title {
  backface-visibility: var(--title);
}

.txt_primary {
  color: var(--primary);
}

.txt_accent {
  color: var(--accent);
}

.txt_text {
  color: var(--text);
}

.txt_center {
  text-align: center;
}

.flex {
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flex;
  display: -o-flex;
  display: flex;
}

.flex-wrap{
  flex-wrap: wrap;
}
.w300 {
  width: 100%;
  max-width: 300px;
}

.w600 {
  margin: 1rem auto;
  width: 100%;
  max-width: 600px;
}

/*共通*/
/* CSS Document */
section {
  padding-top: 3em;
  padding-bottom: 3em;
  position: relative;
}

section:last-child {
  margin-bottom: 0;
}

.container {
  width: calc(100% - 1.25em);
  margin-left: auto;
  margin-right: auto;
  padding: var(--space);
}

.in_box {
  width: 100%;
  max-width: 780px;
  margin: 3em auto 0;
}

/*注釈*/
.note {
  padding: 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.note ul {
  margin: 0.5rem auto;
}

.note li {
  margin-left: 1rem;
  list-style: disc;
}

/*背景*/
.bg {
  display: block;
  width: 110%;
  height: 100vh;
  margin: 0 auto;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1;
  overflow: hidden;
}

.bg img {
  width: 100%;
}

.top_bg {
  background:#fdea1f;
  z-index: 0;
}

/*wrap_main*/
.wrap_main {
  padding-top: 3rem;
}

main section {
  position: relative;
  z-index: 3;
}

/*広告*/
.adsbygoogle {
  display: block;
  min-width: 250px;
}

/*ぱんくず*/
.wrapper .pan {
  position: relative;
  top: 0px;
  color: var(--gray);
  background: var(--base);
  padding: 2px 0;
  font-size: 0.7rem;
  width: 100%;
  text-align: left;
}

.wrapper .pan a {
  color: var(--primary);
}

.wrapper .pan div {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}

/*見出し*/
h2 {
  font-size: 3rem;
  color: var(--accent);
  font-weight: 700;
  padding: 1rem;
  position: relative;
}

.wrap_main h2::after {
  content: "";
  display: block;
  width: 93%;
  height: 3px;
  background: var(--sub);
  position: absolute;
  top: 70px;
}

.wrap_main h2:first-letter {
  font-size: 2.5rem;
}

h2 small {
  font-size: 0.8rem;
  display: inline-block;
  color: var(--gray);
  font-weight: 600;
  padding: 0 2px;
}

h3 {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 1em;
  padding: 0.2rem 1rem;
  color: var(--primary);
  border-left: 5px solid var(--sub);
}

h4 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1em;
  padding: 0.3rem 0;
  border-bottom: dotted 2px var(--primary);
}

h5 {
  font-size: 1.5rem;
  text-align: center;
}

h6 {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--primary);
  text-align: center;
}

/*テキスト*/
p {
  padding-left: 0.2rem;
}

/*フォントサイズ*/
@media screen and (max-width:1440px) {

  html,
  body {
    font-size: 16px;
  }
  
}

@media screen and (max-width:1200px) {

  html,  body {    font-size: 13px;  }

  #sponsor li {    font-size: 0.8rem;  }
}

@media screen and (max-width:960px) {

  html,  body {    font-size: 15px;  }

  h2 {    width: 100%;  }
}


/*リンク*/
a {  transition: color 0.3s;}

a:link {  color: var(--gray);}

a:visited {  color: var(--gray);}

a:hover {  color: var(--primary);}

span a {
  display: inline-block;
  padding: 0.5rem 1rem;
  width: 100%;
}

#footer a:link,#footer a:visited {  color: var(--accent);}

#footer a:hover {  color: var(--primary-light);}

#header a:link,#header a:visited {  color: var(--lightgray);}

#header a:hover {  color: var(--sub);}

.txt_red {
  color: var(--red) !important;
  border: 0 !important;
  margin: 0 !important;
  font-size: 165% !important;
  padding: 0.2rem 2px 0.5rem !important;
}

/*調整用*/

.flex-center {
  align-items: center;
  -ms-align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

/*サイドカラム*/
aside {  position: relative;  z-index: 11;}

#sponsor {
  position: relative;
  height: 100vh;
  padding: 0rem 1.5rem;
}

#sponsor .knb_logo-big img {
  width: 100%;
}

#sponsor .knb_logo-banners {
  display: flex;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

#sponsor .knb_logo-banners img {  width: 100%;}

#sponsor h6 {
  position: relative;
  font-size: 0.9rem;
  font-weight: bold;
  margin: 0.5rem;
}

.knb_logo-banners li {
  width: 50%;
  padding: 0px 3px;
}

#sponsor li {
  font-size: 0.95rem;
  font-weight: 500;
}

#sponsor li:last-child {
  margin-bottom: 0.5rem;
}

@media screen and (max-width:1440px) {
#sponsor {
  position: relative;
  height: 100vh;
  padding: 0rem 2rem;
}
#sponsor h6 {
  font-size: 0.7rem;
  margin: 0.2rem;
}
#sponsor li {
  font-size: 0.7rem;
  font-weight: 500;
}
}
@media screen and (max-width:960px) {
  #sponsor {
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    padding: 4rem 1rem;
  }
#sponsor h6 {
  font-size: 0.8rem;
  margin: 0.5rem;
}
  #sponsor figure {
    width: calc((100% / 2) - 10px);
  }

  #sponsor .sponsor_list figure {
    width: calc((100% / 3) - 10px);
  }
}

/*ボタン*/
.btn {
  display: block;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.3rem;
  border-radius: 60px;
  text-align: center;
  margin: 1.5rem auto;
  width: calc(100% - 2rem);
  position: relative;
}

.btn_entry a:link,
.btn_entry a:visited,
.btn_entry a:hover {
  text-decoration: none;
  color: #FFF;
}

.btn_sub a:link,
.btn_sub a:visited,
.btn_sub a:hover {
  text-decoration: none;
  color: var(--title);
}

.btn_entry {
  background: var(--accent);
}

.btn_entry_nav {
  margin: 0 !important;
}

.btn_sub {
  font-size: 1rem;
  padding: 0.2rem;
  border: 2px solid var(--title);
}

.btn_gray {
  background: #999;
  color: #FFF !important;
}

/*他*/
/*協賛社情報*/
.sponsor_info dt {
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 0;
}

.sponsor_info dd {
  font-size: 0.85rem;
}

/*SNS*/
#sns {
  background: #FFF;
  margin: 0 auto;
  width: 100%;
  padding: 2rem auto;
}

.sns_area {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: 740px;
}

.sns_btn img {
  max-width: 150px;
}

.sns1 {
  text-align: center;
  width: 400px;
  padding: 0.5rem;
}

.sns2 {
  width: 400px;
  justify-content: center;
}

.sns2 img {
  margin: 5px;
  width: 150px;
}

.sns4 {
  text-align: center;
  padding: 0.5rem;
  width: 150px;
}

.sns5 {
  width: 150px;
  padding: 0.3rem;
}

/*トップへ戻る*/
#page_top {
  width: 30px;
  height: 30px;
  position: fixed;
  right: 313px;
  bottom: 10px;
  background: var(--text);
  opacity: 0.8;
  border-radius: 50%;
  z-index: 88;
}
#page_top::before {
	content: '';
	background: url("./arrow-top.svg") center center no-repeat;
	background-size: 33%;
	position: absolute;
	width: 30px;
	height: 30px;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0px;
	margin: auto;
	text-align: center;
}

@media screen and (max-width:960px) {
  #page_top {
    width: 30px;
    height: 30px;
    position: fixed;
    right: 13px;
    bottom: 10px;
    background: var(--text);
    opacity: 0.8;
    border-radius: 50%;
    z-index: 88;
  }
}

/*BG*/
@media screen and (max-width:620px) {
  .container {
    width: calc(100% - 0.5em);
  }

  .padding-md {
    padding: calc(var(--space) * 1.3);
  }
}

@media screen and (max-width:600px) {

  html,  body {
    font-size: 13px;
  }

  #sponsor ul li {
    font-size: 1rem;
  }

  #sponsor h6 {
    position: relative;
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0.5rem;
  }

  .btn {
    margin: 0.5rem auto;
  }

  #sponsor figure {
    width: 100%;
  }

  #sponsor .flex {
    gap: 15px 10px;
  }

  #sponsor .sponsor_list figure {
    width: calc((100% / 2) - 10px);
  }

  #sponsor .sponsor_list figcaption {
    padding-right: 1rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width:415px) {

  html,  body {  font-size: 14px;  }

  section {
    padding-top: 2em;
    padding-bottom: 2em;
    margin-bottom: 2em;
  }

  .btn {    width: 100%;  }

  h2 small {
    font-size: 0.95rem !important;
    color: var(--gray);
    display: inline-block;
    font-weight: 700 !important;
    padding: 0 10px !important;
  }

  #sponsor {
    max-width: 310px;
    margin: 0 auto;
    height: auto;
    padding: 4rem 1rem;
  }

  .sns1,
  .sns2 {
    width: 100%;
	font-size: 0.8em;
	font-weight: 700;
  }
.sns4 {
	font-size: 0.8em;
	font-weight: 700;
}
  span a {
    display: inline-block;
    padding: 0.1rem 0.5rem;
    width: 100%;
  }
}