﻿@charset "utf-8";

:root {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-feature-settings: "palt";
    text-wrap: balance;
}

a {
    transition: 0.3s opacity;
}

a:hover {
    opacity: 0.5;
}

/*--------------------------------------
    common
--------------------------------------*/

.contentWidth {
    margin-left: auto;
    margin-right: auto;
    max-width: 980px;
}

@media (max-width: 980px) {
    .contentWidth {
        padding-left: 10px;
        padding-right: 10px;
    }
}


.button {
    display: inline-block;
    border: 1px solid black;
    background: none;
    color: black;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.813rem + 0.31vw, 1.125rem);
    line-height: 1.75;
    text-align: center;
    text-decoration: none;
    padding: clamp(9.008px, 6.752px + 0.7vw, 18px);
    min-width: 280px;
    transition: 0.3s opacity;
}

.button:hover {
    cursor: pointer;
    opacity: 0.5;
}

.details {
    display: grid;
    grid-template-columns: clamp(80px, 50px + 9.38vw, 200px) 1fr;
    margin-bottom: clamp(30px, 23.12px + 2.15vw, 57.504px);
}

.details>dt,
.details>dd {
    border-top: 1px solid #BCBCBC;
    padding: clamp(10px, 0.88px + 2.85vw, 46.496px) 0 clamp(10px, 1.376px + 2.7vw, 44.496px);
}

.details>dt:last-of-type,
.details>dd:last-of-type {
    border-bottom: 1px solid #BCBCBC;
}

.details>dt {
    color: black;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.813rem + 0.31vw, 1.125rem);
    line-height: 1.75;
}

.details>dd {
    color: black;
    font-weight: 500;
    font-size: clamp(0.875rem, 0.844rem + 0.16vw, 1rem);
    line-height: 1.75;
}

/*--------------------------------------
    layout
--------------------------------------*/

.body-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.body-layout>main {
    flex: 1;
}

/*--------------------------------------
    header
--------------------------------------*/

:root {
    --header-height: clamp(50px, 37.504px + 3.91vw, 100px);
}

.header-spacing {
    height: var(--header-height);
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #FFFFFF;
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px;
    height: var(--header-height);
    width: 100%;
    z-index: 9999;
}

.header__h1 {
    height: min(100%, clamp(35px, 26.256px + 2.73vw, 70px));
}

.header__h1__logo {
    display: block;
    height: 100%;
    width: auto;
}

.header__nav__links {
    display: flex;
    align-items: center;
    column-gap: 25px;

    list-style-type: none;
}

.header__nav__links li a {
    color: #000;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    word-break: keep-all;
}

.header__nav__links li img {
    display: block;
}

.header__menuButton {
    display: none;
    cursor: pointer;
    position: relative;
    height: 22px;
    width: 25px;
}

.header__menuButton>span {
    display: inline-block;
    background-color: #000000;
    position: absolute;
    left: 0;
    height: 2px;
    width: 100%;
    transition: all 0.3s;
}

.header__menuButton>span:nth-of-type(1) {
    top: 0%;
}

.header__menuButton>span:nth-of-type(2) {
    top: calc(50% - 1px);
}

.header__menuButton>span:nth-of-type(3) {
    top: calc(100% - 2px);
}

.header__menuButton--selected>span:nth-of-type(1) {
    transform: translate(0, 10px) rotate(-45deg);
}

.header__menuButton--selected>span:nth-of-type(2) {
    opacity: 0;
}

.header__menuButton--selected>span:nth-of-type(3) {
    transform: translate(0, -10px) rotate(45deg);
}

@media not (max-width: 1310px) {
    .header-display--mobile {
        display: none;
    }
}

@media (max-width: 1310px) {
    .header {
        overflow-x: hidden;
        padding: 10px;
    }

    .header-display--pc {
        display: none;
    }

    .header__menuButton {
        display: block;
    }

    .header__nav {
        background: rgba(58, 125, 199, 0.9);
        backdrop-filter: blur(3px) brightness(0.75);
        overflow-y: auto;
        position: fixed;
        left: 30%;
        top: var(--header-height);
        height: calc(100% - var(--header-height));
        width: 100%;
        transform: translate(100%, 0px);
        transition: transform 0.3s;
    }

    .header__nav--selected {
        transform: translate(0px, 0px);
    }

    .header__nav__links {
        flex-direction: column;
        overflow-y: auto;
    }

    .header__nav__links li {
        width: 100%;
    }

    .header__nav__links li a {
        display: block;
        border-bottom: 1px solid white;
        color: white;
        font-weight: bold;
        font-size: clamp(0.875rem, 0.813rem + 0.31vw, 1.125rem);
        line-height: 1;
        text-align: left;
        padding: clamp(15.008px, 11.248px + 1.17vw, 30px) 20px;
    }
}

/*--------------------------------------
    contact
--------------------------------------*/

.contact {
    background: url("../images/contact_bg.webp") no-repeat center center;
    background-size: cover;
    height: clamp(150px, 112.496px + 11.72vw, 300px);
    width: 100%;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    column-gap: 50px;
    row-gap: clamp(0.625rem, 0.469rem + 0.78vw, 1.25rem);
    height: 100%;
}

