* {
    padding: 0;
    margin: 0;
}

/*drawer*/
.drawer-hamburger-icon,
.drawer-hamburger-icon:after,
.drawer-hamburger-icon:before {
    background: #3EA1D1;
}

.drawer-hamburger {
    background: #bdcfd8;
}

.drawer-hamburger:hover {
    background: #71b0cf;;
}

.drawer-hamburger {
    padding-top: 15px;
    padding-right: 10px;
    display: block;
}

.drawer-nav {
    position: fixed;
    z-index: 101;
    top: 0;
    overflow: hidden;
    height: auto;
    /*   border-radius: 20px;*/
    background-color: rgba(253, 253, 253, 0.7);
}

.drawer-menu-item {
    font-size: 1.3rem;
}

.smp {
    display: inline;
}

.pc {
    display: none;
}

main a {
    color: #3366cc;
}

/* 背景 */
.bg-switcher {
    width: 100vw;
    height: 70vh;
    background-image: url(/life/ccs/lics/exam/adm_b3/images/background1.jpg);
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    overflow: hidden;
    margin:0;
    padding:0;
}


/* タイトル近辺 */
.bg-switcher img {
    width: 700px;
}

img#toptitle{
    padding:3px 0 0 3px;width:300px;height:auto;
    margin:0;
}

main {
    font-family: "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
}

h1 {
    font-size: 20px;
    margin-top: 30px;
    margin-left: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px 30px;
    text-align: left;
    border-radius: 20px;
    color: #1b5151;
}


h2 {
    font-weight: 1000;
    font-size: 35px;
    color: #347b7b;
    margin: 60px 0 10px;
    text-align: center;
    font-weight: normal;
}

h1, h2 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h3 {
    font-size: 24px;
    color: #347b7b;
    margin: 30px 0 0px;
    padding: 0px;
    font-weight: bold;
}

h4{
    font-size:medium;
    color: #070f31;
}


/*新着*/

.news-list {
    list-style: none outside;
    padding: 2em;
}

.news-list .item {
    display: block;
    flex-wrap: nowrap;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    padding: 10px 10px;
    font-size: large;

}
.news-list .item:first-child {
    border-top: 1px solid #f0f0f0;
}

.news-list .item .date {
    min-width: 120px;
    color: #999;
    padding: 0 20px 0 0;

}

.news-list .item .title {
    margin: 0;
    width: 100%;
    display: block;
}

.new-badge {
    background-color: #f15b5b;   /* 落ち着いた赤系 */
    color: #fff;
    font-size: 0.75em;
    padding: 3px 8px;
    margin-left: 10px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    transition: background-color 0.3s;
}

.new-badge:hover {
    background-color: #d94444;
}




/*導入*/
.dounyu {
    text-align: left;
    margin-top: 40px;
    padding: 2em;
    border-top: solid 5px #8FAAAD;
    border-bottom: solid 5px #8FAAAD;
    background-color:  #FBFBFB;
}

.dounyu p {
    font-size:large;
}

.dounyu h2{
    font-size:large;
    margin:0;
    color: #070f31;
    font-weight:bold;
}

/*入試情報*/
.sched {
    text-align: left;
    margin-top: 40px;
}

.sched p {
    margin: 0px 6%;
}

.sched table {
    margin: 0 6%;
}

/*table*/
.kamoku,
.nittei {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 2px #778ca3;
}


.kamoku th {
    padding: 10px;
    background: #e9faf9;
    border-bottom: solid 1px #778ca3;
}

.kamoku td {
    padding: 10px;
    text-align: left;

}

.kamoku tr {
    border-top: solid 1px #778ca3;
}

.kamoku .delsmp{
    display:none;
}
.kamoku tr.suisen {
    border-top: solid 2px #778ca3;
}

.kamoku tr.midashi_top{
    display:none;
}
.kamoku th, .kamoku td{
    display:block;
    width:auto;
}
.kamoku td:before{
    color: #fff;
    content: attr(data-label);
    font-weight: bold;
    padding: 0px;
    display: inline;
    color:#1b5151;
    margin-right: 5px;
    float: left;
  }

  .nittei th {
    padding: 10px;
    background: #e9faf9;
    border: solid 1px #778ca3;
    border-bottom: solid 1px #778ca3;
}

.nittei td {
    padding: 10px;
    border-left: solid 1px #778ca3;
    text-align: center;
    width: auto;
}

.nittei tr {
    border-top: solid 1px #778ca3;
}

