/* ページ全体 */
* {
    font-size : 13px ;
    margin : 0 ;
    padding : 0 ;
}

/* body全体 */
body {
    font-family :  "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka,         "ＭＳ Ｐゴシック", "&#039;MS PGothic", "sans-serif" !important ;
    -webkit-font-smoothing : antialiased ;
    -moz-osx-font-smoothing : grayscale ; /* Firefox */
}

a {
    cursor : pointer ; 
}

/* spのみmenu */

#ham-menu {
    background: rgba(0,0,0,0.7); /*メニュー背景色*/
    box-sizing: border-box;
    padding: 0; /*メニュー内左右上下余白*/
    position: fixed;
    right: 0; /*メニュー横幅 width と合わせる*/
    top: -204px;
    transition: transform 0.3s linear 0s; /*0.3s はアニメーションにかかる時間*/
    width: 100%; /*メニュー横幅*/
    z-index: 998;
}

#ham-menu  a {
    display:block;
    padding: 18px 0 ;
    text-align:center;
}

#menu-background {
    background: rgba(0,0,0,0.7); /*黒背景*/
    display: block;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*アニメーションにかかる時間*/
    width: 100%;
    z-index: -1;
}

#menu-icon {
    background-color: transparent; /*アイコン部分背景色*/
    color: #fff; /*アイコン（フォント）色*/
    cursor: pointer;
    display: block;
    font-size: 50px; /*アイコン（フォント）サイズ*/
    height: 50px; /*アイコン縦高さ*/
    line-height: 50px; /*縦位置中央化*/
    position: fixed;
    right: 0;
    text-align: center;
    top: 0;
    width: 50px; /*アイコン横幅*/
    transition: all 0.2s linear 0s; /*アニメーションにかかる時間*/
    z-index: 1000;
}

#menu-cb {
    display: none; /*チェックボックス本体は消しておく*/
}

#menu-cb:checked ~ #ham-menu {
    transform: translateY(285px); /*メニュー本体横幅 width と合わせる*/
    color: #000; /*アイコン（フォント）色*/
}

#menu-cb:checked ~ #menu-background {
    z-index: 997;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #fff;
    left: 0;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

 /* #nav-toggle 切り替えアニメーション */
#menu-cb:checked  ~ #menu-icon span {
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}
    #menu-cb:checked  ~ #menu-icon span:nth-child(1) {
        top: 37px;
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        transform: rotate(45deg);
    }
    #menu-cb:checked  ~ #menu-icon span:nth-child(2) {
        width: 0;
        right: 50%;
    }
    #menu-cb:checked  ~ #menu-icon span:nth-child(3) {
        top:37px;
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }


.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .2s;
  box-sizing: border-box;
}
.menu-trigger {
  position: relative;
  width: 28px;
  height: 28px;
}
.menu-trigger span {
  position: absolute;
  right: 1px;
  width: 100%;
  height: 2px;
  background-color: #fff;
}
.menu-trigger span:nth-of-type(1) {
  top: 26px;
}
.menu-trigger span:nth-of-type(2) {
  top: 34px;
}
.menu-trigger span:nth-of-type(3) {
  top:42px;
}
.menu-trigger.active span:nth-of-type(1) {
  top: 26px;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.menu-trigger.active span:nth-of-type(2) {
  width: 0;
  right: 50%;
}
.menu-trigger.active span:nth-of-type(3) {
  top: 42px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}




/*  ====== PC setting ====== */

@media screen and (min-width: 767px) {

/* メールフォーム全体を囲うidタグ */
#contents_wrapper {
    width : 500px ;
    margin : 60px auto 80px auto ;
    padding : 0 ;
}

/* 入力フォームを囲うclassタグ */
.setting_section {
    margin-bottom : 25px ;
}

/* ボタンを囲うclassタグ */
.button_box {
    clear : both ;
    padding : 0 5px ;
    font-size : 100% ;
    text-align : right ;
}
.center {
    text-align : center ; 
}

/* 赤文字を表示するためのclassタグ */
.red_txt {
    color: #ff3333;
}

/* 左詰の文字を表示するためのclassタグ */
.left_txt {
    text-align : left;
}

/* 説明文を表示するためのidタグ */
#txt_explain {
    color: #fff;
}

