/********************

共通

********************/
body {
  font-family: 'M PLUS 1p', sans-serif;
}

img {
  width: 100%;
}

.content__wrap {
  margin: 150px 0;
}

.mt-75 {
  margin-top: 75px;
}

.mb-75 {
  margin-bottom: 75px;
}


@media screen and (max-width: 768px) {
  .content__wrap {
    margin: 75px 0;
  }
}

/********************

トップページヘッダー

********************/
.Top-Header {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  padding: 75px 20px 0;
  background-color: rgba(255,255,255,.7);
}

.Top-Header h1 {
  margin: 0;
}

ul.Top-global-menu {
  list-style-type: none;
  margin-top: 50px;
  padding: 0;
  text-align: center;
  position: relative;
  z-index: 10;
}

ul.Top-global-menu > li {
  margin-bottom: 20px;
  position: relative;
}

ul.Top-global-menu > li::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 1px;
  background-color:#892736;
}

ul.Top-global-menu > li > a {
  display: block;
  color: #333;
  transition: .5s all;
}

ul.Top-global-menu > li > a:hover {
  text-decoration: none;
  color: #892736;
}

.Top-Hero__wrap {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
}


/*ハンバーガー*/
.Top-global-menu__btn {
  position: absolute;
  top: 20px;
  right: 0;
  background: #3D0B13;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: none;
  display: none;
}

.Top-global-menu__btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}

.Top-global-menu__btn span:nth-of-type(1) {
  top: 13px; 
}

.Top-global-menu__btn span:nth-of-type(2) {
  top: 19px; 
}

.Top-global-menu__btn span:nth-of-type(3) {
  top: 25px; 
}

.Top-global-menu__btn span:nth-of-type(3)::after {
  content:"Menu";
  position: absolute;
  top:5px;
  left:-2px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.Top-global-menu__btn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.Top-global-menu__btn.active span:nth-of-type(2) {
  opacity: 0;
}

.Top-global-menu__btn.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.Top-global-menu__btn.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}
/*ハンバーガーここまで*/


/*SP時*/
@media screen and (max-width: 991px){
  .Top-Header__wrap {
    border-top: 5px solid #892736;
  }
  .Top-Header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    padding: 20px 0;
  }
  .Top-Header > h1 > a img {
    max-width: 240px;
  }
  .Top-global-menu__btn {
    display: block;
  }
  ul.Top-global-menu {
    position: fixed;
    top: 150px;
    left: -70%;
    margin-top: 0;
    width: 70%;
    height: 100dvh;
    height: 100vh;
    transition: .3s;
    background-color: #3D0B13;
  }
  ul.Top-global-menu.panelactive {
    left: 0;
  }
  ul.Top-global-menu > li {
    margin: 0;
  }
  ul.Top-global-menu > li::before {
    content: none;
  }
  ul.Top-global-menu > li > a {
    display: block;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #dcdcdc;
  }
}


/********************

トップコンテンツ

********************/
h2.Catchcopy {
  font-family: 'Shippori Antique', sans-serif;
  text-align: center;
  line-height: 1.5;
}

h2.Top-main__tit {
  position: relative;
  text-align: center;
  font-size: 28px;
  padding-bottom: 10px;
}

h2.Top-main__tit::before {
  content: attr(sub-word);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  font-weight: bold;
  color: rgba(137,39,54,.35);
}

h2.Top-main__tit::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: rgba(137,39,54,.35);
}

.Top-works__bg {
  padding: 50px 20px;
  background-image: linear-gradient(90deg, #fff 0% 10%, #F5EBD5 10% 100%);
}

.Top-works__bg figure {
  position: relative;
  z-index: 2;
}

.Top-works__inner {
  position: absolute;
  top: 40px;
  left: -40px;
  background: #FFFAF0;
  padding: 30px 30px 30px 60px;
  width: 100%;
  min-height: 100%;
  line-height: 2;
  z-index: 1;
}

h3.Top-secondary__tit {
  font-size: 28px;
  font-weight: bold;
  position: relative;
  padding-left: 42px;
  margin-bottom: 20px;
}

h3.Top-secondary__tit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 35px;
  height: 36px;
  background: url("../img/circle.png") center / 100% no-repeat;
}

.Top-works-more__btn {
  max-inline-size: max-content;
  margin-inline: auto;
}

.Top-works-more__btn a {
  color: #333;
  text-decoration: underline;
  text-underline-offset: 5px;
}


/* 施工実績 */
.Top-example__wrap {
  padding: 30px 0;
  background: url("../img/example-bg.jpg") center / cover no-repeat;
  text-align: center;
}

