@charset "utf-8";
/* CSS Document */

.d-wrap {
  display: flex;
  margin: 0 0 20px 0;
  align-items: center;
}

.d-text {
  width: 54%;
  padding: 0 0 0 3%;
}

.wp-block-column {
  margin: 0 0 20px 0;
}

figure.card-thumb.size-full {
  margin: 0;
  position: relative;
  overflow: hidden;
  width: 48%;
  border-radius: 5px;
}

figure.card-thumb img {
  transform: scale(1);
  transition-timing-function: var(--easing-default);
  transition-duration: var(--duration-default);
  object-fit: cover;
  height: 100%;
  object-position: center;
}

.d-box {
  position: relative;
  grid-template-rows: auto auto 1fr;
  height: 100%;
  color: var(--blue);
  border-radius: 10px;
  transition-timing-function: var(--easing-default);
  transition-duration: var(--duration-default);
  padding: 15px 10px 20px 10px;
  background: #fdfdfd;
  overflow: hidden;
  box-shadow: inset 0px 0 17px 0px hwb(206.25deg 81.18% 6.27% / 70%);
}

#promotion figure.card-thumb {
  width: 100%;
  height: 102px;
}

#promotion .d-wrap {
  display: block;
}

.nav_title h2 {
  font-size: 1.1em;
  font-weight: var(--fw-semibold);
  text-decoration-thickness: 0.03125rem;
  text-underline-offset: 0.1875rem;
  color: var(--blue);
  text-align: left;
  text-decoration: none;
  z-index: 1;
  position: relative;
  padding: 0 0 0 44px;
  border-top: none;
}

.nav_title h2:before {
  content: none;
}

.nav_title {
  padding: 0 0 4px 0;
  position: relative;
  flex-direction: row-reverse;
  border-bottom: 1px solid #e6eaee;
  margin: 0 0 20px 0;
}

.lower__ico {
  position: absolute;
  top: -1px;
  left: 3%;
  display: grid;
  grid-template-areas: "item";
  align-items: center;
  justify-items: center;
  place-items: center;
  width: 32px;
  aspect-ratio: 1;
  text-align: center;
  margin: 0;
}

.lower__ico:before {
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  border-radius: 100%;
  z-index: 0;
}

.lower__ico:after {
  grid-area: item;
  width: 100%;
  height: 100%;
  content: "";
  background-color: var(--blue);
  -webkit-mask-image: var(--ico-image);
  mask-image: var(--ico-image);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px auto;
  mask-size: 18px auto;
}

.lower__ico01 {
  --ico-image: url(../img/common/icon01.png);
}
.lower__ico02 {
  --ico-image: url(../img/common/icon02.png);
}
.lower__ico02:after {
  -webkit-mask-size: 20px auto;
  mask-size: 20px auto;
}
.lower__ico03 {
  --ico-image: url(../img/common/icon03.png);
}
.lower__ico03:after {
  -webkit-mask-size: 22px auto;
  mask-size: 22px auto;
}
.lower__ico04 {
  --ico-image: url(../img/common/icon04.svg);
}
.lower__ico04:after {
  -webkit-mask-size: 24px auto;
  mask-size: 24px auto;
}

.tag {
  display: grid;
  gap: 7px;
  margin: 0;
  justify-content: center;
}

.tag p {
  background: #0f507d;
  padding: 5px 7px;
  border-radius: 30px;
  font-size: 0.85em;
  text-align: center;
  display: inline-block;
  line-height: 1;
  color: var(--white);
}

.button a {
  width: 100%;
  display: block;
  text-align: center;
  padding: 13px;
  /* max-width: 400px; */
  border-radius: 5px;
  background: var(--blue);
  font-weight: 500;
  margin: auto;
  transition: 0.4s;
  color: var(--white);
  font-size: 0.9em;
  position: relative;
}

.button a:hover {
  background: #0f507d;
}

.button {
  display: block;
  width: 100%;
}

