﻿.mas-row {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: 100%;
    margin-bottom: 35px;
    padding: 5px;
    border: dotted 2px #6e6e6e;
    border-radius: 5px;
}

.mas-row .col a {
    width: calc(17.5% - 27px);
    float: left;
    height: 69px;
    margin: 3px;
    text-align: center;
    overflow: hidden;
    position: relative;
    top: 0;
    transition: ease-in-out 300ms;
    opacity: 1;
}

.mas-row .col a img {
    max-width: 100%;
    margin: 0 auto;
}

.mas-row .col a:hover {
    top: -10px;
    position: relative;
    opacity: .5;
}

.kiota-left {width:30%; float:left; }
.kiota-left .inner-box {max-width:300px; margin-left:auto;}
.kiota-right {width:70%; float:left;}

.wrapper-new {
    width: 80%;
    padding: 60px 0px;
    display: flex;
    margin-left: 10%;
}

.wrapper-new a:hover {text-decoration:none !important;}

.kioti-h { color:#f05223;}
.kioti-h span { color:#272727;}
.takeuchi-h { color:#ed1c24;}
.takeuchi-h span { color:#272727;}

img.img-fluid {
    max-width: 850PX;
    width: 100%;
    margin-left: auto;
}

button.kioti-btn {
    background: transparent;
    padding: 10px 15px;
    display: block;
    width: 100%;
    margin-top: 1em;
    border-radius: 10px;
    font-weight: 900;
    border-color: #272727;
    color: black;
    border-width: 1.5px;
	transition:ease-in-out 300ms;
}
button.kioti-btn:hover {background:#f05223; color:#fff;}

button.takeuchi-btn {
    background: transparent;
    padding: 10px 15px;
    display: block;
    width: 100%;
    margin-top: 1em;
    border-radius: 10px;
    font-weight: 900;
    border-color: #272727;
    color: black;
    border-width: 1.5px;
	transition:ease-in-out 300ms;
}
button.takeuchi-btn:hover {background:#ed1c24; color:#fff;}

@media screen and (max-width: 1200px){
	.kiota-left .inner-box {
    max-width: 300px;
    margin-left: initial;
}
	.kiota-left {width:30%; float:left; }
.kiota-right {width:70%; float:left;}
.mas-row .col a {
    width: calc(25% - 4px);
    margin: 2px;
}
}
@media screen and (max-width: 992px){ 
.kiota-left .inner-box {
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
}
	.wrapper-new {display:inline-block;}
	img.img-fluid {
margin-top:2em;
		position: relative;
	
}
	.kiota-left {width:100%; float:left; }
.kiota-right {width:100%; float:left;}
}
	@media screen and (max-width: 768px){ 
.mas-row .col a {
    height: 58px;
}
}
@media screen and (max-width: 600px){ 
.mas-row .col a {
   width: calc(33% - 4px);
}
}
@media screen and (max-width: 480px){ 
.mas-row .col a {
   width: calc(50% - 4px);
   height:60px;
}
}