@charset "UTF-8";
.header-nav-list {
  list-style: none;
}
.nav {
  padding-bottom: 30px;
}
.nav-card {
  position: relative;
  transition: transform 0.3s ease;
}
.nav-card:hover {
  transform: translateY(-5px);
}
.nav-card p {
  position: absolute;
  color: #333;
  font-size: 14px;
  top: 18px;
  left: 8px;
  display: block;
  background-color: rgba(255, 255, 255, 0.7);
  line-height: 20px;
  width: 120px;
  border-radius: 0 4px 4px 0;
  text-align: center;
}
.nav-card p.nyaman {
  line-height: 18px;
  padding-bottom: 2px;
}
.nav-card img {
  width: 100%;
}
article nav {
  display: none;
}
.top-service {
  padding: 80px 0;
  margin: 5%;
}
.top .box {
  border: solid 0.5px rgba(51, 51, 51, 0.6);
  box-shadow: 5px 5px rgba(51, 51, 51, 0.6);
  margin-bottom: 80px;
}
.top h2 {
  font-size: 24px;
padding: 20px 0;
}
.sakimori-big img {
  border: solid 0.5px rgba(51, 51, 51, 0.6);
}
.top .box-l {
  margin: 0 20px 60px 60px;
  width: 50%;
}
.top .box-r {
  margin: 66px 60px 60px 30px;
  width: 50%;
}
.award {
  text-align: center;
  height: 24px;
  font-size: 18px;
  font-weight: bold;
  color: #1374af;
  margin: 30px;
}
.box-r .award::before {
  content: url(../images/award.png);
  width: 32px;
  height: 32px;
  display: inline-block;
  vertical-align: middle;
}
.top p.box-top {
  line-height: 160%;
  margin-bottom: 20px;
  line-height: 180%;
}
.top figure {
  height: auto;
  max-width: 400px;
}
article .box-l img {
  border: solid 0.5px rgba(51, 51, 51, 0.6);
}
 .top a {
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: bold;
} 
 p.skip {
  display: block;
  color: #fff;
  width: 200px;
padding: 10px 10px;
  background-color: #1374af;
  box-shadow: 7px 5px 0 1px  #efe57a;
  border-radius: 90px;
  text-align: center;
  margin-left: auto;
  margin-right: auto ;
  justify-content: flex-end;
}
p.skip {
  transition: 0.2s cubic-bezier(0.45, 0, 0.55, 1);
}
p.skip-n{
  margin-top: 120px;
}
p.skip:hover {
  transform: translateY(4px);
  box-shadow: none;
}
a {
  text-decoration: none;
  color: #fff;
}
.triangle-container {
  width: 100vw;
  height: auto;
}
.triangle {
  width: 0;
  height: 0;
  margin: 0 auto;
  border-left: calc(50vw - 10px) solid transparent;
  border-right: calc(50vw - 10px) solid transparent;
  border-top: 30vh solid #f8fafa;
  filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.3));
}
table {
  border-collapse: collapse;
  border: 5px solid #b0dafd;
  width: 420px;
  margin: auto;
}
table th {
  border: 5px solid #b0dafd;
  width: 140px;
}
table td {
  border: 5px solid #b0dafd;
  padding-left: 10px;
}
aside {
  background-color: #f5fafd;
  padding-bottom: 80px;
}
aside h3 {
  font-size: 24px;
  margin-bottom: 40px;
}
aside th,
aside td,
aside h4 {
  font-size: 14px;
}
aside section {
  padding-top: 40px;
}
aside .box-l p {
  margin-bottom: 80px;
}
aside .box {
  margin-bottom: 80px;
  gap: 100px;
  margin-left: 20px;
}
aside .box-l {
  width: 420px;
}
aside h4 {
  margin-bottom: 20px;
  text-align: center;
}
aside table {
  margin-bottom: 40px;
}
aside tr {
  height: 80px;
}
section.bottom figure {
  max-width: 330px;
  height: auto;
}
 li.item a:hover{
  color: #1374af;
 }
 @media(max-width:1080px){
      .award {
        margin: 0;
      }
      .top p.box-top{
        height: auto;
      }
    article,aside section{
      margin: 0 5%;
    }
      section.bottom{
        margin: 0 5%;
      }
 }
 .top h2 {
margin-top:0px;
}
@media (max-width: 820px) {
  img {
    max-width: 100%;
    height: auto;
  }

  nav.nav-card-list{
    display: none;
  }
  .top p.box-top {
    height: auto;
  }
  .top .box {
    margin: 0 10% 10% 10%;
  }
  article {
    display: flex;
  }
  article nav.side {
    position: fixed;
    left: 0;
    margin-top: -75px;
  }
  .nav {
    display: none;
  }
  
  li.item {
    height: 120px;
    width: 50px;
     font-size: 20px;
    letter-spacing: -2.2px;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 20px;
    margin-bottom: 5px;
  }
  li.item a{
    color: #333;
    text-decoration: none;
     writing-mode: vertical-rl;
    text-orientation: upright;
  }
  .side span {
    font-size: 18px;
  }
  li.sakimori {
    background-color: #77e5d6;
  }
  li.nyaman {
    background-color: #81d8db;
  }
  li.web {
    background-color: #87cfdd;
  }
  li.tenzi {
    background-color: #8ec5df;
  }
  li.gyoumu {
    background-color: #98b7e3;
  }
  .top figure {
    height: auto;
    margin: auto;
    display: block;
  }
  article nav {
    display: block;
  }
  article .side ul {
    display: block;
  }
  article .box figure {
    margin: auto;
    margin-bottom: 40px;
  }
  .top .box-l {
    margin: 0;
    width: 100%;
  }
  article .box h2 {
    text-align: center;
    margin-bottom: 40px;
  }
  article .box .box-r {
    margin: 10%;
    width: 80%;
  }
  .award{
    margin: 10px;
  }
  .top .box {
    border:none;
    box-shadow: none;
  }
  p.skip {
    margin-bottom: 20px;
  }
  p.skip {
    margin-bottom: 40px;
  }
  .award {
    display: block;
  }
  .side {
    z-index: 999;
  }
  .triangle {
    border-top: 15vh solid #f8fafa;
  }
  nav.nav {
    display: none;
  }
  aside .box-l {
    width: 80%;
    margin: auto;
  }
  aside section.bottom{
    margin: 0 5%;
    margin-left: 50px;
  }
  .box-r {
    margin: auto;
  }
  section.bottom figure {
    margin: auto;
  }
}

