@charset "utf-8";

/* 
* 共通
*/

.pc-block{
	display: none;
}
.tb-block{
	display: block;
}
.pc-or-tb-block{
	display: none;
}
.sp-block{
	display: block;
}
main{
	min-height: 60vh;
	margin-bottom: 12em;
}

.title h1,
.title h2,
.title h3,
.title h4{
	font-size: 2.3rem;
}
.title p{
	font-size: 1.5rem;
}

/* サブタイトル　スタイル */
.sub-titlebox{
	position: relative;
}
.sub-titlechara{
	position: absolute;
	top: 40%;
	left: 0;
	transform: translateY(-50%);
	text-align: center;
}
.sub-titlechara img{
	width: 41px;
}
.sub-title{
	width: 90%;
	padding: 10px 13px 10px 40px;
	border-radius: 0 3px 3px 0;
	clip-path: polygon(5% 0, 100% 0, 100% 100%, 0% 100%);
}
.sub-title::before{
	content: "";
	position: absolute;
	top: 0;
	left: 2%;
	width: 5.5%;
	height: 100%;
	clip-path: polygon(91% 0, 100% 0, 8% 100%, 0% 100%);
	background-color: #fff;
}
.sub-title h2{
	font-size: 1.7rem;
}


.temp-btn{
	padding: 10px 20px;
	border-radius: 3px;
	border: solid 2px #0d7de6;
	background-color: #0d7de6;
}
.temp-btn p{
	font-size: 1.4rem;
	letter-spacing: 1.2px;
	color: #fff;
}

/* サブページテンプレート　スタイル */
.subheader-wrapper{
	margin-top: 3em;
}

/* 最上部と最下部にある青いオブジェクト */
.background-topleft img,
.background-topright img{
	width: 50%;
}
.background-bottomleft img{
	width: 70%;
}
.background-orange-topleft img{
	width: 40%;
}
.background-orange-topright img{
	width: 35%;
}
.background-orange-bottomright img{
	width: 45%;
}
.background-topleft{
	top: -29px;
	left: -40px;
}
.background-orange-topleft{
	top: 60px;
	left: -70px;
}
.background-topright{
	top: -30px;
	right: -39px;
}
.background-orange-topright{
	top: 90px;
	right: -65px;
}
.background-bottomleft{
	bottom: -50px;
	left: -30px;
}
.background-orange-bottomright{
	bottom: -85px;
	right: -120px;
}

/* ページの先頭へボタン */
.topback-btnpos{
	bottom: 30px; /* 変更後、common.js も変更 */
	right: 10px;
}
.topback-btnbox{
	padding-left: 60px;
}
.topback-btn{
	padding: 16px 13px;
	border-radius: 40px;
}
.topback-btn p{
	font-size: 1.2rem;
}
.topback-chara{
	position: absolute;
	top: 30%;
	left: 0;
	transform: translateY(-50%);
}
.topback-chara img{
	width: 40%;
}

/* Clasic Editor スタイル */
.contents-editor p{
	line-height: 1.5;
	letter-spacing: 1.5px;
	font-size: 1.5rem;
}
.contents-editor ul{
	padding-left: 38px;
}
.contents-editor ul li{
	line-height: 1.5;
	letter-spacing: 1.5px;
	font-size: 1.5rem;
}
.contents-editor img{
	width: 100%;
	margin: 5px 0;
}
.contents-editor h1,
.contents-editor h2,
.contents-editor h3,
.contents-editor h4,
.contents-editor h5{
	font-size: 2.1rem;
}

/* PageNavi　スタイル */
.wp-pagenavi a{
	margin: 0 5px;
	font-size: 2.4rem!important;
}
.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink{
	font-size: 1.8rem!important;
}
.wp-pagenavi span.current{
	margin: 0 5px!important;
	font-size: 3rem!important;
}

