@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20,400,1,0");

/* responsive */
@import url("html_index_style_medium.css") screen and (max-width: 860px);
@import url("html_index_style_small.css") screen and (max-width: 768px);

:root {
  --background-white: #fff;
  --background-gray: #f4f7fa;
  --border-gray: #d2d2d2;
  --font-black: #1d1c1d;
  --font-gray: #666;
  --font-blue: #1facca;
  --font-blue-dark: #356bb3;
  --font-size: 16px;
  --font-size-h2: 28px;
  --font-size-h3: 24px;
  --font-size-h4: 20px;
  --font-size-h5: 14px;
  --header-area-height: 60px;
  --header-area-margin: 30px;
  --header-area-logo-width: 123px;
  --header-area-logo-height: 15px;
  --header-area-logo-font-size: 14px;
  --header-area-text-margin: 0.5em;
  --version-selector-font-size: 13px;
  --page-header-padding: calc(var(--header-area-height) + 95px) 0 80px;
  --page-title-font-size-sub: 22px;
  --page-title-font-size-main: 34px;
  --anchor-link-width: 25%;
  --anchor-link-padding: 35px 0 50px;
  --anchor-link-marker-bottom: 26px;
  --anchor-link-font-size: 22px;
  --masonry-section-width: calc(50% - 16px);
  --footer-area-height: 73px;
}

/* 全体 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-area-height) * 1.5);
}

body {
  position: relative;
  min-height: calc(100vh - calc(var(--header-area-height) * 1.5));
  font-size: var(--font-size);
  background-color: var(--background-white);
}

body,
select {
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  color: var(--font-black);
  letter-spacing: 0.05em;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
p,
ul {
  margin: 0;
}

a {
  color: var(--font-blue);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--font-blue-dark);
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 400;
}

/* header */
#header-area {
  position: fixed;
  top: 0;
  z-index: 1010;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-area-height);
  background-color: var(--background-white);
  border-bottom: var(--border-gray) 1px solid;
}

#header-area > h1 {
  margin-left: var(--header-area-margin);
}

#home-link {
  display: flex !important;
  align-items: center;
  cursor: default;
}

#logo {
  min-width: calc((var(--header-area-height) - 16px) * 10.3);
  height: calc(var(--header-area-height) - 16px);
  text-indent: -9999px;
  background-repeat: no-repeat;
  background-position-y: center;
  background-size: contain;
}

/* content */
.empty-title > h2 {
  height: 0;
}

#page-header + div {
  position: relative;
  box-sizing: border-box;
  padding: var(--page-header-padding);
  text-align: center;
}

#history-back-area > ul,
#version-selector-area > p {
  position: absolute;
  top: calc(var(--header-area-height) + 15px);
  display: flex;
  align-items: center;
  font-size: var(--version-selector-font-size);
}

#history-back-area > ul {
  left: 30px;
  padding-left: 0;
  list-style-type: none;
}

#version-selector-area > p {
  right: 30px;
}

#version-selector {
  margin-left: 8px;
  font-size: var(--version-selector-font-size);
}

#page-title {
  font-size: var(--page-title-font-size-main);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

#page-title > p > span {
  display: block;
  font-size: var(--page-title-font-size-sub);
  line-height: 1.4;
}

#page-title > p > span:not(::first-line) {
  line-height: 1;
}

#anchor-link + div > div {
  overflow: hidden;
  background: var(--background-gray);
}

#anchor-link + div > div > ul {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  padding-left: 0;
  margin: auto;
  list-style-type: none;
}

#anchor-link + div > div > ul > li {
  position: relative;
  width: var(--anchor-link-width);
  text-align: center;
}

#anchor-link + div > div > ul > li:not(:last-child)::after {
  position: absolute;
  top: 10px;
  right: 0;
  width: 1px;
  height: calc(100% - 20px);
  content: "";
  background: var(--border-gray);
  transition: opacity 0.3s;
}

