html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  font-weight: normal;
}

strong {
  font-weight: bold;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  letter-spacing: 1px;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1;
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  pointer-events: all;
}
body,
input,
select {
  font-family: "BIZ UDPGothic", sans-serif;
  line-height: normal;
}
br.sp-only {
  display: none;
}

/*------------------------------------------------------------------ header */

header {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  position: fixed;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  /* transform: translateY(-100px); */
  box-shadow: -5px 0px 4px 5px rgba(117, 117, 117, 0.3);
  /* -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px); */
}
header > div {
  display: flex;
  width: 90%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
header > div img {
  width: 300px;
  max-width: 100%;
}
header > div ul {
  display: flex;
}
header > div nav.header-list ul li {
  position: relative;
  padding-left: 50px;
  white-space: nowrap;
}
header > div ul li a {
  color: #000;
  letter-spacing: 1px;
  position: relative;
}
header > div ul li a::before {
  content: "";
  position: absolute;
  display: block;
  background-color: #191919;
  width: 0;
  height: 1px;
  bottom: -7px;
  left: 0;
  -webkit-transition: 0.4s ease 0s;
  transition: 0.4s ease 0s;
}
header > div ul li a:hover {
  text-decoration: none;
}
header > div ul li a:hover:before {
  width: 100%;
}
/*header > div ul li:first-child a::before
{
    display: none;
}*/
header > div ul li a.h-active {
  border-bottom: 1px solid #000;
  padding-bottom: 8px;
}
header > div ul li a.h-active:hover::before {
  width: 0;
}
header > div ul li.has-child ul {
  position: absolute;
  /*left: 50px;*/
  right: 0;
  top: 30px;
  flex-direction: column;
  z-index: 4;
  background: rgba(193, 193, 193, 0.9);
  /* width: 100%; */
  /*width: 200px;*/
  /* max-width: 200px; */
  opacity: 0;
  transition: all 0.3s;
  border: 2px solid #000;
  visibility: hidden;
}

header > div ul li.has-child ul li {
  padding: 0;
}
header > div ul li.has-child ul li a {
  display: block;
  padding: 10px;
}
header > div ul li.has-child ul li a:hover {
  background: #000;
  color: #fff;
  /* width: 100%;
    height: 100%; */
}
header > div ul li.has-child:hover ul,
header > div ul li.has-child:active > ul {
  visibility: visible;
  opacity: 1;
}
/*header > div ul li.has-child ul li a:before{
    content:none;
}*/
/*header > div ul li:first-child a::before,
header > div ul li:nth-child(3) a::before
{
    display: none;
}*/

header.UpMove {
  animation: UpAnime 0.5s forwards;
}
@keyframes UpAnime {
  from {
    opacity: 1;
    /* transform: translateY(0); */
    top: 0;
  }
  to {
    opacity: 0;
    top: -100px;
  }
}

header.DownMove {
  animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime {
  from {
    opacity: 0;
    top: -100px;
  }
  to {
    opacity: 1;
    top: 0;
  }
}

/*------------------------------------------------------------------ breadcrumb */

div.breadcrumb {
  background: #000;
  padding: 15px 0;
  width: 100%;
}
div.breadcrumb ul {
  display: flex;
  width: 90%;
  margin: 0 auto;
  gap: 15px;
}
div.breadcrumb ul li,
div.breadcrumb ul li a {
  color: #fff;
  line-height: 24px;
}
div.breadcrumb ul li a.underline {
  border-bottom: 1px solid #fff;
  padding-bottom: 4px;
}

/*------------------------------------------------------------------ ��劻���若���若�＜���ャ�� */

.h-openbtn {
  position: absolute;
  z-index: 1;
  top: 20px;
  right: 20px;
  cursor: pointer;
  width: 100px;
  height: 100px;
}
.h-openbtn span {
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 14px;
  height: 6px;
  border-radius: 2px;
  background-color: #fff;
  width: 45%;
  box-shadow: 0 0 5px #b5b5b5;
}
.h-openbtn span:nth-of-type(1) {
  top: 15px;
}
.h-openbtn span:nth-of-type(2) {
  top: 30px;
}
.h-openbtn span:nth-of-type(3) {
  top: 45px;
}
.h-openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 45%;
}
.h-openbtn.active {
  position: fixed;
  z-index: 999;
}
.h-openbtn.active span {
  box-shadow: none;
}
.h-openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.h-openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 45%;
}

