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

html {
  font-size: 100%;
  font-family: "Noto Sans JP", sans-serif;

  font-weight: 300;
  font-style: normal;
}
.header-space {
  height: 90px; /* desk-menuの高さに合わせる */
}

/*共通css*/
h2 {
  text-align: center;
  font-size: 1.3rem;
  color: #998282;
  margin: 30px 0 35px;
}
/*見出し-h1*/
h1 {
  text-align: center;
  font-size: 1.6rem;
  margin: 65px 0;
  color: #998282;
  font-family: "Zen Kaku Gothic Antique", sans-serif;
  font-weight: 400;
  font-style: normal;
}
/*ヘッダー・メニュー画面*/
.logo-icon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  position: fixed;
  background-color: #eeeeee;
  opacity: 0.8;
  z-index: 10;
}

.logo-img,
.desk-menu-logo {
  width: 60px;
  height: 60px;
  margin-left: 30px;
  opacity: 0.7;
}
#hmb-img {
  width: 40px;
  height: 40px;
  margin-right: 25px;
  z-index: 1;
}
#hmb-img img,
.logo-img img,
.desk-menu-logo img {
  width: 100%;
}
.MENU,
.Access {
  text-align: center;
  font-size: 2rem;
  color: #c7bdbd;
  margin: 20px 0 10px;
}

#hmb-menu {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  right: 0;
  text-align: left;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out, visibility 1s;
  overflow-y: auto;
  z-index: 10;
}

#hmb-menu.active {
  overflow-y: auto;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

#hmb-menu ul {
  list-style: none;
  padding: 0 15px 0 10px;
  margin: 5px 40px;
  line-height: 1.5;
}

#hmb-menu ul li {
  padding: 12px 15px;
}
#hmb-menu ul li a {
  font-size: 1.5rem;
}
#hmb-menu ul li:hover a {
  color: #a19c9a;
  transition: color 0.3s ease;
}

.logo {
  width: 120px;
  margin: 0 auto;
  opacity: 0.7;
}
.logo img {
  width: 100%;
}
#close {
  width: 70px;
  height: 70px;
  cursor: pointer;
  margin-left: auto;
  margin-right: 20px;
}
#close img {
  width: 100%;
}
.margin {
  height: 30px;
}
/*デスクトップメニュー*/
#desk-menu {
  width: 100%;
  height: 100px;
  background-color: #eeeeee;
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
}

.desk-menu-ul ul li {
  color: #000000;
  display: inline;
  padding: 15px 18px;
  border-bottom: none;
}
.desk-menu-ul {
  display: flex;
}

/*about-message*/
.about-message {
  width: 100%;
}
.about-text {
  width: 90%;
  text-align: center;
  margin: 30px auto 60px;
  line-height: 2;

  font-size: 1.1rem;
}
/*case-message*/
#case-message {
  position: relative;
  width: 100%;
  margin-bottom: 50px;
}
.message-img {
  width: 100%;
}
.message-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: #ffffff;
}
/*施工事例*/
#case-section {
  width: 100%;
  margin: 20px auto;
  display: flex;
  flex-wrap: wrap;
}
.case-item {
  width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}
.case-img,
.case-img2,
.case-item-img {
  margin: 5px 0;
}

.case-img img,
.case-img2 img,
.case-item-img img {
  width: 100%;
  object-fit: cover;
}

.case-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.case-text {
  text-align: center;
  font-size: 0.8rem;
  line-height: 2;
  padding: 10px;
  margin: 10px 0 50px;
}
/*フッター*/
#inquiry {
  display: flex;
  justify-content: center;
}

/*各ボタン*/
.inquiry-btn,
.phone-btn {
  position: relative;
  display: inline-block;
  background-color: #c5dfd4;
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  color: #ffffff;

  cursor: pointer;
  padding: 12px 23px;
  margin: 0px 8px 30px 0;
  border-radius: 20px;
  z-index: 0;
  transition: transform 0.4s; /* 拡大アニメーション用のトランジション */
  box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.6); /* 通常時のシャドウ */
}

.inquiry-btn::before,
.phone-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* border: 1px solid rgba(255, 255, 255, 0.6); */
  background-color: #91f4c9;
  z-index: -1;
  border-radius: 20px;
  transition: transform 0.4s;
  transform: scaleX(0);
  transform-origin: center;
}

.inquiry-btn:hover::before,
.phone-btn:hover::before {
  transform: scaleX(1);
}

.inquiry-btn:hover,
.phone-btn:hover {
  font-weight: 500;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0px 8px 16px rgba(240, 239, 239, 0.9); /* ホバー時の強いシャドウ */
}

footer {
  text-align: center;
  margin-bottom: 20px;
}
.logo {
  width: 120px;
  margin: 0 auto;
  opacity: 0.7;
}
.logo img {
  width: 100%;
}
@media (min-width: 481px) and (max-width: 820px) {
  /*about-message*/
  .about-text {
    margin: 60px auto;
    line-height: 2.5;

    font-size: 1.3rem;
  }
}
@media screen and (min-width: 541px) {
  /*ヘッダー*/
  .logo-icon {
    opacity: 0;
  }
  .desk-menu-logo {
    width: 100px;
    height: 100px;
    margin-left: 40px;
  }
  .desk-menu-ul ul li {
    padding: 15px 18px;
  }
  #hmb-img {
    opacity: 0;
  }
  #desk-menu {
    opacity: 0.9;
    height: 90px;
    z-index: 10;
  }

  #desk-menu ul li a {
    border-bottom: none;
    font-size: 1.6rem;
  }

  /*見出し-h1*/
  h1 {
    font-size: 3rem;
    margin: 100px 0;
  }
  /*case-message*/
  #case-message {
    margin-bottom: 100px;
  }
  .message-img img {
    height: 150px;
  }
  .case-h2 {
    font-size: 2.6rem;
  }

  /*施工事例*/
  #case-section {
    margin: 40px auto;
  }
  .case-imgs {
    display: flex;
    align-items: center;
  }
  .case-img,
  .case-img2 {
    width: 50%;
    margin: 0 10px;
  }
  .case-item-img {
    width: 80%;
    margin: 0 auto;
  }

  .case-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .case-text {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    padding: 30px 35px;
    margin: 5px 0 25px;
  }
  /*各ボタン*/
  .inquiry-btn,
  .phone-btn {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;

    padding: 18px 30px;
    margin: 0 20px 40px;
    border-radius: 20px;
    z-index: 0;
    transition: transform 0.4s; /* 拡大アニメーション用のトランジション */
    box-shadow: 0px 4px 6px rgba(255, 255, 255, 0.6); /* 通常時のシャドウ */
  }
}

@media (min-width: 821px) and (max-width: 2500px) {
  /*デスクトップメニュー*/
  #desk-menu {
    height: 120px;
  }

  .desk-menu-ul ul li {
    color: #000000;
    display: inline;
    padding: 15px 18px;
    border-bottom: none;
    font-size: 1.8rem;
  }
  .desk-menu-ul {
    display: flex;
  }
  /*about-message*/
  .about-text {
    width: 90%;

    margin: 80px auto 70px;
    line-height: 2.2;

    font-size: 1.8rem;
  }
}
