/*学部紹介共通書式*/
#gakubu-syokai {
    margin-left: 50px;
    margin-right: 50px;
    padding-bottom: 100px;    
}

#gakubu-syokai p {
    text-indent: 1em;
    margin-top: 0;
    margin-bottom: 0;
}

#gakubu-syokai h2 {
    margin-top: 40px;
    margin-bottom: 10px;
    text-indent: -2em;
    padding-left: 2em;
    border-bottom: solid 3px;
    border-image: linear-gradient(to right, #000000, #ffffff) 1;
}

#gakubu-syokai h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.indent-1 {
    margin-left: 1em;
}

.indent-2 {
    margin-left: 2.5em;
    padding-bottom: 0.5em;
}

.indent-3 {
    margin-left: 3em;
    padding-bottom: 0.5em;
}

#gakubu-syokai-main-photo {
    text-align: center;
    position: relative;
}

#gakubu-syokai-main-photo img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 0 50px #bbbbbb, 0 0 5px #bbbbbb, 0 0 5px #bbbbbb , 0 0 5px #bbbbbb;
}

#page-link {
    text-align: center;
}

#page-link ul {
    width: 600px;
    border: solid 1px #ffa0a0;
    border-radius: 20px;
    background-color: #ffe0e0;
    margin:10px auto 0 auto;
    padding: 10px 20px 10px 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);
}

#page-link li {
    list-style: none;
}

#page-link li::after {
    content: "／";
    margin: auto 5px auto 5px;
}

#page-link li:last-of-type::after {
    content: none;
}



.katakana {
    margin-top: 0;
    margin-bottom: 20px;
}

.katakana li {
    list-style: none;
    text-indent: -2em;
    margin-left: 1.5em;
}

.katakana li:nth-of-type(1)::before {
    content: "ア";
    margin-right: 1em;
}

.katakana li:nth-of-type(2)::before {
    content: "イ";
    margin-right: 1em;
}

.katakana li:nth-of-type(3)::before {
    content: "ウ";
    margin-right: 1em;
}

.katakana li:nth-of-type(4)::before {
    content: "エ";
    margin-right: 1em;
}

.katakana li:nth-of-type(5)::before {
    content: "オ";
    margin-right: 1em;
}

.katakana li:nth-of-type(6)::before {
    content: "カ";
    margin-right: 1em;
}

.katakana li:nth-of-type(7)::before {
    content: "キ";
    margin-right: 1em;
}

.katakana li:nth-of-type(8)::before {
    content: "ク";
    margin-right: 1em;
}

.katakana li:nth-of-type(9)::before {
    content: "ケ";
    margin-right: 1em;
}

.katakana li:nth-of-type(10)::before {
    content: "コ";
    margin-right: 1em;
}

.katakana {
    margin-top: 0;
    margin-bottom: 20px;
}

.kakko li {
    list-style: none;
    text-indent: -2em;
    margin-left: 1em;
    margin-bottom: 10px;
}

.kakko li:nth-of-type(1)::before {
    content: "（１）";
    margin-right: 0;
}

.kakko li:nth-of-type(2)::before {
    content: "（２）";
    margin-right: 0;
}

.kakko li:nth-of-type(3)::before {
    content: "（３）";
    margin-right: 0;
}

.kakko li:nth-of-type(4)::before {
    content: "（４）";
    margin-right: 0;
}

.kakko li:nth-of-type(5)::before {
    content: "（５）";
    margin-right: 0;
}

.kakko li:nth-of-type(6)::before {
    content: "（６）";
    margin-right: 0;
}

.kakko li:nth-of-type(7)::before {
    content: "（７）";
    margin-right: 0;
}

.kakko li:nth-of-type(8)::before {
    content: "（８）";
    margin-right: 0;
}

.kakko li:nth-of-type(9)::before {
    content: "（９）";
    margin-right: 0;
}

.kakko li:nth-of-type(10)::before {
    content: "（10）";
    margin-right: 0;
}

.maru {
    list-style: none;
    padding-left: 1.5em;
    margin-top: 0;
}

.maru li {
    padding-left: 2.5em;
    text-indent: -2em;
}

.maru li::before {
    font-size: 20px;
    padding-right: 0.5em;
}

