@charset "utf-8";

.mv {
    position: relative;
    width: 100%;
    height: 220px;
    background: url(../images/mv-sp.png) no-repeat center / cover;
    margin-bottom: 60px;
}

.mv img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(200px, 55vw, 300px);
    height: auto;
}

.mv h1,
.mv p {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -55%);
    margin: 0;
    font-weight: var(--font-bold);
    font-size: clamp(2.2rem, 2.6vw, 3.5rem);
}

.mv-head {
    margin-bottom: 5px;
    text-align: center;
    font-size: 2.5rem;
}

.mv-head img {
    display: block;
    width: 50px;
    margin: 0 auto 10px;
}


/**********************
company 会社案内
***********************/
.owner,
.staff,
.company {
    margin-bottom: 80px;
}

.owner-message p {
    margin-bottom: 20px;
}

.owner-name {
    font-family: 'Ackaisyo', serif;
    font-weight: 400;
    font-size: 2.5rem;
    font-weight: 300;
}

/* .staff-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 20px;
}

.staff-box {
    border-radius: var(--border-radius);
}

.staff-box img {
    border-radius: 10px 10px 0 0;
}

.staff-desc {
    padding-block: 20px;
    background: var(--color-main);
    border-radius: 0 0 10px 10px;
    text-align: center;
}

.staff-name {
    font-weight: var(--font-bold);
    font-size: 1.8rem;
} */

.company dl {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}

.company dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 22%;
    padding-block: 10px;
    border-top: 1px solid var(--color-base);
    font-weight: var(--font-bold);
    text-align: center;
}

.company dd {
    width: 73%;
    border-top: 1px solid var(--color-base);
    padding-block: 15px;
}

.company dd span {
    font-weight: var(--font-bold);
}

.company dt:last-of-type {
    border-bottom: 1px solid var(--color-base);
}

.company dd:last-of-type {
    border-bottom: 1px solid var(--color-base);
}

iframe {
    width: 100%;
}

.access {
    margin-bottom: -130px;
}



/**********************
home 事例一覧
***********************/
.project-search {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    font-size: 2rem;
}

.project-search::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -35px;
    width: 25px;
    height: 25px;
    transform: translateY(-50%);
    background: url(../images/serch_icon.svg) no-repeat center / contain;
}

.project-taxonomies .taxonomy-list {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 85%;
    margin: 30px auto 60px;
    text-align: center;
}

.project-taxonomies .taxonomy-list a {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding: 3px 15px;
    border: 1px solid var(--color-base);
    border-radius: 50px;
    font-weight: var(--font-bold);
    font-size: 1.1rem;
    transition: 0.3s;
}

.project-taxonomies .taxonomy-list a::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 2px solid var(--color-main);
    border-radius: inherit;
    opacity: 0;
    transition: opacity .3s;
}

.project-taxonomies .taxonomy-list li:hover a {
    border: 1px solid var(--color-main);
}

.project-taxonomies .taxonomy-list li:hover a::after {
    opacity: 1;
}

.project-taxonomies .taxonomy-list a.is-active {
    border: 1px solid var(--color-main);
}

.project-taxonomies .taxonomy-list a.is-active::after {
    opacity: 1;
}

.tag-mark {
    color: var(--color-main);
}

/**********************
project 事例個別
***********************/
.project .mv-head span {
    white-space: normal;
}

.project .tag-box {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: unset;
    margin: 30px auto 60px;
}

.project .tag-box .tag {
    width: fit-content;
    padding: 3px 10px;
    font-size: 1.4rem;
}

.beer-slider-container {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

.beer-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.beer-slider>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.beer-reveal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;

    --pos: 50%;
    -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
    clip-path: inset(0 calc(100% - var(--pos)) 0 0);

    will-change: clip-path;
}

.beer-reveal img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.beer-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    touch-action: none;
    pointer-events: auto;
}

.beer-handle::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: var(--color-main);
}

.beer-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 7;
}

.beer-arrows::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 15px;
    width: 10px;
    height: 10px;
    border-left: 3px solid var(--color-base);
    border-bottom: 3px solid var(--color-base);
    transform: translateY(-50%) rotate(45deg);
    border-radius: 1px;
}

.beer-arrows::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    border-right: 3px solid var(--color-base);
    border-bottom: 3px solid var(--color-base);
    transform: translateY(-50%) rotate(-45deg);
    border-radius: 1px;
}

