@charset "UTF-8";
/*
Theme Name: 藤木建設テーマ
*/
* {
  color: #2e3842;
  font-family: sans-serif;
}

body {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}
a:hover {
  transition: 0.2s;
  opacity: 0.7;
}
a.btn {
  border-bottom: 1px solid #c2c2c2;
}
a.btn::after {
  content: "";
  background-image: url(img/link-arrow-icon.webp);
  display: block;
  width: 28px;
  height: 18px;
  margin-left: 10px;
  transition: 0.2s;
}
a.btn:hover::after {
  transform: translateX(5px);
}

.banner-container {
  position: relative;
  height: 200px;
  display: flex;
  /* 親コンテナの位置を相対的にする */
}
.banner-container #contact-banner {
  position: fixed;
  bottom: -200px;
  /* 初期位置を画面外に設定 */
  right: 20px;
  transition: bottom 0.5s ease-in-out;
  z-index: 1000;
}
@media (max-width: 1200px) {
  .banner-container #contact-banner {
    width: 40vw;
    min-width: 400px;
  }
}
@media (max-width: 1200px) and (max-width: 500px) {
  .banner-container #contact-banner {
    width: 100%;
    min-width: inherit;
    padding: 0 20px;
    right: 0;
  }
}
.banner-container #contact-banner.show {
  bottom: 20px;
  /* スクロール時の表示位置 */
}
.banner-container #contact-banner.sticky {
  position: sticky;
  margin: auto;
  margin-right: 20px;
  /* 親コンテナ内での固定位置 */
}

/* テーブル */
table {
  border-collapse: collapse;
  max-width: 1200px;
  margin: auto;
}
table th,
table td {
  border: 2px solid #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
}
@media (max-width: 960px) {
  table th,
  table td {
    font-size: 12px;
  }
}
table th {
  background-color: #eef4fe;
  color: #0069a7;
}
table tbody {
  background-color: #f1f1f1;
}
table td[rowspan] {
  vertical-align: middle;
  text-align: center;
  font-weight: bold;
}
table td {
  padding: 10px;
}

small {
  max-width: 1200px;
  margin: auto;
  display: block;
}
small p {
  text-align: right;
}

.flex-wrap {
  display: flex;
}

/* ページネーション */
.pagination {
  margin-top: 50px;
  text-align: center;
  font-size: 0.8rem;
}

.pagination .page-numbers {
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0 4px;
  text-decoration: none;
  border: 1px solid #f1f1f1;
}

.pagination .current {
  font-weight: 700;
  border-color: #0069a7;
}

.pagination .prev.page-numbers,
.pagination .next.page-numbers {
  font-weight: 600;
  background-color: #0069a7;
  border: 1px solid #0069a7;
  color: #fff;
}

.pagination .prev a,
.pagination .next a {
  font-size: 0.9rem;
  color: #0069a7;
  text-decoration: underline;
}
.pagination .prev a:hover,
.pagination .next a:hover {
  text-decoration: none;
}

.back-link {
  text-align: center;
}
.back-link a {
  font-size: 0.9rem;
  color: #0069a7;
  text-decoration: underline;
}
.back-link a:hover {
  text-decoration: none;
}

.post-meta {
  margin-top: 5px;
  font-size: 0.8rem;
}

.post-content {
  margin-top: 30px;
}
.post-content p + p {
  margin-top: 1em;
}

/* ヘッダー */
header {
  display: flex;
  justify-content: space-between;
  margin: auto;
  align-items: center;
  height: 65px;
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 10;
  top: 0;
}
@media (max-width: 768px) {
  header {
    height: 50px;
  }
}
header h1 {
  width: 258px;
  margin-left: 30px;
}
header h1 a {
  display: flex;
}
@media (max-width: 500px) {
  header h1 {
    margin-left: 10px;
  }
  header h1 a img {
    width: 80%;
    min-width: 180px;
  }
}
header .header-right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
@media (max-width: 768px) {
  header .header-right {
    gap: 10px;
  }
}
header .header-right nav ul {
  height: 100%;
}
header .header-right nav ul .block {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
header .header-right nav ul li {
  font-size: 14px;
  font-weight: bold;
}
header .header-right nav ul li a {
  text-decoration: none;
}
header .header-right nav ul li.address-container {
  display: none;
}
header .header-right .tel {
  font-size: 20px;
  font-weight: bold;
  color: #0069a7;
}
@media (max-width: 700px) {
  header .header-right .tel {
    display: none;
  }
}
header .header-right .tel span {
  font-size: 0.7em;
  color: #0069a7;
  margin-right: 10px;
}
header .header-right .mail a {
  background-color: #0069a7;
  display: block;
  height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
}
@media (max-width: 768px) {
  header .header-right .mail a {
    height: 50px;
  }
}
header .header-right .mail a img {
  width: 35px;
  height: auto;
}
@media (max-width: 768px) {
  header .header-right .mail a img {
    width: 25px;
  }
}
header .header-right .hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
header .header-right .hamburger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px;
  transition: 0.4s;
}
@media (max-width: 1100px) {
  header .header-right nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 400px;
    position: fixed;
    top: 65px;
    padding-top: 1em;
    right: 0;
    background-color: #fff;
    gap: 0;
    /* gapをリセット */
    transform: translateX(100%);
    /* 初期状態では画面外に配置 */
    transition: transform 0.3s ease-in-out;
    height: 80vh;
    min-height: 400px;
    justify-content: center;
    /* アニメーションを追加 */
  }
}
@media (max-width: 1100px) and (max-width: 768px) {
  header .header-right nav ul {
    top: 50px;
  }
}
@media (max-width: 1100px) {
  header .header-right nav ul .block {
    flex-direction: column;
    gap: 0;
  }
  header .header-right nav ul li {
    width: 100%;
    text-align: center;
  }
  header .header-right nav ul li a {
    padding: 20px;
    display: block;
    color: #0069a7;
  }
  header .header-right nav ul li.address-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }
  header .header-right nav ul li.address-container .logo {
    width: 80%;
    max-width: 200px;
  }
  header .header-right nav ul li.address-container .tel {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .header-right nav ul li.address-container .tel a {
    padding: 0;
  }
  header .header-right nav ul.active {
    display: flex;
    transform: translateX(0);
    /* アクティブ時には表示 */
  }
  header .header-right .hamburger {
    display: flex;
    order: 2;
  }
  header .header-right .header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  header .header-right .tel,
  header .header-right .mail {
    margin-left: 0;
  }
  header .header-right .tel {
    order: 1;
  }
  header .header-right .mail {
    order: 3;
  }
  header .header-right nav {
    z-index: 1;
  }
}

