/* ============================================
   スピーチブリッジ — live-bridge-958.css
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', 'Oswald', sans-serif, Arial, Helvetica, sans-serif;
    color: #3b3b3b;
    background: #ffffff;
    font-size: 16px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, .h1,
#header,
a.more-details {
    font-family: 'Oswald', sans-serif, Arial, Helvetica, sans-serif;
}

a {
    color: #7a7a7a;
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #9a958a;
}

img {
    max-width: 100%;
    height: auto;
}

/* --- Utility --- */
.centered { text-align: center; }
.text-right { text-align: right; }
.pt-80 { padding-top: 80px; }
.mt-100 { margin-top: 100px; }
.mb-100 { margin-bottom: 100px; }
.mb-60 { margin-bottom: 60px; }
.mb-40 { margin-bottom: 40px; }

.page-content {
    padding: 60px 0;
}

/* --- Header --- */
#header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 83px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

#header {
    background-color: #ffffff;
}

.header-inner {
    height: 83px;
    display: flex;
    align-items: center;
}

.main-nav .row {
    display: flex;
    align-items: center;
}

/* Logo */
.logo {
    margin: 10px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 48px;
    width: auto;
}

/* Nav */
.navbar {
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar-header {
    display: flex;
    align-items: center;
}

.navbar-collapse {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.pi-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-bottom: 18px;
    margin-top: 37px;
    gap: 0;
}

.pi-nav li a {
    display: block;
    padding: 8px 16px;
    color: #3b3b3b;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.pi-nav li a:hover,
.pi-nav li.current-menu-item a {
    color: #9a958a;
}

/* Mobile menu toggle */
.navbar-toggler {
    display: none;
    background: none;
    border: 1px solid #ccc;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 18px;
    color: #3b3b3b;
    margin-left: auto;
}

/* --- Hero --- */
.hero-content {
    display: flex;
    justify-content: center;
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.video-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.video-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-overlay {
    position: relative;
    z-index: 9;
    text-align: center;
    padding-top: 30vh;
    width: 100%;
}

.hero-overlay.light .hero-intro-title,
.hero-overlay.light .hero-title {
    color: #fff;
}

.hero-intro-title {
    font-size: 22px;
    font-family: 'Special Elite', cursive, Arial, Helvetica, sans-serif;
    color: #FCDA9A;
    margin: 0 0 12px;
    letter-spacing: 2px;
}

.hero-title {
    margin-bottom: 30px;
    font-size: 52px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 16px 48px;
    background: #FCDA9A;
    color: #3b3b3b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    margin-top: 10px;
}

.hero-btn:hover {
    background: #e8c480;
    color: #3b3b3b;
}

/* Animate */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.animated.fadeInUp {
    animation-name: fadeInUp;
    animation-fill-mode: both;
}

/* --- Custom Heading --- */
.custom-heading {
    margin-bottom: 30px;
}

.custom-heading.style-1 span,
.custom-heading.style-2 span {
    font-family: 'Special Elite', cursive, Arial, Helvetica, sans-serif;
    font-size: 23px;
    letter-spacing: 1px;
    text-transform: none;
    color: #7a7a7a;
}

.custom-heading h2,
.custom-heading h3 {
    margin: 0 0 12px;
    font-size: 32px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 24px;
}

.divider.center {
    justify-content: center;
}

.divider .hr-simple {
    display: block;
    height: 1px;
    width: 60px;
    background: #FCDA9A;
}

.divider .hr-icon {
    color: #7a7a7a;
    font-size: 8px;
}

/* --- About section --- */
.bkg-img1 {
    background-image: url('../photo/about-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.frame-box {
    border: 1px solid rgba(122,122,122,0.2);
    padding: 40px;
    background: rgba(255,255,255,0.92);
}

/* --- Parallax / dark banner --- */
.custom-img-background2.dark {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

.custom-img-background2.dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(30,25,20,0.7);
}

.custom-img-background2.dark .container {
    position: relative;
    z-index: 1;
}

.custom-img-background2.dark .custom-heading h2,
.custom-img-background2.dark .custom-heading span {
    color: #fff;
}

.bkg-img3 {
    background-image: url('../photo/parallax-1.webp');
}

.bkg-img3 .row {
    margin-top: 70px;
    margin-bottom: 70px;
}

/* --- Course cards section --- */
.courses-section {
    padding: 60px 0;
    background: #fafafa;
}

.course-card {
    background: #fff;
    border: 1px solid #ebebeb;
    padding: 30px 24px;
    margin-bottom: 30px;
    transition: box-shadow 0.2s;
    height: 100%;
}

.course-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.course-card .course-icon {
    font-size: 40px;
    color: #FCDA9A;
    margin-bottom: 16px;
}

.course-card h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #3b3b3b;
}

.course-card p {
    color: #666;
    font-size: 15px;
    margin: 0 0 16px;
}

.course-price {
    font-family: 'Special Elite', cursive, Arial, Helvetica, sans-serif;
    font-size: 26px;
    color: #7a7a7a;
    display: block;
    margin-top: 10px;
}

/* --- Gallery --- */
.simple-gallery {
    list-style: none;
    margin: 0;
    padding: 0;
}

.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

.hover-mask-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hover-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s;
}

.gallery-item:hover .hover-mask {
    background: rgba(0,0,0,0.2);
}

/* Menu style-1 */
.menu-style-1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
}

.menu-item-description {
    flex: 1;
}

.menu-item-description h5 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #3b3b3b;
}

