/* 基本スタイル */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

input[type="text"], input[type="number"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], input[type="checkbox"] {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}
select {
    padding: 7px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;

}

/* ヘッダー */
.site-header {
    /*background-color: #2c3e50;*/
	background-image: url('images/header.webp');
    color: white;
    padding: 1.5rem;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.header-image img {
    max-width: 100px;
    height: auto;
    border-radius: 10px;
}

.header-title h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: bold;
}

/* ナビゲーションメニュー */
.main-nav {
    padding: 1rem;
}

.nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-menu a:hover {
    background-color: #3b536d;
}

/* コンテナ */
.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}











/* サイドバー */
.sidebar {
    flex: 1 1 200px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.search-box button {
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.user-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.menu-item {
    padding: 12px;
    background: #f8f9fa;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
}

.menu-item:hover {
    background: #e9ecef;
}

/* カテゴリリスト */
.category-list {
    margin-bottom: 20px;
}

.category-toggle {
    cursor: pointer;
    margin: 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.category-toggle:hover {
    background-color: #e9ecef;
}



.category-items {
    max-height: 500px; /* PCでは常に表示 */

	list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.category-items.active {
    max-height: 500px; /* 適切な高さに調整 */
}

.category-items li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
}

.category-items li:last-child {
    border-bottom: none;
}

.category-items a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.category-items a:hover {
    color: #2980b9;
}












/* トップページ用スタイル */
/* フッターのスタイル */
.site-footer {
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 15px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.8;
}

/* メインコンテンツのスタイル */
.main-content {
    flex: 3 1 610px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.new-products, .popular-products {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.new-products h2, .popular-products h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #2c3e50;
    border-bottom: 2px solid #b3b3b3;
    padding-bottom: 10px;
}


.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 0px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    text-align: center;
    font-size: 0.9rem;
}

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

.product-card a{
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;

}
.product-card a:hover {
    color: #2980b9;
}


.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 5px;
}

.price {
    color: #e74c3c;
    font-size: 1.2rem;
    margin: 10px 0;
}

/* お知らせ欄 */
.announcements {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.announcements h2 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #b3b3b3;
    padding-bottom: 10px;
}

.announcement-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.announcement-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
}

.announcement-list li:last-child {
    border-bottom: none;
}

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
    min-width: 85px;
    display: inline-block;
}

.announcement-list a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.announcement-list a:hover {
    color: #2980b9;
}
/* レスポンシブ対応 */
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .announcement-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .date {
        margin-bottom: 5px;
    }

}















/* 商品一覧ページ用スタイル */


.new-productlist {
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.new-productlist h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #2c3e50;
    border-bottom: 2px solid #b3b3b3;
    padding-bottom: 10px;
}

.price {
    color: #e74c3c;
    font-size: 1.2rem;
    margin: 10px 0;
}


.productlist-form-group {
    margin-bottom: 0px;
}

.productlist-form-group select {
    width: 15%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.productlist-form-group select:focus {
    border-color: #3498db;
    outline: none;
}

/* チェックボックス */
.productlist-form-group input[type="checkbox"] {
    display: none;
}
.checkbox {
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 30px;
    position: relative;
    width: auto;
}
.checkbox::before {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -8px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.checkbox::after {
    border-right: 6px solid #666;
    border-bottom: 3px solid #666;
    content: '';
    display: block;
    height: 20px;
    left: 7px;
    margin-top: -16px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg) translate3d(0,2px,0) scale3d(.7,.7,1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
    width: 9px;
}
.productlist-form-group input[type="checkbox"]:checked + .checkbox::before {
    border-color: #666;
}
.productlist-form-group input[type="checkbox"]:checked + .checkbox::after {
    opacity: 1;
    transform: rotate(45deg) scale3d(1,1,1);
}







/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    padding: 20px 0;
}

.pagination2 {
    display: none;
    justify-content: center;
    gap: 10px;
    margin-top: 0px;
    padding: 20px 0;
}

.page-link {
    padding: 10px 15px;
    text-decoration: none;
    color: #3498db;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #3498db;
}

.page-link.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.page-link.prev,
.page-link.next {
    font-weight: bold;
}

.page-link.disabled {
    color: #bdc3c7;
    pointer-events: none;
    border-color: #ddd;
}





/* レスポンシブ対応 */
@media (max-width: 980px) {
	.container {
		gap: 5px;
		padding: 1px;
	}
	.product-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 1px;
	}

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .header-image img {
		display: none;
    }

	.pagination {
		display: none;
	}
	.pagination2 {
		display: flex;
	}

    .header-title h1 {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.8rem;
        justify-content: flex-start;
    }
    
    .nav-menu a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .category-items {
        max-height: 0px;
    }

    .category-items.active {
        max-height: 500px; /* 適切な高さに調整 */
    }
}




























