@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Zen+Maru+Gothic&display=swap');

:root {
  --noto: 'Noto Sans JP'; /* weight: 100-900 */
  --ubuntu: 'Ubuntu'; /* weight: 300, 400, 500, 700 */
  --zen: 'Zen Maru Gothic'; /* weight: 400 */
}

#header *,
#footer * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

header a::after,
header nav a::after,
footer a::after,
footer nav a::after {
  display: none;
}

#header nav a,
#footer nav a {
  font-size: inherit;
}

@media screen and (max-width: 1080px){
  html {
    font-size: calc(100vw / 108); /* smaller */
  }
}

@media screen and (max-width: 960px){
  html {
    font-size: calc(100vw / 118.8); /* smaller */
  }
}

@media screen and (max-width: 768px){
  html {
    font-size: calc(100vw / 54);
  }

  br.br_pc {
    display: none;
  }

  br.br_sp {
    display: initial;
  }

  span.pz_sp {
    display: none !important;
  }
}

@media screen and (max-width: 540px){
  html {
    font-size: calc(100vw / 37.5);
  }
}

@media screen and (max-width: 375px){
  html {
    font-size: calc(100vw / 32);
  }
}

body {
  font-family: var(--noto);
  font-weight: 400;
  color: #353535;
}

#header li,
#footer li {
  list-style: none;
}

#header nav,
#footer nav {
  text-align: initial;
  height: initial;
  line-height: initial;
}

#header nav li,
#footer nav li {
  width: fit-content;
}

#header a,
#footer a {
  text-decoration: none;
  color: inherit;
}

#header a[target="_blank"]::after,
#footer a[target="_blank"]::after {
  display: inline-flex;
  width: 1em;
  height: auto;
  aspect-ratio: 1 / 1;
  margin-left: 0.5em;
  content: '';
  background-color: transparent;
  background-image: url(../img/new_icon/icon_targetblank.webp);
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 1rem;
  line-height: 1;
  position: initial;
  transform: none;
  transition: none;
}

#header a > span,
#footer a > span {
  line-height: 1;
  user-select: none;
}

#header a[target="_blank"]::after {
  display: inline-flex;
  width: 1em;
  aspect-ratio: 1 / 1;
  margin-left: 0.5em;
  content: '';
  background-image: url(../img/new_icon/icon_targetblank.webp);
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 1rem;
  line-height: 1;
}

#header .detail_anchor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 12.5em;
  height: 2.5em;
  margin-left: auto;
  background-color: #357eec;
  border-radius: 2em;
  color: #ffffff;
  font-size: 1.6rem;
  position: relative;
}

#header .detail_anchor::after {
  content: '\251b';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  font-size: 1rem;
  line-height: 1;
  position: absolute;
  top: calc(50% + 1px);
  right: 2em;
  transform: translateY(-50%) rotateZ(-45deg);
}

/* hack for font-features-settings property invalid */
#header .palt,
#footer .plat {
  letter-spacing: -0.5em;
}

/* header */
#header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
}

#header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: 30px;
  padding-block: 10px;
}

#header picture,
#footer picture {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

#header img,
#footer img {
  width: 100%;
  object-fit: contain;
}

#header .logo,
#footer .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  position: relative;
}

#header .logo {
  margin-block: 5px;
}

#header .logo > a,
#footer .logo > a {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#header .logo > picture,
#footer .logo > picture {
  aspect-ratio: 25 / 3;
}

#header .logo > picture,
#footer .logo > picture {
  max-width: 250px;
}

#header .wrapper nav > ul {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

#header nav {
  text-align: inherit;
  height: auto;
  line-height: inherit;
}

#header nav > ul > li {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  width: fit-content;
  margin-left: 30px;
  font-size: 1.8rem;
  line-height: 1;
  color: #2e2e2e;
}

#header nav > ul > li.to_form {
  background-color: #357eec;
  color: #ffffff;
  border-radius: 2em;
}

#header nav > ul > li a {
  display: flex;
  /*height: 100%;*/
  justify-content: center;
  align-items: center;
  line-height: 1;
}

#header nav > ul > li.to_form a {
  padding-inline: 1em;
  padding-bottom: 2px;
}

