/* 全体設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;/*'Arial'*/
    background-color: #f4f4f4;
    color: #333;
}

/* コンテナ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー */
header {
    background-color: #000000;
    color: #fff;
    padding: 15px 0;
}

header .logo h1 a {
    color: #fff;
    text-decoration: none;
    font-size: 25px;
    font-family:serif;
}


header nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
}

header nav ul li a:hover {
    color: #27ae60;
}

/* SNSアイコン */
.social-links {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.social-icon {
    color: #fff;
    font-size: 24px;
    margin-left: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.company-intro {
background-image :url('../../Pictures/Saved Pictures/07C13B54-C042-4DD7-A5E8-E8CB3A73F9C4.PNG');
display:block;
height: 480px;
margin-bottom: 30px;

}

.company-intro h1 {
    font-family:serif;
    padding-top: 48px;
    opacity: 1;
    padding-left: 25px; 
    color:darkslategrey;
    font-size: 52px;
    letter-spacing: 10px;
}

.company-intro ul {
    font-family: serif;
    opacity: 1;
    padding-left: 25px; 
    color:rgb(35, 40, 40);
    list-style-type: none;
    font-size: 20px;
}

.social-icon:hover {
    color: #27ae60;
}

/* 商品リスト */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.product-container h1 {
    font-size: 23px;
}

.product {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 22.5%;
    /*transition: transform 0.3s ease;*/

    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    margin: 10px;
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-info {
    margin-top: 10px;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.product-info {
    padding: 20px;
}

.product-info h2 {
    font-size: 13px;
    margin-bottom: 10px;
    font-weight:lighter;
}

.product-info .price {
    font-size: 18px;
    color: #e74c3c;
    
}

.product-info .description {
    font-size: 14px;
    margin: 10px 0;
    
    
}





/* お問い合わせフォーム */
.contact-form {
    background-color: #fff;
    padding: 40px;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 20px;
}

.contact-form button {
    background-color: #27ae60;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #2ecc71;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

footer p {
    font-size: 14px;
}

footer .social-links {
    margin-top: 10px;
}

/* product-detail.html */
/* ===== 商品詳細ページ ===== */
.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 40px auto;
}

/* 商品名 */
.product-detail h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

/* 商品情報 */
.product-detail p {
    font-size: 18px;
    margin-bottom: 10px;
}

/* 価格のスタイル */
#product-price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
}

/* 状態のスタイル */
#product-condition {
    font-size: 16px;
    color: #555;
    font-weight: 500;
}

/* 商品説明 */
#product-description {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* 購入ボタン */
#purchase-request {
    background-color: #27ae60;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
}

#purchase-request:hover {
    background-color: #23975b;
    transform: scale(1.008);
}

.product-detail div img{
    padding-top: 100px;  
    width: 40%;   
}

.product-detail.product-container {
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.attention p {
    color:#e74c3c;
}



/*スライダー*/
.slider {
    /*display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 50%;
    margin: auto;*/

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 60%;
    max-width: 600px;
    margin: 20px auto;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.product-detail.slide-container {
    /*overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #352e2e; /* ✅ 背景色を変更（薄いグレー） */
    /*border-radius: 10px; /* ✅ 角を少し丸くする（オプション） */
   /* padding: 20px;*/

    overflow: hidden;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slides img {   /*いらんかも*/
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
}

.product-detail .slide {
    width: 100%;
    max-width: 50%;
    height: auto;
    display: none;
    object-fit: cover; 
    
    
}

.slide.active {
    display: block;
}

.product-info {
    margin-top: 20px;
    text-align: center;
}

.product-info h2 {
    font-size: 14px;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 2px;
    margin: 5px 0;
}

.price {
    font-weight: bold;
    color: #d32f2f;
}

.condition {
    font-size: 16px;
    color: #555;
}


/* 商品詳細ページ専用の画像サイズを大きくする */
.product-detail .slide-container {
    max-width: 800px;  /* 幅を広げる */
    height: 500px;  /* 高さを大きくする */
}

.product-detail .slide {
    max-width: 800px;
    height: 500px;
}

.slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 20px;

    border-radius: 50%;
    transition: 0.3s;
}

.slider button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.magnifier {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 100;
    background-color: white;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}
