﻿/*/*
Theme Name: soniaオリジナルテンプレート（ヘッダー白）
Theme URI: [none]
Author: [YUKI ISHIDA]
Author URI: [none]
Description: [株式会社ソニアのオリジナルテンプレート]
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sonia.inc

This theme is licensed under the GPL.
Copyright (c) 2018 SONIA. all right reserved.
*/
@charset "utf-8";

/* ------------------------------------------------ */
/* 1.共通
/* ------------------------------------------------ */

/* ボックスサイズの計算方法を指定 */
* {
	box-sizing: border-box;
}

/* フォント指定　源ノ明朝 - Source Han Serif（Medium） */
/* https://source.typekit.com/source-han-serif/jp/     */

@font-face {
	font-family: "source-han-serif";
  	src: url(font/source-han-serif.woff) format("woff");
}

/* ページ全体の基本スタイル */

body {
	color: #000000;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-size: 14px;
	font-family: "source-han-serif", sans-serif;
	line-height: 1.6;
	background-image: url(http://www.fs-sonia.com/wp-content/uploads/back.jpg);
}


/* 2等分で横並び */
.col-6 {
	width: 50%;
}

/* リンクの基本スタイル */
a {
	color: #000000;
	transition: 0.5s;
}

/* リンクにマウスが乗ったときのスタイル */
a:hover {
	opacity: 0.7;
}


/* 文字の揃え */
.alignleft {
	text-align: left;
}

.aligncenter {
	text-align: center;
}

.alignright {
	text-align: right;
}

/* 回り込み */

.fl{
	float:left;
}

.fr{
	float:right;	
}

.cl{
	clear:both;	
}


/* パンくずリスト */

.breadcrumbs {
	margin-bottom: 20px;
	font-size: 12px;
}

/* PC専用コンテンツを表示 */
.pc {
	display: block;
}

/* スマホ専用コンテンツを非表示 */
.sp {
	display: none;
}


/* ------------------------------------------------ */
/* トップ背景スライダー設定
/* ------------------------------------------------ */

.topback {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background:#000000;
    z-index:-1;
}

.topback li {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    -webkit-animation: anime 20s linear 0s infinite ;
    animation: anime 20s linear 0s infinite ;
}

.topback li:nth-child(1) { 
	background-image: url(http://www.fs-sonia.com/wp-content/uploads/topback01.png) ;
}
.topback li:nth-child(2) {
    background-image: url(http://www.fs-sonia.com/wp-content/uploads/topback02.png);
    -webkit-animation-delay: 5s;
    animation-delay: 5s;
}
.topback li:nth-child(3) {
    background-image: url(http://www.fs-sonia.com/wp-content/uploads/topback03.png);
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}
.topback li:nth-child(4) {
    background-image: url(http://www.fs-sonia.com/wp-content/uploads/topback04.png);
    -webkit-animation-delay: 15s;
    animation-delay: 15s;
}

@-webkit-keyframes anime { 
	0% {
	    -webkit-animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
	    -webkit-transform: scale(1.1);
		opacity: 1;
	}
	40% {
	    -webkit-transform: scale(1.2);
            -webkit-animation-timing-function: ease-out;
		opacity: 1;
	}
	50% {
	    -webkit-transform: scale(1.3);
		opacity: 0;
	}
	100% { opacity: 0 }
}
@keyframes anime { 
	0% {
	    animation-timing-function: ease-in;
		opacity: 0;
	}
	10% {
	    transform: scale(1.1);
		opacity: 1;
	}
	40% {
	    transform: scale(1.2);
            animation-timing-function: ease-out;
		opacity: 1;
	}
	50% {
	    transform: scale(1.3);
		opacity: 0;
	}
	100% { opacity: 0 }
}

/* ------------------------------------------------ */
/* 2.ヘッダー
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
header {
	padding-top: 5px;
	padding-bottom: 0px;
	padding-left:40px;
	background-color:#ffffff;
	overflow:hidden;
	margin-bottom:10px;
}


/* 見出しのスタイル */
h1 {
	color: #000000;
	font-size: 12px;
	font-weight: normal;
	margin-top: 8px;
	margin-right:15px;
	margin-bottom: 35px;
}

/* ロゴ */
#logo{
	float:left;
	padding-right:150px;	
}

/* ------------------------------------------------ */
/* 3.グローバルナビゲーション
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
#gNav {
	padding-bottom:0;
	color:#000000;
}

/* メニューリストを囲む枠 */
#gNav ul {
	display: -webkit-flex;	/* safari用 */
	display: flex;
}

/* メニューリストの共通スタイル */
#gNav li {
	border-left: 1px solid #a1924a;
	text-align: center;
	width: 25%;
	color:#ffffff;
	
}

/* 一番右のメニューリストのスタイル */
#gNav li:last-child {
	border-right: 1px solid #a1924a;
}

/* メニューのリンクスタイル */
#gNav a {
	display: block;
	font-size: 12px;
	line-height: 45px;
	text-decoration: none;
	color:#000000;
}

