@charset "utf-8";

/* CSS Document */


/* ========================================================== Media Queries CSS

　Media Queries

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




/*max-width: 1024px*/

@media screen and (max-width: 1024px) {
    #secondary {}
    .sidebar {}
    .site-branding {
        width: 230px;
    }
    .site-header-main {
        width: calc(100% - 40px);
        padding-bottom: 20px;
    }
    .site-content {
        width: calc(100% - 40px);
        /* margin: 0 20px; */
    }
}

@media screen and (max-width:900px){
    .mylife-header-menu nav {
        width: 100%
    }
    #post-2 .mainbanner ul li a {
        width: auto;
    }
    .entry-header, .entry-summary, .entry-content, .entry-footer, .page-content {
        margin: 0;
    }
    #secondary {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .sidebarbanner ul{
        flex-direction: row;
    }
    .sidebarbanner ul li:nth-child(2) {
        margin: 0 10px 10px;
    }
    .main-navigation .primary-menu {
        flex-direction: column;
        -webkit-flex-direction:column;
    }
    .clientPlof p {
        margin: 0;
    }
    .lp_mainiInner {
        width: calc(100% - 40px);
    }
    .lp_mainimage {
        max-height: 600px;

    }
    .ip_contentInner {
        width: calc(100% - 40px );
    }
    .newparagraph {
        display: block;
        font-weight: bold;
        margin-bottom: -2em;
    }
    .seminar_hl2, .seminar_hl3 {
        font-size: 33px !important;
    }
    table, th, td {
    }
    .table-contactform7 tr {
        padding: 10px;
    }
}

@media screen and (max-width: 768px) {
    #home .site-content {
        width: 100%;
        margin: 0;
    }
    #home .entry-content {
        margin: 0;
    }
    .site-branding {
        margin: 0.875em auto 0 0;
    }
    .mylife-header-menu nav {
        width: 100%;
    }
    #viewer {
        height: 400px
    }
    #siteTheme {
        top: 0;
        position: relative;
        margin-bottom: 40px;
    }
    
.glide__wrapper {
    position: relative;
    width: 100%;
    margin: 0!important;
    height: auto!important;
}
.glide__wrapper:before {
    content:"";
    display: block;
    padding-top: 62%; /* 高さを幅の75%に固定 */
}
.glide__track {
    position: absolute!important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    height: 100%;
}

    .mainbanner {
        margin-left: 10px;
        margin-right: 10px;
    }
    #post-2 .attention {
        margin: 0 10px;
    }
    .clientPlof {
        margin: 0 20px 20px;
        margin-left: 20px;
    }
  /*  .topick {
        margin: 0 20px;
    }*/
    .main-navigation .primary-menu {
        display: block;
        border-bottom: 1px solid #fff;
    }
    .innerpage {
        padding-top: 30px;
    }
   .post-thumbnail, .entry-content, .entry-summary, .entry-footer, .comments-area, .image-navigation, .post-navigation, .page-header, .page-content, .content-bottom-widgets {
        margin: 0;
    }
     .entry-header{
        margin-top: 0 5px;
     }
    .sidebar, .widecolumn {
        padding: 0;
    }
    .sidebarbanner ul li a {
        background: transparent;
    }
    .table-contactform7 tr {
        border-bottom: 0;
        padding: 10px 0 0 10px;
    }
    .table-contactform7 {
        border-top: 0 !important;
        border-bottom: 0 !important;
    }
    .table-contactform7 td {
        border: 0;
    }
    .table-contactform7 tr:nth-child(odd) {
        border-bottom: solid 1px #d1d1d1;
        border-top: solid 1px #d1d1d1;
    }
    .lp_mainimage {
        max-height: 500px;
    }
    .lp_mainiInner p {
        font-size: 23px;
    }
    .seminar_hl1, .seminar_hl2, .seminar_hl3, #seminar-lp h3, .lp_ranking {
        font-size: 23px !important;
    }
    #viewer {
        /* display: none; */
    }
    #mainImage {
        display: block;



    }
}



