@charset "utf-8";

:root {
  --color-white: #fff;
  --color-main: #123e72;
  --color-accent: #f7ee80;
  /* --color-main-light: #a2d6d2; */
  --color-sub: #A6BCD6;
  --color-font-main: #323232;
  --color-gray: #f0f0f0;
  /* --color-font-low: #afafaf; */
  /* --color-strong: #c63b70; */

  /* --color-gradient: linear-gradient(to right, var(--color-main-light), var(--color-main) calc((100% - 648px) / 2) calc((100% - 648px) / 2 + 648px), var(--color-main-light)); */

  /* --color-gradient: linear-gradient(to right, var(--color-main-light), var(--color-main) 25% 75%, var(--color-main-light)); */

  --shadow-h: 0 6px 12px rgba(0, 0, 0, 0.15);
  /* --shadow-h-top: 0 -6px 12px rgba(0, 0, 0, 0.1); */
  --shadow-m: 0 3px 6px rgba(0, 0, 0, 0.25);

  /* --font-heading: toppan-bunkyu-midashi-go-std; */
  /* --font-rounded: m-plus-rounded-1c; */

  --layout1-w: 648px;
  --layout2-w: 1080px;
  --layout3-w: 1280px;
}

/* Font */
.kinuta-shin-stdn {
  color: #000;
  font-family: kinuta-shin-stdn, sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ah-hakushu-school-prs {
  color: #000;
  font-family: "ah-hakushu-school-prs", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.bg-main .kinuta-shin-stdn {
  color: var(--color-white);
}

body {
  line-height: 1.5;
}

/* Layout */
main {
  padding-top: 60px;
}
section,
article {
  padding-top: 120px;
}
header {
  padding-block: 0;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9999;
}
header .area-logo {
  box-sizing: content-box;
  padding-inline: 2%;
  width: 60px;
}
footer {
  padding-bottom: 20px;
}
footer nav li:not(:first-child) {
  margin-top: 2em;
}
footer nav .list-style {
  padding-left: 1em;
}
footer nav .list-style li {
  margin-top: 1em;
}
footer nav .list-style li:first-child {
  margin-top: 0;
}
footer nav .list-style li::before {
  content: "-";
  margin-right: 0.25em;
}
footer nav .area-sns {
  gap: 4%;
  margin-top: 2em;
}
footer nav .area-sns li {
  margin-top: 0 !important;
}
.col-2 .sp-layout {
  padding: 0 0 0 8%;
}

/* Style */
#page-contact form.bg-main {
  border-radius: 0.5em;
  padding: 2em 4em;
}
#page-contact form.bg-main div:first-of-type {
  margin-top: 0;
}
.color-low {
  color: var(--color-font-low);
}
.color-main {
  color: var(--color-main);
}
.bg-main {
  background: var(--color-main);
  color: var(--color-white);
}
.bg-main a {
  color: var(--color-white);
}
.bg-main .box-group {
  color: var(--color-font-main);
}
.bg-main .box-group .btn {
  border-color: var(--color-main);
}
.bg-main .box-group .btn::before {
  background-image: url(../images/icon-arrow.svg);
}
.bg-accent {
  background: var(--color-accent);
  color: var(--color-main);
}
.bg-gray {
  background: var(--color-gray);
}
.bg-white {
  background: var(--color-white);
}

.heading {
  font-size: 3em;
  font-weight: 700;
  letter-spacing: 2.5px;
  line-height: 1;
  margin: 0 0 40px 0;
  padding: 0 0 0 1em;
  position: relative;
}
.heading span {
  color: var(--color-sub);
  font-size: 0.65em;
  position: absolute;
  top: 1em;
  left: 0;
  writing-mode: vertical-rl;
}
.heading span::before {
  content: "-";
  position: absolute;
  top: -0.6em;
  left: 0;
}
.heading2 {
  font-size: 1.5em;
  font-weight: 700;
}
.heading2 span:last-child {
  font-size: 2em;
}

