/* TOP CSS */

/* --------------------------------------

Base settings

---------------------------------------*/
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}


a:hover{
    opacity: 0.8;
}

.pc-hyde {
    display: none;
}

.line0 {
    line-height: 0;
}

::selection {
    background: #e0f5ff;
}

::placeholder {
    color: #999;
}

.mustcenter {
    margin: 0 auto !important;
}

.font-nomal {
    font-weight: normal;
}

.overflow-hidden {
    overflow: hidden;
}

.textwidget,
.textwidget p {
    display: inline !important;
}

#toggle {
    display: none;
}

a .fa {
    color: #2a9968;
    font-size: 24px;
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}




input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 10px;
    border: none;
    background: #f6f6f6;
}

textarea {
    height: 244px;
}



/* --------------------------------------

layout

---------------------------------------*/

.wide {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ddd;
    padding: 40px;
}



.wrapper {
    max-width: 1000px;
    width: 92%;
    margin: 0 auto;
    position: relative;
}

.box {
    padding-top: 60px;
    padding-bottom: 60px;
}

.vmiddle {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    /* Safari用 */
    transform: translateY(-50%);
    z-index: 9;
}


/*-------- flexbox --------*/

.flexbox {
    -webkit-justify-content: space-between;
    /* Safari */
    justify-content: space-between;
    display: -webkit-flex;
    /* Safari */
    display: flex;
    -webkit-flex-wrap: wrap;
    /* Safari */
    flex-wrap: wrap;
}

.flexbox.col2 > .item {
    width: 48.5%;
}

.flexbox.col3 > .item {
    width: 32%;
}

.flexbox.col3 > .item.double {
    width: 64%;
}

.flexbox.col4 > .item {
    width: 24%;
}

.flexbox.col5 > .item {
    width: 18%;
}

.flexbox.col6 > .item {
    width: 16%;
}


.flexbox.balance > .item {
    flex: 1;
}
}


@charset "utf-8";
/* CSS Document */

/* common CSS */

/* ================= common =====================

align
float
margin
hack
form

============================================ */


/* ------------------ text-right -------------- */

.text-right {
    text-align: right;
}

/* ------------------ text-left -------------- */

.text-left {
    text-align: left;
}

/* ------------------ text-center -------------- */

.text-center {
    text-align: center;
}


/* =============================================================
float
============================================================= */

/* ------------------ float ------------------ */
.clear {
    clear: both;
}



.clearbox:after {
    content: "";
    display: block;
    clear: both;
    height: 0px;
}

.clearbox {
    height: 100%;
}


/* =============================================================
margin
============================================================= */

/* -------------- top -------------- */
.top5 {
    margin-top: 5px;
}

.top10 {
    margin-top: 10px;
}

.top20 {
    margin-top: 20px;
}

.top30 {
    margin-top: 30px;
}

.top40 {
    margin-top: 40px;
}


.top50 {
    margin-top: 50px;
}

.p-top10 {
    padding-top: 20px;
}

.p-top20 {
    padding-top: 20px;
}

/* -------------- bottom -------------- */
.bottom5 {
    margin-bottom: 5px;
}

.bottom10 {
    margin-bottom: 10px;
}

.bottom15 {
    margin-bottom: 15px;
}

.bottom20 {
    margin-bottom: 20px;
}

.bottom30 {
    margin-bottom: 30px;
}

.bottom40 {
    margin-bottom: 40px;
}

.bottom50 {
    margin-bottom: 50px;
}

.bottom60 {
    margin-bottom: 60px;
}

.bottom80 {
    margin-bottom: 80px;
}

.bottom250 {
    margin-bottom: 250px;
}

/* -------------- left -------------- */
.left10 {
    margin-left: 10px;
}

.left20 {
    margin-left: 20px;
}

.left50 {
    margin-left: 50px;
}

.left80 {
    margin-left: 80px;
}

.left15 {
    margin-left: 15px;
}

/* -------------- right -------------- */


.right5 {
    margin-right: 5px;
}