@media screen and (max-width: 709px) {
    .mylife-header-menu {
        display: none;
    }
    .mylife-header-menu .primary-menu {
        -webkit-flex-direction: column;
        flex-direction: column;
    }
    .menu-toggle {
        position: absolute;
        top: 45px;
        right: 71px;
        border: 1px solid #f38000;
        color: #f38000;
    }
    .mylife-header-menu a {
        text-align: left;
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 60px;
    }
    .mylife-header-menu a i {
        text-align: center;
        right: auto;
        bottom: 0;
        top: 0;
        left: 5px;
    }
    .mylife-header-menu .primary-menu {
        border: none;
    }
    .mylife-header-menu .primary-menu li {
        border: none;
    }
    .topinquirybut {
           margin-top: 15px;
    float: right;
    width: 30%;
    }
/*    #mainImage {
        height: 443px;
    }
    */
}
@media screen and (max-width: 661px) {
    .topinquirybut {
        margin-top: 6px;
    }
    .menu-toggle {
        top: 70px;
    }

/*    #mainImage {
        height: 413px;
    }*/
    #siteTheme p {
        font-size: 14px;
    }
        #siteTheme p .chatch {
        font-size: 17px;
    }
}

@media screen and (max-width: 541px) {
    .topinquirybut {
      margin-top: 15px;
    float: right;
    width: 30%;
    }
    .site-header-main {
        position: relative;
    }
    .menu-toggle {
      float: right;
    top: 10px;
    right: 1px;
    position: absolute;
    }

    .lp_mainimage {
        background-size: auto 100% ;
    }
    .lp_mainiInner p.seminarcatch1 {
        padding: 200px 0 0 ;
    }
    #siteTheme {
        /* top: 200px; */
    }
    #siteTheme p {
        font-size: 12px;
    }
    #siteTheme p .chatch{
        font-size: 16px;
    }
/*    #mainImage {
        height: 338px;
    }
}*/

@media screen and (max-width: 425px) {
    .menu-toggle {
     float: right;
    top: 10px;
    right: 1px;
    position: absolute;
    }
    .site-header-main {
        position: relative;
    }
    .mylifeContact {
           margin-top: 0;
    text-align: left;
    margin-left: 0px;
    width: 65%;
    }
    .mylifeContact address {
    font-size: 25px;
    height: 43px;
}
.lp_mainimage {
    max-height: 631px;
    background-image: url(http://mylife-kyokai.jp/wp-content/uploads/2017/09/40973408_35W.jpg);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
    }
    #viewer {
        height: 250px;
    }
    #siteTheme {
        /* top: 113px; */
        font-size: 12px;
    }
    #siteTheme {
    /* position: absolute; */
    background: rgba(243, 152, 0, 0.57);
    color: #fff;
    /* top: 195px; */
    width: 100%;
    padding: 15px;
    text-align: center;
    font-size: 22px;
    /* z-index: 999; */
}

    #siteTheme p {
    padding: 0;
    color: #d85224;
    font-weight: bold;
 text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
    }