#anchor-link + div > div > ul > li > p > a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: var(--anchor-link-padding);
  font-size: var(--anchor-link-font-size);
  line-height: 1.4;
  color: var(--font-black);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

#anchor-link + div > div > ul > li > p > a::after {
  position: absolute;
  right: 50%;
  bottom: var(--anchor-link-marker-bottom);
  width: 8px;
  height: 8px;
  content: "";
  border-right: 2px var(--font-blue) solid;
  border-bottom: 2px var(--font-blue) solid;
  transform: translate(0, -50%) rotate(45deg);
}

#anchor-link + div > div > ul > li > p > a:hover {
  z-index: 1;
  background: var(--background-white);
  box-shadow: 0 0 5px rgb(0 0 0 / 10%);
  transform: scale(1.05);
}

.sect1:not(.empty-title) {
  box-sizing: border-box;
  width: 100%;
  max-width: 840px;
  padding-right: 20px;
  padding-left: 20px;
  margin: auto;
}

.sect1:not(.empty-title):last-child {
  padding-bottom: calc(var(--footer-area-height) * 2);
}

.sect1:not(.empty-title) > h2 {
  box-sizing: border-box;
  padding: 0 8px;
  margin: 70px 0 35px;
  font-size: var(--font-size-h2);
  line-height: 2.4;
  border-bottom: 2px solid var(--border-gray);
}

.item ul {
  padding-left: 0;
  list-style: none;
}

.item a {
  position: relative;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 32px 16px;
  margin: 15px 0;
  color: var(--font-black);
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.item a:hover {
  border-color: var(--font-blue);
}

.item a::after {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px var(--font-blue) solid;
  border-right: 2px var(--font-blue) solid;
  transform: translate(0, -50%) rotate(45deg);
}

.sect1:not(.empty-title) h3 {
  padding: 0 8px;
  margin-top: 48px;
  font-size: var(--font-size-h3);
  line-height: 2;
}

.masonry {
  display: flex;
  flex-flow: column wrap;
  align-content: space-between;
}

.masonry .sect3 {
  width: var(--masonry-section-width);
  margin-top: var(--font-size-h3);
}

.masonry h4 {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 8px 0 16px;
  margin-bottom: 8px;
  font-size: var(--font-size-h4);
  border-left: 4px solid var(--font-blue);
}

.masonry h5 {
  display: flex;
  align-items: center;
  height: 37px;
  padding: 8px;
  font-size: var(--font-size-h5);
  color: var(--font-gray);
}

.masonry ul {
  padding-left: 0;
  list-style: none;
}

.masonry li {
  padding: 8px 8px 8px 36px;
}

.masonry a {
  position: relative;
  color: var(--font-black);
}

.masonry a:hover {
  color: var(--font-blue);
}

.masonry a::before {
  position: absolute;
  top: 50%;
  left: -25px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px var(--font-blue) solid;
  border-right: 2px var(--font-blue) solid;
  transform: translate(0, -50%) rotate(45deg);
}

.masonry .download a::before,
.masonry .picture_as_pdf a::before {
  top: calc((var(--font-size) / 2) - (1.25rem / 3));
  left: -28px;
  font-family: "Material Symbols Outlined";
  font-size: 1.25rem;
  color: var(--font-blue);
  border: none;
  transform: none;
}

.masonry .download a::before {
  content: "\f090";
}

.masonry .picture_as_pdf a::before {
  content: "\e415";
}

.masonry li:has(.external-link) {
  display: none;    /* external-link-settings.js list-item */
}

/* footer */
#footer-area {
  position: absolute;
  bottom: 0;
  z-index: 1005;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--footer-area-height);
  padding: 20px 0;
  text-align: center;
  background-color: var(--background-gray);
}

#footer-area > div {
  width: 100%;
  font-size: 11px;
  line-height: 1.5;
}

#footer-area > div > p > a {
  margin-right: 0.5em;
  margin-left: 0.5em;
  white-space: nowrap;
}

#company-link,
#privacy-link,
#agreement-link,
.agreement-link,
#trademarks-link {
  display: none;
}
