@charset "utf-8";

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

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

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

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@200..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: #2e3033;
  --text_hover: #8e9093;
  --green: #589d11;
  --beige: #f4eee4;
}

body {
    font-family: 'Zen Maru Gothic', arial, sans-serif;
    font-weight: 500;
    color: var(--text);
    overflow-x: hidden;
    display: none;
}
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    pointer-events: none;    
    opacity: 0;
    -webkit-transition: opacity .8s ease;
    transition: opacity .8s ease;
}
body.fadeout::after {
    opacity: 1;
}

/* 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;
}

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

.serif {
	font-family: "Noto Serif JP", serif;
}

/* 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: 1700px;
    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;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header .logo {
    margin-left: 6vw;
    width: 288px;
}
.header .menu .ul {
    margin-right: 6vw;
    display: flex;
    gap: 0 60px;
}
.header .menu .ul .li a {
    color: var(--text);
    text-decoration: none;
}
.header .menu .ul .li a:hover {
    color: var(--text_hover)
}


@media screen and (min-width: 768px){
    .sp_menu {
        display: block!important;
    }
    .spbtn {
        display: none!important;
    }
}
@media screen and (min-width: 768px) and (max-width: 1700px){
    
    .header .logo {
        margin-left: 30px;
    }
    .header .menu .ul {
        margin-right: 30px;
        gap: 0 40px;
    }       
    
}
@media screen and (min-width: 768px) and (max-width: 1260px){

    .header {
        height: 8vw;
    }
    .header .logo {
        margin-left: 2vw;
        width: 24vw;
    }
    .header .menu .ul {
        margin-right: 2vw;
        gap: 0 2vw;
    }    

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

    .header {
        height: 60px;
        display: block;
    }
    .header .logo {
        margin-top: 15px;
        width: auto;
    }
    .header .logo img {
        height: 30px;
    }
    .header .menu {
        background: var(--white);
        padding: 30px 0 5px;
    }
    .header .menu .ul {
        margin: 0;
        display: block;
    }    
    .header .menu .ul .li {
        margin: 0 0 30px;
        text-align: center;
    }

}

/*----- 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: var(--text);
        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: 80px 0;
}
.f_contact .text {
    font-size: 24px;
    letter-spacing: 4px;
    text-align: center;
}
.f_contact .btns {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    gap: 0 50px;
}
.f_contact .btns .m_btn a {
    width: 340px;
    height: 70px;
}
.f_contact .btns .m_btn a > div {
    text-align: center;
}
.f_contact .btns .m_btn:nth-of-type(1) a img {
    width: 191px;
    margin-bottom: 8px;
}
.f_contact .btns .m_btn:nth-of-type(2) a img {
    width: 254px;
}

.footer {
	padding: 60px 0 30px;
}
.footer a {
	color: var(--text);
	text-decoration: none;
}
.footer .logo {
	width: 288px;
	margin-bottom: 25px;
}
.footer .f_sns {
	margin-top: 30px;
}
.footer .f_sns .li {
	margin-top: 15PX;
}
.footer .f_sns .li a {
	display: flex;
	align-items: center;
}
.footer .f_sns .li a .icon {
	width: 40px;
	margin-right: 10px;
}
.footer .copyright {
	text-align: right;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
	
	.f_contact {
		padding: 6.66vw 0;
	}
    .f_contact .text {
        font-size: 2.2vw;
        letter-spacing: .3vw;
    }
    .f_contact .btns {
        margin-top: 5vw;
        gap: 0 4vw;
    }
    .f_contact .btns .m_btn a {
        width: 33vw;
        height: 7vw;
    }
    .f_contact .btns .m_btn:nth-of-type(1) a img {
        width: 17vw;
        margin-bottom: .8vw;
    }
    .f_contact .btns .m_btn:nth-of-type(2) a img {
        width: 24vw;
    }

	.footer {
		padding: 5vw 0 3vw;
	}
	.footer .logo {
		width: 25vw;
		margin-bottom: 2vw;
	}
	.footer .f_sns {
		margin-top: 3vw;
	}
	.footer .f_sns .li {
		margin-top: 1.5vw;
	}
	.footer .f_sns .li a .icon {
		width: 3vw;
		margin-right: 1vw;
	}

}
@media screen and (max-width: 767px){
	
	.f_contact {
		padding: 40px 0;
	}
    .f_contact .text {
        font-size: 18px;
        letter-spacing: 2px;
    }
    .f_contact .btns {
        display: block;
        margin-top: 30px;
    }
    .f_contact .btns .m_btn a {
        width: min(300px,100%);
        height: 60px;
        margin-bottom: 20px;
    }
    .f_contact .btns .m_btn:nth-of-type(1) a img {
        width: 160px;
        margin-bottom: 5px;
    }
    .f_contact .btns .m_btn:nth-of-type(2) a img {
        width: 220px;
    }

	.footer {
		padding: 50px 0;
	}
	.footer .logo {
		width: 240px;
		margin: 20px auto;
	}
	.footer .f_sns {
		margin-top: 30px;
	}
	.footer .f_sns .li {
		margin-top: 15PX;
	}
	.footer .f_sns .li a .icon {
		width: 40px;
		margin-right: 10px;
	}
	
}


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

.main {
    position: relative;
    margin-top: 100px;
}
.main.top {
    margin-top: 0;
}

.m_contact {
    position: absolute;
    top: 30px;
    right: 6vw;
}
.m_contact.top_c {
    top: 200px;
}
.m_contact a {
    width: 170px;
    height: 170px;
    background: #f4ef9d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-decoration: none;
}
.m_contact a:hover {
    background: #f6f2cb;
}
.m_contact a .icon {
    width: 21px;
    margin: 0 auto;
}
.m_contact a .text {
    margin: 10px 0;
    color: var(--text);
    font-size: 21px;
    line-height: 1.25;
}
.m_contact a .en {
    color: var(--green);
    font-size: 14px;
    letter-spacing: 2px;
}
.m_fv {
    display: flex;
    align-items: center;
    height: 180px;
    background: #FEF79E;
    background: linear-gradient(90deg, rgba(254, 247, 158, 1) 0%, rgba(253, 247, 158, 1) 50%, rgba(180, 215, 143, 1) 100%);
}
.m_fv .ttl {
    margin-left: 6vw;
    color: var(--text);
    font-size: 35px;
    letter-spacing: 5px;
}

.bg_beige {
	background: var(--beige);
}

.p {
	font-size: 17px;
    letter-spacing: 1px;
}
.pm {
	font-size: 17px;
	line-height: 2.1;
    letter-spacing: 1px;
}

.m_center {
    text-align: center;
}

.m_title {
    margin-bottom: 50px;
    text-align: center;
}
.m_title .icon {
    position: relative;
    z-index: 9;
    bottom: -20px;
}
.m_title .icon img {
    width: 53px;
}
.m_title .ttl {
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 5px;
    margin-bottom: 10px;
}
.m_title .en {
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--green);
}
.m_title .inner {
    position: relative;
    padding: 25px 0;
}
.m_title .inner::before,
.m_title .inner::after {
    position: absolute;
    content: "";
    display: block;
    width: 270px;
    height: 1px;
    top: 0;
    left: calc(50% - 135px);
    background: var(--text);
}
.m_title .inner::after {
    top: auto;
    bottom: 0;
}

.m_ttl {
    margin-bottom: 45px;
    padding: 0 0 10px 45px;
    background: url("/system_panel/uploads/images/icon_cube.png") no-repeat;
    background-position: left top 10px;
    background-size: 30px auto;
    border-bottom: 1px solid var(--text);
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 3px;
}

.m_btn a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 240px;
    height: 48px;
    border: 1px solid var(--text);
    border-radius: 48px;
    color: var(--text);
    font-size: 16px;
    text-decoration: none;
}
.m_btn.m_center a {
    margin: auto;
}
.m_btn.m_w a {
    background: var(--white);
}
.m_btn.m_w a:hover {
    background: var(--beige);
}
.m_btn a::after {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 1px;
    background: var(--text);
    top: 50%;
    right: -15px;
    transition: .5s;
}
.m_btn a:hover {
    background: var(--white);
}
.m_btn a:hover::after {
    right: -22px;
}



.mb15 {
    margin-bottom: 15px;
}
.mb30 {
    margin-bottom: 30px;
}
.mb45 {
    margin-bottom: 45px;
}
.mb60 {
    margin-bottom: 60px;
}
.mb75 {
    margin-bottom: 75px;
}
.mb90 {
    margin-bottom: 90px;
}    
    
@media screen and (min-width: 768px) and (max-width: 1700px){
    
    .m_contact {
        right: 30px;
    }
    .m_fv .ttl {
        margin-left: 30px;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1260px){
	
    .m_contact {
        top: 3vw;
    }
    .m_contact.top_c {
        top: 15vw;
    }
    .m_contact a {
        width: 16vw;
        height: 16vw;
    }
    .m_contact a .icon {
        width: 2vw;
    }
    .m_contact a .text {
        margin: 1vw 0;
        font-size: 2vw;
    }
    .m_contact a .en {
        font-size: 1.4vw;
        letter-spacing: .2vw;
    }
    .m_fv {
        height: 16vw;
    }
    .m_fv .ttl {
        font-size: 3vw;
        letter-spacing: .5vw;
    }

    .main {
        margin-top: 8vw;
    }
	.p,
	.pm {
		font-size: 1.3vw;
	}
    
    .m_title {
        margin-bottom: 4vw;
    }
    .m_title .icon {
        bottom: -1.6vw;
    }
    .m_title .icon img {
        width: 4vw;
    }
    .m_title .ttl {
        font-size: 2.5vw;
        letter-spacing: .5vw;
        margin-bottom: 1vw;
    }
    .m_title .en {
        font-size: 1.4vw;
        letter-spacing: .2vw;
    }
    .m_title .inner {
        padding: 2.2vw 0;
    }
    .m_title .inner::before,
    .m_title .inner::after {
        width: 24vw;
        left: calc(50% - 12vw);
    }

    .m_ttl {
        margin-bottom: 4vw;
        padding: 0 0 1vw 4vw;
        background-position: left top .8vw;
        background-size: 2.5vw auto;
        font-size: 2.5vw;
        letter-spacing: .3vw;
    }

    .m_btn a {
        width: 24vw;
        height: 4.8vw;
        font-size: 1.6vw;
    }
    .m_btn a::after {
        width: 3vw;
        right: -1.5vw;
    }
	
    
    .mb15 {
        margin-bottom: 1.5vw;
    }
    .mb30 {
        margin-bottom: 2.5vw;
    }
    .mb45 {
        margin-bottom: 4vw;
    }
    .mb60 {
        margin-bottom: 5vw;
    }
    .mb75 {
        margin-bottom: 6vw;
    }
    .mb90 {
        margin-bottom: 7.2vw;
    }

}
@media screen and (max-width: 767px){
	
    .m_contact {
        top: 15px;
        right: 10px;
    }
    .m_contact.top_c {
        top: 15vw;
    }
    .m_contact a {
        width: 120px;
        height: 120px;
    }
    .m_contact a .icon {
        width: 15px;
    }
    .m_contact a .text {
        margin: 5px 0;
        font-size: 16px;
    }
    .m_contact a .en {
        font-size: 11px;
        letter-spacing: 1px;
    }
    .m_fv {
        height: 150px;
    }
    .m_fv .ttl {
        font-size: min(6vw,24px);
        letter-spacing: 2px;
    }

    .main {
        margin-top: 60px;
    }
    
	.p {
		font-size: 15px;
	}
	.pm {
		font-size: 15px;
		line-height: 2;
	}
    .sp_left {
        text-align: left!important;
    }
    
    .m_title {
        margin-bottom: 30px;
    }
    .m_title .icon {
        bottom: -12px;
    }
    .m_title .icon img {
        width: 36px;
    }
    .m_title .ttl {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 5px;
    }
    .m_title .en {
        font-size: 12px;
    }
    .m_title .inner {
        padding: 15px 0;
    }
    .m_title .inner::before,
    .m_title .inner::after {
        width: 200px;
        left: calc(50% - 100px);
    }

    .m_ttl {
        margin-bottom: 30px;
        padding: 0 0 10px 30px;
        background-position: left top 7px;
        background-size: 20px auto;
        font-size: 20px;
        letter-spacing: 2px;
    }

    .m_btn a {
        margin: auto;
    }


    .mb15 {
        margin-bottom: 12px;
    }
    .mb30 {
        margin-bottom: 24px;
    }
    .mb45 {
        margin-bottom: 32px;
    }
    .mb60 {
        margin-bottom: 40px;
    }
    .mb75 {
        margin-bottom: 45px;
    }
    .mb90 {
        margin-bottom: 50px;
    }

}