/* 商品詳細ページ用スタイル */
.product-detail {
    flex: 3 1 600px;
    display: flex;
	flex-direction: column; /* 縦方向に並べる */
    /*display: grid;*/
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-content {
    display: flex;
    gap: 0px; /* 画像と情報の間隔 */
}
.product-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 10px;
}

.thumbnail-images img {
    width: 75px;
    height: 75px;
    object-fit: contain;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail-images img:hover {
    transform: scale(1.1);
}

.product-info {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-info h2 {
    margin: 0;
    font-size: 2rem;
    color: #2c3e50;
}



.product-recommend-info {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-recommend-info h2 {
    margin: 0;
    font-size: 2rem;
    color: #2c3e50;
}


.product-recommend-products {
    background: white;
    padding: 0px;
    border-radius: 0px;
}

.product-recommend-products h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #2c3e50;
    border-bottom: 2px solid #b3b3b3;
    padding-bottom: 10px;
}



.product-price {
    font-size: 1.5rem;
    color: #e74c3c;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.product-specs {
    margin-top: 20px;
}

.product-specs h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.product-specs ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-specs li {
    padding: 5px 0;
    border-bottom: 1px solid #b3b3b3;
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs li a{
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}


.add-to-cart {
    padding: 15px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart:hover {
    background-color: #219150;
}

.add-to-cart-disabled {
    padding: 15px 20px;
    background-color: #b3b3b3;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.add-to-cart-disabled:hover {
    background-color: #b3b3b3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .product-detail {
        flex-direction: column;
    }

    .product-images {
        align-items: center;
    }

    .thumbnail-images {
        justify-content: center;
    }
}




























/* 会員登録ページ用スタイル */
/* 会員登録コンテナ */
.registration-container {
    max-width: 800px;
    margin: 5px auto;
    padding: 0 20px;
}

.registration-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.registration-wrapper h2 {
    margin: 0 0 25px;
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
}

.registration-form-group {
    margin-bottom: 20px;
}

.registration-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.registration-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.registration-form-group textarea {
    width: 100%;
	height: 100px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.registration-form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.registration-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.registration-submit-btn:hover {
    background-color: #219150;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .registration-container {
        margin: 0px;
    }
    
    .registration-wrapper {
        padding: 25px;
    }
    
    .registration-wrapper h2 {
        font-size: 1.8rem;
    }
}
















/* 会員ログインページ用スタイル */
/* 会員ログインコンテナ */
.login-container {
    max-width: 800px;
    margin: 5px auto;
    padding: 0 20px;
}

.login-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-wrapper h2 {
    margin: 0 0 25px;
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
}

.login-form-group {
    margin-bottom: 20px;
}

.login-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.login-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.login-form-group input:focus {
    border-color: #3498db;
    outline: none;
}

/* チェックボックス */
.login-wrapper input[type="checkbox"] {
    display: none;
}
.login-wrapper input[type="checkbox"]:checked + .checkbox::before {
    border-color: #666;
}
.login-wrapper input[type="checkbox"]:checked + .checkbox::after {
    opacity: 1;
    transform: rotate(45deg) scale3d(1,1,1);
}

.login-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.login-submit-btn:hover {
    background-color: #219150;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .login-container {
        margin: 0px;
    }
    
    .login-wrapper {
        padding: 25px;
    }
    
    .login-wrapper h2 {
        font-size: 1.8rem;
    }
}


















/* パスワードリセットコンテナ */
.password-reset-container {
    max-width: 500px;
    margin: 5px auto;
    padding: 0 20px;
}

.password-reset-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.password-reset-wrapper h2 {
    margin: 0 0 20px;
    font-size: 2rem;
    color: #2c3e50;
    text-align: center;
}

.password-reset-wrapper p {
    margin: 0 0 25px;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

.password-form-group {
    margin-bottom: 20px;
}

.password-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.password-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.password-form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.password-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.password-submit-btn:hover {
    background-color: #2980b9;
}

.password-reset-links {
    margin-top: 20px;
    text-align: center;
}

.password-reset-links a {
    display: block;
    margin: 10px 0;
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.password-reset-links a:hover {
    color: #2980b9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .password-reset-container {
        margin: 0px;
    }
    
    .password-reset-wrapper {
        padding: 25px;
    }
    
    .password-reset-wrapper h2 {
        font-size: 1.8rem;
    }
}






/* newsお知らせ専用スタイル */
.news-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}
.news-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.news-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}
.news-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.news-info-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 0px solid #3498db;
}











