/* import fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --body-color: transparent;
    --main-color: #FFFFFF;
    --font-color: #f0f0f0;
    --button-color: #ff4081;
    --font-family-jp: 'Noto Sans JP', sans-serif;
    --font-family-en: 'Orbitron', sans-serif;
}
/* Global styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--body-color);
    color: var(--font-color);
}
body {
    font-family: var(--font-family-en);
    background-color: var(--body-color);
    color: var(--font-color);
    line-height: 1.6;
    width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

body.loaded {
    opacity: 1;
}


/* Hero section styles */

#hero {
    margin-top: 6.5rem;
}

.hero-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin-bottom: 7rem;
}

.hero-wrapper img {
    width: 100%;
    object-fit: contain;    
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--main-color);
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 788px) {
    .hero-wrapper {
        margin-bottom: 3rem;
    }

    .hero-content h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

}

@media (max-width: 480px) {
    .hero-slider {
        height: 30vh;
        border-radius: 0;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.875rem;
    }
}
.option-wrapper {
    width: 100%;
    display: flex;
    overflow: hidden;
}
.option-wrapper img {
    display: block;
    object-fit: fill;
    width: 13rem;
    height: 6rem;
    margin-left: 3rem;
    border-radius: .5rem;
}

@media (max-width: 768px) {
    .option-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}
.main-content-line {
    display:block;
    border: solid 1px var(--main-color);
    width: 100%;
    margin: 2rem auto;
}
.hazard-symbol {
    display: inline-block;
    color: #ff0000;
    font-size: 1.40rem;
    margin-right: 0.4rem;
}

.main-content-line-top {
    display: block;
    border: solid 1px var(--main-color);
    width: 15rem;
    margin: 0 auto;
}
.main-content-line-bottom {
    display: block;
    border: solid 1px var(--main-color);
    width: 20rem;
    margin: 0 auto;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
}

.contact-button {
    flex: 1 1 12rem;
    min-width: 12rem;
    text-decoration: none;
    color: var(--main-color);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.contact-button:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.18);
}

.contact-call {
    border-color: #ff6c6c;
    box-shadow: 0 0 12px rgba(255, 108, 108, 0.25);
}

.contact-line {
    border-color: #4ef18c;
    box-shadow: 0 0 12px rgba(78, 241, 140, 0.25);
}

.contact-mail {
    border-color: #63b7ff;
    box-shadow: 0 0 12px rgba(99, 183, 255, 0.25);
}

.contact-label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.contact-detail {
    font-family: var(--font-family-jp);
    font-size: 0.95rem;
}

.business-hours {
    font-family: var(--font-family-jp);
    margin-top: 1.5rem;
}

.first-section {
    display: block;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 0 3rem 4rem 3rem;
    padding: 2rem;
    border-radius: 3rem;
    background-color: #26243C;
}
.first-section h1 {
    font-family: var(--font-family-en);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}
.first-section p {
    font-family: var(--font-family-jp);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding: 0 3rem;
    color: var(--main-color);
}
@media (max-width: 768px) {
    .first-section {
        padding: 1rem;
        margin: 1rem;
        border-radius: 1.5rem;
    }
    .first-section h1 {
        font-size: 2rem;
    }
    .first-section p {
        font-size: 1rem;
    }
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        gap: 0.8rem;
    }
    .contact-button {
        flex: unset;
        min-width: unset;
        width: 100%;
        border-radius: 1rem;
        padding: 0.9rem 1rem;
        flex-direction: row;
        justify-content: space-between;
    }
    .contact-label {
        font-size: 1rem;
    }
    .contact-detail {
        font-size: 0.9rem;
    }
}
.second-section {
    display: block;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin: 3rem;
    padding: 2rem;
    border-radius: 3rem;
    background-color: #26243C;
}
.second-section h1 {
    font-family: var(--font-family-en);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--main-color);
}
.second-section p {
    font-family: var(--font-family-jp);
    font-size: 1.25rem;
    text-align: left;
    margin-bottom: 1rem;
    padding: 0 3rem;
    color: var(--main-color);
}
@media (max-width: 768px) {
.second-section {
    padding: 1rem;
    margin: 1rem;
    border-radius: 1.5rem;
}
.second-section h1 {
    font-size: 2rem;
}
.second-section p {
    font-size: 1rem;
}
}