@charset utf-8;

.brSp{
	display: none;
}
/* ***********************
 about：先頭ラインワーク
*********************** */
.svg-container { width:100%; margin:0 auto; }
.svg-container svg { width:100%; height:auto; display:block; } /* これでOK */


/* デフォルト: PC想定 */
.spHide { display: block; }
.pcHide { display: none; }

/* SPで反転 */
@media (max-width: 768px){
  .spHide { display: none; }
  .pcHide { display: block; }
}

/* 親をスタッキング基準に */
.lineArea { 
	position: relative; 
}
@media (max-width: 768px){
	.lineArea { 
		padding-top: 80px;
	}
}

/* SVGコンテナは必ず高さを持つ（既に入れている aspect-ratio を活かす） */
.svg-container { width: 100%; margin: 0 auto; }

/* PC側 */
.svg-container.spHide {
  position: relative;
  aspect-ratio: 1440 / 780;   /* ← 高さの供給 */
  z-index: 0;                  /* ← 後ろに固定 */
}
.svg-container.spHide > svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}

/* SP側 */
@media (max-width: 768px){
  .svg-container.pcHide {
    position: relative;
    aspect-ratio: 750 / 750;   /* ← 高さの供給 */
    z-index: 0;
  }
  .svg-container.pcHide > svg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    display: block;
  }
}

/* コメントは常に前面に（重なっても上に来る） */
.comment {
  position: relative;
  z-index: 2;
  margin-top: 24px;  /* 任意の余白。被り防止の物理距離も確保 */
	display: flex;
	justify-content: center;
	text-align: center;
}
.comment p{
	font-size: 1.1rem;
	line-height: 2.4rem;
	font-weight: normal;
}
@media (min-width: 769px) and (max-width: 899px){
	.comment p{
		font-size: 1.000rem;
	  line-height: 2.0rem;
	}
}

/* 外部SVG画像のフェードイン表示 */
.svg-container .fade-in {
  animation: fadeIn .8s forwards ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.svg-container #txt{
  animation: fadeInTranslate .8s forwards ease;
  animation-fill-mode: backwards;
}
#img1{
  animation: fadeIn .8s forwards ease;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

/* ラインアニメーション */
.svg-container .path-draw {
	stroke-opacity: 1;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: drawLine 1s ease-in-out forwards;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* ***********************
 About usページ
*********************** */
.brSp{
	display: none;
}
.mt100{
	margin-top: 100px;
}

.scroll_up .gridder{
	width: 100svw;
}
.news.works #newsSlide {
	height: auto;
}

.inner h1, 
.innerPost h1{
	animation: fadeInTranslate 1.6s ease 0s 1 normal;
  	animation-delay: 0.7s;
  	animation-fill-mode: backwards;
}
.inner h1 span {
    font-weight: bold;
    position: relative;
    top: -3px;
}

@keyframes fadeInTranslate {
  0% {
     opacity: 0;
     transform: translateY(10px);
  }
  100% {
     opacity: 1;
     transform: translateY(0);
  }
}

.news .inner .nextBtn a {
    position: relative;
    font-family: "brother-xl", sans-serif;
    font-weight: 500;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 250px;
    margin: 0 auto 100px;
    padding: 8px 30px 8px 0px;
    border-radius: 50px;
    background: #4a3f35;
    font-style: normal;
    color: #fff;
}
.news .inner .nextBtn a::after {
    content: "⟶";
    color: #fff;
    display: block;
    width: 20px;
    position: absolute;
    font-size: 1.5rem;
    right: 35px;
    top: 6px;
}

.pageAbout {
	margin: 50px auto 0;
	width: 100%;
/*	max-width: 1200px; */
	background: #fff;
}

.pageAboutMain{
	position: relative;
}

.pageAboutMain h2{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
	text-align: center;
	line-height: 2.4em;
}

.pageAbout .inner p{
	font-weight: 200;
	text-align: center;
	line-height: 2rem;
}

.businessFlow{
	width: 100%;
/*	max-width: 1200px; */
	margin: 70px auto 100px;
	padding-bottom: 100px;
}

.businessFlow.scroll_up.on{
	background: #f4f4f0;
}
.businessFlow.scroll_up.on .gridder::before{
	display: block;
/*	max-width: 1200px; */
	width: 100%;
	margin: 0 auto;
	height: 25px;
	position: absolute;
	top: 0;
	background: #fff;
	content: " ";
	z-index: -1;
}

.businessFlow h2 {
    display: block;
    margin: 20px auto;
    text-align: center;
    padding: 15px;
    max-width: 1000px;
    color: #fff;
    border-radius: 50px;
    background: #4a3f35;
    font-size: 1.3rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.1em;
}

