@charset "utf-8";

/*
こちらに自由に記述ください。
最終的に確認してcommon.cssにマージを行います。
その際、不要な記述は削除する場合がございます。
*/

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb-link li a,
.breadcrumb-link li span {
  color: #6a6a6a !important;
  font-weight: initial;
}

.breadcrumb li:before {
  color: #6a6a6a !important;
}

.breadcrumb-link li a:before {
  background: #fff !important;
}

/* ========================================
   Layout
======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

.section {
  padding: 80px 4%;
}

.section-inner.md {
  max-width: 720px;
  margin-inline: auto;
}

.section-inner.lg {
  max-width: 880px;
  margin-inline: auto;
}



/* ========================================
   Typography
======================================== */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.sub-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;

  &:before {
    display: inline-block;
    content: "";
    width: 2px;
    height: 20px;
    margin-left: 4px;
    background-color: #001e55;
    border-radius: 2px;
  }
}


.lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* ========================================
   Table
======================================== */
.table-note {
  font-size: 12px;
  color: #c00;
  margin-bottom: 10px;
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 30px;
}

.info-table {
  width: 100%;
  background-color: #fff;
  margin: 0 auto 16px;
  color: #000;
  font-size: 14px;
  font-weight: 500;

  th {
    vertical-align: middle;
    border: 1px solid #999;
    padding: 16px 20px;
    background-color: #eee;
    white-space: nowrap;
  }

  td {
    border: 1px solid #999;
    padding: 16px 20px;
    vertical-align: middle;
    line-height: 1.6;
  }
}


/* ========================================
   Notice List
======================================== */
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.notice-item {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
  padding-left: 1em;
  text-indent: -1em;

  @media (width <=767.9px) {
    font-size: 12px;
  }
}

.note {
  color: #c00;
  font-weight: bold;
}

/* ========================================
   Utility
======================================== */
/* スクリーンリーダー用の非表示クラス */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}



/* ========================================
   商品一覧
======================================== */
.other-items-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;

  a {
    display: block;
    color: #000;
    text-align: center;
    transition: all ease 0.6s;


    &:hover {
      opacity: 0.7;

      img {
        transform: scale(1.02);
      }
    }
  }

  img {
    width: 100%;
    height: auto;
    transition: all ease 0.6s;
  }

  .photo {
    overflow: hidden;
  }

  .title {
    font-size: 16px;
    margin: 15px auto 5px;

    @media (width <=767.9px) {
      font-size: 12px;
    }
  }

  .price {
    font-size: 20px;

    @media (width <=767.9px) {
      font-size: 14px;
    }
  }

  @media (width <=767px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================
   Media Queries
======================================== */
/*PCのみ適応されるCSS*/
@media (width >=768px) {
  .under-page .breadcrumb {
    top: 136px !important;
  }

  .sp-only {
    display: none;
  }
}

/*スマホのみ適応されるCSS*/
@media (width <=767.9px) {

  .under-page #common-emblem {
    top: 102px !important;
  }

  .inner {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding-top: 0 !important;
    padding-bottom: 0px !important;
  }

  .container {
    padding: 0 15px;
  }

  .section {
    margin-bottom: 40px;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .section-title {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .sub-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .lead {
    font-size: 14px;
    margin-bottom: 30px;
  }

}
