@charset "utf-8";
/* CSS Document */

.mg_t-100{ margin-top:-100px; }
.mg_t-80{ margin-top:-80px; }
.mg_t-50{ margin-top:-50px; }
.mg_t-30{ margin-top:-30px; }
.mg_t-10{ margin-top:-10px; }
.mg_t12{ margin-top:12px; }
.mg_t14{ margin-top:14px; }
.mg_t16{ margin-top:16px; }
.mg_t18{ margin-top:18px; }
.mg_t20{ margin-top:20px; }
.mg_t30{ margin-top:30px; }
.mg_t40{ margin-top:40px; }
.mg_t50{ margin-top:50px; }
.mg_t60{ margin-top:60px; }

.mb_5{ margin-bottom: 5px !important;}
.mb_10{ margin-bottom: 10px !important;}
.mb_15{ margin-bottom: 15px !important;}
.mb_20{ margin-bottom: 20px !important;}
.mb_30{ margin-bottom: 30px !important;}
.mb_40{ margin-bottom: 40px !important;}
.mb_50{ margin-bottom: 50px !important;}
.mb_60{ margin-bottom: 60px !important;}
.mb_70{ margin-bottom: 70px !important;}

.mb_47{ margin-bottom: 47px !important;}
.center{ text-align: center;}

a{
	opacity: 1;
	 -webkit-transition: all 0.8s;
      -moz-transition: all 0.8s;
      -ms-transition: all 0.8s;
      -o-transition: all 0.8s;
      transition: all 0.8s;
}
a:hover{
	opacity: 0.65;
	 -webkit-transition: all 0.8s;
      -moz-transition: all 0.8s;
      -ms-transition: all 0.8s;
      -o-transition: all 0.8s;
      transition: all 0.8s;
}

div.flex_box{
	display: flex;
	justify-content: space-between;
    width: 980px;
    margin: 0 auto;
}
div.flex_box p{
    width: 49%;
}

#plan .left,
#plan .right{
    display: flex;
    justify-content: space-between;
    width: 48%;
}
#plan p.img{
    width: 150px;
}
#plan p.img a img{
    width: 100% !important;
}

#plan .left .ai_start .plan_txt,
#plan .right .ai_start .plan_txt{
    margin-right: 0;
}


/*
div.contents .flex_box{
	display: flex;
	justify-content: center;
}
*/

#bnr_box a img {
    width: 100%;
}
p.bnrbox_type01{ 
    margin: 0 auto 10px;
}
.bnrbox_type02{ 
    display: flex;
    justify-content: space-between;
    margin: 0 auto 10px;
}
.bnrbox_type02 p{ 
    width: 49%;
    margin: 0;
}

div.bnr{
	background: url(https://kariyushi-condo.jp/rak/youya/images/top/bnr_bg.jpg) no-repeat center top;
	height: 172px;
	position: relative;
}
div.bnr a{
	position: absolute;
	right: 0;
	bottom: 0;
}

#bnr_box{
    margin-bottom: 20px;
}

.contents_wrap{
    max-width: 950px;
    margin: 0 auto;
}
.contents_wrap img{
    width: 100%;
}
.contents_wrap header{
    margin-top: 10px;
}

.footer_sec{
    padding-top: 50px;
    border-top: 2px dotted #2f0706;
}
.footer_sec .ft_inner{
    max-width: 950px;
    margin: 0 auto 50px ;
}
.footer_sec .ft_inner p:nth-of-type(2){
    max-width: 850px;
    margin: 0 auto;
}
.footer_sec .ft_inner p a img{
    width: 100%;
}

/*�v�����p*/

.plans{
	padding-bottom: 50px;
}
.plans div.flex_box p{
    width: inherit;
}

.center{ text-align: center;}
.fs_12{ font-size: 12px;}
#main .position{
	position: relative;
}

.flex_box{
	display: flex;
	justify-content: center;

}

.flex_box.ai_start{
	align-items: start;
}
.fs_15{
	font-size: 15px;
}
.ai_start p{
	margin-right: 15px;
}
.plan_txt {
    line-height: 1.3;
	color: black;
    width: inherit;
}
.white{
	color: #ffffff;
}