/* メニューにマウスを乗せたときのスタイル */
#gNav a:hover {
	background-color: #ffffff;
	color: #a1924a;
	opacity: 1;
}


/* 現在ページのメニュースタイル */
#gNav .current-menu-item a,
#gNav .current-menu-item a span {
	background-color: rgba(150,114,51,0.2);
	color: #000000;
}

/* ------------------------------------------------ */
/* 4.レイアウト
/* ------------------------------------------------ */

/* ページ全体を囲む枠 */
#wrapper {
	margin: 0 auto;
	width:1000px;
	background-color: rgba(225,225,225,0.7);
}

/* 固定ページのアイキャッチ画像を中央表示にする */
.page #thumnailimage img {
	width:100%;
	height:auto;
	text-align:center; 
}

/* ------------------------------------------------ */
/* 5.コンテンツ
/* ------------------------------------------------ */

/* コンテンツ全体の囲みサイズ */
#contents {
	margin: 0 auto;
	width: 950px;
}

p{
	margin:5px 10px 5px 20px;	
}

/* 各項目のimgタイトルに使用 */
h2 {
	padding: 0.5em 1em;
	margin:5px 0 5px 0;
}

/* 個人情報保護方針の小見出しに使用 */
h3 {
	background-color:#a48349;
	font-weight: bold;
	margin-bottom: 25px;
	padding: 0.2em 1em;
}

/* 事業内容や採用情報の小見出しに使用 */
h4 {
	font-weight: bold;
	font-size:20px;
}

/* 社長挨拶の見出しに使用 */
h5 {
	font-weight: bold;
	font-size:20px;
	margin:20px;
	padding-top:20px;
	padding-bottom:10px;
}

/* 画像ボックス（左寄せ） */
.box {
	padding: 0 25px;
	margin-bottom: 10px;
	background-color:transparent;
	float:left;
}


/* ボックス内の画像設定 */
.box img {
	width:300px;
	height:200px;
}



/* 画像ボックスmini（左寄せ） */
.box-mini {
	padding: 0 25px;
	margin-bottom: 10px;
	background-color:transparent;
	float:left;
}

/* ボックス内の画像設定 */
.box-mini img {
	width:100px;
	height:100px;
}

/* ------------------------------------------------ */
/* 6.フッター
/* ------------------------------------------------ */

/* エリア外枠のスタイル */
footer {
	background-color:#ffffff;
	color: #000000;
	padding: 1em;
}

/* 著作権表記 */
#copyright {
	text-align: center;
	margin-top: 20px;
	display: block;
}


/* ------------------------------------------------ */
/* 7.フッターナビゲーション
/* ------------------------------------------------ */

/* メニューリストを囲む枠 */
#fNav ul {
	display: -webkit-flex;				/* safari用 */
	display: flex;
	-webkit-justify-content: center;	/* safari用 */
	justify-content: center;
	width: 100%;
	margin: 0 auto;
}

/* メニューリストの共通スタイル */
#fNav li {
	padding: 0 15px;
	border-right: 1px solid #ffffff;
}

/* 一番最後のメニュー */
#fNav li:last-child {
	border-right: none;
	padding-right: 0;
}

/* メニューリンクの共通スタイル */
#fNav a {
	color: #000000;
	text-decoration: none;
}

/* メニューリンクにマウスを乗せたときのスタイル */
#fNav a:hover {
	background-color: #ffffff;
	color: #a1924a;
	opacity: 1;
}

/* ------------------------------------------------ */
/* 8.トップページ専用スタイル
/* ------------------------------------------------ */

/* メインビジュアル */
#main_visual {
	width: 100%;
}

/* 新着情報のリスト */
#infoback{
	background-color: rgba(225,225,225,0.7);
}

#infolist{
	width:950px;
	margin-left:40px;
}

#infolist li {
	margin-bottom: 5px;
}

#infolist .date {
	font-weight: bold;
	font-size: 12px;
}

#infolist a {
	color: inherit;
}

#allinfo{
	margin-left:40px;	
	margin-top:20px;
}

/* ------------------------------------------------ */
/* 9.新しい旅立ちページスタイル
/* ------------------------------------------------ */