.contact__mail {
    display: block;
    background: #3A7DC7;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.719rem + 0.78vw, 1.5rem);
    line-height: 3;
    text-align: center;
    text-decoration: none;
    position: relative;
    padding: 0 20px;
    height: clamp(40px, 30px + 3.13vw, 80px);
    width: 100%;
}

.contact__mail::before {
    content: "";
    background: #FFFFFF;
    position: absolute;
    top: auto;
    bottom: clamp(5.008px, 1.248px + 1.17vw, 20px);
    left: 0;
    right: 0;
    margin: auto;
    height: clamp(1.008px, 0.496px + 0.16vw, 3.008px);
    width: 78%;
}

.contact__mail::after {
    content: "";
    border-top: clamp(3.008px, 2.256px + 0.23vw, 6px) solid transparent;
    border-left: clamp(8px, 6px + 0.63vw, 16px) solid #FFFFFF;
    border-bottom: clamp(3.008px, 2.256px + 0.23vw, 6px) solid transparent;
    position: absolute;
    top: auto;
    bottom: clamp(3.008px, 0.94vw, 15.008px);
    left: 88%;
}

.contact__tel {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 12px;
    row-gap: 15px;
    width: fit-content;
}

.contact__tel__tel {
    display: contents;
    color: white;
    font-family: century-gothic, sans-serif;
    font-weight: normal;
    font-style: normal;
    font-size: clamp(1.875rem, 1.406rem + 2.34vw, 3.75rem);
    line-height: 1;
    letter-spacing: 0.03em;
    text-decoration: none;
}

.contact__tel__tel::before {
    display: inline-block;
    content: "";
    background-image: url("../images/icon_tel.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: clamp(20px, 14.752px + 1.64vw, 41.008px);
    height: clamp(25.008px, 19.008px + 1.88vw, 49.008px);
}

@media (pointer:fine) {
    .contact__tel__tel {
        pointer-events: none;
    }

    .contact__tel__tel:hover {
        opacity: 1;
    }
}

.contact__tel__time {
    grid-column: 2;
    color: white;
    font-style: normal;
    font-weight: bold;
    font-size: clamp(0.875rem, 0.813rem + 0.31vw, 1.125rem);
    line-height: 1;
}

@media (max-width: 1310px) {
    .contact {
        height: auto;
        padding: 15px;
    }

    .contact__inner {
        grid-template-columns: 1fr;
        justify-content: center;
    }


    .contact__mail {
        grid-row: 2;
        margin: 0 auto;
        width: fit-content;
    }

    .contact__tel {
        grid-row: 1;
        margin: auto;
    }

    .contact__tel__time {
        grid-column: span 2;
    }
}

/*--------------------------------------
    pagetop
--------------------------------------*/

.pagetop {
    height: clamp(40px, 30px + 3.13vw, 80px);
    width: 100%;
}

.pagetop>a {
    display: block;
    background-image: url(../images/pagetop.webp);
    background-position: center clamp(9.008px, 7.504px + 0.47vw, 15.008px);
    background-size: auto 60%;
    background-color: #3A7DC7;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

/*--------------------------------------
    footer
--------------------------------------*/

.footer__nav {
    background: repeating-linear-gradient(to right, #707070, #707070 5px, transparent 1px, transparent 10px), #fff;
    background-size: 100% 1px;
    background-position: 50% 100%;
    background-repeat: no-repeat;
    margin: 0 auto;
    height: 106px;
    max-width: 980px;
}

.footer__nav__links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    list-style-type: none;
    padding: 0 35px;
    height: 100%;
    width: 100%;
}

.footer__nav__links li a {
    font-size: 20px;
    transition: 0.3s;
    display: block;
    color: black;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
}

.footer__nav__links li a:hover {
    opacity: 0.5;
}

.footer__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    row-gap: clamp(20px, 15.008px + 1.56vw, 40px);
    padding: 0 clamp(0px, -3.744px + 1.17vw, 15.008px);
    margin: clamp(20px, 15.008px + 1.56vw, 40px) auto 0;
    max-width: 980px;
}

.footer__info__logo {
    display: block;
    width: clamp(250px, 212.496px + 11.72vw, 400px);
}

.footer__info__text {
    display: block;
    color: black;
    font-weight: bold;
    font-size: clamp(0.75rem, 0.625rem + 0.63vw, 1.25rem);
    letter-spacing: 0.13em;
}

.footer__copy {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin: 30px 0 10px;
}

@media (max-width: 760px) {
    .footer__nav {
        display: none;
    }

    .footer__info {
        flex-direction: column;
    }

    .footer__info__logo {
        margin: 0 auto;
    }

    .footer__info__text {
        text-align: center;
    }

    .footer__copy {
        font-size: 12px;
        margin: 20px 0 10px;
    }
}

/*
vehicles
*/

.vehicles {
    display: flex;
    justify-content: space-between;
}

.vehicles a {
    display: block;
    max-width: 320px;
    position: relative;
}

.vehicles a span {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #FFFFFF;
    line-height: 1.3;
    position: absolute;
    top: auto;
    bottom: 45px;
    left: 0;
    right: 0;
    display: block;
}

.vehicles a:nth-child(2) span {
    top: 20px;
    bottom: auto;
}

@media (max-width: 760px) {
    .vehicles a span {
        font-size: 2vw;
        bottom: 7.5%;
    }

    .vehicles a:nth-child(2) span {
        top: 5%;
    }
}