/* --------------------------
    variables
-------------------------- */
:root {
    --content-width: 1100px;
    --middle-width: 960px;
    --narrow-width: 835px;
    --wide-width: 1200px;
    --color: #333;
    --line-height: 1.75;
    --font-size: 16px;
    --letter-spacing: 0.05em;
    --font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --display-font: 'Noto Sans JP', 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック ProN W3', 'Hiragino Kaku Gothic ProN', 'Meiryo UI', 'ＭＳ Ｐゴシック', sans-serif;
    --serif-font: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    --color-introduction-bg: #FBF4DF;
    /* --color-index-bg: repeating-linear-gradient(-30deg, transparent, transparent 2px, rgba(247, 247, 247, 1) 2px, rgba(247, 247, 247, 1) 4px); */
    --color-special-feature-blue: #00aad9;
    --color-special-feature-blue-pale: #ddf0f9;
    --color-special-feature-beige: rgb(244, 235, 203);
    --color-special-feature-beige-dark: #f4d675;
    --color-yellow: #FFF000;
    --color-red: #d7000f;
    --color-red-pale: #f8d8c6;
    --color-blue: #003894;
    --color-blue-pale: #d2d2e9;
    --color-brown: #603c31;
    --color-lecture-beige: #eadbb5;
    --color-lecture-brown: #40220f;
    --color-lecture-brown-light: #93541c;
    --color-scholar-interview-green: #006953;
    --color-scholar-interview-green-light: #9fc7bb;
    --color-needs-seeds-green: #3d8056;
    --color-needs-seeds-green-light: #a8c7b3;
    --color-move-forward-student-orange: #ee781f;
    --color-supportersfav-bg: repeating-linear-gradient(-30deg, transparent, transparent 3px, rgba(249, 219, 232, 1) 3px, rgba(249, 219, 232, 1) 6px );
    --color-about-color-bg: #004fa3;
}

/* --------------------------
    reset
-------------------------- */
* {
    margin: 0;
    padding: 0;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-inline-start: 0;
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: var(--font-size);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    color: var(--color);
    font-family: var(--font-family);
    font-weight: 500;
    min-height: 100vh;
}

main {
    display: block;
}

img,
input[type="image"],
video,
embed,
iframe,
marquee,
object,
table {
    display: block;
    max-width: 100%;
    height: unset;
    aspect-ratio: attr(width) / attr(height);
    --webkit-aspect-ratio: attr(width) / attr(height);
}

a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.25rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.75rem;
}

h6 {
    font-size: 0.75rem;
    font-weight: 500;
}

table {
    border-spacing: 0;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    /* main {
        padding-top: 50px;
    } */
}


/* --------------------------
    common
-------------------------- */
.content-width {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.middle-width {
    width: 100%;
    max-width: var(--middle-width);
    margin: 0 auto;
}

.narrow-width {
    width: 100%;
    max-width: var(--narrow-width);
    margin: 0 auto;
}

.wide-width {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto;
}

.clearfix {
    clear: both;
}

.section-padding {
    padding: 4rem 1rem;
}

img.aligncenter {
    margin: 0 auto 4em auto;
}

.figure {
    max-width:100%;
}

.figure.alignright {
    float: right;
    margin: 0 0 2em 2em;
}

.figure.alignleft {
    float: left;
    margin: 0 2em 2em 0;
}

.figure.aligncenter {
    display: flex;
    flex-flow: column;
    align-items: center;
    margin: 0 auto 2em auto;
}

.figure > img {
    width: 100%;
}

.figure.aligncenter > img {
    margin: 0 auto;
}

.figure > figcaption {
    font-size: 0.75em;
    text-align: justify;
    width: 100%;
}

.figure > figcaption.alignright {
    text-align: right;
}

.figure > * + * {
    margin-top: 0.75em;
}

/* .blue-bg {
    background-color: var(--color-special-feature-blue-pale);
}

.beige-bg {
    background-color: var(--color-lecture-beige);
} */
button{
    padding: 1em 4em 1em 2em;
    border: none;
    border-radius: 5em;
    font-weight: bold;
}
button::after{
    content: "";
    background-image: url(../images/030/link_icon.svg);
    position: absolute;
    right: 20px;
    width: 15px;
    height: 15px;
}
.button-box{
        text-align: center;
}
.button-box button{
        position: relative;
}
a:hover{
    opacity: 0.7;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 2rem 1rem;
    }

    .figure.alignright,
    .figure.alignleft {
        float: none;
        margin: 0 auto 1em auto;
    }

    .figure > img {
        margin: 0 auto 1em auto;
    }

    .figure > figcaption {
        text-align: center;
    }
}


