/* ========================================
   EQUIPMENT：ページ全体
   ヘッダー・フッターは共通のstyle.cssを使用
======================================== */
.eq-page {
  background: #ededee;
  color: #111;
  font-family: "Noto Serif JP", serif;
}

.eq-page * {
  box-sizing: border-box;
}

.eq-page h1,
.eq-page h2,
.eq-page h3,
.eq-page h4,
.eq-page p {
  margin: 0;
}

.eq-page img,
.eq-page picture {
  display: block;
  max-width: 100%;
}

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

/* ========================================
   メイン画像とEQUIPMENTのタイトル
======================================== */
.eq-fv {
  position: relative;
  overflow: hidden;
}

.eq-fv > picture > img {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(8px);
  animation: fvImgShow 2s cubic-bezier(.22,.61,.36,1) forwards;
}

.eq-fv h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 94%;
  opacity: 0;
  filter: blur(8px);
  animation: fvTitleShow 1.6s cubic-bezier(.22,.61,.36,1) .9s forwards;
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: clamp(30px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .22em;
  text-align: center;
}

.eq-fv-note {
  position: absolute;
  right: 12px;
  bottom: 8px;
  max-width: calc(100% - 24px);
  color: #fff;
  font-size: 10px;
  line-height: 1.5;
  text-align: right;
  text-shadow: 0 1px 4px #000;
}

/* 本文の白い背景と左右の余白 */
.eq-content {
  width: min(1100px, 86%);
  margin: 0 auto;
  padding: 85px 50px 130px;
  background: #fff;
}

.eq-lead {
  margin-bottom: 120px !important;
  font-size: clamp(20px, 2.3vw, 30px);
  line-height: 1.8;
  letter-spacing: .15em;
  text-align: center;
}

/* ========================================
   KITCHENなどの英語見出し
   長い見出しは自然に折り返す
======================================== */
.eq-heading {
  margin-bottom: 36px !important;
  color: #4e6fb7;
  font-family: "Cinzel", serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: .12em;
  text-align: center;
  overflow-wrap: break-word;
}

.eq-section + .eq-section {
  margin-top: 100px;
}

/* ========================================
   設備一覧：PCは4列
======================================== */
.eq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 40px;
  row-gap: 34px;
  align-items: start;
}

.eq-card {
  min-width: 0;
}

.eq-card h3 {
  margin-top: 7px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.eq-card-note {
  margin-top: 9px !important;
  font-size: 9px;
  line-height: 1.2;
}

/* ========================================
   SERVICE：宅配ボックスなど
======================================== */
.eq-rule-heading {
  border-bottom: 1px solid #555;
  margin-bottom: 12px !important;
  padding-bottom: 8px;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

.eq-service-lead {
  margin-bottom: 28px !important;
  font-size: 15px;
  line-height: 2;
  text-align: center;
}

.eq-locker {
  display: grid;
  grid-template-columns: 52% 1fr;
  gap: 34px;
  align-items: start;
}

.eq-page h4 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}

.eq-locker p,
.eq-services p {
  font-size: 15px;
  line-height: 2;
}

.eq-locker h4:not(:first-child),
.eq-services h4:not(:first-child) {
  margin-top: 30px;
}

.eq-locker-detail {
  display: grid;
  grid-template-columns: 1fr 50%;
  gap: 14px;
  align-items: start;
}

.eq-services {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  margin: 40px 0 30px;
}

.eq-services img {
  margin-top: 26px;
}

.eq-page .eq-small {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.7;
}

.eq-internet {
  margin-top: 70px;
}

.eq-internet picture {
  margin-top: 24px;
}

/* ========================================
   SECURITY
======================================== */
.eq-security-lead {
  margin-bottom: 30px !important;
  font-size: 30px;
  line-height: 1.8;
  letter-spacing: .12em;
  text-align: center;
}

.eq-security-system {
  margin-top: 30px;
}

/* ========================================
   共通top.jsによるスクロール表示：移動せずふわっと表示
======================================== */
.eq-page .js-scroll-fade {
  opacity: 0;
  transform: none;
  filter: none;
  transition: opacity 1s ease-out;
}

.eq-page .js-scroll-fade.is-show {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ========================================
   スマホ：画面幅767px以下
======================================== */
@media (max-width: 767px) {
  .eq-content {
    width: 100%;
    padding: 45px 20px 75px;
  }

  .eq-fv h1 {
    font-size: clamp(28px, 8vw, 48px);
    letter-spacing: .12em;
  }

  .eq-fv-note {
    right: 8px;
    bottom: 6px;
    font-size: 8px;
  }

  .eq-lead {
    margin-bottom: 60px !important;
    font-size: 22px;
    letter-spacing: .08em;
  }

  .eq-heading {
    margin-bottom: 24px !important;
    font-size: 23px;
    letter-spacing: .08em;
  }

  .eq-section + .eq-section {
    margin-top: 65px;
  }

  /* 設備一覧：スマホは2列 */
  .eq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 28px;
  }

  .eq-card h3 {
    margin-top: 4px;
    font-size: 12px;
  }

  .eq-card-note {
    font-size: 10px;
  }

  .eq-rule-heading {
    font-size: 18px;
  }

  .eq-service-lead {
    font-size: 13px;
    text-align: left;
  }

  .eq-locker,
  .eq-services {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eq-services {
    margin-top: 30px;
  }

  .eq-page h4 {
    font-size: 17px;
  }

  .eq-locker p,
  .eq-services p {
    font-size: 13px;
  }

  .eq-page .eq-small {
    font-size: 10px;
  }

  .eq-internet {
    margin-top: 50px;
  }

  .eq-security-lead {
    font-size: 20px;
    letter-spacing: .08em;
  }

  .eq-security-system {
    margin-top: 55px;
  }
}

/* 動きを減らす端末設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .eq-fv > picture > img,
  .eq-fv h1 {
    animation: none;
    opacity: 1;
    filter: none;
  }

  .eq-fv > picture > img {
    transform: none;
  }

  .eq-page .js-scroll-fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* PCでは改行しない */
.eq-sp-br {
  display: none;
}

/* スマホだけ改行する */
@media (max-width: 767px) {
  .eq-sp-br {
    display: inline;
  }
}

/* SP first view: match the full-screen landplan/modelroom pages. */
@media (max-width:767px){
  .eq-page .eq-fv{
    height:100vh;
    height:100svh;
    min-height:0;
    overflow:hidden;
    line-height:0;
  }
  .eq-page .eq-fv > picture{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
  }
  .eq-page .eq-fv > picture > img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
  }
  .eq-page .eq-fv-note{
    bottom:calc(8px + env(safe-area-inset-bottom,0px));
  }
}

/* Photo note below the kitchen equipment grid. */
.eq-page .eq-section .eq-section-note{
  margin:20px 0 0 !important;
  font-size:12px;
  line-height:1.8;
  text-align:left;
}
@media screen and (max-width:767px){
  .eq-page .eq-section .eq-section-note{font-size:10px;}
}
