@charset "UTF-8";

/*共通*/

.center {
    margin-left: auto;
    margin-right: auto;
}

.txt_center {
    text-align: center;
}

.flex,
.flex_sp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.sp {
    display: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

#pan_life {
    width: 100%;
    background-color: #ede6db;
    font-size: 16px;
    color: #755328;
}

.mb50 {
    padding-bottom: 50px;
}


/*Wrap*/

#pan_life .contents {
    background-color: #ede6db;
    width: 1024px;
    margin-top: 50px;
    padding-bottom: 50px;
}

/*TOP mv*/

#pan_life .bg {
    width: 100%;
    background-image: url(img/mv_bg.png);
    background-size: 80%;
    background-repeat: repeat-x;
    background-position: center 420px;
}

#pan_life .hd_top {
    background-color: #d4c5b0;
    width: 100%;
    height: 420px;
    background-image: url(img/hd_top_il.png);
    background-repeat: no-repeat;
    background-position: center center;
}

#pan_life .hd_top h1 {
    width: 1024px;
    text-align: center;
    padding-top: 20px
}


#pan_life .lead {
    width: 380px;
    line-height: 250%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border-bottom: dotted 2px #745228;
}


/*top contents list*/

#pan_life section {
    width: 480px;
    border: 8px solid #ffffff;
    border-radius: 8px;
    background-color: #ffffff;
}

#pan_life article {
    margin-bottom: 30px;
}

#pan_life section .dot {
    background-image: url(img/bg_dot.gif);
    background-color: #ffffff;
    border-radius: 8px;
    padding: 1px;
    position: relative;
}


#pan_life section .list_title img {
    width: 90%;
}

#pan_life section .in {
    background-color: #ffffff;
    border-radius: 7px;
    padding: 18px;
    min-height: 330px;
    background-repeat: no-repeat;
}

#pan_life section .il_1 {
    background-size: 30%;
    background-image: url(img/img_1_4.png);
    background-position: 320px 325px;
}

#pan_life section .il_2 {
    background-size: 50%;
    background-image: url(img/img_2_3.png);
    background-position: 260px 240px;
}

#pan_life section .il_3 {
    background-size: 45%;
    background-image: url(img/img_3_3.png);
    background-position: 250px 320px;
}

#pan_life section .il_4 {
    background-size: 40%;
    background-image: url(img/img_4_3.png);
    background-position: 280px 280px;
}

#pan_life section ul {
    padding-top: 120px !important;
}

#pan_life section .in li {
    position: relative;
    padding-left: 20px;
    margin-top: 15px;
}

#pan_life section .in li::before {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ff0000;
    border-right: solid 2px #ff0000;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
}

/*top contents list title*/

#pan_life section {
    position: relative;
}

#pan_life section .list_title {
    position: absolute;
    top: 25px;
    left: -10px;
}


/*2nd page NAVI*/

#pan_life .second_navi_wrap {
    width: 100%;
    background-color: #d3c5b0;
}

#pan_life .second_navi {
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
    padding: 25px 0;
}

#pan_life .second_navi li img {
    width: 390px;
    float: left;
    padding: 8px;
}

#pan_life .second_navi h1 img {
    width: 130px;
    margin-right: 30px;
    float: left;
}

#pan_life .second_navi_under {
    width: 100%;
    height: 20px;
    background-image: url(img/mv_bg.png);
    background-size: 80%;
    background-repeat: repeat-x;

}

/*2nd page title*/

#pan_life #second_page h3 img {
    margin-bottom: 50px;
    width: 530px;
}

/*2nd page lesson_kiji*/

#pan_life #second_page section {
    width: 100%;
}

#pan_life #second_page .in {
    padding: 40px;
}

#pan_life #second_page h4 {
    width: 100%;
    font-size: 26px;
    font-weight: 600;
    padding-bottom: 20px;
    background-image: url(img/line_dot.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    margin-bottom: 25px;
}

#pan_life #second_page .copy {
    width: 550px;
    line-height: 180%;
}

#pan_life #second_page .copy_w {
    width: 100%;
    line-height: 180%;
}


#pan_life #second_page .ill img {
    width: 300px;
}

#pan_life #second_page .mr {
    padding-right: 80px;
}

#pan_life #second_page .mt {
    padding-top: 40px;
}

#pan_life #second_page section .mb {
    margin-bottom: 60px;
}

#pan_life #second_page section .mb_end {
    margin-bottom: 20px;
}

/*2nd page lesson2*/

#pan_life #second_page #lesson2 {
    width: 550px;
    float: left;
}

#pan_life #second_page #lesson2 .copy {
    width: 100%;
    margin-bottom: 50px;
}

#pan_life #second_page .lesson2 img {
    width: 350px;
    margin: 40px 0 0 30px;
}

/*2nd page pager*/

#pan_life #second_page #pager {
    width: 100%;
    padding: 20px 8px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    position: relative;
}

#pan_life #second_page .pager_l {
    width: 50%;
    position: relative;
    text-align: center
}

#pan_life #second_page .narrow_l {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ff0000;
    border-right: solid 2px #ff0000;
    -ms-transform: rotate(225deg);
    -webkit-transform: rotate(225deg);
    transform: rotate(225deg);
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -4px;
}

#pan_life #second_page .narrow_r {
    content: '';
    width: 8px;
    height: 8px;
    border: 0px;
    border-top: solid 2px #ff0000;
    border-right: solid 2px #ff0000;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -4px;
}