/*    #mainImage {
        height: 265px;
    }*/
    .clientPlof {
        flex-direction: column;
        -webkit-flex-direction: column;
    }
    .clientPlof li:first-child div {
        margin-left: auto;
        margin-right: auto;
    }
    .getPostStringArea {
        margin-left: 10px;
    }
    .main-navigation li {
        border-top: 1px solid #ffffff;
    }
    .site-content {
        width: 100%;
        margin: 0;
    }
    .greeting div {
        margin-left: 20px;
    }
    table {
        width: calc(100% - 40px);
        margin: auto;
    }
    #aboutus table th {
        width: 100px !important;
    }
    .seminarFlow {
        margin: 0 20px;
    }
    .widget {
        margin: 0 20px;
    }
    .service-main-link {
        flex-direction: column;
        -webkit-flex-direction: column;
        align-items: center;
        -webkit-align-items: center;
    }
    .service-main-link li {
        width: calc(100% - 40px);
        margin: 0 auto 10px;
    }

    .greeting {
        flex-direction: column;
        -webkit-flex-direction:column;
    }
    .site-footer .site-title {
        display: block;
    }
    .buttomArea {
        flex-direction: column;
        -webkit-flex-direction:column;
    }
    .serBut {
        margin-bottom: 20px
    }
    .buttom {
        width: calc(100% - 40px);
        margin-left:auto;
        margin-right:auto;
    }
    .service-sub-link {
        width: calc(100% - 4em);
        margin: auto;
    }
    .seminarMain {
        flex-direction: column;
        -webkit-flex-direction:column;
        text-align: center;
    }
    .seminarMain p {
        margin: 0;
    }
    .seminarMain p:first-child {
        padding-right:10px;
        padding-left: 10px;
    }
    .seminarMain p:nth-child(2){
        padding-right: 10px;
        padding-left: 10px;
        margin-bottom: 15px
    }
    .sidebarbanner ul{
        flex-direction: column;
        -webkit-flex-direction: column;
    }

    #viewer {
        height: 200px
    }
    .site-header-main {
        width: calc(100% - 20px);
        padding-bottom: 10px;
    }
    .topinquirybut {
        margin-top: 15px;
    }

    #post-2 .mainbanner ul {
        flex-direction: column;
        -webkit-flex-direction:column;
    }
    #post-2 .mainbanner ul li{
        margin-right: auto;
        margin-left: auto;
    }
    #post-2 .mainbanner ul li:nth-child(even){
        margin: 10px;
        margin-right: auto;
        margin-left: auto;
    }    
    .table-contactform7 {
        width: 100%;
    }   
    #seminar-lp .entry-content p {
        margin:0;
    }
    .clientPlof {
margin: 0 10px 20px 10px;
    }
    .lp_ranking dd {
        font-size: 20px;
    }
}
@media screen and (max-width: 401px) {
    .topinquirybut {
      margin-top: 15px;
    float: right;
    width: 30%;
    }
    .topinquirybut a {
    border: 1px solid #007acc;
    padding: 3px 5px;
    border-radius: 5px;
    display: block;
}
.mylifeContact {
    margin-top: 0;
    text-align: left;
    margin-left: 0px;
    width: 63%;
}
    .mylifeContact address {
    font-size: 20px;
    height: 43px;

}
    .menu-toggle {
    float: right;
    top: 10px;
    right: 1px;
    position: absolute;
    }
}
@media screen and (max-width: 375px) {
    .lp_mainimage {
        max-height: 631px;
    background-image: url(http://mylife-kyokai.jp/wp-content/uploads/2017/09/40973408_35W.jpg);
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
    }
    .lp_mainiInner p {
        font-size: 20px;
    }
/*    #siteTheme {
        top: 79px;
    }*/
/*    #mainImage {
        height: 234px;
    }*/
}
@media screen and (max-width: 320px) {
    .socialArea {
        flex-direction: column;
        -webkit-flex-direction:column;
    }
    .socialArea a {
        text-align: center;
    }
    .socialArea li {
        margin-bottom: 10px;        
    }
    .entry-content h1, .entry-summary h1, .comment-content h1, .textwidget h1 {
        font-size: 22px;
        margin: 0px;
    }
    .entry-content h2, .entry-summary h2, .comment-content h2, .textwidget h2 {
        font-size: 20px;
    }
    .entry-content p {
    }
    .seminarMain p:first-child {
        font-size: 18px;
    }
    .clientPlof p {
        padding: 0;
        margin: 0;
    }
    .entry-content p {
        margin-left: 1em;
        margin-right: 1em;
    }
    .seminar_hl1, .seminar_hl2, .seminar_hl3, #seminar-lp h3, .lp_ranking {
        padding:20px 0;
        font-size: 16px !important;
    }
    .lp_ranking dd {
        font-size: 17px;
    }
    #siteTheme p.chatch {
    font-size: 1.4rem!important;
}
    #siteTheme {
        /* top: 53px; */
    }
/*    #mainImage{
        height: 200px;*/
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}

@media (max-width: 767px) {
    .desktop-only {
        display: none;
    }
}



