html {
  scroll-behavior: smooth;
}

p {
  letter-spacing: 0.1rem;
  line-height: 1.5;
}

h2 {
  font-size: 25px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

/*========= LoadingのためのCSS ===============*/
#splash {
  /*fixedで全面に固定*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  background: #333;
  text-align: center;
  color: #fff;
}

/* Loadingバー中央配置　*/
#splash_text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
  width: 100%;
  transform: translate(-50%, -50%);
  color: #fff;
}

/*IE11対策用バーの線の高さ※対応しなければ削除してください*/
#splash_text svg {
  height: 2px;
}

/*========= LoadingのためのCSS ===============*/

/* TOPへ戻るボタン */
.gotop {
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #FFF;
  border: 1px solid #999;
  padding-top: 30px;
  text-align: center;
  letter-spacing: -1px;
  font-size: 85%;
  text-decoration: none;
  color: #333;
  opacity: 0.5;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
}

.gotop::before {
  content: "";
  display: block;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}

.gotop:hover {
  opacity: 1;
}

/* header */
.brand {
  padding-top: 1rem;
  padding-bottom: 1rem;
  padding-left: 10%;
}

.site-header {
  position: relative;
  background-color: #000;
}

.site-header a {
  color: #FFF;
  text-decoration: none;
}
.site-header img {
width: 90%;
}
.site-header__wrapper {
  height: 80px;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__wrapper {
  display: flex;
}

.nav__item a {
  display: block;
  padding: 0.2rem 1rem;
  transition : 1s;
}

nav li {
  list-style: none;
  display: inline-block;
  width: 10%;
  min-width: 90px;
}

nav li:not(:last-child) {
  border-right: 1px solid #ddd;
}

nav a {
  text-decoration: none;
  color: #333;
}

nav a.current {
  color: #7A818C;
  border-bottom: 2px solid #7A818C;
}

/* ヘッダー終了 */

.container {
  height: 100vh;
  background-image: url(../img/topimg.svg);
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  opacity: 0.8;
}

.top img {
  max-width: 80%;
}

.title h2 {
  font-weight: bold;
  position: absolute;
  padding-top: 50px;
}

.title img {
  position: relative;
}

.company {
  max-width: 800px;
  margin: 50px auto;
}

.company-table {
  margin: 50px auto;
}

.company-text p {
  margin-top: 30px;
}

.company-text h1 {
  position: absolute;
  padding-top: 40px;
}

.box-1 {
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  /*余計な隙間を除く*/
  padding: 0;
  /*余計な隙間を除く*/
}

.box-1 {
	text-align: center;
}

.box-1 img {
	margin-bottom: 1rem;
} 

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

.table tr {
  border-bottom: 1px solid #928C92;
}

.table tr th,
.table tr td {
  padding: 20px 0;
  text-align: left;
  vertical-align: top;
  text-decoration: none;
}

.table tr th {
  width: 15%;
  font-weight: bold;
}

.table tr td {
  width: 75%;
}

.table tr th {
  width: 20%;
  font-weight: bold;
  font-size: 16px;
}

.table tr td {
  width: 50%;
}

@media screen and (max-width: 800px) {
  .box-1 {
    top: 40%;
  }
  .company {
    margin: 50px 20px;
  }

  .table tr th,
  .table tr td {
    display: block;
    width: 100%;
    padding: 0;
    margin: 20px 0;
  }

  .table tr th,
  .table tr td {
    display: block;
    width: 100%;
    padding: 0;
    margin: 20px 0;
    text-decoration: none!important;
    color:#333;
  }
}

.access {
  max-width: 800px;
  margin: 50px auto 100px;
  border-top: 1px solid #ccc;
  padding-top: 40px;
}

.access-description p {
  margin-bottom: 30px;
}

@media screen and (max-width: 800px) {
  .access {
    margin: 50px 20px;
  }
}

.footer-tel a {
  color: white;
}

.tel p {
  font-size: min(20px, 4vw);
}

nav a:hover {
  color: #F7CB4D;
}

.map {
  width: 100%;
  position: relative;
  padding-top: 56.25%;
}

.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

footer {
  background-color: #000;
  height: 220px;
}

.footer img {
  display: block;
  margin: 0px auto;
  padding: 30px;
}

.footer-tel {
  text-align: center;
  margin-bottom: 30px;
  color: #FFF;
}

.footer p {
  font-size: 8px;
  text-align: center;
  color: #fff;
  line-height: 0;
}

.footer ul li a {
  color: #FFF;
}

.footer ul li {
  list-style: none;
  padding: 0 20px;
}

.footer ul {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.footer li:not(:last-child) {
  border-right: 1px solid #ddd;
}

.footer ul li a {
  color: #fff;
}

.footer ul li a:hover {
  color: #F7CB4D;
  transition : 1s;
}

/* js */

.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}

@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
  opacity: 0;
}

/*  */


/*左から右テキストエフェクト*/
.leftAnime{
  opacity: 0;
  overflow: hidden;
  display: inline-block;
}

.leftAnimeInner {
display: inline-block;
}

.slideAnimeLeftRight {
animation-name:slideTextX100;
animation-duration:3s;
animation-fill-mode:forwards;
  opacity: 0;
}

@keyframes slideTextX100 {
from {
transform: translateX(-100%); /*要素を左の枠外に移動*/
      opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}

.slideAnimeRightLeft {
animation-name:slideTextX-100;
animation-duration:3s;
animation-fill-mode:forwards;
opacity: 0;
}

@keyframes slideTextX-100 {
from {
transform: translateX(100%);/*要素を右の枠外に移動*/
  opacity: 0;
}

to {
transform: translateX(0);/*要素を元の位置に移動*/
  opacity: 1;
}
}


/*11/30*/
.message-container{
  display: flex;
  gap: 40px;
  margin-top: 40px;
}
.profile-img{
  max-width: 215px;
  text-align: center;
}
.profile-img img {
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.message-box p{
  width: fit-content;
  line-height: 2;
}
.message-box h3{
  margin-top: 20px;
  text-align: right;
}
.access-image{
  display: flex;
  
  gap: 10px;
}

.accessimg{
  width: 33%;
  
}

@media (max-width:500px){
  .message-container{
    flex-direction: column;
  }
  .profile-img{
    max-width: unset;
    width: 100%;
  }
  .access-image{
    flex-direction: column;
  }
  .accessimg{
    width: 100%;
    
  }
}