/* CSS */
.m_main_contents .m_article h1,
.m_article h2,
.m_article h3,
.m_article h4,
.m_article h5,
.m_article h6 {
    font-weight: 300;
    color: var(--main-font-color);
}

/*デザイン*/
.m_article article h1 {
    font-size: 2em;
    line-height: 1.2;
    padding: 10px 20px;
    margin-bottom: 16px;
    color: var(--main-font-color);
}

.m_article article h2 {
    font-size: 1.8em;
    line-height: 1.2;
    padding: 10px 30px;
    margin: 30px 0 16px 0;
    border-radius: 10px;
    background: var(--main-bg-color);
}

.m_article article h3 {
    font-size: 1.5em;
    line-height: 1.3;
    padding: 10px 20px;
    margin: 16px 0;
    border-top: 3px dotted var(--main-accent-color);
    border-bottom: 3px dotted var(--main-accent-color);
    background: var(--main--bg-color);
}

.m_article article h4 {
    font-size: 1.4em;
    line-height: 1.3;
    padding: 10px 30px 10px 25px;
    margin-bottom: 16px;
    border-left: 5px solid var(--main-accent-color);
}

.m_article article h5 {
    font-size: 1.25em;
    line-height: 1.4;
    padding: 10px;
    margin-bottom: 16px;
    border-bottom: 3px solid var(--main-accent-color);
}

.m_article article h6 {
    font-size: 1em;
    line-height: 1.4;
    padding: 10px;
    margin-bottom: 16px;
    border-bottom: 3px dotted var(--main-accent-color);
}

.m_article ul {
    margin-bottom: 30px;
    list-style-type: disc;
    margin-left: 20px;
}

.m_article ul {
    margin-bottom: 30px;
    list-style-type: disc;
    margin-left: 20px;
}


blockquote {
    position: relative;
    padding: 10px 15px 10px 60px;
    box-sizing: border-box;
    font-style: italic;
    background: #F4F4F4;
    border-left: 4px solid var(--main-accent-color);
}

blockquote:before {
    display: inline-block;
    position: absolute;
    top: 15px;
    left: 15px;
    content: "\f10d";
    font-family: FontAwesome;
    color: var(--main-accent-color);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

blockquote p {
    padding: 0;
    margin: 7px 0;
    line-height: 1.7;
}

blockquote cite {
    display: block;
    text-align: right;
    color: #888888;
    font-size: 0.9em;
}

/* Contact Form */
.wpcf7 input,
.wpcf7 textarea {
    transition: 0.3s;
    letter-spacing: 1px;
    border: 1px solid white;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
    border-radius: 4px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border: 1px solid #aaaaaa;
    outline: none;
    box-shadow: 0 0 5px 1px rgba(170, 170, 170, .5);
}

/* button01 */
.m_button01 a {
    background: #fff;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 280px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 300;
}

.m_button01 a:hover {
    background: #313131;
    color: #fff;
}

.m_button01 i {
    content: '';
    position: absolute;
    top: 30%;
    right: 20px;
    border-radius: 1px;
}

.m_button01 a:hover:after {
    border-color: #FFF;
}

/* button02 */
.m_button02 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 240px;
    padding: 10px 25px;
    color: var(--main-accent-color);
    transition: 1s all;
    font-weight: 300;
    background: white;
    border-radius: 3px;
    border-radius: 50px;
}

.m_button02 a:after {
    position: absolute;
    top: 50%;
    right: 10px;
    transition: 1s all;
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transform: translateY(-50%);
}

.m_button02 a:hover {
    transform: scale(0.95, 0.95);
    transition: 1s all;
}

