@charset "utf-8";
html {
	    	overflow-x: hidden;
}
body{
    	overflow-x: hidden;
	font-family: "M PLUS Rounded 1c", "M+", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "Helvetica Neue", Helvetica, Arial, sans-serif;
	color :#545454;
	font-size:1rem;
	line-height:1.85;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
    	letter-spacing: 0.2em;
    	background-color: #f4f4f4;
}
a{
	color: #545454;
	text-decoration: none;
    	outline: none;
}
#site-title {
	font-weight: bold;
}
.title-text {
	text-align: center;
	margin:20px 0;
	color:#545454;
}
img {
	vertical-align: top;
}
/* topics */
#topics{
	position: relative;
    	padding: 50px 0;
    	margin: 50px 0;
	over-flow: hidden;
	over-flow-x: hidden;
}
#topics:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:10px;
	left:-30%;
	width:150%;
	height: 700px;
	background: #27acd9;
	transform: rotate(-5deg);
}
#topics .topics-area{
    background:#fff;
    padding: 40px;
    width:70%;
    margin: 0 auto;
    border-radius:10px;
}
#topics h2{
	color: #fff;	
}
#topics li a{
    transition: all 0.3s;
}
#topics li a:hover{
     color: #666;    
}
#topics article{
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #27acd9;
}
#topics article time{
    padding: 0 2em 0 0;
    color: #666;
    font-size: 0.8rem;
}
#topics article h3{
    font-size: 1rem;
}
#topics .title-text {
	color: #fff;
}
#topics .menu-btn{
    text-align: center;
    margin: 50px 0 0 0;
}
.btn04 {
		position: relative;
		display: inline-block;
		padding: 10px 30px;
		color: #333;
		border: 1px solid #27acd9;
		text-decoration: none;
		outline: none;
		overflow: hidden;
		border-radius: 25px;
		font-weight: bold;
}

/* event */
#event{
	position: relative;
    	padding: 50px 0;
    	margin: 50px 0;
	over-flow: hidden;
	over-flow-x: hidden;
}
#event:after{
	position: absolute;
	z-index: -1;
	content:'';
	top:30px;
	left:-30%;
	width:150%;
	height: 600px;
	background: #DCEC9D;
	transform: rotate(5deg);
}
#event h2 {
	color: #fff;
}
.event-area{
    display: flex;
    justify-content: space-between;
    text-align: center;
    flex-wrap: wrap;
    overflow: hidden;
}
.event-block {
	margin: 0 auto;
}

.event-area .event-block{
    width:90%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
	row-gap: 20px;
}
.event-area .event-block article{
     margin:0 0 3vh 0;   
     width:30%;
}
/* 7-11 背景が出現＋テキスト（上から） */
.bgDU,
.bgDU .mask{
    display: block;
	position:relative;/*背景色とテキストの基点となる位置を定義*/
    overflow: hidden;
}
.bgDU .mask::before{
	content:'';
	position: absolute;
	z-index: 2;
	left:0;
	top:0;
	opacity:0;/*透過0*/
	transition: .3s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
    transform: translateY(100%);
	background:#27acd9;/*背景色*/
	width:100%;
	height: 100%;	
}
.bgDU:hover .mask::before{/*hoverした時の変化*/
	opacity:1;/*透過なしに変化*/
	transform: translateY(0);
}
.bgDU .cap{/*画像の上のテキスト*/
	position: absolute;
	opacity:0;/*透過0*/
	transition: .5s ease-in-out;/*移り変わる速さを変更したい場合はこの数値を変更*/
	z-index:3;/*テキストを前面に出す*/
	top: 50%;
    left: 50%;
	transform: translate(-50%,-50%);/*テキストの位置中央指定*/
	color: #fff;/*テキストの色を変えたい場合はここを修正*/
}
.bgDU:hover .cap{/*hoverした時の変化*/
	opacity:1;/*透過なしに変化*/
}
.event-area h3{
    font-size:1rem;
    margin: 0 0 20px 0;
}
.event-area p{
	font-size: 0.8rem;   
}
.event-area img{
   width: auto;
   height:32vh; 
}
.event-area figure p{
    position: absolute;
    bottom:0;
    left:0;
    background:rgba(39, 172, 217, 0.8);
    display: block;
    width:100%;
    padding: 10px;
	margin: 0;
	text-align: center;
    color: #fff;
}
.event-area p{
     margin:0 0 20px 0; 
    text-align: left;
    font-size: 0.9rem;
}
.event-area span{
     border:1px solid rgba(39, 172, 217, 0.8);
    display: inline-block;
    padding:5px 10px;
    text-align: center;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* saiha */
#saiha{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#saiha .saiha-img{
     width:46%;
    min-height: 420px;
    background: url("../images/topics/saiha.JPG") no-repeat center;
    background-size: cover;
}
#saiha .saiha-area{
    width:52%;
    display: flex;
    flex-wrap: wrap;
    justify-content:space-around;
    flex-direction: row-reverse;
}
#saiha .saiha-area h2,
#saiha .saiha-area p,
#saiha .saiha-area .saiha-btn a{
    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;    
    text-orientation: upright;
}
#saiha .saiha-area h2{
    width:28%;
    line-height:2.5;
    font-size:2rem;
}
#saiha .saiha-area p{
     width:48%;   
    padding: 50px 0 0 0;
    line-height: 2.8;
}
#saiha .saiha-area .saiha-btn{
    width:10%; 
    position: relative;
    top: 240px;
}
#saiha .btn04{
    padding:20px 15px;
	border-radius: 0;
	font-weight: normal;
}

