/* ========== common ========== */
/* body .lower {
  font-size: 20px;
} */
#about #menu_nav nav ul li:nth-of-type(2) a,
#service #menu_nav nav ul li:nth-of-type(3) a,
#works #menu_nav nav ul li:nth-of-type(4) a,
#recruit #menu_nav nav ul li:nth-of-type(5) a,
#contact #menu_nav nav ul li:nth-of-type(6) a {
  color: var(--main-color);
  font-weight: bold;
}

.lower {
  background: var(--main-color) linear-gradient(70deg, #1a526d 30%, #62b1d8 60%, #347596 96%, #1a526d 100%);
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.lower .cotns_box {
  width: 92%;
  max-width: 1200px;
  background: #ffffff;
  box-shadow: 0 0 12px #33333366;
  margin: 60px auto;
  padding: 60px;
}
.gold_frame::before {
  content: "";
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background-image: linear-gradient(45deg, #d99d26, #fff6a7 88%, #f7e46f 92%, #d99d26);
  box-shadow: 0 0 10px #33333366;
  position: absolute;
  top: -2px;
  left: -2px;
  z-index: -2;
}
@media screen and (max-width: 768px) {
  .lower .cotns_box {
    box-shadow: 0 0 5px #aaaaaacc;
    margin: 12vw auto 24vw;
    padding: 6vw;
  }
}
/* title */
.sub_title {
  position: relative;
  background: url(../images/common/contactad_bg.jpg) no-repeat center top;
  background-size: cover;
  overflow: hidden;
  z-index: 1;
  border-top: 10px var(--point1-color) solid;
}
#about .sub_title {
  background-image: url(../images/lower/about_bg.jpg);
}
#service .sub_title {
  background-image: url(../images/lower/service_bg.jpg);
}
#works .sub_title {
  background: url(../images/lower/works_bg.jpg) no-repeat center bottom 40%;
}
#recruit .sub_title {
  background-image: url(../images/lower/recruit_bg.jpg);
}
.sub_title::after {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background-image: linear-gradient(90deg, #d99d26, #fff6a7 88%, #f7e46f 92%, #d99d26);
  transition: all 1s ease-out;
}
.sub_title .ttl_cotns {
  width: 92%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.sub_title .ttl_cotns {
  height: 50svh;
}
.sub_title .ttl_cotns h2 {
  width: 100%;
  height: calc(2em - 30px);
  margin: 0 0 0 50px;
  font-size: 42px;
  font-weight: 500;
  font-family: "Zen Old Mincho", serif;
  line-height: 1;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}
.sub_title .ttl_cotns h2 span {
  display: block;
  width: 100%;
  padding: 10px 0 15px;
  position: absolute;
  bottom: calc((2em - 30px) * -1);
  z-index: 1;
  transition: all 1s;
}
.sub_title .ttl_cotns.is-active h2 span {
  bottom: 0;
}
@media screen and (max-width: 1081px) {
  .sub_title .ttl_cotns {
    height: 30svh;
  }
  .sub_title .ttl_cotns h2 {
    margin: auto;
    height: 2em;
    font-size: clamp(2.8rem, 5.2vw, 3.4rem);
  }
  .sub_title .ttl_cotns.is-active h2 span {
    padding-left: 4vw;
  }
}
@media screen and (max-width: 768px) {
  .sub_title {
    margin-top: 50px;
  }
  .sub_title .ttl_cotns {
    height: 24vh;
  }
  .sub_title h2 {
    height: auto;
  }
}

/* ========== about.php ========== */
/* .information */
#about .information {
  padding: 0 0 80px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
#about .information .conditions_copy {
  margin: 0 auto;
  padding: 80px 0 80px;
  background: url(../images/lower/about_intro_bg.png) no-repeat top left;
  background-size: auto 100%;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

#about .information .conditions_copy h4 {
  width: fit-content;
  display: block;
  text-align: center;
  font-family: "Zen Old Mincho", serif;
  font-weight: 600;
  color: #fff6a7;
  font-size: 1.6em;
  margin: 0 auto 20px;
}
#about .information .conditions_copy p {
  width: fit-content;
  margin: 20px auto;
  font-size: 1.2em;
  text-align: center;
}
#about .information .conditions_copy p span {
  display: block;
  font-size: 90%;
}
#about .information .conditions_list {
  width: 80%;
  margin: 80px auto;
  padding: 60px;
  background: #ffffff;
  position: relative;
}
#about .information .conditions_list::after {
  content: "";
  width: 0;
  height: 40%;
  display: block;
  background: var(--bg-color);
  position: absolute;
  top: -80px;
  left: -40vw;
  z-index: -3;
  transition: all 1s ease-out;
}
#about .information .conditions_list.is-active::after {
  width: 120vw;
}
#about .information .conditions_item {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
#about .information .conditions_item dt {
  width: 22%;
  max-width: 160px;
  padding: 15px 10px 15px 20px;
  line-height: 1.6;
  position: relative;
  border-bottom: 4px solid var(--point1-color);
}
#about .information .conditions_item dd {
  padding: 15px 10px;
  width: calc(100% - 160px);
  line-height: 1.6;
  border-bottom: 4px solid var(--main-color);
}

