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

html {
  font-size: 16px;
  overflow-x: hidden;
}

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

main {
  /* margin-bottom: 100vh; */
  /* z-index: 99; */
  position: relative;
  background-color: #ffffff;
}

body {
  overflow-x: hidden;
  position: relative;
  font-weight: 400;
  font-size: 1em;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 180%;
  letter-spacing: 0.1em;
  color: #2a231b;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -moz-font-feature-settings: "palt" on;
  font-feature-settings: "palt" on;
  text-rendering: optimizelegibility;
}

a {
  color: #3088ff;
  cursor: pointer;
  transition: all 0.8s;
  text-underline-position: under;
  text-underline-offset: 0.2rem;
}

a:hover {
  color: #3088ff;
  opacity: 0.6 !important;
  transition: all 0.8s;
  cursor: pointer;
}

a:focus {
  outline: none;
  cursor: pointer;
}

u {
  text-underline-position: under;
  text-underline-offset: 0.2rem;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  _::-webkit-full-page-media,
  _:future,
  a,
  u {
    text-underline-position: under;
    text-underline-offset: 0rem;
  }
}

p {
  line-height: 1.8;
}

figure {
  margin-bottom: 0;
}

hr {
  border-color: #e6e7e9;
}

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

img {
  user-drag: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
}

img.lazyload {
  width: 100%;
}

.small-s {
  font-size: 0.65em;
}

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

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.h7,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.6;
  font-weight: 700;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 1rem;
}

/*------------------------------------
  Color
------------------------------------*/

.bg-tmorange {
  background-color: #f79a0e;
}

.text-tmorange {
  color: #f79a0e;
}

.text-tmorange-dark {
  color: #f58d05;
}