.nittei th.ippan{
    width:20%;
}

.notice {
  background: #f9f9f2;
  border-left: 5px solid #005bac;
  padding: 1em 1.2em;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  margin-bottom: 1.5em;
  color: #2c3e50;
  line-height: 1.6;
}

.notice strong {
  color: #1c3f70;
  font-size: 1.05em;
}

.notice .capacity {
  margin-top: 0.8em;
  font-weight: 500;
}

.notice .number {
  display: inline-block;
  background-color: #ffeded;
  color: #b40000;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 1em;
  margin-left: 0.3em;
}



.done {
  color: #999;  
  opacity: 0.8;  
}

.done th,
.done td {
  background-color: #f5f5f5; 
}
.emp{
    font-size: larger;
}
.emp,
.emp th {
    font-weight:normal;
    background: #e7706c;
    color: #FFF;
    border-color:#FFF;
    border-bottom: solid 1px #FFF;
}

.emp td{
    background: #e7706c;
    color: #FFF;
    border-color:#FFF;
}

.emp2 th, .emp2 td{
    background: #DC6835;
}
.kakomi1 {
    padding: 20px;
    background-color: #FBFBFB;
    border: 1px solid #4c9ac0;
}


mark {
    background-color: #f9d5f1;
}

.fadein {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s;
}

.is-fadein {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.QA h3 {
    font-size:large;
    margin:0;
    color: #070f31;
    font-weight:bold;
}

details:not([open]) {
    margin-bottom: 7px;
}

details summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em;
    border-left: 5px solid #4c9ac0;
    background-color: #f2f2f2;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #c2c2c2;
    border-right: 3px solid #c2c2c2;
    content: '';
    transition: transform .3s;
}

details[open] summary::after {
    transform: rotate(225deg);
}

details p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: 1em 2em 2em 2em;
    color: #333333;
    transition: transform .5s, opacity .5s;
}

details[open] p {
    transform: none;
    opacity: 1;
}

/* 生活情報通信科学コースについて */
#course {
    background-color: #D6E5F9;
    padding-bottom: 0px;
    position: relative;
    width: 100%;
    padding-bottom: 100px;
}

.cource {
    text-align: center;
}

.jouhoucource,
.narajosidaigaku {
    margin-top: 40px;
    padding-top: 10px;
    width: 100%;
}

.flex1 {
    display: flex;
    margin-top: 30px;
    padding-top: 40px;
}

.left img {
    width: 350px;
    height: 220px;
    margin-left: 20px;
    border-radius: 20px;
    position: relative;
    z-index: 100;
}

.right {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    margin-top: 200px;
    margin-right: 10px;
    padding: 50px 20px;
    margin-left: -300px;
    position: relative;
}

.right h4 {
    color: #256767;
    font-size: 35px;
    margin-bottom: 30px;
    border-bottom: 1.5px solid #256767;
}

.right p {
    font-size: 18px;
    margin-bottom: 35px;
    text-align: left;
}

.link1 a {
    position: relative;
    font-size: 20px;
    color: rgb(255, 255, 255);
    width: 220px;
    line-height: 70px;
    display: inline-block;
    border-radius: 20px;
    background-color: rgba(48, 152, 89, 0.5);
    text-align: center;
    margin-bottom: 30px;
}



/* Images */
.slider {
    margin: 50px 150px;
    max-width: 100%;
}

.slider img {
    width: 100%;
    margin: 0 auto;
}

.slick-prev:before,
.slick-next:before {
    opacity: 1;
    background-color: #fff;
}

/* Access */

.link {
    width: 100%;
    margin: auto;
    text-align: center;
}

.flex3 {
    display: block;
    text-align: center;
    margin-left: 10%;
}

.link img {
    width: 220px;
    margin-right: 50px;
}

.return {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
}

.return a {
    padding: 8px;
    border-radius: 10px;
}

.return a {
    font-size: 20px;
    background-color: rgb(115, 169, 169,0.7);
    color: white;
}


footer {
    font-weight: 100;
    font-size: 15px;
    line-height: 60px;
    color: #256767;
    text-align: center;
    margin-top: 40px;
}

@media all and (max-width:460px) {

    .smp {
        display: inline;
    }

    .drawer-hamburger {
        display: block;
    }

}


