@charset "UTF-8";

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 10px; }
body { color: #111; font-family: "Zen Kaku Gothic Antique", sans-serif; font-size: 1.6rem; line-height: 1.6; -webkit-text-size-adjust: 100%; }
img { border: 0; vertical-align: top; transition: all .3s ease; -ms-interpolation-mode: bicubic; }
button { background: transparent; border: none; appearance: none; cursor: pointer; outline: none; }
a { transition: all .3s ease; }
a:link { color: #; text-decoration: none; }
a:visited { color: #; text-decoration: none; }
a:hover { color: #; text-decoration: underline; }
a:hover img { opacity: 0.8; }

.en {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

/* --------------------------------------------------
  汎用クラス
-------------------------------------------------- */

.d-block { display: block; }
.d-flex { display: flex; }
.d-none { display: none; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.clearfix::after { content: ''; display: block; clear: both; }

.pc { display: block; }
.sp { display: none; }

@media screen and (max-width: 768px) {
  .pc { display: none; }
  .sp { display: block; }
}

/* --------------------------------------------------
  ヘッダ
-------------------------------------------------- */

#header {
  padding: 0 20px 40px;
  width: 200px;
  height: 100vh;
  background: #f7f3e9;
  position: fixed;
  overflow: auto;
}
#header h1, #header .logo {
  margin: 30px 0;
  display: block;
}
#header .banner {
  margin-bottom: 30px;
}
#header .banner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#header .banner img {
  margin-left: -10px;
  width: calc(100% + 20px);
}
#header .banner img.sp {
  display: none;
}
#header nav {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
#header nav a {
  color: #111;
}
#header nav > ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#header nav li {
  font-weight: 500;
}
#header nav li ul {
  margin-top: 10px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#header nav li li {
  font-size: 1.4rem;
  font-weight: 400;
}
#header nav li li a::before {
  content: '・';
  color: #e8321d;
}
#header nav a:hover {
  color: #e8321d;
  text-decoration: none;
}
#header nav .sns {
  flex-direction: row;
  gap: 10px;
}
#header nav .sns li {
  width: 24px;
}
#header nav .sns img {
  width: 100%;
  filter: brightness(1) invert(0);
}


/*
#header #sp {
  background: #e71f08;
}
*/



@media screen and (max-width: 768px) {
  #header {
    padding: 0;
    width: 100%;
    height: 70px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
    position: relative;
    z-index: 99;
  }
  #header h1, #header .logo {
    margin: 0 20px;
    position: relative;
    z-index: 99;
  }
  #header .banner {
    margin: 0;
    width: 100%;
    height: 90px; /* アタリ */
    background: rgba(255,255,255,.75);
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 99;
  }
  #header .banner ul {
    flex-direction: row;
  }
  #header .banner img {
    margin: 0;
    width: auto;
    width: 100%;
    height: auto;
    /*height: 70px;*/
  }
  #header .banner img.pc {
    display: none;
  }
  #header .banner img.sp {
    display: block;
  }
  #header nav {
    padding: 80px 20px 0;
    width: 100%;
    height: 0;
    /*background: #fff;*/
    /*background: #e71f08;*/
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    /*top: 71px;*/
    z-index: 3;
    overflow: auto;
    transition: all .3s;
  }
  #header nav a {
    color: #111;
    /*color: #fff;*/
  }
  #header nav a:hover {
    color: #111;
    /*color: #fff;*/
  }
  #header nav > ul > li > a {
    color: #e71f08;
  }
  #header nav .sns img {
    filter: brightness(0) invert(1);
  }
  #header #sp {
    margin-right: 10px;
    width: 54px;
    height: 54px;
    background: #e71f08;
    border-radius: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 99;
  }
  #header #sp span {
    width: 30px;
    height: 2px;
    background: #fff;
    display: inline-block;
    transition: all .3s;
  }
  /*
  body.on {
    position: fixed;
  }
  */
  body.on {
    height: 100vh;
    overflow: hidden;
  }
  body.on #header nav {
    padding: 100px 20px 0;
    height: 100vh;
    background: #fff;
    /*
    padding: 30px 20px;
    height: calc(100vh - 71px);
    */
  }
  body.on #header #sp span:nth-of-type(2) {
    height: 0;
  }
  body.on #header #sp span:nth-of-type(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  body.on #header #sp span:nth-of-type(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* --------------------------------------------------
  メイン
-------------------------------------------------- */

main {
  margin-left: 200px;
}

@media screen and (max-width: 768px) {
  main {
    
    
    margin: -70px 0 0 0;
    
    /*
    margin-left: 0;
    */
  }
}

/* --------------------------------------------------
  フッタ
-------------------------------------------------- */

#footer {
  margin-left: 200px;
  padding: 50px;
  background: #303030;
  color: #fff;
  position: relative;
}
#footer .inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
#footer strong {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 500;
  display: block;
}
#footer ul {
  margin-bottom: 10px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
}
#footer a {
  color: #fff;
}
#footer #copyright {
  margin-top: 30px;
  font-size: 1.3rem;
  text-align: center;
}
#footer #pagetop {
  width: 84px;
  height: 84px;
  background: #fff url(../img/common/pagetop.png) no-repeat center/74px;
  border-radius: 100vw;
  color: #e8321d;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 32px;
  top: -42px;
}
#footer #pagetop:hover {
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  #footer {
    margin-left: 0;
    padding: 40px 20px 100px;
  }
  #footer strong {
    font-size: 1.8rem:
  }
  #footer #copyright {
    margin-top: 60px;
  }
  #footer #pagetop {
    margin: 0 auto;
    width: 60px;
    height: 60px;
    background: #fff url(../img/common/pagetop.png) no-repeat center/50px;
    font-size: 1.2rem;
    left: 0;
    right: 0;
    top: auto;
    bottom: 160px;
  }
}