/* メイン */
main {
  flex: 1;
  /* ファーストビュー */
  /* 会社概要ページ */
  /* 事業内容 */
  /* お問い合わせ、採用情報 */
}
main h2.business {
  margin: auto;
  position: relative;
  margin-bottom: 90px;
}
@media (max-width: 960px) {
  main h2.business {
    margin-bottom: max(8vw, 40px);
  }
}
main h2.business::before {
  content: "";
  display: block;
  border-top: 1px solid #bcbcff;
  width: 30vw;
  height: 1px;
  top: -20px;
  left: 0;
  position: absolute;
}
main h2.business::after {
  content: "";
  display: block;
  border-top: 1px solid #bcbcff;
  width: 83vw;
  height: 1px;
  bottom: -20px;
  right: 0;
  position: absolute;
}
main h2.business .img-wrap {
  max-width: 1200px;
  margin: auto;
  position: relative;
}
main h2.business .img-wrap::before {
  content: "";
  display: block;
  border-top: 1px solid #bcbcff;
  height: 1px;
  top: -20px;
  left: 40px;
  position: absolute;
  width: 240px;
}
main h2.business .img-wrap::after {
  content: "";
  display: block;
  border-top: 1px solid #bcbcff;
  height: 1px;
  bottom: -20px;
  left: 40px;
  position: absolute;
  width: 240px;
}
main h2.business .img-wrap.soil::before, main h2.business .img-wrap.soil::after {
  width: 238px;
}
main h2.business .img-wrap.reterra::before, main h2.business .img-wrap.reterra::after {
  width: 320px;
}
main h2.business .img-wrap.civil::before, main h2.business .img-wrap.civil::after {
  width: 165px;
}
main h2.business .img-wrap.construction::before, main h2.business .img-wrap.construction::after {
  width: 156px;
}
main h2.business .img-wrap.duct::before, main h2.business .img-wrap.duct::after {
  width: 236px;
}
main h2.business .img-wrap img {
  height: 60px;
  margin-left: 40px;
}
@media (max-width: 960px) {
  main h2.business .img-wrap img {
    height: 6vw;
    min-height: 35px;
  }
}
main h2.sub {
  font-size: 20px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 960px) {
  main h2.sub {
    font-size: clamp(1rem, 0.875rem + 0.63vw, 1.25rem);
  }
}
@media (max-width: 960px) and (max-width: 500px) {
  main h2.sub {
    margin-bottom: max(30px, 8vw);
  }
}
main h2.sub::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  border-top: 2px solid #0069a7;
}
main section {
  /* トップページ概要 */
  /* 事業内容 */
}
main section#fv {
  height: 70vw;
  max-height: 900px;
  min-height: 600px;
  margin: auto;
  background-image: url(img/fv-main-visual.webp);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  filter: blur(10px);
  animation: fadeInBlur 1s ease-out forwards;
}
@media (max-width: 500px) {
  main section#fv {
    height: 100vh;
  }
}
main section#fv .fv-copy,
main section#fv .fv-logo {
  opacity: 0;
  filter: blur(10px);
}
main section#fv .fv-copy {
  width: 12vw;
  max-width: 179px;
  min-width: 70px;
  position: absolute;
  top: 100px;
  left: 30px;
  filter: drop-shadow(0 0 5px #4a4a4a);
  animation: fadeInBlur 1.5s ease-out forwards;
  animation-delay: 1s;
}
main section#fv .fv-copy img {
  filter: drop-shadow(0 0 3px #666);
}
@media (max-width: 768px) {
  main section#fv .fv-copy {
    top: 17vw;
    left: 5vw;
  }
}
main section#fv .fv-logo {
  max-width: 348px;
  min-width: 200px;
  filter: drop-shadow(0 0 5px #4a4a4a);
  width: 25vw;
  animation: fadeInBlur 1.5s ease-out forwards;
  animation-delay: 1.5s;
}
main section#fv .fv-logo img {
  filter: drop-shadow(0 0 3px #666);
}
@media (max-width: 500px) {
  main section#fv .fv-logo {
    transform: translateY(-20px);
  }
}
main section#fv .news {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 500px;
  min-width: 300px;
  background-color: #fff;
  padding: 35px 45px;
}
@media (max-width: 960px) {
  main section#fv .news {
    padding: 20px 35px;
  }
}
@media (max-width: 500px) {
  main section#fv .news {
    padding: 8vw;
  }
}
main section#fv .news h2.news-ttl {
  font-size: 16px;
  color: #0069a7;
  font-family: serif;
  font-weight: normal;
}
main section#fv .news dl {
  font-size: 14px;
  margin-top: 10px;
  font-weight: bold;
}
@media (max-width: 500px) {
  main section#fv .news dl {
    font-size: 13px;
  }
}
main section#fv .news dl dt {
  float: left;
  margin-right: 10px;
}
main section#fv .news dl dd a {
  color: #0069a7;
  text-decoration: underline;
}
main section#fv .news dl dd a:hover {
  text-decoration: none;
}
main section#fv .news .news-more {
  text-align: right;
  margin-top: 2em;
}
main section#fv .news .news-more a {
  color: #fff;
  padding: 1em 1.5em;
  background-color: #0069a7;
  font-size: 0.9rem;
}
@keyframes fadeInBlur {
  0% {
    opacity: 0;
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}
main section#intro {
  position: relative;
  height: 64.5vw;
  max-height: 920px;
  min-height: 720px;
}
@media (max-width: 960px) {
  main section#intro {
    max-height: inherit;
    height: 110vw;
  }
}
main section#intro .backgroud-wrap {
  background-color: #f1f1f1;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
}
main section#intro .width-wrap {
  max-width: 1400px;
  margin: auto;
  position: relative;
  padding: 70px 40px 0 40px;
}
@media (max-width: 500px) {
  main section#intro .width-wrap {
    padding: 5vw;
  }
}
main section#intro .width-wrap .white-wrap {
  background-color: #fff;
  width: 90%;
  height: 600px;
  z-index: -2;
}
@media (max-width: 500px) {
  main section#intro .width-wrap .white-wrap {
    width: 100%;
    height: 140vw;
  }
}
main section#intro .width-wrap .info-wrap {
  max-width: 1280px;
  z-index: 1;
  padding-top: 100px;
  padding-left: 8%;
  padding-bottom: 400px;
}
@media (max-width: 960px) {
  main section#intro .width-wrap .info-wrap {
    padding-top: 50px;
  }
}
main section#intro .width-wrap .info-wrap .txt-wrap {
  border: 1px solid #c2c2c2;
  width: 40vw;
  max-width: 400px;
  padding: 90px 70px 50px 40px;
  position: absolute;
}
@media (max-width: 960px) {
  main section#intro .width-wrap .info-wrap .txt-wrap {
    width: 60vw;
    max-width: inherit;
    padding: 50px;
    max-width: 350px;
  }
}
@media (max-width: 960px) and (max-width: 500px) {
  main section#intro .width-wrap .info-wrap .txt-wrap {
    width: 75vw;
    padding: 10vw;
  }
}
main section#intro .width-wrap .info-wrap .txt-wrap h2.intro-ttl {
  width: 264px;
  margin-bottom: 20px;
}
@media (max-width: 960px) {
  main section#intro .width-wrap .info-wrap .txt-wrap h2.intro-ttl {
    width: 80%;
  }
}
main section#intro .width-wrap .info-wrap .txt-wrap p {
  font-size: 14px;
}
main section#intro .width-wrap .info-wrap .txt-wrap .btn {
  margin-top: min(30px, 4vw);
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: start;
}
main section#intro .width-wrap .info-wrap .img-wrap {
  position: absolute;
  width: 60vw;
  max-width: 840px;
  right: 40px;
  top: 220px;
}
@media (max-width: 1200px) {
  main section#intro .width-wrap .info-wrap .img-wrap {
    width: 50vw;
  }
}
@media (max-width: 1200px) and (max-width: 960px) {
  main section#intro .width-wrap .info-wrap .img-wrap {
    width: 70vw;
    top: 450px;
  }
}
@media (max-width: 1200px) and (max-width: 960px) and (max-width: 500px) {
  main section#intro .width-wrap .info-wrap .img-wrap {
    width: 90%;
    right: 0;
    top: 400px;
  }
}
main section#business {
  padding: 100px 0;
  margin: auto;
  margin-top: 100px;
  margin-bottom: 100px;
}
@media (max-width: 960px) {
  main section#business {
    margin-top: 0;
    padding-bottom: 0;
  }
}
@media (max-width: 960px) and (max-width: 900px) {
  main section#business {
    padding-bottom: 50px;
  }
  main section#business h2.business {
    margin-bottom: 50px;
  }
}
@media (max-width: 960px) and (max-width: 900px) and (max-width: 768px) {
  main section#business {
    padding-top: 20vw;
  }
}
@media (max-width: 960px) and (max-width: 900px) and (max-width: 768px) and (min-width: 450px) and (max-width: 500px) {
  main section#business {
    padding-top: 30vw;
  }
}
main section#business .flex-wrap {
  display: flex;
  flex-direction: column;
  gap: 180px;
}
@media (max-width: 960px) {
  main section#business .flex-wrap {
    gap: 100px;
  }
}
main section#business .flex-wrap .container {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: start;
  gap: 50px;
}
main section#business .flex-wrap .container .content-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: start;
  gap: 30px;
  margin-top: 10px;
}
main section#business .flex-wrap .container .content-wrap h3 {
  width: 52px;
}
main section#business .flex-wrap .container .content-wrap .txt-wrap {
  width: 260px;
}
main section#business .flex-wrap .container .content-wrap .txt-wrap p {
  font-size: 15px;
  margin-bottom: 2em;
}
main section#business .flex-wrap .container .content-wrap .txt-wrap .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: start;
}
main section#business .flex-wrap .container .img-wrap {
  width: auto;
  position: relative;
}
main section#business .flex-wrap .container .img-wrap::after {
  content: "";
  display: block;
  background-color: #f1f1f1;
  width: 100%;
  height: 80%;
  position: absolute;
  bottom: -30px;
  right: 30px;
  z-index: -1;
}
main section#business .flex-wrap .container:nth-child(even) {
  margin-left: 100px;
}
@media (max-width: 900px) {
  main section#business .flex-wrap .container:nth-child(even) .img-wrap {
    margin-left: auto;
  }
}
main section#business .flex-wrap .container:nth-child(odd) {
  margin-right: 100px;
  flex-direction: row-reverse;
}
main section#business .flex-wrap .container:nth-child(odd) .img-wrap::after {
  left: 30px;
}
@media (max-width: 900px) {
  main section#business .flex-wrap .container {
    flex-direction: column !important;
    margin: 0 !important;
  }
  main section#business .flex-wrap .container .content-wrap {
    padding: 0 50px;
    gap: 50px;
  }
}
@media (max-width: 900px) and (max-width: 500px) {
  main section#business .flex-wrap .container .content-wrap {
    padding: 0 30px;
    gap: 20px;
  }
}
@media (max-width: 900px) {
  main section#business .flex-wrap .container .content-wrap .txt-wrap {
    width: 100%;
  }
  main section#business .flex-wrap .container .content-wrap .txt-wrap p {
    font-size: 14px;
  }
}
@media (max-width: 900px) and (max-width: 500px) {
  main section#business .flex-wrap .container .content-wrap .txt-wrap p {
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  main section#business .flex-wrap .container .content-wrap .txt-wrap .btn {
    justify-content: flex-end;
  }
  main section#business .flex-wrap .container .img-wrap {
    width: 90%;
  }
  main section#business .flex-wrap .container .img-wrap img {
    width: 100%;
  }
}
main section.content-wrap {
  max-width: 800px;
  padding: 0 20px;
  margin: auto;
}
main#company section#company-fv {
  height: 605px;
  position: relative;
  margin-top: 65px;
  padding-top: 80px;
}
@media (max-width: 960px) {
  main#company section#company-fv {
    height: 60vw;
  }
}
@media (max-width: 960px) and (max-width: 768px) {
  main#company section#company-fv {
    margin-top: 50px;
  }
}
main#company section#company-fv .company-fv-bg {
  background-image: url(img/company/company-fv-bg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  clip-path: polygon(0 30%, 100% 0, 100% 70%, 0 100%);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
main#company section#company-fv .content-wrap {
  max-width: 1400px;
  margin: auto;
  padding-left: 65px;
}
@media (max-width: 960px) {
  main#company section#company-fv .content-wrap {
    padding-left: 5vw;
  }
}
@media (max-width: 960px) and (max-width: 600px) {
  main#company section#company-fv .content-wrap {
    margin-top: -30px;
  }
}
main#company section#company-fv .content-wrap .company-ttl {
  max-width: 530px;
  margin-bottom: 35px;
  filter: drop-shadow(0 0 2px #fff);
}
@media (max-width: 960px) {
  main#company section#company-fv .content-wrap .company-ttl {
    width: 60vw;
  }
}
main#company section#company-fv .content-wrap p {
  font-size: 24px;
  display: inline-block;
  color: #fff;
  filter: drop-shadow(0 0 2px #333);
}
@media (max-width: 960px) {
  main#company section#company-fv .content-wrap p {
    font-size: clamp(0.813rem, 0.719rem + 0.47vw, 1rem);
  }
}
main#company section#profile {
  max-width: 1000px;
  margin: auto;
  margin-top: -30px;
  margin-bottom: 100px;
}
@media (max-width: 960px) {
  main#company section#profile {
    margin-top: -2vw;
  }
}
@media (max-width: 960px) and (max-width: 600px) {
  main#company section#profile {
    margin-top: 2vw;
  }
}
main#company section#profile h2 {
  text-align: center;
  margin-bottom: 45px;
}
main#company section#profile h2 img {
  max-width: 175px;
}
@media (max-width: 960px) {
  main#company section#profile h2 img {
    width: 20vw;
  }
}
main#company section#profile dl {
  margin-bottom: 70px;
  padding: 0 30px;
}
main#company section#profile dl .flex-wrap {
  display: flex;
  gap: 30px;
  font-size: 14px;
  max-width: 700px;
  margin: auto;
}
main#company section#profile dl .flex-wrap dt {
  width: 120px;
  border-bottom: 2px solid #0069a7;
  color: #0069a7;
  font-weight: bold;
  text-align: center;
  padding: 10px;
}
main#company section#profile dl .flex-wrap dd {
  border-bottom: 1px solid #c2c2c2;
  flex-grow: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}
