@charset "utf-8";

/* ******************************************************************
 *	File name		: style.css
 *	Summary			: page layout
 * ******************************************************************
 */
/*-----------------------------------------------------------------all */
body {
    scroll-behavior: smooth;
}

.fa-camera-retro {
    font-size: 1.2rem;
    vertical-align: -4px;
}

.w_960 {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}



.t_07 {
    font-size: 0.7rem;
}


.t_08 {
    font-size: 0.8rem;
}

.t_09 {
    font-size: 0.9rem;
}


img {
    width: 100%;
}

h2 {
    font-size: 1.4rem;
    border-bottom: 2px solid #666;
    margin-top: 160px;
    margin-bottom: 40px;
}

a:hover {
    opacity: 0.6;
}

.br_sp {
    display: none;
}

@media screen and (max-width: 980px) {
    .w_960 {
        max-width: 90%;
    }

}


@media screen and (max-width: 500px) {
    .br_sp {
        display: block;
    }
}

/*-live_btn-----------------------------*/
.live_btn:hover {
    background: #f7f4fd;
    box-shadow: 0 0 3px #ccc;
}

.live_btn {
    background: black;
    /*-ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;*/
    font-size: 0.9rem;
    padding: 8px;
    text-align-last: center;
    position: fixed;
    /*left: 0;
    bottom: 10%;*/
    z-index: 1000;
    width: 100%;
    letter-spacing: 2px;
    transition: 0.3s;
}

.live_btn:hover a,
.live_btn:hover .t_hor {
    color: #000;
}

.live_btn a {
    color: #fff;
    transition: 0.3s;
}




.t_hor {
    -webkit-text-combine: horizontal;
    -ms-text-combine-horizontal: all;
    text-combine-upright: all;
    color: #fff;
    transition: 0.3s;
}


.live_btn:hover .yt_btn {
    filter: invert(100%);
}

.yt_btn {
    width: 20px;
    height: auto;

    vertical-align: -1px;
    transition: 0.3s;
}



@media screen and (max-width: 768px) {
    .live_btn {
        top: 0;
        bottom: auto;
        -ms-writing-mode: horizontal-tb;
        writing-mode: horizontal-tb;
        padding: 2px auto;
        text-align: center;
        width: 100%;
        font-size: 1rem;
    }

    .yt_btn {
        padding-top: 2px;
        margin-left: 10px;
    }

}



