@charset "UTF-8";
:root {
	--red-txt: #BA3849;
	--blue-txt: #4472BD;
	--l-blue: #39a0eb;
}
/* Reset */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	border: 0;
	outline: 0;
	background: transparent;
	box-sizing: border-box;
	list-style: none;
	color: #333;
	-webkit-text-size-adjust: 100%; 
}
html {
  font-size: 62.5%;
}
body {
  font-size: 1.6rem;
	background-color: #fff;
  font-family: "Hiragino maru Gothic ProN W4", "Hiragino Kaku Gothic Pro","Hiragino Sans", "arial", "Meiryo", "MS PGothic", sans-serif;
	color: #333;
	position: relative;
}
main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}
a {
  transition: all 0.25s
}
a:link {
	color: var(--blue-txt);
}
a:hover {
	transition: all 0.25;
}
.container {
	width: 100%;
	margin: 0 auto;
}
article {
	margin-bottom: 6.0rem;
}
/* top-header */
#top-header header {
	margin: 0 auto;
	height: clamp(160px, 25vh, 320px);
	background: #0088d1 url("../img/header1.png") top center no-repeat;
	background-size: cover;
	position: relative;
	display: flex;
	align-items: center;
}
#site-branding {
	width: 100%;
}
#site-branding #main-title {
	max-width: 960px;
	margin: 0 auto;
	padding-top: 0;
	text-align: center;
}
#main-title img {
	width: min(90vw, 600px);
	height: auto;
	display: block;
	margin: 0;
}
/* page-header */
.page-header {
    margin: 0 auto;
    height: 10.0rem;
    background: #0088d1 url("../img/header2.png") top center no-repeat;
    background-size: 1200px;
    position: relative;
    display: flex;
    align-items: center;
}
/* 戻るナビ */
.page-header .back-nav {
    position: absolute;
    left: 1.6rem;
    top: 1.2rem;
}
.page-header .back-nav a {
		text-decoration: none;
}
.page-header .back-nav a span {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 1.4rem;
}
#site-branding {
    max-width: 90.0rem;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
#site-branding .site-series {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0.2rem 1rem;
    border-radius: 1rem;
    letter-spacing: 0.15rem;
    margin-bottom: 0.8rem;
}
#site-branding .site-name {
    display: block;
    color: #fff;
    font-size: 2.4rem;
    font-weight: bold;
    letter-spacing: 0.4rem;
    padding-bottom: 0;
		line-height: 1;

}

/* レスポンシブ微調整 */
@media (max-width: 767px) {
    .page-header {
        height: 8.0rem;
        background-size: cover;
    }
    #site-branding .site-name {
        font-size: 1.8rem;
        letter-spacing: 0.18rem;
    }
    #site-branding .site-series {
        font-size: 1.0rem;
    }
}

#breadcrumb ul {
	display: flex;
	flex-flow: row wrap;
	padding: 0.5rem 2rem;
}
#breadcrumb li {
	font-size: 1.5rem
}
#breadcrumb li+li::before {
	content: " 〉";
	padding-left: 1.5rem;
}

