/* ===============================
   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: #4C2E30;
    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 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:#603813;
  background-color:#E7D0A9;
  font-weight:bold;
}

#sp_glonav.in {
  opacity: 0;
  visibility: hidden;
}
.sp_glonav_box {
}
.glonav_logo {
    max-width: 350px;
    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: 25px;
  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;
}

.glonav_bg {
    position: absolute;
    left: 0;
    z-index: -1;
}
.wa-button {
  background-color: none;           /* 白塗りの背景 */
  color: #000;                      /* 深い赤文字（和色） */
  padding: 10px 20px;
  font-size: 1rem;
  border: solid 2px #4C2E30;                        /* 線は使わない */
  border-radius: 0;
  transition: all 0.3s
}

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

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

  .glonav_link_list {
      gap: 1rem;
      flex-direction: column;
      align-items: center;
  }

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

  .glonav_sm_wrapper {
    flex-direction: column;
    align-items: center;
    margin: 0px auto 10% auto;
  }
  .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
================================= */
#goura-footer{
  padding: 5% 0;
  color: #603813;
  background-image: url("../img/nav/footer-bg.jpg");
  background-size: cover;
  background-position: bottom;
}
#goura-footer .area{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}
#goura-footer .area .logo{
    max-width:250px;
}
#goura-footer .area .logo img{
    width:100%;
}
#goura-footer .area .wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
  align-items: flex-start;
}
#goura-footer .area .wrap .menu01{
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight:bold;
}
#goura-footer .area .wrap .menu02{
  display: flex;
  align-items: center;
  gap: 2rem;
}
#goura-footer .area .wrap .menu02 .sub{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  flex-wrap: wrap;
}
#goura-footer .area .wrap .menu02 .social{
  display: flex;
  align-items: center;
  gap: 1rem;
}
#goura-footer .area .wrap .menu02 .social img{
  max-width: 40px;
}
#goura-footer .footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
#goura-footer .footer-submenu,
#goura-footer .footer-social {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  align-items: center;
}
#goura-footer .footer-address {
  font-size: 1rem;
}
@media screen and (max-width: 768px) {
  #goura-footer  {
    padding: 20% 10%;
    background-position: center;
  }

  #goura-footer  .area {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  #goura-footer  .area .wrap {
    align-items: center;
    gap: 2rem;
  }

  #goura-footer  .area .wrap .menu01 {
    flex-direction: column;
    font-size: 1.2rem;
    gap: 0.8rem;
  }

  #goura-footer  .area .wrap .menu02 {
    flex-direction: column;
    gap: 2rem;
  }

  #goura-footer  .area .wrap .menu02 .sub,
  #goura-footer  .area .wrap .menu02 .social {
    gap: 0.8rem;
  }

  #goura-footer .footer-links {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  #goura-footer .footer-submenu,
  #goura-footer .footer-social {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
  }

  #goura-footer .footer-address {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
  }

  #goura-footer  .area .logo {
    max-width: 180px;
    margin: 0 auto;
  }

  #goura-footer  .area .logo img {
    width: 100%;
  }

  #goura-footer .wa-button {
    width: 100%;
    max-width: 240px;
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
  }
}











