@charset "UTF-8";

/* body領域 */

body{
	color: #333333;
	font-family:"メイリオ","Hiragino Sans",sans-serif;
	margin:0;
	padding:0;
/*
	background-image: url(../img/body-background2.png);
	background-size: cover;
*/
/*
	background-color: #F5F7FA;
*/

  background: linear-gradient(to right, #dfe6e2 0%, #fdfffa 30%, #fdfffa 70%, #dfe6e2 100% );

}

.back-to-top.fixed {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.50);
  color: #ffffff;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: opacity 0.2s ease;
  opacity: 0.6;
}

.back-to-top.fixed:hover {
  opacity: 1;
}

  
/* header領域 */

.header-in{
	background:linear-gradient(to top,#F5F7FA,#1B3A2F);
/*
	background-image: url(../img/header-background.png);
	background-size: cover;
*/
	box-shadow:0px 0px 5px 3px #aaaaaa;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#header-logo{
	margin-left:30px;
	margin-top:20px;
	margin-bottom:15px;
	box-shadow:0px 0px 5px 3px #aaaaaa;
}

#header-logo2{
	margin-right:30px;
  box-shadow:0px 0px 5px 3px #aaaaaa;
}

.nav-menu{
  display: flex;
  justify-content: space-evenly;
  padding: 0;
  margin: 20px 0 5px 10px;
  font-weight: 800;
  list-style: none;
}

.nav-menu > li{
  flex: 1;
  text-align: center;
  border-right: 1px solid #000000;
  position: relative;
}

nav li:last-child {
  border-right: none;
}

nav a {
  text-decoration: none;
  color: #000000;
  position: relative;
  display: block;
  padding: 8px 0;
}

nav a:hover {
  color: #ffffff;
  background-color: #0b3d91;
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border: 1px solid #cccccc;
  min-width: 200px;
  display: none;
  z-index: 100;
  white-space: nowrap;
}

.nav-menu > li:hover > .sub-menu {
  display: block;
}

.nav-menu > li:last-child > .sub-menu {
  left: auto;
  right: 0;
}

.sub-menu li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333333;
  font-size: 14px;
}

.sub-menu li a:hover {
  background: #0b3d91;
  color: #ffffff;
}

