@charset "utf-8";

/* ========== すべて共通 ========== */
/* font-size 16px の時は、0.7rem->11.2px 0.9rem->14.4px 1.3rem->20.8px 1.4rem->22.4px 1.6rem->25.6px 2.4rem->38.4px */
/* font-size 14px の時は、0.7rem->9.8px 0.9rem->12.6px 1.3rem->18.2px 1.4rem->19.6px 1.6rem->22.4px 2.4rem->33.6px */
html, body {
	font-size: 14px;
	font-family: sans-serif;
	color: #393939;
	background: #fffffa;
}
body, div, p, h1, h2, h3, h4, ul, figure {
	margin: 0;
	padding: 0;
}
p, td, th, li {
	line-height: 1.8;
}
table {
    border-collapse: collapse;
}
th, td {
    border: 1px solid #c7c2af;
    padding: 8px;
}
img {
	width: 100%;
	height: auto;
}
a {
	color: #709a00;
}
a:hover {
	color: #95cd00;
}
a:active {
	color: #4b6700;
}
.img-responsive {
	display: block;
	max-width: 100%;
	height: auto;
}

/* JavaScript 無効時 */
.no-js .slideshow img:first-child {
    display: none;
}
.no-js .slideshow {
    height: auto;
}
.no-js .slideshow-slides {
    height: auto;
    position: static;
}
.no-js .slideshow-slides .slide {
    display: block;
    height: auto;
    position: static;
}
.no-js .slideshow-slides .slide img {
    margin: auto;
    position: static;
}
.no-js .slideshow-nav,
.no-js .slideshow-indicator {
    display: none;
}

/* 共通の見出し */
main h1 {
    margin-bottom: 1rem;
	border-bottom: 1px dashed #2d6662;
	font-weight: normal;
	font-size: 1.6rem;
}

.container {
	margin: 0 auto;
	padding-left: 10px;
	padding-right: 10px;
	max-width: 1000px;
}
section .container {
    display: flex;
    flex-flow: column;
}
.sidebar {
    padding 20px 10px 20px 10px;
    background: #c0bfff;
}
@media screen and (min-width: 768px) {
	.container {
		padding-left: 10px;
		padding-right: 10px;
	}
    section .container {
        flex-flow: row;
    }
    main {
        flex: 1 1 auto;
    }
    .sidebar {
        flex: 0 0 340px;
    }
}

/* ========== ヘッダー ========== */
header {
	background: #fffffa;
}
.header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.header-logo {
	padding: 10px 10px 0 10px;
	width: 200px;
	height: 60px;
}
.menu-btn {
	padding: 0 0;
	border: 1px solid #435495;
	border-radius: 4px;
	width: 40px;
	height: 40px;
	background: url(../images/hamburger.png) no-repeat center center;
	background-size: contain;
}

@media screen and (min-width: 768px) {
    .header-logo {
	   padding: 10px 10px 0 10px;
	   width: 250px;
	   height:75px;
    }
    .menu-btn {
	   display: none;
	}
}

/* ========== ナビゲーション ========== */
nav {
	background: #5555fa;
    margin-bottom: 2px;
}
.navbar {
	display: none;
	list-style-type: none;
}
.navbar a {
	display: block;
	padding: 0.6rem 0;
	color: #fff;
	text-decoration: none;
}
.navbar a:hover {
    opacity: 0.5;
}

@media screen and (min-width: 768px) {
	.navbar {
		display: flex !important;
	}
	.navbar li {
		flex: 1 1 auto;
		text-align: center;
	}
	.navbar a.nav-current {
		background: #2d6662;
	}
}

/* ========== メインエリア基本レイアウト ========== */
main {
	padding-top: 10px;
	padding-bottom: 10px;
	background: #fffffa;
}

@media screen and (min-width: 768px) {
	main {
		padding-top: 10px;
		padding-bottom: 10px;
	}
}

/* ========== フッター ========== */
footer {
	background: #6DA895;
	font-size: 0.9rem;
	color: #fff;
}
.footer-container {
	padding-top: 20px;
	padding-bottom: 20px;
}
.footer-nav {
	list-style-type: none;
}
.footer-nav li {
	display: inline;
	padding: 0 1rem 0 0;
}
.footer-nav a {
	color: #000;
	text-decoration: none;
}
.footer-nav a:hover {
	opacity: 0.5;
}
.footer-copyright {
    color: #000;
}

/* ========== index トップページ ========== */
/* ホーム */
/* 01service サービス内容 */
/* 02price 料金のご案内 */
/* 03introduction 事務所紹介 */
/* 04question よくある質問 */
/* 05contact お問い合わせ */

/* キャッチコピー */
.home-maincopy {
	text-align: center;
	font-size: 2.0rem;
}
/* 削除予定 */
.home-maincopy strong {
	color: #393939;
}