@media (max-width: 960px) {
  main#company section#profile dl .flex-wrap dt,
  main#company section#profile dl .flex-wrap dd {
    font-size: 13px;
  }
  main#company section#profile dl .flex-wrap dt p,
  main#company section#profile dl .flex-wrap dd p {
    font-size: 13px;
  }
}
main#company section#profile aside ul {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 30px;
}
@media (max-width: 960px) {
  main#company section#profile aside ul {
    gap: 50px 30px;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  main#company section#profile aside ul li {
    max-width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  main#company section#profile aside ul li img {
    width: 100%;
    max-width: 250px;
    margin: auto;
  }
}
main#company section#achievement {
  background-color: #f1f1f1;
  padding-top: 80px;
  padding-bottom: 80px;
  margin-bottom: 70px;
}
main#company section#achievement h2 {
  width: 203px;
  text-align: center;
  margin: auto;
  margin-bottom: 60px;
}
@media (max-width: 960px) {
  main#company section#achievement h2 {
    width: 25vw;
    margin-bottom: 50px;
  }
}
main#company section#achievement .h3-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  margin-top: 60px;
}
main#company section#achievement .h3-wrap h3.achievement {
  text-align: center;
  font-family: "Shippori Mincho B1", serif;
  font-size: clamp(1rem, 0.682rem + 1.59vw, 1.875rem);
  color: #0069a7;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 30px;
}
main#company section#achievement .h3-wrap:before, main#company section#achievement .h3-wrap:after {
  content: "";
  display: block;
  width: 20px;
  border-top: 1px solid #2e3842;
}
main#company section#achievement ul {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  justify-content: center;
  gap: 30px;
  padding: 0 20px;
}
@media (max-width: 960px) and (max-width: 700px) {
  main#company section#achievement ul {
    gap: 10px;
  }
}
main#company section#achievement ul li {
  aspect-ratio: 4/3;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}
