@charset "UTF-8";

/*共通部分--------------------------------------*/
html {
  font-size: 62.5%;
  font-family: 'Meiryo UI',sans-serif;
}

body {
  line-height: 1.7;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.logo {
  width: 19vw;
  margin-left: 16px;
}



.main-header-txt {
  color: #fff;
}



nav {
  margin-left: auto;
}

.main-nav {
  display: flex;
}

.main-nav li {
  margin-right: 3.6rem;
}

.main-nav a {
  color: #ffffff;
  font-size: 1.7rem;
}

.main-nav a:hover {
  color: #0bd;
}

.main-header {
  display: flex;
  background-color: #123177;
  justify-content: space-between;
  align-items: baseline;
  height: 8rem;
  padding-bottom: 2rem;
  padding-top: 1rem;
}


.big-bg {
  background-size: cover;
  text-align: center;
  background-repeat: no-repeat;
}

.logo-center {
  margin-top: 10vh;
  margin-bottom: 10vh;
  width: 30%;
  opacity: 0;
  animation: 3s fadeIn forwards;
}

#home {
  background-image: url(../images/home.jpg);
  min-height: 40vh;
}

.fade {
  animation: 3s fadeIn;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.rwd-nav {
  display: none;
}

/*下部コンテンツ-------------------------------------*/
h2 {
  color: #1b3356;
  font-size: 2.2rem;
  font-weight: bold;
  border-bottom: 2px #6a635d solid;
  margin-top: 0;
}

.day {
  color: #6a635d;
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 1.4rem;
}

.news-topic {
  margin-top: 0;
}

.news-topic a {
  color: #432;
  font-size: 1.7rem;
}

.news-topic a:hover {
  color: #0bd;
}

.event-topic {
  margin-top: 0;
}

.event-topic a {
  color: #432;
  font-size: 1.7rem;
}

.event-topic a:hover {
  color: #0bd;
}

.news {
  width: 40%;
}

.event {
  width: 40%;
}

.container {
  display: flex;
  justify-content: center;
  grid-gap: 5%;
  margin-top: 30px;
}

.content-wrapper {
  margin: 0 8% 0;
}

.shadow {
  color: #1b3356;
  font-weight: bold;
  opacity: 0.5;
  font-size: 1.3rem;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 20px;
}

/*企業理念-------------------------------------*/
#philosophy {
  background-image: url(../images/philosophy.jpg);
  min-height: 60vh;
}

.philosophy-title {
  font-size: 2.2rem;
  margin: 5rem;
}

.philosophy-txt {
  font-size: 1.7rem;
  font-weight: lighter;
}

.philosophy-contents {
  margin: 8% 10%;
  text-align: center;
}


/*会社概要-------------------------------------*/
#overview {
  background-image: url(../images/overview.jpg);
  min-height: 60vh;
}

table {
  border-collapse: collapse;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-size: 1.5rem;

}

table th, table td {
  border: solid 1.5px #6a635d;
}

table th {
  background-color: #A89E94;
  padding: 20px;
}

table td {
  padding: 20px;
}

.location-map {
  margin: 50px;
}

/*IR情報-------------------------------------*/
#ir {
  background-image: url(../images/ir.jpg);
  min-height: 60vh;
}

.ir-contents {
  margin-left: 5rem;
}

.ir-infomation {
  list-style: inherit;
  margin-top: 2vh;
  margin-left: 3vw;
  margin-bottom: 2vh;
}

.ir-contents h3{
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 2rem;
}

.ir-infomation p {
  margin: 0.8rem 0;
  font-size: 1.7rem;
}

.ir-document {
  border-top: 0.1rem #6a635d dotted;
}

.ir-infomation a:hover {
  color: #0bd;
}

.ir-infomation a {
  color: black;
}

a[href*=".pdf"]:after {
  content: " ";
  display: inline-block;
  vertical-align: middle;
  width: 2.5rem;
  height: 3.5rem;
  margin-right: 1rem;
  background-image: url(../images/pdf-icon.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 2.5rem auto;
}

/*リクルート-------------------------------------*/
#recruit {
  background-image: url(../images/recruit.jpg);
  min-height: 60vh;
}

.recruit-btn {
  display: block;
  text-align: center;
}

.recruit-btn a {
  display: inline-block;
  color: #fff;
  font-weight: normal;
  font-size: 2rem;
  vertical-align: middle;
  cursor: pointer;
  padding: 0.5em 2em;
  background-color: #343535;
  border: 1px solid transparent;
  border-radius: 10px;
  margin: 5rem 0 3rem;
  box-shadow: 0.1rem 0.1rem 0.1rem #666666;
}