a.Top-example__wrap--inner {
  display: inline-block;
  padding: 80px 50px 50px;
  background-color: rgba(255,255,255,.7);
  color: #333;
  transition: .3s;
}

a.Top-example__wrap--inner:hover {
  background-color: rgba(255,255,255,1);
}


/********************

フッター

********************/
.Footer-contact__wrap {
  padding: 100px 0 50px;
  background-color: #FAF3E4;
  text-align: center;
  border-top: 1px solid #DFD0B0;
}

.Footer-contact__wrap--inner {
  display: flex;
  flex-wrap: wrap;
}

.Footer-contact__wrap--inner > div {
  flex: 1 1 50%;
  position: relative;
  padding: 30px 0;
}

.Footer-contact__wrap--inner > div:first-child::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #ccc;
}

.Footer-contact__wrap--inner h3 {
  display: inline-block;
  font-size: 24px;
  margin: 0 0 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ccc;
}

.Footer-contact--phone {
  font-size: 40px;
  font-weight: bold;
  color: #555;
  margin: 0;
}

a.Footer-contact--form {
  display: block;
  max-inline-size: max-content;
  margin-inline: auto;
  background-color: #FFF1AE;
  font-weight: bold;
  color: #555;
  padding: 15px 30px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  transition: .3s;
}

a.Footer-contact--form:hover {
  background-color: #f1dc77;
}

.Footer-lower__wrap {
  text-align: center;
  background-color: #892736;
  padding: 50px 0;
  color: #fff;
}

.Footer--logo {
  display: inline-block;
  max-width: 261px;
  margin-bottom: 20px;
}

.Footer-lower__wrap ul {
  list-style-type: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
}

.Footer-lower__wrap ul > li {
  display: inline-block;
  padding: 10px;
}

.Footer-lower__wrap ul > li > a {
  color: #fff;
}


/********************

モバイル

********************/
@media screen and (max-width: 991px){
  .Top-works__inner {
    position: relative;
    top: auto;
    left: auto;
    background: #FFFAF0;
    padding: 20px;
  }
}

@media screen and (max-width: 768px){
  h2.Catchcopy {
    font-size: 24px;
  }
  h2.Top-main__tit {
    font-size: 24px;
  }
  h2.Top-main__tit::before {
    top: -35px;
    font-size: 50px;
  }
  .Top-example__wrap {
    margin-bottom: 150px;
  }
  a.Top-example__wrap--inner {
    padding: 80px 20px 50px;
  }
  .Footer-contact__wrap--inner > div {
    flex: 1 1 100%;
    margin-bottom: 50px;
  }
  .Footer-contact__wrap--inner > div:first-child::before {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 0;
    transform: translateY(0) translateX(-50%);
    width: 80%;
    height: 1px;
  }
  .Footer-contact--phone {
    font-size: 32px;
  }
  .Footer--logo {
    max-width: 200px;
  }
}


/********************

セカンドページ

********************/

/*セカンドページヘッダー*/
.Second-Header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

a.Second-Header--logo {
  width: 240px;
  display: block;
}

ul.Second-global-menu {
  list-style-type: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: flex-end;
  gap: 30px;
}

ul.Second-global-menu li {
  position: relative;
}

ul.Second-global-menu li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -14px;
  width: 1px;
  height: 18px;
  transform: rotate(8deg) translateY(-50%);
  background-color: #ccc;
}

ul.Second-global-menu li:last-child::before {
  content: none;
}

ul.Second-global-menu li a {
  color: #333;
}

/*ハンバーガー*/
.Second-global-menu__btn {
  position: absolute;
  top: 20px;
  right: 0;
  background: #3D0B13;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  border: none;
  display: none;
}

.Second-global-menu__btn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}

.Second-global-menu__btn span:nth-of-type(1) {
  top: 13px; 
}

.Second-global-menu__btn span:nth-of-type(2) {
  top: 19px; 
}

.Second-global-menu__btn span:nth-of-type(3) {
  top: 25px; 
}

.Second-global-menu__btn span:nth-of-type(3)::after {
  content:"Menu";
  position: absolute;
  top:5px;
  left:-2px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.Second-global-menu__btn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.Second-global-menu__btn.active span:nth-of-type(2) {
  opacity: 0;
}

.Second-global-menu__btn.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.Second-global-menu__btn.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}
/*ハンバーガーここまで*/

