@charset "utf-8";

/* ページ全体のスタイル */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* ヘッダーのスタイル */
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    background-color: white;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header-left .logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.header-right {
    display: flex;
    align-items: center;
}

.social-icons a img {
    height: 20px;
    margin-left: 10px;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    position: relative;
    margin-left: 20px;
}

.main-nav ul li a {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

/* カテゴリのサブメニューのスタイル */
.main-nav .submenu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    list-style: none;
    padding: 10px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ホバー時のスタイル */
.main-nav .category:hover .submenu {
    opacity: 1;
    visibility: visible;
}

/* トップページアニメーションとスライドショーのスタイル */
#opening-animation-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1000;
    background-color: black;
    opacity: 1;
    transition: opacity 2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

#intro-text {
    color: white;
    font-size: 4rem;
    font-weight: bold;
    opacity: 0;
    animation: fadeInOut 4s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

#top-image-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 10;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* トップ画像に重なるテキストのスタイル */
.image-text {
    position: absolute;
    bottom: 50px;
    left: 50px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slide.active .image-text {
    opacity: 1;
}

.image-text h2 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.image-button {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.image-button:hover {
    background-color: white;
    color: black;
}

/* メインコンテンツの共通スタイル */
main {
    margin-top: 60px; /* ヘッダーの高さ分、下にずらす */
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #f8f8f8;
}

section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

/* NEW ARRIVALS セクション */
.new-arrivals-section {
    padding-top: 80px;
}

.product-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

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

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    font-size: 1.2rem;
    margin: 15px 0 5px;
}

.product-card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

.view-all-button {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background-color: black;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.view-all-button:hover {
    background-color: #333;
}

/* BRAND STORY セクション */
.brand-story-section {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    margin-top: 80px;
}

.story-content {
    flex: 1;
}

.story-image {
    flex: 1;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learn-more-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 25px;
    border: 2px solid black;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.learn-more-button:hover {
    background-color: black;
    color: white;
}

/* NEWSLETTER セクション */
.newsletter-section {
    background-color: #e9e9e9;
    padding: 60px 20px;
    margin-top: 80px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.newsletter-form input {
    padding: 10px;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.newsletter-form button {
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #333;
}
/* フッターのスタイル */
footer {
    background-color: #111;
    color: #f7f7f7;
    padding: 30px 20px;
    font-size: 0.8rem;
}

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

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}