@media (max-width: 960px) {
  main#company section#achievement ul li {
    width: 45%;
    max-width: 300px;
  }
}
@media (max-width: 960px) and (max-width: 600px) {
  main#company section#achievement ul li {
    width: 100%;
  }
}
main#company section#achievement ul li img {
  margin: auto;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 960px) {
  main#company section#achievement ul li img {
    max-width: 300px;
  }
}
main#company section#achievement ul li img.portlait {
  height: 100%;
  width: auto;
  margin: auto;
}
main#company section#achievement ul li.portlait {
  aspect-ratio: 1/1;
}
main#company section#achievement ul li.portlait img {
  width: auto;
  height: 100%;
}
@media (max-width: 960px) {
  main#company section#achievement ul li.portlait img {
    max-height: 300px;
  }
}
main#business {
  margin-top: 65px;
}
@media (max-width: 768px) {
  main#business {
    margin-top: 50px;
  }
}
main#business h2.bg-letter img {
  height: 73px;
}
@media (max-width: 1200px) {
  main#business h2.bg-letter img {
    margin-left: -50px;
  }
}
@media (max-width: 1200px) and (max-width: 768px) {
  main#business h2.bg-letter img {
    margin-left: -5vw;
  }
}
main#business section {
  /* 事業概要　*/
  /* 指定基準 */
  /* 下層ページ - 事業内容 */
}
main#business section#ttl {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 270px;
  margin-bottom: 90px;
}
@media (max-width: 960px) {
  main#business section#ttl {
    height: 25vw;
    margin-bottom: max(8vw, 40px);
  }
}
main#business section#ttl .ttl {
  filter: drop-shadow(0 0 5px #000);
}
main#business section#ttl .ttl img {
  height: 72px;
  width: auto;
}
@media (max-width: 960px) {
  main#business section#ttl .ttl img {
    height: 6vw;
    min-height: 40px;
  }
}
main#business section#ttl.soil {
  background-image: url(img/business/soil-ttl-bg.jpg);
}
main#business section#ttl.reterra {
  background-image: url(img/business/reterra-ttl-bg.jpg);
}
main#business section#ttl.civil {
  background-image: url(img/business/civil-ttl-bg.webp);
}
main#business section#ttl.construction {
  background-image: url(img/business/construction-ttl-bg.jpg);
}
main#business section#ttl.duct {
  background-image: url(img/business/duct-ttl-bg.jpg);
}
main#business section#overview {
  margin-bottom: 100px;
}
@media (max-width: 500px) {
  main#business section#overview {
    margin-bottom: max(8vw, 50px);
  }
}
main#business section#overview .content-wrap {
  display: flex;
  gap: 50px;
  max-width: 1200px;
  margin: auto;
  padding-right: 20px;
}
@media (max-width: 768px) {
  main#business section#overview .content-wrap {
    flex-direction: column;
  }
}
@media (max-width: 768px) and (max-width: 550px) {
  main#business section#overview .content-wrap {
    padding: 0;
  }
}
@media (max-width: 1200px) {
  main#business section#overview .content-wrap .container {
    width: 40%;
  }
}
@media (max-width: 1200px) and (max-width: 768px) {
  main#business section#overview .content-wrap .container {
    width: 70%;
    min-width: 300px;
  }
}
main#business section#overview .content-wrap .img-wrap {
  position: relative;
}
main#business section#overview .content-wrap .img-wrap::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 30px;
  left: 20px;
  background-color: #f1f1f1;
  z-index: -1;
}
main#business section#overview .content-wrap .img-wrap img {
  height: 50vw;
  max-height: 550px;
  object-fit: cover;
}
@media (max-width: 768px) {
  main#business section#overview .content-wrap .img-wrap img {
    height: auto;
  }
}
main#business section#overview .content-wrap .txt-wrap {
  width: 55%;
  padding: 50px 60px;
  border: 1px solid #c2c2c2;
  border-radius: 5px;
}
@media (max-width: 960px) {
  main#business section#overview .content-wrap .txt-wrap {
    padding: 40px;
  }
}
@media (max-width: 960px) and (max-width: 768px) {
  main#business section#overview .content-wrap .txt-wrap {
    padding: 30px;
    width: 80%;
    margin-left: auto;
    min-width: 500px;
  }
}
@media (max-width: 960px) and (max-width: 768px) and (max-width: 550px) {
  main#business section#overview .content-wrap .txt-wrap {
    min-width: inherit;
    width: 90%;
    margin: auto;
  }
}
main#business section#overview .content-wrap .txt-wrap h3 {
  color: #0069a7;
  margin-bottom: max(10px, 3vw);
  line-height: 1.5;
  font-size: clamp(0.938rem, 0.804rem + 0.67vw, 1.125rem);
}
main#business section#overview .content-wrap .txt-wrap .wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 960px) {
  main#business section#overview .content-wrap .txt-wrap .wrap {
    font-size: 13px;
  }
}
main#business section#standard {
  margin-bottom: 100px;
  padding: 0 30px;
}
@media (max-width: 500px) {
  main#business section#standard {
    padding: 0 max(10px, 2vw);
    margin-bottom: max(50px, 8vw);
  }
}
main#business section#standard table {
  width: 100%;
}
main#business section#merit, main#business section#method {
  max-width: 1400px;
  margin: auto;
  position: relative;
  /* リテラ　*/
}
main#business section#merit ul.flex-list, main#business section#method ul.flex-list {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (max-width: 768px) {
  main#business section#merit ul.flex-list, main#business section#method ul.flex-list {
    width: 100%;
  }
}
main#business section#merit ul.flex-list li, main#business section#method ul.flex-list li {
  display: flex;
}
main#business section#merit ul.flex-list li dl, main#business section#method ul.flex-list li dl {
  width: 80%;
}
main#business section#merit ul.flex-list li dl dt, main#business section#method ul.flex-list li dl dt {
  font-size: 18px;
  font-weight: bold;
  color: #0069a7;
}
main#business section#merit ul.flex-list li dl dd, main#business section#method ul.flex-list li dl dd {
  margin-top: 1em;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