.detailChart{
	display: flex;
	justyify-content: flex-start;
	min-height: 450px;
}
.detailChart .detailImage{
	position: relative;
	flex: 2;
	min-width: 200px;
	height: auto;
	display: flex;
	flex-flow: column;
	justify-content: flex-end;
	align-items: center;
	width: fit-content;
}
.detailImage::after{
	display: block;
    content: " ";
	display: block;
	height: 86px;
	width: 1px;
	position: absolute;
	bottom: -43px;
	border: solid #231815;
	border-width: 0 1px 0 0;
    z-index: -1;
}

.detailIcon {
    z-index: 2;
    margin-bottom: 60px;
}

.detailBalloon{
	z-index: 1;
	position: absolute;
	top: 40px;
	right: 0;
	left: 0;
	margin: auto;
	animation-delay: 200ms;
	opacity: 0;
	translate: 0;
}

.detailBalloon.balloonOpacity{
	opacity: 1;
    translate: 0;
    transition-duration: 1.8s;
    transition-timing-function: opacity var(--ease-out-cubic);
 }

.detailIcon {
    z-index: 2;
}

.detailChart .detailImage img{
	width: 200px;
}

.detailChart .detailText{
	padding: 10px 0 10px 10px;
	min-width: 300px;
	font-weight: bold;
	color: #231815;
	line-height: 2rem;
	flex: 3;
	display: flex;
	justify-content: center;
	flex-flow: column;
	background-image : linear-gradient(to right, rgb(35, 24, 21), rgb(35, 24, 21) 6px, transparent 2px, transparent 5px); 
	background-size: 10px 2px;  
	background-position: bottom;  
	background-repeat: repeat-x;
}
.detailText p{
	font-weight: bold;
}
.detailChart .detailPhoto{
	padding: 10px 0;
	flex: 5;
	display: flex;
	justify-content: center;
	align-items: center;
	background-image : linear-gradient(to right, rgb(35, 24, 21), rgb(35, 24, 21) 6px, transparent 2px, transparent 5px); 
	background-size: 10px 2px;  
	background-position: bottom;  
	background-repeat: repeat-x;
}
.detailPhoto img{
	max-width: 100%;
}
.detailChart.chart1 span{
	color: #b3382d;
}
.detailChart.chart2 span{
	color: #eaad63;
}
.detailChart.chart3 span{
	color: #2e9bbe;
}
.detailChart.chart4 span{
	color: #1b3c4b;
}
.detailChart.chart5 span{
	color: #1b3c4b;
}
.detailChart.chart6 span{
	color: #126e3c;
}

.detailChart.chart4 .detailText, 
.detailChart.chart5 .detailText, 
.detailChart.chart6 .detailText{
	min-width: 235px;
	margin-right: 35px;
}

.detailChart.chart4 .detailPhoto, 
.detailChart.chart5 .detailPhoto, 
.detailChart.chart6 .detailPhoto{
	background-image: none;
}

.detailChart.chart4 .detailPhoto, 
.detailChart.chart5 .detailPhoto{
	position: relative;
}

.detailChart.chart4 .detailPhoto img{
	position: absolute;
	right: 0;
	top: 80px;
}

.detailChart.chart5 .detailPhoto img{
	position: absolute;
	right: 0;
	bottom: -180px;
}

.chart6 .detailImage::after{
	display: none;
}
.detailChart.chart6 .detailText{
	background-image : none; 
}
.detailChart.chart6 .detailPhoto{
	background-image : none; 
}

.businessFlow .inner .nextBtn a{
	position: relative;
	font-family: "Zen Kaku Gothic New", "Yu Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
	font-weight: 500;
	display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 280px;
}

.businessFlow .inner .nextBtn a::after{
	display: none;
}

.businessFlow .inner .nextBtn img{
	position: absolute;
	right:20px;
	width: 30px;
	height: auto;
}

.works.news.scroll_up.on .gridder::after{
	display:none;
}

.aboutBrand {
	padding: 70px 0;
    text-align: center;
}

.aboutBrand p{
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px solid #000;
	font-weight: bold;
	line-height: 2rem;
}

.aboutBrand img {
	width: 160px;
}
.aboutMainImage{
	position: relative;
	width: 100%;
	height: 425px;
}
.aboutMainImage svg{
	position: absolute;
	width: 110%;
	top: -65px;
	height: 115%;
	left: 50%;
	transform: translateX(-50%);
}
.flexPc{
	display: flex;
	width: 80%;
}
.detailChart.chart6photo{
	min-height: auto;
}

