@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
root設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

*:root {
  /*幅1024pxの時に1文字10pxとなる値 最小値10px*/
  font-size: min(0.97656vw, 10px);
  /* font-size: 10px; */
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  /*自動カーニング*/
  /* font-feature-settings: "palt"; */
  /*両端揃え*/
  text-align: justify;
  /* ---------- */
  /* 変数 */
  /* フォント */
  --fsize_m: 1.6rem;
  --fsize_l: calc(var(--fsize_m) * 1.25); /* 1.8rem */
  --fsize_ll: calc(var(--fsize_m) * 1.5); /* 2.4rem */
  --fsize_xl: calc(var(--fsize_m) * 1.75); /* 2.8rem */
  --fsize_xxl: calc(var(--fsize_m) * 2); /* 3.2rem */
  --fsize_s: calc(var(--fsize_m) * 0.875); /* 1.4rem */
  --fsize_ss: calc(var(--fsize_m) * 0.75); /* 1.2rem */
  --fsize_xs: calc(var(--fsize_m) * 0.675); /* 1rem */
  /* パディング */
  /* 色 */
  --color-blue: #0634a1;
  --color-ex-light-blue: #eaf0f6;
}

@media screen and (max-width: 768px) {
  /*幅768pxの時に1文字10pxとなる値*/
  *:root {
    font-size: 1.30208vw;
  }
}