@media screen and (max-width: 1081px) {
  #about .information .conditions_copy {
    padding: 8svh 0 8svh;
    background-position: bottom left;
    background-size: 100% auto;
  }
  #about .information .conditions_list {
    width: 100%;
  }
  #about .information .conditions_item {
    font-size: 100%;
  }
  #about .information .conditions_item dt {
    width: 20%;
    padding: 2vw 0 2vw 2vw;
  }
  #about .information .conditions_item dd {
    width: 80%;
    padding: 2vw 1vw;
  }
}
@media screen and (max-width: 768px) {
  #about .information {
    padding: 8vw 0;
  }
  #about .information .conditions_list::after {
    content: "";
    width: 0;
    height: 30%;
    display: block;
    background: var(--bg-color);
    position: absolute;
    top: -80px;
    left: -40vw;
  }
  #about .information .conditions_list.is-active::after {
    width: 100vw;
  }
  #about .information .conditions_list {
    width: 100%;
    margin: 80px auto;
    padding: 4vw;
  }
  #about .information .conditions_item .list-beasic {
    padding-left: 4vw;
  }
  #about .information .conditions_item .list-beasic::before {
    width: 2vw;
    height: 2vw;
    margin-left: 0;
    border-width: 6px;
    top: 1em;
  }
  #about .information .conditions_item dt {
    width: 30%;
    padding: 1svh 0vw 1svh 3vw;
  }
  #about .information .conditions_item dd {
    width: 70%;
    padding: 2vw 1vw;
  }
  #about .information .conditions_item dd a {
    pointer-events: none;
    display: inline-block;
  }
  #about .information .conditions_copy p {
    font-size: 1em;
  }
}
/* .aboutus */
#about .aboutus {
  padding: 80px 0;
  position: relative;
}
#about .aboutus::before {
  content: "";
  display: block;
  width: 0;
  height: 240px;
  background: var(--bg-color);
  transition: all 1s ease-out;
  position: absolute;
  top: -3%;
  left: -2%;
  transform: rotate(-3deg);
  z-index: 2;
}
#about .aboutus.is-active::before {
  width: 105%;
}
#about .aboutus .aboutus_wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 5;
}
#about .aboutus .aboutus_wrap .aboutus_box {
  width: 50%;
  padding: 5svh 5vw 5svh 3vw;
  background: #ffffffaa;
}
@media screen and (min-width: 1400px) {
  #about .aboutus .aboutus_wrap {
    gap: 60px;
  }
  #about .aboutus .aaboutwrap .aboutus_box {
    width: fit-content;
    padding-left: 0;
  }
}
#about .aboutus .aboutus_wrap .aboutus_box h3 {
  text-align: left !important;
  font-size: clamp(2.8rem, 3.2vw, 3.4rem) !important;
}
#about .aboutus .aboutus_wrap .aboutus_box h3 span {
  line-height: 1.6 !important;
}
#about .aboutus .aboutus_wrap .aboutus_box h3 .hl_catch {
  text-align: left !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}
#about .aboutus .aboutus_wrap .aboutus_img {
  width: 46%;
}

#about .map {
  line-height: 0;
  position: relative;
  padding: 0;
}

/* タブレット用のスタイル */
@media screen and (max-width: 1081px) {
  #about .aboutus .aboutus_wrap .aboutus_box {
    width: 53%;
    padding: 3svh 3vw 2svh 4vw;
    margin-top: 5svh;
  }
  #about .aboutus .aboutus_wrap {
    align-items: flex-start;
  }
}
/* スマートフォン用のスタイル */
@media screen and (max-width: 768px) {
  #about .aboutus .aboutus_wrap .aboutus_box {
    width: 100%;
    margin: 2svh 0 2svh 6vw;
    padding: 2svh 4vw 2svh 6vw;
  }
  #about .aboutus .aboutus_wrap .aboutus_box h3 {
    font-size: clamp(2rem, 7vw, 2.8rem) !important;
  }
  #about .aboutus .aboutus_wrap .aboutus_img {
    width: 80%;
  }
  #about .map {
    height: 36svh;
  }
}
@media screen and (max-width: 430px) {
}
/* ========== #service ========== */
/* .information */
#service > * {
  color: #ffffff;
}
#service .information {
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

