/* =============================
全体の設定
============================= */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

:root {
  --blue: #187fc4;
  --orange: #ff9840;
  --gray: #f4f4f4;
}

.wrapper {
  overflow: hidden;
}

img {
  width: 100%;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  font-family: "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック",
    "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro",
    メイリオ, Meiryo, sans-serif;
  font-weight: normal;
  font-size: 1.6rem;
  color: #333;
  line-height: 1.75;
  -webkit-font-feature-settings: "palt";
  font-feature-settings: "palt";
  text-align: justify;
  text-justify: inter-ideograph;
  letter-spacing: 0em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.6;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

/* =============================
共通設定
============================= */
.sp {
  display: none;
}

#page-top {
  position: fixed;
  bottom: 5%;
  right: 10px;
  z-index: 1;
}

#page-top a {
  background: url(../../img/page-top.png) no-repeat center;
  text-decoration: none;
  color: #fff;
  width: 34px;
  height: 141px;
  display: block;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

.breadcrumb {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.6rem;
}

.title-box {
  padding-top: 9rem;
}

.section-title {
  font-size: 4rem;
  font-weight: bold;
  width: fit-content;
  text-align: center;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: Noto Serif JP;
}

.section-title::after {
  position: absolute;
  content: "";
  width: 90px;
  border-top: 1px solid #5c5c5c;
  margin-left: 20px;
  top: 50%;
  right: -100px;
}

.bg-gray {
  background-color: var(--gray);
}

.orange {
  color: var(--orange);
}

.bold {
  font-weight: bold;
}

.block {
  display: block;
}

.section-subtitle {
  color: #333;
  font-family: Suez One;
  font-size: 2rem;
  display: block;
  width: fit-content;
  margin: 0 auto 2.4rem;
}

.more-linkBtn {
  position: relative;
  display: block;
  font-family: Suez One;
  font-size: 2rem;
  width: 230px;
  height: 48px;
  color: #fff;
  background-color: #707070;
  text-align: center;
  line-height: 48px;
}

.more-linkBtn::before {
  position: absolute;
  content: "";
  width: 48px;
  height: 3px;
  background-color: var(--orange);
  top: 50%;
  right: -10%;
}

.more-linkBtn::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 100%;
  height: 3px;
  background: var(--orange);

  /*アニメーションの指定*/
  transition: all 0.4s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}

.more-linkBtn:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

/* =============================
ヘッダー
============================= */
.header {
  width: 100%;
  position: fixed;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__inner.container {
  padding: 0.9rem 2rem;
}

/* .header__nav {
  line-height: 9rem;
} */

.header__ul {
  display: flex;
}

.header__li {
  padding: 0 2rem;
  border-right: 1px solid #333;
}

.header__li:first-child {
  margin-left: 0;
}

.header__li:last-child {
  margin-right: 0;
  border-right: none;
}

.header__link {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.header__link::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 100%;
  height: 3px;
  background: var(--orange);

  /*アニメーションの指定*/
  transition: all 0.4s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}

.header__link:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

.site-title {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-title a {
  font-family: Noto Serif JP;
  font-size: 3.5rem;
  font-weight: 900;
}

.site-title a span {
  font-size: 2.1rem;
}

.site-title img {
  width: 31px;
  height: 73px;
}

/* =============================
ファーストビュー
============================= */
.first-view {
  padding-top: 9rem;
}

/* =============================
経営理念
============================= */
.philosopyh_txt {
  text-align: center;
  font-size: 3rem;
  position: relative;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.philosopyh_txt::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 500px;
  border-bottom: 1px solid var(--orange);
}

.philosopyh_txt::after {
  content: "";
  position: absolute;
  left: 490px;
  bottom: 0;
  width: 535px;
  border-bottom: 1px solid var(--blue);
}
/* =============================
寅屋について
============================= */
.about__h3-title {
  font-size: 3rem;
  font-weight: 900;
  text-align: center;
  margin: 6rem 0 2.4rem;
  font-family: Noto Serif JP;
}

.about__h4-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 1.6rem;
  font-family: Noto Serif JP;
}

.about__h4-title span {
  border-bottom: 2px solid var(--orange);
}

.about__topBox {
  margin: 0 auto 8rem;
}

.about__topTxt {
  margin-bottom: 4rem;
  text-align: center;
  font-size: 2rem;
}

.about__president-name {
  font-size: 2.4rem;
  font-family: Noto Serif JP;
  text-align: center;
}

.about__innerBox {
  display: flex;
  justify-content: space-between;
  gap: 5.6rem;
  margin-bottom: 8rem;
}

.about__imgBox {
  width: 50%;
}

.about__txtBox {
  width: 50%;
  display: flex;
  flex-direction: column;
}

.about__txt {
  margin-bottom: 2rem;
}

.photoBox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: auto;
  grid-gap: 2rem;
}

