@charset "utf-8";

/* =========================================================
シラバス検索画面のスタイル
========================================================= */

/* 基本要素
--------------------------------------------------------- */
#canvas {
    width: 800px;
    margin: 0 auto;
    text-align: left;
}

#header{
    width: 100%;
    margin: 0;
    padding: 0;
}

#container {
    width: 100%;
    margin-top: 40px;
    font-size:12px;
}

#wrapper {
    width: 100%;
    position:relative;
    margin-left:auto;
    margin-right:auto;
}

#contents {
    width: 100%;
    font-size: 12px;
}

#logo_image_area {
    width: auto;
    height: 70px;
    padding: 10px;
    background-color: #D5BED4;
}

#title_area {
    width: auto;
    padding: 5px;
    background: #732772;
    text-align: center;
}
#title {
    /* ズルい text-shadow */
    text-shadow: -1px 1px rgba(0, 0, 0, .4);
    font-size: 1.8em;
    color: #FFF;
}

#curriculum_year_selection_area {
    width: 700px;
    margin: 0 auto 25px auto;
    font-size: 14px;
}
#curriculum_year_selection_area select {
    width: 100px;
    margin-left: 5px;
}
.target_curriculum_title {
    display: inline-block;
    width: 200px;
    font-weight: bold;
    padding: 2px 0 2px 10px;
    background-color: #B993B8;
}


/* カリキュラム選択
--------------------------------------------------------- */
#condition_curriculum_year {
    width: 700px;
    margin-left:auto;
    margin-right:auto;
}
#condition_curriculum_year
  th, td {
    width: 200px;
    text-align:center;
    padding: 5px;
}
#condition_curriculum_year .search_curriculum_year_label {
    border:none;
    width:700px;
    text-align: left;
}
/*
#condition_curriculum_year
    border-color:#3399CC;
	th {
    background-color:#CCEEFF;
}
*/

.curriculum_year1_on,
.curriculum_year2_on {
    /* ズルい グラデーション */
    background: #652B65; /* Old browsers */
    background: -moz-linear-gradient(top,  #732772 0%, #9D679C 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#732772), color-stop(100%,#9D679C)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #732772 0%,#9D679C 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #732772 0%,#9D679C 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #732772 0%,#9D679C 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #732772 0%,#9D679C 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#732772', endColorstr='#9D679C',GradientType=0 ); /* IE6-9 */
    /* ズルい 角丸 */
    -webkit-border-radius:4px;
    -moz-border-radius: 4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;
    /* ズルい box-shadow */
    border: 1px solid rgba(0, 0, 0, .1);

    color: rgba(255,255,255,.9);
    padding: 5px 0 5px 15px;
    font-size: 16px;
    line-height: 1em;
    text-align: left;

    width: 325px;
    height: 34px;
}
.curriculum_year1_off,
.curriculum_year2_off {
    background: #DFF2FC;

    /* ズルい 角丸 */
    -webkit-border-radius:4px;
    -moz-border-radius: 4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;
    /* ズルい box-shadow */
    border: 1px solid rgba(0, 0, 0, .1);

    color: rgba(0,0,0,.9);
    padding: 5px 0 5px 15px;
    font-size: 16px;
    line-height: 1em;
    text-align: left;

    width: 325px;
    height: 34px;
}


/* 学科検索条件
--------------------------------------------------------- */
#condition_department {
    margin: 20px auto 10px auto;
    width: 700px;
    text-align: center;
}
.th_condition_department_blank,
.th_condition_department {
    width: 100px;
    border: none;
    padding: 2px;
}
.td_condition_department {
    width: 420px;
    border: none;
    padding: 5px;
    text-align: left;
}
#search_department1 {
    width: 450px;
}