/* --------------------------
    header
-------------------------- */
/* header */
header {
    width: 100%;
    background-color: #fff;
    /* left: 0;
    z-index: 254; */
    transition: all 0.3s ease;
    position: relative;
}

header > p {
    position: absolute;
    color: #fff;
    bottom: 0;
    text-align: right;
    right: 10em;
}


@media (max-width: 768px) {
    header {
        height: unset;
    }

header > img {
    height: 150px;
    object-fit: cover;
}

header > p {
    text-align: center;
    right: 0;
    font-size: 12px;
}

}

/* --------------------------
    footer
-------------------------- */
footer {
    color: #fff;
    background-color: #000000;
    font-size: 0.75em;
    text-align: center;
    padding: 2em 0 0;
}

footer > div:first-of-type {
    width: 100%;
    font-size: 12px;
}

 footer > div:first-of-type > div {
    margin-bottom: 1em;
}

#copyright {
    font-size: 10px;
    text-align: center;
    padding: 2em 0.5em 1em;
}

@media (max-width: 768px) {
    footer > div:first-of-type {
        flex-flow: column;
    }

    footer > div:first-of-type > div {
        width: 100%;
        text-align: center;
    }

    footer > div:first-of-type > div + div {
        margin-right: 0;
        margin-top: 2em;
    }

    footer > div:first-of-type > div:last-of-type {
        text-align: center;
    }

    footer > div:first-of-type > div:last-of-type > span {
        justify-content: center;
    }
}

/* --------------------------
    page up
-------------------------- */
#page-up {
    width: 3em;
    height: 3em;
    background-color: #333;
    letter-spacing: 0;
    color: #fff;
    border: 1px solid #fff;
    position: fixed;
    bottom: 1em;
    right: 1em;
    transition: all 0.3s ease;
}

#page-up:hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

#page-up > a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


/* --------------------------
    page
-------------------------- */
#page-header {
    display:  flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#page-header > div {
    display: flex;
    flex-flow: column;
    justify-content: center;
    height: 100%;
}

#page-content p {
    text-align: justify;
    margin-bottom: 1em;
}

#page-content p.alignright {
    text-align: right;
}

#page-content hr {
    border: none;
    border-top: 2px solid #ddd;
    margin: 4em auto;
}

@media (max-width: 768px) {
    #page-header > div {
        padding: 0 1rem;
    }

    #page-header > div > h2 {
        font-size: 1.25em;
    }
}
/* --------------------------
    introduction
-------------------------- */

#introduction{
    background: var(--color-introduction-bg);
}

/* --------------------------
    header-logo
-------------------------- */
#header-logo {
    position: relative;
    }
    
#header-logo > h1 > img {
    width: 100%;
}
    
#header-logo > img {
    position: absolute;
    right: 15px;
    top: 98px;
    width: 18%;
}
@media (max-width: 768px) {
    #header-logo > img {
        right: 13px;
        top: 45px;
    }
}

/* --------------------------
    index
-------------------------- */
#index {
    padding-bottom: 2em;
}

#index > div > div > img {
    width: 100%;
}

#index > div > h2 {
    letter-spacing: 0.1em;
    margin-bottom: 0;
    text-align: center;
}

#index-list {
    list-style-type: none;
    width: 100%;
    padding: 2em 3em;
    font-size: 0.875em;
    margin-bottom: 4em;
}

/* #index-list > li + li {
    margin-top: 1em;
} */
#index-list > li {
    margin-top: 1em;
}

#index-list > li > a {
    transition: all 0.3s ease;
}

#index-list > li > a:hover {
    opacity: 0.7;
    transition: all 0.3s ease;
}

#index-list > li > a > div:first-of-type + * {
    margin-top: 0.5rem;
}