.recruit-cta {
  margin: 14rem auto;
  text-align: center;
}

/* =============================
会社概要
============================= */
.company {
  background-color: var(--gray);
}

.company__table {
  width: 100%;
  border-top: 1px solid #707070;
  border-bottom: 1px solid #707070;
}

.company__table th,
.company__table td {
  padding: 3rem;
  border-bottom: 1px solid #707070;
}

.company__table th {
  background-color: #dedede;
  width: 20%;
  font-weight: bold;
}

.company__table td {
  background-color: #fff;
  width: 80%;
}

.company__table li {
  list-style-type: disc;
  list-style-position: inside;
}

/* =============================
許可・資格・免許
============================= */
.qualification {
  background-color: var(--gray);
}

.cardBox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: auto;
  grid-gap: 2rem;
}

.card {
  width: 250px;
  height: 60px;
  position: relative;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card:before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 0;
  border-color: var(--blue) transparent transparent transparent;
}

/* =============================
事業内容
============================= */
.services__innerBox {
  display: flex;
  gap: 4rem;
  margin-bottom: 12rem;
}

.services__innerBox:last-child {
  margin-bottom: 0;
}

.services__imgBox {
  width: 48%;
}

.services__txtBox {
  width: 48%;
  /* display: flex;
  flex-direction: column;
  justify-content: space-between; */
  position: relative;
}

.services__txtBox::after {
  position: absolute;
  top: -200px;
  right: -50px;
  z-index: -1;
}

.services__txtBox.one::after {
  content: url(../../img/01.png);
}

.services__txtBox.two::after {
  content: url(../../img/02.png);
}

.services__txtBox.three::after {
  content: url(../../img/03.png);
}

.services__txtLink {
  display: block;
}

.services__h3-title {
  font-size: 2.6rem;
  font-weight: 900;
  font-family: Noto Serif JP;
}

.services__txtLink:hover .services__h3-title {
  color: var(--orange);
}

.services__txtBox .more-linkBtn {
  /* margin-left: auto; */
}

/* =============================
アクセス
============================= */
.map {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 30%;
}

/* Google Mapのiframe */
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* =============================
フッター
============================= */
.footer {
  background-color: var(--gray);
}

.footer__innerBox {
  display: flex;
  justify-content: space-between;
}

.footer__left {
  display: flex;
  gap: 1.6rem;
}

.footer__logo img {
  width: auto;
}

.footer__info__company {
  font-size: 3rem;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.footer__info__company span {
  font-size: 2.4rem;
}

.footer__mobileTel {
  display: inline-block;
  color: var(--orange);
  font-size: 2.4rem;
  font-weight: bold;
}

.footer__ul {
  padding-left: 1.6rem;
  margin-bottom: 2.4rem;
  border-left: 1px solid #333;
}

.footer__li {
  margin-bottom: 1.6rem;
}

.footer__li::last-child {
  margin-bottom: 0;
}

.footer__link {
  display: block;
  font-weight: 900;
  font-family: Noto Serif JP;
}

.ctaBtn-orange {
  position: relative;
  display: block;
  font-size: 2rem;
  width: 310px;
  height: 48px;
  color: #fff;
  background-color: #707070;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.6rem;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.ctaBtn-orange::before {
  position: absolute;
  content: "";
  width: 48px;
  height: 3px;
  background-color: var(--orange);
  top: 50%;
  right: -6%;
}

.ctaBtn-orange::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 100%;
  height: 3px;
  background: var(--orange);

  /*アニメーションの指定*/
  transition: all 0.4s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}

.ctaBtn-orange:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

.ctaBtn-blue {
  position: relative;
  display: block;
  font-size: 2rem;
  width: 310px;
  height: 48px;
  color: #fff;
  background-color: #707070;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.ctaBtn-blue::before {
  position: absolute;
  content: "";
  width: 48px;
  height: 3px;
  background-color: #269bff;
  top: 50%;
  right: -6%;
}

.ctaBtn-blue::after {
  content: "";
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 100%;
  height: 3px;
  background: #269bff;

  /*アニメーションの指定*/
  transition: all 0.4s;
  transform: scale(0, 1); /*X方向0、Y方向1*/
  transform-origin: left top; /*左上基点*/
}

.ctaBtn-blue:hover::after {
  transform: scale(1, 1); /*X方向にスケール拡大*/
}

.ctaBtn-orange img,
.ctaBtn-blue img {
  width: auto;
  padding-right: 0.4rem;
}

