@charset "utf-8";

/*Google Fontsの読み込み
---------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tangerine&display=swap');

/*keyframes.cssの読み込み
---------------------------------------------------------------------------*/
@import url("keyframes.css");

/*全端末（PC・タブレット・スマホ）共通設定
---------------------------------------------------------------------------*/

/*全体の設定
---------------------------------------------------------------------------*/
body {
	margin: 0px;
	padding: 0px;
	color: #333;	/*全体の文字色*/
	font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
	font-size: 16px;	/*文字サイズ*/
	line-height: 2;		/*行間*/
	background: #fafafa;	/*背景色*/
	-webkit-text-size-adjust: none;
}
h1,h2,h3,h4,h5,p,ul,ol,li,dl,dt,dd,form,figure,form {margin: 0px;padding: 0px;font-size: 100%;font-weight: normal;}
ul {list-style-type: none;}
ol {padding-left: 40px;padding-bottom: 15px;}
img {border: none;max-width: 100%;height: auto;vertical-align: middle;}
table {border-collapse:collapse;font-size: 100%;border-spacing: 0;}
video {max-width: 100%;}
iframe {width: 100%;}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
	color: #333;		/*リンクテキストの色*/
	transition: 0.2s;	/*マウスオン時の移り変わり*/
}
a:hover {
	color: #ff0909;			/*マウスオン時の文字色*/
	text-decoration: none;
}
html {
  scroll-behavior: smooth;
}

/*inner
---------------------------------------------------------------------------*/
.inner {
	max-width: 1080px;	/*サイトの最大幅*/
	margin: 0 auto;
	padding-left: 4%;
	padding-right: 4%;
}

/*ヘッダー
---------------------------------------------------------------------------*/
header {
	position: relative;
	padding: 20px;
}
.home header {
	padding: 0px;
}
header #logo {
	width: 200px;
	margin: 0 auto;
}
.home header #logo {
	display: none;
}

/*メインメニューのブロック
---------------------------------------------------------------------------*/
#menubar {
	position: relative;z-index: 10;
	text-align: center;
	background: #fff;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	font-family: 'Questrial', sans-serif;
	height: 105px;
}
#menubar ul li {
	float: left;
	width: 20%;
	font-size: 20px;
}
#menubar ul li a {
	text-decoration: none;display: block;
	height: 85px;
	padding-top: 20px;
}
#menubar ul li span {
	display: block;
	font-size: 10px;
	color: #999;
	letter-spacing: 0.2em;
}
#menubar-s, #menubar-s2 {display: none;}
#menubar_hdr {display: none;}
#menubar a.cursor-default {
	cursor: default;
	color: #333;
}

/*ドロップダウンメニュー用
-------------------------------------------------------------------------------------------------------------------------------------------*/
#menubar ul.ddmenu {
	position:absolute;visibility: hidden;z-index: 10;
	left: 0px;
	width: 94%;
	padding: 50px 3%;
	background: rgba(0,0,0,0.85);
	text-align: center;
	border-bottom: 1px solid #fff;
}
#menubar li:hover ul.ddmenu {
	animation-name: opa1;
	animation-fill-mode: both;
	animation-duration: 0.8S;
	animation-delay: 0.1s;
}
#menubar ul.ddmenu li {
	float: none;
	width: auto;
	display: inline-block;
	font-size: 85%;
}
#menubar ul.ddmenu li a {
	height: auto;
	padding: 20px;
	color: #fff;
	opacity: 0.7;
}
#menubar ul.ddmenu li a:hover {
	opacity: 1;
}

/*fixmenu設定
---------------------------------------------------------------------------*/
body.is-fixed-menu #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
	height: 60px;
}
body.is-fixed-menu #contents {
	margin-top: 105px;
}
body.is-fixed #menubar.nav-fix-pos {
	position: fixed;width: 100%;top: 0px;
}
body.is-fixed #contents {
	margin-top: 105px;
}
body.is-fixed-menu #menubar ul li span {
	display: none;
}
body.is-fixed-menu #menubar ul li a {
	height: 50px;
	padding-top: 10px;
}
body.is-fixed-menu #menubar ul.ddmenu li a {
	padding: 20px;
	height: auto;
}

