#wrapper {
    min-width: 100%;
}

#theme {
    position: relative;
}

#theme:before {
    display: block;
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    background: url(../img/page1/slash_back.png);
    background-size: 20px 20px;
    z-index: -1;
}

#theme figure {
/*
    background-image: url(../img/slash_back.png);
    -webkit-background-size: 19px 19px;
    background-size: 19px 19px;
*/
}

#member {
    background-image: url(../img/slash_back.png);
    -webkit-background-size: 19px 19px;
    background-size: 19px 19px;
}

#member ul {
    display: -webkit-flex;
    display: flex;
}

#member ul li {
    text-align: center;
}

.talk dl {
    position: relative;
    display: -webkit-flex;
    display: flex;
}

.talk dl dt.kenkyuin01 { background: url(../img/page1/icon_kenkyuin_01_s.png) center top no-repeat; background-size: 100% auto; }
.talk dl dt.kenkyuin02 { background: url(../img/page1/icon_kenkyuin_02_s.png) center top no-repeat; background-size: 100% auto; }
.talk dl dt.kenkyuin03 { background: url(../img/page1/icon_kenkyuin_03_s.png) center top no-repeat; background-size: 100% auto; }

.talk dl dd {
    letter-spacing: .08em;
    font-feature-settings : "palt";
    line-height: 1.6;
}

.talk dl dd b {
    font-weight: 600;
}

