@charset "UTF-8";
*{
	margin: 0;
	padding: 0;
	font-family: "Noto Sans JP", serif;
	font-optical-sizing: auto;
	font-weight: 200;
	font-style: normal;
	color: #333;
	line-height: 2;
	letter-spacing: 0.5;
}

*, *:before, *:after {
	box-sizing: border-box;
}

ul{
	list-style: none;
}

/*========= 基本スタイル========= */

body,
html {
	margin: 0 auto;
	letter-spacing: 2px;
	font-size: 16px;
	overflow-x: hidden;

}

h2{
	font-size:max(1.7vw,27px);
}

h3{
	font-size:max(1.1vw,15px)
}

a {
	text-decoration: none;
}


/*========= トップ =========*/


#hercan{
	background-color: #fff;
	background-image: url("../images/hp_hercan.png");
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: 600px;
	height: 500px;
}

.top{
	background-image: url("../images/top.jpg");
	background-position: center center;
	background-size: cover;
	height: 90vh;
}

h1{
	position: absolute;
	top: 95vh;
	left: 30vw;
	font-size: 20px;
	color: #fff;
	font-weight: 300;
}




.top p{
	position: absolute;
	top:50vh;
	right: 6vw;
	font-size:max(4vw,24px);
	color: #fff;
}





/*========= ナビ ===============*/

header{
	position: fixed;/*header固定*/
	height: 150px;/*Headerの高さ設定*/
	width:100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color:#333;
	z-index: 10000;
}

/* 以下はレイアウトのための CSS*/

nav{
	margin: 0 50px 0 auto;
}

nav ul{
    list-style: none;
    display: flex;
	justify-content: flex-end;
}

nav ul li a{
    display: block;
    text-decoration: none;
    color: #666;
    padding:10px;
    transition:all 0.3s;
}

nav ul li a:hover{
    color:#c5c5c5;
}


#g-nav ul li:nth-child(3) {
	margin-right: 20px; /* お好みでpx調整 */
}

@media screen and (max-width:768px) {
    nav ul li a:hover{
    color: #666;
    }

    nav ul li.current a {
    color:#c5c5c5;
    }


	nav{
		font-size: 13px;
		margin: 0 30px 0 auto;
	}

}




/* HER CAN Lab.ボタン */
.button018 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 225px;
    padding: 10px 0px 10px 55px;
    color: #333;
    transition: 0.3s ease-in-out;
    font-weight: 500;
}

.button018 a:before, .button018 a:after {
	content: "";
	position: absolute;
	display: block;
	top: 50%;
}
.button018 a:before {
	width: 0.5rem;
	height: 0.5rem;
	left: 1.1rem;
	border-top: solid 2px #fff;
	border-right: solid 2px #fff;
	z-index: 2;
	transform: translateY(-50%) rotate(45deg);
	transition: all 0.3s;
}
.button018 a:after {
	left: 0;
	background: #989898;
	z-index: 1;
	width: 3rem;
	height: 3rem;
	border-radius: 4rem;
	transform: translateY(-50%);
	transition: all 0.5s;
}
.button018 a span {
	position: relative;
	transition: all 0.3s;
	z-index: 3;
}

.button018 a:hover span {
	color: #fff;
}
.button018 a:hover:before {	
	left: 2rem;
}
.button018 a:hover:after {
	right: 0;
	width: 110%;
}


@media screen and (max-width: 768px) {
	.button018 a {
	  padding-left: 40px; /* ← 例：55px → 40px に縮める */
	}

	.button018 a:after {
		width: 2.5rem;       /* ← 丸の幅を小さく */
		height: 2.5rem;      /* ← 丸の高さも小さく */
		border-radius: 2.5rem; /* ← 丸みも小さく */
	}

	.button018 a:before {
	  left: 0.9rem; /* 必要に応じて、矢印の位置も調整 */
	}

	.button018 a:hover:before {
	  left: 1.6rem; /* ホバー時の動き幅も調整すると自然に */
	}
}





/*=== 丸が動いてスクロールを促す ====*/

/*スクロールダウン全体の場所*/
.scrolldown2{
    /*描画位置※位置は適宜調整してください*/
	position:absolute ;
	right:10%;
}

/*Scrollテキストの描写*/
.scrolldown2 span{
    /*描画位置*/
	position: relative;
	left:10px;
	bottom:110px;
    /*テキストの形状*/
	color: #666;
	font-size: 12px;
	letter-spacing: 0.05em;
	/*縦書き設定*/
	-ms-writing-mode: tb-rl;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
}