/*-header-----------------------------*/
.header_wrap {
    background-image: url(/japanese/graduation/202409/image/base/gr_bk01_n.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom 100% left;
    background-origin: border-box;
    padding-bottom: 160px;
    width: 100%;
}

header p,
header h1 {
    text-align: right;
    text-shadow: 1px 1px 0 #FFF, -1px -1px 0 #FFF,
        -1px 1px 0 #FFF, 1px -1px 0 #FFF,
        0px 1px 0 #FFF, 0 -1px 0 #FFF,
        -1px 0 0 #FFF, 1px 0 0 #FFF;

}

header h1 {
    font-size: 3rem;
    line-height: 0.7;
}

header h1 span {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

header .logo {
    width: 105px;
    height: auto;
    padding-top: 30px;
}

#data {
    margin-top: 60px;
}

.date {
    font-size: 1.6rem;
    letter-spacing: 1px;
}

.date span.day,
.date span.d_time {
    font-size: 1.4rem;
    display: inline-block;
    margin-left: -10px;
}


.time {
    margin-bottom: 16px;
    font-size: 1.3rem;
}

.access {
    margin-top: 24px;
    margin-bottom: 24px;
    font-size: 1.3rem;
}

.time span,
.access span {
    font-size: 1rem;
}

span.access_t {
    font-size: 0.9rem;
}

nav {
    margin-top: 80px;
}

nav ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

nav ul li {
    position: relative;
    width: 30%;
    border: 1px solid #666;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 0;
    top: 0px;
    left: 0px;
    transition: 0.3s;
}

nav ul li:hover {
    background: rgba(238, 238, 238, 0.5);
    top: 3px;
    left: 3px;
}

nav ul li a {
    display: block;
    width: 100%;
    height: auto;
}

@media screen and (min-width: 1300px) {
    body {
        background-color: rgb(250, 250, 250);
    }

    .b_inn {
        max-width: 1300px;
        margin-left: auto;
        margin-right: auto;
        background-color: #fff;
    }
}

@media screen and (max-width: 768px) {

    .header_wrap {
        background-position: bottom right -30px;
        padding-bottom: 200px;
    }

    header .logo {
        width: 105px;
        height: auto;
        position: absolute;
        top: 56px;
        padding-top: 0;

    }

    header h1 {
        font-size: 2.04rem;
        line-height: 0.7;
        margin-top: 120px;
    }

    header h1 span {
        font-size: 1.1rem;
        letter-spacing: 0.1px;
    }

    nav.w_960 {
        max-width: 100%;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 100000;
        background: #ffffff;
    }

    nav ul li {
        width: calc(100% / 3);
        border-left: none;
        border-bottom: none;
    }

    nav ul li:nth-of-type(3) {
        border-right: none;
    }
}


@media screen and (max-width: 500px) {

    header .logo {
        width: 100px;
        top: 72px;
        left: calc(50% - 50px);
        right: calc(50% - 50px);
    }

    header p,
    header h1 {
        text-align: center;
    }

    header h1 {
        font-size: 1.8rem;
        margin-top: 226px;
    }

    header h1 span {
        font-size: 1.3rem;
        letter-spacing: 0.1px;
        display: inline-block;
        line-height: 1;
        margin-top: 24px;
    }

    #data {
        margin-top: 52px;
    }

    .date {
        font-size: 1.4rem;

    }

    .date span.day {
        font-size: 1.2rem;
        margin-left: -10px;
    }


    .time {
        font-size: 1.1rem;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .access {
        margin-top: 24px;
        margin-bottom: 24px;
        font-size: 1.3rem;
    }

    .time span,
    .access span {
        font-size: 0.9rem;
    }



    nav ul li:hover {
        top: 0px;
        left: 0px;
    }
}


/*-#info-----------------------------*/
#info {
    position: relative;
    margin-top: 160px;
    margin-bottom: 0;
    z-index: 0;
    width: 100%;
    height: 200px;
    padding: 40px 80px;
}

#info h4 {
    width: 740px;
    margin-left: auto;
    margin-right: auto;
}

#info:before,
#info:after {
    position: absolute;
    content: '';
}

#info:after {
    top: 0;
    left: 0;
    width: 20%;
    height: 50px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
}

#info:before {
    right: 0;
    bottom: 0;
    width: 20%;
    height: 50px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
}

#info h4,
#info dt,
#info dd,
#info dd a {
    font-family: sans-serif;
}

#info h4 {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

#info .news {
    overflow: scroll;
    height: 72px;
    scrollbar-width: none;
    width: 720px;
    margin-left: auto;
    margin-right: auto;
}

#info dl {
    display: flex;
    height: 32px;
    margin-bottom: 8px;
}

#info dl:last-of-type {
    margin-bottom: 0;
}

#info dt {
    margin-right: 16px;
    font-size: 0.86rem;
    font-weight: bold;
}

#info dd a:hover {
    color: #422161;
}

#info dd {
    line-height: 1.6;
    font-size: 0.9rem;
}

.news_wrap {
    display: flex;
}

.rl {
    height: 72px;
    text-align: center;
    position: relative;
}

.rl span {

    -ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;

}


.rl:before {
    content: "";
    position: absolute;
    top: 52px;
    right: 14px;
    width: 1px;
    height: 20px;
    background: #666;
    transform: skewX(-31deg);
}

.rl:after {
    content: "";
    position: absolute;
    top: 0;
    right: 20px;
    width: 1px;
    height: 72px;
    background: #666;
}

.flower {
    padding: 0 0 100px 0;
    background-image: url(/japanese/graduation/202409/image/base/flower01.png);
    background-repeat: no-repeat;
    background-size: 30%;
    background-position: bottom 30px right;
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten, normal;
}

@media screen and (max-width: 920px) {
    #info .news {
        width: 100%;
    }

    #info h4 {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    #info {
        padding: 20px 24px;
        height: auto;
    }

    #info .news {
        height: auto;
        overflow: auto;
    }

    #info dl {
        flex-direction: column;
        margin-bottom: 16px;
        height: auto;
    }

    #info dd {
        line-height: 1.6;
        font-size: 0.9rem;
    }

    .rl {
        display: none;
    }


}

