﻿@charset "utf-8";

/* ---------------------------------------------------------------------------*/
/* 全体の設定 */
/* ---------------------------------------------------------------------------*/

html {
	font-size: 62.5%;
	background: #fff;
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
body, div, dl, dt, dd, ul, ol, li, pre, code, 
form, fieldset, legend, input, textarea, figure, 
p, blockquote, th, td {
	font-size: 1.4rem;
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 1.6rem;
	font-weight: normal;
	margin: 0;
	padding: 0;
}
body {
	color: #000;
	font-family: "Yu Gothic Medium", "游ゴシック Medium", YuGothic, 游ゴシック体, "ヒラギノ角ゴ Pro W3", メイリオ, sans-serif;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
}
img {
	-webkit-backface-visibility: hidden;
	max-width: 100%;
}
input, textarea, select, button {
	font-family: inherit;
	font-size: inherit;
	font-weight: normal;
}
input, select, button {
	vertical-align: middle;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section, summary {
	display: block;
}
address, caption, code, th {
	font-style: normal;
	font-weight: normal;
}
img, fieldset {
	border: 0;
}
ol, ul {
	list-style-type: none;
}
a {
	color: #000;
	text-decoration: none;
}
a:active, a:hover {
	color: orange;
	outline: 0;
	text-decoration: none;
}
a:hover img {
	opacity: 0.8;
	filter: alpha(opacity=80);
	transition: all 0.5s;
}
input, select, textarea, button {
	border-radius: 2px;
	border: 1px solid #999;
	margin: 0;
	padding: 5px;
}
input[type=text]:focus,input[type=email]:focus,input[type=tel]:focus, select:focus, textarea:focus {
	outline: none;
	background-color: #FFFFDF;
}
input[type=submit], input[type=button], button {
	cursor: pointer;
	background-color: #F4F4F4;
}
input[type=submit]:hover, input[type=button]:hover, button:hover {
	background-color: #fff;
}
input[type=submit]:active, input[type=button]:active, button:active {
	background-color: #FFFFDF;
}

/* ---------------------------------------------------------------------------*/
/* その他の全般設定 */
/* ---------------------------------------------------------------------------*/

/* 引用符 */
q {
	quotes: '"' '"' "'" "'";
}

.mn {
	font-family: '小塚明朝 Pro','Kozuka Mincho Pro',"游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}
.gs {
	font-family: '小塚ゴシック Pro L','Kozuka Gothic Pro Light','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,sans-serif;
}
.gs2 {
	font-family: 'Myriad Pro','メイリオ',Meiryo,'小塚ゴシック Pro L','Kozuka Gothic Pro Light','ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro',sans-serif;
}
.gm {
	font-family:"ヒラギノ丸ゴ Pro W4","ヒラギノ丸ゴ Pro","Hiragino Maru Gothic Pro","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO";
}
.content {
	overflow: hidden;
	width: 960px;
	margin: 0 auto;
}
p {
	line-height: 180%;
}
.req {
	color: red;
	font-size: 80%;
}
.rnote {
	color: red;
}
.tac {
	text-align: center;
}
.op8 {
	opacity: 0.8;
	filter: alpha(opacity=80);
	-webkit-opacity: 0.8;
	-moz-opacity:0.8;
	-ms-filter: "alpha(opacity=80)";
}
.op9 {
	opacity: 0.9;
	filter: alpha(opacity=80);
	-webkit-opacity: 0.8;
	-moz-opacity: 0.8;
	-ms-filter: "alpha(opacity=80)";
}
.none {
	display: none!important;
	transition: all 0.3s ease;
}
@keyframes head02 {
	0% {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	100% {
		margin-top: 9px;
		margin-bottom: 0px;
	}
}
.fixed2 {
	z-index: 9999;
}
.drop {
	width: 100%;
	text-align: center;
	margin: 75px 0 35px 0;
}
h2 {
	margin-bottom: 70px;
	text-align: center;
	line-height: 100%;
	font-size: 3.0rem;
	color: #3AAE36;
}
h2 span {
	line-height: 140%;
	display: block;
	font-size: 1.4rem;
	color: #000;
}
.more {
	margin-top: 20px;
	text-align: right;
}
.more a:hover {
	color: orange;
}
html, body {
	height:100%;
}

/* ---------------------------------------------------------------------------*/
/* ヘッダーの設定 */
/* ---------------------------------------------------------------------------*/

header {
	padding-bottom: 0%;
}
header #head01 {
	width: 100%;
	background-color: #fff;
	z-index: 9999;
	position: fixed;
	top: 0;
	height: 65px;
}
header #head01 .content {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 1fr 270px;
}
header #head02 {
	border-bottom: 2px solid #8FC31F;
	width: 100%;
	background-color: #fff;
	z-index: 9999;
}
header #head02.fixed2 {
	position: fixed;
	top: 60px;
	box-shadow: 0px 3px 3px rgba(0,0,0,0.3);
}
header #head02.fixed2 ul li a {
	margin-top: 9px;
	margin-bottom: 0px;
	animation: head02 1s;
}
header .address {
	margin-top: 5px;
}
header .address ul {
	text-align: right;
}
header .address ul li.tel {
	font-weight: bold;
	font-size: 3.1rem;
	font-family: "ヒラギノ明朝 ProN W6", "HiraMinProN-W6", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
}
header .address ul li.tel a {
	color: #00693E;
}
header nav ul {
	text-align: center;
}
header nav ul li {
	text-align: center;
	line-height: 1;
	font-size: 1.6rem;
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
}
header nav ul li a {
	display: block;
	padding: 5px 5px;
	margin: 16px;
	width: 100%;
	height: 100%;
}
header nav ul li:first-child a {
	margin-left: 0;
}
header nav ul li a:hover {
	color: #8FC31F;
}
header nav ul li a span {
	font-size: 0.9rem;
}

