﻿/*初期設定//////////////////////////*/
html, body, div, p, blockquote, pre, address, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset {
margin: 0;
padding: 0;
/*color:#0A0A0A;*/
font-size: 16px;
font-weight: normal;
/*font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;*/
line-height: 1.8;
}
article,aside,canvas,details,figcaption,figure,
header,footer,main,menu,nav,section,summary {
	display: block;
	/* text-align: justify; */
	/* text-justify: inter-ideograph; */
}
body{display: inline-table;width: 100%; }
h1{
	font-size:30px;
}
h2, h3, h4, h5, h6,
img {
	border: 0;
}
table {
	border-spacing: 0;
	border-collapse: collapse;
}
caption{
	text-align: left;
}
ul{
	list-style: none;
}
a {
	color:#0A0A0A;
	text-decoration: none;
	-webkit-transition: 0.3s ease;
	-moz-transition: 0.3s ease;
	-o-transition: 0.3s ease;
	transition: 0.3s ease;
}
a:hover {
	color: #db4d4d;
}
a:hover img{
	opacity: 0.8;
	filter: alpha(opacity=80);
	-ms-filter: "alpha(opacity=80)";
	-khtml-opacity: 0.8;
	-moz-opacity: 0.8;
}
.clear{
	clear: both;
}
.right{
	float: right;
}
.left{
	float: left;
}
/*クリアフィックス//////////////////////////*/
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.clearfix {
  min-height: 1px;
}
* html .clearfix {
  height: 1px;
  /*¥*//*/
  height: auto;
  overflow: hidden;
  /**/
}
/*  IE Mac */
* html .clearfix{
	height: 1%;
}
.clearfix{
	display:block;
}
/*フォント//////////////////////////*/
.text-center{
	text-align: center;
}
.text-right{
	text-align: right;
}
/*ページトップ//////////////////////////*/
.pagetop {
    width: 960px;
    margin: 0 auto;
}
.pagetop p {
	text-align: right;
}

/*ヘッダー//////////////////////////*/
header{
  width: 100%;
}

/*トップページ//////////////////////////*/
#contentWrap{
	width: 100%;
	background:url(../images/index/content_bg.jpg) repeat-x center top;
}
#content{
	width: 960px;
	margin: 0 auto;
}
#content .btn {
	margin: 40px 0 60px;
	text-align: center;
}
#content .btn img{
	width: auto;
}

/*フッター//////////////////////////*/
#footerWrap{
	background:url(../images/index/footer_bg.png) repeat-x bottom center;
}
#footer{
	width: 960px;
	margin: 0 auto;
	padding: 160px 0 20px;
	/*border-top: 1px solid #942b4a;*/
	clear:both;
	text-align: center;
}
#footer-sitemap{
	max-width: 960px;
	margin: 0 auto;
	clear:both;
	display: flex;
	justify-content: center;
}
#footer-sitemap ul {
	width: 100%;
	margin: 0 auto;
	list-style: none;
}
#footer-sitemap li {
	text-align: left;
	font-size: 12px;
	margin-bottom: 6px;
}
#footer-sitemap li.midashi {
	font-weight: bold;
	font-size: 16px;
}

#footer-box{
	width: 960px;
	padding: 10px 0;
	margin: 40px auto 0;
	border-bottom: 1px solid #fff;
	clear: both;
	display: -webkit-flex;
    display: flex;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}
#footer-box .f_logo{
	width: 40px;
    margin: auto 20px auto 0;
}
#footer-box .f_info p {
	text-align: left;
	margin: auto 0;
}
#footer-box .f_mail {
	margin-left: auto;
}
#footer-box .f_mail p {
	margin: auto 0;
}
#footer-box p{
	font-size: 14px;
	text-align: center;
}
address{
	font-size: 12px;
	font-style: normal;
	line-height: 18px;
	margin: 10px auto;
}

/* middle
--------------------------------------------------------------*/

ul#pageGuide {
margin-bottom: 20px;
text-align: left;
font-size: 11px;
line-height: 1.5;
}

ul#pageGuide li {
padding-left: 3px;
display: inline;
}

