/*------------------------------------
  Default Styles
------------------------------------*/

html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: normal;
  font-size: 16px;
  line-height: 1.75rem;
  letter-spacing: 0.1rem;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "liga", "kern";
  text-rendering: optimizelegibility;
  background-color: #093d44;
}

@media (max-width: 767px) {
  html,
  body {
    font-size: 14px;
  }
}

a {
  color: #089944;
}

a:hover {
  color: #22b55f;
}

a:focus {
  outline: none;
}

hr {
  border-color: #e6e7e9;
}

[role="button"] {
  cursor: pointer;
}

p {
  overflow-wrap: anywhere;
}

.w-fit {
  width: fit-content;
}

/*----------------------------------
  Overlays
------------------------------------*/

.page-running {
  display: none;
}

/*------------------------------------
  Headings
------------------------------------*/

.ttl-about,
.ttl-guide,
.ttl-program,
.ttl-keynote,
.ttl-exhibition,
.ttl-reservation {
  height: 4rem;
  margin-top: 0rem;
  position: relative;
}

/*------------------------------------
  Backgrounds
------------------------------------*/

.bg-lottie {
  width: 100%;
  height: 250px;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

#bg-lottie01,
#bg-lottie03,
#bg-lottie05 {
  transform: scale(-1, -1);
  -webkit-transform: scale(-1, -1);
}

#bg-lottie02,
#bg-lottie04,
#bg-lottie06 {
  transform: scale(1, -1);
  -webkit-transform: scale(1, -1);
}

.bg-about,
.bg-program,
.bg-exhibition {
  /* background-image: url(https://www.hmcc.jp/aplcontest/2025/assets/img/bgimg_1.png);
  background-position: left top;
  background-repeat: no-repeat;
  background-size: 50% auto;
  mix-blend-mode: lighten; */
}

.bg-guide,
.bg-keynote,
.bg-reservation {
  /* background-image: url(https://www.hmcc.jp/aplcontest/2025/assets/img/bgimg_2.png);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 50% auto; */
  background-color: #04282c;
}

@media (max-width: 768px) {
  .bg-about,
  .bg-guide,
  .bg-program,
  .bg-keynote,
  .bg-exhibition,
  .bg-reservation {
    background-size: 70% auto;
  }
}

/*----------------------------------
  Buttons
------------------------------------*/

.btn {
  cursor: pointer;
  transition: 0.2s ease;
  border-radius: 0;
}

