@charset "UTF-8";

@media screen and (min-width: 1401px) {
  html {
    font-size: 16px;
  }
}
html {
  font-size: 0.833vw; /* 10px / 1200px * 100 */
  scroll-padding-top: 6rem;
}
@media screen and (max-width: 767px) {
  html {
    font-size: 1.302vw;
  }
}
@media screen and (max-width: 480px) {
  html {
    font-size: 2.083vw;
  }
}

body {
  background: #fff; /* 全体背景 */
  color: #333; /* カラー */
  font-family: "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic",
    "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans JP",
    "メイリオ", "Meiryo", sans-serif;
  /*
  font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", 'Noto Serif JP', "ＭＳ Ｐ明朝", "MS PMincho", serif;
  */
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

:target {
  scroll-margin-top: 90px;
}

a {
  color: #333;
}

img {
  width: 100%;
  height: auto;
}

li {
  list-style: none;
}

.serif {
  font-family: "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3",
    "Hiragino Mincho Pro", "Noto Serif JP", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: normal;
}

.bodoni {
  font-family: "Bodoni Moda", serif;
  font-weight: normal;
}

/*  ----------------------------------------------------------

header

----------------------------------------------------------  */
header {
  padding: 3rem 0;
  display: flex;
  padding: 30px 0 30px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
h1 {
  width: 22rem;
  margin: 0 auto;
}
header > div:first-of-type {
  position: absolute;
  left: 5%;
  top: 5.2rem;
  width: 3.2rem;
}
header > div:last-of-type {
  position: absolute;
  right: 10.5%;
  top: 5.35rem;
  width: 4rem;
}
header > div:last-of-type:hover {
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  header > div:first-of-type {
    left: 6%;
    top: 5.3rem;
  }
}

/*  ----------------------------------------------------------

footer

----------------------------------------------------------  */
footer {
  background: #666;
  color: #fff;
  padding: 4rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer a {
  color: #fff;
}
footer small {
  display: block;
  text-align: right;
  font-size: 1.2rem;
}
footer .logo {
  width: 24rem;
}
footer address {
  font-style: normal;
  text-align: right;
  margin-bottom: 3rem;
  font-size: 1.2rem;
}
@media screen and (max-width: 767px) {
  footer {
    display: block;
  }
  footer small {
    text-align: center;
  }
  footer .logo {
    width: 26rem;
    margin: 0 auto 3rem auto;
  }
  footer address {
    text-align: center;
    margin-bottom: 4rem;
  }
}

/*  ----------------------------------------------------------

style

----------------------------------------------------------  */
.heading {
  text-align: center;
  line-height: 1;
  font-size: 3.2rem;
  margin-bottom: 6rem;
  font-weight: normal;
}
.btn {
  background: #000;
  text-align: center;
  line-height: 1;
  display: block;
  color: #fff;
  width: 20rem;
  padding: 1.7rem 0;
  transition: all 0.3s;
  border-radius: 0.3rem;
}
@media screen and (max-width: 767px) {
  .btn {
    width: auto;
  }
}
#searchArea > div {
  display: block;
  background: #fff;
  position: fixed;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: -99999;
  transition: all 0.3s;
  height: 14.63rem;
  width: 100%;
}

.openArea > div {
  z-index: 999999999 !important;
  opacity: 1 !important;
}
#searchArea .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 14.63rem;
}
#searchArea .inner input[type="text"] {
  width: 60rem;
  padding: 1rem;
  font-size: 1.8rem;
  color: #666;
}
#searchArea .inner input[type="submit"] {
  background: url(../img/ico_search.png) no-repeat;
  background-size: 4rem;
  width: 4rem;
  height: 4rem;
  border: none;
  margin-right: 1rem;
  text-indent: -9999;
}
#searchArea .inner input[type="submit"]:hover {
  cursor: pointer;
}
.closeArea {
  position: absolute;
  right: 10.5%;
  top: 5.35rem;
  width: 4rem;
  height: 4rem;
  background: #fff;
}
.closeArea > div {
  position: relative;
}
.closeArea:hover {
  cursor: pointer;
}
.closeArea span {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}
.closeArea span:first-of-type {
  width: 4rem;
  height: 1px;
  background: #333;
  transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  display: block;
  margin-top: 2rem;
}
.closeArea span:last-of-type {
  width: 4rem;
  height: 1px;
  background: #333;
  transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  display: block;
  margin-top: 2rem;
}
@media screen and (max-width: 767px) {
  .closeArea {
    right: 3.5rem;
    top: 8.5rem;
  }
  #searchArea form {
    margin-top: -4rem;
  }
  #searchArea .inner input[type="text"] {
    width: 34rem;
  }
  #searchArea .inner input[type="submit"] {
    background-size: 3rem;
    width: 3rem;
    height: 3rem;
  }
  header > div:last-of-type {
    right: 3.5rem;
    top: 8.5rem;
    width: 4rem;
  }
}
@media screen and (max-width: 480px) {
  .closeArea {
    right: 2.5rem;
  }
  header > div:last-of-type {
    right: 2.5rem;
  }
}

