html {
    scroll-behavior: smooth;
}

body{
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  }
.body-section {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}
#main {
    width: 100%;
    background-color: #F4F4F4;
}
#main .mv-section {
    width: 100%;
    margin-top: calc(66px + env(safe-area-inset-top));
}

#main .mv-section__inner {
    width: 100%;
    aspect-ratio: 683/130;
    background-image: url(../img/mv-hf.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    box-sizing: border-box;
    position: relative;
}
#main .mv-section .mv-section__title {
    max-width: 1000px;
    width: 100%;
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}
.site-header .mv-section__content {
    box-sizing: border-box;
    padding: 20px 25px;
    position: relative;
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 220;
    overflow: hidden;
}
.site-header .header-logo-link {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 350px;
    position: relative;
}
.site-header .header-logo {
    display: block;
    max-width: 350px;
    width: 100%;
    height: auto;
    min-width: 0;
    user-select:none;
-webkit-user-select:none;
-ms-user-select: none;
-moz-user-select:none;
-khtml-user-select:none;
-webkit-user-drag:none;
-khtml-user-drag:none;
}
.site-header .header-logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.site-header .mv-section__nav {
    height: auto;
}
.site-header .mv-section__nav-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    gap: 20px;
}
.site-header .mv-section__nav-item {
    font-size: 16px;
    font-weight: 600;
}
.site-header .mv-section__nav-item a {
    color: #000;
    text-decoration: none;
}
.site-header .mv-section__nav-item a:hover {
    opacity: 0.75;
    color: #0035D1;
}
#main .company-profile__row .value {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
#main .company-profile__row .value a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
#main .company-profile__row .value {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
#main .company-profile__row .value a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
#main .breadcrumbs {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}
#main .breadcrumbs span {
    font-size: 10px;
    color: #0035D1;
    margin: 0;
}
#main .breadcrumbs a {
    font-size: 10px;
    color: #000;
    text-decoration: none;
}
#main .breadcrumbs a:last-child {
    color: rgba(0, 0, 0, 0.5);
}
#main .body-section__inner {
    width: 100%;
    margin: 0 auto;
    padding: 60px 0 110px;
}
#main .body-section__content {
    width: 100%;
    background-color: #fff;
    padding: 40px;
    box-sizing: border-box;
    box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}
#main .body-section__content::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/companies-bg.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right top;
    width: 760px;
    max-width: 100%;
    height: 140px;
}
#main .body-section__content .body-section__content-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    line-height: 1;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
}
#main .body-section__content .body-section__content-title span {
    margin-left: 10px;
    background-color: #0035D1;
    color: #fff;

    padding: 2px 15px;
    clip-path: polygon(
        0% 50%,
        7px 0%,
        calc(100% - 7px) 0%,
        100% 50%,
        calc(100% - 7px) 100%,
        7px 100%
    );
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.02em;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
}
#main .body-section__content h2 {
    font-size: 32px;
    font-weight: bold;
    color: #0035D1;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
    width: 100%;
    margin-top: 20px;
}
#main .body-section__content .subtitle {
    font-size: 18px;
    font-weight: bold;
    color: #0035D1;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
    width: 100%;
    margin-top: 10px;
}

#main .company-profile__summary {
    margin: 20px 0;
    padding: 30px;
    background-color: #f7f7f7;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    z-index: 20;
    position: relative;
}
#main .company-profile__logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    background-color: #fff;
}
#main .company-profile__table {
    width: 100%;
}
#main .company-profile__row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #e1e1e1;
}
#main .company-profile__row:first-child {
    border-top: 1px solid #e1e1e1;
}
#main .company-profile__row .label,
#main .company-profile__row .value {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
#main .company-profile__row .label {
    font-weight: bold;
    color: #222;
}
#main .company-profile__row .value,
#main .company-profile__row .value a {
    color: #222;
}

#main .company-profile__block {
    margin-top: 20px;
    display: grid;
    gap: 0;
    grid-template-columns: 140px 1fr;
}
#main .company-profile__block.first-block {
    margin-top: 30px;
}

#main .company-profile__block h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #0035D1;
    line-height: 1.4;
    padding-top: 20px;
    border-top: 1px solid #99AFEA;
}
#main .company-profile__items {
    padding-top: 0;
    border-top: 1px solid #e1e1e1;
    line-height: 1.4;
}
#main .company-profile__products__items, #main .company-profile__profile__items {
    padding-top: 20px;
    padding-left: 20px;
    border-top: 1px solid #e1e1e1;
    line-height: 1.4;
}
#main .company-profile__item {
    padding: 20px 0 20px 20px;
    border-bottom: 1px solid #e1e1e1;
}
#main .company-profile__item:last-child {
    border-bottom: 0;
}
#main .company-profile__item h4 {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    color: #000;
    padding-bottom: 10px;
}
#main .company-profile__item li,
#main .company-profile__products li {
    font-size: 15px;
    line-height: 1.4;
    color: #000;
}
#main .company-profile__item li::before,
#main .company-profile__products li::before {
    content: '';
    width: 8px;
    height: 7px;
    margin-right: 10px;
    background-color: #0035D1;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.02em;
    display: inline-block;
    vertical-align: middle;
    margin-top: -2px;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
