@charset "UTF-8";

* {
  --tc: #267238;
  --ff-2: Cormorant Infant;

  --z-index-contact-fixed: 200;

  box-sizing: border-box;
}

body {
  --header-height: 88px;

  width: 100%;
  color: #333;
  background: #F7EDDE;

  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1.4;
}

a {
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.swiper img {
  border-radius: 20px;
}

address {
  font-style: normal;
}

.jcc {
  display: flex;
  justify-content: center;
  width: 100%;
}

.jcr {
  display: flex;
  justify-content: right;
  width: 100%;
}

.m-b-4 {
  margin-bottom: 4px;
}

.m-b-8 {
  margin-bottom: 8px;
}

.m-b-16 {
  margin-bottom: 16px;
}

.m-b-24 {
  margin-bottom: 24px;
}

.m-b-32 {
  margin-bottom: 32px;
}

.m-b-40 {
  margin-bottom: 40px;
}

.m-b-48 {
  margin-bottom: 48px;
}

.m-b-56 {
  margin-bottom: 56px;
}

.btn {
  --btn-fcolor: #fff;
  --btn-bgcolor: var(--tc);
  position: relative;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 240px;
  padding: 12px 32px;

  color: var(--btn-fcolor);
  background: var(--btn-bgcolor);
  transition: 0.3s all linear;
  user-select: none;

  border-radius: 24px;
}

.btn::before {
  content: '→';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);

  font-size: 14px;
  font-weight: 700;
}

/*header*/
header {
  position: fixed;
  z-index: 100;

  display: flex;
  justify-content: space-between;
  align-items: center;

  width: 100%;
  height: var(--header-height);
  padding: 0 min(2%, 16px);

  background: #F7EDDE;

  #header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;

    .btn {
      --btn-fcolor: #fff;
      --btn-bgcolor: #BFAC8F;

      width: 200px;
      min-width: 0;

      font-weight: 700;

      border: solid 2px #fff;
    }

    .btn::before {
      display: none;
    }

    .header-right {
      display: flex;
      align-items: center;
      gap: 32px;
    }
  }
}

body:has(#gmenu-cb:checked) header {
  background: var(--tc);

  h1 {
    visibility: hidden;
  }

  .header-right {
    .btn {
      display: none;
    }
  }
}

#humMenu {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: fit-content;

  cursor: pointer;

  .hamburger-menu__icon {
    position: relative;
    width: 50px;
    height: 28px;

    span {
      position: absolute;
      left: 0;

      width: 100%;
      height: 3px;

      background-color: var(--tc);

      transition: 0.3s all linear;
    }

    span:nth-child(1) {
      top: 0;
    }

    span:nth-child(2) {
      top: 12.5px;
    }

    span:nth-child(3) {
      top: 25px;
    }
  }

  .hamburger-menu__label {
    margin-top: 6px;
    font-size: 15px;
    color: var(--tc);
    font-weight: bold;
  }

  .before {
    display: block;
  }

  .after {
    display: none;
    color: #fff;
  }
}

body:has(#gmenu-cb:checked) #humMenu {
  .hamburger-menu__icon {
    span {
      background-color: #fff;
    }

    span:nth-child(1) {
      transform: rotate(30deg);
      top: 12.5px;
    }

    span:nth-child(2) {
      opacity: 0;
    }

    span:nth-child(3) {
      transform: rotate(-30deg);
      top: 12.5px;
    }

  }

  .before {
    display: none;
  }

  .after {
    display: block;
  }
}

main {
  padding-top: var(--header-height);
}

.businessLinkCON {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 40px;
  width: min(1120px, 100%);
  padding: 0 16px;
  margin-inline: auto;

  a.item {
    position: relative;
    z-index: 1;

    width: 100%;
    container-type: inline;

    p.label {
      position: absolute;
      z-index: 3;
      left: min(5.2dvw, 64px);
      bottom: min(2.6dvw, 30px);

      font-size: min(2.6dvw, 30px);
      font-weight: 700;
      color: #fff;
    }

    picture,
    img {
      width: 100%;
      max-width: auto;

      border-radius: 20px;
    }
  }

  a.item::before {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;

    display: inline-flex;
    width: 100%;
    height: 100%;

    border-radius: 20px;
    background: linear-gradient(to bottom, rgba(51, 51, 51, 0) 0%, rgba(51, 51, 51, 0.4) 75%, rgba(51, 51, 51, 1) 100%);
  }

  a.item::after {
    content: '→';
    position: absolute;
    z-index: 3;
    right: min(2.6dvw, 30px);
    bottom: min(2.6dvw, 30px);

    padding: 8px;

    font-size: min(2.6dvw, 30px);
    font-weight: 700;
    color: #fff;
    line-height: 1;

    border-radius: 4px;
    background: var(--tc);
  }
}

