/* ----- common ----- */
#strength #menu_pc nav ul li:nth-of-type(2) a,
#service #menu_pc nav ul li:nth-of-type(3) a,
#recruit #menu_pc nav ul li:nth-of-type(4) a,
#about #menu_pc nav ul li:nth-of-type(5) a,
#contact #menu_pc nav ul li:nth-of-type(6) a {
  color: #254fa5;
  font-weight: bold;
}
/* title */
.sub_title {
  background: #eef1f8 url("../images/lower/sub_title_bg.png") no-repeat top left;
  background-size: contain;
  position: relative;
  z-index: 0;
}
.sub_title .ttl_cotns {
  width: 80%;
  max-width: 980px;
  margin: 0 auto;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sub_title h2 {
  margin: 0 auto 0 0;
  font-size: 46px;
  line-height: 1.4;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 700;
  color: #062752;
  position: relative;
}
.sub_title h2 span {
  width: 100%;
  font-size: 100%;
  font-family: "Dancing Script", cursive;
  font-weight: 300;
  color: #b0c7db;
  position: absolute;
  top: -0.75em;
  left: -1.2em;
  z-index: -1;
  transition: all 1s ease;
  transform: rotate(-15deg);
}

.sub_title .ttl_img,
.sub_title .ttl_img_shadow {
  width: 54%;
  max-width: 800px;
  height: 380px;
  --cut: 266px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
}
.sub_title .ttl_img {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  transition: all 0.3s ease 0s;
}
.sub_title .ttl_img_shadow {
  background: #254fa5;
  opacity: 0;
  box-shadow: -10px 0 0#062752;
  position: absolute;
  top: 0;
  right: 60px;
  z-index: -1;
}
.sub_title .ttl_img img {
  object-fit: cover;
  object-position: center bottom;
  width: 100%;
  height: 100%;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .sub_title h2 {
    font-size: calc(100vw / 20);
  }
  .sub_title,
  .sub_title .ttl_cotns,
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    height: 240px;
  }
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    width: 40%;
    --cut: 170px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
  }
}
@media screen and (max-width: 768px) {
  .sub_title,
  .sub_title .ttl_cotns,
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    height: 240px;
  }
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    width: 40%;
    --cut: 170px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
  }
  .sub_title .ttl_img_shadow {
    right: 30px;
  }
  .sub_title h2 {
    padding: 0 0 2vw 6vw;
    margin-bottom: 0;
    font-size: calc(100vw / 20);
  }
  .sub_title h2 span {
    top: -1.5em;
    left: -1em;
  }
}
@media screen and (max-width: 431px) {
  .sub_title,
  .sub_title .ttl_cotns,
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    height: 140px;
  }
  .sub_title .ttl_img,
  .sub_title .ttl_img_shadow {
    --cut: 90px;
    clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%);
  }
  .sub_title h2 {
    padding: 0 0 0 10vw;
    margin-bottom: 0;
    font-size: calc(100vw / 16);
  }
}