/*コンテンツ
---------------------------------------------------------------------------*/
#contents {
	padding: 100px 0px 50px;
	position: relative;
	animation-name: opa2;
	animation-duration: 0.5S;
	animation-delay: 0.5s;
	animation-fill-mode: both;
}
#contents h2 {
	clear: both;
	margin-bottom: 60px;
	font-size: 300%;
	text-align: center;
	letter-spacing: 0.2em;
}
#contents h2 span {
	display: block;
	font-size: 30%;
	color: #999;
}
#contents h3 {
	clear: both;
	margin-bottom: 30px;
	font-size: 150%;
	border-bottom: 1px solid #ccc;
	padding-left: 3%;
	letter-spacing: 0.1em;
}
#contents p {
	padding: 0 3% 30px;
}
#contents h2 + p,
#contents h3 + p {
	margin-top: -5px;
}
#contents p + p {
	margin-top: -10px;
}
#contents section + section {
	margin-top: 100px;
}

/*list（worksページで使っている横長ブロック）
---------------------------------------------------------------------------*/
#contents .list {
	position: relative;
	border-radius: 5px;
	overflow: hidden;
	display: flex;
	align-items: center;
	background: #000;
	color: #fff;
	margin: 0 3% 30px;
}
#contents .list a {
	color: #fff;
}
#contents .list h4 {
	margin-bottom: 20px;
	font-size: 140%;
}
#contents .list p {
	padding: 0;
}
#contents .list figure {
	width: 50%;
}
#contents .list .text {
	width: 40%;
	padding: 2% 5%;
}
#contents .list:nth-of-type(even) .text {
	order: 1;
}
#contents .list::before {
	font-size: 18vw;
	line-height: 1;
	position: absolute;
	color: rgba(255,255,255,0.15);
	font-family: 'Tangerine', cursive;
}
#contents .list:nth-of-type(odd)::before {
	left: -60px;
	top: -40px;
}
#contents .list:nth-of-type(even)::before {
	right: 0px;
	top: -40px;
}
#contents .list:nth-of-type(1)::before {
	content: "Challange";
}
#contents .list:nth-of-type(2)::before {
	content: "Innovation";
}
#contents .list:nth-of-type(3)::before {
	content: "Philosophy";
}
.btn1 a {
	display: block;
	text-decoration: none;
	border: 1px solid #fff;
	text-align: center;
	padding: 10px 30px;
	margin: 40px auto 0;
}
.btn1 a:hover {
	background: #fff;
	color: #000 !important;
}

/* SPビュー調整 */
@media screen and (max-width: 800px) {
    #contents .list {
        display: flex;
        flex-direction: column;
    }
    #contents .list figure {
        width: 100%;
        order: 1;
    }
    #contents .list img {
        width: 100%;
        height: auto;
    }
    #contents .list .text {
        width: 100%;
        order: 2;
        padding: 20px;
    	box-sizing: border-box;
    }
}

/*list-column（トップページで使っている３列ブロック）
---------------------------------------------------------------------------*/
#contents .list-column-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: 800px;
    padding: 0 16px;
    box-sizing: border-box;
}
#contents .list-column {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
#contents .list-column a {
	color: #fff;
}
#contents .list-column h4 {
	margin-bottom: 20px;
	font-size: 140%;
}
#contents .list-column p {
	padding: 0;
}
#contents .list-column .text {
    padding: 16px;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}
#contents .list-column figure {
	min-height: 0%;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
	clear: both;
	position: relative;
	z-index: 1;
	font-size: 80%;
	background: #222;
	color: #ccc;
	text-align: center;
}
footer a {color: #ccc;}
footer a:hover {color: #fff;}
footer .pr {display: block;font-size: 80%;}

/*フッターメニュー
---------------------------------------------------------------------------*/
#footermenu {
	overflow: hidden;
	padding: 50px 0;
}
#footermenu li a {
	text-decoration: none;
	opacity: 0.7;
}
#footermenu li a:hover {
	opacity: 1;
}
#footermenu ul {
	float: left;
	width: 200px;
	padding-right: 0%;
	padding-left: 5%;
	text-align: left;
}
#footermenu li.title, #footermenu li.title a {
	opacity: 1;
}

@media screen and (max-width: 800px) {
	#footermenu {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}
	#footermenu ul {
		float: none;
		width: 100%;
		padding-left: 10%;
		margin-bottom: 20px;
	}
}

/*コピーライト
---------------------------------------------------------------------------*/
#copyright {
	clear: both;
	text-align: center;
	background: #000;
	padding: 20px 0;
}
#copyright a {text-decoration: none;}

