/* ========== Google Fonts & リセット ========== */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== ヘッダー ========== */
header {
    background: #222;
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

header .logo a {
    color: white;
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
}

/* ナビメニュー */
header ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

header ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

header ul li a.active,
header ul li a:hover {
    color: orange;
}

/* ハンバーガーボタン */
.nav-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* ========== hero / page-header ========== */
.hero, .page-header {
    position: relative;
    color: white;
    text-align: center;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
}

.hero::before, .page-header::before {
    content: "";
    position: absolute;
    top:0; left:0; right:0; bottom:0;
    background: rgba(0,0,0,0.5);
    z-index: 0;
}

.hero h2, .page-header h2,
.hero p, .page-header p,
.hero .btn, .page-header .btn {
    position: relative;
    z-index: 1;
}

/* ========== ボタン ========== */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background: orange;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.3s;
    margin-top: 30px;
}

.btn:hover {
    background: darkorange;
    transform: translateY(-2px);
}

/* ========== セクション ========== */
section {
    padding: 80px 20px;
    text-align: center;
}

section h2 {
    margin-bottom: 25px;
    font-family: 'Fredoka One', cursive;
    font-size: 2em;
}

/* ========== 商品スライダー ========== */
.product-slider {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 56px;
}

.product-slider .stage {
    position: relative;
    min-height: 520px;
}

.product-slide {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.product-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.product-slide img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    background: #f0f0f0;
    border-radius: 10px;
    padding: 10px;
}

.product-slide h3 {
    font-size: 1.4rem;
    margin-top: 4px;
}

.product-slide p {
    color: #555;
}

/* 矢印ボタン */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0,0,0,.6);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background .25s ease;
}

.nav-btn:hover {
    background: rgba(0,0,0,.75);
}

.nav-btn.prev { left: 6px; }
.nav-btn.next { right: 6px; }

/* ========== フォーム ========== */
form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: bold;
}

form input, form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

form button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    background: orange;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

form button:hover {
    background: darkorange;
    transform: translateY(-2px);
}

/* ========== フッター ========== */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 50px;
}

/* ========== レスポンシブ ========== */
@media (max-width: 1024px) {
    .hero h2, .page-header h2 { font-size: 28px; }
    .hero p, .page-header p { font-size: 16px; }
}

@media (max-width: 768px) {
    nav ul { display: none; flex-direction: column; width: 100%; gap: 10px; }
    nav ul.open { display: flex; }
    .nav-toggle { display: inline-block; }
    .hero { padding: 80px 10px; }
    .product-slider .stage { min-height: 460px; }
    .product-slide img { max-height: 260px; }
}

@media (max-width: 480px) {
    .hero h2, .page-header h2 { font-size: 22px; }
    .hero p, .page-header p { font-size: 14px; }
    .btn { padding: 10px 20px; font-size: 14px; }
}