@charset "utf-8";

/* CSS Document */

/***********************************************************************
  menu
***********************************************************************/

@media all {
.flex_menu,
.flex_menu_sp {
  display: flex;
  flex-wrap: wrap;
}


.flex_menu_side {
  display: flex;
  flex-wrap: wrap;
  background: #ddd;
  width: 45px;
  position: fixed;
  bottom: 40%;
  right: 0;
  font-size: 0;
}

.bottom_menu .menu_li,
.flex_menu .menu_li,
.flex_menu_sp .menu_li {
  flex: auto;
  text-align: center;
}

.bottom_menu .menu_li:nth-child(n+5) {
    border-left: solid;
}

.bottom_menu {
  position: fixed;
  bottom: -110px;
  right: 0;
  left: initial;
  height: auto;
  width: 260px;
  display: flex;
  flex-wrap: wrap;
}

.flex_menu_sp {
  bottom: 110px;
  transition: .3s;
}

/*   +ボタン押下で右側から伸びるメニュー */

.tiny_menu {
  cursor: pointer;
  position: fixed;
  bottom: 70px;
  right: 0px;
  height: 50px;
  transition: 1s;
}
.tiny_menu.open  {
  right:-10px;
  transition: .3s;
}


.tiny_menu .switch {
  transition: .3s;
  width: 44px;
  height: 44px;
  background-color: #999999;
  border-radius: 25px;
  z-index: 15;
  background-image: url(../images/plus.svg);
  background-size: 16px;
  background-repeat: no-repeat;
  background-position: center;
}
.tiny_menu.open .switch {
  transition: .3s;
  transform: rotate(315deg);
}


.tiny_menu .menu {
  width: 220px;
  height: calc(100% - 16px);
  margin: 5px;
  background-color: #c9c9ca;
  position: absolute;
  top:0;
  right: 0;
  z-index: 3;
  transform: translateX(240px);
  transition: all .5s;
  border-radius: 25px;
}
.tiny_menu.open .menu {
  transform: translateX(0);
}

.tiny_menu .menu li {
  color: #000000;
  padding-left: 16px;
  padding-top: 0px;
  height: 100%;
  font-size: 16px;
  font-weight: bold;
  /* line-height: 200%; */
  display: flex;
  justify-content: center;
  flex-direction: column;
}


.tiny_menu .menu li img {
  width: 20px;
    margin: 1px 4px -1px;
}

/* / +ボタン押下で右側から伸びるメニュー */



.top_menu {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 60px;
  z-index: 500;
  padding-top: 24px;
}

.top_menu.leave_top {
  transition: .3s;
}

.top_menu.leave_top .top_name {
  display: none;
}

.top_menu .menu_li {
  height: 48px;
}


.top_menu .menu_li img {
  height: 100%;
}

.top_menu .top_name {
  z-index: 4;
  width: calc(100% - 48px);
  padding: 8px 10px;
}

.top_menu .companyname {
  width: calc(100% - 44px);
  object-position: right;
  object-fit: scale-down;

}

.top_menu>.to_home {
    position: fixed;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
}

.top_menu .toggle-menu {
  position: fixed;
  top: 16px;
  right: 16px;
  background-image: url(../images/burger.svg);
  background-repeat: no-repeat;
  background-size: auto 26px;
  background-position: right;
  width: 28px;
  height: 28px;
  z-index: 4;
}


.top_menu .toggle-menu.open {
  background-image: url(../images/burger.svg);
  z-index: 10;
  background-position: left;
  position: fixed;
}

.top_menu .slide_menu {
  height: 100vh;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: initial;
  max-height: 100vh;
  overflow: hidden;
  font-family: "Yu Mincho","ヒラギノ明朝 Pr6 W6","Hiragino Mincho Pro","Noto Serif JP","ＭＳ Ｐ明朝","MS PMincho",serif;
}
.top_menu .slide_menu .menu_inner {
  padding-top: 0px;
  overflow: auto;
  height: 100%;
  background: #e6e6e6;
  overscroll-behavior-y: contain;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  display: grid;
  grid-template-columns: 400px 1fr;
}


.top_menu .slide_menu .menu_inner1 {
    padding: 0 20px;
    padding-top: 25px;
}

.top_menu .slide_menu .menu_inner1 .coverimage_box {
    margin: 40px 5px;
}
.top_menu .slide_menu .menu_inner1 .contact_buttons {
    margin: 20px 0;
}


.top_menu .slide_menu .menu_inner2 {
    background: #ffffff;
    border-radius: 40px 0 0 0;
    padding-top: 25px;
}

.top_menu .slide_menu .menu_inner2 .label_en {
  display: none;
}

.top_menu .slide_menu .menu_inner::-webkit-scrollbar {
  display: none;
}

.top_menu .slide_menu .menu_inner ul.menu_list_container {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: calc(99vh - 190px);
}

.top_menu .slide_menu .menu_inner ul.menu_list_container {
  width: 50%;
  display: inline-block;
  height: auto;
  vertical-align: top;
}


.top_menu .slide_menu .menu_inner .footer_detail p {
  margin: 2px;
}


.top_menu .slide_menu .menu_inner .footer_detail {
  margin: 50px 0 0;
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'Noto Sans JP', 'メイリオ', Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
}

.top_menu .slide_menu .menu_inner .contact_buttons img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 100px;
    background: #ffffff;
    margin-left: 6px;
    margin-right: 6px;
    padding: 10px;
}

.top_menu .slide_menu .sns_buttons {
  padding-left: 0px;
  height: 42px;
}

