@charset "UTF-8";
@import url("grid.css");

:root { /* 色変更される場合は、#以降のカラーコードを変更してください IE非対応 */
    --base-color: #3366FF;
    --link-color: #666;
    --linkhover-color: #3366FF;
    --back-color: #003399;
    --border-color: #ccc;
    --white-color: #fff;
}

img {
	max-width:100%;
	height: auto;/*高さ自動*/
}
a {
    display:block;
    color: var(--base-color);
    text-decoration-line: none;
}
a:hover { 
    color: var(--linkhover-color);
}

.full-width a:hover { 
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

h3 a:hover{
	text-decoration: underline;
}

a img {
    margin-bottom: 1rem;
}
a img:hover {
	opacity: 0.8;
}
.blueback {
	background: linear-gradient(270deg, #0d31c1, #36c5dd, #4136dd);
	color: var(--white-color);
	padding: 1rem;
}
.underline {
	border-bottom: 3px solid var(--back-color);
	padding-bottom: 0.5rem;
}
.center {
	text-align: center;
}

/*ヘッダー
-------------------------------------*/
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
}

.head h1 { 
    padding: 1rem 0;
}

.head h1 a {
    color: #000000 !important;
    font-weight: 700;
}

.user{
/*	margin-left: auto;
	padding: 5rem 0 0 0;*/
    font-size: 1.5rem;
    text-align: right;
}

.design {
    max-width: 10%;
    float: right;
    margin-left: -140px;
}
span {
    background: #ffffff96;
    color: black;
}

#username {
    font-weight: 500;
}

/* ボタン
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  margin-right: 5px;
  color: #555;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: .1rem;
  text-transform: none;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 1px solid #bbb;
  border-radius: 0;
  cursor: pointer;
  box-sizing: border-box; }
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #333;
  border-color: #888;
  outline: 0; }

.logoutbutton{
    text-align: right;
    margin-right: auto;
}
#logout,#passchange{
    background: linear-gradient(270deg,#36c5dd, #4136dd);
    color: white;
    border-radius: 20px;
}

#logout:hover,#passchange:hover{
    background: white;
    color: black;
}

.full {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("/img/background2.jpg")
      center / cover;
    background-repeat: no-repeat;
    background-size: 100% 74%;
  }
.full2 {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: url("/img/background4.jpg")
      center / cover;
    background-repeat: no-repeat;
    background-size: 100% 70%; 
  }
/*
.full2 {
    position: relative;
    background: url("/img/background4.jpg") center / cover;
    background-size:2100px;
    background-repeat: no-repeat;
  }
*/
  #video-area{
    position: fixed;
    z-index: -1;/*最背面に設定*/
    top: 0;
    right:0;
    left:0;
    bottom:0;
    overflow: hidden;
}
#video {
    /*天地中央配置*/
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh; /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw; /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}

.menu {
    background: linear-gradient(270deg, #0d31c1, #36c5dd, #4136dd);
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin-bottom: 0;
}
nav li {
    flex: 1 0 auto;
	margin-bottom: 0;
    transition: all 0.3s ease-out;
}
nav li a {
    text-decoration: none;
    text-align: center;
	color: var(--white-color);
    font-size: 2.3rem;
}
nav a:hover {
    background:#2e53e7;
	color: var(--white-color);
    transform: scale(1.02);
    /*ボックスの影*/  
    /*box-shadow: 0 15px 15px #4136dd;*/
    box-shadow:  0 2px 8px #4136dd, 0 0 10px #ffffff;
}
nav a {
    padding: 2rem 1rem;
	display: block;
}

@media screen and (min-width: 768px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 768px){
.head {
	flex-direction: column;
    text-align: left;
    margin-bottom: 20px;
}
.telbox {
	margin-left: 0;
	text-align: center;
}
.head #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
    }
nav ul {
	flex-direction: column;
}

nav li {
	padding-top: 0;
	border-bottom: 1px solid var(--border-color);
	margin-bottom: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
}
.design {
    display: none;
}
}

/*メイン画像
-------------------------------------*/
.mainimg {
    text-align: center;
}

.mainimg img {
	width: 60vw;
	padding-top: 50px;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 5rem 0 5rem 0;
}

/*新着情報
-------------------------------------*/
.news h2 {
    background-color: var(--back-color);
	color: var(--white-color);
	padding: 1rem;
}
.news li {
    list-style-type: none;
	border-bottom: 1px solid var(--border-color);
	padding: 0.5rem 0;
}

/*フッター
-------------------------------------*/
footer {
    background: linear-gradient(270deg, #0d31c1, #36c5dd, #4136dd);
    padding: 1rem 0;
	color: var(--white-color);
    text-align: center;
}
footer h5 {
    border-bottom: 2px solid var(--white-color);
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: var(--white-color);
}
.copyright a {
    color: var(--base-color);
    text-decoration: none;
	display: inline-block;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
	background: linear-gradient(270deg,#36c5dd, #4136dd);
    color: var(--white-color);
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
	background: linear-gradient(270deg,#36c5dd, #4136dd);
}
/*パンくずリスト
-----------------------------------*/
.breadcrumb {
    margin: 0 0 1em 0;
    padding: 0;	
}
.breadcrumb li {
    list-style-type: none;
}
.breadcrumb li a {
    display: inline-block;
    color: var(--link-color);
}

/*時事ディスクレ
-----------------------------------*/
#content-bottom-disc-jiji {
    border: 3px solid #dcdddd;
    background-color: #ffffff;
    margin: 1em auto;
	text-indent: -1.4em;
    padding-left: 40px;
    width: 70%;
  }
  #content-bottom-disc-jiji div {
    text-align: center;
    padding: 0.5em 0;
  }
  .header-box {
    margin-left: auto;
    margin-top: 8px;
  }

@media screen and (max-width: 768px){
    #content-bottom-disc-jiji {
        padding-right: 10px;
        width: 90%;
        margin: 1em auto 3em;
    }
}

#openModal {
    margin-bottom: 0;
    border:none;
    padding: 0;
    a{
        display: inline;
    }
    img{
        width: 20px;
        margin-bottom: -3px;
    }
}
.modal {
    display: none; /* 初期状態では非表示 */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4); /* 半透明の背景 */
    transition: opacity 0.5s ease; /* ゆっくり表示するためのトランジション */
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 中央に配置 */
    padding: 20px;
    border: 1px solid #888;
    width: 65%; /* 幅を調整 */
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
.info {
    margin:0 0 5rem 1rem;
    div{
        font-weight: 700;
    }
    p{
        margin:0;
    }
    div{
        margin-top: 1rem;
    }
    li{
        margin: 0 0 0 1rem;
    }
}