@media screen and (max-width: 768px) {
    #info {
        margin-top: 100px;
    }
    .flower {
    background-size: 70%;

}

}

/*-movie-----------------------------*/

#movie h2 {
    margin-top: 120px;
}

#movie {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-image: url(/japanese/graduation/202409/image/base/gr_bk01_20.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    background-origin: border-box;
    padding-top: 20px;
    padding-bottom: 100px;
    width: 100%;
}

.live_info {
    margin-bottom: 40px;
    text-align: center;
}

iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    border: none;
}

@media screen and (max-width: 768px) {
    .live_info {
        text-align: left;
    }
}


/*-map-----------------------------*/
#access {
    z-index: 1000;
}

#access h2 {
    margin-top: 80px;
}

.access_info {
    text-align: center;
    margin-bottom: 40px;
}

.access_info p:first-of-type {
    font-size: 1.2rem;
}

#transport {
    text-align: center;
}

h3 {
    font-size: 1.2rem;
    margin-top: 40px;
    margin-bottom: 16px;
}

.map iframe {
    filter: grayscale(1);
    vertical-align: bottom;
    transition: all 0.3s;
    max-height: 320px;
}

.map iframe:hover {
    filter: none;
    opacity: 1;
}

@media screen and (max-width: 500px) {

    #transport,
    .access_info {
        text-align: left;
    }

}

/*-link-----------------------------*/


ul#link {
    margin-top: 160px;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 160px;
    padding-bottom: 120px;
}

ul#link li {
   /* max-width: 300px;*/
    width: 32%;
}

@media screen and (max-width: 960px) {
    ul#link li {
        /*max-width: 240px;*/
    }
}

@media screen and (max-width: 768px) {
    ul#link {
        flex-direction: column;
        align-items: center;
    }

    ul#link li {
        margin-bottom: 32px;
        width: 100%;
        
        max-width: 420px;
    }
}

/*-footer-----------------------------*/
footer {
    text-align: center;
    width: 100%;
    /*margin-top: 120px;*/
    padding-top: 10px;
    padding-bottom: 10px;
    background-color: #000;
}

footer p {
    color: #fff;
    letter-spacing: 1px;
}

@media screen and (max-width: 768px) {}

@media screen and (max-width: 500px) {
    footer p {
        font-size: 0.8rem;
    }
}

/*-program-----------------------------*/
/*------------------------------*/

/*-header-----------------------------*/


#program .header_wrap {
    background-position: top 30px left;
    padding-bottom: 160px;
    width: 100%;
}

#program header h1 {
    position: relative;
    font-size: 2.4rem;
    top: -60px;
}

#program h2 {
    margin-top: 60px;
}

#program #data {
    margin-top: -20px;
}

#program .date {
    margin-bottom: 0;
}

#program .access {
    margin-top: 0;
}

#program .p_wrap {
    box-shadow: 0 0 3px #ddd;
    padding: 40px;
    margin-bottom: 32px;
}

#program .p_wrap h3 {
    margin-top: 0;
    font-size: 1.4rem;
    padding: 8px 0 8px 52px;
    background-image: url(/japanese/graduation/202409/image/base/hagi_02.png);
    background-repeat: no-repeat;
    background-size: 43px 41px;
    background-position: top left;
    margin-bottom: 24px;
    /*border-bottom: 1px solid #c4a951;*/
    border-bottom: 1px solid #3e1485;
}

#program .target,
#board .target {
    position: relative;
    border: solid 1px #eee;
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    background: #fbfbfb;
}

/*#program .target:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 40%;
    height: 50px;
    border-top: 1px solid #666;
    border-left: 1px solid #666;
}

#program .target:before {
    position: absolute;
    content: '';
    right: 0;
    bottom: 0;
    width: 40%;
    height: 50px;
    border-right: 1px solid #666;
    border-bottom: 1px solid #666;
}*/

#program .target p:first-of-type,
#board .target p {
    font-size: 1.2rem;
}


#program .p_wrap li {
    border-bottom: 1px solid #ddd;
    padding-top: 8px;
    padding-bottom: 8px;
    text-indent: 16px;
}

