@charset "UTF-8";

/*---------------------------------

common

---------------------------------*/

body, main {
    background-color: #F1EFEC;
}
main {
    margin-bottom: 500px;
}
.section-title {
    font-size: 40px;
}

@media (max-width: 1023px) {

    main {
        margin-bottom: 90px;
    }

}
@media (max-width: 767px) {

    main {
        margin-bottom: 40px;
    }
    .section-title {
        font-size: 24px;
    }
    .rv-badge-text {
        padding: 1em 2em;
        font-size: 10px;
    }

}

/*---------------------------------

header

---------------------------------*/

.header-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-logo img:first-child {
    width: 240px;
}
.header-logo img:last-child {
    width: 70px;
}
.menu-list-item .menu-list-item-text {
    font-size: 24px;
}
.menu-list-item .menu-list-item-text:hover {
    color: rgb(18 216 204 / var(--tw-text-opacity, 1));
}

@media (max-width: 767px) {

    .header-logo {
        gap: 10px;
    }
    .header-logo img:first-child {
        width: 160px;
    }
    .header-logo img:last-child {
        width: 50px;
    }
    .menu-list-item .menu-list-item-text {
        font-size: 20px;
    }

}


/*---------------------------------

footer

---------------------------------*/

.footer-info-text {
    font-size: 18px;
}
.footer-info-text02 {
    padding-left: 1em;
    font-size: 14px;
}
.footer-text {
    transform: translate(-50%, 0%);
    font-size: min(170px, 8.8vw);
    line-height: 1;
}

@media (max-width: 767px) {

    .footer-info-text {
        font-size: 16px;
    }
    .footer-info-text02 {
        font-size: 12px;
    }
    .footer-text {
        transform: translate(-50%, -4%);
        font-size: min(170px, 8.6vw);
    }

}


/*---------------------------------

modal

---------------------------------*/

.cm-modal {
	display: none;
	position: fixed;
    inset: 0;
    z-index: 10000;
}
.cm-modal.is-open {
    display: grid;
	place-items: center;
}
.cm-modal__overlay {
    position: absolute;
    inset: 0;
    background-color: rgb(0 0 0 / 0.6);
}
.cm-modal__container {
	position: relative;
    z-index: 2;
	width: 90%;
    max-width: 750px;
    max-height: 80vh;
    padding: 60px 40px 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background-color: #fff;
}
.cm-modal__button {
	position: absolute;
    top: 20px;
	right: 20px;
    z-index: 3;
	width: 35px;
    height: 35px;
	cursor: pointer;
}
.cm-modal__button::before,
.cm-modal__button::after {
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 2px;
    background-color: #000;
    content: "";
}
.cm-modal__button::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.cm-modal__button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.cm-modal__title {
    font-size: 30px;
    margin-bottom: 50px;
    text-align: center;
}
.cm-modal__content p {
    font-size: 16px;
}
.cm-modal__img {
    margin: 30px 0;
}
.cm-modal__button-item {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 767px) {

    .cm-modal__container {
        padding: 60px 20px 40px;
    }
    .cm-modal__button {
        width: 30px;
        height: 30px;
    }
    .cm-modal__button::before,
    .cm-modal__button::after {
        width: 30px;
    }
    .cm-modal__title {
        font-size: 24px;
        margin-bottom: 50px;
    }

}


/*---------------------------------

hero

---------------------------------*/

#hero {
    position: relative;
    z-index: 1;
}
#hero h1 {
    font-size: 60px;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
#hero-gradient-wrapper {
    opacity: 0.6;
}
#hero figure {
    aspect-ratio: 79 / 110;
    width: 350px !important;
    height: auto !important;
}
#hero figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#hero .reveal-text-2 .word:first-child {
    font-size: 22px;
    font-weight: bold;
}
#hero .hero-sp-slider {
    display: none;
}

@media (max-width: 767px) {

    #hero {
        overflow: hidden;
    }
    #hero h1 {
        font-size: 30px;
    }
    #hero .reveal-text-2 .word:first-child {
        font-size: 18px;
    }
    .is-scrolling .marquee-inner {
        animation-play-state: paused;
    }
    #skew-Marquee {
        display: none;
    }
    #hero .hero-sp-slider-wrap {
        margin: 50px -0.75rem;
    }
    #hero .hero-sp-slider {
        display: block;
    }
    #hero .hero-sp-slider-inner {
        transform: none;
    }
    #hero .hero-sp-slider .img {
        transform: skew(7deg);
    }
    #hero .hero-sp-slider figure {
        width: 250px !important;

    }

}


/*---------------------------------

services

---------------------------------*/