@media (max-width: 768px) {
  article {
    margin: 0 5%;
  }
  aside .sp {
    display: block;
    flex-direction: row-reverse;
    align-items: center;
  }
  aside h3 {
    text-align: center;
  }
  aside .sp {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
  }
  .bottom .sp figure {
    width: 40%;
  }
  .bottom .sp p {
    width: 60%;
  }
  aside .box-l p {
    margin: 0;
  }
  aside .box {
    margin: 0 60px;
  }
  aside h4 {
    text-align: center;
  }
  aside img {
    display: block;
    margin: 0;
  }
  table {
    margin: auto;
    width: 100%;
  }
}

@media (max-width: 500px) {
  article nav.side {
    z-index: 999;
  }
  li.item {
    height: 80px;
  }
  .top figure {
    width: 90%;
  }
  .box-r .award::before {
    margin: auto;
    width: 12%;
  }
  .award {
    margin: 0;
    letter-spacing: -0.1em;
    text-align: center;
  }
  .top .box {
    margin: 0 5% 5% 5%;
    padding-bottom: 80px;
  }
  article .box .box-r {
    margin: 5%;
  }
  .top p.box-top {
    height: auto;
  }
  p.skip-n {
    margin-top: 0;
  }
  .triangle {
    width: 0;
    height: 0;
    border-left: 50vw solid transparent;
    border-right: 50vw solid transparent;
    border-top: 10vh solid #f8fafa;
    filter: drop-shadow(0px 10px 5px rgba(0, 0, 0, 0.3));
  }
 aside section.bottom{
        margin-left: 40px;
  }
  aside .box-l {
    width: auto;
  }
  aside .box {
    margin: 0 5%;
  }
  aside .sp {
    gap: 10px;
  }
  aside figure {
    width: 200%;
  }
  table th {width: 40%;
  }
  table td{
    width:50% ;
  }
  nav ul li a {
    font-size: 15px;
    letter-spacing: -0.02;
  }
  .side span {
    font-size: 10px;
  }
  li.item {
    width: 40px;
  }
  .main {
    margin-left: 40px;
  }
}
@media(max-width:380px){
  .top a{
    padding: 5%;
  }
aside section {
  padding: 0;
}
}

