/* ========================================
   リセット & ベーススタイル
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background: #f5f5f5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

.sp-only {
    display: none;
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo a {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: #2c2c2c;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #666;
}

/* ========================================
   メインコンテンツ
   ======================================== */
.login-main {
    position: relative;
    min-height: calc(100vh - 100px);
    padding: 80px 20px 60px;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

.login-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.login-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

/* ========================================
   物件エントリー案内
   ======================================== */
.entry-notice {
    background: rgba(139, 115, 101, 0.9);
    padding: 50px 70px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 40px;
    backdrop-filter: blur(10px);
}

.entry-notice-text {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 12px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.entry-notice-text:last-of-type {
    margin-bottom: 30px;
}

.entry-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: rgba(139, 115, 101, 1);
    color: #fff;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.entry-button:hover {
    background: rgba(115, 95, 85, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.entry-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.entry-button:hover svg {
    transform: translateX(4px);
}

.login-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ========================================
   ログインボックス
   ======================================== */
.login-box {
    background: #fff;
    padding: 60px 70px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.login-title {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.login-subtitle {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 0.25em;
    color: #999;
}

.login-description {
    text-align: center;
    margin-bottom: 40px;
}

.login-description p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #666;
    margin-bottom: 8px;
}

.login-description p:last-child {
    margin-bottom: 0;
}

/* ========================================
   フォーム
   ======================================== */
.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fafafa;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #2c2c2c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
}

.form-input::placeholder {
    color: #bbb;
}

.login-button {
    width: 100%;
    padding: 18px 30px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    background: #2c2c2c;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.login-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.login-button:hover .button-icon {
    transform: translateX(4px);
}

.error-message {
    display: none;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px 20px;
    background: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    color: #c62828;
    font-size: 0.9rem;
}

.error-message.show {
    display: flex;
}

.error-message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   注意書き
   ======================================== */
.login-note {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #f0f0f0;
}

.note-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.note-text {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.8;
}

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact-section {
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: #2c2c2c;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 5px;
}

.contact-phone {
    font-size: 1.6rem;
    font-weight: 500;
    color: #2c2c2c;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.contact-hours {
    font-size: 0.85rem;
    color: #666;
}

/* ========================================
   トップへ戻るリンク
   ======================================== */
.back-to-top {
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #2c2c2c;
    border-color: #2c2c2c;
    background: #fafafa;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* ========================================
   フッター
   ======================================== */
/* 旧ログインフッターのスタイルは削除（index.html準拠のfooter.scroll-pointを使用） */

/* ========================================
   レスポンシブ - タブレット
   ======================================== */
@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }

    .header-container {
        padding: 0 30px;
        height: 70px;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    .login-main {
        padding: 40px 20px;
    }

    .entry-notice {
        padding: 30px 25px;
    }

    .entry-notice-text {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .entry-notice-text:last-of-type {
        margin-bottom: 25px;
    }

    .entry-button {
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .login-box {
        padding: 40px 30px;
    }

    .login-title {
        font-size: 1.4rem;
    }

    .contact-section {
        padding: 25px 30px;
    }

    .contact-phone {
        font-size: 1.4rem;
    }
}

/* ========================================
   レスポンシブ - モバイル
   ======================================== */
@media (max-width: 480px) {
    .header-container {
        padding: 0 20px;
        height: 60px;
    }

    .logo-main {
        font-size: 1rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .login-main {
        padding: 30px 15px;
    }

    .entry-notice {
        padding: 25px 20px;
    }

    .entry-notice-text {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .entry-notice-text:last-of-type {
        margin-bottom: 20px;
    }

    .entry-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 0.9rem;
        justify-content: center;
    }

    .login-box {
        padding: 30px 20px;
    }

    .login-title {
        font-size: 1.2rem;
    }

    .login-description p {
        font-size: 0.9rem;
    }

    .form-input {
        padding: 14px 16px;
        font-size: 0.95rem;
    }

    .login-button {
        padding: 16px 25px;
        font-size: 0.95rem;
    }

    .contact-section {
        padding: 20px;
    }

    .contact-box {
        flex-direction: column;
        text-align: center;
    }

    .contact-phone {
        font-size: 1.3rem;
    }

}
