@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: #000;
  --text_hover: #888;
  --white: #fff;
  --blue: #00024e;
  --blue_light: #a6a7bf;
}

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

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

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

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

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

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

.header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
}
.header.on {
    background: var(--blue);
}
.header .logo {
    width: 200px;
    margin-left: 10vw;
}
.header .menu .ul {
    display: flex;
    margin-right: 10vw;
}
.header .menu .ul .li a {
    display: block;
    padding: 10px 35px;
    color: var(--white);
    font-size: 16px;
}
.header .menu .ul .li.contact a {
    position: relative;
    padding: 10px 50px;
    border: 1px solid #65829f;
    border-radius: 5px;
    font-size: 15px;
}
.header .menu .ul .li.contact a::after {
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 1px;
    display: block;
    content: "";
    background: #65829f;
    transition: .5s;
}
.header .menu .ul .li.contact a:hover {
    background: #30327e;
}
.header .menu .ul .li.contact a:hover::after {
    right: -15px;
}

@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;
    }

}
@media screen and (min-width: 768px) and (max-width: 1260px){

    .header {
        height: 10vw;
    }
    .header .logo {
        width: 18vw;
    }
    .header .menu .ul .li a {
        padding: 1vw 2.5vw;
        font-size: 1.6vw;
    }
    .header .menu .ul .li.contact a {
        padding: 1vw 4vw;
        font-size: 1.5vw;
    }
    .header .menu .ul .li.contact a::after {
        right: -1vw;
        width: 2vw;
    }
    .header .menu .ul .li.contact a:hover::after {
        right: -1.5vw;
    }

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

    .header {
        height: 60px;
        display: block;
    }
    .header .logo {
        width: auto;
        margin: 15px 0 0 6vw;
    }
    .header .logo img {
        height: 30px;
    }
    .header .menu {
        width: 100%;
        background: var(--blue);
    }
    .header .menu .ul {
        display: block;
        margin: 12px 0 0;
        padding: 15px 6vw 35px;
    }
    .header .menu .ul .li a {
        padding: 15px;
        text-align: center;
    }
    .header .menu .ul .li.contact a {
        width: 240px;
        margin: 15px auto 0;
        padding: 15px;
    }

}

/*----- 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: #fff;
        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 {
    margin-top: 50px;
    background: #f5f5f5;
}
.f_contact .inner {
    position: relative;
    top: -50px;
    margin: 0 30px;
    padding: 80px 0;
    background: url("/system_panel/uploads/images/bg_contact.jpg") center no-repeat;
    background-size: cover;
    border-radius: 15px;
    color: var(--white);
}
.f_contact .frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.f_contact .frame .ttl {
    width: 301px;
}
.f_contact .scroll_x {
    padding: 50px 0 40px;
}

/* footer */

