body{ height: 100vh; margin: 0 auto; font-family: "Shippori Mincho", serif; }
header{ padding: 20px; background-color: transparent; position: static; box-sizing: border-box; margin: 0 auto; }
@media(min-width: 1081px){
  header{ max-width: 1080px; padding: 30px 0;}
  header .logo{ filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 1)); }
}
#main_visual{
  position: absolute;
  top: 18.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  text-align: center;
}
#main_visual h1{
  margin-top: 0;
  line-height: 1.3em;
  margin-bottom: 8px;
}
#main_visual p{
  font-family: "Shippori Mincho", serif;
  font-size: max(2.3vw, 16px);
}
@media(min-width: 769px){
  #main_visual{ top: 29.5%; }
  #main_visual h1{ font-size: clamp(52px, 6vw, 55px); margin-bottom: 14px; }
  #main_visual p{ font-size: clamp(16px, 2.3vw, 20px); }
}

footer{
  position: absolute;
  bottom:0;
  width: 100%;
  padding: 0 30px 20px;
  color: white;
  box-sizing: border-box;
  margin-bottom: 0;
}
footer .footer_logo{
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
}
footer .sub_link{
  text-align: center;
  margin-bottom: 58px;
}
footer .sub_link p{
  font-size: clamp( 16px, 4vw, 20px);
  line-height: 1;
  margin: 0 0 24px;
}
footer .sub_link .link_bx{
  display: flex;
  justify-content: center;
  gap: 10px;
}
footer .sub_link a {
  padding: 10px 0 10px 20px;
  box-sizing: border-box;
  -webkit-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
  border: none;
  color: white;
  border-radius: 50px;
  width: 100%;
  max-width: 256px;
  min-width: 165px;
  font-size: clamp(15px, 1.5vw, 18px);
  position: relative;
  text-align: left;
}
footer .sub_link a::after{
  content: "";
  background: url(https://gtrakgolf.com/wp-content/uploads/2025/11/link_icon.svg) no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: -1px;
  display: inline-block;
  width: 4px;
  aspect-ratio: 1 / 2;
  margin-left: .5em;
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translateY(-50%);
}
footer .sub_link a.indiv{
  background: linear-gradient(270deg,transparent, transparent,#781e1e,#781e1e);
  background-size: 300% 300%;
  background-position: 1% 50%;
  border: 2px solid #781e1e;
}
footer .sub_link a.shop{
  background: linear-gradient(270deg,transparent, transparent,#32783c,#32783c);
  background-size: 300% 300%;
  background-position: 1% 50%;
  border: 2px solid #32783c;
  padding-left: 27px;
}

/* マウスオーバー時 */
footer .sub_link a:hover {
  -webkit-transition: all 0.7s ease-out;
  transition: all 0.7s ease-out;
  background-position: 1% 50%;
  cursor: pointer;
}
footer .sub_link a.indiv:hover {
  background-position: 99% 50%;
  border: 2px solid #781e1e;
}
footer .sub_link a.shop:hover {
  background-position: 99% 50%;
  border: 2px solid #32783c;
}
@media(max-width: 360px){
  footer .sub_link .link_bx a{
    min-width: 155px;
  }
}
@media(min-width: 769px){
  footer .sub_link{
    margin-bottom: 32vh;
  }
  footer .sub_link a{
    padding: 14px 1em 14px 40px;
  }
  footer .sub_link a.shop{
    padding-left: 60px;
  }
  footer .sub_link a::after{
    width: 5px;
  }
  footer .footer_logo{
    margin:0;
    position: absolute;
    bottom: 30px;
    right: 10%;
    height: 50px;
  }
}