@charset "utf-8";
/*
Theme Name: 中央学院大学 学友会
Theme URI: https://www.dik.co.jp/
Version: 2.1.0
Author: DIK
*/

:root {
    
    /* Color */
	--color-main: #684588; /* 通常 */
	--color-sub: #FADF01; /* 通常 */
	--color-sub-deep: #cdb500; /* 通常 */
	--color-sub-light: #fffbdb; /* 通常 */
    
	--color-main-light: #999; /* 明るい */
	--color-main-thin: #ccc; /* 薄い */
	--color-main-deep: #333; /* 濃い */
    
    --color-link: #353ae4;
    --color-link_hover: #252988;
    
    /* Font */
    --font-main: "Noto Sans JP","メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    --font-sub: "Kosugi Maru", sans-serif;
    --font-sub-en: "Lato", sans-serif;
    /*--font-main: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;*/
    /*--font-serif: "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro W3", "MS P明朝", "MS PMincho", serif;*/
    --font-copyright: Verdana, "Droid Sans", "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    
    --fa: "Font Awesome 6 Free"; /* https://fontawesome.com/search?o=r&m=free */
    
    /* Contents Size */
    --size-content-max-width: 1165px;
    --size-content-min-width: 1000px;
    --header-height: 110px;
    @media (width <= 999px) {
        --size-content-max-width: 100%;
        --size-content-min-width: 100px;
        --header-height: 75px;
    }
    
    /* Side Bar - Width Size */
    --size-side-width: 260px;
    @media (width <= 999px) {
        --size-side-width: 100%;
    }
    
    /* Global Menu Count */
    --global-menu-count: 5;
    
}

* { box-sizing: border-box; }
html { font-size: 62.5%; /* 15px x 0.625 = 10px(=1rem) */ }
body {
	background: #fff;
	font-family: var(--font-main);
	font-size: 1.6rem;
	-webkit-text-size-adjust: 100%;
	font-feature-settings: "palt";
	line-height: 1.7;
}

/* 画像のドラッグ無効化 */
/*img {
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-touch-callout: none;
    -moz-user-select: none;
    user-select: none;
}*/

/* ------------------------------------------------------- */
/* layout ------------------------------------------------ */
/* ------------------------------------------------------- */

/* base サイトレイアウトの基本設定 ----------------------- */

#top {
	width: 100%;
}
#container {
	max-width: var(--size-content-max-width);
	min-width: var(--size-content-min-width);
	margin: 0 auto 55px auto;
	padding: 0 25px;
	clear: both;
}
/* #main {
	width: calc(100% - 25px - var(--size-side-width));
	float: left;
}
#side {
	width: var(--size-side-width);
	float: right;
} */
#footer {
	width: 100%;
	min-width: var(--size-content-min-width);
}
@media only screen and (max-width:999px) {
    #container {
        padding: 0 15px;
    }
    #main {
        width: 100%;
        margin: 0 0 15px 0;
        float: none;
    }
    #side {
        float: none;
    }
    #footer {
        width: 100%;
    }
}

/* ------------------------------------------------------- */
/* header ------------------------------------------------ */
/* ------------------------------------------------------- */


#header {
	background: #fff;
	width: 100%;
	top: 0;
	left: 0;
	position: fixed;
	z-index: 30;
    height: var(--header-height);
    transition: all 0.3s ease-in-out;
}

.headerInner {
    padding: 0 120px;
    max-width: 100%;
	margin: 0 auto;
    transition: 1s;
}
#top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 25px;
}
.headerLeftMenu{
    display: flex;
    align-items: center;
    gap: 50px;
    transition: all 1s;
}
.logo{
    width: 375px;
    transition: all 0.8s;
}

#header.is-fixed{
    background: #fff;
    --header-height:90px;
    #top{
        padding-top: 15px;
    }
    .logo{
        width: 250px;
    }

    .headerLeftMenu{
        gap: 30px;
    }

}
/* ------------------------
header Searchフォーム
--------------------------*/
.headerSearchContainer{
    form{
        display: flex;
        gap: 15px;
        input.searchfield{
            margin-bottom: 0;
            width: 200px;
            height: 40px;
            border-radius: 5px;
            border: 1px solid #ccc;
            &::placeholder{
                font-size: 1.4rem;
                font-weight: 500;
                letter-spacing: 0.1em;
            }
        }
        input.searchsubmit{
            width: 60px;
            height: 40px;
            border-radius: 5px;
            background: #333;
            position: static;
            font-size: 1.6rem;
            font-weight: 500;
            color: #fff;
        }
    }
    @media (width <= 999px) {
        display: none;
    }
}


/* 
.headerMenu li {
    margin-left: 15px;
    display: inline-block;
}
.headerMenu li::before {
    margin-right: 5px;
    font-family: var(--fa);
    font-weight: 900;
    content: "\f0da";
} */
@media (width <= 1400px) {
    .headerInner{
        padding: 0 25px;
    }
    .headerLeftMenu{
        gap: 25px;
    }
}
@media only screen and (max-width:999px) {
    #header{
        height: 75px;
    }
    #header.is-fixed{
        height: 75px;
        .logo{
            width: 240px;
        }
        #top{
            padding-top: 20px;
        }
    }

    #top{
        padding-top: 20px;
    }
    .logo{
        width: 240px;
    }
    .headerMenu { display: none; }

}
@media (width <= 999px) {
    .headerInner{
        padding: 0 15px;
    }
}


