@charset "utf-08";

* {
    color: #333;
    font-family: "Noto Sans JP", sans-serif;
}

html,
body {
    overflow-x: hidden;
}


:root {
    --red: #e00;
    --blue: #e2f1ff;
    --darkblue: #10275b;
    --lightGray: #f8f8f8;
    --borderGray: #aaa;
    --headerColor: #fff;
}


.bold {
    font-weight: 700;
}

@media (max-width:767px) {
    .is-pc {
        display: none !important;
    }
}

@media (min-width:768px) {
    .is-mobile {
        display: none !important;
    }
}

body {
    overflow-x: hidden;
    background-color: #fff;
    position: relative;
    letter-spacing: 0.08em;
    line-height: 1.6;
}

a:hover {
    opacity: 0.6;
}

.openbtn1 {
    cursor: pointer;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 100px;
    position: fixed;
    top: 30px;
    right: 35px;
    box-shadow: 0 0 10px #3333;
    opacity: 0;
    transition: 1s;
    z-index: -1;
}

.openbtn1.is-active {
    opacity: 1;
    z-index: 10000;
}

.openbtn1 span {
    display: inline-block;
    transition: all 0.4s;
    position: absolute;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
    text-align: center;
}

.openbtn1 span:nth-of-type(1) {
    top: 19px;
    height: 2px;
    background-color: var(--darkblue);
    width: 23px;
}

.openbtn1 span:nth-of-type(2) {
    top: 28px;
    height: 2px;
    background-color: var(--darkblue);
    width: 23px;
}

.openbtn1 span:nth-of-type(3) {
    top: 33px;
    font-size: 10px;
    color: var(--darkblue);
}

.openbtn1.active {
    display: inline;
}

.openbtn1.active span:nth-of-type(1) {
    transform: translateY(11px) translateX(-50%) rotate(-45deg);
    top: 13px;
}

.openbtn1.active span:nth-of-type(2) {
    transform: translateY(-11px) translateX(-50%) rotate(45deg);
    top: 35px;
}


.ham__g-nav {
    position: fixed;
    top: 0;
    right: 0;
    opacity: 0;
    transition: 0.8s;
    height: 100%;
    width: 100%;
    z-index: -9999;
    overflow-y: scroll;
    scrollbar-width: none;
}

.ham__g-nav-bg {
    position: absolute;
    height: 100vh;
    width: 100%;
    background-color: var(--lightGray);
    opacity: 0.95;
}

.ham__g-nav.panelactive {
    opacity: 1;
    width: 100%;
    z-index: 9999;
}

.ham__g-nav__wrapper {
    width: clamp(300px, 94%, 1000px);
    margin: 100px auto 0;
    padding: 2.5% 0 2.5% 2.5%;
    position: relative;
    z-index: 10000;
}

.ham__g-nav__list {
    padding-top: 30px;
    width: 100%;
    padding: 1.25rem;
}

.ham__g-nav__list li {
    width: 100%;
    text-align: center;
    border-top: solid 1px #fff;
}

.ham__g-nav__list li:last-of-type {
    border-bottom: solid 1px #fff;
}

.ham__g-nav__list a {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    transition: 0.4s;
    padding: 1.5em 0;
    width: 100%;
    height: 100%;
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.ham__g-nav__list a:hover {
    transform: scale(0.9);

    color: var(--darkblue);
}

header {
    height: 100px;
    display: flex;
    z-index: 100;
    background-color: var(--headerColor);
    width: 100%;
}

.header__logo {
    height: 150px;
    width: auto;
    background-color: var(--headerColor);
    z-index: 100;
    position: relative;
    padding: 10px 30px 40px;
    border-radius: 0 0 100% 100%;

    img {
        height: 100%;
    }
}

.header__navigation {
    display: flex;
    gap: 40px;
    margin: 0 auto;

}

.header__navigation__list {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
    min-width: 230px;
    text-align: center;
}

.header__navigation__link {
    font-weight: 700;
    text-decoration: none;
    height: 100%;
}

.language__link {
    position: fixed;
    bottom: 40px;
    right: 110px;
    box-shadow: 0 0 10px #3333;
    display: flex;
    align-items: center;
    z-index: 10000;
    border-radius: 100px;
    background-color: #fff;
    width: 160px;
    height: 50px;

    a,
    span {
        height: 100%;
        padding: 0.75em 1em;
        text-decoration: none;
        display: flex;
        align-items: center;
    }
}

.language__link::before {
    content: "";
    background-image: url(/img/language_icon.svg);
    width: 22px;
    height: 22px;
    margin: 0 10px 0 12px;
    background-size: cover;
}

.language__link__en {
    flex: 1;
    border-radius: 0 100px 100px 0;
}

.language__link__current {
    color: #fff;
    background-color: var(--darkblue);
}

.top__link {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 10000;
    border-radius: 30px;
    background-color: #fff;
    box-shadow: 0 0 10px #3333;
    opacity: 0;
    z-index: -1;
    transition: 1s;

    a {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }
}

.top__link.is-active {
    opacity: 1;
    z-index: 10000;
}

.top__link__arrow {
    position: absolute;
    top: 42%;
    left: 35%;
    width: 30%;
    height: 30%;
    border-right: solid var(--darkblue) 3px;
    border-bottom: solid var(--darkblue) 3px;
    transform: rotate(-135deg);
    position: relative;
}

.hero-image__wrapper {
    position: relative;
}

.hero-image__image {
    object-fit: cover;
    min-height: 300px;
    max-height: 600px;
    width: 100%;
}

.hero-image__text {
    position: absolute;
    bottom: 20%;
    margin-inline: 2%;
    font-size: clamp(22px, 4vw, 48px);
    font-weight: 700;
    background-color: #fff;
    padding: 0 0.5em;
}

.wrapper {
    width: clamp(340px, 94%, 1000px);
    margin-inline: auto;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 80px;
    line-height: 1;
}

.philosophy {
    margin: 120px auto 100px;
}

.philosophy__title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.25em;
}

