/* styles.css */

/* 既存のスタイル */

.craftsmanship, .concept {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 0;
    max-width: 1620px;
    width: 96%;
    margin: auto;
    flex-wrap: wrap;
    min-height: 1080px;
}

.concept2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    max-width: 1300px;
    width: 96%;
    margin: auto;
    flex-wrap: wrap;
    align-items: stretch;
}

.concept2 .concept-text p {
    font-size: 20px;
    text-align: justify;
    text-align-last: left;
    line-break: strict;
    font-feature-settings: "palt";
}

.concept2 .concept-text h2 {
    font-size: 30px;
}

.concept2 .concept-text h3 {
    font-size: 40px;
    line-height: 1.6em;
    font-family: ten-mincho, serif;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt";
}

.concept-textbox {
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
}
.concept-text.concept-text1{
    max-width: 500px;
    font-feature-settings: "palt";line-break:strict;
}
.craftsmanship-text {
    flex: 1;
    padding: 0 60px;
    max-width: 50%;
    
}

.concept-text {
    /*flex: 1;*/
    padding: 0 95px;
    /*max-width: 50%;*/
    
}


.craftsmanship-text p{
    font-size: 18px;
}
.concept-text {
    max-width: 565px;
}

.concept-text p {
    line-break: strict;
    font-feature-settings: "palt";
    text-align: justify;
    text-align-last: left;
}

.craftsmanship-image, .concept-image {
    flex: 1;
    padding: 0;
    max-width: 50%;
    text-align: center;
}

.concept-image1 {
    display: flex;
    align-items: flex-end;
}

.concept-image2 {
    display: flex;
    align-items: flex-start;
}

.craftsmanship-image {
    max-width: 500px;
}

.craftsmanship-image img, .concept-image img {
    width: 100%;
    height: auto;
}

.concept-image1 img, .concept-image2 img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.tal{
    text-align: left!important;
}
    #concept-3,#concept-9{
        display: flex;
            justify-content: center;
    align-items: center;
    }
    .concept-3hero-text p,.concept-9hero-text p{
        max-width: 555px;
        font-size: 20px;
        color: #fff;
        font-feature-settings: "palt";line-break:strict;
        text-align: justify;
    text-align-last: left;
    }
    .concept-3hero-text h3,.concept-9hero-text h3{
        font-size: 50px;
        color: #fff;
        text-align: center;
        margin-bottom: 80px;
        line-height: 2em;
        /*ten-minchoつかってる。*/
        font-family: ten-mincho, serif;
        font-weight: 400;
        font-style: normal;
    }
    .concept-3hero-text,.concept-9hero-text{
        display: flex;
        justify-content: center;
    align-items: center;
    flex-direction: column;
    }
#concept-10, #concept-11, #concept-12 {
    max-width: auto;
    width: 100%;
}

#concept-14 {
    max-width: 1300px;
    width: 86%;
    margin: 90px auto;
    min-height: auto!important;
}

#concept-13{
    max-width: 1300px;
    width: 86%;
    margin: 0 auto 90px auto;
    min-height: auto!important;
    padding-top: 90px;
}

#concept-10 .concept-textbox, #concept-12 .concept-textbox {
    display: flex;
}

#concept-11 .concept-textbox {
    display: flex;
}

.concept h2 {
    font-size: 3em;
    margin-bottom: 1em;
    text-align: center;
    font-family: ten-mincho, serif;
    font-weight: 400;
    font-style: normal;
    font-feature-settings: "palt";
    line-break: strict;
    line-height: 2em;
}

.concept h3 {
    font-size: 3.12em;
    margin-bottom: 10px;
}

.concept p {
    font-size: 18px;
    /*line-height: 1.6em;*/
    line-height: 2em;
}

.btnc {
    display: inline-block;
    padding: 10px 25px;
    
    background: #333;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease;
    font-size: 29px;
    margin: 20px auto 20px auto;
    
}

.btnc:hover {
    background: #555;
}

#concept-4 .concept-text, #concept-5 .concept-text, #concept-6 .concept-text, #concept-7 .concept-text, #concept-8 .concept-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.concept-text2 {
    height: 700px;
}
    .concept-2inner{
        max-width: 1240px;
        width: 96%;
        margin: auto;
        display: flex;
            align-items: center;
    justify-content: center;
    }
    #concept-2{
        
    }
    .concept-2inner h2{
        font-size: 60px;
            font-family: ten-mincho, serif!important;
        font-weight: normal;
    font-style: normal!important;
        margin-bottom: 0;
        
    }
        .craftsmanship-text h2 .concept-21{
        font-size: 30px;
            font-feature-settings: "palt";line-break:strict;
            margin-top: -10px;
            margin-left: 10px;
            display: inline-block;
            
    }
