@charset "utf-8";

/*-----------------------
    common.css
------------------------*/

/*----- font -----*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap');

/*----- reset -----*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0; padding: 0; border: 0; outline: 0; font-size: 100%;
	vertical-align: baseline; background: transparent;
}
body {
	line-height: 1; color: #555;
	font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","ＭＳ Ｐゴシック","MS P Gothic","Osaka","Hiragino Kaku Gothic Pro", Verdana,Arial, Helvetica, sans-serif; 
	-webkit-text-size-adjust: none;
}
ol, ul { list-style: none; }

:focus { outline: 0; }
img { max-width: 100%; }

/* tables still need 'cellspacing="0"' in the markup */
table { border-collapse: collapse; border-spacing: 0; }

/*----- common -----*/

:root {
  --text: #1c1c1c;
  --grey: #f0f0f0;
  --white: #fff;
  --green_light: #6eb92b;
  --green: #009943;
}

body {
    font-family: "Zen Kaku Gothic New", sans-serif;
	font-weight: 500;
    color: var(--text);
    overflow-x: hidden;
	letter-spacing: 1px;
}

/* for CMS */
body:has(#wrapper){display:block;}
body:has(#wrapper)::after {position:relative;z-index:auto;pointer-events:all;opacity:1;background:none;}

a {
	transition: .5s;
}
a:hover {
	text-decoration: none;
}

.ojf img {
    width: 100%;
    object-fit: cover;
}

a .ihb {
    overflow: hidden;
}
a .ihb img {
    transition: .5s;
}
a:hover .ihb img {
    transform: scale(1.05);
}


/* PC時Tel発信無効化 */
@media screen and (min-width: 769px){
    
    a[href^="tel"] {
        pointer-events: none;
    }
    
}

/*--- fadein ---*/

/* for CMS */
#wrapper .fadein{opacity:1;}

.fadein {
    opacity: 0;
    transform: translate(0, 60px);
    transition: all 1s;
}
.fadein.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
.fadein_first {
    animation-name: fadeIn1s;
    animation-delay: 1s;
    animation-duration: 1.5s;
    animation-fill-mode: forwards;
    transform: translateY(60px);
    opacity: 0;
}
@keyframes fadeIn1s {
    0% {
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }    
}

/*----- wrap -----*/

.wrap {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 30px;
}
.wrap_wide {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 30px;
}
.wrap_narrow {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 30px;
}

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

    .wrap,
    .wrap_wide,
	.wrap_narrow {
        padding: 0 6vw;
    }
    
}

/*----- header -----*/

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	z-index: 9999;
	transition: .5s;
}
.header .h_top .catch {
	margin: 20px 0 15px 90px;
	font-size: 17px;
	transition: .5s;
}
.header .h_top .catch br {
	display: none;
}
.header .h_top .logo,.header .h_top .logo02 {
	margin-left: 230px;
	width: 154px;
	transition: .5s;
}
.header .h_top .logo02 {
      align-content: center;
}
.header .h_top .logo02{
  margin-left: 10px !important;
}
.header .menu {
	margin: 50px 70px 0 0;
}
.header .menu .ul {
	display: flex;
	align-items: center;
}
.header .menu .ul .li a {
	display: block;
	padding: 10px 35px;
	color: var(--white);
	font-size: 18px;
	text-decoration: none;
	transition: .5s;
}
.header .menu .ul .li a:hover {
	opacity: .75;
}
.header .menu .ul .li.contact a {
	margin-left: 35px;
	padding: 15px 60px;
	background: var(--green_light);
	transition: .5s;
}
.header .menu .ul .li.contact a:hover {
	opacity: 1;
	background: #8ed94b;
}

