/*  main  */
.main-content {
    margin: 0 auto; /* 左右の余白を自動調整して中央寄せ */
	flex-wrap: wrap; /* 折り返しを有効にする */
}
.street-category {
	    color: #999;
	margin-bottom: 3px;
}

.street-pin-icon {
	width: 10px;
	height: 15px;
	margin-right: 4px;
}

.street-name {
	font-size: 0.7rem;
	color: #666;
	margin: 0 8px;
	font-weight: 200;
}

.street-name a {
	color: #666;
	text-decoration: none;
}

.thumbnail-container {
	padding-bottom: 70px;
}

/* トップページのおすすめ記事 */
.colored-article {
    position: relative;
    background: linear-gradient(to bottom, #fff 0%, #fff 60%, #f5f5f5 60%, #f5f5f5 100%);
    padding: 40px 0 60px;
    margin-bottom: 40px;
}

.colored-article::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: #f5f5f5;
    z-index: 0;
}

.colored-article::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" fill="%23ff9a9a" opacity="0.2"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 3c1.66 0 3 1.34 3 3s-1.34 3-3 3-3-1.34-3-3 1.34-3 3-3zm0 14.2c-2.5 0-4.71-1.28-6-3.22.03-1.99 4-3.08 6-3.08 1.99 0 5.97 1.09 6 3.08-1.29 1.94-3.5 3.22-6 3.22z"/></svg>');
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
    z-index: 1;
}

.colored-article .container {
    position: relative;
    z-index: 1;
}

/* トップページのサムネイルコンテナ */
.thumbnail-container {
    position: relative;
    padding-bottom: 100px;
    margin-bottom: 40px;
}

.thumbnail-container::before {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 65px;
    width: 38px;
    height: 38px;
    background-image: image-set(url('../images/man_white.webp') type('image/webp'), url('../images/man_white.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
	 animation: moveLeft 15s linear forwards;
}

.thumbnail-container::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-image: image-set(url('../images/man_black.webp') type('image/webp'), url('../images/man_black.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    z-index: 1;
	 animation: moveLeft 15s linear forwards;
}
@keyframes moveLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100vw);
    }
}

.city-background::after {
	    content: '';
    position: absolute;
bottom: -740px;
    right: 150px;
    width: 340px;
    height: 340px;
    background-image: image-set(url('../images/city.webp') type('image/webp'), url('../images/city.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}
@media screen and (max-width: 1420px) {
.city-background::after {
bottom: -900px;
    right: 70px;
    width: 320px;
    height: 320px;
}
}
@media screen and (max-width: 1200px) {
.city-background::after {
bottom: -900px;
    right: 60px;
    width: 320px;
    height: 320px;
}
}

@media screen and (max-width: 786px) {
	.city-background::after {
		bottom: -930px;
	}
	.thumbnail-container {
    padding-bottom: 70px !important;
	}
   .colored-article {
        padding: 30px 0 50px;
        margin-bottom: 30px;
    }

    .colored-article::after {
        width: 20px;
        height: 20px;
        bottom: 15px;
        right: 15px;
    }

    .thumbnail-container {
        padding-bottom: 80px;
        margin-bottom: 30px;
    }

    .thumbnail-container::before
    {
        width: 28px;
        height: 28px;
        bottom: 15px;
    }
	
	.thumbnail-container::after {
		width: 48px;
        height: 48px;
        bottom: 8px;
	}

    .thumbnail-container::before {
        right: 50px;
    }

    .thumbnail-container::after {
        right: 15px;
    }
	.city-background::after {
		bottom: -310px;
		width: 200px;
    height: 200px;
	}
}
@media screen and (max-width: 700px) {
	.city-background::after {
		bottom: -320px;
	}
}
@media screen and (max-width: 640px) {
	.city-background::after {
		bottom: -325px;
		width: 180px;
    height: 180px;
	}
}

@media screen and (max-width: 465px) {
	.city-background::after {
		bottom: -335px;
	}
}

@media screen and (max-width: 429px) {
	.city-background::after {
		right: 30px;
		bottom: -580px;
		width: 170px;
    height: 170px;
	}
}

@media screen and (max-width: 360px) {
	.city-background::after {
		bottom: -605px;
	}
}

.city-fixed-bg {
    position: fixed;
    top: 40px;      /* 画面上からの距離（調整可） */
    right: 40px;    /* 画面右からの距離（調整可） */
    width: 200px;   /* 画像の幅（調整可） */
    height: 200px;  /* 画像の高さ（調整可） */
    background-image: image-set(url('/Users/sugarcane/Downloads/the-thor-child/images/city.webp') type('image/webp'), url('/Users/sugarcane/Downloads/the-thor-child/images/city.png') type('image/png'));
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;  /* 必要に応じて調整 */
    pointer-events: none; /* 画像の上でクリック等を無効化したい場合 */
    opacity: 0.3;   /* 透過度（お好みで） */
}
@media screen and (max-width: 600px) {
  .city-fixed-bg {
    width: 100px;
    height: 100px;
    top: 10px;
    right: 10px;
  }
}