@media (max-width: 960px) {
  main#business section#merit ul.flex-list li dl dd, main#business section#method ul.flex-list li dl dd {
    font-size: 13px;
  }
}
main#business section#merit ul.flex-list li .img, main#business section#method ul.flex-list li .img {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: start;
}
main#business section#merit ul.flex-list li .img img, main#business section#method ul.flex-list li .img img {
  height: 85px;
  width: auto;
  margin: auto;
}
main#business section#merit.reterra::after, main#business section#method.reterra::after {
  content: "";
  display: block;
  position: absolute;
  background-image: url(img/business/reterra-img-cut-out.webp);
  background-size: contain;
  background-repeat: no-repeat;
  width: 371px;
  height: 143px;
  right: 20px;
  top: 90px;
}
@media (max-width: 1200px) {
  main#business section#merit.reterra::after, main#business section#method.reterra::after {
    width: 30vw;
  }
}
@media (max-width: 1200px) and (max-width: 768px) {
  main#business section#merit.reterra::after, main#business section#method.reterra::after {
    top: 0;
  }
}
main#business section#merit.reterra .flex-wrap, main#business section#method.reterra .flex-wrap {
  gap: 30px min(5vw, 50px);
  margin-top: 60px;
}
@media (max-width: 768px) {
  main#business section#merit.reterra .flex-wrap, main#business section#method.reterra .flex-wrap {
    margin-top: 30px;
  }
}
main#business section#merit.reterra .flex-wrap .img-wrap, main#business section#method.reterra .flex-wrap .img-wrap {
  width: 50%;
}
main#business section#merit .txt-wrap, main#business section#method .txt-wrap {
  margin-left: 90px;
  margin-top: min(30px, 3vw);
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
@media (max-width: 1200px) {
  main#business section#merit .txt-wrap, main#business section#method .txt-wrap {
    margin-left: 50px;
  }
}
@media (max-width: 1200px) and (max-width: 768px) {
  main#business section#merit .txt-wrap, main#business section#method .txt-wrap {
    margin-left: 0;
    width: 100%;
    padding: 0 20px;
  }
}
main#business section#merit .txt-wrap p, main#business section#method .txt-wrap p {
  font-size: 14px;
}
main#business section#merit .flex-wrap, main#business section#method .flex-wrap {
  max-width: 1200px;
  margin: auto;
  margin-top: 40px;
  display: flex;
  padding: 0 20px;
  gap: 30px min(2vw, 50px);
}
@media (max-width: 1200px) and (max-width: 768px) {
  main#business section#merit .flex-wrap, main#business section#method .flex-wrap {
    flex-direction: column-reverse;
    margin-top: 40px;
  }
}
main#business section#merit .flex-wrap .img-wrap, main#business section#method .flex-wrap .img-wrap {
  width: 60%;
  min-width: 300px;
}
@media (max-width: 768px) {
  main#business section#merit .flex-wrap .img-wrap, main#business section#method .flex-wrap .img-wrap {
    margin: auto;
  }
}
main#business section#merit.flex-wrap, main#business section#method.flex-wrap {
  display: flex;
  flex-direction: column;
  gap: 100px;
  overflow: hidden;
  padding: 0 20px;
}
main#business section#merit.flex-wrap ul.flex-wrap, main#business section#method.flex-wrap ul.flex-wrap {
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 60px 30px;
}
main#business section#merit.flex-wrap ul.flex-wrap li, main#business section#method.flex-wrap ul.flex-wrap li {
  width: 45%;
}
main#business section#merit > .content-wrap, main#business section#method > .content-wrap {
  position: relative;
}
main#business section#merit > .content-wrap::after, main#business section#method > .content-wrap::after {
  content: "";
  display: block;
  position: absolute;
  right: -70px;
  top: 0;
  background-repeat: no-repeat;
  background-position: right;
}
main#business section#merit > .content-wrap.omega::after, main#business section#method > .content-wrap.omega::after {
  background-image: url(img/business/omega-pseudo-img.webp);
  width: 310px;
  height: 224px;
  background-size: contain;
}
@media (max-width: 900px) {
  main#business section#merit > .content-wrap.omega::after, main#business section#method > .content-wrap.omega::after {
    width: 30vw;
  }
}
main#business section#merit > .content-wrap.spr::after, main#business section#method > .content-wrap.spr::after {
  background-image: url(img/business/spr-pseudo-img.webp);
  width: 305px;
  height: 227px;
  background-size: contain;
}
@media (max-width: 900px) {
  main#business section#merit > .content-wrap.spr::after, main#business section#method > .content-wrap.spr::after {
    width: 30vw;
  }
}
@media (max-width: 768px) {
  main#business section#method.flex-wrap {
    gap: 10vw;
  }
}
@media (max-width: 768px) {
  main#business section#method.flex-wrap h2.bg-letter img {
    margin-left: -60px;
    height: 7vw;
    min-height: 60px;
  }
}
main#business section#method.flex-wrap .txt-wrap {
  width: 70%;
}
@media (max-width: 768px) {
  main#business section#method.flex-wrap .txt-wrap {
    width: 80%;
  }
}
@media (max-width: 768px) and (max-width: 500px) {
  main#business section#method.flex-wrap .txt-wrap {
    padding: 0;
    margin-top: 10px;
  }
}
main#business section#method.flex-wrap ul.flex-list {
  max-width: 1200px;
  width: 100%;
  margin-top: 50px;
  flex-direction: row;
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  main#business section#method.flex-wrap ul.flex-list {
    margin-top: 30px;
  }
}
main#business section#method.flex-wrap ul.flex-list li {
  width: 47%;
}
@media (max-width: 768px) {
  main#business section#method.flex-wrap ul.flex-list li {
    width: 100%;
    padding-right: 20px;
  }
}
main#business section#method.flex-wrap > .content-wrap::after {
  right: -100px;
}
@media (max-width: 768px) {
  main#business section#method.flex-wrap > .content-wrap::after {
    right: -70px;
  }
}
main#business section#method.flex-wrap .content-wrap.spr h2.bg-letter {
  width: 140vw;
}
main#business section#works h2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
main#business section#works h2 img {
  max-width: 180px;
}
@media (max-width: 960px) {
  main#business section#works h2 img {
    height: 6vw;
    width: auto;
    min-height: 35px;
  }
}
main#business section#works div.works-civil-group {
  margin: auto;
  margin-top: 50px;
  max-width: 1200px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
