/***************************************
common
***************************************/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px; 
  overflow-wrap: break-word;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #111;
  line-height: 1.6;
  background: #fff;
}

a, button {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

a:hover,
button:hover {
  opacity: 0.7;
}

.onlyPC {
  display: none;
}

.underline {
  text-decoration: underline;
}

.uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.text-link {
  color: #114D9A;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.text-link.black {
  color: var(--black);
}

.text-link-arrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(/assets/img/arrow_gold_right.svg) no-repeat center center / 100% 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  top: 4px;
  margin-left: 8px;
}

.link-download {
  display: block;
  width: fit-content;
}

.link-download::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url(/assets/img/icon_link_download.svg) no-repeat center center / 100% 100%;
  margin-top: 2px;
  margin-left: 8px;
}

.link-other-page {
  display: block;
  width: fit-content;
}

.link-other-page::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
  background: url(/assets/img/arrow_gold_right.svg) no-repeat center center / 100% 100%;
  margin-left: 8px;
  position: relative;
  top: 4px;
}

.link-external {
  display: block;
  width: fit-content;
}

.link-external::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  background: #FFF;
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);
  background: url(/assets/img/icon_link_external.svg) no-repeat center center / 10px 10px;
  margin-left: 8px;
  position: relative;
  top: 4px;
}

.link-btn-gold {
  display: block;
  border: 1px solid #BFA74A;
  background: #FFF;
  box-shadow: 0 0 6px 0 rgba(255, 216, 107, 0.40) inset, 0 3px 4px 0 rgba(0, 0, 0, 0.20);
  width: fit-content;
  height: fit-content;
  display: flex;
  justify-content: space-between;
}

.link-btn-gold::after {
  content: '';
  display: inline-block;
  width: 60px;
  height: auto;
  align-self: stretch;
  border-left: 1px solid #BFA74A;
  background: url(/assets/img/arrow_gold_right.svg) no-repeat center center / 36px 36px;
}

.link-btn-gold-external::after {
  background: url(/assets/img/icon_link_external.svg) no-repeat center center / 20px 20px;
}

hr {
  background-color: var(--gold);
  /* height: 1px; */
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 100px; 
  }
  .onlySP {
    display: none;
  }

  .onlyPC {
    display: block;
  }

  .link-btn-gold {
    line-height: 1.6;
  }

  .link-btn-gold::after {
    width: 60px;
    background-size: 40px 40px;
  }
    
  .link-btn-gold-external::after {
    background-size: 24px 24px;
  }

  .text-link-arrow::after {
    width: 23px;
    height: 23px;
    margin-left: 10px;
  }

  .link-other-page::after {
    width: 23px;
    height: 23px;
    margin-left: 12px;
    top: 5px;
  }
  .link-download::after {
    margin-left: 16px;
  }
  .link-external::after {
    width: 23px;
    height: 23px;
    margin-left: 16px;
  }
}

.page-contents-wrapper {
  padding: 0 18px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.page-contents {
  font-feature-settings: 'palt' on;
}

@media (min-width:768px) {
  .page-contents {
    max-width: 1200px;
    margin-inline: auto;
    line-height: 1.8;
  }
}

/***************************************
パンくずリスト
***************************************/
.breadcrumb-wrapper {
  padding: 0 18px;
  margin-top: 10px;
  font-family: var(--inter);
}
.breadcrumb li {
  display: inline-block;
  font-size: var(--fz11);
}

.breadcrumb li:not(:first-child) {
  margin-left: 20px;
  position: relative;
}

.breadcrumb li:not(:first-child)::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 7px;
  background: url(/assets/img/arrow_breadcrumb.svg) no-repeat center center / contain;
  position: absolute;
  top: 50%;
  left: -14px;
  translate: 0 -50%;
}

@media (min-width:768px) {
  .breadcrumb-wrapper {
    margin-top: 30px;
  }

  .breadcrumb {
    max-width: 1200px;
    margin-inline: auto;
  }
  .breadcrumb li {
    font-size: var(--fz13);
  }
}


/***************************************
heading
***************************************/

.page-heading1 {
  font-family: "Inter", sans-serif;
  font-size: var(--fz40);
  font-weight: 700;
  line-height: 1.2;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 32px;
  margin: 0 0 40px;
  color: #222;
}

.hgroup-heading2 {
  font-family: "Inter", sans-serif;
  margin: 0 0 24px;
}

.page-heading2 {
  color: var(--gold);
  font-size: var(--fz32);
  font-weight: 700;
  line-height: 1.4;
}

.page-heading2-deco {
  border-top: 1px solid #D7D7D7;
  position: relative;
  padding-top: 10px;
}

.page-heading2-deco::before {
  content: '';
  display: block;
  width: 90px;
  height: 1px;
  background: #222;
  position: absolute;
  top: -1px;
  left: 0;
}

.hgroup-heading2 p,
.hgroup-heading2 span {
  font-weight: 700;
  margin-top: 5px;
}

