@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&display=swap");

:root {
  --primary-color: #204297;
  --bg01-color: #f5f5f5;
  --bg02-color: #f2f5fd;
  --bg03-color: #e7eaee;
  --contents-width: 1138px;
  --radius: 10px;
  --border-color: #e3e8f5;
}

/* html {
  font-size: 62.5%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
} */

.pc {
  display: none;
}

.sp {
  display: flex;
}

.break {
  display: block;
}

/* start_既存ページへの影響調整 */
:where(.renewal2025) {
  color: #333;
  font-size: 16px;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.8;
  border-width: 0;
  border-style: solid;
  box-sizing: border-box;

  :where(*, ::after, ::before) {
    box-sizing: border-box;
    border-style: solid;
    border-width: 0;
  }

  ul,
  ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  dt,
  dd {
    margin: 0;
    padding: 0;
  }

  a {
    text-decoration: none;
  }

  img {
    width: 100%;
    height: auto;
    vertical-align: top;
  }

}

main:not(.maintenance) {
  background-color: var(--bg01-color);
}

/* end_既存ページへの影響調整 */

header {
  position: sticky;
  top: 0;
  left: 0;
  align-items: center;
  background-color: #fff;
  width: 100%;
  height: 7rem;
  padding: 2rem;
  z-index: 100;

  li {
    list-style: none;
  }
}

header.is-menu-open {
  background-color: var(--primary-color);
}

header .logo {
  width: 20.8rem;
  height: 4rem;
  margin: 0;
}

.headder_menu--btn {
  position: absolute;
  top: 50%;
  right: 2rem;
  transform: translateY(-50%);
  background-color: var(--primary-color);
  width: 4.6rem;
  height: 4.6rem;
  border-radius: 50%;
  padding: 0;
}

.headder_menu--btn__line {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  transition: 0.3s cubic-bezier(0, 0.53, 0.53, 1);
}

.headder_menu--btn__line:first-child {
  top: calc(50% - 8px);
}

.headder_menu--btn__line:last-child {
  width: 18px;
  top: calc(50% + 8px);
  left: calc(50% - 4px);
}

/* メニューアニメーション */
.is-menu-open .headder_menu--btn__line:nth-child(2) {
  opacity: 0;
}

.is-menu-open .headder_menu--btn__line:first-child {
  top: 50%;
  transform: rotate(45deg);
  transition: top 0.3s ease, transform 0.3s 0.3s ease;
}

.is-menu-open .headder_menu--btn__line:last-child {
  top: 50%;
  left: 50%;
  width: 26px;
  transform: rotate(-45deg);
  transition: top 0.3s ease, left 0.3s ease, width 0.3s ease, transform 0.3s 0.3s ease;
}

.header__menu--block {
  position: fixed;
  top: 7rem;
  left: 0;
  background-color: var(--primary-color);
  width: 100%;
  height: calc(100dvh - 7rem);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  overflow-y: scroll;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.is-menu-open .header__menu--block {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ロゴの色の変更 */
.is-menu-open #h_logo {
  /* fill: white;
	transition: fill 0.3s ease; */
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

.header__menu--group {
  border-top: solid 1px #fff;
}

.header__menu--lv1 {
  border-bottom: solid 1px #fff;
}

.header__menu--lv1__link {
  position: relative;
  display: block;
  color: #fff;
  padding: 1.8rem;
  transition: ease-out 0.3s;

  &:hover {
    color: inherit;
    text-decoration: none;
  }
}

.header__menu--lv1__link:active {
  opacity: 0.5;
}

.header__menu--lv1__link:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2rem;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.header__menu--lv2__link {
  display: block;
  position: relative;
  font-size: 1.4rem;
  padding: 1rem 1.8rem 1rem 2.8rem;
  color: #fff;

  &:hover {
    color: inherit;
    text-decoration: none;
  }
}

.header__menu--lv2__link:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1rem;
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #5a74b7ff;
  border-right: 2px solid #5a74b7ff;
  transform: translateY(-50%) rotate(45deg);
}

.header__contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 1.5rem;
  margin-top: 3rem;
  padding: 0 2rem;
}

.header__contents .button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  width: calc(50% - (1.5rem / 2));
  padding: 1.89rem 0;
}

.bt__join {
  border: solid 1px #fff;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;

  &:hover {
    color: inherit;
    text-decoration: none;
  }
}

.bt__join:active {
  background-color: #fff;
  border: solid 1px #fff;
  color: var(--primary-color);
}

