
@charset "UTF-8";

/*------------------ご案内------------------*/
#c4+section+section .inner_item_img {
    position: relative;
}

#c4+section+section .inner_item_img:before {
    position: absolute;
    display: block;
    content: "";
    top: 0;
    right: 0;
    width: 100%;
    height: 10px;
    background: #2fb484;
    z-index: 5;
    transition: transform 1.5s cubic-bezier(0.8, 0, 0.2, 1) 0s;
    transform: scale(0, 1);
    transform-origin: right top;
    pointer-events: none;
}

#c4+section+section.trigger .inner_item_img:before {
    transform-origin: left top;
    transform: scale(1, 1);
}

#c4+section+section .inner_item_img:last-of-type a:before {
    background: #fbc700;
}

#c4+section+section .heading.block_header_2 .h {
    font-weight: 600;
}

#c4+section+section .inner_item_txt {
    max-width: 60%;
    margin: auto;
}

#c4+section+section .inner_item_txt p {
    font-size: 1.35rem;
    line-height: 2.2;
    letter-spacing: 0.05em;
}

@media screen and (max-width: 800px) {
    #c4+section+section .heading.block_header_2 .h {
        font-size: 2.5rem !important;
    }
}

/*------------------レイアウト変更------------------*/

/*TOP画像*/
a[id^="top_img"]+.contents_box01 img {
    width: 100vw !important;
    margin: 0 calc(50% - 50vw);
}

a[id^="top_img"]+.contents_box01 a {
    pointer-events: none;
}

/* スクロールフェードイン */
.js-fade {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s, transform 1s;
}

.fadeLeft {
    transform: translateX(-100%);
}

.fadeRight {
    transform: translateX(100%);
}

.scroll {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
}

a[id^="js-fade"]+.contents_box01 {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s, transform 1s;
}

#js-fadeLeft+.contents_box01 {
    transform: translateX(-100%);
}

#js-fadeRight+.contents_box01 {
    transform: translateX(100%);
}

/*吹き出しレイアウト*/
#talk+.contents_box01 {
    background: var(--i_main_color);
}

#talk+.contents_box01 .box {
    background: #fff;
    width: 80%;
    margin: 0 auto;
    padding: 30px;
    font-size: 2.8rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 120px;
}

#talk+.contents_box01 .box::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-right: 25px solid transparent;
    border-left: 25px solid transparent;
    border-top: 50px solid #ffffff;
    border-bottom: 0;
}

#talk+.contents_box01 .accent {
    color: var(--i_main_color);
}

@media screen and (max-width: 768px) {
    #talk+.contents_box01 .box {
        padding: 20px;
        margin-top: 100px;
    }

    #talk+.contents_box01 .box::after {
        bottom: -40px;
        border-right: 20px solid transparent;
        border-left: 20px solid transparent;
        border-top: 40px solid #ffffff;
    }

    #talk+.contents_box01 .box p {
        font-size: 2rem !important;
        line-height: 1.65;
        text-align: center;
    }
}

/*テーブル調整*/
#company_table+div {
    display: none;
}

#company_table+div table thead th {
    background-color: #fff;
}

#company_table+div table tbody tr:nth-child(odd) td {
    background-color: rgb(255 215 0 / 40%);
}

#company_table+div table thead tr th:nth-child(2),
#company_table+div table tbody tr td:nth-child(2) {
    position: relative;
}

#company_table+div table thead tr th:nth-child(2)>div,
#company_table+div table tbody tr td:nth-child(2)>div {
    z-index: 0;
    position: relative;
}

#company_table+div table thead tr th:nth-child(2):before,
#company_table+div table tbody tr td:nth-child(2):before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(255 215 0 / 40%);
}

/*ロゴができるまで*/
#flow+section {
    background-color: #F3F3F3;
    padding-inline: 25px;
    padding-block: 0;
    display: none;
}

#flow+section .content_wrapper {
    background-color: #fff000;
    padding-inline: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
}

@media screen and (max-width: 768px) {
    #flow+section {
        padding-inline: 16px;
    }

    #flow+section .content_wrapper {
        padding-inline: 25px;
    }
}

/*料金*/
#price+section {
    background-color: #F3F3F3;
    padding-inline: 25px;
    padding-block: 0;
    display: none;
}

#price+section .content_wrapper {
    background-color: #fff000;
    padding-inline: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
}

@media screen and (max-width: 768px) {
    #price+section {
        padding-inline: 16px;
    }

    #price+section .content_wrapper {
        padding-inline: 25px;
    }
}

/*お悩みございませんか？*/
#talk+.contents_box01 .box {
    margin-top: 80px;
    padding: 10px;
}

#talk+.contents_box01 .content_wrapper {
    background-color: #fff000;
    padding-top: 60px;
    padding-bottom: 80px;
}

