@media all and (max-width: 1601px){
    #hd-t {padding-top: 5px; padding-bottom: 5px;}
    #h-menu > ul > li > a {font-size: 18px; line-height: 20px; padding-top: 10px; padding-bottom: 10px; padding-left: 15px; padding-right: 15px;}
    #h-menu, #hd-t {padding-left: 94px;}
    #logo {width: 84px;}
    #logo a {height: 84px;}
    body.sc1 #logo a {height: 69px;}
    #sliderb {padding-top: 90px;}
    body.sc2 #hd {top: -75px;}
    body.home #slider .b-ttl-c {font-size: 50px; line-height: 46px;}
    body .sltop .slsx {padding-left: 50px;}
    .bn-btn {padding-left: 25px; margin-top: 15px;}
    .bn-btn a > * {font-size: 16px;}
    
    .b-ttl > * {padding-left: 25px;}
    .b-ttl-c, #main .b-ttl-c {font-size: 34px; line-height: 40px;}
    .b-ttl.small .b-ttl-c, #main .b-ttl.small .b-ttl-c {font-size: 26px; line-height: 32px;}
    .b-ttl-btn {margin-top: 10px;}
    .cdrds {padding-left: 25px !important}
    
    #main .e-ttlc {font-size: 30px; line-height: 36px;}
    #main .e-ttl {margin-bottom: 40px; padding-left: 25px}
    
    .fr-sec {padding-top: 40px; padding-bottom: 40px;}
    #slider {padding-bottom: 40px;}
    #main {margin-top: -40px; padding-top: 40px; padding-bottom: 40px}
    body .sltop .sl-img {bottom: -40px;}
    .sid + * {padding-left: 40px}
    .sid-pd {padding: 30px 40px;}
    .contrcc > *, .ccsec > * {margin-top: 40px;}
    
    .sbncc {padding: 80px 40px;}
    .sbn-ttl {font-size: 40px; line-height: 40px;}
    .sbnc:before, .sbnc:after {width: 40px; height: 40px; bottom: -40px; border-bottom-width: 40px;}
    .sbnc:after {left: 40px;}
    .sid-bns {margin-bottom: 40px;}
    .sid-orn {margin-top: 40px;}
    
    .lsppc {padding-left: 25px; padding-right: 25px;}
    .lsppt {font-size: 20px; line-height: 24px;}
    
    body .eg-dc, .frgr-txr, .frgr-tr, body .slicons .ic-item {padding: 25px;}
    body .frgr-tl:before, body .frgr-tl:after {width: 25px; height: 25px; bottom: -25px; border-bottom-width: 25px;}
    body .frgr-tl:after {right: -25px; bottom: -25px;}
    body .slicons .sln {padding-left: 25px; padding-top: 20px;}
    body .slicons .ic-item {padding-top: 70px;}
    .frgr-q.aji {bottom: 20px; right: 25px;}
    .frgr-tr {padding-bottom: 70px;}
    /*.frgr-ttl {font-size: 22px; line-height: 28px;}*/
    
    #main h1, h1 {font-size: 22px; line-height: 26px;}
    #main h2, h2 {font-size: 20px; line-height: 24px;}
    #main h3, h3 {font-size: 18px; line-height: 22px;}
    #main h4, h4 {font-size: 16px; line-height: 20px;}
    #main h5, h5 {font-size: 13px; line-height: 18px;}
    #main h6, h6 {font-size: 12px; line-height: 16px;}
    
    .e-cont {font-size: 16px; line-height: 26px;}
    .e-cont ul > li:before {top: 13px;}
    .e-cont ul > li:first-child:after {top: 13px;}
    .e-cont ul > li:last-child:after {height: 13px;}
    .e-cont ol > li:before {min-width: 26px;}
    
    body .sbox input {font-size: 20px; border-bottom-width: 1px;}
}
@media all and (max-width: 1400px){
    .flgsg {margin-top: -5px;}
    .flgsg .flgsgi {padding: 5px;}
    .fr-sec {padding-top: 30px; padding-bottom: 30px;}
    #slider {padding-bottom: 30px;}
    #main {margin-top: -30px; padding-top: 30px; padding-bottom: 30px}
    body .sltop .sl-img {bottom: -30px;}
    .sid + * {padding-left: 30px}
    .sid-pd {padding: 20px 30px;}
    .contrcc > *, .ccsec > * {margin-top: 30px;}
    .a-pgt {margin-top: 30px;}
    .yt-sec {padding: 30px;}
    
    .sbncc {padding: 60px 30px;}
    .sbn-ttl {font-size: 30px; line-height: 30px;}
    .sbnc:before, .sbnc:after {width: 30px; height: 30px; bottom: -30px; border-bottom-width: 30px;}
    .sbnc:after {left: 30px;}
    .sid-bns {margin-bottom: 30px;}
    .sid-orn {margin-top: 30px;}
    
    #main .e-ttl {margin-bottom: 30px;}
    
    .frgr-ttl {font-size: 22px; line-height: 28px;}
    .frgr-txt {font-size: 16px; line-height: 24px;}
    body .slicons .ic-t {font-size: 18px; line-height: 24px; margin-top: 15px;}
    #slider .b-ttl-c {font-size: 30px !important; line-height: 36px !important;}
    body .bn-l {padding: 50px 30px 50px 0px !important}
}
@media all and (max-width: 1250px){
    .f-col {width: 50%; text-align: center; padding-top: 30px; float: none; vertical-align: middle;}
    .f-col:nth-child(odd) {padding-right: 10px; clear: both}
    .f-col:nth-child(even) {padding-left: 10px;}
    .f-col:last-child {text-align: center}
    .f-col:nth-child(1), .f-col:nth-child(2) {padding-top: 0px;}
    .flgsg .flgsgi {float: none; vertical-align: top;}
    #fcolsc {padding-top: 30px; padding-bottom: 30px;}
    #copyright, #noveo {text-align: center;}
    #h-menu > ul > li > a {font-size: 16px; line-height: 20px; padding: 10px}
}
@media all and (max-width: 1200px){
    #wpadminbar {display: none !important}
    body.admin-bar {margin-top: 0px !important;}
    body.admin-bar #hd {margin-top: 0px !important;}
    .ssc {padding-left: 10px; padding-right: 10px;}
    
    .fr-sec, #fsl {padding-top: 20px; padding-bottom: 20px;}
    #slider {padding-bottom: 20px;}
    #main {margin-top: -20px; padding-top: 20px; padding-bottom: 20px}
    body .sltop .sl-img {bottom: -20px;}
    .sid + * {padding-left: 20px}
    .sid-pd {padding: 10px 20px;}
    .contrcc > *, .ccsec > * {margin-top: 20px;}
    .e-form {padding: 20px;}
    .e-cont.c-col {padding-right: 20px;}
    body .evcalendar1 {border-width: 20px}
    .yt-sec {padding: 20px;}
    
    .a-pgt {margin-top: 20px;}
    
    .sbncc {padding: 40px 20px;}
    .sbn-ttl {font-size: 20px; line-height: 24px;}
    .sbnc:before, .sbnc:after {width: 20px; height: 20px; bottom: -20px; border-bottom-width: 20px;}
    .sbnc:after {left: 20px;}
    .sid-bns {margin-bottom: 20px;}
    .sid-orn {margin-top: 20px;}
    
    #main .e-ttl {margin-bottom: 25px; padding-left: 25px}
    
    .lpsts-l, .fsl-l {width: 100%; padding-right: 0px; padding-bottom: 25px;}
    .lpsts-r, .fsl-r {width: 100%;}
    .fsl-r {padding-left: 25px;}
    .fsl-q.aji {top: -20px; width: 150px;}
    
    body .slcm .sl-cont {font-size: 16px; line-height: 28px;}
    body .slcm .sl-ttl {font-size: 18px; line-height: 24px; margin-top: 15px;}
    body .slcm .slncpn, body .slex .slncpn {width: 40px;}
    body .slcm .slncpn > *, body .slex .slncpn > * {width: 40px; height: 40px;}
    body .slcm .slsc {padding-right: 65px;}
    
    .frgrid-l {width: 100%; padding: 20px 60px 20px 0px;}
    .frgrid-r {width: 100%;}
    .orn-rb.aji, .orn-rb .ajic {display: none !important}
    body .slex .slncpn {top: -100px; right: 0px;}
    
    body .eg-dc {padding: 20px;}
    body .eg-t {font-size: 18px; line-height: 22px;}
    body .eg-tx {font-size: 16px; line-height: 22px;}
    body .slex .eg-item {min-height: 220px;}
    
    body .eg-dc, .frgr-txr, .frgr-tr, body .slicons .ic-item {padding: 20px;}
    body .frgr-tl:before, body .frgr-tl:after {width: 20px; height: 20px; bottom: -20px; border-bottom-width: 20px;}
    body .frgr-tl:after {right: -20px; bottom: -20px;}
    body .slicons .sln {padding-left: 20px; padding-top: 20px;}
    body .slicons .ic-item {padding-top: 60px;}
    .frgr-q.aji {bottom: 15px; right: 20px;}
    .frgr-tr {padding-bottom: 60px;}
    .frgr-ttl {font-size: 18px; line-height: 24px;}
    .frgr-txt {font-size: 14px; line-height: 22px;}
}
@media all and (max-width: 1100px){
    .contrc {overflow: hidden;}
}
@media all and (max-width: 1050px){
    body.mactive #hd {background-color: #0f2c54}
    #menu {background-color: #0f2c54; border-top: 1px solid rgba(255,255,255,0.2); position: fixed; top: 60px; left: 0px; bottom: 0px; transform: translateX(-100%); -webkit-transform: translateX(-100%); -moz-transform: translateX(-100%); -o-transform: translateX(-100%); -ms-transform: translateX(-100%); display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;}
    body.mactive #menu {transform: translateX(0px); -webkit-transform: translateX(0px); -moz-transform: translateX(0px); -o-transform: translateX(0px); -ms-transform: translateX(0px);}
    body.mactive #hd {top: 0px !important}
    body.mactive .zw-wi.visible {transform: scale(0); -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); -ms-transform: scale(0);}
    #h-menu {padding-left: 0px; max-height: 100%; overflow-y: auto;}
    #h-menu ul {text-align: center; overflow: auto !important; white-space: initial !important}
    #h-menu > ul > li {width: 100%;}
    #h-menu > ul > li > a {border-bottom: 1px solid rgba(255,255,255,0.2); font-size: 18px; width: 100%; padding: 10px !important;}
    #h-menu > ul > li:first-child > a {border-top: 1px solid rgba(255,255,255,0.2);}
    #hd-t {padding-left: 54px; padding-top: 10px !important; padding-bottom: 10px !important; padding-right: 45px;}
    #logo {width: 54px;}
    #logo a {height: 54px;}
    body.sc1 #logo a {height: 54px;}
    #sliderb {padding-top: 60px;}
    body.sc2 #hd {top: -60px;}
    #menubutton {display: -webkit-box;display: -ms-flexbox;display: flex}
    .csi > * {width: 40px; height: 40px;}
    .hdt-col {padding-right: 10px;}
    .aa-menu .aa-sep {margin-left: 5px}
}
@media all and (min-width: 961px){
    .sid {display: inline-block !important}
}
@media all and (max-width: 960px){
    #sidbtn {display: inline-block}
    #main {padding-top: 10px}
    .sid {width: 100%; display: none;}
    .sid + * {width: 100%; padding-left: 0px; margin-top: 20px;}
    .sid-pd {padding: 5px 10px;}
    
    .e-cont {font-size: 14px;}
    
    body .sbox input {line-height: 40px; padding-right: 50px; height: 40px;}
    body #srpopcc {padding-left: 50px; padding-right: 10px;}
    body .srpop-cl2 {width: 40px; line-height: 40px;}
    body .sbox button {width: 40px;}
    body .sbox button span {background-size: 22px auto;}
    
    .sbn {width: 400px; max-width: 100%;}
    .yt-sec {padding: 5px;}
}
@media all and (max-width: 900px){
    .frgrid-t {display: inline-block !important;}
    .frgrid-t > * {width: 100%;}
    .frgr-tl .aji, .frgr-tl .ajic {position: relative; display: inline-block; float: left; width: 100%;}
    .frgr-tl .ajic {padding-top: 70%;}
    
    .b-ttl > * {padding-left: 15px;}
    #main .e-ttlc,
    .b-ttl-c, #main .b-ttl-c {font-size: 26px; line-height: 32px;}
    .b-ttl.small .b-ttl-c, #main .b-ttl.small .b-ttl-c {font-size: 20px; line-height: 26px;}
    .lsppc {padding-left: 15px; padding-right: 15px;}
    .cdrds {padding-left: 15px !important}
    
    #main .e-ttl {margin-bottom: 20px; padding-left: 15px}
    
    #slider .b-ttl-c {font-size: 20px !important; line-height: 26px !important;}
    body .bn-l {padding: 30px 30px 30px 0px !important; width: 45% !important}
    body .sltop {width: 55%;}
    .bn-btn {padding-left: 0px;}
    .bn-btn a > * {font-size: 14px; padding-left: 10px; padding-right: 10px;}
    .bn-btn .bn-btn-2 > * {padding-right: 10px;}
    
    .zw-wi {padding: 5px 10px;}
    
    .fpps {text-align: left; margin-left: -5px; width: calc(100% + 10px); max-width: calc(100% + 10px)}
    .fpp {width: 25%; padding-left: 5px; padding-right: 5px; padding-top: 20px;}
    .fpp:nth-child(4n+1) {clear: none;}
    .fpp:nth-child(4n+1) {clear: both !important;}
    .fpp:nth-child(5) {padding-top: 20px;}
}
@media all and (max-width: 800px){
    body .slex .sl {display: inline-block !important; width: 100%;}
    body .slex .eg-item {width: 50%; margin-top: 10px; float: left; display: inline-block; clear: none; min-height: initial;}
    body .eg-ic, body .eg-ic .aji, body .eg-i .ajic {position: relative; width: 400px; max-width: 100%; display: inline-block; vertical-align: top; float: none}
    body .eg-i .ajic {padding-top: 60%;}
    body .slex .eg-item:nth-child(odd) {clear: both;}
    body .slex .eg-item:nth-child(1), body .slex .eg-item:nth-child(2) {margin-top: 0px;}
    body .eg-dc:before {display: none}
    body .slex .eg-item.eg-d .eg-dc {padding-right: 0px !important}
    body .eg-dc > * {margin-top: 15px;}
    .e-cont ol ol, .e-cont ul ol, .e-cont ul ul {padding-left: 0px;}
    .e-cont ol > li {padding-left: 5px;}
    .e-cont ul ul {margin-left: -20px;}
    .gall .gall-item {width: 20%;}
    
    body .evcalendar1 {border-width: 0px}
    body .evcalendar1 .fc-day-header {font-size: 14px; line-height: 18px;}
}
@media all and (max-width: 700px){
    #frnews .lspp {width: 50%; margin-top: 20px;}
    #frnews .lspp:first-child, #frnews .lspp:nth-child(2) {margin-top: 0px;}
    #frnews .lspp:nth-child(odd) {clear: both;}
    #frnews .lspp:nth-child(even) {clear: none;}
    #frnews .lspp:nth-child(3) {margin-top: 20px;}
    #frnews .lspp:nth-child(odd):last-child {display: none}
    
    .e-form, .e-form.c-col {width: 100%; padding: 10px;}
    .e-cont.c-col {padding-right: 0px; width: 100%; padding-bottom: 20px;}
    
    
    .lspp {width: 50%; margin-top: 20px;}
    .lspp:nth-child(odd) {clear: both;}
    .lspp:nth-child(even) {clear: none;}
    .lspp:nth-child(3) {margin-top: 20px;}
    .lsppt {font-size: 18px; line-height: 22px;}
    .lsppc > * {margin-top: 10px;}
    
    
    #main .e-ttlc,
    .b-ttl-c, #main .b-ttl-c {font-size: 20px; line-height: 26px;}
}
@media all and (max-width: 600px){
    #copnovc > *.c-col, #copnovc > *.v-col {width: 100%; padding-left: 0px !important; padding-right: 0px !important;}
    #copyright, #noveo {text-align: center;}
    .f-col {width: 100%; text-align: center; padding-top: 30px; padding-left: 0px !important; padding-right: 0px !important; float: left;}
    .f-col:nth-child(2) {padding-top: 30px}
    
    .fsl-q.aji {display: none !important}
    .fsl-r {padding-left: 0px;}
    body .slcm .slsc {padding-right: 0px;}
    body .slcm .sl-cont {font-size: 14px; line-height: 24px;}
    body .slcm .sl-ttl {font-size: 16px; line-height: 22px; margin-top: 10px;}
    body .slcm .sln {margin-top: 15px;}
    body .slcm .slnp {text-align: center; padding-left: 50px; padding-right: 50px; padding-top: 5px; padding-bottom: 5px;}
    body .slcm .slncpn {width: 100%; left: 0px; bottom: 0px; right: 0px; top: initial; height: 0px;}
    body .slcm .slajpn {float: left; position: relative; clear: none; margin-top: -40px;}
    body .slcm .slajnn {float: right; position: relative; margin-top: -40px;}
    body .slcm .slnp button {}
    
    body .slicons .ic-i .aji {text-align: center}
    body .slicons .ic-i .ajic {height: 40px; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; float: none; vertical-align: top; margin: 0 auto}
    body .slicons .ic-i .ajldr {left: 50%; margin-left: -8px;}
    body .slicons .ic-t {text-align: center;}
    body .slicons .ic-item {padding: 10px; padding-top: 50px;}
    body .slicons .sln {padding-left: 10px; padding-top: 10px;}
    
    body .sltop .slsc, body .sltop .sl, #slider-bgcc {-webkit-transform: translateX(0px) translateY(0px) !important;-ms-transform: translateX(0px) translateY(0px) !important;transform: translateX(0px) translateY(0px) !important}
    body .sltop .slsx {animation: none !important; -webkit-animation: none !important;}
    body #slider-bgc {animation: none !important; -webkit-animation: none !important;}
    body .sltop .slsx {padding-left: 0px; padding-right: 40px;}
    
    #slider {padding-bottom: 0px;}
    #main {margin-top: 0px;}
    body .sltop .sl-img {bottom: 0px;}
    body .bn-l {padding: 20px 0px 20px 0px !important; width: 100% !important;}
    body .sltop .sl-img {display: none !important}
    body .sltop .sl-img img {max-height: 100% !important}
    body .sltop .slsx {padding-top: 20px; padding-bottom: 20px; padding-left: 0px;}
    body .sltop .sl.sl-item {padding-top: 35%;}
    body .sltop {position: relative; width: 100%; display: none !important}
    
    .fpp {width: 33.333%;}
    .fpp:nth-child(4n+1) {clear: none !important;}
    body .fpp:nth-child(3n+1) {clear: both !important;}
    .fpp:nth-child(4) {padding-top: 20px;}
    .gall .gall-item {width: 25%;}
}
@media all and (max-width: 500px){
    body .slex .eg-item {width: 100%;}
    body .slex .eg-item.eg-d {margin-top: 0px;}
    body .slex .eg-item.eg-d .eg-dc {padding-left: 0px !important}
    body .eg-i {text-align: center;}
    body .eg-ic, body .eg-ic .aji, body .eg-i .ajic, .frgr-txl .aji, .frgr-txl .ajic {position: relative; width: 400px; max-width: 100%; display: inline-block; vertical-align: top; float: none}
    body .eg-i .ajic, .frgr-txl .ajic {padding-top: 60%;}
    body .eg-dc {text-align: center;}
    
    .frgr-tx {display: inline-block !important}
    .frgr-tx > *, .frgr-tx > * > * {width: 100%; text-align: center}
    .frgr-txr {padding: 0px; padding-top: 15px;}
    
    .frgr-t {display: inline-block !important}
    .frgr-t > * {width: 100%;}
    .frgr-tr {padding-left: 0px; padding-right: 0px; padding-top: 40px;}
    .frgr-ttl {text-align: center;}
    .frgr-tl:before {left: 0px !important; right: none;}
    .frgr-tl:after {left: 20px !important; right: none}
    
    #frnews .lspp {width: 100%;}
    #frnews .lspp:nth-child(2) {margin-top: 20px;}
    #frnews .lspp:nth-child(odd):last-child {display: inline-block}
    
    #frnews .lspp {width: 100%;}
    #frnews .lspp:nth-child(2) {margin-top: 20px;}
    #frnews .lspp:nth-child(odd):last-child {display: inline-block}
    
    .hdt-col {padding-right: 0px;}
    #hd .csi {padding-right: 1px;}
    .aa-menu .aa-sep {padding-left: 5px; padding-right: 4px;}
    #hd-t {padding-right: 41px;}
    /*.csi > * {width: 34px; height: 34px;}*/
    #hdc {padding-right: 1px;}
    .aa-menu .aa-sep {margin-left: 0px}
}
@media all and (max-width: 460px){
    .lspp {width: 100%;}
    .lspp:nth-child(2) {margin-top: 20px;}
}
@media all and (max-width: 400px){
    .fpps {margin-left: 0px; width: 100%; max-width: 100%}
    .fpp {width: 50%;}
    body .fpp:nth-child(odd) {clear: both !important; padding-left: 0px;}
    body .fpp:nth-child(even) {clear: none !important; padding-right: 0px;}
    .fpp:nth-child(3) {padding-top: 20px;}
    .gall .gall-item {width: 33.333%;}
}
@media all and (max-width: 350px){
    body .slicons .ic-item {width: 100%; padding-top: 10px; }
    body .slicons .ic-item:nth-child(2) {border-top: 1px solid rgba(0,0,0,0.05)}
    body .slicons .sln {position: relative; display: inline-block; padding-left: 0px;}
    body .slicons:before {display: none;}
    body .slicons .slnp {text-align: center;}
    /*body .slicons {padding-top: 30px;}*/
}
@media all and (max-width: 335px){
    .hdt-csis {display: none !important}
}
@media all and (max-width: 300px){
    .fpp {width: 100%; padding-left: 0px !important; padding-right: 0px !important}
    .fpp:nth-child(2) {padding-top: 20px;}
    .gall .gall-item {width: 50%;}
}