/* ========== リセット・基本設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========== デザイン原則：反復（共通要素） ========== */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(200%) skewX(-15deg);
        opacity: 0;
    }
}

/* ========== 固定ボタン（高級感・反復） ========== */
.fixed-buttons {
    position: fixed;
    top: 120px;
    right: 40px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tel-button, .contact-button {
    padding: 16px 24px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.tel-button::before, .contact-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

.tel-button {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
    position: relative;
    z-index: 2;
}

.tel-button:hover {
    background-color: #ffffff;
    color: #000000;
    position: relative;
    z-index: 2;
}

.contact-button {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    position: relative;
    z-index: 2;
}

.contact-button:hover {
    background-color: transparent;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

/* ========== ヘッダー（整列・反復） ========== */
.header {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    position: relative;
}

.logo h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 2px;
}

.logo p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    margin-top: 6px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    padding: 12px 16px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav a:hover::before {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 8px;
    padding: 12px;
    border-radius: 2px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ========== セクション共通（近接・整列・反復） ========== */
section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-bottom: 24px;
    color: #ffffff;
}

.section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ========== カード共通（反復・グラスモーフィズム） ========== */
.card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.card:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

/* ========== フォーム共通（整列・近接） ========== */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

.required-mark {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.submit-btn {
    width: 100%;
    padding: 20px;
    border: 1px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 2;
    border-radius: 2px;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

.submit-btn:hover {
    background-color: #ffffff;
    color: #000000;
    position: relative;
    z-index: 2;
}

/* ========== フッター（ミニマル） ========== */
.footer {
    background-color: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 1px;
}

/* === 商品ラインナップ：ドロップダウン === */
.nav-item.dropdown { position: relative; }

.dropdown-toggle {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.dropdown-menu {
  display: none;                 /* JS で .open を付与して表示 */
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0,0,0,.08);
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: .75rem 1rem;
  white-space: nowrap;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
}

/* 開いている状態 */
.nav-item.dropdown.open > .dropdown-menu { display: block; }

/* モバイル（ハンバーガー展開中）では静的表示に切替え */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    border: none;
    box-shadow: none;
  }
}