.footer__copyright {
  padding: 1.6rem 0;
  background-color: #fff;
  text-align: center;
}

/* =============================
溶接・鍛冶工事・プラント工事
内部鉄骨
土木工事
============================= */
.job-description {
  background-color: var(--gray);
}

.job-description__img {
  text-align: center;
  margin-bottom: 4rem;
}

.job-description__txt {
  text-align: left;
  font-size: 2rem;
}

.job-descriptionSub .section-title {
  display: inline-block;
  text-align: left;
}

.job-descriptionSub .section-subtitle {
  width: 100%;
}

.job-descriptionSub__innerBox {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.job-descriptionSub__img {
  width: 50%;
}

.job-descriptionSub__txt {
  width: 46%;
}

/* =============================
採用情報
============================= */
#recruit .about__topTxt.first {
  margin-top: 5rem;
}

.ideal .cardBox {
  grid-template-columns: 1fr;
  font-family: Noto Serif JP;
  font-weight: 900;
}

.ideal .card {
  margin: 0 auto;
  width: 70%;
  height: 100px;
  position: relative;
  background-color: #fff;
  text-align: center;
  line-height: 100px;
  border: 1px solid #707070;
  font-size: 2.6rem;
  font-weight: bold;
}

.ideal .card::before {
  border-width: 56px 56px 0 0;
  border-color: var(--orange) transparent transparent transparent;
}

.recruit-method {
  background: url(../../img/bg-tile.jpg) repeat center;
}

.method-innerBox {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.method__txt {
  margin-bottom: 4rem;
  text-align: center;
}

.method-list .ctaBtn-orange,
.method-list .ctaBtn-blue {
  width: 410px;
  height: 60px;
  line-height: 1;
}

.method-list .ctaBtn-orange::before,
.method-list .ctaBtn-blue::before {
  right: -6%;
}

/* =============================
プライバシーポリシー
============================= */
#privacy-policy {
  padding-top: 9rem;
}

.privacy__txt {
  margin-bottom: 3.6rem;
}

.privacy-ul {
  margin-bottom: 3.6rem;
}

.privacy-li {
  list-style: inside;
}

/* =============================
お問い合わせ
============================= */
.contact__txtBox.container {
  padding-bottom: 0;
}

.contact__txtBox {
  margin: 0 auto;
  text-align: center;
}

.contact__topTxt {
  font-size: 2.6rem;
}

.contact__txt {
  font-size: 2rem;
}

.contact__link {
  font-size: 4rem;
}

/* =============================
サンクスページ
============================= */
.thanks {
  padding-top: 9rem;
}

.thanks__txt {
  font-size: 2rem;
  text-align: center;
}

