@charset "utf-8";

/* settings */
:root {
  --color-primary: #396C76;
  --color-primary-opcity: #E7F7FB;
  --color-accent: #FF6F07;
  --gray-scale-2: #e4e4e4;
  --gray-scale-3: #D7D7D7;
  --gray-scale-10: #5c5c5c;
  --gray-scale-11: #484848;
  --gray-scale-12: #353535;
  --gray-scale-13: #1d1d1d;
  --color-red: #EB3F34;
}

@font-face {
  font-family: 'Noto Sans JP';
  font-display: swap;
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/NotoSansJP-Light.woff')  format('woff2');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/NotoSansJP-Regular.woff')  format('woff2');
}

@font-face {
  font-family: 'Noto Sans JP';
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/NotoSansJP-Bold.woff')  format('woff2');
}

@font-face {
  font-family: Roboto;
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/Roboto-Regular.woff')  format('woff2');
}

@font-face {
  font-family: Roboto;
  font-display: swap;
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/Roboto-Bold.woff')  format('woff2');
}

/* Base */
.main {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--gray-scale-10);
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;

  & * {
    box-sizing: border-box;
  }

  & h2,
  & h3 {
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    min-height: inherit;
    background: none;
  }
}

img {
  max-width: 100%;
}

/* Layout */
.l-inner {
  max-width: 1100px;
  margin: 0 auto;

  @media screen and (width <= 768px) {
    margin: 0 1.5rem;
  }

  &.wd2 {
    max-width: 960px;
  }
}


[aria-hidden="true"] {
  display: none;
}

/* Components */

.c-headline {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--gray-scale-12);

  &.center {
    text-align: center;
  }

  &.primary {
    color: var(--color-primary);
  }

  &.fs2 {
    font-size: 1.75rem;
  }

  &.fs3 {
    font-size: 1.5rem;
  }

  @media screen and (width <= 768px) {
    font-size: 1.25rem;

    &.fs2 {
      font-size: 1.25rem;
    }

    &.fs3 {
      font-size: 1.25rem;
    }
  }
}


