body {
  margin: 0 auto;
  padding: 0;
  font-size: 15px;
  line-height: 1.8;
  height: 100%;
  font-weight: 400;
  color: #3e3a39;
  font-family: toppan-bunkyu-midashi-go-std, sans-serif;
}
.ryumin {
  font-family: a-otf-ryumin-pr6n, serif;
  font-weight: 300;
  font-style: normal;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  body {
    font-size: 13px;
    font-family: 'Segoe UI',Meiryo,sans-serif;
  }
}
@media only screen and ( max-width : 767px ) {
  body {font-size: 13px;}
}
table {
  margin : 0;
  border-collapse: collapse;
  border-spacing: 0;
  empty-cells: show;
}
img {
  vertical-align: bottom;
  border: none;
  max-width: 100%;
}

a {
  outline:none;
  color: #fff;
}

a:hover {
  text-decoration: none;
}


a,a:hover,a:hover img,button,input {
  transition: 0.5s;
  text-decoration: none;
}

a:hover {
  filter: alpha(opacity=80);
  -moz-opacity:0.80;
  opacity:0.80;
}

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

　   COMMON

--------------------------------------------------------------------------------------------- */
.d-flex {
  display: flex;
  flex-wrap: wrap;
}
.d-flex-space-between {
  justify-content: space-between;
}
.d-flex-space-center {
  justify-content: center;
}
.d-flex-item-center {
  align-items: center;
}
.d-flex-justify-content-center {
  justify-content: center;
}
.contact__thanks-info{
  font-size: 60px;
  margin: 96px auto;
  text-align: center;
  color: #171C61;
  font-weight: bold;
}
.contact__thanks-text{
  font-size: 18px;
  text-align: center;
  color: #171C61;
}
.contact.thanks{
  background: url(./image/contact_back.jpg) no-repeat center center;
  background-size: 38%;
}
@media only screen and ( max-width : 767px ) {
  .sp_none {
    display: none !important;
  }
  .br_pc {
    display: none;
  }
  .br_sp_mini {
    display: none;
  }
  .d-flex_sp {
    display: flex;
    flex-wrap: wrap;
  }
  .d-flex-space-between_sp {
    justify-content: space-between;
  }
  .d-flex-justify-content-center_sp {
    justify-content: center;
  }
  .d-flex-item-center_sp {
    align-items: center;
  }
  .d-flex-justify-content-center_sp {
    justify-content: center;
  }
  #main {
    overflow: hidden;
  }
  #page main {
    overflow: hidden;
    margin-top: 34px;
  }
}

@media only screen and ( max-width : 575px ) {
  .br_sp_mini {
    display: block;
  }
}

@media print, screen and ( min-width : 768px ) {
  .sp {
    display: none !important;
  }
  .br_sp {
    display: none;
  }
  .br_sp_mini {
    display: none;
  }
  .d-flex_pc {
    display: flex;
    -ms-flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }
  .d-flex-space-between_pc {
    justify-content: space-between;
  }
  .d-flex-justify-content-center_pc {
    justify-content: center;
  }
  .d-flex-item-center_pc {
    align-items: center;
  }
  .d-flex-justify-content-center_pc {
    justify-content: center;
  }
  #page main {
    margin-top: 63px;
  }
}


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

　   HEADER

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

#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  margin: 0 auto;
  z-index: 99;
  transition: 0.5s;
}
#header.representative__header{
  background-color: #171C61;
  
}
#header.representative__header #nav li a{
  color: #fff;
}
#header.is-animation.representative__header{
  background-color: rgba(23, 28, 97,0.6 ) !important;
}
#header.is-animation .h_inner{
  margin-bottom: 0;
}
#h_logo img {
  width: 100%;
}