.maru li:nth-of-type(1)::before {
    content: "①";
}

.maru li:nth-of-type(2)::before {
    content: "②";
}

.maru li:nth-of-type(3)::before {
    content: "③";
}

.maru li:nth-of-type(4)::before {
    content: "④";
}

.maru li:nth-of-type(5)::before {
    content: "⑤";
}

.kome {
    margin-left: 2em;
    padding: 0;
    list-style: none;
}

.kome li {
    margin-left: 2em;
    margin-bottom: 5px;
    text-indent: -2em;
}

.kome li:before {
    content: "※";
    margin-right: 1em;
}


#seitosu {
    margin-left: 50px;
    margin-bottom: 50px;
    overflow-x: auto;
}

#seitosu table {
    border: solid 1px #000000;
    border-collapse: collapse;
}

#seitosu th {
    background-color: #ffe8e8;
    font-weight: normal;
    white-space: nowrap;
}

#seitosu td, th {
    border: solid 1px #000000;
    padding: 5px 30px 5px 30px;
    text-align: center;
}

.curriculum table {
    border: solid 1px #000000;
    margin-bottom: 50px;
    margin-left: 50px;
    border-collapse: collapse;
}

.curriculum th {
    border: solid 1px #000000;
    text-align: center;
    padding: 0 10px 0 10px;
    width: 160px;
    height: 3em;
    background-color: #ffe8e8;
    font-weight: normal;
}

.curriculum th:first-of-type {
    width: 80px;
    background-color: #ffffff;
}


.curriculum td {
    border: solid 1px #000000;
    text-align: center;
    padding: 0 10px 0 10px;
    width: 160px;
    height: 3em;
}

.curriculum td:first-of-type {
    width: 80px;
    background-color: #ffe8e8;
}

#gyoji {
    margin-left: 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#gyoji > div{
    background-color: #fff0f0;
    border: solid 1px #ffa0a0;
    border-radius: 20px;
    box-shadow: 5px 5px 5px #c0c0c0;
    padding: 10px 20px 10px 20px;
}

#gyoji ul {
    margin-top: 0;
    padding-left: 20px;
}

.dankumi-2 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
    margin-bottom: 30px;
}

.dankumi-2 > div {
    width: 400px;
    display:bclok;
    text-align: center;
}

.dankumi-2 span {
    display: block;
    margin-bottom: 30px;
}

.dankumi-2 img {
    height: 300px;
}

/*幼稚部の教育*/
.yochibu-curriculum table {
    margin-left: 2em;
}

.yochibu-curriculum td {
    border: none;
}

.yochibu-curriculum td:first-of-type {
    width: 3em;
    text-align: right;
    padding-right: 1em;
}

/*小学部の教育*/
.jugyo-photo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 30px;
}

.jugyo-photo > div {
    width: 400px;
    text-align: center;
    font-size: 20px;
    display: inline-block;
    margin: 0 10px 0 10px;
}

.jugyo-photo img {
    height: 300px;
    display: block;
    border-radius: 10px;
}

/*中学部の教育*/
#tyu-curriculum table {
    border: solid 1px #000000;
    margin-bottom: 50px;
    margin-left: 50px;
    border-collapse: collapse;
    overflow-x: auto;
}

#tyu-curriculum th {
    border: solid 1px #000000;
    text-align: center;
    padding: 0 50px 0 50px;
    height: 3em;
    font-weight: normal;
}

#tyu-curriculum th:first-of-type {
    background-image: linear-gradient(to right top, transparent calc(50% - 0.5px), #999 50%, #999 calc(50% + 0.5px), transparent calc(50% + 1px)) !important;
    padding: 10px;
}

#tyu-curriculum td {
    border: solid 1px #000000;
    text-align: center;
    padding: 0 10px 0 10px;
    height: 2em;
}

#tyu-curriculum td:first-of-type {
    background-color: #ffe8e8;
}

#tyu-curriculum td.tyu-curriculum-gokei {
    background-color: #eeeeee;
    text-align-last: justify;    
    padding-left: 3em;
    padding-right: 3em;
}

#tyu-junzuru {
    background-color: #ddffff;
}

#tyu-tyofuku {
    background-color: #f0fff0;
}

.tyu-jikanwari-tyofuku td {
    height: 1.8em;
}