.c-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 1.1563rem 3.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  border-radius: 0.25rem;
  text-align: center;

  &.primary {
    background: var(--color-accent);
    color: #fff;
  }

  &.secondary {
    padding: 1.0938rem 3.25rem;
    border: solid 1px var(--color-primary);
    color: var(--color-primary);

    &.gray-scale {
      border-color: #fff;
      color: #fff;
    }
  }

  &.small {
    gap: .25rem;
    font-size: 0.875rem;
    font-weight: 400;
    padding: .19rem 2.63rem .31rem;
    border-radius: 1rem;
    color: #ccc;
    border: solid 1px #ccc;
    border-color: #ccc;

    &::after {
      content: "";
      display: block;
      width: .875rem;
      height: .875rem;
      background: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.39136 8.15107L5.69473 11.9036C5.50418 12.0768 5.21835 12.0768 5.04686 11.9036L4.6086 11.461C4.43711 11.2878 4.43711 10.9992 4.6086 10.8067L7.54304 7.82392L4.6086 4.86035C4.43711 4.66791 4.43711 4.37925 4.6086 4.20605L5.04686 3.76344C5.21835 3.59025 5.50418 3.59025 5.69473 3.76344L9.39136 7.51602C9.56285 7.68921 9.56285 7.97787 9.39136 8.15107Z" fill="%23ccc"/></svg>') no-repeat center center;
      background-size: 100% 100%;
    }

    &.gray-scale {
      border-color: #fff;
      color: #fff;

      &::after {
        background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.39136 8.15107L5.69473 11.9036C5.50418 12.0768 5.21835 12.0768 5.04686 11.9036L4.6086 11.461C4.43711 11.2878 4.43711 10.9992 4.6086 10.8067L7.54304 7.82392L4.6086 4.86035C4.43711 4.66791 4.43711 4.37925 4.6086 4.20605L5.04686 3.76344C5.21835 3.59025 5.50418 3.59025 5.69473 3.76344L9.39136 7.51602C9.56285 7.68921 9.56285 7.97787 9.39136 8.15107Z" fill="white"/></svg>');
      }
    }
  }

  @media screen and (width >= 769px) {
    transition: 0.3s;

    &.primary {
      &:hover {
        background: #E56000;
      }
    }

    &.secondary {
      &:hover {
        background: var(--color-primary-opcity);
      }

      &.gray-scale {
        &:hover {
          background: #fff;
          color: var(--color-primary);
        }
      }
    }

    &.small {
      &:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);

        &::after {
          background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.39136 8.15107L5.69473 11.9036C5.50418 12.0768 5.21835 12.0768 5.04686 11.9036L4.6086 11.461C4.43711 11.2878 4.43711 10.9992 4.6086 10.8067L7.54304 7.82392L4.6086 4.86035C4.43711 4.66791 4.43711 4.37925 4.6086 4.20605L5.04686 3.76344C5.21835 3.59025 5.50418 3.59025 5.69473 3.76344L9.39136 7.51602C9.56285 7.68921 9.56285 7.97787 9.39136 8.15107Z" fill="%23396C76"/></svg>');
        }
      }

      &.gray-scale {
        &:hover {
          border-color: #fff;
          background: #fff;
          color: var(--color-primary);

          &::after {
            background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.39136 8.15107L5.69473 11.9036C5.50418 12.0768 5.21835 12.0768 5.04686 11.9036L4.6086 11.461C4.43711 11.2878 4.43711 10.9992 4.6086 10.8067L7.54304 7.82392L4.6086 4.86035C4.43711 4.66791 4.43711 4.37925 4.6086 4.20605L5.04686 3.76344C5.21835 3.59025 5.50418 3.59025 5.69473 3.76344L9.39136 7.51602C9.56285 7.68921 9.56285 7.97787 9.39136 8.15107Z" fill="%23396C76"/></svg>');
          }
        }
      }
    }
  }

  @media screen and (width <= 768px) {
    padding: 1.1563rem 3.125rem;

    &.secondary {
      padding: 1.0938rem 3.125rem;
    }
  }

}

.c-note {
  display: flex;
  gap: .25rem;
  font-size: 0.8rem;
  color: var(--gray-scale-10);

  &::before {
    content: "※";
  }

  @media screen and (width <= 768px) {
    font-size: 0.9375rem;
  }
}

.c-note-list {
  display: flex;
  flex-direction: column;
  gap: 4px;

  & li {
    display: flex;
    gap: 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--gray-scale-10);

    &::before {
      content: "※";
    }
  }
}

.c-lead {
  font-size: 1.125rem;
  line-height: 2.2;
  text-align: center;

  @media screen and (width <= 768px) {
    font-size: 1rem;
    line-height: 200%;
    text-align: left;
  }
}

.c-box {
  padding: 3.25rem 3.75rem 4.25rem;
  background: #fff;
  border-radius: 8px;

  @media screen and (width <= 768px) {
    padding: 1.75rem 2rem 2.5rem;
  }
}

.c-table-wrap {
  @media screen and (width <= 768px) {
    padding: 0 0 2rem;
    overflow-x: scroll;

    &::-webkit-scrollbar {
      height: 12px;
      border-radius: 10px;
      background-color: var(--gray-scale-2);
    }

    &::-webkit-scrollbar-thumb {
      background: var(--color-primary);
      height: 12px;
      border-radius: 10px;
    }
  }
}

.c-table {
  width: 100%;

  & th,
  & td {
    padding: .9375rem 1.75rem;
    line-height: 1.8;
    border: solid 1px #E4E4E4;
    background: #fff;
    text-align: left;

  }

  & thead {
    & th {
      background: var(--color-primary);
      color: #fff;
    }
  }

  & tbody {
    & th {
      color: var(--gray-scale-12);
    }

    & td {
      color: var(--gray-scale-11);
    }
  }

  & .table-note {
    font-size: .875rem;
    margin: .3125rem 0 0;
  }

  @media screen and (width <= 768px) {
    width: 908px;
  }
}