.header.on {
	background: var(--green);
	height: 150px;
}
.header.on .h_top .catch {
	display: none;
}
.header.on .h_top .logo,.header.on .h_top .logo02 {
	background: var(--white);
	margin: 0 0 0 230px;
	padding: 10px;
	width: 135px;
}
.header.on .h_top .logo02 {
  align-content: center;
      padding: .5vw;
    width: 12vw;
}
.header:has(+.top) .h_top .catch {
	margin: 20px 0 15px 40px;
}
.header:has(+.top) .h_top .logo {
	margin-left: 110px;
}
.header:has(+.top) .h_top .logo02 {
	margin-left: 10px !important;
}
.logofrex{
  display:flex;
}
@media screen and (min-width: 768px){
    .sp_menu {
        display: block!important;
    }
    .spbtn {
        display: none!important;
    }
}
@media screen and (min-width: 1261px) and (max-width: 1700px){
	
	.header .menu {
		margin: 50px 30px 0 0;
	}
	.header .menu .ul .li a {
		padding: 10px 1vw;
		font-size: 17px;
	}
	.header .menu .ul .li.contact a {
		margin-left: 1vw;
		padding: 15px 2vw;
	}
	
	.header.on .h_top .logo {
		margin: 0 0 0 6vw;
		padding: 10px;
		width: 135px;
	}
	
	.header:has(+.top) .h_top .catch {
		margin: 20px 0 15px 20px;
	}
	.header:has(+.top) .h_top .logo {
		margin-left: 90px;
	}
	
}
@media screen and (min-width: 768px) and (max-width: 1260px){
	
	.header .h_top .catch {
		margin: 1.5vw 0 1.5vw 4vw;
		font-size: 1.2vw;
	}
	.header .h_top .logo {
		margin-left: 14.5vw;
		width: 11vw;
	}
  .header .h_top .logo02 {
		width: 11vw;
	}
	.header .menu {
		margin: 3vw 3vw 0 0;
	}
	.header .menu .ul .li a {
		padding: 1vw 1.2vw;
		font-size: 1.6vw;
	}
	.header .menu .ul .li.contact a {
		margin-left: 1vw;
		padding: 1vw 1.5vw;
	}
	
	.header.on {
		height: 10vw;
	}
	.header.on .h_top .logo {
		margin: 0 0 0 4vw;
		padding: .5vw;
		width: 9vw;
	}
	
	.header:has(+.top) .h_top .catch {
		margin: 1.5vw 0 1.5vw 1vw;
	}
	.header:has(+.top) .h_top .logo {
		margin-left: 7vw;
	}	
	
}
@media screen and (max-width: 767px){

	.header,
	.header.on {
		background: var(--white);
		height: 60px;
	}
	.header .h_top .catch,
	.header.on .h_top .catch {
		position: absolute;
		top: 0;
		left: calc(60px + 6vw);
		width: calc(100% - 120px - 12vw);
		height: 60px;
		margin: 0;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: min(2.75vw,14px);
		line-height: 1.5;
		text-align: center;
	}
	.header .h_top .catch br {
		display: inline-block;
	}
	.header.on .h_top .catch {
		display: flex;
	}
	.header .h_top .logo,
	.header.on .h_top .logo {
		margin: 3px 0 0 6vw;
		padding: 0;
		width: 54px;
	}
  .header .h_top .logo02,
	.header.on .h_top .logo02 {
		margin: 3px 0 0 6vw;
		padding: 0;
		width: 54px;
  align-content: center;
}
	.header .menu {
		position: absolute;
		top: 60px;
		left: 0;
		display: block;
		width: 100%;
		background: var(--white);
		margin: 0;
		padding: 5px 6vw 30px;
	}
	.header .menu .ul {
		display: block;
	}
	.header .menu .ul .li a {
		display: block;
		padding: 15px;
		color: var(--text);
		font-size: 18px;
		text-align: center;
	}
	.header .menu .ul .li.contact a {
		margin: 15px 0 0;
		padding: 15px;
		color: var(--white);
	}
	
	.header:has(+.top) .h_top .catch {
		margin: 0;
	}
	.header:has(+.top) .h_top .logo {
		margin-left: 6vw;
	}	

}

/*----- nav -----*/

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

    .spbtn {
        position: absolute;
        top: 10px;
        right: 6vw;
        display: block;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }
    .spbtn > div {
        position: absolute;
        top: 50%;
        left: 0;
        display: block;
        width: 100%;
        height: 2px;
        background: #000;
        transition: .2s;
    }
    .spbtn > div:nth-of-type(1) {
        top: 8px;
    }
    .spbtn > div:nth-of-type(3) {
        top: 32px;
    }
    .spbtn.active > div {
        top: 50%;
        transform: rotate(37.5deg);
    }
    .spbtn.active > div:nth-of-type(2) {
        display: none;
    }
    .spbtn.active > div:nth-of-type(3) {
        top: 50%;
        transform: rotate(-37.5deg);
    }
    
}