@media (max-width: 800px) {
  main#business section#works div.works-civil-group {
    width: 100%;
    max-width: 700px;
  }
}
main#business section#works div.works-civil-group div.works-civil-item {
  display: flex;
  gap: 30px;
}
@media (max-width: 800px) {
  main#business section#works div.works-civil-group div.works-civil-item {
    gap: 20px;
  }
}
@media (max-width: 800px) {
  main#business section#works div.works-civil-group div.works-civil-item {
    flex-direction: column;
  }
}
main#business section#works div.works-civil-group div.works-civil-item div.img-wrap {
  width: 50%;
}
@media (max-width: 800px) {
  main#business section#works div.works-civil-group div.works-civil-item div.img-wrap {
    width: 100%;
  }
}
main#business section#works div.works-civil-group div.works-civil-item div.img-wrap img {
  width: 100%;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-grow: 1;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap div.works-civil-ttl {
  font-size: clamp(1rem, 0.909rem + 0.45vw, 1.25rem);
  color: #0069a7;
  font-weight: bold;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info div.info-row {
  display: flex;
  gap: 20px;
  border-top: 1px solid #0069a7;
  border-bottom: 1px solid #0069a7;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info div.info-row dt {
  width: 120px;
  background-color: #f5f7f8;
  color: #0069a7;
  font-weight: bold;
  text-align: center;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info div.info-row dd {
  width: 100%;
}
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info div.info-row dt,
main#business section#works div.works-civil-group div.works-civil-item div.info-wrap dl.works-civil-info div.info-row dd {
  padding: 0.5em 0;
  font-size: clamp(0.813rem, 0.744rem + 0.34vw, 1rem);
}
main#business section#works .table-wrap {
  padding: 0 20px;
}
main#business section#works .table-wrap table {
  margin-top: min(50px, 5vw);
  width: 100%;
  max-width: 900px;
}
main#business section#works .table-wrap table td {
  text-align: center;
}
main#business section#works ul.card-list {
  max-width: 1200px;
  margin: auto;
  margin-top: min(60px, 5vw);
  margin-bottom: -50px;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 0 min(50px, 2vw);
  padding: 0 20px;
}
@media (max-width: 768px) {
  main#business section#works ul.card-list {
    flex-direction: column;
  }
}
main#business section#works ul.card-list li.card-item {
  width: 45%;
  margin: auto;
  display: flex;
  flex-direction: column-reverse;
}
@media (max-width: 768px) {
  main#business section#works ul.card-list li.card-item {
    width: 100%;
    max-width: 500px;
  }
}
main#business section#works ul.card-list li.card-item div.img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
main#business section#works ul.card-list li.card-item dl {
  text-align: center;
  background-color: #eef4fe;
  width: 70%;
  margin: auto;
  padding: 30px 0;
  transform: translateY(-50%);
}
main#business section#works ul.card-list li.card-item dl dt {
  font-weight: bold;
  color: #0069a7;
  font-size: clamp(0.875rem, 0.784rem + 0.45vw, 1.125rem);
}
main#business section#works ul.card-list li.card-item dl dd {
  font-size: 14px;
}
@media (max-width: 768px) {
  main#business section#works ul.card-list li.card-item dl dd {
    font-size: 13px;
  }
}
main#contact, main#recruit {
  margin-top: 65px;
}
main#contact .screen-reader-response, main#recruit .screen-reader-response {
  display: none;
}
@media (max-width: 768px) {
  main#contact, main#recruit {
    margin-top: 50px;
  }
}
main#contact h2.bg-letter img, main#recruit h2.bg-letter img {
  height: 73px;
}
main#contact section, main#recruit section {
  /* 採用ページ概要 */
  /* 募集要項 */
}
main#contact section#ttl, main#recruit section#ttl {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 270px;
}
@media (max-width: 960px) {
  main#contact section#ttl, main#recruit section#ttl {
    height: 25vw;
    margin-bottom: max(8vw, 40px);
  }
}
main#contact section#ttl .ttl, main#recruit section#ttl .ttl {
  filter: drop-shadow(0 0 5px #000);
}
main#contact section#ttl .ttl img, main#recruit section#ttl .ttl img {
  height: 72px;
}
@media (max-width: 960px) {
  main#contact section#ttl .ttl img, main#recruit section#ttl .ttl img {
    height: 6vw;
    min-height: 40px;
  }
}
main#contact section#ttl.contact, main#recruit section#ttl.contact {
  background-image: url(img/contact-ttl-bg.jpg);
}
main#contact section#ttl.recruit, main#recruit section#ttl.recruit {
  background-image: url(img/recruit/recruit-ttl-bg.webp);
}
main#contact section#intro, main#recruit section#intro {
  height: inherit;
  min-height: inherit;
  margin: auto;
  margin-bottom: min(140px, 14vw);
  margin-top: min(140px, 14vw);
}
@media (max-width: 960px) {
  main#contact section#intro, main#recruit section#intro {
    width: 80%;
  }
}
main#contact section#intro .ttl, main#recruit section#intro .ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
main#contact section#intro .ttl img, main#recruit section#intro .ttl img {
  max-width: 485px;
  width: 100%;
}
main#contact section#intro .txt-wrap, main#recruit section#intro .txt-wrap {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1em;
}
main#contact section#intro .txt-wrap p, main#recruit section#intro .txt-wrap p {
  font-size: clamp(0.75rem, 0.659rem + 0.45vw, 1rem);
}
main#contact section#value, main#recruit section#value {
  max-width: 1000px;
  padding: 0 20px;
  margin: auto;
}
main#contact section#value h2, main#recruit section#value h2 {
  max-width: 490px;
  width: 80%;
}
main#contact section#value ul.value-list, main#recruit section#value ul.value-list {
  margin-top: min(60px, 5vw);
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 768px) {
  main#contact section#value ul.value-list, main#recruit section#value ul.value-list {
    flex-direction: column;
  }
}
main#contact section#value ul.value-list li, main#recruit section#value ul.value-list li {
  flex: 1;
  border: 1px solid #6695ee;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 40px;
  justify-content: flex-start;
}
@media (max-width: 768px) {
  main#contact section#value ul.value-list li, main#recruit section#value ul.value-list li {
    gap: 3vw;
  }
}
main#contact section#value ul.value-list li .value-number, main#recruit section#value ul.value-list li .value-number {
  width: 100%;
  display: flex;
}
main#contact section#value ul.value-list li .value-number img, main#recruit section#value ul.value-list li .value-number img {
  max-height: 62px;
  width: auto;
  margin: auto;
  margin-left: 0;
  margin-top: 20px;
}
main#contact section#value ul.value-list li .value-ttl, main#recruit section#value ul.value-list li .value-ttl {
  width: 100%;
  padding: 0 20px;
}
main#contact section#value ul.value-list li .value-ttl img, main#recruit section#value ul.value-list li .value-ttl img {
  max-height: 28px;
  height: 4vw;
  width: auto;
  margin-left: 0;
}
main#contact section#value ul.value-list li .txt, main#recruit section#value ul.value-list li .txt {
  display: flex;
  flex-direction: column;
  padding: 0 20px 20px;
  font-size: 14px;
  gap: 10px;
}
main#contact section#description, main#recruit section#description {
  margin: auto;
  margin-top: min(100px, 15vw);
  max-width: 800px;
  padding: 0 20px;
}
main#contact section#description h2, main#recruit section#description h2 {
  display: flex;
  justify-content: center;
  align-items: center;
}
main#contact section#description h2 img, main#recruit section#description h2 img {
  max-height: 85px;
  height: 15vw;
}
main#contact section#description dl, main#recruit section#description dl {
  margin-bottom: 70px;
  margin-top: min(40px, 4vw);
}
main#contact section#description dl .flex-wrap, main#recruit section#description dl .flex-wrap {
  display: flex;
  gap: min(30px, 3vw);
  font-size: 14px;
  max-width: 700px;
  margin: auto;
}
main#contact section#description dl .flex-wrap:first-child dl dt, main#recruit section#description dl .flex-wrap:first-child dl dt {
  border-top: 2px solid #0069a7;
}
main#contact section#description dl .flex-wrap:first-child dl dd, main#recruit section#description dl .flex-wrap:first-child dl dd {
  border-top: 1px solid #c2c2c2;
}
@media (max-width: 768px) {
  main#contact section#description dl .flex-wrap, main#recruit section#description dl .flex-wrap {
    font-size: 13px;
  }
}
main#contact section#description dl .flex-wrap dt, main#recruit section#description dl .flex-wrap dt {
  border-bottom: 2px solid #0069a7;
  color: #0069a7;
  font-weight: bold;
  text-align: center;
  padding: 10px 5px;
  width: 30%;
  min-width: 70px;
  font-size: 14px;
}
main#contact section#description dl .flex-wrap dd, main#recruit section#description dl .flex-wrap dd {
  border-bottom: 1px solid #c2c2c2;
  flex-grow: 1;
  width: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}