#nav_sw + label {
  display: none;
}

#header #mobi_nav {
  display: none;
}

@media screen and (max-width: 768px){
  #header .detail_anchor,
  #footer .detail_anchor {
    width: 52.5%;
  }

  #header {
    height: 60px;
  }

  #header > .wrapper {
    margin-inline: 0;
    padding-inline: 20px;
    position: relative;
  }

  body #header > .wrapper::before {
    content: '';
    display: block;
    width: 0%;
    height: 60px;
    background-color: #357eec;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 4;
    transition: width 0.3s;
  }

  body[data-nav-opened] #header > .wrapper::before {
    width: 100%;
    transition: 0.7s;
  }

  #header .logo + nav {
    display: none;
  }

  #header #nav_sw + label[for="nav_sw"] {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: auto;
    aspect-ratio: 1 / 1;
    background-color: #357eec;
    position: fixed;
    top: 5px;
    right: 20px;
    z-index: 5;
  }

  #header #nav_sw + label[for="nav_sw"] > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 60%;
    height: 50%;
  }

  #header #nav_sw + label[for="nav_sw"] > div.hidden {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    opacity: 1;
    transition: 0.5s;
    transform-origin: left center;
    overflow-x: hidden;
  }

  #header #nav_sw + label[for="nav_sw"] > div.visible {
    width: 85%;
    height: 85%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: 0.5s;
  }

  #header #nav_sw:checked + label[for="nav_sw"] > div.hidden {
    opacity: 0;
    transform: scaleX(0);
    transition: 0.7s;
  }

  #header #nav_sw:checked + label[for="nav_sw"] > div.visible {
    opacity: 1;
    transition: 0.7s;
    transform: translateX(-50%) translateY(-50%) rotateZ(-135deg);
  }

  #header #nav_sw + label[for="nav_sw"] > div > span {
    display: flex;
    width: 100%;
    height: 0;
    border: solid 2px #ffffff;

  }

  #header #nav_sw + label[for="nav_sw"] > div.hidden > span {
    transform: scaleY(0.5);
  }

  #header #nav_sw + label[for="nav_sw"] > div.hidden > span:first-of-type {
    transform: translateY(-1px) scaleY();
  }

  #header #nav_sw + label[for="nav_sw"] > div.hidden > span:nth-of-type(2) {
    width: 83.333%;
  }

  #header #nav_sw + label[for="nav_sw"] > div.hidden > span:nth-of-type(3) {
    width: 66.667%;
  }

  #header #nav_sw + label[for="nav_sw"] > div.visible > span {
    width: 85%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: scaleY(0.5) translateX(-50%) translateY(-100%);
  }

  #header #nav_sw + label[for="nav_sw"] > div.visible > span:nth-of-type(2) {
    transform: scaleX(0.5) scaleY(0) translateX(-100%) translateY(-50%) rotateZ(90deg);
    transition: 0.7s;
  }

  #header #nav_sw:checked + label[for="nav_sw"] > div.visible > span:nth-of-type(2) {
    transform: scaleX(0.5) scaleY(1) translateX(-100%) translateY(-50%) rotateZ(90deg);
    transition: 0.7s;
  }

  #header #mobi_nav {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 0%;
    height: 100vh;
    background-color: #357eec;
    overflow-x: hidden;
    transition: 0.3s;
    transition-property: width;
    position: absolute;
    right: 0;
    top: 0;
    color: #ffffff;
  }

  #header #nav_sw:checked ~ #mobi_nav {
    width: 100%;
    transition: 0.5s;
  }

  #header .wrapper #mobi_nav > ul {
    display: block;
    width: 100%;
    margin-top: 60px;
    padding-inline: 20px;
    padding-block: 0px 10px;
    opacity: 0;
    transition: opacity 0.3s;
  }

  #header .wrapper #nav_sw:checked ~ #mobi_nav > ul {
    opacity: 1;
    transition: 1.5s;
  }

  #header .wrapper #mobi_nav > ul > li {
    display: block;
    width: auto;
    height: auto;
    margin-bottom: 3em;
    margin-left: 0;
    font-size: 2rem;
  }

  #header .wrapper #mobi_nav > ul > li:first-of-type {
    margin-top: 20px;
  }

  #header .wrapper #mobi_nav > ul > li:last-of-type {
    margin-bottom: 0;
  }

  #header .wrapper #mobi_nav > ul a {
    justify-content: flex-start;
    color: #ffffff;
  }

  #header .wrapper #mobi_nav > ul a[target="_blank"]::after {
    filter: brightness(0) invert(1);
  }

  #header .wrapper #mobi_nav > ul .ttl {
    display: flex;
    margin-bottom: 0.2em;
    font-size: 7rem;
    letter-spacing: 0.1em;
    font-family: var(--ubuntu);
    font-weight: 500;
    color: #72a5f2;
    line-height: 1;
  }

  #header .wrapper #mobi_nav > ul .parent {
    margin-bottom: 0.85em;
    font-size: 2.5rem;
    font-weight: 500;
  }

  #header .wrapper #mobi_nav > ul .children > li {
    margin-bottom: 1.25em;
  }

  #header .wrapper #mobi_nav > ul .to_form > a {
    height: 2.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    color: #357eec;
    border-radius: 2em;
  }

  body[data-nav-opened] #header .logo {
    z-index: 60;
    filter: brightness(0) invert(1);
    transition: filter 0.5s;
  }
}