#index-list > li > a > div:first-of-type {
    font-weight: 700;
    border-bottom: 1px solid #333;
    padding-left: 3em;
    padding-bottom: 1em;
    position: relative;
}

#index-list > li > a > div:first-of-type:before {
    content: '';
    display: block;
    width: 0.5em;
    height: 0.5em;
    border-top: 8px solid transparent;
    border-left: 8px solid #333;
    border-right: 8px solid transparent;
    border-bottom: 8px solid transparent;
    position: absolute;
    left: 0.5em;
    top: calc(50% - 15px);
    transition: all 0.3s ease;
}

#index-list > li > a:hover > div:first-of-type:before {
    right: 0;
    transition: all 0.3s ease;
}

#index-list > li > a > div> h3 {
    line-height: 1.3em;
}

#index-list > li > a > div h3 > span {
    font-size: 0.8em;
}

@media (max-width: 768px) {
    #index > div {
        flex-flow: column;
    }

    #index > div > div {
        width: 100%;
    }

    #index > div > div + div {
        margin-bottom: 2em;
    }

    #index > div > div > img {
        max-width: 300px;
    }

    #index > div > div > h2 {
        text-align: center;
    }

    #index-list {
        padding: 1em 2em;
    }

    #index-list h3 {
        font-size: 1em;
    }
}

/* --------------------------
feature / 特集
-------------------------- */
#feature .feature-heading{
    background-color: #00A199;
    color: #fff;
}
#feature .feature-heading > div.feature-logo {
    margin: 0 auto;
    width: 52px;
}
#feature .feature-heading h2 {
    font-size: 2rem;
}
#feature .feature-heading .subtitle {
    text-align: center;
}
#feature .feature-heading .flex-box > p {
    width: 50%;
}
#feature .feature-heading .flex-box > figure {
    width: 23%;
    text-align: center;
}
#feature .feature-heading .flex-box > figure figcaption{
font-size: 0.85em;
}
#feature .feature-content{
    background-color: #E5F4F5;
    padding: 3em 0 0;
}
#feature .feature-content-box{
    margin-bottom: 3em;
}
#feature .feature-content .feature-content-question{
    color: #00A199;
    font-weight: bold;
    margin-bottom: 1em;
    text-indent: 2em;
    position: relative;
    font-size: 1.2em;
}
#feature .feature-content .feature-content-question p::before{
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #00A199;
    position: absolute;
    top: 15px;
    left: 0;
}
#feature .feature-content .feature-content-answer > p > b{
    display: inline-block;
    margin-right: 1em;
}
#feature .feature-content-answer > figure{
    width: 50%;
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}
#feature .feature-content .feature-content-interview{
    background-color: #fff;
    border-radius: 10px;
    padding: 2em;
}
#feature .feature-content .feature-content-interview-title{
    background-color: #CCECEB;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px;
}
#feature .feature-content .feature-content-interview .parson_img{
    text-align: center;
    }
#feature .feature-content .feature-content-interview .parson_img figcaption{
    font-size: 0.85em;
    }
#feature .feature-content .feature-content-enquete-title,#feature .feature-content .feature-content-enquete-subtitle{
    text-align: center;
    font-weight: bold;
    margin-bottom: 2em;
}
#feature .feature-content .feature-content-enquete-title > div:first-of-type{
    background-color: #00A199;
    border-radius: 10px 10px 0 0;
    width: 30%;
    font-size: 1.2em;
    color: #fff;
    margin: 0 auto;
}
#feature .feature-content .feature-content-enquete-title .enquete-title-sub{
    background-color: #CCECEB;
    border-top: 3px #00A199 solid;
    border-bottom: 3px #00A199 solid;
    width: 100%;
    font-size: 1.25em;
    padding: 1em 0;
}
#feature .feature-content .feature-content-enquete-title .enquete-title-sub > h3{
    display: inline-block;
    color: #00A199;
    padding-right: 1em;
}
#feature .feature-content .feature-content-enquete-title .enquete-title-sub > p{
    display: inline;
    font-size: 0.8em;
    color: #000;
}