/* #sub_head */
#sub_head {
	margin-top: 65px;
	position: relative;
	width: 100%;
	height: 100%;
	padding: 17% 0 0;
	background-image: url("../images/main_agent.jpg") !important;
	background-size: cover;
	background-position: 0 47%;
}

/* ---------------------------------------------------------------------------*/
/* メイン画像の設定 */
/* ---------------------------------------------------------------------------*/

#main_image {
	width: 100%;
	height: 500px;
	margin-top: 65px;
	margin-bottom: 10px;
	background-image: url("../images/main_agent.jpg") !important;
	background-size: cover;
	background-position: 0 70%;
}

/* ---------------------------------------------------------------------------*/
/* トップページの設定 */
/* ---------------------------------------------------------------------------*/

#top {
	margin-bottom: 150px;
}
#top #s01 {
	text-align: center;
}
#top #s01 .content {
	padding-bottom: 50px;
}
#top #s02 * {
	color: #fff;
}
#top #s02 {
	padding: 70px 0;
	background-color: #8FC31F;
}
#top #s02 .grid {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: 1fr 470px;
}
#top #s02 .copy {
	position: relative;
	order: 2;
}
#top #s02 p {
	display: block;
	margin: 0 auto;
}
#top #s02 .more {
	margin: 20px auto 0 auto;;
}
#top #s02 .more a:hover {
	color: red;
}

/* ---------------------------------------------------------------------------*/
/* フッターの設定 */
/* ---------------------------------------------------------------------------*/

footer .content {
	display: grid;
	grid-template-columns: 1fr 170px;
}
footer #pagetop {
	order: 1;
	text-align: center;
	padding-top: 25px;
}
footer nav {
	order: 0;
	width: 80%;
	margin-left: 20px;
}
footer nav h3 {
	font-size: 2.0rem;
	font-weight: bold;
	color: #8FC31F;
	border-bottom: 2px solid #8FC31F;
	line-height: 120%;
	margin-bottom: 20px;
}
footer nav ul li {
	display: inline-block;
	padding: 0 10px;
	border-right: 1px solid #666;
	font-size: 1.2rem;
}
footer nav ul li:last-child {
	border: 0;
}
footer #copy {
	color: #fff;
	margin-top: 30px;
	padding: 5px 0 3px 0;
	font-size: 1.3rem;
	text-align: center;
	background-color: #8FC31F;
}