.talk dl dd span.line_orange {
    background: linear-gradient(transparent 60%, #fbd8ac 0%);
}
.talk dl dd span.line_yellow {
    background: linear-gradient(transparent 60%, #efea45 0%);
}

.talk figure {
    background-image: url(../img/slash_back.png);
    -webkit-background-size: 19px 19px;
    background-size: 19px 19px;
}

.talk figure img {
    position: relative;
}

.pickup dl dt .title {
    display: inline-block;
    padding: 10px;
    font-weight: 600;
    border: 1px solid #ee7800;
}

.pickup dl dt .sub {
    display: inline-block;
    font-weight: 600;
}

.next {
    position: relative;
    margin-left: auto;
}

.next:before {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #000;
}

.next:after {
    position: absolute;
    content: '';
    display: inline-block;
    bottom: -3px;
    right: 3px;
    height: 10px;
    width: 1px;
    border-right: 2px solid #000;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

.pagepc .next:before {
    width: 0%;
    -webkit-animation: arrowAnimbefore 2s ease infinite normal;
    animation: arrowAnimbefore 2s ease infinite normal;
}

.pagepc .next:after {
    -webkit-animation: arrowAnimafter 2s ease infinite normal;
    animation: arrowAnimafter 2s ease infinite normal;
}

@keyframes arrowAnimbefore {
    0% { width: 0%; opacity: 1; }
    50% { width: 100%; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}
@keyframes arrowAnimafter {
    0% { right: 100%; opacity: 1; }
    50% { right: 3px; opacity: 1; }
    100% { right: 3px; opacity: 0; }
}





@media print,screen and (min-width: 769px) {
    #modalcontent {
/*        min-width: 1100px;*/
    }

    #modalcontent .inner {
        margin-left: auto;
        margin-right: auto;
        max-width: 1100px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #theme:before {
        top: 90px;
        height: 400px;
    }

    #theme .inner {
        display: -webkit-flex;
        display: flex;
        padding-top: 90px;
        padding-bottom: 90px;
    }

    #theme figure {
        margin: 20px 120px 0 30px;
    }

    #theme figure img {
        position: relative;
        top: -40px;
        left: -30px;
    }

    #theme h2 {
        margin-top: 20px;
        font-size: 200%;
        font-weight: bold;
        line-height: 1.7;
        letter-spacing: .35em;
    }

    #theme h2 span {
        display: block;
    }

    #theme h2 .num {
        margin-bottom: 10px;
        font-size: 266%;
        line-height: 1;
        letter-spacing: normal;
    }

    #theme h2 .sub {
        margin-bottom: 20px;
        font-size: 46%;
        font-weight: normal;
        color: #ee7800;
        letter-spacing: .2em;
        line-height: 1;
    }

    #member {
        margin-bottom: 160px;
    }

    #member .inner {
        display: -webkit-flex;
        display: flex;
        position: relative;
        top: 70px;
        padding: 70px 105px;
        background-color: #fff;
    }

    #member h3 {
        margin-top: 15px;
        margin-right: 150px;
        font-size: 200%;
        letter-spacing: 0.2em;
    }

    #member h3 span {
        display: block;
        width: 40px;
        margin: 30px 0;
        border-bottom: 2px solid #4c4948;
    }

    #member ul li {
        margin-right: 60px;
    }

    #member ul li:last-child {
        margin-right: 0;
    }

    #member ul li figure {
        margin-bottom: 20px;
    }

    #member ul li p {
        font-size: 133%;
    }

    .talkTheme p {
        margin-bottom: 130px;
        font-size: 200%;
        font-weight: 600;
        line-height: 1.6;
        text-align: center;
        color: #000;
    }

    .talkTheme .sp {
        display: none;
    }

    .talk .inner {
        padding-left: 40px;
        padding-right: 40px;
    }

    .talk .inner .talkBox{
        flex:1;
        -webkit-flex:1;
    }


    .talk dl {
        margin-bottom: 30px;
    }

    .talk dl dt {
        width: 59px;
        padding-top: 75px;
        margin-right: 15px;
        font-size: 120%;
        text-align: center;
    }

    .talk dl dd {
        width: calc(100% - 59px);
        font-size: 133%;
    }

    .talk.leftimage .inner {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-flow: row-reverse nowrap;
        flex-flow: row-reverse nowrap;
    }



    .talk figure {
        height: 100%;
        margin: 30px 60px 0 20px;
        background-image: url(../img/slash_back.png);
        -webkit-background-size: 19px 19px;
        background-size: 19px 19px;
    }

    .talk figure img {
        position: relative;
        top: -30px;
        left: -20px;
    }

    .talk figure img.sp {
        display: none;
    }

    .talk.rightimage .inner {
        display: -webkit-flex;
        display: flex;
    }

    .talk.rightimage figure {
        margin: 30px 0 0 80px;
    }

    .pickup {
        background-image: url(../img/page1/pickup_back.png);
        -webkit-background-size: 38px 38px;
        background-size: 38px 38px;
    }

    .pickup .inner {
        display: -webkit-flex;
        display: flex;
        -webkit-justify-content: space-between;
        justify-content: space-between;
        padding: 45px 40px;
        margin-bottom: 50px;
    }

    .pickup dl {
        margin-left: 55px;
    }

    .pickup dl dt {
        font-size: 186%;
        font-weight: 600;
        letter-spacing: 0.2em;
        line-height: 1.2;
        color: #ee7800;
    }

    .pickup dl dt .title {
        margin-bottom: 10px;
        font-size: 64%;
    }

    .pickup dl dt .sub {
        margin-top: 10px;
        font-size: 82%;
    }

    .pickup dl dd {
        margin-top: 30px;
        font-size: 120%;
        line-height: 1.8;
    }

    #result .inner {
        padding: 0 40px;
        text-align: center;
    }

    #result .num {
        padding-top: 22px;
        padding-bottom: 31px;
        margin-bottom: 40px;
        font-size: 266%;
        font-weight: normal;
        font-style: normal;
        line-height: 1;
        background: url(../img/page1/bg_balloon.png) center top no-repeat;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
        color: #4c4948;
    }

    #result p {
        font-size: 200%;
        font-weight: 600;
        font-style: italic;
        line-height: 1.7;
        color: #ed7700;
    }

    #pager {
        margin-top: 160px;
        margin-bottom: 80px;
    }

    .next {
        padding-bottom: 26px;
        width: 428px;
    }

    .next p {
        font-size: 160%;
        font-weight: 600;
        line-height: 1.9;
        letter-spacing: 0.08em;
    }

    .next p a {
        color: #000;
        text-decoration: none;
    }
}



