@charset "utf-8";

/* 
* 共通
*/
.pc-block{
	display: none;
}
.tb-block{
	display: block;
}
.sp-block{
	display: none;
}
main{
	min-height: 45vh;
	margin-bottom: 14em;
}

.title h2,
.title h3,
.title h4{
	font-size: 2.7rem;
}

/* サブタイトル　スタイル */
.sub-title{
	padding: 10px 20px 10px 60px;
}
.sub-titlechara{
	top: 40%;
	left: 3%;
}
.sub-titlechara img{
	width: 60px;
}
.sub-title{
	width: 90%;
}

.temp-btn{
	padding: 12px 30px;
}

/* 最上部と最下部にある青いオブジェクト */
.background-topleft{
	top: -4vw;
	left: -10vw;
}
.background-orange-topleft{
	top: 13vw;
	left: -19vw;
}
.background-topright{
	top: -4vw;
	right: -12vw;
}
.background-orange-topright{
	top: 16vw;
	right: -12vw;
}
.background-bottomleft{
	bottom: -10vw;
	left: -12vw;
}
.background-orange-bottomright{
	bottom: -18vw;
	right: -18vw;
}

/* Clasic Editor スタイル */
.contents-editor img{
	max-width: 700px;
}

/* リンクリスト　スタイル */
.link-flex-3{
	width: 100%;
}

/* 
* ヘッダー
*/
header{
	position: sticky;
	top: 0;
	left: 0;
	z-index: 999;
	background-color: #fff;
	transition: all 0.5s;
}
.header-fixed{
	transform: translateY(0);
	display: block;
	position: sticky;
}
.header-wrapper{
	padding: 12px 30px 12px 10px;
	display: flex;
	justify-content: space-between;
	border-bottom: solid 1px #000;
}
.header-topbox{
	padding-top: 0;
	margin-bottom: 0;
}
.header-fixed .header-topbox{
	border-bottom: none;
}
.header-logo{
	text-align: left;
}
.header-logo img{
	width: 60vw;
}
.header-togglemenu{
	position: relative;
	width: 10%;
	margin: 0 0 0 auto;
	cursor: pointer;
}
.header-togglemenu span{
	display: block;
	width: 100%;
	height: 2px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	background-color: #00275a;
}
.header-togglemenu span:nth-child(1){
	top: 25%;
	transition: all 0.5s;
}
.header-togglemenu span:nth-child(2){
	top: 50%;
	transition: all 0.5s;
}
.header-togglemenu span:nth-child(3){
	top: 75%;
	transition: all 0.5s;
}
.closebtn span:nth-child(1){
	top: 50%;
	transform: translate(-50%, 0%) rotate(45deg);
}
.closebtn span:nth-child(2){
	opacity: 0;
}
.closebtn span:nth-child(3){
	top: 50%;
	transform: translate(-50%, 0%) rotate(-45deg);
}

.header-menublock{
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #336699;
}
.header-wrapper .header-menuinner{
	width: 85%;
	height: 80vh;
	padding-top: 1.3em;
	margin: 0 auto;
}
.header-wrapper .header-menuinner a{
	display: block;
	padding: 28px 8px;
}
.header-wrapper .header-menuinner > nav > ul > li{
	border-bottom: solid 1px #f8f8f8;
}
.header-wrapper .header-tbmenu{
	position: relative;
}
.header-wrapper .header-tbmenu p{
	font-size: 2.1rem;
	font-weight: bold;
	color: #fff;
}
.header-wrapper .header-menuinner li:nth-last-child(1) .header-tbmenu{
	border-bottom: none;
}
.header-wrapper .header-tbsubmenubox{
	display: none;
	width: 93%;
	margin: 0 0 0 auto;
	padding-bottom: 10px;
}
.header-wrapper .header-tbsubmenu{
	position: relative;
	margin-left: 10px;
}
.header-wrapper .header-tbsubmenu a{
	padding: 12px 0 12px 0;
}
.header-wrapper .tb-plus{
	position: relative;
	padding: 23px 8px;
}
.header-wrapper .tb-plus::after{
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	position: absolute;
	top: 50%;
	left: 95%;
	transform: translate(-50%, -50%);
	font-size: 2.4rem;
	color: #fff;
	transition: all 0.5s;
}	
.header-wrapper .tb-minus::after{
	transform: translate(-50%, -50%) rotate(-90deg)!important;
	transition: all 0.5s;
}


/* 
* TOP
*/

/* 新着情報 */
.news-block{
	width: 95%;
}
.news-category img{
	width: 15px;
	height: 15px;
}
.news-category p{
	font-size: 1.3rem;
}

/* コンテンツ */
.contents-item a{
	display: block;
	padding: 15px 0;
}
.contents-icon img{
	width: 43px;
	height: 43px;
}
.contents-subtitle h3{
	font-size: 1.6rem;
}
.contents-text p{
	font-size: 1.3rem;
}

/* 宝くじのご案内 */
.lottery-image img{
	height: 250px;
}

/* 宝くじは長崎県で買いましょう */
.explan-wrapper{
	padding-top: 4em;
	padding-bottom: 10em;
	background-color: #fff;
}
.explan-block{
	width: 95%;
}
.explan-title h2{
	font-size: 3.5rem;
}
.explan-chara{
	top: -10%;
	bottom: auto;
	left: 2%;
}
.explan-chara img{
	width: 45%;
}

/* 
* フッター
*/
.footer-block{
	width: 95%;
}
.footer-flex{
	display: flex;
	justify-content: space-evenly;
}
.footer-map iframe{
	width: 95%;
	height: 200px;
}
.footer-title p{
	font-size: 2rem;
}

/* 
* 協会概要
*/
.summary-block{
	width: 95%;
}
.summary-morebtn p{
	padding-bottom: 25px;
}
/* 
* お問い合わせ
*/
.contact-block{
	width: 90%;
}

/* 
* リンクページ
*/
.pagelink-block{
	width: 95%;
}
.pagelink-img img{
	height: 90px;
}

/* 
* 会員専用ページ
*/
.member-block{
	width: 95%;
}

/* 
* 交付事業
*/
.grant-block{
	width: 95%;
}

/* 
* 助成事業
*/
.subsidy-block{
	width: 95%;
}

/* 
* 実績事例
*/
.record-block{
	width: 95%;
}

/* 
* 実績事例　詳細ページ
*/
.recordsing-block{
	width: 95%;
}


/* 
* 情報公開
*/
.info-block{
	width: 95%;
}

/* 
* 貸与事務
*/
.loan-block{
	width: 95%;
}

/* 
* 新着情報一覧
*/
.newslist-block{
	width: 95%;
}
.newslist-date{
	width: 17%;
}
.newslist-category{
	width: 17%;
}
.newslist-text{
	width: 60%;
}

/* 
* 新着情報詳細
*/
.newssingle-block{
	width: 95%;
}