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

/*
GENERAL STYLING
================================================ */
:root {
    /* Color */
    --light-grey: #f1f1f1;
    --light-grey2: #dfdfdf;
    --grey: #666;
    --dark-grey: #1F1F1F;
    --dark-blue: rgba(57,86,92,.8);
    --white: #fff;
    --white-bg: rgba(255,255,255,.2);
    --blue: #008dcc;
    --light-blue: rgba(85,204,255,.95);
    --white-blue: #CCEFFF;
    --orange: #D64206;
    --orange20: rgba(214,66,6,.2);
    --orange30: rgba(214,66,6,.3);
    --orange50: rgba(214,66,6,.5);
    
    /* Font/Space Size */
    --font-sm: .75rem;
    --font-md: 1rem;
    --font-lg: 1.25rem;
    --font-xl: 1.625rem;

    /* Border Radius Size */
    --round-sm: 6px;
    --round-md: 10px;
    --round-lg: 50%;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
    /* スムーズスクロール */
    scroll-behavior: smooth;
	overflow-x: hidden;
}
body{
	color: var(--white);
    font-family: 'Roboto', sans-serif;
	background:var(--white-bg);
	overflow-wrap: anywhere;
	font-feature-settings: palt;
	letter-spacing: .04em;
	font-variant-numeric: tabular-nums;
}
img{
	vertical-align: bottom;
}


/*===================================
FONT 設定
===================================*/
main h2{
	color:var(--white);
	font-size: clamp(1rem, 0.3043rem + 3.4783vw, 3rem);
	text-align: center;
	text-shadow: 1px 1px 3px #333333; 
}

h3, h4, p, li a{
	color:var(--white);
}

h3.copy{
	color:var(--light-grey);
	margin-top:2em;
}
h4.copy{
	color:var(--white-blue);
	font-weight: 500;
	margin-bottom: 2em;
}
.blue{color:var(--light-blue); font-weight:600;}


p,li{
	font-size: clamp(.75rem, 1rem, 1.625rem);
}


main{

}
main::before{
content:"";
display:block;
position:fixed;
top:0;
left:0;
z-index:-1;
width:100%;
height:100vh;
background-repeat:no-repeat;
background-position:50% 100%;
background: url("../img/web_bg.jpg") bottom center no-repeat,#999999;
background-blend-mode: darken;
background-size:cover;
overflow: hidden;

}

@media only screen and (max-width: 768px) {
main::before{
	background: url("../img/web_bg_sm.jpg") top center no-repeat,#999999;
	}
}
section#hero-area .container{
	width: 80vw;
	height:100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	margin: 0 auto;
}

section#works,section#works_dtp{
	background: linear-gradient( 135deg, var(--blue),var(--dark-blue));
}
section#works .container,section#works_dtp .container{
	width: 80vw;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 10vh 0;
	margin: 0 auto;
}


section#works .card-wrapper,section#works_dtp .card-wrapper{
	display: flex;
	justify-content: center;
	align-content: stretch;
	width: 100%;
	gap:2em;
	flex-wrap: wrap;
}

.card-wrapper .card{
	background: var(--white);
	border:1px #ddd solid;
	border-radius: 5px;
	box-shadow: 1px 1px 3px 2px var(--dark-blue);

	width:calc(200px + 8vw);
	overflow: hidden;
}

.card img{
	width:100%;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
.card a{
	text-decoration: none;
	color: var(--dark-blue) !important;
}
.card a .card-img{
	transition: 0.3s ease-in-out;
}
.card a:hover .card-img{
	transform: scale(1.1);
}

.card-title h4{
	color:#335566;
	font-size: clamp(13px,1.333vw,18px);
	padding: 10px;
}
.card-body p{
	color:#666;
	padding: 0 10px 10px 10px;
	font-size: clamp(11px,1vw,14px);
}



/*===================================
AI garllery
===================================*/
section#works_ai{
	background: linear-gradient( 135deg, rgba(70,70,70,.9),rgba(30,30,30,.9));
}
section#works_ai .container{
	width: 80vw;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 10vh 0;
	margin: 0 auto;
}
.gallery{
columns: 7;/*段組みの数*/
column-gap: 1.2em;/*ギャラリー左右に余白をつける*/
margin:0 auto;

}
section#works_dtp .gallery{
	columns:6;
	
}
.gallery li {
    margin-bottom: 20px;/*各画像下に余白をつける*/
list-style:none;
}

/*ギャラリー内のイメージは横幅100%にする*/
.gallery img{
	width:100%;
	height:auto;
	border-radius: 5px;
	background: var(--white);
	box-shadow: 2px 2px 3px 2px #222;
	vertical-align: bottom;/*画像の下にできる余白を削除*/}

/*　横幅980px以下の段組み設定　*/
@media only screen and (max-width: 980px) {
	.gallery{
	columns:4;
	}
	section#works_dtp .gallery{
	columns:3;
}
}

@media only screen and (max-width: 768px) {
	.gallery{
	columns: 2;
	}
	.gallery img{box-shadow: none;}
}
/*===================================
ABOUT
===================================*/
section#about {
	background:linear-gradient( 180deg, var(--light-blue),rgba(31,61,91,1));
}
section#about .container{
	width: 80vw;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 15vh 0;
	margin: 0 auto;
}
section#about ul.link-icon{
	list-style:none;
	display: flex;
	justify-content: center;
	align-content: center;
	gap:2rem;
	padding: 2rem 2rem 3rem 2rem;
}
section#about ul.link-icon li img{
	width: 50px;
	height: auto;
}
section#about ul.link-icon li a{
	cursor: pointer;
}

button a{
	text-decoration: none;
	font-weight: 600;
	color: var(--white);
	display: block;
	padding: 4px 32px;
	border: 2px rgba(255, 255, 255, .5) solid;
	border-radius: 50px;
	transition: .3s ease-in-out;
}
button a:hover{
	color: var(--blue);
	font-weight: 600;
	background: rgba(255, 255, 255, .6)

}
section#about p.md{
	display: block;
	margin-top: .6em;
}
section#about p.sm{
	display: none;
}
@media only screen and (max-width: 768px) {
section#about p.md{
	display: none;
}
section#about p.sm{
	display:inline;
	margin-top: .6em;
	text-align: center;
}
}