/* 沿革のテーブル */
table.history {
    margin-left:40px;
    width: 450px;
    border: none;
    border-collapse: separate;
    border-spacing: 0 5px;
	margin-bottom:25px;
}

table.history th{
	padding-bottom:5px;
	text-align:left;
}

table.history td{
	padding-top:20px;
	padding-bottom:5px;
	text-align:left;
}

/* 会社概要のテーブル */
table.company {
    margin: 0 auto;
    width: 800px;
    border: none;
    border-collapse: separate;
    border-spacing: 0 10px;
    background-color: rgba(219,196,164,0.5);
	margin-bottom:25px;
}
 
table.company th {
    vertical-align: middle;
	padding-left:50px;
    height: 53px;
    width: 80px;
    border-right: solid 1px #000;
    margin: 0;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
	color:#000;
}
 
table.company td.data {
    padding-left: 50px;
    margin: 0;
    height: 53px;
    width: 300px;
    border: none;
    font-size: 14px;
	color:#000;
    line-height: 16px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
}
  
table.company td.bar {
    height: 1px;
    width: 100%;
    border-top: solid 1px #34495e;
}

/* 社長挨拶　名前サイズ */
.president{
	text-align:right;
	margin-right:250px;
	font-size:16px;
}

/* ------------------------------------------------ */
/* 10.事業内容/採用情報　テーブル設定
/* ------------------------------------------------ */

table.recruit {
    width: 900px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0px 3px;
    font-size: 14px;
}
 
table.recruit th,
table.recruit td {
    padding: 10px;
}
 
table.recruit th {
    background-color: rgba(150,114,51,0.8);
    vertical-align: middle;
    text-align: left;
    width: 100px;
    overflow: visible;
    position: relative;
    color: #fff;
    font-weight: normal;
    font-size: 14px;
}
 

 
table.recruit td {
    background-color: rgba(255,255,255,0.6);
    width: 360px;
    padding-left: 20px;
}


/* ------------------------------------------------ */
/* 11.プライバシーポリシーページ専用スタイル
/* ------------------------------------------------ */

/* プライバシーポリシーのリスト枠 */
#our-policy ol {
	margin-bottom: 25px;
}

/* プライバシーポリシーのリスト */
#our-policy li {
	list-style: decimal inside;
}

/* ------------------------------------------------ */
/* 12.お問い合わせページ専用スタイル
/* ------------------------------------------------ */

/* お問い合わせフォーム */
#mail-form table {
	width: 700px;
	margin: 0 auto;
}

#mail-form th {
	font-weight: bold;
	text-align: left;
	background-color: rgba(150,114,51,0.4);
	vertical-align: top;
	color:#fff;
}

#mail-form th,
#mail-form td {
	border: 1px solid #ccc;
	padding: 0.5em 0.5em;
}

#mail-form th span {
	color: #fff;
	padding: 0.1em 0.8em;
	margin-right: 0.5em;
	border-radius: 4px;
	box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.2);
}

#mail-form th span.required {
	background:#e65353;
}

#mail-form th span.notrequired {
	background: #92afdc;
}

#mail-form tr:last-child td {
	text-align: center;
	border: none;
	border-top: 1px solid #ccc;
}

#mail-form input[type="text"],
#mail-form textarea {
	width: 100%;
	border: 1px solid #ccc;
	padding: 0.2em 0.5em;
	font-family: inherit;
}

#mail-form textarea {
	min-height: 100px;
}

#mail-form input[type="submit"],
#mail-form input[type="button"],
#mail-form input[type="reset"] {
	width: 120px;
	background-color: rgba(150,114,51,0.6);
	border: none;
	color: #fff;
	padding: 0.2em 0.5em;
	margin-top: 20px;
	height: 40px;
	display: inline-block;
	vertical-align: top;
	font-family: inherit;
}


/* ------------------------------------------------ */
/* 13.ブログページ専用スタイル
/* ------------------------------------------------ */

/* 投稿日付とカテゴリー */
.entry-meta {
	margin-bottom: 15px;
	font-weight: bold;
	font-size: 90%;
}

/* 投稿本文の枠 */
.entry-content {
	margin-bottom: 15px;
}

.entry-content::after {
	content: '';
	display: block;
	clear: both;
}

/* アーカイブページのサムネイル */
body.archive .entry-content img {
	float: left;
	margin: 0 15px 15px 0;
	width: 250px;
	height: auto;
}


/*フェイドイン*/
body {
    animation: fadeIn 2s ease 0s 1 normal;
    -webkit-animation: fadeIn 2s ease 0s 1 normal;
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}

