body {
    margin: 0;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #333;
    caret-color: transparent;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd, nav, header, footer, section, article {
    margin: 0;
}

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

a:hover {
    text-decoration: underline;
}

img, picture {
    max-width: 100%;
    display: block
}

header {
    background: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: relative;
    z-index: 1000;
}

.site-header__logo img {
    width: 160px;
    height: auto;
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    color: #333;
}

.main-nav__list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

nav a {
    color: #333;
    font-weight: 500;
}

.main-nav__link_btn {
    background: #f66310;
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 20px;
}

.hero-section {
    position: relative;
    height: 60vh;
    overflow: hidden;
    z-index: 1;
}


.hero-section-main-image {
    background-color: black;
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
}

.hero-section__text {
    position: absolute;
    top: 15%;
    left: 5%;
    color: white;
    z-index: 10;
}

.about-section__title {
    background: #eee;
    padding: 3rem 0 0;
    color: #f66310;
    font-size: 17vw;
    font-weight: 200;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1;
    margin: 0;
}

.about-section__title span {
    display: block;
    margin-bottom: -3%;
}

.about-section-representative {
    top: 10rem;
}

.about-section-representative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 4rem;
}

.about-section__ceo-img {
    max-width: 450px;
}

.about-section__ceo-img img {
    border-radius: 5%;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.about-section__ceo-caption {
    padding: 1rem;
    display: flex;
    gap: 2rem;
}

.about-section__ceo-caption p {
    flex-basis: 40%;
    text-align: center;
}

.about-section__ceo-caption-title {
    font-weight: bold;
}

.about-section-representative-description {
    box-sizing: border-box;
    word-wrap: break-word;
    flex-basis: 60%;
}

.about-section-representative-description h2 {
    margin-bottom: 2rem;
}

.about-section-representative-description__title {
    color: #f66310;
    margin-bottom: 3rem !important;
}

.about-section-representative-description p {
    margin-bottom: 1.5rem;
}

.about-section-representative-description h2 {
    font-size: 1.5rem;
    font-weight: normal;
}

.service-section {
    background: #f66310;
    color: white;
    padding-bottom: 4rem;
}

.service-section__title {
    padding: 3rem 0;
    color: #fff;
    opacity: 0.2;
    font-size: 17vw;
    font-weight: 200;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    text-align: center;
    letter-spacing: 0.1em;
    line-height: 1;
    margin: 0;
}

.service-section__title span {
    display: block;
    margin-top: -8%;
}

.service-section-representative {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 4rem 0;
}

.service-section-representative-description__title {
    color: #fff;
    margin-bottom: 2rem !important;
}

.service-section-representative-description p {
    margin-bottom: 1.5rem;
}

.service-section-representative-description h3 {
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
}

.service-section-representative-description a {
    text-decoration: underline;
}

.service-section__img {
    max-width: 450px;
}

.service-section__img img {
    border-radius: 5%;
    margin: 0 auto;
    width: 100%;
    height: auto;
}

.service-section-representative-description {
    box-sizing: border-box;
    word-wrap: break-word;
    flex-basis: 70%;
}

.service-section-representative-description__list {
    padding: 0 1rem 1rem;
}

.service-section-representative-description__list dt:before {
    content: "・";
    position: absolute;
    left: 0;
    top: 0;}

.service-section-representative-description__list dt {
    position: relative;
    padding-left: 1em;
}


.service-section-representative-description__list dd, .service-section-representative-description__model_list dd {
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.service-section-representative-description__model_list {
    padding: 0 1rem;
    counter-reset: item;
}

.service-section-representative-description__model_list dt {
    counter-increment: item;
}

.service-section-representative-description__model_list dt:before {
    content: counter(item) '. ';
}

.service-section-representative-description__model_list dd {
    margin-left: 1rem;
}

.service-section-representative-logos {
    margin: 2rem 4rem 0;
}

.service-section-representative-logos img {
    padding: 0.7rem;
    border: solid 1px #cdcdcd6b;
}

.access-section {
    padding: 2rem;
    background: #eee;
}

.access-section-company {
    margin: 2rem;
}

.access-section-company__profile {
    display: grid;
    grid-template-columns: 200px 1fr;
    row-gap: 0.5em;
    column-gap: 1em;
    align-items: start;
    padding: 0 2rem;
}

.access-section-company__profile dt {
    font-weight: bold;
}

.access-section-company__profile dd {
    margin: 0;
}

footer {
    background: #111;
    padding: 3rem 4rem;
    font-size: 0.9rem;
    color: #777;
}

.site-footer__company_name {
    color: #fff;
    margin: 3rem 0 0.5rem;
}

.site-footer__link {
    color: #fff;
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 200;
    text-decoration: underline;
    text-underline-offset: 0.3rem;
}

.site-footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #fff;
    list-style: none;
    padding: 0;
}

.site-footer-nav a {
    font-size: 1.2rem;
}

.site-footer-nav .site-footer-nav__logo {
    flex-basis: 80%;
}

.site-footer-nav .site-footer-nav__logo img {
    width: 260px;
    height: auto;
}


.site-footer-nav .site-footer-nav__link {
    flex-basis: 20%;
    text-align: right;
    margin: auto 0;
}

.site-footer-nav .site-footer-nav__link_btn {
    text-align: center;
    background: #f66310;
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
}

.site-footer__copyright {
    margin-top: 4rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 25px;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
}

.page-title {
    text-align: center;
    background: #eee;
    color: #f66310;
    padding: 2rem 0;
    font-size: 2.5rem;
}

.page-content {
    margin: 4rem;
}

.contact-form {
    margin: 2rem auto;
    max-width: 820px;
    padding: 1rem;
}

.contact-form-info {
    margin-bottom: 2rem;
}

.contact-form dt {
    margin-bottom: 0.5rem;
}

.contact-form dt:before {
    background-color: #f66310;
    content: '';
    display: inline-block;
    width: 0.2rem;
    height: 1rem;
    margin-right: 0.5rem;
}

.contact-form dd {
    margin-bottom: 2rem;
}

.contact-form input, .contact-form textarea {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
    background: #f6f6f6;
    line-height: 1.3;
    caret-color: auto;
    border:1px solid #000;
}

.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: calc(100% - 2rem);
    padding: 1rem;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #7a7a7a;
}

