@charset "utf-8";

/*=========================
  Common
=========================*/
/* font define */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

.en {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.1em;
}

/* color */
:root {
  --skyblue: #6dcdff;
  --blue1: #004cb7;
  --blue2: #0a96de;
}
.skyblue {
  color: var(--skyblue);
}
.blue1 {
  color: var(--blue1);
}
.blue2 {
  color: var(--blue2);
}

/* variables */
:root {
  --section-padding: 5rem 0;
}
@media (max-width: 960px) {
  :root {
    --section-padding: 3rem 0;
  }
}

html {
  scroll-behavior: smooth;
  /* scroll-padding-top: 100px;  */
}
/* @media screen and (max-width: 960px) {
  html {
    scroll-padding-top: 0px;
  }
} */
body {
  font-family: 'Zen Kaku Gothic Antique', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #333333;
  max-width: 1920px;
  margin-inline: auto;
  position: relative;
  @media (max-width: 960px) {
    font-size: 1rem;
  }
}
a {
  text-decoration: none;
  transition: opacity 0.3s;
  color: inherit;
  &:hover {
    @media (any-hover: hover) {
      opacity: 0.6;
    }
  }
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
p {
  /* line-height: 2; */
  text-align: justify;
  @media (max-width: 960px) {
    /* font-size: 1rem; */
  }
}
h1,
h2,
h3,
h4,
h5,
h6 {
  /* line-height: 1; */
  font-size: inherit;
  font-weight: inherit;
}

.pc-only {
  display: initial;
}
.sp-only {
  display: none;
}
@media (max-width: 960px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: initial;
  }
}

.container {
  width: calc(100% - 2rem);
  max-width: 1200px;
  margin-inline: auto;
}

/* button */
.button {
  --bg-color: var(--skyblue);
  --color: #fff;
  --r: 0px;
  background-color: var(--bg-color);
  color: var(--color);
  border-radius: var(--r);
  padding: 0.5rem 1rem;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.1em;
  position: relative;
  width: min(80%, 240px);
  .icon {
    margin-right: 0.5rem;
  }
  &::after {
    content: '';
    display: block;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0%;
    translate: 0% -50%;
    width: 30px;
    height: 2px;
  }
  @media (any-hover: hover) {
    &::before {
      border-radius: var(--r);
      content: '';
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-color: #fff;
      opacity: 0;
      transition: opacity 0.3s;
      pointer-events: none;
    }
    &:hover {
      opacity: 1;
    }
    &:hover::before {
      opacity: 0.25;
    }
  }
}

/*=========================
  header
=========================*/
header {
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  .logo-wrapper {
    text-align: right;
    line-height: 1.25;
    .jp {
      font-size: 2.5rem;
    }
    .en {
      font-size: 1.25rem;
    }
  }
  .nav-wrapper {
  }
  .pc-nav {
    .nav-items {
      display: flex;
      gap: 1rem;
      text-align: center;
    }
  }
  .sp-hamburger {
    margin-left: auto;
    display: none;
    color: var(--blue1);
    position: relative;
    z-index: 1001;
    cursor: pointer;
    width: 40px;
    height: fit-content;
    aspect-ratio: 1/1;
    .lines {
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 10%;
      width: 32px;
      margin-inline: auto;
      height: fit-content;
      aspect-ratio: 1/1;
    }
    .line {
      height: 2px;
      width: 60%;
      background-color: var(--blue1);
      transition: 0.3s;
    }
    .label {
      pointer-events: none;
      position: absolute;
      bottom: -0px;
      width: 100%;
      text-align: center;
      color: var(--blue1);
      font-size: 9px;
      font-weight: 700;
    }
  }
  .sp-hamburger.active {
    .line {
      background-color: #ffffff;
    }
    .line:nth-child(1) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 60%;
      rotate: -45deg;
    }
    .line:nth-child(2) {
      opacity: 0;
    }
    .line:nth-child(3) {
      position: absolute;
      top: 50%;
      bottom: 50%;
      width: 60%;
      rotate: 45deg;
    }
    .label {
      color: #fff;
    }
  }
  .sp-nav {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: -120%;
    width: 100vw;
    height: 100dvh;
    background-color: var(--blue2);
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    .nav-items {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      .nav-items__item a {
        text-align: center;
        text-wrap: balance;
        font-size: 1.2rem;
        line-height: 1.2;
        .jp {
          font-size: 0.8em;
        }
      }
    }
  }
  .sp-nav.active {
    right: 0;
  }
  .overlay {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background-color: #000;
    opacity: 0.75;
  }
  .overlay.active {
    display: block;
  }
}
body.no-scroll {
  overflow: hidden;
  height: 100%;
}
@media (max-width: 960px) {
  header {
    .logo-wrapper {
      text-align: left;
      .jp {
        font-size: 1.35rem;
      }
      .en {
        font-size: 12px;
      }
    }
    .pc-nav {
      display: none;
    }
    .sp-hamburger {
      display: flex;
    }
  }
}