article header {
	display: flex;
	height: 120px;
	margin: 2.0rem 0 0;
	background: transparent url("../img/nyadam.png") bottom right no-repeat;
	background-size: 120px;
}
.icon-wrap {
	padding: 1.5rem 2.4rem 0 1.0rem;
}
.icon-wrap img {
	width: 130px;
}
.title-wrap {
	padding-top: 1.5rem;
}
.title-wrap h2 {
	font-size: 2.4rem;
	color: var(--red-txt);
}
.title-wrap h1 {
	color: #555;
	font-size: 3.2rem;
}
.flex-wrap {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
}
.right-side {
	display: flex;
	justify-content: flex-end;
	padding-right: 2.0rem;
}
.work-wrap {
	padding: 1.2rem 0 1.0rem 1.0rem;
	border-top: 2px dotted #555;	
	display: flex;
	flex-flow: row nowrap;
	align-items: flex-start;
	justify-content: space-between;
}
fieldset, legend{
	display: contents;
}
.invisible{
	display: none;
}
.center-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
}
.right-wrap {
	padding-right: 4.0rem;
}
.right-wrap label {
	padding: 1.0rem;
}
.btn-wrap {
	margin: 1.0rem 2.0rem 1.0rem;
}
.btn-wrap button {
	font-family: "Hiragino maru Gothic ProN W4", "Hiragino Kaku Gothic Pro","Hiragino Sans", "arial", "Meiryo", "MS PGothic", sans-serif;
	width: 24rem;
	background: #4472bd;
	border: 1px solid #fff;
	border-radius: 1.0rem;
	box-shadow: 0.25rem 0.25rem 0.5rem 0.2rem rgba(0,0,0,.25);
	font-size: 1.8rem;
	color: #fff;
	padding: 1.25rem 1.0rem;
	transition: all .3s;
}
.btn-wrap button:hover {
	transition: all .3s;
	background: var(--l-blue);
}
.btn-wrap button:active {
	transition: all .2s;
	background: #4472bd;
}
.right-clm {
	margin: 1.5rem 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding-right: 4.0rem;
}
.right-clm p {
	padding-right: 2.4rem;
}
.toggle-wrap {
	display: flex;
	align-items: center;
}
.toggle-wrap img {
	margin: 0 1.0rem;
}
.toggle-wrap button {
	width: 12rem;
	background: #eee;
	border: none;
	border-radius: 1.0rem;
	box-shadow: 0.25rem 0.25rem 0.5rem 0.2rem rgba(0,0,0,.25);
	padding: 0.5rem 1.0rem;
}
.toggle-wrap button span {
	display: block;
	text-align: center;
	font-size: 1.8rem;
	color: var(--blue-txt);
	border-bottom: 3px solid var(--blue-txt);
}
#page-content h3 {
	display: flex;
	align-items: center;
	line-height: 1.6;
}
#page-content h3.long {
	align-items: flex-start;
}
#page-content h3 img {
	width: 64px;
}
#page-content h3 span {
	padding-left: 1.6rem;
	font-size: 1.8rem;
}
#page-content .vote-txt {
	display: inline-block;
	margin: 0 20px 20px 90px;
	background: #eee;
	border-radius: 1.0rem;
}
#page-content .vote-txt p {
	padding: 1.0rem 1.5rem;
	font-size: 1.3rem;
	line-height: 1.8;
}


/* wide */
.w1200 {
	max-width: 1200px!important;
}
.w600 {
	max-width: 600px!important;
}
.w400 {
	max-width: 400px!important;
}

/* margin */
.mt20 {
	margin-top: 20px;
}
.ml80 {
	margin-left: 80px;
}
.mb20 {
	margin-bottom: 20px;
}
.mb80 {
	margin-bottom: 80px;
}

main {
	margin: 0 auto 12.0rem;
	max-width: 1200px;
}

/* top */
#top-page section {
	width: 100%;
	margin: 0 auto;
	padding: 4.0rem 0 0 0;
}

#sec-01,
#sec-02,
#sec-03 {
	max-width: 960px;
}
section .lead {
	margin-bottom: 4.0rem;
	padding: 0 2.0rem;
}
section header {
	width: 100%;
	margin-bottom: 1.5rem;
	border-bottom: 6px solid ;
}
#sec-01 header {
	border-bottom-color: #BA3849;
}
#sec-02 header {
	border-bottom-color: #66971E;
}
#sec-03 header {
	border-bottom-color: #275E99;
}
section header h2 {
	font-size: 2.8rem;
	padding-left: 1.6rem;
}

.box-menu ul {
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-flow: row wrap;
	justify-content: flex-start;
}
.box-menu li {
	width: 16rem;
	margin: 0 1.5rem 2rem;
	height: auto;
	text-align: center;
}
.box-menu li a {
	display: flex;
	flex-flow: column;
	align-items:center;
	text-decoration: none;
	font-size: 1.8rem;
	background: #fff;
	border-radius: 1.25rem;
	padding: 1.25rem;
	border: 3px solid;
}
#sec-01 .box-menu li a {
	border-color: #E85361;
}
#sec-01 .box-menu li a:hover {
	background: #BA3849;
}
#sec-02 .box-menu li a {
	border-color: #98CF61;
}
#sec-02 .box-menu li a:hover {
	background: #66971E;
}
#sec-03 .box-menu li a {
	border-color: #5A93E8;
}
#sec-03 .box-menu li a:hover {
	background: #275E99;
}

/* privacy policy */
#privacy {
	margin: 0 2.4rem;
}
#privacy  h3 {
	padding-top: 2.0rem;
}
#privacy  p,
#privacy ol {
	padding: 1.0rem 0;
	line-height: 1.8;
	font-size: 1.4rem;
}
#privacy ol li {
	padding: 0 0 1.0rem 0;
	margin-left: 2.8em;
	text-indent: -2.8em;
}