/*  ----------------------------------------------------------

hamburger

----------------------------------------------------------  */
nav.gnav-sp {
  display: block;
  position: fixed;
  top: 0;
  bottom: 0;
  right: -35%;
  width: 35%;
  background: #fff;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: all 0.5s;
  z-index: -1;
  opacity: 0;
}
@media screen and (max-width: 767px) {
  nav.gnav-sp {
    right: -80%;
    width: 80%;
  }
}
.open nav.gnav-sp {
  top: 0;
  opacity: 1;
  z-index: 99999;
  right: 0;
}
nav.gnav-sp .inner {
  padding: 11rem 2.5rem 3rem 2.5rem;
}
nav.gnav-sp .inner ul li,
.item-title,
.item-title2 {
  line-height: 1;
}
nav.gnav-sp a {
  display: block;
}

/* 1階層目 */
nav.gnav-sp .inner > ul > li {
  position: relative;
  border-bottom: 2px solid #eaeae8;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}
nav.gnav-sp .inner > ul > li > a {
  padding: 2.5rem 1.5rem;
  background: #fafafa;
}
.item-title {
  position: relative;
  display: block;
  transition: all 0.3s;
  font-weight: bold;
  padding: 2.5rem 1.5rem;
  background: #fafafa;
}
.item-title2 {
  position: relative;
  display: block;
  transition: all 0.3s;
  padding: 2rem 1.5rem 2rem 1.5rem;
}
.item-title3 {
  position: relative;
  display: block;
  transition: all 0.3s;
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}
.layer1 {
  font-size: 1.6rem;
  font-weight: normal;
  font-weight: bold;
}
.layer1 > li:not(:last-child) {
  border-bottom: 1px dotted #aaa;
}
.layer1 > li > a {
  padding: 2rem 1.5rem 2rem 1.5rem;
}
.layer2,
.layer4 {
  font-size: 1.5rem;
  font-weight: normal;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 1px solid #000;
}
.layer2 > li > a,
.layer4 > li > a {
  padding: 0.8rem 0.5rem 0.8rem 1rem;
}
.layer3 {
  margin-bottom: 1rem;
  font-weight: normal;
}
.layer3 > li > a {
  padding: 1.5rem 1.5rem 1.5rem 1.5rem;
}

/* +- */
.item-title:hover,
.item-title2:hover,
.item-title3:hover {
  cursor: pointer;
  opacity: 0.6;
}
.item-title::before,
.item-title2::before,
.item-title3::before {
  content: "";
  position: absolute;
  top: 47%;
  right: 2.5rem;
  width: 1.5rem;
  height: 2px;
  transform: rotate(90deg);
  background: #333;
  transition: all 0.3s ease-in-out;
}
.item-title::after,
.item-title2::after,
.item-title3::after {
  content: "";
  position: absolute;
  top: 47%;
  right: 2.5rem;
  width: 1.5rem;
  height: 2px;
  background: #333;
  transition: all 0.2s ease-in-out;
}
.item-title.open::before,
.item-title2.open::before,
.item-title3.open::before {
  transform: rotate(180deg);
}
.item-title.open::after,
.item-title2.open::after,
.item-title3.open::after {
  opacity: 0;
}
@media screen and (max-width: 767px) {
  /*nav {
    left: -220px;
    width: 220px;
  }*/
}
/* toggle_btn */
.toggle_btn {
  display: block;
  position: fixed;
  top: 4.3rem;
  right: 4%;
  width: 6rem;
  height: 6rem;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 100000;
}
nav.gnav-sp h2 {
  background: #000;
  color: #fff;
  line-height: 1;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  padding: 1.5rem 2rem;
}
@media screen and (max-width: 767px) {
  .toggle_btn {
    top: 1.5rem;
    right: 3%;
  }
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 1.5rem;
  width: 3rem;
  height: 2px;
  background-color: #000;
  border-radius: 4px;
  transition: all 0.5s;
}
.toggle_btn span:nth-child(1) {
  top: 1.9rem;
}
.toggle_btn span:nth-child(2) {
  top: 2.9rem;
}
.toggle_btn span:nth-child(3) {
  top: 3.9rem;
}
.open .toggle_btn span {
  background-color: #000;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(1rem) rotate(-45deg);
  transform: translateY(1rem) rotate(-45deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-1rem) rotate(45deg);
  transform: translateY(-1rem) rotate(45deg);
}
/* mask */
#mask {
  display: none;
  transition: all 0.5s;
}
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 1);
  opacity: 0.5;
  z-index: 2;
  cursor: pointer;
}