@media only screen and (max-width: 1023px) {
    #theme:before {
        top: 8.18vw;
        height: 36.36vw;
    }

    #theme .inner {
        padding-top: 8.18vw;
        padding-bottom: 8.18vw;
    }

    #theme figure {
        width: 48.54vw;
        margin: 1.81vw 10.9vw 0 2.72vw;
    }

    #theme figure img {
        width: 100%;
    }

    #theme h2 {
        margin-top: 1.81vw;
        font-size: 2.72vw;
    }

    #theme h2 .num {
        margin-bottom: 0.9vw;
        font-size: 7.27vw;
    }

    #theme h2 .sub {
        margin-bottom: 1.81vw;
        font-size: 1.27vw;
    }

    #member {
        margin-bottom: 14.54vw;
    }

    #member .inner {
        top: 6.36vw;
        padding: 6.36vw 9.54vw;
        background-color: #fff;
    }

    #member h3 {
        margin-top: 1.36vw;
        margin-right: 10.63vw;
        font-size: 2.72vw;
    }

    #member h3 span {
        width: 3.63vw;
        margin: 2.72vw 0;
    }

    #member ul li {
        margin-right: 5.45vw;
    }

    #member ul li figure {
        margin-bottom: 1.81vw;
    }

    #member ul li p {
        font-size: 1.81vw;
    }

    .talkTheme p {
        margin-bottom: 11.81vw;
        font-size: 2.72vw;
    }

    .talk .inner {
        padding-left: 3.63vw;
        padding-right: 3.63vw;
    }

    .talk dl {
        margin-bottom: 2.72vw;
    }

    .talk dl dt {
        width: 5.36vw;
        padding-top: 6.81vw;
        margin-right: 1.36vw;
        font-size: 1.63vw;
    }

    .talk dl dd {
        width: calc(100% - 5.36vw);
        font-size: 1.81vw;
    }

    .talk figure {
        margin: 2.72vw 5.45vw 0 1.81vw;
    }

    .talk figure img {
        position: relative;
        top: -2.72vw;
        left: -1.81wv;
        width: 41.27vw;
    }

    .talk.rightimage figure {
        margin: 2.72vw 0 0 7.27vw;
    }

    .talk figure.photo2 img {
        width: 28vw;
    }

    .talk figure.photo3 img {
        width: 23.36vw;
    }

    .pickup .inner {
        padding: 4.09vw 3.63vw;
        margin-bottom: 4.54vw;
    }

    .pickup dl {
        margin-left: 5vw;
    }

    .pickup dl dt {
        font-size: 2.54vw;
    }

    .pickup dl dt .title {
        margin-bottom: 0.9vw;
        font-size: 1.81vw;
    }

    .pickup dl dt .sub {
        margin-top: 0.9vw;
        font-size: 82%;
    }

    .pickup dl dd {
        margin-top: 2.72vw;
        font-size: 1.63vw;
    }

    .pickup figure img {
        width: 33.54vw;
    }

    #result .inner {
        padding: 0 3.63vw;
    }

    #result .num {
        padding-top: 2vw;
        padding-bottom: 2.82vw;
        margin-bottom: 3.63vw;
        font-size: 3.63vw;
    }

    #result p {
        font-size: 2.72vw;
    }

    #pager {
        margin-top: 11.54vw;
        margin-bottom: 7.27vw;
    }

    .next {
        padding-bottom: 2.36vw;
        width: 38.9vw;
    }

    .next p {
        font-size: 2.18vw;
    }
}



