/* for member */
body {
	background-color: #fff;
	color: #1A1311;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	/* margin-top: 64px; */
}

#content-wrapper {
	min-height: auto !important;
}

header {
	/* position: initial !important; */
	position: initial;
	background-color: #07084D;
	padding: 10px 20px;
	display: flex;
    justify-content: space-between;
}

header img {
	height: 50px;
	float: left;
}

#header {
	/* position: sticky; */
	z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  /* z-index: 2; */
  /* transition: transform 0.3s 0.3s; */
  /* transition: left 0.2s; */
}

/* TOP */
body#member_top {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
}

body#member_top header {
	position: static !important;
	width: 100%;
	margin-bottom: 0;
	justify-content: space-between !important;
}

body#member_top header img {
    margin-left: 20px;
}

@media (max-width: 768px) {
	body#member_top header {
		padding: 12px 0 12px 0;
	}
	
	body#member_top header img {
		margin-left: 10px;
	}
}

/* Header */
.header {
	background-color: #07084D;
	color: white;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header-logo {
	font-size: 1.2em;
	margin-left: 20px;
}

.header-links {
	/* margin-right: 20px; */
	text-align: right;
}

.header-links i {
	margin-left: 15px;
}

.header-links a {
	color: white;
	text-decoration: none;
}

@media (max-width: 768px) {

	header {
		padding: 12px 0 12px 0;
		justify-content: space-evenly;
	}

	header img {
		height: 40px;
		margin-left: 10px;
	}

	.header {
		flex-direction: column;
		align-items: flex-end;
		width: 40%;
	}

	.header-logo {
		font-size: 1em;
		margin-left: 10px;
		margin-bottom: 0px;
	}

}

/* Nav items */
.menu {
  list-style: none;
  position: absolute;
  /* width: 100%; */
  width: 50%;
  height: auto;
  top: 0;
  right: 0;
  margin-top: 65px;
  padding: 0 0 10px 0;
  clear: both;
	background-color: #07084D;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
  transform: scale(1, 0);
  transform-origin: top;
}

/* Hamburger menu button */
.menu-btn:checked ~ .menu {
  transform: scale(1, 1);
  transform-origin: top;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

/* Hamburger menbu text */
.menu a {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: capitalize;
  color: #ddd;
  opacity: 0;
  transition: 0.5s;
}

.menu li {
  border-top: 1px solid rgb(75, 75, 75);
  padding: 15px 0;
  /* margin: 0 54px; */
  margin: 0 15px;
  opacity: 0;
  transition: 0.5s;
}

.menu-btn:checked ~ .menu a,
.menu-btn:checked ~ .menu li {
  opacity: 1;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.2s;
}

.menu-btn {
  display: none;
}

.menu-icon {
  display: inline-block;
  position: relative;
  cursor: pointer;
  /* padding: 24px 14px; */
  padding-top: 18px;
  padding-right: 14px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.navicon {
  background: #ddd;
  display: block;
  height: 3px;
  width: 26px;
  position: relative;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before,
.navicon:after {
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  background: #ddd;
  transition: 0.3192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}

.navicon:before {
  top: 9px;
}

.navicon:after {
  bottom: 9px;
}

/* Hamburger Menu Animation Start */
.menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}

.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before {
  top: 0;
}
.menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  bottom: 0;
}

.menu-btn:checked ~ .menu-icon .navicon {
  background: rgba(0, 0, 0, 0);
  transition: 0.2192s cubic-bezier(0.04, 0.04, 0.12, 0.96) 0.1008s;
}
/* Hamburger Menu Animation End */

.top-footer {
	font-size: 0.7em;
	margin-top: 50px;
	color: #07084D;
}

.container {
	width: 90%;
	max-width: 1060px;
	margin: 0 auto;
	flex: 1;
}
@media (max-width: 768px) {
	.container {
	  width: 95%;
	}
}

/* Main Content */
.main-content {
	padding: 20px 0;
}

/**
* caution_list
*/
.caution_list {
	margin: 50px auto;
	color: #07084D;
}
.caution_list_text {
	font-family: 'Noto Serif CJK JP', serif;
	font-weight: 700;
	line-height: 2.3em;
	margin-bottom: 2em;
	font-size: 18px;
}
@media (max-width: 768px) {
	.caution_list_item {
		width: 95%;
		margin: 30px auto;
		font-size: 12px;
	}
	.caution_list_text {
		font-size: 12px;
	}
}

/*モーダルの部分のCSS*/
.caution-modal-wrapper {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 100;
	display: none;
}
.modal-area {
	position: absolute;
	top: 80px;
	left: 20%;
	background-color: #FFF;
	padding: 20px 0 40px;
	border-radius: 5px;
	width: 60%;
	height: auto;
	text-align: center;
	line-height: 1.8em;
	color: #07084D;
}
.fa-times {
	position: absolute;
	top: 12px;
	right: 12px;
	color: rgba(128, 128, 128, 0.46);
	cursor: pointer;
}
#caution-detail-list {
	width: 65%;
	margin: 0 auto 3em auto;
}
#caution-detail-list h2 {
	letter-spacing: 1px;
	margin: 1em auto;
}
.caution-text{
	text-align: left;
	margin: 0 auto;
}
#c-modal_close {
	padding: 5px;
	cursor: pointer;
}
.btn-caution-show,
.btn-caution-show-none {
	display: none;
}
ul.caution-item{
	text-align: left;
	margin: 1em 0 2em 1em;
}
dl.caution-info{
	text-align: left;
	margin-left: 2em ;
}
dl.caution-info dt {
	float: left ;
	clear: left ;
	margin-right: 0.5em ;
	width: 120px ;
}
dl.caution-info dd {
	float: left ;
	margin-left: 1em ;
}
@media screen and (max-width: 1400px) and (min-width: 769px) {
	#caution-detail-list {
		width: 80%;
	}
}
@media (max-width: 768px) {
	.modal-area {
		left:2%;
		width: 95%;
		font-size: 12px;
	}
	#caution-detail-list {
		width: 90%;
		margin: 0 auto 1em auto;
	}
	#caution-detail-list h2 {
		font-size: 14px;
		margin-bottom: 14px;
	}
	ul.caution-item{
		margin: 1em 0 2em 0.5em;
	}
}