/*facebookやtwitterなどのアイコン
---------------------------------------------------------------------------*/
ul.icon {
	margin-bottom: 20px;
}
ul.icon li {
	display: inline-block;
}
ul.icon img {
	width: 30px;
}
ul.icon img:hover {
	opacity: 0.8;
}

/*トップページ内「更新情報・お知らせ」ブロック
---------------------------------------------------------------------------*/
#new dl {
	padding: 0px 20px;
}
#new dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
#new dd {
	padding-left: 9em;
}

/*company 会社概要ブロック（#company と #history を共通化）
---------------------------------------------------------------------------*/
#company dl, 
#history dl {
	padding: 0px 20px;
}
#company dt, 
#history dt {
	float: left;
	width: 9em;
	letter-spacing: 0.1em;
}
#company dd, 
#history dd {
	padding-left: 9em;
}

/* companyセクションのスタイル（#company と #history 両方に適用）
---------------------------------------------------------------------------*/
#contents #company, 
#contents #history {
    width: 600px;
    max-width: 90%;
    margin: 0 auto;
    padding: 20px 0px 60px 0px;
    box-sizing: border-box;
}

/*ta1設定
---------------------------------------------------------------------------*/
.ta1 caption, .ta2 caption {
	border: 1px solid #ccc;
	border-bottom: none;
	text-align: left;
	background: #eeece4;
	font-weight: bold;
	padding: 10px;
}
.ta1 {
	width: 94%;
	table-layout: fixed;
	margin: 0 3% 30px;
	background: #fff;
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;
	padding: 10px;
	word-break: break-all;
}
.ta1 th {
	width: 150px;
	text-align: center;
	font-weight: normal;
}

/*inputボタン
---------------------------------------------------------------------------*/
#contents input[type="submit"].btn,
#contents input[type="button"].btn,
#contents input[type="reset"].btn {
	-webkit-appearance: none;
	outline: none;
	padding: 5px 20px;
	border: 1px solid #333;
	font-size: 130%;
	border-radius: 3px;
	background: #333;
	color: #fff;
}
#contents input[type="submit"].btn:hover,
#contents input[type="button"].btn:hover,
#contents input[type="reset"].btn:hover {
	border: 1px solid #333;
	background: #fff;
	color: #333;
}

/*トップページのNEWアイコン
---------------------------------------------------------------------------*/
.newicon {
	background: #F00;
	color: #FFF;
	font-size: 70%;
	line-height: 1.5;
	padding: 2px 5px;
	border-radius: 2px;
	margin: 0px 5px;
	vertical-align: text-top;
}

/*ヘッダーにメニューが固定される分、リンク先が隠れるのを防ぐ為のスタイル。
---------------------------------------------------------------------------*/
.link {
	display: block;
	margin-top: -120px;
	padding-top: 120px;
}

/*PAGE TOP（↑）設定
---------------------------------------------------------------------------*/
body .nav-fix-pos-pagetop a {display: none;}
body.is-fixed-pagetop .nav-fix-pos-pagetop a {
	display: block;
	text-decoration: none;
	text-align: center;
	width: 50px;
	line-height: 50px;
	z-index: 1;
	position: fixed;
	bottom: 20px;
	right: 3%;
	background: rgba(0,0,0,0.6);
	color: #fff;
	border: 1px solid #fff;
	animation-name: opa1;
	animation-duration: 1S;
	animation-fill-mode: both;
}
body.is-fixed-pagetop .nav-fix-pos-pagetop a:hover {
	background: #999;
}

/*ul.disc,olタグ
---------------------------------------------------------------------------*/
ul.disc {
	list-style: disc;
	padding: 0 3% 20px 6%;
}
ol {
	padding: 0 3% 20px 6%;
}