/*セカンドページヘッダーSP時*/
@media screen and (max-width: 991px){
  .Second-Header__wrap {
    border-top: 5px solid #892736;
  }
  .Second-Header {
    position: relative;
  }
  .Second-global-menu__btn {
    display: block;
  }
  ul.Second-global-menu {
    display: block;
    position: fixed;
    top: 150px;
    left: -70%;
    width: 70%;
    height: 100dvh;
    height: 100vh;
    transition: .3s;
    background-color: #3D0B13;
  }
  ul.Second-global-menu.panelactive {
    left: 0;
  }
  ul.Second-global-menu > li {
    margin: 0;
  }
  ul.Second-global-menu > li::before {
    content: none;
  }
  ul.Second-global-menu > li > a {
    display: block;
    padding: 20px 0;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #dcdcdc;
  }
}


/*セカンドページヒーロー*/
.Second-Hero__wrap {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  position: relative;
}

.Second-Hero__wrap--inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 100px 100px 50px;
  background-color: #fff;
  min-width: 212px;
  box-shadow: 0 0 5px rgb(0 0 0 / 20%);
}

.Second-main__tit {
  position: relative;
  text-align: center;
  font-size: 28px;
  padding-bottom: 10px;
  white-space: nowrap;
}

.Second-main__tit::before {
  content: attr(sub-word);
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Montserrat', sans-serif;
  font-size: 60px;
  font-weight: bold;
  color: rgba(137,39,54,.35);
}

.Second-main__tit::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: rgba(137,39,54,.35);
}

/*セカンドページヒーローSP時*/
@media screen and (max-width: 991px) {
  .Second-Hero__wrap--inner {
    padding: 75px 75px 50px;
  }
}

@media screen and (max-width: 767px) {
  .Second-Hero__wrap--inner {
    padding: 50px 50px 30px;
  }
  .Second-main__tit::before {
    top: -35px;
    font-size: 50px;
  }
}


/*セカンドページコンテンツ共通*/
.Sub__tit {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  padding: 5px 0 5px 35px;
  position: relative;
  border-bottom: 5px solid #ccc;
}

.Sub__tit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: url("../img/circle.png") center / 100% no-repeat;
}

.Sub__tit::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30%;
  height: 5px;
  background-color: #892736;
}


/*セカンドページ業務内容*/
.work__wrap > .col-md-4 {
  display: flex;
}

.work__wrap--inner {
  padding: 20px;
  background-color: #f4f5f7;
  border: 1px solid #ccc;
}

.work__wrap--inner h4 {
  font-size: 20px;
  margin-bottom: 20px;
}

.work__wrap--inner p:last-child {
  margin: 0;
}


/*セカンドページ施工実績*/
.example-before, .example-after {
  text-align: center;
}

.example-before {
  position: relative;
}

.example-before::before {
  content: "\f0a9";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 40%;
  right: -10px;
  transform: translate(0, -50%);
  font-size: 50px;
  color: #999;
}

.example-before img {
  width: 63%;
  box-shadow: 15px 15px #333333;
}

.example-after img {
  width: 81%;
  box-shadow: 15px 15px #D6B3B8;
}

.example-before p, .example-after p {
  padding: 5px 15px;
  margin-top: 40px;
  color: #fff;
  max-inline-size: max-content;
  margin-inline: auto;
}

.example-before p {
  background-color: #333;
}

.example-after p {
  background-color: #D6B3B8;
}


/*セカンドページ会社概要*/
table.about__tb {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  table-layout: fixed;
}

table.about__tb th {
  width: 120px;
  padding: 15px 7px 5px;
  border-bottom: 3px solid #892736;
  font-weight: normal;
}

table.about__tb td {
  padding: 15px 7px 5px;
  border-bottom: 3px solid #ccc;
}

.g-map {
  padding: 15px;
}

.g-map iframe {
  width: 100%;
  aspect-ratio: 1/1;
}


/*セカンドページお問い合わせ*/
form#mail_form input[type="button"] {
  margin-left: 0;
}

.Thanks-word {
  font-size: 28px;
  letter-spacing: 1px;
  line-height: 1.5;
}

.return-top__btn {
  display: block;
  padding: 10px 15px;
  margin: 50px 0 0;
  background-color: #f4f5f7;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  max-inline-size: max-content;
  margin-inline: auto;
}


/*セカンドページコンテンツSP時*/
@media screen and (max-width: 768px){
  .work__wrap > .col-md-4 {
    margin-bottom: 30px;
  }
  .example-before {
    margin-bottom: 100px;
  }
  .example-before::before {
    content: "\f0ab";
    top: auto;
    bottom: -70px;
    right: auto;
    left: 50%;
    transform: translate(-50%, 0);
  }
  .g-map {
    padding: 0;
  }
}