/*普通科の教育*/
#fu-curriculum {
    margin-top: 1em;
    margin-bottom: 50px;
}

#fu-curriculum div {
    overflow-x: auto;
}

#fu-curriculum > ul > span {
    display: inline-block;
    margin-left: 1.5em;
    margin-right: 1em;
}

#fu-curriculum li {
    margin-bottom: 1em;
}

#fu-curriculum table {
    border: none;
        margin-bottom: 2em;
    margin-left: 0;
    border-collapse: collapse;
}

#fu-curriculum th {
    border: solid 1px #000000;
    text-align: center;
    font-weight: normal;
    white-space: nswrap;
}

.fu-syasen {
    background-image: linear-gradient(to right top, transparent calc(50% - 0.5px), #999 50%, #999 calc(50% + 0.5px), transparent calc(50% + 1px)) !important;
    padding: 10px;
}

.fu-th {
    background-color: #ddffff;
}

#fu-curriculum th:first-of-type > div:first-of-type {
    text-align: right;
}

#fu-curriculum th:first-of-type > div:nth-of-type(2) {
    text-align: left;
}

#fu-curriculum th:last-of-type {
    border: none;
}

#fu-curriculum td {
    border: solid 1px #000000;
    text-align: center;
    padding: 0 10px 0 10px;
    height: 2em;
}

#fu-curriculum td:last-of-type {
    border: none;
    text-align: left;
    white-space: nowrap;
}

#fu-curriculum em {
    vertical-align: top;
    font-size: 12px;
    font-style: normal;
}

.fu-kyoka {
    white-space: nowrap;
    text-align-last: justify;
    background-color: #ffe8e8;
}

#fu-curriculum td.fu-kamoku {
    background-color: #ffe8e8;
    text-align-last: left;
}

#fu-curriculum td.fu-curriculum-gokei {
    background-color: #eeeeee;
    text-align-last: justify;    
    padding-left: 3em;
    padding-right: 3em;
}

/*理療科の教育*/
#ri-gaiyo {
    margin-left: 50px;
    margin-bottom: 50px;
}

#ri-gaiyo span {
    display: block;
    margin-left: 30%;
}

#ri-gaiyo table {
    border: solid 1px #000000;
    border-collapse: collapse;
}

#ri-gaiyo th {
    font-weight: normal;
}

#ri-gaiyo td {
    border: solid 1px #000000;
    padding: 5px 10px 5px 10px;
    text-align: center;
}

.ri-h4 {
    margin: 0 0 0 2em;
}

.ri-ol {
    margin-top: 0.5em;
    margin-left: 1em;
}

.ri-ol ul {
    margin-top: 0.5em;;
    margin-bottom: 0.5em;
    padding-left: 0;
}

#ri-curriculum {
    margin-left: 50px;
    margin-bottom: 50px;
}

#ri-curriculum table {
    border: solid 1px #000000;
    border-collapse: collapse;
}

#ri-curriculum td {
    border: solid 1px #000000;
    padding: 5px 10px 5px 10px;
}

#ri-curriculum td:first-of-type {
    background-color: #ffe8e8;
    white-space: nowrap;
}

#ri-syuyo-kamoku table {
    border: solid 1px #000000;
    border-spacing: 0;
}

#ri-syuyo-kamoku td {
    border: solid 1px #000000;
    padding: 5px;
}

#ri-syuyo-kamoku td:first-of-type { 
    white-space: nowrap;
}

/*寄宿舎の教育*/
#syaseisu {
    margin-left: 50px;
    margin-bottom: 50px;
}

#syaseisu table {
    border: solid 1px #000000;
    border-collapse: collapse;
}

#syaseisu th {
    background-color: #ffe8e8;
    font-weight: normal;
}

#syaseisu th:first-of-type {
    background-color: #ffffff;
}

#syaseisu td, #syaseisu th {
    border: solid 1px #000000;
    padding: 0px 30px 0px 30px;
    text-align: center;
    height: 3em;
}

.gokei {
    letter-spacing: 2em;
}

#nikkahyo {
    display: flex;
    flex:direction: row;
    flex-wrap: wrap;
    margin-left: 50px;
}

#nikkahyo table {
    border: solid 1px #000000;
    border-collapse: collapse;
}