/*=========================
  mv
=========================*/
section.mv {
  position: relative;
  .mv-img {
    width: 100%;
    @media (max-width: 960px) {
      min-height: 500px;
      object-fit: cover;
    }
  }
  .copy {
    position: absolute;
    top: 50%;
    left: 10%;
    translate: -0% -50%;
    color: #fff;
    text-shadow: 0px 2px 4px rgb(0 0 0 / 0.5);
    @media (max-width: 960px) {
      width: fit-content;
      margin-inline: auto;
      top: 65%;
      left: 0;
      right: 0;
    }
    .en {
      font-size: 3rem;
      @media (max-width: 960px) {
        font-size: 2.5rem;
        /* text-align: center; */
      }
    }
    .jp {
      font-size: 1.5rem;
      font-weight: 900;
      @media (max-width: 960px) {
        font-size: 1rem;
      }
    }
  }
}

/*=========================
  news
=========================*/
section.news {
  padding: var(--section-padding);
  .news-container {
    width: 90%;
    max-width: 1400px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 10%;
    @media (max-width: 960px) {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }
  .section-title {
    text-align: center;
    line-height: 1;
    .en {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
    }
    .jp {
      font-size: 1.25rem;
    }
  }
  .list-wrapper {
    .news-items {
      max-height: 400px;
      overflow-y: auto;
      .news-item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 2rem;
        border-bottom: 2px dotted #333333;
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        @media (max-width: 960px) {
          grid-template-columns: 1fr;
          gap: 0.5rem;
        }
        .date {
          color: var(--blue1);
          border: 1px solid var(--blue1);
          padding: 0.5rem;
          line-height: 1;
          @media (max-width: 960px) {
            width: fit-content;
          }
        }
      }
    }
  }
}

/*=========================
  about
=========================*/
section.about {
  padding: var(--section-padding);
  .about-container {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 5%;
    gap: 2rem;
    width: calc(100% - 2rem);
    max-width: 1600px;
    margin-inline: auto;
    @media (max-width: 960px) {
      flex-direction: column;
    }
    .img-wrapper {
      width: 55%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .img {
        width: 100%;
      }
    }
    .texts-wrapper {
      width: 45%;
      @media (max-width: 960px) {
        width: 100%;
      }
      .section-title {
        text-align: center;
        line-height: 1;
        margin-bottom: 3rem;
        @media (max-width: 960px) {
          margin-bottom: 2rem;
        }
        .en {
          font-size: 2.5rem;
          margin-bottom: 0.5rem;
        }
        .jp {
          font-size: 1.25rem;
        }
      }
      .text {
        margin-bottom: 3rem;
        @media (max-width: 960px) {
          margin-bottom: 2rem;
        }
      }
    }
  }
}

