@charset "UTF-8";
/* CSS Document */

html, body {
  height: 100%;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
	display: flex;
  	flex-direction: column;
}

main {
  flex: 1;
}

.container {
    width: 80%;
    margin: 20px auto;
    background-color: #fff;
    padding: 20px;
}

h1 {
    text-align: center;
    color: #333;
    padding-bottom: 60px;
}

.text{
	margin-bottom: 60px;
}

.section {
    margin-bottom: 7%;
}

.section h2 {
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.section p {
    margin: 5px 0;
}

/*フッター*/

/*----------------------------------------
フッター部分
----------------------------------------*/
.footer {
    background: #36281D;
    padding: 15px 0px 10px 0px;
    text-align: center;
    font-size: 0.8em;
    color: #fff;
	margin: 100px 0px 0px 0px;
}

footer ul {
    display: flex;
    justify-content: center;
	list-style: none;
	padding: 0;
    margin: 0;
}

footer ul li {
    padding: 0 1.5%;
}

li+li {
    border-left: 1px solid #fff;
}

a{
	text-decoration: none;
}

.footer a {
    color: #fff;
    transition-duration: .4s;
}

.footer p {
    color: #fff;
    font-size: 0.6em;
}

.footer ul li:hover {
    opacity: 0.6;
}

.footer_logo {
    transition-duration: .4s;
}

.footer_logo img {
    width: 15%;
    margin-bottom: 1%;
}

.footer_logo:hover {
    transform: scale(1.1);
    opacity: 0.6;
}

@media only screen and (max-width:768px) {

	.container{
    	width: 90%;
	}
	
    .footer {
        background: #36281D;
        padding: 0.em auto 0.9em auto;
        text-align: center;
        font-size: 0.8em;
        color: #fff;
    }

    footer ul {
        display: flex;
        justify-content: center;
        margin-bottom: 3%;
		text-align: center;

    }

    .footer_logo img {
        width: 30%;
        margin-bottom: 2%;
        margin-top: 3%;
    }


  .footer-inner .menu li {
    padding: 0;
  }
}
