@import url("https://fonts.googleapis.com/css2?family=Hurricane&family=Noto+Sans+JP:wght@100..900&family=Noto+Serif+JP:wght@200..900&family=Shippori+Mincho:wght@400;500;600;700;800&display=swap");

/* base */
@media (min-width: 601px) {
  .sp {
    display: none;
  }
}

/* heaeder */
.c-gnav .ttl {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}

/* footer */
.w-footer__box .c-widget.widget_media_image {
  text-align: center;
}

/* FV */
.p-mainVisual__imgLayer {
  right: 0;
  left: auto;
  width: 80%;
}

.p-mainVisual__textLayer {
  top: 0%;
  left: 0%;
  transform: translate(0, -5%);
}

.p-mainVisual__slideTitle {
  font-family: "Shippori Mincho", serif;
  font-weight: 700;
  font-size: clamp(26px, 26px + (34 - 26) * (100vw - 340px) / 260, 34px);
}

.p-mainVisual__slideTitle span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background-color: #ffffff;
  opacity: 0;
  animation: fv_text_fadein 0.1s ease-out 1.6s forwards;
}

.p-mainVisual__slideTitle span::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  bottom: 0;
  z-index: 2;
  background-color: #254082;
  animation: fv_bg_wipe 0.9s ease-out 0.9s forwards;
}

.p-mainVisual__slideTitle span {
  display: inline-block;
  padding: 4px 0;
  font-weight: 700;
  position: relative;
  z-index: 2;
  opacity: 0;
  overflow: hidden;
}

.p-mainVisual__slideText {
  margin-top: 2em;
}

.p-mainVisual__slideText span {
  background: #fff;
  position: relative;
  z-index: 2;
  font-weight: 600;
  padding: 0 2px;
}

.p-mainVisual__slideText {
  opacity: 0;
  overflow: hidden;
  position: relative;
  display: inline-block;
  max-width: 580px;
}

.p-mainVisual__slideText::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 100%;
  bottom: 0;
  z-index: 2;
  background-color: #254082;
  animation: fv_bg_wipe 0.9s ease-out 0.9s forwards;
}

.p-mainVisual__slideText::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0;
  animation: fv_text_fadein 0.1s ease-out 1.6s forwards;
}

.p-mainVisual__slideTitle span:nth-of-type(2) {
  margin-top: 6px;
}

.p-mainVisual__slideTitle span:nth-of-type(1)::after {
  animation-delay: 0.6s;
}
.p-mainVisual__slideTitle span:nth-of-type(1)::before {
  animation-delay: 1s;
}

.p-mainVisual__slideTitle span:nth-of-type(2)::after {
  animation-delay: 1s;
}
.p-mainVisual__slideTitle span:nth-of-type(2)::before {
  animation-delay: 1.4s;
}

.p-mainVisual__slideText::after {
  animation-delay: 1.4s;
}
.p-mainVisual__slideText::before {
  animation-delay: 1.8s;
}

.p-mainVisual__slideTitle span:nth-of-type(1) {
  animation: fv_text_show 0.3s ease-out 1s forwards;
}
.p-mainVisual__slideTitle span:nth-of-type(2) {
  animation: fv_text_show 0.3s ease-out 1.4s forwards;
}
.p-mainVisual__slideText {
  animation: fv_text_show 0.3s ease-out 1.8s forwards;
}