/*=========================
  business
=========================*/
section.business {
  padding: var(--section-padding);
  .business-container {
    width: calc(100% - 5%);
    margin-inline: auto;
    @media (max-width: 960px) {
      width: calc(100% - 10%);
    }
  }
  .section-title {
    text-align: center;
    line-height: 1;
    margin-bottom: 3rem;
    .en {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
    }
    .jp {
      font-size: 1.25rem;
    }
  }
  .flex {
    display: flex;
    justify-content: space-between;
    column-gap: 4%;
    @media (max-width: 960px) {
      flex-direction: column;
      gap: 2rem;
    }
    .flex-item {
      position: relative;
      width: calc(100% / 3);
      @media (max-width: 960px) {
        width: 100%;
        max-width: 400px;
        margin-inline: auto;
      }
      .img {
        width: 100%;
      }
      .link {
        position: relative;
        z-index: 1;
        top: 0%;
        left: -5%;
        translate: 0% -50%;
        display: block;
        background-color: var(--skyblue);
        color: #fff;
        display: flex;
        justify-content: space-between;
        align-items: center;
        column-gap: 1rem;
        padding: 1rem 0;
        @media (max-width: 960px) {
          position: static;
          translate: 0% 0%;
        }
        .line {
          width: 50px;
          height: 1px;
          background-color: #fff;
        }
        .text {
          font-size: 1.25rem;
          font-weight: bold;
          @media (max-width: 960px) {
            font-size: 1rem;
          }
        }
        .icon {
          aspect-ratio: 1/1;
          width: 30px;
          border-radius: 100vmax;
          border: 1px solid #fff;
          display: flex;
          justify-content: center;
          align-items: center;
          margin-right: 1rem;
          .arrow {
            background-color: #fff;
            clip-path: polygon(0 0, 0% 100%, 100% 50%);
            width: 8px;
            height: 10px;
            margin-left: 2px;
          }
        }
      }
    }
    .flex-item:nth-child(2) {
      margin-top: 3rem;
      .link {
        background-color: var(--blue2);
      }
      @media (max-width: 960px) {
        margin-top: 0;
      }
    }
    .flex-item:nth-child(3) {
      margin-top: 6rem;
      .link {
        background-color: var(--blue1);
      }
      @media (max-width: 960px) {
        margin-top: 0;
      }
    }
  }
}

/*=========================
  recruit
=========================*/
section.recruit {
  /* padding: var(--section-padding); */
  margin: 5rem 0;
  position: relative;
  .recruit-container {
    min-height: 400px;
    max-height: 650px;
    position: absolute;
    z-index: 1;
    bottom: 0;
    left: 0%;
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(255 255 255 / 0.75);
    border: 1px solid var(--blue1);
    padding: 6vw 2rem;
    @media (max-width: 960px) {
      position: static;
      width: calc(100% - 2rem);
      margin-inline: auto;
    }
    .texts-wrapper {
      width: 100%;
      max-width: 600px;
      margin-inline: auto;
      .section-title {
        text-align: center;
        line-height: 1;
        margin-bottom: 3rem;
        .en {
          font-size: 2.5rem;
          margin-bottom: 0.5rem;
        }
        .jp {
          font-size: 1.25rem;
        }
      }
      .text {
        margin-bottom: 3rem;
      }
    }
  }
  .img-wrapper {
    margin-left: auto;
    width: 65%;
    .img {
      width: 100%;
      height: 100%;
      min-height: 500px;
      object-fit: cover;
    }
    @media (max-width: 960px) {
      width: calc(100% - 2rem);
      margin-inline: auto;
      .img {
        width: 100%;
        height: auto;
        min-height: initial;
        object-fit: cover;
      }
    }
  }
}

/*=========================
  area
=========================*/
section.area {
  padding: var(--section-padding);
  .area-container {
    width: calc(100% - 2rem);
    max-width: 1500px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    position: relative;
    @media (max-width: 960px) {
      flex-direction: column;
    }
  }
  .texts-wrapper {
    position: absolute;
    z-index: 2;
    top: 10%;
    left: 5%;
    @media (max-width: 960px) {
      position: static;
    }
    .inner {
      max-width: 700px;
      margin-inline: auto;
    }
    .section-title {
      line-height: 1;
      margin-bottom: 3rem;
      @media (max-width: 960px) {
        margin-bottom: 2rem;
      }
      .en {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
      }
      .jp {
        font-size: 1.25rem;
      }
    }
  }
  .img-wrapper {
    position: relative;
    z-index: 1;
    width: 60%;
    margin-left: auto;
    @media (max-width: 960px) {
      width: 100%;
      max-width: 500px;
      margin-inline: auto;
    }
  }
}

