/* -------------------------------------------
 ベース
------------------------------------------- */
/* 変数 */
:root {
  --font-base: noto-sans-cjk-jp, sans-serif;
  --font-nav: mr-eaves-xl-modern, sans-serif;
  --font-main-ttl: rig-shaded-bold-face, sans-serif;
  --font-sub-ttl: source-han-sans-japanese, sans-serif;
  --font-lead: var(--font-base);
  --font-tag: fot-tsukuardgothic-std, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* 調整 */
.sns {
  z-index: 1;
}

/* -------------------------------------------
 content-wrap
------------------------------------------- */

.content-wrap {
  position: relative;
  font-family: var(--font-base);
  color: #363533;
}

a:hover {
  opacity: 0.7;
}

/* -------------------------------------------
 nav
------------------------------------------- */

.nav__switch {
  display: none;
}

.nav__content {
  color: #008fd8;
  font-family: var(--font-nav);
  line-height: 1.2;
  letter-spacing: 0.1em;
  display: flex;
}

@media (min-width: 769px) {
  [id^='n_'] {
    scroll-margin-top: calc(80px + 64px);
  }

  .nav {
    top: 64px;
    position: sticky;
    z-index: 50;
    width: 100%;
    background: #ffffff99;
    display: flex;
    font-size: 28px;
    height: 80px;
    padding: 0.3em 1em;
    align-items: center;
    box-sizing: border-box;
  }

  .nav__logo {
    padding-top: 0.5%;
    min-height: 1em;
    height: 83%;
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
  }

  .nav__logo-img {
    height: 100%;
    width: auto;
  }

  .nav__content {
    position: relative;
    width: fit-content;
    margin-left: auto;
    filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff);
  }

  .nav__item {
    display: block;

    text-align: center;
    position: relative;
  }

  .nav__item:hover {
    color: #0090d8a2;
    opacity: 1;
  }

  .nav__item:not(:last-child)::after {
    content: '/';
    display: inline-block;
    padding-inline: 1em;
  }

  .nav__item:hover:not(:last-child)::after {
    color: #008fd8;
  }
}

@media (max-width: 768px) {
  [id^='n_'] {
    scroll-margin-top: 64px;
  }

  .nav {
    top: 64px;
  }

  .nav__logo {
    display: none;
  }

  .nav__content {
    background: #fff;
    position: fixed;
    font-size: 24px;
    flex-direction: column;
    align-items: center;
    gap: 1em;
    padding-block: 64px 1em;
    padding-inline: 1em;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    width: 80%;
    top: 64px;
    right: 0;
    transform: translateX(100%);
    transition: all 0.5s;
    z-index: 51;
  }

  .nav__switch:checked ~ .nav__content {
    transform: translateX(0%);
  }

  .nav__bg {
    background: #00000048;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 64px;
    left: 0;
    opacity: 0;
    transition: all 0.5s;
    pointer-events: none;
    z-index: 50;
    backdrop-filter: blur(2px);
  }

  .nav__switch:checked ~ .nav__bg {
    opacity: 1;
    pointer-events: all;
  }

  .nav__hamburger {
    background: #ffffff99;
    width: 50px;
    display: block;
    height: 50px;
    margin-left: auto;
    position: fixed;
    top: calc(64px + 5px);
    right: 5px;
    z-index: 52;
  }

  .nav__hamburger::before,
  .nav__hamburger::after {
    content: '';
  }

  .nav__hamburger .nav__hamburger-equipment,
  .nav__hamburger::before,
  .nav__hamburger::after {
    width: 30px;
    display: block;
    height: 3px;
    border-radius: 3px;
    background-color: #008fd8;
    transition: 0.3s;
    left: 10px;
    position: absolute;
  }

  .nav__hamburger::before {
    top: 12px;
  }

  .nav__hamburger .nav__hamburger-equipment {
    top: calc(50% - 1.5px);
  }

  .nav__hamburger::after {
    top: calc(100% - 15px);
  }

  .nav__switch:checked ~ .nav__hamburger::before {
    transform: rotate(45deg);
    top: calc(50% - 1.5px);
  }

  .nav__switch:checked ~ .nav__hamburger .nav__hamburger-equipment {
    opacity: 0;
  }

  .nav__switch:checked ~ .nav__hamburger::after {
    transform: rotate(-45deg);
    top: calc(50% - 1.5px);
  }

  /* ナビゲーションメニューオープン時スクロール不可 */
  html:has(.nav__switch:checked) {
    overflow: hidden;
  }
}

@media (max-width: 428px) {
  [id^='n_'] {
    scroll-margin-top: 48px;
  }

  .nav__hamburger {
    top: calc(48px + 5px);
  }

  .nav__content {
    height: calc(100vh - 48px);
    height: calc(100dvh - 48px);
    top: 48px;
  }

  .nav__bg {
    top: 48px;
  }
}

/* -------------------------------------------
 main-header
------------------------------------------- */
.main-header {
  position: relative;
}

.main-header__sns-list {
  display: flex;
  position: absolute;
  top: 17.8%;
  left: 3.8%;
  width: 11.8%;
  gap: min(1.6vw, 17px);
}

