@charset "UTF-8";

/*----------------------------------------レイアウト基礎----------------------------------------*/
html, body {
  width: 100%;
  height: 100%;
}

a {
  color: #000;
  word-wrap: break-word;
}

a:hover {
  opacity: 0.7;
}

.inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.left {
  float: left;
}

.right {
  float: right;
}

.centertxt {
  text-align: center;
}

.tar {
  text-align: right;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

/* .clearfix {margin: 0;} */
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.cb {
  clear: both;
}

.oh {
  overflow: hidden;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

.core {
  width: 100%;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

table {
  width: 100%;
}

table th {
  padding: 5px;
  vertical-align: middle;
  border: 1px solid;
}

table td {
  padding: 5px;
  vertical-align: middle;
  border: 1px solid;
}

.scroll::-webkit-scrollbar {
  width: 10px;
  background: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 0 2px #777;
}

.scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
  box-shadow: none;
}

@media screen and (max-width: 768px) {
  .left {
    float: none;
  }

  .right {
    float: none;
  }

  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

  table th, table td {
    display: block;
  }

  .hidden {
    overflow: hidden;
  }
}

/*---------------------------------------画像の基礎----------------------------------------*/
body {
  background-image: url("");
  /*画像を背景に入れる方法。svgも可*/
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

object, svg {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

:focus {
  outline: -webkit-focus-ring-color auto 0px;
}

/*---------------------------------------フォントの基礎----------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  font-family: 'メイリオ', 'Meiryo', 'Lucida Grande', 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'ＭＳ Ｐゴシック', Verdana, Helvetica, Arial, Sans-serif;
  font-family: "M PLUS Rounded 1c", sans-serif;
  color: #222;
  font-size: 14px;
  min-height: 0vw;
  line-height: 1.8;
}

h1 {
  font-size: 36px;
  line-height: 1.3;
}

h2 {
  font-size: 24px;
  line-height: 1.3;
}

p {
  line-height: 1.8;
}

dt {
  float: left;
}

dt::after {
  /* content: "：" */
}

input, textarea {
  color: #000;
}

.bold {
  font-weight: bold;
}

@media (min-width: 1100px) {

  /* 1200px以上*/
  h1 {
    font-size: 3.6rem;
    /* 36px*/
  }

  h2 {
    font-size: 2.4rem;
    /* 24px*/
  }
}

@media screen and (max-width: 768px) {

  /* 640px以下*/
  body {
    line-height: 1.5;
  }

  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 19px;
  }

  p {
    line-height: 1.5;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 18px;
  }
}

/*----------------------------------------共通----------------------------------------*/
section {
  margin: 3% 0px;
}

body {
  /* background-image: url("../img/common/bg.svg"); */
  /*svgを背景に入れる方法*/
  background-position: center;
  background-repeat: repeat;
  background-size: cover;
}

.container {
  min-height: 100vh;
  /*フッターを底に固定するのに必要*/
  position: relative;
  /*←相対位置。フッターを底に固定するのに必要*/
  padding: 0 0 20px;
  box-sizing: border-box;
  /*←全て含めてmin-height:100vhに*/
}

#contact_link {
  width: 100px;
  height: 100px;
  position: fixed;
  right: 2em;
  bottom: -100px;
  text-align: center;
  z-index: 10;
}

#contact_link a {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  text-decoration: none;
}

.hood {
  padding-top: 110px;
  margin-top: -110px;
}

/*----------------------------------------header----------------------------------------*/
/*menu*/
.sns_box, .menu_box {
  position: relative;
  width: 75px;
}

.sns_box {
  margin: 0 0.5%;
}

.menu_box {
  margin: 0 0.5%;
}

.ec_box {
  /* display: none; */
  position: relative;
  width: 120px;
  right: 0px;
  margin: 0 0.5%;
}

.sns_box.sp {
  width: 60px;
}