footer {
  position: relative;

  padding-top: 4dvw;

  overflow: hidden;

  div.eclipse {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -16dvw;
    z-index: 2;


    display: inline-block;
    width: 120dvw;
    height: 32dvw;
    clip-path: ellipse(60% 50% at 50% 100%);
    background: #E8D8C0;
  }

  p.copyright {
    position: relative;
    z-index: 3;

    padding: 4px;

    color: #fff;
    text-align: right;

    background: var(--tc);
  }

  #footer_float_left {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 5dvh;
  }

  #footer_float_right {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 5dvh;
  }
}

footer #footer-content {
  --bg-color: #E8D8C0;

  background: var(--bg-color);

  .footer-content-inner {
    position: relative;
    z-index: 4;

    display: flex;
    justify-content: space-between;
    width: min(960px, 100%);
    padding: 0 16px;
    padding-bottom: 24px;
    margin-inline: auto;
  }

  h1 {
    margin-bottom: 16px;

    font-size: 28px;
    line-height: 1.2;
  }

  address {
    margin-bottom: 40px;
  }

  div#footer-contact {
    display: inline-flex;
    flex-direction: column;
    align-items: center;

    width: min(320px, 100%);
    padding: 32px 24px;

    background: #fff;
    border-radius: 20px;

    p.title {
      margin-bottom: 8px;

      font-size: 20px;
      line-height: 1.2;
      font-weight: 700;
    }

    a#footer-tel {
      margin-bottom: 8px;

      font-size: 28px;
      color: var(--tc);
      font-weight: 700;
      line-height: 1.2;
      font-family: acumin-pro, sans-serif;
      font-weight: 700;
      font-style: normal;
    }

    p.text {
      margin-bottom: 16px;

      font-size: 16px;
      line-height: 1.2;
      font-weight: 700;
    }

    a.contact-btn {
      display: inline-block;
      width: 100%;
      padding: 16px;

      color: #fff;
      text-align: center;
      background: var(--tc);
    }
  }

  div.content-right {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;

    nav {
      display: flex;
      gap: 64px;
      justify-content: center;

      ul.nav-column {
        >li+li {
          margin-block-start: 8px;
        }

        li.nav-heading {
          font-weight: 700;
        }
      }
    }

    #footer-recruit {
      --btn-fcolor: #fff;
      --btn-bgcolor: #BFAC8F;

      width: 200px;
      min-width: 0;

      font-weight: 700;

      border: solid 2px #fff;
    }
  }
}

.forsp {
  display: none;
}

/*gmenu*/
#gmenu-cb {
  display: none;
}

div#gmenu {
  display: none;
}

body:has(#gmenu-cb:checked) {
  overflow: hidden;
}

#gmenu-cb:checked~div#gmenu {
  position: fixed;
  z-index: 95;

  display: block;
  width: 100%;
  height: 100dvh;
}

div#gmenu-inner {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100%;
  min-height: 100dvh;

  padding: 20px 5.5vw;
  padding-top: calc(20px + var(--header-height));
  padding-bottom: 14dvh;

  background: var(--tc);

  nav {
    display: grid;
    grid-template-columns: 160px 160px auto;
    justify-content: center;
    width: min(1120px, 100%);
    margin-inline: auto;
    gap: 32px;

    ul.nav-column {
      color: #fff;
      font-weight: 700;

      >li+li {
        margin-block-start: 20px;
      }

      li.nav-heading {
        font-size: 20px;
        font-weight: 700;
      }

      li.underbar {
        padding-bottom: 4px;
        border-bottom: solid 1px #fff;
      }
    }
  }

  ul.btnLinkCON {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 16px;

    width: min(1120px, 100%);
    margin-inline: auto;

    .btn {
      font-weight: 700;

      border: solid 2px #fff;
    }

    .btn::before {
      display: none;
    }
  }

  p.copyright {
    position: absolute;
    bottom: 0;
    right: 2%;

    padding: 8px;

    font-size: 14px;
    color: #fff;
  }
}

#gmenu_float_left {
  position: absolute;
  left: 0;
  bottom: 5dvh;
}

#gmenu_float_right {
  position: absolute;
  right: 0;
  bottom: 5dvh;
}