.btn {
  background: var(--color-white);
  border: 2px solid var(--color-main);
  border-radius: 3em;
  color: var(--color-main);
  display: inline-block;
  line-height: 1;
  padding: 1em 2em 1em 4.75em;
  position: relative;
  transition: 0.3s;
}
.btn::before {
  border-radius: 50%;
  background: url(../images/icon-arrow.svg) no-repeat;
  background-size: contain;
  content: "";
  height: calc(100% + 4px);
  position: absolute;
  top: 50%;
  left: -2px;
  transform: translateY(-50%);
  transition: 0.3s;
  width: calc(3em + 4px);
}
.btn:hover {
  padding-left: 2em;
  padding-right: 4.75em;
  transition: 0.3s;
}
.btn:hover::before {
  left: calc(100% - 3em - 2px);
  transition: 0.3s;
}
.bg-main .btn {
  border-color: var(--color-white);
  color: var(--color-main);
}
.bg-main .btn::before {
  background-image: url(../images/icon-arrow-accent.svg);
}
.link {
  display: inline-block;
  line-height: 1;
  overflow: hidden;
  padding: 0 4px 2px 4px;
  position: relative;
}
.link::before {
  background: var(--color-accent);
  content: "";
  height: 4px;
  opacity: 0.75;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateX(-100%);
  transition: 0.2s ease-in;
  z-index: 10;
}
.link:hover::before {
  transform: translateX(0);
  transition: 0.15s ease-out;
}


.btn-next::before {
  background-image: url(../images/icon-arrow.svg);
  transform: translateY(-50%) rotate(180deg);
}
.btn-back {
  padding-left: 2em;
  padding-right: 4.75em;
}
.btn-back::before {
  left: inherit;
  right: -2px;
  transform: translateY(-50%) rotate(180deg);
}
.btn-back:hover {
  padding-left: 4.75em;
  padding-right: 2em;
}
.btn-back:hover::before {
  left: inherit;
  right: calc(100% - 3em - 2px);
  transition: 0.3s;
}
.bg-main .btn-pdf::before {
  background-image: url(../images/icon-pdf-accent.svg);
}

.box-list a::after {
  content: url(../images/icon-arrow-s.svg);
}
.box-list a:hover {
  color: var(--color-font-main);
}
.box-sticky {
  top: 70px;
}
.pc-reset-position {
  position: static;
}

/* gnav */
#area-gnav {
  background: var(--color-main);
}
#area-gnav .link {
  padding: 1.5em 2em;
}
#area-gnav .link::before {
  opacity: 1;
}
#area-gnav .bg-accent {
  color: var(--color-main);
  transition: 0.3s;
}
#area-gnav .link.bg-accent:hover {
  background: transparent;
  color: var(--color-white);
  transition: 0.2s;
}
.title {
  margin-block: 4px;
}

/* Frontpage */
.area-dept-nav {
  height: 80vh;
  max-height: 60vw;
}
.area-dept-nav figure {
  height: 20vh;
  margin: 0;
  overflow: hidden;
  position: relative;
  width: 46vw;
}
.area-dept-nav figure img{
  filter: brightness(0.8);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
}
.tagline {
  display: inline-block;
  line-height: 1.25;
}
.tagline span {
  display: block;
  font-weight: 900;
}
.tagline span:first-child {
  font-size: 2.45vw;
}
.tagline span:nth-child(2) {
  font-size: 3.5vw;
  letter-spacing: -3px;
  line-height: 1;
}
.tagline div:last-child span {
  font-size: 6.75vw;
  letter-spacing: -8px;
}
.tagline .btn {
  border-color: var(--color-white);
  border-radius: 0;
  background-color: transparent;
  color: var(--color-white);
  display: block;
  font-size: 2.75vw;
  font-weight: 800;
  letter-spacing: 0.25em;
  line-height: 1;
  margin: 0.5vw 3.75vw 0 0;
  padding: 1.25vw;
  padding: 0.25em;
  text-align: center;
}
.tagline .btn::before {
  content: none;
}