/*=========================
  footer
=========================*/
footer {
  background-color: #fff;
  .flex {
    display: flex;
    @media (max-width: 960px) {
      flex-direction: column-reverse;
    }
    .map-wrapper {
      width: 50%;
      iframe {
        width: 100%;
        height: 100%;
      }
      @media (max-width: 960px) {
        width: 100%;
        height: 300px;
      }
    }
    .contact-wrapper {
      width: 50%;
      padding: 4rem 0;
      @media (max-width: 960px) {
        width: 100%;
      }
      .inner {
        width: calc(100% - 2rem);
        margin-inline: auto;
      }
      .section-title {
        text-align: center;
        line-height: 1;
        margin-bottom: 3rem;
        .en {
          font-size: 2.5rem;
          margin-bottom: 0.5rem;
        }
        .jp {
          font-size: 1.25rem;
        }
      }
      .copy {
        text-align: center;
        margin-bottom: 3rem;
        @media (max-width: 960px) {
        text-align: left;
        }
      }
      .tel-wrapper {
        margin-bottom: 2rem;
        .tel {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 1rem;
          font-size: 2.5rem;
        }
        .hours {
          text-align: center;
          text-wrap: balance;
        }
      }
      .logo-wrapper {
        text-align: center;
        line-height: 1.25;
        margin-bottom: 2rem;
        .jp {
          font-size: 2.5rem;
        }
        .en {
          font-size: 1.25rem;
        }
      }
      .adress-wrapper {
        text-align: center;
        margin-bottom: 3rem;
      }
      .footer-nav {
        .nav-items {
          display: flex;
          justify-content: center;
          align-items: center;
          flex-wrap: wrap;
          gap: 1rem;
          .nav-items__item {
            display: flex;
            justify-content: center;
            align-items: center;
            &::before {
              content: '';
              display: block;
              width: 20px;
              height: 4px;
              background-color: var(--skyblue);
              margin-right: 4px;
            }
          }
        }
      }
    }
  }
}

.copyright {
  background-color: var(--skyblue);
  color: #fff;
  padding: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}

/* scroll top button */
.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  z-index: 99;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  a {
    --radius: 100vmax;
    .block {
      box-shadow: 0px 2px 4px rgb(0 0 0 / 0.25);
      border-radius: var(--radius);
      width: 50px;
      aspect-ratio: 1/1;
      background: var(--skyblue);
      display: flex;
      justify-content: center;
      align-items: center;
      @media (max-width: 960px) {
        width: 40px;
      }
      .triangle {
        display: block;
        width: 50%;
        height: 50%;
        clip-path: polygon(100% 60%, 100% 75%, 50% 45%, 0 75%, 0 60%, 50% 25%);
        background: #ffffff;
      }
    }
  }
  a::before {
    border-radius: var(--radius);
    content: '';
    position: absolute;
    inset: 0;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
  }
  a:hover {
    opacity: 1;
  }
  a:hover::before {
    opacity: 0.25;
  }
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
@media screen and (max-width: 768px) {
  .scroll-top {
    bottom: 5%;
    right: 5%;
    a::before {
      display: none;
    }
  }
}

/*==================================================
お知らせ（個別・一覧）
===================================*/
#single .container {
  margin-bottom: 150px;
  padding: 0 15px;
}

#single .ss-ttl h3 {
  text-align: center;
  font-size: 28px;
}

#single .ss-ttl,
#single .single-box {
  max-width: 1000px;
  margin: auto;
  padding: 15px;
}

.single-box .single-date {
  max-width: 900px;
  margin: auto;
  padding-bottom: 15px;
  font-size: 20px;
}

.single-box .single-body {
  max-width: 900px;
  margin: auto;
  font-size: 18px;
}

.single-nav {
  margin-top: 40px;
}

.nav-links {
  display: flex;
  justify-content: space-around;
}

.single-nav .nav-prev a,
.single-nav .nav-next a,
#single .back-to-archive a {
  font-size: 18px;
  color: inherit;
}

#single .back-to-archive {
  padding: 10px 15px;
  text-align: center;
}

#archive .container {
  margin: 0 auto;
  padding: 15px;
  max-width: 1000px;
}

.archive-box {
  margin: 50px auto;
  padding-top: 50px;
  border-bottom: 1px solid #333;
}

.container article:first-of-type .archive-box {
    border-top: 1px solid #333;
}

.read-more {
  margin-top: 15px;
  margin-bottom: 50px;
}

.read-more a {
  font-size: 18px;
  color: #0073aa;
  text-decoration: underline;
  line-height: 1.4;
}

.archive-date {
  font-size: 20px;
}

.archive-box .ttl {
  font-size: 24px;
  margin: 10px 0;
}

.archive-box .ttl a {
  color: #333;
}

.archive-box .archive-body {
  font-size: 18px;
}

.pagination-wrapper {
  margin-bottom: 10rem;
  font-size: 20px;
}