#nikkahyo table:first-of-type {
    margin-right: 50px;
}

#nikkahyo td {
    border: solid 1px #000000;
    padding: 5px 20px 5px 20px;
    text-align: center;
}

#nikkahyo td:last-of-type {
    text-align: left;    
}

.sya-gyoji-h3 {
    font-weight: normal;
    padding-bottom: 0;
}

.sya-gyoji-h3::before {
    content: "○";
}

.sya-gyoji {
    display: flex;
    margin-right: 30px;
}


/* 画面幅が767px以下のとき */
@media screen and (max-width: 767px) {
    #gakubu-syokai {
        margin-left: 30px;
        margin-right: 30px;
        padding-bottom: 100px;    
    }
    
    #gakubu-syokai-main-photo img {
        width: 50%;
    }

    #gakubu-syokai p.indent-2 {
        margin-left: 3.5em;
        text-indent: 0;
    }

    #seitosu {
        margin-left: 0;
    }

    #seitosu table {
        margin-left: auto;
        margin-right: auto;
    }

    #seitosu td,th {
        padding: 5px 10px 5px 10px;
    }

    .curriculum table {
        margin-left: 0;
    }
 
    .curriculum th:first-of-type {
        width: 40px;
    }
 
    .curriculum td {
        width: auto;
        height: 5em;
        padding: 0;
    }

    .curriculum td:first-of-type {
        width: 40px;
    }
 
    #page-link ul {
        width: 100%;
        box-shadow: 3px 5px 0px rgba(0, 0, 0, 0.2);
    }
    
    .maru li::before {
        font-size: 15px;
        padding-right: 0.5em;
    }

     #gyoji {
        margin-left: 0;
        flex-direction: column;
    }
    
    #gyoji > div {
        margin-bottom: 10px;
    }

    .jugyo-photo {
        flex-direction: column;
        margin: 0 -15px 0 -15px;
    }
    
    .jugyo-photo > div {
        display: block;
        margin: 30px 0 0 0;
        width: 100%;
        font-size: 15px;
    }

    .jugyo-photo img {
        width: 100%;
        height: auto;
    }

    .dankumi-2 {
        flex-direction: columun;
        margin: 30px -15px 0 -15px;
    }

    .dankumi-2 > div {
        width: 100%;
    }

    .dankumi-2 img {
        width: 100%;
        height: auto;
    }

    /*中学部の教育*/
    #tyu-curriculum table {
        margin-left: 0;
    }

    #tyu-curriculum th {
        padding: 0;
        white-space: nowrap;
    }

    .indent-1.tyu-hairyo {
        margin-left: 0;
    }

    .kakko.tyu-hairyo ul {
        padding-left: 10px;
    }

    /*普通科の教育*/
    #fu-curriculum table {
        margin-left: -40px;
    }

    #fu-curriculum td,#fu-curriculum th {
        white-space: nowrap;
    }

    #fu-curriculum td:last-of-type {
        white-space: normal;
        padding-left: 2.5em;
        text-indent:-2em;
    }

    /*理療科の教育*/
    .ri-left-minus-margin {
        margin-left: -20px;
    }

    #ri-gaiyo {
        margin:0;
    }

    #ri-gaiyo span {
        margin-left: 100px;
    }

    #ri-gaiyo th {
        white-space: nowrap;
        padding: 5px;
    }

    #ri-gaiyo th:nth-of-type(3)  {
        width: 6em;
    }

    #ri-gaiyo td {
        padding: 5px;
        font-size: 10px;
    }

    #ri-gaiyo td:last-of-type {
        white-space: nowrap;
    }

    #ri-curriculum {
        margin-left: 0;
    }

    /*寄宿舎の教育*/
    #syaseisu {
        margin-left: 0;
    }
 
    #nikkahyo {
        flex:direction: column;
        margin-left: 0;
    }
    
    #nikkahyo > div {
        margin-bottom: 2em;
    }

    #syaseisu table {
        margin: auto;
    }
    
    #syaseisu th {
        padding-left: 10px;
        padding-right: 10px;
    }

    #syaseisu td:first-of-type {
        white-space: nowrap;
        padding-left: 10px;
        padding-right: 10px;
    }

}