#feature .feature-content .feature-content-enquete-subtitle > div:first-of-type{
    background-color: #00A199;
    border-radius: 10px;
    width: 20%;
    color: #fff;
    margin: 0 auto 1em;
}
#feature .feature-content .feature-content-enquete-subtitle > div:last-of-type{
    color: #00A199;
    font-size: 1.25em;
}
#feature .feature-content .feature-content-enquete > p:last-child{
    text-align: center;
}

#feature .feature-footing{
    background-color: #B7E4E2;
    text-align: center;
}
@media (max-width: 768px) {
    #feature .feature-heading .flex-box > p {
        width: 100%;
    }
    #feature .feature-heading .flex-box{
        flex-wrap: wrap;
    }
    #feature .feature-heading .flex-box > figure {
        width: 46%;
    }
    #feature .feature-content {
        padding: 3em 1rem 0;
    }
    #feature .feature-content-answer > figure{
        width: 100%;
        float: none;
        margin-left: 0;
    }
    #feature .feature-content .feature-content-interview {
        padding: 1em;
    }
    #feature .feature-content .feature-content-interview .flex-box{
        flex-wrap: wrap;
    }
    #feature .feature-content .feature-content-interview .w48{
        width: 100%;
    }
    #feature .feature-content .feature-content-interview .flex-box > .flex-box{
        flex-direction: column-reverse;
    }
    #feature .feature-content .feature-content-interview .parson_img{
        width: 80%;
        margin: 0 auto;
        margin-bottom: 1em;
        }
    #feature .feature-content .feature-content-interview .parson_img >img{
        width: 80%;
        margin: 0 auto;
        }
    #feature .feature-content .feature-content-enquete-title > div:first-of-type {
        width: 70%;
    }
    #feature .feature-content .feature-content-enquete-subtitle > div:first-of-type {
        width: 50%;
    }
    #feature .feature-content .feature-content-enquete-title .enquete-title-sub > h3 {
        display: block;
        padding-right: 0;
    }
}
/* --------------------------
studyabroad / 海外留学事情
-------------------------- */
#studyabroad{
    background-color: #E6F0F8;
    padding-bottom: 4em;
}
#studyabroad .studyabroad_title{
    text-align: center;
    margin-bottom: 2em;
    padding-left: 3em;
}
#studyabroad .studyabroad_lead{
    margin-bottom: 2em;
}
#studyabroad .studyabroad_lead > p{
    width: 70%;
    font-weight: bold;
}
#studyabroad .studyabroad_lead > figure{
    width: 25%;
    text-align: center;
    font-size: 0.8em;
}
#studyabroad .studyabroad-content-question{
    color: #036EB7;
    font-weight: bold;
    margin-bottom: 1em;
    text-indent: 2em;
    position: relative;
    font-size: 1.2em;
}
#studyabroad .studyabroad-content-question::before{
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background-color: #036EB7;
    position: absolute;
    top: 15px;
    left: 0;
}
#studyabroad .studyabroad-img-box{
  overflow: scroll;
}
#studyabroad .studyabroad-letter{
    background-color: #fff;
    padding: 2em;
    border: 10px solid;
    border-image: url(../images/030/studyabroad_border.png);
    border-image-slice: 26%;
    border-image-width:10px;
    border-image-outset:0;
    border-image-repeat:repeat;
}
#studyabroad .studyabroad-letter-title{
    color: #036EB7;
    display: inline-block;
}
#studyabroad .studyabroad-letter-title > h3{
   position: relative;
   margin-left: 2.5em;
   margin-bottom: 1em;
}
#studyabroad .studyabroad-letter-title > h3::before{
    content: "";
    background-image: url(../images/030/studyabroad_letter_logo.svg);
    position: absolute;
    width: 34px;
    height: 36px;
    left: -50px;
    top: -3px;
}
#studyabroad .studyabroad-letter-title > p{
    font-weight: bold;
}
#studyabroad .studyabroad-letter figure.person{
    float: right;
    width: 35%;
    padding: 1em 2em;
    font-size: 0.9em;
    text-align: center;
}
#studyabroad .studyabroad-letter figure.person >img{
    width: 100%;
    margin: 0 auto;
}
#studyabroad .studyabroad-letter > figure >img{
    width: 48%;
}
@media (max-width: 768px) {
    #studyabroad .studyabroad_title{
        padding-left: 2em;
    }
    #studyabroad .studyabroad_lead.flex-box,#studyabroad .studyabroad-letter .flex-box {
        flex-direction: column;
    }
    #studyabroad .studyabroad_lead > p{
        width: 100%;
    }
    #studyabroad .studyabroad_lead > figure{
        width: 60%;
        margin: 0 auto;
    }
    #studyabroad .studyabroad-img-box >img{
        max-width: unset;
        overflow-y: scroll;
      }
    #studyabroad .studyabroad-letter {
        width: 90%;
    }
    #studyabroad .studyabroad-letter figure.person {
        float: none;
        width: 100%;
        padding: 0;
        text-align: center;
        margin: 0 auto 1em;
    }
    #studyabroad .studyabroad-letter figure.person >img{
        width: 70%;
    }
    #studyabroad .studyabroad-letter > figure >img {
        width: 100%;
    }
}

