/* ===============================
   header
================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: auto;
    z-index: 1000;
    overflow-x: hidden;
}

.header_box {
    position: relative;
}

.glonav_open {
  overflow: hidden;
  height: 100vh;
}

#hamburger {
    position: relative;
    width: 80px;
    height: 80px;
    margin-left: auto;
    cursor: pointer;
    background-color: #222;
    z-index: 1000;
    transition: 1s;
}

.hamburger_txt {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    font-size: 12px!important;
    color: #ffffff;
    text-align: center;
}
.hamburger_txt_c {
    display: none;
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    font-size: 12px!important;
    color: #ffffff;
    text-align: center;
}

.hamburger_txt.open {
    display: none;
}
.hamburger_txt_c.open {
    display: block;
    color: #fff;
}

.inner_line {
  display: block;
  position: absolute;
  left: 50%;
  width: 30px;
  height: 1px;
  background-color: #ffffff;
  border-radius: 4px;
  transform: translate(-50%, 0%);
  transition: all 0.4s ease; /* ← 追加で滑らかに */
}

.line1 {
    top: 20px;
}
.line2 {
    top: 30px;
}
.line3 {
    top: 40px;
}
.line_open_1 {
    top: 30px;
    left: 30%;
    transform: rotate(45deg);
}
.line_open_2 {
    opacity: 0;
}
.line_open_3 {
    top: 30px;
    left: 30%;
    transform: rotate(135deg);
}

#sp_glonav{
  position: fixed;
  background: url("../img/nav/header-bg.jpg") center / cover no-repeat;
  z-index: 500;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;      /* 縦方向：中央揃え */
  align-items: center;          /* 横方向：中央揃え */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 5%;                /* 横だけ余白確保（上下は中央なので不要） */
  box-sizing: border-box;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  color:white;
}

#sp_glonav.in {
  opacity: 0;
  visibility: hidden;
}
.sp_glonav_box {
}
.glonav_logo {
    width: 250px;
    margin: 0px auto 5% auto;
}
.glonav_link_list {
  display: flex;
  flex-wrap: wrap;               /* 折り返しを許可 */
  justify-content: center;       /* 中央揃え */
  gap: 30px;                      /* 項目間の間隔（推奨） */
  max-width: 800px;
  margin: 0 auto 5% auto;
  padding: 0;
  list-style: none;
}
.glonav_link_list li a {
  font-size: 20px;
  color: #fff;
  white-space: nowrap;  
}
.glonav_sm_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
    margin: 0px auto 5% auto;
}
.glonav_link_list_sm {
  display: flex;
    align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.glonav_link_list_sm li a {
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
}
.glonav_sns {
  display: flex;
  align-items: center;
  gap: 10px;
}
.glonav_sns a {
    width: 40px;
    height: auto;
}
.glonav_sns a:first-child {
    margin-right: 10px;
}
.glonav_sns a:last-child {
    margin-right: 10px;
}
.glonav_info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    gap:50px;
}
.glonav_info_link {
    max-width: 100%
}
.glonav_info p {
    font-size: 16px;
    color: #fff;
}

.glonav_bg {
    position: absolute;
    left: 0;
    z-index: -1;
}
.wa-button {
  background-color: #ffffff;           /* 白塗りの背景 */
  color: #000;                      /* 深い赤文字（和色） */
  padding: 10px 20px;
  font-size: 1rem;
  border: none;                        /* 線は使わない */
  border-radius: 0;
  clip-path: polygon(
    0% 50%, 12% 0%, 88% 0%,
    100% 50%, 88% 100%, 12% 100%
  );
  transition: all 0.3s
}

/* ホバー時に背景を反転して強調 */
.wa-button:hover {
  background-color: #7F6000;           /* ゴールドの塗り */
  color: #ffffff;
}

/* スマホ（〜600px）向け */
@media screen and (max-width: 600px){
    #sp_glonav {
    padding: 0 5%;
    justify-content: flex-start;     /* 上寄せに変更 */
    align-items: center;             /* 水平方向は中央揃え */
    padding-top: 150px;               /* ヘッダーを避ける */
    padding-bottom: 100px;           /* 最下部に余白を確保 */
    }
  .glonav_logo {
    width: 180px;
    margin-bottom: 60px;
  }

  .glonav_link_list {
      gap: 20px;
  }

  .glonav_link_list li a {
    font-size: 18px;
    text-align: center;
  }

  .glonav_sm_wrapper {
    flex-direction: column;
    align-items: center;
  }
  .glonav_link_list_sm {
    justify-content: center;
    margin-top: 5px;
  }

  .glonav_link_list_sm li a {
    font-size: 12px;
  }

  .glonav_sns {
    position: static;
    transform: none;
    margin-top: auto;
    justify-content: center;
    width: 100%;
  }

  .glonav_info {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .glonav_info p {
    font-size: 12px;
  }
}

@media screen and (max-height: 500px) {
  #sp_glonav {
    justify-content: flex-start;
    padding-top: 100px;
    padding-bottom: 100px;
  }
}




/* ===============================
   footer
================================= */
.footer {
  padding: 20% 0 10% 0;
  background-image: url("../img/nav/footer-bg.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}

.footer-box {
  display: flex;
  justify-content: flex-end;
  margin: 0 10% 0 auto;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.footer-menu {
  display: flex;
  gap: 20px;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 20px;
    flex-wrap: wrap;
}

.footer-submenu,
.footer-social {
  display: flex;
  gap: 20px;
  font-size: 1rem;
  align-items: center;
}

.footer-social li {
  max-width: 40px;
}

.footer-line {
  width: 100%;
  height: 1px;
  background-color: #7F6000;
  margin: 0 auto;
}

.footer-address {
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  .footer {
    padding: 25% 5% 20% 5%;
  }

  .footer-box {
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
  }

  .footer-right {
    width: 100%;
  }
    .footer-links {
        flex-direction: column;
        align-items: center
}
  .footer-menu,
  .footer-submenu,
  .footer-social {
    align-items: center;
    flex-wrap: wrap;justify-content: center;
  }
.footer-menu {
  font-size: 1.25rem;
    gap:10px 20px;
}
.footer-submenu {
  font-size: 0.8rem;
}
.footer-address {
  font-size: 0.8rem;
}
}











