@charset "utf-8";

/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

:root {
  --blue: #2d8de0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: #fefefe;
  /* color: #888; */
  color: #333;
  font-family: serif, 'Yu Gothic UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

a {
  text-decoration: inherit;
  color: inherit;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::placeholder {
  color: #aaa;
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }
}

@media (min-width: 768px) {
  .sp {
    display: none;
  }
}

/* --------------------------------------------------
 * Icons
 */

.right-arrow-icon {
  display: block;
  width: 16px;
  height: 16px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="%232d8de0" stroke-width="2" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" d="M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3"></path></svg>');
}


/* --------------------------------------------------
 * Common layout
 */

main {
  min-height: calc(100dvh - 99px);
  /* padding-top: 60px; */
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 16px;
  /* background-color: #fff; */
  z-index: 10;

  h1 {
    font-size: 20px;
    font-weight: bold;
  }

  @media (min-width: 768px) {
    nav {
      font-size: 12px;
      font-weight: bold;

      ul {
        display: flex;
        column-gap: 32px;
        align-items: center;

        li:not(.contact) {
          a {
            display: inline-block;
            position: relative;
            padding: 8px;

            &::before {
              content: "";
              display: block;
              position: absolute;
              left: 0;
              right: 100%;
              bottom: 0;
              height: 2px;
              background-color: rgb(45 141 224);
              transition: right 100ms;
            }

            &:hover::before {
              right: 0;
            }
          }
        }

        .contact {
          a {
            display: block;
            padding: 8px 12px;
            border-radius: 6px;
            color: #fff;
            line-height: 16px;
            background-color: rgba(45 141 224);
            opacity: 1;
            transition: opacity 300ms;

            &:hover {
              opacity: .8;
            }
          }
        }
      }
    }
  }

  @media (max-width: 767px) {
    nav {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      text-align: center;
      background-color: #fff;
      /* background-color: #f8f8f8; */
      z-index: 11;
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      

      &.opened {
        display: block;
      }

      ul {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding: 120px 0 0;
        
        
        
        
        
        
        
        
        
        
        
        

        li {
          font-size: 18px;
          font-weight: bold;
        }

        .contact {
          a {
            display: inline-block;
            padding: 12px 20px;
            border-radius: 6px;
            color: #fff;
            line-height: 16px;
            background-color: rgba(45 141 224);
          }
        }
      }
    }
  }

  .nav-toggle-button {
    display: none;
    width: 32px;
    height: 32px;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="M3.75 9h16.5m-16.5 6.75h16.5"></path></svg>');
    z-index: 11;
    
    

    @media (max-width: 767px) {
      display: block;
      border: none;
      appearance: none;
    }
  }
}

.page-footer {
  padding: 16px 24px;
  background-color:#f9f9f9;

  .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    @media (max-width: 767px) {
      display: none;
    }
  }

  .logo {
    font-size: 22px;
    font-weight: bold;
  }

  .nav {
    display: flex;
    font-weight: bold;
    font-size: 12px;
    gap: 16px;

    .item {
      padding: 8px;
    }
  }

  .copy {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
  }
}

.common-contact {
  display: flex;
  flex-direction: column;
  gap: 32px;
  place-items: center;
  padding: 80px 16px;
  text-align: center;
  color: #fff;
  background: url('/assets/images/cta.webp') no-repeat center / cover;
  background-color: rgba(36, 36, 36, .8);
  background-blend-mode: multiply;

  h2 {
    font-size: 30px;
    font-weight: bold;
  }

  p {
    font-size: 18px;
    font-weight: bold;
  }

  a {
    display: flex;;
    place-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 16px 40px;
    border-radius: 8px;
    color: #000;
    font-weight: bold;
    background-color: #fff;

    i {
      flex-shrink: 0;
    }
  }
}

.common-lower-section {
  max-width: 1024px;
  margin: 0 auto;
  padding: 32px 16px;

  > :first-child {
    margin: 60px auto;
    font-size: 40px;
    font-weight: bold;
  }
}



/* --------------------------------------------------
 * Company
 */

#company {
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 32px;

    tr {
      th {
        width: 150px;
        padding: 10px 20px;
        border-bottom: 5px solid #fff;
        text-align: left;
        vertical-align: top;
        color: #000;
        font-weight: normal;
        background-color: #eee;
      }

      td {
        padding: 10px 20px;
        border-bottom: 5px solid #fff;
      }
    }
  }
}


/* --------------------------------------------------
 * News List
 */

#news-list {
  .common-lower-section {
    ul {
      display: flex;
      flex-direction: column;
      gap: 32px;

      li {
        padding-bottom: 16px;
        border-bottom: 2px solid rgb(243 244 246);

        a {
          display: flex;
          gap: 30px;

          .image {
            width: 200px;
            height: 120px;
            border-radius: 6px;
            overflow: hidden;
            background: url(/assets/images/no-image.svg) no-repeat center / cover;

            img {
              width: 100%;
              height: 100%;
              object-fit: cover;
              object-position: center;
            }
          }

          .texts {
            width: calc(100% - 200px);

            > div {
              display: flex;
              gap: 16px;
              align-items: center;
              margin-top: 16px;

              i {
                flex-shrink: 0;
                stroke: var(--blue);
                stroke-width: 2;
                margin-left: auto;
                width: 16px;
                height: 16px;
              }
            }
          }
        }
      }
    }
  }
}

/* --------------------------------------------------
 * Contact
 */

#contact {
  .common-lower-section {
    max-width: 768px;
  }

  .form {
    display: flex;
    flex-direction: column;
    gap: 48px;
    transition: opacity 300ms;

    .fields {
      display: flex;
      flex-direction: column;
      gap: 24px;

      label {
        display: block;

        span {
        }

        [type="text"], [type="email"], textarea {
          display: block;
          width: 100%;
          height: 40px;
          margin-top: 8px;
          padding: 8px;
          border-radius: 6px;
          border: 1px solid #ddd;
        }

        textarea {
          height: 240px;
        }
      }
    }

    .error {
      display: none;
      margin-top: 8px;
      color: rgb(237 45 45);
      font-size: 14px;

      &.view {
        display: block;
      }
    }

    .button {
      text-align: center;

      button {
        width: 200px;
        height: 40px;
        border-radius: 6px;
        border: none;
        color: #fff;
        cursor: pointer;
        background-color: var(--blue);

        &:disabled {
          cursor: default;
          background-color: #ccc;
        }
      }
    }
  }

  .complete {
    display: none;
    opacity: 0;
    transition: opacity 300ms;
  }
}