/* 丸の描写 */
.scrolldown2:before {
    content: "";
    /*描画位置*/
    position: absolute;
    bottom:0;
    left:-6px;
    /*丸の形状*/
	width:15px;
	height:15px;
	border-radius: 50%;
	background:#666;
    /*丸の動き1.6秒かけて透過し、永遠にループ*/
	animation:
		circlemove 1.6s ease-in-out infinite,
		cirlemovehide 1.6s ease-out infinite;
}

/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove{
	0%{bottom:140px;}
	100%{bottom:-5px;}
}

/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide{
	0%{opacity:0}
	50%{opacity:1;}
    80%{opacity:0.9;}
	100%{opacity:0;}
}

/* 線の描写 */
.scrolldown2:after{
	content:"";
    /*描画位置*/
	position: absolute;
	bottom:0;
	left:0;
    /*線の形状*/
	width:2px;
	height: 150px;
	background:#666;
}  


/*============= メイン ===============*/



/*===== その場でふわっと出現 =======*/

/*========= ポエム =========*/
.scrollbox {
	background-color: #fff;
	margin: 100px 0;
}

.scrollbox p{
	font-size: 16px;
	line-height: 30px;
	text-align: center;
}

.scrollbox p:nth-child(1){
	padding: 100px 0 60px 0;
}

.scrollbox p:nth-child(5){
	margin: 0 auto 60px auto;
}

.scrollbox p:nth-child(7){
	padding: 0 0 100px 0;
}


/*========= contact =========*/

.OtherSection-a {
	background-color:#fff;
	padding: 30px 0px ;
	margin: 50px 0;
}


.OtherSection-a p{
	margin: 10px auto;
}



/*========= ai =========*/


.ai-Section {
	width: 100vw;
	background-color: #fff;
	padding: 30px 0px ;
}


.ai-Section p{
	margin: 50px 0px 10px 80px;
}


.ai{
	width: 100vw;
	padding: 0;
}

.ai- {
    display: flex;
    width: 100%;
}

.ai- h2 {
    width: 20%;
    padding: 0 0px 0px 70px; /* h2の位置はそのまま */
    margin: 0;
}

.ai- p {
    margin-left: auto; /* 右寄せ */
    width: auto; /* 適度な幅を設定 */
    text-align: left; /* テキストは左揃えのまま */
}
.ai- img{
	margin: 0px 0 0 0;
	width: 200px;
	height: 200px;
}

.Section- {
	width: 60%;
	display: flex;
    justify-content: center; /* 水平方向の中央配置 */
}

.ai-Content {
	position:relative;
	width: 500px;
	background-color:rgba(255,255,255,0.5);
	background-blend-mode:lighten;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.ai-Content{
	padding: 50px 0 ;
}

.ai-Text {
	margin: 0 5vw ;
	background-color: rgba(249, 249, 249, 0.857);
	width: 90%;
	max-width: 800px;
}


.ai-Text h3{
	text-align: center;
	font-size:clamp(18px, 2.3vw, 25px);
	padding: 50px 0 20px 0;
}

.ai-Text img{
	display: block;
	width: 256px;
	height: 192px;
	margin: 0 auto;
}

.ai-Text p{
	width: 80%;
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	padding: 40px 0 40px 0;
}


#about-ai {
	display: flex;
	margin: 50px 0 0 0;
	width: 50%;
}




/*========= service =========*/

.OtherSection {
	display: flex;
	width: 100vw;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	padding: 30px 30px ;
	margin: 50px 0;
}




.abc{
    width: 100%;
    display: flex;
    padding: 50px 40px ;

}

.bcd {
	display: flex;
	width: 50vw;

}

.bcd h2 {
	width: 30%;
}

.bcd img{
	margin: 50px 0 0 0;
	width: 191px; /* 画像の幅を固定 */
	height: 340px; /* 画像の高さを固定 */
	object-fit: cover; /* 必要ならトリミング */
}

.cde{
	width: 50vw;
}

.cde h3{
	margin: 30px 0 5px 0 ;

}



