* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1 {
  font-family: "Montserrat", "sans-serif";
}

h3 {
  font-family: "Montserrat", "sans-serif";
}

header {
  max-width: 2000px;
}

.gnav {
  position: fixed;
  width: 100vw;
  max-width: 2000px;
  background-color: rgb(50 50 50 / 50%);
  display: flex;
  justify-content: space-between;
  z-index: 10;
  height: 50px;
}

.logo {
  text-align: center;
  display: flex;
}

.logo a {
  text-decoration: none;
  text-align: center;
  align-items: center;
  display: flex;
  color: white;
  padding-left: 15px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 330px) {
  .logo a {
    font-size: 11px;
  }
}

ul.gnav-list {
  /* background:black; */
  padding: 0;
  text-align: right;
}

ul.gnav-list li {
  display: inline-block;
}
ul.gnav-list li a {
  display: block;
  padding-right: 1.5em;
  padding-top: 1em;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
}

ul.gnav-list a::first-line {
  font-size: 12px;
}

@media (max-width: 400px) {
  .logo {
    font-size: 10px;
    width: 70vw;
  }
  ul.gnav-list {
    height: 50px;
    text-align: right;
    margin-right: 15px;
  }
  ul.gnav-list li a {
    padding: 0;
    line-height: 14px;
  }
}

