/*--- 基本スタイル ---*/
body,
input,
textarea {
  font-family: "游ゴシック", YuGothic, "Segoe UI", Verdana, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body {
  background: #fff;
  /* -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
  animation: fadeIn 1.5s ease 0s 1 normal; */
}

@keyframes fadeIn {
  0% { opacity: 0 }
  100% { opacity: 1 }
}
@-webkit-keyframes fadeIn {
  0% { opacity: 0 }
  100% { opacity: 1 }
}

#container {
  margin: 0 auto;
  width: 90%;
}
#container2 {
  margin: 0 auto;
  width: 60%;
}

.pcview {
  /* 不要な空ブロックですが、他で使われているならOK */
}

.spview {
  display: none;
}

li {
  list-style: none;
}

/* ページネーション */
.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-numbers li {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 45px;
  height: 45px;
  background: #fff;
  font-size: 18px;
  color: #53B431;
  font-weight: bold;
  transition: all 0.15s linear;
}

/* メディアクエリ：レイアウト調整 */
@media screen and (max-width: 1024px) {
  #container { width: 90%; }
  #container2 { width: 80%; }
  body { padding-top: 50px; }
}
@media screen and (max-width: 480px) {
  body { padding-top: 0; }
  #container { width: 95%; }
  #container2 { width: 90%; }
  .pcview { display: none; }
  .spview { display: block; }
}

/*-------------------- header --------------------*/
#header {
  height: 160px;
  width: 100%;
  background-color: #FFF;
  box-sizing: border-box;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999;
}

.main-header {
  background-color: #fff;
  border-bottom: 2px solid #f0f0f0;
}