#main .company-profile__products, #main .company-profile__profile {
    columns: 1;
    font-size: 15px;
    line-height: 1.4;
    color: #000;
}
#main .company-profile__profile strong {
    color: #0c3287;
}
#main .company-profile__profile span {
    color: #008ed1;
}
#main .company-profile__line {
    width: 100%;
    height: 1px;
    background-color: #e1e1e1;
    margin: 20px 0;
}
#main .company-profile__button {
    margin-top: 40px;
    width: 280px;
    height: 56px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0035D1;
    border: 1px solid #0035D1;
    transition: background-color 0.2s ease-out, color 0.1s ease-out;
    margin: 40px auto 0;
}
#main .company-profile__button-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
}
#main .company-profile__button:hover {
    background-color: #FFF;
    color: #0035D1;
    transition: background-color 0.2s ease-out, color 0.1s ease-out;
}
#main .company-profile__button:hover .company-profile__button-link {
    color: #0035D1;
    transition: color 0.1s ease-out;
}
.page-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 260;
    width: 44px;
    height: 38px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    background-image: url(../img/page-top.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.page-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.page-top:hover,
.page-top:focus-visible {
    background-image: url(../img/page-top-hover.png);
    transition: background-image 0.3s ease;
}
.page-top img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0;
    pointer-events: none;
}
#footer {
    padding: 0;
}
#footer .footer__inner {
    padding: 0;
    padding-top: 40px;
}
#footer .footer__content {
    width: 100%;
}
#footer .footer__content-title {
    font-size: 15px;
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}
#footer .footer__content-text {
    font-size: 14px;
    font-weight: medium;
    color: #000;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
    padding-bottom: 0;
}
#footer .footer__content-text a {
    color: #000;
    text-decoration: underline;
}
#footer .footer__link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
}
#footer .footer__link-list {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
#footer .footer__link-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 18px;
    gap: 14px;
}
#footer .footer__link-item:first-child {
    border-right: 1px solid #d7d7d7;
}
#footer .footer__link-item:last-child {
    border-left: 1px solid #d7d7d7;
}
#footer .footer__link-item-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
#footer .footer__link-item-link img {
    display: block;
    height: 45px;
    width: auto;
    object-fit: contain;
}
#footer .footer__link-item:nth-child(2) {
    gap: 18px;
}
#footer .footer__content.social-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d7d7d7;
    margin-top: -20px;
}
#footer .footer__content.social-link img {
    height: 22px;
    width: auto;
    object-fit: contain;
}
#footer .footer__copyright {
    width: 100%;
    text-align: center;
    padding: 5px 0;
    background-color: #0035D1;
}
#footer .footer__copyright-inner {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}
#footer .footer__copyright-text {
    font-size: 10px;
    text-align: center;
    letter-spacing: 0.02em;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    padding: 0;
}

.site-header .header-menu-button {
    display: none;
    width: 36px;
    height: 30px;
    border: 0;
    background: transparent;
    padding: 4px;
    box-sizing: border-box;
    cursor: pointer;
    flex: 0 0 36px;
}
.site-header .header-menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #0037CB;
    margin: 5px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