#g-nav {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0px;
  width: 100%;
  height: 100vh;
  transition: all 0.3s;
  opacity: 0;
  border-radius: 0 0 10px 10px;
  pointer-events: none;
  visibility: hidden;
}
#g-nav.panelactive {
  opacity: 1;
  z-index: 998;
  pointer-events: all;
  visibility: visible;
  /** add */
  display: block;
}
#g-nav .overlay {
  background: #000;
  opacity: 0.9;
  position: fixed;
  z-index: -1;
  top: 0;
  right: 0px;
  width: 100%;
  height: 100vh;
}
.h-openbtn,
#g-nav {
  display: none;
}
.h-openbtn {
  top: 5px;
  right: 0;
}
.h-openbtn span {
  background-color: #000;
  box-shadow: none;
}
.h-openbtn.active span {
  background-color: #fff;
}

#g-nav ul.g-nav_list {
  /* position: fixed; */
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-evenly;
  width: 90%;
  height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-inline-start: 0px;
}
#g-nav ul.g-nav_list li:first-child {
  flex: 1;
}
#g-nav ul.g-nav_list li:last-child {
  width: 50%;
}

#g-nav ul.g-nav_list img {
  width: 100%;
  max-width: 200px;
  padding-bottom: 15px;
  display: block;
  margin: 0 auto;
}
#g-nav ul.g-nav_list table {
  border-collapse: collapse;
  width: 100%;
}
#g-nav ul.g-nav_list table tr {
  border-bottom: 1px solid #eee;
  -webkit-border-bottom: 1px solid #eee;
}
#g-nav ul.g-nav_list table tr:last-child {
  border-bottom: none;
  -webkit-border-bottom: none;
}
#g-nav ul.g-nav_list table th a,
#g-nav ul.g-nav_list table td a {
  color: #fff;
}
#g-nav ul.g-nav_list table th,
#g-nav ul.g-nav_list table td {
  margin: 40px 0;
  text-align: left;
  letter-spacing: 1px;
}
#g-nav ul.g-nav_list table th {
  font-size: 22px;
  font-weight: 700;
  width: 250px;
}
#g-nav ul.g-nav_list table td {
  line-height: 45px;
  font-size: 18px;
}

/*------------------------------------------------------------------ footer */

footer {
  /*border-top: 1px #fff solid;*/
  border-top: 70px solid rgb(0, 0, 0);
  margin: 0;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
}

footer div.contents {
  width: 100%;
  background: url("../images/gray-bg.jpg");
  background-size: contain;
  padding: 80px 0;
}
footer div.contents > div {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

footer div#page-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100000;
  opacity: 1;
  transform: translateX(100px);
}
footer div#page-top a {
  transition: all 0.3s;
}
footer div#page-top a img {
  width: 80px;
}
#page-top.LeftMove {
  animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
#page-top.RightMove {
  animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 1;
    transform: translateX(100px);
  }
}

footer div.contents ul {
  width: 90%;
  margin: 0 auto;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
  padding-bottom: 20px;
}
footer div.contents ul li {
  width: calc(100% / 3);
  padding-bottom: 50px;
}
footer div.contents ul li:nth-child(3n + 1) a {
  text-align: left;
  display: block;
}
footer div.contents ul li:nth-child(3n + 2) a {
  text-align: center;
  display: block;
}
footer div.contents ul li:nth-child(3n + 3) a {
  text-align: right;
  display: block;
}
footer div.contents ul li a {
  color: #000;
  display: inline-block;
  letter-spacing: 1px;
  overflow-wrap: break-word;
  position: relative;
  white-space: nowrap;
  font-weight: 700;
}
footer div.contents ul li a:hover {
  opacity: 0.6;
}
footer div.contents ul li a span.arrow_01 {
  display: inline-block;
  width: 18px;
  height: 18px;
  position: relative;
  top: 3px;
  background: url("../images/arrow.png") no-repeat;
  background-size: contain;
  background-position: center;
}
footer div.contents ul li a span.arrow_02 {
  display: none;
}
footer div.contents img {
  width: 45%;
  display: block;
  margin: 0 auto;
  padding-bottom: 20px;
}
footer div.copyright {
  font-size: 13px;
}

