@charset "UTF-8";

/* ====================================
  リセットCSS
======================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
dl,
li,
dt,
dd,
p,
div,
figure,
span,
img,
a,
table,
tr,
th,
td {
    border: 0;
    font-size: 100%;
    font-weight: normal;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

header,
footer,
main,
nav,
section,
article,
aside,
figure,
figcaption {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
    list-style-type: none;
}

/* ====================================
  初期設定
======================================= */
html {
    font-size: 62.5%;
    /* 10px */
}

body {
    background: #000;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    box-sizing: content-box;
    border-style: none;
    vertical-align: middle;
}

a {
    text-decoration: none;
    vertical-align: baseline;
    background: transparent;
    color: inherit;
}

@media (min-width: 1025px) {
    a {
        transition: 0.3s ease-in-out;
    }

    a:hover {
        filter: brightness(180%);
    }
}

section {
    padding: 100px 0;
}

.wrap {
    max-width: 1360px;
    margin: auto;
    padding: 0 40px;
}

.wrap.mini {
    max-width: 1160px;
}

.contact {
    background: #fff;
}

.contact:last-of-type {
    padding-bottom: 175px;
}

.contact img {
    margin: 10px auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.map {
    position: relative;
    order: -1;
    width: 100%;
    aspect-ratio: 128/48;
    min-height: 1px;
    margin-top: 40px;
    text-align: left;
}

footer {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}

@media screen and (max-width: 767px) {
    section {
        padding: 50px 0;
    }

    .wrap {
        padding: 0 20px;
    }

    .contact:last-of-type {
        padding-bottom: 100px;
    }

    .contact img {
        margin: 5px auto;
    }

    .grid {
        gap: 10px;
        margin-top: 43px;
    }

    .map {
        margin-top: 30px;
        aspect-ratio: 1/1;
    }

    footer {
        font-size: 1.3rem;
    }
}