@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1&family=BIZ+UDPGothic&display=swap');

:root {
  --color-deep:       #0d1117;
  --color-gold:       #c9a96e;
  --color-gold-light: #e8d5b0;
  --color-white:      #f5f0e8;
  --color-gray:       #8a8a8a;
  --color-text:       #3d3530;
}

/* HEADER */
#customer_header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  width: 100%;
}
#customer_header .customer_header_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#customer_header .customer_logo img {
  display: block;
  height: 34px;
  width: auto;
}
#customer_header .customer_nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
#customer_header .customer_nav_link {
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
  opacity: 0.8;
}
#customer_header .customer_nav_link:hover {
  color: var(--color-gold);
  opacity: 1;
}
#customer_header .customer_nav_link_contact {
  border: 1px solid rgba(201, 169, 110, 0.5);
  padding: 6px 18px;
  color: var(--color-gold);
  font-family: "Shippori Mincho B1", serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-decoration: none;
  transition: all 0.3s ease;
}
#customer_header .customer_nav_link_contact:hover {
  background: var(--color-gold);
  color: #ffffff;
}
@media (max-width: 768px) {
  #customer_header .customer_header_inner { padding: 0 20px; height: 56px; }
  #customer_header .customer_nav { gap: 14px; }
  #customer_header .customer_nav_link { font-size: 11px; }
  #customer_header .customer_nav_link_contact { display: none; }
}

#customer_header .customer_header_inner {
  max-width: 100% !important;
  padding: 0 60px !important;
}

#customer_header .customer_logo img {
  height: 44px !important;
}

/* FOOTER */
#customer_footer {
  background-color: #0a0a0f;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
#customer_footer .customer_footer_inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
#customer_footer .customer_footer_brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#customer_footer .customer_footer_brand_name {
  font-family: "Shippori Mincho B1", serif;
  font-size: 18px;
  color: #f5f0e8;
  letter-spacing: 0.15em;
  line-height: 1.8;
  margin: 0;
}
#customer_footer .customer_footer_address,
#customer_footer .customer_footer_tel {
  font-size: 13px;
  color: #f5f0e8;
  letter-spacing: 0.1em;
  line-height: 2;
  margin: 0;
  font-family: "BIZ UDPGothic", sans-serif;
}
#customer_footer .customer_footer_nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 4px;
}
#customer_footer .customer_footer_nav_link {
  font-family: "Shippori Mincho B1", serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: #f5f0e8;
  text-decoration: none;
  opacity: 0.75;
  transition: color 0.3s ease, opacity 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
#customer_footer .customer_footer_nav_link::before {
  content: '→';
  color: #c9a96e;
  font-size: 12px;
}
#customer_footer .customer_footer_nav_link:hover {
  color: #c9a96e;
  opacity: 1;
}
#customer_footer .customer_footer_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 40px;
  text-align: right;
  position: relative;
  z-index: 1;
}
#customer_footer .customer_footer_copy {
  margin: 0;
  font-size: 12px;
  color: #8a8a8a;
  letter-spacing: 0.1em;
  font-family: "BIZ UDPGothic", sans-serif;
}

/* 星空レイヤー */
#customer_footer::before,
#customer_footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

