/* =================
  共通
================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN";
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@keyframes fadeUp{
  0%{
  opacity:0;
  transform:translateY(40px);
  }
  100%{
  opacity:0.9;
  transform:translateY(0);
  }
}

@keyframes fadeIn{
  0%{ opacity:0; }
  100%{ opacity:0.7; }
}

/* アニメーション共通 */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* セクション区切り */
.section-divider {
  width: 100%;
  background: #fff;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-divider-line {
  display: block;
  width: 85%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 15%,
    rgba(0, 0, 0, 0.22) 50%,
    rgba(0, 0, 0, 0.08) 85%,
    transparent 100%
  );
}

/* =================
  header
================= */

.header {
  height: 75px;
  background: #131313;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s;
}

.header .container {
  max-width: 1400px;
}

.header.hide {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.header-logo img {
  height: 75px;
}

/* ナビ */
.header-nav {
  display: flex;
  align-items: center;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 75px;
  padding: 0 18px;
  color: #fff;
  position: relative;
}

.nav-en {
  font-size: 15px;
  letter-spacing: 1px;
}

.nav-ja {
  font-size: 10px;
  opacity: 0.7;
  margin-top: 2px;
}

/* ホバー線 */
.nav-item::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: 0.3s;
}

.nav-item:hover::after {
  width: 60%;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.264);
}

/* お問い合わせボタン */
.contact {
  background: #fff;
}

.contact-btn {
  margin-left: 15px;
  padding: 8px 24px;
  background: #fff;
  color: #000;
  border-radius: 3px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
}

.contact-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #000;
  transition: 0.3s;
  z-index: 0;
}

.contact-btn span {
  position: relative;
  z-index: 1;
}

.contact-btn:hover {
  color: #fff;
}

.contact-btn:hover::before {
  width: 100%;
}

.hamburger {
  display: none;
  width: 30px;
  height: 22px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fff;
  left: 0;
  transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* page-hero */

.page-hero{
  padding:220px 0 220px;
  background:
  linear-gradient(
    100deg,
    rgba(10,10,10,1) 0%,
    rgba(15,15,15,0.9) 35%,
    rgba(30,30,30,0.6) 60%,
    rgba(0,0,0,0) 100%
  ),
  url("../images/contact_hero.webp");
  background-size:cover;
  background-position:center;
  text-align:center;
  color:white;
}

.page-hero h1{
  font-size:48px;
  letter-spacing:6px;
}

.page-hero p{
  font-size:18px;
  margin-top:10px;
}

.contact {
  padding: 80px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.name-flex {
  display: flex;
  gap: 10px;
}

.name-flex input {
  width: 50%;
}

.form-group {
  margin-bottom: 25px;
}

.form-group span {
  background: #e60023;
  color: #fff;
  font-size: 12px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 3px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button {
  width: 100%;
  background: #0077cc;
  color: #fff;
  padding: 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.privacy-box {
  background: #f7f7f7;
  padding: 20px;
  margin-top: 30px;
  border-radius: 5px;
  font-size: 14px;
}

.privacy-check {
  margin-top: 15px;
}

.privacy-check label {
  margin-left: 5px;
}

.privacy-check span {
  color: red;
  font-size: 12px;
  margin-left: 5px;
}

.scroll{
  position:absolute;
  bottom:115px;
  left:50%;
  transform:translateX(-50%);
  text-align:center;
  font-size:14px;
  letter-spacing:2px;
  opacity:0.7;
  animation:fadeIn 2s ease forwards;
  animation-delay:1.5s;
  text-shadow:0 0 10px rgba(0,0,0,0.8);
}

.scroll-line{
  width:2px;
  height:40px;
  background:rgba(255,255,255,0.3);
  margin:10px auto 0;
  position:relative;
  overflow:hidden;
}

.scroll-line::after{
  content:"";
  position:absolute;
  top:-40px;
  left:0;
  width:100%;
  height:40px;
  background:white;
  animation:scrollMove 1.6s infinite;
}

@keyframes scrollMove{
  0%{
  transform:translateY(-20px);
  opacity:0;
  }
  50%{
  opacity:1;
  }
  100%{
  transform:translateY(50px);
  opacity:0;
  }
}



/* page-top */

.page-top{
position:fixed;
right:30px;
bottom:30px;
width:50px;
height:50px;
background:#000;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
font-size:20px;
border-radius:50%;
opacity:0;
visibility:hidden;
transition:0.3s;
z-index:1000;
}

.page-top.show{
opacity:1;
visibility:visible;
}

.page-top:hover{
background:#333;
}

html{
scroll-behavior:smooth;
}











.privacy-box a {
  color: #007BFF;
  text-decoration: underline;
}

.privacy-box a:hover {
  opacity: 0.7;
}

/* =================
  footer
================= */
.footer {
  background: #191919;
  border-top: 1px solid #333;
  padding: 30px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo img {
  height: 60px;
}

.footer-left p {
  margin-top: 10px;
  font-size: 12px;
  color: #ccc;
}

.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ccc;
  font-size: 13px;
  position: relative;
  padding-right: 15px;
}

.footer-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #777;
}

.footer-nav a:hover {
  color: #fff;
}