/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.18.2
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
:root {
    --fs-color-black: #000000;
    --fs-color-white: #ffffff;
    --fs-color-grey: #cccccc;
    --FontAwesome: 'Font Awesome 7 Pro';
    --wpforms-label-size-font-size: 15px !important;
}

body {
    font-size: 15px;
    color: #000;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

.nav-uppercase>li>a {
    font-weight: bold;
    letter-spacing: 0;
    text-transform: uppercase;
}


h2 {
    font-size: 48px;
    margin-bottom: 8px
}

h2.smaller,
.h2.smaller,
.smaller>h2 {
    font-size: 24px;
    margin-bottom: 8px
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
    font-weight: 500;
}

p {
    margin-bottom: 15px;
}

.dark,
.dark p,
.dark td {
    color: var(--fs-color-white);
}

.col.content-center>.col-inner {
    display: grid;
    place-content: center;
}


.col-child-left>.col-inner {
    margin-right: auto !important;
    margin-left: 0 !important;
}

.col-child-center>.col-inner {
    margin-right: auto !important;
    margin-left: auto !important;
}

.col-child-right>.col-inner {
    margin-right: 0 !important;
    margin-left: auto !important;
}

.off-canvas-left .mfp-content,
.off-canvas-right .mfp-content {
    background-color: hsla(0, 0%, 100%, 1);
}

.off-canvas:not(.off-canvas-center) .nav-vertical li>a {
    font-size: 1em;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--color-black);
}

.title-image.img {
    width: fit-content !important;
}

[data-line-height=l] {
    line-height: 1.8 !important;
}

[data-line-height=xl] {
    line-height: 2.15 !important;
}

td {
    color: var(--fs-color-black);
}

td,
th {
    border-bottom: 1px solid #d9dde8;
    font-size: 1em;
    line-height: 2;
    padding: 10px;
    text-align: left;
}

.table-stripe table tbody tr:nth-child(odd) td {
    background: #f8f8fa;
}

.table-stripe table td {
    border: none
}

.table-stripe table tr td:first-child {
    padding-left: 15px;
}

.table-stripe table tr td:last-child {
    padding-right: 15px;
}

/*************** HEADER ***************/

#header .button.is-outline {
    padding: 10px 20px;
}

#header .header-nav-main>li.menu-item:after {
    content: '/';
    color: currentColor;
    margin: 0 1em;
}

#header .header-nav-main>li.html.header-button-1{
    margin-left: 30px;
}



#header .header-nav-main>li.menu-item:hover>a {
    opacity: 70%;
    text-decoration: underline;
}

#header .contact {
    background: #edf5f9;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 60px;
}

#header .contact img {
    width: 26px;
}

#header .contact:hover {
    opacity: 70%;
}

/*************** END HEADER ***************/



/*************** HOME PAGE ***************/
.loop-banner .banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(./assets/images/mv_bg_pc.jpg) repeat-x center top / auto 100%;
    -webkit-animation: bgscroll 100s linear infinite;
    animation: bgscroll 100s linear infinite;
}


@keyframes bgscroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -3600px 0;
    }
}


.wpforms-field.wpforms-field-content.policy-box {
    border: solid 1px #cccccc;
    height: 220px;
    padding: 23px 19px 0 19px !important;
    overflow: auto;
    font-size: 12px;
}

.wpforms-field.wpforms-field-content.kojin {
    max-width: 580px;
    margin: 0 auto;
    font-size: 14px;
}