/* Announcement Section */
.announcements {
	margin-bottom: 60px;
}

.announcement-item {
	margin-bottom: 10px;
}

.announcement-date {
	font-size: 0.9em;
	line-height: 180%;
	color: #777;
}

.announcement-message {
	line-height: 180%;
	color: #00267F;
	text-decoration: underline;
}

.announcement-message:hover {
	text-decoration: none;
}

/* Profile Search Section */
.profile-search {
	margin-bottom: 60px;
}

/* Downloads Section */
.downloads {
	margin-bottom: 30px;
}

.download-item {
	margin-bottom: 10px;
}

.download-date {
	font-size: 0.9em;
	line-height: 180%;
	color: #777;
}

.download-link {
	color: #00267F;
	line-height: 180%;
	text-decoration: underline;
}

.download-link:hover {
	text-decoration: none;
}

.button-downlod-submit {
	text-align: left;
	margin-top: 10px;
	margin-bottom: 30px;
}

.button-downlod-submit button {
	padding: 12px 20px;
	border-radius: 5px;
	border: none;
	cursor: pointer;
	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	background-color: #07084D;
	color: white;
	width: fit-content;
	block-size: fit-content;
}
.button-downlod-submit button:hover, .btn-edit-prof button:focus {
	-webkit-box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
	box-shadow: 0 0px 2px rgba(0, 0, 0, 0.12), 0 2px 2px rgba(0, 0, 0, 0.2);
	opacity: 0.7;
}

@media (max-width: 768px) {
	.text-input label.text2l {
		font-size: 0.8em;
		line-height: 20px;
	}
	.text-input label.text2l>span {
		font-size: 0.7em;
		display: block;
		line-height: 20px;
	}
}

/* Footer */
footer {	
	background-color: #07084D;
	border-top: none;
	color: white;
	text-align: center;
}