/*その他
---------------------------------------------------------------------------*/
.look {background: #fff;border: 1px solid #ccc;display: inline-block;padding: 0px 10px !important;border-radius: 4px;}
p.look {margin: 0 3%;}
.mb15,.mb1em {margin-bottom: 15px !important;}
.mb20 {margin-bottom: 20px !important;}
.mb30 {margin-bottom: 30px !important;}
.mb50 {margin-bottom: 50px !important;}
.clear {clear: both;}
.color1, .color1 a {color: #ff0909 !important;}
.pr {font-size: 10px;}
.wl {width: 96%;}
.ws {width: 50%;}
.c {text-align: center !important;}
.r {text-align: right !important;}
.l {text-align: left !important;}
.fl {float: left;}
.fr {float: right;}
.big1 {font-size: 30px;}
.mini1 {font-size: 11px;display: inline-block;line-height: 1.5;}
.sh {display: none;}

/*画面幅800px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:800px){

	body {
		font-size: 2vw;
	}
	header {
		border-bottom: 1px solid #ccc;
	}
	.home header {
		border: none;
	}
	#menubar-s {
		overflow: auto;height: 100%;
		position: fixed;z-index: 100;
		top: 0px;
		width: 100%;
		background: rgba(0,0,0,0.8);
		border-top: 1px solid #fff;
		animation-name: frame1;
		animation-duration: 0.5s;
		animation-fill-mode: both;
		font-size: 16px;
	}
	#menubar-s li span {
		margin-left: 20px;
		font-size: 80%;
	}
	#menubar-s ul li a,#menubar_hdr2 {
		display: block;text-decoration: none;
		padding: 30px 20px 30px 60px;
		border-bottom: 1px solid #fff;
		color: #fff;
	}
	#menubar {display: none;}
	#menubar_hdr2 {
		padding-left: 60px;
	}
	#menubar-s2 {
		display: block;
		margin-top: 10px;
		border-radius: 5px;
		background: rgba(0,0,0,0.3);
		border: 1px solid #fff;
	}
	#menubar-s2 li a {
		border-bottom: 1px solid #fff !important;
		padding: 10px 20px !important;
	}
	#menubar-s2 li:last-child a {
		border-bottom: none !important;
	}
	#menubar_hdr {
		display: block;
		position: fixed;z-index: 100;
		top: 20px;
		right: 2%;
	}
	#menubar_hdr.close,
	#menubar_hdr.open {
		width: 50px;
		height: 50px;
		border: 1px solid #fff;
	}
	#menubar_hdr.close {
		background: #000 url(../images/icon_menu.png) no-repeat center top/50px;
	}
	#menubar_hdr.open {
		background: #000 url(../images/icon_menu.png) no-repeat center bottom/50px;
	}
	body.is-fixed-menu #contents {
		margin-top: 0px;
	}
	body.is-fixed #contents {
		margin-top: 0px;
	}
	#contents {
		padding: 50px 0;
	}
	#contents h2 {
		margin-bottom: 50px;
	}
	#contents .list-column h4 {
		margin-bottom: 0px;
	}
	.link {
		margin-top: -30px;
		padding-top: 30px;
	}
	body.s-n .sub,body.s-n #footermenu {display: none;}
	.big1 {font-size: 20px;}
}

/*画面幅480px以下の設定
---------------------------------------------------------------------------*/
@media screen and (max-width:480px){

	body {
		font-size: 3vw;
	}
	#contents h2 {
		margin-bottom: 30px;
	}
	#contents h3 {
		margin-bottom: 20px;
	}
	#contents section + section {
		margin-top: 30px;
	}
	.btn1 a {
		padding: 5px 10px;
	}
	.ta1, .ta1 td, .ta1 th {
		padding: 5px;
	}
	.ta1 th {
		width: 100px;
	}
	.ws,.wl {width: 94%;}
	.fl {float: none;}
	.fr {float: none;}
	.big1 {font-size: 16px;}
	.sh {display:block;}
	.pc {display:none;}
}

/* ボタン（共通） */
#contents .list-column .btn1 a {
    display: block;
    text-decoration: none;
    text-align: center;
    margin: 16px auto 0;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.3s;
}
#contents .list-column .btn1 a:hover {
    background: #333;
}
#contents .button {
    display: block;
    text-decoration: none;
    border: 1px solid #000;
    text-align: center;
    padding: 10px 0;
    color: #000;
    background: transparent;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}
#contents .button:hover {
    background: #000;
    color: #fff;
}
#contents .button-container {
    width: 94%;
    max-width: 1080px;
    margin: 20px auto;
    padding: 0;
}

/*お問い合わせフォーム
---------------------------------------------------------------------------*/
.c-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
    font-family: 'Arial', sans-serif;
}
.c-form__item {
    margin-bottom: 20px;
}
.c-form__label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: #555;
}
.c-form__required {
    color: #ff6347;
    font-size: 12px;
    margin-left: 5px;
}
.c-form__input {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.c-form__input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    outline: none;
}
.c-form__input#field-message {
    height: 120px;
    resize: vertical;
}
.c-form__submit button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    font-size: 16px;
    color: #000;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.c-form__submit button:hover {
    background-color: #222;
    color: #fff;
    border: 1px solid #222;
}