/*  ----------------------------------------------------------

page-top

----------------------------------------------------------  */
#page-top {
  line-height: 1;
  position: fixed;
  z-index: 999;
}
#page-top a {
  color: #999; /* カラー */
}
@media screen and (min-width: 768px) {
  #page-top {
    bottom: 20px;
    right: 15px;
  }
  #page-top i {
    font-size: 40px !important;
  }
}
@media screen and (max-width: 767px) {
  #page-top {
    bottom: 15px;
    right: 10px;
  }
  #page-top i {
    font-size: 32px !important;
  }
}

/*  ----------------------------------------------------------

link

----------------------------------------------------------  */
a {
  text-decoration: none;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
a:hover {
  opacity: 0.4;
  filter: alpha(opacity=60);
}
@media screen and (min-width: 768px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}

/*  ----------------------------------------------------------

display

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

/*  ----------------------------------------------------------

fade

----------------------------------------------------------  */
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    -moz-transform: translateY(30px);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -moz-transform: translateY(0);
    transform: translateY(0);
  }
}
@-ms-keyframes fadeInUp {
  0% {
    opacity: 0;
    -ms-transform: translateY(30px);
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInUp {
  -webkit-animation: fadeInUp 0.6s ease;
  -moz-animation: fadeInUp 0.6s ease;
  -ms-animation: fadeInUp 0.6s ease;
  animation: fadeInUp 0.6s ease;
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  animation-fill-mode: both;
}
.fade {
  opacity: 0;
}
.delay1 {
  animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
  -webkit-animation-delay: 0.2s;
  -o-animation-delay: 0.2s;
}
.delay2 {
  animation-delay: 0.35s;
  -moz-animation-delay: 0.35s;
  -webkit-animation-delay: 0.35s;
  -o-animation-delay: 0.35s;
}
.delay3 {
  animation-delay: 0.5s;
  -moz-animation-delay: 0.5s;
  -webkit-animation-delay: 0.5s;
  -o-animation-delay: 0.5s;
}
.delay4 {
  animation-delay: 0.65s;
  -moz-animation-delay: 0.65s;
  -webkit-animation-delay: 0.65s;
  -o-animation-delay: 0.65s;
}
.delay5 {
  animation-delay: 0.8s;
  -moz-animation-delay: 0.8s;
  -webkit-animation-delay: 0.8s;
  -o-animation-delay: 0.8s;
}