#service .information .intro_txt {
  margin: 0 auto;
  padding: 0 0 80px;
  color: #ffffff;
  font-size: 1.2em;
}

#service .service {
  margin: 0 auto 80px;
}
#service .service_box {
  margin: 0 auto 80px;
}
#service .service_box .service_ancbox {
  max-width: 1200px;
  margin: 0 auto 60px;
}
.anc_hl {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 30px;
  font-family: "Zen Old Mincho", serif;
  font-weight: bold;
  text-align: center;
  font-size: 1.4em;
  position: relative;
  z-index: 0;
}
.anc_hl span {
  border-left: 3px solid var(--main-color);
  border-right: 3px solid var(--main-color);
  padding: 5px 20px;
  /* background: #ffffff; */
}
.anc_hl::before,
.anc_hl::after {
  content: "";
  width: 50%;
  height: 3px;
  background: var(--main-color);
  z-index: -1;
  position: absolute;
  top: 50%;
}
.anc_hl::before {
  left: calc(50% + 70px);
}
.anc_hl::after {
  right: calc(50% + 70px);
}
.job_nav {
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.job_nav li {
  width: calc((100% / 4) - 40px);
  background: var(--main-color);
  background-position: center;
  border: 1px solid var(--gold-color);
  transition: all 0.5s ease-out;
}
.job_nav li:hover {
  background: var(--sub-color);
}
.job_nav li a {
  padding: 1svh 1vw;
  text-align: center;
  font-family: "Noto Sans jp", sans-serif;
  color: #ffffff;
}
.service_list .cntns_hl2 {
  margin: 120px 0 80px;
  border-bottom: 4px dotted var(--main-color);
}
.service_list_cut {
  margin: 120px 0 80px;
  border-bottom: 4px dotted var(--main-color);
}
.service_list {
  position: relative;
  margin-bottom: 60px;
}
.service_list .job_item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0;
  border-bottom: 1px solid #ffffff;
}
.service_list #service01.job_item {
  padding-top: 0;
}
.service_list .job_items_cont {
  width: 30%;
  max-width: 680px;
  margin: 0 auto 0 10vw;
}
.service_list .job_items_name {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  font-size: clamp(2.8rem, 2em, 3rem);
  font-weight: bold;
  color: var(--point2-color);
  border-bottom: 2px dotted var(--point2-color);
  overflow: hidden;
}
.service_list .job_items_cat {
  width: fit-content;
  margin-bottom: 20px;
  background: #ffffff;
  line-height: 2;
  color: var(--sub-color);
  border: 3px var(--bg-color) solid;
  border-radius: 10px;
  position: relative;
}
.service_list .job_items_cat span {
  background: var(--bg-color);
  color: #ffffff;
  /* margin-right: 10px; */
  padding: 5px 10px;
}
.service_list .job_items_txt {
  line-height: 2;
  position: relative;
}
.service_list .job_items_txt .list-beasic {
  display: block;
}
.service_list .job_items_txt .list-beasic::before {
  top: 0.5em;
  border-left-color: var(--bg-color);
}
.service_list .job_items_img {
  width: 46%;
  height: 52svh;
  max-height: 560px;
  margin: 0 0 0 2vw;
  line-height: 0;
  overflow: hidden;
  transition: box-shadow 1.5s ease;
}
.service_list .job_items_img span {
  padding: 0;
  width: 100%;
  height: 100%;
}
.service_list .job_items_img.is-active {
  box-shadow: -3vw 0 0 #002d4388;
}
.service_list .job_items_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 反転 */
.service_list .job_item:nth-of-type(even) .job_items_cont {
  order: 2;
  /* margin: 0 10vw 0 auto; */
}
.service_list .job_item:nth-of-type(even) .job_items_img {
  margin: 0 2vw 0 0;
  order: 1;
}
.service_list .job_item:nth-of-type(even) .job_items_img.is-active {
  box-shadow: 3vw 0 0 #002d4388;
}

