:root {
  --theme-primary-color: #00a7ae;
  --text-default-color: #000;
  --theme-sub-color: #f2f2f2;
  --container: 81.25rem;
  --spacing-base: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-default-color);
}

p {
  margin-top: 0;
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0.625rem;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
  white-space: pre-wrap;
}

a {
  background-color: transparent;
  color: inherit;
}

a:hover,
a:active {
  text-decoration: underline;
  color: unset;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):hover,
a:not([href]):not([tabindex]):focus {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border-style: none;
  height: auto;
  max-width: 100%;
}

details {
  display: block;
}

summary {
  display: list-item;
}

figcaption {
  font-size: 0.75rem;
  font-style: italic;
  color: inherit;
  padding: 0.625rem 1.25rem;
  line-height: 1.25;
  font-weight: 400;
}

template {
  display: none;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

iframe {
  max-width: 100%;
}
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  border: solid 1px #666666;
  border-radius: 3px;
  padding: 0.5rem 1rem;
  transition: all 0.3s;
}
input[type="text"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: #333333;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button:focus,
[type="submit"]:focus,
[type="button"]:focus {
  outline: none;
}
button:not(:disabled),
[type="submit"]:not(:disabled),
[type="button"]:not(:disabled) {
  cursor: pointer;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
  resize: vertical;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline: none;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 0;
  margin-bottom: max(0.8em, 1rem);
  font-weight: 500;
  line-height: 1.36;
  color: inherit;
  text-transform: unset;
}

h1,
.h1 {
  font-size: 2.8125rem;
  font-weight: 600;
}

h2,
.h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3,
.h3 {
  font-size: 1.875rem;
}

h4,
.h4 {
  font-size: 1.5rem;
  font-weight: 500;
}

h5,
.h5 {
  font-size: 1.125rem;
  font-weight: 600;
}

h6,
.h6 {
  font-size: 1rem;
}

.p1 {
  font-size: 1.125rem;
  line-height: 1.36;
}

.p2 {
  font-size: 1rem;
  line-height: 1.7;
}

.p3 {
  font-size: 0.6875rem;
  line-height: 1.36;
}

.elementor-heading-title {
  line-height: 1.2 !important;
}

.font-extra-big {
  font-size: 2.8125rem;
}

.font-big {
  font-size: 2.5rem;
}

.font-extra-medium {
  font-size: 2.25rem;
}

.font-medium {
  font-size: 1.875rem;
}

.font-extra-normal {
  font-size: 1.5rem;
}

.font-normal {
  font-size: 1.25rem;
}

.font-extra-regular {
  font-size: 1.125rem;
}

.font-small {
  font-size: 0.875rem;
}

.color-main {
  color: var(--theme-primary-color);
}

.color-sub {
  color: var(--theme-sub-color);
}

ol,
ul {
  padding-inline-start: 1.25rem;
  margin-block-end: 1em;
}

.btn {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 1rem 1.25rem;
  border-radius: 0;
  border: none;
  min-height: min(100%, 12.5rem);
}

.btn-primary {
  background-color: var(--theme-primary-color);
}

.btn-primary:hover {
  color: var(--theme-primary-color);
  background-color: #fff;
}

/*  */
blockquote {
  padding-inline-start: 1.25rem;
  border-left: 2px solid;
  font-size: 1.25rem;
  font-style: italic;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.py-normal {
  padding-block-start: calc(1.5 * var(--spacing-base));
  padding-block-end: calc(1.5 * var(--spacing-base));
}

.py-double-normal {
  padding-block-start: calc(3 * var(--spacing-base));
  padding-block-end: calc(3 * var(--spacing-base));
}

.py-medium {
  padding-block-start: calc(5 * var(--spacing-base));
  padding-block-end: calc(5 * var(--spacing-base));
}

.py-large {
  padding-block-start: calc(7 * var(--spacing-base));
  padding-block-end: calc(7 * var(--spacing-base));
}

.container {
  max-width: var(--container);
}

.container-lg {
  max-width: 68rem;
}

.container-md {
  max-width: 48rem;
}

.container-sm {
  max-width: 40rem;
}

.site-logo img {
  max-width: min(21.875rem, 100%);
}

.background-primary {
  background-color: var(--theme-primary-color);
}

.background-grey {
  background-color: #f2f2f2;
}

/**
 * Navtabs
 */
nav.tabs {
  margin-bottom: 0;
}

nav.tabs ul.nav-tabs {
  background: transparent;
  position: fixed;
  font-size: 15px;
  z-index: 999;
  left: 30px;
  bottom: 0;
}

nav.tabs ul.nav-tabs li {
  padding: 0;
  margin-right: 5px;
}

nav.tabs ul.nav-tabs li a {
  background: #f1f1f1;
  padding: 4px 15px;
  border-radius: 0;
  border: none;
  color: #333;
}

nav.tabs ul.nav-tabs li.active {
  padding: 0;
}

nav.tabs ul.nav-tabs li.active > a {
  background: #1f7edf;
  border: none;
  color: #fff;
}

nav.tabs ul.nav-tabs li .tab-toggle.dropdown-toggle {
  display: none;
}

#block-grpinstitute-pagetitle {
  margin-bottom: 1.875rem;
}

.page-main-default h1,
.page-main-default .h1,
.page-main-default h2,
.page-main-default .h2,
.page-main-default h3,
.page-main-default .h3,
.page-main-default h4,
.page-main-default .h4,
.page-main-default h5,
.page-main-default .h5,
.page-main-default h6,
.page-main-default .h6 {
  color: var(--theme-primary-color);
}

.main-fullwidth #block-grpinstitute-pagetitle {
  display: none;
}

