* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #000000;
  --secondary-color: #333333;
  --dark-bg: #000000;
  --light-bg: #f5f5f5;
  --text-dark: #000000;
  --text-light: #ffffff;
}

body {
  font-family: 'Cinzel', serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  min-height: 100vh;
  color: var(--text-dark);
}

/* ヘッダー */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 5%;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-light);
  letter-spacing: 2px;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* 新しいハンバーガーメニュー */
.openbtn {
  display: none;
  position: relative;
  z-index: 9999;
  cursor: pointer;
  width: 60px;
  height: 60px;
}

.openbtn .openbtn-area {
  transition: all .6s;
  width: 100%;
  height: 100%;
  position: relative;
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 4px;
  border-radius: 2px;
  background-color: #fff;
  width: 60%;
}

.openbtn span:nth-of-type(1) {
  top: 15px;
}

.openbtn span:nth-of-type(2) {
  top: 23px;
}

.openbtn span:nth-of-type(3) {
  top: 31px;
}

.openbtn span:nth-of-type(3)::after {
  content: "Menu";
  position: absolute;
  top: 5px;
  left: -2px;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.openbtn.active .openbtn-area {
  transform: rotateX(360deg);
}

.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(3)::after {
  content: "Close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
  font-size: 0.7rem;
}

/* 注意事項 */
.notice-box {
  max-width: 1200px;
  margin: 130px auto 3rem;
  padding: 0 5%;
}

.notice-content {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-left: 5px solid var(--text-dark);
}

.notice-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-content ul {
  list-style: none;
  padding-left: 0;
}

.notice-content li {
  padding: 0.8rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--secondary-color);
  line-height: 1.8;
}

.notice-content li::before {
  content: '•';
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--text-dark);
  font-weight: bold;
  font-size: 1.5rem;
}

/* メインコンテナ */
.contact-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* 左側フォーム */
.contact-left {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: slideInLeft 0.8s ease;
}

.contact-left-title {
  margin-bottom: 2rem;
}

.contact-left-title h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.contact-left-title hr {
  width: 80px;
  height: 4px;
  background: var(--text-dark);
  border: none;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.contact-inputs {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafafa;
}

.contact-inputs:focus {
  outline: none;
  border-color: var(--text-dark);
  background: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

textarea.contact-inputs {
  min-height: 150px;
  resize: vertical;
}

.radio-group {
  display: flex;
  gap: 2rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-option input[type="radio"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--text-dark);
}

.radio-option label {
  cursor: pointer;
  font-weight: 500;
}

button[type="submit"] {
  width: 100%;
  padding: 1.2rem;
  background: var(--text-dark);
  color: white;
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  letter-spacing: 1px;
  animation: float 3s ease-in-out infinite;
}

button[type="submit"]:hover {
  background: white;
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

button[type="submit"] i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

button[type="submit"]:hover i {
  transform: translateX(5px);
}

/* 右側画像 */
.contact-right {
  animation: slideInRight 0.8s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-right img {
  width: 100%;
  max-width: 500px;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
  animation: float 3s ease-in-out infinite;
}

/* フッター */
footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 3rem 5%;
    text-align: center;
}

footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

footer p {
    line-height: 1.8;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a img {
    width: 40px;
    height: 40px;
}

.social-icons a:hover {
    background: #b0afaf;
    transform: translateY(-5px);
}

/* アニメーション */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    flex-direction: column;
    background: #252525;
    width: 100%;
    padding: 2rem;
    transition: right 0.3s ease;
  }

  .nav-menu.active {
    right: 0;
  }

  .openbtn {
    display: block;
  }

  .notice-box {
    margin-top: 100px;
  }

  .notice-content {
    padding: 1.5rem;
  }

  .notice-content h3 {
    font-size: 1.2rem;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 20px 5%;
  }

  .contact-left {
    padding: 2rem;
  }

  .contact-left-title h2 {
    font-size: 1.5rem;
  }

  .contact-right {
    order: -1;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.1rem;
  }

  .contact-left {
    padding: 1.5rem;
  }

  .contact-left-title h2 {
    font-size: 1.3rem;
  }

  button[type="submit"] {
    font-size: 1rem;
  }
}

.Logout {
  text-align: center;
  justify-content: center;
}

.wrap {
  width: 100%;
  height: 90vh;
  background-color: #fff8;
}

#main {
  width: 1000px;
  margin: 0 auto 0 auto;
  padding: 50px 0 20px 0;
  background-color: #fff;
  color: #808080;
}

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 10px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s, visibility .5s;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  white-space: nowrap;
  animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
  0% { bottom: 20px; }
  50% { bottom: 25px; }
  100% { bottom: 20px; }
}

.scroll-top.scroll-view {
  opacity: 1;
  visibility: visible;
}

.scroll-top a {
  text-decoration: none;
  color: #808080;
  text-transform: uppercase;
  font-size: 25px;
  display: block;
}

.banner {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner video {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.banner h1 {
  font-size: 60px;
  position: absolute;
  z-index: 2;
  color: #fff;
}

.font {
  font-size: 15px;
  text-align: left;
  padding: 10px 0 10px 0;
}

#area-2 {
  text-align: center;
  font-size: 18px;
  padding: 20px 0 10px 0;
}

#splash {
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #333;
  text-align: center;
  color: #fff;
}

#splash_text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
}

#splash_text svg {
  height: 2px;
}