#talk+.contents_box01 {
    background: #F3F3F3;
    padding-inline: 25px;
    display: none;
}

@media screen and (max-width: 768px) {
    #talk+.contents_box01 .box {
        padding: 20px;
    }

    #talk+.contents_box01 {
        padding-inline: 16px;
    }
}

/*ブログ記事*/
#blog+div {
    background-color: #F3F3F3;
    padding-inline: 25px;
    padding-block: 0;
}

#blog+div .content_wrapper {
    background-color: #fff;
    padding-inline: 25px;
    padding-top: 25px;
    padding-bottom: 25px;
}

@media screen and (max-width: 768px) {
    #blog+div {
        padding-inline: 16px;
    }

    #blog+div .content_wrapper {
        padding-inline: 25px;
    }
}

/*-- Dezart〈デザート〉---*/

#dez+section .inner_item_img img {
    max-width: 65px !important;
}

#dez+section .inner_item_txt {
    position: relative;
}

#dez+section .inner_item_txt p {
    font-family: "Kiwi Maru", serif !important;
    font-weight: 500;
    line-height: 2.3;
    padding: 45px 20px;
    box-sizing: border-box;
    position: relative;
}

#dez+section .inner_item_txt::before,
#dez+section .inner_item_txt::after,
#dez+section .inner_item_txt p::before,
#dez+section .inner_item_txt p::after {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    top: 0;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 70% 70%, 70% 0);
    background: var(--i_main_color);
    pointer-events: none;
}

#dez+section .inner_item_txt p::before {
    transform: rotateY(180deg);
    left: 0;
    top: auto;
    bottom: 0;
}

#dez+section .inner_item_txt p::after {
    right: 0;
    top: auto;
    bottom: 0;
}

#dez+section .inner_item_txt::before {
    transform: rotate(180deg);
    left: 0;
}

#dez+section .inner_item_txt::after {
    transform: rotateX(180deg);
    right: 0;
}

#dez+section .contents_btn01 .content_wrapper {
    position: relative;
    padding-top: 35px;
}

#dez+section .contents_btn01 .content_wrapper::before {
    position: absolute;
    display: block;
    content: "About _Dezart";
    text-align: center;
    width: 100%;
    top: 0;
    color: var(--i_main_color);
    pointer-events: none;
    font-weight: 500;
    font-family: "Kiwi Maru", serif !important;
}

@media screen and (max-width: 650px) {
    #dez+section {
        background-size: cover !important;
        padding-top: 50px;
    }
}

/*-- ギャラリー ---*/

#g+div .inner_item {
    width: 25%;
    margin: 0 !important;
    background: #717071;
    color: var(--i_bg_color);
    display: flex;
    flex-direction: column-reverse;
}

#g+div .inner_item:nth-of-type(2) {
    background: #7bb2db;
}

#g+div .inner_item:nth-of-type(3) {
    background: #c76199;
}

#g+div .inner_item:nth-of-type(4) {
    background: #1d5097;
}

#g+div .inner_item:nth-of-type(5) {
    background: #d23227;
}

#g+div .inner_item:nth-of-type(6) {
    background: #305f38;
}

#g+div .inner_item:nth-of-type(7) {
    background: #a58e6a;
}

#g+div .inner_item:nth-of-type(8) {
    background: #333333;
}

#g+div .inner_item:nth-of-type(9) {
    background: #b3b2b3;
}

#g+div .inner_item:nth-of-type(10) {
    background: #3f8343;
}

#g+div .inner_item:nth-of-type(11) {
    background: #922c29;
}

#g+div .inner_item:nth-of-type(12) {
    background: #1e2d54;
}

#g+div .inner_item:nth-of-type(13) {
    background: #71a651;
}

#g+div .inner_item:nth-of-type(14) {
    background: #513e22;
}

#g+div .inner_item:nth-of-type(15) {
    background: #92cae6;
}

#g+div .inner_item:nth-of-type(16) {
    background: #b19a58;
}

#g+div .inner_item:nth-of-type(17) {
    background: #e39238;
}

#g+div .inner_item:nth-of-type(18) {
    background: #1f5132;
}

#g+div .inner_item:nth-of-type(19) {
    background: #de7c36;
}

#g+div .inner_item:nth-of-type(20) {
    background: #4fa5dc;
}

#g+div .inner_item:nth-of-type(22) {
    background: #7bb2db;
}

#g+div .inner_item:nth-of-type(23) {
    background: #c76199;
}

#g+div .inner_item:nth-of-type(24) {
    background: #1d5097;
}

#g+div .inner_item:nth-of-type(25) {
    background: #d23227;
}

#g+div .heading.block_header_2 {
    padding: 5px 10px 30px !important;
}