.button a:before {
  content: "";
  width: 25px;
  height: 25px;
  position: absolute;
  right: 5.1%;
  bottom: 0;
  top: 0;
  margin: auto;
  mask-size: 7px auto;
  background-color: var(--icon-color);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: calc(var(--icon-size) / 12 * 1rem) auto;
  mask-size: calc(var(--icon-size) / 12 * 1rem) auto;
  transform: var(--icon-transform);
  transition-timing-function: var(--easing-default);
  transition-duration: var(--duration-default);
  transition-property: background-color, transform;
  mask-image: url(../img/common/ico_arrow-normal.svg);
  background: var(--blue);
  z-index: 1;
  --icon-size: 9;
}

.button a:after {
  content: "";
  border: 1px solid;
  border-radius: 30px;
  bottom: 0;
  top: 0;
  margin: auto;
  background: var(--white);
  width: 25px;
  height: 25px;
  position: absolute;
  right: 5%;
}

/*部門*/
.d-figure img {
  overflow: hidden;
  border-radius: 10px;
}

.d-figure figure {
  margin: 0 0 20px;
}

.d-figure figure:last-child {
  margin: 0;
}

/*利用*/
figure.size-full img {
  border-radius: 10px;
  overflow: hidden;
}

.wp-block-gallery-is-layout-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 10px;
}

.wp-block-gallery.has-nested-images
  figure.wp-block-image:not(#individual-image) {
  width: 100% !important;
  height: 100%;
  display: inline-grid;
}

.wp-block-gallery a {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ccc;
  cursor: pointer;
}

.wp-block-gallery a img {
  transform: scale(1);
  transition-timing-function: var(--easing-default);
  transition-duration: var(--duration-default);
}

.wp-block-gallery a:hover img {
  transform: scale(1.1);
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  z-index: 1;
  position: relative;
  background: none;
  overflow: inherit;
  color: var(--black);
  text-shadow: none;
  font-size: 0.8em;
  font-weight: var(--fw-medium);
}

.wp-block-gallery.has-nested-images figure.wp-block-image {
  display: block;
}

.wp-block-gallery.has-nested-images
  figure.wp-block-image:has(figcaption):before {
  content: none;
}

.wp-block-gallery figcaption {
  padding: 0;
}

.templatebox .wp-block-gallery figcaption.wp-element-caption {
  padding: 3px 0 0 0 !important;
}
.fancybox-close-small {
  right: 1%;
  width: 60px;
  height: 60px;
  top: -60px;
  color: var(--white);
}

.flow-list {
  position: relative;
  padding: 0 0 30px 59px;
}

.flow {
  display: grid;
  gap: 0;
  counter-reset: number 0;
}

.flow-list h6 {
  font-size: 0.9em;
  color: var(--black);
  position: relative;
  margin: 0 0 10px 0;
  font-weight: var(--fw-medium);
}

.flow-list:before {
  counter-increment: number 1;
  content: counter(number) " ";
  background: #fdfdfd;
  width: 45px;
  height: 45px;
  position: absolute;
  text-align: center;
  line-height: 2.3;
  border-radius: 30px;
  left: 0;
  top: 4px;
  font-family: var(--outfit);
  font-weight: var(--fw-bold);
  color: var(--blue);
  box-shadow: inset 0px 0 9px #cfe1ef;
  font-size: 120%;
  z-index: 1;
}

.flow-list:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 100%;
  background: #cfe1ef;
  left: 21px;
  top: 20px;
  z-index: -1;
}

.flow-list figure {
  overflow: hidden;
  border-radius: 10px;
}

.flow-list:last-child {
  padding-bottom: 0;
}

.ph {
  background: #fdfdfd;
  box-shadow: inset 0px 0 9px #cfe1ef;
  padding: 10px 0 30px;
  border-radius: 10px;
}

.ph figure {
  max-width: 330px;
  margin: 0 auto 10px !important;
  display: block;
  text-align: center;
}

.ph a p {
  display: flex;
  -moz-column-gap: 1.25rem;
  column-gap: 1.25rem;
  justify-content: space-between;
  margin-top: 0;
  font-weight: var(--fw-bold);
  letter-spacing: 0.02em;
  position: relative;
}

.ph a {
  margin: 20px auto 0;
  position: relative;
  display: grid;
  padding-bottom: 6px;
  transition-timing-function: var(--easing-default);
  transition-duration: var(--duration-default);
  transition-property: color;
  text-decoration-thickness: 0.03125rem;
  text-underline-offset: 0.1875rem;
  /* max-width: 200px; */
}