@media screen and (max-width: 768px){
	.spHide{
		display: none;
	}
	.brSp{
		display: inline;
	}
	.scroll_up .gridder .inner {
		width: calc(100% - 60px);
		margin: 0 auto;
	}
	.works .inner .nextBtn.news {
	    margin: 40px auto 30px auto;
	}
	.news.works.scroll_up .gridder .inner{
		width: 100%;
	}
	.brSp{
		display: inline;
	}
	.inner h1 span{
		margin-left: 0.8em;
	}
	.lineArea .comment p {
	    font-weight: normal;
	    font-size: clamp(0.7rem, 0.2714rem + 2.1429vw, 1.3rem);
	    letter-spacing: 0.1em;
	    line-height: calc(3.5vw + 0.8rem);
	}
	.businessFlow{
		padding-bottom: 50px;
	}
	.businessFlow h2{
		border-radius: 36.925px;
		padding: 36px 0;
		line-height: 2.6rem;
	}
	.detailChart{
		align-items: flex-start;
	}
	.flexPc {
	    display: block;
	    width: 100%;
	}
	.detailChart .detailImage{
		min-width: auto;
	}
	.detailChart .detailImage img{
		width: 30vw;
	    margin-top: 150px;
	}
	.detailChart .detailImage img.detailBalloon {
    	top: -170px;
        width: 200px;
        left: 48%;
        transform: translateX(-50%);
    }
	.detailChart .detailText {
		min-width: auto;
    	padding-top: 30px;
	    font-size: 1.3rem;
	    margin: 0 0 20px 0;
	    background-image: none;
	    background-size: 0;
	    background-position: initial;
	    background-repeat: no-repeat;
	}
	.detailChart.chart4 .detailText, 
	.detailChart.chart5 .detailText, 
	.detailChart.chart6 .detailText{
		min-width: auto;
		margin-right: 0;
	}
	.detailText p {
	    margin: 4px 0;
	}
    .detailImage::after {
        height: 68vw;
        left: 45%;
        bottom: -56vw;
    }
    .chart2 .detailImage::after {
        height: 87vw;
        bottom: -80vw;
    }
    .chart3 .detailImage::after {
        height: 89vw;
        bottom: -84vw;
    }
    .chart4 .detailImage::after {
        height: 48vw;
        bottom: -43vw;
    }
    .chart5 .detailImage::after {
        height: 56vw;
        bottom: -50vw;
    }
    .detailPhoto img {
        padding-left: 25px;
        padding-bottom: 40px;
    }
    .detailChart.chart4 .detailPhoto, 
    .detailChart.chart5 .detailPhoto{
	    background-image: linear-gradient(to right, rgb(35, 24, 21), rgb(35, 24, 21) 6px, transparent 2px, transparent 5px);
	    background-size: 10px 2px;
	    background-position: bottom;
	    background-repeat: repeat-x;
	}
    .detailChart.chart4 .detailPhoto img{
    	position: inherit;
    	right: 0;
    	top: 0;
    }
    .detailChart.chart5 .detailPhoto img{
    	position: inherit;
    	right: 0;
    	bottom: 0;
    }
	.detailChart.chart6{
	    min-height: auto;
	}
    .chart6photo img{
    	width: 100%;
    }
    .chart6 .detailIcon{
    	margin-bottom: 0;
    }
    .aboutBrand p {
        border-top-color: transparent;
        font-size: clamp(0.9rem, 0.6143rem + 1.4286vw, 1.3rem);
        line-height: 2em;
    }
}
@media screen and (max-width: 580px) {
    .detailImage::after {
        bottom: -53vw;
    }
}
@media screen and (max-width: 490px) {
    .detailImage::after {
        bottom: -51vw;
    }
    .chart2 .detailImage::after {
        height: 104vw;
        bottom: -93vw;
    }
}
@media screen and (max-width: 420px) {
    .scroll_up .gridder .inner {
    	width: calc(100% - 40px);
    	margin: 0 auto;
	}
	.news.works.scroll_up .gridder .inner{
		width: 100%;
	}
    .businessFlow h2 {
        line-height: 2.2rem;
        font-size: 1.1rem;
    }
    .detailChart .detailImage img.detailBalloon {
        top: -115px;
        left: 45%;
        width: 140px;
        transform: translateX(-50%);
    }
    .detailChart .detailImage img {
        width: 130px;
        margin-top: 150px;
    }
    .detailChart .detailText {
        font-size: 1rem;
    }
    .chart2 .detailImage::after {
        height: 113vw;
        bottom: -100vw;
    }
    .chart3 .detailImage::after {
        height: 109vw;
        bottom: -99vw;
    }
    .chart4 .detailImage::after {
        height: 62vw;
        bottom: -53vw;
    }
    .chart5 .detailImage::after {
        height: 67vw;
        bottom: -54vw;
    }
}
@media screen and (max-width: 340px) {
    .chart2 .detailImage::after {
        height: 125vw;
        bottom: -109vw;
    }
    .chart3 .detailImage::after {
        height: 109vw;
        bottom: -91vw;
    }
}