#g+div .heading.block_header_2 .h,
#g+div .heading p,
#g+div .heading p+div {
    font-family: 'Noto Sans JP', sans-serif !important;
    font-weight: normal;
    letter-spacing: 0.1rem !important;
}

#g+div .heading.block_header_2 .h {
    font-size: 1.2rem !important;
}

#g+div .heading p {
    -webkit-line-clamp: none;
}

#g+div .heading p+div {
    font-size: 1.15rem;
    display: block;
}

@media screen and (max-width: 800px) {
    #g+div .inner_item {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    #g+div .heading.block_header_2 {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 8px 10px !important;
    }

    #g+div a {
        overflow: visible;
    }

    #g+div>.content_wrapper {
        padding: 0;
    }

    #g+div .wrapper_item .inner_item>a img {
        height: 40vw;
    }

    #g+div .heading.block_header_2 .h {
        padding-top: 0;
        line-height: 1.2;
    }

    #g+div .heading p {
        line-height: 1.3;
    }
}

/*-- Dezart6 つの特徴 ---*/

#feature+section .heading.block_header_1 {
    margin-bottom: 60px;
}

#feature+section .heading.block_header_1 .h {
    background: var(--i_main_color);
    color: var(--i_bg_color);
    border-radius: 50px;
    min-width: 120px;
    font-size: 1.9rem;
    letter-spacing: 0.2rem;
}

#feature+section .inner_item_img img {
    width: auto !important;
    height: auto !important;
}

#feature+section .heading.block_header_2 .h {
    font-size: 2.5rem;
    border-bottom: 1px solid var(--i_main_color);
    padding: 0 20px 10px;
}

#feature+section .heading.block_header_2 .h::before {
    display: none;
}

#feature+section .inner_item_txt p {
    font-family: "Kiwi Maru", serif !important;
}

#feature+section .inner_item_txt p:first-of-type {
    padding-top: 30px;
}

#feature+section .inner_item_txt p span {
    color: var(--i_main_color);
    font-size: 1.4rem;
    text-align: left;
    display: inline-block;
    line-height: 1.6;
    padding-top: 20px;
}

#feature+section .inner_item_txt {
    position: relative;
    max-width: 950px;
    margin: 0 auto;
    padding: 45px 10px !important;
}

#feature+section .inner_item_txt::before,
#feature+section .inner_item_txt::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

#feature+section .inner_item_txt::before {
    background: url("/common/upload_data/logodesign-dezartcom/image/tl.png"), url("/common/upload_data/logodesign-dezartcom/image/tr.png");
    background-repeat: no-repeat;
    background-position: top left, top right;
}

#feature+section .inner_item_txt::after {
    background: url("/common/upload_data/logodesign-dezartcom/image/bl.png"), url("/common/upload_data/logodesign-dezartcom/image/br.png");
    background-repeat: no-repeat;
    background-position: bottom left, bottom right;
}

@media screen and (max-width: 480px) {
    #feature+section .heading.block_header_1 {
        margin-bottom: 30px;
    }

    #feature+section .inner_item_img img {
        max-width: 84px !important;
    }
}

#f_hd+section {
    padding-top: 120px;
}

#f_hd+section::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: var(--i_bg_color);
    pointer-events: none;
    border-radius: 50% / 0 0 100% 100%;
}

#f_hd+section .h {
    border-bottom: 3px solid var(--i_main_color);
    padding: 0 6%;
}

#f_hd+section .block_header_6 {
    padding-bottom: 22px;
}

#f_hd+section .block_header_6::before {
    position: absolute;
    display: block;
    content: "";
    width: 28px;
    height: 22px;
    bottom: 0;
    left: calc(50% - 14px);
    background: var(--i_main_color);
    pointer-events: none;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

@media screen and (max-width: 800px) {
    #f_hd+section {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    #f_hd+section::before {
        border-radius: 50% / 0 0 50% 50%;
    }

    #f_hd+section .h {
        font-size: 2.5rem !important;
    }
}

/*-- staff ---*/

#staff+section .wrapper_item {
    align-items: inherit;
}

#staff+section .inner_item_txt {
    background: var(--i_bg_color);
    padding: 65px 3% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#staff+section .inner_item_txt>p {
    font-family: "Kiwi Maru", serif !important;
    font-size: 1.45rem;
}

/*-- お問い合わせボタン ---*/

#cta+section .inner_item_img {
    margin-bottom: 0;
}

#cta+section .inner_item_img img {
    width: auto !important;
    height: auto !important;
}

#cta+section .contents_btn01 a {
    border: 2px solid var(--i_bg_color);
    background: var(--i_bg_color);
    min-width: auto;
    max-width: 780px;
    width: 90% !important;
    border-radius: 10px;
    color: var(--i_main_color) !important;
    box-shadow: 3px 3px 5px #00108C;
}