.box-menu li a:hover span {
	color: #fff;
}
.box-menu li span {
	height: 8.0rem;
	margin-bottom: 1.0rem;
}
.box-menu li a img {
	width: 13rem;
	height: auto;
}
/* top end */

/* sp */
@media screen and (max-width:767px) {
	.box-menu ul {
		flex-flow: column wrap;
		align-items: center;
	}
	.box-menu li {
		width: 90vw;
		text-align: left;
	}
	.box-menu li a {
		flex-flow: row nowrap;
		justify-content: space-between;
	}
	.box-menu li span {
		height: auto;
		margin-bottom: 0;
	}
	
}


/* footer */
#footer-top {
	border: none;
	margin: 0;
	width: 100%;
	height: 100px;
	background: transparent url("../img/footer-bg.png") top 10px center repeat-x;
	background-size: contain;
}
footer {
	background-color: #7E232A;
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
footer small {
	display: flex;
	color: #fff;
	padding: 2.0rem;
	font-size: 1.4rem;
}
#footer-wrap {
	max-width: 960px;
	width: 100%;
	margin: 0 auto;
	padding: 2.0rem;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
}
#footer-wrap div {
	display: flex;
	background-color: rgba(255,255,255,0.1);
	border-radius: 10px;
	width: 320px;
	color: #fff;
	padding: 1.0rem;
	flex-direction: column;
}
#footer-wrap div h4 {
	color: #fff;
	font-size: 1.5rem;
	padding: 0 0 0.5rem;
}
#footer-wrap div p {
	color: #fff;
	font-size: 1.3rem;
}
#footer-wrap div span {
	font-family: monospace, serif;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
	display: block;
	padding: 0.5rem;
	letter-spacing: 0.25rem;
}
#footer-wrap a {
	font-size: 1.3rem;
	color: #fff;
}
#footer-wrap a .external-window-icon {
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 0.35em;
	vertical-align: -0.12em;
}

.pc {
	display: block
}
.sp {
	display: none;
}

/* sp */
@media screen and (max-width:767px) {
  html {
    font-size: 50%;
  }
  html,
  #container {
    width: 100%;
		position: relative;
  }
	img {
    max-width: 100% !important;
  }

	.pc {
		display: none;
	}
	.sp {
		display: block;
	}
	
	.ml80 {
		margin-left: 0;
	}
	
	#top-header header {
		height: clamp(120px, 18vh, 200px);
		background: #0088d1 url("../img/header1.png") top right 40% no-repeat;
		background-size: cover;
	}
	
	article header {
		height: auto;
		background-size: 50px;
	}
	.icon-wrap {
		padding: 1.5rem 2.4rem 0;
	}
	.icon-wrap img {
		width: 64px;
	}
	.title-wrap h2 {
		font-size: 2.0rem;
	}
	.title-wrap h1 {
		font-size: 2.4rem;
	}
	.work-wrap {
		flex-flow: column wrap;
		padding: 1.6rem 2.4rem;
	}

/* sp-main */
	main {
		margin: 0 auto;
		width: 100%;
	}
	section header {
		width: 100%;
	}
	main p {
		padding: 0 2.4rem;
	}

	/* page-header*/
	#page-header header {
		height: auto;
		background: #0088d1;
		padding-bottom: 0.5rem;
	}	
	
	#page-header nav {
		padding-top: 1.0rem;
		padding-left: 1.6rem;
	}
	#page-title {
		margin: 0.5rem auto 0;
	}
	#page-title p {
		font-size: 3.1vw;
		padding-bottom: 0.2rem;
		border-bottom: 1px solid #fff;
	}
	#page-title h2 span {
		font-size: 3.2vw;
		letter-spacing: 0.05rem;
	}
	#page-content h3 img {
		width:64px;
	}
	#page-content .vote-txt {
		margin-left: 90px;
	}
	
	.flex-wrap {
		flex-flow: row wrap;
		align-items: center;
		justify-content: center;
	}
	
	.right-wrap {
		margin: 2.0rem auto;
		padding-right: 0;
	}
	
	.btn-wrap {
		margin: 2.0rem 2.0rem 0;
	}

	/* sp-footer */
	footer {
		width: 100%;
		height: auto;
	}
	#footer-wrap {
		flex-direction: column;
	}
	#footer-wrap div {
		width: 90%;
		margin-bottom: 1.5rem;
	}
}