/*single.php*/
#single .ariticle {
  width: min(1120px, 100%);
  min-height: 48rem;
  padding: 64px 16px;
  margin-inline: auto;

  .title {
    padding-bottom: 8px;
    margin-bottom: 8px;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;

    border-bottom: solid 1px #B5B5B5;
  }

  time {
    display: block;
    margin-bottom: 16px;
    font-size: 15px;
    color: #B5B5B5;
  }

  .content {
    margin-bottom: 120px;

    line-height: 1.6;
    white-space: pre-wrap;
  }
}

/*single-works.php*/
#worksSingle {
  #eyecatch {
    margin-bottom: 144px;
  }

  .worksArticle {
    position: relative;

    width: min(1120px, 100%);
    padding: 64px;
    margin-bottom: 144px;
    margin-inline: auto;

    background: #fff;
    border-radius: 20px;

    .title {
      position: absolute;
      top: calc(-1em + 8px);
      left: 50%;
      transform: translateX(-50%);

      display: inline-block;
      padding: 8px 1.6em;

      font-size: 24px;
      font-weight: 700;
      line-height: 1;

      color: #fff;
      background: var(--tc);
      border-radius: 40px;

      text-wrap: nowrap;
    }

    .thumbnail-wrap {
      display: block;
      width: 100%;
      height: auto;
      aspect-ratio: 920 / 500;
      margin-bottom: 32px;

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
      }
    }

    .textContent {
      padding: 32px 48px;
      background: #F7EDDE;

      dl {
        display: grid;
        grid-template-columns: 8em 1fr;

        dd {
          font-weight: 700;

          p {
            white-space: pre-wrap;
          }
        }
      }

      >dl+dl {
        margin-block-start: 12px;
      }
    }
  }
}

@media (min-width : 1200px) {
  .btn:hover {
    opacity: 0.8;
    transition: 0.3s all linear;

    background-image: url(../img/btn-bg.png);
    background-size: cover;
  }
}

@media (max-width : 1200px) {
  #worksSingle {
    #eyecatch {
      margin-bottom: 144px;
    }

    .worksArticle {
      position: relative;

      width: min(1120px, 100%);
      padding: 0;
      margin-bottom: 144px;

      background: #fff;
      border-radius: 0;

      .title {
        position: inherit;
        top: auto;
        left: auto;
        transform: none;

        display: block;
        padding: 8px 1.6em;

        font-size: 24px;

        border-radius: 0;
      }

      .thumbnail-wrap {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 920 / 500;
        margin-bottom: 32px;

        img {
          display: block;
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 0px;
        }
      }

      .textContent {
        padding: 32px 48px;
        background: #F7EDDE;

        dl {
          display: grid;
          grid-template-columns: 8em 1fr;

          dd {
            font-weight: 700;

            p {
              white-space: pre-wrap;
            }
          }
        }

        >dl+dl {
          margin-block-start: 12px;
        }
      }
    }
  }
}

@media (max-width : 599px) {
  #header-recruit {
    display: none;
  }

  .swiper img {
    border-radius: 0;
  }

  footer {
    p.copyright {
      font-size: 3dvw;
    }

    #footer_float_left {
      left: -40dvw;
    }

    #footer_float_right {
      right: -40dvw;
    }
  }

  footer #footer-content {
    .footer-content-inner {
      display: flex;
      flex-direction: column;
      justify-content: inherit;
      padding-top: 40px;
    }

    address {
      font-size: 3.5dvw;
      margin-bottom: 24px;
    }

    div#footer-contact {
      width: 100%;
      padding: 24px 16px;
      border-radius: 12px;
      margin-bottom: 24px;
    }

    div.content-right {
      gap: 24px;

      nav {
        display: flex;
        flex-direction: column;
        gap: 24px;
      }
    }
  }

  div#gmenu-inner {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px 5.5vw;
    padding-top: calc(20px + var(--header-height));
    padding-bottom: 5dvh;

    background: var(--tc);

    nav {
      display: grid;
      grid-template-columns: 1fr;
      justify-content: center;
      width: min(1120px, 100%);
      margin-inline: auto;
      gap: 32px;

      ul.nav-column {
        color: #fff;
        font-weight: 700;

        >li+li {
          margin-block-start: 20px;
        }

        li.nav-heading {
          font-size: 20px;
          font-weight: 700;
        }

        li.underbar {
          padding-bottom: 4px;
          border-bottom: solid 1px #fff;
        }
      }
    }

    p.copyright {
      font-size: 3dvw;
    }
  }

  #gmenu_float_left {
    left: -40dvw;
  }

  #gmenu_float_right {
    right: -40dvw;
  }
}