.custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border-bottom: 4px solid #142d62;
}

.logo {
  display: flex;
  align-items: center;
  margin-left: 40px;
}

@media screen and (max-width: 768px) {
  .logo {
    margin-left: 10px;
  }
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 30px;
}

.contact-info.mobile-visible {
  background-color: #142d62;
  width: 90px;
  height: 90px;
  flex-direction: column;
  justify-content: center;
}

.contact-info.mobile-visible a {
  color: white;
  text-decoration: none;
  text-align: center;
}

.contact-info a {
  font-size: 20px;
  font-weight: bold;
  color: #2a4780;
  text-decoration: none;
}

.mail-icon {
  background-color: #142d62;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mail-icon a {
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mail-icon img {
  height: 42px;
  width: 40px;
}

.mail-label {
  font-size: 12px;
}

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  font-weight: bold;
}

.main-nav a {
  text-decoration: none;
  color: #000;
}

.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-button {
  display: none;
  cursor: pointer;
  padding: 24px;
}

.mobile-menu-button div {
  width: 32px;
  height: 3px;
  background: #142d62;
  margin: 6px 0;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 1000;
  overflow-y: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #142d62;
  color: white;
  padding: 0 16px;
  gap: 12px;
}

.mobile-nav-header span {
  font-size: 16px;
}

.mobile-nav-header span:last-child {
  font-size: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 1;
  margin-bottom: 6px;
}

.mobile-nav-links {
  padding: 30px 20px;
  font-size: 18px;
}

.mobile-nav-links a {
  display: block;
  margin-bottom: 16px;
  color: #000;
  text-decoration: none;
}

.logo img {
  height: 30px;
  width: auto;
}

.tel-block {
	text-align: center;
	font-weight: bold;
}

.tel-block a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
  font-weight: bold;
  color: #2a4780;
  text-decoration: none;
}

.tel-block img {
  height: 20px;
  width: auto;
}

.pc{
		@media screen and (min-width: 1200px) {
		display:block;
	}
			@media screen and (max-width: 1200px) {
		display:none;
	}
}

.sp{
	@media screen and (max-width: 1200px) {
		display:block;
	}
			@media screen and (min-width: 1200px) {
		display:none;
	}
}

/* レスポンシブ */
@media screen and (max-width: 1299px) {
  .custom-header {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .main-nav,
  .contact-info:not(.mobile-visible) {
    display: none !important;
  }

  .mobile-menu-button {
    display: block !important;
  }
}

@media screen and (min-width: 1300px) {
  .mobile-menu-button,
  .mobile-nav,
  .mobile-visible {
    display: none !important;
  }
}