article {
  background-image: linear-gradient(100deg, #e0e8fa 5%, #ffffff 20%, #ffffff 80%, #ddeef5 95%);
}
@media screen and (max-width: 431px) {
  article {
    background-image: linear-gradient(90deg, #e0e8fa99 0%, #ffffff 20%, #ffffff 80%, #ddeef599 100%);
  }
}
/* list-style */
.list-beasic {
  margin-left: 28px;
  position: relative;
}
.list-beasic::before {
  content: "";
  display: block;
  background: #40505b;
  width: 8px;
  height: 8px;
  border-radius: 30px;
  position: absolute;
  top: 14px;
  left: -21px;
}
@media screen and (max-width: 1081px) {
  .list-beasic::before {
    top: 0.5em;
    left: -1.5em;
  }
}
@media screen and (max-width: 768px) {
  .list-beasic {
    margin-left: 5vw;
  }
  .list-beasic::before {
    width: 2vw;
    height: 2vw;
    top: 2vw;
    left: -3vw;
  }
}
@media screen and (max-width: 431px) {
  .list-beasic::before {
    width: 5px;
    height: 5px;
  }
}

/* ----- お問い合わせフォームの導線 ----- */
.contact_box {
  padding: 80px 0;
  position: relative;
  z-index: 0;
}
.contact_box p {
  text-align: center;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-size: 1.2em;
  font-weight: 700;
  text-shadow: 0 3px 0 #ddeef5;
}
.contact_box .main_btn {
  margin: 30px auto;
}

/* ----- about.php #about ----- */
/* about */
.introduction {
  padding: 100px 0;
  position: relative;
  z-index: 0;
}
#about .introduction .intro_txt p {
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.8;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .introduction {
    padding: 10vw 0;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #about .introduction {
    padding: 10vw 0 22vw;
  }
}
/* .information */
#about .information {
  /* background: #ffffff; */
  overflow: hidden;
}
#about .information .cotns_box {
  max-width: 860px;
  margin: 0 auto 60px;
}
#about .information .info_list {
  border: 3px solid #0046a0;
  width: 100%;
  margin: 20px auto 80px;
}
#about .information .info_list .info_item {
  display: flex;
  flex-wrap: wrap;
  line-height: 1.6 !important;
}
#about .information .info_list .info_item dt {
  width: 20%;
  max-width: 200px;
  padding: 10px;
  padding-left: calc(1em + 8px);
  background: #0046a0;
  color: #ffffff;
}
#about .information .info_list .info_item dt.list-beasic {
  margin-left: 0;
}
#about .information .info_list .info_item dt.list-beasic::before {
  background: #ffffff;
  left: 0.5em;
}
#about .information .info_list .info_item div {
  background: #ffffff;
  width: 80%;
  padding: 10px;
  border-bottom: 2px solid #0046a0;
}
#about .information .info_list .info_item dt {
  border-bottom: 2px solid #062752;
}
#about .information .info_list .info_item:last-child dt,
#about .information .info_list .info_item:last-child div {
  border: none;
}
#about .information .info_list .info_item dd {
  width: 100%;
  background: #ffffff;
  color: #555555;
}
#about .information .info_list .info_item dd em,
#about .information .info_list .info_item dd span {
  display: block;
  width: fit-content;
  margin-bottom: 5px;
}
#about .information .info_list .info_item dd em {
  font-weight: bold;
}
#about .information .info_list .info_item dd span {
  padding-left: 20px;
}

@media screen and (max-width: 1081px) {
  #about .information .info_list {
    width: 100%;
  }
}
@media screen and (max-width: 811px) {
  #about .information .info_list .info_item dt {
    width: 25%;
    padding: 2% 1%;
  }
  #about .information .info_list .info_item div {
    width: 75%;
    padding: 2% 1%;
  }
}

#about .about .about_box {
  position: relative;
  height: 46vh;
}
#about .about .about_box .about_cntns {
  width: 45%;
  max-width: 680px;
}
#about .about .about_box .about_img {
  width: 50%;
  max-width: 770px;
  height: 400px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  #about .about .about_box {
    height: 87vw;
  }
  #about .about .about_box .about_cntns {
    width: 100%;
    margin: 0 0 5vw 0;
    text-align: center;
    position: static;
  }
  #about .about .about_box .about_img {
    width: 100%;
    height: 24vh;
    top: 20vh;
    position: static;
  }
  #about .about .about_box .about_img img {
    object-fit: cover;
  }
  #about .about .about_box .main_btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
  }
}

/* workinfo */
#about .workinfo {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#about .workinfo .workinfo_intor {
  margin-bottom: 60px;
}
#about .workinfo .workinfo_box {
  margin: 30px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
#about .workinfo .workinfo_items {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-content: space-between;
  width: calc((100% / 4) - 30px);
  padding: 20px;
  border: 2px solid #254fa5;
  position: relative;
  z-index: 0;
}
#about .workinfo .workinfo_items::after {
  content: "";
  display: block;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border: 2px solid #b0c7db;
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: -1;
}
#about .workinfo .workinfo_items dt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 10px;
}
#about .workinfo .workinfo_items .workinfo_img {
  line-height: 0;
  padding-bottom: 5px;
}
#about .workinfo .workinfo_items .workinfo_txt {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  background-color: #fff;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(0deg, #ccc 1px, transparent 1px);
  background-size: 8px 100%, 100% 1.7em;
  line-height: 1.72em;
  padding-bottom: 5px;
  flex-grow: 2;
}
#about .workinfo .main_btn {
  margin: 120px auto 30px;
}
@media screen and (max-width: 1081px) {
}

@media screen and (max-width: 821px) {
  #about .workinfo .workinfo_items {
    width: calc((100% / 2) - 30px);
  }
}
@media screen and (max-width: 430px) {
  #about .workinfo .workinfo_items {
    width: calc((100%) - 80px);
    margin-right: 10px;
  }
  #about .workinfo .workinfo_items dt {
    font-size: 1.2em;
  }
}