/* リンクリスト　スタイル */
.link-block{
	width: 90%;
}
.link-title{
	padding-left: 40px;
}
.link-title::before{
	top: 7px;
	height: 2px;
	width: 30px;
}
.link-title h2,
.link-title h3,
.link-title h4{
	line-height: 1.3;
	font-size: 1.7rem;
}
.link-flex-2{
	flex-direction: column;
}
.link-flex-3{
	width: 100%;
	justify-content: space-between;
}
.link-flex-3::after{
	content: "";
	display: block;
	width: 30%;
}
.link-flex-3 li{
	width: 30%;
	margin-bottom: 1.5em!important;
}
.link-text{
	margin-right: 10px;
}
.link-text p{
	font-size: 1.5rem;
}
.link-icon img{
	width: 25px;
}
.link-date{
	margin-right: 0;
	margin-bottom: 0.2em;
}
.link-date p{
	font-size: 1.5rem;
}
.link-guide a{
	padding-right: 15px;
}
.link-guide a::after{
	font-size: 1.5rem;
}
.link-guide p{
	font-size: 1.5rem;
}

/* 
* ヘッダー
*/
.header-wrapper{
	padding: 12px 15px 12px 10px;
}
.header-topbox{
	padding: 0;
}
.header-logo img{
	width: 73vw;
}
.header-togglemenu{
	width: 12%;
}

.header-menublock{
	display: none;
}
.header-wrapper .header-menuinner > nav > ul > li > a{
	padding: 20px 10px;
}
.header-wrapper .header-tbmenu p{
	font-size: 1.6rem;
}
.header-wrapper .tb-plus{
	padding: 15px 10px;
}
.header-wrapper .tb-plus::after{
	font-size: 2rem;
}


/* 
* TOP
*/
.main-flex{
	margin: 0 auto;
	flex-direction: column;
}

/* 新着情報 */
.news-section{
	width: 100%;
}
.news-wrapper{
	margin-top: 3em;
	margin-bottom: 4.5em;
}
.news-block{
	width: 95%;
}
.news-title{
	margin-bottom: 2em;
}
.news-contents{
	width: 95%;
	margin: 0 auto 1.5em auto;
	padding: 40px 0 20px 0;
	border-radius: 3px;
}
.news-inner{
	width: 85%;	
	margin: 0 auto;
}
.news-item{
	margin-bottom: 1.4em;
	padding-bottom: 1.4em;
}
.news-date p{
	font-size: 1.4rem;
}
.news-category{
	padding: 5px 6px;
}
.news-category img{
	width: 15px;
	height: 15px;
}
.news-category p{
	font-size: 1.3rem;
	line-height: 1;
}
.news-text h3{
	font-size: 1.4rem;
}
.news-item a .news-text h3{
    -webkit-line-clamp: 3;
}
.news-btn{
	width: 100%;
	margin: 0 auto 0 auto;
	text-align: center;
}

/* コンテンツ */
.contents-section{
	width: 100%;
}
.contents-wrapper{
	margin-bottom: 3em;
}
.contents-block{
	width: 95%;
}
.contents-title{
	margin-bottom: 2.5em;
}
.contents-inner{
	width: 97%;
}
.contents-flex{
	justify-content: space-around;
}
.contents-flex::after{
	display: none;
}
.contents-item{
	width: 45%;
	margin-bottom: 1.5em;
	box-shadow: 3px 5px 3px 0px #9b9b9b;
}
.contents-item a{
	padding: 20px 0;
}
.contents-icon{
	margin-bottom: 1em;
}
.contents-icon img{
	width: 55px;
	height: 55px;
}
.contents-subtitle h3{
	font-size: 1.7rem;
}
.contents-text p{
	font-size: 1.3rem;
}

/* 宝くじのご案内 */
.lottery-wrapper{
	padding: 4em 0 2.5em 0;
}
.lottery-block{
	width:90%;
}
.lottery-title{
	margin-bottom: 2.5em;
}
.lottery-flex{
	flex-direction: column;
}
.lottery-flex::after{
	display: none;
}
.lottery-item{
	width: 100%;
	margin-bottom: 1.5em;
	padding: 40px 0 15px 0;
}
.lottery-subtitle{
	margin-bottom: 2.5em;
	padding: 0 10px;
}
.lottery-subtitle h3{
	font-size: 1.9rem;
}
.lottery-image img{
	height: 250px;
}
.lottery-text p{
	font-size: 1.5rem;
}