.condition_group_title {
    display: block;
    background: #B993B8;
    /* ズルい 角丸 */
    -webkit-border-radius:4px;
    -moz-border-radius: 4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;

    text-align: center;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;

    height: 21px;
    line-height: 21px;
}
.condition_title {
    display: block;
    background: #D5BED4;
    /* ズルい 角丸 */
    -webkit-border-radius:4px;
    -moz-border-radius: 4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;

    text-align: center;
    padding: 10px;
    font-size: 1.2em;
    font-weight: bold;
}


/* 詳細条件
--------------------------------------------------------- */
#condition_detail {
    margin: 20px auto 10px auto;
    width: 700px;
    text-align: center;
}
.th_condition_detail_blank,
.th_condition_detail {
    width: 100px;
    border: none;
    padding: 2px;
}
.td_condition_detail {
    width: 450px;
    border: none;
    padding: 5px;
    text-align:left;
}
#condition_detail input,
#condition_detail select {
    width: 450px;
}

#th_condition_detail_list {
    width:400px;
}

#condition_detail select#search_instructor_yomi {
    width:45px;
}
#condition_detail select#search_instructor {
    width:400px;
}
#condition_title_keyword {
    font-size: 1.0em;
    padding-left: 6px;
    padding-right: 6px;
}
#condition_title_dps,
#condition_title_subjectcode {
    font-size: 1.0em;
}

#button_area {
    text-align:center;
    margin-top: 40px;
}
#search_button {
    /*display: block;*/
    /* ズルい text-shadow */
    text-shadow: -1px 1px rgba(0, 0, 0, .4);
    /* ズルい グラデーション */
    background: #732772; /* Old browsers */
    background: -moz-linear-gradient(top,  #732772 0%, #9D679C 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#732772), color-stop(100%,#9D679C)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #732772 0%,#9D679C 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #732772 0%,#9D679C 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #732772 0%,#9D679C 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #732772 0%,#9D679C 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#732772', endColorstr='#9D679C',GradientType=0 ); /* IE6-9 */
    /* ズルい 角丸 */
    -webkit-border-radius:4px;
    -moz-border-radius: 4px;
    -ms-border-radius:4px;
    -o-border-radius:4px;
    border-radius:4px;
    /* ズルい box-shadow */
    border: 1px solid rgba(0, 0, 0, .1);

    color: rgba(255,255,255,.9);
    text-align: center;
    padding: 5px 0;
    font-size: 18px;
    line-height: 1em;
    font-weight: bold;

    width: 260px;
    height:35px;
}

#search_button:hover {
    background: #732772;
}

.condition_annotation {
    padding: 2px 0 0 5px;
    text-align: left;
    font-size: 10px;
}


/* 検索結果一覧
--------------------------------------------------------- */
#subjectlist {
    width: 100%;
    font-size: 16px;
}

#pager_links_area {
    margin: 5px;
    font-size: 12px;
}


#subjectlist_table {
    width: 860px;
    padding: 0 5px 20px 5px;
    text-align: left;
    margin-top: 20px;
}

#subjectlist_table th {
    font-size: 11px;
    padding: 3px 0;
    font-weight: bold;
    border-top: 1px solid #39C;
    border-bottom: 1px solid #39C;
    border-right: 1px solid #FFF;
    border-left: none;
    background-color:#CEF;
    text-align: center;
}

#subjectlist_table td {
    padding: 3px 0;
    border: none;
    border-bottom: 1px solid #39C;
    border-right: 2px solid #FFF;
}

.col_th_subjectcode {
    width: 70px;
}
.col_td_subjectcode {
    width: 70px;
    height: 25px;
    font-size: 9px;
    vertical-align: middle;
}

.col_th_subjectname {
    width: 155px;
    padding-left: 10px;
    text-align: left;
}
.col_td_subjectname {
    width: 160px;
    font-size: 12px;
    font-weight: bold;
    text-align: left;
    padding-left: 5px;
}

.col_th_department {
    width: 110px;
    padding-left: 10px;
    text-align: left;
}
.col_td_department {
    width: 110px;
    font-size: 11px;
    text-align: left;
    padding-left: 5px;
}

