/* ----------------------------------------------------------	
	Base.css
    
	Author: R.Cna
	Author URI: http://wapuka.com/
	Version: 0.1
---------------------------------------------------------- */

/* WEB FONT */

/* ----------------------------------------------------------	
	Reset CSS
	
	as a base OZ RESET CSS
	http://on-ze.com/archives/189
---------------------------------------------------------- */

* {
border: 0;
margin: 0;
outline: 0;
padding: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
font: inherit;
font-family: inherit;
font-size: 100%;
font-style: inherit;
font-weight: inherit;
text-decoration: none;
vertical-align: baseline;
}

html { font-size: 100%; width:100%; height:100%; }

body {
font-size:10px;
font-size:1.0rem;
line-height:1;
position:relative;
	-webkit-text-size-adjust:100%;
	-moz-text-size-adjust:100%;
	-ms-text-size-adjust:100%;
	-o-text-size-adjust:100%;
	text-size-adjust:100%;
-webkit-font-smoothing:antialiased;
font-smoothing:antialiased;
-moz-osx-font-smoothing:grayscale;
width:100%;
height:100%;
}

article, aside, dialog, figure, footer, header, main, menu, nav, section { display:block; }
audio, canvas, video { display:inline-block; }

br,
hr { display:block; }

ol,
ul { list-style:none; }
li { list-style:none; }

blockquote, q { quotes:none; }
blockquote:before, blockquote:after, q:before, q:after { content:''; content:none; }

input,
select { vertical-align:middle; }

table { border-collapse:collapse; border-spacing:0; empty-cells:show; }

/* ----------------------------------------------------------
	
	Basic CSS
	
---------------------------------------------------------- */

/* BASE -------------------------------------------------- */

body {
  background: url(../img/head-bg.png) left top repeat-x;
  background-size: 512px auto;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  background-color: #f9f1d0;
  font-size: 14px;
  color: #595757;
}
h1 {
  font-size: 20px;
  line-height: 46px;
  letter-spacing: 0.1rem;
  color: #ffffff;
  font-weight: 900;
}
h2 {
  font-size: 14px;
  line-height: 33px;
  margin-bottom: -20px;
  letter-spacing: 0.1rem;
  color: #ffffff;
  font-weight: 800;
}
@media screen and (max-width: 750px) {
  h1 {
    font-size: 14px;
  }
}
a:link, a:visited, a:hover, a:active {
  text-decoration: none;
  color: #595757;
}

/* PC・スマホ表示切り替え */
.pc  { display: inline-block; }
.sm  { display: none; }
.pc_block  { display: block; }
.sm_block  { display: none; }

@media screen and (max-width: 750px) {
  .pc  { display: none; }
  .sm  { display: inline-block; }
  .pc_block  { display: none; }
  .sm_block  { display: block; }
}

/* LAYOUT -------------------------------------------------- */

.wrapper {
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px;
  box-sizing: border-box;
}
#header {
  position: relative;
}
#header h1 {
  display: inline-block;
}
.header-content {
  position: relative;
}
.innerbox {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  letter-spacing: 0.1rem;
  line-height: 1.2rem;
}
#footer {
  position: relative;
  background: #ad6d22;
  color: #fff;
  position: absolute;
  bottom: 0;  /* 下部に固定 */
  width: 100%;
}

/* NAVIGATION -------------------------------------------------- */

#nav-drawer {
  position: relative;
  float: right;
  top: 14px;
}

/* NAVIコントロールボックス */
.nav-unshown {
  display:none;
}
/* ハンバーガーアイコン */
#hamburger {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}
#hamburger span, #hamburger span:before, #hamburger span:after {
  position: absolute;
  height: 3px;  /*線の太さ*/
  width: 24px;  /*長さ*/
  background: #fff;
  display: block;
  content: '';
  cursor: pointer;
}
#hamburger span:before {
  bottom: -8px;
}
#hamburger span:after {
  bottom: -16px;
}

/* Close用のオーバーレイヤー */
#nav-close {
  display: none;
  position: fixed;
  z-index: 99;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: 0;
  transition: .3s ease-in-out;
}
/* コンテンツ */
#nav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: 90%;
  max-width: 330px;
  height: 100%;
  color: #fff;
  background: #ef7f42;  /* 背景色 */
  transition: .3s ease-in-out;
  -webkit-transform: translateX(120%);
  transform: translateX(120%);
}
/* 表示 */
#nav-input:checked ~ #nav-close {
  display: block;
  opacity: .5;
}
#nav-input:checked ~ #nav-content {
  -webkit-transform: translateX(0%);
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

/* PARTS -------------------------------------------------- */

/* 明朝風 */
.sans-serif {
  font-family: 游明朝,"Yu Mincho",YuMincho,"Hiragino Mincho ProN","Hiragino Mincho Pro",HGS明朝E,メイリオ,Meiryo,serif;
}
/* margin */
.mt8  { margin-top: 8px; }
.mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; }
.mt32 { margin-top: 32px; }
.mb8  { margin-bottom: 8px; }
.mb16 { margin-bottom: 16px; }
.mb24 { margin-bottom: 24px; }
.mb32 { margin-bottom: 32px; }

.pl1   { padding-left: 1rem; }
.pl1_5 { padding-left: 1.5rem; }
.pl2   { padding-left: 2rem; }

.ml1   { margin-left: 1rem; }
.ml2 { margin-left: 2rem; }

/* font */
.fw600 { font-weight: 600; }
.fw800 { font-weight: 800; }
/* (normal14px) */
.fontMin { font-size: 12px; }
.fontLarge { font-size: 16px; }

/* 文字配置：Horizontal */
.left   { text-align: left; }
.center { text-align: center; }
.right  { text-align: right; }

/* 文字配置：vertical */
.top    { vertical-align: top; }
.bottom { vertical-align: bottom; }

/* letter-space */
.letterSp1 { letter-spacing: 0.1rem; }
.letterSp2 { letter-spacing: 0.2rem; }

/* 文字色 */
.txtBrown       { color: #a36923; }
.txtMidashiBlue { color: #3164af; }

/* ACCORDION-BOX -------------------------------------------------- */

.accbox label {
  cursor :pointer;
  transition: all 0.5s;
}
.accbox input {
  display: none;
}

/*中身を非表示にしておく*/
.accbox .acc-content {
    height: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    text-align: left;
}
/*クリックで中身表示*/
.cssacc:checked + label + .acc-content {
    height: auto;
    opacity: 1;
    margin: 0 auto;
}
