@charset "UTF-8";

a[id^="grid"] + div .heading.block_header_2 .h:before{
    top: 0.35em !important;
}
a[id^="grid"] + div .heading.block_header_2 p{
    font-size: 1.7rem;
}
a[id^="grid"] + .widget_gallery01 > .content_wrapper {
    display: grid;
    grid-template-columns: 35% 60%;
    align-items: center;
    justify-content: space-between;
}
a[id^="grid"] + .widget_gallery01 .content_wrapper > .heading {
    grid-row: 1;
    grid-column: 1;
}
a[id^="grid"] + .widget_gallery01 .content_wrapper > .add_text {
    grid-row: 2;
    grid-column: 1;
    font-size: 95%;
    text-align: left;
}
/*---------------------------------------
a[id^="grid"] + .widget_gallery01 .content_wrapper > ul {
    grid-row: 1/4;
    grid-column: 2;
    min-width: 0;
    width: 100%;
}
---------------------------------------*/

a[id^="grid"] + .widget_gallery01.add_design3 .wrapper_item {
    grid-row: 1 / 4;
    grid-column: 2;
    min-width: 0;
    width: 100%;
}

a[id^="grid"] + .widget_gallery01 .content_wrapper > .contents_btn01 {
    grid-row: 3;
    grid-column: 1;
    padding-top: 0;
    padding-left: 0;
}
a[id^="grid"] + .widget_gallery01 li a {
    padding: 15px 0;
}
a[id^="grid"] + .widget_gallery01 ul > li {
    border: none!important;
}
#grid2 + .widget_gallery01 ul > li {
    border: none!important;
    background: var(--i_sub2_color);
    padding: 0 20px;
    margin-bottom: 20px;
	border-radius: 15px;
}
a[id^="grid"] + .widget_gallery01 ul > li:last-of-type {
    margin-bottom: 0;
}

/* hover時矢印move */
a[id^="grid"] + .widget_gallery01 li a > * {
    padding-left: 30px
}
a[id^="grid"] + .widget_gallery01 li > p::before,
a[id^="grid"] + .widget_gallery01 li a > p::before {
    transition: 0.2s;
}
a[id^="grid"] + .widget_gallery01 li > a:hover p::before,
a[id^="grid"] + .widget_gallery01 li a:hover > p::before {
    left: 10px;
}

a[id^="grid"] + .widget_gallery01.add_design3 .wrapper_item .inner_item>a img {
    height: auto;
}

@media screen and (min-width: 651px) {
    a[id^="grid"] + .widget_gallery01 .content_wrapper {
        text-align: center;
    }
	#grid1+div .content_wrapper ul>li {
	    width: 31.5%;
	}
}

@media screen and (max-width: 650px) {
    a[id^="grid"] + .widget_gallery01.add_design3 .wrapper_item .inner_item {
    width: 48%;
}

    a[id^="grid"] +.widget_gallery01.add_design3 .wrapper_item .inner_item:nth-of-type(3n+2) {
    margin-left: 4%;
}
}

@media screen and (max-width: 650px) {
    a[id^="grid"] + .widget_gallery01 > .content_wrapper {
        display: block;
    }
    a[id^="grid"] + .widget_gallery01 .content_wrapper > .contents_btn01 {
        padding-top: 30px;
        padding-left: 8px;
    }

    a[id^="grid"] + .widget_gallery01 .content_wrapper > .contents_btn01 a {
        min-width: 200px;
    }
	a[id^="grid"] + div .heading.block_header_2 .h:before{
	    top: 0.4em !important;
	}
	a[id^="grid"] + div .heading.block_header_2 p{
	    font-size: 1.5rem;
	}
}