/*----- footer -----*/

.f_contact {
	padding: 140px 0 90px;
}
.f_contact .wrap_narrow {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}
.f_contact .wrap_narrow .conts {
	width: 50%;
}
.f_contact .wrap_narrow .btns {
	width: 35%;
}
.f_contact .f_btn a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0 0 15px;
	padding: 20px 0;
	background: var(--green_light);
	color: var(--white);
	gap: 0 10px;
	text-decoration: none;
}
.f_contact .f_btn a:hover {
	opacity: .75;
}
.f_contact .f_btn a .icon {
	width: 24px;
}
.f_contact .f_btn a .text {
	font-size: 18px;
}
.f_contact .f_tel {
	border: 1px solid var(--text);
	padding: 15px;
	text-align: center;
}
.f_contact .f_tel img {
	width: 80%;
	margin-bottom: 10px;
}
.f_contact .f_tel .text {
	font-size: 15px;
}

/* footer */

.footer {
	padding-bottom: 30px;
	background: url("/system_panel/uploads/images/logo_w.png") no-repeat var(--grey);
	background-position: top -80px left calc(50% + 270px);
	background-size: auto 520px;
}
.footer .inner {
	width: 400px;/*220*/
	margin-bottom: 20px;
}
.footer .inner .logofrex .logo, .footer .inner .logofrex .logo02 {
    width: 100%;
}
.footer .inner .logofrex .logo02 {
    align-content: center;
}
.footer .sns {
	display: flex;
	justify-content: center;
	gap: 0 20px;
	margin: 20px 0;
}
.footer .sns > div {
	width: 39px;
}
.footer .address {
	margin: 20px 0;
}
.footer .copyright {
	text-align: right;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
	
	.f_contact {
		padding: 9vw 0 7.5vw;
	}
	.f_contact .wrap_narrow .conts {
		width: 60%;
	}
	.f_contact .f_btn a {
		margin: 0 0 1.5vw;
		padding: 2vw 0;
		gap: 0 1vw;
	}
	.f_contact .f_btn a .icon {
		width: 2.2vw;
	}
	.f_contact .f_btn a .text {
		font-size: 1.8vw;
	}
	.f_contact .f_tel {
		padding: 1.5vw;
	}
	.f_contact .f_tel img {
		margin-bottom: 1vw;
	}
	.f_contact .f_tel .text {
		font-size: 1.4vw;
	}
	
	/* footer */

	.footer {
		padding-bottom: 3vw;
		background-position: top -5vw left calc(50% + 20vw);
		background-size: auto 45vw;
	}
	.footer .inner {
		width: 30vw;
		margin-bottom: 2vw;
	}
	.footer .sns {
		gap: 0 2vw;
		margin: 2vw 0;
	}
	.footer .sns > div {
		width: 3.5vw;
	}
	.footer .address {
		margin: 2vw 0;
	}
	
}
@media screen and (max-width: 767px){
	
	.f_contact {
		padding: 50px 0;
	}
	.f_contact .wrap_narrow {
		display: block;
	}
	.f_contact .wrap_narrow .conts {
		width: 100%;
	}
	.f_contact .wrap_narrow .btns {
		width: min(400px,100%);
		margin: 30px auto 0;
	}
	.f_contact .f_tel .text {
		font-size: min(3.5vw,15px);
	}
	
	/* footer */

	.footer {
		padding-bottom: 50px;
		background-position: top 40px center;
		background-size: auto 300px;
	}
	.footer .inner {
		width: 180px;
		margin: 0 auto 20px;
	}
	.footer .sns > div {
		width: 39px;
	}
	.footer .address {
		margin: 20px 0;
		text-align: center;
	}
	.footer .copyright {
		text-align: center;
	}
	
}


/*----- main -----*/

.m_grey {
	background: url("/system_panel/uploads/images/bg_w_tri.png") right bottom no-repeat var(--grey);
	background-size: 600px auto;
}