@media only screen and ( max-width : 767px ) {
  #header {
    height: 0;
  }
  #page #header {
    height: 80px;
    background: linear-gradient(to bottom, #01b3a7, #01b3a7);
  }
  #header.menu_open {
    height: 100%;
  }
  #h_logo {
    max-width: 60%;
    margin-top: 20px;
    margin-left: 20px;
  }
  #header.is-animation #h_logo {
    display: none;
  }
}
@media print, screen and ( min-width : 768px ) {
  #header.is-animation {
    box-shadow: 0 0 8px rgba(0,0,0,.2);
    background: rgba(255,255,255,0.6);
  }
  .h_inner {
    margin: 17px 14px 17px;
  }
  #header.is-animation .h_inner {
    margin-top: 0;
    padding: 20px 0;
  }
  #h_logo {
    max-width: 32%;
    transition: 0.5s;
  }
  #header.is-animation .d-flex_pc {
    align-items: center;
  }
  #page #header {
    padding: 20px 0;
    background: linear-gradient(to bottom, #01b3a7, #01b3a7);
  }
  #page #h_logo {
    max-width: 150px;
  }
  #page #header.is-animation #h_logo {
    max-width: 150px;
  }
  #page .h_inner {
    margin: 0 14px;
    align-items: center;
  }
  #page #header.is-animation .h_inner {
    padding: 0;
  }
}

@media print, screen and ( min-width : 840px ) {
  #h_logo {
    max-width: 38%;
  }
}
@media print, screen and ( min-width : 965px ) {
  #h_logo {
    max-width: 440px;
  }
}
@media print, screen and ( min-width : 1320px ) {
  #h_logo {
    max-width: 482px;
  }
}


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

　   MENU

--------------------------------------------------------------------------------------------- */
#nav li a {
  display: block;
  color: #171C61;
  position: relative;
  font-family: corporate-logo-ver2, sans-serif;
  font-weight: 700;
  font-style: normal;
}
@media only screen and ( max-width : 767px ) {
  .overlay {
    width: 0;
    height: 0;
    position: fixed;
    z-index: 11;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .5s;
    background: rgba(0,0,0,.6);
  }
  .overlay.open {
    width: 100%;
    height: 100%;
    opacity: 1;
  }
  #menu_btn {
    position: fixed;
    top: 0;
    right: 0;
    transition: .3s;
    cursor: pointer;
    z-index: 9999;
    width: 80px;
    height: 80px;
    background: #383534;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #menu_btn:after {
    content: "menu";
    position: absolute;
    bottom: 10px;
    color: #fff;
    font-weight: 400;
    font-size: 11px;
  }
  #menu_btn.active:after {
    content: "close";
  }
  .menu-trigger {
    width: 25px;
    height: 20px;
    position: relative;
    top: -5px;
  }
  .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ddd;
    transition: all .5s;
  }
  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    width: 70%;
    top: 9px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(1) {
    transform: translateY(7px) rotate(-45deg);
  }
  #menu_btn.active .menu-trigger span:nth-of-type(2) {
    opacity: 0;
  }
  #menu_btn.active .menu-trigger span:nth-of-type(3) {
    transform: translateY(-10px) rotate(45deg);
  }
  #nav {
    width: 350px;
    height: 100%;
    overflow: auto;
    padding: 90px 0;
    background: #383534;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 12;
    transform: translate(350px);
    transition: all .5s;
  }
  #nav.open {
    transform: translateZ(0);
  }
  #nav li {
    border-top: rgb(0 0 0 / 22%) solid 1px;
    font-size: 18px;
  }
  #nav li.menu_last {
  border-bottom: rgb(0 0 0 / 22%) solid 1px;
  }
  #nav li a,.menu-item-has-children_ttl {
    display: block;
    position: relative;
    padding: 20px;
    color: #fff;
    cursor: pointer;
  }
  #nav .menu-item-has-children .sub-menu {
    /* padding: 20px; */
    display: none;
    background: #292726;
  }
  #nav .menu-item-has-children .sub-menu a:before {
    content: "＞";
    font-size: 10px;
    margin-right: .5em;
  }
  #nav .menu-item-has-children .menu-item-has-children_ttl.open:first-of-type {
    color: #dad4ec;
  }
  #nav .menu-item-has-children .menu-item-has-children_ttl:after,#nav .menu-item-has-children .menu-item-has-children_ttl:before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    width: 10px;
    height: 1px;
    background: #fff;
    transition: .2s;
  }
  #nav .menu-item-has-children .menu-item-has-children_ttl:after {
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
  }
  #nav .menu-item-has-children .menu-item-has-children_ttl.open:before{
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
  }
  #nav .menu-item-has-children .menu-item-has-children_ttl.open:after{
    background: transparent;
  }
  #nav .menu-item-has-children .sub-mnu {
    display: none;
  }
}
@media only screen and ( max-width : 575px ) {
  #nav {
    width: 280px;
    transform: translate(280px);
  }
}
@media print, screen and ( min-width : 768px ) {
  #menu_btn,.overlay {
    display: none;
  }
  #nav li {
    margin-left: 2rem;
  }
  #nav li a {
    font-size: 13px;
  }
}
@media print, screen and ( min-width : 768px ) {
  #nav li a {
    font-size: 14px;
  }
}
@media print, screen and ( min-width : 1082px ) {
  #nav li {
    margin-left: 2.5rem;
  }
  #nav li a {
    font-size: 16px;
  }
}
@media print, screen and ( min-width : 1220px ) {
  #nav li {
    margin-left: 3rem;
  }
  #nav li a {
    font-size: 20px;
  }
}


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