.mark-tmorange {
  background: #f79a0e;
  color: #fafdfe;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.grad-tmorange {
  background: linear-gradient(210deg, #f79a0e 25.14%, #f9cc74 86.11%);
}

.grad-tmorange-t {
  background: linear-gradient(160deg, #f58d05 35%, #f8ca4e 90%);
}

.bg-tmpink {
  background-color: #ea8670;
}

.text-tmpink {
  color: #ea8670;
}

.bd-tmpink {
  border-color: #ea8670;
}

.bg-tmdark {
  background-color: #2a231b;
}

.text-tmdark {
  color: #2a231b;
}

.text-tmdark:hover {
  color: #2a231b;
}

.bg-tmgray {
  background-color: #e1e1e1;
}

.text-tmgray {
  color: #e1e1e1;
}

.mark-tmgray {
  background: linear-gradient(transparent 50%, #e1e1e1 80%);
  color: #133b39;
  padding: 0.15em 0.3em;
  width: fit-content;
}

.bg-ashgray {
  background-color: #d4cdbe;
}

.text-ashgray {
  color: #d4cdbe;
}

.bd-ashgray {
  border-color: #d4cdbe;
}

.bg-lightgray {
  background-color: #f4f4f4;
}

.text-lightgray {
  color: #f4f4f4;
}

.bd-lightgray {
  border-color: #f4f4f4;
}

.bg-darkgreen {
  background-color: #133b39;
}

.text-darkgreen {
  color: #133b39;
}

.bd-darkgreen {
  border-color: #133b39;
}

.bg-nature {
  background-color: #fafdfe;
}

.text-nature {
  color: #fafdfe;
}

.underline-spaced {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  line-height: 1.9;
  text-decoration-thickness: 1px;
}

/*----------------------------------
  BR responsive
------------------------------------*/

.br-sponly {
  display: none;
}

@media (max-width: 768px) {
  .br-sponly {
    display: inline;
  }
  .br-pconly {
    display: none;
  }
}

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

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

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

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

@media (max-width: 768px) {
  .u-content-space {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
  .u-content-space-top {
    padding-top: 3.5rem;
  }
  .u-content-space-bottom {
    padding-bottom: 3.5rem;
  }
}

/*----------------------------------
  Font Weight
------------------------------------*/

.fw-500 {
  font-weight: 500 !important;
}

/*----------------------------------
  Line Height
------------------------------------*/

.lh-xl {
  line-height: 2.5 !important;
}

.lh-xs {
  line-height: 0.8 !important;
}

/*----------------------------------
  Letter Spacing
------------------------------------*/

.ls-0 {
  letter-spacing: 0 !important;
}

.ls-sm {
  letter-spacing: 0.1em !important;
}

.ls-3 {
  letter-spacing: 0.15em !important;
}

.ls-md {
  letter-spacing: 0.25em !important;
}

/*----------------------------------
  Sizing
------------------------------------*/

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

/*----------------------------------
  Loading
------------------------------------*/

/* .page-running {
  display: none;
} */

.page-running {
  opacity: 0;
  -moz-transition: -moz-transform 0.5s linear;
  -webkit-transition: -webkit-transform 0.5s linear;
  -o-transition: -o-transform 0.5s linear;
  -ms-transition: -ms-transform 0.5s linear;
  transition: transform 0.5s linear;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.page-blur {
  -webkit-animation-name: imageBlur;
  animation-name: imageBlur;
  opacity: 1 !important;
  transition: 0.8s;
}

@-webkit-keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}
@keyframes imageBlur {
  from {
    opacity: 0;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }

  to {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
}

/*----------------------------------
  hr short
------------------------------------*/

.hr-short {
  width: 3.5rem;
  height: 0.25rem;
  opacity: 0.8;
  border: none;
}

/*----------------------------------
  Arrow Button
------------------------------------*/

.arrow-btn {
  border: 1px solid;
  border-radius: 0.6em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  padding: 0.75em 1.5em;
  font-size: 1em;
  font-weight: bold;
  line-height: 1.5;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.arrow-btn.tmorange {
  background-color: #ffffff;
  color: #f79a0e;
  border-color: #f79a0e;
}

.arrow-btn.tmorange:hover {
  background-color: #f7f7f7;
  color: #f79a0e;
  opacity: 1 !important;
}

.arrow-btn.grad-tmorange {
  color: #ffffff;
}

.arrow-btn.grad-tmorange:hover {
  color: #ffffff;
}

.arrow-btn.grad-tmorange-t {
  color: #ffffff;
}

.arrow-btn.grad-tmorange-t:hover {
  color: #ffffff;
}

.arrow-btn.bg-white {
  background-color: none;
  color: #ffffff;
  border-color: #ffffff;
}

.arrow-btn.bg-white:hover {
  background-color: #4dccc5;
  color: #ffffff;
  opacity: 1 !important;
}

/*----------------------------------
  Page Fade Out
------------------------------------*/

.page-fadeout {
  /* animation: fadeOut 0.5s ease-out forwards; */
  -webkit-transform: translate3d(0, -100px, 0);
  -ms-transform: translate3d(0, -100px, 0);
  transform: translate3d(0, -100px, 0);
  -webkit-transition: all 0.5s ease-out;
  -ms-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
  opacity: 0 !important;
}

/* .page-fadeout .page-running {
	display: none !important;
} */

@keyframes fadeOut {
  0% {
    opacity: 1 !important;
    visibility: visible;
  }
  100% {
    opacity: 0 !important;
    visibility: hidden;
    transform: translateY(-100px);
  }
}

.page-blur-out {
  -webkit-animation-name: imageBlurOut;
  animation-name: imageBlurOut;
  opacity: 0;
  transition: 0.5s;
}

@-webkit-keyframes imageBlurOut {
  from {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
  to {
    opacity: 0 !important;
    display: none !important;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }
}
@keyframes imageBlurOut {
  from {
    opacity: 1;
    -webkit-filter: blur(0px);
    -moz-filter: blur(0px);
    -ms-filter: blur(0px);
    -o-filter: blur(0px);
    filter: blur(0px);
  }
  to {
    opacity: 0 !important;
    display: none !important;
    -webkit-filter: blur(15px);
    -moz-filter: blur(15px);
    -ms-filter: blur(15px);
    -o-filter: blur(15px);
    filter: blur(15px);
  }
}