@media screen and (max-width: 1200px) {
	body {
		display: flex; 
		flex-direction: column;
	}
	img {
		height: auto;
		width: 100%;
	}
	#content {
		max-width: 960px;
		width: 100%;
	}
	#footer {
		max-width: 960px;
		width: 100%;
		padding: 20px 0 20px;
	}
	#footer-sitemap {
		display: grid;
		grid-template-columns: 1fr 1fr;	
	}
	#footer-sitemap ul li {
		padding: 0 20px;
	}
	#footer-box {
		max-width: 960px;
		width: 100%;
		display: flex;
		flex-direction: column;
	}
	#footer-box .f_logo, #footer-box .f_info, #footer-box .f_mail {
		padding: 0 20px;
	}
	address {
		padding: 0 20px;
	}
	#access iframe {
		max-width: 100%;
	}
	#company table {
		display: flex;
		width: 100%;
		padding: 15px;
	}
	#voice h1 {
		padding: 0 20px;
	}
}

@media screen and (max-width: 800px) {
	.main_book {
		display: flex;
		justify-content: center;
		margin-bottom: 50px;
	}
}

@media screen and (max-width: 600px) {
	.main_book {
		display: flex;
		justify-content: center;
		margin-bottom: 50px;
	}
	#content .btn img {
		width: 100%;
	}
	#footer-sitemap {
		display: flex;
		flex-direction: column;
		padding: 0 20px;
	}
	.main_book {
		flex-direction: column;
		max-width: fit-content;
		margin: auto;
	}
	#voice p.right_img {
		float: none;
	}
}




/***
ADD CSS 2023-02-24
***/
html, body {
	scroll-behavior: smooth;
}
article.wrap {
	margin-top: 135px;
}
header.header * {
	font-family: 'Noto Serif JP', serif;
}
header.header *, header.header *::before, header.header *::after {
	box-sizing: border-box;
    margin: 0;
	padding: 0;
}
header.header {
    padding: 30px 40px 30px 60px;
    position: fixed;
    z-index: 95;
    width: 100%;
	box-sizing: border-box;
    margin: 0;
	background: #fff;
}
header.header .flex {
	display: flex;
    justify-content: space-between;
}
header.header .left {
    margin: 0 30px 0 0;
    align-items: center;
    display: flex;
	float: none;
}
header.header .right {
    max-width: 1032px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
	float: none;
}

header.header .logo {
    width: 373px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}
header.header .logo:hover {
	cursor: pointer;
	opacity: 0.85;
}
header.header nav {
        position: absolute;
        width: 100%;
        height: fit-content;
        height: initial;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        margin: 0;
        display: flex;
        max-width: 600px;
        background: #f4f4f4;
        padding: 40px;
        left: 100%;
        top: 0;
        transform: translateX(0);
        transition: all 0.5s ease;
        height: 100vh;
        justify-content: flex-start;
        overflow-y: auto;
}
header.header .nav-container {
    width: 100%;
    position: relative;
}
header.header .nav-container picture {
	display: inline-block;
	position: relative;
	left: 100%;
	transform: translateX(calc(-50% - 30px));
	/* transform: translateX(-285px); */
}
#contact header.header .nav-container picture.close-btn {
	transform: translateX(-285px);
}
header.header .nav-container picture.menu-logo {
    position: absolute;
    transform: none;
    left: 0;
}
header.header nav .menu {
    border-bottom: 1px solid #ccc;
}
header.header nav .menu-title {
    color: #1a65b7;
    padding: 30px 0 15px;
    font-weight: bold;
    line-height: 28px;
    position: relative;
    font-size: 22px;
    cursor: pointer;
}
header.header nav .menu-title::after {
	content: "";
	position: absolute;
	top: 50%;
	left: auto;
	transform: translateY(0%);
	right: 0;
	background: url(../images/common/icn_chevron_down.png) no-repeat;
	width: 22px;
	height: 13px;
}
header.header nav ul {
    margin: 0 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}
header.header nav ul li {
	text-align: left;
    font-size: 14px;
    position: relative;
    left: 10px;
    line-height: 24px;
}

header.header nav ul li::before {
	content: "";
	height: 10px;
	width: 6px;
	background: url(../images/common/arw_right_blue.png) 0 0 / contain no-repeat;
	position: absolute;
	top: 20px;
	left: -10px;
	transform: translateY(-50%);
}
header.header nav ul li a {
	transition: all 0.3s ease;
	color: #000;
	font-size: 18px;
	line-height: 35px;
}
header.header nav ul li a:hover {
	color: #1a65b7;
}