/* 制作の流れボタン */
.button_line001 a {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 200px;
    padding: 10px 25px;
    transition: 0.3s ease-in-out;
	color: #333;
	margin: 50px 0 0 0;

}
.button_line001 a:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 80%;
    height: 1px;
    background: rgba(0,0,0,.1);
    transform: translateX(-50%);
}
.button_line001 a:after {
    position: absolute;
    bottom: 0px;
    left: 10%;
    content: '';
    width: 80%;
    height: 1px;
    background: #666;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}
.button_line001 a:hover {
    opacity: 0.9;
}
.button_line001 a:hover:after {
    transform: scale(1, 1);
}






/*========= 受けたまります =========*/

.Section,.Section-Content {
	position:relative;
	z-index: -100;
	width: 100vw;
	background-image:url("../images/service_1.jpg");
	background-color:rgba(255,255,255,0.5);
	background-blend-mode:lighten;
	background-attachment: fixed;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}

.Section-Content{
	padding: 50px 0 ;
}

.Section-Text {
	margin: 0 10vw 0 auto;
	background-color: rgba(249, 249, 249, 0.857);
	width: 40%;
	max-width: 800px;
}

.Section-Text h3{
	text-align: center;
	font-size:clamp(18px, 2.3vw, 25px);
	padding: 50px 0 20px 0;
}

.Section-Text img{
	display: block;
	width: 65%;
	margin: 0 auto;
}

.Section-Text p{
	width: 80%;
	text-align: center;
	margin: 0 auto;
	font-size: 16px;
	padding: 40px 0 40px 0;
}

.Section h2{
	position: fixed; 
	top:200px;
	left: 18vw;
	}

.aa{
	position: fixed;
	top:250px;
	left: 18vw;
}








/*========= NEWS =========*/

.news{
	display: block;
	justify-content: center;
	margin: 200px 0;
}

.news h2{
	padding: 0 0 0 70px;
}


.my-shortcode-wrap {
  font-size: 14px;
  max-width: 600px !important;
  margin: 0 auto;
  line-height: 1.6;
}


 





/*================= works =============*/


.works {
	background-color: #fff;
	margin: 200px 0 0 0;
}

.works h2{
	padding: 0 0 0 70px;
}

.works h3{
	padding: 50px 0 10px 90px;
}




/* works ▼ Graphic Design スライダー */



@keyframes auto-scroll-animation {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.auto-scroll__wrap li{
	margin: 30px 0px 100px 0;
}

.auto-scroll__wrap {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.auto-scroll__list {
    display: flex;
    list-style: none;
    gap: 5px; /* 画像の間隔 */
    white-space: nowrap; /* 折り返し防止 */
    width: max-content;
    animation: auto-scroll-animation 80s linear infinite; /* 無限にスクロール */
}

.auto-scroll__item {
    flex: 0 0 auto; /* 幅を固定 */
    width: 160px;
    min-width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auto-scroll__item img {
    width: 100%;
    max-width: 130px;
    min-width: 110px;
    height: auto;
}




/* works ▼ Web Design */

div.container {
    display: flex;
    justify-content: center; /* 水平方向の中央揃え */
    flex-wrap: wrap; /* 複数行になっても対応 */
    gap: 10px; /* 各ギャラリーの間隔を調整 */
}


div.gallery {
	margin: 30px 5px 5px  5px;
	float: left;
	width: 180px;

}


div.gallery img {
	width: 100%;
	height: auto;
	border: 1px solid #ccc;
}

div.gallery img:hover {
	opacity: 0.5;
}

div.desc {
	padding: 15px;
	text-align: center;
}






/*========= contact =========*/

.OtherSection-a {
	background-color:#fff;
	padding: 30px 30px 30px 70px;
	margin: 200px 0;
}


.OtherSection-a p{
	margin: 10px auto;
}

#about-a p:nth-child(2){
	padding: 10px 0 0px 0;
}

#about-a p:nth-child(3){
	padding: 40px 0 0px 0;
}

#about-a p:nth-child(4){
	padding: 40px 0 0px 0;
}

#about-a p:nth-child(5){
	padding: 10px 0 0px 0;
}

#about-a {
	text-align: center;
}

#about-a a {
    display: inline-block;
    opacity: 0.7;

}

#about-a a:hover {
	color: #666;
}



#sns-a {
	margin: 100px 0 0 0 ;
}





/*========= other =========*/



.OtherSection- {
	display: flex;
	width: 100vw;;
	background-color:#fff;
	padding: 30px 30px ;
	margin: 200px 0;
}


.OtherSection- p{
	margin: 10px auto;
}


.def {
    width: 100%;
    display: flex;
    padding: 50px 40px ;

}

.efg {
	display: flex;
	width: 50vw;
}

.efg h2 {
	width: 40%;
}

.efg img{
	width: 250px;
	height: 250px;
	margin: 50px 0 0 0;
	object-fit: cover; /* 必要ならトリミング */
}

.efg p{
	width: 250px;
	margin: 0 0 0 50px;
}

.fgh{
	width: 50%;
}

.fgh h3{
	margin: 50px 0 0 0 ;

}