.contact-form input[type=submit] {
    background: #f66310;
    padding: 1rem 2rem;
    color: #fff;
    font-size: 1.1rem;
}

.contact-form input[type=submit]:disabled {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

.contact-form dt.required:after {
    content: ' *';
    color: red;
    font-size: 1.1rem;
}

.contact-form-submit {
    text-align: center;
}

input.wpcf7-not-valid, textarea.wpcf7-not-valid, select.wpcf7-not-valid {
    background: #FCC;
}

.wpcf7-not-valid-tip {
    color: #ba2020;
    box-sizing: border-box;
    background-color: #fce3e3;
    border: 2px solid #ba2020;
    border-radius: 0.5rem;
    border-left-width: 0.4rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem 0.5rem 2rem;
    text-indent: -1rem;
    width: 100%;
}

form.sent .contact-form{
    display: none;
}

form .contact-form-acceptance {
    margin: 2rem auto;
    max-width: 820px;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #eee;
    border: 1px solid #000;
    border-radius: 0.5rem;
}

form .contact-form-acceptance p {
    padding: 1rem;
}

form .contact-form-acceptance a {
    text-decoration: underline;
}


form .contact-form-acceptance .contact-form-acceptance__title {
    text-align: center;
}

form .wpcf7-form-thanks-message {
    display: none;
}

form.sent .wpcf7-form-thanks-message {
    display: block;
    margin: 2rem auto;
    max-width: 820px;
    padding: 1rem;
    box-sizing: border-box;
    background-color: #dff7fa;
    border: 2px solid #2767ea;
    border-radius: 0.5rem;
}

.wpcf7-spinner {
    display: none;
}

.has-text-align-center {
    text-align: center;
    margin-bottom: 1rem;
}

.has-large-font-size {
    font-size: 1.5rem;
}

.bogo-language-switcher {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 2rem 1rem;
    justify-content: flex-end;
}

.bogo-language-switcher li {
    font-weight: bold;
    font-size: 1rem;
}

.bogo-language-switcher li a {
    text-decoration: none;
    color: #333;
    position: relative;
    padding-bottom: 0.25rem;
}

.bogo-language-switcher li a.current {
    color: #f36f00;
}

.bogo-language-switcher li a.current::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0.1875rem;
    width: 100%;
    background-color: #f36f00;
}