@keyframes fv_bg_wipe {
  0% {
    left: 0;
    right: 100%;
  }
  40%,
  60% {
    left: 0;
    right: 0;
  }
  100% {
    left: 100%;
    right: 0;
  }
}
@keyframes fv_text_fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fv_text_show {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (min-width: 601px) {
  .p-mainVisual__imgLayer {
    width: 75%;
  }
  .p-mainVisual__textLayer {
    top: clamp(0px, 0px + (67 - 0) * (100vw - 1020px) / 900, 67px);
    left: 4.5%;
    transform: translateX(0);
  }
  .p-mainVisual__slideTitle {
    font-size: clamp(32px, 32px + (64 - 32) * (100vw - 600px) / 1320, 64px);
    color: #254082;
  }
  .p-mainVisual__slideTitle span {
    padding: 10px 0;
  }
  .p-mainVisual__slideTitle span:nth-of-type(2) {
    margin-top: clamp(6px, 6px + (16 - 6) * (100vw - 600px) / 1320, 16px);
  }
  .p-mainVisual__slideText {
    margin-top: 2.5em;
  }
  .p-mainVisual__slideText span {
    font-weight: 700;
    font-size: clamp(14px, 14px + (16 - 14) * (100vw - 600px) / 1320, 16px);
  }
}

@media (min-width: 600px) {
  .p-mainVisual__slideText {
    line-height: 1.65;
  }
}

/* 投稿パーツ */
.post_content .c-line {
  height: 4em;
  position: relative;
  border: none;
  width: 1px;
  margin: 0;
  position: relative;
  z-index: 2;
}

.post_content .c-line::before {
  content: "";
  display: block;
  z-index: 2;
  position: absolute;
  height: 0;
  background: #2e3fba;
  width: 1px;
}

.post_content .c-line.is-animate::before {
  -webkit-animation: ttl_before 0.3s ease-out 1 forwards;
  animation: ttl_before 0.3s ease-out 1 forwards;
}

@-webkit-keyframes ttl_before {
  0% {
    height: 0;
  }
  100% {
    height: 4em;
  }
}
@keyframes ttl_before {
  0% {
    height: 0;
  }
  100% {
    height: 4em;
  }
}

@media (min-width: 600px) {
  .post_content .c-line {
    height: 6.5em;
  }
  @-webkit-keyframes ttl_before {
    0% {
      height: 0;
    }
    100% {
      height: 6.5em;
    }
  }
  @keyframes ttl_before {
    0% {
      height: 0;
    }
    100% {
      height: 6.5em;
    }
  }
}


.post_content .c-title {
  /*   font-family: "Shippori Mincho", "Noto Serif JP", serif; */
  margin-left: 0;
  font-size: 2em;
  color: #254082;
}

@media (min-width: 600px) {
  .post_content .c-title {
    font-size: 2.5em;
  }
}

.post_content h2.c-title {
  padding-bottom: 1.25em;
}

.post_content .c-title small {
  opacity: 1;
  font-family: "Hurricane", cursive;
  font-weight: 400;
  font-style: normal;
  color: rgba(0, 224, 251, 0.3);
  font-weight: 400;
  z-index: -1;
  font-size: 2.5em;
  rotate: -8.625deg;
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: -15%;
  left: 50%;
}

@media (min-width: 600px) {
  .post_content .c-title small {
    font-size: 3em;
    top: -55%;
  }
}

.post_content .c-title--2 small {
  top: -25%;
  left: 23.5%;
}

@media (min-width: 600px) {
  .post_content .c-title--2 small {
    top: -60%;
    left: 10%;
  }
}

.post_content .c-title--3 small {
  top: 0%;
}

.c-bgimg-left{
    position: relative;
    z-index: 1;
}

.c-bgimg-left>.wp-block-group-is-layout-constrained{
    background: #fff;
}

.c-bgimg-left::after{
    content: "";
    bottom: -48px;
    z-index: -1;
    left: calc(50% - 50vw);
    width: 933px;
    height: 448px;
    position: absolute;
    background: url(../img/img-secbg.png) no-repeat center center/cover;
}
@media (width <= 933px) {
  .c-bgimg-left::after {
    width: clamp(768px, 768px + (933 - 768) * (100vw - 768px) / 165, 933px);
    height: clamp(283px, 283px + (448 - 283) * (100vw - 768px) / 165, 448px);
  }
}
@media (width <= 768px) {
  .c-bgimg-left::after {
    background: url(../img/img-secbg-sp.png) no-repeat center center/cover;
    width: 100vw;
    height: calc(100vw * 600 / 768); 
  }
}

/* 固定ページ　カスタマイズ用 */
.c-page__title {
  text-align: center;
  font-size: 2em;
  position: relative;
  color: #254082;
}
.c-page__titleSlug {
  font-family: "Shippori Mincho", "Noto Serif JP", serif;
  font-weight: 700;
  opacity: 1;
  font-family: Hurricane, cursive;
  font-style: normal;
  color: rgba(0, 224, 251, 0.3);
  font-weight: 400;
  z-index: -1;
  font-size: 2.5em;
  rotate: -8.625deg;
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: -15%;
}

@media (min-width: 600px) {
  .c-page__titleSlug {
    font-size: 3em;
    top: -80%;
  }
}
.c-page__hr {
  margin-top: 2.2em;
}

.swell-block-button.is-style-more_btn {
  position: relative;
  display: inline-block;
  padding: 0;
  margin: 0 0 2em auto;
}

.swell-block-button.is-style-more_btn .swell-block-button__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75em 1.5em;
  min-width: 240px;
  background: #2e3fba;
  color: #fff;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}
@media (min-width: 600px) {
  .swell-block-button.is-style-more_btn .swell-block-button__link {
    padding: 1em 3em;
  }
}

.is-style-more_btn a {
  background: none;
  box-shadow: none;
  color: inherit;
  min-width: auto;
  padding: 0;
  width: auto;
}

.swell-block-button.is-style-more_btn .swell-block-button__link span {
  display: inline-flex;
  align-items: center;
}

.swell-block-button.is-style-more_btn::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: -6px;
  bottom: -6px;
  border: 1px solid rgb(0, 224, 251);
  z-index: 0;
  transform: translate(2px, 2px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.swell-block-button.is-style-more_btn .swell-block-button__link::after {
  color: #fff;
  font-size: 0.9em;
  right: 1.8em;
}

.swell-block-button.is-style-more_btn:hover .swell-block-button__link {
  transform: translate(2px, 2px);
}

.swell-block-button.is-style-more_btn:hover::before {
  transform: translate(0, 0);
}

.c-fullup {
  height: 110%;
  margin-top: -10% !important;
}
@media (min-width: 600px) {
  .c-fullup {
    height: 106%;
    margin-top: -6% !important;
  }
}

.wp-block-table.c-table {
  --table-border: none;
  font-size: 0.9em;
}

@media (min-width: 600px) {
  .wp-block-table.c-table {
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
  }
}

.wp-block-table.c-table table{
  margin-bottom: 32px;	
}

.wp-block-table.c-table th {
  background-color: unset;
  padding: 25px 0 25px 10px;
}

.wp-block-table.c-table td {
  padding: 25px 0 25px 10px;
}

.wp-block-table.c-table tr {
  border-top: 1px solid #ccc;
}

.wp-block-table.c-table tr:last-child {
  border-bottom: 1px solid #ccc;
}

.wp-block-group.has-border.-border01 {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.c-img-bg {
  position: relative;
  margin-left: 2.5em;
}

@media (width <= 782px) {
  .c-img-bg {
    margin: 0 auto;
    width: 80%;
  }
}

.c-img-bg img {
  z-index: 2;
  position: relative;
}

.c-img-bg::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #254082;
  transform: rotate(9.65deg);
  transform-origin: center center;
}

.wp-block-heading.c-title-line {
  position: relative;
  padding-left: 3em;
}

.wp-block-heading.c-title-line::before {
  content: "";
  position: absolute;
  width: 2.5em;
  left: 0;
  transform: translateY(-50%);
  top: 50%;
  height: 1px;
  background-color: #254082;
}

@media (width <= 782px) {
  .c-sp-reverse {
    flex-direction: column-reverse;
  }
}

.c-flow {
  display: flex;
  flex-direction: column;
  gap: 3em;
}

.c-flow__block {
  background: #fff;
}

.post_content h3.c-title-sm {
  position: relative;
  padding-bottom: 1em;
}

.post_content h3.c-title-sm::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4em;
  height: 1px;
  background-color: #254082;
}

@media (min-width: 600px) {
  .wp-block-group.c-flow-wrap {
    padding-top: 4em;
    padding-bottom: 4em;
  }
}

.c-flow.is-style-big > .swell-block-step__item {
  border: none;
  max-width: 620px;
  margin: 0 auto;
  width: 100%;
}

.c-flow.is-style-big > .swell-block-step__item:before {
  border: 32px solid transparent;
  border-top: 32px solid #2e3fba;
}
@media (width <= 782px) {
  .c-flow.is-style-big > .swell-block-step__item:before {
    border: 24px solid transparent;
    border-top: 24px solid #2e3fba;
  }
}

.c-flow__block.swell-block-step__item {
  display: flex;
  flex-wrap: wrap;
}

.c-flow.is-style-big .c-flow__block .swell-block-step__number {
  flex: 0 0 auto;
  margin: 0;
  align-self: center;
  margin-right: 2em;
}
@media (width <= 782px) {
  .c-flow.is-style-big .c-flow__block .swell-block-step__number {
    margin-right: 1em;
    flex: 0 0 auto;
  }
}

.c-flow.is-style-big .c-flow__block .swell-block-step__number:after {
  font-size: 2.5em;
  font-weight: 700;
}
@media (width <= 782px) {
  .c-flow.is-style-big .c-flow__block .swell-block-step__number:after {
    font-size: 1.8em;
  }
}

.c-flow__block .swell-block-step__title {
  flex: 1 1 85%;
  font-weight: 600;
  align-self: center;
  text-align: left;
}
@media (width <= 782px) {
  .c-flow__block .swell-block-step__title {
    flex: 1 1 78%;
    font-size: 1.1em !important;
  }
}

.c-flow__block .swell-block-step__body {
  flex-basis: 85%;
  margin-left: auto;
  margin-top: 0.5em;
}
@media (width <= 782px) {
  .c-flow__block .swell-block-step__body {
    flex-basis: 100%;
    margin-top: 1em;
  }
}

.l-article h1.c-pageTitle {
  position: relative;
  padding-left:.5em;
  font-size: 2em;
  color: #254082;
  border: none !important;
  display: inline-block;
}
@media (min-width: 960px) {
  .l-article h1.c-pageTitle {
    font-size: 2.5em;
  }
}

.l-article .c-pageTitle__inner{
  display: inline-block;
  border:none !important;
  padding: 0;
  float: unset;
}

.l-article h1 .c-pageTitle__subTitle {
  opacity: 1;
  font-family: "Hurricane", cursive;
  font-weight: 400;
  font-style: normal;
  color: rgba(0, 224, 251, 0.3);
  font-weight: 400;
  z-index: -1;
  font-size: 2.5em;
  rotate: -8.625deg;
  width: 100%;
  text-align: center;
  display: block;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 15%;
  left: -5%;
	  white-space: nowrap;

}

@media (min-width: 960px) {
  .l-article h1 .c-pageTitle__subTitle {
    font-size: 3em;
    top: 30%;
    left: -45%;
  }
}

/* パンくず */
.-body-solid .p-breadcrumb.-bg-on {
  background: unset;
  box-shadow: unset;
}

/* フォーム */
.c-form {
  max-width: 780px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (width <= 768px) {
  .c-form {
    padding: 24px 0px;
  }
}

.c-form__group {
  display: flex;
  align-items: center;
}
@media (width <= 768px) {
  .c-form__group {
    flex-direction: column;
    align-items: flex-start;
  }
}

.c-form__label {
  min-width: 200px;
  font-weight: 500;
}

.c-form__req {
  color: #ff005a;
  margin-left: 0.2em;
}

.c-form__input {
  flex: 1;
  width: 100%;
  padding: 8px;
  background: #fff;
 border: 1px solid rgb(184, 196, 224); 
  border-radius: 4px;
}
.c-form__input:focus {
  outline: none;
  border-color: #254082;
  box-shadow: 0 0 0 2px rgba(37, 64, 130, 0.12);
  background-color: #fff;
}

@media (width <= 768px) {
  .c-form__input {
    padding: 6px;
  }
}

.c-form__submit-wrap {
  margin-top: 32px;
  text-align: center;
}

.c-form__submit {
  display: inline-flex;
  cursor: pointer;
  height: 48px;
  padding: 0 32px;
  min-width: 260px;
  align-items: center;
  justify-content: center;
  background: #254082;
  border: 1px solid #254082;
  color: #fff;
  transition: all 0.3s ease-in-out;
}
.c-form__submit:hover {
  color: #254082;
  background: #fff;
}

/* news list */
.-type-simple .p-postList__link {
  border-bottom: 1px solid #ccc;
  transition: background-color 0.2s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.-type-simple .p-postList__link:hover {
  background-color: rgba(37, 64, 130, 0.05);
  border-bottom-color: rgba(37, 64, 130, 0.35);
}

/* 事業案内アーカイブページ */
.post-type-archive-works .l-topTitleArea {
  align-items: center;
  display: flex;
  margin: 0;
  min-height: 11em;
  overflow: hidden;
  padding: 1.5em 0;
  position: relative;
  width: 100%;
}
@media (min-width: 600px) {
  .post-type-archive-works .l-topTitleArea {
    min-height: 240px;
    padding: 1em 0;
  }
}

.post-type-archive-works .l-topTitleArea__body {
    color: #fff;
    position: relative;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .1);
    width: 100%;
    z-index: 3;
}

/* 固定背景 */
@media (max-width: 780px) {
  .home .swell-block-fullWide.has-bg-img {
    background-size: contain;
    background-repeat:repeat;
}
}

