@charset "UTF-8";
/* Simple fluid media
   Note: Fluid media requires that you remove the media's height and width attributes from the HTML
   http://www.alistapart.com/articles/fluid-images/ 
*/
img, object, embed, video {
	max-width: 100%;
}


a:hover img {
	transition: all 0.2s ease;
	opacity: 0.6;
	filter: alpha(opacity=60);
}

/* 基本的なリセット */
body {
    margin: 0;
    padding: 0; 
    font-family: sans-serif;
}

/* ヘッダー固定・ガラス透過 (Glassmorphism) */
#fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    /* 透過色: 濃いグレー(333)を70%の不透明度(0.7)に */
    background-color: rgba(255,255, 255, 0.1); 
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    
    /* ガラス効果 */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    
    transition: background-color 0.3s;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    margin: 0;
    font-size: 1.5em;
}

/* PCナビゲーションは全サイズで非表示 */
#nav-pc {
    display: none;
}

/* ハンバーガーメニューアイコン (右寄せ) */
.burger-menu {
    display: flex; 
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.burger-menu .bar {
    width: 90%;
    height: 3px;
    background-color:  rgba(90,90, 90, 1);
    transition: all 0.3s ease;
}

/* バーガーアイコンのアニメーション (X字) */
.burger-menu.active .bar:nth-child(2) {
    transform: translateY(5px) ; 
    opacity: 0;
}

.burger-menu.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg); 
}

.burger-menu.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg); 
}

/* モバイル用ナビゲーション (内容の高さに合わせて上部から開閉) */
#nav-sp {
    position: fixed;
    top: 60px; /* ヘッダーの真下に配置 */
    left: 0;
    width: 100%; 
    
    /* 高さを内容に合わせ、max-heightで開閉を制御 */
    height: auto; 
    max-height: 0; 
    overflow: hidden; 
    
    background-color: rgba(255,255,255, 0.1); /* メニューの背景は濃色 */
    color: white;
    transition: max-height 0.3s ease-in-out; 
    z-index: 999;
/* ガラス効果 */
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
}

/* JavaScriptで .open クラスが追加されたらメニューを表示 */
#nav-sp.open {
    /* メニュー内容の高さより十分大きい値を設定 */
    max-height: 500px; 
}

#nav-sp ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

#nav-sp a {
    color: #606060;
    text-decoration: none;
    display: block;
    padding: 15px 20px; /* PCサイズでも左に余白を持たせる */

}

/* 画像スライダーエリア */
#slider-area {
    overflow: hidden;
    width: 100%;
    margin-top: 40px;
}

.slider-wrapper {
    width: 150%;
}

.slide-track {
    display: flex;
    width: calc(10 * 20%);
    height: 100%;
    animation: slide-left 30s linear infinite; 
}

.slide-track img {
    width: 10%; 
    height: 100%;
    object-fit: cover;
}

/* reset.css的な初期化（余白削除） */
body {
    margin: 0;
    padding: 0;
}



/* ▼ ここからが重要な設定 ▼ */
body {
    /* 画面の高さの最低値を100%にする */
    min-height: 100vh;
    
    /* 子要素を縦並びにする */
    display: flex;
    flex-direction: column;
}

main {
    /* 余ったスペースを埋める（これでフッターを下に押しやる） */
    flex: 1;
    /* 見やすくするための装飾 */
    padding: 20px;
    background-image: url(../image/wakayama_bg.png);
    background-repeat: no-repeat;
    background-size: 100% auto;
}
/* ▲ ここまでが重要な設定 ▲ */

footer {
    padding: 20px;
    text-align: center;
}

/* 自動で左に移動するアニメーション */
@keyframes slide-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

.mainimage {
    margin-top: 80px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.top-copy {
    text-align: center;
    margin-top: 30px;
}
.main-copy {
    max-width: 890px;
    margin-left: auto;
    margin-right: auto;
}

/* 製品情報エリア (4カラム) */
#product-info {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

#product-info h2 {
    margin-bottom: 40px;
    font-size: 2em;
}

.three-column-layout {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    justify-content: center;
}

.product-item {
    flex: 1 1 200px; 
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-item img {
    margin-bottom: 5px;
    border: 1px solid #C4C4C4;
}
.product-item p {
    text-align: left;

}
.go-kikulon-a {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 100px;
}
h3 {
    border-bottom: 2px solid #60D3FF;
    padding-bottom: 10px;
    margin-bottom: -5px;
}



/* PCサイズでの3カラム調整 */
@media (min-width: 768px) {
    .product-item {
        flex: 1 1 1 calc(33.333% - 20px); 
        max-width: calc(33.333% - 20px);
    }
/* 画像スライダーエリア */
#slider-area {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    width: 80%;
    height: 80%;
}



}