.beer-slider[data-beer-label]::after,
.beer-reveal[data-beer-label]::after {
    content: attr(data-beer-label);
    position: absolute;
    top: 0;
    padding: 15px;
    font-size: 12px;
    font-weight: var(--font-bold);
    line-height: 1;
    border-radius: 0 0 10px 0;
    z-index: 5;
    pointer-events: none;
    letter-spacing: 0.1em;
}

.beer-slider[data-beer-label]::after {
    right: 0;
    left: auto;
    z-index: 0;
    border-radius: 0 0 0 10px;
    background: var(--color-main);
    color: var(--color-base);
}

.beer-reveal[data-beer-label]::after {
    left: 0;
    right: auto;
    background: var(--color-base);
    color: var(--color-white);
}

.project dl {
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
    margin-top: 60px;
}

.project dt {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20%;
    padding-block: 10px;
    border-top: 1px solid var(--color-base);
    font-weight: var(--font-bold);
    text-align: center;
}

.project dd {
    width: 78%;
    border-top: 1px solid var(--color-base);
    padding-block: 15px;
}

.project dd span {
    font-weight: var(--font-bold);
}

.project dt:last-of-type {
    border-bottom: 1px solid var(--color-base);
}

.project dd:last-of-type {
    border-bottom: 1px solid var(--color-base);
}

.voice-container {
    margin-top: 60px;
    border: 2px solid var(--color-base);
    border-radius: var(--border-radius);
}

.voice-head {
    position: relative;
    padding-block: 10px;
    font-weight: var(--font-bold);
    font-size: 1.8rem;
    text-align: center;
    border-radius: 10px 10px 0 0;
    border-bottom: 2px solid var(--color-base);
    background: #fff;
}

.manager .plan-icon {
    background: url(../images/plan_icon01.png) no-repeat center / contain;
}

.customer .plan-icon {
    background: url(../images/plan_icon02.png) no-repeat center / contain;
}

.manager .voice-head {
    background: var(--color-gray);
}

.customer .voice-head {
    background: var(--color-main);
}

.voice-container div {
    padding: 30px;
}

.voice-image {
    width: 85%;
    margin: 0 auto 20px;
}

.voice-image img {
    border-radius: var(--border-radius);
}


/**********************
feature 特長
***********************/
.mv-feature {
    margin-bottom: 0;
}

.feature-sub {
    margin-top: 60px;
}

.feature-contents .subtitle-black {
    background: var(--color-base);
    color: var(--color-white);
}

.feature-text ul li {
    position: relative;
}

.first-contents-b ul li {
    padding-left: 20px;
}

.first-contents-b ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background: url(../images/checkmark.svg) no-repeat center / contain;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff4b2;
    border-radius: var(--border-radius);
}

.feature-headLine {
    font-weight: var(--font-bold);
    font-size: 1.6rem;
}

.feature-boxImage {
    width: 25%;
}

.feature-boxDesc {
    white-space: nowrap;
}

.feature-gallary {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0 -15px 20px;
}

.feature-gallary img {
    width: calc((100% / 2) - 2px);
}

.flow-area {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: var(--font-bold);
    width: 80%;
    margin: 0 auto;
}

.flow-area img {
    width: 20%;
}

.traiangle {
    width: 0;
    height: 0;
    margin: 0 auto;
    border-style: solid;
    border-width: 16px 20px 0px 20px;
    border-color: var(--color-base) transparent;
}

.feature-box span {
    font-weight: var(--font-bold);
    font-size: 1.6rem;
}

.feature-image .btn-more {
    position: relative;
    transform: none;
    width: 100%;
    left: 0;
    margin: -20px auto 20px;
}

.feature-image .btn-more {
    font-size: 1.5rem;
}

.feature-image .btn-more::before {
    z-index: 1;
}

.third-contents-a .feature-image .btn-more {
    padding: 10px;
}


/**********************
plan プラン
***********************/
.insurance-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.insurance-text {
    margin-bottom: 20px
}

.insurance .btn-more {
    position: relative;
    left: 50%;
    bottom: -30px;
    width: fit-content;
}


/**********************
contact お問い合わせ
***********************/
.contact-form {
    font-weight: var(--font-bold);
}

.contact-sub {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    background: var(--color-main);
    border-radius: 50px;
    padding: 5px 20px;
}

.contact-sub::before {
    content: "";
    position: absolute;
    top: 99%;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px;
    border-color: var(--color-main) transparent transparent transparent;
}

.contact-text a {
    width: unset;
}

.contact-text {
    font-weight: var(--font-bold);
    text-align: center;
}

.contact-text p {
    margin-bottom: 15px;
}

.contact-text small {
    font-weight: 400;
}

.contact-form {
    margin-block: 40px;
}

