@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Shippori+Mincho&family=Yuji+Syuku&display=swap');

:root {
    --base-color: #fffb00;
    --base-dark: #e9e503;
}

[data-hash] {
    cursor: pointer;
}

.button {
    border: none;
    outline: none;
    background-color: var(--base-color);
    padding: 12px 30px 12px;
    text-align: center;
    font-size: 14px;
    color: white;
    font-weight: 500;
    margin: 0;
    text-shadow: 0 0 0 transparent;
    transition: all 200ms ease;
}

button:hover {
    text-shadow: 0 0 5px white;
}

button:active {
    text-shadow: 0 0 0 transparent;
    background-color: var(--base-dark);
}

.bf-icon:before {
    content: '';
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
}

.svg-button {
    border: none;
    outline: none;
    background: transparent;
    cursor: pointer;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 0;
    font-size: 18px;
    background-color: rgb(29, 29, 29);
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    line-height: 33px;
}

.hamb {
    color: var(--base-color);
    position: fixed;
    right: 10px;
    top: 10px;
    width: 50px;
    height: 50px;
    background-color: #00000048;
    z-index: 150;
}

.menu.closed {
    right: 100dvw;
    opacity: 0;
}

.menu {
    display: block;
    position: fixed;
    z-index: 200;
    top: 0;
    right: 0;
    width: 100dvw;
    height: 100dvh;
    opacity: 1;
    transition: all 200ms ease;
    background-color: #0003;
}

.menu>div {
    display: block;
    position: absolute;
    right: 0;
    width: 360px;
    height: 100%;
    padding: 0 32px;
    box-sizing: border-box;
    background-color: var(--base-color);
    color: black;
}

.menu header {
    height: 70px;
    text-align: right;
    align-content: center;
}

.menu .close-button {
    color: black;
}

.menu ul {
    margin: 0;
    padding: 0;
}

.menu li:first-of-type {
    border-top: solid 1px #555555ff;
}

.menu li {
    border-bottom: solid 1px #555555ff;
    list-style: none;
    padding: 16px 0;
}

.menu li span {
    display: inline-block;
    min-width: 85px;
    font-size: 16px;
    font-weight: 400;
}

/** ** ** ** ** ** ** ** ** **/

#hero {
    height: 100dvh;
    background-color: #111f;
    animation-name: hero-anime1;
    animation-duration: 4s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes hero-anime1 {
    0% {
        height: 100dvh;
        background-color: #111f;
    }
    75% {
        height: 100dvh;
        background-color: #000;
    }
    100% {
        height: calc(100dvh - 100px);
        background-color: #0000;
    }
}

#hero video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

#vd1 {
    z-index: -3;
    opacity: 1;
}

#vd2 {
    z-index: -2;
    opacity: 0;
}

#hero::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #00000048;
    filter: brightness(0.5);
    z-index: -1;
}

#hero object {
    display: block;
    position: relative;
    margin: 20dvh auto 0 auto;
    opacity: 0;
    animation-name: hero-object-anime1;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

@keyframes hero-object-anime1 {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#companyName {
    font-family: "Yuji Syuku", serif;
    position: relative;
    color: white;
    text-align: center;
    opacity: 0;
    animation-name: hero-object-anime1;
    animation-duration: 3s;
    animation-delay: 1s;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

#companyName>span:nth-of-type(1) {
    display: inline-block;
    font-size: 40px;
    line-height: 40px;
}

#companyName>span:nth-of-type(2) {
    display: inline-block;
    font-size: 90px;
}

#companyName>img {
    vertical-align: text-bottom;
    height: 95px;
}

body>header {
    display: block;
    width: 100%;
    background-color: yellow;
    color: black;
    font-weight: bold;
}

body>header>div {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

body>header button {
    display: block;
    background-color: var(--base-color);
    border: none;
    padding: 1em 3em;
    box-sizing: border-box;
    height: 90px;
    user-select: none;
}

body>header button:hover {
    background-color: var(--base-dark);
}

body>header button .ja {
    display: block;
    font-size: 18px;
}

body>header button .en {
    display: block;
    font-size: 14px;
    color: dimgray;
}

#about {
    padding-bottom: 70px;
    position: relative;
    background-color: #0000009c;
}

#about::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/S__10584070_0.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

#about h3 {
    font-family: "Yuji Syuku", serif;
    text-align: center;
    font-size: 25px;
}

h3>span {
    display: inline-block;
}

.details-text {
    font-family: "Shippori Mincho", serif;
    text-align: center;
    font-size: 15px;
    margin: 0 auto;
    word-break: keep-all;
    overflow-wrap: break-word;
}


/** ** ** ** ** ** ** ** ** **/

body>section {
    min-height: max-content;
    padding-top: 70px;
    box-sizing: border-box;
    position: relative;
}

body>section:not(#hero):not(#about) {
    background-color: rgb(29, 29, 29);
}

body>section>div {
    max-width: 1080px;
    padding: 0 40px;
    box-sizing: border-box;
    margin: 0 auto;
}

.section-title {
    position: relative;
    width: max-content;
    padding-bottom: 17px;
    padding-left: 17px;
    margin-bottom: 25px;
    margin-left: -40px;
    font-size: 40px;
    font-weight: 700;
    font-family: "Yuji Syuku", serif;
}

.section-title::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    max-width: 100dvw;
    height: 2px;
    background: linear-gradient(90deg, var(--base-color), transparent);
}

.section-title span {
    font-size: 0.7em;
    font-weight: 400;
    margin-left: 20px;
}

@media (max-width: 1079px) {
    .pc-only {
        display: none !important;
    }
}

@media (min-width: 1080px) {
    .phone-only {
        display: none !important;
    }

    #contact input, #contact textarea {
        font-size: 16.1px;
    }
}

@media (max-width: 570px) {
    .menu>div {
        width: 100%;
    }

    #hero object {
        width: 180px;
    }

    #companyName>span:nth-of-type(1) {
        font-size: 27px;
        line-height: 27px;
    }

    #companyName>span:nth-of-type(2) {
        font-size: 60px;
    }

    #companyName>img {
        height: 60px;
    }

    #about::after {
        background-image: url('/img/S__10584069_0.jpg');
    }
}

.fill-in {
    animation-name: fill-in;
    animation-duration: 1000ms;
    animation-timing-function: ease;
    animation-delay: 0;
}

@keyframes fill-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}