@charset "UTF-8";

/* body領域 */

body{
	color: #333333;
	font-family:"メイリオ","Hiragino Sans",sans-serif;
	margin:0;
	padding:0;
  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領域 */

.pankuzu li {
  display:inline;
  margin-right:5px;
  font-size:80%;
}

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: 60px;
}

h3 {
  font-size: 120%;
  border-left: 10px solid #1B3A2F;
  padding:7px 0px 5px 10px; 
 /* padding-left: 10px; */
  margin: 25px auto 0px;
  background: linear-gradient(to left, #F5F7FA, #cbd1b7);
  box-shadow: 3px 3px 6px #aaaaaa;
  color: #1B3A2F;
  max-width: 1200px;
  width: 92%;
}

h4 {
  font-size: 110%;
  border-left: 10px solid #1B3A2F;
  border-bottom:1px solid #1B3A2F;
  padding:0px 0px 0px 10px; 
  margin-top: 20px;
  color: #1B3A2F;
  max-width: 1055px;
  width: 88%;
  margin-left: auto;
  margin-right: auto;
}

p{
	font-size:100%;
	line-height:1.8;
}

article{
	position:relative;
	clear:both;
	width:100%;
	margin-left: auto;
	margin-right: auto;
	margin-top: 15px; 
}

.top-visual {
  position: relative;
  width: 100%;
}

.top-visual img {
  width: 100%;
  filter: brightness(70%);
  height: auto;
  display: block;
}

.top-visual h1 {
  position: absolute;
  top: 45%;
  left: 12%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 2.5rem;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

#top-image {
  animation: zoomOut 3s ease-out forwards;
  transform-origin: center;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.07);
  }
  100% {
    transform: scale(1);
  }
}

.body-text{
  max-width: 1200px;
  margin-top: 50px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.body-text .h2-title:first-of-type h2 {
  margin-top: 40px;
}

.reserve-system-wrap {
  display: block;
  max-width: 1200px;
  width: 90%;
  margin-left: auto;
	margin-right: auto;
	margin-top:20px;
}

.reserve-system-wrap img {
  display: block;
  max-width: 80%;
  width: auto;
  margin: 30px auto 10px;
  box-shadow:0px 0px 5px 3px #aaaaaa;
  border-radius: 30px;
}

.reserve-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin: 30px auto 40px;
  max-width:1000px;
}

.reserve-wrap p {
  max-width: 500px;
  width:92%;
  height: auto;
  display: block;
  margin: 0 auto;
  padding: 0;
}

.reserve-wrap img {
  display: block;
  max-width: 95%;
  width: auto;
  margin: 10px auto;
  box-shadow:0px 0px 5px 3px #aaaaaa;
}

.system-center-block {
  display: block;
  max-width: 250px;
	text-align:center;
	color: #000000;
	margin:30px auto 0px;
	background-color: #becce6;
	box-shadow:0 0 5px 0 #000000;
	text-shadow: 0 1px 1px #000000;
  padding: 15px;
  text-decoration: none;
  border-radius: 15px;
}

.system-center-block:hover{
	font-weight:bold;
	background-color: #0b3d91;
  color: #ffffff;
	text-shadow: 0 0 0 #000000;
}

.center-block {
  display: block;
  max-width: 380px;
	text-align:center;
	color: #ffffff;
	margin: 20px auto 0px;
	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;
}

.training-schedule-text {
  max-width: 1200px;
  width: 93%;
  margin: 0px auto;
}

.training-schedule-table {
  display: block;
  max-width: 1055px;
  width: 80%;
  margin: 30px auto 50px;
  border-collapse: collapse;
  text-align: center;
  box-shadow:0px 0px 5px 3px #aaaaaa;
}

.training-schedule-table thead,
.training-schedule-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.training-schedule-table thead th {
  font-size: 110%;
  background-color: #b4b4b4;
}

.training-schedule-table th,
.training-schedule-table td {
  border: 1px solid #cccccc;
  padding: 15px;
  line-height: 1.6;
}

.training-schedule-table td {
  background-color: #ffffff;
  white-space: normal; 
  overflow-wrap: break-word;
  word-break: keep-all; 
}

.training-schedule-table thead th:nth-child(1),
.training-schedule-table tbody td:nth-child(1) {
  width: 30%;
}

.training-schedule-table thead th:nth-child(2),
.training-schedule-table tbody td:nth-child(2) {
  width: 70%;
}

.notification-text {
  max-width: 1200px;
  width: 93%;
  margin: 0px auto;
}

.notification-table {
  display: block;
  max-width: 1200px;
  width: 93%;
  margin: 30px auto 50px;
  border-collapse: collapse;
  text-align: center;
  box-shadow:0px 0px 5px 3px #aaaaaa;
}

.notification-table thead,
.notification-table tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

.notification-table thead th {
  font-size: 110%;
  background-color: #b4b4b4;
}

.notification-table th,
.notification-table td {
  border: 1px solid #cccccc;
  padding: 15px;
  line-height: 1.6;
}

.notification-table td {
  background-color: #ffffff;
}

.notification-table thead th:nth-child(1),
.notification-table tbody td:nth-child(1) {
  width: 30%;
}

.notification-table thead th:nth-child(2),
.notification-table tbody td:nth-child(2) {
  width: 30%;
}

.notification-table thead th:nth-child(3),
.notification-table tbody td:nth-child(3) {
  width: 40%;
}

.reserve-news-text {
  max-width: 1200px;
  width: 93%;
  margin: 0px auto;
}

.reserve-news-box {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  margin: 30px auto 70px;
  max-width: 1100px;
}

.reserve-news-box img {
  box-shadow:0px 0px 5px 3px #aaaaaa;
  }

.reserve-news-link a {
  overflow-wrap: break-word;
  word-break: keep-all;
}


.engo-contact p {
  max-width: 1200px;
  width: 90%;
  margin: 25px auto;
}

.contact-wrap{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 20px auto 40px;
  max-width:1100px;
}

.contact-wrap div {
	width: 550px;
}

.contact-wrap iframe{
	box-shadow:0px 0px 10px 3px #aaaaaa;
	border-radius:10px;
	max-width: 450px;
  width: 450px;
	margin:20px;
}

.contact-table{
  border-collapse: collapse;
  max-width: 500px;
  width: 500px;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 20px;
}

.contact-table th{
  background-color: #f2f2f2;
  padding: 15px 10px;
  text-align: center;
  width: 100px;
  border: 1px solid #cccccc;
}

.contact-table td{
  padding: 15px 10px;
  border: 1px solid #cccccc;
  background-color: #ffffff;
}

.break{
  display: inline-block;
}






/* 1070px以下の場合 */
@media(max-width:1070px){

nav ul{
	font-size:85%;
}

}




/* 1000px以下の場合 */
@media (max-width: 1000px) {
.reserve-news-box {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.reserve-news-box img {
  width: 100%;
  max-width: 400px;
  height: auto;
}

.reserve-news-box div {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

}






/* 768px以下の場合 */
@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;
}

.term-box {
  flex-direction: column;
  gap: 0px;
}

.footer-box {
  flex-direction: column;
  gap: 20px;
}

.reserve-news-box {
  flex-direction: column; 
  align-items: center;
  gap: 40px;
}

.reserve-news-box img {
  width: 100%; 
  max-width: 350px; 
  height: auto;
}

.reserve-news-box div {
  width: 100%; 
  max-width: 380px;
  text-align: center; 
}

.top-visual h1 {
  font-size: 1.5rem;
  left: 5%;
}

#top-image {
  animation: none;
  transform: none;
}

}