#services .bg-image {
    opacity: 0.5;
    top: 60%;
}
#services .bg-image img {
    width: 100%;
    aspect-ratio: 283 / 329;
    margin: 0 auto;
}
#services .accordion-itemV5 h3 {
    display: grid;
    grid-template-columns: 320px 1fr;
    font-size: 24px;
}
#services .accordion-itemV5 h3 p {
    padding-right: 20px;
    font-size: 18px;
}
#services .accordion-itemV5 .accordion-header-iconV5 {
    flex-shrink: 0;
}
#services .accordion-body-grid {
    display: grid;
    grid-template-columns: 32% 1fr;
    gap: 60px;
}
#services .accordion-body-grid p {
    margin-bottom: 10px;
    font-size: 17px;
}
#services .accordion-body-grid ul {
    list-style: none;
    margin-bottom: 10px;
}
#services .accordion-body-grid ul li {
    display: grid;
    grid-template-columns: auto 1fr;
}
#services .accordion-body-grid ul li::before {
    content: "・";
    font-size: 1em;
    font-weight: bold;
    line-height: inherit;
}
#services .accordion-body-contents {
    margin-top: 10px;
}
#services .accordion-body-contents p {
    margin-bottom: 10px;
    font-size: 16px;
}
#services .accordion-body-contents .imgs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
@media (max-width: 1023px) {

    #services .accordion-itemV5 h3 {
        grid-template-columns: 240px 1fr;
    }
    #services .accordion-body-grid {
        gap: 40px;
    }

}
@media (max-width: 767px) {

    #services .bg-image {
        top: 55%;
        width: 100%;
    }
    #services .accordion-itemV5 {
        padding-bottom: 20px !important;
    }
    #services .accordion-itemV5 h3 {
        display: flex;
    }
    #services .accordion-itemV5 h3 span {
        font-size: 20px;
    }
    #services .accordion-itemV5 h3 p {
        font-size: 14px;
    }
    #services .accordion-body {
        padding: 0 20px;
    }
    #services .accordion-body-grid {
        display: block;
    }
    #services .accordion-body-grid figure {
        margin-bottom: 30px;
    }
    #services .accordion-body-grid p {
        font-size: 14px;
    }
    #services .accordion-body-grid ul li {
        font-size: 14px;
    }
    #services .accordion-body-contents p {
        font-size: 14px;
    }
    #services .accordion-body-contents .imgs {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

}


/*---------------------------------

    works

---------------------------------*/

#works {
    position: relative;
    z-index: 1;
}
.works-text {
    font-size: 16px;
}
.works-item > div {
    padding: 10px;
}
.works-item h3 {
    margin-top: 10px;
    font-size: 18px;
}
.works-item figure {
    aspect-ratio: 292 / 376;
}
.works-item figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#works button:not(.cm-modal__button):hover {
    background-color: #000;
}
#works button:not(.cm-modal__button):hover .stroke-secondary {
    stroke: #FFF;
}
#works .cm-modal__img {
    text-align: center;
}
#works .cm-modal__img img {
    width: 100%;
}
@media (max-width: 767px) {

    #works .cardSwiper {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }

}


/*---------------------------------

company

---------------------------------*/

.company-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    padding: 70px;
    margin-bottom: 100px;
    background-color: rgb(255 255 255 / 0.5);
}
.company-table div {
    display: grid;
    grid-template-columns: 130px 1fr;
    column-gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #DDDBD9;
}
#company .our-team-details h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
#company .our-team-details h3 + p {
    font-size: 16px;
    line-height: 1.4;
}
.company-text {
    font-size: 16px;
    line-height: 1.6;
}
.company-table a {
    font-size: 16px;
    font-weight: 400;
}
.company-table a:not([href^="tel:"]) {
    text-decoration: underline;
}
.company-table .map {
    margin-left: 10px;
}
.company-table .map::after {
    display: inline-block;
    width: 10px;
    aspect-ratio: 10 / 12;
    margin-left: 4px;
    background-image: url(../images/icon_map.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    content: "";
}

@media (max-width: 1023px) {

    .company-table {
        grid-template-columns: 1fr;
        gap: 0;
    }

}
@media (max-width: 767px) {

    .company-table {
        padding: 30px;
    }
    .company-table div {
        display: block;
    }
    .company-table div dt {
        margin-bottom: 10px;
    }

}


/*---------------------------------

recruit

---------------------------------*/

#recruit .bg-image {
    opacity: 0.5;
    filter: blur(15px);
}
.recruit-item .rv-badge-text {
    padding: 0.8em 1.6em;
}
.recruit-item h3 {
    line-height: 1.3;
}
.recruit-item p {
    font-size: 16px;
}

@media (max-width: 767px) {

    #recruit .bg-image {
        top: 500px;
        width: 100%;
    }
    .recruit-item h3 {
        font-size: 22px;
    }
    .recruit-item button {
        margin: 0 auto;
    }
    .recruit-item .rv-button-top {
        padding: 16px;
        font-size: 14px;
    }

}


/*---------------------------------

gallery

---------------------------------*/

#gallery figure:nth-child(2) img {
    top: 57px;
}
@media (max-width: 1023px) {

    #gallery figure:nth-child(2) img {
        top: 45px;
    }
    #gallery figure:nth-child(3) img {
        bottom: 20px;
    }

}
@media (max-width: 767px) {

    #gallery {
        padding-bottom: 0;
    }
    #gallery .grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    #gallery figure:nth-child(2) img {
        position: absolute;
        top: 16px;
    }
    #gallery figure:nth-child(3) img {
        position: absolute;
        bottom: 6px;
    }

}


/*---------------------------------

contact

---------------------------------*/

.contact-item {
    width: 100%;
    height: 100%;
    text-align: center;
}
.contact-item > .flex {
    flex-direction: column;
}
.contact-item .rv-badge {
    margin-bottom: 40px;
}
.contact-item .rv-badge-text {
    width: 100px;
    padding: 0.8em 1.6em;
}
.contact-item-text02 {
    font-size: 14px;
}
.contact-item-tel {
    margin: 20px 0;
}
.contact-item-tel a {
    font-size: 40px;
    font-weight: normal;
}
.contact-item-button {
    margin: 10px 0;
}
.contact-item-button .rv-button .rv-button-top {
    min-width: 240px;
    padding: 20px;
    font-size: 16px;
}

@media (max-width: 767px) {

    .contact-item .rv-badge-text {
        width: 70px;
        padding: 0.5em 1.5em;
    }
    .contact-item-tel a {
        font-size: 30px;
    }
    .contact-item-button .rv-button .rv-button-top {
        min-width: 200px;
        padding: 16px;
        font-size: 14px;
    }

}