/* ---------------------------------------------------------------------------*/
/* 「制作代行について」ページの設定 */
/* ---------------------------------------------------------------------------*/

#about {
	margin-top: 150px;
	margin-bottom: 200px;
}
#about .content {
	width: 700px;
	margin: 0 auto;
}
#about h3 {
	text-align: center;
	font-size: 2.0rem;
	font-weight: bold;
	color: #fff;
	background: #00693E;
	padding: 10px;
	margin-bottom: 50px;
	border-radius: 100px;
}
#about #s01 {
	margin: 0 auto;
	text-align: left;
}
#about #s01 dt {
	font-size: 3.5rem;
	margin-bottom: 10px;
}
#about #s01 dt span {
	display: inline-block;
	width: 57px;
	margin-right: 15px;
	text-align: center;
	color: #fff;
	background: #5AAC68;
	border-radius: 100px;
	border: 1px solid #666;
}
#about #s01 dd {
	padding: 30px;
	margin-bottom: 50px;
	border: 1px solid #8FC31F;
	border-radius: 10px;
	box-shadow: 0 0 15px #8FC31F inset;
	line-height: 1.8;
}
#about #s01 .arrow {
	width: 200px;
}
#about #s01 .arrow::before {
	content: "";
	display: block;
	margin: 0 auto;
	width: 120px;
	height: 50px;
	background: #8FC31F;
}
#about #s01 .arrow::after {
	content: "";
	display: block;
	border-top: 100px solid #8FC31F;
	border-left: 100px solid transparent;
	border-right: 100px solid transparent;
	transform-origin: left top;
	transform: scaleY(.5);
}
#about #s01 p a {
	font-weight: bold;
}

/* ---------------------------------------------------------------------------*/
/* 「料金設定」ページの設定 */
/* ---------------------------------------------------------------------------*/

#price {
	margin-top: 150px;
	margin-bottom: 200px;
}
#price .content {
	width: 700px;
	margin: 0 auto;
}
#price h3 {
	text-align: center;
	font-size: 2.0rem;
	font-weight: bold;
	color: #FFF;
	background: #00693E;
	padding: 10px;
	margin-top: 40px;
	margin-bottom: 40px;
	border-radius: 100px;
}
#price h3:first-child {
	margin-top: 0;
}
/* #s01 */
#price #s01 dl {
	display: grid;
	grid-template-columns: 40% 1fr;
	grid-gap: 20px 25px;
	margin-bottom: 70px;
}
#price #s01 dt {
	border: 1px solid #AAA;
	text-align: center;
}
#price #s01 dt a {
	
	/* リンク範囲をブロック全体に広げる */
	display: block;
	width: 100%;
	height: 100%;
	
	/* 最前面にして別要素によるリンク範囲上書きを阻止 */
	z-index: 9999;
}
#price #s01 dt a:hover {
	border-left: 3px solid #8FC31F;
	border-right: 3px solid #8FC31F;
}
#price #s01 dd {
	align-self: center;
}
#price #s01 dd h4 {
	font-size: 2.0rem;
}
#price #s01 dd h4:before {
	content: "■";
}
#price #s01 dd span {
	display: block;
	margin-top: 10px;
}
#price #s01 dd span strong {
	font-size: 2.2rem;
	font-weight: bold;
	color: orange;
}
#price #s01 dd a {
	display: inline-block;
	background: #8FC31F;
	color: #FFF;
	padding: 12px;
	border-radius: 5px;
	text-align: center;
	margin-top: 10px;
	font-weight: bold;
}
#price #s01 dd a:hover {
	margin-left: 2px;
	opacity: 0.9;
}
/* #s02 */
#price #s02 {
	margin-bottom: 120px;
}
#price #s02 dl {
	display: grid;
	grid-template-columns: minmax(auto, 150px) minmax(150px, 450px);
	grid-template-rows: 120px;
}
#price #s02 dt {
	display: flex;
	justify-content: center;
	align-items: center;
	background: #8FC31F;
	border: 2px solid #00693E;
	color: #00462A;
	font-weight: bold;
	font-size: 1.8rem;
}
#price #s02 dd {
	display: flex;
	align-items: center;
	padding-left: 10px;
	border-top: 1px solid #00693E;
	border-right: 1px solid #00693E;
	border-bottom: 1px solid #00693E;
}
/* #s03 */
#price #s03 {
	text-align: center;
}
#price #s03 a {
	display: inline-block;
	padding: 20px 50px;
	background: #8FC31F;
	color: #FFF;
	font-weight: bold;
	font-size: 2.0rem;
}
#price #s03 a:hover {
	opacity: 0.9;
}