.bg_color{
	background: #2f0706;
	padding: 5px 10px 5px 10px;
}
.bg_color a{
	font-size: 13px;
	opacity: 0.9; 
	color: #ffffff;
	padding-right: 15px;
}
.bg_color02{
	color: #ffffff;
	background: #2f0706;
	padding: 8px;
	display: inline-block;
}


/********** Slide Show **********/

.photo-show {
    height: 600px; /*�\���������傫��*/
    max-width: 100%;
    position: relative;
    width: 950px; /*�\���������傫���Aheight �ƍ��킹��*/
    margin: 0 auto;
}

.photo-show img {
    animation: show 66s infinite;
    -webkit-animation: show 66s infinite;
    height: auto;
    max-width: 100%;
    opacity: 0;
    position: absolute; /*�摜��S�ďd�˂�*/
    left: 0;
    right: 0;
}

/*�A�j���[�V����*/

@keyframes show {
0% {opacity: 0;}
1.52% {opacity: 1;}
4.5% {opacity: 1;}
6.0% {opacity: 0;}
100% {opacity: 0;}
}

@-webkit-keyframes show {
0% {opacity: 0;}
1.52% {opacity: 1;}
4.5% {opacity: 1;}
6.0% {opacity: 0;}
100% {opacity: 0;}
}
/*�e�摜�̃A�j���[�V�����̊J�n���Ԃ����炷*/

.photo-show img:nth-of-type(1) {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

.photo-show img:nth-of-type(2) {
    animation-delay: 3s;
    -webkit-animation-delay: 3s;
}

.photo-show img:nth-of-type(3) {
    animation-delay: 6s;
    -webkit-animation-delay: 6s;
}
.photo-show img:nth-of-type(4) {
    animation-delay: 9s;
    -webkit-animation-delay: 9s;
}
.photo-show img:nth-of-type(5) {
    animation-delay: 12s;
    -webkit-animation-delay: 12s;
}
.photo-show img:nth-of-type(6) {
    animation-delay: 15s;
    -webkit-animation-delay: 15s;
}
.photo-show img:nth-of-type(7) {
    animation-delay: 18s;
    -webkit-animation-delay: 18s;
}
.photo-show img:nth-of-type(8) {
    animation-delay: 21s;
    -webkit-animation-delay: 21s;
}
.photo-show img:nth-of-type(9) {
    animation-delay: 24s;
    -webkit-animation-delay: 24s;
}
.photo-show img:nth-of-type(10) {
    animation-delay: 27s;
    -webkit-animation-delay: 27s;
}
.photo-show img:nth-of-type(11) {
    animation-delay: 30s;
    -webkit-animation-delay: 30s;
}
.photo-show img:nth-of-type(12) {
    animation-delay: 33s;
    -webkit-animation-delay: 33s;
}
.photo-show img:nth-of-type(13) {
    animation-delay: 36s;
    -webkit-animation-delay: 36s;
}
.photo-show img:nth-of-type(14) {
    animation-delay: 39s;
    -webkit-animation-delay: 39s;
}
.photo-show img:nth-of-type(15) {
    animation-delay: 42s;
    -webkit-animation-delay: 42s;
}
.photo-show img:nth-of-type(16) {
    animation-delay: 45s;
    -webkit-animation-delay: 45s;
}
.photo-show img:nth-of-type(17) {
    animation-delay: 48s;
    -webkit-animation-delay: 48s;
}
.photo-show img:nth-of-type(18) {
    animation-delay: 51s;
    -webkit-animation-delay: 51s;
}
.photo-show img:nth-of-type(19) {
    animation-delay: 54s;
    -webkit-animation-delay: 54s;
}
.photo-show img:nth-of-type(20) {
    animation-delay: 57s;
    -webkit-animation-delay: 57s;
}
.photo-show img:nth-of-type(21) {
    animation-delay: 60s;
    -webkit-animation-delay: 60s;
}
.photo-show img:nth-of-type(22) {
    animation-delay: 63s;
    -webkit-animation-delay: 63s;
}



/*resetcss*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
img{
	vertical-align: bottom;
}