.ph a:before {
  left: 0;
  background-color: #fff;
  content: "";
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 0.0625rem;
  content: "";
}

.ph a:after {
  right: 0;
  background-color: var(--blue);
  transition: scale 0.4s ease-in-out;
  transform-origin: left;
  scale: 0 1;
  position: absolute;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 0.0625rem;
  content: "";
}

.ph a span.p__icon {
  right: 0;
  bottom: 0;
  top: 0;
  --icon-color: var(--blue);
}

.ph a:hover:after {
  scale: 1 1;
}

.ph a:hover p.text .p__desc {
  color: var(--blue);
}

.js-scrollable {
  margin: auto;
  overflow-x: auto;
  white-space: nowrap;
  width: 100%;
}

.scroll-wrap figure {
  width: 600px;
}

.otherlink a.button {
  margin: 0;
}

.otherlink {
  margin: 30px 0 15px 0;
}

.otherlink a.button i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5%;
}

@media screen and (min-width: 500px) {
  .d-text {
    width: 100%;
    padding: 0;
  }

  .depart-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .d-wrap {
    /* display: block; */
    padding: 8px;
  }

  #promotion figure.card-thumb {
    height: 120px;
  }

  figure.card-thumb.size-full {
    width: 79%;
    margin: 0;
    border-radius: 0;
  }

  .d-box {
    padding: 15px 0;
  }

  .nav_title {
    width: 95%;
    margin: 0 auto 20px;
  }

  .depart-wrap .button {
    padding: 0 2.5%;
  }

  .ph {
    padding: 30px;
  }

  .ph figure {
    margin: 0 !important;
  }
}

@media screen and (min-width: 767px) {
  .templatebox {
    max-width: 1200px;
    margin: auto;
  }

  .templatebox h3 {
    font-size: 1.5em;
    text-align: center;
  }

  /*部門*/
  .desc-box {
    margin: 0 auto 30px;
  }

  .desc-box .text {
    padding: 0 5% 0 0;
  }

  .nocolumn-wrap .desc-box > div:first-child {
    padding: 0;
  }

  .desc-box {
    background: #f3faff;
    padding: 30px;
    border-radius: 20px;
  }

  .two-fig {
    max-width: 720px;
    gap: 5%;
    justify-content: space-between;
    margin: auto;
  }

  .desc-box .wp-block-column {
    margin: 0;
  }

  /*利用*/
  .three-fig {
    gap: 20px;
  }
  .wp-block-gallery-is-layout-flex {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: baseline !important;
    gap: 20px 20px;
  }

  .flow-list figure {
    width: 50%;
  }

  .flow-wrap {
    margin: 0 auto;
  }

  .flow-wrap h4 {
    background: #36678d;
    color: var(--white);
  }

  .flow-list:after {
    background: #eaf4f9;
    z-index: 0;
    width: 4px;
  }

  .img-100 .desc-box .wp-block-column {
    padding: 0;
  }

  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size: 0.9em;
  }

  #lightcase-overlay {
    top: 0 !important;
    bottom: 0 !important;
  }

  #lightcase-case {
    max-width: 767px !important;
  }

  a[class*="lightcase-icon-"].lightcase-icon-close {
    top: 17%;
    right: 15%;
    width: 80px;
    font-size: 70px;
    border-radius: 70px;
  }

  .ph {
    padding: 30px;
    grid-template-columns: inherit;
    display: flex;
    margin: 30px auto 0;
  }

  .ph figure {
    margin: 0 !important;
    width: 30%;
    grid-column: inherit !important;
    max-width: none;
  }

  .ph .wp-block-media-text__content {
    width: 70%;
    padding: 0 0 0 4%;
    grid-column: inherit;
  }

  .ph a {
    margin: 10px 0 0 auto;
    max-width: 160px;
  }
}