/* 宝くじは長崎県で買いましょう */
.explan-wrapper{
	padding-top: 2em;
	padding-bottom: 8em;
	background-size: 300vw;
	background-position: 50% 90%;
}
.explan-block{
	padding-top: 7em;
	width: 95%;
}
.explan-title{
	margin-bottom: 3em;
	padding-bottom: 3em;
}
.explan-title::after{
	width: 60px;
	height: 2px;
}
.explan-title h2{
	font-size: 2.2rem;
}
.explan-text{
	text-align: center;
}
.explan-text p{
	font-size: 1.6rem;
	letter-spacing: 1.4px;
	line-height: 1.9;
}
.explan-chara{
	top: 0;
	bottom: auto;
	left: 5%;
}
.explan-chara img{
	width: 36%;
	transform: rotate(-20deg);
}

/* 
* フッター
*/
.footer-wrapper{
	padding: 4em 0 1.5em 0;
	background-color: #e6e6e6;
}
.footer-block{
	width: 95%;
}
.footer-menu{
	margin-bottom: 2.5em;
}
.footer-flex{
	width: 93%;
	margin: 0 auto;
	flex-wrap: wrap;
	justify-content: space-between;
}
.footer-column{
	width: 45%;
	margin-bottom: 1.5em;
}
.footer-column:nth-child(2){
	width: 100%;
}
.footer-column li{
	margin-bottom: 1em;
	font-size: 1.4rem;
	letter-spacing: 1.3px;
	line-height: 1.3;;
}
.footer-child li{
	padding-left: 33px;
}
.footer-child li::before{
	left: 5px;
}
.footer-subflex{
	flex-direction: column;
	margin-bottom: 4em;
}
.footer-mapbox{
	width: 100%;
	order: 2;
}
.footer-map{
	position: relative;
	width: 100%;
	height: 100%;
	padding-top: 56.25%;
}
.footer-map iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.footer-infobox{
	width: 95%;
	margin: 0 auto 1.5em auto;
	order: 1;
}
.footer-title{
	margin-bottom: 1.5em;
	text-align: center;
}
.footer-title p{
	font-size: 1.9rem;
}
.footer-info li{
	margin-bottom: 0.5em;
	font-size: 1.5rem;
}
.footer-copylight p{
	font-size: 1.3rem;
}

/* 
* 協会概要
*/
.summary-block{
	width: 95%;
}
.summary-title{
	margin-bottom: 1.5em;
}
.summary-timebox{
	width: 95%;
	margin: 3em auto 4em auto;
}
.summary-item{
	padding-bottom: 4em;
}
.summary-item::before{
	display: none;
}
.summary-item::after{
	content: "";
	position: absolute;
	top: 0;
	left: 4.45%;
	width: 3px;
	height: 100%;
	background-color: #adadad;
}
.summary-item .flex-left::after{
	display: none;
}
.summary-left,
.summary-right{
	padding: 40px 20px 30px 20px;
	border-radius: 5px;
	width: 85%;
	order: 2;
}
.summary-item .flex-left .summary-right,
.summary-item .flex-right .summary-left{
	display: none;
}
.summary-center{
	width: 10%;
}
.summary-center::before{
	width: 20px;
	height: 20px;
}
.summary-flex .left::after,
.summary-flex .right::after{
	display: none;
}
.summary-year{
	top: -20px;
}
.summary-year p{
	font-size: 3rem;
}
.summary-text p{
	font-size: 1.4rem;
}
.summary-contents{
	margin-bottom: 4em;
}
.summary-morebtn{
	width: 100%;
	padding: 10px 0 5px 0;
	background-color: #0d7de6;
}
.summary-morebtn p{
	padding-bottom: 20px;
	font-size: 1.6rem;
	color: #fff;
}
.summary-morebtn p::after{
	font-size: 1.7rem;
	color: #fff;
}

/* 
* お問い合わせ
*/
.contact-block{
	width: 90%;
}
.contact-item{
	margin-bottom: 1.7em;
}
.contact-flex{
	flex-direction: column;
}
.contact-text{
	width: 100%;
	margin-bottom: 0.5em;
	padding: 0;
}
.contact-text p{
	font-size: 1.5rem;
}
.contact-form{
	width: 100%;
}
.contact-form input,
.contact-form textarea{
	padding: 10px 15px;
	font-size: 1.4rem;
}
.contact-form textarea{
	height: 180px;
}
.contact-submit{
	margin-top: 3em;
}
.contact-submit input{
	width: 50%;
	margin: 0 auto 0 4.8em;
	padding: 8px 0;
	border-radius: 3px;
	font-size: 1.4rem;
}