main#contact section#description dl .flex-wrap dd ul, main#recruit section#description dl .flex-wrap dd ul {
  margin: 0;
  font-size: 14px;
}
main#contact section#description dl .flex-wrap dd p, main#recruit section#description dl .flex-wrap dd p {
  font-size: 14px;
}
main#contact section#form, main#recruit section#form {
  background-color: #f5f7f8;
  padding-top: min(80px, 8vw);
  padding-bottom: min(100px, 10vw);
  margin-bottom: min(70px, 7vw);
}
main#contact section#form h2.entry-ttl, main#recruit section#form h2.entry-ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}
main#contact section#form h2.entry-ttl img, main#recruit section#form h2.entry-ttl img {
  max-height: 85px;
  height: 15vw;
}
main#contact section#form .intro, main#recruit section#form .intro {
  text-align: center;
  margin-bottom: min(70px, 7vw);
  padding: 0 20px;
}
@media (max-width: 960px) {
  main#contact section#form .intro, main#recruit section#form .intro {
    font-size: 13px;
  }
}
main#contact section#form .steps, main#recruit section#form .steps {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  width: 100%;
  padding: 0 20px;
  margin: auto;
  margin-bottom: min(60px, 6vw);
}
main#contact section#form .steps .step, main#recruit section#form .steps .step {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #4a4a4a;
  font-weight: bold;
  font-size: clamp(0.625rem, 0.489rem + 0.68vw, 1rem);
  padding: min(20px, 5vw) 0;
}
main#contact section#form .steps .step span, main#recruit section#form .steps .step span {
  font-size: 10px;
  font-weight: normal;
}
main#contact section#form .steps .step.one, main#contact section#form .steps .step.two, main#recruit section#form .steps .step.one, main#recruit section#form .steps .step.two {
  position: relative;
}
main#contact section#form .steps .step.one::after, main#contact section#form .steps .step.two::after, main#recruit section#form .steps .step.one::after, main#recruit section#form .steps .step.two::after {
  content: "";
  display: block;
  width: 10px;
  height: 100%;
  clip-path: polygon(0% 0%, 100% 50%, 0% 100%);
  position: absolute;
  right: -9.5px;
  z-index: 1;
}
main#contact section#form .steps .step.one, main#recruit section#form .steps .step.one {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  background-color: #efefef;
}
main#contact section#form .steps .step.one::after, main#recruit section#form .steps .step.one::after {
  background-color: #efefef;
}
main#contact section#form .steps .step.two, main#recruit section#form .steps .step.two {
  background-color: #e7e7e7;
  position: relative;
}
main#contact section#form .steps .step.two::after, main#recruit section#form .steps .step.two::after {
  background-color: #e7e7e7;
}
main#contact section#form .steps .step.three, main#recruit section#form .steps .step.three {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #dfdfdf;
}
main#contact section#form .steps .step.active, main#recruit section#form .steps .step.active {
  background-color: #0069a7;
  color: white;
}
main#contact section#form .steps .step.active span, main#recruit section#form .steps .step.active span {
  color: #fff;
}
main#contact section#form .steps .step.active::after, main#recruit section#form .steps .step.active::after {
  background-color: #0069a7;
}
main#contact section#form .form-container, main#recruit section#form .form-container {
  padding: 20px;
  max-width: 800px;
  margin: auto;
}
main#contact section#form .form-container .flex-wrap, main#recruit section#form .form-container .flex-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: start;
}
main#contact section#form .form-container span.flex, main#recruit section#form .form-container span.flex {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
main#contact section#form .form-container span.flex span.postal-icon, main#recruit section#form .form-container span.flex span.postal-icon {
  font-weight: bold;
}
main#contact section#form .form-container span.flex input#postcode, main#recruit section#form .form-container span.flex input#postcode {
  margin-bottom: 0;
  width: 200px;
  margin-left: 1em;
}
main#contact section#form .form-container label, main#recruit section#form .form-container label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-top: 1em;
  margin-bottom: 10px;
}
main#contact section#form .form-container label span, main#recruit section#form .form-container label span {
  font-size: 11px;
  padding: 5px;
  font-weight: normal;
  border-radius: 3px;
  margin-left: 10px;
}
main#contact section#form .form-container label span.wpcf7-list-item-label, main#recruit section#form .form-container label span.wpcf7-list-item-label {
  font-size: 14px;
}
main#contact section#form .form-container label span.required, main#recruit section#form .form-container label span.required {
  background-color: #b5382e;
  color: #fff;
}
main#contact section#form .form-container label span.optional, main#recruit section#form .form-container label span.optional {
  background-color: #fff;
  border: 1px solid #c2c2c2;
}
main#contact section#form .form-container .birthdate-select, main#recruit section#form .form-container .birthdate-select {
  display: flex;
  gap: 1em;
}
main#contact section#form .form-container .birthdate-select select, main#recruit section#form .form-container .birthdate-select select {
  width: 4em;
}
main#contact section#form .form-container .birthdate-select select:first-child, main#recruit section#form .form-container .birthdate-select select:first-child {
  width: 6em;
}
main#contact section#form .form-container input,
main#contact section#form .form-container textarea,
main#contact section#form .form-container select, main#recruit section#form .form-container input,
main#recruit section#form .form-container textarea,
main#recruit section#form .form-container select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
main#contact section#form .form-container input[type=checkbox],
main#contact section#form .form-container textarea[type=checkbox],
main#contact section#form .form-container select[type=checkbox], main#recruit section#form .form-container input[type=checkbox],
main#recruit section#form .form-container textarea[type=checkbox],
main#recruit section#form .form-container select[type=checkbox] {
  width: auto;
}
main#contact section#form .form-container input#postal,
main#contact section#form .form-container textarea#postal,
main#contact section#form .form-container select#postal, main#recruit section#form .form-container input#postal,
main#recruit section#form .form-container textarea#postal,
main#recruit section#form .form-container select#postal {
  width: 10em;
  margin: auto;
  margin-left: 10px;
}
main#contact section#form .form-container input#birth-month, main#contact section#form .form-container input#birth-day,
main#contact section#form .form-container textarea#birth-month,
main#contact section#form .form-container textarea#birth-day,
main#contact section#form .form-container select#birth-month,
main#contact section#form .form-container select#birth-day, main#recruit section#form .form-container input#birth-month, main#recruit section#form .form-container input#birth-day,
main#recruit section#form .form-container textarea#birth-month,
main#recruit section#form .form-container textarea#birth-day,
main#recruit section#form .form-container select#birth-month,
main#recruit section#form .form-container select#birth-day {
  width: 4em;
}
main#contact section#form .form-container input#birth-year,
main#contact section#form .form-container textarea#birth-year,
main#contact section#form .form-container select#birth-year, main#recruit section#form .form-container input#birth-year,
main#recruit section#form .form-container textarea#birth-year,
main#recruit section#form .form-container select#birth-year {
  width: 8em;
}
main#contact section#form .form-container .checkbox-group,
main#contact section#form .form-container .radiobtn-group, main#recruit section#form .form-container .checkbox-group,
main#recruit section#form .form-container .radiobtn-group {
  margin-bottom: 1em;
}
main#contact section#form .form-container .checkbox-group input[type=checkbox],
main#contact section#form .form-container .checkbox-group input[type=radio],
main#contact section#form .form-container .radiobtn-group input[type=checkbox],
main#contact section#form .form-container .radiobtn-group input[type=radio], main#recruit section#form .form-container .checkbox-group input[type=checkbox],
main#recruit section#form .form-container .checkbox-group input[type=radio],
main#recruit section#form .form-container .radiobtn-group input[type=checkbox],
main#recruit section#form .form-container .radiobtn-group input[type=radio] {
  width: 1em;
  height: 1em;
  margin: auto 0;
}
main#contact section#form .form-container .checkbox-group label,
main#contact section#form .form-container .radiobtn-group label, main#recruit section#form .form-container .checkbox-group label,
main#recruit section#form .form-container .radiobtn-group label {
  display: flex;
  align-items: center;
  font-weight: normal;
}
main#contact section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control, main#recruit section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control {
  flex-direction: column;
  display: flex;
}
main#contact section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label, main#recruit section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label {
  margin: 0;
}
main#contact section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label input,
main#contact section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label input[type=checkbox], main#recruit section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label input,
main#recruit section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label input[type=checkbox] {
  margin: 0;
  width: auto;
}
main#contact section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label span.wpcf7-list-item-label, main#recruit section#form .form-container span.wpcf7-form-control-wrap span.wpcf7-form-control span.wpcf7-list-item label span.wpcf7-list-item-label {
  font-size: 14px;
  margin-left: 0;
}
main#contact section .confirm_area,
main#contact section .thanks_area, main#recruit section .confirm_area,
main#recruit section .thanks_area {
  display: none;
}
main#contact section .wpcf7-response-output, main#recruit section .wpcf7-response-output {
  display: none;
}
main#contact section .center, main#recruit section .center {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1em;
}
main#contact section .btn-container, main#recruit section .btn-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: min(60px, 6vw);
  position: relative;
  max-width: 400px;
}
main#contact section .btn-container::after, main#recruit section .btn-container::after {
  content: "";
  display: block;
  background-image: url(img/send-icon.webp);
  width: 24px;
  height: 24px;
  position: absolute;
  z-index: 1;
  right: 20px;
}
main#contact section .btn-container input[type=button],
main#contact section .btn-container input.wpcf7-form-control.wpcf7-submit, main#recruit section .btn-container input[type=button],
main#recruit section .btn-container input.wpcf7-form-control.wpcf7-submit {
  display: block;
  width: 100%;
  background: #6695ee;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
  margin: auto;
  height: 70px;
}
main#contact section .btn-container input[type=button]:hover,
main#contact section .btn-container input.wpcf7-form-control.wpcf7-submit:hover, main#recruit section .btn-container input[type=button]:hover,
main#recruit section .btn-container input.wpcf7-form-control.wpcf7-submit:hover {
  opacity: 0.7;
}
main .top-img {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-top: min(-70px, -7vw);
  margin-bottom: min(100px, 10vw);
}
@media (max-width: 960px) {
  main .top-img {
    width: 80%;
  }
}
main.sub-page {
  padding-top: 150px;
}
@media (max-width: 960px) {
  main.sub-page {
    padding-top: 100px;
  }
}
@media (max-width: 960px) and (max-width: 500px) {
  main.sub-page {
    font-size: 0.9rem;
  }
  main.sub-page h2 {
    font-size: 1.2rem;
  }
}
main.sub-page h2 {
  color: #0069a7;
  border-bottom: solid 1px #0069a7;
  padding-bottom: 5px;
  text-wrap: auto;
  line-height: 1.5;
}
main.sub-page ul.article-list {
  list-style: none;
  padding: 0;
}
main.sub-page ul.article-list li time {
  margin-right: 1em;
  font-size: 0.8rem;
  display: block;
}
main.sub-page ul.article-list li a {
  color: #0069a7;
  text-decoration: underline;
  font-weight: bold;
}
main.sub-page ul.article-list li a:hover {
  text-decoration: none;
}
main.sub-page ul.article-list li + li {
  margin-top: 1em;
}