header.header .nav-btn {
    width: 110px;
    height: 110px;
    background: url(../images/common/btn_header.png) no-repeat;
    background-size: contain;
    transition: all 0.3s ease-in-out;
}
header.header .nav-btn::before {
	content: none;
}
header.header .nav-btn:hover {
	background: url(../images/common/btn_header_hover.png) no-repeat;
	background-size: contain;
}

header.header .hamburger {
    cursor: pointer;
}
header.header .hamburger div {
    width: 44px;
    position: relative;
    height: 60px;
    transform: translateY(25px);
}
header.header .hamburger span {
    width: 44px;
    height: 2px;
    background: #000;
    transition: all .3s;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 14px;
}
header.header .hamburger span:first-of-type {
    top: -10px;
}
header.header .hamburger span:nth-of-type(3) {
    top: 10px;
}
header.header .hamburger span:nth-of-type(4) {
    top: 15px;
    left: -1px;
    background: none;
}
.nav-is-active header.header nav {
    transform: translateX(-100%);
}
.nav-is-active header.header nav .menu-title {
    color: #1a65b7;
    padding: 30px 0 15px;
    font-weight: bold;
    line-height: 28px;
    position: relative;
	text-align: left;
}
.nav-is-active header.header nav .menu-title::after {
	content: "";
	position: absolute;
	top: 50%;
	left: auto;
	transform: translateY(-50%) rotate(0deg);
	right: 0;
	background: url(../images/common/icn_chevron_down.png) no-repeat;
	width: 22px;
	height: 13px;
	transition: all 0.3s ease;
	margin: 10px 0 0 0;
}
.nav-is-active header.header nav .menu-title.active::after {
	transform: translateY(-50%) rotate(180deg);
}



header.header .btn-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8534f;
    height: 60px;
    width: 300px;
    border-radius: 10px;
    gap: 10px;
    transition: all 0.3s ease;
}
header.header .btn-header::before {
	content: url(../images/common/icn_contact.png);
	display: inline-block;
	margin-top: 5px;
	transition: all 0.3s ease;
}
header.header .btn-header:hover {
	background-color: #fff;
	border: 1px solid #f8534f;
}
header.header .btn-header:hover::before {
	content: url(../images/common/icn_contact_hover.png);
	display: inline-block;
	margin-top: 5px;
}
header.header .btn-header:hover span {
	/* letter-spacing: 1px; */
	color: #f8534f;
}
header.header .btn-header span {
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	transition: all 0.3s ease;
}
header.header .btn-header picture {
	display: block;
	width: 30px;
}

nav .nav-contact-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8534f;
    height: 60px;
    width: 300px;
    border-radius: 10px;
    gap: 10px;
    transition: all 0.3s ease;
    margin: 30px auto 0;
}
nav .nav-contact-btn span {
	color: #fff;
	font-weight: bold;
	font-size: 18px;
	transition: all 0.3s ease;
}
nav .nav-contact-btn picture {
	display: block;
	width: 30px;
}
nav .nav-contact-btn::before {
	content: url(../images/common/icn_contact.png);
	display: inline-block;
	margin-top: 5px;
	transition: all 0.3s ease;
}
nav .nav-contact-btn:hover {
	background-color: #fff;
	border: 1px solid #f8534f;
}
nav .nav-contact-btn:hover span {
	letter-spacing: 1px;
	color: #f8534f;
}
nav .nav-contact-btn:hover::before {
	content: url(../images/common/icn_contact_hover.png);
	display: inline-block;
	margin-top: 5px;
}

header.header.headroom--top {
    transition: all 0.3s ease;
}
header.header.headroom--not-top {
    background: #fff;
    padding: 5px 40px 5px 60px;
    transition: all 0.3s ease;
}