#customer_footer::before {
  background: #ffffff;
  box-shadow:
    120px 40px 0 0px rgba(255,255,255,0.9),
    340px 80px 0 0px rgba(255,255,255,0.7),
    560px 20px 0 0.5px rgba(255,255,255,1),
    780px 60px 0 0px rgba(255,255,255,0.8),
    980px 90px 0 0px rgba(255,255,255,0.6),
    150px 130px 0 0px rgba(255,255,255,0.9),
    420px 150px 0 0.5px rgba(255,255,255,0.7),
    650px 110px 0 0px rgba(255,255,255,1),
    870px 140px 0 0px rgba(255,255,255,0.8),
    1100px 30px 0 0.5px rgba(255,255,255,0.9),
    1250px 100px 0 0px rgba(255,255,255,0.7),
    1400px 55px 0 0px rgba(255,255,255,1),
    1550px 90px 0 0.5px rgba(255,255,255,0.8),
    1680px 35px 0 0px rgba(255,255,255,0.9),
    1800px 70px 0 0px rgba(255,255,255,0.7),
    1920px 20px 0 0.5px rgba(255,255,255,1),
    200px 200px 0 0px rgba(255,255,255,1),
    480px 220px 0 0px rgba(255,255,255,0.8),
    720px 180px 0 0.5px rgba(255,255,255,0.9),
    950px 210px 0 0px rgba(255,255,255,0.7),
    1150px 170px 0 0px rgba(255,255,255,1),
    1350px 195px 0 0px rgba(255,255,255,0.8),
    1500px 215px 0 0.5px rgba(255,255,255,0.9),
    1650px 180px 0 0px rgba(255,255,255,0.7),
    1850px 200px 0 0px rgba(255,255,255,1),
    60px 260px 0 0px rgba(255,255,255,0.8),
    300px 280px 0 0.5px rgba(255,255,255,0.9),
    540px 300px 0 0px rgba(255,255,255,0.7),
    800px 260px 0 0px rgba(255,255,255,1),
    1050px 290px 0 0px rgba(255,255,255,0.8),
    1300px 250px 0 0.5px rgba(255,255,255,0.9),
    1480px 275px 0 0px rgba(255,255,255,0.7),
    1620px 255px 0 0px rgba(255,255,255,1),
    1750px 285px 0 0.5px rgba(255,255,255,0.8),
    1900px 265px 0 0px rgba(255,255,255,0.9);
  animation: twinkle1 3s ease-in-out infinite alternate;
}

#customer_footer::after {
  background: #ffffff;
  box-shadow:
    80px 50px 0 0.5px rgba(201,169,110,0.9),
    260px 100px 0 0px rgba(255,255,255,1),
    500px 70px 0 0px rgba(201,169,110,0.8),
    740px 30px 0 0.5px rgba(255,255,255,1),
    1000px 80px 0 0px rgba(201,169,110,0.9),
    1180px 50px 0 0px rgba(255,255,255,1),
    1380px 75px 0 0.5px rgba(201,169,110,0.8),
    1560px 40px 0 0px rgba(255,255,255,1),
    1720px 85px 0 0px rgba(201,169,110,0.9),
    1880px 55px 0 0.5px rgba(255,255,255,1),
    180px 160px 0 0px rgba(255,255,255,1),
    600px 190px 0 0.5px rgba(201,169,110,0.8),
    900px 150px 0 0px rgba(255,255,255,1),
    1200px 130px 0 0px rgba(201,169,110,0.9),
    1450px 165px 0 0px rgba(255,255,255,1),
    1630px 145px 0 0.5px rgba(201,169,110,0.8),
    1800px 170px 0 0px rgba(255,255,255,1),
    350px 240px 0 0px rgba(255,255,255,1),
    680px 270px 0 0.5px rgba(201,169,110,0.8),
    1080px 230px 0 0px rgba(255,255,255,1),
    1320px 255px 0 0px rgba(201,169,110,0.9),
    1520px 240px 0 0.5px rgba(255,255,255,1),
    1700px 265px 0 0px rgba(201,169,110,0.8),
    1900px 245px 0 0px rgba(255,255,255,1);
  animation: twinkle2 5s ease-in-out infinite alternate;
}

@keyframes twinkle1 {
  0%   { opacity: 0.3; }
  50%  { opacity: 1; }
  100% { opacity: 0.5; }
}

@keyframes twinkle2 {
  0%   { opacity: 1; }
  50%  { opacity: 0.2; }
  100% { opacity: 0.8; }
}

@media (max-width: 768px) {
  #customer_footer .customer_footer_inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 30px;
    gap: 30px;
  }
  #customer_footer .customer_footer_bottom {
    padding: 20px;
    text-align: center;
  }
}