/* マイページなど専用スタイル */
.mypage-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.mypage-container-800 {
    max-width: 800px;
    margin: 5px auto;
    padding: 0 20px;
}

.mypage-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.user-info h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.mypage-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.mypage-info-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.mypage-info-item h3 {
    color: #2c3e50;
    margin-top: 0;
}

.mypage-edit-link {
    display: inline-block;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.order-history h1 {
    color: #2c3e50;
    border-bottom: 1px solid #b3b3b3;
}

.order-history h2 {
    color: #2c3e50;
    margin: 40px 0 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.order-table {
    border: 1px solid #b3b3b3;
    border-radius: 8px;
    overflow-x: auto;
}

.table-header, .table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr 1fr;
    gap: 15px;
    padding: 15px;
    align-items: center;
    text-align: center;
}

.table-header {
    background-color: #34495e;
    color: white;
    font-weight: bold;
    border-radius: 4px 4px 0 0;
}

.table-row {
    border-bottom: 0px solid #b3b3b3;
    padding: 5px;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.table-row:hover {
/*background-color: #EEEEEE;*/
}

.table-row:last-child {
    border-bottom: none;
}

.status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    text-align: center;
}

.status.pending {
    background-color: #f1c40f;
    color: #2c3e50;
}

.status.processing {
    background-color: #f1c40f;
    color: #2c3e50;
}

.status.shipped {
    background-color: #2ecc71;
    color: white;
}

.status.delivered {
    background-color: #2ecc71;
    color: white;
}

.status.completed {
    background-color: #2ecc71;
    color: white;
}

.status.failed {
    background-color: #f20f0f;
    color: white;
}

.status.refunded {
    background-color: #2ecc71;
    color: white;
}

.status.refund_created {
    background-color: #2ecc71;
    color: white;
}

.status.canceled {
    background-color: #cccccc;
    color: 2c3e50;
}

.status.cancelled {
    background-color: #cccccc;
    color: 2c3e50;
}

.account-management h2 {
    color: #2c3e50;
    margin: 40px 0 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.management-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.management-btn {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s;
}

.management-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.management-btn .icon {
    margin-right: 10px;
    font-size: 1.2rem;
}


.mypage-payment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}


.mypage-payment-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}
.mypage-order-section {
    margin-bottom: 30px;
}

.mypage-order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
}

.mypage-item-details {
    flex: 1;
}

.mypage-item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.mypage-form-group {
    margin-bottom: 20px;
}