/* =============================
レスポンシブ
============================= */
.hamburger__mask {
  display: none;
}
@media screen and (max-width: 1024px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
  .container {
    padding: 6rem 3.5rem;
  }
  .section-title {
    font-size: 2.4rem;
  }
  .section-title::after {
    width: 40px;
    right: -50px;
  }
  .section-subtitle {
    font-size: 1.4rem;
  }
  .title-box {
    padding-top: 6.5rem;
  }
  .header__inner.container {
    padding: 0.6rem 3.5rem;
  }
  .site-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .site-title a {
    font-family: Noto Serif JP;
    font-size: 2.4rem;
    font-weight: 900;
  }

  .site-title a span {
    font-size: 1.4rem;
  }

  .site-title img {
    width: auto;
    height: auto;
  }
  .header__nav {
    display: none;
  }
  .hamburger-icon {
    position: fixed;
    z-index: 100;
    top: -35px;
    right: 10%;
    background: #333;
    cursor: pointer;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    transition: 0.2s;
  }

  .hamburger-icon span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    left: 28px;
    height: 4px;
    background: #fff;
    width: 34px;
  }

  .hamburger-icon span:nth-of-type(1) {
    top: 40px;
  }

  .hamburger-icon span:nth-of-type(2) {
    top: 50px;
  }

  .hamburger-icon span:nth-of-type(3) {
    top: 60px;
  }

  .hamburger-icon span:nth-of-type(3)::after {
    content: "MENU";
    position: absolute;
    top: 5px;
    left: -1px;
    color: #fff;
    font-size: 12px;
    font-family: Suez One;
  }
  .hamburger-icon.is-active span:nth-of-type(1) {
    top: 45px;
    left: 30px;
    transform: translateY(6px) rotate(-45deg);
    width: 34px;
  }

  .hamburger-icon.is-active span:nth-of-type(2) {
    opacity: 0;
  }

  .hamburger-icon.is-active span:nth-of-type(3) {
    top: 57px;
    left: 30px;
    transform: translateY(-6px) rotate(45deg);
    width: 34px;
  }

  .hamburger-icon.is-active span:nth-of-type(3)::after {
    content: "CLOSE";
    transform: translateY(0) rotate(-45deg);
    top: 10px;
    left: 17px;
  }

  .hamburger__mask {
    position: fixed;
    top: 65px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    background: #333;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s linear;
    padding: 6rem;
    z-index: 1;
  }

  .hamburger__mask.is-active {
    pointer-events: auto;
    opacity: 1;
    /* width: 100%; */
  }

  .hamburger__link {
    color: #fff;
    display: block;
    position: relative;
    font-family: Noto Serif JP;
    padding-bottom: 1.6rem;
    margin-bottom: 1.6rem;
    font-weight: 700;
    font-size: 1.8rem;
  }

  .hamburger__link::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 170px;
    border-bottom: 1px solid var(--orange);
  }

  .hamburger__link::after {
    content: "";
    position: absolute;
    left: 170px;
    bottom: 0;
    width: 83px;
    border-bottom: 1px solid var(--blue);
  }

  .philosopyh_txt {
    font-size: 2rem;
    text-align: center;
  }

  .first-view {
    padding-top: 6.5rem;
  }

  .border-orange,
  .border-blue {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }

  .border-orange {
    border-bottom: 1px solid var(--orange);
  }

  .border-blue {
    border-bottom: 1px solid var(--blue);
  }

  .philosopyh_txt::before,
  .philosopyh_txt::after {
    content: none;
  }

  .about__h3-title {
    font-size: 2rem;
    margin: 2.4rem 0;
  }

  .recruit-cta {
    margin: 7rem auto 0;
  }

  .cardBox {
    grid-template-columns: 1fr 1fr;
  }
  .card {
    width: auto;
  }
  .services__innerBox {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .services__txtBox {
    width: auto;
  }
  .services__h3-title {
    margin-bottom: 9.6rem;
    font-size: 2rem;
  }
  .more-linkBtn {
    margin-left: auto;
    width: 150px;
  }
  .services__txtBox::after {
    top: -30%;
    right: 0;
  }

  .services__txtBox.one::after {
    content: url(../../img/01_sp.png);
  }

  .services__txtBox.two::after {
    content: url(../../img/02_sp.png);
  }

  .services__txtBox.three::after {
    content: url(../../img/03_sp.png);
    top: -35%;
  }
  /* SP 縦並びで横幅いっぱい */
  /* Google Mapを囲う要素 */
  .map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    /* ↑比率を16:9に固定する場合は56.25% */
  }

  .footer__innerBox {
    flex-direction: column;
  }

  .footer__left {
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }

  .footer__info {
    text-align: center;
  }

  .footer__ul {
    display: none;
  }

  .ctaBtn-orange {
    margin: 0 auto 3rem;
    text-align: center;
  }

  .ctaBtn-blue {
    margin: 0 auto;
    text-align: center;
  }

  #recruit .about__topTxt.first {
    margin-top: 2rem;
  }

  .ideal .card {
    width: 100%;
    font-size: 2rem;
  }

  .method-innerBox {
    flex-direction: column;
  }

  .method__txt {
    text-align: left;
  }

  .method-list .ctaBtn-orange,
  .method-list .ctaBtn-blue {
    width: 320px;
  }

  .contact__topTxt {
    padding: 4rem 0 2rem;
    font-size: 2rem;
  }

  .contact__link {
    font-size: 3rem;
  }

  .thanks {
    padding-top: 6.5rem;
  }
}

@media screen and (max-width: 768px) {
  .about__innerBox {
    flex-direction: column;
    gap: 2.4rem;
    margin-bottom: 3rem;
  }
  .about__president-name {
    font-size: 2rem;
    text-align: right;
  }
  .about__h4-title {
    font-size: 2rem;
  }
  .about__topTxt {
    font-size: 1.6rem;
    text-align: left;
    margin-bottom: 2rem;
  }
  .about__imgBox,
  .about__txtBox {
    width: 100%;
  }
  .about__txtBox {
    order: 1;
  }
  .photoBox {
    grid-template-columns: 1fr 1fr;
  }
  .company__table {
    border-bottom: none;
  }
  .company__table th,
  .company__table td {
    display: block;
    width: 100%;
    padding: 0.8rem;
  }

  .job-description__txt {
    font-size: 1.6rem;
  }

  .job-descriptionSub__innerBox {
    flex-direction: column;
    gap: 1.6rem;
  }

  .job-descriptionSub__img {
    width: 100%;
  }

  .job-descriptionSub__txt {
    width: 100%;
  }

  .thanks__txt {
    font-size: 1.6rem;
  }
}
