/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    font-size: 16px;
	font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    line-height: 1.5;
    background-color: #FFFFFF;
}

header {
    display: flex;
/*	width: 100%;*/
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    color: black; /* Link text color to black */
}

.header-left img {
    width: 400px; /* 元のサイズに戻す */
    height: auto; /* 元のサイズに戻す */
}

.header-right img {
	margin: 15px auto;
    width: auto; /* 元のサイズに戻す */
    height: auto; /* 元のサイズに戻す */
}

.spacer {
    height: 20px;
}
.main-image {
    text-align: center; /* 中央揃え */
}
img:not(.main-image, .header-left, .header-right img) {
    width: 50%;
}
.main-image img {
	margin: auto;
    width: 100%;
    height: auto;
    max-width: 900px; /* 最大幅を900pxに制限 */
    height: auto;
}

.introduction {
    text-align: center;
    padding: 0 20px;
}

.catalog {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.catalog-item {
    width: 48%;
    margin-bottom: 20px;
    text-align: center; /* 画像を中央揃えにする */
}

.catalog-item img {
    width: 100%;
    height: auto;
}

.catalog-item p {
    font-size: 14px;
    color: #929292;
    margin-top: 10px;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* 中央揃えにする */
}

.footer-left h2 {
    font-size: 22px;
    font-weight: 300;
    color: #232323;
    text-align: center; /* 中央揃えにする */
}

.footer-left p {
    font-size: 11px;
    color: #7C7C7C;
    line-height: 1.5;
    text-align: center; /* 中央揃えにする */
}

.footer-left a {
    text-decoration: none;
    color: #180093;
}

.footer-right p {
    font-size: 14px;
    color: #000;
    text-align: center; /* 中央揃えにする */
}
/*-----------------------------------------------------------------------:*/
@media screen and (max-width: 1000px) {
    body, h1, h2, p {
        font-size: 18px; /* Increase base font size */
    }
    p {
        font-size: 15px; /* Increase base font size */
    }
	header {
        flex-direction: column;
        align-items: center;
    }

    header nav {
        margin-top: 20px;
        order: 3; /* Move nav to the bottom */
    }   
	.catalog-item {
        width: 100%; /* ウインドウ幅が1000px以下の場合、1列にする */
        max-width: 400px; 
		margin: auto;
    }
a {
    color: black; /* Link text color to black */
}
.footer-right p {
    font-size: 12px;
    color: #000;
    text-align: center; /* 中央揃えにする */
}
	
}
