/*index
-------------------------------------------------------*/
.index {
  background-color: #e6e6e1
}
.index .container-small {
  text-align: center;
  padding-top: 105px;
  padding-bottom: 100px;
  margin-bottom: 2px;
  background-color: #FFFFFF
}
.index .nav {
  margin: 50px auto 50px auto;
  display: flex;
  justify-content: center
}
.index footer {
  margin-top: 100px
}
/*トップナビ*/
.index .top_nav {
  margin: 50px auto 50px auto;
  display: flex;
  justify-content: center
}
.index .top_nav ul {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  margin: 0;
  padding: 0;
  list-style: none;
}
.index .top_nav li {
  display: flex;
  align-items: center;
  height: 15px;
  padding: 0 26px;
  border-left: solid 1px #000;
  line-height: 1;
  padding-top: 1px;
}
.index .top_nav li:last-child {
  border-right: solid 1px #000;
}
.index .top_nav a {
  display: inline-block;
  text-decoration: none;
  color: #333;
  font-size: 15px;
  line-height: 1; /* 15px相当になる */
  letter-spacing: 2px;
  display: block;
  margin-top: -3px
}
@media (max-width: 800px) {
  .index .top_nav {
    margin: 10px auto 10px auto;
  }
  .index .top_nav ul {
    margin: 10px;
    padding: 0px 40px;
    flex-flow: wrap;
    box-sizing: border-box
  }
  .index .top_nav li {
    width: 50%;
    margin: 15px 0;
    text-align: center
  }
  .index .top_nav li:nth-child(2) {
    border-right: solid 1px #000;
  }
  .index .top_nav li a {
    width: 100%;
    text-align: center;
    font-size: 13px;
  }
}
/*message*/
.index .message {
  padding-bottom: 80px;
}
.index .message img {
  width: 170px;
  height: auto;
  margin-bottom: 60px
}
.index .message h2 {
  font-size: 24px;
  writing-mode: vertical-rl;
  text-orientation: upright;
  line-height: 2em;
  text-align: left;
  margin: 0 auto 30px auto
}
.index .message p {
  font-size: 14px;
  line-height: 2em
}
@media (max-width: 800px) {
  .index .container-small {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .index .message img {
    width: 140px;
    margin-bottom: 60px
  }
  .index .message h2 {
    font-size: 18px;
    margin: 0 auto 30px auto
  }
  .index .message p {
    font-size: 12px;
    text-align: left
  }
  .index .message p br {
    display: none
  }
}
/*content_link*/
.index .content_link {
  padding-bottom: 110px
}
.index .content_link h2 {
  font-size: 26px;
  margin: 30px 0 10px 0;
  letter-spacing: 0.1em
}
.index .content_link h3 {
  font-size: 16px;
  line-height: 2em;
  margin-bottom: 30px
}
.index .content_link img:last-of-type {
  width: 384px;
  margin: 0 auto 40px auto
}
.index .content_link img.about {
  width: 125px;
  height: auto
}
.index .content_link img.works {
  width: 70px;
  height: auto
}
.index .content_link img.recruit {
  width: 105px;
  height: auto
}
.index .content_link img.contact_top {
  width: 90px;
  height: auto
}
.index .content_link .link_arrow_center {
  display: block
}
.index .content_link .link_arrow_center a {
  font-size: 20px
}
@media (max-width: 800px) {
  .index .content_link {
    padding-bottom: 50px
  }
  .index .content_link img.about {
    width: 75px;
  }
  .index .content_link img.works {
    width: 42px;
  }
  .index .content_link img.recruit {
    width: 63px;
  }
  .index .content_link img.contact_top {
    width: 54px;
  }
  .index .content_link h2 {
    font-size: 24px;
    margin: 30px 0 10px 0;
    letter-spacing: 0.1em
  }
  .index .content_link h3 {
    font-size: 13px;
    line-height: 2em;
  }
}
/*矢印*/
.link_arrow_center a {
  position: relative;
  display: flex;
  padding: 0;
  color: #000;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  letter-spacing: 0.07em;
  height: 35px;
  width: 80px;
  margin: auto
}
.link_arrow_center a::before, .link_arrow_center a::after {
  position: absolute;
  top: 33px;
  right: 0px;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.link_arrow_center a::before {
  right: -10px;
  width: 90px;
  height: 1px;
  background: #000;
}
.link_arrow_center a::after {
  right: -5px;
  top: 28px;
  width: 13px;
  height: 20px;
  border-top: 1px solid #000;
  transform: rotate(33deg);
}
@media (max-width: 800px) {
  .index .content_link .link_arrow_center a {
    font-size: 14px
  }
  .link_arrow_center a {
    height: 24px;
    width: 56px;
  }
  /* 矢印の直線部分（before） */
  .link_arrow_center a::before {
    top: 23px;
    right: -7px;
    width: 63px;
  }
  /* 矢印の先端部分（after） */
  .link_arrow_center a::after {
    top: 19.6px;
    right: -3px;
    width: 9px;
    height: 14px;
  }
}
/*PAGE HERO
-------------------------------------------------------*/
.page_hero {
  margin-top: 120px;
  margin-bottom: 120px;
}
.page_hero h2 {
  display: block;
  font-size: 60px;
  line-height: 1em;
  margin-bottom: 10px;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0 20px
}
.page_hero h2 span {
  display: block;
  font-size: 24px
}
.page_hero p {
  font-size: 16px;
  line-height: 2em;
  padding: 0 20px
}
.page_hero img {
  margin-top: 170px
}
/*右画像をはみ出す*/
.block_img_over {
  max-width: 900px;
  width: 100%;
  margin: 0px auto;
}
.img_over {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.img_over_text {
  width: 45%;
  padding: 0px;
  box-sizing: border-box
}
.img_over_image_right {
  margin-right: calc(55% - 55vw);
  width: calc(55vw - 55% + 55%);
  line-height: 0;
}
@media (max-width: 800px) {
  .page_hero {
    margin-top: 0px;
    margin-bottom: 70px;
  }
  .page_hero img {
    margin-top: 0px;
    margin-bottom: 50px
  }
  .page_hero h2 {
    display: block;
    font-size: 25px;
    line-height: 1em;
    margin-bottom: 10px;
    font-family: "Noto Serif JP", serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0 20px
  }
  .page_hero h2 span {
    display: block;
    font-size: 15px
  }
  .page_hero p {
    font-size: 13px;
    line-height: 2em;
    padding: 0 20px
  }
  .img_over {
    flex-direction: column-reverse
  }
  .img_over_text {
    width: 100%;
  }
  .img_over_image_right, .img_over_image_left {
    margin: 0;
    width: 100%;
  }
}
/*about
-------------------------------------------------------*/
.outline {
  max-width: 700px;
  margin: 0 auto 100px auto;
  padding: 0 20px
}
.outline h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th, .company-table td {
  padding: 5px 0px;
  text-align: left;
  font-size: 17px;
  border-top: 1px solid #9a9a9a;
  border-bottom: 1px solid #9a9a9a;
  vertical-align: top;
}
.company-table th {
  width: 9em;
  font-weight: normal
}
/* 帯 */
.history-area {
  position: relative;
}
.history-area::after {
  content: "";
  position: absolute;
  top: 195px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* 画面幅いっぱい */
  height: 500px;
  background: #e6e6e1;
  z-index: -1;
}
.access h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}
.access iframe {
  width: 100%;
  height: 500px;
  margin-bottom: 50px;
  filter: grayscale(100%) sepia(2%);
}
@media (max-width: 800px) {
  .outline {
    margin: 0 auto 70px auto;
  }
  .outline h2, .access h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .company-table th, .company-table td {
    text-align: left;
    font-size: 12px;
  }
  .history-area::after {
    top: 150px;
    height: 400px;
  }
  .access iframe {
    width: 100%;
    height: 300px;
    margin-bottom: 50px
  }
}
/*works
-------------------------------------------------------*/
.coming-soon {
  text-align: center;
  margin-bottom: 120px
}
.coming-soon img {
  width: 230px;
}
@media (max-width: 800px) {
  .coming-soon {
    margin-bottom: 60px
  }
  .coming-soon img {
    width: 100px;
  }
}
/*recruit
-------------------------------------------------------*/
.recruit p {
  font-size: 21px;
  writing-mode: vertical-rl;
  text-align: center;
  margin: auto;
  padding: 50px 70px 0 0
}
@media (max-width: 800px) {
  .recruit p {
    font-size: 14px;
    padding: 50px 0px 0 0
  }
}
/*contact
-------------------------------------------------------*/
.contact {
  display: block;
  background-color: #e6e6e1;
  padding: 50px 0 0 0;
  margin-bottom: 30px
}
.contact h2 {
  text-align: center;
  font-size: 32px;
  letter-spacing: 0.02em;
  margin-bottom: 30px;
}
.contact .grid-2 {
  width: 630px;
  gap: 65px;
  margin: 0 auto 0 auto;
}
.contact p {
  text-align: center;
  font-size: 12px;
  margin-top: 30px;
  padding-bottom: 50px
}


@media (max-width: 800px) {
  .contact h2 {
    font-size: 20px;
    margin-bottom: 60px;
  }
  .contact .grid-2 {
    grid-template-columns: 1fr;
    width: 200px;
    gap: 30px;
    margin: 0 auto 0 auto;
  }
}
/* スマホ時だけ電話リンクに切り替え */
.contact-tel-sp{
  pointer-events: none;
}

@media screen and (max-width: 767px){
  .contact-tel-sp{
    pointer-events: auto;
  }
}
/* 住所の点線を消す */
/* iPhone 自動リンク対策 */
a[x-apple-data-detectors],
a[x-apple-data-detectors] *{
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
  font-size: inherit !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}
