/* =====================
   Reset CSS
===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  font-size: 62.5%;
  /* WordPressテーマの余白を上書き */
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

p, li, dt, dd {
  line-height: 1.7;
}

/* =====================
   変数
===================== */
:root {
  /* --ink:     #12100d;
  --cream:   #f5f0e8;
  --gold:    #c9a84c;
  --muted:   #7a6e65; */
  --frame-w: min(500px, 92vw);
  --frame-h: 540px;
}

/* =====================
   ページ全体
===================== */
html, body {
  line-height: 1.5;
  color: #000000;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: .05em;
}

.slider-section {
  min-height: 100vh;
  background-image: url(../../img/lp_swipe/bg.webp);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

/* =====================
   固定枠
===================== */
.slider-frame {
  width: 500px;
  height: 788px;
  overflow: hidden;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 0 15px rgba(0,0,0,.2);
}

/* =====================
   縦 Swiper
===================== */
.swiper-v {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.swiper-v > .swiper-wrapper > .swiper-slide {
  height: 98%;
}

/* =====================
   横スライダーあり：h-swiper-wrap
===================== */
.h-swiper-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.swiper-h {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-h > .swiper-wrapper > .swiper-slide {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* =====================
   横スライダーなし：slide-single
===================== */
.slide-single {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* =====================
   スライド内：画像
===================== */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


/* =====================
   スライド内：コンテンツ（ボタンなど）
===================== */
.slide-content {
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  padding: 32px 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.slide-content-link {
  top: inherit;
  bottom: 17%;
}

/* =====================
   スライド内ボタン
===================== */
.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  line-height: 1;
}
.slide-btn:hover {
  opacity: .7;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.5); */
}
.slide-btn:active {
}
.slide-btn svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}


/* =====================
   横スライダー Arrow
===================== */
.swiper-h-prev,
.swiper-h-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,1);
  background: rgba(204,204,204,0.9);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .3s;
  color: #333;
}
.swiper-h-prev { left: 5px; }
.swiper-h-next { right: 5px; }

.swiper-h-prev:hover,
.swiper-h-next:hover {
  opacity: .7;
}

.swiper-h-prev.swiper-button-disabled,
.swiper-h-next.swiper-button-disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.swiper-h-prev svg,
.swiper-h-next svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* =====================
   入場アニメーション
===================== */
.swiper-slide-active .slide-content {
  animation: fadeUp 0.5s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================
   会社概要スライド（内側スクロール）
===================== */
.slide-about {
  height: 100%;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.slide-about::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-scroll {
  position: relative;
  z-index: 1;
  height: 100%;
  overflow-y: auto;
  padding: 20px 0 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.about-scroll::-webkit-scrollbar {
  display: none;
}

.about-label {
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
  opacity: 0.8;
}

.about-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 600;
  color:#000;
  padding-bottom: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.company-table {
  width: 100%;
}
.company-table tr {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.company-table tr:last-child {
  border-bottom: none;
}
.company-table th {
  text-align: left;
  padding: 13px 0;
  width: 100px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  vertical-align: top;
  white-space: nowrap;
}
.company-table td {
  padding: 13px 0 13px 16px;
  font-size: 12px;
  line-height: 1.8;
}
/* 会社概要内フッター */
.about-footer {
  margin-top: 32px;
  /* background-color: #eee; */
}
.about-footer-copy {
  padding: 10px 0;
  font-size: 1.4rem;
  text-align: center;
  background-color: #eee;
}

/* =====================
   追従ボタン（固定枠の下に固定表示）
===================== */
.sticky-cta {
  position: fixed;
  bottom: auto;
  left: 50%;
  width: 500px;
  top: calc((10px + 779px + 24px) * var(--swiper-scale, 1));
  transform: translateX(-50%) scale(var(--swiper-scale, 1));
  transform-origin: top center;
}

.sticky-cta a {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transition: opacity 0.2s;
}
.sticky-cta a:hover {
  opacity: 0.85;
}
.sticky-cta img {
  width: 100%;
  height: auto;
  display: block;
}


/* =====================
   レスポンシブ（767px以下）
   100vh に収めつつ、スライダー周囲に15pxの余白を確保
===================== */
@media (max-width: 767px) {

  .slider-section {
    background-size: cover;
    background-position: center;
    min-height: 100vh;
  }

  /*
    フレームサイズ:
    - 幅: 100vw - 左右余白(15px × 2)
    - 高さ: 幅 × 元のアスペクト比(786/500) が 100vh - 上余白(15px) - 追従ボタン(60px) を超える場合は縮小
  */
  .slider-frame {
    /* width: calc(100vw - 20px); */
    width: 100%;
    height: min(
      calc((100vw - 30px) * 788 / 500),
      calc(100vh - 15px - 60px)
    );
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: none;
  }
  .slide-img {
    object-fit: contain;
  }

  /* 追従ボタン: フレームの直下 8px */
  .sticky-cta {
    width: calc(100vw - 30px);
    top: calc(
      15px
      + min(
        calc((100vw - 20px) * 788 / 500),
        calc(100vh - 15px - 60px)
      )
      + 8px
    );
    left: 50%;
    transform: translateX(-50%);
  }

  /* arrow サイズ調整 */
  .swiper-h-prev,
  .swiper-h-next {
    width: 32px;
    height: 32px;
  }
  .swiper-h-prev { left: 8px; }
  .swiper-h-next { right: 8px; }
  .swiper-h-prev svg,
  .swiper-h-next svg {
    width: 13px;
    height: 13px;
  }

  /* 会社概要調整 */
  .about-scroll {
    padding: 28px 0 0;
    /* width: 90%;
    margin: 0 auto; */
  }
  .about-title {
    font-size: 18px;
  }
  .company-table th {
    width: 80px;
    font-size: 10px;
  }
  .company-table td {
    font-size: 11px;
    padding-left: 10px;
  }

  /* スライド内コンテンツ */
  .slide-content {
    padding: 20px 20px 24px;
    gap: 10px;
  }

}

.slide-about .lp_block07 .shop {
  font-size: 2.2rem;
  padding: 5px 10px;
}
.slide-about .lp_block07_in {
  width: 90%;
  margin: 0 auto 20px;
}
.slide-about .lp_block07 .title {
  padding: 40px 0;
  font-size: 5rem;
}
.slide-about .lp_block07 .title span {
  font-size: 1.4rem;
}
.slide-about .lp_block07_in p {
  padding: 0 4% 5px;
  font-size: 1.6rem;
}
.slide-about .lp_block07_in p span:nth-of-type(1) {
  width: 23%;
}

.show_sp {
    display: none !important;
  }

@media (max-width: 767px) {
  .show_sp {
    display: block !important;
  }
  .slide-about .lp_block07 .title {
    padding: 40px 0;
    font-size: 3rem;
  }
  .slide-about .lp_block07 .shop {
    font-size: 1.6rem;
    padding: 5px;
  }
  .slide-about .lp_block07_in {
    width: 90%;
    margin: 0 auto 20px;
  }
  .slide-about .lp_block07 .title span {
    font-size: 1.4rem;
  }
  .slide-about .lp_block07_in p {
    padding: 0 4% 5px;
    font-size: 1.3rem;
    font-weight: 300;
  }

  .slide-about .lp_block07_in p span:nth-of-type(1) {
    width: 26%;
  }
}