@media screen and (max-width: 540px){
  #header .logo {
    width: 206px;
  }

  #header .wrapper #mobi_nav > ul > li {
    font-size: 1.6rem;
  }

  #header .wrapper #mobi_nav > ul .ttl {
    font-size: 5rem;
  }

  #header .wrapper #mobi_nav > ul .parent {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 375px){
  #header .wrapper #mobi_nav > ul .ttl {
    font-size: 4.267rem;
  }

  #header .wrapper #mobi_nav > ul > li {
    font-size: 1.365rem;
  }

  #header .wrapper #mobi_nav > ul .parent {
    font-size: 1.536rem;
  }
}


/* headline */
/*
#hd {

}
*/

#hd h1 {
  margin-inline: auto;
  padding-block: 1.25em;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f6f6f6;
  font-size: 4rem;
  font-weight: 500;
  color: #357eec;
  line-height: 1;
  position: relative;
}

#hd h1 picture {
  width: 2.888em;
  aspect-ratio: 231 / 200;
  margin-right: 1em;
}

#hd h1 picture[data-empty] {
  display: none;
}

#hd .breadcrumb {
  display: flex;
  align-items: center;
  max-width: 1000px;
  height: fit-content;
  margin-block: 1.25em 1em;
  margin-inline: auto;
  font-size: 1.6rem;
  line-height: 1;
}

#hd .breadcrumb li {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
}

#hd .breadcrumb li:not(.top) {
  margin-left: 0.5em;
}

#hd .breadcrumb li:not(.top)::before {
  content: '\251b';
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  font-size: 0.9em;
  line-height: 1;
  transform: rotateZ(-45deg) translateY(0.1em);
}

#hd .breadcrumb li > a > span {
  color: #357eec;
}

#hd .breadcrumb li:not(.top) span {
  margin-left: 0.25em;
}

/* footer */
#footer .upper {
  display: flex;
}

#footer .left {
  width: 40%;
}

#footer .right {
  width: 60%;
}

@media screen and (max-width: 768px) {
  #footer .upper {
    flex-wrap: wrap;
  }

  #footer .left,
  #footer .right {
    width: 100%;
  }
}

#footer .left li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 546 / 275;
  background-color: #5bacfc;
  color: #ffffff;
}

#footer .left li:last-of-type {
  background-color: #357eec;
}

#footer .left > li .title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  font-size: 2.5rem;
  line-height: 1;
}

#footer .left > li > p {
  margin-bottom: 16px;
  text-align: center;
  font-size: 1.6rem;
  line-height: 1.5;
}

#footer .left > li > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  aspect-ratio: 1 / 1;
  font-size: 1rem;
  border: 1px solid #ffffff;
  border-radius: 50%;
}

#footer .left > li > a::before {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
  content: '\ff1e';
  transform: scaleY(1.25) translateX(0.1rem);
  line-height: 1;
}

#footer .left > li > a[target="_blank"]::after {
  display: none;
}

