@charset "UTF-8";
.pc-only {
  display: none;
}
@media (min-width: 1024px) {
  .pc-only {
    display: block;
  }
}

.sp-only {
  display: block;
}
@media (min-width: 1024px) {
  .sp-only {
    display: none;
  }
}

.container-narrow {
  max-width: 1140px;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .pc {
    display: inline;
  }
  .tablet {
    display: none;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width: 767px) {
  .pc {
    display: none;
  }
  .tablet {
    display: inline;
  }
  .sp {
    display: none;
  }
}
@media screen and (max-width: 480px) {
  .pc {
    display: none;
  }
  .tablet {
    display: none;
  }
  .sp {
    display: inline;
  }
}
.front__hero {
  padding-top: 110%;
  background-image: url("../images/top/top_hero_sp.jpg");
  background-size: cover;
  background-position: center;
}

@media (min-width: 480px) {
  .front__hero {
    padding-top: 90%;
  }
}

/* PCのみ画像を切り替える */
@media (min-width: 1200px) {
  .front__hero {
    padding-top: 0;
    height: 100vh;
    background-image: url("../images/top/top_hero.jpg");
  }
}

.front__message--txt {
  line-height: 2.5rem !important;
}

.column-outside-right {
  flex: 1;
  margin-right: calc(50% - 50vw);
  margin-left: 0%;
}
@media (min-width: 768px) {
  .column-outside-right {
    margin-left: 4%;
  }
}

.map {
  position: relative;
  overflow: hidden;
  margin-top: 0px;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.under-page .hero {
  padding-top: 55%;
}
@media (min-width: 480px) {
  .under-page .hero {
    padding-top: 40%;
  }
}
@media (min-width: 768px) {
  .under-page .hero {
    padding-top: 36%;
  }
}
@media (min-width: 1536px) {
  .under-page .hero {
    padding-top: 30%;
  }
}

.archive-topics .hero {
  background-image: url("../images/topics/hero-topics.jpg");
}

.single-topics .hero {
  background-image: url("../images/topics/hero-topics.jpg");
}

.company .hero {
  background-image: url("../images/company/hero-company.jpg");
}

.privacy .hero {
  background-image: url("../images/privacy/hero-privacy-policy.jpg");
}

.service .hero {
  background-image: url("../images/service/hero-service.jpg?1");
}
.service .detail-button {
  display: none;
}
.service .service-card.unset.active::after {
  transform: scale(1, 0); /*X方向0、Y方向1*/
}

.online .hero {
  background-image: url("../images/online/hero-online.jpg");
}
.online .zoom {
  background: #3f81f2;
}
.online .zoom:after {
  background: #6599f3;
}
.online .teams {
  background: #6a64b8;
}
.online .teams:after {
  background: #8e87f3;
}
.online .line {
  background: #009944;
}
.online .line:after {
  background: #14e874;
}
.online ._btn {
  position: relative;
  transition: all 0.5s ease-in-out;
}
.online ._btn:after {
  content: "";
  position: absolute;
  display: block;
  box-sizing: border-box;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  mix-blend-mode: lighten;
  transition: all 0.5s ease-in-out;
}
.online ._btn:hover:after {
  width: 100%;
  height: 100%;
}
.online .flow__line {
  position: relative;
  width: 12px;
  height: 100px;
  transition: 2s;
  transform-origin: top center;
  transform: scale(1, 0);
}
.online .flow__line.active {
  transform: scale(1, 1.1);
}
.online .flow .online__flow--item:last-child .flow__line {
  display: none;
}

#line3 {
  display: none;
}

.contact .hero,
.entry .hero {
  background-image: url("../images/contact/hero-contact.jpg");
}

.ml3 {
  opacity: 0;
}

.archive-works .hero,
.single-works .hero {
  background-image: url("../images/works/hero-works.jpg");
}

.category-item a::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0%;
  /*線の形状*/
  width: 100%;
  height: 2px;
  background: green;
  /*アニメーションの指定*/
  transition: all 0.3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: center top; /*上部中央基点*/
}