#program header h1 span {
    font-size: 1.18rem;
}



#program #attentions .target p {
    margin-bottom: 8px;
}

#program #attentions .target p.target_p {
    font-family: sans-serif;
}

#program #attentions .target p .target_t {
    font-family: sans-serif;
}

#program #attentions .target p:first-of-type {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

#program #attentions .target p:last-of-type {
    letter-spacing: -0.1px;
    ;
}

#program #attentions ul {
    padding-left: 24px;
}


#program #attentions li {
    list-style-type: square;
    margin-bottom: 16px;
}

#program #attentions .ul_link {
    margin-top: 32px;
    padding: 12px;
}

#program #attentions .ul_link li {
    list-style-type: none;
    font-size: 0.9rem;
    font-family: sans-serif;
}

#program #attentions .ul_link li::before {
    content: "";
    background-image: url(https://www.tohoku.ac.jp/japanese/img/arrow_r.png);
    background-size: 8px;
    background-repeat: no-repeat;
    padding-left: 16px;
    background-position: 2px;
}

#program #attentions .ul_link li a {
    font-family: sans-serif;
}

.board:active {

    top: 2px;
    left: 2px;
}

.board:hover {
    background: rgba(66, 33, 97, 0.1);
}

.board {
    position: relative;
    border: solid 1px rgba(66, 33, 97, 0.1);
    text-align: center;

    margin-bottom: 24px;
    background: rgba(66, 33, 97, 0.06);
    transition: 0.3s;

}

.board a {
    display: block;
    padding-top: 16px;
    padding-bottom: 16px;
    font-family: sans-serif;
}

.board a span {
    font-family: sans-serif;
}

.fa-solid.fa-circle-chevron-right {
    color: #999
}

@media screen and (max-width: 768px) {
    #program header h1 {
        top: 0;
        font-size: 2.04rem;
    }

    #program header h1 span {
        font-size: 1.1rem;
    }

    #program #data {
        margin-top: 32px;
    }

    #program h2 {
        margin-top: 100px;
    }


}

@media screen and (max-width: 500px) {



    #program header h1 {
        font-size: 2rem;
    }

    #program header h1 {
        font-size: 1.8rem;
    }

    #program header h1 span {
        font-size: 1.3rem;
        letter-spacing: 0.1px;
        display: inline-block;
        line-height: 1;

    }

    #program .header_wrap {
        background-position: bottom left;
    }

    #program #attentions .target p:first-of-type {
        font-size: 1.4rem;
    }

    #program #attentions .target p.target_p {
        font-family: sans-serif;
        text-align: left;
        margin-left: 16px;
        margin-right: 16px;
        font-size: 0.88rem;

    }

    #program #attentions .target p .target_t {
        font-weight: bold;
        font-family: sans-serif;
        font-size: 0.94rem;
    }

    #program .p_wrap {
        padding: 24px;
    }

    #program .p_wrap h3 {
        font-size: 1.2rem;
    }

    #program .target p:first-of-type {
        font-size: 1rem;
    }

    #program .target p {
        font-size: 0.9rem;
    }



    #program .br_sp {
        padding-right: 16px;
    }

    #program .dot {
        display: none;

    }

    #program .p_l {
        padding-left: 16px;
        font-size: 0.9rem;
    }
}

#board #attentions ul li {
    margin-bottom: 24px;
}

#board #attentions ol {
    padding-left: 16px;
}

#board #attentions ol li {
    margin-bottom: 8px;

}

.b_map {
    margin-top: 36px;
}

.to_tr {
    text-align: right;
    position: relative;
    top: 37px;
}

.to_tr a {
    display: inline-block;
    padding: 8px;
    color: #fff;
    background: #3E1485;
}

.wrap_bmap {
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.k1 {
    width: 350px;
    height: auto;
    position: absolute;
    bottom: -160px;
    right: 0;
}


@media screen and (max-width: 1350px) {
    .k1 {
        right:
            transition: 0.3s;
    }
}

@media screen and (max-width: 960px) {
    .k1 {
        position: relative;
        margin-left: auto;
        margin-right: auto;
        top: 50px;
    }
}

@media screen and (max-width: 768px) {
    .w_960.b_map {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    .k1 {
        width: auto;
    }


}