#about- a {
    display: inline-block;
    opacity: 0.7;
}
#about- a:hover {
	color: #666;
}


#sns-{
	margin: 50px 0 0 0 ;
}





/*========= LoadingのためのCSS ===============*/


/*============= メディアクエリ ===============*/
@media (max-width: 940px) {


/*========= ai =========*/


.ai- {
	display: grid;
}	

.ai- h2 {
	width: 100%;
	padding: 0 0 0 30px;
}

#about-ai{
	width: 95vw;
	padding: 0 30px;
}

.ai- p {
    margin-left: 0;
}


.ai-Text p {
    margin: 0 auto;
}

.ai-Content{
	margin: 0 auto;
}

.Section- {
	width: 90vw;
	margin:0 auto ;
}

#about- {
	display: grid;
	width: 100%;
}


	.ai-Text {
		margin: 0 auto;
		background-color: rgba(249, 249, 249, 0.857);
		max-width: 800px;
	}



}



/*============= メディアクエリ ===============*/
@media (max-width: 768px) {

	body,
	html {
		font-size: 13px;
	}

	h2{
		padding: 0 0px 50px 30px;
	}

	.works h2{
		padding: 0 0 0 30px;
	}
	
	.news h2{
		padding: 0 0 0 30px;
	}
	


/*========= top  =========*/

	#hercan{
		background-size: 300px;
	}
	



/*========= service  =========*/
	.OtherSection {
		display: grid;
		width: 100vw;
		background-color: #fff;
		padding: 30px 0px ;
	}
	
	
	.OtherSection p{
		margin: 10px auto;
	}


	.abc{
		display: grid;
		width: 100vw;
		padding: 0;
	}

	.bcd {
		display: grid;
		width: 100%;
		margin: 0 0 50px 0;
	}	

	.bcd h2 {
		width: 100%;
	}

	.bcd img{
		margin: 0px 0 0 0;
		width: 286px; /* 画像の幅を固定 */
		height: 510px; /* 画像の高さを固定 */
		object-fit: cover; /* 必要ならトリミング */
	}

	.cde{
		width: 90vw;
		padding: 0 30px ;
	}



/*========= 受けたまります =========*/

	.Section-Text {
		margin:0 auto;
		background-color: rgba(249, 249, 249, 0.857);
		width: 80%;
		max-width: 800px;
	}

	
	
	
/*========= works =========*/
	.works h3 {
		padding: 50px 0 10px 30px;
	}

/*========= contact =========*/

	.OtherSection-a {
		background-color:#fff;
		padding: 30px 0px ;
		margin: 50px 0;
	}


	.OtherSection-a p{
		margin: 10px auto;
	}

	#about-a {
		width: 80%;
		margin: 0 auto;
	}

/*========= other =========*/


	.OtherSection- {
		display: grid;
		width: 100vw;
		background-color: #fff;
		padding: 30px 0px ;
	}


	.OtherSection- p{
		margin: 10px 30px;
	}


	.def{
		display: grid;
		width: 100vw;
		padding: 0;
	}

	.efg {
		display: grid;
		width: 100%;
		margin: 0 0 0px 0;
	}	

	.efg h2 {
		padding: 0 0px 0px 30px;
	}

	.efg img{
		margin: 0px 0 0 0;
		width: 200px;
		height: 200px;
	}

	.fgh{
		width: 100vw;
	}

	.fgh h3{
		padding: 0 0px 0px 30px;
	}

}







/*======== footer ======== */

.footer__social a {
    display: inline-block;
    width: 30px;
    opacity: 0.7;
	color: #666;
	margin: 5px 0 0 0;
}

.footer__social a:not(:last-child) {
    margin-right: 16px;
}

.footer {
	padding: 2rem;
	font-size: 12px;
	color: #989898;
	background: #fff;
	border-top: 1px solid #cdcdcd;
	margin: 50px 0 0 0;
}

.pp {
	color: #989898;
	text-decoration: none;
	margin: 0 0 10px 0;

}

.footer p:nth-child(2){
	margin: 20px 0  0 0px;
	color: #666;
}

.footer a:hover {
	color: #000;
}

@media (min-width: 768px) {
	.footer {
		display: flex;
		justify-content: space-between;
	}

	.md-flex {
		display: flex;
	}

	.md-flex li + li {
		margin-left: 16px;
	}

	.footer p:nth-child(2){
		text-align: right;
		margin: 0 0 0 auto;
		padding: 10px 0 0 0;

	}
	
	.footer {
		margin: 50px 0 0 0;
	}

	.footer__social a {
		margin: 5px 10px 0 10px;
	}
	


}