/*
 Theme Name:   きら 清一
 Theme URI:    https://kira.aso-life.com
 Description:  南阿蘇村 吉良清一 氏のホームページ
 Author:       吉良清一
 Author URI:   https://kira.aso-life.com
 Version:      1.0.0
 Tags:
*/

@charset "UTF-8";
/* CSS Document */

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "sans-serif";
    line-height: 1.6em;
}


.navbar-toggler-2, .navbar-toggler-2 span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
}
.navbar-toggler-2 {
    position: fixed;
    top: 8px;
    right: 12px;
    width: 42px;
    height: 42px;
    border: 4px solid #01885a;
    background: #01885a;
    border-radius: 5px;
    z-index: 112;
}
.navbar-toggler-2 span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
}

.transform .navbar-toggler-2 {
    top: 5px;
}

.navbar-toggler-2 span:nth-of-type(1) {
    top: 5px;
}
.navbar-toggler-2 span:nth-of-type(2) {
    top: 16px;
}
.navbar-toggler-2 span:nth-of-type(3) {
    bottom: 4px;
}
.navbar-toggler-2.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
}
.navbar-toggler-2.active span:nth-of-type(2) {
    left: 50%;
    opacity: 0;
    -webkit-animation: active-menu-bar02 .8s forwards;
    animation: active-menu-bar02 .8s forwards;
}
@-webkit-keyframes active-menu-bar02 {
    100% {
        height: 0;
    }
}
@keyframes active-menu-bar02 {
    100% {
        height: 0;
    }
}
.navbar-toggler-2.active span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
}