/* --------------------------
labratory / 研究室から
-------------------------- */
#labratory{
    background-color: #FCEDE4;
}
#labratory > div > figure > figcaption{
    text-align: right;
}
#labratory .labratory-title{
    text-align: center;
    max-width: 80%;
    margin: 0 auto 2em;
}
#labratory .labratory-heading{
    border-top: 1.5px solid;
    border-bottom: 1.5px solid;
    padding: 1em;
    margin-bottom: 2em;
}
#labratory .labratory-heading >h2{
    margin: 0 auto;
    color: #E8515E;
    text-align: center;
}
#labratory .labratory-heading .data{
    display: inline-block;
    background-color: #000000;
    color: #fff;
    padding: 2px 10px;
    margin-right: 10px;
    margin-bottom: 5px;
    border-radius: 20px;
}
#labratory .labratory-lead{
    background-color: #F5B9B1;
    padding: 1em;
    margin-bottom: 2em;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
}
#labratory .labratory-student-voice{
    background-color: #fff;
    position: relative;
    padding: 3em;
    margin-bottom: 3em;
}
#labratory .labratory-student-voice >h3{
    background-color: #E8515E;
    display: inline-block;
    right: calc(100% / 2 - 110px);
    position: absolute;
    top: -20px;
    padding: 0 0.7em;
    color: #fff;
}
#labratory .labratory-student-voice > div.flex-box >figure{
    text-align: center;
    width: 28%;
}
#labratory .labratory-student-voice > div.flex-box >figure >figcaption{
    font-size: 0.85em;
}
#labratory .labratory-student-voice > div.flex-box >div{
    width: 68%;
}
#labratory .labratory-student-voice >hr{
    border-top: 1px solid #E8515E;
    margin: 2em auto;
}
#labratory .laboratory-footing{
    width: 100%;
    background-color: #E8515E;
    text-align: center;
    color: #fff;
}
#labratory .laboratory-footing p{
    text-align: center;
}
@media (max-width: 768px) {
    #labratory .labratory-student-voice {
        width: 90%;
    }
    #labratory .labratory-student-voice >.flex-box {
       flex-direction: column;
    }
    #labratory .labratory-student-voice > div.flex-box >figure {
        width: 80%;
        margin: 0 auto;
        margin-bottom: 1em;
    }
    #labratory .labratory-student-voice > div.flex-box >figure >img {
        width: 80%;
        margin: 0 auto;
    }
    #labratory .labratory-student-voice > div.flex-box >div {
        width: 100%;
    }
    #labratory .labratory-student-voice {
        padding: 2em;
    }
    #labratory .labratory-heading  >div:first-of-type {
        margin-bottom: 1em;
    }
}

/* --------------------------
ninetopics / 9トピックス
-------------------------- */
#ninetopics{
    background-color: #fff;
}

#ninetopics .ninetopics-title{
    max-width: 80%;
    margin: 0 auto;
}

#ninetopics .ninetopics-title > p{
    background-color: var(--color-yellow);
    text-align: center;
    padding: 1em;
    margin: 2em auto 0;
    font-weight: bold;
    width: 100%;
    position: relative;
}
#ninetopics .ninetopics-title > p::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 10px solid transparent;
    border-left: 10px solid transparent;
    border-bottom: 40px solid var(--color-yellow);
    border-top: 0;
    left: 150px;
    top: -20px;
}