@media screen and (max-width: 480px) {
  /*幅375pxの時に1文字10pxとなる値*/
  *:root {
    font-size: 2.6667vw;
    /* ---------- */
    /* 変数 */
    /* フォント */
    --fsize_m: 1.4rem;
    --fsize_l: 1.6rem; /* 1.8rem */
    --fsize_ll: 1.8rem; /* 2.4rem */
    --fsize_xl: 2rem; /* 2.8rem */
    --fsize_xxl: 2.4rem; /* 3.2rem */
    --fsize_s: 1.2rem; /* 1.4rem */
    --fsize_ss: 1rem; /* 1.2rem */
    --fsize_xs: 1rem; /* 1rem */
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スムーズスクロール
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
html {
  scroll-behavior: smooth;
  scroll-padding-top: 9.6rem;
  @media screen and (max-width: 480px) {
    scroll-padding-top: 4.8rem;
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
noscript
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

noscript {
  display: block;
  font-size: var(--fsize_m);
  padding: 1em;
  background-color: #eaf0f6;
  text-align: center;
  line-height: 2;
  position: relative;
  z-index: 10000000;
  width: auto;
  color: #000;
  word-break: keep-all;
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
font設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.font-mintyo {
  font-family: "Noto Serif JP", serif;
}
.font-en {
  font-family: "Lexend Deca", 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;
  color: #000;
  transition: all 0.2s ease-out;

  &:visited {
    color: #333;
  }

  &:hover {
    opacity: 0.7;
  }

  &: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;
    }
  }
}

/* アンダーライン */
@media screen and (min-width: 769px) {
  a.underline {
    span {
      position: relative;
      padding: 0.25em 0;
      &::after {
        position: absolute;
        left: 0;
        content: "";
        width: 100%;
        height: 1px;
        background: #000;
        bottom: 0;
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform 0.2s;
      }
    }

    &:hover {
      span::after {
        transform: scale(1, 1);
        transform-origin: left top;
      }
    }
  }
}
/*--------------------*/
/* 矢印 */
.yajirushi {
  position: relative;
  padding-right: 1.5em;
  &::after {
    content: "";
    display: block;
    aspect-ratio: 10/16;
    width: 0.5em;
    background-image: url(../img/common/icon-yajirushi-black.svg);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  &.white {
    &::after {
      background-image: url(../img/common/icon-yajirushi-white.svg);
    }
  }
  &.reverse {
    padding-right: 0;
    padding-left: 1.5em;
    &::after {
      right: auto;
      left: 0;
      transform: translateY(-50%) rotate(180deg);
    }
  }
}

/*--------------------*/
/* 丸ボタン */

.button_wrap {
  .button-marukaku {
    display: flex;
    height: 6.4rem;
    align-items: center;
    justify-content: center;
    background-color: #000;
    max-width: 36rem;
    margin: auto;
    border-radius: 2.4rem 0 2.4rem 0;

    span {
      color: #fff;
      font-size: var(--fsize_l);
      letter-spacing: 0.1em;
    }
    &.white {
      background-color: #fff;
      span {
        color: #000;
      }
    }
    @media screen and (max-width: 480px) {
      max-width: 24rem;
      height: 4.8rem;
    }
    &.more {
      max-width: 24rem;
      @media screen and (max-width: 480px) {
        max-width: 18rem;
        height: 4.8rem;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページトップボタン設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.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: var(--color-ex-light-blue);
  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_icon_glash.svg);
      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: 70%;
      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;
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ページ設定
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

#page_wrap {
  /*--------------------*/
  /* ページ全体の幅 */
  min-width: 320px;
  /* header.cssの#headerの高さと連動 */
  padding-top: 9.6rem;

  @media screen and (max-width: 480px) {
    /* header.cssの#headerの高さと連動 */
    padding-top: 4.8rem;
  }

  /*--------------------*/
  /* コンテンツ部分 */
  #contents_wrap {
    /*--------------------*/
    /* サイドバーあり */
    &.has_sidebar {
      display: flex;
      justify-content: space-between;

      @media screen and (max-width: 980px) {
        flex-direction: column;
      }

      #contents_area {
        width: calc(100% - 30rem - 2rem);

        @media screen and (max-width: 980px) {
          width: 100%;
        }
      }

      #sidar_area {
        width: 30rem;
        flex-shrink: 0;

        @media screen and (max-width: 980px) {
          width: 100%;
          margin-top: 2rem;
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
404
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
body.error404 {
  section.pagenotfound {
    h1 {
      font-size: var(--fsize_l);
      line-height: 2;
      text-align: center;
      margin: 2em 0;
    }

    p {
      font-size: var(--fsize_m);
      line-height: 2;
      text-align: center;
      margin: 1em 0;
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ショップデータ部分
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
/*フッタ以外*/
.shopdata_wrap {
  h4.shopname {
    margin-bottom: 2.4rem;
    span {
      display: block;
      &.en {
        font-size: var(--fsize_ll);
        font-weight: 500;
        margin-bottom: 1.2rem;
      }
      &.ja {
        font-size: var(--fsize_s);
        color: #333;
        font-weight: 400;
      }
    }
  }
  /*--------------------*/
  /* 住所 */
  .address_wrap {
    font-size: var(--fsize_s);
    letter-spacing: 0.05em;
    font-style: normal;
    line-height: 2;
    .address {
      word-break: keep-all;
      .mapicon {
        font-size: var(--fsize_ss);
        text-decoration: none;
        margin-left: 0.5em;
        font-weight: 700;
        letter-spacing: normal;
        display: inline-block;
        span {
          display: inline-block;
          position: relative;
          padding-left: 1.5em;
          &::before {
            content: "";
            display: block;
            position: absolute;
            width: 1em;
            aspect-ratio: 11/16;
            background-image: url(../img/common/icon-mappin.svg);
            background-repeat: no-repeat;
            background-size: contain;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
          }
        }
      }
    }
    .data {
      span {
        padding-right: 0.5em;
        margin-right: 0.5em;
        display: inline-block;
        position: relative;
        &::after {
          content: "";
          display: block;
          position: absolute;
          width: 1px;
          height: 1em;
          background-color: #000;
          right: 0;
          top: 50%;
          transform: translateY(-50%) rotate(20deg);
        }
      }
    }
  }
}
/*フッタの表記*/
footer {
  .shopdata_wrap {
    /*--------------------*/
    /* ロゴ */
    .footer_logo {
      width: 16.8rem;
      margin: 6rem auto;
      @media screen and (max-width: 768px) {
        width: 12rem;
        margin: 4.8rem auto;
      }
    }
    /*--------------------*/
    /* 住所 */
    .address_wrap {
      display: flex;
      align-items: center;
      line-height: 1.5;
      justify-content: center;
      gap: 3.2rem 4.8rem;
      margin: auto auto 4rem;
      flex-wrap: wrap;
      @media screen and (max-width: 768px) {
        gap: 2.4rem;
      }
      .address {
        @media screen and (max-width: 768px) {
          width: 100%;
          text-align: center;
        }
        .mapicon {
          font-size: var(--fsize_ss);
          text-decoration: none;
          margin-left: 0.5em;
          font-weight: 700;
          letter-spacing: normal;
          span {
            display: inline-block;
            position: relative;
            padding-left: 1.5em;
            &::before {
              content: "";
              display: block;
              position: absolute;
              width: 1em;
              aspect-ratio: 11/16;
              background-image: url(../img/common/icon-mappin.svg);
              background-repeat: no-repeat;
              background-size: contain;
              left: 0;
              top: 50%;
              transform: translateY(-50%);
            }
          }
          @media screen and (max-width: 768px) {
            display: block;
            padding: 0.8em 1em;
            border: 1px solid #000;
            max-width: 24rem;
            width: 50%;
            margin: 2.4rem auto auto;
            border-radius: 0.5em;
          }
        }
      }
      .data {
        span {
          font-weight: 700;
          padding-right: 1em;
          margin-right: 1em;
          &::after {
            height: 2em;
            transform: translateY(-50%);
          }
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
眼鏡作成技能士
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.gankyo_wrap {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  @media screen and (max-width: 480px) {
    gap: 1rem;
  }
  .logo {
    width: 22rem;
    @media screen and (max-width: 480px) {
      width: 15rem;
    }
  }
  dl {
    letter-spacing: 0.05em;

    dt {
      display: inline-block;
      border: 1px solid #666;
      font-size: var(--fsize_ss);
      padding: 0 0.5em 0 0.55em;
      min-width: 4.5em;
      text-align: center;
      color: #666;
      line-height: 2;
      &.shikaku {
        margin-right: 0.5em;
      }
      &.kyu {
        background-color: #666;
        color: #fff;
      }
    }
    dl {
      display: block;
      font-size: var(--fsize_s);
      margin-top: 0.6em;
      @media screen and (max-width: 480px) {
        font-size: var(--fsize_ss);
      }
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
カレンダー
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.xo-event-calendar {
  .xo-months {
    display: flex;
    gap: 3rem;
    .xo-month-wrap {
      font-size: var(--fsize_m);
      @media screen and (max-width: 768px) {
        font-size: var(--fsize_s);
      }
      table {
        border: none;
        max-width: 14em;
        box-sizing: border-box;
        caption {
          font-family: "Lexend Deca", sans-serif;
          font-weight: 300;
          margin-bottom: 0.5em;
        }
        thead {
          tr {
            th {
              border: none;
              padding: 0.5em 0 !important;
              box-sizing: border-box;
            }
          }
        }
        tbody {
          tr {
            td {
              border-color: #fff;
              text-align: center;
              padding: 0;
              box-sizing: border-box;
              div {
                border-color: #fff;
                text-align: center;
                padding: 0;
                height: 100%;
                line-height: 2;
                box-sizing: border-box;
              }
            }
          }
        }
        td.month-week {
          height: 2em;
          font-family: "Lexend Deca", sans-serif;
          font-weight: 300;
          table.month-dayname {
            tbody {
              tr.dayname {
                td {
                  div {
                    &.today {
                      color: #000;
                      font-weight: 600;
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  .holiday-titles {
    .holiday-title {
      font-size: var(--fsize_s) !important;
      span {
        padding-left: 1em;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
page_nav 
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

.page_nav_wrap {
  margin: 6rem 0 0;
  font-size: var(--fsize_l);
  font-weight: 400;

  @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 {
        }
      }
    }
  }
}
/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
/*投稿一覧のページネーション*/

div.pagination_wrap {
  margin: 6rem 0 0;

  @media screen and (max-width: 768px) {
    margin: 4rem 0 0;
  }

  nav {
    display: block;
    div.nav-links {
      display: flex;
      justify-content: center;
      font-size: var(--fsize_m);
      gap: 1em;
      a,
      span {
        color: #000;
        &.current {
          color: #999;
        }
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
ターム タクソノミー タグ
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/

/* ターム */
ul.term_list {
  font-size: var(--fsize_m);
  margin-bottom: 2em;
  @media screen and (max-width: 768px) {
    font-size: var(--fsize_s);
  }

  li.term_wrap {
    display: inline-block;
    margin-right: 0.5em;
    a {
      display: block;
      padding: 1.25em 1em;
      font-weight: 500;
      background-color: #000;
      color: #fff;
      min-width: 8em;
      text-align: center;
      @media screen and (max-width: 768px) {
        padding: 1em;
      }
    }

    &:not(:has(a)) {
      padding: 0.25em 1em;
      font-weight: 500;
      background-color: #ccc;
      border-radius: 999px;
    }
  }
  &.size-s {
    font-size: var(--fsize_m);
    margin-bottom: 0.75em;
    @media screen and (max-width: 768px) {
      font-size: var(--fsize_s);
    }
    li.term_wrap {
      a {
        display: block;
        padding: 0;
        background-color: transparent;
        color: #000;
        min-width: 0;
        text-align: left;
      }
    }
  }
}
/* タグ */
ul.tag_list {
  font-size: var(--fsize_s);
  letter-spacing: 0.1em;
  li.tag_wrap {
    display: inline-block;
    margin-right: 0.5em;
    span {
      color: #666;
      &::before {
        content: "#";
      }
    }
    a {
      color: #666;
      &:hover {
        text-decoration: underline;
      }
    }
  }
}

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
SEO用の文字隠し
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
}