.btn--pill {
  border-radius: 6.25rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.btn--pill.btn-sm {
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
}

.btn--pill.btn-lg {
  padding-left: 1.5625rem;
  padding-right: 1.5625rem;
}

.btn-white {
  background-color: #ffffff;
  color: #093d44;
  border: 1px solid #22b55f;
}

.btn-white:hover {
  background-color: #defdeb;
  color: #093d44;
}

.btn-green {
  background-color: #089944;
  color: #ffffff;
}

.btn-green:hover {
  background-color: #22b55f;
}

.btn-white,
.btn-green {
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-white img,
.btn-green img {
  width: 1.5rem;
  margin-right: 1rem;
}

.btn-white.btn-lg img,
.btn-green.btn-lg img {
  width: 2.75rem;
  margin-right: 0.75rem;
}

.btn-white p,
.btn-green p {
  margin: 0;
  text-align: start;
}

.btn-white span,
.btn-green span {
  font-weight: 300;
  font-size: 0.5rem;
  line-height: 0.9em;
  display: block;
}

.btn-white.btn-lg span,
.btn-green.btn-lg span {
  font-size: 0.75rem;
  line-height: 1.5em;
}

/*----------------------------------
  Header
------------------------------------*/

#top {
  margin-top: 70px;
}

.navbar {
  height: 70px;
  background: linear-gradient(90deg, #00595c 2%, #0c7d3b 98%) !important;
  background-blend-mode: overlay;
  color: #ffffff;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
}

.nav-logo {
  height: 1.5rem;
  padding-right: 1rem;
  border-right: 1px solid #ffffff;
}

.nav-logo-app {
  height: 1.125rem;
  padding-left: 0.5rem;
}

.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: bold;
  font-size: 0.9rem;
}

.nav-link span {
  color: #ffffff !important;
  font-weight: 300;
  font-size: 0.6rem;
  line-height: 0.9em;
  display: block;
}

@media (max-width: 768px) {
  .navbar .container-fluid {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .navbar-collapse {
    background-color: #ffffff;
    padding: 0 2rem 1rem;
    border-radius: 0.5rem;
    margin-top: 2rem;
    border: 1px solid #093d44;
  }
  .navbar-nav .nav-link,
  .navbar-nav .nav-link span {
    color: #093d44 !important;
  }
}

/*----------------------------------
  Footer
------------------------------------*/

#footer {
  background: #383838;
  font-size: 0.75rem;
}

/*----------------------------------
  Spaces
------------------------------------*/

.u-space {
  position: relative;
  padding-top: 6.25rem;
  padding-bottom: 6.25rem;
}

.u-space-top {
  padding-top: 6.25rem;
}

.u-space-bottom {
  padding-bottom: 6.25rem;
}

@media (max-width: 768px) {
  .u-space {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  #company.u-space {
    padding-top: 4.25rem !important;
  }
}

/*----------------------------------
  Flow
------------------------------------*/

.flow-img {
  width: 10rem;
}

.flow-date {
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .flow-img {
    width: 7.5rem;
  }
  .flow-date {
    font-size: 1rem;
  }
}

.flow-pill-grow {
  border-radius: 9999px;
  border: 1px solid #089944;
  background: linear-gradient(90deg, #00595c 2%, #0c7d3b 98%);
  background-blend-mode: overlay;
}

.flow-pill-slate {
  border-radius: 9999px;
  border: 1px solid #adadad;
  background: #093d44;
}

.flow-pill-dark {
  border-radius: 9999px;
  border: 1px solid #adadad;
  background: #04282c;
}

/*----------------------------------
  Judge
------------------------------------*/

.judge-pill-grow {
  border-radius: 9999px;
  border: 1px solid #089944;
  background: linear-gradient(90deg, #00595c 2%, #0c7d3b 98%);
  background-blend-mode: overlay;
  width: 10rem;
  text-align: center;
}

.judge-pill-slate {
  border-radius: 9999px;
  border: 1px solid #adadad;
  background: #093d44;
  width: 10rem;
  text-align: center;
}

/*----------------------------------
  Sponser
------------------------------------*/

.sponser-head {
  width: 6rem;
}

/*----------------------------------
  Flow
------------------------------------*/

.flow {
  padding-left: 90px;
  position: relative;
}

.flow::before {
  content: "";
  width: 2px;
  height: 100%;
  background: #22b55f;
  margin-left: 0px;
  display: block;
  position: absolute;
  top: 0;
  left: 90px;
}

.flow > ul {
  padding: 0;
}

.flow > dd {
  margin-left: 0;
}

.flow > li {
  position: relative;
  list-style-type: none;
}

.flow > li:not(:last-child) {
  margin-bottom: 2rem;
}

.flow > li .icon {
  font-weight: 600;
  padding: 5px;
  text-align: start;
  display: block;
  position: absolute;
  width: 80px;
  top: 0;
  left: -90px;
  z-index: 100;
}

.flow > li dl {
  padding-left: 40px;
  position: relative;
}

.flow > li dl::before,
.flow > li dl::after {
  content: "";
  display: block;
  position: absolute;
  top: 18px;
}

.flow > li dl::before {
  width: 10px;
  height: 10px;
  margin-top: -4px;
  background: #ffffff;
  border-radius: 50%;
  left: -4px;
}

.flow > li dl::after {
  width: 30px;
  border-bottom: 1px solid #ffffff;
  position: absolute;
  left: 2px;
}

.flow > li dl dt {
  font-size: 18px;
  line-height: 35px;
  font-weight: 600;
}

.flow hr {
  width: 50px;
  margin: 0.5rem 0;
  border-top: 1px solid #ffffff;
}

@media (max-width: 768px) {
  .flow {
    padding-left: 0px;
  }
  .flow::before {
    left: revert;
  }
  .flow > li .icon {
    position: relative;
    left: revert;
    margin-left: 40px;
    margin-bottom: 0px;
    padding: 0;
  }
}

/*----------------------------------
  Fadein
------------------------------------*/

.fadein {
  opacity: 0;
  transition: all 1.4s;
}

.fadein-b {
  transform: translate(0, 100px);
}

.fadein-t {
  transform: translate(0, -100px);
}

.fadein-r {
  transform: translate(180px, 0);
}

.fadein-l {
  transform: translate(-180px, 0);
}

.fadein.active {
  opacity: 1;
  transform: translate(0, 0);
}
