*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:where([hidden]:not([hidden='until-found'])) {
    display: none !important
}

:where(html) {
    -webkit-text-size-adjust: none;
    /* color-scheme: dark light; */
    tab-size: 2;
    scrollbar-gutter: stable
}

:where(html:has(dialog:modal[open])) {
    overflow: clip
}

@media (prefers-reduced-motion:no-preference) {
    :where(html:focus-within) {
        scroll-behavior: smooth
    }
}

:where(body) {
    line-height: 1.5;
    font-family: system-ui, sans-serif;
    -webkit-font-smoothing: antialiased
}

:where(button) {
    all: unset
}

:where(input, button, textarea, select) {
    font: inherit;
    color: inherit
}

:where(textarea) {
    resize: vertical;
    resize: block
}

:where(button, label, select, summary, [role='button'], [role='option']) {
    cursor: pointer
}

:where(:disabled) {
    cursor: not-allowed
}

:where(label:has(>input:disabled), label:has(+input:disabled)) {
    cursor: not-allowed
}

:where(a) {
    color: inherit;
    text-underline-offset: .2ex
}

:where(ul, ol) {
    list-style: none
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
    display: block
}

:where(img, picture, svg, video) {
    max-inline-size: 100%;
    block-size: auto
}

:where(p, h1, h2, h3, h4, h5, h6) {
    overflow-wrap: break-word
}

:where(h1, h2, h3) {
    line-height: calc(1em + 0.5rem);
    text-wrap: balance
}

:where(hr) {
    border: none;
    border-block-start: 1px solid;
    color: inherit;
    block-size: 0;
    overflow: visible
}

:where(dialog) {
    border: none;
    background: none;
    inset: unset;
    max-width: unset;
    max-height: unset
}

:where(dialog:not([open])) {
    display: none !important
}

:where(:focus-visible) {
    outline: 3px solid CanvasText;
    box-shadow: 0 0 0 5px Canvas;
    outline-offset: 1px
}

:where(:focus-visible, :target) {
    scroll-margin-block: 8vh
}

:where(.visually-hidden:not(:focus-within, :active)) {
    clip-path: inset(50%) !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    border: 0 !important
}

body {
    overflow-x: hidden;
    font-family: "RocknRoll One", sans-serif;
    color: #005dc4;
}

section {
    max-width: 1200px;
    margin: auto;
    padding: 5rem 1rem;
    overflow-x: hidden;
}

h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.flex {
    display: flex;
}

.firstView {
    max-width: unset;
    padding: 0;
}

.firstViewInner {
    margin-top: 6svh;
    margin-left: 10%;
}

.firstViewTextWrap {

}

.logoTitle,
.firstViewCopy {
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    text-align: center;
    color: #005dc4;
}

.firstViewCopy {
    font-size: clamp(2.3rem, 6vw, 6rem);
    text-align: left;
    display: block;
    line-height: 1.4;
    letter-spacing: 0.7rem;
    background: #005dc4;
    color: white;
    padding: 4vw 5.6vw 5.1vw 5.9vw;
    border-radius: 39% 33% 64% 29%;
}

.firstViewDesc {
    /* font-weight: 600; */
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 1rem;
}

.logo {
    max-width: 60px;
    margin: auto;
}

.logoTitle {
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 3px;
    margin-top: 0.3rem;
    color: #005dc4;
    font-size: 0.8rem;
}

.tel {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 1rem;
    padding: 1rem 1.8rem;
    border-radius: 30px;
    background: #005dc4;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: white;
    text-decoration: none;
}

.telIcon {
    width: 20px;
    margin-right: 0.5rem;
}

.firstView img {
    margin-left: auto;
    border-radius: 71% 0 0 32%;
    width: 55%;
    height: auto;
    /* box-shadow: 0 0 7px grey; */
    margin-top: 11svh;
    border: solid 1.2vw;
    border-bottom: solid 2vw;
    border-left: solid 0.9vw;
    border-right: none;
}

.companyInfoWrap {
    margin: 9rem auto 3rem;
    display: flex;
    flex-wrap: wrap;
    max-width: 650px;
    gap: 0.3rem 0;
}

.companyInfoWrap dd {
    width: 70%;
}

.companyInfoWrap dt {
    width: 30%;
    text-align: right;
    padding-right: 1rem;
}

.companyInfoWrap * {
    font-size: 1.2rem;
}

.about {
    background: url(iruka.png);
    background-color: rgba(255, 255, 255, 0.95);
    background-blend-mode: lighten;
    background-repeat: no-repeat;
    background-position: center 84%;
    background-size: 28%;
}

footer {
    padding: 3rem 0;
}

.copyright {
    text-align: center;
}

@media (max-width: 520px) {
    header {
        justify-content: flex-start;
        align-items: flex-start;
        padding: 0.5rem 1rem;
    }

    section {
        padding: 3rem 1rem;
    }

    h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .logo {
        max-width: 40px;
        margin: auto;
    }

    .logoTitle {
        margin-top: 0.2rem;
        font-size: 0.5rem;
    }

    .tel {
        top: 1rem;
        right: 1rem;
        padding: 0.6rem 1.4rem;
        font-size: 0.8rem;
    }

    .firstViewInner {
        margin-top: 2svh;
        margin-left: 6%;
        flex-direction: column;
    }

    .firstViewCopy {
        /* font-size: min(6vw, 6rem); */
        line-height: 1.4;
        letter-spacing: 0.5rem;
        padding: 9vw 10vw 10vw 13vw;
        border-radius: 52% 43% 86% 40%;
        width: max-content;
    }

    .firstView img {
        border-radius: 71% 0 0 32%;
        width: 84%;
        margin-top: 3%;
        border: solid 2.2vw;
        border-bottom: solid 2.9vw;
        border-left: solid 1.6vw;
        border-right: none;
    }

    .firstViewDesc {
        font-size: 0.9rem;
    }

    .companyInfoWrap {
        margin: 3rem auto;
    }

    .companyInfoWrap * {
        font-size: 0.9rem;
    }

    .companyInfoWrap dt {
        padding-right: 0.7rem;
    }

    footer {
        padding: 1rem 0 3rem;
    }

    .about {
        background-position: center 93%;
        background-size: 63%;
    }

    .telIcon {
        width: 15px;
    }
}