.header-upper {
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.logo-area h1{
  font-size: 12px;
}

.logo-link {
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  gap: 8px;
}

.status-badges {
  display: flex;
  gap: 7px;
  margin-bottom: 5px;
}

.badge {
  background-color: #4D4D4D;
  color: #F3DB24;
  padding: 3px 4px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;
}

.header-right-top {
  display: flex;
  gap: 10px;
  margin-top: -10px;
}

.top-nav {
  background: #E6F1B3;
  padding: 12px 25px;
  display: flex;
  gap: 25px;
  align-items: center;
}

.top-nav a {
  color: #000;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.top-nav a:hover {
  color: #00000070;
}

.estimate-btn {
  background-color: #F3DB24;
  color: #000;
  padding: 12px 24px;
  margin-left: 0;
  border: none;
  border-radius: 2px;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.estimate-btn:hover {
  background-color: #f0e066d5;
}
.estimate-btn a {
  color: #000;
  text-decoration: none;
}
.estimate-btn a:hover {
  color: #000;
  text-decoration: none;
}
.calc-icon {
  font-size: 20px;
}

.header-lower {
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}

.main-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
  margin-left: -100px;
  gap: 20px;
}
.main-nav a {
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 18px 0;
  display: block;
}
.main-nav a:hover {
  color: #2e7d32;
}

@media (max-width: 1180px) {
  .header-right-top { gap: 10px; }
  .top-nav { gap: 10px; padding: 5px 10px; }
  .top-nav a { gap: 3px; font-size: 13px; }
  .logo-area { width: 40%; gap: 5px; }
  .logo-area h1 { font-size: 9px; }
  .logo-area img { width: 60%; }
  .badge { font-size: 8px; }
  .header-upper { display: none; }
  .status-badges { margin-top: 10px; }
  .main-nav ul { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .main-nav a { font-size: 13px; }
  .estimate-btn { font-size: 13px; padding: 10px 15px; }
  .estimate-btn i { font-size: 12px; }
  .estimate-btn:hover { background-color: #ffb300; }
}
@media (max-width: 768px) {
  .status-badges { flex-wrap: wrap; }
  .top-nav { display: none; }
  .main-nav ul { gap: 10px; font-size: 12px; }
}

/*-------------------- header 連絡先 --------------------*/
.headercontens .telcotact {
  font-size: 23px;
  font-weight: bold;
  line-height: 1.7;
  color: #53B431;
  text-align: center;
  border-radius: 1px;
  padding: 15px;
}
.headercontens .telcotact::before {
  content: '\f2a0';
  font: var(--fa-font-solid);
  padding-right: 10px;
}
.headercontens .formcotact {
  font-size: 18px;
  font-weight: bold;
  color: #53B431;
  text-align: center;
  background: #fff;
  border: solid 1px #53B431;
  border-radius: 1px;
  padding: 15px 30px;
}
.headercontens .formcotact::before {
  content: '\f0e0';
  font: var(--fa-font-regular);
  padding-right: 10px;
}
.headercontens .formcotact:hover {
  background-color: #53B431;
  color: #fff;
  text-decoration-line: none;
}



/*-------------------- header ナビゲーション --------------------*/
.navigation {
  background: #F0F5E9;
  overflow: hidden;
  height: 100vh;
}
.navigation ul {
  width: 80%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*中央ぞろえ*/
  list-style-type: none;
  margin: 0 auto;
  margin-top: 5px;
}
.navigation li {
  line-height: 70px;
}
.navigation li a {
  font-size: 14px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
}
.navigation li a:hover {
  opacity: 0.8;
}

.navigation_sp {
  display: none;
}

@media screen and (max-width: 1200px) {
  .headercontens .formcotact { font-size: 18px; padding: 12px 18px; }
  .headercontens .telcotact { font-size: 21px; }
  #header p { color: #333; font-size: 11px; letter-spacing: -0.05rem; }
}


@media screen and (max-width: 1024px) {
  #header { height: 90px; }
  #header .headercontens { display: none; }
  .navigation_sp {
    display: flex;
    justify-content: space-between;
    width: 90%;
    margin: 0 auto;
    align-items: center;
    padding: 25px 0;
    margin-top: -65px;
  }
  .navigation { display: none; }
  .open { cursor: pointer; }
  .open .menu img { width: 55px; text-align: right; }
  #pop-up { display: none; }
  .overlay { display: none; }
  #pop-up:checked+.overlay {
    display: block;
    z-index: 9999;
    background-color: #00000070;
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
  }
  .window {
    padding: 30px;
    width: 90vw;
    max-width: 1000px;
    height: 98%;
    background-color: #F7FAE6;
    border-radius: 3px;
    align-items: center;
    position: fixed;
    right: 0;
    top: 0;
    overflow-y: auto;
  }
  .window ul {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .window .rogo {
    height: 75px;
    text-align: center;
    margin-top: 20px;
  }

  .window .line {
    margin: 0 auto;
    width: 90%;
    display: flex;
    flex-wrap: wrap;
  }
  .window .line li {
    padding-top: 15px;
    padding-bottom: 20px;
    width: 50%;
    letter-spacing: 0.1rem;
    text-align: center;
  }
  .window .line li a {
    font-size: 16px;
    font-weight: bold;
    border-bottom: solid 1px;
    text-decoration: none;
    color: #53B431;
  }
}

@media screen and (max-width: 480px) {
  .window .line { width: 100%; display: block; text-align: center; }
  .window ul { overflow: auto; -webkit-overflow-scrolling: touch; }
  .window .line li { width: 100%; padding-top: 10px; padding-bottom: 20px; }
}

.close {
  cursor: pointer;
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 50px;
}






@media screen and (max-width: 480px) {
  .sh-contact { display: block; padding-top: 10px; }
  .open .menu img { width: 58px; padding-top: 50px; text-align: right; }
}

@media screen and (max-width: 1180px) {
    
}


@media screen and (max-width: 480px) {
  #header {
    margin-top: 5px;
    height: 80px;
    padding: 20px 0 0 0;
  }
  .navigation_sp {
    width: 95%;
    padding-block: 10px;
    padding-inline: 5px;
  }
  .navigation_sp .rogo h1 { font-size: 10px; }
  .navigation_sp .rogo img { width: 60%; margin-block: 5px; }
}
.header-contact .contact-title {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
}

.hcontact-card.form {
  background-color: #f4d03f;
  color: #333;
  margin-block: 10px;
}
.hcontact-card.fax {
  background-color: #3a3a3a;
  color: #fff;
  margin-bottom: 10px;
}
.hcontact-card.phone {
  background-color: #3a3a3a;
  color: #fff;
  margin-bottom: 10px;
}
.hcontact-card.guide {
  background-color: #53B431;
  color: #fff;
  margin-bottom: 10px;
}

.hcontact-card {
  border-radius: 5px;
  padding: 10px 15px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
}
.hcontact-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hcontact-button {
  color: #fff;
  background-color: #3a3a3a;
  padding: 10px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.hcontact-number {
  color: #3a3a3a;
  background-color: #fff;
  padding: 10px 10px;
  border-radius: 3px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/*-------------------- banner --------------------*/

#side-banner {
  display: flex;
  flex-direction: column;
  position: fixed;
  right: 0;
  bottom: 70px;
  z-index: 9999;
  opacity: 0;
  transition: all 1s ease;
}

#side-banner.show {
  opacity: 1;
  transform: 0;
}

#side-banner div {
  width: 61px;
}


@media screen and (max-width: 1024px) {
  #side-banner div {
    width: 50px;
    height: auto;
  }

  #side-banner {
    top: 150px;
  }
}

