@charset "UTF-8";
/* 
フェードイン
=================================== */
.js-fade {
  opacity: 0;
  transition-duration: 1200ms;
  transition-property: opacity, transform;
  transform: translate(0, 80px); /* 出現位置 */
}
.js-fadein {
  /*要素を表示させる*/
  opacity: 1;
  visibility: visible;
  /*元の位置に戻す*/
  transform: translate(0, 0);
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 820; /* 比率を維持 */
  overflow: hidden;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.slider img.active {
  opacity: 1;
}

/* ◀︎▶︎ ボタン */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #2a2a2a;
  border: none;
  font-size: 58px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
}

.slider__btn.prev {
  left: 50px;
}

.slider__btn.next {
  right: 50px;
}
.sp-links__img{
    width: 50px;
    height: auto;
}
.sp-links__text{
    color: #cb1719;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 25px;
}
.sp-links__item{
    text-align: center;
}
/* 既存の .sp-links 定義を上書き（sticky→fixed） */
.sp-links{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;                     /* 画面下に固定 */
  z-index: 1000;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0,0,0,.06); /* 下固定なので影は上向きに */
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 150px;
  padding-block: 12px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom)); /* iOSノッチ対策 */
}

/* sticky時の余計な指定は外す（残っていたら無効化） */
.sp-links { top: auto; margin-top: 0; }

/* 本文が隠れないように下余白（固定値版：高さがほぼ一定ならこれでOK） */
:root { --sp-links-h: 90px; } /* 想定の合計高さに合わせて調整 */
body { padding-bottom: calc(var(--sp-links-h) + env(safe-area-inset-bottom)); }

@media screen and (min-width: 769px){
  :root { --sp-links-h: 131px; }
}

/* 余白が詰まる場合は微調整用（任意） */
.sp-links { margin-top: 0; }

.about-container{
    background-image: url(../img/top/top_img-1.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    aspect-ratio: 1920 / 710;
}
.about-section{
    max-height: 710px;
    padding-block: 90px;
}
.about-section__header{
    text-align: center;
}
.about-section__subtitle{
    font-size: clamp(17px, calc(17px + (25 - 17) * ((100vw - 375px) / (1920 - 375))), 25px);
    color: #2a2a2a;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    letter-spacing: 0.2em;
}
.about-section__title{
    font-size: clamp(24px, calc(24px + (58 - 24) * ((100vw - 375px) / (1920 - 375))), 58px);
    font-weight: bold;
    color: #2a2a2a;
    font-family: 'Noto Sans JP', sans-serif;
    margin-top: 10px;
    letter-spacing: 0.1em;
}
.about-section__description{
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 375px) / (1920 - 375))), 18px);
    color: #2a2a2a;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    text-align: center;
    margin-top: 64px;
}

 .about-section__link-wrapper {
  text-align: center; /* ボタンを中央寄せにしたい場合 */
  margin: 50px auto 0;
}
.about-section__link:hover {
  background-color: #cb1719;
}
.about-section__link {
  display: block; /* aタグをブロック化でクリック範囲拡大 */
  background-color: #2a2a2a;
  color: #ffffff;
  text-decoration: none;
  font-size: clamp(14px, calc(14px + (20 - 14) * ((100vw - 375px) / (1920 - 375))), 20px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding: 15px 104px 20px 104px;
  position: relative; /* ::afterの基準 */
  width: fit-content;
  margin: 0 auto; /* 親内で中央寄せ */
  transition: 0.3s;
}

.about-section__link::after {
  content: "▶︎";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 12px;
}
.about-section__link-arrow{
    margin-left: 80px;
    font-size: 12px;
}
.rental-item__btn-wrapper{
    text-align: center; /* ボタンを中央寄せにしたい場合 */
  margin: 50px auto 0;
}
.rental-item__btn{
    display: block; /* aタグをブロック化でクリック範囲拡大 */
  background-color: #cb1719;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: bold;
  letter-spacing: 0.2em;
    padding: 17px 72px;
  position: relative; /* ::afterの基準 */
  width: fit-content;
  margin: 0 auto; /* 親内で中央寄せ */
  transition: 0.3s;
}
.rental-item__btn::after{
    content: "▶︎";
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 12px;
}
.rental-item__btn:hover {
  background-color: #2a2a2a;
}
/* レンタル機材 */
.rental-section{
    background-color: #f2f2f2;
}
.rental {
      max-width: 1520px;
    padding-inline: 20px;
  margin: 0 auto;
  padding-block: 100px;
  font-family: "Noto Sans JP", sans-serif;
  color: #2a2a2a;
}

.rental__title {
  text-align: center;
  font-size: clamp(24px, calc(24px + (58 - 24) * ((100vw - 375px) / (1920 - 375))), 58px);
  font-weight: bold;
  letter-spacing: 0.1em;
}

.rental-item {
  display: flex;
  align-items: center;
  padding: 60px 0;
      border-top: 2px solid #bababa;
}

.rental-item:first-of-type {
  border-top: none;
}

.rental-item--reverse {
  flex-direction: row-reverse;
}
.rental-item01{
    gap: clamp(96px, calc(96px + (130 * ((100vw - 1280px) / 640))), 226px);
}
.rental-item02{
    gap: clamp(96px, calc(96px + (130 * ((100vw - 1280px) / 640))), 109px);
}
.rental-item03{
    gap: clamp(96px, calc(96px + (130 * ((100vw - 1280px) / 640))), 218px);
}
.rental-item04{
    gap: clamp(96px, calc(96px + (130 * ((100vw - 1280px) / 640))), 129px);
}
.rental-item__image {
  max-width: 630px;
  height: auto;
}

.rental-item__content {
  flex: 1;
  max-width: 491px;
}

.rental-item__en {
  font-size: clamp(20px, calc(20px + (52 - 20) * ((100vw - 375px) / (1920 - 375))), 52px);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.rental-item__jp {
  font-size: clamp(18px, calc(18px + (25 - 18) * ((100vw - 375px) / (1920 - 375))), 25px);
  font-weight: 400;
  letter-spacing: 0.1em;
  margin-top: 24px;
}

.rental-item__text {
  font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 375px) / (1920 - 375))), 16px);
  font-weight: 400;
  line-height: 24px;
    margin-top: 28px;
    letter-spacing: 0.1em;
}