.page_title.service {
	background-image: url("/system_panel/uploads/images/title_service.jpg");
}
.page_title.blog {
	background-image: url("/system_panel/uploads/images/title_blog.jpg");
}
.page_title.contact {
	background-image: url("/system_panel/uploads/images/title_contact.jpg");
}
.page_title {
	position: relative;
	display: block;
	height: 434px;
	background-repeat: no-repeat;
	background-position: top left;
	background-size: auto 100%;
}
.page_title .ttl {
	position: absolute;
	left: 392px;
	bottom: 70px;
	color: var(--white);
	font-size: 70px;
	font-weight: 900;
	font-style: italic;
}

.p {
	font-size: 17px;
}
.pm {
	font-size: 17px;
	line-height: 2.35;
}

.m_center {
	text-align: center;
}
.m_right {
	text-align: right;
}

.m_title {
	margin-bottom: 40px;
}
.m_title .ttl {
	margin-bottom: 15px;
	font-size: 50px;
	font-weight: 900;
}
.m_title .sub {
	color: var(--green);
	font-size: 21px;
	font-weight: 700;
}

.m_btn {
	margin-top: 40px;
}
.m_btn a {
	position: relative;
	display: inline-block;
	padding: 20px 80px;
	background: url("/system_panel/uploads/images/btn_arrow.png") no-repeat var(--green);
	background-position: center right 5px;
	background-size: auto 100%;
	color: var(--white);
	font-size: 18px;
	transition: .5s;
	text-decoration: none;
}
.m_btn a:hover {
	opacity: .75;
	background-position: center right;
}
.m_btn.m_back a {
	background: url("/system_panel/uploads/images/btn_arrow_bk.png") no-repeat var(--green);
	background-position: center left 5px;
	background-size: auto 100%;
}
.m_btn.m_back a:hover {
	background-position: center left;
}

.mb {
	margin-bottom: 40px;
}
.m_sp {
	display: none;
}

@media screen and (min-width: 1261px) and (max-width: 1700px){

	.m_grey {
		background-size: 33.33vw auto;
	}
	
}
@media screen and (min-width: 768px) and (max-width: 1260px){
	
	.m_grey {
		background-size: 25vw auto;
	}

	.page_title {
		height: 28vw;
	}
	.page_title .ttl {
		left: 25vw;
		bottom: 5vw;
		font-size: 5vw;
	}
	
	.p {
		font-size: 1.6vw;
	}
	.pm {
		font-size: 1.6vw;
		line-height: 2.2;
	}
	.pms {
		font-size: 1.45vw;
	}
	
	.m_title {
		margin-bottom: 3vw;
	}
	.m_title .ttl {
		margin-bottom: 1.4vw;
		font-size: 4vw;
	}
	.m_title .sub {
		font-size: 2vw;
	}
	
	.m_btn {
		margin-top: 3vw;
	}
	.m_btn a {
		padding: 1.8vw 6vw;
		font-size: 1.66vw;
	}
	
	.mb {
		margin-bottom: 3vw;
	}
	
}
@media screen and (max-width: 767px){
	
	.m_grey {
		background-size: 33.33vw auto;
	}

	.page_title {
		height: 200px;
		background-position: center right;
		background-size: auto 240px;
	}
	.page_title .ttl {
		left: 6vw;
		bottom: 20px;
		font-size: 36px;
	}

	.p {
		font-size: 16px;
	}
	.pm {
		font-size: 16px;
		line-height: 2;
	}
	
	.sp_left {
		text-align: left;
	}

	.m_title {
		text-align: center;
		margin-bottom: 30px;
	}
	.m_title .ttl {
		margin-bottom: 10px;
		font-size: min(10vw,30px);
	}
	.m_title .sub {
		font-size: 18px;
	}
	
	.m_btn {
		margin-top: 30px;
		text-align: center;
	}
	.m_btn a {
		padding: 20px 50px;
		font-size: 17px;
	}

	.mb {
		margin-bottom: 30px;
	}
	.m_pc {
		display: none;
	}
	.m_sp {
		display: block;
	}
	
}

@media screen and ( max-width:414px) {
  .header .h_top .catch, .header.on .h_top .catch {
        left: calc(60px + 13vw);
}
      .header:has(+.top) .h_top .logo {
        margin-left: 2vw;
    }
  .header .h_top .logo02 {

}
}