/* ----- strength.php #strength ----- */
#strength .sub_title h2 span {
  position: absolute;
  top: -1em;
  left: -2em;
  transform: rotate(-10deg);
}
@media screen and (max-width: 430px) {
  #strength .sub_title h2 {
    font-size: calc(100vw / 18);
  }
  #strength .sub_title h2 span {
    font-size: calc(100vw / 20);
    position: absolute;
    top: -2em;
    left: -1.5em;
    transform: rotate(-10deg);
  }
}
#strength .point .cotns_box {
  margin: 0 auto;
}
#strength .point {
  position: relative;
  z-index: 0;
  overflow: hidden;
}
#strength .point .point_box {
  margin: 0 auto 30px;
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 120px 40px;
}
#strength .point .point_items {
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-content: space-between;
  width: calc((100% / 3) - 30px);
  padding: 0 20px 20px 20px;
  border: 2px solid #254fa5;
  position: relative;
}
#strength .point .point_items dt {
  display: flex;
  min-height: 3.4em;
  background: #254fa5;
  margin-top: -1.2em;
  margin-bottom: 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 115%;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.4;
  position: relative;
}
#strength .point .point_items dt::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #254fa5;
}
#strength .point .point_items dt span {
  display: block;
  width: fit-content;
  padding: 3px 6px;
  background: #cde8ff;
  font-size: 80%;
  font-family: "Zen Old Mincho";
  color: #0046a0;
  border-radius: 10px;
}

#strength .point .point_items .point_img {
  line-height: 0;
  padding-bottom: 5px;
}
#strength .point .point_items .point_txt {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  background-color: #fff;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #fff 50%, #fff 100%), linear-gradient(0deg, #ccc 1px, transparent 1px);
  background-size: 8px 100%, 100% 1.81em;
  line-height: 1.8em;
  padding-bottom: 10px;
  flex-grow: 2;
}
@media screen and (max-width: 1081px) {
}

@media screen and (max-width: 821px) {
  #strength .point .point_items {
    width: calc((100% / 2) - 30px);
  }
}
@media screen and (max-width: 430px) {
  #strength .point .point_items {
    width: calc((100%) - 60px);
  }
  #strength .point .point_items .point_txt {
    padding-bottom: 5vw;
  }
}

/* ----- service.php #service ----- */
#service .works {
  position: relative;
  overflow: hidden;
}
#service .works .works_box .cotns_box {
  margin: 0 auto 30px;
  padding: 60px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 120px 30px;
}
#service .works .works_items {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  gap: 60px;
  padding: 0 20px 20px 20px;
  position: relative;
}
#service .works .works_items:nth-of-type(odd)::before,
#service .works .works_items:nth-of-type(even)::before {
  content: "";
  display: block;
  width: 90vw;
  height: 60%;
  opacity: 0;
  transform: translate(0, 200px);
  transition: opacity 1s ease, transform 1s ease;
  z-index: -1;
}
#service .works .works_items:nth-of-type(odd)::before {
  background: #254fa522;
  position: absolute;
  top: 0;
  left: 0;
}
#service .works .works_items:nth-of-type(even)::before {
  position: absolute;
  top: 0;
  right: 0;
  background: #82d2eb33;
}
#service .works .works_items:nth-of-type(odd).is-active::before,
#service .works .works_items:nth-of-type(even).is-active::before {
  opacity: 1;
  transform: translate(0, 0);
}

#service .works .works_items dl {
  width: calc(57% - 30px);
  padding: 4%;
  margin-right: 2%;
  background-color: #ffffff;
}
#service .works .works_items dl dt {
  width: 100%;
  margin: 0 0 10px;
  padding: 6px 10px 10px 20px;
  font-size: 1.6em;
  font-weight: bold;
  border-left: 6px solid #40505b;
  border-bottom: 4px solid #254fa5;
  position: relative;
}

#service .works .works_items .works_txt {
  display: flex;
  flex-direction: column;
  align-content: space-between;
  background-image: linear-gradient(90deg, transparent 0%, transparent 50%, #ffffff 50%, #ffffff 100%), linear-gradient(0deg, #ccc 1px, transparent 1px);
  background-size: 8px 100%, 100% 1.7em;
  line-height: 1.72em;
  padding-bottom: 20px;
  flex-grow: 2;
}
#service .works .works_items .works_list_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#service .works .works_items .works_list_item li {
  width: calc((100% / 3) - 10px);
}
#service .works .works_items .works_list > p {
  background: #254fa5;
  color: #fff;
  font-weight: bold;
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
}
#service .works .works_items .works_img {
  width: calc(42% - 30px);
  line-height: 0;
  box-shadow: -20px 30px 0 #254fa5;
  align-self: flex-start;
}