/* 1) Grid子要素を縮ませて横はみ出し抑止（超重要） */
.goods-content { 
  /* 念のため */
  min-width: 0;
}
.goods-visual,
.goods-text {
  min-width: 0;   /* ←これが効くケースが多い */
}

/* 2) 枠コンポーネント内でのオーバーフローをカット */
.goods-frame {
  /* clipが使える環境では余計なスクロールバーを出さない */
  overflow: clip;              /* 近代ブラウザ */
  /* 古い環境向けフォールバック */
  overflow-x: hidden;
}
/* ---------------------------
  共通初期設定
---------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}
/* ---------------------------
  調整用（枠画像のスライス・太さ）
---------------------------- */
:root {
  /* frame.png の四辺の“切り分け幅(px)”を設定（角の大きさに合わせて調整） */
  --frame-slice: 64;
  /* 見た目上の枠の太さ（表示上の幅） */
  --frame-width: 40px;
}

/* ---------------------------
  全体
---------------------------- */
.goods-section {
  padding: 100px 20px 84px;
  background: #fff;
  display: grid;
  place-items: center;
  font-family: "Noto Sans JP", sans-serif;
}

.goods-inner {
  max-width: 1100px;
  margin: 0 auto;
padding: 0 24px 24px;
}

/* ---------------------------
  枠（border-imageを使用）
---------------------------- */
.goods-frame {
    /* 透明ボーダーで領域を先に確保（これ重要） */
  border: solid var(--frame-width) transparent;

  /* 完全指定：slice / width / outset repeat */
  border-image: url("../img/top/frame.png")
                var(--frame-slice)
                / var(--frame-width)
                / 0
                round;   /* ← stretch だと細線が潰れやすい */

                max-width: 1223px;
  width: 100%;
  margin: 0 auto;
}

/* border-image が未対応/読み込み失敗の簡易フォールバック */
@supports not (border-image: url("../img/top/frame.png") 30) {
  .goods-frame {
    border: 2px solid #111;
  }
}

/* ---------------------------
  見出し・レイアウト
---------------------------- */
.goods-title {
  text-align: center;
  font-size: clamp(24px, calc(24px + (60 - 24) * ((100vw - 375px) / (1920 - 375))), 60px);
  letter-spacing: 0.05em;
  font-weight: 500;
  margin: 0 0 5px;
  color: #2a2a2a;
}

.goods-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}

.goods-visual img {
  max-width: 449px;
  width: 100%;
  height: auto;
  display: block;
  margin-inline: auto;
}

.goods-text {
  text-align: left;
  font-size: 16px;
  line-height: 1.9;
}

.goods-lead {
  font-size: clamp(16px, calc(16px + (35 - 16) * ((100vw - 375px) / (1920 - 375))), 35px);
  font-weight: 400;
  margin: 0 0 10px;
  color: #2a2a2a;
}
.goods-lead::after {
  content: "！";
  font-style: italic;
}
.goods-text p{
    font-size: clamp(14px, calc(14px + (16 - 14) * ((100vw - 375px) / (1920 - 375))), 16px);
    color: #2a2a2a;
    max-width: 430px;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* ---------------------------
  ボタン
---------------------------- */
.goods-item__btn-wrapper{
    margin-top: 33px;
}
.goods-item__btn{
    padding: 10px 72px;
    max-height: 50px;
}

/* ---------------------------
  レスポンシブ
---------------------------- */
@media (max-width: 820px) {
  .goods-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .goods-text { text-align: left; } /* 日本語の読みやすさ優先で左寄せ */
}

@media screen and (max-width: 1280px){
    .slider__btn{
        font-size: 50px;
    }
    .slider__btn.prev{
        left: 10px;
    }
    .slider__btn.next {
        right: 10px;
    }
    .about-container{
        aspect-ratio: 1280 / 680;
        background-image: url(../img/top/top_img-1_1280.jpg);
    }
    .about-section{
        padding-top: 30px;
        padding-inline: 20px;
    }
    .rental-item{
        display: block;
        width: fit-content;
        margin: 0 auto;
    }
}
@media screen and (max-width: 768px){
    .slider{
        aspect-ratio: 1280 / 1640;
    }
    .about-section__description{
        font-size: 14px;
        margin-top: 30px;
    }
    .sp-links__img{
        width: 30px;
    }
    .sp-links__text{
        font-size: 16px;
    }
    .about-section__link{
        padding: 15px 84px 15px 84px;
}
    .goods-item__btn{
        padding: 10px 52px;
    }
}
@media screen and (min-width: 1280px){
    .sp-links{
        display: none;
    }
    
}
@media screen and (min-width: 769px){
    .sp-only{
        display: none;
    }
  }
  /* PCでは固定バー非表示＋下余白ゼロにする（最後に置く） */
@media (min-width: 1280px){
  .sp-links{ display: none; }
  :root { --sp-links-h: 0px; }
  body { padding-bottom: 0 !important; }  /* 念のため */
}