@import url("global.css");
#bodyarea .company_container {
  display: flex;
}
#bodyarea .company_container #contentnavi {
  flex-shrink: 0;
  width: 200px;
  box-sizing: border-box;
  border-left: 1px solid #ddd;
  order: 2;
  margin-left: 10%;
}
#bodyarea .company_container #contentnavi ul {
  position: sticky;
  top: 100px;
  padding-top: 40px;
}
#bodyarea .company_container #contentnavi ul li + li {
  margin-top: 30px;
}
#bodyarea .company_container #contentnavi ul li a {
  display: block;
  font-weight: bold;
  font-size: 18px;
  position: relative;
  padding-left: 25px;
}
#bodyarea .company_container #contentnavi ul li a:hover {
  color: #999;
}
#bodyarea .company_container #contentnavi ul li a::before {
  content: "";
  background-color: #00A9C5;
  position: absolute;
  left: -5px;
  top: 10px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.04, 0.435, 0.315, 0.9);
  -webkit-transition: all 0.2s cubic-bezier(0.04, 0.435, 0.315, 0.9);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: scale(0);
  -webkit-transform: scale(0);
}
#bodyarea .company_container #contentnavi ul li a.current {
  color: #00A9C5;
}
#bodyarea .company_container #contentnavi ul li a.current::before {
  transform: scale(1);
  -webkit-transform: scale(1);
}
#bodyarea .company_container .contentarea {
  flex-grow: 1;
}
#bodyarea .company_container .contentarea .section + .section {
  margin-top: 100px;
}
#bodyarea .company_container .contentarea .section .sec_title {
  position: relative;
  margin-bottom: 50px;
  line-height: 1;
}
#bodyarea .company_container .contentarea .section .sec_title::before {
  content: "";
  background: url("../img/logo_mark.png") no-repeat center center;
  background-size: contain;
  width: 45px;
  height: 26px;
  position: absolute;
  left: -58px;
  top: 18px;
}
#bodyarea .company_container .contentarea .section .sec_title .en {
  font-family: "Kanit", sans-serif;
  font-size: 52px;
  font-weight: 400;
}
#bodyarea .company_container .contentarea .section .sec_title .jp {
  display: inline-block;
  margin-left: 15px;
  font-weight: bold;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row {
  display: flex;
  border-top: 1px solid #ddd;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row:last-child {
  border-bottom: 1px solid #ddd;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row:last-child .head::after {
  opacity: 1;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head {
  flex-shrink: 0;
  width: 180px;
  padding: 18px 18px 18px 0;
  font-weight: bold;
  position: relative;
  box-sizing: border-box;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head::before, #bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head::after {
  content: "";
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  top: -1px;
  z-index: 1;
  background-color: #bbb;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head::after {
  opacity: 0;
  top: auto;
  bottom: -1px;
}
#bodyarea .company_container .contentarea .section .sec_detail .datatable .row .body {
  flex-grow: 1;
  padding: 18px 18px 18px 25px;
}
#bodyarea .company_container .contentarea .section#message .message p + p {
  margin-top: 20px;
}
#bodyarea .company_container .contentarea .section#message .name {
  margin-top: 40px;
  text-align: right;
}
#bodyarea .company_container .contentarea .section#message .name span {
  display: inline-block;
  font-weight: bold;
  font-size: 21px;
  margin-left: 15px;
}
#bodyarea .company_container .contentarea .section#history .list {
  position: relative;
}
#bodyarea .company_container .contentarea .section#history .list::before {
  content: "";
  width: 3px;
  height: 100%;
  background-color: #ddd;
  position: absolute;
  top: 0;
  left: 33px;
  z-index: -1;
}
#bodyarea .company_container .contentarea .section#history .list .item {
  display: flex;
  background-color: #F6F6F6;
  border-radius: 999px;
  padding: 15px 50px;
}
#bodyarea .company_container .contentarea .section#history .list .item + .item {
  margin-top: 22px;
}
#bodyarea .company_container .contentarea .section#history .list .item .head {
  flex-shrink: 0;
  color: #00A9C5;
  font-weight: bold;
  position: relative;
  width: 135px;
}
#bodyarea .company_container .contentarea .section#history .list .item .head::before {
  content: "";
  background-color: #999;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: -20px;
  top: 9px;
}
#bodyarea .company_container .contentarea .section#history .list .item .body {
  flex-grow: 1;
  font-weight: bold;
}
#bodyarea .company_container .contentarea .section#access .box .name {
  font-weight: bold;
  color: #00A9C5;
  font-size: 21px;
  margin-bottom: 20px;
}
#bodyarea .company_container .contentarea .section#access .box + .box {
  margin-top: 80px;
}
#bodyarea .company_container .contentarea .section#access .box .imgbox {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
#bodyarea .company_container .contentarea .section#access .box .imgbox .ph {
  width: 49%;
  height: 300px;
}
#bodyarea .company_container .contentarea .section#access .box .imgbox .map {
  width: 49%;
}
#bodyarea .company_container .contentarea .section#access .box .imgbox .map .inner {
  position: relative;
  height: 300px;
  overflow: hidden;
}
#bodyarea .company_container .contentarea .section#access .box .imgbox .map .inner iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

/* -----------
追加
------------- */