　   FOOTER

--------------------------------------------------------------------------------------------- */
.copy {
  background: #3e3a39;
  color: #fff;
  text-align: center;
}
.add_txt_wrap{
  color: #fff;
}
.place{
  margin-top: 43px;
  font-size: 24px;
}
.place span{
  font-size: 36px;
}
.address {
  position: relative;
}
.insta img {
  position: absolute;
  left: auto;
  right: 3%;
  bottom: 10px;
  width:20%;
  max-width: 200px;
}
.insta a{
  display: block;
}
@media only screen and ( max-width : 767px ) {
  #address {
    /* padding: 40px 25px; */
    padding-bottom: 40px;
    background-color: #171C61;
  }
  .add_txt_wrap {
    background: url(./image/footer_logo.png) no-repeat center;
    background-size: 30%;
    white-space: nowrap;
  }
  /* .add_img {
    max-width: 350px;
    margin: 0 auto 30px;
  } */
  .add_name {
    text-align: center;
    font-size: 24px;
  }
  .add_txt {
    text-align: center;
    font-size: 16px;
  }
  .copy {
    padding: 20px 0 10px;
    font-synthesis: 16px;
  }
  #map {
    margin-bottom: 40px;
  }
  #map iframe {
    width: 100%;
  }
}
@media print, screen and ( min-width : 768px ) {
  #address {
    padding: 100px 63px 68px 63px;
    background-color: #171C61;
  }
  .fot_inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .add_txt span {
    display: inline-block;
  }
  .add_name {
    font-size: 37px;
  }
  #map iframe{
    max-height: 440px;
  }
  .add_txt {
    font-size: 20px;
  }
  .copy {
    padding: 35px 0 10px;
    font-size: 18px;
  }
  .add_img {
    width: 35.4%;
  }
}
@media print, screen and ( min-width : 991px ) {
  #address {
    padding: 69px 0 76px 63px;
  }
  .add_name {
    font-size: 38px;
  }
  .add_txt {
    font-size: 27px;
  }
  .add_img {
    width: 39.4%;
  }
  .add_txt_wrap {
    width: 53.2%;
  }
}


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

　   ANIMATION

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

@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fadeInUp {
  -webkit-animation-name: fadeInUp;
  animation-name: fadeInUp;
}


.fv_fadein {
  opacity : 0;
  transform : translate(0, 50px);
  transition : all 1000ms;
}
.fv_fadein.scrollin {
  opacity : 1;
  transform : translate(0, 0);
}
.fv_fadein01 {
  -moz-transition-delay:200ms;
  -webkit-transition-delay:200ms;
  -o-transition-delay:200ms;
  -ms-transition-delay:200ms;
}
.fv_fadein02 {
  -moz-transition-delay:400ms;
  -webkit-transition-delay:400ms;
  -o-transition-delay:400ms;
  -ms-transition-delay:400ms;
}
.fv_fadein03 {
  -moz-transition-delay:600ms;
  -webkit-transition-delay:600ms;
  -o-transition-delay:600ms;
  -ms-transition-delay:600ms;
}
.fv_fadein04 {
  -moz-transition-delay:800ms;
  -webkit-transition-delay:800ms;
  -o-transition-delay:800ms;
  -ms-transition-delay:800ms;
}
.fv_fadein05 {
  -moz-transition-delay:1000ms;
  -webkit-transition-delay:1000ms;
  -o-transition-delay:1000ms;
  -ms-transition-delay:1000ms;
}
