/*
    Theme Name: I-ROI
    Theme URL: https://www.i-roi.jp/
    Description: I-ROIホームページテンプレート ファーストビューで見える鳥が羽ばたくアニメーションはネットワーク上のユーザーが集まって群れを成してインターネットを作り上げているということを表しています。お年寄りの方でも見やすいよに可読性を重視したデザインになっています。 | 東京国際工科専門職大学　森本 悠真　it00151yuma.morimoto@gmail.com
    Author: YUMA.Morimoto
    Version: 1.0
*/

/*
    ファイル名：style.css
    説明：I-ROIテーマのスタイルシートです。
    ベースカラー：
    白：#ffffff
    青：#3275C7
    文字や記号：#707070
*/

/* Google Fonts - M PLUS 1(300, 400, 500) */
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@300;400;500&display=swap');

* {
    box-sizing: border-box;
}
h1, h2, h3, p, a, td{
    font-family: 'M PLUS 1', sans-serif;
}
h1{
    font-weight: 400;
}
h3{
    font-weight: 500;
}
p{
    font-weight: 400;
}
strong{
    font-weight: 500;
}
figcaption{
    text-align: center;
}
body, p{
    margin: 0;
}
/* 入力ボックスの装飾を削除 */
input[type="button"],input[type="text"],input[type="submit"],input[type="image"],textarea{
    outline: none;
}


