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

:root {
    --base-color: #fe6830ff;
    --base-dark: #ed5a25;
}

.sawarabi {
    font-family: "Sawarabi Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

[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: white;
}

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

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

p {
    line-height: 33px;
}

#header {
    display: block;
    width: 100%;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 0;
    color: white;
    text-align: center;
    z-index: 100;
}

#header>div {
    display: inline-flex;
    flex-wrap: nowrap;
    justify-content: center;
    position: relative;
    width: calc(100% - 80px);
    max-width: 1000px;
    height: 50px;
    margin: 10px 40px;
    vertical-align: middle;
}

#header>div * {
    vertical-align: middle;
    align-content: center;
}

#header .company-name {
    font-size: 24px;
    margin-right: 50px;
    line-height: 24px;
    min-width: max-content;
}

#header .pc-only {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

#header .links span {
    display: inline-block;
    padding: 0 1em;
    font-size: 16px;
}

#header .links span:hover {
    text-decoration: underline;
}

.tel::before {
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2224%22%20height=%2224%22%20viewBox=%220%200%2024%2024%22%20fill=%22none%22%20stroke=%22white%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22%20class=%22icon%20icon-tabler%20icons-tabler-outline%20icon-tabler-phone-call%22%3E%3Cpath%20stroke=%22none%22%20d=%22M0%200h24v24H0z%22%20fill=%22none%22/%3E%3Cpath%20d=%22M5%204h4l2%205l-2.5%201.5a11%2011%200%200%200%205%205l1.5%20-2.5l5%202v4a2%202%200%200%201%20-2%202a16%2016%200%200%201%20-15%20-15a2%202%200%200%201%202%20-2%22%20/%3E%3Cpath%20d=%22M15%207a2%202%200%200%201%202%202%22%20/%3E%3Cpath%20d=%22M15%203a6%206%200%200%201%206%206%22%20/%3E%3C/svg%3E');
    width: 18px;
    height: 18px;
}

#header .phone-only {
    display: block;
    text-align: right;
    width: 100%;
}

.hamb {
    color: var(--base-color);
}

.menu.closed {
    top: 100dvh;
    opacity: 0;
}

.menu {
    display: block;
    position: fixed;
    z-index: 101;
    top: 0;
    left: 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: #222222ff;
    color: white;
}

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

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

.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, #contact {
    height: 100dvh;
    padding: 100px 0;
}

#hero::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/S__2826257_0.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    z-index: -1;
}

#hero>div {
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
    align-content: center;
    height: 100%;
    max-width: 1000px;
    color: white;
}

#hero h1 {
    font-size: 64px;
    font-weight: 600;
    font-family: "Sawarabi Gothic", sans-serif;
}

#hero h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 1em 0 1.8em 0;
}

#service .imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

#service .imgs img {
    width: 100%;
}

#company table {
    width: 100%;
    border-spacing: 0 6px;
    margin-bottom: 80px;
}

#company th {
    background-color: #EEEEEE;
    height: 86px;
    width: 240px;
    font-weight: normal;
    border-bottom: solid 1px #EEEEEE;
}

#company td {
    border-bottom: solid 1px #EEEEEE;
    padding: 30px;
}

#contact::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url('/img/S__2826263_0.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: brightness(0.6);
    z-index: -1;
}

#contact h2 {
    font-size: 40px;
    color: white;
    text-align: center;
}

#contact p {
    text-align: center;
    color: white;
}

#contact form {
    display: block;
    margin: 0 auto;
    padding: 20px;
    width: 500px;
    box-sizing: border-box;
}

#contact form label {
    display: block;
    width: 100%;
    margin-bottom: 30px;
    font-weight: 400;
}

#contact form label>span {
    font-size: 15px;
    color: white;
    display: block;
    margin-bottom: 5px;
}

#contact input, #contact textarea {
    padding: 10px 16px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

#contact input {
    height: 50px;
}

#contact textarea {
    height: 160px;
}

#contact input::placeholder, #contact textarea::placeholder {
    color: lightgray;
    font-size: 15px;
}

.submit-button {
    width: 100%;
    box-sizing: border-box;
    height: 50px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 400;
}

footer {
    display: block;
    margin: 0;
    padding: 0;
    font-size: 15px;
    color: rgb(66, 66, 66);
    min-height: 120px;
}

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

footer a {
    text-decoration: none;
    margin-right: 1.5em;
}

/* ここから共通 */

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

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

.section-title {
    border-bottom: solid 5px var(--base-color);
    width: max-content;
    padding-bottom: 25px;
    margin-bottom: 25px;
    font-size: 40px;
    font-weight: 700;
}

.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%;
    }
}

.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;
    }
}