.hamburger {
  display: none;
  width: 30px;
  cursor: pointer;
  margin: 10px;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  margin: 6px 0;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* footer領域 */

footer{
	text-align:center;
	font-weight: bold;
/*	background-image: url(../img/footer_image2.png);
	background-size: cover; */
	background:linear-gradient(to top,#1B3A2F,#cccccc);
	box-shadow:0 -5px 10px 0 #aaaaaa;
	color: #ffffff;
	padding-top:30px;
	padding-bottom:10px;
	margin-top: 50px;
  margin-bottom: 0;
}

.term-box{
	display: flex;
	justify-content: center;
	gap: 20px;
  margin-bottom: 50px;
}

.footer-box{
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 100px;
}

.big-text {
  font-size: 1.5em;
  font-weight: bold;
}

.sns-logo {
  margin: 0 20px;
}

.copyright{
  font-size: 10px;
  margin-top:20px;
}


/* article領域 */

h1{
	font-size:240%;
}

h2 {
  background: linear-gradient(to left, #f3f3e4d7, #1B3A2F);
  color: #ffffff;
  padding: 0.6em 1em;
  font-size: 130%;
  letter-spacing: 0.05em;
  border-radius: 4px;
  box-shadow: 3px 3px 6px #aaaaaa;
  margin-top: 80px; 
}

h3 {
  font-size: 120%;
  border-left: 10px solid #1B3A2F;
  padding:7px 0px 5px 10px; 
 /* padding-left: 10px; */
  margin-top: 25px;
  background: linear-gradient(to left, #F5F7FA, #cbd1b7);
  box-shadow: 3px 3px 6px #aaaaaa;
  color: #1B3A2F;
}

h4 {
  font-size: 110%;
  border-left: 10px solid #1B3A2F;
  border-bottom:1px solid #1B3A2F;
  padding:0px 0px 0px 10px; 
  margin-top: 30px;
  color: #1B3A2F;
}

p{
	font-size:100%;
	line-height:1.8;
}

article{
	position:relative;
	clear:both;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px; 
}

.slider {
	position: relative; 
	width: 100%;
	height: 600px;
 	overflow: hidden;
	box-shadow:0px 0px 10px 3px #aaaaaa;
}

.slider img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	animation: zoomFade 29s infinite;
}

.slider img:nth-child(1) { animation-delay: 0s; }
.slider img:nth-child(2) { animation-delay: 4s; }
.slider img:nth-child(3) { animation-delay: 8s; }
.slider img:nth-child(4) { animation-delay: 12s; }
.slider img:nth-child(5) { animation-delay: 16s; }
.slider img:nth-child(6) { animation-delay: 20s; }

@keyframes zoomFade {
    0%   { opacity: 0; transform: scale(1.1); }
    20%  { opacity: 1; transform: scale(1.0); }
    50%  { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; transform: scale(1.1); }
}

.catch-main{

  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
	position:absolute;
	top:60px;
	left:100px;
/*	color: #0000f0;
	text-shadow:5px 5px 20px #000000; */

   color: #ffffff;
  text-shadow: 0 0 15px rgba(0,0,0,1);
	padding-left:50px;
	padding-right:50px;
/*	background-color:rgba( 0, 0, 0, 0.1);
	border-radius: 80px; */
}

.catch-main {
	animation: textFade 29s infinite;
	opacity: 0;
}

@keyframes textFade {
     0%   { opacity: 0; }
    25%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { opacity: 0; }
}

.catch-main h1{
	font-size:320%;
	color: #ffffff;
}

.catch-main p{
	font-size:200%;
	color: #ffffff;
}

.major-menu {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
  padding: 0;
  margin: 50px 0 0;
}

.major-menu li {
  width: 20%;
  text-align: center;
}

.major-menu li a {
  display: block;
  padding: 25px 0;
  background: #0b3d91;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 8px 0 #06285f;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}

.major-menu li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2S ease-out 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}

.major-menu li a:hover {
  opacity: 0.9;
  transform: translateY(-6px);
  box-shadow: 0 14px 0 #06285f;
}

.major-menu li a:active {
  transform: translateY(2px);
  box-shadow: 0 4px 0 #06285f;
}

.h2-title{
  max-width: 1200px;
  margin-top: 50px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.info-list{
	display: grid;
	grid-template-columns: 120px 1fr;
	column-gap: 10px;
	line-height: 2;
	width: 100%;
  padding-left: 10px;
	margin: 10px auto;
	box-sizing: border-box;
  position: relative;
}

.info-time{
	font-weight: bold;
}

.info-category {
  display: inline-block;
  padding: 2px 6px;
  margin-right: 8px;
  background: #0b3d91;
  color: #fff;
  font-size: 12px;
  border-radius: 3px;
  line-height: 1.6;
}

/* 種類ごとに色を変える */
.info-category.update { background: #0b3d91; }
.info-category.event { background: #2a7f2a; }
.info-category.recruit { background: #b85c00; }
.info-category.pass { background: #8a1e1e; }
.info-category.bid { background: #555555; }

.information-box {
  max-width: 1200px;
  width: 95%;       
  margin: 0 auto 50px auto;
  padding: 0;
  box-sizing: border-box;
}

.information-box ul {
  max-height: 350px;
  height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: #f7f7f7;
  padding: 10px 15px;
  box-sizing: border-box;
  border: 1px solid #cccccc;
  border-radius: 6px; 
  box-shadow: 0 0 6px rgba(0,0,0,0.2);         
}

.content{
	margin-left: auto;
	margin-right: auto;
}

.content-box{
	display: flex;
	justify-content: center;
	gap: 55px;
	margin-top: 50px;
	margin-bottom: 20px;
}

.content-box p{
	padding-left:10px;
}

.content-box div {
	width: 550px;
}

.content-image{
	box-shadow:0px 0px 10px 3px #aaaaaa;
	border-radius:10px;
	width:450px;
	margin:30px;
}

.content-image-chara{
	box-shadow:0px 0px 10px 3px #aaaaaa;
	border-radius:10px;
	width: 240px;
  height: 80px;
	display: block;
  margin:20px auto 5px auto;
}

.center-block {
  display: block;
  max-width: 300px;
  width: 90%;  
	text-align:center;
	color: #ffffff;
	margin-left: auto;
	margin-right: auto;
	margin-top:50px;
	background-color: #0b3d91;
	box-shadow:0 0 5px 0 #000000;
	text-shadow: 0 1px 1px #000000;
  padding: 5px;
  text-decoration: none;
}

.center-block:hover{
	font-weight:bold;
	color: #0b3d91;
	background-color: #f0f4ff;
	text-shadow: 0 0 0 #000000;
}

.content-title h4,
.content-section-title{
  max-width: 1000px;
  width: 95%;
  margin:50px auto 20px;
 /* margin-left: auto;
  margin-right: auto; */
  box-sizing: border-box;
}

.line{
	border-bottom: 1px solid #cccccc;
	margin-top: 30px;
  margin-bottom: 50px;
}

.regional-office {
  max-width: 1000px;
  width: 95%;
  margin: 0 auto 30px auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 40px;
}

.regional-office li {
  width: 300px;
}

.regional-office li a {
  display: block;
  padding: 10px 0;
  text-align: center;
  background-color: #becce6;
  color: #000000;
  text-decoration: none;
  font-size: 110%;
  border-radius: 4px;
  transition: 0.2s;
  box-shadow:0 0 5px 0 #000000;
}

.regional-office li a:hover {
  color: #ffffff;
  background-color: #0b3d91;
  font-weight: bold;
}

.regional-section-title {
  max-width: 1000px;
  width: 95%;
  margin: 40px auto 20px auto;
}

.topic-list {
  max-width: 900px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding-left: 0;
  font-size: medium;
}

.topic-list img {
  display: block;
  margin: 5px auto 50px auto;
  box-shadow: 0 0 5px 0 #000000;
  border-radius: 20px;
  transition: transform 0.2s ease;
}

.topic-list img:hover {
  transform: scale(0.97);
}

.external-link-box{
	display: flex;
	justify-content: center;
	gap: 55px;
	margin-top: 50px;
	margin-bottom: 20px;
}




/* 1070px以下の場合 */
@media(max-width:1070px){

nav ul{
	font-size:85%;
}

.content-box{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 20px;
	margin-bottom: 20px;
}

.catch-sub p{
	font-size:120%;
}


.info-title{
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.info-list{
	width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.information-box{
  width: 95%;
  margin: 20px auto;
}

 .information-box ul {
  max-height: 450px;
}

.content-image{
	margin-top:20px;
}

.content-title{
	width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}
}


/* 1050px以下の場合 */
@media(max-width:1050px){
.regional-section-title {
  max-width: 600px; /* 2列の幅に合わせる */
  margin-left: auto;
  margin-right: auto;
}

.content-section-title {
  max-width: 750px; /* 2列の幅に合わせる */
  margin-left: auto;
  margin-right: auto;
}

.topic-list {
  max-width: 700px; /* 2列の幅に合わせる */
  margin-left: auto;
  margin-right: auto;
  }

}






@media screen and (max-width: 768px) {

img {
  max-width: 100%;
  height: auto;
}

.header-in {
  flex-direction: column;
  justify-content: center;
  padding: 10px 0;
}

#header-logo {
  width: 97%;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

 #header-logo2 {
    display: none;
  /*  width: 10%;
    height: auto;
    padding: 0; */
  }

.nav-menu {
  display: none;
  flex-direction: column;
  width: 100%;
  background: #0b3d91;
  margin: 0;
  padding: 0;
}

.nav-menu.active {
  display: flex;
}

.nav-menu > li {
  border-right: none;
  border-bottom: 1px solid #ffffff;
}

.nav-menu > li > a {
  color: #ffffff;
  padding: 14px;
  text-align: left;
} 

.nav-menu > li.has-sub > a {
  position: relative;
  padding-right: 32px;
}

.nav-menu > li.has-sub > a::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 12px;
  color: #ffffff;
  transition: transform 0.3s ease;
}

/* ▼ sub-menu が開いたときに回転 */
.nav-menu > li.has-sub > a.open::after {
  transform: translateY(-50%) rotate(180deg);
}

.sub-menu {
  position: static;
  display: none;
  background: #003b7a;
  border: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.sub-menu.active {
  display: block;
}

.sub-menu li a {
  padding-left: 28px;
  color: #ffffff;
}

.hamburger {
  display: block;
  margin-left: 10px;
}

.slider {
  height: 300px;
}

.catch-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
}

.catch-main h1 {
  font-size: 160%;
}

.catch-main p {
  font-size: 110%;
}

.information-box {
  width: 95%;
  margin: 20px auto;
  padding: 10px;
}

.information-box ul {
  max-height: 400px;
  height:400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 5px;
}

.info-title {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.info-list {
  grid-template-columns: 1fr;
  row-gap: 4px;
}

.info-time {
  display: block;
  font-size: 85%;
  white-space: nowrap;
  margin-left: -10px;
}

.info-text {
  display: block;
  font-size: 95%;
  line-height: 1.6;
  margin-left: 0px;
}

.info-category {
  display: block;
  width: 60px;
  text-align: center;
  margin-right: 6px;
  margin-left: -5px;
  padding: 2px 6px;
  white-space: nowrap;
}

.content-title {
  width: 100%;
}

.content-box {
  flex-direction: column;
  width: 100%;
  margin: 30px auto;
}

.content-box div {
  width: 100%;
}

.content-image {
  width: 90%;
  margin-top: 10px;
  margin-bottom: 10px;
}

.regional-office {
  flex-direction: column;
  gap: 15px;
}

.regional-office li {
  width: 100%;
}

.event-table-wrapper {
  overflow-x: auto;
  white-space: nowrap;
}

.event-table tbody {
  max-height: 400px;
}

.major-menu {
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.major-menu li {
  width: 70%;
  margin: 0 auto;
}

.external-link-box {
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.term-box {
  flex-direction: column;
  gap: 0px;
}

.footer-box {
  flex-direction: column;
  gap: 20px;
}

.topic-list {
  font-size: 90%;
}

.topic-list img {
  margin-bottom: 30px;
}


}