footer .footer-main {
  background: #000;
  color: #fff;
  font-size: 12px;
  padding: 50px 0 30px 0;
  position: relative;
}
footer .footer-main ul {
  /* border-bottom: #fff 1px solid; */
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0 auto;
  max-width: 1024px;
  padding: 0 0 30px 0;
  width: 100%;
}
footer .footer-main li {
  display: inline-block;
  margin: 0;
  padding: 0;
  width: 50%;
}
footer .footer-main li:first-child {
  margin-right: 50px;
}
footer .footer-main li.tosaterrace div:first-child {
  padding-bottom: 30px;
}
footer .footer-main li.tosaterrace h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
}
footer .footer-main li.tosaterrace h3 span {
  font-size: 17px;
  letter-spacing: 1px;
  padding-left: 2px;
}
footer .footer-main li.tosaterrace p {
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 10px;
  padding-top: 10px;
}
footer .footer-main li.association div:first-child {
  padding-bottom: 10px;
}

footer .footer-main div.address {
  padding: 20px 0 10px 0;
  line-height: 20px;
}

footer .footer-main div.button,
footer .footer-main div.buttons {
  margin: 15px 0;
}
footer .footer-main div.button img,
footer .footer-main div.buttons img {
  width: 20px;
}
footer .footer-main div.button a,
footer .footer-main div.buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border: 1px solid #fff;
  padding: 5px 0;
  width: 200px;
  max-width: 100%;
  margin: 0 auto;
}
footer .footer-main div.buttons a {
  margin: 0;
}
footer .footer-main div.buttons a:last-child {
  width: 230px;
}
footer .footer-main div.button a div,
footer .footer-main div.buttons a div {
  font-size: 14px;
  padding-left: 10px;
}
footer .footer-main div.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

footer .footer-main li > img {
  height: 50px;
  margin: 10px auto;
}
footer .footer-main .copyright {
  font-size: 10px;
  margin-top: 30px;
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
  /* header > div nav.header-list > ul
    {
        gap: 30px;
    }
    header > div nav.header-list ul li
    {
        padding: 0;
    } */
  header > div {
    width: 95%;
  }
  header > div nav.header-list > ul {
    gap: 20px;
  }
  header > div nav.header-list ul li {
    padding: 0;
  }
}

@media screen and (max-width: 1000px) {
  header nav.header-list {
    display: none;
  }

  #g-nav ul.g-nav_list table th,
  #g-nav ul.g-nav_list table td {
    display: block;
  }
  /*    #g-nav ul.g-nav_list table td
        {
            padding: 0;*/
  /*}*/
  /*    #g-nav ul.g-nav_list table tr:nth-child(2) td,
        #g-nav ul.g-nav_list table tr:nth-child(4) td
        {
            padding: 10px 0px 20px 0px;
        }*/
  /*    #g-nav ul.g-nav_list table tr:nth-child(2) th,
        #g-nav ul.g-nav_list table tr:nth-child(4) th
        {
            padding-bottom: 20px;
        }*/
  .h-openbtn,
  #g-nav {
    display: block;
  }

  /* .h-openbtn
    {
        position: fixed;
        z-index: 999;
        right: 0px;
    } */
}
/*header > div ul li:nth-child(2) a::before,
header > div ul li:nth-child(4) a::before
{
    display: none;
}*/

header > div ul li.pointer-none a::before {
  display: none;
}
@media screen and (max-width: 768px) {
  th.pointer-none a {
    pointer-events: none;
  }
}

body.is-menuOpen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
}

/** add */
.hide-content {
  display: none !important;
}

/** 404 page */
.page-detail {
  text-align: center;
  padding-top: 100px;
}

/** 24/05/01 add */
.header-list__search > a {
  padding-right: 20px;
}
.header-list__search > a:after {
  /*    content: url("/images/magnifying.png");
        position: absolute;
        top: -5px;
        padding-left: 5px;*/
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  background: url(/images/magnifying.png);
  background-size: contain;
  background-repeat: no-repeat;
  right: 0;
}
@media screen and (max-width: 768px) {
  .header-list__search > a:after {
    background: url(/images/magnifying-w.png);
    background-size: contain;
    background-repeat: no-repeat;
  }
}
