@charset "utf-8";

/* ==========================================================================
   1. Reset & Base (基本設定)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #333;
    font-family: "serif", "Hiragino Mincho ProN", "游明朝", serif;
    font-size: 15px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: #162d50;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

li {
    list-style: none;
}

.sp{
   display: none; 
}

.pc {
    display: inline;
}

/* ==========================================================================
   【重要】PC/SP 画像切り替え用クラス
   ========================================================================== */
/* 初期状態（PC）ではSP用を隠す */
.sp_only {
    display: none !important;
}

/* 既存のimg設定を微調整（SP画像も全画面にするため） */
.slide-img-wrap {
    width: 100%;
    height: 100%;
}
.slide-img-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center; /* 常に中央を基準にする */
    transform: scale(1.0);
    transition: transform 10s linear;
}

/* ==========================================================================
   2. Layout (共通レイアウト)
   ========================================================================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.home-section {
    padding: 100px 0;
}

/* ==========================================================================
   3. Header (透過ヘッダー設定)
   ========================================================================== */
#header {
    width: 100%;
    /* スライド画像を見せるために透過させ、磨りガラス効果（blur）を追加 */
    background: rgba(255, 255, 255, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.header-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.header-inner h1 a {
    display: flex;
    align-items: center;
}

.logo-mark {
    width: 45px;
    margin-right: 12px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #162d50;
}

/* PC Navigation */
#g-nav ul {
    display: flex;
    gap: 15px;
}

#g-nav ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    padding: 5px 0;
}

#g-nav ul li a .en {
    font-size: 9px;
    color: #888;
    letter-spacing: 0.1em;
    margin-bottom: 2px;
}

#g-nav ul li a .jp {
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================================
   4. Main Visual (全画面ズームスライダー)
   ========================================================================== */
#main_visual_full {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background-color: #000;
}

/* bxSlider Reset */
.bx-wrapper {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    margin-bottom: 0 !important;
}

.bx-viewport {
    height: 100vh !important;
}

.bxslider, 
.bxslider li {
    height: 100vh !important;
    position: relative;
    overflow: hidden;
}

/* ズーム（ケンバーンズ）アニメーション */
.slide-img-wrap {
    width: 100%;
    height: 100%;
}

.slide-img-wrap img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1.0);
    /* 8秒かけてゆっくり拡大する設定 */
    transition: transform 8s ease-out;
}

/* スライドがアクティブになったら拡大を開始 */
.bxslider li.active .slide-img-wrap img {
    transform: scale(1.15);
}

/* スライド上のテキスト配置 */
.slide-text-content {
    position: absolute;
    top: 55%;
    left: 12%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 10;
    text-shadow: 5px 5px 7px rgba(0, 0, 0, 1);
}

.slide-sub {
    font-size: 18px;
    letter-spacing: 0.4em;
    margin-bottom: 25px;
    font-weight: 300;
    /* アニメーションの初期状態（透明・左にズレ） */
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
    transition-delay: 0.4s;
}

.slide-main {
    font-size: 52px;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.1em;
    /* アニメーションの初期状態（透明・左にズレ） */
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.5s ease, transform 1.5s ease;
    transition-delay: 0.7s;
}

/* アクティブ時にテキストを表示 */
.bxslider li.active .slide-sub,
.bxslider li.active .slide-main {
    opacity: 1;
    transform: translateX(0);
}

/* ロゴスライド専用：中央配置設定 */
.slide-logo-unit {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    text-align: center;
    width: 100%;
}

.main-logo-mark {
    width: 100px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 15px rgba(0,0,0,0.2));
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease 0.3s;
}

.main-logo-text {
    font-size: 64px;
    font-weight: 600;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1.5s ease 0.6s;
}

.main-logo-sub {
    font-size: 16px;
    letter-spacing: 0.5em;
    font-weight: 300;
    opacity: 0;
    transition: all 1.5s ease 0.9s;
}