@media screen and (max-width: 480px) {
  #side-banner {
    display: none;
  }

  #side-banner-sp {
    display: flex;
    position: fixed;
    bottom: 0px;
    z-index: 9999;
  }

  .side-banner-sp .banner-a,
  .side-banner-sp .banner-b {
    width: 50%;
  }
}




/*-------------------- footer --------------------*/
.footer-container {
  background-color: #F0F5E9;
  padding: 80px 0 20px 0;
}

.footer-grid {
  width: 90%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px auto;
}
.footer-section {
  background-color: #d4e8c1;
  border-radius: 3px;
  padding: 20px;

  a {
    display: inline-flex;
    align-items: center;

}
.fa-solid fa-angle-right{
  margin-right: 5px;
  margin-left: auto;
}
}
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
.footer-grid .section-header {
  margin-bottom: 7px;
}
.section-header .icon img {
  width: 24px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}
.section-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon {
  width: 24px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.more-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}
.more-link:hover { opacity: 0.7; }
.menu-item {
  background-color: #fff;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.2s;
}
.menu-item:hover { background-color: #f8f8f8; }
.menu-item:last-child { margin-bottom: 0; }
.menu-item-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  font-weight: bold;
}
.contact-info {
  font-size: 13px;
  color: #666;
}
.bottom-banner {
  background-color: #d4e8c1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
}
.contact-methods {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  border-radius: 5px;
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card.form {
  background-color: #f4d03f;
  color: #333;
}
.contact-card.fax,
.contact-card.phone {
  background-color: #3a3a3a;
}
.contact-title {
  font-size: 17px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.contact-button {
  color: #fff;
  background-color: #3a3a3a;
  padding: 12px 24px;
  border-radius: 3px;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}
.contact-number {
  color: #3a3a3a;
  background-color: #fff;
  padding: 12px 24px;
  border-radius: 3px;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
@media (max-width: 768px) {
  .footer-grid,
  .contact-methods {
    grid-template-columns: 1fr;
  }
}
footer #footer .f-contact {
  width: 80%;
  margin: 0 auto;
}

/* copyright フッター部 */
footer #footer .copyright {
  background: #fff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0;
  padding: 50px 0 10px 0;
  opacity: 1;
}
footer #footer .copyright .contents {
  width: 80%;
  display: flex;
  padding: 50px 0;
  margin: 0 auto;
}
footer #footer .copyright .left {
  width: 50%;
  text-align: left;
}
footer #footer .copyright .left h1 {
  color: #53B431;
  font-size: 30px;
}
footer #footer .copyright .left p {
  color: #333;
}
footer #footer .copyright .left span {
  font-size: 20px;
}
footer #footer .copyright .right {
  width: 50%;
}
.copyright-p {
  text-align: center;
  background: #53B431;
  color: #fff;
  line-height: 2.5;
}

@media screen and (max-width: 480px) {
  footer #footer .telfax, #footer .telfax { display: block; }
  footer #footer.tel { width: 100%; }
  #footer .telfax-p { margin: 0 20px; }
  #footer p { letter-spacing: -0.03rem; }
}

@media screen and (max-width: 1024px) {
  footer #footer .copyright .contents {
    width: 95%;
    display: flex;
    padding: 50px 0;
    margin: 0 auto;
    gap: 15px;
  }
  footer #footer .copyright .right {
    display: flex;
    align-items: center;
  }
}
@media screen and (max-width: 480px) {
  footer #footer .copyright .contents {
    display: block;
    padding: 20px 0;
  }
  footer #footer .copyright .left {
    width: 100%;
    text-align: center;
  }
  footer #footer .copyright .right {
    gap: 10px;
    width: 80%;
    margin: 20px auto;
    display: flex;
    align-items: center;
  }
  footer #footer .copyright-p {
    margin-bottom: 50px;
  }
}