#footer .right > li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 820 / 275;
  background-color: #f6f6f9;
}

#footer .right nav > ul > li {
  display: block;
}

#footer .right nav > ul > li > a {
  display: flex;
  align-items: center;
  width: fit-content;
  height: fit-content;
  margin-bottom: 10px;
}

#footer .right nav > ul > li > a {
  display: flex;
  align-items: center;
  font-size: 2rem;
  line-height: 1;
}

#footer .right nav > ul > li > a::before,
.service_list dt::before,
body[data-pagetype="cs"] .service .right .inner > li::before {
  display: inline-flex;
  width: fit-content;
  height: fit-content;
  margin-right: 0.75em;
  content: '\25cf';
  font-size: 1.1rem;
  color: #84919d;
  line-height: 1;
}

#footer .right nav > ul > li > a::before {
  margin-left: 0.05em;
}

#footer .right nav,
#footer .right .pipms > div,
#footer .right .logo > div {
  width: 526px;
}

@media screen and (max-width: 1280px){
  #footer .right nav,
  #footer .right .pipms > div,
  #footer .right .logo > div {
    width: 75%;
  }
}

#footer .right nav .anchor_list {
  display: flex;
  margin-bottom: 24px;
  font-size: 1.4rem;
  line-height: 1;
}

#footer .right nav .anchor_list > li {
  display: flex;
  align-items: center;
}

#footer .right nav .anchor_list > li:not(:last-of-type)::after,
#footer .lower nav ul li:not(:last-of-type)::after {
  content: '\2502';
  display: flex;
  width: fit-content;
  height: fit-content;
  margin-inline: 3px;
  opacity: 0.7;
}

#footer .right .pipms,
#footer .right .logo {
  align-items: flex-start;
  aspect-ratio: 1640 / 275;
}

#footer .right .pipms > div,
#footer .right .logo > div {
  position: relative;
}

#footer .right .pipms > div > a,
#footer .right .logo > div > a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

#footer .right .pipms > div > a[target="_blank"]::after {
  display: none;
}

#footer .right .pipms > div {
  display: flex;
  align-items: center;
  padding-block: 10px;
  padding-inline: 8px;
  /*background-color: #ffffff;*/
}

#footer .right .pipms > div > picture {
  width: 80px;
  aspect-ratio: 1 / 1;
  margin-right: 16px;
}

@media screen and (max-width: 1280px){
  #footer .right .pipms > div {
    height: 70%;
  }
}

@media screen and (max-width: 1080px){
  #footer .right .pipms > div >  picture {
    width: 15%;
  }
}

#footer .right .pipms > div > picture + div {
  flex-grow: 1;
  white-space: nowrap;
}

#footer .right .pipms > div > picture + div > span {
  display: block;
  width: fit-content;
  height: fit-content;
  margin-bottom: 10px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #353535;
  line-height: 1;
}

#footer .right .pipms > div > picture + div > p {
  font-size: 1.2rem;
}

#footer .right .logo > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#footer .right .logo > div > picture {
  width: 45%;
  max-width: 496px;
  aspect-ratio: 124 / 15;
}

#footer .right .logo > div > picture + div > span {
  display: block;
  width: fit-content;
  height: fit-content;
  margin-bottom: 10px;
  font-size: 1.8rem;
  font-weight: 700;
  color: #353535;
  line-height: 1;
}

#footer .right .logo > div > picture + div > span:last-of-type {
  margin-bottom: 0;
  font-size: 1.2rem;
  font-weight: initial;
}

#footer .lower {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding-block: 10px;
  background-color: #000000;
  color: #ffffff;
}

#footer .lower nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
  font-size: 1.4rem;
}

#footer .lower nav ul li,
#footer .lower nav ul li > a,
#footer .lower nav ul li > a > span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  height: fit-content;
}

#footer .lower nav ul li.dummy {
  display: none;
}