.menu-item-description p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.menu-item-price p {
    font-family: 'Special Elite', cursive, Arial, Helvetica, sans-serif;
    font-size: 20px;
    color: #7a7a7a;
    margin: 0;
    white-space: nowrap;
}

/* --- Testimonials --- */
.testimonials-section {
    padding: 60px 0;
    background: #fff;
}

.testimonial-item {
    padding: 30px;
    background: #fafafa;
    border-left: 4px solid #FCDA9A;
    margin-bottom: 30px;
}

.testimonial-item p {
    font-style: italic;
    color: #555;
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.8;
}

.testimonial-author {
    color: #9a958a;
    font-size: 14px;
    font-weight: 600;
}

/* --- Feature icons row --- */
.features-section {
    padding: 60px 0;
    background: #f5f4f2;
}

.feature-item {
    text-align: center;
    padding: 24px 16px;
}

.feature-item .feature-icon {
    font-size: 36px;
    color: #FCDA9A;
    margin-bottom: 14px;
}

.feature-item h4 {
    font-size: 17px;
    margin: 0 0 8px;
    color: #3b3b3b;
}

.feature-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* --- FAQ --- */
.faq-section {
    padding: 60px 0;
    background: #fff;
}

.accordion {
    border: 1px solid #ebebeb;
    margin-bottom: 10px;
}

.accordion-title {
    padding: 16px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #3b3b3b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafafa;
    transition: background 0.2s;
}

.accordion-title:hover,
.accordion-title.active {
    background: #FCDA9A20;
    color: #7a7a7a;
}

.accordion-title i {
    transition: transform 0.25s;
    font-size: 14px;
    color: #7a7a7a;
}

.accordion-title.active i {
    transform: rotate(180deg);
}

.accordion-body {
    display: none;
    padding: 16px 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    border-top: 1px solid #ebebeb;
}

/* --- Contact form --- */
.contact-section {
    padding: 60px 0;
    background: #fafafa;
}

.section-form {
    max-width: 680px;
    margin: 0 auto;
}

.section-form input,
.section-form textarea,
.section-form select,
#contact-form input,
#contact-form textarea,
#contact-form select {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 15px;
    font-family: inherit;
    color: #3b3b3b;
    margin-bottom: 16px;
    border-radius: 0;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s;
    box-shadow: none;
}

.section-form input:focus,
.section-form textarea:focus,
#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    border-color: #9a958a;
    background: #fff;
}

.section-form textarea,
#contact-form textarea {
    height: 160px;
    resize: vertical;
}

/* убираем лишний border у select в Firefox */
#contact-form select,
.section-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239a958a' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* горизонтальная линия от menu-item не должна вылазить за блок */
#contact-form .menu-item:last-child,
.section-form .menu-item:last-child {
    border-bottom: none;
}

.btn-submit {
    display: inline-block;
    padding: 14px 48px;
    background: #3b3b3b;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Oswald', sans-serif;
    width: 100%;
}

.btn-submit:hover {
    background: #7a7a7a;
}

/* --- Footer --- */
#footer-wrapper {
    background: #222;
    color: #aaa;
    padding: 60px 0 0;
}

#footer h5,
#footer .footer-heading {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

#footer p,
#footer address {
    font-size: 14px;
    line-height: 1.8;
    color: #aaa;
    font-style: normal;
}

#footer a {
    color: #aaa;
    transition: color 0.2s;
}

#footer a:hover {
    color: #FCDA9A;
}

#footer span {
    color: #9a958a;
}

.footer-logo-area {
    text-align: center;
    margin-bottom: 40px;
}

.footer-logo-area svg {
    height: 48px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu li a {
    color: #aaa;
    font-size: 14px;
}

.footer-menu li a:hover {
    color: #FCDA9A;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-links li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid #444;
    color: #aaa;
    font-size: 15px;
    transition: border-color 0.2s, color 0.2s;
}

.social-links li a:hover {
    border-color: #FCDA9A;
    color: #FCDA9A;
}

#copyright-container {
    background: #181818;
    padding: 18px 0;
    margin-top: 40px;
}