#area-construction-dept {
  position: absolute;
  top: 2vh;
  left: 16vw;
}
#area-construction-dept .tagline {
  position: absolute;
  bottom: -10.5vw;
  left: -10.75vw;
}

#area-renovation-dept {
  position: absolute;
  top: 19vh;
  right: 10vw;
}
#area-renovation-dept .tagline span:first-child {
  font-size: 2vw;
}
#area-renovation-dept .tagline span:nth-child(2) {
  font-size: 5vw;
  letter-spacing: 2px;
  line-height: 0.9;
}
#area-renovation-dept .tagline div:last-child span {
  font-size: 6.75vw;
  letter-spacing: 0;
}
#area-renovation-dept .tagline {
  position: absolute;
  top: -7vw;
  right: -7.5vw;
}
#area-renovation-dept .btn {
  letter-spacing: 0;
}

#area-civil-engineering-dept {
  margin: auto;
  position: absolute;
  bottom: 10vh;
  right: 20vw;
}
#area-civil-engineering-dept .tagline {
  position: absolute;
  bottom: -3.5vw;
  left: -14vw;
}
#area-civil-engineering-dept .tagline span:first-child {
  font-size: 2.25vw;
}
#area-civil-engineering-dept .tagline span:nth-child(2) {
  font-size: 4.25vw;
  letter-spacing: 4px;
  line-height: 0.9;
}
#area-civil-engineering-dept .tagline div:last-child span {
  font-size: 6.75vw;
  letter-spacing: -4px;
}
#area-works {
  padding-bottom: 120px;
}
#area-works .area-text {
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  padding: 0.5em 1em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}
#area-works li {
  padding-top: calc(100% * 4 / 3);
}
#area-works figure {
  margin: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#area-works img {
  height: 100%;
  object-fit: cover;
  transform: scale(120%);
  transition: 0.3s;
  width: 100%;
}
#area-works a:hover img {
  transform: scale(100%);
  transition: 0.3s;
}
#frontpage #area-about-us {
  padding: 30vh 0;
}
#frontpage #area-about-us::before {
  background: url(../images/bg-drawing-top.webp) no-repeat right;
  background-size: cover;
  content: "";
  height: 30vh;
  position: absolute;
  top: 0;
  left: 0;
  width: 45vw;
  z-index: -1;
}
#frontpage #area-about-us::after {
  background: url(../images/bg-drawing-bottom.webp) no-repeat;
  background-size: cover;
  content: "";
  height: 100vh;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45vw;
  z-index: -1;
}
#area-about-us .bg-main {
  overflow: hidden;
  padding: 120px 10%;
  width: 80%;
}
/* #area-about-us h2 {
  font-size: 3.5vw;
  font-weight: 400;
} */
.area-company-tagline img {
  width: 60%;
}
#area-about-us .txt-l {
  font-size: 1.25em;
  font-weight: 200;
}
#area-about-us .area-points {
  font-size: 1.25vw;
  padding-top: 20%;
}
#area-about-us .area-points .txt-l {
  font-size: 2em;
  font-weight: 700;
  margin-block: 0 0.5em;
}
#area-about-us .area-points li {
  padding-inline: 1.5em;
  text-align: justify;
}

#area-about-us .area-points li::before,
#area-about-us .area-points li:first-child::after,
#area-about-us .area-points li:last-child::after {
  border-radius: 50%;
  content: "";
  padding-top: 100%;
  border: 2px solid var(--color-white);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%) scale(1.3);
  width: 100%;
}
#area-about-us .area-points li:first-child::after {
  border-width: 1px;
  left: -112%;
}
#area-about-us .area-points li:last-child::after {
  border-width: 1px;
  left: inherit;
  right: -112%;
}

/* Works */
#archive-works .content-margin {
  margin-top: 0 !important;
  padding-top: 80px;
}