@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}


/* ------------------------------------------------ */
/* レスポンシブ（767px以下）
/* ------------------------------------------------ */
@media only screen and (max-width:767px) {

	/* ------------------------------------------------ */
	/* 1.共通
	/* ------------------------------------------------ */

	/* PC専用コンテンツを非表示 */
	.pc {
		display: none;
	}

	/* スマホ専用コンテンツを表示 */
	.sp {
		display: block;
	}

	/* グリッド型のボックスを縦並びにする */
	.col-4, .col-6, .col-8 {
		display: block;
		width: 100%;
	}
	
	

	/* ------------------------------------------------ */
	/* 2.ヘッダー
	/* ------------------------------------------------ */

	/* エリア外枠のスタイル */
	header {
		padding-top: 5px;
		padding-bottom: 0px;
		padding-left:0px;
		background-color:#ffffff;
		overflow:hidden;
		margin-bottom:10px;
	}


	/* 見出しのスタイル */
	h1 {
		display: none;
	}

	/* ロゴ */
	#logo{
		float:none;
		padding-right:0px;
		padding-left:10px;
		margin:auto;
	}


	/* ------------------------------------------------ */
	/* 3.グローバルナビゲーション
	/* ------------------------------------------------ */
	
	/* メニューを2列で表示する */
	
	#gNav ul {
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	#gNav li {
		border-left: 1px solid #a1924a;
		border-bottom: 1px solid #a1924a;
		width: 50%;
	}
	/* メニューの4隅に枠線を付ける */
	
	#gNav li:nth-child(1),
	#gNav li:nth-child(2) {
		border-top: 1px solid #a1924a;
	}
	
	/* ------------------------------------------------ */
	/* 4.レイアウト
	/* ------------------------------------------------ */

	/* ページ全体を囲む枠 */
	#wrapper {
		margin: 0 auto;
		width:100%;
		background-color: rgba(225,225,225,0.7);
	}

	/* ------------------------------------------------ */
	/* 5.コンテンツ
	/* ------------------------------------------------ */

	/* コンテンツ全体の囲みサイズ */
	#contents {
		margin: 0 auto;
		width: 100%;	
	}

	p{
		margin:5px;	
	}


	/* 中見出し */
	h2 {
		padding: 0.5em 1em;
		margin:5px 0 5px 0;
	}
	
	h2 img{
		width:60%;	
	}

	/* 小見出し */
	h3 {
		background-color:#a48349;
		font-weight: bold;
		margin-bottom: 15px;
		padding: 0.2em 1em;
	}

	h4 {
		font-weight: bold;
		font-size:20px;
	}

	h5 {
		font-weight: bold;
		font-size:20px;
		margin:20px;
		padding-top:20px;
		padding-bottom:10px;
	}

	/* 画像ボックス（左寄せ） */
	.box {
		padding: 0;
		margin-bottom: 10px;
		background-color:transparent;
		float:none;
		text-align:center;
		margin:auto;
	}
	
	/* ボックス内の画像設定 */
	.box img {
		width:100%;
		height:auto;
	}
	
		
	/* ------------------------------------------------ */
	/* 6.フッター
	/* ------------------------------------------------ */

	/* エリアの外枠 */
	footer {
		display: block;
		padding: 25px 10px;
	}

	/* 著作権表記 */
	#copyright {
		text-align: center;
		font-size: 12px;
	}

	/* ------------------------------------------------ */
	/* 7.フッターナビゲーション
	/* ------------------------------------------------ */

	/* メニューを縦並びにする */
	#fNav ul {
		display: block;
		width: 100%;
	}

	/* 各メニュー要素の装飾 */
	#fNav li {
		background-color: #ffffff;
		margin-bottom: 1px;
		border-right: none;
		position: relative;
		padding: 0;
	}

	/* 各メニューのリンク領域を枠いっぱいに広げて上下中央寄せ */
	#fNav a {
		color: #a1924a;
		display: block;
		padding: 10px;
	}

	/* 各メニュー右端のリンクボタン */
	#fNav li a::before {
		content: '>';
		position: absolute;
		top: 10px;
		right: 7px;
		color: #fff;
		background-color: #a1924a;
		border: 2px solid #ffffff;
		border-radius: 50%;
		width: 20px;
		height: 20px;
		line-height: 20px;
		padding: 0;
		text-align: center;
	}
	
	
	/* ------------------------------------------------ */
	/* 8.トップページ専用スタイル
	/* ------------------------------------------------ */

	/* メインビジュアル */
	#main_visual {
		width: 100%;
	}

	/* 新着情報のリスト */
	#infoback{
		background-color: rgba(225,225,225,0.7);
	}
	
	#infolist{
		width:100%;
		margin-left:5px;
	}
	
	#infolist li {
		width: 48%;
		margin-bottom: 5px;
	}
	
	#infolist .date {
		font-weight: bold;
		font-size: 12px;
	}
	
	#infolist a {
		color: inherit;
	}
	
	#allinfo{
		margin-left:5px;	
		margin-top:20px;
	}

	/* ------------------------------------------------ */
	/* 9.新しい旅立ちページスタイル
	/* ------------------------------------------------ */

	/* 沿革のテーブル */
	table.history {
   		margin-left:5px;
    	width: 100%;
    	border: none;
    	border-collapse: separate;
    	border-spacing: 0 5px;
		margin-bottom:25px;
	}

	table.history th{
		width:100px;
		text-align:left;
	}

	/* 会社概要のテーブル */
	table.company {
		margin: 0 auto;
		width: 360px;
		border: none;
		border-collapse: separate;
		border-spacing: 0 3px;
		background-color: rgba(219,196,164,0.5);
		margin-bottom:25px;
	}
	 
	table.company th {
		vertical-align: middle;
		padding-left:5px;
		height: 53px;
		width: 70px;
		border-right: solid 1px #000;
		margin: 0;
		text-align: left;
		font-size: 14px;
		font-weight: bold;
		color:#000;
	}
	 
	table.company td.data {
		padding-left: 5px;
		margin: 0;
		height: 53px;
		width: 240px;
		border: none;
		font-size: 14px;
		color:#000;
		line-height: 16px;
		text-align: left;
		vertical-align: middle;
		white-space: nowrap;
		overflow: hidden;
	}
	  
	table.company td.bar {
		height: 1px;
		width: 100%;
		border-top: solid 1px #34495e;
	}

	/* 社長挨拶　名前サイズ */
	.president{
		text-align:right;
		margin-right:25px;
		font-size:16px;
	}

	/* ------------------------------------------------ */
	/* 10.事業内容/募集要項　テーブル設定
	/* ------------------------------------------------ */

	/* テーブル */
	table.recruit {
    	width: 100%;
		border-spacing: 0px 3px;
		font-size: 14px;
	}
	 
	table.recruit th,
	table.recruit td {
		padding: 5px;
	}
	 
	table.recruit th {
		background-color: rgba(150,114,51,0.8);
		vertical-align: middle;
		text-align: left;
		width: 150px;
		overflow: visible;
		position: relative;
		color: #fff;
		font-weight: normal;
		font-size: 14px;
	}
	 
	
	 
	table.recruit td {
		background-color: rgba(255,255,255,0.6);
		width: 200px;
		padding-left: 5px;
	}
	
	/* ------------------------------------------------ */
	/* 12.お問い合わせページ専用スタイル
	/* ------------------------------------------------ */
	
	/* お問い合わせフォーム */
	#mail-form table {
		width: 350px;
		margin: 0 auto;
	}
	
	#mail-form th {
		font-weight: bold;
		text-align: left;
		width: 350px;
		background-color: rgba(150,114,51,0.8);
		vertical-align: top;
		color:#fff;
	}
	
	#mail-form th,
	#mail-form td {
		border: 1px solid #ccc;
		padding: 0.5em 0.5em;
	}
	
	#mail-form th span {
		color: #fff;
		padding: 0.1em 0.8em;
		margin-right: 0.5em;
		border-radius: 4px;
		box-shadow: 1px 1px 1px 0 rgba(0,0,0,0.2);
	}
	
	#mail-form th span.required {
		background:#e65353;
	}
	
	#mail-form th span.notrequired {
		background: #92afdc;
	}
	
	#mail-form tr:last-child td {
		text-align: center;
		border: none;
		border-top: 1px solid #ccc;
	}
	
	#mail-form input[type="text"],
	#mail-form textarea {
		width: 100%;
		border: 1px solid #ccc;
		padding: 0.2em 0.5em;
		font-family: inherit;
	}
	
	#mail-form textarea {
		min-height: 100px;
	}
	
	#mail-form input[type="submit"],
	#mail-form input[type="button"],
	#mail-form input[type="reset"] {
		width: 120px;
		background-color: rgba(150,114,51,0.8);
		border: none;
		color: #fff;
		padding: 0.2em 0.5em;
		margin-top: 20px;
		height: 40px;
		display: inline-block;
		vertical-align: top;
		font-family: inherit;
	}



}