@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&display=swap");
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(50px + 3.2rem + 1.6rem);
  font-size: 62.5%;
}

body {
  -webkit-text-size-adjust: 100%;
  overflow: auto;
  min-width: 320px;
  background: #eff7f6;
  color: #333;
  line-height: 1;
  font-size: 1.6rem;
  font-family: Verdana, "Noto Sans JP", sans-serif;
  overflow-wrap: anywhere;
}

table {
  width: fit-content;
  margin-inline: auto;
  border-collapse: separate;
  border-width: 1px 0 0 1px;
  border-style: solid;
  border-color: #ddd;
  overflow-wrap: break-word;
}
table :is(th, td) {
  padding: 4px 8px;
  border-width: 0 1px 1px 0;
  border-style: solid;
  border-color: #ddd;
}
table th {
  text-align: center;
  font-weight: bold;
}

a {
  color: inherit;
  text-decoration: none;
}

a:has(img) {
  display: inline-block;
}

button {
  padding: 3px 6px;
  border: 1px solid #999;
  border-radius: 4px;
  background: #eee;
  color: inherit;
  font-weight: bold;
  font-size: 1.3rem;
}

img, video {
  height: auto;
  max-width: 100%;
}
img.border, video.border {
  outline: 1px solid #ccc;
}

strong {
  color: #f00;
}

form input[type=text], form input[type=password], form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  font-size: 1.6rem;
}
form ::placeholder {
  color: #999;
}
form .fields .di:not(:first-child) {
  margin-top: 3.2rem;
}
form .fields dt {
  display: flex;
  align-items: center;
  gap: 10px;
}
form .fields dt .label {
  flex: 0 0 auto;
}
form .fields dt strong.require {
  display: inline-block;
  padding: 2px 10px 3px;
  border-radius: 9999px;
  background: #c95353;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  vertical-align: bottom;
}
form .fields dt .note {
  color: #666;
  font-size: 1.4rem;
}
form .fields dd {
  margin-top: 0.8rem;
}
form .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3.2rem;
  margin-top: 3.2rem;
}

.line {
  display: block;
}

.wbr {
  display: inline-block;
}

.sr-only {
  /* refs. https://github.com/ampproject/amphtml/blob/2505070854000/css/ampshared.css#L203-L233 */
  position: fixed !important;
  /* keep it on viewport */
  top: 0 !important;
  left: 0 !important;
  /* give it non-zero size, VoiceOver on Safari requires at least 2 pixels before allowing buttons to be activated. */
  width: 4px !important;
  height: 4px !important;
  /* visually hide it with overflow and opacity */
  opacity: 0 !important;
  overflow: hidden !important;
  /* remove any margin or padding */
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  /* ensure no other style sets display to none */
  display: block !important;
  visibility: visible !important;
}

.content-inner {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 10px;
}

img.design-link-logo {
  width: 40px;
  height: 40px;
}

#page-container {
  z-index: 0;
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 100%;
  min-width: 100dvw;
  min-height: 100dvh;
}

#mod-snackbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.6rem;
  z-index: 1500;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px;
  border-bottom: 1px solid #090;
  background: #cfc;
  transition: all 0.8s ease;
}
#mod-snackbar.hide {
  transform: translateY(-100%);
}
#mod-snackbar p {
  line-height: 1.3;
}
#mod-snackbar button {
  flex: 0 0 auto;
}

