/*カルーセルバナー下余白調整*/
.mt_merger1 {
    margin-top: 50px;
}

@media only screen and (max-width:767px) {
    .mt_merger1 {
        margin-top: 20px;
    }
}

/*新メインコンテンツエリア上余白調整*/
.mt_merger2　{
    margin-top: 10px;
}

@media only screen and (max-width:767px) {
    .mt_merger2 {
    margin-top: 20px;
    }
}


/*合併お知らせボタン*/
.merger_btn {
    border-radius: 6px; 
    width: 800px;
    border-bottom: solid 4px #98141e;
    height: 120px;
    text-decoration: none;
    background: #e30b1c;
    color: #ffffff;
    margin: 0 auto;
}

@media only screen and (max-width:767px) {
    .merger_btn {
        width: 100%;
        height: 100px;
    }
}

.merger_btn a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
}

.merger_btn_txt {
    position:absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    letter-spacing:0.05em;
}

@media only screen and (max-width:767px) {
    .merger_btn_txt {
        font-size: 1.8rem;
        line-height: 1.8;
    }
}

.merger_btn_txt:after {    
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    margin: auto;
    left: auto;
    right: 60px;
    background: url(/assets/svg/i_arrow3.svg?c=fff) center no-repeat;
    background-size: 100% auto;
    width: 14px;
    height: 22px;
}

@media only screen and (max-width:767px) {
    .merger_btn_txt:after {
        right: 30px;
        width: 10px;
        height: 18px;
    }
}

@media only screen and (min-width: 1025px) {
    .merger_btn:hover {
        opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}


/*新メインコンテンツボタンエリア*/

.n_btn ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
}

.n_btn ul li a {
    display: block;
    height: 100%;
    width: 100%;
}

.n_btn a {
    position: relative;
    color: #000;
}

.n_btn span {
    position: absolute;    
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    -webkit-transform: translateY(-50%) translateX(-50%);    
}

@media only screen and (min-width: 768px) {
    .over-btn {
        display:inline;
    }
}

@media print, screen and (min-width: 768px) {
    .tenpo-btn img {
        display:block;
    }
}

.nbtn_01,.nbtn_02,.nbtn_03 {
    background: #f1eee6;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    width: 380px;
    border-bottom: solid 4px #dfdbd1;
    height: 96px;
}

.nbtn_04,.nbtn_05,.nbtn_06,.nbtn_07,.nbtn_08 {
    background: #f1eee6;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    width: 223px;
    border-bottom: solid 4px #dfdbd1;
    margin-top: 10px;
    height: 110px;
}

@media only screen and (max-width:767px) {
    .nbtn_01,.nbtn_02 {
        width: 100%;
        height: 64px;
        margin-top: 10px;
    }
}

@media only screen and (max-width:767px) {
    .nbtn_03,.nbtn_04,.nbtn_05,.nbtn_06,.nbtn_07,.nbtn_08{
        width : calc(96% / 3);
        height: 110px;
        margin-top: 10px;
        font-size: 1.3rem;
    }
}

.under-btn {
    padding: 1em 0;
    width: 100%;
    height: 100%;
    position: relative;
}

@media print, screen and (min-width: 768px) {
    .tenpo-btn{
        width: 100%; 
        display: flex; 
    }
}

.over-btn1 {
        width: 100%;
        position: relative;
}

.over-btn1 img {
    position: absolute;
    top: 75%;
    left: 27%;
    transform: translateY(-75%) translateX(-27%);
}

@media only screen and (max-width: 767px) {
    .over-btn1 img{
        top: 80%;
        left: 26%;
        transform: translateY(-80%) translateX(-26%);
    }
}

.over-btn2 {
    width: 100%;
    position: relative;
}

.over-btn2 img {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 24%;
    transform: translateY(-50%) translateX(-24%);
}

@media only screen and (max-width: 767px) {
    .over-btn2 img {
        top: 50%;
        left: 22%;
        transform: translateY(-50%) translateX(-22%);
    }
}

@media only screen and (max-width: 767px) {
    .tenpo-btn{
        padding: 1em 0;
        width: 100%;
        height: 100%;
        position: relative;
    }
}

.n_btn img {
    margin-right: 8px;
}

@media print, screen and (min-width: 1025px) {
    .under-btn img{
        margin: auto;
    }
}

.under-btn img {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateY(-30%) translateX(-50%);
}

@media print, screen and (min-width: 768px) {
    .tenpo-btn img {
        margin-left: 110px;
    }
}

@media only screen and (max-width: 767px) {
    .tenpo-btn img {
        position: absolute;
        margin: auto;
        top: 20%;
        left:50%;
        transform: translateX(-50%);
    }
}

@media only screen and (max-width: 767px) {
    .btn-txt1 {        
        margin-top: 24px;
        width: 100%;
    }
}

.btn_txt2 {
    margin-top: 24px;
    width: 100%;
}

@media print, screen and (min-width: 768px) and (max-width: 1024px) {
    .btn_txt3 {
         margin-top: 24px;
         width: 100%;
	}
}

@media print, screen and (min-width: 1025px) {
	.btn_txt3 {
         margin-top: 24px;
         width: 100%;
	}
}

@media print, screen and (max-width: 767px) {
    .btn_txt3 { 
        margin-top: 24px;
        width: 100%;
        line-height: 1.2;
    }
 
}

.btn_txt4 { 
    margin-top: 24px;
    width: 100%;
    line-height: 1.2;
}

.nbtn_01 img {
    width: 68px;
    height: 45px;        
}

@media only screen and (max-width: 767px) {
    .nbtn_01 img { 
        width: 61.2px;
        height: 36px;
    }
}

.nbtn_02 img {
    width: 32px;
    height: 32px;        
}

.nbtn_03 img {
    width: 32px;
    height: 32px;        
}

.nbtn_04 img {
    width: 32px;
    height: 32px;        
}

.nbtn_05 img{
    width: 56px;
    height: 36px;        
}

.nbtn_06 img {
    width: 48px;
    height: 48px;        
}

.nbtn_07 img {
    width: 32px;
    height: 32px;        
}

.nbtn_08 img {
    width: 32px;
    height: 32px;        
}



/*ボタンホバー*/
@media only screen and (min-width: 1025px) {
	.nbtn_01:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_02:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_03:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_04:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_05:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_06:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_07:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}

@media only screen and (min-width: 1025px) {
	.nbtn_08:hover {
		opacity : 0.7;
		-ms-filter : 'progid:DXImageTransform.Microsoft.Alpha(Opacity=70)';
		text-decoration : none;
	}
}