.right10 {
    margin-right: 10px;
}

.right20 {
    margin-right: 20px;
}

.right15 {
    margin-right: 15px;
}



/* =============================================================
form
============================================================= */



.red {
    color: #F00;
}

.red-bold {
    color: #bc312e;
    font-weight: bold;
}

.blue {
    color: #54bedc;
}

.blue-bold {
    color: #263d79;
    font-weight: bold;
}

.pink {
    color: #df6182;
}

.green {
    color: #2a9968;
}
 
.gray {
    color: #777777;
}


.orange {
    color: #fe9704;
}


.yellow {
    font-weight: bold;
    color: #FFFF66;
    font-size: 12px;
}


table {
    width: 100%;
    border-top: 1px dashed #e4e4e4;
    border-right: 1px dashed #e4e4e4;
}

th {
    background: #f4f4f4;
    width: 33%;
}

td,
th {
    padding: 16px;
    border-bottom: 1px dashed #e4e4e4;
    border-left: 1px dashed #e4e4e4;
    overflow-wrap: break-word;
}

table.none {
    border: none;
    margin: 0 auto;
}

table.none td,
table.none th {
    border-bottom: none;
    border-right: none;
    padding: 0 3px;
}





.font30 {
    font-size: 30px;
    font-weight: bold;
}

.font24 {
    font-size: 24px;
    font-weight: bold;
}

.font16 {
    font-size: 16px;
}

.font18 {
    font-size: 18px;
}

.font14 {
    font-size: 14px;
}

.font12 {
    font-size: 12px;
}

h1,
h2,
h3,
h4 {
    margin: 0;
}


/* --------------------------------------

customize

---------------------------------------*/



/* ------------- btn -------------*/

.wp-block-buttons>.wp-block-button{
    width: 100%;
}

.wp-block-button__link {
    display: block !important;
    background: #008000;
    color: #fff;
    text-align: center;
    width: 33%;
    padding: 10px 20px!important;
    min-width: 180px;
    position: relative;
    font-weight: normal;
    margin: 0 auto;
}




.wp-block-button__link:hover {
   opacity: 0.8;
}


/* ------------- dummy -------------*/

.front-kajinot-dummy a{
    display: block!important;
}

.front-kajinot-dummy img{
    height: 200px!important;
    width: 100%!important;
}

/* ------------- slide -------------*/

.slide-item h3{
    margin-top: 0.5em!important;
}

.slide-item img{
    width: 100%;
    height: auto;
}

.slick-dots{
    background: #f4f4f4;
    padding-bottom: 0.2em!important;
    border-radius: 100px;
    width: clamp(50px, 10vw, 150px)!important;
    margin: 0 auto 1em!important;
    bottom: auto!important;
    top: 10px;
    right: 10px;
}


/* ------------- flexbox -------------*/

.flexbox
{
    margin-bottom: 1em;
}

.flexbox .item h3
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.flexbox.col2{
    text-align: center;
}


/* ------------- page-forfront -------------*/

.page-forfront h2{
    text-align: center;
    font-size: 1.8em!important;
}


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

.header{
    position: relative;
    z-index: 99999!important;
}

.header-image{
    position: relative;
}

.header-image:after
{
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
}

.header-image__text{
    position: relative;
    z-index: 99;
    padding-top: 3em!important;
    padding-bottom: 3em!important;
}


.sidebar .widget{
    border: none!important;
    margin-bottom: 1rem!important;
}

.sidebar .widget p{
    margin: 0;
}

/* --------------------------------------

sp

---------------------------------------*/

@media screen and (max-width: 960px) {
    .flexbox {
        display: block;
    }

    .flexbox .item {
        width: 100% !important;
    }
    
    
    .flexbox .item img{
        width: 100%;
        height: auto;
    }



    footer {
        text-align: center;
    }

    footer h2 {
        font-size: 1.2rem
    }

    footer p {
        margin-bottom: 4vw;
    }


    .wp-block-button__link {
        font-size: 1.2rem;
        width: 80%!important;
    }
}
