@charset "utf-8";

/* リセット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:transparent;
}

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:transparent;
}

/* change colours to suit your needs */
ins {
  background-color:#ff9;
  color:#000;
  text-decoration:none;
}

/* change colours to suit your needs */
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;
}

/* change border colour to suit your needs */
hr {
  display:block;
  height:1px;
  border:0;
  border-top:1px solid #cccccc;
  margin:1em 0;
  padding:0;
}

input, select {
  vertical-align:middle;
}
/* ここまでがリセットcss */

/* 共通 */
* {
  box-sizing: border-box;
}

body {
  font-family: "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro",
    "Yu Gothic Medium", "游ゴシック Medium", sans-serif;
  line-height: 1.6;
}

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

a:hover {
  opacity: 0.7;
  transition: 0.3s;
}

.wrapper {
  width: 100%;
  margin: 0 auto;
}

/* TOPページ以外のh1 */
.page-title{
  font-size: 40px;
}
/* TOPページ以外のh2 */
.sub-title{
  font-size: 24px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 24px;
}

.category {
  background-color: #E6E4CF;
  padding-bottom: 50px;
  text-align: center;
}

.title2 {
  padding: 30px 30px;
}

/* スムーズスクロールボタン */
.page-top {
  position: fixed;
  right: 0;
  bottom: 92.5px;
}

.page-top img {
  width: 50px;
  height: 50px;
}

/* ヘッダー*/
#header {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background-color: white;
}

.site-title img {
  height: 40px;
}

.header-nav-list {
  display: flex;
}

.header-nav-item {
  padding: 0 10px;
}

.menu {
  display: none;
}
.drawer-nav {
  display: none;
}

/* フッター */
#footer {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background-color: white;
}

.footer-nav-list {
  display: flex;
}

.footer-nav-item {
  padding: 0 10px;
}

/* レスポンシブスタイル */
@media screen and (max-width: 768px) {
/* スムーズスクロールボタン */
.page-top img {
  width: 30px;
  height: 30px;
}

/* ハンバーガーボタン  */
#header {
  position: sticky;
  left: 0;
  top: 0;
  z-index: 20;
}

.header-nav {
  display: none;
}

.menu {
  display: inline-block;
  width: 28px;
  height: 25px;
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.menu-line-top,
.menu-line-middle,
.menu-line-bottom {
  display: inline-block;
  width: 100%;
  height: 3px;
  background-color: black;
  position: absolute;
  transition: 0.5s;
}

.menu-line-top {
  top: 0;
}

.menu-line-middle {
  top: 11px;
}

.menu-line-bottom {
  bottom: 0;
}

.menu.open span:nth-of-type(1) {
  top: 11px;
  transform: rotate(45deg);
}

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

.menu.open span:nth-of-type(3) {
  top: 11px;
  transform: rotate(-45deg);
}

.drawer-nav{
  display: block;
  position: absolute;
  height: 100vh;
  width: 100%;
  top: 0;
  left: -100%;
  background: white;
  opacity: 0.9;
  transition: .5s;
}

.drawer-nav-list {
  padding-top: 80px;
  text-align: center;
}

.drawer-nav-item {
  margin-top: 40px;
  color: black;
  font-size: 24px;
  font-weight: bold;
}

.in {
  transform: translateX(100%);
}

/* フッター */
#footer {
  justify-content: center;
}

.footer-nav {
  display: none;
}
}