/* ------------------------------------------------------- */
/* footer ------------------------------------------------ */
/* ------------------------------------------------------- */

#footer {
    border-top: 1px solid var(--color-main);
    /* background: #fcfcfc; */
    background: #fff;
    padding-top: 50px;
}
.footerInner{
    max-width: calc(100% - (80px * 2));
    padding: 0 40px;
    margin: 0 auto;
    margin-bottom: 50px;
    @media (width <= 999px) {
        padding: 0 25px;
    }

    .footerContainer{
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        position: relative;
        .footerInfo{
            display: flex;
            align-items: flex-start;
            gap: 60px;
            @media (width <= 999px) {
                flex-direction: column;
                gap:60px;
            }
            img{
                /* max-width: 250px; */
            }
            .footerLogo.gakuyukai{
                img{width: 223px;}
                @media (width <= 999px) {
                    img{
                        width: 200px;
                        
                    }
                }
            }
            .footerLogo{
                margin: 0 auto 40px;
                img{
                    width: 100%;
                }
                @media (width <= 999px) {
                    img{
                        margin: 0 auto;
                    }
                }
            }
            address{
                color: #333;
                ul{
                    display: flex;
                    gap: 25px;
                    @media (width <= 999px) {
                        display: block;
                    }
                    li,a{
                        color: #333;
                    }
                    li{
                        margin-bottom: 10px;
                    }
                }
            }
            .footerItem{
                address:first-of-type{
                    margin-bottom: 40px;
                }
                a{
                    font-size: 1.5rem;
                }
                a[target="_blank"]::after{
                    font-family: var(--fa);
                    content: "\f35d";
                    font-weight: 900;
                    margin-left: 5px;
                    display: inline-block;
                    font-size: 1.3rem;
                 }
            }
            .footerItemTitle{
                font-weight: 500;
                font-size: 1.8rem;
                color: #333;
                margin-bottom: 10px;
                padding-bottom: 5px;
                line-height: 1.5;
                border-bottom: 1px solid #aaa;
            }
        }
        .footerNav{
            .footerMenu{
                margin-bottom: 50px;
                ul{
                    li{
                        margin-left: 15px;
                        display: inline-block;
                        a{
                            text-decoration: none;
                            color: #333;
                            transition: 0.3s;
                            &:hover,&:focus{
                                text-decoration: underline;
                                text-underline-offset: 5px;
                                transition: 0.2s;
                            }
                        }
                        &::before{
                            margin-right: 5px;
                            font-family: var(--fa);
                            font-weight: 900;
                            content: "\f0da";
                            color: var(--color-main);
                        }
                    }
                }
            }
            .snsContainer{
                position: absolute;
                right: 0;
                bottom: 0;
                @media (width <= 999px) {
                    position: static;
                }
                .snsItem{
                  display: flex;
                    justify-content: right;
                    gap: 25px;
                    @media (width <= 999px) {
                        justify-content: center;
                    }
                }
                p{
                    font-size: 1.6rem;
                    color: #333;
                    padding-top: 15px;
                    @media (width <= 999px) {
                        font-size: 1.5rem;
                    }
                }
                a{
                    width:50px;
                    pointer-events: none;
                }
            }
        }
    }

}

.footerMenu ul li::before {

} 
#copyright {
    text-align: center;
    color: #ccc;
    background: #381F50;
    padding: 25px 15px;
    font-size: 1.4rem;
    font-weight: bold;
}
@media only screen and (max-width:999px) {
    #footer{
        padding-top: 25px;
    }
    .footerInner {
	    padding: 20px;
        display: block;
        max-width: 100%;
        width: 100%;
        margin-bottom: 25px;
        .footerContainer{
            flex-direction: column;
            align-items: center;
            @media (width <= 999px) {
                gap: 25px;
            }
            .footerInfo{
                margin-bottom: 25px;
                .footerLogo{
                    margin-bottom: 30px;
                }
            }
            .footerNav{
                .footerMenu{
                    margin-bottom: 25px;
                }
                .snsContainer{
                    justify-content: center;
                    a{
                        width: 30px;
                    }
                }
            }
        }
    }

}

/* ------------------------------------------------------- */
/* side -------------------------------------------------- */
/* ------------------------------------------------------- */

#side {}

/* Widget */
.widget ul li {
	border-bottom: 1px dotted #CCC;
	margin-bottom: 5px;
	padding: 0 10px 0px 10px;
	font-size: 1.4rem;
}
.widget ul li a {
	display: block;
}
.tagcloud a {
	border-bottom: 1px dotted #CCC;
	margin-bottom: 5px;
	padding: 0 10px 0px 10px;
	font-size: 1.4rem !important;
	display: block;
}
.archive_month select {
	width: 96%;
	margin: 0 2%;
}

/* ------------------------------------------------------- */
/* プリント用 -------------------------------------------- */
/* ------------------------------------------------------- */

@media print {	
    #humberger, #pageTop, #pageTop div, #movePageTop, #pageTop p {
        display: none!important;
    }
    #container {
        padding: 0!important;
    }
    #header {
        position: static!important;
    }
    .topContents {
        min-width: 1000px!important;
        width: 100%!important;
        margin: 0!important;
        padding: 0!important;
        overflow: hidden!important;
    }
}

/* ------------------------------------------------------- */
/* dark mode --------------------------------------------- */
/* ------------------------------------------------------- */

/*@media (prefers-color-scheme: dark) {
	html { filter: invert(1) hue-rotate(180deg); }
	html img { filter: invert(1) hue-rotate(180deg); }
}*/