@charset "utf-8";

/* ===================================================================
　ローディング
=================================================================== */
#loading_box { 
	position: fixed;
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	background: #ffffff; 
	display: flex; 
	flex-direction: column; 
	justify-content: center; 
	align-items: center; 
	transition: all 0.6s; 
	z-index: 9999;
}

#loading_box p{
	font-size: 1.0rem;
	color: #5a5a5a;
	margin: 0;
	padding: 0;
	margin-top: 10px;
}

#loading_box img{
	width: 8em;
	height: auto;
	margin-top: -2em;
}

.completed {
	opacity: 0;
	visibility: hidden;
}



/* ===================================================================
　header
=================================================================== */

/* ヘッダー全体 */
header {
  width: 100%;
  height: 65px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  z-index: 100;
}

/* 横並び */
#menu {
  	height: 100%;
	min-width: 1000px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	align-items: center;
}

/* ロゴ */
#menu div.h_logo {
 	padding-right: 20px;
}

#menu div.h_logo img {
	width: 110px;
	height: auto;
	display: block;
}

#menu div.h_text {
	color: #1684ad;
	font-size: 1.2rem;	
	font-weight: bold;
	border-left: 1px solid #1684ad;
	padding: 5px 10px;
	display: flex;
    align-items: center;
	white-space: nowrap;
}

#menu div.h_text img{
	width: 	280px;
	height: auto;
	padding-left: 5px;
}

#menu nav {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

#menu nav a {
  color: #142d50;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
}

#menu nav a:hover {
  color: #159bb9;
}

/* 応募ボタン */
#entry_btn {
  margin-left: 40px;
}

#entry_btn a {
  display: block;
  background: #ffeb36;
  color: #142d50;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

#entry_btn a span {
  margin-left: 12px;
  font-size: 18px;
}

#entry_btn a:hover {
  background: #ffda00;
}



/* PCではハンバーガーを非表示 */
.hamburger {
  display: none;
}





/*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* ===================================================================
	スマートフォン用記述（600px以下）
=================================================================== */
/*****************************************/
@media only screen and (min-width: 0px) and (max-width: 600px){
	


/* ===================================================================
　header
=================================================================== */

/* ヘッダー全体 */
header {
  width: 100%;
  height: 65px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  z-index: 100;
}

/* 横並び */
#menu {
	min-width: 99%;
  	height: 100%;
	margin: 0 auto;
	padding: 0 5px;
	display: flex;
	align-items: center;
}

/* ロゴ */
#menu div.h_logo {
	width: 20%;
 	padding-right: 10px;
}

#menu div.h_logo img {
	width: 100%;
	height: auto;
	display: block;
}

#menu div.h_text {
	color: #1684ad;
	font-size: 1.2rem;	
	font-weight: bold;
	border-left: 1px solid #1684ad;
	padding: 5px 10px;
	display: flex;
    align-items: center;
	white-space: nowrap;
}

#menu div.h_text img{
	width: 	60%;
	height: auto;
	padding-left: 5px;
}

#menu nav {
  display: none;
  align-items: center;
  gap: 40px;
  margin-left: auto;
}

#menu nav a {
	width: 100%;
	border-bottom: solid 1px #00866F;
	padding-bottom: 10px;
	color: #000000;
	font-weight: bold;
	text-decoration: none;
	white-space: nowrap;
	font-size: 2.0rem;
	padding-bottom: 15px;
}
	
#menu nav a:last-child {
	width: 140px;
	border-bottom: none;
	color: #000000;
	padding-bottom: 18px;
}

#menu nav a:hover {
   color: #159bb9;
}

/* 応募ボタン */
#entry_btn {
  margin-left: 40px;
}

#entry_btn a {
  display: block;
  background: #ffeb36;
  color: #142d50;
  text-decoration: none;
  font-weight: bold;
  padding: 12px 25px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

#entry_btn a span {
  margin-left: 12px;
  font-size: 18px;
}

#entry_btn a:hover {
  background: #ffda00;
}

#menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .h_logo img {
    width: 100px;
  }

  .h_text {
    display: none; /* 必要に応じて表示 */
  }

  /* ハンバーガー */
  .hamburger {
    display: block;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: #142b4c;
    margin: 6px 0;
    transition: .3s;
  }

  /* ナビゲーション */
  #global-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 25px;
    box-sizing: border-box;
    z-index: 1000;
  }

  #global-nav.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
	background-color: #F6FFFD;
  }

  #global-nav a {
    text-align: center;
  }

/* 応募ボタン */
#entry_btn {
	margin-left: 0px;
	margin-right: auto;
	margin-left: auto;
}

#entry_btn a {
	margin-right: auto;
	margin-left: auto;
  display: block;
  background: #ffeb36;
  color: #142d50;
  text-decoration: none;
  font-weight: bold;
  padding: 15px 10px;
  border-radius: 30px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

#entry_btn a span {
  margin-left: 12px;
  font-size: 18px;
}

#entry_btn a:hover {
  background: #ffda00;
}

  /* × 印に変化 */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }


/*▼削除しない▼*/
}