.col_th_grade {
    width: 65px;
    padding-left: 10px;
    text-align: left;
}
.col_td_grade {
    width: 70px;
    font-size: 11px;
    text-align: left;
    padding-left: 5px;
}

.col_th_category {
    width: 75px;
}
.col_td_category {
    width: 75px;
    font-size: 9px;
    text-align: center;
}

.col_th_term {
    width: 45px;
    font-size: 10px;
}
.col_td_term {
    width: 45px;
    font-size: 11px;
    text-align: center;
}

.col_th_credits {
    width: 40px;
}
.col_td_credits {
    width: 40px;
    font-size: 11px;
    text-align: center;
}

.col_th_charge {
    width: 145px;
    padding-left: 10px;
    text-align: left;
}
.col_td_charge {
    width: 150px;
    font-size: 9px;
    padding-left: 5px;
    text-align: left;
}

.col_th_pdf_fixed,
.col_th_pdf {
    width: 40px;
}

.col_td_pdf_fixed,
.col_td_pdf {
    width: 20px;
    font-size: 10px;
    text-align: center;
}
.print_button {
    width: 50px;
    font-size: 11px;
}


.row_body:hover {
    background: #FFF3C2;
}


/* 全科目リンク
--------------------------------------------------------- */
#all_link_blank {
    display: inline-block;
    width: 250px;
}
#all_link_blank_2013 {
    display: inline-block;
    width: 225px;
}

#all_link {
    font-size: 1.2em;
}


/* モバイル対応
--------------------------------------------------------- */
/*  */
@media screen and (max-width: 480px) {

    #logo_image_area {
        height: 50px;
    }

    #logo_image img {
        width: 140px;
    }

    #title {
        font-size: 1.2em;
    }

    #canvas {
        width: 100%;
    }

    #container {
        margin: 0;
    }

    #curriculum_year_selection_area {
        width: 100%;
        margin: 0;
        padding: 10px 5px 15px 5px;
    }

    #condition_curriculum_year {
        width: 100%;
        padding: 5px 0;
    }

    #condition_department {
        margin: 5px auto 10px auto;
        width: 100%;
    }

    .th_condition_department_blank,
    .th_condition_detail_blank {
        width: 0;
    }

    .th_condition_department {
        width: 30%;
        min-width: 100px;
    }

    .td_condition_department {
        width: 70%;
    }

    #condition_detail {
        margin-top: 10px;
        width: 100%;
    }

    .th_condition_detail {
        width: 30%;
        min-width: 100px;
    }

    #condition_detail td {
        text-align: left;
    }

    #condition_detail input {
        width: 98%;
    }

    #condition_detail select {
        width: 100%;
    }

    #search_department1 {
        width: 100%;
    }

    #condition_detail select#search_instructor {
        width: 100%;
    }

    #condition_curriculum_year .search_curriculum_year_label {
        width: 100%;
    }

    #all_link_blank {
        display: none;
    }

    #button_area {
        margin-top: 10px;
    }

    .condition_annotation {
        font-size: 8px;
        padding-left: 0;
    }
    /*  */
    #return_link_area {
        margin: 15px 0 0 15px;
    }
    #pager_links_area span,
    #pager_links_area a {
        display: inline-block;
        padding: 2px 5px;
        border: 1px solid #B993B8;
        text-decoration: none;
        margin-left: 2px;
        background-color: #B993B8;
        color: #ffffff;
    }
    #pager_links_area span.clink {
        background-color: #fff;
        color: black;
    }
    #subjectlist {
        margin-left: 15px;
    }
    #subjectlist_table {
        width: 100%;
        overflow: scroll;
    }
    #subjectlist_table table {
        width: 860px;
    }
    .print_button {
        width: 30px;
        font-size: 10px;
    }
    .row_body td {
        position: sticky;
        top: 0;
        z-index: 2;
    }
    .col_th_pdf_fixed,
    .row_body td.col_td_pdf_fixed {
        z-index: 3;
    }

}