.footer {
    padding: 70px 0 30px;
}
.footer .frame {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer .frame .conts {
    width: 50%;
}
.footer .frame .conts .logo {
	width: 220px;
	margin-bottom: 30px;
}
.footer .frame .conts .m_btn {
    width: 240px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.footer .frame .nav {
    width: 40%;
	display: flex;
	justify-content: space-between;
}
.footer .frame .nav .ul {
	width: 45%;
}
.footer .frame .nav .ul .li {
	margin-bottom: 40px;
}
.footer .frame .nav .ul .li a {
	display: block;
	position: relative;
	color: var(--text);
	padding-left: 25px;
}
.footer .frame .nav .ul .li a:hover {
	color: var(--text_hover);
}
.footer .frame .nav .ul .li a:before {
	position: absolute;
	display: block;
	content: "";
	top: 5px;
	left: 0;
	width: 8px;
	height: 8px;
	border-top: solid 1px var(--blue_light);
	border-right: solid 1px var(--blue_light);
	transform: rotate(45deg);
    transition: .5s;
}
.footer .frame .nav .ul .li a:hover:before {
	left: 5px;
}
.footer .copyright {
	font-size: 16px;
	text-align: right;
}

@media screen and (min-width: 768px) and (max-width: 1260px){

    .f_contact {
        margin-top: 4vw;
    }
    .f_contact .inner {
        top: -4vw;
        padding: 4vw 0;
        border-radius: 1.5vw;
    }
    .f_contact .frame .ttl {
        width: 25vw;
    }
    .f_contact .frame .conts {
        width: calc(100% - 25vw - 5%);
    }
    .f_contact .frame .conts .pm br {
        display: none;
    }
    .f_contact .scroll_x {
        padding: 2vw 0 3vw;
    }
    
    /* footer */

    .footer {
        padding: 6vw 0 3vw;
    }
    .footer .frame .conts .logo {
        width: 20vw;
        margin-bottom: 3vw;
    }
    .footer .frame .conts .m_btn {
        width: 22vw;
        margin-top: 3vw;
        margin-bottom: 1.5vw;
    }
    .footer .frame .nav .ul .li {
        margin-bottom: 3vw;
    }
    .footer .frame .nav .ul .li a {
        padding-left: 2vw;
    }
    .footer .frame .nav .ul .li a:before {
        top: .5vw;
        width: .8vw;
        height: .8vw;
    }
    .footer .frame .nav .ul .li a:hover:before {
        left: .5vw;
    }
    .footer .copyright {
        font-size: 1.6vw;
    }

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

    .f_contact {
        margin-top: 0;
        padding-top: 40px;
        width: 100%;
        overflow-x: hidden;
    }
    .f_contact .inner {
        top: 0;
        margin: 0 6vw;
        padding: 40px 0;
        border-radius: 10px;
    }
    .f_contact .frame {
        display: block;
    }
    .f_contact .frame .ttl {
        width: min(75%,250px);
        margin: 0 auto 20px;
    }
    .f_contact .frame .conts .pm br {
        display: none;
    }
    .f_contact .scroll_x {
        padding: 30px 0;
    }
    .scroll_x img {
        margin-right: -640px;
        width: auto;
        max-width: 1280px;
        height: 30px;
    }

    /* footer */

    .footer {
        padding: 50px 0;
    }
    .footer .frame {
        display: block;
    }
    .footer .frame .conts {
        width: 100%;
    }
    .footer .frame .conts .logo {
        width: 160px;
        margin: 0 auto 30px;
    }
    .footer .frame .conts .pm {
        font-size: min(3.75vw,16px);
        text-align: center;
    }
    .footer .frame .conts .m_btn {
        margin-bottom: 30px;
    }
    .footer .frame .nav {
        display: none;
    }
    .footer .copyright {
        font-size: 14px;
        text-align: center;
    }

}

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

.main {
    padding: 0 0 120px;
}
.main.top {
    background: #f5f5f5;
}

.fv {
    padding: 150px 0 40px;
    background: url("/system_panel/uploads/images/bg_fvpage.jpg") no-repeat;
    background-position: bottom center;
    background-size: cover;
    text-align: center;
}
.fv .ttl img {
    height: 56px;
}
.fv .text {
    margin-top: 15px;
    color: #6a85ae;
    font-size: 17px;
}

.p {
    font-size: 18px;
}
.pm {
    font-size: 18px;
    line-height: 2.35;
}
.pm.small {
    font-size: 15px;
    font-weight: 300;
}
.m_center {
    text-align: center;
}
.m_orange {
    color: var(--orange);
}

.m_btn {
    width: 190px;
    margin-top: 50px;
}
.m_btn.m_center {
    margin-left: auto;
    margin-right: auto;
}
.m_btn a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    background: url("/system_panel/uploads/images/arrow.png") no-repeat var(--blue);
    background-size: 20px auto;
    background-position: center right 10px;
    border-radius: 5px;
    color: var(--white);
    font-size: 15px;
    gap: 10px;
}
.m_btn a .icon {
    width: 20px;
}
.m_btn.m_orange a {
    background: url("/system_panel/uploads/images/arrow_orange.png") no-repeat var(--orange);
    background-size: 20px auto;
    background-position: center right 10px;
}
.m_btn.m_white a {
    background: url("/system_panel/uploads/images/arrow_white.png") no-repeat #6f70a5;
    background-size: 20px auto;
    background-position: center right 10px;
}
.m_btn.m_white2 a {
    background: url("/system_panel/uploads/images/arrow_white.png") no-repeat #20226a;
    background-size: 20px auto;
    background-position: center right 10px;
}
.m_btn.m_white3 a {
    background: url("/system_panel/uploads/images/arrow_white.png") no-repeat #6f70a5;
    background-size: 20px auto;
    background-position: center right 10px;
}
.m_btn a:hover,
.m_btn.m_orange a:hover,
.m_btn.m_white2 a:hover,
.m_btn.m_white3 a:hover,
.m_btn.m_white a:hover {
    background-position: center right 5px;
}

.m_navi {
    padding: 80px 0 0;
}
.m_navi_btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 40px;
}
.m_navi_btns .m_btn {
    margin-top: 0;
}
.m_navi_btns.large .m_btn {
    width: 265px;
}