/* 
* リンクページ
*/
.pagelink-block{
	width: 95%;
}
.pagelink-section{
	margin-bottom: 4.5em;
}
.pagelink-title{
	margin-bottom: 2.5em;
}
.pagelink-contents{
	width: 95%;
}
.pagelink-flex::after{
	display: none;
}
.pagelink-item{
	width: 47%;
	margin-bottom: 2em;
}
.pagelink-img{
	margin-bottom: 0.5em;
	border: solid 1px #b8b8b8;
	text-align: center;
}
.pagelink-img img{
	width: 95%;
	height: 17vw;
}
.pagelink-text p{
	font-size: 1.4rem;
}

/* 
* 会員専用ページ
*/
.member-block{
	width: 95%;
}
.member-title{
	margin-bottom: 2.5em;
}
.member-contents{
	width: 95%;
}
.member-link ul li{
	margin-bottom: 1.5em!important;
}

/* 
* 交付事業
*/
.grant-block{
	width: 95%;
}
.grant-title{
	margin-bottom: 2em;
}
.grant-contents{
	width: 100%;
}

/* 
* 助成事業
*/
.subsidy-block{
	width: 95%;
}
.subsidy-title{
	margin-bottom: 2em;
}
.subsidy-contents{
	width: 100%;
}

/* 
* 実績事例
*/
.record-block{
	width: 95%;
}
.record-title{
	margin-bottom: 2em;
}
.record-contents{
	width: 100%;
}

/* 
* 実績事例 詳細ページ
*/
.recordsing-block{
	width: 95%;
}
.recordsing-title{
	margin-bottom: 2em;
}
.recordsing-contents{
	width: 100%;
}

/* 
* 情報公開
*/
.info-block{
	width: 95%;
}
.info-title{
	margin-bottom: 2em;
}
.info-contents{
	width: 100%;
}
.info-banner{
	padding: 20px 40px;
}
.info-banner h3{
	font-size: 2.3rem;
}
.info-banner p{
	font-size: 1.5rem;
}
.info-chara{
	bottom: -20px;
	left: -30px;
}
.info-chara img{
	width: 35%;
}

/* 
* 貸与事業
*/
.loan-block{
	width: 95%;
}
.loan-title{
	margin-bottom: 2em;
}
.loan-contents{
	width: 100%;
}

/* 
* 新着情報一覧
*/
.newslist-block{
	width: 95%;
}
.newslist-title{
	margin-bottom: 2em;
}
.newslist-contents{
	width: 100%;
}
.newslist-inner{
	width: 95%;
	margin: 0 auto;
}
.newslist-item{
	justify-content: left;
	flex-wrap: wrap;
}
.newslist-date{
	width: 30%;
	margin-right: 0.5em;
	margin-bottom: 0.5em;
	padding: 5px 0;
}
.newslist-date p{
	font-size: 1.4rem;
	word-break: break-all;
}
.newslist-category{
	width: auto;
}
.newslist-categoryflex{
	padding: 5px 6px;
}
.newslist-icon{
	margin-right: 0.5em;
}
.newslist-icon img{
	width: 15px;
	height: 15px;
}
.newslist-categorytext p{
	font-size: 1.3rem;
}
.newslist-text{
	width: 100%;
	padding: 0;
}
.newslist-text h2{
	font-size: 1.5rem;
	line-height: 1.5;
}

/* 
* 新着情報詳細
*/
.newssingle-block{
	width: 95%;
}
.newssingle-title{
	margin-bottom: 1.5em;
}
.newssingle-inner{
	width: 90%;
}
.newssingle-date{
	margin-bottom: 1.8em;
}
.newssingle-date p{
	font-size: 1.6rem;
}
.newssingle-contents{
	width: 100%;
	min-height: auto;
	margin: 0 auto 5em auto;
}
.newssingle-backbtn{
	padding: 12px 60px;
	border-radius: 4px;
}
.newssingle-backbtn p{
	font-size: 1.4rem;
}