/* Company */
.area-history li:not(:first-child) {
  padding-top: 40px;
  position: relative;
}
.area-history li:not(:first-child) .box-date::before {
  background: var(--color-main);
  content: "";
  height: 40px;
  margin: auto;
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  width: 8px;
}
.area-history .box-date {
  background: var(--color-main);
  border-radius: 50%;
  color: var(--color-white);
  height: 80px;
  width: 80px;
}
.area-history .box-date span:nth-of-type(1) {
  font-size: 1.5em;
  top: 1em;
  right: 0;
  padding-inline: 0;
}
.area-history .box-date span:nth-of-type(2) {
  font-size: 1em;
  bottom: 1.25em;
  left: 0;
  right: 0;
  text-align: center;
}
.area-profile .box-list li {
  padding: 1.5em 1em;
}
.area-profile .box-list p:first-child {
  flex: 0 0 80px;
  text-align: center;
}
.area-profile .box-list p:last-child {
  flex-basis: calc(100% - 80px - var(--gap));
}
.area-profile .box-list a {
  padding: 0 2em 0 0;
}

/* Single */
[id^="single-"] article {
  padding-bottom: 0;
}
/* [id^="single-"] .heading {
  line-height: 1.25;
  padding-left: 0;
} */
.wp-block-heading {
  border: none;
  line-height: 1.25;
}
.intro .wp-block-image {
  margin: 0;
}
.intro + .wp-block-heading:not(:first-child) {
  margin-top: 0;
}
.wp-block-image {
  margin-bottom: 0;
}

/* Recruit - Common */
.area-message .box-group {
  border-radius: 0;
  padding: 4%;
}
#area-other-recruit-banner {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-h);
  font-weight: 800;
  line-height: 1;
  position: fixed;
  bottom: 1em;
  right: 2em;
  transform: translateX(460px);
  transition: 0.3s;
  width: 480px;
  z-index: 999;
}
#area-other-recruit-banner.active {
  transform: translateX(0);
  transition: 0.3s;
}
#area-other-recruit-banner figure {
  border-radius: 0.5em;
  display: inline-block;
  margin: 0;
  overflow: hidden;
  width: 45%;
}
#area-other-recruit-banner .area-text {
  position: absolute;
  bottom: 2em;
  right: 1em;
}
#area-other-recruit-banner .txt-other-recruit {
  background: var(--color-accent);
  color: var(--color-main);
  margin-top: 1rem;
  padding: 0.5em 1em;
}

[id^="page-recruit-"] .hero {
  background: url(../images/img-hero-recruit-new-grads.webp) no-repeat center;
  background-size: cover;
  width: 100%;
  height: calc(100vh - 60px);
}
[id^="page-recruit-"] #area-about-us {
  margin-top: 120px;
}
[id^="page-recruit-"] #area-about-us .area-points {
  padding-block: 120px;
}

/* RecruitExperienced */
.features-heading {
  display: inline-block;
  font-size: 1.5em;
  padding-inline: 2em;
  position: relative;
}
.features-heading::before,
.features-heading::after {
  background: var(--color-font-main);
  content: "";
  height: 5em;
  position: absolute;
  top: 0;
  left: 0;
  transform: rotate(-30deg);
  width: 4px;
}
.features-heading::after {
  left: inherit;
  right: 0;
  transform: rotate(30deg);
}
.features-heading p {
  margin: 0;
}
#area-features h3 {
  font-weight: 700;
  line-height: 1;
  padding: 1em;
}
#area-features h3::before,
#area-features h3::after {
  background: var(--color-sub);
  content: "";
  height: 2px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
#area-features h3::after {
  top: inherit;
  bottom: 0;
}
#area-features h3 span {
  background: var(--color-white);
  color: var(--color-main);
  font-family: "futura-pt", sans-serif;
  font-weight: 500;
  padding-right: 4px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-50%);
}
#area-features figure {
  margin: 40px auto;
  width: 60%;
}