.main-header__sns-icon{
  filter: drop-shadow(0 0 3px #0000007a);
}

.main-header__dl-list {
  display: flex;
  position: absolute;
  width: 53%;
  top: 80%;
  left: 3.8%;
  gap: min(1.3vw, 10px);
}

@media (min-width: 769px) {
  .main-header {
    margin-top: -80px;
  }
}

/* -------------------------------------------
 main-content
------------------------------------------- */

.main-content {
  background: #efefef;
  padding: calc((100% - 92%) / 2);
}

/* -------------------------------------------
 main-header
------------------------------------------- */
.main-section{
  background: #fff;
}

.main-section__ttl{
  background: #213551;
  color: #fff;
  font-family: var(--font-main-ttl);
  font-size: clamp(20px, calc(20px + (38 - 20) * (100vw - 375px) / (1100 - 375)), 38px);
  text-align: center;
  padding: 1em 1em 0.8em;
  line-height: 1.2;
  letter-spacing: 0.08em;
}

.main-section__ttl--secondary{
  font-family: var(--font-sub-ttl);
  line-height: 1.2;
  padding: 0.2em 1em 0.3em ;
  text-align: left;
  font-size: clamp(14px, calc(14px + (27 - 14) * (100vw - 375px) / (1100 - 375)), 27px);
  background: linear-gradient(90deg, #90c9ee, #5e9cd4);
  margin-block: 1em;
}

.main-section__inner{
  padding: clamp(14px, calc(14px + (35 - 14) * (100vw - 375px) / (1100 - 375)), 35px);
}

.main-section__lead{
  line-height: 2;
  letter-spacing: 0.08em;
  font-size: clamp(14px, calc(14px + (17 - 14) * (100vw - 375px) / (1100 - 375)), 17px);
}

.main-section__lead--padding-bottom{
  padding-bottom: clamp(14px, calc(14px + (35 - 14) * (100vw - 375px) / (1100 - 375)), 35px);
}

/* -------------------------------------------
 store-info
------------------------------------------- */

/* store-info-wrap  ------------------------- */

.store-info-wrap {
  padding: clamp(14px, calc(14px + (20 - 14) * (100vw - 375px) / (1100 - 375)), 20px);
}

.store-info-wrap--padding-top-none{
  padding-top: 0;
}

/* store-info  ------------------------- */
.store-info__sns-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: flex-end;
}

@media screen and (max-width: 428px) {
  .store-info__sns-list {
    justify-content: flex-start;
}
}
/* -------------------------------------------
 iframe-map
------------------------------------------- */

.iframe-map {
  width: 100%;
  height: 25vh;
  height: 25dvh;
}

/* -------------------------------------------
 x-btn
------------------------------------------- */
.x-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.35rem 0.8rem;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 4px;
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  font-weight: 600;
  white-space: nowrap;

  &:hover {
    background-color: #000;
    color: #fff;

    .x-btn__icon {
      fill: #fff;
    }
  }

  @media screen and (max-width: 428px) {
    padding: 0.3rem 0.6rem;
    font-size: 0.8rem;
  }
}


/* -------------------------------------------
 goods-list
------------------------------------------- */

.goods-list{
  display: grid;
}

@media (min-width:769px){
  .goods-list{
    gap: 19px;
    grid-template-columns: repeat(3,1fr);
  }
}

@media (max-width:768px){
  .goods-list{
    gap: 14px;
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:425px){
  .goods-list{    
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------
 goods-card
------------------------------------------- */

.goods-card{
  border: 1px solid #3f2615;
  padding: clamp(14px, calc(14px + (20 - 14) * (100vw - 375px) / (1100 - 375)), 20px);
  display: grid;
  /* grid-template-rows: subgrid;  
  grid-row: span 5; */
  gap: 5px;
}

.goods-card__tmb{
  display: block;
  width: 95%;
  margin-inline: auto;  
  aspect-ratio: 1/1;
}

.goods-card__tmb--margin-bottom{
  margin-bottom: 5%;
}

.goods-card__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.goods-card__tag-list{
  display: flex;
  gap: 5px;
  align-items: center;
}

.goods-card__tag{
  width: fit-content;
  background: #db0012;
  color: #fff;
  padding: 0.5em 1em;
  min-width: 5em;
  text-align: center;
  line-height: 1.2;  
  border-radius: 5px;
  font-family: var(--font-tag);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.goods-card__ttl{
  font-family: var(--font-base);
  line-height: 1.2;
  font-weight: bold;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: #3f2615;
}

.goods-card__ttl-ver{
  font-size: 0.6em;
  padding-left: 0.5em;
}

.goods-card__type-number{
  font-family: var(--font-base);
  line-height: 1.2;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #3f2615;
}

.goods-card__price{
  font-family: var(--font-base);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: #7a543b;
}

/* -------------------------------------------
 レスポンシブ対応
------------------------------------------- */


@media (min-width:769px){
  .sp{
   display: none;
  }
}

@media (max-width:768px){
  .pc{
   display: none;
  }
}