.contact-form div {
    padding-block: 20px;
}

.contact-form p {
    border-top: 1px solid #dfdede;
    padding-block: 30px;
    font-weight: var(--font-bold);
}

.contact-form p:last-of-type {
    border: none;
}

.contact-form input:not([type="radio"], [type="checkbox"], [type="submit"]),
textarea {
    width: 100%;
    margin-block: 20px;
    background: #f7f7f7;
    border: 1px solid #f7f7f7;
    padding: 10px 20px;
    transition: 0.3s;
}

.contact-form .yes-required,
.contact-form .no-required {
    display: inline-block;
    margin-left: 8px;
    padding: 6px 6px 6px 8px;
    border-radius: 5px;
    color: var(--color-white);
    font-size: 1.25rem;
    line-height: 12px;
}

.contact-form .yes-required {
    background: var(--color-red);
}

.contact-form .no-required {
    background: #808080;
}

.contact-form .form-type-label {
    font-weight: var(--font-bold);
    white-space: nowrap;
}

.contact-form .form-type-options {
    display: flex;
    align-items: center;
}

.contact-form .radio,
.contact-form .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 10px;
    cursor: pointer;
}

.contact-form .check-area {
    text-align: center;
}

.contact-form .wpcf7-list-item {
    display: block;
    text-align: center;
    margin: 30px 0 0 0;
}

.wpcf7 input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.wpcf7 .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.wpcf7 .wpcf7-list-item-label {
    position: relative;
    padding-left: 30px;
}

.wpcf7 .wpcf7-list-item-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #aaa;
}

.wpcf7 .wpcf7-list-item-label::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-main);
    transform: translateY(-50%) scale(0);
    transition: transform .1s ease;
}

.wpcf7 input[type="radio"]:checked+.wpcf7-list-item-label::after {
    transform: translateY(-50%);
}

.js-open-privacy {
    width: unset;
}

.agree-text {
    cursor: pointer;
}

.agree-link {
    text-decoration: underline;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    padding-left: 10px;
}

.wpcf7-acceptance .wpcf7-list-item-label::before {
    display: none;
}

.contact-form input.wpcf7-submit {
    display: block;
    gap: 16px;
    width: 300px;
    height: 70px;
    margin: 30px auto 0;
    color: var(--color-white);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    background-image: url("../images/arrow-right.svg");
    background-repeat: no-repeat;
    background-position: right 24px center;
    background-size: 20px 20px;
}

.wpcf7-submit {
    background: #dcdcdc;
    cursor: not-allowed;
    transition: 0.3s;
}

.wpcf7-submit.active {
    background: var(--color-green);
    cursor: pointer;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    outline: none;
    border: 1px solid var(--color-red);
    box-sizing: border-box;
}

.wpcf7 form label.error {
    display: none;
}


/* modal */
.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 500px;
    padding: 20px;
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.modal-head {
    font-size: 1.6rem;
    font-weight: var(--font-bold);
    text-align: center;
}

.modal-body {
    height: calc(100% - 60px);
    overflow-y: auto;
    padding-right: 10px;
    overscroll-behavior: contain;
}

.modal-head,
.modal-lead,
.modal-list {
    margin-bottom: 10px;
}

.modal-list dt {
    font-size: 1.4rem;
    font-weight: var(--font-bold);
}

.modal-lead,
.modal-list dd {
    font-size: 1.2rem;
}

.modal-content li {
    list-style: none;
    position: relative;
    padding-left: 1em;
}

.modal-content li::before {
    content: "•";
    position: absolute;
    left: 0;
}

.modal .close {
    position: absolute;
    top: -5px;
    right: 20px;
    font-size: 45px;
    cursor: pointer;
}

body.is-modal-open {
    position: fixed;
    width: 100%;
    overflow: hidden;
    padding-right: var(--scrollbar-width);
}

/**********************
privacy プライバシーポリシー
***********************/
.privacy h1 {
    font-size: clamp(1.8rem, 2.6vw, 3rem);
}

/**********************
WP-Pagenavi css
***********************/
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.wp-pagenavi a {
    display: inline;
}

.wp-pagenavi .pages {
    display: none;
}