/* RecruitNewGrads */
.bg-recruit-new-grads {
  background: url("../images/bg-recruit-new-grads.svg") no-repeat right -100px center;
  background-size: cover;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
}
#page-recruit-new-grads .hero {
  background-position: right center;
}
[id^="page-recruit-"] main {
  padding-bottom: 0;
}
#page-recruit-new-grads section,
#page-recruit-new-grads footer {
  position: relative;
  z-index: 100;
}
#page-recruit-experienced .hero {
  background-image: url(../images/img-hero-recruit-experienced.webp);
}
.hero h1 {
  font-size: 4em;
  font-weight: 800;
  position: absolute;
  top: 1em;
  left: 0;
  z-index: 999;
}
.hero span {
  background: var(--color-white);
  display: inline-block;
  padding-inline: 0.5em;
}
.hero span:not(:first-child) {
  margin-top: 40px;
}
#area-message {
  padding-block: 120px;
}
#area-ceo-message .box-flex {
  gap: var(--gap);
}
#area-ceo-message .area-image {
  flex: 0 1 648px;
}
#area-ceo-message .area-image img {
  border-radius: 0 160px 48px 0;
}
#area-ceo-message .area-message {
  flex: 1;
  margin-right: 1em;
}
.area-sdgs li {
  flex-basis: 160px;
}
#area-information #area-about-us .bg-main {
  width: 100%;
}
#area-interview {
  padding-bottom: 120px;
}
#area-interview.bg-white {
  background: rgba(255, 255, 255, 0.75);
}
#area-interview .box-flex {
  justify-content: center;
  gap: var(--gap);
}
#area-interview .box-flex.col-3 > *:nth-child(n + 4) {
  margin-top: var(--gap);
}
#area-interview .box-group {
  border-radius: 0;
  padding: 0.25em 0.75em;
  position: absolute;
  bottom: 1em;
  right: 0;
}
#area-interview .box-group p {
  margin: 0;
}
.cutout {
  margin: 0;
}
.cutout::before {
  background: url(../images/cutout.svg) no-repeat;
  background-size: contain;
  content: "";
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
.shadow {
  box-shadow: var(--shadow-m);
}
.ie.ayumi::before {
  background-image: url(../images/thumb-ayumi.webp);
}
.ie.yuria::before {
  background-image: url(../images/thumb-yuria.webp);
}
#toggle-other-recruit-banner {
  background: var(--color-white);
  border-radius: 50%;
  height: 40px;
  position: absolute;
  top: 8px;
  left: 8px;
  width: 40px;
}
#toggle-other-recruit-banner::before,
#toggle-other-recruit-banner::after {
  background: var(--color-font-main);
  content: "";
  height: 4px;
  margin: auto;
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  transform: translateY(-50%);
  width:1.5em;
  transition: 0.5s;
}
#area-other-recruit-banner.active #toggle-other-recruit-banner::after {
  transform:  translateY(-50%);
}
#area-other-recruit-banner #toggle-other-recruit-banner::after {
  transform:  translateY(-50%) rotate(90deg);
  transition: 0.5s;
}
.area-tab {
  justify-content: center;
  font-size: 1.25em;
}
.btn-tab {
  background: var(--color-main);
  border: none;
  border-radius: 4px;
  color: var(--color-white);
  padding-inline: 1em;
  transition: 0.1s;
}
.btn-tab:hover,
.btn-tab.active {
  background-color: var(--color-accent);
  color: var(--color-main);
  transition: 0.3s;
}
#area-schedule .box-flex {
  margin-top: 20px;
}
#area-schedule-table > div {
  display: none;
}
#area-schedule-table .active {
  animation: fadein 1s;
  display: block;
}
.schedule-table {
  padding-bottom: 180px;
}
.schedule-table::after,
#area-schedule-table .box-flex::before {
  background: #707070;
  content: "";
  position: absolute;
  top: -20px;
  left: 10%;
  width: 6px;
  height: 20px;
}
.schedule-table::after {
  height: 60px;
  top: inherit;
  bottom: 120px;
  z-index: -1;
}
#area-schedule-table .box-flex::after {
  background: var(--color-white);
  border: 4px solid #707070;
  border-radius: 50%;
  content: "";
  height: 20px;
  position: absolute;
  top: -10px;
  left: calc(10% - 7px);
  width: 20px;
}
#area-schedule-table .box-flex > *:first-child {
  flex-basis: 80px;
  margin-top: 6px;
}
#area-schedule-table .title {
  font-size: 1.5em;
  font-weight: 700;
  padding-inline: 1rem;
}
#area-schedule-table .title + p {
  border-top: 1px solid #707070;
  padding: 1rem 1rem 0 1rem;
}
#area-schedule-table .col-2 .title + p {
    width: 80%;
}
#area-schedule-table .image {
  border-radius: 1em;
  flex-basis: 40%;
  margin-left: 4%;
  overflow: hidden;
}
#area-schedule-table p {
  padding-inline: 1rem;
}
#area-schedule-table .time60 {
  margin-top: 40px;
}
#area-schedule-table .time-over60 {
  margin-top: 60px;
}
#area-schedule-table .time60::before {
  height: 40px;
  top: -40px;
}
#area-schedule-table .time-over60::before {
  height: 60px;
  top: -60px;
}
.schedule-main {
  flex-grow: 2;
  width: 80%;
}
#area-recruit-flow .box-group:nth-child(4) {
  order: 6;
}
#area-recruit-flow .box-group:nth-child(5) {
  order: 5;
}
#area-recruit-flow .box-group:nth-child(6) {
  order: 4;
}
#area-recruit-flow .box-group:nth-child(3) .title {
  line-height: 2.5em;
}
#area-recruit-flow .box-group::after {
  background: url(../images/common/icon-arrow.svg) no-repeat;
  background-size: contain;
  content: "";
  height: 24px;
  filter: brightness(0) invert(1);
  position: absolute;
  top: 50%;
  right: -38px;
  transform: translateY(-50%);
  width: 24px;
}
#area-recruit-flow .box-group:nth-child(3)::after {
  margin: auto;
  top: inherit;
  left: 0;
  right: 0;
  bottom: -38px;
  transform: rotate(90deg);
}
#area-recruit-flow .box-group:nth-child(n + 4)::after {
  transform: translateY(-50%) rotate(180deg);
  right: -26px;
}
#area-recruit-flow .box-group:nth-child(4)::after {
  content: none;
}
#area-recruit-flow .title{
  font-weight: 700;
  font-size: 1.5em;
  line-height: 1.25;
  margin: 0;
  text-align: center;
}
#area-current-openings .box-group{
  padding: 80px 40px;
}
#area-current-openings .btn {
  display: block;
}