@media only screen and (max-width: 768px) {
    #modalcontent .inner {
        margin-left: 6.66vw;
        margin-right: 6.66vw;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    #theme {
        margin-bottom: 20px;
    }

    #theme:before {
        top: 27.5vw;
        height: calc(100% - 27.5vw);
    }

    #theme .inner {
        padding: 5.33vw 6.66vw 6.66vw;
    }

    #theme figure {
        width: 100%;
        margin: 0;
    }

    #theme figure img {
        position: relative;
    }

    #theme h2 {
        margin: 4vw 0 0 4vw;
        font-size: 146%;
        font-weight: 600;
        line-height: 1.7;
        letter-spacing: .35em;
        font-feature-settings : "palt";
    }

    #theme h2 span {
        display: block;
    }

    #theme h2 .num {
        margin-bottom: 1.3vw;
        font-size: 195%;
        line-height: 1;
        letter-spacing: normal;
    }

    #theme h2 .sub {
        margin-bottom: 2.66vw;
        font-size: 34%;
        font-weight: normal;
        color: #ee7800;
        letter-spacing: .2em;
        line-height: 1;
    }

    #member {
        margin-bottom: 5.33vw;
    }

    #member .inner {
        position: relative;
        top: 5.33vw;
        padding: 60px 6.66vw;
        background-color: #fff;
    }

    #member h3 {
        font-size: 113%;
        letter-spacing: 0.2em;
    }

    #member h3 span {
        display: block;
        width: 46px;
        margin: 4vw 0;
        border-bottom: 2px solid #4c4948;
    }

    #member ul {
        justify-content: space-between;
        -webkit-justify-content: space-between;
        margin-top: 40px;
    }

    #member ul li {
        margin-right: 9.33vw;
    }

    #member ul li:last-child {
        margin-right: 0;
    }

    #member ul li figure {
        margin-bottom: 2.66vw;
    }

    #member ul li p {
        font-size: 73%;
    }

    .talkTheme p {
        padding-left: 6.66vw;
        margin-bottom: 30px;
        font-size: 100%;
        font-weight: 600;
        line-height: 2.6;
        text-align: left;
    }

    .talk .inner {
        padding-left: 6.66vw;
    }

    .talk dl {
        margin-bottom: 4vw;
    }

    .talk dl dt {
        width: 7.73vw;
        padding-top: 8vw;
        margin-right: 2.66vw;
        font-size: 60%;
        text-align: center;
    }

    .talk dl dd {
        width: calc(100% - 7.73vw);
        font-size: 66%;
    }

    .talk dl dd .pagepc {
        display: none;
    }

    .talk figure {
        height: 100%;
        width: 90%;
        margin: 8vw 0 9.33vw 6.66vw;
        background-image: url(../img/slash_back.png);
        -webkit-background-size: 19px 19px;
        background-size: 19px 19px;
    }

    .talk figure img {
        position: relative;
        top: -4vw;
        left: -3.33vw;
        width: 100%!important;
    }

    .talk figure img.pagepc {
        display: none;
    }

    .talk.rightimage figure {
        display: none;
    }

    .pickup {
        background-image: url(../img/page1/pickup_back.png);
        -webkit-background-size: 38px 38px;
        background-size: 38px 38px;
    }

    .pickup .inner {
        padding: 0;
        margin-bottom: 4vw;
        text-align: center;
    }

    .pickup#pickup01 .inner {
        background: url(../img/page1/img_pickup_01_sp.png) center 60% no-repeat;
        background-size: 71.6vw auto;
    }

    .pickup#pickup02 .inner {
        background: url(../img/page1/img_pickup_02_sp.png) center 60% no-repeat;
        background-size: 71.6vw auto;
    }

    .pickup dl {
        padding: 5.33vw 0;
        margin-left: 0;
    }

    .pickup dl dt {
        display: inline-block;
        font-size: 90%;
        font-weight: 600;
        letter-spacing: 0.2em;
        font-feature-settings : "palt";
        line-height: 1.2;
        text-align: left;
        color: #ee7800;
    }

    .pickup dl dt .title {
        padding: 5px;
        margin-bottom: 5px;
        font-size: 71%;
    }

    .pickup dl dt .sub {
        margin-top: 5px;
        font-size: 82%;
    }

    .pickup dl dd {
        margin-top: 40vw;
        font-size: 60%;
        line-height: 1.8;
    }

    .pickup figure {
        display: none;
    }

    #result .inner {
        margin-left: 0;
        margin-right: 0;
        text-align: center;
    }

    #result .num {
        padding-top: 2.93vw;
        padding-bottom: 4.13vw;
        margin-bottom: 5vw;
        font-size: 133%;
        font-weight: normal;
        font-style: normal;
        line-height: 1;
        background: url(../img/page1/bg_balloon.png) center top no-repeat;
        -webkit-background-size: auto 100%;
        background-size: auto 100%;
        color: #4c4948;
    }

    #result p {
        font-size: 100%;
        font-weight: 600;
        letter-spacing: -1px;
        font-feature-settings : "palt";
        font-style: italic;
        line-height: 1.7;
        color: #ed7700;
    }

    #pager {
        margin-top: 14.66vw;
        margin-bottom: 16vw;
    }

    .next {
        padding-bottom: 3.33vw;
        width: 100%;
        text-align: center;
    }

    .next p {
        display: inline-block;
        font-size: 100%;
        font-weight: 600;
        line-height: 1.9;
        letter-spacing: 0.08em;
        font-feature-settings : "palt";
        text-align: left;
    }

    .next p a {
        color: #000;
        text-decoration: none;
    }
}