@media screen and (max-width: 1024px) {
	header.header {
        padding: 20px 10px;
	}
	header.header .nav-btn {
		width: 80px;
		height: 80px;
	}
	header.header .logo {
		width: 250px;
	}
	#about header.header nav ul li {
		text-indent: 0px;
		margin-left: 10px;
		padding-left: 10px;
	}
}
@media screen and (max-width: 768px) {
	#contact header.header .nav-container picture.close-btn {
		transform: translateX(-45vw);
	} 
	article.wrap {
		margin-top: calc(110 * 100vw / 750);
	}
	header.header {
		padding: 0;
        height: calc(110 * 100vw / 750);
        width: 100%;
        z-index: 98;
        position: fixed;
	}
	header.header .left {
		margin: 0 10px 0;
	}
	header.header .right {
		max-width: none;
        gap: 10px;
        margin-right: 10px;
        justify-content: flex-start;
	}
	.nav-is-active header.header .right {
		opacity: 1;
		-webkit-overflow-scrolling: touch;
		padding: 0 0 300px;
		left: 0;
		overflow-y: scroll;
		transition: all .8s cubic-bezier(1, 0, 0, 1);
	}
	header.header .logo {
		width: 35vw;
		padding: 1vw 0 0 0;
	}
	header.header .nav-btn {
		border: none;
		margin: 20px;
	}
	header.header .hamburger {
        margin-top: -12px;
	}
	header.header .hamburger div {
        height: 30px;
        width: 33px;
	}
	header.header .hamburger span {
        height: 2px;
        width: 33px;
        font-size: 11px;
	}
	header.header .btn-header {
		width: 160px;
		height: 40px;
		border-radius: 5px;
		position: relative;
		top: 5px;
		margin-left: auto;
	}
	header.header .btn-header span {
		font-size: 12px;
	}
	header.header .btn-header picture {
		width: 15px;
	}
	header.header .btn-header::before {
		content: "";
		background: url(../images/common/icn_contact.png) no-repeat;
		background-size: contain;
		width: 15px;
		height: 10px;
		margin: 0 0 0 5px;
	}
	nav .nav-contact-btn {
        max-width: 300px;
        width: 100%;
	}
	header.header.headroom--top {
		padding: 0;
	}
	header.header.headroom--not-top {
		padding: 0;
	}
	header.header .btn-header:hover::before {
		content: "";
		background: url(../images/common/icn_contact_hover.png);
		background-size: contain;
		width: 15px;
		height: 10px;
		margin: 0 0 0 5px;
	}
}
@media screen and (max-width: 599px) {
	.nav-is-active header.header .right {
		padding-bottom: 150px;
	}
	header.header .hamburger div {
		transform: translateY(20px);
	}
	header.header .nav-container picture {
		/* transform: translateX(-45vw); */
	}
}
@media screen and (max-width:370px) {
	header.header {
		height: 65px;
	}
	header.header .nav-container picture.menu-logo {
        max-width: 170px;
	}
	header.header .left {
		margin: 0 5px 0 0;
		padding-top: 15px;
	}
	header.header .right {
		gap: 5px;
	}
	header.header nav {
		padding: 10px;
	}
}