.wp-pagenavi .previouspostslink,
.wp-pagenavi .nextpostslink {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-inline: 10px;
    font-weight: var(--font-bold);
    background: var(--color-base);
    color: var(--color-white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wp-pagenavi .page {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-inline: 10px;
    font-weight: bold;
    border: 2px solid var(--color-base);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wp-pagenavi .current {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-inline: 10px;
    font-weight: bold;
    background-color: var(--color-main);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    font-size: 0;
    position: relative;
}

.wp-pagenavi .previouspostslink::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-left: 2px solid var(--color-white);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.wp-pagenavi .nextpostslink::after {
    content: "";
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-left: 2px solid var(--color-white);
    transform: translate(-50%, -50%) rotate(135deg);
}

.wp-pagenavi .current:hover,
.wp-pagenavi .page:hover,
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .nextpostslink:hover {
    transform: scale(1.1);
}

@media (min-width:480px) {
    .project-taxonomies .taxonomy-list a {
        font-size: 1.6rem;
    }

    .project .tag-box {
        width: 80%;
    }
}

@media (min-width:750px) {
    .mv {
        height: 300px;
        background: url(../images/mv-pc.png) no-repeat center / cover;
    }

    .mv-head {
        font-size: 3.5rem;
    }

    .mv-head img {
        width: 100px;
        margin: 0 auto 30px;
    }

    iframe {
        height: 600px;
    }

    .project .tag-box {
        margin-top: 60px;
    }

    .beer-slider-container {
        max-width: 1000px;
        width: unset;
        margin: 0 auto;
    }

    .beer-slider {
        width: 100%;
    }

    .third-contents-a .feature-image .btn-more {
        width: 80%;
        margin-top: -10px;
    }

    .third-contents-a .feature-image div {
        margin-bottom: 0;
    }

    .feature-gallary {
        margin: 0 -75px 20px;
    }

    .feature-box span,
    .feature-headLine {
        font-size: 1.8rem;
    }

    .insurance-image img {
        height: 300px;
    }

    .contact-sub {
        font-size: 2rem;
    }

    .contact-text {
        font-size: 1.8rem;
    }

    .contact-form p {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .contact-form label {
        padding-block: 10px;
    }

    .contact-form .wpcf7-form-control-wrap {
        width: 70%;
    }

    .contact-form .wpcf7-list-item {
        margin-top: 0;
    }

    .contact-form .wpcf7-form p:nth-of-type(7),
    .contact-form .wpcf7-form p:nth-of-type(8) {
        display: block;
        padding-block: 0;
    }

    .contact-form .wpcf7-form p:nth-of-type(7) {
        padding-block: 40px;
    }
}


@media (min-width:1024px) {
    .project-taxonomies .taxonomy-list {
        width: 50%;
    }

    .project .tag-box {
        width: 50%;
    }

    .voice-container {
        border-radius: 20px;
    }

    .voice-head {
        padding-block: 15px;
        border-radius: 20px 20px 0 0;
        font-size: 2rem;
    }

    .voice-container div {
        display: flex;
        flex-direction: row-reverse;
        gap: 20px;
    }

    .voice-image {
        width: 30%;
    }

    .voice-text {
        width: 65%;
        line-height: 1.8;
        font-size: 1.8rem;
    }

    .insurance-container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-areas:
            "text image"
            "button image";
        gap: 0 32px;
    }

    .insurance-text {
        grid-area: text;
        padding-bottom: 0;
    }

    .insurance-image {
        grid-area: image;
    }

    .insurance-image img {
        height: 150px;
    }

    .insurance .btn-more {
        grid-area: button;
        left: 0;
        bottom: 0;
        transform: none;
    }
}

@media (min-width:1200px) {
    .owner-name {
        font-size: 3rem;
    }

    .owner-message {
        line-height: 2;
    }

    /* .staff-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 55px 40px;
    } */

    .first-contents-a .feature-figure {
        margin-bottom: 50px;
    }

    .feature-contents .feature-chart {
        margin-top: -95px;
    }

    .feature-chart img {
        width: 90%;
    }

    .feature-sub .feature-contents:not(.second-contents-b) {
        display: flex;
        gap: 35px;
        margin-bottom: 35px;
    }

    .feature-text {
        width: 65%;
    }

    .first-contents-b ul li::before {
        top: 10px;
    }

    .feature-boxes {
        display: flex;
        gap: 15px;
        width: 100%;
    }

    .feature-box {
        flex-direction: column;
        width: calc(100% / 3);
        text-align: center;
    }

    .feature-boxImage {
        width: 40%;
    }

    .feature-gallary img {
        width: calc((100% / 4) - 3px);
    }

    .feature-flow {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .traiangle {
        transform: rotate(-90deg);
    }

    .feature-gallary {
        margin-inline: -30px;
    }

    .flow-area {
        justify-content: center;
        width: calc(100% / 4);
    }

    .flow-area img {
        width: 35%;
    }

    .modal {
        padding-top: 120px;
    }
}