/* ---------------------------------------------------------------------------*/
/* 「アクセス」ページ */
/* ---------------------------------------------------------------------------*/

#access {
	margin-top: 150px;
	margin-bottom: 200px;
}
#access .content {
	width: 800px;
}
#access #s01 h3 {
	background-color: #8FC31F;
	color: #FFF;
	text-align: center;
	margin-top: 20px;
}
#access #s01 dl {
	display: grid;
	grid-template-columns: 15% 85%;
	width: 100%;
	margin: 30px 0;
	padding-top: 15px;
	font-size: 1.5rem;
}
#access #s01 dt {
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #000;
	padding-left: 20px;
}
#access #s01 dd {
	padding-left: 30px;
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #000;
}
#access #s01 dl .bn {
	border: none;
}
#access #s01 iframe.map {
	overflow: hidden;
	width: 100%;
	height: 580px;
	border: 0;
	margin-bottom: 60px;
}

/* ---------------------------------------------------------------------------*/
/* 「お問い合わせ」ページ */
/* ---------------------------------------------------------------------------*/

#contact {
	margin-top: 150px;
	margin-bottom: 200px;
	text-align: center;
}
#contact .line {
	margin: 45px 0 90px 0;
	padding: 35px 0;
	background-color: #f5f9e8;
}
#contact .line p {
	font-size: 1.1rem;
}
#contact .line a {
	display: block;
	max-width: 90%;
	margin: 0 auto;
}
#contact iframe {
	width: 600px;
	max-width: 90%;
	height: 850px;
	border: 0;
}

/* ---------------------------------------------------------------------------*/
/* 中サイズ幅（タブレット、スマートフォン横向きなど）＆小サイズ幅の設定 */
/* ---------------------------------------------------------------------------*/

@media (max-width: 960px) {
	
	header #head01 {
		position: static;
	}
	header #head01 .content {
		display: grid;
		grid-template-columns: 1fr;
		text-align: center;
	}
	header #head01 .address {
		display: none;
	}
	header #head02 .content {
		width: 100%;
	}
	#main_image {
		position: relative;
		width: 100%;
		height: 100%;
		padding: 17% 0 0;
		margin: 0 auto 10px;
		background-image: url("../images/main_agent_middle.jpg") !important;
	}
	#main_image, #sub_head {
		margin: 0 auto 10px;
		background-image: url("../images/main_agent_middle.jpg") !important;
	}
	.content {
		width: 90%;
	}
	footer nav {
		width: 100%;
		margin: 0 auto;
	}
	h2 {
		margin-bottom: 20px;
	}
	#top, #about, #price, #access, #contact {
		margin-top: 50px;
		margin-bottom: 100px;
	}
	#about .content,
	#price .content {
		width: 90%;
		max-width: 700px;
	}
	#access .content {
		width: 90%;
		max-width: 800px;
	}
	#top #s02 .grid {
		display: grid;
		grid-template-columns: 1fr;
	}
	#top #s02 .copy {
		order: 0;
		max-width: 470px;
		margin: 0 auto 40px;
	}
	#top #s02 p {
		width: 90%;
		margin-bottom: 50px;
	}
	#top #s02 .more a {
		display: block;
		width: 60%;
		background: #00693E;
		margin: 0 auto;
		padding: 25px;
		text-align: center;
		border: 1px solid #666;
		border-radius: 10px;
	}
	#top #s02 .more a:hover {
		background: #008A5F;
		color: #FFF;
	}
}

