/* --------------------
 Trimming
-------------------- */
.com-page-head {
    background-image: url(../../images/pages/service/trimming/trimming-page-head-bg-sp.webp);
}

@media (min-width: 768px) {
    .com-page-head {
    background-image: url(../../images/pages/service/trimming/trimming-page-head-bg.webp);
}

}

.trimming {
    overflow: hidden;
}

.trimming-container {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .trimming-container {
        padding: 0 30px;
    }
}

.trimming__flow {
    margin: 60px 0;
}

@media (min-width: 768px) {
    .trimming__flow {
        margin: 70px 0;
    }
}

.trimming__flow__title {
    font-size: var(--fs16);
    font-weight: 700;
    letter-spacing: 0.125em;
    line-height: 1.4;
    margin: 0 0 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .trimming__flow__title {
        margin: 0 0 60px;
    }
}

.trimming__flow__title span {
    background: linear-gradient(to top, #ffec00 4px, rgba(255, 236, 0, 0) 4px, transparent 100%);
    background-position: center calc(100% - 2px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-style: normal;
    font-weight: inherit;
}

.trimming__flow__item-wrapper {
    align-items: flex-start;
    display: flex;
    flex-flow: row wrap;
    gap: 30px 38px;
    justify-content: center;
}

@media (min-width: 768px) {
    .trimming__flow__item-wrapper {
        gap: 50px;
    }
}

.trimming__flow__item {
    position: relative;
    width: calc(50% - 19px);
}

@media (min-width: 768px) {
    .trimming__flow__item {
        width: calc(33.33333% - 33.33333px);
    }
}

@media (min-width: 992px) {
    .trimming__flow__item {
        width: calc(25% - 37.5px);
    }
}

.trimming__flow__item:after {
    background-color: #f29c9f;
    -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    content: "";
    display: block;
    height: 30px;
    position: absolute;
    right: -26px;
    top: 65px;
    width: 14px;
}

@media (min-width: 768px) {
    .trimming__flow__item:after {
        height: 38px;
        right: -34px;
        top: 61px;
        width: 18px;
    }
}

.trimming__flow__item__fig {
    margin: 0 0 10px;
    text-align: center;
}

.trimming__flow__item__fig img {
    border-radius: 15px;
}

@media (min-width: 768px) {
    .trimming__flow__item__fig img {
        border-radius: 30px;
    }
}

@media (max-width: 767px) {
    .trimming__flow__item__fig img {
        width: 100%;
    }
}

.trimming__flow__item__title {
    font-size: var(--fs18);
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.4;
    text-align: center;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .trimming__flow__item__title {
        font-size: var(--fs20);
    }
}

.trimming__flow__item__content p {
    font-size: var(--fs14);
    letter-spacing: 0.05em;
    line-height: 2;
    margin: 0;
}

@media (max-width: 767px) {
    .trimming__flow__item:nth-child(2):after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .trimming__flow__item:nth-child(3):after {
        display: none;
    }
}

@media (max-width: 767px) {
    .trimming__flow__item:nth-child(4):after {
        display: none;
    }
}

@media (min-width: 992px) {
    .trimming__flow__item:nth-child(4):after {
        display: none;
    }
}

@media (max-width: 767px) {
    .trimming__flow__item:nth-child(6):after {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .trimming__flow__item:nth-child(6):after {
        display: none;
    }
}

.trimming__flow__item:last-child:after {
    display: none;
}

/*.trimming__price {
    padding: 40px 0;
    position: relative;
}

.trimming__price:before {
    background-color: #fbebea;
    bottom: 0;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
}

.trimming__price__action {
    position: relative;
    z-index: 1;
}

.trimming__price__action .com-button {
    max-width: 245px;
}

.trimming__price__action .com-button:after {
    height: 15px;
    -webkit-mask-image: url(../../images/icons/icon-yellow-external-link.svg);
    mask-image: url(../../images/icons/icon-yellow-external-link.svg);
    width: 15px;
}
*/

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

.trimming__price {
    padding: 40px 0;
    position: relative;
}

.trimming__price:before {
    background-color: #fbebea;
    bottom: 0;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
}

.trimming__price__container {
    border: 2px dashed #f29c9f;
	background: #ffffff;
    border-radius: 5px;
    margin: 10px auto;
    padding: 0 20px 30px;
    position: relative;
}

@media (min-width: 768px) {
    .trimming__price__container {
        border-radius: 10px;
        padding: 0 50px 80px;
	    margin: 40px auto;
    }
}

.trimming__price__title {
    background-color: #fff;
    border: 2px solid #f29c9f;
    border-radius: 15px;
    color: #f29c9f;
    font-size: var(--fs16);
    font-weight: 700;
    left: -15px;
    letter-spacing: 0.1em;
    line-height: 1.4;
    margin: 0;
    padding: 2px 15px;
    position: absolute;
    top: 0;
    transform: translateY(-50%);
}



.trimming__price__subtitle {
    font-size: var(--fs16);
    font-weight: 700;
    letter-spacing: 0.125em;
    line-height: 1.4;
    margin: 60px 0 -30px;
    text-align: center;
}

@media (min-width: 768px) {
    .trimming__price__subtitle {
        margin: 80px 0 -30px;
    }
}



.trimming__price__subtitle span {
    background: linear-gradient(to top, #ffec00 4px, rgba(255, 236, 0, 0) 4px, transparent 100%);
    background-position: center calc(100% - 2px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    font-style: normal;
    font-weight: inherit;
}


.trimming__price__container table {
 	border-collapse: collapse;
	width: 100%;
	font-size: var(--fs14);
}

@media (min-width: 769px) {
    .trimming__price__container table {
 	font-size: var(--fs16);
}
}

.trimming__price__container tbody tr th {
 	background-color: #FBDDDE;
	padding: 15px 5px;
	border-top: #F29C9F 1px solid;
	border-bottom: #F29C9F 1px solid;
	
}


.trimming__price__container tbody tr:nth-child(odd) td {
  background-color: #FEF4F4;
}

.trimming__price__container tbody td:nth-child(2) {
	font-weight: 600;
	text-align: right;
}

.trimming__price__container tbody tr td {
	padding: 15px;
	border-top: #F29C9F 1px solid;
	border-bottom: #F29C9F 1px solid;
}

.trimming__price__container tbody tr td p {
	font-size: var(--fs11);
	margin: -5px auto;
}


.trimming__price__content {
    font-size: var(--fs16);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.trimming__price__content__item {
	width: 100%;
	margin: 60px 0 0;
}

@media (min-width: 768px) {
    .trimming__price__content__item {
	width: calc(50% - 30px);
	margin: 80px 0 0;
    }
}

.trimming__price__content__item__sonota {
	width: 100%;
	margin: 60px auto 0;
}

@media (min-width: 768px) {
    .trimming__price__content__item__sonota {
        width: 70%;
        margin: 80px auto 0;
    }
}

.trimming__price__content__item__caution {
    border: 1px solid #e60012;
    border-radius: 10px;
    font-weight: 700;
    padding: 20px;
}

.trimming__price__content__item__note{
	margin: 10px 0 0;
	font-size: var(--fs13);
	color: #EC7175;
}

@media (min-width: 768px) {
    .trimming__price__content__item__note{
	font-size: var(--fs14);
	margin: 20px 0 0;
}
}


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

.trimming__gallery {
    margin: 0 auto;
    padding: 60px 0;
    width: -webkit-fit-content;
    width: fit-content;
}

@media (min-width: 768px) {
    .trimming__gallery {
        padding: 70px 0;
    }
}

.trimming__gallery__list {
    align-items: center;
    display: flex;
    flex-flow: row nowrap;
    gap: 18px;
    justify-content: center;
    margin: 0 0 10px;
}

.trimming__gallery__list__item {
    text-align: center;
    width: calc(50% - 9px);
}

.trimming__gallery__list__item img {
    border-radius: 15px;
}

@media (min-width: 768px) {
    .trimming__gallery__list__item img {
        border-radius: 30px;
    }
}

.trimming__gallery__content p {
    font-size: var(--fs11);
    letter-spacing: 0.1em;
    line-height: 1.6;
    margin: 0;
    text-align: right;
}

@media (min-width: 768px) {
    .trimming__gallery__content p {
        font-size: var(--fs12);
    }
}

.trimming__contact {
    padding: 60px 0;
    position: relative;
}

.trimming__contact:before {
    background-color: rgba(250, 205, 137, 0.25);
    bottom: 0;
    content: "";
    display: block;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    width: 100vw;
}

.trimming__contact-container {
    position: relative;
    z-index: 1;
}

.trimming__contact__content {
    margin: 0 0 15px;
}

.trimming__contact__content p {
    font-size: var(--fs16);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin: 0;
    text-align: center;
}

.trimming__contact__tel {
    text-align: center;
}

.trimming__contact__tel a {
    background: linear-gradient(to top, #ffec00 4px, rgba(255, 236, 0, 0) 4px, transparent 100%);
    background-position: center calc(100% - 2px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: inherit;
    font-size: var(--fs38);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
}