﻿/* ======================================================================================= */
/* パスワードの目のボタン設定 */
/* ======================================================================================= */

body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}


.password-container {
    position: relative;
    display: flex; /* フレックスボックスで配置を調整 */
    align-items: center; /* 縦の中央揃え */
}

    .password-container input {
        flex: 1; /* 入力欄ができるだけ広がるように */
        padding-right: 40px; /* 目アイコンのためのスペース */
    }

.toggle-password {
    margin-left: -35px; /* アイコンを `input` のすぐ横に */
    cursor: pointer;
    color: #555;
}





/* ======================================================================================= */
/* スライドビュー設定 */
/* ======================================================================================= */

.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 480px; /* 高さ固定 */
    margin: auto;
    overflow: hidden;
}

/* スライド共通設定 */
.slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* 初期状態では非表示 */
    transition: opacity 1s ease-in-out;
}

    /* アクティブなスライド */
    .slides.active {
        opacity: 1;
        z-index: 2; /* アクティブスライドを最前面に */
    }

/* 画像の設定 */
.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 🔽 🔽 ここが修正ポイント 🔽 🔽 */
/* ドットボタンを画像の下部に配置 */
.dots-container {
    position: absolute;
    bottom: 10px; /* 画像の下部に固定 */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    z-index: 100; /* 画像より前面に */
}

/* ドットボタン */
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.7); /* 半透明の白 */
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

    /* アクティブなドット */
    .dot.active {
        background-color: #717171;
    }

