@charset "utf-8";

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

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

@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: #161616;
  --white: #fff;
  --yellow: #e8b800;
  --yellow_light: #faf0d3;
  --blue: #87c7fc;
  --green: #3d7154;
}

body {
	font-family: "Noto Serif JP", serif;
    color: var(--text);
    overflow-x: hidden;
    letter-spacing: 1px;
    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;
}
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;
}
.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: 150px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
}
.header .logo {
    width: 300px;
    margin-top: 75px;
    margin-left: 6vw;
}
.header .menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 45px;
}
.header .menu .ul {
    display: flex;
    margin-top: 20px;
}
.header .menu .ul .li a {
    padding: 20px 30px;
    color: var(--text);
}
.header .menu .ul .li a:hover {
    color: #666;
}
.header .menu .tel {
    margin: 0 40px;
}
.header .menu .tel .text {
    font-size: 15px;
}
.header .menu .tel .num {
    margin: 10px 0;
    font-size: 33px;
    font-weight: 700;
}
.header .menu .tel .num a {
    color: var(--text);
}
.header .menu .h_btn a {
    width: 190px;
    padding: 22px 0;
    background: var(--yellow);
    border-radius: 10px 0 0 10px;
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}
.header .menu .h_btn a .icon {
    width: 25px;
    margin: 0 auto 10px;
}
.header .menu .h_btn a:hover {
    opacity: .8;
}

