.YamatsuFooter {
    background-color: var(--YAMATSUBackgroundColor);
}

.YamatsuFooterMain {
    padding: 28px 0;
}

.YamatsuFooterMainInner {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.4fr) minmax(220px, 1fr);
    align-items: center;
}

.YamatsuFooter .CompanyInfo {
    display: grid;
    gap: 5px;
    color: var(--SubText1);
}

.YamatsuFooter .CompanyLogoContainer {
    margin-bottom: 4px;
}

.YamatsuFooter .CompanyLogoContainer .YamatsuLogo .Image {
    height: 38px;
}

.YamatsuFooter .CompanyName {
    color: var(--MainText1);
    font-size: 1.03rem;
    font-weight: 700;
}

.YamatsuFooter .Address,
.YamatsuFooter .Tel,
.YamatsuFooter .Fax {
    font-size: 0.94rem;
}

.YamatsuFooter .CorporateSiteLink {
    margin-top: 6px;
    text-decoration: underline;
    color: var(--SubText1);
}

.YamatsuFooter .FooterNotice {
    min-width: 0;
}

.YamatsuFooter .FooterNoticeList {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    color: var(--MainText2);
    font-size: 0.88rem;
    line-height: 1.7;
}

.YamatsuFooter .FooterNoticeList li {
    position: relative;
    padding-left: 1em;
}

.YamatsuFooter .FooterNoticeList li::before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--MainText2);
}

.YamatsuFooter .ContactInfo {
    display: grid;
    gap: 10px;
    justify-items: end;
    align-content: center;
}

.YamatsuFooter .ContactButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.YamatsuFooter .PhoneNumber {
    text-decoration: none;
    color: var(--MainText1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.YamatsuFooter .PhoneNumber i {
    font-size: 1.3rem;
    color: var(--SubText1);
}

.YamatsuFooter .Hours {
    color: var(--SubText1);
    font-size: 0.94rem;
}

.YamatsuFooterSub {
    border-top: 1px solid var(--BorderSectionColor);
    padding: 16px 0 12px;
}

.YamatsuFooterSubInner {
    display: grid;
    gap: 8px;
}

.YamatsuFooter .LinkGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.YamatsuFooter .LinkGroup.LinkGroup--right {
    justify-content: flex-end;
}

.YamatsuFooter .LinkGroup a {
    text-decoration: none;
    color: var(--SubText1);
    font-size: 0.91rem;
}

.YamatsuFooter .LinkGroup a:hover {
    color: var(--PrimaryColor);
}

.YamatsuFooter .Copyright {
    text-align: center;
    color: var(--LightText1);
    font-size: 0.88rem;
    padding-top: 6px;
}

@media screen and (max-width: 1024px) {
    .YamatsuFooter .PhoneNumber {
        font-size: 2.1rem;
    }
}

@media screen and (max-width: 900px) {
    .YamatsuFooterMainInner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .YamatsuFooter .CompanyInfo {
        order: 1;
    }

    .YamatsuFooter .FooterNotice {
        order: 2;
    }

    .YamatsuFooter .ContactInfo {
        order: 3;
    }

    .YamatsuFooter .ContactInfo,
    .YamatsuFooter .LinkGroup.LinkGroup--right {
        justify-items: start;
        justify-content: flex-start;
    }
}

@media screen and (max-width: 768px) {
    .YamatsuFooterMain {
        padding: 18px 0;
    }

    .YamatsuFooter .CompanyName {
        font-size: 0.95rem;
    }

    .YamatsuFooter .Address,
    .YamatsuFooter .Tel,
    .YamatsuFooter .Fax,
    .YamatsuFooter .Hours,
    .YamatsuFooter .LinkGroup a,
    .YamatsuFooter .FooterNoticeList {
        font-size: 0.84rem;
    }

    .YamatsuFooter .PhoneNumber {
        font-size: 1.5rem;
    }
}