/* Module */
.m-page-hero {
  padding: 3.34rem min(2.7778%, 2.5rem) 4.09rem;
  position: relative;

  & .hero-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;

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

  & .hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    color: #fff;
    position: relative;
  }

  & .hero-headline {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.6;
    margin: 0;
  }

  & .hero-lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 170%;
  }

  @media screen and (width <= 768px) {
    padding: 1.19rem 0;

    & .hero-inner {
      margin: 0;
    }

    & .hero-content {
      gap: .5rem;
      padding: 0 1.25rem 0.75rem;
    }

    & .hero-headline {
      font-size: 1.625rem;
    }

    & .hero-lead {
      font-size: 0.9375rem;

      /* max-width: 17.8125rem; */
    }
  }
}

.m-section-head {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;

  @media screen and (width <= 768px) {
    gap: 1.25rem
  }
}

.m-item-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-size: 1rem;
  color: var(--gray-scale-12);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 1rem 0 rgb(193 200 222 / 30%);

  & .text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
    padding: 1.25rem;
  }

  & .title {
    width: 100%;
    line-height: 2;
  }

  & span {
    margin-top: auto;
  }

  @media screen and (width >= 769px) {
    &:hover {
      color: var(--color-primary);

      & span {
        border-color: var(--color-primary);
        color: var(--color-primary);

        &::after {
          background-image: url('data:image/svg+xml;charset=UTF-8,<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9.39136 8.15107L5.69473 11.9036C5.50418 12.0768 5.21835 12.0768 5.04686 11.9036L4.6086 11.461C4.43711 11.2878 4.43711 10.9992 4.6086 10.8067L7.54304 7.82392L4.6086 4.86035C4.43711 4.66791 4.43711 4.37925 4.6086 4.20605L5.04686 3.76344C5.21835 3.59025 5.50418 3.59025 5.69473 3.76344L9.39136 7.51602C9.56285 7.68921 9.56285 7.97787 9.39136 8.15107Z" fill="%23396C76"/></svg>');
        }
      }
    }
  }
}

/* Utility */
.u-show-sp {
  @media screen and (width >= 769px) {
    display: none;
  }
}

/* Site */
.s-header {
  font-family: "Noto Sans JP", sans-serif;
  background: var(--gray-scale-13);
  padding: .625rem 0;

  & * {
    box-sizing: border-box;
  }

  & .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  & .logo {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
  }

  @media screen and (width <= 768px) {
    padding: 0;
    position: relative;
    z-index: 199;

    & .row {
      display: block;
      margin: 0;
    }

    & .panel {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: .5rem .5rem .5rem 1rem;
      position: relative;
      z-index: 199;
      background: var(--gray-scale-13);
    }

    & .logo {
      font-size: 1.125rem;
    }

    .menu-button {
      background: none;
      border: none;
      line-height: 0;
      transition: transform .3s;

      &[aria-expanded="true"] {
        transform: rotate(-180deg);
      }
    }
  }
}

.s-nav {
  @media screen and (width <= 768px) {
    padding: 1rem 0;
    width: 100%;
    position: absolute;
    z-index: 198;
    background: var(--gray-scale-13);
    transform: translateY(-100%);

    &[aria-hidden="true"] {
      display: block;
      opacity: 0;
      visibility: hidden;
      transition: transform .3s 0s, opacity 0s .3s, visibility 0s .3s;
    }

    &[aria-hidden="false"] {
      transform: none;
      opacity: 1;
      visibility: visible;
      transition: transform .3s 0s;
    }
  }

  & .nav-list {
    display: flex;

    & li {
      & a {
        display: block;
        padding: .4375rem 1.25rem;
        font-size: 1rem;
        line-height: 1.4;
        color: #fff;
        border-radius: 2px;
        transition: background-color ease 0.2s;

        &:hover {
          background-color: var(--gray-scale-12);
        }
      }
    }

    @media screen and (width <= 768px) {
      flex-direction: column;
    }
  }
}