.philosophy__title__description {
    margin-bottom: 1.6em;
}

.philosophy__description {
    margin-bottom: 100px
}

.philosophy__list {
    position: relative;
}

.philosophy__list__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}

.philosophy__list__heading {
    font-size: 1.5rem;
    line-height: 1.7;
    padding: 100px 0 0px;
}

.philosophy__list__content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.philosophy__list__item {
    max-width: 400px;
    position: relative;
    padding: 35px 0;
}

.philosophy__list__item:not(:last-of-type)::before {
    content: "";
    width: 30%;
    height: 1px;
    background-color: #333;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.philosophy__list__item:last-of-type {
    padding-bottom: 0;
}

.philosophy__list__title {
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    margin: 0 auto 1.2em;
    max-width: 340px;
}

.philosophy__afterword {
    max-width: 600px;
    margin: 70px auto 0;
}

.business {
    z-index: 1;
    background-color: var(--lightGray);
    padding: 100px 0;
}

.business__content {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.business__content__item {
    width: 100%;
    background-color: #fff;
    opacity: 0;
    transition: 1.5s;
}

.business__content__item.is-active {
    opacity: 1;
}

.business__content__item:last-of-type {
    margin-bottom: 0;
}

.business__content__item__wrapper {
    display: flex;
}

.business__content__image {
    width: 300px;
    margin: 35px 0 35px 35px;

    img {
        width: 100%;
    }
}

.business__content__text {
    flex: 1;
    padding: 35px;
}

.business__content__title {
    margin-bottom: 1em;
}

.about {
    margin: 100px auto;
}

.about__content {
    display: flex;
    flex-wrap: wrap;

    dt {
        width: 23%;
        font-weight: 700;
        padding: 1.5rem;
        border-bottom: solid 1px var(--borderGray);
    }

    dd {
        width: 77%;
        padding: 1.5rem 0;
        border-bottom: solid 1px var(--borderGray);
    }

    .about__content__top-row {
        padding-top: 0;
    }
}

.contact {
    padding: 0 0 100px;
    position: relative;
    overflow: hidden;
}

.contact__content {
    background-color: #fff;
}

.contact__content__form__item {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: center;
}

.contact__content__form__item:last-of-type {
    align-items: flex-start;
}

.contact__content__form__label {
    font-weight: 500;
    width: 23%;
    min-width: 230px;
    align-items: center;
    height: max-content;
    padding-left: 24px;
    display: flex;
    align-items: center;
}

.contact__content__form__message {
    flex: 1;
}

.contact__content__form__input {
    width: 100%;
    padding: 6px 10px;
    border: none;
    background-color: #ececec;
}

.contact__content__form__input:focus {
    outline: 3px solid var(--darkblue);
}

.require {
    color: var(--red);
    font-size: 0.8rem;
    margin-right: 10px;
    border: solid 1px var(--red);
    padding: 1px 0.25rem 3px;
}

.error-message {
    color: var(--red);
}

.contact__content__form__agree {
    text-align: center;
    margin-bottom: 1rem;
}

.contact__content__form__agree__checkbox {
    display: none;
}

.custom-checkbox {
    display: inline-block;
    width: 13px;
    height: 13px;
    border-radius: 2px;
    border: 1px solid #333;
    background-color: #fff;
    margin-right: 10px;
    transition: background-color .3s, border-color .3s;
    position: relative;
}

.contact__content__form__agree__checkbox:checked+.custom-checkbox:after {
    content: "";
    position: absolute;
    top: -3px;
    left: 3px;
    width: 7px;
    height: 13px;
    border: solid #333;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact__content__form__submit {
    position: relative;
    display: block;
    background-color: #fff;
    font-weight: 500;
    color: #333;
    border: solid 2px var(--darkblue);
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    width: 45%;
    margin: 0 auto;
    opacity: 0.2;
    cursor: default;
    transition: 0.4s;
}

.button__border--rightarrow {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border-right: solid 2px var(--darkblue);
    border-bottom: solid 2px var(--darkblue);
    top: 50%;
    right: 5%;
    transform: rotate(-45deg) translateY(-50%);
    transition: 0.4s;
}

.contact__content__form__submit:hover {
    background-color: var(--darkblue);
    color: #fff;
    opacity: 1;
}

.contact__content__form__submit:hover .button__border--rightarrow {
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
}

.contact__content__form__submit:disabled {
    pointer-events: none;
}

.recaptcha {
    text-align: center;
    margin: 40px 0;
}

.recaptcha::before {
    margin-right: 3px;
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f023";
}

.external-link {
    color: var(--darkblue);
    font-weight: 600;
}


.privacy__policy {
    height: 500px;
    overflow-y: scroll;
    border: solid 1px #999;
    padding: 1.5rem 1rem;
    background-color: #fff;
    font-size: 0.9rem;

    h3 {
        padding: 1rem 0;
        border: none;
    }

    dl {
        margin-top: 1.5rem;
    }

    dt {
        font-weight: bold;
        margin-bottom: 0.5rem;
    }

    dd {
        margin-bottom: 1rem;

        ul {
            margin: 1rem 0;

            li:before {
                content: "・";
            }

            li:not(:last-of-type) {
                margin: 0.25rem 0;
            }
        }
    }

    dd:last-of-type {
        margin-bottom: 0;
    }
}

.privacy__policy::-webkit-scrollbar {
    width: 12px;
    background-color: #ebebeb;
}

.privacy__policy::-webkit-scrollbar-track {
    background: transparent;
}

.privacy__policy::-webkit-scrollbar-thumb {
    background-color: #929292;
    border-radius: 6px;
    border: 3px solid transparent;
    background-clip: content-box;
}


.copy-right {
    text-align: center;
    padding: 1em 0;
    background-color: var(--lightGray);
}

.grecaptcha-badge {
    visibility: hidden;
}

.bread-clumb {
    display: flex;
    justify-content: end;
    margin: 40px 0;

    li {
        padding: 0 1.25rem;
    }

    li:not(:first-of-type) {
        border-left: solid 2px var(--borderGray);
    }
}

.confirm__heading {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1;
}

.check__contact__description {
    text-align: center;
}

.confirm {
    padding-bottom: 50px;
}

.confirm__title {
    margin-bottom: 1.5rem;
}

.confirm__content__form__item {
    border-bottom: solid 1px var(--borderGray);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem 20px;
}

.confirm__contact__heading {
    font-weight: bold;
    margin-bottom: 0.25em;
}

.form__buttons {
    display: flex;
    gap: 20px;
    color: #fff;
    justify-content: center;
    margin-top: 2rem;
}

.form__back {
    width: 40%;
    text-align: center;
    background-color: #333;
    border-radius: 8px;
    transition: 0.4s;

    a {
        display: flex;
        align-items: center;
        padding: 1rem;
        color: #fff;
        justify-content: center;
        text-decoration: none;
        position: relative;
    }
}

.form__back:hover {
    opacity: 0.6;
}

.submit__button {
    position: relative;
    display: block;
    background-color: #fff;
    font-weight: 500;
    color: #333;
    border: solid 2px var(--darkblue);
    border-radius: 8px;
    text-align: center;
    padding: 1rem;
    width: 40%;
    cursor: default;
    transition: 0.4s;
    box-sizing: border-box;
}

.button__border--rightarrow {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border-right: solid 2px var(--darkblue);
    border-bottom: solid 2px var(--darkblue);
    top: 50%;
    right: 10%;
    transform: rotate(-45deg) translateY(-50%);
    transition: 0.4s;
}

.submit__button:hover {
    background-color: var(--darkblue);
    color: #fff;
    opacity: 1;
}

.submit__button:hover .button__border--rightarrow {
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
}

.button__border--leftarrow {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border-right: solid 2px #fff;
    border-bottom: solid 2px #fff;
    top: 50%;
    left: 10%;
    transform: rotate(135deg) translateY(50%);
    transition: 0.4s;
}

.thanks__heading {
    font-size: 2.2rem;
    text-align: center;
    font-weight: 600;
    margin-bottom: 50px;
    line-height: 1;
}

.thanks__content__description {
    max-width: 500px;
    margin: 0 auto 60px;
}

.thanks .form__back {
    width: 400px;
    margin: 0 auto 100px;
}

main:has(.thanks) {
    min-height: calc(100dvh - 198px);
}

.business,
.about,
.contact {
    opacity: 0;
    transition: 2s;
}

.business.is-active,
.about.is-active,
.contact.is-active {
    opacity: 1;
}

@media screen and (max-width:1100px) {

    .philosophy {
        margin: 100px auto 80px;
    }

    .philosophy__description {
        margin-bottom: 80px
    }

    .philosophy__list__heading {
        padding: 80px 0 0px;
    }

    .business {
        padding: 80px 0;
    }

    .about {
        margin: 80px auto;
    }

    .contact {
        padding: 0 0 80px;
    }

    h2 {
        margin-bottom: 60px;
    }
}


@media screen and (max-width:910px) {
    .business__content__text {
        padding: 20px;
        margin: auto;
    }
}

@media screen and (max-width:767px) {

    html {
        font-size: 14px;
    }

    .openbtn1 {
        right: 15px;
        top: 10px;
        opacity: 1;
        z-index: 10000;
    }

    .openbtn1 span:nth-of-type(1) {
        top: 19px;
    }

    .openbtn1 span:nth-of-type(2) {
        top: 28px;
    }

    .openbtn1 span:nth-of-type(3) {
        top: 33px;
    }

    header {
        height: 50px;
    }

    .header__logo {
        height: 90px;
        padding: 10px 30px 20px;
    }

    .header__navigation__list {
        display: none;
    }


    .language__link {
        width: 145px;
        bottom: 30px;
        right: 90px;
    }


    .language__link::before {
        margin: 0 7px 0 12px;
    }

    .top__link {
        bottom: 30px;
        right: 20px;
    }


    .hero-image__text {
        bottom: 15%;
    }


    h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .philosophy {
        margin: 80px auto 60px;
    }

    .philosophy__title__description {
        margin-bottom: 1.6em;
    }

    .philosophy__description {
        margin-bottom: 100px
    }

    .philosophy__list__item {
        max-width: 300px;
        padding: 30px 0;
    }

    .philosophy__list__heading {
        font-size: 1.3rem;
        padding: 0px 0 60px;
    }

    .philosophy__list__item:last-of-type {
        padding-bottom: 0;
    }

    .philosophy__list__title {
        font-size: 1.2rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 1.2em;
    }

    .philosophy__afterword {
        max-width: 600px;
        margin: 60px auto 0;
    }

    .business {
        padding: 60px 0;
    }

    .business__content {
        gap: 50px;
    }

    .business__content__item {
        transition: 2s;
        transform: translateX(0);
    }


    .business__content__item__wrapper {
        flex-direction: column;
    }

    .business__content__image {
        width: stretch;
        margin: 20px 20px 0;
    }

    .business__content__text {
        padding: 20px;
    }

    .about {
        margin: 60px auto;
    }

    .about__content {

        dt {
            width: 100%;
            padding: 1rem 20px 0.5rem;
            border-bottom: none;
        }

        dd {
            width: 100%;
            padding: 0 20px 1rem;
        }

        .about__content__top-row {
            padding-top: 0;
        }
    }

    .contact {
        padding: 0 0 60px;
    }

    .contact__content__form__item {
        flex-direction: column;
        margin-bottom: 1.5rem;
        align-items: flex-start;
    }

    .contact__content__form__item:last-of-type {
        margin-bottom: 1rem;
    }

    .contact__content__form__label {
        width: 100%;
        padding-left: 20px;
        margin-bottom: 0.75rem;
    }

    .contact__content__form__message {
        width: 100%;
        padding: 0 20px;
    }

    .contact__content__form__submit {
        padding: 0.75rem;
        width: calc(100% - 40px);
        margin-inline: 20px;
        box-sizing: border-box;
    }

    .recaptcha {
        margin: 20px 0;
    }


    .privacy__policy {
        padding: 20px;

        h3 {
            padding: 0 0 1rem;
        }
    }

    .privacy__policy::-webkit-scrollbar {
        width: 12px;
        background-color: #ebebeb;
    }

    .privacy__policy::-webkit-scrollbar-track {
        background: transparent;
    }

    .privacy__policy::-webkit-scrollbar-thumb {
        background-color: #929292;
        border-radius: 6px;
        border: 3px solid transparent;
        background-clip: content-box;
    }

    .copy-right {
        text-align: center;
        padding: 1em 0;
        background-color: var(--lightGray);
    }

    .grecaptcha-badge {
        visibility: hidden;
    }

    .thanks .form__back {
        width: 100%;
        margin: 0 auto 60px;
    }

    main:has(.thanks) {
        min-height: calc(100dvh - 141px);
    }

    .confirm__heading,
    .thanks__heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

}