/*————————————————— タブレット ———————————————— */
@media screen and (max-width: 1024px) {
    .inner{
        padding:70px 30px;
    }
    #topics .topics-area{
        width:90%;
    }
    #topics article time,
    #topics article h3{
        width:100%;
    }    
    #topics {
        padding: 50px 0 25px;
        margin: 0 0 25px;
    }
    #event {
        padding: 25px 0 50px;
        margin: 25px 0 50px;
    }
    #event:after {
        top:0;
    }
    #saiha .saiha-img{
        width:30%;
    }
   #saiha .saiha-area{
       width:68%;
    }
   #saiha .saiha-area h2{
    line-height:2;
    }
    #saiha .saiha-area p{
        line-height: 2.3;
    }    
}
/*———————————————— SP ———————————-———- */
@media screen and (max-width: 640px) {
    #topics .title-text {
        font-size: 0.9rem;
        width: 90%;
        margin: 0 auto;
    }
    #event {
        padding: 25px 0;
        margin: 25px 0;
    }
    .event-area h3{
        font-size:0.9rem;
    }
    .event-area .event-block article{ 
        width: 48%;
    }
    #event:after{
        height:800px;
    }
    #saiha{
        flex-direction: column-reverse;
    }
    #saiha .saiha-img,
    #saiha .saiha-area{
        width:100%;
    }  
    #saiha .saiha-img{
        min-height: 250px;
        }  
    #saiha .saiha-area{
        margin: 0 0 140px 0;
        min-height: 20em;
        justify-content: center;
    }
    #saiha .saiha-area .saiha-btn{
        width:100%;
        top: 50px;
        text-align: center;
    }
    .btn04{
        max-width:250px;
    }
    #saiha .saiha-area h2,
    #saiha .saiha-area p{
        width:auto;
    } 
    #saiha .saiha-area h2{
        margin:0 0 0 20px;
        line-height: 2.2;
    }
    #saiha .saiha-area p{
        line-height: 2;
    }      
    #saiha .saiha-area .saiha-btn a{
        -ms-writing-mode: lr-tb;
        -webkit-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
    }
    #saiha .btn04{
        padding: 10px 30px;
    }
}
@media screen and (max-width:470px) {
    #saiha .saiha-area h2{
        line-height: 1.8;
    }
    #saiha .saiha-area p{   
        height: 23em;
    } 
    _:-ms-lang(x)::-ms-backdrop, #saiha .saiha-area p{
        width:8em;
    }
}
@media screen and (max-width:350px) {
    .event-area .event-block article{ 
        width: 100%;
    }     
    #event:after{
        height:1500px;
    }
    #saiha .saiha-area h2{
        line-height: 1.6;
    }
    #saiha .saiha-area p {
        line-height: 1.8;
        padding: 20px 0 0 0;
    }
    .inner {
        padding: 30px;
    }
}
    