@charset "UTF-8";

/* -- Reset style
-------------------------------------------------------------------------------- */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	font-size: 100%;
	vertical-align: baseline;
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	-webkit-text-size-adjust: 100%;
}
html, body {
	min-width: 100%;
	-webkit-overflow-scrolling: touch;
}
html {
	font-size: 62.5%;
	overflow-y: scroll;
	scroll-behavior: smooth;
}
html * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
}
body {
	font: 700 1rem/1 "  S V b N", YuGothic, "   C   I", Meiryo, " q   M m p S ProN W3", "Hiragino Kaku Gothic ProN", " l r  o S V b N", Verdana, Roboto, "Droid Sans" ,sans-serif;
	color: #000000;
	background: radial-gradient(#FFF,#31304E);
	text-align: center;
	letter-spacing: 0.08em;
 	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	text-size-adjust: 100%;
	line-height: 1.5;
	min-height: 100vh;
}
article, aside, canvas, details, figcaption, figure,
footer, header, main, div, menu, nav, section, summary {
	display: block;
	box-sizing: border-box;
}
h1, h2, h3, h4, h5 {
	font-weight: 700;
}
img {
	width: auto;
	max-width: 100%;
	height: auto;
	vertical-align: top;
}
a {
	font-size: 100%;
	background: transparent;
	vertical-align: baseline;
	margin: 0;
	padding: 0;
	border: 0;
    text-decoration: none;
}
ul, ol {
	margin: 0;
	padding: 0;
	list-style: none;
}
img.fit {
	width: 100%;
	height: auto;
}
@media screen and (max-width: 640px) {
	body {
		font-size: 1.6rem;
	}
}
.wrap {
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
@media screen and (max-width: 640px) {
	.wrap {
		padding-left: 10px;
		padding-right: 10px;
	}
}
/* -- Headerer
-------------------------------------------------------------------------------- */
header {
	width: 100%;
	height: 80px;
}
.header-inner {
	width: 100%;
	height: 80px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	border-bottom: 2px solid #d9d9d9;
	background-color: #fff;
}
.header-inner:after {
	content: "";
	display: block;
	clear: both;
}

.header-logo {
	float: left;
	padding-top: 21px;
}
.header-logo div {
	width: 292px;
	margin: 0;
}
@media screen and (max-width: 1000px) {
	.header-logo {
		padding-top: 22px;
	}
	.header-logo div {
		width: 240px;
		margin: 0;
	}
}
/*    o C   Ή  */
@media screen and (max-width: 640px) {
	header {
		height: 55px;
		background-color: transparent;
		-webkit-transition: background-color 0.25s linear 0.25s;
		-moz-transition: background-color 0.25s linear 0.25s;
		-ms-transition: background-color 0.25s linear 0.25s;
		-o-transition: background-color 0.25s linear 0.25s;
		transition: background-color 0.25s linear 0.25s;
	}
	.header-inner {
		height: 55px;
		border-bottom-width: 1px;
		overflow: hidden;
	}
	.header-logo {
		padding-top: 17px;
	}
	.header-logo div {
		width: 165px;
		margin: 0;
	}
	.active-menu header {
		height: 100%;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		background-color: rgba(0, 0, 0, 0.8);
	}
	.active-menu header .header-inner {
		height: 115px;
	}
	.active-menu header .header-logo {
		height: 55px;
		overflow: hidden;
	}
}


/* -- Contents
-------------------------------------------------------------------------------- */
main {
	font-size: 2rem;
}
a:link, a:visited {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
}
a:hover {
	opacity: 0.7;
}
header a:hover,
footer a:hover {
	text-decoration: underline;
}
.wrapper {
	max-width: 1000px;
	margin-top: 50px;
}
.backimage {
	background-image: url(../images/bg2.jpg);
	background-repeat: repeat;
}
.catchcopy {
	position: relative;
}
.text-over {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.container {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-bottom: 30px;
	flex-direction: row;
	text-align: left;
}
  .container-nailer {
    gap: 130px;  /* コンプレッサより広めに。40〜80pxの間で好みに調整 */
  }
.flex-reverse {
	flex-direction: row-reverse;
}
.box1 {
	width: 0 0 60%;
}
.box2 {
  flex: 0 0 40%;                
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

h1 {
	font-size: 4.5rem;
	color: #00000;
	margin-bottom: 40px;
}
h2 {
	font-size: 7rem;
        font-weight: 900;
	background: linear-gradient(90deg,#b69d60,#181818);	
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
	text-align: center;
	margin-bottom: 40px;
        -webkit-text-stroke: 1.5px rgba(0,0,0,0.6);
}
h3 {
	font-size: 3.5rem;
	margin-bottom: 0px;
}
h4 {
	font-size: 3rem;
	margin-bottom: 20px;	
}
.box1 h4 {
  white-space: nowrap;
}
h5 {
	font-size: 1.8rem;
	margin-bottom: 10px;
	}
p {
	font-size: 1.8rem;
}


@media screen and (max-width: 640px) {
  .box2 img {
    max-height: 180px;
  }
}
.round-button {
	display: inline-block;
	min-width: 300px;
	height: 60px;
	padding: 0px 10px;
	border-radius: 5px;
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 60px;
	text-align: center;
	-webkit-box-shadow: 0px 3px 0px 0px #000;
	-moz-box-shadow: 0px 3px 0px 0px #000;
	box-shadow: 0px 3px 0px 0px #000;
}
.round-button.green-white {
	color: #fff;
	background-color: #b69d60;
}
.newline-sp {
	display: none;
}
.grid {
	display: grid;
	margin: 0 auto 40px;
	max-width: 800px;
	gap: 1vw;
	grid-template-columns: repeat(3, 250px);
	grid-template-rows: repeat(2, 250px);
}
.grid-item {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	}
	.grid {
		width: 94vw;
		gap: 2vw;
		grid-template-columns: repeat(2, 46vw);
		grid-template-rows: repeat(3, 46vw);
	}
	.center-img-wrap {
 	 text-align: center;    /* 中のインライン要素を中央寄せ */
	}

	.center-img {
 	 display: inline-block; /* 中央寄せされる対象にしておく */
 	 max-width: 50%;        /* 横幅を親の半分にしたい場合（必要なければ削除） */
	  height: auto;
	}
	.center-img-wrap {
 	 text-align: center;   /* 内側の画像を中央寄せ */
 	 margin: 20px 0;       /* 上下の余白。お好みで調整可 */
	}
	.center-img {
	  display: block;
	  margin: 0 auto;       /* 左右中央寄せ */
 	 max-width: 50%;       /* 画像幅を半分にしたい場合。不要なら削除でOK */
	  height: auto;
}

/*    o C   Ή  */
@media screen and (max-width: 640px) {
	.newline-pc {
		display: none;
	}
	.newline-sp {
		display: inline;
	}
	.container {
		flex-direction: column;
                align-items: center;      /* 左右方向を中央揃え */
                text-align: center;       /* テキストを中央揃え */
                margin-bottom: 20px;      /* 間隔を少しだけ狭く（お好みで調整） */
	}
	.box1 {
		width: 90%;
		order: 1;
		justify-content: center; 
		margin-top: 0px;

	}
	.box2 {
		width: 90%;
		justify-content: center;
                margin-top: 40px; 

	}
        .container-nailer {
                gap: 0px;   /* お好みで 0〜40px くらいに調整 */
        }
	h1 {
		font-size: 1.6rem;
		color: #FFF;
		margin-bottom: 20px;
	}
	h2 {
		font-size: 2.6rem;
		margin-bottom: 20px;
	}
	h3 {
		font-size: 1.6rem;
		margin-bottom: 0px;
	}
	h4 {
		font-size: 1.8rem;
		margin-bottom: 10px;
	}
	h5 {
		font-size: 1.8rem;
		margin-bottom: 10px;
	}
	p {
		font-size: 1.2rem;
	}
	.round-button {
		min-width: 150px;
		height: 35px;
		padding: 0px 10px;
		border-radius: 5px;
		font-size: 1.8rem;
		font-weight: 500;
		line-height: 35px;
	}
}




/* -- Footer
-------------------------------------------------------------------------------- */
.container2 {
	width: 100%;
	height: 80px;
	max-width: 1240px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.box3 {
	font-size: 1.8rem;
	width: 30%;
}
.box4 {
	font-size: 1.8rem;
	width: 30%;
}
.box5 {
	font-size: 1.8rem;
	width: 40%;
}
footer small {
	font-size: 1.4rem;
	color: #898989;
}
footer a:hover {
	text-decoration: underline;
}
/*    o C   Ή  */
@media screen and (max-width: 640px) {
	.container2 {
		flex-direction: column;
		text-align: center;
		height: 40px;
	}
	.box3,.box4,.box5 {
		width: 100%;
		font-size: 1.2rem;
		margin-bottom: 10px;
	}
	footer small {
	font-size: 1rem;
	}
}