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

:root {
    --mincho: 'Shippori Mincho', serif;
    --kaku: 'Noto Sans JP', sans-serif;
    --serif: 'Noto Serif JP', serif;
}

.our-seven-values__contents .inner {
    /*max-width: 1100px;*/
	max-width: 825px;
    /*max-width: 85%;*/
    margin: 0 auto;
}

.inbl{
    display: inline-block;
}

.our-seven-values__body{
    background-image: url(../image/our-seven-values/bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    font-family: var(--mincho);
    padding-top: 150px;
    padding-bottom: 200px;
}

.section__title{
    font-size: 40px;
    font-weight: bold;
    text-align: center;
}

.section__title .text-pink{
    color: #ca4f85;
    font-family: var(--serif);
    font-size: 1.6em;
    padding-inline: 0.15em;
}

.section__heading-text{
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    margin-top: 32px;
    width: fit-content;
    margin-inline: auto;
    position: relative;
    z-index: 0;
}

.section__heading-text::before,
.section__heading-text::after{
    content: "";
    display: block;
    background-color: #000;
    height: 2px;
    width: 0.4em;
    position: absolute;
    top: 58%;
    transform: translateY(-50%);
}

.section__heading-text::before{
    left: -0.7em;
}
.section__heading-text::after{
    right: -0.7em;
}

.section__contents{
    margin-top: 60px;
}

.section__list > *+*{
    margin-top: 60px;
}

.section__item{
    display: flex;
    align-items: center;
    gap: 50px;
}

.section__item-order{
    flex-basis: 2em;
    color: #fff;
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    position: relative;
    z-index: 0;
}

.section__item-order::before {
    content: "";
    display: block;
    background-image: url(../image/our-seven-values/order-bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 5em;
    aspect-ratio: 1/1;
    position: absolute;
    left: 53%;
    top: 54%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.section__item-body{
    flex: 1;
}

.section__item-title{
    font-size: 24px;
    font-weight: bold;
}

.section__item-text{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    margin-top: 1em;
}

@media screen and (max-width:1280px){
	.our-seven-values__contents .inner {
		width: 80%;
	}
    .our-seven-values__body {
        padding-top: 120px;
        padding-bottom: 150px;
    }

    .section__title {
        font-size: 42px;
    }

    .section__heading-text {
        margin-top: 22px;
    }

    .section__list > *+* {
        margin-top: 60px;
    }

    .section__item {
        gap: 40px;
    }

    .section__item-order {
        font-size: 28px;
    }
}

@media screen and (max-width:1024px){
    .section__title {
        font-size: 40px;
    }

    .section__heading-text .tab-block{
        display: block;
    }

    .section__heading-text::before, .section__heading-text::after {
        width: 0.5em;
    }

    .section__heading-text::before {
        left: -1.2em;
    }

    .section__heading-text::after {
        right: -0.8em;
    }

    .section__item {
        gap: 30px;
    }

    .section__item-order {
        font-size: 24px;
    }
}

@media screen and (max-width:767px){
    .our-seven-values__contents .inner {
        width: 90%;
    }

    .our-seven-values__body {
        padding-top: 100px;
        padding-bottom: 120px;
    }

    .section__title {
        font-size: 34px;
    }

    .section__heading-text {
        font-size: 22px;
        margin-top: 30px;
    }
	
    .section__item {
        gap: 24px;
    }

    .section__item-order {
        font-size: 22px;
    }
}

@media screen and (max-width:599px){
    .our-seven-values__body {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    .section__title {
        font-size: 30px;
    }

    .section__heading-text {
        font-size: 20px;
    }
	
    .section__list > *+* {
        margin-top: 50px;
    }

    .section__item {
        gap: 20px;
    }

    .section__item-order {
        font-size: 20px;
    }
}

@media screen and (max-width:499px){
    .section__title {
        font-size: 26px;
    }

    .section__heading-text {
        font-size: 18px;
    }

    .section__list > *+* {
        margin-top: 50px;
    }

    .section__item {
        gap: 20px;
    }

    .section__item-order {
        font-size: 18px;
    }

    .section__item-title {
        font-size: 20px;
    }

    .section__item-text {
        font-size: 16px;
    }
}

@media screen and (max-width:399px){
    .our-seven-values__body {
        padding-top: 70px;
        padding-bottom: 80px;
    }

    .section__title {
        font-size: min(calc(24/320*100vw), 26px);
    }

    /* .section__heading-text {
        font-size: min(calc(16/320*100vw), 18px);
    } */

    .section__heading-text .inbl{
        display: block;
    }

    .section__list > *+* {
        margin-top: 30px;
    }

    .section__item {
        flex-direction: column;
    }

    .section__item-order {
        display: flex;
        align-items: center;
    }

    .section__item-title {
        text-align: center;
    }
}