@media screen and (min-width: 991px) {
  .d-wrap {
    display: flex;
    padding: 0 2.5%;
  }

  .depart-intro {
    background: #f5f4eb;
    padding: 50px 30px;
    border-radius: 20px;
  }

  .depart-wrap {
    background: var(--white);
    padding: 0 50px 40px;
    margin: 0 auto;
    position: relative;
    border-radius: 0 0 20px 20px;
    max-width: 870px;
  }

  .depart-wrap:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60px;
    top: -40px;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 0;
  }

  figure.card-thumb.size-full {
    border-radius: 10px;
    width: 63%;
    margin: 0;
  }

  .d-text {
    width: 50%;
    padding: 0;
  }

  figure.card-thumb.size-full,
  #promotion figure.card-thumb {
    height: 142px;
  }

  figure.card-thumb.size-full {
    width: 50%;
  }

  .nav_title h2 {
    padding: 0 0 0 39px;
  }

  .lower__ico {
    left: 0;
  }
  .wp-block-spacer {
    clear: none;
  }

  .templatebox h3 {
    text-align: left;
    margin: 0 0 60px 0;
    font-size: 1.8em;
    font-weight: var(--fw-bold);
  }

  /*利用*/
  figure.size-full {
    max-width: 870px;
    margin: auto;
  }

  figure.size-full.depart {
    /* max-width: 1200px; */
  }

  .wp-block-gallery-is-layout-flex {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .columns-5.wp-block-gallery-is-layout-flex {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .columns-3.wp-block-gallery-is-layout-flex {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .three-fig {
    gap: 4%;
  }

  .flow {
    gap: 40px;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
  }

  .flow-list figure {
    width: 100%;
    z-index: 1;
    position: relative;
  }

  .flow-list:after {
    content: none;
  }

  .flow-list {
    padding: 70px 0 0 0;
  }

  .flow-list:before {
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    font-size: 158%;
  }

  .flow-list h6 {
    font-size: 1em;
  }

  .flow:after {
    content: "";
    width: 100%;
    height: 4px;
    top: 31px;
    left: 0;
    background: #eaf4f9;
    position: absolute;
  }

  .scroll-wrap figure {
    width: 100%;
    max-width: 100%;
    background: var(--white);
    border-radius: 10px;
    text-align: center;
  }
}

@media screen and (min-width: 1200px) {
  figure.size-full.depart {
    max-width: 1200px;
  }

  .depart-wrap {
    padding: 0 60px 60px;
    max-width: 1200px;
  }

  .depart-wrap:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 60px;
    top: -40px;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 0;
  }

  .nav_title {
    width: 90%;
  }

  .figure-box {
    width: 30%;
    float: left;
    margin: 0 5% 0 0;
  }

  .depart-intro {
    background: #f5f4eb;
    padding: 50px;
    border-radius: 20px;
  }

  .d-text {
    width: 100%;
    margin: 17px auto 0;
  }

  .tag p {
    padding: 4px 12px;
    line-height: 1;

    font-weight: var(--fw-medium);
  }

  .tag {
    display: flex;
    gap: 11px;
    width: 100%;
  }

  .d-wrap {
    display: block;

    padding: 0;
  }

  #promotion .d-wrap {
    display: block;
    margin: 0 auto 59px;
  }

  .nav_title {
    width: 100%;
  }

  figure.card-thumb.size-full {
    width: 100%;
  }

  figure.card-thumb.size-full img,
  #promotion figure.card-thumb img {
    border-radius: 10px 10px 0 0;
  }

  .d-box {
    margin: 0 auto;
    padding: 20px;
  }

  .figure-box {
    width: 25%;
  }

  .name p {
    font-size: 1.6em;
  }

  .templatebox h3 {
    font-size: 2.2em;
    margin: 0 0 100px 0;
  }

  /*部門*/
  .two-fig {
    gap: 10%;
    max-width: 843px;
  }

  /*利用*/
  .desc-box {
    padding: 50px;
  }

  figure.size-full {
    margin: 50px auto 0;
  }

  figure.size-full:first-child {
    /* margin: 0 auto; */
  }

  .wp-block-gallery-is-layout-flex {
    margin: 50px auto 0;
  }

  .fancybox-close-small {
    right: -23px;
    width: 80px;
    height: 80px;
    top: -80px;
    color: var(--white);
  }

  .flow-list figure {
    margin: 20px auto 0;
  }

  .ph a {
    margin: 0 0 0 auto;
  }
}

@media screen and (min-width: 1320px) {
}