/***
** ADD FOOTER 2023/02/25
****/
footer *, footer *::before, footer *::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
footer * {
	font-family: 'Noto Serif JP', serif;
}
footer#footer {
    background: #fff;
    padding: 30px 0 20px;
	width: auto;
}
footer p {
	text-align: left;
}
footer .left a {
    display: inline-block;
    transition: all 0.3s ease;
}
footer .left a:hover {
	opacity: 0.85;
}
footer .flex {
	display: flex;
}
footer .left {
    display: flex;
    align-items: center;
    gap: 25px;
}
footer .left p:last-of-type {
	font-size: 14px;
}
footer .right {
    display: flex;
    gap: 15px;
}
footer .btn-footer {
    height: 60px;
    width: 300px;
    background-color: #f8534f;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    margin: 10px 0 0 0;
    transition: all 0.3s ease;
}
footer .btn-footer span {
	color: #fff;
	font-size: 18px;
	font-weight: bold;
	transition: all 0.3s ease;
}
footer .btn-footer::before {
	content: url(../images/common/icn_contact.png);
	display: inline-block;
	margin-top: 10px;
	transition: all 0.3s ease;
}
footer .btn-footer:hover {
	background-color: #fff;
	border: 1px solid #f8534f;
}
footer .btn-footer:hover span {
	letter-spacing: 1px;
	color: #f8534f;
}
footer .btn-footer:hover::before {
	content: url(../images/common/icn_contact_hover.png);
	display: inline-block;
	margin-top: 10px;
}
footer .btn-footer--orange {
	background-color: #ffa300;
}
footer .btn-footer--orange:hover {
	background-color: #fff;
	border: 1px solid #ffa300;
}
footer .btn-footer--orange:hover span {
	letter-spacing: 1px;
	color: #ffa300;
}
footer .btn-footer--orange:hover::before {
	content: url(../images/common/icn_form_hover.png);
	display: inline-block;
	margin-top: 10px;
}
footer .btn-footer--orange::before {
	content: url(../images/common/icn_form.png);
	display: inline-block;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.copyright {
    margin: 45px 0 0;
    text-align: center;
    color: #999;
    font-size: 12px;
}

@media screen and (max-width: 1024px) {
	footer .flex {
        flex-direction: column;
	}
	footer .btn-footer {
		margin: 30px auto 0;
        max-width: 300px;
        width: 100%;
	}
}
@media screen and (max-width: 768px) {
	footer {
        padding: 30px 20px 80px 20px;
	}
}
@media screen and (max-width: 599px) {
	footer .right {
		flex-direction: column;
        align-items: center;
        gap: 0;
	}
}
@media screen and (max-width:370px) {

}









/****
***
TOP FOOTER SECTION
***
***/
.top-footer * {
	font-family: 'Noto Serif JP', serif;
}
.top-footer {
    padding: 200px 0 0 0;
    background: url(../images/common/bg_05.webp) repeat-x;
    background-position-x: center;
    background-position-y: 60px;
}
.top-footer-wrapper {
    padding: 50px 0;
    background: #f4f4f4;
}
.top-footer .menu-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3vw;
	text-align: left;
}
.top-footer .menu-title {
    color: #1a65b7;
    font-weight: bold;
    line-height: 28px;
    border-bottom: 1px solid #ccc;
    padding: 0 0 15px 0;
}
.top-footer ul {
    margin: 15px 0 0 0;
}
.top-footer ul li {
    font-size: 14px;
    position: relative;
    left: 10px;
    line-height: 25px;
}
#about .top-footer ul li {
	text-indent: 0;
}
.top-footer ul li a {
	transition: all 0.3s ease;
}
.top-footer ul li a:hover {
	color: #1a65b7;
}
.top-footer ul li::before {
	content: "";
	height: 10px;
	width: 6px;
	background: url(../images/common/arw_right_blue.png) 0 0 / contain no-repeat;
	position: absolute;
	top: calc(50% + 1px);
	left: -10px;
	transform: translateY(-50%);
}

@media screen and (max-width: 1024px) {
	.top-footer .menu-wrapper {
        grid-template-columns: 1fr 1fr;
	}
}
@media screen and (max-width: 768px) {
	.top-footer .menu-wrapper {
        grid-template-columns: 1fr;
	}
	.top-footer .menu-title {
        padding: 0 20px;
	}
	.top-footer ul li {
        padding: 10px 20px;
	}
	.top-footer ul li::before {
		left: 10px;
	}
}
@media screen and (max-width: 599px) {

}
@media screen and (max-width:370px) {

}







/**
*
* TO TOP BUTTON
*
*/
button.btnToTop {
    z-index: 98;
    height: 60px;
    width: 60px;
    cursor: pointer;
    background: url(../images/common/btn_toTop.png) no-repeat;
    background-size: contain;
    transition: all .5s ease-in-out;
    position: fixed;
    bottom: 20px;
    left: auto;
    right: 40px;
    transform: translateX(0%);
	border: none;
}
button.btnToTop:hover {
    background: url(../images/common/btn_toTop_hover.png) no-repeat;
    background-size: contain;
    transform: translateX(0)rotate(360deg);
}
.btnToTop.inactive {
    transform: translateX(175%) rotate(360deg);
}
@media screen and (max-width: 768px) {
	button.btnToTop {
		right: 20px;
	}
}


.top-container, .container {
    padding: 0 20px;
}
@media screen and (min-width: 1025px) {
	.top-container, .container {
		max-width: 1300px;
		width: 100%;
		margin: auto;
	}
}
.justify-between {
    justify-content: space-between;
}


aside.w705 {
	width: 100%;
    max-width: 800px;
}
@media screen and (max-width: 768px) {
	div aside.w705 {
		width: 100%;
		max-width: 800px;
	}
	div form#mailformpro dl {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	div form#mailformpro dl dt {
		width: 100%;
	}
	div form#mailformpro dl dd {
		width: 100%;
	}
}