#ninetopics .ninetopics-subtitle{
    background-color: var(--color-red);
    position: relative;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    width: 100%;
    padding: 5px;
    margin-bottom: 1.5em;
}

#ninetopics .ninetopics-subtitle > h4{
    padding-left: 70px;
    font-size: 1.2em;
}

#ninetopics .hobun{ background-color: #C16C75;}
#ninetopics .kyoiku{ background-color: #F29600;}
#ninetopics .rigaku{ background-color: #9F5DA1;}
#ninetopics .igaku{ background-color: #ED8599;}
#ninetopics .sigaku{ background-color: #00A199;}
#ninetopics .kogaku{ background-color: #63569D;}
#ninetopics .nogaku{ background-color: #8DC21F;}
#ninetopics .suisangaku{ background-color: #036EB7;}
#ninetopics .kyodozyuigaku{ background-color: #946134;}

#ninetopics .hobun::before,
#ninetopics .kyoiku::before,
#ninetopics .rigaku::before,
#ninetopics .igaku::before,
#ninetopics .sigaku::before,
#ninetopics .kogaku::before,
#ninetopics .nogaku::before,
#ninetopics .suisangaku::before,
#ninetopics .kyodozyuigaku::before{
    position: absolute;
    content: "";
    top: -10px;
    left: -2px;
    width: 60px;
    height: 60px;
}
#ninetopics .hobun::before{background-image: url(../images/030/ninetopics_hobun.svg);}
#ninetopics .kyoiku::before{background-image: url(../images/030/ninetopics_kyoiku.svg);}
#ninetopics .rigaku::before{background-image: url(../images/030/ninetopics_rigaku.svg);}
#ninetopics .igaku::before{background-image: url(../images/030/ninetopics_igaku.svg);}
#ninetopics .sigaku::before{background-image: url(../images/030/ninetopics_sigaku.svg);}
#ninetopics .kogaku::before{background-image: url(../images/030/ninetopics_kogaku.svg);}
#ninetopics .nogaku::before{background-image: url(../images/030/ninetopics_nogaku.svg);}
#ninetopics .suisangaku::before{background-image: url(../images/030/ninetopics_suisangaku.svg);}
#ninetopics .kyodozyuigaku::before{background-image: url(../images/030/ninetopics_kyodozyuigaku.svg);}

#ninetopics .ninetopics-box{
margin-bottom: 3em;
}
#ninetopics .ninetopics-box > div{
width: 30%;
}
#ninetopics .ninetopics-box > div >p:nth-of-type(2){
    line-height: 1.5em;
}
#ninetopics .ninetopics-box .topictitle{
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1em;
    margin-top: 10px;
}
@media (max-width: 768px) {
    #ninetopics .ninetopics-title > p {
        width: 100%;
    }
    #ninetopics .ninetopics-subtitle {
        width: 90%;
        margin: 0 auto;
        margin-bottom: 1.5em;
    }
    #ninetopics .ninetopics-box{
        width: 90%;
    }
    #ninetopics .ninetopics-box.flex-box{
        flex-direction: column;
    }
    #ninetopics .ninetopics-box > div{
        width: 100%;
        margin-bottom: 2em;
    }
    #ninetopics .kakubu-box{ padding-top: 2em;}
    #ninetopics .hobun-box{ background-color: #F3E2E3;}
    #ninetopics .kyoiku-box{ background-color: #FCEACC;}
    #ninetopics .rigaku-box{ background-color: #ECDFEC;}
    #ninetopics .igaku-box{ background-color: #FBE7EB;}
    #ninetopics .sigaku-box{ background-color: #CCECEB;}
    #ninetopics .kogaku-box{ background-color: #DFDDEB;}
    #ninetopics .nogaku-box{ background-color: #E8F3D2;}
    #ninetopics .suisangaku-box{ background-color: #CDE2F1;}
    #ninetopics .kyodozyuigaku-box{ background-color: #EADFD6;}
    #ninetopics .ninetopics-box {
        margin-bottom: 0;
    }
}