.m_title {
    margin-bottom: 40px;
}
.m_title .ttl img {
    height: 24px;
}
.m_title .text {
    margin-top: 5px;
    font-size: 40px;
    font-weight: 700;
}



.scroll_x {
    display: flex;
    justify-content: flex-end;
    animation: flowing 10s linear infinite;
    transform: translateX(100%);
}

@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}
@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .main {
        padding: 0 0 9vw;
    }

    .fv {
        padding: 12vw 0 4vw;
    }
    .fv .ttl img {
        height: 4.5vw;
    }
    .fv .text {
        margin-top: 1.5vw;
        font-size: 1.7vw;
    }

    .p,
    .pm {
        font-size: 1.7vw;
    }
    .pm.small {
        font-size: 1.4vw;
    }

    .m_btn {
        width: 18vw;
        margin-top: 4vw;
    }
    .m_btn a {
        padding: 1vw 3vw;
        background-size: 2vw auto;
        background-position: center right 1vw;
        gap: 1vw;
        font-size: 1.5vw;
    }
    .m_btn a .icon {
        width: 2vw;
    }
    .m_btn.m_orange a,
    .m_btn.m_white2 a,
    .m_btn.m_white3 a,
    .m_btn.m_white a {
        background-size: 2vw auto;
        background-position: center right 1vw;
    }
    .m_btn a:hover,
    .m_btn.m_orange a:hover,
    .m_btn.m_white2 a:hover,
    .m_btn.m_white3 a:hover,
    .m_btn.m_white a:hover {
        background-position: center right .5vw;
    }
 
    .m_navi {
        padding: 6vw 0 0;
    }
    .m_navi_btns {
        gap: 0 3vw;
    }
    .m_navi_btns.large .m_btn {
        width: 25vw;
    }

    .m_title {
        margin-bottom: 3vw;
    }
    .m_title .ttl img {
        height: 2.2vw;
    }
    .m_title .text {
        margin-top: .5vw;
        font-size: 3.33vw;
    }
    
    
}
@media screen and (max-width: 767px){
    
    .main {
        padding: 0 0 50px;
    }

    .fv {
        padding: 80px 0 30px;
    }
    .fv .ttl img {
        height: 35px;
    }
    .fv .text {
        margin-top: 10px;
        font-size: 16px;
    }
    
    .p {
        font-size: 16px;
    }
    .pm {
        font-size: 16px;
        line-height: 2;
    }
    .pm.small {
        font-size: 13px;
    }
    
    .sp_left {
        text-align: left!important;
    }

    .m_btn {
        margin: 30px auto 0;
    }
    
    .m_navi {
        padding: 50px 0 0;
    }
    .m_navi_btns {
        display: flex;
        gap: 20px 20px;
    }
    .m_navi_btns .m_btn {
        margin-top: 0;
    }
    .m_navi_btns.large .m_btn {
        width: 265px;
    }

    .m_title {
        margin-bottom: 30px;
    }
    .m_title .ttl img {
        height: 20px;
    }
    .m_title .text {
        font-size: 25px;
    }
    

}


