/* layout */

html {
  scroll-behavior: smooth;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-container {
    
}

.md-h2-title {
  padding-bottom: 2.6rem;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1.4;
  letter-spacing: .1em;
  text-align: center;
}

.md-btn {
  position: relative;
  display: inline-block;
  width: 100%;
  padding: 16px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.64px;
  text-align: center;
  border: none;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
}

.md-btn--s-height {
  font-size: 12px;
  line-height: 1;
}

.md-btn--l-border-radius {
  border-radius: 100px;
}

.md-btn--m-border-radius {
  border-radius: 8px;
}

.md-btn--left-arrow::before {
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  transform: rotate(45deg);
  transform-origin: right;
  content: "";
}

.md-btn--circle-left-arrow::before {
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  overflow: hidden;
  color: #EEEEEE;
  font-size: 34px;
  font-family: icons;
  line-height: 1;
  background-color: var(--circle-arrow-color);
  border-radius: 50%;
  box-shadow: inset 0px 0px 0 5px white;
  transform: translateY(-50%);
  content: "\EA48";
}

.md-btn--extend-info {
  width: auto;
  padding-right: 30px;
  font-weight: normal;
  font-size: 12px;
}

/* .md-btn--extend-info[aria-expanded=true].md-btn--plus::before {
    background: #999;
    content: "\EA07";
}

.md-btn--plus::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    font-family: icons;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    background: #4676bf;
    border-radius: 100px;
    content: "\EA06";
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
} */

/* .md-btn--extend-info[aria-expanded=true].md-btn--plus::before {
    background: #999;
    content: "\EA07";
}

.md-btn--plus::before {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    font-family: icons;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    vertical-align: middle;
    background: #4676bf;
    border-radius: 100px;
    content: "\EA06";
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    -webkit-font-smoothing: antialiased;
} */

.md-btn--arrow-down::before {
  position: absolute;
  top: 50%;
  right: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #fff;
  font-weight: 300;
  font-size: 12px;
  font-family: icons;
  font-style: normal;
  font-variant: normal;
  text-transform: none;
  vertical-align: middle;
  background: #4676bf;
  border-radius: 100px;
  transform: translateY(-50%);
  content: "\EA1B";
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-font-feature-settings: normal;
  font-feature-settings: normal;
  -webkit-font-smoothing: antialiased;
}

.md-arrow-down-text-icon::before {
  position: relative;
  top: 2px;
  font-family: icons;
  content: "\EA13";
}

.md-btn .btn__text-content {
  position: relative;
  display: inline-block;
}

.btn__text-content .btn-text-content--style {
  color: #ffffff;
  font-size: 26px;
}

.md-btn--border-inset {
  position: absolute;
  display: block;
  border: 1px solid var(--btn-border-inset-color);
  border-radius: inherit;
  inset: 4px;
}

.md-btn--dark-red {
  color: #ffffff;
  background-color: #A70605;
  --btn-border-inset-color: #EBD477;
}

.md-btn--pale-yellow {
  color: #19476B;
  background-color: #EBD477;
  --btn-border-inset-color: #19476B;
}

.md-btn--circle-left-arrow.md-btn--pale-yellow {
  --circle-arrow-color: #19476B;
}

.md-btn--red {
  color: #BF2F2E;
  background-color: #BF2F2E;
}

.md-btn--red2 {
  color: #D53024;
  background-color: #D53024;
}

.md-btn--dark-yellow {
  color: #CBA640;
  background-color: #CBA640;
}

.md-btn--yellow {
  color: #EBD477;
  background-color: #EBD477;
}

.md-btn--green {
  color: #2AB161;
  background-color: #2AB161;
}

.md-btn--light-green {
  color: #ffffff;
  background-color: #399D26;
}

.md-btn--blue {
  color: #ffffff;
  background-color: #344BA0;
}
.md-btn--blue-02 {
  color: #ffffff;
  background-color: #0674C9;;
}

.md-btn--sea-blue {
  color: #ffffff;
  background-color: #004CA0;
}

.md-btn--orange {
  color: #ffffff;
  background-color: #F1A92C;
}

.md-btn--dark-orange {
  color: #ffffff;
  background-color: #FF6E0E;
}

.md-btn--dark-blue {
  color: #ffffff;
  background-color: #224087;
}

.md-btn--light-blue {
  color: #224087;
  background-color: #E0F0FF;
}

.md-btn--l-border-radius.md-btn--dark-red {
  box-shadow: 0 4px 0px #4B0000;
}

.md-btn--l-border-radius.md-btn--pale-yellow {
  box-shadow: 0 4px 0px #0F395C;
}

.md-btn--l-border-radius.md-btn--red {
  box-shadow: 0 4px 0px #93100F;
}

.md-btn--l-border-radius.md-btn--green {
  box-shadow: 0 4px 0px #1E8E4C;
}

.md-btn--l-border-radius.md-btn--sea-blue {
  box-shadow: 0 4px 0px #0F689F;
}

.md-btn--l-border-radius.md-btn--blue,
.md-btn--l-border-radius.md-btn--blue-02 {
  box-shadow: 0 4px 0px #192963;
}

.md-btn--l-border-radius.md-btn--orange {
  box-shadow: 0 4px 0px #B17816;
}

.md-btn--l-border-radius.md-btn--light-green {
  box-shadow: 0 4px 0px #287519;
}

.md-btn--l-border-radius.md-btn--dark-orange {
  box-shadow: 0 4px 0px #BF5916;
}

/* .md-blue-btn {
    color: #ffffff;
    background-color: #324382;
    flex-shrink: 116;
} */

.md-btn.js-toggle_btn[aria-expanded=true] .open {
  display: block;
}

.md-btn.js-toggle_btn .open {
  display: none;
}

.md-btn.js-toggle_btn[aria-expanded=true] .close {
  display: none;
}

.md-btn.js-toggle_btn .close {
  display: block;
}

.md-section-header__title {
  display: flex;
  align-items: center;
  justify-content: center;
}

.md-section__title--has-circle-mark {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  /* color: #003682; */
  text-align: center;
}

.md-section__title--has-circle-mark span {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin: auto;
  line-height: 1.5;
}

.md-section__title--has-circle-mark::before {
  position: absolute;
  top: -13px;
  /* top: 50%; */
  /* transform: translateY(-50%); */
  left: -16px;
  display: block;
  width: 60px;
  height: 60px;
  background-image: url("/assets/img/md-img/title-mark1.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

/* .md-section__title--has-circle-mark span::after {
    content: "";
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    top: calc(100% - 5px);
    right: 0;
    background-color: #FEE302;
} */
.md-block__toggle-content {
  display: none;
}

.md-block__toggle-content[aria-hidden=false] {
  display: block;
}

.p-footer-service__body {
  display: block;
}

.p-footer-service__body[aria-hidden=false] {
  display: none;
}

.md-text-line-clamp-3 {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.md-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.3);
}

.md-modal__contain {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}

.md-btn__close-modal {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  font-weight: 500;
  font-size: 30px;
  text-align: center;
}

.hide-scrollbar {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}
.hide-scrollbar::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}

.lazyLoadingEffect {
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
  filter: blur(25px);
  transition: filter 0.3s ease;
  animation: loadingImg 2s infinite;
}

.lazyLoadingEffect.loaded-img {
  opacity: 1;
  filter: blur(0);
  animation: none;
}

@keyframes loadingImg {
  0% {
    opacity: 0.8;
  }

  50% {
    opacity: 0.9;
  }

  100% {
    opacity: 0.8;
  }
}

[id] {
  scroll-margin-top: 59px; /* ヘッダースペース */
}

@media screen and (min-width: 1025px) {
  [id] {
    scroll-margin-top: 65px; /* ヘッダースペース */
  }
}

@media screen and (min-width: 1201px) {
  [id] {
    scroll-margin-top: 80px; /* ヘッダースペース */
  }
}