@media screen and (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }
    #main,
    #main * {
        max-width: 100%;
    }
    .body-section {
        width: calc(100% - 32px);
        max-width: none;
    }
    #main .mv-section {
        margin-top: calc(56px + env(safe-area-inset-top));
    }
    #main .mv-section__inner {
        aspect-ratio: 375/176;
        background-image: url(../img/mv-hf-sp.jpg);
    }
    #main .mv-section .mv-section__title {
        width: calc(100% - 24px);
        font-size: 24px;
    }

    .site-header .mv-section__content {
        padding: calc(12px + env(safe-area-inset-top)) 12px 12px;
        min-height: 56px;
        background-color: #FFF;
        box-shadow: none;
        width: 100%;
        max-width: 100vw;
        overflow: hidden;
    }
    .site-header .header-logo-link {
        max-width: 265px;
    }
    .site-header .header-logo {
        max-width: 100%;
    }
    .site-header .mv-section__nav {
        display: none;
    }
    .site-header .header-menu-button {
        display: block;
    }
    .site-header .header-menu-button span {
        background-color: #0035D1;
    }

    .site-header .mv-section__content.is-menu-open .header-menu-button span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .site-header .mv-section__content.is-menu-open .header-menu-button span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .site-header .mv-section__content.is-menu-open .header-menu-button span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    #main .breadcrumbs {
        margin-top: 8px;
    }
    #main .breadcrumbs span,
    #main .breadcrumbs a {
        font-size: 10px;
    }

    #main .body-section__inner {
        padding: 30px 0 110px;
    }
    #main .body-section__content {
        padding: 30px 16px;
        box-sizing: border-box;
    }
    #main .body-section__content::before {
        background-image: url(../img/companies-bg-sp.png);
        width: 410px;
        height: 183px;
    }
    #main .body-section__content .body-section__content-title {
        position: relative;
        font-size: 15px;
        z-index: 1;
    }
    #main .body-section__content .body-section__content-title span {
        font-size: 15px;
        padding: 2px 20px;
        margin-left: 5px;
        position: relative;
    }
    #main .body-section__content h2 {
        font-size: 24px;
        margin-top: 10px;
        line-height: 1.6;
        z-index: 1;
        position: relative;
    }
    #main .body-section__content .subtitle {
        font-size: 14px;
        margin-top: 2px;
        line-height: 1.4;
        z-index: 1;
        position: relative;
    }
    #main .company-profile__summary {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 25px 16px;
        overflow: hidden;
        z-index: 20;
        position: relative;
    }
    #main .company-profile__logo {
        max-width: none;
    }
    #main .company-profile__row {
        display: flex;
        flex-direction: column;
        gap: 6px;
        padding: 15px 0;
    }
    #main .company-profile__row .label,
    #main .company-profile__row .value {
        font-size: 15px;
        line-height: 1.4;
    }
    #main .company-profile__row .label {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #main .company-profile__block {
        display: flex;
        flex-direction: column;
        margin-top: 10px;
    }
    #main .company-profile__block:first-child {
        margin-top: 14px;
    }
    #main .company-profile__block h3 {
        font-size: 16px;
        padding-top: 10px;
        padding-bottom: 10px;
        border-top: none;
    }
    #main .company-profile__items,
    #main .company-profile__products__items,
    #main .company-profile__profile__items {
        border-top: 1px solid #e1e1e1;
        padding-top: 0;
        padding-left: 0;
        position: relative;
    }
    #main .company-profile__products__items,
    #main .company-profile__profile__items {
        padding-top: 10px;
    }
    #main .company-profile__items::before,
    #main .company-profile__products__items::before,
    #main .company-profile__profile__items::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        width: 30%;
        height: 1px;
        background-color: #99AFEA;
    }
    #main .company-profile__item {
        padding: 16px 0;
    }
    #main .company-profile__item h4 {
        font-size: 15px;
        padding-bottom: 5px;
    }
    #main .company-profile__item ul,
    #main .company-profile__products {
        margin-top: 5px;
        padding-left: 0;
        list-style: none;
    }
    #main .company-profile__item li,
    #main .company-profile__products li,
    #main .company-profile__profile {
        font-size: 15px;
        line-height: 1.5;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    #main .company-profile__item li::before,
    #main .company-profile__products li::before {
        width: 6px;
        height: 5px;
        margin-right: 6px;
    }
    #main .company-profile__line {
        margin: 16px 0;
    }

    .page-top {
        position: fixed;
        right: 25px;
        bottom: 25px;
        z-index: 260;
        width: 44px;
        height: 38px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        background-image: url(../img/page-top.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
    }
    .page-top.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .page-top:hover,
    .page-top:focus-visible {
        background-image: url(../img/page-top.png);
    }
    .page-top img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        opacity: 0;
        pointer-events: none;
    }

    #footer .footer__inner {
        padding-top: 24px;
    }
    #footer .footer__content-title {
        font-size: 15px;
    }
    #footer .footer__content-text {
        font-size: 14px;
    }
    #footer .footer__content-text a {
        font-size: 14px;
    }
    #footer .footer__content.social-link {
        margin-top: 30px;
        padding-bottom: 20px;
    }
    #footer .footer__link {
        padding: 18px 0;
    }
    #footer .footer__link-list {
        row-gap: 10px;
        column-gap: 6px;
    }
    #footer .footer__link-item {
        padding: 0 5px;
        gap: 5px;
    }
    #footer .footer__link-item:nth-child(2) {
        gap: 5px;
        padding: 0;
    }
    #footer .footer__link-item:first-child,
    #footer .footer__link-item:last-child {
        padding: 0 5px;
    }
    #footer .footer__link-item-link img {
        height: 25px;
    }
}