.mypage-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.mypage-form-group input {
    width: 97%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.mypage-form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.mypage-submit-btn {
    width: 50%;
    padding: 15px 30px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.mypage-submit-btn:hover {
    background-color: #219150;
}







/* レスポンシブ対応 */
@media (max-width: 768px) {
    .table-header, .table-row {
        grid-template-columns: 1fr 1fr 2fr 1fr;
    }
    
    .status {
        grid-column: 1 / -1;
    }
    
    .mypage-wrapper {
        padding: 25px;
    }
}

@media (max-width: 600px) {
    .mypage-info-grid {
        grid-template-columns: 1fr;
    }

    .table-header, .table-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .management-links {
        grid-template-columns: 1fr;
    }

    .management-btn {
        flex-direction: column;
        text-align: center;
    }

    .management-btn .icon {
        margin: 0 0 10px 0;
    }
}
















/* カートページ専用スタイル */
.cart-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.cart-wrapper {
    background: white;
    padding: 30px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.cart-items {
    margin-bottom: 40px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #b3b3b3;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    margin: 0 0 10px;
    color: #2c3e50;
}

.price {
    font-size: 1.2rem;
    color: #e74c3c;
    margin: 0 0 15px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #2980b9;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.remove-btn {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.remove-btn:hover {
    color: #c0392b;
}

.cart-summary {
    text-align: right;
    padding-top: 20px;
    border-top: 2px solid #3498db;
}

.cart-summary h3 {
    margin: 0 0 10px;
    color: #2c3e50;
}

.total-price {
    font-size: 1.5rem;
    color: #e74c3c;
    margin: 0 0 20px;
}

.checkout-btn {
    padding: 15px 30px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.checkout-btn:hover {
    background-color: #219150;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .item-image img {
        width: 80px;
        height: 80px;
    }

    .cart-container {
        margin: 0px;
    }
    
    .cart-wrapper {
        padding: 25px;
    }
}

































/* レジページ専用スタイル */
.confirm-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.confirm-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.confirm-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.confirm-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    color: #666;
    font-weight: bold;
}

.step.active {
    background-color: #3498db;
    color: white;
}

.confirm-form {
    max-width: 600px;
    margin: 0 auto;
}

.confirm-form-group {
    margin-bottom: 20px;
}

.confirm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.confirm-form-group input, .confirm-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.confirm-form-group input:focus, .confirm-form-group select:focus {
    border-color: #3498db;
    outline: none;
}

.back-btn, .next-btn {
    width: 49%;
    padding: 15px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.next-btn:hover {
    background-color: #219150;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .confirm-steps {
        flex-direction: column;
        gap: 10px;
    }

    .step {
        padding: 15px;
    }

    .confirm-container {
        margin: 0px;
    }
    
    .confirm-wrapper {
        padding: 25px;
    }
}



















/* 支払い方法ページ専用スタイル */
.payment-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.payment-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.payment-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 6px;
    color: #666;
    font-weight: bold;
}

.step.active {
    background-color: #3498db;
    color: white;
}

.shipping-info {
    margin-bottom: 30px;
}

.order-section {
    margin-bottom: 30px;
}


.order-items {
    display: grid;
    gap: 15px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
}

.payment-form-group {
    margin-bottom: 20px;
}

.payment-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.payment-form-group textarea {
    width: 97%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.payment-form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}


.summary-shippingfee {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.payment-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

.edit-link {
    position: absolute;
    right: 20px;
    bottom: 20px;
    color: #3498db;
    text-decoration: none;
}

.payment-methods {
    margin-bottom: 30px;
}

.method-card {
    border: 2px solid #b3b3b3;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
    cursor: pointer;
}

.method-card.active {
    border-color: #3498db;
    background-color: #f8faff;
}

.method-title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.card-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.card-details {
    display: none;
    margin-top: 15px;
}

.method-card.active .card-details {
    display: block;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.order-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.back-btn, .confirm-btn {
    flex: 1;
    width: 49%;
    padding: 15px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn {
    background: #b3b3b3;
    color: #333;
}

.back-btn:hover {
    background: #ddd;
}

.confirm-btn {
    background-color: #27ae60;
    color: white;
}

.confirm-btn:hover {
    background-color: #219150;
}



/* レスポンシブ対応 */
@media (max-width: 768px) {
    .checkout-steps {
        flex-direction: column;
        gap: 10px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .payment-container {
        margin: 0px;
    }
    
    .payment-wrapper {
        padding: 25px;
    }
}














/* 支払い完了ページ専用スタイル */
.confirmed-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.confirmed-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.confirmed-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.confirmed-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.order-number {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.confirmed-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.detail-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.detail-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.continue-btn, .track-order-btn {
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;
}

.continue-btn {
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #3498db;
}

.continue-btn:hover {
    background-color: #3498db;
    color: white;
}

.track-order-btn {
    background-color: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #3498db;
}

.track-order-btn:hover {
    background-color: #3498db;
    color: white;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .confirmed-container {
        margin: 0px;
    }
    
    .confirmed-wrapper {
        padding: 25px;
    }

    .action-buttons {
		display: flex;
		justify-content: center;
		gap: 20px;
		flex-wrap: wrap;
    }

    .continue-btn, .track-order-btn {
        width: 30%;
    }
}



















/* 注文確認ページ専用スタイル */
.order-detail-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.order-detail-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.order-detail-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 30px;
}

.order-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.order-status::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #b3b3b3;
    z-index: 1;
}

.status-step {
    text-align: center;
    z-index: 2;
}

.status-step.active .status-icon {
    background-color: #3498db;
    color: white;
}

.status-step.active .status-text {
    color: #2c3e50;
    font-weight: bold;
}

.status-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: #f8f9fa;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.status-text {
    display: block;
    color: #666;
}

.status-date {
    display: block;
    font-size: 0.9rem;
    color: #999;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.detail-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.detail-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.order-items {
    margin-bottom: 40px;
}

.item-list {
    display: grid;
    gap: 15px;
}

.item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid #b3b3b3;
    border-radius: 8px;
}

.item-image img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 6px;
}

.item-info h4 {
    margin: 0 0 5px;
    color: #2c3e50;
}

.price {
    color: #e74c3c;
    margin: 0 0 5px;
}

.quantity {
    color: #666;
    margin: 0;
}

.order-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.order-summary h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.support-info {
    text-align: center;
}

.support-info h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.support-info a {
    color: #3498db;
    text-decoration: none;
}

.support-info a:hover {
    text-decoration: underline;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .order-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .order-status::before {
        display: none;
    }

    .status-step {
        display: flex;
        align-items: center;
        gap: 15px;
        text-align: left;
    }

    .order-detail-container {
        margin: 20px;
    }
    
    .order-detail-wrapper {
        padding: 25px;
    }
}
























/* お問い合わせページ専用スタイル */
.contact-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.contact-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-wrapper p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto 40px;
}