#page-header {
  z-index: 1000;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-inline: 3.2rem;
  border-radius: 0 0 20px 20px;
  background: rgb(255 255 255 / 0.8);
  backdrop-filter: blur(8px);
  transition: all 0.8s ease;
}
:root[data-header=hide] #page-header {
  transform: translateY(-100%);
}
:root[data-header=show] #page-header {
  transform: translateY(0%);
}
@media screen and (width <= 480px) {
  :root #page-header {
    padding-inline: 1.6rem;
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.6rem;
  padding-block: 1.6rem;
}
.header-container .item-siteName {
  flex: 0 0 auto;
}
.header-container .navList {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 1.6rem;
  transition: all 0.3s ease;
}
@media screen and (width <= 480px) {
  :root .header-container .navList {
    gap: 0.8rem;
  }
}
.header-container .navList li.cls-contact a {
  --color: #fff;
  background: #f00;
  color: #fff;
  overflow: hidden;
  z-index: 0;
  position: relative;
}
.header-container .navList li.cls-contact a::after {
  pointer-events: none;
  content: "";
  z-index: 0;
  position: absolute;
  inset: 0;
  background-color: #000;
  opacity: 0;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .header-container .navList li.cls-contact a:hover::after {
    opacity: 0.2;
  }
}
.header-container .navList li.cls-contact a .label {
  z-index: 1;
  position: relative;
}
.header-container .navList li a {
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.8rem 3.2rem;
  border-radius: 9999px;
  text-transform: uppercase;
  font-size: 1.4rem;
  transition: all 0.3s ease;
}
@media screen and (width <= 480px) {
  :root .header-container .navList li a {
    min-height: 40px;
    padding: 0.8rem 1.6rem;
    font-size: 1.2rem;
  }
}
.header-container .navList li a .label {
  transition: all 0.3s ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .header-container .navList li a:hover {
    color: var(--color, #f00);
  }
}

#page-footer {
  padding: 9.6rem 3.2rem;
  border-radius: 40px 40px 0 0;
  background: #283037;
  color: #fff;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6.4rem 1.6rem;
  font-size: 1.4rem;
}
@media screen and (width <= calc(6.4rem + 20px + 200px + 140px)) {
  :root .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  :root .footer-container .group-nav {
    width: 100%;
  }
  :root .footer-container .group-nav .navList {
    justify-content: center;
  }
}
.footer-container .group-office {
  color: #ccc;
  line-height: 1.3;
}
.footer-container .group-office > p:not(:first-child) {
  margin-top: 1.6rem;
}
.footer-container .group-nav {
  flex: 1 0 auto;
}
.footer-container .group-nav .navList {
  display: grid;
  grid-template-columns: repeat(auto-fit, 140px);
  justify-content: flex-end;
  align-items: normal;
  gap: 3.2rem;
}
.footer-container .group-nav .navList a {
  display: block;
  text-align: center;
  transition: all 0.3s ease;
}
.footer-container .group-nav .navList a .label {
  transition: all 0.3s ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .footer-container .group-nav .navList a:hover {
    color: #f00;
  }
}
.footer-container .group-nav .navList .label {
  text-transform: uppercase;
}
.footer-container .group-nav .navList .subLabel {
  display: block;
  margin-top: 1.6rem;
  color: #999;
  font-size: 1.2rem;
}
.footer-container .group-desc {
  width: 100%;
}
.footer-container .group-desc .item-copyright {
  color: #999;
  line-height: 1.5;
  text-align: center;
  font-size: 1.2rem;
  font-family: Verdana, sans-serif;
}

#page-main {
  padding-top: calc(50px + 3.2rem + 1.6rem);
}
#page-main .section .section-heading {
  line-height: 1.3;
}
#page-main .section .section-heading .heading {
  width: fit-content;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: clamp(2.8rem, -2rem + 15vw, 4rem);
  text-transform: uppercase;
}
#page-main .section .section-heading .subHeading {
  display: flex;
  align-items: center;
  gap: 4px;
  width: fit-content;
  margin-top: 3.2rem;
  color: #f00;
  font-weight: 700;
}
#page-main .section .section-heading .subHeading::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  clip-path: polygon(50% 0, 0 50%, 50% 100%, 100% 50%);
}
#page-main .section .section-heading + .section-body {
  margin-top: 3.2rem;
}
#page-main .section .section-body {
  line-height: 1.8;
}

hr {
  width: 100%;
  border: none;
  border-top: 1px solid #999;
  margin: 2rem 0;
}