.section-layout {
  background-size: cover;
  background-position: center;
}

.page-footer {
  background-color: #1a1919;
}

.footer-content {
  flex: 1;
  min-width: min(100%, 25rem);
}

.icon-box {
  border: 1px solid;
  margin-top: 1.875rem;
  padding: 0 1.125rem 1.875rem;
  line-height: 1.2;
  height: calc(100% - 1.875rem);
}

.icon-box > .icon-box__icon {
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  padding: 0 1.25rem;
  transform: translateY(-50%);
}

.icon-box > .icon-box__icon img {
  height: 3.125rem;
}

.footer-brand img {
  width: 15.5625rem;
}

.line-height-0 {
  line-height: 0;
}

ul.list-file-row {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.list-file-row > li {
  padding-block: 0.625rem;
  border-block-end: 1px solid;
  border-color: var(--theme-primary-color);
  display: flex;
  flex-wrap: wrap;
  column-gap: clamp(1.25rem, 10vw, 12.5rem);
  row-gap: 0.625rem;
}

ul.list-file-row > li:first-child {
  border-block-start: 1px solid;
  border-color: var(--theme-primary-color);
}

ul.list-file-row > li a,
ul.list-file-row > li div {
  flex: 1;
  min-width: min(100%, 18.75rem);
}

/* #green_container {
  background-color: #00a7ae !important;
  color: #fff;
  padding-top: 50px;
  padding-bottom: 50px;
}

#green_container .container {
  padding-left: 50px;
} */

.content-top {
  background-color: #00a7ae !important;
  color: #fff;
  padding-block: clamp(2.5rem, 6.94vw, 6.25rem);
}

@media screen and (min-width: 768px) {
  .footer-brand {
    max-width: min(100%, 15.625rem);
  }
}

@media screen and (max-width: 1200px) {
  :root {
    --spacing-base: 0.8rem;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --spacing-base: 0.6rem;
  }

  .spacing-default {
    --spacer-size: 0.75rem !important;
  }

  .spacing-normal {
    --spacer-size: 1.25rem !important;
  }

  .spacing-double-normal {
    --spacer-size: 1.5rem !important;
  }
}

@media screen and (max-width: 767px) {
  h1,
  .h1 {
    font-size: 2.5rem;
  }

  h2,
  .h2 {
    font-size: 2.25rem;
  }

  .font-extra-big {
    font-size: 2.5rem;
  }

  .font-big {
    font-size: 2rem;
  }

  .font-extra-medium {
    font-size: 1.875rem;
  }

  .font-medium {
    font-size: 1.75rem;
  }

  .font-extra-normal {
    font-size: 1.25rem;
  }

  .font-normal {
    font-size: 1.125rem;
  }

  .site-logo img {
    max-width: min(15rem, 100%);
  }
}

@media screen and (max-width: 575px) {
  h1,
  .h1 {
    font-size: 2.25rem;
  }

  h2,
  .h2 {
    font-size: 2rem;
  }

  .font-extra-big {
    font-size: 2.25rem;
  }

  .font-big {
    font-size: 1.875rem;
  }

  .font-extra-medium {
    font-size: 1.75rem;
  }

  .font-medium {
    font-size: 1.5rem;
  }

  .page--header .py-double-normal {
    padding-block-start: calc(1 * var(--spacing-base));
    padding-block-end: calc(1 * var(--spacing-base));
  }

  .banner-section .font-big {
    font-size: 1.5rem;
  }
}

.form-radios.form--inline > ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 2rem;
  row-gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.form-item-category {
  position: relative;
  overflow: hidden;
}
.form-item-category input[type="radio"],
.form-item-category input[type="checkbox"] {
  left: -6.25rem;
  top: -6.25rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.form-item-category input[type="radio"] + label,
.form-item-category input[type="checkbox"] + label {
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
}
.form-item-category input[type="radio"]:checked + label,
.form-item-category input[type="checkbox"]:checked + label {
  color: var(--theme-primary-color);
}

/*  */
/* Pager container */
.pager {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

/* Pagination list */
.pager .pagination {
  gap: 0.4rem;
}

/* Page items */
.pager .page-item {
  list-style: none;
}

/* Links */
.pager .page-link {
  border-radius: 0.25rem;
  border: 1px solid #dee2e6;
  padding: 0.5rem 0.85rem;
  font-weight: 500;
  color: var(--theme-primary-color);
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

/* Hover state */
.pager .page-link:hover {
  background-color: #f0f6ff;
  border-color: var(--theme-primary-color);
  color: var(--theme-primary-color);
  text-decoration: none;
}

/* Active page */
.pager .page-item.active .page-link,
.pager .page-item.is-active .page-link {
  background-color: var(--theme-primary-color);
  border-color: var(--theme-primary-color);
  color: #fff;
  box-shadow: 0 2px 6px rgba(13, 110, 253, 0.35);
  cursor: default;
}

/* Disabled-looking links (if used later) */
.pager .page-item.disabled .page-link {
  color: #adb5bd;
  pointer-events: none;
  background-color: #f8f9fa;
}

/* Next / Last buttons */
.pager__item--next .page-link,
.pager__item--last .page-link {
  font-weight: 600;
}

/* Icon spacing */
.pager .page-link span[aria-hidden="true"] {
  letter-spacing: 0.05em;
}

/* Mobile tweaks */
@media (max-width: 576px) {
  .pager .page-link {
    padding: 0.4rem 0.65rem;
    font-size: 0.9rem;
  }
}

.page-title {
  font-size: clamp(1.5rem, 2.778vw, 2.5rem);
}

.content-top {
  background-image: url("../images/svg/hexagon_grpinstitute.svg");
  background-repeat: repeat-y;
  background-size: min(15vw, 7.5rem);
  background-position: calc(100vw - max((50vw - 40.625rem), 1.25rem) - min(15vw, 7.5rem)) center;
}

form.form-underline input[type="text"],
form.form-underline input[type="date"],
form.form-underline input[type="email"],
form.form-underline input[type="number"],
form.form-underline input[type="password"],
form.form-underline input[type="search"],
form.form-underline input[type="tel"],
form.form-underline input[type="url"] {
  border: none;
  border-bottom: 1px solid;
  padding: 6px 0;
  border-radius: 0;
}

.top-content-text {
  margin-left: 0;
  max-width: min(calc(100% - min(15vw, 7.5rem)), 56.25rem);
}

.menu--main ul.navbar-nav {
  gap: 1.25rem;
}
.menu--main ul.navbar-nav .nav-link {
  font-size: 1.25rem;
}

.bg-black {
  background-color: #000;
}
/*  */
.block-language > ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
}
.block-language > ul > li:not(:first-child):before {
  content: "/";
  margin-inline-end: 2px;
}
.block-language > ul > li a.language-link.is-active,
html[lang="ja"] body.page-404 footer .block-language > ul > li[hreflang="ja"] a,
html[lang="en"] body.page-404 footer .block-language > ul > li[hreflang="en"] a,
html[lang="ja"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="ja"] a,
html[lang="en"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="en"] a {
  color: var(--theme-primary-color);
}

footer .block-language li.is-active,
html[lang="ja"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="ja"],
html[lang="en"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="en"] {
  order: -1;
}
footer .block-language > ul > li:not(:first-child):before,
html[lang="ja"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="ja"]:before,
html[lang="en"] body.page-403:not(.user-logged-in) footer .block-language > ul > li[hreflang="en"]:before {
  content: none;
}
footer .block-language > ul > li:not(.is-active):before {
  content: "/";
  margin-inline-end: 2px;
}

html[lang="ja"] body.page-404 .block-language > ul > li[hreflang="ja"]:before,
html[lang="en"] body.page-404 .block-language > ul > li[hreflang="en"]:before {
  content: none;
}
