* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'Meiryo', 'メイリオ', sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 0 60px;
}

/* ヘッダー */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px 17px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/*.logo {
    display: flex;
    align-items: center;
}*/
.logo h1 img {
    margin-right: 20px;
    vertical-align: middle;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    transition: color 0.3s;
    font-family: sans-serif;
    font-style: normal;
    font-weight: 500;
}

nav a:hover {
    color: #666;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero-video {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 0px;
}
.bg_video {
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* セクション共通 */
section {
    padding: 100px 0 0px;
}

.section-title {
    text-align: center;
    font-size: 45px;
    font-weight: 500;
    margin-bottom: 35px;
    letter-spacing: 1px;
    color: #1a1a1a;
    font-family: "oswald", sans-serif;
    font-style: normal;
}

/* OVERVIEWセクション */
#overview {
    background: #fff;
}

.overview-header {
    text-align: center;
    margin-bottom: 38px;
}






/* overview-grid container */
.overview-grid {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'MS PMincho', serif;
}

/* overview-card */
.overview-card {
    display: flex;
    align-items: center;
    gap: 70px;
    margin-bottom: 80px;
}

.overview-card:last-child {
    margin-bottom: 0;
}

/* 画像スタイル */
.overview-card img {
    width: 50%;
    max-width: 500px;
    height: auto;
    object-fit: cover;
}

/* テキストコンテンツ */
.overview-card > div {
    flex: 1;
}

.overview-card h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #333;
}

.overview-card p {
    font-size: 17px;
    line-height: 2.2;
    color: #666;
    letter-spacing: 0.12px;
}
.overview-card.reverse {
    flex-direction: row-reverse;
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
    .overview-grid {
        padding: 0px 16px;
    }

    .overview-card {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 60px;
    }

    /* モバイルでは常に画像が上、テキストが下 */
    .overview-card.reverse {
        flex-direction: column;
    }

    .overview-card img {
        width: 100%;
        max-width: 100%;
    }

    .overview-card h3 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .overview-card p {
        font-size: 15px;
        line-height: 1.8;
    }
}


/* PRODUCTSセクション */
#products {
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    max-width: 1080px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    text-align: center;
    width: 100%;
    max-width: 320px;
}

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

.product-info {
    padding: 10px 5px 0px;
    font-family: 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'MS PMincho', serif;
}

.product-info h3 {
    font-size: 24px;
    margin-bottom: 0px;
    font-weight: 600;
    text-align: center;
}

.product-info p {
    font-size: 15px;
    color: #666;
    letter-spacing: 0.5px;
    text-align: left;
}

/* CONTACT FORMセクション */
#contact {
    background: #fff;
    padding-bottom: 100px;
}

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

.form-group {
    margin-bottom: 28px;
    display: flex;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    width: 190px;
}
.form-group label span {
    color: #ba1b21;
}

.form-group input {
    width: 60%;
}
.form-group textarea {
    width: 80%;
}
.form-group input,
.form-group textarea {
    padding: 13px 15px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
    background: #fff;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.submit-btn {
    padding: 20px 70px;
    background: #3d3d3d;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: block;
    margin: 35px auto 0;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #555;
}

/* フッター */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 32px 5%;
    font-size: 14px;
}

/* レスポンシブ */
@media (max-width: 900px) {

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo h1 img {
    width: 46%;
    margin-right: 10px;
}
}

@media (max-width: 768px) {
body {
    padding: 0 0px;
}
header {
    padding: 20px;
}

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 72px;
        right: 0;
        background: #fff;
        width: 100%;
        padding: 25px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 18px;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero-video {
    padding-top: 90px;
    }

    section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 40px;
    }

.overview-header img {
    width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 320px;
    }
    .product-info {
    padding: 10px 15px 22px;
}
.form-group {
    display: block;
}
.form-group input,
.form-group textarea {
    width: 100%;
}
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

}
/* セクションを基準にボタンを絶対配置できるようにする */
.hero-video {
    position: relative;
    overflow: hidden; /* はみ出し防止（必要に応じて） */
}

/* 全画面ボタンの見た目・位置 */
.fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 11px 14px;
    border-radius: 4px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

/* 触りやすいようにスマホでは少し大きくしてもOK */
@media (max-width: 768px) {
    .fullscreen-btn {
        padding: 11px 14px;
        font-size: 20px;
        right: 8%;
    }
}
