@charset "UTF-8";
/* CSS Document */

#ct-hd {
  display: none;
}
.content-wrap:not(.home) {
  padding-top: 0;
}
.content-wrap {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#history {
    color: #804E20;
    background: #FFFAFA;
}
#history .title {
    text-align: center;
    margin-bottom: 64px;
}
#history .title_en {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #F58BAB;
    margin-bottom: 4px;
}
#history .title_ja {
    font-size: 32px;
    font-weight: 700;
}

#history .mainvisual {
    background: top / cover no-repeat url(/wp-content/themes/dp-clarity-business/img/about/bg.jpg);
}
#history .mainvisual .inner {
    position: relative;
    display: flex;
    width: min(94%,1120px);
    padding: 120px 0 160px;
    margin: 0 auto;
}
#history .mainvisual .title {
    text-align: left;
    margin-bottom: 0;
}
#history .mainvisual .title h1 {
    font-size: 40px;
}
#history .mainvisual img {
    position: absolute;
    width: 30%;
    z-index: 3;
    right: 0;
    bottom: 20px;
}

#history .lead {
    position: relative;
    z-index: 2;
    background: #FFFAFA;
    padding: 120px 0;
    border-radius: 48px 48px 0 0;
    margin-top: -40px;
}
#history .lead p {
    width: min(94%,1120px);
    text-align: center;
    line-height: 2;
    margin: 0 auto;
}

#history .process {
    margin-bottom: 120px;
}
#history .process .process__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: min(94%,900px);
    margin: 0 auto;
}
#history .process .process__item {
    display: flex;
    align-items: center;
    gap: 3%;
    background: #fff;
    padding: 32px 3%;
    border: solid 1px #F58BAB;
    border-radius: 100px;
    margin: 0;
    position: relative;
    overflow: hidden;
}
#history .process .process__item .num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    font-size: 32px;
    color: #fff;
    background: #F58BAB;
    border-radius: 50px;
    aspect-ratio: 1 / 1;
}
#history .process .process__item h3 {
    font-size: 24px;
    font-weight: 600;
}
#history .process .process__item p {
    line-height: 2;
}
#history .process .process__item img {
    position: absolute;
    right: 56px;
    bottom: 0;
    width: 60px;
}

#history .history {
    background: #FEF2F5;
    padding: 120px 0;
}
#history .history .inner {
    width: min(94%,1120px);
    margin: 0 auto;
}
#history .history .category {
    display: flex;
    align-items: center;
    gap: 56px;
    padding-bottom: 24px;
    border-bottom: solid 1px #FFCADA;
    margin-bottom: 80px;
}
#history .history .category p {
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}
#history .history .category .category__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
#history .history .category button,
#history .history .history__card .history__tags li {
    color: #F58BAB;
    line-height: 1.5;
    background: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    border: solid 1px #F58BAB;
    cursor: pointer;
}
#history .history .category button.is-active {
    color: #fff;
    background: #F58BAB;
}
#history .history .history__item.is-hidden {
    display: none;
}
#history .history .history__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
#history .history .history__item {
    display: flex;
    gap: 5%;
}
#history .history .history__date {
    position: relative;
    display: flex;
    align-items: baseline;
    flex-shrink: 0;
    width: 220px;
    font-weight: 600;
    white-space: nowrap;
    padding-left: 56px;
}
#history .history .history__date::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: solid 4px #F58BAB;
    border-radius: 64px;
}
#history .history .history__date::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 13px;
    height: calc(100% - 64px);
    width: 2px;
    background: #FFCADA;
}
#history .history .history__item:not(:has(~ .history__item:not(.is-hidden))) .history__date::after {
    display: none;
}
#history .history .history__date span {
    font-size: 32px;
}
#history .history .history__card {
    width: 100%;
    background: #fff;
    padding: 32px 3%;
    border: solid 1px #F58BAB;
    border-radius: 16px;
}
#history .history .history__card .history__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}
#history .history .history__card .history__tags li {
    cursor: inherit;
    width: fit-content;
}
#history .history .history__card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 32px;
}
#history .history .history__card .history__text:has(+ .history__text) {
    margin-bottom: 32px;
}
#history .history .history__card .history__label {
    display: inline-block;
    color: #fff;
    line-height: 1.5;
    background: #F58BAB;
    padding: 4px 16px;
    border-radius: 50px;
    border: solid 1px #F58BAB;
    margin-bottom: 8px;
}
#history .history .history__card .history__text p {
    line-height: 2;
}