.morebtn a
 {
    border: 1px solid #ddd;
    max-width: 300px;
    padding: 5px;
    border-radius: 30px;
    margin: 20px auto 0;
    background-color: #fff;
}
/* span.btninner::before {
    content: url(https://www.mitsukoshi-oita.co.jp/_syswp/wp-content/themes/mitsukoshi_tmpl/img/company/youtube_icon.svg);
    position: absolute;
    width: 25px;
    left: 40px;
    bottom: 0;
    top: 3px;
    margin: 0 auto;
    padding: 0;
}

.morebtn .btninner {
    margin: 0 0 0 40px;
} */

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

 Responsive-Breakpoint-1 (1600px)
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 1600px) {
  #bodyarea .company_container {
    margin-left: 70px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-2 (1370px)
 
------------------------------------------------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-3 ( 960px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 959px) {
  #bodyarea .company_container {
    display: block;
    margin-left: 0;
  }
  #bodyarea .company_container #contentnavi {
    width: auto;
    margin: 0 0 50px;
    border-left: none;
  }
  #bodyarea .company_container #contentnavi ul {
    display: flex;
    align-items: center;
    padding: 0;
    position: static;
  }
  #bodyarea .company_container #contentnavi ul li + li {
    margin: 0 0 0 30px;
  }
  #bodyarea .company_container #contentnavi ul li a {
    padding-left: 10px;
  }
  #bodyarea .company_container #contentnavi ul li a.current {
    color: #111;
  }
  #bodyarea .company_container #contentnavi ul li a::before {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  #bodyarea .company_container .contentarea .section + .section {
    margin-top: 70px;
    padding-top: 0;
  }
  #bodyarea .company_container .contentarea .section .sec_title {
    padding-left: 50px;
    margin-bottom: 40px;
  }
  #bodyarea .company_container .contentarea .section .sec_title::before {
    width: 40px;
    height: 23px;
    top: 11px;
    left: 0;
  }
  #bodyarea .company_container .contentarea .section .sec_title .en {
    font-size: 40px;
  }
  #bodyarea .company_container .contentarea .section .sec_title .jp {
    margin-left: 10px;
  }
}
/* ------------------------------------------------------------------------------------------------------------------------

 Responsive-Breakpoint-4 ( 644px )
 
------------------------------------------------------------------------------------------------------------------------ */
@media only screen and (max-width: 644px) {
  #bodyarea .company_container #contentnavi {
    margin-bottom: 40px;
  }
  #bodyarea .company_container #contentnavi ul {
    flex-wrap: wrap;
  }
  #bodyarea .company_container #contentnavi ul li {
    width: 50%;
    box-sizing: border-box;
    margin: 0;
    padding: 1%;
  }
  #bodyarea .company_container #contentnavi ul li + li {
    margin: 0;
    padding: 1%;
  }
  #bodyarea .company_container #contentnavi ul li a {
    font-size: 15px;
    padding-left: 15px;
  }
  #bodyarea .company_container #contentnavi ul li a::before {
    top: 10px;
    left: 0;
    width: 7px;
    height: 7px;
  }
  #bodyarea .company_container .contentarea .section + .section {
    margin-top: 60px;
  }
  #bodyarea .company_container .contentarea .section .sec_title {
    padding-left: 38px;
    margin-bottom: 25px;
  }
  #bodyarea .company_container .contentarea .section .sec_title::before {
    width: 30px;
    height: 18px;
    top: 6px;
  }
  #bodyarea .company_container .contentarea .section .sec_title .en {
    font-size: 30px;
  }
  #bodyarea .company_container .contentarea .section .sec_title .jp {
    margin-left: 7px;
    font-size: 13px;
  }
  #bodyarea .company_container .contentarea .section .sec_detail .datatable .row {
    display: block;
  }
  #bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head {
    width: auto;
    padding: 10px 10px 3px 10px;
  }
  #bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head::before, #bodyarea .company_container .contentarea .section .sec_detail .datatable .row .head::after {
    display: none;
  }
  #bodyarea .company_container .contentarea .section .sec_detail .datatable .row .body {
    padding: 0 10px 10px 10px;
  }
  #bodyarea .company_container .contentarea .section#message .message p + p {
    margin-top: 15px;
  }
  #bodyarea .company_container .contentarea .section#message .name {
    margin-top: 15px;
  }
  #bodyarea .company_container .contentarea .section#message .name span {
    font-size: 18px;
    margin-left: 10px;
  }
  #bodyarea .company_container .contentarea .section#history .list::before {
    left: 23px;
  }
  #bodyarea .company_container .contentarea .section#history .list .item {
    display: block;
    padding: 10px 40px;
    font-size: 14px;
    border-radius: 8px;
  }
  #bodyarea .company_container .contentarea .section#history .list .item + .item {
    margin-top: 15px;
  }
  #bodyarea .company_container .contentarea .section#access .box + .box {
    margin-top: 40px;
  }
  #bodyarea .company_container .contentarea .section#access .box .name {
    font-size: 17px;
    margin-bottom: 15px;
  }
  #bodyarea .company_container .contentarea .section#access .box .imgbox {
    display: block;
    margin-top: 20px;
  }
  #bodyarea .company_container .contentarea .section#access .box .imgbox .ph {
    width: 100%;
    height: 60vw;
  }
  #bodyarea .company_container .contentarea .section#access .box .imgbox .map {
    width: 100%;
    margin-top: 8px;
  }
  #bodyarea .company_container .contentarea .section#access .box .imgbox .map .inner {
    height: 60vw;
  }
  #bodyarea .company_container .contentarea .section#access .box .datatable .row {
    font-size: 14px;
  }
}
