.main_h {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 60px;
  max-height: 60px;
  z-index: 999;
  width: 100%;
  padding-top: 12px;
  padding-bottom: 8px;
  background: #fff;
  -webkit-transition: max-height 0.35s ease, padding 0.3s ease;
  transition: max-height 0.35s ease, padding 0.3s ease;
  font-family: "Montserrat", sans-serif;
}

.main_line {
  position: fixed;
  top: 60px;
  left: 0;
  height: 5px;
  max-height: 10px;
  z-index: 999;
  width: 100%;
  padding-top: 5px;
  background: #00008b;
  opacity: 0.7;
  overflow: hidden;
}

.main_h.open-nav {
  max-height: 480px !important;
  overflow-y: auto;
}

.open-nav .mobile-toggle {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
}

.sticky {
  opacity: 1;
  top: 0;
}

.main_h .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.main_h .logo {
  float: none;
  display: inline-flex;
  align-items: center;
  width: auto;
  font-size: 25px;
  color: #8f8f8f;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
}

.main_h .logo img {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}

.main_h nav {
  float: none;
  width: auto;
  margin-left: auto;
}

.main_h nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: visible;
}

.main_h nav ul li {
  display: inline-block;
  margin: 0;
  line-height: 1.5;
  white-space: nowrap;
}

.main_h nav ul li a {
  color: #00008b;
  text-transform: uppercase;
  font-size: 15px;
  display: inline-block;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 20px;
  position: static;
  width: 32px;
  padding: 4px 0;
  background: transparent;
  border: 0;
  -webkit-transition: all 200ms ease-in;
  -moz-transition: all 200ms ease-in;
  transition: all 200ms ease-in;
}

.mobile-toggle span {
  width: 30px;
  height: 4px;
  margin-bottom: 6px;
  border-radius: 1000px;
  background: #00008b;
  display: block;
}

.mobile-toggle span:last-child {
  margin-bottom: 0;
}
/* PC表示（768px以上） */
@media screen and (min-width: 768px) {
  .main_h {
    min-height: 60px;
    max-height: none;
    overflow: visible;
  }
  .main_h nav {
    display: block !important;
  }
  .mobile-toggle {
    display: none !important;
  }
}

/* スマホ表示（767px以下）の指定強さを極限まで高めて上書きを絶対に阻止 */
@media only screen and (max-width: 767px) {
  html body header.main_h {
    min-height: 64px !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 12px !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
  }

  html body header.main_h .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  html body header.main_h .mobile-toggle {
    display: block !important;
    position: relative !important;
    z-index: 1001 !important;
    flex-shrink: 0 !important;
  }

  html body header.main_h nav {
    display: none !important;
    width: 100% !important;
    flex-basis: 100% !important;
    margin-left: 0 !important;
    margin-top: 12px !important;
    float: none !important;
  }

  html body header.main_h.open-nav {
    max-height: 80vh !important;
    overflow-y: auto !important;
  }

  html body header.main_h.open-nav nav {
    display: block !important;
  }

  html body header.main_h.open-nav nav ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px 0 !important;
  }
}

.row {
  width: 100%;
  max-width: 940px;
  max-width: 80%;
  margin: 0 auto;
  position: relative;
  padding: 0 2%;
}

* {
  box-sizing: border-box;
}

body {
  height: 100%;
  color: #3C3C3C;
  background: white;
  font-family: "Cardo", serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
}

h1 {
  font-size: 30px;
  line-height: 1.8;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
}

p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 2;
}

.content {
  padding: 0px 2% 0px;
}

.hero {
  position: relative;
  background: url(./htweb/images/main_image1.jpg) no-repeat 0px 50px fixed;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  background-size: contain;
  text-align: center;
  color: #00F;
  padding-top: 120px;
  min-height: 550px;
  letter-spacing: 2px;
  font-family: "Montserrat", sans-serif;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.3;
}

.hero h1 span {
  font-size: 25px;
  color: #e8f380;
  border-bottom: 2px solid #e8f380;
  padding-bottom: 12px;
  line-height: 3;
}

.mouse {
  display: block;
  margin: 0 auto;
  width: 26px;
  height: 0px;
  border-radius: 13px;
  position: absolute;
  bottom: 40px;
  left: 50%;
  margin-left: -26px;
}

.mouse span {
  display: block;
  margin: 6px auto;
  width: 2px;
  height: 2px;
  border-radius: 4px;
  background: #e8f380;
  border: 1px solid transparent;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}

.under {
  border-bottom: solid 3px #FFA500;
  text-underline-offset: 20px;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    transform: translateY(20px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
  }
}

footer .global_footer {
  background-color: #fff;
}

footer .global_footer ul li a {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  text-decoration: none;
}

footer .global_footer .inner {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

footer .global_footer .flex_block {
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: end;
}

footer .global_footer .company h2 {
  font-size: 24px;
  font-weight: 400;
}

footer .global_footer .company p {
  font-size: 18px;
}

footer .copyright {
  background: #0e1e38;
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 0;
  line-height: 2.5em;
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  footer .global_footer {
    padding: 21px 20px 27px;
  }
  footer .global_footer .inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
  }
  footer .global_footer .inner ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  footer .global_footer .inner ul li {
    margin-right: 50px;
  }
  footer .global_footer .inner ul li:last-child {
    margin-right: 0;
  }
}

@media screen and (max-width: 1024px) {
  footer .navigation_area {
    padding: 80px 20px;
  }
}

@media screen and (max-width: 767px) {
  footer .inner {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }
  footer .global_footer {
    padding: 0;
  }
  footer .global_footer .inner {
    display: block;
    text-align: center;
  }
  footer .global_footer .inner ul {
    list-style: none;
    margin: 0;
    border-bottom: 1px solid #e6e6e6;
    padding: 20px;
  }
  footer .global_footer .inner ul li + li {
    margin-top: 14px;
  }
  footer .global_footer .inner .f_logo {
    margin: 30px auto;
  }
}

main {
  margin-top: 70px;
  overflow-wrap: break-word;
}

.banner-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.banner-item {
  flex: 1 1 400px;
  max-width: 380px;
  display: flex;
}

.banner-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.banner-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.banner-img {
  display: block;
  width: auto;
  height: 200px;
  object-fit: cover;
  margin: 0 auto;
}

.banner-label {
  flex: 1;
  padding: 12px 16px;
  background-color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 600px) {
  .banner-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.custom-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 16px;
  margin: 0;
  padding: 0;
  border: 2px solid #cbd5e1;
  border-radius: 3px;
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

.custom-checkbox:checked {
  border-color: #16529c;
  background-color: #eef5fc;
}

.custom-checkbox:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -52%);
  color: #16529c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.submit-wrap {
  text-align: center;
  margin-top: 24px;
}

.submit-wrap .btn-submit {
  display: inline-block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.contact-form {
  background: #fff;
  color: var(--text-dark);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--primary-navy);
}

.form-group input,
.form-group select,
.form-group text,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 20px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--medical-blue), var(--primary-navy));
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-submit:hover {
  opacity: 0.92;
}

footer {
  background: #071629;
  color: #94a3b8;
  padding: 40px 0 28px;
  font-size: 13px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.footer-brand {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.footer-url a {
  color: #6ee2ff;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

.mv_area {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.mv_area picture {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

.mv_area img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}