#pan_life #second_page .line_cener {
    border-left: 1px solid #000;
    width: 1px;
    height: 100%;
    position: absolute;
    top: 0;
    right: 50%;
}



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

    /*共通*/
    .flex {
        display: block;
    }

    .flex_sp {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .sp {
        display: block;
    }

    .pc {
        display: none;
    }

    .mb50 {
        padding-bottom: 5%;
    }

    #pan_life #second_page .mr {
        padding-right: 0 !important;
    }

    #pan_life #second_page .mr {
        padding-right: 0;
    }

    #pan_life {
        font-size: 110%;
    }

    /*wrap*/
    #pan_life .contents {
        width: 100%;
        margin-top: 0;
        padding-bottom: 0;
    }

    /*TOP_sp mv*/
    #pan_life .hd_top {
        width: 100%;
        height: auto;
        padding-bottom: 10px;
        background-size: contain;
    }

    #pan_life .line_sp {
        width: 100%;
        height: 20px;
        background-image: url(img/mv_bg.png);
        background-size: 130%;
        background-repeat: repeat-x;

    }

    #pan_life .hd_top h1 {
        width: 100%;
    }

    #pan_life .hd_top h1 img {
        width: 50%;
    }

    #pan_life .lead {
        width: 90%;
    }


    /*TOP アコーディオン*/
    .cp_actab {
        position: relative;
        overflow: hidden;
        width: 100%;
        margin: 0 auto;
        color: #ffffff;
    }

    .cp_actab img {
        width: 110%;
    }
    .cp_actab input {
        position: absolute;
        z-index: -1;
        opacity: 0;
    }
    .cp_actab label {
        font-weight: bold;
        line-height: 3;
        position: relative;
        display: block;
        padding: 0;
        cursor: pointer;
        margin: 0 0 1px 0;
    }
    .cp_actab .cp_actab-content {
        overflow: hidden;
        max-height: 0;
        -webkit-transition: max-height 0.35s;
        transition: max-height 0.35s;
        color: #333333;
        background: #f1c6c6;
    }
    .cp_actab .cp_actab-content p {
        margin: 1em;
    }
    /* :checked */
    .cp_actab input:checked ~ .cp_actab-content {
        max-height: 20em;
    }
    /* Icon */
    .cp_actab label::after {
        line-height: 2;
        position: absolute;
        top: 0;
        right: 0;
        display: block;
        width: 2em;
        height: 2em;
        -webkit-transition: all 0.35s;
        transition: all 0.35s;
        text-align: center;
        margin-top: 6%;
    }
    .cp_actab input[type=checkbox] + label::after {
        content: '+';
    }
    .cp_actab input[type=checkbox]:checked + label::after {
        transform: rotate(315deg);
    }

    /*top contents list*/
    #pan_life section {
        width: 100%;
        border: 0;
        border-radius: 0;
    }

    #pan_life article {
        margin-bottom: 0;
    }

    #pan_life section .dot {
        background-image: none;
        border-radius: 0;
        padding: 0;
    }


    #pan_life section .list_title img {
        width: 90%;
    }

    #pan_life section .in {
        border-radius: 0;
        padding: 5%;
        min-height: auto;
        background-image: none;
    }

    #pan_life section ul {
        padding-top: 0 !important;
    }

    #pan_life a,a:visited {
        text-decoration: none;
    }
    #pan_life a:hover {
        text-decoration: underline;
    }


    
    /*2nd page NAVI*/
    #pan_life .second_navi_wrap {
        width: 100%;
        background-color: #d3c5b0;
    }

    #pan_life .second_navi {
        width: 94%;
        padding: 3%;
    }

    #pan_life .second_navi li img {
        width: 100%;
        clear: both;
        padding: 1% 0;
    }

    #pan_life .second_navi h1 img {
        width: 40%;
        margin: 3%;
        padding-left: 28%;
        clear: both;
    }

    #pan_life .second_navi_under {
        background-size: 150%;

    }

    /*2nd page title*/
    #pan_life #second_page h3 img {
        margin-bottom: 20px;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }


    /*2nd page lesson_kiji*/
    #pan_life #second_page section {
        width: 93%;
        border: 8px solid #ffffff;
        border-radius: 8px;
        background-color: #ffffff;
        margin-left: auto;
        margin-right: auto;
    }

    #pan_life #second_page .in {
        padding: 20px;
    }

    #second_page section .dot {
        background-image: url(img/bg_dot.gif);
        background-color: #ffffff;
        border-radius: 8px;
        padding: 1px;
        position: relative;
    }

    #pan_life #second_page h4 {
        width: 100%;
        font-size: 1.2em;
        line-height: 130%;
        font-weight: 600;
        padding-bottom: 10px;
        background-image: url(img/line_dot.png);
        background-repeat: repeat-x;
        background-position: center bottom;
        margin-bottom: 10px;
    }

    #pan_life #second_page .copy {
        margin: 0;
        width: 100%;
        line-height: 180%;
        clear: both;
    }

    #pan_life #second_page .ill {
        width: 94%;
        clear: both;
        text-align: center;
        padding: 3%;
    }

    #pan_life #second_page .ill img {
        width: 200px;
    }


    #pan_life #second_page .mr {
        padding-right: 0;
    }

    #pan_life #second_page .mt {
        padding-top: 40px;
    }

    #pan_life #second_page section .mb {
        margin-bottom: 50px;
    }

    /*2nd page lesson2*/
    #pan_life #second_page #lesson2 {
        width: 100%;
        clear:both;
    }

    #pan_life #second_page #lesson2 .copy {
        width: 100%;
        margin-bottom: 20px;
    }

    #pan_life #second_page .lesson2 img {
        width: 250px;
        margin: 0;
    }

    /*2nd page pager*/
    #pan_life #second_page #pager {
        width: 90%;
        margin: 20px auto;
    }



}