.sns_box a {
  width: 45px;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.ec_box a {
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.sns_box.sp a {
  width: 100%;
  top: 55%;
  left: 40%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.sns_box a:nth-child(1) {
  right: 100%;
}

.sns_box a:nth-child(2) {
  right: 50%;
}

.sns_box a:nth-child(3) {
  right: 50%;
}

.menu_box a.menu {
  width: 50px;
  position: absolute;
  height: 30px;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.pop_box .hover_menu {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 5%;
  right: 5%;
  z-index: 50;
}

.menu__line {
  background: #363133;
  display: block;
  height: 3px;
  position: absolute;
  width: 100%;
  transition-duration: 0.5s;
}

.menu__line.active {
  background: #fff;
}

.menu__line--center {
  top: 50%;
}

.menu__line--bottom {
  top: 100%;
}

.menu__line--top.active {
  transform: scaleX(0);
}

.menu__line--center.active {
  transform: scaleX(0);
}

.menu__line--bottom.active {
  transform: scaleX(0);
}

.gnav {
  background: rgba(0, 0, 0, 0.8);
  display: none;
  height: 100%;
  position: fixed;
  width: 100%;
  z-index: 98;
  cursor: pointer;
}

.hover_menu .menu__line--top.active {
  top: 50%;
  transform: rotate(45deg);
}

.hover_menu .menu__line--center.active {
  transform: scaleX(0);
}

.hover_menu .menu__line--bottom.active {
  top: 50%;
  transform: rotate(135deg);
}

.gnav__wrap {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: absolute;
  width: 100%;
}

.gnav__menu {
  width: 100%;
  height: 50%;
  display: flex;
}

.gnav__menu__item {
  width: 33.33333%;
  position: relative;
  transition-duration: 0.5s;
  z-index: 20;
}

.gnav__menu .gnav__menu__item:nth-child(1) {
  background: rgba(193, 94, 104, 0.5);
}

.gnav__menu .gnav__menu__item:nth-child(2) {
  background: rgba(238, 127, 62, 0.5);
}

.gnav__menu .gnav__menu__item:nth-child(3) {
  background: rgba(78, 155, 159, 0.5);
}

.gnav__menu__item:nth-child(1):hover {
  background: rgba(193, 94, 104, 1);
}

.gnav__menu__item:nth-child(2):hover {
  background: rgba(238, 127, 62, 1);
}

.gnav__menu__item:nth-child(3):hover {
  background: rgba(78, 155, 159, 1);
}

.gnav__menu__item img {
  position: absolute;
  width: 60%;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  margin: 0;
}

.gnav__menu__item a {
  transition: .5s;
}

header {
  position: relative;
  z-index: 50;
}

.hlogo {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5em 0;
  background: rgba(255, 255, 255, 0.8);
  transition-duration: 0.5s;
}

/* .hlogo.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
} */
.hlogo h1 {
  width: 100%;
}

.hlogo h1 img {
  width: 30%;
  max-width: 250px;
  margin: 1% auto;
  transition-duration: 0.5s;
}

.hlogo h1 img.mini {
  width: 17%;
  max-width: 200px;
}

.contact {
  display: none;
  width: 100%;
  max-width: 100px;
}

@media screen and (max-width:768px) {
  .sns_box, .menu_box {
    position: relative;
    width: 75px;
    right: 3%;
  }

  .sns_box.sp {
    width: 13%;
    right: 2%;
    margin: auto 1%;
  }

  .ec_box {
    position: relative;
    width: 16%;
    right: 4%;
  }

  .ec_box a {
    width: 100%;
  }

  .menu_box a.menu {
    width: 35px;
    height: 25px;
  }

  .hlogo h1 img {
    width: 50%;
    min-width: 130px;
    max-width: 180px;
    margin: 3%;
  }

  .gnav__menu {
    height: 100%;
  }

  .gnav__menu .gnav__menu__item:nth-child(1) {
    background: rgba(193, 94, 104, 1);
  }

  .gnav__menu .gnav__menu__item:nth-child(2) {
    background: rgba(238, 127, 62, 1);
  }

  .gnav__menu .gnav__menu__item:nth-child(3) {
    background: rgba(78, 155, 159, 1);
  }

  .contact {
    display: block;
  }
}

/*----------------------------------------footer----------------------------------------*/
footer {
  background: #363133;
}

footer.entry-footer {
  background-color: inherit;
}

.posted-on {
  padding: 0 1em 0 0;
}

footer .footer_logo {
  border-top: 1em solid #D84709;
  text-align: center;
}

footer .footer_logo img {
  display: block;
  width: 30%;
  max-width: 200px;
  padding: 2% 0;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .posted-on {
    display: block;
    padding: 0;
  }
}

.mb5 {
  margin-bottom: 5%;
}

.mb10 {
  margin-bottom: 10%;
}
