@charset "UTF-8";
.page article p {
    line-height: 1.5;
}
.page article li {
    text-indent: -1em;
    padding-left: 1em;
    line-height: 1.5;
}

.wp-block-heading {
    margin-bottom: 1.5rem;
    padding: 1rem 1.1rem 1.5rem;
    background: var(--right-orange);
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}
.wp-block-heading::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0;
    bottom:5.5px;
}
@media print,screen and (min-width: 1025px){
    .page article p {
        line-height: 1.87;
    }
    .page article li {
        line-height: 1.87;
    }
    
    .wp-block-group {
        padding: 0 1.1rem;
    }
    .wp-block-heading {
        margin-bottom: 3rem;
        padding: 1.8rem 1.1rem 2.6rem;
        font-size: 2rem;
    }
    .wp-block-heading::after {
        bottom: 1.1rem;
    }
}

/*====================================================*/
/* 研究の趣旨説明 */
/*====================================================*/
@media print,screen and (max-width: 1024px){
    .page-e-learning .wp-block-heading {
        margin-bottom: 1.8rem;
    }
}

/*====================================================*/
/* 研究までの流れ */
/*====================================================*/
.page-flow .wp-block-list li {
    text-indent: -2em;
    padding-left: 2em;
}

/*====================================================*/
/* これまでの研究・調査　／　著書、出版物など */
/*====================================================*/
.page-investigation article,
.page-achievement article {
    margin-top: 3rem;
    margin-bottom: 4rem;
}
.wp-block-media-text>.wp-block-media-text__content {
    padding: 0;
}
.wp-block-media-text.has-media-on-the-right:not(:last-of-type) {
    margin-bottom: 4rem;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content .head-title {
    padding-top: 0;
    line-height: 1.3;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content p {
    line-height: 1.5;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__media {
    width: min(46%, 270px);
    margin: auto;
    aspect-ratio: 157 / 223;
    overflow: hidden;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
    cursor: pointer;
    transition: var(--transition);
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__media:hover {
    opacity: 0.5;
}
.wp-block-media-text__media a {
    width: 100%;
    height: 100%;
}
.wp-block-media-text__media img {
    margin-top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.link {
    margin-top: 1.4rem;
    text-indent: -1.5em;
    padding-left: 1.5em;
    font-size: 1.2rem;
    line-height: 1.5;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    transition: var(--transition);
}
.link:hover {
    opacity: 0.5;
}
.link::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-right: 0.5em;
    background-image: url(../img/link.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: bottom;
}
.link.dw::before {
    background-image: url(../img/download.svg);
}
@media print,screen and (max-width: 600px){
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content,
    .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: auto;
        grid-row: auto;
    }
    .wp-block-media-text>.wp-block-media-text__content {
        margin-bottom: 2rem;
    }
}
@media print,screen and (min-width: 1025px){
    .page-investigation article,
    .page-achievement article {
        margin-top: 3rem;
        margin-bottom: 9rem;
        padding-left: calc(40* 100% / 1500);
    }
    .wp-block-media-text.has-media-on-the-right:not(:last-of-type) {
        margin-bottom: 8.5rem;
    }
    .wp-block-media-text > .wp-block-media-text__content {
        align-self: start;
        padding: 0;
        padding-right: min(3.6vw, 55px);
    }
    .wp-block-media-text.has-media-on-the-right:not(:last-of-type) {
        margin-bottom: 4rem;
    }
    .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content .head-title {
        line-height: 1.5;
    }
    .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content p {
        line-height: 2;
    }
    .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__media {
        width: min(50%, 270px);
        aspect-ratio: 269 / 380;
    }
    .link {
        margin-top: 2.5rem;
        font-size: 1.6rem;
    }
}

/*====================================================*/
/* お問い合わせ */
/*====================================================*/
#header:has(+ .page-contact) {
    opacity: 0;
    height: 0;
}
.page-contact {
    margin-top: 5rem;
    margin-bottom: 12rem;
}
.contact_main {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: calc( 30 * 100% / 750 );
    margin-right: calc( 30 * 100% / 750 );
    padding: 2.5rem min(6.6vw, 50px);
    border: 1px solid #E2E2E2;
    box-shadow: 0px 3px 6px 0px rgba(0,0,0,0.16);
}
.form-wrap > p {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}
.form {
    margin-top: 1.8rem;
}
.code {
    display: block;
    width: 138px;
    margin: auto;
}
.form > a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.6rem 0 1.8rem;
    font-size: 1rem;
    text-decoration: underline;
}
.form > a img {
    display: inline-block;
    width: 1em;
    height: 1em;
}
.form > p {
    font-size: 1.6rem;
}


@media print,screen and (min-width: 1025px){
    .contact_main {
        margin-left: calc( 267 * 100% / 1500 );
        margin-right: calc( 267 * 100% / 1500 );
        padding: 5.2rem min(6.9vw, 104px) 4.5rem;
    }
    .form-wrap > p {
        font-size: 2rem;
    }
    .form {
        margin-top: 4.5rem;
    }
    .form > a {
        margin: 1.3rem 0 4.5rem;
        font-size: 1.6rem;
    }
}

@media print,screen and (min-width: 1500px){
    .contact_main {
        margin-left: calc( ( 100% - 966px ) / 2 );
        margin-right: calc( ( 100% - 966px ) / 2 );
    }
}