.craftsmanship-text .concept-22{
        display: flex;
    /*line-height: 32px;*/
        align-items: center;
    margin-bottom: 30px;
}
.craftsmanship-text .concept-22 span{
    display: block;
}
    .concept-14inner{
        margin: auto;
    }
    #concept-14 dl{
        font-size: 18px;
        font-weight: normal;
        border-bottom: 1px solid #000;
        padding: 9px 18px;
        display: flex;
        margin: 0;
    }
    #concept-14 dt{
        width: 10em;
        padding: 0;
        margin: 0 30px 0 0 ;
            text-align: justify;
    text-align-last: justify;
        
    }
    #concept-14 dd{
        padding: 0;
        margin: 0;
        max-width:42em; 
    }


/*タブレット他*/
@media screen and (min-width: 768px) and (max-width: 1299px) {
    
    .craftsmanship-text .concept-22{
        display: block;
    }
    .craftsmanship-text h2 .concept-21{
        margin-top: 20px;
        margin-left: 0px;
    }
    
.btnc {

    font-size: 2.3077vw;
    
}

}



/* スマホ用のスタイル設定 */
@media (max-width: 768px) {
    #first-view-region{
        height: 88vh!important;
          width: 100%!important;
        background-size: cover!important;
        background-position: center center!important;

    }
    .craftsmanship, .concept {
        display: block;
        width: 100%;
        margin: auto;
    }

    .concept2 {
        display: block;
        width: 100%;
        margin: auto;
    }
    .concept-text2{
        height: auto;
        padding: 30px 0;
    }
    .craftsmanship-text, .concept-text, .craftsmanship-image, .concept-image, .concept-textbox {
        max-width: 100%;
        padding: 0;
        line-break:strict;font-feature-settings: "palt";
    }

    .concept h2, .concept h3, .concept p {
        text-align: center;
    }

    .history-content {
        display: block;
        width: 100%;
        margin: auto;
    }

    .text-section, .image-section {
        flex: 1 1 100%;
        width: 100%;
        margin: auto;
    }

    .timeline-item {
        padding-left: 10px;
    }

    .timeline {
        border-left: none;
    }

    .timeline-item::before {
        left: 0;
    }
        .concept-2inner{
        width: 100%!important;
        margin: auto;
        display: block!important;
    }
    .craftsmanship, .concept{
        min-height: auto!important;
    }
    
    
    .concept-3hero-text h3, .concept-9hero-text h3{
        font-size: 30px;
    }

    .craftsmanship-text h2{
        font-size: 50px;
        margin-bottom: 0!important;
        
    }
    .craftsmanship-text h2.concept-22{
        display: block;
    }
        .craftsmanship-text h2 span{
        display: block;
    }
    .craftsmanship-text h2 span.concept-21{
        margin: 20px 0;
    }
    
    .craftsmanship-text p{
        font-size: 16px;
        line-break:strict;font-feature-settings: "palt";    text-align: justify;
    text-align-last: left;
    }
    
    .concept-3hero-text p, .concept-9hero-text p{
        width: 80%!important;
        display: block;
        margin: auto;
        text-align: justify;
    text-align-last: left;
    }
    .concept-text p{
               width: 90%!important;
        display: block;
        margin: auto; 
            text-align: justify;
    text-align-last: left;
        line-break:strict;font-feature-settings: "palt";
    }
    .concept-textbox{
        width: 100%!important;
        height: auto;
        padding: 30px 0;
    }
    #concept-10 .concept-textbox, #concept-12 .concept-textbox{
        display: block;
        width: 100%;
    }
    .concept2 .concept-text h2{
        width: 90%;
        margin: auto;
    }
    .concept2 .concept-text h3,.craftsmanship-text{
        margin: auto!important;
        width: 90%!important;
    }
    
    #concept-14 dl {
    font-size: 18px;
    font-weight: normal;
    border-bottom: 1px solid #000;
    padding: 9px 18px;
    display: block!important;
    margin: 0;
}
	@media(max-width:970px){
		    .concept-text p {
				width: 90% !important;
		}
		.tal {
			 text-align: center !important; 
		}
		.concept-image1 {
			display: block;
		}
		.concept-image1 img, .concept-image2 img {
			max-width: 100%;
		}
		.concept-text.concept-text1 {
    		 max-width: 100%;
			margin:auto!important;
		}
		body{text-align:center;letter-spacing:0.1vw;}
		#concept-14 {width:90%;text-align:center;}
		#concept-14 dl {border:none; margin-bottom:10%;padding:0;}
		#concept-14 dt {
			border-bottom: 1px solid #000;
			margin:auto;
			padding-left:2%;
			padding-right:2%;
		}
		#concept-14 dd {margin-top:3%!important;}
	}
    
    
}
@media (min-width: 769px) and (max-width: 900px) {
	#concept-13 .concept-image{width:40%;}
	#concept-13 .concept-text{width:60%;padding:0 50px;}
}