.bt__login {
  background-color: #fff;
  border: solid 1px #fff;
  color: var(--primary-color);
  transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;

  &:hover {
    color: var(--primary-color);
    text-decoration: none;
  }
}

.bt__login:active {
  background-color: var(--primary-color);
  border: solid 1px var(--primary-color);
  color: #fff;
}

.language {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.language li:first-child {
  border-right: solid 1px #5a74b7;
}

.language li a {
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #5a74b7;
  padding: 1rem;
  transition: color 0.3s ease;

  &:hover {
    text-decoration: none;
  }
}

.language li a:active {
  color: #fff;
}

.language li.active a {
  color: #fff;
}

/* header accordion_start */
details {
  overflow: hidden;
}

summary {
  position: relative;
  padding: 1.8rem;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

summary::-webkit-details-marker {
  display: none;
}

summary::before,
summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  display: block;
  width: 2px;
  height: 14px;
  background-color: #fff;
  transition: all 0.3s ease-out;
}

summary::before {
  transform: translateY(-50%);
}

summary.is-open::before {
  transform: translateY(-50%) rotate(90deg);
}

summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.details-content {
  border-top: solid 1px #fff;
  padding: 0 1.8rem;
  transition: height 0.3s ease-out;
  overflow: hidden;
}

.details-content>ul {
  margin: 0.8rem 0;
}

/* header accordion_end */

:not(.renewal2025)+footer {
  margin-top: calc(5rem - 20px);
}

footer {
  background-color: #262e3c;
  font-size: 1.3rem;
  line-height: 2;
  color: #fff;
  padding: 5rem 2rem 0.5rem;

  ul {
    padding: 0;
    list-style: none;
  }
}

footer .logo {
  width: 18.67%;
  margin-block: 1em;
}

.footer__contents {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

footer address {
  margin-bottom: 0;
  font-style: normal;
  line-height: 2;
}

footer h4 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  color: #7e8a9c;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 2;
  border-bottom: solid 1px #4c596e;
}

footer h4.en {
  font-size: 1.6rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}

footer .mail {
  position: relative;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: #fff;
  margin: 0.5rem 0;
  padding-left: 3rem;
}

footer .tel {
  position: relative;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: #fff;
  margin: 0.5rem 0;
  padding-left: 3rem;
}

footer .mail::before,
footer .tel::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

footer .mail::before {
  background-image: url(/img/renewal/icon-mail.png);
}

footer .tel::before {
  background-image: url(/img/renewal/icon-tel.png);
}

footer address a {
  transition: text-decoration 0.3s ease, opacity 0.3s ease;
}

footer address a:active {
  text-decoration: underline;
  opacity: 0.5;
}

.footer__relation ul li {
  margin: 0.5rem 0;
}

.footer__relation ul li a {
  color: #fff;
  transition: text-decoration 0.3s ease, opacity 0.3s ease;

  &[target="_blank"]::after {
    content: '';
    display: inline-block;
    width: 1.6rem;
    aspect-ratio: 1/1;
    margin-left: .5rem;
    vertical-align: -.3rem;
    background: url(/img/renewal/icn_blank.svg) no-repeat center / contain;
  }
}

.footer__relation ul li a:active {
  text-decoration: underline;
  opacity: 0.5;
}

.fotter__info {
  margin: 3rem auto 0;
}

.fotter__info li {
  display: inline-block;
  line-height: 1.2;
}

.fotter__info li:first-child {
  border-right: solid 1px #777d86;
  margin-right: 1.5rem;
  padding-right: 1.5rem;
}

.fotter__info li a {
  font-size: 1.2rem;
  color: #fff;
  transition: text-decoration 0.3s ease, opacity 0.3s ease;
}

.fotter__info li a:active {
  text-decoration: underline;
  opacity: 0.5;
}

footer .copy {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  color: #777d86;
  line-height: 1.3;
  text-align: center;
  margin: 0;
}

/* タブレット */
@media screen and (min-width: 768px) {
  footer {
    font-size: 1.4rem;
    padding: 5rem 5rem 1rem;
  }

  footer .logo {
    width: 13.02%;
  }

  .footer__contents {
    flex-direction: row;
    justify-content: space-between;
    column-gap: 5rem;
    max-width: var(--contents-width);
    width: 100%;
  }

  footer address {
    width: 50%;
  }

  .footer__relation {
    width: 50%;
  }

  .footer__relation h4.en {
    margin-top: 0;
  }
}

@media screen and (min-width: 1138px) {
  .pc {
    display: flex;
  }

  .sp {
    display: none;
  }

  .break {
    display: none;
  }

  header {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #fff;
    height: 13rem;
    z-index: 1000;
    padding: 2rem 3rem 0;
  }

  .header__inner {
    position: relative;
    max-width: var(--contents-width);
    width: 100%;
    line-height: 1.6;
    margin: auto;
  }

  .logo {
    width: auto;
  }

  .header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 5.6rem;
  }

  .header__contents {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    column-gap: 2rem;
    margin-top: 0;
  }

  .header__contents .button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 600;
    width: auto;
    min-width: 12rem;
    padding: 1.73rem 1rem;

    &:hover {
      text-decoration: none;
    }
  }

  .bt__join {
    background-color: var(--bg01-color);
    color: #333;
  }

  .bt__join:hover {
    background-color: #fff;
    border: solid 1px var(--primary-color);
    color: var(--primary-color);
  }

  .bt__login {
    background-color: var(--primary-color);
    position: relative;
    color: #fff;
    overflow: hidden;
    z-index: 1;
  }

  .bt__login::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(22, 51, 125, 1) 0%, rgba(32, 66, 151, 1) 100%);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    transition: opacity 0.3s ease;
    z-index: -1;
  }

  .bt__login:hover {
    border: solid 1px var(--primary-color);
    background-color: #fff;
    color: var(--primary-color);
  }

  .bt__login:hover::after {
    opacity: 0;
  }

  .language {
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    margin-top: 0;
  }

  .language li:first-child {
    border-right: solid 1px var(--border-color);
  }

  .language li a {
    font-size: 1.5rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    color: #afafaf;
    padding: 1rem;
  }

  .language li a:hover {
    color: #333;
    text-decoration: none;
  }

  .language li.active a {
    color: #333;
  }

  .menu-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
  }

  .menu-backdrop.is-active {
    opacity: 1;
    visibility: visible;
  }

  .global__nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: var(--contents-width);
    width: 100%;
    margin: 2rem auto 0;
  }

  .global__nav--li {
    position: relative;
    text-align: center;
  }

  .global__nav--link {
    position: relative;
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    padding-bottom: 1rem;
    cursor: pointer;
  }

  .global__nav--link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: var(--primary-color);
    width: 0;
    height: 0.3rem;
    transition: width 0.3s ease, color 0.3s;
  }

  .global__nav--link:hover {
    color: var(--primary-color);
    text-decoration: none;
  }

  .global__nav--link:hover::after {
    width: 100%;
  }

  .global__sub--group {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    width: auto;
    min-width: calc(100% + 4rem);
    opacity: 0;
    pointer-events: none;
  }

  .global__sub--group.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .global__sub--ul {
    background-color: #fff;
    border-radius: var(--radius);
    width: 100%;
    padding: 2rem;
  }

  .global_sub--li:not(:last-of-type) {
    border-bottom: solid 1px var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .global_sub--link {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: color 0.3s ease;
    white-space: nowrap;
  }

  .global_sub--link:hover {
    color: var(--primary-color);
    text-decoration: none;
  }

  :not(.renewal2025)+footer {
    margin-top: calc(12rem - 20px);
  }

  footer {
    padding: 5rem 0 3rem;
  }

  .footer__inner {
    max-width: var(--contents-width);
    width: 100%;
    margin: 0 auto;
  }

  footer .logo {
    width: 8.788%;
  }

  .footer__contents {
    margin-top: 3rem;
  }

  footer address {
    width: 35rem;
  }

  footer address h4 {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    font-size: 1.4rem;
  }

  footer address a:hover {
    text-decoration: underline;
    opacity: 0.5;
  }

  .footer__relation {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    width: 50rem;

    &.footer__relation--en {
      width: 55rem;
    }
  }

  .footer__relation h4.en {
    width: 100%;
    font-size: 2rem;
  }

  .footer__relation ul li a:hover {
    text-decoration: underline;
    opacity: 0.5;
  }

  .fotter__info {
    margin: 2rem auto 0;
  }

  .fotter__info li a {
    font-size: 1.3rem;
  }

  .fotter__info li a:hover {
    text-decoration: underline;
    opacity: 0.5;
  }

  footer .copy {
    font-size: 1.2rem;
  }
}

/* start_カルーセル調整用 */
#carousel-photo:not(:has(.item:not(.active))) {
  :is(.carousel-indicators, .carousel-control) {
    display: none;
  }
}
/* end_カルーセル調整用 */