@media all and (min-width:461px)  {

    .drawer-hamburger {
        display: block;
    }

    .smp {
        display: inline;
    }

    .pc {
        display: none;
    }


    /* 背景 */

    .bg-switcher {
        width: 100vw;
        /*        min-height: 100vh;*/
    }

    .bg-switcher img {
        width: 80%;
        height: 40%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }


    .news-list .item .date {
        margin-left: 0px;
    }

    .news-list {
        margin-top: -30px;
    }

    .news-list .item {
        width:auto;
    }

    /*  introduction */
    h4 {
        font-size: 23px;
        margin: 0px 6%;
    }


    /* 選抜科目*/
    .kamoku th, .kamoku td{
        display:table-cell;
        width:auto;
    }
    .kamoku tr.midashi_top{
        display:table-row;
    }
    .kamoku .delsmp{
        display:table-row;
    }

    .kamoku br{
        display:inline;
    }

    .kamoku td:before{
        display:none;
    }
    
    .kamoku {
        border: solid 2px #778ca3;
    }
    .kamoku tr {
        border-top: solid 1px #778ca3;
    }
    .kamoku tr.suisen {
        border-top: solid 2px #778ca3;
    }
    .kamoku th {
        border: solid 1px #778ca3;
    }
    .kamoku td {
        border-left: solid 1px #778ca3;
    }

    /*導入*/
    .dounyu p {
        font-size: 17px;
        margin: 0px 6%;
    }

    .sched p {
        font-size: 17px;

    }

    /* Course */
    #course {
        /* position:relative; */
        width: 100%;
    }

}

@media all and (min-width:971px) {
    .pc {
        display: inline;
    }

    .smp {
        display: none;
    }



    .drawer-hamburger {
        display: none;
    }

    /* 背景 */

    .bg-switcher {
        width: 100vw;
        /*        min-height: 100vh;*/
    }

    .bg-switcher img {
        width: 80%;
        height: 40%;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .bg-switcher h2 {
        font-size: 1.6rem;
    }

    h1 {
        font-size: 2.2rem;
        margin-left: 80px;
    }
    h2 {
        font-size: 2rem;
    }


    .news-list .item .date {
        margin-left: 0px;
    }

    .news-list {
        margin-top: -30px;
    }
    .news-list .item {
        display: flex;
        width:auto;
    }
    /*  introduction */
    h4 {
        font-size: 16px;
    }

    #topics,
    #sched,
    #dounyu {
        width: 850px;
        margin: auto;
        text-align: left;
    }

    .dounyu p,
    .sched p {
        font-size: 17px;
        margin: 5px 6%;
    }

    .sched p.kakomi1{
        font-size: 17px;
        margin: 10px 6%;
    }
    /* Course */
    #course {
        /* position:relative; */
        width: 100%;
        height: auto;
        padding: 0;
    }

    .jouhoucource {
        padding-bottom: 250px;
        width: 100%;
        height: auto;
    }

    .narajosidaigaku {
        padding-bottom: 250px;
        width: 100%;
        height: auto;
    }

    .flex1 {
        width: 1100px;
        margin: auto;
    }

    .right {
        max-width: 540px;
        margin-top: 60px;
        margin-left: 300px;
        padding: 0 20px;
        padding-left: 250px;
        position: absolute;
    }

    .left img {
        width: 480px;
        height: 320px;
        border-radius: 20px;
        margin-left: 0;
        position: relative;
        z-index: 100;
    }

    .link {
        width: 971px;
    }

    .link img {
        margin-top: 30px;
        width: 160px;
        margin-right: 20px;
    }

    .flex3 {
        flex-wrap: wrap;
        margin-left: 48px;
        margin-top: 20px;
    }

    .drawer-nav {
        display: flex;
        justify-content: flex-end;
        width: 850px;
        height: auto;
        margin: 30px 300px 30px auto;
        position: absolute;
        top: 0;
        right: 0;
        background-color: rgba(48, 152, 89, 0.8);
        padding-right: 30px;
        border-radius: 20px;
    }

    .drawer-nav ul {
        display: flex;
    }

    .drawer-nav li {
        list-style: none;
        margin-left: 0px;
    }

    .drawer-menu-item {
        font-size: 1rem;
        display: block;
        padding: .5rem;
        text-decoration: none;
        color: #222;
        position: -600px;

    }

    .drawer-nav a,
    .drawer-nav a:hover {
        font-weight: 400;
        font-size: 20px;
        color: #fff;
        text-decoration: none;
    }

    .drawer-nav a:hover {
        color: #2d2d2d;
        transition: 0.7s;
    }

}