@charset "utf-8";

* {
  padding: 0;
  margin: 0;
}

html {
  width: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", "Noto Sans JP", "游ゴシック体", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
  letter-spacing: 0.1em;
  width: 100%;

}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

#company_1,
#company_2,
#company_3 {
  scroll-margin-top: 100px;
}

p {
  line-height: 2.5em;
}

h4 {
  writing-mode: vertical-rl;
  font-size: 24px;
}

h2 {
  padding: 0;
  margin: 0;
}

a {
  text-decoration: none;
  color: black;
}


/* グローバルナビゲーション */

.navigation {
  display: flex;
  position: sticky;
  align-items: center;
  height: 80px;
  top: 0;
  background-color: white;
  z-index: 3;
  justify-content: space-between;
}

.navigation .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;

}

.navigation .logo img {
  height: auto;
  /* width:fit-content;
  min-width: 121px; */
  max-width: 100%;
  object-fit: cover;
  margin-left: 8%;
}


nav ul {
  display: flex;
  /* background-color: rgb(92, 226, 43); */
  margin-left: auto;
  margin-right: 0;
  list-style: none;
  padding-left: 0;
}

nav li {
  padding: 0 32px;
  cursor: pointer;
  color: black;
  font-size: 14px;
  /* background-color: blueviolet; */
}

/*スマホナビメニュー */
.sp-menu {
  display: none;
}

.sp-menu #open {
  font-size: 32px;
  line-height: 64px;
  cursor: pointer;
}

.sp-menu #open.hide {
  display: none;
}

.sp-menu img {
  width: 30px;
  height: auto;
}

/*スマホナビメニューオーバーレイ */

/*スマホナビメニューオーバーレイ */
.overlay {
  /* display: none; */
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .10s;

}

.overlay .logo {
  width: 20%;
  min-width: 120px;
  max-width: 160px;
  position: absolute;
  top: 24px;
  left: 9px;
  height: auto;
  cursor: pointer;
}

.overlay .logo img {
  height: auto;
  object-fit: cover;
}

.overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.overlay #close {
  position: absolute;
  top: 24px;
  right: 16px;
  width: 30px;
  height: auto;
  cursor: pointer;
}

.overlay ul {
  text-align: center;
  list-style-type: none;
  margin: 0;
  margin-top: 80px;
  padding: 0;
  display: inline-block;
  height: 100%;
  width: 100%;
}

.overlay li {
  text-align: center;
  margin: 0;
  padding: 0;
  opacity: 0;
  font-size: 20px;
  transition: opacity .5s, transform .5s;
  padding-top: 30px;
  padding-bottom: 30px;
  width: 100%;
  border-bottom: 0.75px solid;
}


.overlay.show li {
  opacity: 1;
  transform: none;
}

.overlay.show li:nth-child(1) {
  transition-delay: .1s;
}

.overlay.show li:nth-child(2) {
  transition-delay: .2s;
}

.overlay.show li:nth-child(3) {
  transition-delay: .3s;
}

.overlay.show li:nth-child(4) {
  transition-delay: .4s;
}

.overlay.show li:nth-child(5) {
  transition-delay: .5s;
}



/* ヘッダー */
header {
  width: 100%;
  height: 416px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  color: #00479d;
}


header img {
  height: 100%;
  width: 75%;
  object-fit: cover;
  margin: 0 0 0 80px;
}

header::before {
  background: rgba(255, 255, 255, 0.5);
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

}

header .block {
  z-index: 2;
  margin-left: 32px;
  text-align: center;
}


/*メッセージ*/
.message {
  display: flex;
  width: 75%;
  max-width: 1200px;
  margin: 80px auto 120px;
  justify-content: space-between;
  align-items: flex-start;
}

.message ul {
  padding: 0;
  margin-top: 5%;
  width: 100%;
  margin-right: 0;
}

.message li {
  list-style: none;
  text-align: end;
}

.message_contents {
  width: 71%;
  padding: 0;
}


.message_contents img {
  object-fit: cover;
  width: 40%;
  min-width: 200px;
  height: auto;
  margin-top: 5%;
}

.message h3 {
  color: #00479d;
  margin: 0;
  padding: 0;
  margin-bottom: 5%;
}



/*ビジョン*/
.vision {
  width: 75%;
  max-width: 1200px;
  display: flex;
  margin: 0 auto 100px;
  justify-content: space-between;
  padding: 0;
}

.vision dl {
  padding: 0;
  display: flex;
  width: 71%;
  margin-right: 0;
  flex-wrap: wrap;
  margin-right: 0;
  align-items: flex-start;
  justify-content: space-between;
}

.vision dt {
  width: 30%;
  color: #00479d;
  font-weight: bold;
  height: fit-content;
  margin-bottom: 8%;
}

.vision dd {
  width: 70%;
  height: fit-content;
  /* line-height: 0; */
  margin-bottom: 8%;
}

.vision dd ul {
  text-align: left;
  margin: auto;
}

.vision dd li {
  margin: 16px 0;
  font-size: 18px;
  list-style: none;

}

.vision dd h4 {
  writing-mode: horizontal-tb;
  margin: 0;
}

.vision h5 {
  font-size: 20px;
  margin: 0;
}

.vision dd h5 {
  font-weight: normal;
  margin: 0;
  /* line-height: 0; */
}

.vision h6 {
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}


/*会社概要*/
.about {
  max-width: 1200px;
  width: 75%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 80px;
  padding: 0;
}

.about dl {
  width: 71%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 5rem;
  transform: translateX(-10%);
}