/* コンテンツ内の[p]タグ */
#contents p {
    margin-bottom : 2em ;
   font-size:13px;
    padding-left : 10px ;
}

/* コンテンツ内の[h3]タグ */
#contents h3 {
    color: #fff;
    padding : 5px 10px ;
    text-align : left ;
    font-size : 20px ;
    margin-bottom : 10px ;
}

/* コンテンツ内の内部タグ */
#contents .inner-form {
    padding : 0  ;
}

/* コンテンツ内のフォームに使用する[table]タグ */
#contents table {
    border-collapse : collapse ;
    border-right : none ; 
    border-bottom : none ;
}

/* コンテンツ内のフォームに使用する[th]タグ */
#contents table th {
    border-top : none ; 
    border-left : none ;
    background : #000;
    color : #ffffff;
    padding : 5px 10px ;
    text-align : left ;
    vertical-align : middle !important ;
    font : inherit ;
    font-size : 13px ;
    font-family : &#039;Rosarivo&#039;, serif ;
    font-weight : 400 ;
    font-style : normal ;
    -webkit-font-smoothing : antialiased ;
    -moz-osx-font-smoothing : grayscale ; /* Firefox */
}

/* コンテンツ内のフォームに使用する[td]タグ */
#contents table td {
    border-top : none ; 
    border-left : none ;
    padding : 3px 5px ;
    text-align : left ;
}

/* フォーム全体 */
#main_table * {
	font-family : sans-serif ;
}

/* フォーム内の入力欄 */
#main_table input {
    width : 300px ;
}

/* フォーム内の入力欄 */
#main_table textarea {
    width : 400px ;
}

}



/*  ====== sp setting ====== */

@media screen and (max-width: 767px) {

/* メールフォーム全体を囲うidタグ */
#contents_wrapper {
    width : 100% ;
    padding : 0 ;
    margin : 30px  auto 60px auto ;
}

/* 入力フォームを囲うclassタグ */
.setting_section, .form_section  {
    padding : 3% ;
    margin-bottom : 25px ;
}


/* ボタンを囲うclassタグ */
.button_box {
    clear : both ;
    padding : 0 ;
    font-size : 100% ;
    text-align : right ;
}
.center {
    text-align : center ; 
}

/* 赤文字を表示するためのclassタグ */
.red_txt {
    color: #ff3333;
}

/* 左詰の文字を表示するためのclassタグ */
.left_txt {
    text-align : left;
}

/* 説明文を表示するためのidタグ */
#txt_explain {
    color: #fff;
}

/* コンテンツ内の[p]タグ */
#contents p {
    margin-bottom : 2em ;
    text-align : justify ;
    font-size : 13px ;
}

/* コンテンツ内の[h3]タグ */
#contents h3 {
    color: #fff;
    padding : 5px 10px 5px 6px ;
    text-align : left ;
    font-size : 20px ;
    margin-bottom : 10px ;
}

/* コンテンツ内の内部タグ */
#contents .inner-form {
    padding : 0 5px ;
}

/* コンテンツ内のフォームに使用する[table]タグ */
#contents table {
    width : 100% ;
    border-collapse : collapse ;
    border-right : none ; 
    border-bottom : none ;
}

/* コンテンツ内のフォームに使用する[th]タグ */
#contents table th {
    width : 20% ;
    border-top : none ; 
    border-left : none ;
    background : #000;
    color : #ffffff;
    padding : 3px 5px ;
    text-align : left ;
    vertical-align : middle !important ;
    font : inherit ;
    font-size : 0.8em ;
    font-family : &#039;Rosarivo&#039;, serif ;
    font-weight : 400 ;
    font-style : normal ;
    -webkit-font-smoothing : antialiased ;
    -moz-osx-font-smoothing : grayscale ; /* Firefox */
}

/* コンテンツ内のフォームに使用する[td]タグ */
#contents table td {
    width : 80% ;
    border-top : none ; 
    border-left : none ;
    padding : 3px 5px ;
    text-align : left ;
}

/* フォーム全体 */
#main_table * {
	font-family : sans-serif ;
}

/* フォーム内の入力欄 */
#main_table input {
    width : 80% ;
}

/* フォーム内の入力欄 */
#main_table textarea {
    width : 100%;
}

}