@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 {
        height: 120px;
    }
    .header .logo {
        width: 250px;
        margin-top: 60px;
        margin-left: 30px;
    }
    .header .menu {
        margin-top: 20px;
    }
    .header .menu .ul {
        display: flex;
        margin-top: 20px;
    }
    .header .menu .ul .li a {
        padding: 20px 15px;
        font-size: 14px;
    }
    .header .menu .tel {
        margin: 0 20px;
    }
    .header .menu .tel .text {
        font-size: 11px;
    }
    .header .menu .tel .num {
        margin: 8px 0;
        font-size: 33px;
    }
    .header .menu .h_btn a {
        width: 160px;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .header {
        height: 10vw;
    }
    .header .logo {
        width: 18.8vw;
        margin-top: 5vw;
        margin-left: 2vw;
    }
    .header .menu {
        margin-top: 2vw;
    }
    .header .menu .ul {
        margin-top: 1vw;
    }
    .header .menu .ul .li a {
        padding: 2vw 1vw;
        font-size: 1.2vw;
    }
    .header .menu .tel {
        margin: 0 1vw;
    }
    .header .menu .tel .text {
        font-size: .9vw;
    }
    .header .menu .tel .num {
        margin: .8vw 0;
        font-size: 2.5vw;
    }
    .header .menu .h_btn a {
        width: 12vw;
        padding: 1.33vw 0;
        border-radius: 1vw 0 0 1vw;
    }
    .header .menu .h_btn a .icon {
        width: 2vw;
        margin: 0 auto 1vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .header {
        height: 60px;
        display: block;
    }
    .header .logo {
        width: 200px;
        margin-top: 22px;
        margin-left: 6vw;
    }
    .header .menu {
        display: block;
        margin-top: 15px;
        padding-bottom: 20px;
        background: var(--white);
    }
    .header .menu .ul {
        display: block;
        margin-top: 10px;
    }
    .header .menu .ul .li a {
        display: block;
        padding: 12px;
        text-align: center;
    }
    .header .menu .tel {
        margin: 15px auto;
        width: 240px;
        text-align: center;
    }
    .header .menu .tel .text {
        font-size: 11px;
    }
    .header .menu .tel .num {
        margin: 8px 0;
        font-size: 33px;
    }
    .header .menu .h_btn a {
        width: 240px;
        margin: 0 auto;
        padding: 15px 0;
        border-radius: 10px;
    }
    .header .menu .h_btn a > div {
        display: flex;
        justify-content: center;
    }
    .header .menu .h_btn a .icon {
        width: 20px;
        margin: 0 10px 0 0;
    }
    
}

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

.footer {
    position: relative;
    background: var(--yellow);
    color: var(--white);
    padding: 60px 0 30px;
    text-align: center;
}
.footer .pagetop {
    position: absolute;
    z-index: 999;
    top: 54px;
    right: 6vw;
    width: 53px;
    cursor: pointer;
}
.footer .logo {
    margin-bottom: 40px;
}
.footer .logo img {
    width: 300px;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(217deg) brightness(103%) contrast(101%);
}
.footer .tel {
    margin: 20px 0 60px;
}
.footer .tel a {
    color: var(--white);
}
.footer .copyright {
    margin-top: 70px;
}

/* contact */

.f_contact {
    padding: 60px 0;
    background: var(--yellow_light);
}
.f_contact .frame {
    display: flex;
    justify-content: center;
    gap: 0 30px;
    margin-top: 75px;
}
.f_contact .frame .telbox {
    width: 450px;
}
.telbox {
    padding: 20px 0 30px;
    border-top: 1px solid var(--yellow);
    border-bottom: 1px solid var(--yellow);
}
.telbox.fax {
    border-top-color: var(--blue);
    border-bottom-color: var(--blue);
}
.telbox .ttl {
    width: 300px;
    margin: -45px auto 20px;
    padding: 10px 0;
    background: var(--yellow);
    border-radius: 50px;
    color: var(--white);
    font-size: 23px;
    text-align: center;
}
.telbox.fax .ttl {
    background: var(--blue);
}
.telbox .num {
    font-size: 37px;
    font-weight: 700;
    text-align: center;
}
.telbox .num a {
    color: var(--text);
}
.telbox .text {
    margin-top: 15px;
    font-size: 15px;
    text-align: center;
}

@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .footer .pagetop {
        right: 30px;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1260px){

    .footer {
        padding: 5vw 0 3vw;
    }
    .footer .pagetop {
        top: 4.5vw;
        width: 4.5vw;
    }
    .footer .logo {
        margin-bottom: 3vw;
    }
    .footer .logo img {
        width: 25vw;
    }
    .footer .tel {
        margin: 2vw 0 5vw;
    }
    .footer .copyright {
        margin-top: 5vw;
    }

    /* contact */

    .f_contact {
        padding: 5vw 0;
    }
    .f_contact .frame {
        gap: 0 3vw;
        margin-top: 7vw;
    }
    .f_contact .frame .telbox {
        width: 40vw;
    }
    .telbox {
        padding: 2vw 0 3vw;
    }
    .telbox .ttl {
        width: 30vw;
        margin: -4.5vw auto 2vw;
        padding: 1vw 0;
        font-size: 2vw;
    }
    .telbox .num {
        font-size: 3.5vw;
    }
    .telbox .text {
        margin-top: 1.5vw;
        font-size: 1.5vw;
    }

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

    .footer {
        padding: 50px 0;
    }
    .footer .pagetop {
        top: -20px;
        right: 6vw;
        width: 40px;
    }
    .footer .logo {
        margin-bottom: 30px;
    }
    .footer .logo img {
        width: 250px;
    }
    .footer .tel {
        margin: 20px 0 40px;
    }
    .footer .copyright {
        margin-top: 40px;
    }

    /* contact */

    .f_contact {
        padding: 40px 0;
    }
    .f_contact .p {
        font-size: min(3.5vw,14px);
    }
    .f_contact .frame {
        display: block;
        margin-top: 45px;
    }
    .f_contact .frame .telbox {
        width: min(400px,100%);
        margin: 45px auto 0;
    }
    .telbox {
        padding: 15px 0 24px;
    }
    .telbox .ttl {
        width: 250px;
        margin: -35px auto 20px;
        padding: 5px 0;
        font-size: 20px;
    }
    .telbox .num {
        font-size: 33px;
    }
    .telbox .text {
        font-size: min(3.25vw,14px);
    }
    
}


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

.main {
    margin-top: 150px;
}

.p {
    font-size: 16px;
}
.pm {
    font-size: 16px;
    line-height: 3;
}
.ps {
    font-size: 15px;
}

.m_center {
    text-align: center;
}
.m_green {
    color: var(--green);
}
.m_yellow {
    color: var(--yellow);
}

.m_wave {
    background: url("/system_panel/uploads/images/bg_wave.jpg") left bottom no-repeat;
    background-size: 92.7% 100%;
}

.m_title .sub {
    display: inline-block;
    min-width: 150px;
    margin-bottom: 15px;
    padding: 5px 40px;
    background: var(--yellow);
    border-radius: 30px;
    color: var(--white);
    font-size: 16px;
    text-align: center;
}
.m_title .ttl {
    font-size: 35px;
    line-height: 1.75;
}
.m_title .ttl br {
    display: none;
}
.m_title_h3 {
    margin-bottom: 30px;
}
.m_title_h3 .text {
    display: inline;
    font-size: 40px;
    line-height: 1.75;
}

.m_btn {
    width: 250px;
}
.m_btn.m_center {
    margin: auto;
}
.m_btn a {
    position: relative;
    display: block;
    padding: 20px 0;
    background: var(--white);
    border: 1px solid var(--text);
    border-radius: 50px;
    color: var(--text);
    font-size: 15px;
    text-align: center;
}
.m_btn a::before,
.m_btn a::after {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    right: -15px;
    width: 30px;
    height: 1px;
    background: var(--text);
    transition: .5s;
}
.m_btn a::after {
    top: calc(50% - 2px);
    width: 6px;
    transform: rotate(45deg);
}
.m_btn a:hover {
    text-decoration: none;
}
.m_btn a:hover::before,
.m_btn a:hover::after {
    right: -20px;
}
.m_btn a::after {
    top: calc(50% - 2px);
    width: 6px;
    transform: rotate(45deg);
}
.m_btn.m_back a::before,
.m_btn.m_back a::after {
    right: auto;
    left: -15px;
}
.m_btn.m_back a::after {
    transform: rotate(-45deg);
}
.m_btn.m_back a:hover::before,
.m_btn.m_back a:hover::after {
    right: auto;
    left: -20px;
}
.m_btn.m_yellow a {
    border-color: var(--yellow);
}
.m_btn.m_yellow a:hover {
    background: rgba(255,255,255,.8);
}
.m_btn.m_yellow a::before,
.m_btn.m_yellow a::after {
    background: #bdad7d;
}
.m_btn.m_ylw a {
    border-color: #a69b30;
    background: var(--yellow);
    color: var(--white);
}
.m_btn.m_ylw a:hover {
    background: #f8c810;
}
.m_btn.m_ylw a::before,
.m_btn.m_ylw a::after {
    background: #a69b30;
}
.m_btn.m_blue a {
    border-color: #71a3ac;
    background: var(--blue);
    color: var(--white);
}
.m_btn.m_blue a:hover {
    background: #97d7fc;
}
.m_btn.m_blue a::before,
.m_btn.m_blue a::after {
    background: #71a3ac;
}
.m_btn.m_green a {
    border-color: #67a080;
    background: var(--green);
    color: var(--white);
}
.m_btn.m_green a:hover {
    background: #4d8164;
}
.m_btn.m_green a::before,
.m_btn.m_green a::after {
    background: #67a080;
}

.m_tab {
    padding: 0 0 120px;
}
.m_tab .tab_list {
    display: flex;
}
.m_tab .tab_list .tab {
    width: 50%;
    padding: 20px 0;
    background: var(--yellow);
    border-radius: 10px 10px 0 0;
    color: var(--white);
    font-size: 23px;
    text-align: center;
    cursor: pointer;
    transition: .5s;
}
.m_tab .tab_list .tab:nth-of-type(2) {
    background: var(--blue);
}
.m_tab .tab_list .tab:hover {
    opacity: .8;
}
.m_tab .tab_list .tab.is-active {
    cursor: default;
}
.m_tab .tab_list .tab.is-active:hover {
    opacity: 1;
}
.tab_conts .panel {
    display: none;
    padding: 100px 0;
    background: url("/system_panel/uploads/images/bg_tab1.jpg") center no-repeat;
    background-size: cover;
}
.tab_conts .panel:nth-of-type(2) {
    background: url("/system_panel/uploads/images/bg_tab2.jpg") center no-repeat;
  background-position: top;
}
.tab_conts .panel.is-show {
    display: block;
}
body:has(#wrapper) .tab_conts .panel {
    display: block;
}

.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){
    
    .main {
        margin-top: 120px;
    }
    .m_wave {
        background-size: calc(100% - 15px) 100%;
    }
    
}
@media screen and (min-width: 768px) and (max-width: 1260px){
    
    .main {
        margin-top: 10vw;
    }
    
    .p,
    .pm {
        font-size: 1.5vw;
    }
    .pm {
        line-height: 2.5;
    }
    .ps {
        font-size: 1.4vw;
    }

    .m_title .sub {
        min-width: 15vw;
        margin-bottom: 1.5vw;
        padding: .5vw 3vw;
        font-size: 1.5vw;
    }
    .m_title .ttl {
        font-size: 3vw;
    }
    .m_title_h3 {
        margin-bottom: 2.5vw;
    }
    .m_title_h3 .text {
        font-size: 3vw;
    }

    .m_btn {
        width: 24vw;
    }
    .m_btn a {
        padding: 2vw 0;
        font-size: 1.5vw;
    }
    
    .m_tab {
        padding: 0 0 9vw;
    }
    .m_tab .tab_list .tab {
        padding: 2vw 0;
        font-size: 2vw;
    }
    .tab_conts .panel {
        padding: 8vw 0;
    }

    .mb15 {
        margin-bottom: 1.5vw;
    }
    .mb30 {
        margin-bottom: 3vw;
    }
    .mb45 {
        margin-bottom: 4vw;
    }
    .mb60 {
        margin-bottom: 5vw;
    }
    .mb75 {
        margin-bottom: 6.3vw;
    }
    .mb90 {
        margin-bottom: 7.5vw;
    }

}
@media screen and (max-width: 767px){
    
    .main {
        margin-top: 60px;
    }
    .m_wave {
        background-size: calc(100% - 3vw) 100%;
    }
    
    .p,
    .pm {
        font-size: 14px;
    }
    .pm {
        line-height: 2;
    }
    .ps {
        font-size: 13px;
    }
    
    .sp_left {
        text-align: left!important;
    }

    .m_title .sub {
        min-width: 120px;
        margin-bottom: 10px;
        padding: 5px 30px;
        font-size: 14px;
    }
    .m_title .ttl {
        font-size: min(6vw,24px);
    }
    .m_title .ttl br {
        display: inline-block;
    }
    .m_title_h3 {
        margin-bottom: 20px;
    }
    .m_title_h3 .text {
        font-size: min(7vw,25px);
        line-height: 1.6;
    }

    .m_btn {
        margin: auto;
    }
    
    .m_tab {
        padding: 0 0 50px;
    }
    .m_tab .tab_list .tab {
        padding: 15px 0;
        font-size: 18px;
    }
    .tab_conts .panel {
        padding: 40px 0;
    }

    .mb15 {
        margin-bottom: 10px;
    }
    .mb30 {
        margin-bottom: 20px;
    }
    .mb45 {
        margin-bottom: 30px;
    }
    .mb60 {
        margin-bottom: 36px;
    }
    .mb75 {
        margin-bottom: 45px;
    }
    .mb90 {
        margin-bottom: 50px;
    }
    
}