.recruit-btn:active {
  /*ボタン押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
}

/*お問合せ-------------------------------------*/
#inquiries {
  background-image: url(../images/inquiries.jpg);
  min-height: 60vh;
}

.name {
  border: 1px #6a635d solid;
  font-size: 1.5rem;
}

.send {
  color: #fff;
  background-color: #343535;
  margin: 5rem;
  padding: 1rem 4rem;

  border-radius : 1rem; 
  font-size: 1.7rem;
  text-align: center;
  box-shadow: 0.1rem 0.1rem 0.1rem #666666;
  cursor: pointer;
}

.send:hover {
color: #123177;
background: #fff;
}

textarea {
  border: 1px #6a635d solid;
  padding: 0 10rem 10rem 0;
  font-size: 1.5rem;
}

.inquiries-wrapper {
  width: 25%;
  margin-top: 5rem;
  margin-left: auto;
  margin-right: auto;
}

.inquiries-wrapper p {
  font-size: 1.7rem;
  margin-bottom: 2rem;
}

.inquiry-form {
  margin-top: 3vh;
}


/*フッター-------------------------------------*/
footer {
  text-align: center;
  background-color: #123177;
  margin-top: 5rem;
  height: 5rem;
  padding: 1.8rem 0;
}

footer p {
  color: #fff;
  font-size: 1rem;
}

/*レスポンシブ----------------------------------------------------------------------------*/
@media (max-width: 768px) {

  /*全体-------------------------------------*/
  h2 {
    text-align: center;
  }
  p {
    font-size: 1.5rem;
  }

.shadow {
  text-align: center;
}

  


  /*ヘッダー-------------------------------------*/
  .logo {
    width: 40vw;
    margin-left: 3vw;
  }

  .main-header {
    height: 10vh;
    padding-top: 2rem;
    padding-bottom: 1rem;
  }

  nav {
    display: none;
  }

  #rwd-header {
    position: relative;
    display: block;
    width: 3rem;
    height: 2.5rem;
    margin: 0 3vw 0 auto;
  }

  #rwd-header span {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: translateY(-50%);
  }

  #rwd-header::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }

  #rwd-header::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
  }

  .rwd-nav {
    z-index: 1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: block;
    width: 100%;
    background: rgba(0, 0, 0, .8);
    transition: all .2s ease-in-out;
    opacity: 0;
    transform: translateY(-100%);
  }

  .rwd-nav a {
    color: #fff;
  }

  .rwd-nav ul {
    font-size: 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
  }

  .rwd-nav li {
    padding: 0;
  }

  .rwd-nav li span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
  }

  .rwd-nav li a, .rwd-nav li span {
    display: block;
    padding: 2rem 0;
  }

  /*基準となるli要素*/
  .sp-nav .close {
    position: relative;
    padding-left: 2rem;
  }

  /*バツ印線1*/
  .rwd-nav .close::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 3rem;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(45deg);
  }

  /*バツ印線2*/
  .rwd-nav .close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3rem;
    display: block;
    width: 16px;
    height: 1px;
    background: #fff;
    transform: rotate(-45deg);
  }

  .toggle {
    transform: translateY(0);
    opacity: 1;
  }

  .main-visual {
    padding: 0 4%;
  }

  /*ホーム-------------------------------------*/
  .container {
    flex-direction: column;
    align-items: center;
    margin-bottom: 5rem;
  }

  .news {
    width: 80vw;
    margin-bottom: 3vh;
  }

  .event {
    width: 80vw;
  }

  /*企業理念-------------------------------------*/
  .philosophy-title {
    font-size: 2rem;
    margin: 5rem 0 5rem;
  }

  .philosophy-txt {
    line-height: 2;
  }

  /*会社概要-------------------------------------*/
table {
  width: 100%;
  table-layout: fixed;
  word-break: break-all;
  word-wrap: break-all;
}

  table th,
  table td {
    display: block;
    border: none;
    font-weight: normal;
    text-align: left;
  }

  table th {
    padding: 10px;
  }
}

.location-map {
  height: 0;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%;
}
.location-map iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  height: 100%;
}


  /*IR情報-------------------------------------*/
  .ir-contents {
    margin-left: 0;
  }

  /*リクルート-------------------------------------*/
  .recruit-btn a {
    font-size: 2rem;
  }

  /*お問合せ-------------------------------------*/

  .inquiry-form-send {
    text-align: center;
  }

  .inquiries-wrapper {
    width: 100%;
    margin-left: 2rem;
  }

  
/*レスポンシブ*/