#copyright-container p {
    margin: 0;
    font-size: 13px;
    color: #777;
}

#copyright-container a {
    color: #9a958a;
}

.footer-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav-links li a {
    font-size: 13px;
    color: #777;
}

.footer-nav-links li a:hover {
    color: #FCDA9A;
}

/* --- Cookie alert GDPR --- */
#cookie-alert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #ccc;
    padding: 16px 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.3);
}

#cookie-alert p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    flex: 1;
}

#cookie-alert a {
    color: #FCDA9A;
    text-decoration: underline;
}

#cookie-btn-accept {
    background: #FCDA9A;
    color: #3b3b3b;
    border: none;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    font-family: 'Oswald', sans-serif;
}

#cookie-btn-accept:hover {
    background: #e8c480;
}

/* --- Inner page hero (smaller) --- */
.inner-hero {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 83px;
}

.inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.inner-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.inner-hero-content h1 {
    font-size: 42px;
    margin: 0 0 8px;
    color: #fff;
}

.inner-hero-content p {
    color: #FCDA9A;
    font-family: 'Special Elite', cursive;
    font-size: 18px;
    margin: 0;
}

/* --- Content page text --- */
.content-page {
    padding: 60px 0;
}

.content-page h2 {
    font-size: 26px;
    margin: 40px 0 14px;
    color: #3b3b3b;
}

.content-page h2:first-of-type {
    margin-top: 0;
}

.content-page p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-page ul {
    color: #555;
    line-height: 1.9;
    padding-left: 20px;
}

.content-page ul li {
    margin-bottom: 6px;
}

/* --- Contact info box --- */
.contact-info-box {
    background: #fafafa;
    border: 1px solid #ebebeb;
    padding: 30px;
    margin-bottom: 30px;
}

.contact-info-box h3 {
    font-size: 20px;
    margin: 0 0 16px;
    color: #3b3b3b;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.contact-info-item i {
    color: #FCDA9A;
    font-size: 18px;
    margin-top: 3px;
    width: 20px;
    flex-shrink: 0;
}

.contact-info-item p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* --- Map placeholder --- */
.map-placeholder {
    width: 100%;
    height: 300px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    margin-top: 30px;
}

/* --- Container override --- */
.container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class^="col-"] {
    padding: 0 15px;
}

.col-md-12 { width: 100%; }
.col-md-8 { width: 66.6667%; }
.col-md-6 { width: 50%; }
.col-md-4 { width: 33.3333%; }
.col-md-3 { width: 25%; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .col-md-3 { width: 50%; }
    .col-md-4 { width: 50%; }
    .col-md-6 { width: 100%; }
    .col-md-8 { width: 100%; }
    .col-md-12 { width: 100%; }
}

@media (max-width: 768px) {
    .hero-overlay {
        padding-top: 15vh;
    }
    .hero-content {
        height: 100vh !important;
        min-height: 100vh !important;
    }
    .hero-title {
        font-size: 34px;
    }
    body.homepage {
        padding-top: 83px;
    }
    .pi-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 83px;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0;
        margin: 0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .pi-nav.open {
        display: flex;
    }
    .pi-nav li a {
        padding: 14px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    .navbar-toggler {
        display: block;
    }
    .navbar-collapse {
        flex-direction: column;
        align-items: flex-end;
    }
    #cookie-alert {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav-links {
        justify-content: flex-start;
        margin-top: 10px;
    }
    .col-md-3, .col-md-4 { width: 100%; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .inner-hero-content h1 { font-size: 28px; }
}

/* --- Section heading helpers --- */
.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin: 0 0 10px;
    color: #3b3b3b;
}

.section-header .subtag {
    font-family: 'Special Elite', cursive;
    color: #7a7a7a;
    font-size: 18px;
}

/* --- Stats --- */
.stats-section {
    padding: 50px 0;
    background: #3b3b3b;
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #FCDA9A;
    display: block;
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    font-size: 14px;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Breadcrumb --- */
.breadcrumb {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb li::after {
    content: '/';
    margin-left: 8px;
    color: #555;
}

.breadcrumb li:last-child::after {
    display: none;
}

/* --- More-details link --- */
a.more-details {
    color: #7a7a7a;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

a.more-details:hover {
    color: #9a958a;
}

/* --- Send success message --- */
.form-success {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 16px;
    margin-bottom: 20px;
    display: none;
}

.form-error {
    background: #ffebee;
    color: #c62828;
    padding: 16px;
    margin-bottom: 20px;
    display: none;
}