.category-item a:hover::after,
.category-item.current a::after {
  transform: scale(0.7, 1);
}

.works_slider {
  width: 1200px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .works_slider {
    width: 3000px;
  }
}
.works_slider .slider {
  overflow: hidden;
}
.works_slider .slick-slide {
  margin-left: 15px;
  margin-right: 15px;
}

.pagination {
  margin: auto;
}
.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0 1rem;
  flex-wrap: wrap;
}
.pagination .page-numbers li .next,
.pagination .page-numbers li .prev,
.pagination .page-numbers li a {
  padding: 9px 15px;
  background-color: #7faa8f;
  display: block;
  font-size: 1rem;
  color: #ffffff;
}
.pagination .page-numbers li .current {
  padding: 9px 15px;
  background-color: #03561f;
  display: block;
  font-size: 1rem;
  color: white;
  border: solid 1px #03561f;
}

.contact-form {
  max-width: 780px;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .contact-form {
    padding: 0;
  }
}
.contact-form .Form-Item-Input {
  border: 1px solid #9f9f9f;
  padding: 0.6rem;
}
.contact-form input[name=zip] {
  width: 100%;
}
@media (min-width: 768px) {
  .contact-form input[name=zip] {
    width: 40%;
  }
}
.contact-form select[name=your-tool],
.contact-form select[name=your-item],
.contact-form input[name=your-name],
.contact-form input[name=your-tel] {
  width: 100%;
}
@media (min-width: 768px) {
  .contact-form select[name=your-tool],
.contact-form select[name=your-item],
.contact-form input[name=your-name],
.contact-form input[name=kana-name],
.contact-form input[name=your-tel] {
    width: 70%;
  }
.entry .contact-form input[name=your-tel] {
    width: 100%;
  }
}
.contact-form input[name=your-email],
.contact-form textarea[name=your-subject],
.contact-form input[name=addr] {
  width: 100%;
}
.contact-form > p {
  text-align: center;
}
.contact-form .Form-Btn {
  text-align: center;
  background: #03561f;
  padding: 1rem 5rem;
  width: fit-content;
  color: white;
  letter-spacing: 1px;
  max-width: 250px;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  width: 90%;
  margin: 3rem auto 0 auto;
  font-size: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    width: 50%;
    font-size: 0.7rem;
  }
}

.wpcf7-not-valid-tip {
  padding: 0.5rem 0;
  font-size: 15px !important;
}

.Form-Btn {
  box-shadow: 0px 6px 6px #a3a3a3;
}
.Form-Btn:active {
  box-shadow: none;
  position: relative;
  top: 3px;
}

.wpcf7-form-control-wrap {
  width: 70%;
}
@media (min-width: 768px) {
  .wpcf7-form-control-wrap {
    width: 100%;
  }
}
.wpcf7-form-control-wrap .Form-Item-Input {
  width: 100%;
  background-color: #f8f8f8;
}

.must {
  background-color: red;
  padding: 0.3rem;
  margin-left: 5px;
}

.online .contact-form input[name=birth-y],
.online .contact-form .ymdh {
  margin: 0 1rem;
}
.online .Form-Btn {
  margin-top: 2rem;
}

.map-wrap {
  z-index: -1;
}
.map-wrap .column-outside-right {
  flex: 1;
  margin-right: calc(50% - 50vw);
  margin-left: 0%;
}
@media (min-width: 768px) {
  .map-wrap .column-outside-right {
    margin-left: 4%;
  }
}
.map-wrap .map {
  position: relative;
  overflow: hidden;
  margin-top: 0px;
}
.map-wrap .map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.drawer--right.drawer-open .drawer-hamburger {
  right: 0;
  z-index: 100;
}

