@charset "UTF-8";

#first-view {
    height: calc(30vh + 120px);
    max-height: 350px;
    background-color: #3faea1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.first-view-text {
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 40px 0;
	text-align: center;
}

.first-view-text h1 {
    color: #fff;
    font-size: 5.6rem;
    line-height: 1.2;
    letter-spacing: .03em;
}

.first-view-text p {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    letter-spacing: .05em;
    line-height: 1.5;
}

.lead {
    max-width: 1200px;
    margin: 100px auto 0;
    padding: 0 40px;
}

.lead p {
	font-size: 1.6rem;
	line-height: 2;
	letter-spacing: .05em;
	text-align: center;
}

#detail {
    max-width: 1200px;
    margin: 0 auto;
}

.case-study {
    background-color: #f5f6f7;
    padding-bottom: 10px;
}

.detail-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 100px;
	padding: 0px 10px;
	margin-bottom: 75px;
}

.detail-item img,
.case-item img{
    margin-top: 35px;
    display: block;
    width: 100%;
    object-fit: contain;
}
.detail-item .image01{
	width: 60%;
	margin: 20px auto;
}
.detail-text p .sup{
    vertical-align: super;
    font-size: .8rem;
}
.case-item {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	padding: 20px;
	background-color: #fff;
	margin-top: 0;
	margin-bottom: 25px;
}
.case-item:nth-of-type(1) {
    margin-top: 100px;
}

.detail-item > div:first-child,.case-item > div:first-child{
	width: 58%;	
}
.detail-item > div:last-child,.case-item > div:last-child{
	width: 38%;	
}
.detail-text h2{
	font-size: 2.4rem;
	letter-spacing: 0.05em;
	padding-bottom: 10px;
	border-bottom: 1px solid #3faea1;
	margin-bottom: 20px;
}

.detail-text span {
    display: inline-block;
    font-size: 2.4rem;
    letter-spacing: .05em;
    align-items: center;
}

.detail-text .number {
    text-align: center;
    padding-right: 10px;
    display: inline-block;
    color: #3faea1;
    font-size: 2.4rem;
}

.detail-text p{
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: .05em;
    margin-bottom: 25px;
}
.border{
    border-top: 1px solid #3faea1;
}
.detail-text h4 {
	font-size: 1.8rem;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: .05em;
	margin: 20px 0px 40px;
	background-color: #DFF8F5;
	text-align: center;
	padding: 10px;
}
.case-text span{
    display: inline-block;
    font-size: 2.4rem;
    letter-spacing: .05em;
    align-items: center;
    color: #3faea1;
}
.case-text p {
    font-size: 1.6rem;
    line-height: 1.8;
    letter-spacing: .05em;
    margin-top: 25px;
    margin-bottom: 25px;
    margin-left: 0px;
}
.detail-text ul{
    margin-left: 1em;
}
.detail-text ul li {
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: .05em;
	padding-top: 10px;
	margin-left: 14px;
	list-style: disc;
	padding-left: 0px;
}

.detail-text ul li span {
	display: block;
	font-size: 1.8rem;
	line-height: 1.8;
	letter-spacing: .05em;
	font-weight: bold;
}

#detail table {
    border-collapse: collapse;
    width: 100%;
    margin: 150px auto 100px;
}

#detail table th,
#detail table td {
    padding: 16px;
    border: 1px solid #3faea1;
}

table th {
    font-size: 1.8rem;
    font-weight: 400;
    width: 20%;
}

table td {
    width: 80%;
    font-size: 1.6rem;
    line-height: 2;
}

table .color {
    color: #fff;
    background-color: #3faea1;
}
@media(max-width: 820px) {
    .detail-text span {
        font-size: 2.2rem;
        letter-spacing: .05em;
        align-items: center;
    }
    #detail table {
        border-collapse: collapse;
        width: 90%;
        margin: 150px auto 100px;
    }
    
}
@media(max-width: 420px) {
    .first-view-text {
	margin: 0 auto;
	padding: 60px 20px 0;
    }

    .first-view-text h1 {
        color: #fff;
        font-size: 3.2rem;
        line-height: 1.5;
        letter-spacing: .03em;
    }

    .first-view-text p {
        color: #fff;
        font-size: 1.6rem;
        margin-bottom: 20px;
        letter-spacing: .05em;
    }
    .lead {
        max-width: 1200px;
        margin: 60px auto 0;
        padding: 0 15px;
    }
    
    .lead p {
        font-size: 1.4rem;
        line-height: 1.8;
        letter-spacing: .05em;
    }
    #detail {
        padding: 0 15px;
    }
    .detail-item {
        display: block;
        align-items: flex-start;
        margin-top: 100px;
        margin-bottom: 75px;
    }
    .case-item {
        display: block;
        justify-content: space-around;
        align-items: flex-start;
        padding: 50px 20px 20px;
        background-color: #fff;
        margin-top: 0;
        margin-bottom: 25px;
    }
    
    .detail-item img ,.case-item img{
        display: block;
        width: 90%;
        object-fit: contain;
        margin: 0 auto;
    }
    
    .case-item {
        padding: 30px 20px 20px;
        background-color: #fff;
        margin-top: 0;
        margin-bottom: 25px;
    }
    
    .case-item:nth-of-type(1) {
        margin-top: 75px;
    }
    
    .detail-text,.case-text {
        width: 100%;
    }
    
    .detail-text span {
        font-size: 1.8rem;
        letter-spacing: .05em;
        line-height: 2;
        align-items: center;
    }
    
    .detail-text .title {
        padding-left: .5em;
    }
    
    .detail-text .number {
        padding-right: .5em;
    }
    
    .detail-text p {
        font-size: 1.4rem;
        line-height: 1.8;
        letter-spacing: .05em;
        margin-bottom: 25px;
    }
    
    .case-text p {
        font-size: 1.4rem;
        line-height: 1.8;
        letter-spacing: .05em;
        margin-top: 25px;
        margin-bottom: 25px;
        margin-left: 0px;
    }
    .detail-text ul{
        margin-bottom: 40px;
    }
    .detail-text ul li {
        font-size: 1.4rem;
        line-height: 1.8;
        letter-spacing: .05em;
        margin-top: 10px;
        list-style: disc;
    }

    .detail-text ul li span {
        display: block;
        font-size: 1.6rem;
        line-height: 1.8;
        letter-spacing: .05em;
    }
    
    #detail table {
        border-collapse: collapse;
        width: 90%;
        margin: 150px auto 100px;
    }
    
    #detail table th,
    #detail table td {
        padding: 15px;
        border: 1px solid #000;
    }
    
    table th {
        font-size: 1.4rem;
        font-weight: 400;
        width: 15%;
    }
    
    table td {
        width: 85%;
        font-size: 1.4rem;
        line-height: 2;
    }
    
    table .color {
        color: #fff;
        background-color: #3faea1;
    }
    
}

@media(max-width: 820px) {
.detail-item > div:first-child,.case-item > div:first-child{
	width: 100%;	
}
.detail-item > div:last-child,.case-item > div:last-child{
	width: 100%;	
}
	.detail-text h2{
	font-size: 2.2rem;		
	}
}