/* Partners */
#page-partners .area-btn {
  padding: 4%;
}
#page-partners .area-btn dd {
  margin-block: 1.5em;
}
#page-partners .area-btn a {
  display: block;
}

/* Jobs */
#single-jobs main {
  padding-bottom: 0;
}
#single-jobs #area-recruit-flow {
  border-bottom: 2px solid var(--color-white);
  padding-bottom: 80px;
}

/* Slick */
.slider {
  margin: auto;
  width: 80%;
}
.slick-next:before,
.slick-prev:before {
  color: var(--color-font-main);
}
.slick-slide {
  text-align: center;
}
.slick-slide img {
  height: 486px;
  margin: auto;
  object-fit: cover;
  width: 100%;
}

@media screen and (max-width: 1280px) {
  .layout3,
  .layout2 {
    padding-inline: 4%;
    width: 100%;
  }
  .area-message .box-group {
    width: 80%;
  }
  .intro {
    padding-inline: 4%;
    width: 100%;
  }
}

@media screen and (max-width: 648px) {
  section,
  article {
    padding-top: 60px;
  }
  main {
    padding-bottom: 60px;
  }
  header .area-logo {
    margin-inline: auto;
    padding: 2%;
  }
  .content-margin {
    margin-top: 60px !important;
  }
  #area-gnav .box-flex > * {
    flex-basis: 20%;
    text-align: center;
  }
  #area-gnav .link {
    font-size: 0.8em;
    padding: 2em 0;
  }
  .heading {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .heading2 {
    font-size: 1em;
  }
  .tagline .btn {
    border-width: 1px;
  }
  .sp-layout,
  .col-2 .sp-layout {
    margin-right: -0.5em;
    padding: 0 0 0 1.5em;
  }
  footer {
    padding: 40px 0 80px 0;
  }
  footer nav li:not(:first-child) {
    margin-top: 1em;
  }
  footer nav .list-style {
    margin-top: 0.5em;
  }
  footer nav .list-style li {
    margin-top: 0;
  }
  footer .area-sns {
    justify-content: space-between;
  }
  footer nav .area-sns li {
    width: 30%;
  }
  .pc-reset-position {
    position: sticky;
  }
  .sp-reset-position {
    position: static;
  }
  
  #page-contact form.bg-main {
    padding: 1em;
  }

  /* Frontpage */
  .area-dept-nav {
    max-height: inherit;
  }
  .area-dept-nav figure {
    width: 65vw;
  }
  .tagline {
    transform: scale(2);
  }
  #area-construction-dept {
    right: 4vw;
    left: inherit;
  }
  #area-construction-dept .tagline {
    top: 11vw;
    bottom: inherit;
    left: -12vw;
  }
  #area-construction-dept .tagline span:nth-child(2) {
    letter-spacing: -1px;
  }
  #area-construction-dept .tagline div:last-child span {
    letter-spacing: -2px;
  }
  #area-renovation-dept {
    top: 27vh;
    right: inherit;
    left: 2vw;
  }
  #area-renovation-dept .tagline {
    top: -1vw;
    right: -15vw;
  }
  #area-renovation-dept .tagline span:nth-child(2) {
    letter-spacing: 1px;
  }
  #area-civil-engineering-dept {
    bottom: 8vh;
    right: 12vw;
  }
  #area-civil-engineering-dept .tagline {
    bottom: 11vw;
    left: -2vw;
  }
  #area-civil-engineering-dept .tagline span:nth-child(2) {
    letter-spacing: 2px;
  }
  #area-civil-engineering-dept .tagline div:last-child span {
    letter-spacing: -2px;
  }
  #area-works {
    padding-bottom: 60px;
  }
  #area-works li {
    padding-top: calc(100% * 3 / 4);
  }
  #area-about-us .bg-main {
    padding-block: 60px 40px;
    width: 95%;
  }
  #area-about-us h2 {
    font-size: 1.5em;
    text-align: center;
  }
  #area-about-us h2 span {
    display: block;
    font-size: 2em;
  }
  #area-about-us .txt-l {
    font-size: 1em;
  }
  #area-about-us .area-points {
    font-size: 1em;
  }
  #area-about-us .area-points li:not(:first-child) {
    margin-block: 35vw;
  }
  #area-about-us .area-points li::before {
    transform: translateY(-50%) scale(1.1);
  }
  #area-about-us .area-points li:first-child,
  #area-about-us .area-points li:last-child {
    transform: none;
  }
  /* #area-about-us .area-points li::after {
    border-radius: 50%;
    content: "";
    padding-top: 100%;
    border: 1px solid var(--color-white);
    position: absolute;
    top: 50%;
    left: 0 !important;
    right: 0 !important;
    transform: translateY(-50%) scale(1.3);
    width: 100%;
  } */
  #area-about-us .area-points li:first-child::after,
  #area-about-us .area-points li:last-child::after {
    content: none;
  }
  #area-about-us .area-points .txt-l {
    margin-top: 2em;
  }
  #area-information .sp-layout > div {
    margin-left: -1em;
  }

  /* Frontpage */
  #frontpage #area-about-us::before {
    width: 65vw;
  }

  /* Works */
  #archive-works #area-works {
    padding-bottom: 0;
  }

  /* Company */
  .area-company .col-2:not(.sp-flex) > * {
    margin: 0;
  }
  .area-history {
    margin-top: 60px !important;
  }
  .area-profile {
    margin-top: calc(60px - 1.5em) !important;
  }
  .area-profile .box-list p:first-child {
    text-align: left;
  }

  /* Single */
  /* [id^="single-"] .heading {
    font-size: 1.5em;
  }
  [id^="single-"] .layout3 .layout2 {
    padding: 0;
  }
  [id^="single-"] .sp-layout {
    margin-right: 0;
  } */
  .intro,
  .outro {
    padding: 8px 0 20px 0;
    width: 100%;
  }
  .intro .wp-block-image {
    margin-top: 0;
  }
  .wp-block-image {
    width: 100%;
  }
  .ie {
    margin-left: 20px;
    max-width: 100%;
  }
  .ie::before {
    height: 48px;
    top: -28px;
    left: -24px;
    width: 48px;
  }
  .wp-block-heading:not(:first-child) {
    margin-top: 80px;
  }

  /* Recruit */
  .hero h1 {
    font-size: 2em;
    top: 2em;
  }
  .hero span:not(:first-child) {
    margin-top: 20px;
  }
  .bg-recruit-new-grads {
    background-position: right -400px center;
  }
  #page-recruit-new-grads .hero {
    background-position: right -220px bottom;
    height: calc(100vh - 100px);
  }
  #page-recruit-experienced .hero {
    background-position: center right 30%;
  }
  #area-other-recruit-banner {
    font-size: 0.5em;
    bottom: 10em;
    right: 1em;
    transform: translateX(90%);
    width: 75%;
  }
  #toggle-other-recruit-banner {
    height: 24px;
    width: 24px;
  }

  .features-heading {
    font-size: 1em;
    padding-inline: 1em;
  }

  .area-message .box-group {
    width: 90%;
  }
  /* #area-ceo-message {
    margin-top: 60px;
    padding-top: 60px;
  } */
  #area-ceo-message .area-image {
    width: 95%;
    margin-top: 0;
  }
  #area-ceo-message .area-message {
    margin-bottom: 0;
    padding-inline: 4%;
  }
  #area-ceo-message .col-2 .sp-layout {
    margin-right: -0.5em;
    padding: 0 0 0 1.5em;
  }
  .area-sdgs {
    gap: 8px;
  }
  .area-sdgs li {
    flex-basis: calc((100% - 8px * 2) / 3);
  }
  #page-recruit-new-grads #area-about-us .area-points {
    padding: 0;
  }
  .area-tab {
    font-size: 1em;
  }
  #area-schedule-table {
    margin-top: 60px;
  }
  #area-schedule-table .box-flex > *:first-child,
  #area-schedule-table .schedule-main {
    margin: 0;
  }
  #area-schedule-table .image {
    width: 90%;
    margin-inline: auto;
  }
  #area-schedule-table .time-over60:first-child {
    margin-top: 40px;
    padding-top: 20px;
  }
  #area-schedule-table .time-over60:first-child::before {
    height: 20px;
    top: -20px;
  }
  .schedule-table {
    padding-bottom: 80px;
  }
  .schedule-table::after {
    bottom: 60px;
    height: 20px;
  }
  #area-recruit-flow .box-group {
    margin-bottom: 40px;
  }
  #area-recruit-flow .box-group:last-child {
    margin: 0;
  }
  #area-recruit-flow .box-group::after {
    margin: auto;
    top: inherit;
    right: 0;
    bottom: -38px;
    left: 0;
    transform: translateY(0) rotate(90deg);
  }
  #area-recruit-flow .box-group:nth-child(3) .title {
  line-height: 1.25em;
}
  #area-recruit-flow .box-group:nth-child(n + 4)::after {
    content: "";
    transform: translateY(0) rotate(90deg);
  }
  #area-recruit-flow .box-group:nth-child(6)::after {
    content: none;
  }
  #area-current-openings .box-group {
    padding: 1em;
  }

  /* Jobs */
  #single-jobs #area-recruit-flow {
    padding-bottom: 60px;
  }

  /* Slick */
  .slider {
    width: 100%;
  }
  .slick-slide img {
    height: 250px;
  }
  .slick-prev,
  .slick-next {
    top: inherit;
    right: inherit;
    bottom: 0;
    left: -25px;
    transform: translateY(0);
  }
  .slick-prev {
    bottom: 10%;
  }
}

@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}