.drawer-hamburger-icon, .drawer-hamburger-icon:after, .drawer-hamburger-icon:before {
  background-color: #fff;
}

.drawer-hamburger {
  top: 3%;
  z-index: 10000;
}

.service-card::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0%;
  left: 0%;
  /*線の形状*/
  width: 100%;
  height: 2px;
  background: #eeeeee;
  /*アニメーションの指定*/
  transition: all 0.9s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*上部中央基点*/
}

.service-card:last-child::after {
  display: none;
}

.service-card.active::after {
  transform: scale(1, 1); /*X方向0、Y方向1*/
}

.breadcrumbs {
  line-height: 2.2rem;
}
.breadcrumbs span[property=name]:not(.current-item) {
  color: green;
  border-bottom: green solid 2px;
}

.page-title .main-title {
  letter-spacing: 0.3rem;
}
@media (min-width: 480px) {
  .page-title .main-title {
    letter-spacing: 0.5rem;
  }
}
@media (min-width: 768px) {
  .page-title .main-title {
    letter-spacing: 1rem;
  }
}

.bgextend {
  animation-name: bgextendAnimeBase;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  position: relative;
  overflow: hidden; /*　はみ出た色要素を隠す　*/
  opacity: 0;
}

@keyframes bgextendAnimeBase {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/*中の要素*/
.bgappear {
  animation-name: bgextendAnimeSecond;
  animation-duration: 0.6s;
  animation-delay: 0.6s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes bgextendAnimeSecond {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
/*左から右*/
.bgLRextend::before {
  animation-name: bgLRextendAnime;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #fff; /*伸びる背景色の設定*/
}

@keyframes bgLRextendAnime {
  0% {
    transform-origin: left;
    transform: scaleX(0);
  }
  50% {
    transform-origin: left;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: right;
  }
  100% {
    transform-origin: right;
    transform: scaleX(0);
  }
}
/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
.bgappearTrigger,
.bgLRextendTrigger {
  opacity: 0;
}

header {
  z-index: 999;
  transition: 0.3s;
}
header::before {
  content: "";
  width: 360px;
  height: 100px;
  background: #03561f;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: left bottom;
  transform: rotate(-30deg);
  z-index: -1;
  opacity: 1;
}
@media (min-width: 480px) {
  header::before {
    height: 130px;
  }
}
@media (min-width: 768px) {
  header::before {
    height: 150px;
  }
}
@media (min-width: 1024px) {
  header::before {
    height: 180px;
  }
}
header.fixed::before {
  opacity: 0;
}
header.active {
  padding: 0 1rem;
  background-color: #03561f;
}
@media (min-width: 768px) {
  header.active {
    padding: 0 2rem;
  }
}

.under-triangle::before {
  content: "";
  width: 600px;
  height: 130px;
  background: #03561f;
  position: absolute;
  left: 30%;
  top: 0;
  transform-origin: left bottom;
  transform: rotate(-30deg);
  opacity: 1;
}
@media (min-width: 768px) {
  .under-triangle::before {
    height: 180px;
  }
}
@media (min-width: 1024px) {
  .under-triangle::before {
    height: 200px;
  }
}

.nav-item a::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0%;
  /*線の形状*/
  width: 100%;
  height: 2px;
  background: #ffffff;
  /*アニメーションの指定*/
  transition: all 0.3s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: center top; /*上部中央基点*/
}

.nav-item a:hover::after,
.nav-item.current a::after {
  transform: scale(1, 1);
}

.footer {
  background-color: #03561f;
}

html {
  font-size: 16px;
}

.mincho {
  font-family: "Sawarabi Mincho" serif;
}

.sp-br {
  display: none;
}

@media (max-width: 767px) {
  .sp-br {
    display: block;
  }
}

.text-shadow {
  text-shadow:
    0 2px 4px rgba(0, 0, 0, 0.8),
    0 4px 10px rgba(0, 0, 0, 0.6);
}