/* ヘッダー */
header{
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    background-color: rgb(255 255 255 / 52%);
    filter: drop-shadow(0px 5px 4px rgba(0, 0, 0, 0.158));
    transition: 1s;
    z-index: 2;
}
header:hover{
    background-color: #fff;
}
div.logo{
    width: 89px;
    height: auto;
    margin: 19px;
}
div.logo img{
    width: 100%;
    height: 100%;
}
.headerBtn{
    padding: 20px 0;
    width: 140px;
    height: 68px;
    text-align: center;
    transition: .5s;
}
.headerBtn a{
    color: #000;
    font-size: 20px;
    font-weight: 300;
    text-decoration: none;
}
.headerBtn:hover{
    background-color: #3275C7;
}
.headerBtn:hover a{
    color: #fff;
}
nav.headList{
    height: 100%;
    width: 72%;
    margin-left: 3%;
}
nav.headList ul{
    display: flex;
    align-items: flex-end;
    height: 100%;
    list-style: none;
    padding-left: 0;
    margin: 0;
}
div.hotline{
    display: flex;
    align-items: flex-end;
    height: 100%;
    width: 11%;
    max-width: 140px;
    margin: 0 0 0 auto;
}
div.hotline .btn{
    background-color: #efb711;
}
div.hotline a{
    color: #fff;
}
/* メニューステート */
div.menu-state{
    display: none;
    font-size: 12px;
    margin: 0 0 0 auto;
}
/* メニューボタン */
div.menu{
    display: none;
	width: 37px;
	height: 30px;
    margin: 0 30px 0 20px;
}
/* メニュー展開時のマスク */
div.menu-mask{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 88%);
    z-index: 1;
}
div.menu-mask .mbox{
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin-top: 140px;
}
div.menu-mask .mbtn{
    position: relative;
    width: 140px;
    background-color: rgb(255 255 255 / 39%);
    /*border-radius: 50%;*/
}
div.menu-mask .mbtn p{
    color: #eee;
    font-size: 20px;
    text-align: center;
    padding: 55px 0;
}
div.menu-mask .mbtn2{
    width: 80%;
    background-color: rgb(241 224 64 / 48%);
    /*border-radius: 20px;*/
    padding: 10px;
    margin: 24px auto;
}
div.menu-mask .mbtn2 h2{
    color: #fff;
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 400;
    text-align: center;
}
div.menu-mask .mbtn2 p{
    color: #eee;
    text-align: center;
    font-size: 12px;
}
/* Vanta.jsアニメーション */
div.vantajs-index{
    position: relative;
    width: 100%;
    height: 100%;
}
div.vantajs-index canvas{
    position: unset !important;
    width: 100% !important;
    height: 100% !important;
}
/* ファーストビューテキスト */
div.topTitle{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
div.topTitle .mask{
    width: 58%;
    min-width: 826px;
    height: 332px;
    background-color: rgb(0 0 0 / 77%);
    padding: 35px;
    margin: 20% auto 0;
}
div.topTitle .title{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #eee;
    text-align: center;
}
div.topTitle .title h1{
    font-size: 32px;
    font-weight: 500;
    margin: 0 5px;
}
div.topTitle .head{
    color: #eee;
    width: 485px;
    margin: 46px auto;
}
div.topTitle .head h2{
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    line-height: 1.8;
}
/* スクロールボタン */
div.topTitle .scrollBtn{
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
div.topTitle .scrollBtn img{
    width: 33px;
    margin: 0 12px;
}
/* メインコンテンツ */
/* カテゴリ */
div.main{
    width: 100%;
    margin-top: -5px;
}
div.category{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 297px;
    margin: 50px auto;
}
div.cbox{
    position: relative;
    width: 212px;
    height: 100%;
    cursor: pointer;
}
div.cbox a{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
div.cbox .cicon{
    position: absolute;
    top: 10%;
    left: 10%;
    width: 100px;
}
div.cbox .ctitle{
    position: absolute;
    bottom: 20%;
    left:10%;
    width: 148px;
    height: 49px;
    margin: auto 0 0 0;
}
div.cbox .arrow{
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 40px;
    height: 40px;
}
div.cbox .cicon img,
div.cbox .arrow img{
    width: 100%;
    height: 100%;
}
div.cbox .ctitle h3{
    font-weight: 400;
}
div.cbox.left{
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    border-radius: 0 0 0 50px;
}
div.cbox.right{
    border-right: solid 1px #000;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    border-radius: 0 0 50px 0;
}
div.cbox.inside{
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
}
/* 新規情報 */
div.news{
    width: 70%;
    min-width: 740px;
    margin: 50px auto;
}
div.news .tab {
    width: 140px;
    padding: 10px 0;
    text-align: center;
    background-color: #3d71ff;
}
div.news .tab p{
    color: #fff;
    font-weight: 300;
}
div.news .nbox{
    width: 100%;
    border: solid 3px #3d71ff;
}
/* 投稿ページ */
div.article{
    display: flex;
    width: 90%;
    height: 65px;
    padding: 5px;
    margin: 16px auto;
    border-bottom: solid 1px #8f8f8f;
}
div.article .information{
    flex: 1;
}
div.article .information .newmark{
    width: 50px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    background-color: #ad0606;
    margin-bottom: 5px;
}
div.article .information .date{
    width: 100%;
}
div.article .information .date.only{
    margin: 7% 0;
}
div.article .ncategory{
    flex: 1;
    display: flex;
    align-items: center;
}
div.article .ncategory div{
    width: 84px;
    text-align: center;
    font-size: 14px;
    border: solid 1px #000;
    margin: 0 auto;
}
div.article .ntext{
    flex: 3;
    position: relative;
    overflow: hidden;
    transition: .1s;
}
div.article .ntext:hover{
    background-color: rgb(255 165 0 / 36%);
}
div.article .ntext a{
    font-weight: 400;
    text-decoration: none;
    color: #000;
}
div.nbox .all{
    margin: 0 auto;
}
/* 活動紹介 トップページ */
div.activities{
    width: 100%;
    background-color: #3275C7;
    overflow: hidden;
}
div.activity{
    display: flex;
    width: 70%;
    background-color: #333030;
    margin: 54px auto;
}
div.activity a{
    width: 100%;
    z-index: 1;
}
div.activity .s1{
    width: 267px;
    /*height: 200px;*/
    /*background-color: #000;*/
    overflow: hidden;
}
div.activity .s1 img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition-duration: 0.5s;
}
div.activity a:hover + .s1 img{
    transform: scale(1.2,1.2);
    transition-duration: 0.5s;
}
div.activity .s2{
    flex: 1;
    padding: 30px 30px 20px;
}
div.activity .s2 h3{
    color: #fff;
    margin: 0 0 18px 0;
}
div.activity .s2 p{
    color: #fff;
    margin-left: 20px;
}
/* バナー トップページ */
div.main .banner{
    display: flex;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin: 36px auto;
}
div.main .banner a{
    color: #000;
    text-decoration: none;
}
div.main .banner img{
    max-width: 100%;
    max-height: 100%;
}
/* フッター */
div.footer{
    display: flex;
    width: 100%;
    /*height: 300px;*/
    color: #eee;
    background-color: #707070;
}
div.footer .s1{
    flex: 3;
    padding: 40px 0 0 40px;
}
div.footer .head{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
    margin-bottom: 30px;
}
div.footer .head img{
	width: 150px;
	margin-right: 10px;
}
div.footer .head div{
    display: flex;
    align-items: flex-end;
}
div.footer .head div h3{
    font-weight: 400;
    margin: 0;
}
div.footer .address{
    width: 72%;
    min-width: 550px;
}
div.footer .address .d{
    display: flex;
}
div.footer .address .d .icon{
    margin-right: 10px;
}
div.footer .address .d .tag{
    flex: 1;
}
div.footer .address .d .text{
    flex: 3;
}
div.footer .address .d .text a,
div.footer .simplemsg.pc a{
    color: #fff;
}
div.footer .s2{
    flex: 1;
    padding: 40px 0 0 40px;
}
div.footer .s2 .text{
    font-size: 20px;
    margin-bottom: 30px;
}
div.footer .information{
    margin-bottom: 40px;
}
div.footer .information .row{
    display: flex;
}
div.footer .information .row img{
    width: 24px;
    margin-right: 5px;
}
div.footer .simplemsg.pc{
	display: block;
    margin-top: 20px;
}
div.footer .simplemsg.sp{
	display: none;
}
div.footer .s2 .gmo{
    width: 100px;
    height: 50px;
    background-color: #3056bf;
    margin-top: 10px;
}
/* コピーライト */
div.copyright{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 14px;
    width: 100%;
    background-color: #000;
    padding: 5px;
}
div.copyright .text{
    color: #fff;
    text-decoration: none;
    margin-right: 40px;
}
/* TOPICS */
/* トップビュー */
div.top-view{
    width: 100%;
    height: 200px;
    z-index: 0;
}
div.top-view img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* TOPICS一覧 */
div.topics-box{
    position: relative;
    width: 65%;
    background-color: #fff;
    border: solid 1px #000;
    border-radius: 20px;
    padding: 10px 0 10px 20px;
    margin: -55px auto 30px;
}
div.topics-box .title{
    padding: 5px;
    border-bottom: solid 1px #000;
}
div.topics-box .title h1{
    font-weight: 500;
    color: #707070;
}
div.topics-box .data{
    display: flex;
    width: 100%;
    margin-top: 30px;
}
div.topics-box .topics{
    flex: 4;
    min-width: 0;
    margin: 0 0 30px 0;
}
div.topics-box .details{
    width: 100%;
    border-bottom: solid 1px #000;
    margin-bottom: 20px;
    transition: 1s;
    padding-right: 30px;
}
div.topics-box .details:hover{
    background-color: rgb(0 0 0 / 8%);
}
div.topics-box .details .subtitle{
    width: 100%;
    margin: 5px;
}
div.topics-box .details .event{
    width: 90px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    background-color: #485fe1;
    margin: 5px;
}
div.topics-box .details .text{
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 62px;
    margin: 5px;
    font-size: 14px;
}
div.topics-box .details .date{
    width: 100%;
    font-size: 14px;
    margin-bottom: 5px;
}
div.topics-box .sidebar{
    flex: 1;
    border-left: solid 1px #000;
}
div.topics-box .sidebar .selector{
    text-align: center;
    padding: 10px 0;
    transition: 0.5s;
}
div.topics-box .sidebar .selector.selected{
    color: #fff;
    background-color: #3275C7;
}
div.topics-box .sidebar .selector:hover{
    color: #fff;
    background-color: #3275C7;
}
div.empty{
    margin: 0 auto;
    width: 200px;
    text-align: center;
    margin: 124px auto;
}
div.empty img{
    width: 100%;
}
div.empty p{
    color: #707070;
    font-weight: 400;
    font-size: 20px;
}

/* 投稿ページ */
div.single-box{
    max-width: 850px;
    margin: 100px auto;
}
div.single-box .head{
    display: flex;
}
div.single-box .head img{
    width: 50px;
    margin-right: 20px;
}
div.single-box .head h1{
    font-weight: 500;
    color: #707070;
}
div.single-box .head2{
    display: flex;
    align-items: center;
    width: 100%;
    border-bottom: solid 1px #000;
}
div.single-box .head2 .single-category{
    min-width: 76px;
    font-size: 14px;
    text-align: center;
    color: #fff;
    margin: 0 30px 5px 0;
}
div.single-box .head2 .single-category p{
    background-color: #4e4eff;
    margin-bottom: 5px;
}
div.single-box .head2 .date{
    font-size: 12px;
    font-weight: 500;
}
div.single-box .head2 .text h2{
    font-weight: 400;
}
div.single-box .subtitle{
    display: flex;
}
div.single-box .subtitle .text{
    margin-right: 20px;
}
div.single-box .subtitle .text h3{
    font-weight: 400;
}
div.single-box .subtitle .headhr{
    flex: 1;
}
div.single-box .subtitle .headhr hr{
    background: linear-gradient(
        to right, #3275C7, #fff);
    border: none;
    height: 3px;
    margin-top: 32px;
}
div.single-box .contents{
    width: 100%;
    padding: 25px;
}
div.single-box .contents p{
    margin: 6px 0;
    line-height: 2;
}
div.single-box .contents img{
    margin: 20px 0;
}
/* お問い合わせフォーム */
div.form-box{
    margin: 30px 0;
}
div.form{
    width: 600px;
    margin-bottom: 20px;
}
div.form .hint{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
div.form .hint p.title{
    font-weight: 500;
    margin-right: 20px;
}
div.form .hint p.required{
    width: 47px;
    color: #fff;
    font-size: 12px;
    text-align: center;
    background-color: #FF6600;
    padding: 2px 0;
}
div.form .hint p.explain{
    font-size: 12px;
}
div.form .hint span{
    width: 100%;
}
div.input{
    border-bottom: solid 1px #707070;
    width: 218px;
}
div.input input{
    width: 220px;
    border: none;
}
div.input textarea{
    resize: initial;
    width: 212px;
    height: 21px;
    border: none;
}
input.submit{
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    background-color: #3056bf;
    text-align: center;
    border: none;
    padding: 3px 20px;
}
/* ホットライン */
div.certification{
    width: 100%;
    border: solid 1px #f79d53;
    padding: 30px;
    margin: 0 auto;
    margin-bottom: 30px;
}
div.certification p.notice{
	color: #f00;
	font-weight: 500;
    text-align: center;
    margin: 20px 0;
}
div.certification .banner{
	display: flex;
	flex-wrap: wrap;
    justify-content: center;
}
div.certification .banner img{
    width: 139px;
    margin: 10px;
}
/* FAQ */
.acd-check{
    display: none;
}
.acd-label{
    display: flex;
    background: #31419d;
    color: #fff;
    margin-bottom: 1px;
    padding: 25px;
}
.acd-label .txtarea{
    flex: 1;
}
.acd-label .txtarea h3{
    font-weight: 500;
    margin: 0 0 30px 0;
}
.acdq{
    font-size:35px;
    width:35px;
    height:35px;
    margin-right: 20px;
}
.acd-content{
    border-left: solid 1px #31419d;
    border-right: solid 1px #31419d;
    border-bottom: solid 1px #31419d;
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
}
.acd-check:checked + .acd-label + .acd-content{
    height: auto;
    opacity: 1;
    padding: 20px;
    visibility: visible;
}
.acd-content p.keyword{
    text-align: right;
}

@media screen and (max-width: 1480px){
    div.topTitle .head{
        margin: 0 auto;
    }
}

/* タブレット版 スタイルシート */
@media screen and (max-width: 1120px){
    .headerBtn a{
        font-size: 15px;
    }
    div.topics-box{
        width: 76%;
    }
}

/* スマートフォン版 スタイルシート */
@media screen and (max-width: 890px){
    h3{
        font-size: 16px;
    }
    td{
        font-size: 12px;
        padding: 14px;
    }
    /* ヘッダー */
    header{
        height: 70px;
    }
    div.logo{
        width: 77px;
        min-width: unset;
    }
    header .hotline{
        display: none;
    }
    nav.headList{
        display: none;
    }
    div.menu{
        display: block;
    }
    /* ファーストビューテキスト */
    div.topTitle .title h1{
        font-size: 17px;
    }
    div.topTitle .head{
        width: 100%;
        margin-top: 40px;
    }
    div.topTitle .head h2{
        font-size: 16px;
    }
    div.topTitle .mask{
        width: 100%;
        height: 310px;
        min-width: unset;
        padding: 50px 10px;
        margin: 63% 0;
    }
    /* カテゴリ トップページ */
    div.category{
        display: block;
        height: unset;
        margin: 5px auto;
    }
    div.category .cbox{
        width: 100%;
        height: 100px;
    }
    div.cbox{
        border-bottom: solid 1px #000 !important;
        border-right: unset !important;
        border-left: unset !important;
        border-radius: unset !important;
    }
    div.cbox .cicon{
        left: 3%;
        width: 70px;
    }
    div.cbox .ctitle{
        left: 91px;
        bottom: 34px;
    }
    div.cbox .arrow{
        bottom: 29%;
        right: 7%;
    }
    /* TOPICS トップページ */
    div.news{
        width: 100%;
        min-width: unset;
    }
    div.news .nbox{
        border: unset;
        border-top: solid 3px #3d71ff;
    }
    div.article{
        display: block;
        height: 190px;
    }
    div.article .ncategory div{
        margin: unset;
    }
    div.article .information{
        display: flex;
        align-items: center;
        margin-bottom: 10px;
    }
    div.article .information .newmark{
        margin-bottom: unset;
        margin-right: 10px;
    }
    div.article .ntext{
        margin-top: 17px;
    }
    div.article .ntext div{
        height: 54px;
        overflow: hidden;
    }
    div.article .information .date.only{
        margin: unset;
    }
    /* 活動紹介 トップページ */
    div.activity{
        display: block;
        width: 100%;
    }
    div.activity .s1{
        width: 100%;
        /*height: 200px;*/
    }
    div.activity .s2{
        padding: 14px;
        padding-bottom: 30px;
    }
    div.activity .s2 p{
        font-size: 14px;
    }
    /* フッター */
    div.footer{
        display: block;
        height: unset;
    }
    div.footer .s1{
        position: relative;
        flex: none;
        padding: 40px 20px 0;
    }
    div.footer .s1 .simplemsg{
        width: 90%;
    }
    div.footer .s2{
        flex: none;
        padding: 0 20px 20px;
    }
    div.footer .s2 .text{
        font-size: 16px;
        margin-bottom: 20px;
    }
    div.footer .head div{
        display: block;
    }
    div.footer .head{
        margin-bottom: 34px;
    }
    div.footer .head p{
        font-size: 14px;
    }
    div.footer .head div h3{
        font-size: 16px;
    }
    div.footer .address{
        width: 100%;
        min-width: unset;
        margin-bottom: 20px;
    }
    div.footer .simplemsg.pc{
        display: none;
    }
    div.footer .simplemsg.sp{
        display: block;
    }
    div.copyright .text{
        font-size: 12px;
    }
    div.footer .banner{
        height: 70px;
    }
    /* お問い合わせ */
    div.form{
        width:  100%;
    }
    div.single-box{
        width: 90%;
        margin: 16px auto;
        margin-top: 80px;
    }
    div.input{
        width: 100%;
    }
    div.input input{
        width: 100%;
    }
    div.input textarea{
        width: 100%;
    }
    /* ホットライン */
    div.certification{
        padding: 30px;
    }
    /* FAQ */
    div.single-box .contents{
        padding: unset;
        margin-top: 40px;
    }
    .acd-label{
        padding: 12px;
    }
    /* TOPICS一覧 */
    div.topics-box .data{
        display: block;
    }
    div.topics-box{
        width: 100%;
        margin: -100px auto 30px;
        padding: 10px;
    }
    div.topics-box .details .subtitle{
        margin: 5px 5px 10px;
    }
    div.topics-box .details .event{
        margin: 10px 0;
    }
    div.topics-box .topics{
        margin: 0 10px;
    }
    div.topics-box .sidebar{
        border: unset;
    }
    div.topics-box .sidebar .selector{
        text-align: right;
        padding: 10px 32px;
    }
    /* 投稿ページ */
    div.single-box .head div{
        width: 100px;
    }
    div.single-box .head2{
        display: block;
    }
    div.single-box .head2 .d{
        width: 125px;
    }
    div.single-box .head2 .text h2{
        font-size: 20px;
    }
    /* メニューステート */
    div.menu-state{
        display: block;
    }
}
@media screen and (max-height: 750px){
    div.menu-mask .mbox{
        margin-top: 84px;
    }
    div.menu-mask .mbox{
        gap: 9px;
    }
}