/* 1枚目が表示された時のアニメーション */
.bxslider li.active .main-logo-mark,
.bxslider li.active .main-logo-text,
.bxslider li.active .main-logo-sub {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   5. News Section
   ========================================================================== */
.news-title-area {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin-bottom: 30px;
    border-bottom: 2px solid #162d50;
    padding-bottom: 15px;
}

.news-title span {
    font-size: 12px;
    color: #162d50;
    letter-spacing: 0.2em;
    display: block;
    margin-bottom: 5px;
}

.news-title h3 {
    font-size: 24px;
    font-weight: 500;
}

.btn-all-box {
    display: inline-block;
    background-color: #162d50;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 18px;
    letter-spacing: 0.1em;
}

.news-list .news-item a {
    display: flex;
    padding: 20px 10px;
    border-bottom: 1px solid #eee;
}

.news-list .news-item a:hover {
    background: #fcfcfc;
}

.news-list .news-item time {
    width: 120px;
    color: #999;
    font-size: 14px;
}

/* ==========================================================================
   6. Shopping & OEM Section
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title span {
    font-size: 12px;
    color: #162d50;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.coming-soon {
    padding: 80px 0;
    text-align: center;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    color: #999;
}

/* OEM Content */
#home-oem .oem-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#home-oem .oem-content p {
    font-size: 15px;
    line-height: 2.4;
    color: #444;
    margin-bottom: 50px;
    letter-spacing: 0.05em;
}

.btn-detail {
    display: inline-block;
    background-color: #162d50;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    padding: 18px 90px;
    letter-spacing: 0.2em;
    border: 1px solid #162d50;
}

.btn-detail:hover {
    background-color: #fff;
    color: #162d50 !important;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
footer {
    background: #f8f8f8;
    padding: 80px 20px 40px;
    text-align: center;
}

.f-logo {
    margin-bottom: 30px;
}

.f-logo a {
    display: inline-flex;
    align-items: center;
}

.f-sub-nav {
    margin-bottom: 25px;
}

.f-sub-nav a {
    font-size: 13px;
    text-decoration: underline;
    color: #666;
}

address {
    font-style: normal;
    font-size: 14px;
    line-height: 2;
    color: #444;
}

.copy {
    font-size: 11px;
    color: #aaa;
    margin-top: 50px;
    letter-spacing: 0.1em;
}

/* ==========================================================================
   8. Responsive (モバイル対応)
   ========================================================================== */

/* ハンバーガーメニュー関連 */
.menu-trigger {
    display: none;
}

@media screen and (max-width: 1100px) {
    .header-inner {
        padding: 10px 20px;
    }

    .menu-trigger {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 10001;
    }

    .menu-trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #162d50;
        transition: 0.4s;
    }

    .menu-trigger span:nth-child(1) { top: 0; }
    .menu-trigger span:nth-child(2) { top: 11px; }
    .menu-trigger span:nth-child(3) { bottom: 0; }

    .menu-trigger.active span:nth-child(1) { transform: translateY(11px) rotate(-45deg); }
    .menu-trigger.active span:nth-child(2) { opacity: 0; }
    .menu-trigger.active span:nth-child(3) { transform: translateY(-11px) rotate(45deg); }

    #g-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        z-index: 10000;
        padding-top: 80px;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    #g-nav.open {
        right: 0;
    }

    #g-nav ul {
        flex-direction: column;
        gap: 0;
    }

    #g-nav ul li {
        border-bottom: 1px solid #f0f0f0;
    }

    #g-nav ul li a {
        padding: 20px 30px;
        flex-direction: row;
        justify-content: flex-start;
    }

    #g-nav ul li a .en {
        width: 70px;
        margin-right: 15px;
        margin-bottom: 0;
        text-align: left;
    }
}

@media screen and (max-width: 768px) {
    .sp {
        display: inline;

    }

    .pc {
        display: none;
    }

    .pc_only {
        display: none !important;
    }
    .sp_only {
        display: block !important;
    }
    
    /* 既存のスマホ用テキスト調整（参考） */
    .slide-main {
        font-size: 30px;
    }
    .slide-sub {
        font-size: 14px;
    }
    .slide-text-content {
        left: 8%;
        width: 84%;
    }

    .main-logo-mark { width: 70px; }
    .main-logo-text { font-size: 32px; letter-spacing: 0.2em; }
    .main-logo-sub { font-size: 12px; }

    .container {
        padding: 0 20px;
    }

    .home-section {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .btn-detail {
        width: 100%;
        padding: 15px 0;
    }
}