@media screen and (max-width: 768px) {
  #service .works .works_box .cotns_box {
    margin: 0 auto 30px;
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  #service .works .works_items dl {
    width: 100%;
  }
  #service .works .works_items .works_img {
    width: 70%;
    box-shadow: -4vw 3vw 0 #254fa5;
  }
  #service .works .works_items:nth-of-type(odd)::before,
  #service .works .works_items:nth-of-type(even)::before {
    width: 80vw;
    height: 75%;
  }
  #service .works .works_items:nth-of-type(odd) .works_img {
    margin: 0 0 0 auto;
  }
  #service .works .works_items:nth-of-type(even) .works_img {
    margin: 0 auto 0 0;
    box-shadow: 4vw 3vw 0 #254fa5;
  }
}
@media screen and (max-width: 430px) {
}
/* works-collction (実績) */

/* ポップアップの初期状態 */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  padding: 20px;
}

/* クリック後の表示状態（:target 発火） */
.popup:target {
  opacity: 1;
  pointer-events: auto;
  z-index: 999;
}

.popup-wrap .thumb {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}
.popup-wrap .thumb:after {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.popup-wrap .thumb:hover::after {
  content: attr(data-nema);
  background: #00000055;
  color: #ffffff;
  text-align: center;
}
.popup-wrap .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup .img-wrap {
  max-width: 70vw;
  max-height: 70vh;
  overflow: hidden;
  position: relative;
}

/* キャプション */
.popup figcaption {
  max-width: 80vw;
  margin-top: 15px;
  color: #fff;
  line-height: 1.2;
}

/* 背景クリックで閉じる */
.popup .close {
  display: block;
  content: "";
  background: #666666cc;
  font-size: 200%;
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
}
/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  .popup-wrap .thumb {
    border-radius: 8px;
  }
}
/* スマートフォン用のスタイル */

/* もっと見る */
#about .works .works_collection ul {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
#about .works .works_collection ul li {
  display: flex;
  width: calc((100% / 4) - 30px);
  margin: 0 15px;
  background: #000000;
  line-height: 0;
}
#about .works .works_collection ul .works_collection_item {
  opacity: 0;
  height: 0;
  margin-bottom: 0;
  transition: all 0.5s ease 0s;
}
#about .works .works_collection ul .works_collection_item.visible {
  opacity: 1;
  height: auto;
  margin-bottom: 30px;
  transition: all 0.5s ease 0s;
}
#about .works .works_collection ul li img {
  align-self: center;
}
#about .works .works_collection ul li video {
  width: 100%;
}

#load-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px;
  width: fit-content;
  min-height: 60px;
  margin: auto;
  background: #0046a0;
  font-size: 20px;
  font-family: "Noto Serif JP", serif;
  color: #ffffff;
  text-align: center;
  position: relative;
  transition: all 0.3s ease 0s;
}

#load-more-btn:hover {
  opacity: 0.7;
  transition: all 0.3s ease 0s;
}

@media screen and (max-width: 768px) {
  #about .works .works_collection ul {
    padding: 0 6vw;
  }
  #about .works .works_collection ul li {
    width: calc((100% / 2) - 4%);
    margin: 0 2%;
  }
  #about .works .works_collection ul .works_collection_item.visible {
    margin-bottom: 4%;
  }
  #load-more-btn {
    font-size: calc(100vw / 30);
    padding: 5vw 10vw;
    min-height: 40px;
  }
}

/* ----- recruit.php #recruit ----- */
.recruit-info_cntns {
  width: 94%;
  max-width: 860px;
  margin: 60px auto;
}
.conditions_list {
  width: 90%;
  max-width: 860px;
  margin: 60px auto 80px;
  flex-wrap: wrap;
  background: #ffffff44;
}
.conditions_item {
  width: 100%;
  padding: 2% 0;
  display: flex;
  flex-wrap: wrap;
  border-top: 2px solid #40505b;
}
.conditions_item:last-child {
  border-bottom: 2px solid #40505b;
}
.conditions_item dt {
  width: 24%;
  max-width: 200px;
  line-height: 1.6;
  position: relative;
}
.conditions_item dt::after {
  content: "|";
  display: block;
  color: #40505b;
  position: absolute;
  top: 0;
  right: 0;
}
.conditions_item dd {
  padding-left: 20px;
  width: 70%;
  max-width: 660px;
  line-height: 1.6;
}
@media screen and (max-width: 768px) {
  .recruit-info_cntns {
    margin: 6vw auto;
  }
  .conditions_list {
    margin: 4vw auto 12vw;
  }
  .conditions_item dt {
    line-height: 1.2;
  }
  .conditions_item dd {
    padding-left: 3vw;
    width: 70%;
  }
  .conditions_item dd a {
    pointer-events: none;
    display: inline;
  }
  .conditions_item dt::after {
    top: 3px;
  }
}
