/*
Theme Name: Takenaka Boxing Gym Theme
Author: Takenaka
Version: 4.0
*/

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f4f2ee;
    color: #1d1d1d;
    font-family: Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    line-height: 1.8;
}

/* =========================
HEADER
========================= */

.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 44px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    box-sizing: border-box;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.logo img {
    height: 52px;
    width: auto;
    display: block;
    transition: 0.3s;
}

.logo img:hover {
    opacity: 0.8;
}

.main-nav a {
    color: #1d1d1d;
    text-decoration: none;
    margin-left: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
}

.main-nav a:hover {
    opacity: 0.7;
}

/* =========================
HERO
========================= */

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: #000;
}

.hero::before {
    display: none !important;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 1.5s ease;
    filter: brightness(0.42);
}

.bg-video.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-sub,
.hero h1,
.hero p {
    color: #fff;
}

.hero-sub {
    font-weight: bold;
    letter-spacing: 4px;
    font-size: 13px;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.05;
    margin: 20px 0;
    letter-spacing: 5px;
}

.hero p {
    font-size: 18px;
}

.hero .button-outline {
    border: 1px solid #fff;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }
}

/* =========================
BUTTON
========================= */

.button {
    display: inline-block;
    padding: 15px 34px;
    background: #1d1d1d;
    color: #fff;
    text-decoration: none;
    margin: 10px;
    font-weight: bold;
    transition: 0.3s;
}

.button:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

.button-outline {
    background: transparent;
    border: 1px solid #1d1d1d;
    color: #1d1d1d;
}

/* =========================
SECTION
========================= */

.section {
    padding: 130px 10%;
}

.section h1,
.section h2 {
    font-size: 46px;
    letter-spacing: 3px;
    margin-bottom: 35px;
}

.lead-text {
    max-width: 760px;
    font-size: 18px;
    margin-bottom: 40px;
}

/* =========================
CARD
========================= */

.card,
.rule-box,
.shop-item {
    background: #fff;
    padding: 44px;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.07);
    margin-bottom: 32px;
}

.shop-item {
    transition: 0.3s;
}

.shop-item:hover {
    transform: translateY(-8px);
}

/* =========================
GRID
========================= */

.feature-grid,
.price-grid,
.gallery-grid,
.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

/* =========================
IMAGE
========================= */

.placeholder-image,
.image-wide {
    background: linear-gradient(135deg, #222, #555);
    color: #fff;
    height: 320px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    overflow: hidden;
}

.image-wide {
    height: 420px;
}

.gallery-item img,
.shop-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: #ddd;
    border-radius: 18px;
}

/* =========================
PRICE
========================= */

.price {
    font-size: 34px;
    font-weight: 900;
}

/* =========================
TRAINER
========================= */

.trainer-box {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 55px;
    align-items: center;
}

.small-title {
    font-weight: bold;
    letter-spacing: 3px;
    color: #777;
}

/* =========================
PHONE
========================= */

.phone-number a {
    color: #1d1d1d;
    font-size: 36px;
    font-weight: 900;
    text-decoration: none;
}

/* =========================
SNS
========================= */

.sns-links {
    margin-top: 30px;
}

.sns-links a {
    display: inline-block;
    margin: 0 10px;
}

.sns-links img {
    width: 34px;
    height: 34px;
    transition: 0.3s;
}

.sns-links img:hover {
    transform: translateY(-4px);
    opacity: 0.8;
}

/* =========================
FOOTER
========================= */

.site-footer {
    padding: 60px 10%;
    text-align: center;
    background: #1d1d1d;
    color: #fff;
}

.site-footer .sns-links img {
    filter: brightness(100);
}

/* =========================
MAP
========================= */

iframe {
    border-radius: 18px;
}

/* =========================
MOBILE FIXED BUTTON
========================= */

.mobile-fixed-buttons {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: none;
    z-index: 999;
}

.mobile-fixed-buttons a {
    flex: 1;
    text-align: center;
    background: #1d1d1d;
    color: #fff;
    padding: 15px;
    text-decoration: none;
    font-weight: bold;
}

/* =========================
RESPONSIVE
========================= */