@media (max-width: 1081px) {
  #service .information {
    padding: 8svh 0 0;
  }

  #service .information .intro_txt {
    padding: 0 0 8svh;
    font-size: 1em;
  }
  .job_nav {
    margin-bottom: 6vw;
    gap: 2vw;
  }
  .job_nav li {
    width: calc((100% / 4) - 20px);
  }
  .service_list_cut {
    margin: 8svh 0 8svh;
  }
  .service_list {
    padding-top: 5vw;
  }
  .service_list .job_items_img {
    width: 46%;
    height: 300px;
  }
  .service_list .job_items_cont {
    width: 42%;
    margin: 0 auto 0 3vw;
  }
}
@media (max-width: 768px) {
  .job_nav {
    padding: 2vw;
    gap: 10px;
    flex-wrap: wrap;
  }
  .job_nav li {
    width: calc((100% / 2) - 10px);
    max-width: none;
  }
  .service_list {
    position: relative;
    padding: 5vw 0;
    margin-bottom: 60px;
  }
  .service_list .job_items_cont {
    width: 80%;
    margin: 0 auto 10px;
    padding: 3svh 0;
    line-height: 2;
    position: relative;
  }
  .service_list .job_items_name {
    font-size: clamp(1.6rem, 1.4em, 2.4rem);
  }
  /* .service_list .job_items_cat {
    width: fit-content;
    margin: 0 0 10px auto;
    padding-right: 10px;
  } */
  .service_list .job_items_img {
    width: 100%;
    height: 56vw;
    margin: 0;
    box-shadow: none;
  }

  .service_list .job_item:nth-of-type(even) .job_items_cont {
    order: 1;
  }
  .service_list .job_item:nth-of-type(even) .job_items_img {
    margin: 0;
    order: 2;
  }
  .service_list .job_item:nth-of-type(even) .job_items_img.is-active {
    box-shadow: none;
  }
}

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

/* ----- works.php #works ----- */
#works .gallery {
  padding: 80px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
#works .gallery .intro_txt h4 {
  border-bottom: 2px solid var(--gold-color);
  font-size: 1.4em;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 30px;
  padding-bottom: 20px;
}
/*
#works .gallery .intro_txt::before {
  content: "▶︎";
  display: inline-block;
  font-size: 12px;
  margin-bottom: 7px;
  margin-right: 5px;
  vertical-align: middle;
} 
*/

/*- ギャラリー -*/
.gallerylist_content {
  margin: 60px auto;
}

/*-- 写真切り替え --*/
#wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}
#slider {
  width: 100%;
  margin: 0 auto 30px;
}

#works .slick-slider {
  width: 50%;
}
#works .slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#works .slick-track {
  display: flex;
  align-items: center;
  background: #ccc;
}
#works #thumbnail-list {
  margin: 0 auto 0;
  padding: 0 4%;
  display: flex;
  justify-content: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 20px 2%;
}
#works #thumbnail-list li:last-of-type {
  margin-right: 0%;
}
#works .thumbnail-item {
  display: inline-block;
  width: calc(94% / 3);
  max-height: 150px;
  margin-bottom: 10px;
  background: url(../images/common/dummy_bnr_480-340_sp.jpg) no-repeat center center;
  background-size: contain;
  flex: 0 1 1;
  line-height: 0;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: all 0.5s;
  opacity: 0;
}
@media screen and (min-width: 1280px) {
  #works .thumbnail-item {
    width: calc(94% / 4);
  }
}
#works .thumbnail-item:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0.5;
  transition: 0.3s opacity linear;
}
#works .thumbnail-item.thumbnail-current:after {
  opacity: 0;
}
#works .thumbnail-item img {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  object-fit: cover;
}
#works .thumbnail-item:hover {
  opacity: 0.75;
}

/*-- 詳細 --*/
#works .gallerylist_content_txt {
  margin-bottom: 60px;
  font-family: "Zen Old Mincho", serif;
  line-height: 1.6;
}

@media screen and (max-width: 821px) {
  #wrap {
    flex-direction: column;
  }
  #works .slick-slider {
    width: 100%;
    max-width: 90vw;
    margin: auto;
  }
  #works #thumbnail-list {
    margin: 20px auto 0;
  }
}
@media screen and (max-width: 768px) {
  #works .gallerylist_content {
    margin: 6vw auto 10vw;
  }
}
@media screen and (max-width: 432px) {
  #works .thumbnail-item {
    width: calc(94% / 2);
  }
}