/* ---------------------------------------------------------------------------*/
/* 小サイズ幅（スマートフォン縦向きなど）の設定 */
/* ---------------------------------------------------------------------------*/

@media (max-width: 600px) {
	
	header #head01 {
		height: auto;
	}
	#main_image, #sub_head {
		background-image: url("../images/main_agent_small.jpg") !important;
	}
	header nav ul {
		display: grid;
		grid-gap: 1px;
		margin-bottom: 10px;
	}
	header nav ul li {
		background: #00693E;
		text-align: left;
		padding-left: 8px;
		margin: 0 15px;
		font-weight: normal;
	}
	header nav ul li:first-child {
		border-radius: 3px 3px 0 0;
	}
	header nav ul li:last-child {
		border-radius: 0 0 3px 3px;
	}
	header nav ul li a {
		margin: 10px !important;
		padding: 0;
		color: white;
	}
	header nav ul li a:before {
		content: "■ ";
	}
	footer .content {
		display: grid;
		grid-template-columns: 1fr;
		width: 100%;
	}
	footer #pagetop {
		order: 0;
		display: block;
		padding: 15px;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		text-align: center;
	}
	footer nav {
		order: 1;
		width: 260px;;
		margin: 20px auto 0;
	}
	footer nav h3 {
		text-align: center;
		border: 0;
		margin: 12px auto;
	}
	footer nav ul {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-gap: 10px 0;
	}
	footer nav ul li {
		border: 0;
	}
	footer nav ul li:before {
		/* 右向きの矢印を描画 */
		content: "";
		display: inline-block;
		left: 4px;
		box-sizing: border-box;
		width: 8px;
		height: 4px;
		border: 4px solid transparent;
		border-left: 4px solid #7a0;
		margin-right: 3px;
	}
	footer #pagetop a {
		display: block;
		color: #666;
	}
	footer #copy {
		font-size: 1.2rem;
	}
	#top, #about, #price, #access, #contact {
		margin-bottom: 30px;
	}
	#top #s02 .more a {
		width: 90%;
	}
	#about #s01 dt {
		font-size: 2.4rem;
	}
	#about #s01 dt span {
		width: 40px;
		margin-right: 9px;
	}
	#about #s01 .arrow {
		margin: 0 auto;
	}
	#price h3 {
		font-size: 1.2rem;
	}
	#price #s01 dl {
		display: grid;
		grid-template-columns: minmax(auto, 300px);
		margin-bottom: 40px;
	}
	#price #s01 dd {
		padding-left: 10px;
		margin-bottom: 20px;
	}
	#price #s01 dd span {
		margin-top: 5px;
	}
	#price #s02 {
		margin-bottom: 50px;
	}
	#price #s02 dl {
		display: grid;
		grid-template-columns: 1fr;
		grid-template-rows: 50px 70px;
	}
	#price #s02 dt {
		border: 2px solid #00693E;
	}
	#price #s02 dd {
		border-top: 0;
		border-left: 1px solid #00693E;
	}
	#price #s03 a {
		width: 90%;
		font-size: 1.5rem;
		padding: 25px 10px;
	}
	#access #s01 iframe.map {
		height: 300px;
	}
	#contact #s01>p {
		width: 90%;
		margin: 0 auto;
	}
}