.about dt {
  /* background-color: antiquewhite; */
  width: 20%;
  border-bottom: 1px solid #ccc;
  margin: 0;
  vertical-align: middle;
  padding: 30px 0 30px 10%;
  /* width: 20%;
  margin: 0;
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.2rem;
  padding: 1.2em 1em 1em 0;
  vertical-align: middle;
  align-items: center; */
}


.about dd {
  text-align: center;
  width: 70%;
  vertical-align: middle;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid #ccc;
  line-height: 2.7rem;
  line-height: 1.8;
  padding: 30px 0 30px 0;
  /* width: 80%;
  margin: 0;
  padding: 1em 1em 1em 0;
  border-bottom: 1px solid #ccc;
  vertical-align: middle;
  line-height: 2.7rem;
  background-color: aliceblue; */
}

.about .adress ul+li {
  line-height: normal;
}

.about .adress ul {
  font-weight: 600;
}

.about .adress li {
  list-style: none;
}

.about .adress {
  margin-bottom: 30px;
}


/*フッター*/
.footer_main {
  display: flex;
  justify-content: space-between
    /* background-color: brown; */
}

footer img {
  width: 80%;
  height: auto;
  object-fit: cover;
  min-width: 121px;
  max-width: 200px;
  /* background-color: aqua; */
}

.footer_img ul {
  list-style: none;
  padding-left: 0;
}

.footer_img li {
  margin: 0.8em;
}

.footer_other {
  font-size: 12px;
  text-align: center
}


/*パソコンフッター*/
.pc-footer {
  width: 87%;
  max-width: 1200px;
  margin: 40px auto 27px;
}

.pc-footer dl {
  display: flex;
}

.pc-footer dl div {
  margin: 0 0 0 32px;
  line-height: 1.5em;
}

.pc-footer dt {
  font-size: 16px;
  margin-top: 0;
  cursor: pointer;
}

.pc-footer dd {
  margin: 8px;
  font-size: 12px;
  cursor: pointer;
  transform: translateX(-8px);
}

/*スマホフッター*/

/*スマホフッター*/
.sp-footer {
  margin-top: 40px;
  display: none;
}

.sp-footer dl {
  margin-bottom: 20px;
}

.sp-footer dt {
  padding: 16px 24px;
  cursor: pointer;
  user-select: none;
  position: relative;
  border-bottom: 1px solid white;
  background-color: #2e6db9;
  color: white;
}

.sp-footer dt::after {
  content: '+';
  font-size: 24px;
  position: absolute;
  top: 12px;
  right: 24px;
  transition: transform .3s;
}

dl>div.appear dt::after {
  transform: rotate(45deg);
}

.sp-footer dd {
  padding: 10px 24px;
  margin: 0;
  display: none;
  font-size: 14px;
  border-bottom: 1px solid gray
}

dl>div.appear dd {
  display: block;
  animation: .3s fadeIn;
}

.sp-footer .footer_img {
  /* width: 89%; */
  margin: auto;
  justify-content: center;
  text-align: center;
}

.sp-footer .footer_img ul {
  margin-top: 8px
}

.sp-footer .footer_other {
  text-align: center;
  width: 92%;
  margin: 20px auto;
}

.sp-footer .footer_other p {
  line-height: 1.5;
}

@media (max-width:972px) {

  /*フッター*/
  .sp-footer {
    display: block;
  }

  .pc-footer {
    display: none;
  }
}

@media (max-width:768px) {
  h2 {
    text-align: center;
  }

  h4 {
    writing-mode: horizontal-tb;
    font-size: 24px;
    text-align: center;
    margin-bottom: 5%;
  }


  /*グローバルナビゲーション*/
  .sp-menu {
    display: block;
    margin-right: 3%;
  }

  .pc-menu {
    display: none;
  }

  /*ヘッダー*/
  header {
    display: block;
    text-align: center;
  }

  header img {
    width: 100%;
    margin: 0;
    position: static;
    z-index: -1;
  }

  header::before {
    z-index: 0;
  }

  header .block {
    z-index: 2;
    position: relative;
    margin-left: 0px;
  }

  /*メッセージ*/
  .message {
    display: block;
    width: 89%;
    margin-top: 160px;
    margin-bottom: 16%;
  }

  .message p {
    font-size: 14px;
    letter-spacing: normal;

  }

  .message_contents {
    width: 100%;
    padding: 0;
  }

  .message_contents img {
    margin-right: auto;
    text-align: left;
  }


  /*ビジョン*/
  .vision {
    margin: auto;
    margin-bottom: 100px;
    display: block;
    text-align: center;
    width: 89%;
  }

  .vision dl {
    width: 100%;
    padding: auto;
    display: block;
  }

  .vision dt {
    width: 100%;
    margin-bottom: 10px;
  }

  .vision dd {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    margin-bottom: 50px;
  }

  .vision dd ul {
    width: fit-content;

  }

  .vision dd li {
    font-size: 16px;
  }

  .vision dd h4 {
    margin: auto;
    font-weight: normal;
    font-size: 20px;
  }

  .vision h5 {
    margin: auto;
  }

  .vision dd h5 {
    font-size: 16px;
    margin: auto;
    /* line-height: 0; */
  }

  .vision h6 {
    font-size: 12px;
    font-weight: normal;
    margin: 0;
  }

  /*会社概要*/
  .about {
    width: 89%;
    display: block;
    margin: auto;
  }

  .about dl {
    width: 100%;
    margin: auto;
    transform: translateX(0%);
    font-size: 14px;
  }

  .about .adress li {
    font-size: 14px;
  }

}