@media screen and (min-width: 768px) {
	.home-maincopy {
		font-size: 2.4rem;
	}
}

.home-color1 {
	color: #f8b173;
}
.home-color2 {
	color: #74b9d9;
}
.home-color3 {
	color: #8bca85;
}
.home-color4 {
	color: #f8817e;
}

/* 見出し */
.home-h2 {
	padding-bottom: 5px;
	margin: 30px 0 10px 0;
	color: #393939;
	border-bottom: 1px dashed #2d6662;
	font-size: 1.3rem;
}

/* お知らせ */
.home-news {
	padding: 30px;
	border-radius: 10px;
    color: #393939;
	background: #bfffff;
}

/* ========== 01service サービス内容 ========== */
/* サービス概要 */
.home-service {
	display: flex;
	flex-flow: column;
}
.home-service li {
	flex: 1 1 auto;
	margin: 0 2px 4px 2px;
	border: 5px solid #fff;
	list-style-type: none;
	background: #fff;
}

@media screen and (min-width: 768px) {
	.home-service {
		flex-flow: row;
	}
}

.home-service a {
	color: #393939;
	text-decoration: none;
}
.home-service figure:hover {
	opacity: 0.5;
}
.home-service figcaption {
	padding: 15px 0;
	font-size: 2.0rem;
	font-weight: bold;
	text-align: center;
}


/*　サービス詳細　*/
.service-container {
	display: flex;
	flex-flow: column;
}

@media screen and (min-width: 768px) {
	.service-container {
		flex-flow: row;
	}
	.service-image {
		flex: 1 1 400px;    
		margin-right: 20px;
	}
	.service-text {
		flex: 1 1 580px;
	}
}

.service-image img {
	border-radius: 10px;
}
.service-h2 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.service-spec {
	list-style-type: none;
}
.service-label {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	margin-right: 0.1rem;
	border-radius: 3px;
	background: #c84040;
	font-size: 0.7rem;
	color: #fff;
}

/* サービス説明 */
service-h3 {
	margin: 30px 0 10px 0;
	color: #c84040;
	border-bottom: 1px dashed #c84040;
	font-size: 1.3rem;
}
.service-description {
	margin-top: 30px;
	padding: 30px;
	background: #fff url(../images/point.png) no-repeat;
	background-size: 50px 50px;
	border-radius: 10px;
}

/* ========== 02price 料金のご案内 ========== */
.price-container {
	display: flex;
	flex-flow: column;
}

@media screen and (min-width: 768px) {
	.price-container {
		flex-flow: row;
	}
	.price-image {
		flex: 1 1 400px;    
		margin-right: 20px;
	}
	.price-text {
		flex: 1 1 580px;
	}
}


/* ========== 03introduction 事務所紹介 ========== */
/* サービス概要 */
.intro-container {
	display: flex;
	flex-flow: column;
}

@media screen and (min-width: 768px) {
	.intro-container {
		flex-flow: row;
	}
	.intro-image {
		flex: 1 1 400px;    
		margin-right: 20px;
	}
	.intro-text {
		flex: 1 1 580px;
	}
}

.intro-image img {
	border-radius: 10px;
}
.intro-h2 {
	font-size: 1.6rem;
	margin-bottom: 1rem;
}
.intro-spec {
	list-style-type: none;
}
.intro-label {
	display: inline-block;
	padding: 0.1rem 0.5rem;
	margin-right: 0.1rem;
	border-radius: 3px;
	background: #c84040;
	font-size: 0.7rem;
	color: #fff;
}

/* ========== 04question and answer よくある質問 ========== */
.qa {
	margin-top: 1em;
	padding: 8px 0 0 60px;
}
.question {
	font-weight: bold;
	color: #6eba44;
	background: url(../images/q.png) no-repeat;
	background-size: 40px 40px;
}
.answer {
	margin-bottom: 2em;
	background: url(../images/a.png) no-repeat;
	background-size: 40px 40px;
}


/* ========== 05contact お申し込み ========== */
.contact {
	padding: 20px;
	background: #fff;
	border-radius: 10px;
}
.contact p {
	margin-bottom: 1em;
}

input[type="text"],
input[type="text"],
input[type="email"],
input[type="tell"],
input[type="address"],
input[type="text"],
textarea {
	width: 100%;
}
textarea {
	height: 200px;
	border: 1px solid #ccc;
}

@media screen and (min-width: 768px) {
	input[type="text"],
	input[type="email"] {
		width: 50%;
	}
}

/* お申込みボタン */
input[type="submit"] {
	width: 300px;
	padding: 8px 0;
	background-color: #709a00;
	border: none;
	border-radius: 10px;
	text-align: center;
	text-decoration: none;
	color: #fff;
	font-size: 1.2rem;
}