.wpforms-field.wpforms-field-checkbox.policy-checkbox fieldset {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpforms-container.wpforms-container-full {
    margin-top: 0 !important
}

.wpforms-container.button-center .wpforms-submit-container {
    text-align: center;
}

.wpforms-container .wpforms-submit-container .wpforms-submit {
    padding: 24px 32px;
    border-radius: 0;
    height: auto;
    line-height: 1.5;
}

div.wpforms-container-full input[type=date],
div.wpforms-container-full input[type=datetime],
div.wpforms-container-full input[type=datetime-local],
div.wpforms-container-full input[type=email],
div.wpforms-container-full input[type=month],
div.wpforms-container-full input[type=number],
div.wpforms-container-full input[type=password],
div.wpforms-container-full input[type=range],
div.wpforms-container-full input[type=search],
div.wpforms-container-full input[type=tel],
div.wpforms-container-full input[type=text],
div.wpforms-container-full input[type=time],
div.wpforms-container-full input[type=url],
div.wpforms-container-full input[type=week],
div.wpforms-container-full select,
div.wpforms-container-full textarea,
.wp-core-ui div.wpforms-container-full input[type=date],
.wp-core-ui div.wpforms-container-full input[type=datetime],
.wp-core-ui div.wpforms-container-full input[type=datetime-local],
.wp-core-ui div.wpforms-container-full input[type=email],
.wp-core-ui div.wpforms-container-full input[type=month],
.wp-core-ui div.wpforms-container-full input[type=number],
.wp-core-ui div.wpforms-container-full input[type=password],
.wp-core-ui div.wpforms-container-full input[type=range],
.wp-core-ui div.wpforms-container-full input[type=search],
.wp-core-ui div.wpforms-container-full input[type=tel],
.wp-core-ui div.wpforms-container-full input[type=text],
.wp-core-ui div.wpforms-container-full input[type=time],
.wp-core-ui div.wpforms-container-full input[type=url],
.wp-core-ui div.wpforms-container-full input[type=week],
.wp-core-ui div.wpforms-container-full select,
.wp-core-ui div.wpforms-container-full textarea {
    height: 50px;
    background-color: #f9f9f9;
    border-color: #e6e6e6;
    border-radius: 0;
    font-size: 15px;
}

/*************** END HOME PAGE ***************/


/*************** FOOTER ***************/

#footer .footer-menu-section ul {
    list-style: none;
    margin: 0;
    text-align: center;
}

#footer .footer-menu-section ul li {
    margin: 0;
    position: relative;
    display: inline-block;
    width: fit-content;
    border: none;
    font-size: 14px;
}

#footer .footer-menu-section ul li:after {
    content: '/';
    color: currentColor;
    margin: 0 1em;
}



#footer .footer-menu-section ul li:last-child:after {
    content: unset;
}

#footer .footer-menu-section ul li:hover>a {
    opacity: 70%;
    text-decoration: underline;
}

#footer .absolute-footer {
    color: #4a4a4a;
    font-size: 0.625em;
}

.back-to-top.button {
    --container-width: 1200px;
    --margin: calc(100vw - var(--container-width));
    --half-margin: calc(var(--margin) / 2);
    right: var(--half-margin);
    bottom: 0;

    width: 66px;
    height: 66px;
    border: none;
    background-color: var(--fs-color-primary);
    color: var(--fs-color-white);
    border-radius: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: url(./assets/images/totop_pc.jpg) no-repeat center / cover;
}

.back-to-top.button i {
    display: none;
}

/*************** END FOOTER ***************/
@media only screen and (max-width: 1229px) {
    .back-to-top.button {
        right: 15px;
        width: 55px;
        height: 55px
    }
}


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

    /*************** ADD TABLET CSS HERE  ***************/
    #header .header-main {
        height: 60px;
    }

    #header.header.show-on-scroll,
    #header .stuck .header-main {
        height: 60px !important;
    }

    #header #logo img {
        max-height: 60px;
    }
	
	#header .medium-logo-left .flex-right {
        flex: 6 1 0;
    }

    h2 {
        font-size: 36px;
        margin-bottom: 4px;
    }

    h2.smaller,
    .h2.smaller,
    .smaller>h2 {
        font-size: 20px;
    }

    .medium-pb-0 {
        padding-bottom: 0 !important;
    }

    td,
    th {
        font-size: 13px;
    }

    #footer {
        border-top: solid 1px #dfdfdf;
    }

}

@media only screen and (max-width: 549px) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
}