/* button03 */
.m_button03 a {
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 220px;
    padding: 10px 25px;
    color: #FFF;
    transition: all 0.5s ease-in-out;
    font-weight: 300;
    /* background: rgb(149, 202, 252); */
    background-color: #0093E9;
    background-image: linear-gradient(119deg, #0093E9 0%, #80D0C7 100%);
}

.m_button03 a:hover {
    transform: scale(0.95, 0.95);
    transition: 1s all;
    background-image: linear-gradient(180deg, #0093E9 0%, #80D0C7 100%);
}

/* button04 */
/*矢印が右に移動する*/
.m_button04 {
    /*矢印と下線の基点とするためrelativeを指定*/
    position: relative;
    /*形状*/
    display: inline-block;
    padding: 0 30px;
    color: #333;
    text-decoration: none;
    outline: none;
    font-style: italic;
}

/*矢印と下線の形状*/
.m_button04::before {
    content: '';
    /*絶対配置で下線の位置を決める*/
    position: absolute;
    bottom: -8px;
    left: 15%;
    /*下線の形状*/
    width: 85%;
    height: 1px;
    background: #333;
    /*アニメーションの指定*/
    transition: all .3s;
}

.m_button04::after {
    content: '';
    /*絶対配置で矢印の位置を決める*/
    position: absolute;
    bottom: -3px;
    right: 0;
    /*矢印の形状*/
    width: 15px;
    height: 1px;
    background: #333;
    transform: rotate(35deg);
    /*アニメーションの指定*/
    transition: all .3s;
}

/*hoverした際の移動*/
.m_button04:hover::before {
    left: 20%;
}

.m_button04:hover::after {
    right: -5%;
}

/* Main Visual Slider01 */
.m_mainVisual_container {
    background: var(--main--bg-color);
    overflow: hidden;
}

.m_mainVisual_slider01 {
    width: 1140px;
    margin: 0 auto;
    padding: 40px 0px 0 0;
    height: 310px;
}

.m_mainVisual_slider01 .slide-content {
    position: relative;
    width: 100%;
}

.m_mainVisual_slider01 .slide-content img {
    width: 260px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 6px;
    transition-duration: 0.5s;
}

.m_mainVisual_slider01 .slide-content img:hover {
    scale: 0.9;
}

.m_mainVisual_slider01 .slide-content h3,
.m_mainVisual_slider01 .slide-content p {
    position: absolute;
    left: 0;
    margin: 0;
    color: var(--main-font-color);
    font-weight: 300;
}

.m_mainVisual_slider01 .slide-content h3 {
    font-size: 1em;
    font-weight: bold;
    width: 260px;
    top: 166px;
}

.m_mainVisual_slider01 .slide-content p {
    top: 230px;
    font-size: 0.8em;
}

/* Main Visual Slider02 */
.m_mainVisual_slider02 {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 0px 0px 0;
    height: 420px;
}

.m_mainVisual_slider02 .slide-content {
    position: relative;
    width: 100%;
}

.m_mainVisual_slider02 .slide-content img {
    width: 50%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.m_mainVisual_slider02 .slide-content h3,
.m_mainVisual_slider02 .slide-content p {
    position: absolute;
    top: 20%;
    left: 54%;
    margin: 0;
    color: var(--main-font-color);
    font-weight: 300;
    max-width: 46%;
}

.m_mainVisual_slider02 .slide-content h3 {
    font-size: 1.75em;
    font-weight: 400;
}

.m_mainVisual_slider02 .slide-content p {
    top: 10%;
}

.m_mainVisual_slider02 .slide-content .m_button04 {
    position: absolute;
    bottom: 10%;
    right: 10;
    margin: 0;
    color: var(--main-font-color);
    font-weight: 300;
}

.m_slant_bg {
    background-color: #FEF2F6 !important;
    position: relative;
    z-index: 1;
}

.m_slant_bg::before {
    content: '';
    position: absolute;
    height: 300px;
    width: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FDD4DF;
    transform: skewY(-7deg) translateY(-90px);
    z-index: -1;
}



/* 長方形 スライドドット */
.slide-square {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.slide-square li {
    margin-right: 5px;
    list-style: none;
}

.slide-square li button {
    font-size: 0;
    width: 20px;
    height: 4px;
    background-color: var(--main-accent-color);
    opacity: 0.4;
    border-radius: 2px;
    display: flex;
}

.slide-square li.slick-active button {
    opacity: 1;
    width: 40px;
}

/* 丸 スライドドット */
.slide-dots {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}

.slide-dots li {
    margin-right: 10px;
    list-style: none;
}

.slide-dots li button {
    font-size: 0;
    width: 6px;
    height: 6px;
    background-color: var(--main-accent-color);
    opacity: 0.4;
    border-radius: 50%;
    display: flex;
}

.slide-dots li.slick-active button {
    opacity: 1;
    width: 10px;
    height: 10px;
    /* width: 40px; */
}


/* Small devices (sm 769px-992px) */
@media (max-width: 992px) {

    /* Main Visual Slider02 */
    .m_mainVisual_slider02 {
        width: 750px;
        padding: 20px 0px 20px 0;
        height: 280px;
    }

    .m_mainVisual_slider02 .slide-content h3 {
        font-size: 1.45em;
    }

    .m_mainVisual_slider02 .slide-content p {
        font-size: 0.8em;
    }
}


/* Extra-Small devices (xs -768px) */
@media (max-width: 768px) {

    /* Main Visual Slider */
    .m_mainVisual_container {
        margin-right: 10px;
    }

    .m_mainVisual_slider01 {
        width: 740px;
        padding: 20px 0 0 0;
        height: 290px;
    }

    .m_mainVisual_slider01 .slide-content img {
        width: 230px;
    }

    .m_mainVisual_slider01 .slide-content h3 {
        width: 230px;
        top: 146px;
    }

    .m_mainVisual_slider01 .slide-content p {
        top: 210px;
    }


    /* Slider 02 */
    .m_mainVisual_slider02 {
        height: 230px;
    }

    .m_mainVisual_slider02 .slide-content {}

    .m_mainVisual_slider02 .slide-content img {
        width: 40%;
    }

    .m_mainVisual_slider02 .slide-content h3,
    .m_mainVisual_slider02 .slide-content p {
        top: 0%;
        left: 42%;
        margin: 0;
        max-width: 230px;
    }

    .m_mainVisual_slider02 .slide-content h3 {
        top: 20%;
    }

    .m_mainVisual_slider02 .m_button04 {
        display: none;
    }
}


@media (max-width: 576px) {
    h1.m_article_title {
        font-size: 1.2em;
    }

    .m_article article h1 {
        font-size: 1.6em;
        line-height: 1.2;
        padding: 20px 30px;
        margin-bottom: 16px;
        color: var(--main-font-color);
        font-weight: bold;
    }

    .m_article article h2 {
        font-size: 1.4em;
        line-height: 1.2;
        padding: 10px;
        margin-bottom: 16px;
        border-radius: 10px;
        background: var(--main-bg-color);
        font-weight: bold;
    }

    .m_article article h3 {
        font-size: 1.1em;
        line-height: 1.3;
        padding: 10px;
        margin: 16px 0;
        border-top: 3px dotted var(--main-accent-color);
        border-bottom: 3px dotted var(--main-accent-color);
        background: var(--main--bg-color);
        font-weight: bold;
    }

    .m_article article h4 {
        font-size: 1em;
        line-height: 1.3;
        padding: 10px;
        margin-bottom: 16px;
        border-left: 5px solid var(--main-accent-color);
        font-weight: bold;
    }

    .m_article article h5 {
        font-size: 1em;
        line-height: 1.4;
        padding: 10px;
        margin-bottom: 16px;
        border-bottom: 3px solid var(--main-accent-color);
        font-weight: bold;
    }

    .m_article article h6 {
        font-size: 1em;
        line-height: 1.4;
        padding: 10px;
        margin-bottom: 16px;
        border-bottom: 3px dotted var(--main-accent-color);
        font-weight: bold;
    }


    .m_mainVisual_slider02 {
        height: 400px;
        width: 100%;
        margin-top: 10px;
    }

    .m_mainVisual_slider02 .slide-content {
        height: 280px;
    }

    .m_mainVisual_slider02 .slide-content img {
        width: 100%;
        height: 280px;
        object-fit: cover;
    }

    .m_mainVisual_slider02 .slide-content h3,
    .m_mainVisual_slider02 .slide-content p {
        top: 290px;
        left: 0%;
        margin: 0;
        max-width: 100%;
    }

    .m_mainVisual_slider02 .slide-content h3 {
        top: 310px;
        font-size: 1.1em;
    }

    .m_mainVisual_slider02.slick-dotted.slick-slider {
        margin-bottom: 10px !important;
    }
}