/* --------------------------
news / ニュース
-------------------------- */
#news{
    background-color: #fff;
}
#news .news-title{
}
#news .news-box{
    margin-bottom: 4em;
}
#news .news-box .news-subtitle{
    margin-bottom: 1em;
    padding: 0.8em;
    background-color: var(--color-yellow);
    font-size: 1.25em;
    font-weight: bold;
    display: inline-block;
    border-radius: 10px 10px 0 0;
    border: 1.5px solid;
    border-bottom: none;
}
#news .news-box .padding-r >figure{
    padding-right:1em ;
}
#news .news-box .padding-r >figure:last-child{
    padding-right:0 ;
}
#news .news-box figure figcaption{
    text-align: center;
    line-height: 1.3em;
    margin-top: 0.5em;
}
#news .news-footer{
    width: 100%;
    text-align: center;
    margin-bottom: 4em;
}
#news .news-footer .news-footer-title{
    margin: 0 auto;
    display: inline-block;
    border-radius: 10px 10px 0 0;
    background-color: #000000;
    color: #fff;
    padding: 0.5em 0.8em;
    font-size: 1.25em;
    font-weight: bold;
}
#news .news-footer > hr{
    border-bottom: 1.5px solid;
    border-top: none;
    margin: 0 0 1em 0;
}
#news .news-footer > .news-sns{
    justify-content: center;
}
#news .news-footer > .news-sns > a{
    margin: 0 1em;
}
@media (max-width: 768px) {
    #news .news-box{
        padding: 0 1rem;
    }
    #news .news-box > .flex-box {
        flex-direction: column;
    }
    #news .news-box > .flex-box >.w48 {
        width: 100%;
        margin-bottom: 1em;
    }
    #news .news-box .flex-box.padding-r {
    flex-direction: row;
    flex-wrap: wrap;
    }
    #news .news-box .padding-r >figure{
        padding-right:0 ;
        padding-left: 0.5em ;
        width: 50%;
    }
    #news .news-box .padding-r >figure:first-child{
        padding-right: 0.5em ;
        padding-left: 0;
    }
    #news .news-box .padding-r >figure:last-child{
        width: 100% ;
        padding-left: 0;
    }
    #news .news-box figure figcaption {
        margin-bottom: 1em;
    }
}

/* --------------------------
circle / サークル紹介
-------------------------- */
#circle{
    background-color: #FFFFD9;
}
#circle .circle-title{
    width: 60%;
    margin: 0 auto 4em;
}
#circle .circle-box{
    margin-bottom: 4em;
}
#circle .circle-box > figure{
    width: 42%;
}
#circle .circle-box > div{
    width: 55%;
}
#circle .row-reverse{
    flex-direction: row-reverse;
}
#circle .circle-box > div >p:first-of-type{
    background-color: #6CBB63;
    display: inline-block;
    color: #fff;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 0 0.3em;
}
#circle .circle-box > div >p:nth-of-type(2){
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 0;
    border-bottom: 1px solid;
}
#circle .circle-box > div >p >span{
    background: linear-gradient(transparent 50%, var(--color-yellow) 50%);
    display: block;
    width: max-content;
}
@media (max-width: 768px) {
    #circle .circle-box{
        margin-bottom: 0;
    }
    #circle .circle-title{
        margin: 0 auto 1em;
    }
    #circle .circle-box.flex-box {
        flex-direction: column-reverse;
        border-bottom: 1px solid #000;
        padding: 2em 0;
    }
    #circle .circle-box.flex-box:last-child {
        border-bottom: none;
    }
    #circle .circle-box > figure {
        width: 100%;
    }
    #circle .circle-box > div {
        width: 100%;
    }
    #circle .circle-box > div >p:first-of-type {
        display: block;
        width: max-content;
        margin: 0 auto;
        margin-bottom: 5px;
    }
    #circle .circle-box > div >p:nth-of-type(2) {
        text-align: center;
        border-bottom: none;
    }
}