.top_menu .slide_menu .menu_inner2 .sns_buttons {
  padding-left: 30px;
  margin-top: 20px;
  height: 42px;
}

.top_menu .slide_menu .sns_btn {
  margin-right: 4px;
  height: 100%;
  max-height: 100%;
}

.top_menu .slide_menu .menu_label {
  cursor: pointer;
  line-height: 22px;
  padding-top: 0;
  padding-bottom: 0;
}

.top_menu .slide_menu .menu_inner .menu_list_container>.menu_li>a {
  line-height: 22px;
  display: block;
}

.top_menu .slide_menu .to_home {
  padding-left: 30px;
  padding-top: 40px;
  padding-bottom: 4px;
  font-size: 24px;
  border-bottom: dotted 1px #d0d0d0;
}

.top_menu .slide_menu .menu_li {
  height: initial;
  padding-left: 30px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 1rem;
  border-bottom: dotted 1px #d0d0d0;
}

.top_menu .slide_menu .menu_li.menu_child {
  font-size: 14px;
  padding-left: 20px;
}

.top_menu .slide_menu .menu_list li.menu_li {
    border-bottom: none;
}

.top_menu .slide_menu .menu_li a.stretch {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}


.top_menu .slide_menu .menu_label.open span.arrow {
    position: absolute;
    right: 30px;
    transform: rotate(180deg);

}
.top_menu .slide_menu .menu_label span.arrow {
    position: absolute;
    right: 30px;
    transform: rotate(0deg);
    color: transparent;
    background: url(../images/open_arrow.png);
    background-repeat: no-repeat;
    background-position: right;
    background-size: 10px;
    width: 10px;
}

.top_menu .slide_menu .grid-col {
  display: grid;
  grid-template-columns: 80% 1fr;
}
.top_menu .slide_menu .menu_right {
  padding-top: 60px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: -80px;
}
.top_menu .slide_menu .vertical-text {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 3em;
  font-weight: 700;
}

}



@media all and (max-width: 1050px) {
.top_menu .slide_menu .menu_inner .sns_buttons {
    height: 35px;
}
.top_menu .slide_menu .menu_inner {
    display: grid;
    grid-template-columns: 35% 1fr;
}

.top_menu .slide_menu .menu_inner .footer_detail {
    font-size: 1.5vw;
}

.top_menu .slide_menu .menu_inner .contact_buttons img {
    max-width: 100px;
    max-height: 100px;
    width: 8vw;
    height: 8vw;
}

}

@media all and (max-width: 1050px) and (orientation: portrait) {

.top_menu .slide_menu .menu_inner ul.menu_list_container {
  display: block;
  height: auto;
  width: 100%;
}

}


@media all and (max-width: 767px) {
.flex_menu {
  display: none;
}
.flex_menu .menu_li {
  flex: none;
  text-align: left;
}

.flex_menu_sp.top_menu .slide_menu_sp {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 100vh;
  overflow: auto;
}

.flex_menu_sp.top_menu .toggle-menu {
  background-image: url(../images/menu_open.png);
  background-repeat: no-repeat;
  background-size: 40px;
  background-position: 4px;
  width: 48px;
}
.flex_menu_sp.top_menu .toggle-menu.open {
  background-image: url(../images/menu_close.png);
  z-index: 10;
}

.bottom_menu {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0;
  width: 100%;
}

.top_menu .slide_menu .menu_inner {
  padding-bottom: 100px;
  display: block;
  background: #ffffff;
}




.top_menu .slide_menu .menu_inner ul.menu_list_container {
  display: block;
  height: auto;
  width: 100%;
}
.top_menu .slide_menu .menu_right img {
  width: 50px;
  margin-left: -30px;
}
.top_menu .slide_menu .menu_right {
  margin-top: 0;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
}


}


@media screen and (max-width: 540px) and (orientation: portrait) {



.flex_menu_sp {
  display: flex;
  background: #ffffff;
  height: 60px;
  transition: .3s;
}

.flex_menu_sp.bottom_menu img {
  vertical-align: bottom;
}

}



/***********************************************************************
  UI
***********************************************************************/

@media all {
/*マウスカーソル変更*/
.show_more_button {
  cursor: pointer;
}

.show_more_button.open {
  filter: grayscale(1);
}

.show_more {
  display: none;
  position: absolute;
  right: 20px;
  left: 20px;
  z-index: 1;
  background: #ffffff;
  border-radius: 8px;
}

.show_more a {
  line-height: 1.5em;
}

.flex_menu .show_more.pos_r {
  right: 0;
  left: initial;
  width: max-content;
  padding: 1em;
}

.overimg,
  a img {
  transition: 0.3s;
}

.overimg:hover,
  a img:hover {
  filter: brightness(1.05);
  transition: 0.5s;
}

.button-square {
  cursor: pointer;
  padding-top: 20px;
  padding-bottom: 20px;
  display: block;
  font-weight: bold;
  white-space: nowrap;
}

.button-radius {
  cursor: pointer;
  padding: 10px 40px;
  border-radius: 24px;
  line-height: 2em;
  font-size: 1.5em;
  font-weight: bold;
  white-space: nowrap;
}

.button-square:hover,
.button-radius:hover {
  transition: 0.3s;
  background: orange;
  text-decoration: none;
}

.flex_ul .button-square {
  margin: 2px;
}

.list_buttons .button-image {
  padding: 8px;
}
}



@media all and (max-width: 767px) {
.button-radius {
  padding-left: 20px;
  padding-right: 20px;
}
.button-square {
  padding-top: 10px;
  padding-bottom: 10px;
}
}


