@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
root設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

*:root {
  /*幅1200pxの時に1文字10pxとなる値 最小値10px*/
  font-size: min(0.8333vw, 10px);
  /* font-size: 10px; */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1;
  /*自動カーニング*/
  font-feature-settings: "palt";
  /*両端揃え*/
  text-align: justify;
  /* ---------- */
  /* 変数 */
  /* 色 */
  --color-blue: #1978d2;
  --color-deep-blue: #2549aa;
  --color-ex-light-blue: #eef5f9;
  --color-green: #84cf00;
  --color-ex-light-green: #f3fae5;
}

@media screen and (max-width: 480px) {
  /*幅375pxの時に1文字10pxとなる値*/
  *:root {
    font-size: 2.6667vw;
    /* ---------- */
    /* 変数 */
    --fsize_l: 1.8rem;
    --fsize_m: 1.3rem;
    --fsize_s: 1rem;
    --fsize_ss: 1rem;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スムーズスクロール
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;

  @media screen and (max-width: 480px) {
    scroll-padding-top: 8rem;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
noscript
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

noscript {
  display: block;
  font-size: var(--fsize_m);
  padding: 1em;
  background-color: #ff0;
  text-align: center;
  line-height: 2;
  position: relative;
  z-index: 10000000;
  width: auto;
  color: #000;
  word-break: keep-all;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
font設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.font-pop {
  font-family: "Poppins", sans-serif;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
表示制御
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*PCで消す*/
.pc_hide {
  display: none;

  @media screen and (max-width: 480px) {
    display: block;
  }
}

/*SPで消す*/
@media screen and (max-width: 480px) {
  .sp_hide {
    display: none;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
リンク設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/*リンク*/

a {
  text-decoration: none;
  transition: all 0.2s ease;
  text-decoration: none;

  &:visited {
  }

  &:hover {
    opacity: 0.8;
  }

  &:active {
    opacity: 0.5;
  }
}

/*PCでリンクを殺す*/
@media screen and (min-width: 481px) {
  a.disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*SPでリンクを殺す*/
@media screen and (max-width: 480px) {
  a.sp_disabled {
    pointer-events: none;

    &:hover,
    &:active {
      opacity: 1 !important;
    }
  }
}

/*--------------------*/
/* 丸ボタン */
.button_wrap {
  display: flex;
  justify-content: center;
  gap: 2.2rem;
  @media screen and (max-width: 480px) {
    gap: 0.75rem;
  }
  .maru_button {
    display: inline-block;
    background-color: var(--color-blue);
    box-sizing: border-box;
    color: #fff;
    font-size: 1.8rem;
    letter-spacing: 0.1em;
    text-align: center;
    padding: 0.78em 1.67em 0.88em;
    min-width: 10.889em;
    border-radius: 999px;
    @media screen and (max-width: 480px) {
      font-size: 1.2rem;
      padding: 0.78em 1.5em 0.88em;
    }
    &.border {
      border: 1px solid #fff;
    }
    &.green {
      background-color: var(--color-green);
    }
    &.gray {
      background-color: #a4a3a3;
    }
    &.deep-blue {
      background-color: var(--color-deep-blue);
      &.border {
        border: 1px solid #fff;
      }
    }
    &.white {
      background-color: #fff;
      border: 1px solid var(--color-blue);
      color: var(--color-blue);
      &.green {
        color: var(--color-green);
        border-color: var(--color-green);
      }
    }
    &.yajirushi {
      span {
        display: inline-block;
        position: relative;

        &::after {
          position: absolute;
        }
      }
      &.yaji-right {
        padding-right: 1.11em;
        span {
          padding-right: 2.5em;
          &::after {
            content: "→";
            right: 0;
          }
        }
      }
      &.yaji-left {
        padding-left: 1.11em;
        span {
          padding-left: 2.5em;
          &::after {
            content: "←";
            left: 0;
          }
        }
      }
    }
  }
  &.page_nav {
    @media screen and (max-width: 480px) {
      .maru_button {
        min-width: 9em;
        padding: 0.78em 1em 0.88em;
        &.back {
        }
        &.yaji-right {
          padding-right: 0.75em;
          span {
            padding-right: 1.25em;
          }
        }
        &.yaji-left {
          padding-left: 0.75em;
          span {
            padding-left: 1.25em;
          }
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページトップボタン設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.pagetop_jump {
  position: fixed;
  right: 0.5rem;
  bottom: 0.5rem;
  visibility: hidden;
  opacity: 0;
  transition: 0.5s;
  z-index: 100;
  width: 4rem;
  height: 4rem;

  &.on {
    visibility: visible;
    opacity: 1;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    position: relative;
    font-size: 0;

    &::after {
      content: "";
      position: absolute;
      display: block;
      top: 50%;
      left: 50%;
      width: 1rem;
      height: 1rem;
      border: 1px solid #fff;
      border-bottom: none;
      border-left: none;
      transform: translate(-50%, -25%) rotate(-45deg);
    }

    /*PC版のみhoverを付与*/

    @media screen and (min-width: 769px) {
      &:hover {
        opacity: 0.7;
        transition: 0.2s;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
画像
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

img {
  width: 100%;
  height: auto;

  &.ojf_cover {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }

  &.ojf_contain {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

.ojf_cover_wrap {
  > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
  }
}

.ojf_contain_wrap {
  > img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    display: block;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ローディング画面
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.3s ease-out;
  .loader {
    position: relative;
    width: min(20%, 120px);
    aspect-ratio: 1/1;
    &::before {
      content: "";
      background-image: url(../img/common/logo-miurakokudo-icon-blue.png);
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
      display: block;
      position: absolute;
      top: calc(50% - 4px);
      left: 50%;
      transform: translate(-50%, -50%);
      width: 50%;
      aspect-ratio: 1/1;
    }
    div.progress {
      position: absolute;
      bottom: 0;
      height: 4px;
      width: 100%;
      --c: no-repeat linear-gradient(#999 0 0);
      background: var(--c), var(--c), #ccc;
      background-size: 60% 100%;
      animation: l16 3s infinite;
    }
  }
}
@keyframes l16 {
  0% {
    background-position:
      -150% 0,
      -150% 0;
  }
  66% {
    background-position:
      250% 0,
      -150% 0;
  }
  100% {
    background-position:
      250% 0,
      250% 0;
  }
}

#loading-screen {
  &.fade-out {
    opacity: 0;
  }
}
#page_wrap {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  &.visible {
    opacity: 1;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページ設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

body {
  &.archive,
  &.single,
  &.contact_form,
  &.error404,
  &.is-recruit:not(.recruit, .benefits, .voice) {
    #page_wrap {
      padding-top: 20rem;
      @media screen and (max-width: 1024px) {
        padding-top: 10rem;
      }
    }
  }
  #page_wrap {
    /*--------------------*/
    /* ページ全体の幅 */
    min-width: 320px;

    @media screen and (max-width: 480px) {
    }

    /*--------------------*/
    /* コンテンツ部分 */
    #contents_wrap {
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
タイトル
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

h2.gen {
  text-align: center;
  color: var(--color-blue);
  margin-bottom: 9rem;
  font-weight: 500;
  @media screen and (max-width: 480px) {
    margin-bottom: 6rem;
  }
  span {
    position: absolute;
    font-size: 2.6rem;
    letter-spacing: 0.1em;
    position: relative;
    padding-left: 0.1em;
    padding-bottom: 0.6em;
    @media screen and (max-width: 480px) {
      font-size: 2rem;
    }
    &::after {
      content: "";
      display: block;
      width: 2.5em;
      height: 1px;
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--color-blue);
    }
  }
}

.page_title_wrap.gen {
  margin-bottom: 5.2rem;
  @media screen and (max-width: 480px) {
    margin-bottom: 3rem;
  }
  hgroup {
    position: relative;
    text-align: center;
    padding-bottom: 4.8rem;
    @media screen and (max-width: 480px) {
      padding-bottom: 3rem;
    }

    .en {
      display: inline-block;
      font-size: 3.6rem;
      letter-spacing: 0.24em;
      padding-left: 0.24em;
      font-weight: 300;
      font-style: italic;
      @media screen and (max-width: 480px) {
        font-size: 2.4rem;
      }
    }
    h1 {
      font-size: 1.6rem;
      letter-spacing: 0.1em;
      padding-left: 0.1em;
      margin-top: 0.875em;
      font-weight: 500;
      @media screen and (max-width: 480px) {
        font-size: 1.4rem;
      }
    }

    .dotte {
      position: absolute;
      width: 5.3rem;
      aspect-ratio: 53/11;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      @media screen and (max-width: 480px) {
        width: 3rem;
      }
      svg {
        fill: var(--color-blue);
      }
    }
  }
  .title_copy {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.11em;
    padding-left: 0.11em;
    font-weight: 500;
    line-height: 1.5;
    margin-top: 2.4em;
    @media screen and (max-width: 480px) {
      font-size: 1.4rem;
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
404
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
body.error404 {
  section.pagenotfound {
    margin-bottom: 15rem;
    @media screen and (max-width: 480px) {
      margin-bottom: 10rem;
    }
    h1 {
      font-size: 2.4rem;
      line-height: 2;
      text-align: center;
      margin: 2em 0;
    }

    p {
      font-size: 1.4rem;
      line-height: 2;
      text-align: center;
      margin: 1em 0;
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ロゴ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.logo-miurakokudo {
  a {
    display: flex;
    align-items: center;
    .icon {
      svg {
        fill: var(--color-blue);
      }
    }
    .text {
      svg {
        fill: #000;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
page_nav 
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.page_nav_wrap {
  margin: 6rem 0 0;
  font-size: var(--fsize_m);

  @media screen and (max-width: 480px) {
    margin: 4rem 0 0;
  }

  /*--------------------*/
  /* シングルページ */
  .page_nav_wrap {
    ul.page_nav {
      display: flex;
      justify-content: space-around;
      @media screen and (max-width: 480px) {
        margin: 4rem 0 0;
      }

      li {
        width: 30%;
        text-align: center;

        .archive {
        }

        .prev,
        .next {
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ターム タクソノミー タグ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/* ターム */
ul.term_list {
  display: inline-block;
  line-height: 1.5;
}

ul.term_list li.term_wrap {
  display: inline-block;
  margin-right: 0.5em;
}

ul.term_list li.term_wrap a {
  display: block;
  padding: 0.25em 1em;
  font-weight: 500;
  background-color: #ccc;
  border-radius: 999px;
}

ul.term_list li.term_wrap:not(:has(a)) {
  padding: 0.25em 1em;
  font-weight: 500;
  background-color: #ccc;
  border-radius: 999px;
}

/* タグ */
ul.tag_list {
  line-height: 2;
}

ul.tag_list li {
  display: inline-block;
  margin-right: 1em;
}

ul.tag_list li:last-child {
  margin-right: 0;
}

ul.tag_list li span::before {
  content: "#";
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
バッヂ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.badge {
  position: relative;
  &::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(../img/common/iccn-badge.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    aspect-ratio: 48/66;
    width: 14%;
    z-index: 10;
    transform: translate(-15%, -10%);
    max-width: 8rem;
  }
}