.contact-form-group {
    margin-bottom: 20px;
}

.contact-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.contact-form-group input, .contact-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form-group input:focus, .contact-form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.contact-form-group textarea {
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-submit-btn:hover {
    background-color: #2980b9;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .contact-container {
        margin: 0px;
    }
    
    .contact-wrapper {
        padding: 25px;
    }

}















/* corporate.jsp */
.company-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.company-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.company-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.company-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.corporat-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.corporat-info-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
}

.corporat-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.corporat-info-card li {
    margin: 5px 0;
    padding-left: 15px;
    position: relative;
}

.corporat-info-card li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #3498db;
}

.company-map {
    margin-top: 40px;
}

.company-map h3 {
    color: #2c3e50;
    margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .company-container {
        margin: 0px;
    }
    
    .company-wrapper {
        padding: 25px;
    }

    .company-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}
























/* tokushoho.jsp */
.law-container {
    max-width: 1200px;
    margin: 5px auto;
    padding: 0 20px;
}

.law-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.law-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.law-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 20px;
}

.tokushoho-info-card {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
}

.tokushoho-info-card h3 {
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.tokushoho-info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tokushoho-info-card li {
    margin: 5px 0;
    padding-left: 15px;
    position: relative;
}

.tokushoho-info-card li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: #3498db;
}

.notice {
    margin-top: 30px;
    text-align: right;
    color: #666;
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .law-container {
        margin: 0px;
    }
    
    .law-wrapper {
        padding: 25px;
    }

    .law-info {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}













/* message.jsp */
.message-container {
    max-width: 800px;
    margin: 5px auto;
    padding: 0 20px;
}

.message-wrapper {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.message-wrapper h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.message-wrapper p {
    color: #666;
    margin-bottom: 30px;
}

.message-form {
    max-width: 800px;
    margin: 0 auto 40px;
}

.message-form-group {
    margin-bottom: 20px;
}

.message-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.message-form-group input, .message-form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.message-form-group input:focus, .message-form-group textarea:focus {
    border-color: #3498db;
    outline: none;
}

.message-form-group textarea {
    resize: vertical;
}

.message-submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.message-submit-btn:hover {
    background-color: #2980b9;
}

.message-info {
    border-top: 2px solid #b3b3b3;
    padding-top: 40px;
}

.message-info h3 {
    color: #2c3e50;
    margin-bottom: 30px;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .message-container {
        margin: 0px;
    }
    
    .message-wrapper {
        padding: 25px;
    }

}