/* フッター */
footer {
  /* 会社情報 */
  /* フッターナビゲーション */
}
footer section#info {
  max-width: 1200px;
  padding: 0 20px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  footer section#info {
    flex-direction: column;
    max-width: 600px;
  }
}
@media (max-width: 768px) and (max-width: 500px) {
  footer section#info {
    padding: 0;
  }
}
footer section#info > * {
  width: 50%;
  height: 400px;
}
@media (max-width: 768px) {
  footer section#info > * {
    width: 100%;
    max-width: 700px;
  }
}
@media (max-width: 768px) and (max-width: 500px) {
  footer section#info > *:nth-child(2) {
    height: 40%;
  }
}
footer section#info .address-container {
  padding: 50px 100px;
  background-color: #eef4fe;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 1200px) {
  footer section#info .address-container {
    padding: 2vw;
  }
}
footer section#info .address-container .logo {
  width: 210px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}
footer section#info .address-container .logo::after {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  border-bottom: 1px solid #2e3842;
}
footer section#info .address-container dl {
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
footer section#info .address-container dl .address-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
}
footer section#info .address-container dl .address-wrap dt {
  font-weight: bold;
  font-size: 14px;
}
footer section#info .container iframe {
  width: 100%;
}
footer section#footer {
  width: 100%;
  background-color: #0069a7;
  margin-top: 100px;
  padding: 60px 20px;
}
footer section#footer.top {
  margin-top: 0;
}
@media (max-width: 500px) {
  footer section#footer {
    margin-top: 50px;
    padding: 30px 20px;
  }
}
footer section#footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: bold;
  gap: 1em 30px;
}
@media (max-width: 500px) {
  footer section#footer ul {
    flex-wrap: wrap;
    padding: 0 20px;
  }
  footer section#footer ul li {
    width: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  footer section#footer ul li a {
    display: block;
  }
}
footer section#footer ul li a {
  color: #fff;
}
footer section#footer small {
  text-align: center;
  display: block;
  margin-top: 2em;
  color: #fff;
}
footer#contact section#footer {
  margin-top: 30px;
}