.bogo-language-switcher li + li::before {
    content: '';
    display: inline-block;
    width: 0.0625rem;
    height: 1rem;
    background-color: #ddd;
    margin: 0 0.75rem;
    vertical-align: middle;
}

.privacy-policy {
    counter-reset: parent-counter;
    padding-left: 2rem;
}

.privacy-policy > li {
    counter-increment: parent-counter;
    margin-bottom: 1rem;
}

.privacy-policy .child-list {
    counter-reset: child-counter;
    list-style: none;
    padding-left: 0;
}

.privacy-policy .child-list > li {
    counter-increment: child-counter;
    position: relative;
    padding-left: 2.5rem;
}

.privacy-policy .child-list > li::before {
    content: counter(parent-counter) "-" counter(child-counter) ". ";
    position: absolute;
    left: 0;
    width: 3rem;
}

.privacy-policy .grandchild-list {
    counter-reset: grandchild-counter;
    list-style: none;
    padding-left: 0;
}

.privacy-policy .grandchild-list > li {
    counter-increment: grandchild-counter;
    position: relative;
    padding-left: 3.4rem;
}

.privacy-policy .grandchild-list > li::before {
    content: counter(parent-counter) "-" counter(child-counter) "-" counter(grandchild-counter) ". ";
    position: absolute;
    left: 0;
    width: 4rem;
}

.privacy-policy .roman-list {
    counter-reset: roman-counter;
    list-style: none;
    padding-left: 0;
}

.privacy-policy .roman-list > li {
    counter-increment: roman-counter;
    position: relative;
    padding-left: 1.5rem;
}

.privacy-policy .roman-list > li::before {
    content: "(" counter(roman-counter, lower-roman) ") ";
    position: absolute;
    left: 0;
    width: 3rem;
}

.privacy-policy ul {
    list-style: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-nav__list {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        padding: 1rem;
        z-index: 999;
    }

    nav .main-nav__list {
        width: calc(100% - 2rem);
    }

    nav.active .main-nav__list {
        max-height: 500px;
        opacity: 1;
        padding: 1rem 1rem 1rem 2rem;
    }

    .about-section-representative {
        padding: 2rem;
    }

    .service-section-representative {
        padding: 1rem 2rem 0;
    }

    .service-section__img:nth-child(1) {
        order: 1;
    }

    .about-section-representative, .service-section-representative, .site-footer-nav {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .service-section-representative-logos {
        margin: 2rem 2rem 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .service-section__title {
        padding: 3rem 0.5rem 0;
    }

    .service-section__title span {
        margin-top: -14%;
    }

    .access-section-company {
        margin: 0;
    }

    .access-section-company__profile {
        display: block;
        padding: 0 1rem;
    }

    .access-section-company__profile dt {
        margin-top: 1em;
    }

    .site-footer-nav .site-footer-nav__link {
        flex-basis: 20%;
        text-align: left;
        margin-top: 1rem;
    }

    .page-content {
        margin: 2rem;
    }

    .privacy-policy {
        padding-left: 1rem;
    }

    footer {
        padding: 2rem;
    }
}

@media (max-width: 468px) {
    .service-section__title span {
        margin-top: -16%;
    }

    .about-section__ceo-caption {
        gap: 0;
    }

    .about-section__ceo-caption p {
        flex-basis: 50%;
    }
}