#cta+section .contents_btn01 a span {
    font-size: 1.8rem;
    padding: 8px 10px 10px;
}

#cta+section .inner_item_txt {
    display: flex;
    flex-direction: column-reverse;
    max-width: 880px;
    margin: 0 auto;
    padding: 10px 10px !important;
    position: relative;
}

#cta+section .inner_item_txt::before,
#cta+section .inner_item_txt::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-size: 30px !important;
    pointer-events: none;
}

#cta+section .inner_item_txt::before {
    background: url("/common/upload_data/logodesign-dezartcom/image/tl.png"), url("/common/upload_data/logodesign-dezartcom/image/tr.png");
    background-repeat: no-repeat;
    background-position: top left, top right;
}

#cta+section .inner_item_txt::after {
    background: url("/common/upload_data/logodesign-dezartcom/image/bl.png"), url("/common/upload_data/logodesign-dezartcom/image/br.png");
    background-repeat: no-repeat;
    background-position: bottom left, bottom right;
}

#cta+section .inner_item_txt>p {
    color: var(--i_bg_color);
    padding-top: 5px;
}

#cta+section .inner_item_txt>p a {
    position: relative;
    padding-left: 25px;
    text-decoration: none !important;
    transition: .4s ease-in-out;
}

#cta+section .inner_item_txt>p a::before {
    position: absolute;
    display: block;
    content: "→";
    top: -.3rem;
    left: 0;
    color: var(--i_bg_color);
    pointer-events: none;
}

#cta+section .contents_btn01 a:hover,
#cta+section .inner_item_txt>p a:hover {
    opacity: 0.7;
}

@media screen and (max-width: 480px) {
    #cta+section .inner_item_img img {
        max-width: 60px !important;
    }
}

/*-- ブログ ---*/

#b+.block_news_1 .heading.block_header_6 .h {
    padding-left: 40px;
}

#b+.block_news_1 .heading.block_header_6 .h::before {
    position: absolute;
    display: block;
    content: "";
    width: 20px;
    height: 10px;
    top: calc(50% - 5px);
    left: 0;
    clip-path: polygon(100% 50%, 0 0, 0 100%);
    background: var(--i_main_color);
    pointer-events: none;
}

#b+.block_news_1.add_design5 .content_wrapper li a span img {
    object-fit: contain;
}

#b+.block_news_1 .content_wrapper li a p {
    font-family: "Kiwi Maru", serif !important;
}

#b+.block_news_1 ul {
    min-width: auto;
    width: 100%;
}

#b+.block_news_1>.content_wrapper {
    display: grid;
}

#b+.block_news_1 ul {
    grid-row: 2 / 2;
    grid-column: 1 / 3;
    margin-top: 25px;
}

#b+.block_news_1 .contents_btn01 {
    grid-row: 1 / 2;
    grid-column: 2 / 3;
    padding: 0;
    display: grid;
    place-content: center flex-end;
}

#b+.block_news_1 .contents_btn01 a {
    border-radius: 0;
    border: 0;
    border-bottom: 2px solid var(--i_main_color);
}

#b+.block_news_1 .contents_btn01 a span {
    text-align: left;
}

#b+.block_news_1 .heading.block_header_6 {
    margin-bottom: 0;
}

#b+.block_news_1 .content_wrapper li a {
    padding-right: 20px;
}

#b+.block_news_1 .content_wrapper li a::before {
    position: absolute;
    display: block;
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--i_main_color);
    border-top: 2px solid var(--i_main_color);
    top: calc(50% - 5px);
    right: 0;
    pointer-events: none;
    transform: rotate(45deg);
}

@media screen and (min-width: 801px) {
    #b+.block_news_1 .heading.block_header_6 .h {
        font-size: 3.3rem !important;
    }
}

@media screen and (max-width: 650px) {
    #b+.block_news_1>.content_wrapper {
        display: block;
    }

    #b+.block_news_1 .contents_btn01 {
        margin-top: 20px;
        place-content: center;
    }

    #b+.block_news_1 .contents_btn01 a span {
        text-align: center;
    }

    #b+.block_news_1 .heading.block_header_6 {
        align-items: center;
    }

    #b+.block_news_1 .heading.block_header_6 .h {
        padding-left: 0;
        padding-top: 20px;
    }

    #b+.block_news_1 .heading.block_header_6 .h::before {
        top: 0;
        left: calc(50% - 10px);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
    }
}

/*---- テキスト調整 ----*/

@media screen and (max-width: 480px) {
    #feature+section .inner_item_txt p span {
        text-align: center;
    }
}

/*---- 余白調整 ----*/

@media screen and (max-width: 480px) {

    #dez+section .inner_item_txt p,
    #feature+section .inner_item_txt,
    #staff+section .inner_item_txt {
        padding: 45px 59px !important;
    }
}