@charset "utf-8";
/**********************************/
* {box-sizing: border-box;}
body {
    margin: 0;
    font-family:Arial,"Noto Sans JP",sans-serif;
    background: #f5f5f5;
    color: #333;
}
.container {
    width: 90%;
    max-width: 1000px;
    margin: 50px auto;
}
h1 {
    margin-bottom: 30px;
}
.product-list {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 20px;
}
.product-card {
    display: block;
    padding: 30px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}
.product-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 5px 15px rgba(0,0,0,0.15);
}
.login-box {
    max-width: 500px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}
.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    font-size: 16px;
}
.login-box .login-bt {
    padding: 12px 30px;
    cursor: pointer;
}
.document-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 600px;
}
.document-list a {
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
}
.document-list a:hover {
    background: #eee;
}
.bt{
	display: block;
    margin-top: 1em;
    padding: 10px;
    background: #ccc;
    width: 150px;
    text-align: center;
    border-radius: 6px;
    text-decoration: none;
    color: #000;
}

/* パスワード入力欄の表示切替用レイアウト */
.password-wrapper {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 15px; /* 既存のデザインに合わせて余白を調整してください */
}

/* 入力された文字がアイコンの下に隠れないように右側に余白（padding-right）を設ける */
.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    width: 100%;
    padding-right: 40px !important; 
    box-sizing: border-box;
    margin-bottom: 0; /* ラッパー側でマージンを取るためリセット */
}

/* 目玉アイコンボタンの絶対配置 */
.toggle-password-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password-btn:hover {
    color: #333;
}

/********************************************/

@media (max-width: 700px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}