.page-heading3 {
  font-family: "Inter", sans-serif;
  font-size: var(--fz20);
  font-weight: 700;
  color: #222;
}

.page-heading3::before {
  content: '';
  display: inline-block;
  height: 2px;
  width: 24px;
  background: var(--gold);
  position: relative;
  bottom: 6px;
  margin-right: 16px;
}

.page-heading4 {
  font-family: "Inter", sans-serif;
	font-size: var(--fz18);
  color: var(--dark-gold);
  font-weight: 700;
  line-height: 1.8;
}

.page-heading5 {
  font-family: "Inter", sans-serif;
	font-size: 1rem;
  font-weight: 700;
  line-height: 180%;
}

@media (min-width:768px) {
  .page-heading1 {
    font-size: var(--fz70);
    padding-bottom: 50px;
    margin: 0 0 50px;
    line-height: 1.6;
  }

  .page-heading2 {
    font-size: var(--fz46);
    font-weight: 700;
    line-height: 1.6;
  }

  .page-heading2-deco::before {
    width: 140px;
  }
    
  .hgroup-heading2 {
    margin: 0 0 40px;
  }

  .page-heading2 {
    display: inline-block;
    vertical-align: middle;
    margin-right: 30px;
  }

  .hgroup-heading2 p,
  .hgroup-heading2 span {
    font-size: 20px;
    display: inline-block;
    vertical-align: middle;
    margin-top: 0;
    line-height: 100%;
  }

	.page-heading3 {
		font-size: var(--fz36);
	}
  .page-heading3::before {
    bottom: 12px;
  }

  .page-heading4 {
    font-size: var(--fz24);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    height: 43px;
  }
  .page-heading4::after {
    content: '';
    display: inline-block;
    height: 1px;
    width: auto;
    flex: 1;
    background: var(--dark-gold);
    position: relative;
    top: 50%;
  }

	.page-heading5 {
		font-size: var(--fz20);
	}

}

/***************************************
modal
***************************************/
.modal-contents {
  display: none;
  position: fixed;
  inset: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  transform: none;
	z-index: 10001;
  background: #fff;
}

.open.modal-wrapper .modal-contents {
  display: block;
}

.modal-contents-inner {
  padding: 40px 18px 60px;
  overflow-y: auto;
  height: 100%;
}

.modal-close-btn {
  font-size: 0;
  width: 50px;
  height: 50px;
  background: url(/assets/img/modal_close.svg) no-repeat center center / 100% 100%;
  position: absolute;
  right: 4px;
  top: 0;
}

body:has(.open.modal-wrapper) {
  overflow: hidden;
}

body:has(.open.modal-wrapper) .bg-modal {
  display: block;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.36);
  z-index: 1001;
}

@media (min-width:768px) {
  .modal-contents {
    width: 90%;
    max-width: 1080px;
    height: 85%;
    max-height: 620px;
  }
  
  .modal-contents-inner {
    padding: 40px;
  }

  .modal-close-btn {
    width: 50px;
    height: 50px;
    background: url(/assets/img/modal_close.svg) no-repeat 100% 100% / contain;
    right: 8px;
    top: 4px;
  }

}


/***************************************
Tabs
***************************************/
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid #73715D;
  overflow-x: auto;
}

.tabs li {
  flex-shrink: 0;
}

button.tab {
  border: 1px solid #73715D;
  background: #fff;
  padding: 8px 12px;
  text-align: center;
  min-width: 100px;
}

.tab.active {
  background: var(--dark-gold);
  color: #fff;
}

/***************************************
list
***************************************/
.number-list li {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
}
.number-list li>div:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

/***************************************
pagenation
***************************************/
.pagination-articles li[hidden] {
  display: none;
}


ul.pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

ul.pagination li {
  background: #fff;
  border: 1px solid var(--gold);
  font-size: var(--fz20);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  color: var(--gold);
  height: 36px;
  display: grid;
  place-items: center;

}

ul.pagination li {
  min-width: 32px;
}

ul.pagination li.disabled {
  /* visibility: hidden; */
  display: none;
}

ul.pagination li.first,
ul.pagination li.last {
  display: none;
}

ul.pagination li.navi-active {
  background: var(--gold);
  color: #fff;
}

ul.pagination li.prev a,
ul.pagination li.next a {
  font-size: 0;
}

ul.pagination li.prev a {
  background: url(/assets/img/chevron_gold_right.svg) no-repeat center / 6px 12px , #fff;
  rotate: 180deg;
}
ul.pagination li.next a {
  background: url(/assets/img/chevron_gold_right.svg) no-repeat center / 6px 12px , #fff;
}

ul.pagination li a {
  padding: 7px 4px 9px;
  display: block;
  width: 100%;
  height: 100%;
  user-select: none;
}

ul.pagination li.prev a,
ul.pagination li.next a {
  padding-left: 16px;
  padding-right: 16px;
}