@charset "UTF-8";

/* ---------------------------------------------------------------*\
$common
\*--------------------------------------------------------------- */

/* message */

.message {
}

.wrapper_contents_message {
  display: -webkit-flex;
  display: flex;
}

.message p {
  width: 100%;
  margin-bottom: 1.5rem;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.4rem;
  font-weight: 100;
  line-height: 3rem;
}

.owner_info {
  width: 20%;
}

.message h3 {
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-family: ryo-display-plusn,serif;
  font-size: 2rem;
  border-bottom: solid 1px #e8e8e8;
}

.message_sub_title {
  display: inline-block;
  font-family: ryo-display-plusn,serif;
  font-size: 1.4rem;
  line-height: 1.7rem;
}

.border_message {
  position: absolute;
  top: 114px;
  left: 35px;
  width: 1px;
  height: 70px;
  background: #111;
}

.info_ownwer {
  position: absolute;
  right: 0;
  bottom: 10px;
}

.thumbnail_message {
  width: 200px;
  height: 200px;
  margin-bottom: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 50%;
}

.info_ownwer > span {
  display: block;
  font-family: ryo-display-plusn,serif;
  font-size: 1.4rem;
  text-align: center;
}

.wrapper_boss {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.sub_name_boss {
  display: block;
  margin-top: 30px;
  font-family: ryo-display-plusn,serif;
  font-size: 1.3rem;
}

.name_boss {
  display: block;
  display: flex;
  align-items: center;
  margin-top: 2px;
  font-family: ryo-display-plusn,serif;
  font-size: 1.6rem;
}

.name_boss img{
  width: 40px;
  height: auto;
  margin-left: 0.8rem;
}

/* biograpy */

.biography {
  position: relative;
  margin: 80px 0 0;
}

.biography h3 {
  font-family: ryo-display-plusn,serif;
  font-size: 2rem;
}

.wrapper_contents_bio {
  position: relative;
  display: -webkit-flex;
  display: flex;
  margin-top: 30px;
}

.biography_title {
  position: absolute;
  top: -60px;
  right: 0;
  font-family: ryo-display-plusn,serif;
  font-size: 2.4rem;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

.border_biography {
  position: absolute;
  top: 15px;
  right: 20px;
  width: 1px;
  height: 50px;
  background: #111;
}

.vertical_timeline {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 100%;
  background: #ccc;
  transform: translateX(-50%);
}

/* dot */

.dot {
  position: relative;
  order: 1;
  width: 10px;
  height: 10px;
  margin-top: 6px;
  background: #ccc;
  border-radius: 50px;
}

@media screen and (max-width: 480px) {
  .dot{
    display: none;
  }
}

.each_event:nth-child(odd) .dot {
  margin-left: calc(16% - 5px);
}

.each_event:nth-child(odd) .dot::after {
  position: absolute;
  top: 5px;
  right: 0;
  display: block;
  width: 90px;
  height: 1px;
  content: '';
  background: #ccc;
}

.each_event:nth-child(even) {
  flex-direction: row-reverse;
}

.each_event:nth-child(even) .dot {
  margin-right: calc(16% - 5px);
}

.each_event:nth-child(even) .dot::after{
  position: absolute;
  top: 5px;
  left: 0;
  display: block;
  width: 90px;
  height: 1px;
  content: '';
  background: #ccc;
}

/* horizontal line */

.horizontal_line {
  position: absolute;
  top: 5px;
  width: 90px;
  height: 1px;
  background: #ccc;
}

/* contents */

.timelines {
  position: relative;
  width: 100%;
}

.each_event{
  position: relative;
  display: flex;
}

.each_event.m_30{ margin-top: 30px
}

.each_event.n_m_10{ margin-top: -10px
}

.each_event.n_m_20{ margin-top: -20px
}

.each_event.n_m_30{ margin-top: -30px
}

.each_event.n_m_40{ margin-top: -40px
}

.each_event.n_m_50{ margin-top: -50px
}

.each_event.n_m_60{ margin-top: -60px
}

.each_event.n_m_70{ margin-top: -70px
}

.each_event.n_m_80{ margin-top: -80px
}

.each_event.n_m_90{ margin-top: -90px
}

@media screen and (max-width: 480px) {
  .each_event.n_m_10{ margin-top: 0
  }

  .each_event.n_m_20{ margin-top: 0
  }

  .each_event.n_m_30{ margin-top: 0
  }

  .each_event.n_m_40{ margin-top: 0
  }

  .each_event.n_m_50{ margin-top: 0
  }

  .each_event.n_m_60{ margin-top: 0
  }

  .each_event.n_m_70{ margin-top: 0
  }

  .each_event.n_m_80{ margin-top: 0
  }

  .each_event.n_m_90{ margin-top: 0
  }
}

.each_event .text{
  width: 34%;
}

@media screen and (max-width: 480px) {
  .each_event .text {
    width: 100%;
  }
}

.year_biography {
  position: relative;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.5rem;
  font-weight: bold;
}

.event_biography {
  margin-top: 5px;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.3rem;
  line-height: 2.2rem;
}

.event_image {
  width: 100%;
  height: auto;
  margin-top: 10px;
}

/* company */

.detail_recruit {
  margin-top: 80px;
}

.detail_recruit.--nomargin {
  margin-top: 0;
}

.detail_title {
  padding-bottom: 10px;
  margin-bottom: 5px;
  font-family: ryo-display-plusn,serif;
  font-size: 2rem;
  border-bottom: solid 1px #e8e8e8;
}

.detail_subtitle {
  padding-bottom: 10px;
  margin-bottom: 5px;
  font-family: ryo-display-plusn,serif;
  font-size: 1.6rem;
}

.detail_recruit dl {
  display: -webkit-flex;
  display: flex;
  padding: 16px 0;
}

.detail_recruit dt {
  width: 30%;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.3rem;
}

.detail_recruit dd {
  width: 70%;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.3rem;
}

/* map */

#map, #factory_map {
  width: 100%;
  height: 400px;
}

.map {
  position: relative;
  margin-top: 80px;
}

.map h3 {
  margin-bottom: 30px;
  font-family: ryo-display-plusn,serif;
  font-size: 2rem;
}

.map iframe {
  width: 100%;
  height: 400px;
}

.map_title {
  position: absolute;
  top: -20px;
  left: -75px;
}

.border_map {
  position: absolute;
  top: 96px;
  left: -57px;
  width: 1px;
  height: 60px;
  background: #111;
}

.map_title {
  font-family: ryo-display-plusn,serif;
  font-size: 2.4rem;
  -webkit-writing-mode: vertical-rl;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

ul.wrapper_address {
  display: -webkit-flex;
  display: flex;
  margin-top: 30px;
  margin-bottom: 30px;
}

ul.wrapper_address li {
  display: -webkit-flex;
  display: flex;
  width: 360px;
}

ul.wrapper_address li:nth-of-type(1) {
  padding-right: 65px;
}

ul.wrapper_address li span {
  display: block;
}

ul.wrapper_address li span.sub_title_map {
  width: 30%;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.2rem;
  color: #777;
}

ul.wrapper_address li span.detail_map {
  width: 70%;
  font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", "メイリオ", Meiryo, serif;
  font-size: 1.3rem;
}

/* ---------------------------------------------------------------*\
$480px
\*--------------------------------------------------------------- */
@media screen and (max-width: 480px) {
  .message p > br {
    display: none;
  }

  .detail_recruit dd {
    width: 65%;
    margin-left: auto;
  }

  .vertical_timeline {
    display: none;
  }

  .each_event {
    margin-top: 25px !important;
  }

  .biography h3 {
    padding-bottom: 10px;
    border-bottom: solid 1px #e8e8e8;
  }

  .year_biography {
    font-size: 1.4rem;
  }

  ul.wrapper_address {
    display: block;
  }

  ul.wrapper_address li span.sub_title_map {
    width: 26%;
  }

  ul.wrapper_address li {
    width: 100%;
  }

  ul.wrapper_address li:nth-of-type(1) {
    padding-right: 0;
    margin-bottom: 20px;
  }

  ul.wrapper_address li span.detail_map {
    width: 74%;
  }

  #map, #factory_map {
    width: 100%;
    height: 200px;
  }
}

/* ---------------------------------------------------------------*\
$320px
\*--------------------------------------------------------------- */
@media screen and (max-width: 320px) {
  ul.wrapper_address li span.sub_title_map {
    width: 30%;
  }

  ul.wrapper_address li span.detail_map {
    width: 70%;
  }
}