@media screen and (max-width: 768px) {

    .site-header {
        flex-direction: column;
        padding: 18px;
    }

    .main-nav {
        text-align: center;
        margin-top: 12px;
    }

    .main-nav a {
        display: inline-block;
        margin: 7px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .section {
        padding: 90px 6%;
    }

    .section h1,
    .section h2 {
        font-size: 34px;
    }

    .trainer-box {
        grid-template-columns: 1fr;
    }

    .mobile-fixed-buttons {
        display: flex;
    }

    body {
        padding-bottom: 64px;
    }
}
.sns-links img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.site-footer .sns-links img {
    filter: brightness(0) invert(1);
}
.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    color: #1d1d1d;
    text-decoration: none;
    padding: 22px 28px;
    border-radius: 14px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.news-item:hover {
    transform: translateY(-4px);
}

.news-date {
    font-weight: bold;
    color: #777;
    white-space: nowrap;
}

.news-title {
    font-weight: bold;
}

.post-content {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .news-item {
        flex-direction: column;
        gap: 6px;
    }
}
.sns-links img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: inline-block;
    transition: 0.3s;
    filter: none !important;
}

.site-footer .sns-links img {
    filter: none !important;
}
.instagram-profile {
    text-align: center;
}

.instagram-card {
    max-width: 720px;
    margin: 0 auto;
}

.instagram-card h3 {
    font-size: 28px;
    letter-spacing: 2px;
}
.contact-scroll-info {
    width: 100%;
    overflow: hidden;
    background: #111;
    padding: 18px 0;
    margin: 60px 0;
}

.scroll-track {
    display: flex;
    width: max-content;
    animation: scrollLoop 28s linear infinite;
}

.scroll-track span {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
    padding-right: 80px;
    letter-spacing: 2px;
}

@keyframes scrollLoop {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
.map-scroll-guide {
    text-align: center;
    padding: 80px 20px;
}

.map-scroll-guide p {
    letter-spacing: 4px;
    font-size: 13px;
    color: #d60000;
    margin-bottom: 12px;
    font-weight: bold;
}

.map-scroll-guide h2 {
    font-size: 42px;
    margin-bottom: 40px;
    color: #111;
}

.scroll-arrow {
    width: 2px;
    height: 90px;
    background: #111;
    margin: 0 auto;
    position: relative;
    animation: arrowMove 1.8s infinite;
}

.scroll-arrow::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: translateX(-50%) rotate(45deg);
}

@keyframes arrowMove {

    0% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(12px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

}
.header-scroll-bar {
    width: 100%;
    overflow: hidden;
    background: #d60000;
    padding: 10px 0;
    position: relative;
    z-index: 100;
}

.header-scroll-track {
    display: flex;
    width: max-content;
    animation: headerScroll 24s linear infinite;
}

.header-scroll-track span {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    letter-spacing: 2px;
    padding-right: 80px;
}

@keyframes headerScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}
.home-scroll-guide {
    text-align: center;
    padding: 100px 20px 70px;
}

.home-scroll-guide p {
    letter-spacing: 4px;
    font-size: 13px;
    color: #d60000;
    font-weight: bold;
    margin-bottom: 12px;
}

.home-scroll-guide h2 {
    font-size: 42px;
    color: #111;
    margin-bottom: 40px;
}

.home-scroll-arrow {
    width: 2px;
    height: 90px;
    background: #111;
    margin: 0 auto;
    position: relative;
    animation: homeArrowMove 1.8s infinite;
}

.home-scroll-arrow::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: translateX(-50%) rotate(45deg);
}

@keyframes homeArrowMove {

    0% {
        transform: translateY(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(12px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
        opacity: 0.4;
    }

}
.price-note {
    margin-top: 14px;
    font-size: 14px;
    color: #d60000;
    font-weight: 700;
    display: inline-block;
    border-bottom: 1px solid #d60000;
    padding-bottom: 4px;
}
.price-note {
    margin-top: 12px;
    font-size: 14px;
    color: #d60000;
    font-weight: bold;
    letter-spacing: 1px;
}
.instagram-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.instagram-title img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}
.sns-section {
    text-align: center;
}

.sns-title {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.sns-title img {
    width: 34px;
    height: 34px;
}

.sns-text {
    margin: 24px auto 0;
    line-height: 2;
    text-align: center;
    max-width: 700px;
    font-size: 16px;
}
.sns-title {
    margin-bottom: 10px;
}

.sns-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.sns-buttons .button {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-buttons img {
    width: 22px;
    height: 22px;
}
.sns-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
    gap: 40px;
    margin-top: 50px;
}

.sns-feed-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.instagram-heading,
.facebook-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.instagram-heading img,
.facebook-heading img {
    width: 28px;
    height: 28px;
}

.sns-embed {
    overflow: hidden;
}