.mainvisual {
  background-image: url(image/mainimage-tri.png);
  background-repeat: no-repeat;
  background-position: top center;
  background-attachment: fixed;
  height: 760px;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.company-english {
  font-size: 50px;
  font-weight: 600;
  color: white;
  font-family: "Lateef", cursive;
  margin-bottom: 0;
  letter-spacing: 0;
}

.company {
  font-size: 18px;
  font-weight: 600;
  color: white;
  font-family: "Noto Serif JP", serif;
  margin-bottom: 99px;
  margin-top: -15px;
}

/* @media (max-width:359px){
    .company-english{
        font-size: 26px;
    }
    .company{
        font-size: 14px;
    }
} */

@media (max-width: 427px) {
  .mainvisual {
    background-image: url(image/mainimage_sp.jpeg);
    height: 100vh;
    /* background-position: top center; */
    background-position-x: 53%;
    background-position-y: top;
  }
}

.mainvisual h1 {
  font-size: 40px;
  color: white;
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
  font-family: "Noto Serif JP", serif;
}
/* .company-english {
    font-family: 'Lateef', cursive;
    margin-bottom: 0;
}
.company {
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 99px;
} */
.btn-box {
  margin-top: 99px;
}

@media (min-width: 320px) and (max-width: 359px) {
  .mainvisual h1 {
    font-size: 22px;
    font-weight: 900;
  }
  .company-english {
    font-size: 36px;
  }
  .company {
    margin-bottom: 80px;
  }
  .btn-box {
    text-align: center;
    margin-top: 80px;
  }
}

@media (min-width: 360px) and (max-width: 490px) {
  .mainvisual h1 {
    font-size: 27px;
    font-weight: 900;
  }
  .company-english {
    font-size: 42px;
  }
  .company {
    margin-bottom: 74px;
  }
  .btn-box {
    text-align: center;
    margin-top: 74px;
  }
}

@media (min-width: 900px) {
  .mv-br {
    display: none;
  }
  span.text {
    display: inline-block;
  }
}

/* @media (max-width:450px){
    .mainvisual h1{
        margin-top: 150px;
    }
} */

@media (max-width: 450px) {
  /* .btn-box{
        text-align: center;
        margin-top: 0;
    } */
  .mv-btn {
    margin-top: 10px;
    margin-bottom: 5px;
    margin-right: 0;
  }
}

.btn-box button {
  margin-right: 15px;
  margin-left: 15px;
}

@media (max-width: 450px) {
  .btn-box button {
    margin-right: 0px;
  }
}

.mv-btn {
  color: white;
  background-color: rgb(255, 255, 255, 0.2);
  padding: 10px 20px;
  border: solid 1px;
  border-color: #fd0;
  border-radius: 3px;
  font-weight: 500;
  box-shadow: none;
  width: 190px;
}

.mv-btn a {
  text-decoration: none;
  color: white;
}

.section-box {
  text-align: center;
  width: 100vw;
}

.section-title {
  color: white;
}
.section-title h3 {
  font-size: 40px;
}

.section-title h3::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.section-title h5 {
  font-size: 18px;
  font-weight: 300;
  margin-top: 5px;
  margin-bottom: 10px;
}

.section-title-2 {
  color: black;
  text-align: center;
}

.section-title-2 h3 {
  font-size: 40px;
}

@media (max-width: 500px) {
  .section-title-2 h3 {
    font-size: 32px;
  }
}

.section-title-2 h3::after {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #fd0;
  margin: 8px 0 20px 0;
  margin-left: auto;
  margin-right: auto;
}

.section-title-2 h5 {
  font-size: 18px;
  font-weight: 300;
  margin-top: 10px;
  margin-bottom: 40px;
}

.bz-domain {
  align-items: center;
  align-content: center;
  padding-top: 100px;
  padding-bottom: 150px;
  padding-left: 200px;
  padding-right: 200px;
  background-attachment: fixed;
  /* background-position: top; */
  background-position: 70% -150%;
  background-image: url(image/bg01.png);
}

@media (max-width: 1090px) {
  .bz-domain {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 487px) {
  .bz-domain {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.bz-summary {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bz-summary h3 {
  font-size: 30px;
  margin-bottom: 50px;
}

@media (max-width: 530px) {
  .bz-summary h3 {
    font-size: 20px;
  }
  .bz-domain p {
    font-size: 16px;
  }
}

@media (min-width: 760px) {
  .br-760 {
    display: none;
  }
}

.bz-summary p {
  width: 600px;
  font-size: 20px;
}

@media (max-width: 800px) {
  .bz-summary p {
    width: 80vw;
    font-size: 20px;
  }
}

.work-sample {
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.work-sample a {
  text-decoration: none;
  color: black;
}

.work-sample a:hover {
  color: tomato;
}

.sample {
  width: 40%;
  text-align: center;
}

.sample a {
  margin-bottom: 5px;
  display: block;
  font-weight: 600;
}

@media (max-width: 500px) {
  .sample {
    width: 40%;
    justify-content: space-between;
  }
  .sample a {
    font-size: 10px;
  }
}

@media (min-width: 601px) and(max-width:900px) {
  .sample {
    width: 45%;
    justify-content: space-between;
  }
  .sample a {
    font-size: 14px;
  }
}

.sample-frame {
  width: 100%;
}

.sample-frame img:hover {
  border: 2px solid tomato;
}

.sample-frame img {
  width: 100%;
}

@media (min-width: 420px) {
  .sp-br {
    display: none;
  }
}

.cp-overview {
  background-color: rgba(3, 3, 3, 0.9);
  padding-top: 100px;
  padding-bottom: 100px;
}

/* @media(max-width:)
.sp-br{
    display: none;
} */

.cp-overview p {
  color: lightgray;
  margin-top: 30px;
  font-size: 14px;
  line-height: 2;
}

.cp-overview img {
  margin-top: 50px;
}

@media (max-width: 430px) {
  .cp-overview img {
    width: 90vw;
    height: auto;
  }
}

.cp-profile {
  background-image: url(image/top_bg02.png);
  background-position: center;
  background-attachment: fixed;
  /* background-size: cover; */
  color: white;
  padding-top: 100px;
  padding-bottom: 100px;
  height: auto;
  align-content: center;
}

.cp-profile h4 {
  width: 800px;
  text-align: center;
  margin: auto;
  margin-bottom: 10px;
  margin-top: 30px;
}
@media (max-width: 695px) {
  .cp-profile h4 {
    width: 80vw;
  }
}

.cp-profile h4::after {
  content: "";
  display: block;
  height: 3px;
  width: 60px;
  background: #fd0;
  /* margin: 4px 0 20px 0; */
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 30px;
}

.section-box-2 {
  text-align: center;
  width: 100vw;
}

.ceo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 1080px) {
  .ceo-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  .ceo-profile {
    margin-left: 0;
    margin-right: 0;
  }
}

.cp-profile p {
  color: white;
}
.ceo-img {
  width: 200px;
  height: 200px;
  margin-top: 50px;
}
@media (max-width: 550px) {
  .ceo-img {
    width: 200px;
    height: 200px;
  }
}

.ceo-name {
  margin: 10px 50px;
}

.ceo-profile {
  text-align: left;
  width: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 530px) {
  .ceo-profile {
    width: 320px;
  }
}

@media (min-width: 359px) and (max-width: 600px) {
  .ceo-profile {
    font-size: 14px;
    padding-right: 10px;
  }
  .ceo-history {
    margin-left: 15px;
    margin-right: 15px;
  }
}

@media (max-width: 358px) {
  .ceo-history {
    font-size: 12px;
    padding-left: 5px;
    margin-left: 15px;
    margin-right: 15px;
  }
}

.ceo-message {
  width: 800px;
  margin: auto;
}

@media (max-width: 800px) {
  .ceo-message {
    width: 80vw;
  }
}

@media (max-width: 400px) {
  .ceo-name {
    font-size: 21px;
  }
}

.btn-bz {
  text-decoration: none;
  text-align: center;
}

.btn-bz-text {
  padding: 13px 35px;
  padding-top: 13px;
  padding-right: 35px;
  padding-bottom: 13px;
  padding-left: 35px;
  background-color: coral;
  color: white;
  border-color: #fd0;
  border-radius: 3px;
  width: 320px;
  margin: auto;
  margin-top: 50px;
}

.btn-bz-text:hover {
  border: solid 2px #fd0;
}

@media (max-width: 358px) {
  .btn-bz-text {
    font-size: 0.8rem;
    width: 280px;
  }
}

.estate-box {
  display: flex;
  flex-direction: row;
  width: 100vw;
  background-image: url(image/top_bg03.png);
  background-attachment: fixed;
  justify-content: space-around;
}

@media (max-width: 1045px) {
  .estate-list {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .estate-box {
    flex-direction: column;
  }
}

.estate-list {
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  color: white;
}

.estate-list p {
  font-size: 24px;

  padding-bottom: 30px;
}

.estate-list > a {
  text-decoration: none;
}

.estate-list-img1 {
  width: 500px;
  height: 363px;
  text-align: center;
  margin-bottom: 20px;
  background-image: url(image/rignumdomus.JPG);
  background-size: cover;
}
.estate-list-img1:hover,
.estate-list-img2:hover {
  border: 2px solid #ed7b51;
}

.estate-list-img2 {
  width: 500px;
  height: 363px;
  text-align: center;
  margin-bottom: 20px;
  background-image: url(image/works-title.jpeg);
  background-size: cover;
}

@media (max-width: 550px) {
  .estate-list-img1 {
    width: 300px;
    height: 218px;
  }

  .estate-list-img2 {
    width: 300px;
    height: 218px;
  }
}

.btn-estate {
  padding: 13px 35px;
  padding-top: 13px;
  padding-right: 35px;
  padding-bottom: 13px;
  padding-left: 35px;
  background-color: coral;
  color: white;
  border-color: #fd0;
  border-radius: 3px;
  width: 200px;
  margin: auto;
}

.btn-estate:hover {
  border: solid 2px #fd0;
}

#container {
  background-color: rgb(1, 1, 1);
  padding-top: 60px;
  padding-bottom: 30px;
  text-align: center;
}

@media (min-width: 700px) {
  #container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
}

@media (min-width: 500px) and (max-width: 699px) {
  #container {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 499px) {
  #container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

#container p {
  color: #939393;
}

.ft-box {
  margin-bottom: 20px;
  width: 200px;
}

.ft-box a {
  text-decoration: none;
  color: #939393 !important;
}
.ceo-box--sub {
  width: 200px;
  margin: 0 auto 30px;
}
.ceo-box--sub a {
  margin: auto 0;
  display: flex;
  justify-content: center;
  text-decoration: none;
}
.ceo-box--sub img {
  width: 21px;
  height: 17px;
  margin: auto 5px auto;
}

.copyright {
  background-color: black;
  color: gray;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 60px;
  font-size: 12px;
}

.pc-only {
  display: block;
}
.sp-only {
  display: none;
}
@media (max-width: 400px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }

  .gnavi-sp-list {
    display: flex;
    font-size: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .gnavi-sp-list-item {
    padding: 0 5px;
  }
  .gnavi-sp-list a {
    text-decoration: none;
    color: #fff;
  }
}