#footer .lower > span {
  font-size: 1.2rem;
}
@media screen and (max-width: 768px){
  #footer .left li {
    aspect-ratio: 390 / 198;
  }

  #footer .right nav > ul > li > a::before {
    color: #357eec;
  }

  #footer .right > li {
    aspect-ratio: unset;
  }

  #footer .right > li:nth-of-type(1) {
    padding-block: 50px 40px;
  }

  #footer .right nav > ul > li > a {
    margin-bottom: 0;
    font-size: 2.4rem;
  }

  #footer .right nav .anchor_list {
    margin-block: 1em 1.5em;
    flex-wrap: wrap;
    row-gap: 0.75em;
    font-size: 2rem;
  }

  #footer .right .pipms {
    padding-bottom: 40px;
  }

  #footer .right .logo {
    padding-bottom: 60px;
  }

  #footer .right nav,
  #footer .right .pipms > div,
  #footer .right .logo > div {
    width: calc(100% - 40px);
  }

  #footer .right .pipms > div {
    height: fit-content;
    padding: 10px;
  }

  #footer .right .pipms picture {
    width: 17.14%;
  }

  #footer .right .pipms > div > picture + div {
    white-space: initial;
  }

  #footer .right .logo > div {
    flex-wrap: wrap;
  }

  #footer .right .logo > div > picture {
    width: 70.85%;
    margin-bottom: 30px;
  }

  #footer .right .logo > div > picture + div > span {
    font-size: 2.16rem;
  }

  #footer .right .logo > div > picture + div > span:last-of-type {
    font-size: 1.44rem;
  }

  #footer .lower nav ul {
    flex-wrap: wrap;
    row-gap: 0.5em;
    margin-bottom: 1.5em;
    padding-inline: 20px;
    font-size: 1.5rem;
  }

  #footer .lower nav ul > li:nth-of-type(3)::after,
  #footer .lower nav ul > li.dummy::after {
    visibility: hidden;
  }

  #footer .lower nav ul > li.dummy {
    display: flex;
    width: 100%;
    height: 0;
  }
}

@media screen and (max-width: 540px){
  #footer .left > li .title {
    font-size: 1.8rem;
  }

  #footer .left > li > p {
    font-size: 1.4rem;
  }

  #footer .right nav > ul > li > a {
    font-size: 1.8rem;
  }

  #footer .right nav .anchor_list {
    font-size: 1.4rem;
  }

  #footer .right nav .anchor_list > li:not(:last-of-type)::after,
  #footer .lower nav ul li:not(:last-of-type)::after {
    margin-inline: 0;
  }

  #footer .right .pipms > div {
    height: auto;
  }

  #footer .right .pipms > div > picture {
    width: 60px;
    margin-right: 0;
  }

  #footer .right .pipms > div > picture + div {
    width: calc(100% - 60px);
    flex-grow: initial;
    padding-left: 10px;
    text-align: justify;
  }

  #footer .right .pipms > div > picture + div > span {
    font-size: 1.4rem;
  }

  #footer .right .pipms > div > picture + div > p {
    font-size: 1rem;
  }

  #footer .right .logo > div > picture + div > span {
    font-size: 1.6rem;
  }

  #footer .right .logo > div > picture + div > span:last-of-type {
    font-size: 1.1rem;
  }

  #footer .lower nav ul {
    row-gap: 5px;
    padding-inline: 10px;
    font-size: 1.2rem;
  }

  #footer .lower > span {
    font-size: 1rem;
  }
}

@media screen and (max-width: 375px){
  #footer .left > li .title {
    font-size: 1.536rem;
  }

  #footer .left > li > p {
    font-size: 1.195rem;
  }

  #footer .right nav > ul > li > a {
    font-size: 1.536rem;
  }

  #footer .right nav .anchor_list {
    font-size: 1.195rem;
  }

  #footer .right .pipms > div > picture + div > span {
    font-size: 1.195rem;
  }

  #footer .right .pipms > div > picture + div > p {
    font-size: 0.853rem;
  }

  #footer .right .logo > div > picture + div > span {
    font-size: 1.365rem;
  }

  #footer .right .logo > div > picture + div > span:last-of-type {
    font-size: 0.939rem;
  }

  #footer .lower nav ul {
    font-size: 0.768rem;
  }

  #footer .lower > span {
    font-size: 0.853rem;
  }
}

#header #nav_sw {
  display: none;
  width: 0;
  overflow: hidden;
  visibility: hidden;
}

/* old to new */
#header nav,
#header div,
#footer nav,
#footer div {
  width: unset;
}