#history .support {
    padding: 120px 0;
}
#history .support .inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: min(94%,1120px);
    margin: 0 auto;
}
#history .support .support__card {
    position: relative;
    text-align: center;
    background: #fff;
    padding: 64px 3%;
    border-radius: 32px;
}
#history .support .support__card .title {
    margin-bottom: 32px;
}
#history .support .support__text {
    line-height: 2;
    margin-bottom: 40px;
}
#history .support .support__btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.5;
    background: #F58BAB;
    padding: 12px 12px 12px 24px;
    border-radius: 50px;
    transition: opacity .3s;
}
#history .support .support__btn::after {
    content: "";
    width: 36px;
    height: 36px;
    background: #fff center / 14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%23F58BAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 11 3M5 3h6v6'/%3E%3C/svg%3E");
    border-radius: 50px;
}
#history .support .support__btn:hover {
    opacity: .7;
}
#history .support .support__dog {
    position: absolute;
    right: 24px;
    bottom: -16px;
    width: 80px;
}

@media(max-width:1024px) {
    .content {
        margin-bottom: 0;
    }
}


@media(max-width:768px) {
    .content {
        padding: 30px 0 0;
    }
    #dp_breadcrumb_nav {
        margin: -30px 0 0 !important;
    }

    #history {
        font-size: 14px;
    }
    #history .title {
        margin-bottom: 40px;
    }
    #history .title_en {
        font-size: 14px;
    }
    #history .title_ja {
        font-size: 24px;
    }
    #history .title_ja span {
        display: inline-block;
    }

    #history .mainvisual .inner {
        padding: 40px 0;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    #history .mainvisual .title {
        text-align: center;
    }
    #history .mainvisual .title h1 {
        font-size: 32px;
    }
    #history .mainvisual img {
        position: initial;
        width: 160px;
    }

    #history .lead {
        padding: 48px 0 64px;
        border-radius: 24px 24px 0 0;
        margin-top: -56px;
    }
    #history .lead p span {
        display: inline-block;
    }

    #history .process {
        margin-bottom: 64px;
    }
    #history .process .title {
        margin-bottom: 48px;
    }
    #history .process .process__list {
        gap: 32px;
    }
    #history .process .process__item {
        position: relative;
        justify-content: center;
        padding: 32px 16px 16px;
        border-radius: 16px;
        overflow: initial;
    }
    #history .process .process__item .num {
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        font-size: 24px;
    }
    #history .process .process__item h3 {
        font-size: 18px;
        text-align: center;
        margin-bottom: 8px;
    }
    #history .process .process__item img {
        display: none;
    }

    #history .history {
        padding: 64px 0;
    }

    #history .support {
        padding: 64px 0;
    }
    #history .support .inner {
        gap: 24px;
    }
    #history .support .support__card {
        padding: 40px 16px;
        border-radius: 16px;
    }
    #history .support .support__card .title {
        margin-bottom: 24px;
    }
    #history .support .support__text {
        margin-bottom: 32px;
    }
    #history .support .support__text span {
        display: inline-block;
    }
    #history .support .support__btn {
        font-size: 16px;
        padding: 12px 12px 12px 24px;
    }
    #history .support .support__btn::after {
        width: 32px;
        height: 32px;
    }
    #history .support .support__dog {
        right: 8px;
        width: 48px;
    }
}

@media(max-width:500px) {
    #history .lead p {
        text-align: left;
    }
    #history .lead p span {
        display: inline;
    }

    #history .history .category {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 40px;
    }
    #history .history .category p {
        font-size: 18px;
    }
    #history .history .category .category__list {
        gap: 8px;
    }
    #history .history .history__item {
        flex-direction: column;
        gap: 16px;
    }
    #history .history .history__date {
        width: 100%;
        padding-left: 40px;
    }
    #history .history .history__date::before {
        top: 6px;
        width: 16px;
        height: 16px;
    }
    #history .history .history__date::after {
        display: none;
    }
    #history .history .history__date span {
        font-size: 24px;
    }
    #history .history .history__card {
        position: relative;
        width: 90%;
        padding: 24px 16px;
        margin-left: auto;
    }
    #history .history .history__card::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: -7vw;
        height: 100%;
        width: 2px;
        background: #FFCADA;
    }
    #history .history .history__item:not(:has(~ .history__item:not(.is-hidden))) .history__card::before {
        display: none;
    }
    #history .history .history__card .history__tags {
        margin-bottom: 8px;
    }
    #history .history .history__card h3 {
        font-size: 18px;
        margin-bottom: 24px;
    }
    #history .history .history__card .history__text:has(+ .history__text) {
        margin-bottom: 24px;
    }
    
    #history .support .support__text {
        text-align: left;
    }
    #history .support .support__text span {
        display: inline;
    }
}