/* プログレスバーのスタイル */
.progressbar {
    display: flex;
    flex-wrap: wrap;
}

.progressbar .item {
    position: relative;
    width: 33%;
    text-align: center;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    line-height: 1.5;
    background: #F5F5F5;
    color: #999999;
}

.progressbar .item:not(:last-child)::before,
.progressbar .item:not(:last-child)::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 100%;
    content: '';
    border: 37px solid transparent;
    border-left: 20px solid #F5F5F5;
    margin: auto;
}

.progressbar .item:not(:last-child)::before {
    margin-left: 1px;
    border-left-color: #FFF;
}

@media screen and (max-width: 767px) {
    .progressbar .item {
        font-size: 16px;
        line-height: 1.4;
        padding: 5px 0;
    }

    .progressbar .item:not(:last-child)::before,
    .progressbar .item:not(:last-child)::after {
        border-width: 25px;
        border-left-width: 12px;
    }
}

/* active時のプログレスバー */
.progressbar .item.active {
    z-index: 1;
    background: #0d6efd;
    color: #FFF;
}

.progressbar .item.active:not(:last-child)::after {
    border-left-color: #0d6efd;
}

.progressbar .item.active:not(:last-child)::before {
    border-left: none;
}

/* 遊漁船画像のリサイズ */
.carousel-image {
    width: 100%;
    /* 幅をカルーセルの幅に合わせる */
    height: 500px;
    /* 高さを固定 */
    object-fit: contain;
    /* 画像のアスペクト比を保ちつつ、指定された領域に収める */
}

/* タグ用に余白を調整 */
.tag {
    white-space: nowrap;
    display: inline-block;
    margin: 0 5px 5px 0;
}

/* 動画のカスタムスタイルシート */
.embed-responsive-item-full {
    width: 100%;
    height: 300px;
}

.embed-responsive-full {
    overflow: hidden;
    border-radius: 5px;
    /* 丸みの度合いを調整 */
}

.equal-size-container {
    width: 300px;
    /* 希望の幅 */
    height: 400px;
    /* 希望の高さ */
    overflow: hidden;
    /* コンテナ外の部分を非表示にする */
}

.equal-size-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* 画像の切り取りを行い、アスペクト比を維持 */
}

.card-img-top {
    width: 100%;
    /* 画像の幅をカードの幅に合わせる */
    height: 270px;
    /* 希望の高さ */
    object-fit: cover;
    /* 画像がコンテナに収まるように調整 */
    object-position: center;
    /* 画像を中央に配置 */
}

.card-img-top:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.fishing-result-img {
    width: 100%;
    /* 画像の幅をカードの幅に合わせる */
    height: 350px;
    /* 希望の高さ */
    object-fit: contain;
    /* 画像がコンテナに収まるように調整 */
    object-position: center;
    /* 画像を中央に配置 */
}


/* fs-4にレスポンシブ適応 */
.fs-4-responsive {
    font-size: 1rem;
}

.fs-5-responsive {
    font-size: 0.9rem;
}

/* ボタンの大きさカスタム */
.responsive-max-width {
    max-width: 100%;
}


@media (max-width: 991.98px) { /* lgより小さいサイズ */
    .card-img-top {
        height: 100%; /* 更に小さいサイズでの高さ */
    }
}


@media (min-width: 576px) {
    .fs-4-responsive {
        font-size: 1.2rem;
    }
    .fs-5-responsive {
        font-size: 1.0rem;
    }
}

@media (min-width: 768px) { /* mdより小さいサイズ */
    .fs-4-responsive {
        font-size: 1.3rem;
    }
    .fs-5-responsive {
        font-size: 1.1rem;
    }
    .responsive-max-width {
        max-width: 70%;
    }
}

@media (min-width: 992px) {
    .fs-4-responsive {
        font-size: 1.4rem;
    }
    .fs-5-responsive {
        font-size: 1.2rem;
    }
    .responsive-max-width {
        max-width: 60%;
    }
}

@media (min-width: 1250px) {
    .responsive-max-width {
        max-width: 50%;
    }
}

@media (min-width: 1480px) {
    .responsive-max-width {
        max-width: 40%;
    }
}

.shadow-x {
    box-shadow: 5px 0 5px -3px rgba(0, 0, 0, 0.3), -5px 0 5px -3px rgba(0, 0, 0, 0.3);
}

/* 文字間隔を細かく調整 */
.letter-spacing-1 {
    letter-spacing: 1px;
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}