/* --------------------------
supportersfav / 広報サポーターのお気に入り
-------------------------- */
#supportersfav{
    background: var(--color-supportersfav-bg);
    padding: 2em 0;
}
#supportersfav .supportersfav-title{
    padding: 4rem 0 1em;
    text-align: center;
}
#supportersfav .supportersfav-title > p{
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin: 1em 0;
}
#supportersfav .supportersfav-box{
    background-color: rgba(255,255,255,0.5);;
    border-radius: 10px;
    border: 2px solid;
    padding: 2em 0;
    position: relative;
}
#supportersfav .supportersfav-box::before{
content: "";
position: absolute;
width: 23px;
height: 30px;
top: -29px;
left: 300px;
border-bottom: 3px solid #fff;
background-image: url(../images/030/hukidasi.svg);
}
#supportersfav .supportersfav-box > .flex-box {
    margin-bottom: 2em;
}
#supportersfav .supportersfav-box > .flex-box >figure{
    width: 42%;
}
#supportersfav .supportersfav-box > .flex-box >figure >figcaption{
    font-size:14px;
    font-weight:bold;
}
#supportersfav .supportersfav-box > .flex-box > div{
    width: 55%;
}
#supportersfav .supportersfav-box .place{
    background-color: #F3B3CF;
    border: 2px solid;
    padding: 0.3em 1em;
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    position: relative;
}
#supportersfav .supportersfav-box .place::before{
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    background-image: linear-gradient(225deg, rgba(255, 255, 255, 1) 50%, rgba(0, 0, 0, 1) 50%);
    right: -5px;
    top: -6px;
    border: 2px #fff solid;
}
#supportersfav .notice{
    text-align: center;
    margin: 2em 0 0;
}
@media (max-width: 768px) {
    #supportersfav .supportersfav-title {
        padding: 1rem 0 1em;
        width: 90%;
        margin: 0 auto;
    }
    #supportersfav .supportersfav-box {
        width: 90%;
    }
    #supportersfav .supportersfav-box > .flex-box {
        flex-direction: column-reverse;
    }
    #supportersfav .supportersfav-box > .flex-box >figure, #supportersfav .supportersfav-box > .flex-box >div{
        width: 90%;
        margin: 0 auto;
    }
    #supportersfav .supportersfav-box::before{
        left: 120px;
        }
}


/* --------------------------
#footer-info
-------------------------- */
#footer-info{
    padding: 4em 0;
}
#footer-info .button-box{
    margin-bottom: 2em;
}
#footer-info button{
    background-color: #007141;
    font-weight: bold;
    color: #fff;
}
#footer-info button::after{
    background-image: url(../images/030/link_icon_w.svg);
}
#footer-info .footer-link >a {
    background-color: var(--color-yellow);
    font-weight: bold;
    padding: 1em 2.5em 1em 1.5em;
    font-size: 0.8em;
    position: relative;
}
#footer-info .footer-link >a::after{
    content: "";
    background-image: url(../images/030/link_icon.svg);
    position: absolute;
    right: 10px;
    top: 15px;
    width: 15px;
    height: 15px;
}
@media (max-width: 768px) {
    #footer-info {
        width: 90%;
        margin: 0 auto;
    }
    #footer-info .flex-box.footer-link{
        flex-direction: column;
    }
    #footer-info .footer-link >a {
        width: 70%;
        margin: 0 auto 1em;
    }
}

/* --------------------------
#editorsnotes / 編集後記
-------------------------- */
#editorsnotes{
    background-color: #E6E6E6;
    position: relative;
}

#editorsnotes::before{
    background-color: #000000;
    content: "編集後記";
    color: #fff;
    padding: 10px 1em;
    position: absolute;
    top: -10%;
    left: calc(100vw / 2 - 46px);
    font-weight: bold;
}
#editorsnotes p{
margin-bottom: 0;
}



/* 追加スタイル */
.t-center{
text-align: center;
}
.flex-box{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.w48{
    width: 48%;
}
.flex-end{
    align-items: flex-end;
}
.row-reverse{
    flex-direction: row-reverse;
}
.pc-none{
    display: none;
}
figcaption {
    line-height: 1.5em;
    margin-top: 0.5em;
}
figcaption > b >span{
    font-size: 1.3em;
}
@media (max-width: 768px) {
    .sp-none{
        display: none;
    }
    .pc-none {
        display: block;
    }
}
