@charset "UTF-8";

/* ---------- reset css ---------- */
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 {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transwpent;
}

body {
  line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display:block;
}

nav ul {
  list-style:none;
}

blockquote, q {
  quotes:none;
}

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

a {
  margin:0;
  padding:0;
  font-size:100%;
  vertical-align:baseline;
  background:transwpent;
}

ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

mark {
  background-color:#ff9;
  color:#000;
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom:1px dotted;
  cursor:help;
}

table {
  border-collapse:collapse;
  border-spacing:0;
}

hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}

input[type='text'],
input[type='submit'],
select,
textarea {
  -webkit-appearance: none;
}

img {
  max-width: 100%;
  line-height: 0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}


/* ---------- 固定汎用CSS ---------- */
html {
	font-size: 62.5%;
}

body {
	font-size: 1.6rem;
	color: #000;
}

* {
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

ul,ol {
	list-style: none;
}

.tx-center {
  text-align: center;
}

.tx-left {
  text-align: left;
}

.tx-right {
  text-align: right;
}

@media screen and (max-width: 767px) {
	.sp-tx-center {
    text-align: center;
  }

	.sp-tx-left {
    text-align: left;
  }

	.sp-tx-right {
    text-align: right;
  }
}

.pc-only {
  display: block;
}

.sp-only {
  display: none !important;
}

.pc-none {
  display: none;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .tb-none {
    display: none;
  }

  .tb-block {
    display: block !important;
  }
}

@media screen and (max-width:767px) {
	.pc-only {
    display: none !important;
  }

	.sp-only {
    display: block !important;
  }

  .sp-none {
    display: none;
  }

  .sp-block {
    display: block !important;
  }
}

body {
  font-family: "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
}

/* drawer-menu */
#btn-trigger {
  cursor: pointer;
}

.nav-line {
  position: relative;
  width: 25px;
  height: 20px;
  z-index: 1000;
}

.nav-line span {
  width: 100%;
  height: 2px;
  left: 0;
  display: block;
  background: #333;
  position: absolute;
  border-radius: 5px;
  transition: .3s;
}

.nav-line span:nth-child(1) {
  top: 0;
}

.nav-line span:nth-child(2) {
  top: 9px;
}

.nav-line span:nth-child(3) {
  bottom: 0;
}

.header .nav-sp {
  background: rgba(255, 255, 255, 0.9);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  font-size: 1.8rem;
  width: 80%;
  padding: 60px 20px 0 20px;
  transform: translateX(100%);
  transition: .3s;
  z-index: 999;
}

.header .nav-sp li {
  padding: 5px 0;
  border-bottom: 1px solid #aaa;
}

.header .nav-sp li a {
  display: block;
  position: relative;
  color: #000;
}

.header .nav-sp li a::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
  width: 7px;
  height: 7px;
  border-top: 1px solid #aaa;
  border-right: 1px solid #aaa;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.open .nav-line {
  position: fixed;
  top: 26px;
  right: 20px;
}

.open .nav-line span:nth-of-type(1) {
  -webkit-transform: translateY(9px) rotate(45deg);
  transform: translateY(9px) rotate(45deg);
}

.open .nav-line span:nth-of-type(2) {
  opacity: 0;
}

.open .nav-line span:nth-of-type(3) {
  -webkit-transform: translateY(-9px) rotate(-45deg);
  transform: translateY(-9px) rotate(-45deg);
}

.open .header .nav-sp {
  transform: translateX(0);
}

.open .nav-bg {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  transition: .3s;
  z-index: 998;
}