@media (max-width: 991.98px) {
    .offcanvas-collapse {
        position: fixed;
        top: 55px;
        bottom: 0;
        left: 100%;
        width: 100%;
        padding-right: 0;
        padding-left: 0;
        padding-top: 50px;
        overflow-y: auto;
        background-color: rgba(255,255,255,0.75);
        transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out;
        transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
    }
    .offcanvas-collapse.open {
        visibility: visible;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    
    .transform .offcanvas-collapse {
        top: 52px;
    }
    
}

.site-header {
    background: rgba(255,255,255,0.75);
    display: flex;
    padding: 5px 20px 0 20px;
    position: fixed;
    justify-content: space-between;
    transition: .5s;
    width: 100%;
}

.site-header.transform {
    background: rgba(255,255,255,0.8);
    padding: 5px 20px 0 20px;
}

.site-header .navbar-brand img {
    width: 180px;
    transition: .5s;
}

.site-header.transform .navbar-brand img {
    width: 140px;
}

ul.navbar-nav {
    text-align: center;
    width: 100%;
    display: block;
}

ul.navbar-nav li {
    margin-left: 0;
    margin-bottom: 25px;
    display: block;
    width: 100%;
    float: left;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
}

ul.navbar-nav li a {
    text-align: center;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
    font-weight: bold;
    line-height: 1.2em;
    color: #000;
    transition: .5s;
}

ul.navbar-nav li.nav-item.navi_01 a {
    display: block;
    background: none;
    transition: .5s;
    color: #000;
	padding-left: 15px;
	padding-right: 15px;
}

ul.navbar-nav li.nav-item.navi_02 a {
    display: block;
    background: #ff2e31;
    transition: .5s;
    color: #fff;
	padding-left: 15px;
	padding-right: 15px;
}


ul.navbar-nav li.nav-item.navi_01 a:hover {
    color: #e35b2b;
}

ul.navbar-nav li.nav-item.navi_02 a:hover {
    background: #c4121b;
	color: #fff;
}

.top_img {
    position: relative;
}

.top_img .slider img {
    width: 180%;
    height: auto;
    text-align: center;
}

.top_img .slider {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.top_img .top_title {
    position: absolute;
	bottom: 0;
    width: 60%;
    max-width: 1140px;
	text-align: center;
	background-image: url("images/seiichi_kira.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position:bottom; 
	height: 50vh;
	padding-top: 30%;
}

.top_img .top_title h1 {
    font-size: 23px;
    color: #fff;
    line-height: 1.4em;
	position: absolute;
	bottom: 20px;
	border:1px solid #fff;
	padding: 8px 15px;
	margin-left: 25%;
}

.top_img .top_title ul {
	margin: 10px auto 0;
	padding: 0;
	text-align: center;
	display: inline-block;
}

.top_img .top_title ul li {
	display: inline-block;
	background: #e35b2b;
	font-size: 24px;
	font-weight: bold;
	color: #fff;
	padding: 5px 15px 15px 15px;
	list-style:  none;
	float: left;
	margin-right: 10px;
	text-align: center;
	position: relative;
	width: auto;
}

.top_img .top_title ul li:before{
		width: calc(100%);
		height: 0;
		display: block;
		position: absolute;
		left: 0;
		content: "";
	}
.top_img .top_title ul li:before{
		border-bottom: solid 10px #e35b2b;
		border-right: solid 10px transparent;
		bottom: 100%;
	}

.top_img .top_title ul li:last-child {
	margin-right: 0;
}

.top_img_bottom {
	background: #fff;
	padding: 12px 20px;
}

.top_img_bottom h2{
	font-size: 8.2vw;
	text-align: center;
	font-weight: bold;
	color: #01885a;
}

.top_img_bottom h3 {
	font-size: 4.2vw;
	font-weight: bold;
	text-align: center;
	color: #01885a;
}

.top_img.page_header img {
	margin-right:auto;
	margin-left:auto;
}


p.link {
	margin: 30px auto 20px;
	text-align: center
}

p.link a {
	background: #01885a;
	padding: 12px 45px 12px 30px;
	display: inline-block;
	color: #fff;
	font-size: 18px;
	border-radius: 10px;
	transition: .5s;
}

p.link a:hover {
	background: #65ab31;
	text-decoration: none;
}

p.link a i {
	position: relative;
	font-style: normal;
}

p.link a i::before {
	position: absolute;
	display:block;
	content: '';
	width: 0;
	height: 0;
	top: 20%;
	right: -30px;
	box-sizing: border-box;
	border: 6px solid transparent;
	border-left: 16px solid #fff;
}


.news {
	background: #fff;
}


.news ul {
	margin: 30px 0 0 0;
	padding: 0;
}

.news ul li {
	list-style: none;
	margin-bottom: 15px;
	width:100%;
	float: none;
	margin-right: 0;
	border-bottom:1px solid #efefef;
}

.news ul li a {
	color:#008440;
	transition:.5s;
}

.news ul li a:hover {
	color:#81c153;
	text-decoration:none;
}

.news ul li a h3 {
	font-size:18px;
}

.news ul li a h3 i {
	position:relative;
	font-style:normal;
}

.news ul li a h3 i::after {
	position: absolute;
	display:block;
	content: '';
	width: 0;
	height: 0;
	top: 20%;
	right: -30px;
	box-sizing: border-box;
	border: 6px solid transparent;
	border-left: 16px solid #008440;
}

.news ul li:nth-child(2n+2) {
	margin-right: 0;
}

.news ul li dl {
	margin: 0;
}

.news ul li dl dt {
	font-weight: normal;
}

.news ul li dl dd a {
	color: #01885a;
	font-weight: bold;
	transition: .5s;
}

.news ul li dl dd a:hover {
	color: #65ab31;
	text-decoration: none;
}

.profile {
	margin-top: -40px;
	padding-top:80px;
}

.profile .box_01 {
	background: #65ab31;
	padding-top: 30px;
	padding-bottom: 30px;
	color: #fff;
}

.profile .box_01 h2,
.profile .box_01 h3 {
	font-size: 26px;
	text-align: center;
}

.profile .box_02 {
	padding-top: 30px;
	padding-bottom: 30px;
}

.profile .box_02 h3 {
	margin-left: 20px;
	margin-right: 20px;
	margin-bottom:20px
}

.profile .box_02 ul {
	list-style: none;
	margin-left: 20px;
	margin-right: 20px;
	padding: 0;
}

.profile .box_02 ul li {
	margin-bottom: 15px;
	font-size: 18px;
}

.policy,
.top_greeting,
.news,
.qanda {
	margin-top: -40px;
	padding-top:80px;
}

.top_greeting h2,
.news h2,
.qanda h2,
.policy h2 {
	font-size: 26px;
	color: #fff;
	font-weight:normal;
	background: #65ab31;
	margin-bottom: 20px;
	padding-top:30px;
	padding-bottom:30px;
	text-align:center;
}


.policy h2 span {
	font-size: 24px;
	color: #01885a;
}

.policy p,
.top_greeting p {
	font-size: 18px;
	line-height: 1.6em;
}

.top_greeting p strong {
	font-weight: bold;
	color: #01885a;
}

.top_greeting p strong span {
	color:#e84479;
}

.top_company h3 {
	text-align: center;
	font-family: 'Klee One', cursive;
	color: #fff;
}

.top_company_title {
	background: #fff;
}

.top_company_title h2 {
	padding-top: 50px;
	padding-bottom: 20px;
	text-align: center;
	font-size: 22px;
}


.qanda ul {
	margin-top:30px;
	padding:0;
}

.qanda ul li {
	margin-bottom:15px;
	list-style:none;
	border-bottom:1px solid #efefef;
	padding-bottom:10px;
}

.qanda ul li dl dt strong {
	color:#81c153;
	font-size:26px;
	margin-right:10px;
}

.qanda ul li dl dt {
	color:#e84479;
	margin-bottom:10px;
	padding-top:7px;
}

.qanda ul li dl dt a {
	position: relative;
	color: #01885a;
	transition: .5s;
	font-weight: bold;
}

.qanda ul li dl dt a:hover {
	color: #65ab31;
	text-decoration: none;
}

.qanda ul li dl dt a i {
	position: absolute;
	padding-left: 15px;
}

.qanda ul li dl dt a i::after {
	content: "";
    display: block;
    width: 20px;
    height: 20px;
    border-top: 3px solid #01885a;
    border-right: 3px solid #01885a;
	transform: rotate(135deg);
}

.qanda ul li dl dd strong {
	color:#008440;
	font-size:26px;
	margin-right:10px;
}

.qanda ul li dl dd span {
	color:#e84479;
	font-weight:bold;
}

.footer {
	background: #ecf4db;
	padding-top: 30px;
	margin-top:40px;
}

.footer ul {
	margin: 0;
	padding: 0 0 0 24px;
	border-left: #65ab31 solid 13px;
}

.footer ul li {
	list-style: none;
	margin-bottom: 18px;
}

.footer ul li a {
	color: #000;
	transition: .5s;
}

.footer ul li a:hover {
	color: #e35b2b;
	text-decoration: none;
}

.footer img.footer_logo {
	width: 200px;
}

.footer p.copyright {
	text-align: center;
}


.post_page,
.post_page.qanda,
 post_page.news{
	margin-top:30px;
	margin-bottom:30px;
}

.post_page.qanda,
.post_page.news {
	padding-top:0;
}

.page_title h1 {
	font-size:21px;
}

.page_inner {
	margin-top:8px;
}

.post_page ul.other_news {
	margin:30px 0 0;
	padding:0;
}

.post_page ul.other_news li {
	list-style: none;
	margin-bottom: 15px;
	width:100%;
	float: none;
	margin-right: 0;
	border-bottom:1px solid #efefef;
}

.post_page ul.other_news li a {
	color:#008440;
	transition:.5s;
	position:relative;
}

.post_page ul.other_news li a:hover {
	color:#81c153;
	text-decoration:none;
}

.post_page ul.other_news li a i {
	position:relative;
	font-style:normal;
}

.post_page ul.other_news li a i::after {
	position: absolute;
	display:block;
	content: '';
	width: 0;
	height: 0;
	top: 20%;
	right: -30px;
	box-sizing: border-box;
	border: 4px solid transparent;
	border-left: 12px solid #008440;
}

.post_page ul.other_news li:nth-child(2n+2) {
	margin-right: 0;
}

img.header_img {
	width:100%;
}

.order-form {
	border:1px solid #65ab31;
	padding:15px;
	margin-top:30px;
}

.order-form input[type=text],
.order-form input[type=email] {
	width:100%;
}

.order-form ul,
.form_box ul {
	margin:0;
	padding:0;
}

.order-form ul li,
.form_box ul li {
	list-style:none;
}

.order-form ul li dl dt,
.form_box ul dl dt {
	color:#000;
}

.form_box_finish {
	color:#ff4c0e;
}

@media (min-width: 590px) {
	.top_img_bottom h2{
	font-size: 48px;
	color: #01885a;
    }
	
	.top_img_bottom h3 {
		font-size: 3.8vw;
		font-weight: bold;
		text-align: center;
		color: #01885a;
	}
}

@media (min-width: 768px) {
	.top_img .slider img {
        width: 100%;
    }
	
	.top_img .top_title {
		width: 36%;
	}
	
	.top_img_bottom h2{
		font-size: 64px;
		}
	.top_img_bottom h3 {
		font-size: 3.4vw;
	}
	
	.profile .box_01 h2,
	.profile .box_01 h3 {
		font-size: 26px;
		text-align: right;
		margin-right: 30px;
	}
	
}
@media (min-width: 992px) {
	.navbar-toggler-2 {
        display: none;
    }
    
    ul.navbar-nav {
        display: flex;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    ul.navbar-nav li {
        margin-left: 0;
        margin-bottom: 0;
        display: table;
        width: auto;
    }

    .navbar-light .navbar-nav .nav-link {
        color: #000;
    }

    ul.navbar-nav li a {
        text-align: center;
        position: relative;
        padding-top: 62px;
        padding-bottom: 10px;
        font-weight: bold;
        line-height: 1.2em;
        color: #000;
        display: table-cell;
        vertical-align: middle;
    }
    
    .navbar-light .navbar-nav .nav-link:hover {
        color: #000;
    }
    ul.navbar-nav li a:hover {
        color: #f000;
    }
    
    .transform ul.navbar-nav li a {
        padding-top: 30px;
    }

    .site-header {
        background: rgba(255,255,255,0.8);
        display: flex;
        padding: 0 20px 0 20px;
        position: fixed;
        justify-content: space-between;
        transition: .5s;
        width: 100%;
        width: 100%;
    }

    .site-header.transform {
        background: rgba(255,255,255,0.7);
        padding: 0 20px 0 20px;
    }
    
    .site-header .navbar-brand {
        padding-top: 6px;
    }
    
    .site-header .navbar-brand img {
        width: 280px;
        transition: .5s;
    }

    .site-header.transform .navbar-brand img {
        width: 200px;
    }
	
	.top_img .top_title {
		position: absolute;
        bottom: 0;
        width: 30%;
		left: calc(10% + 50px);
		
    }
	
	.top_img_bottom h2{
		font-size: 7.2vw;

	}

	.top_img_bottom h3 {
		font-size:3.4vw;
	}
	
	p.link a {
		padding: 18px 85px 18px 60px;
		display: inline-block;
		color: #fff;
		font-size: 25px;
		border-radius: 10px;
	}

	p.link a i::before {
		position: absolute;
		display:block;
		content: '';
		width: 0;
		height: 0;
		top: 32%;
		right: -40px;
		box-sizing: border-box;
		border: 6px solid transparent;
		border-left: 16px solid #fff;
	}

	.profile {
			margin-bottom:80px;
	}
	
	.news {
		padding-top: 40px;
		padding-bottom: 50px;
	}
	
	.news ul li dl dt {
		float: left;
		width: 300px;
	}
	
	.news ul li dl dd {
		margin-left: 310px;
	}

	.top_greeting h2,
	.news h2,
	.qanda h2,
	.policy h2 {
		font-size:32px;
	}
	
	.policy {
		margin-top: 80px;
		margin-bottom:80px;
	}
	
	.policy h2 span {
		font-size: 44px;
		color: #01885a;
	}
	
	.top_greeting h2 {
		font-size: 32px;
		margin-bottom: 40px
	}
	
	.policy p,
	.top_greeting p {
		font-size: 22px;
	}

	.top_company_title h2 {
		font-size: 26px;
	}

	.post_page {
		margin-top:40px;
		margin-bottom:50px;
	}

	.page_title h1 {
		font-size:26px;
	}

	.page_inner {
		margin-top:18px;
	}

	.post_page ul.other_news li {
		width: 100%;
	}

	.post_page ul.other_news li dl dt {
		width:40%;
		float:left;
	}

	.post_page ul.other_news li dl dt img {
		width:100%;
	}

	.post_page ul.other_news li dl dd {
		margin-left:45%;
		margin-bottom:0;
	}

	.footer {
		margin-top:80px;
	}


}

@media (min-width: 1260px) {
	
	.top_img_bottom h2{
		font-size: 7.4vw;
	}
	
	.step_box {
		background: url("images/step_line.svg");
		background-repeat: no-repeat;
		background-size: contain;
		background-position: 50px -60px;
	}
}