/* =====================================================
   CHOCOBECO CSS
   ===================================================== */

/* -----------------------------------------------------
   1. GLOBAL - グローバル設定・リセット
   ----------------------------------------------------- */
html {
  overflow-y: unset;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -webkit-appearance: none;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Noto Sans JP', sans-serif;
}

:root {
  scroll-padding: 100px;
  scroll-behavior: smooth;
}

.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* メインテキスト PC/SP 切り替え用ラッパー */
/* （.pc/.sp は !important でinlineを上書きしてしまうため専用クラスを使用） */
.title-pc {
  display: block;
}

.title-sp {
  display: none;
}

@media screen and (max-width: 970px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }
}


/* -----------------------------------------------------
   2. TYPOGRAPHY - フォント設定
   ----------------------------------------------------- */

.ff-min {
  font-family: "Noto Serif JP", serif;
}

.ff-go {
  font-family: 'Noto Sans JP', sans-serif;
}

.ff-rom {
  font-family: "Montserrat", sans-serif;

}

/* -----------------------------------------------------
   3. LAYOUT - レイアウト設定
   ----------------------------------------------------- */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1em;
}

.l-body {
  background-color: #fff;
}

.rectangle-wrap .rectangle.rectangle02 {
  height: 4000px;
}

main {}

.palacontents {
  position: relative;
  z-index: 3;
  /* 高さは JS で palacontents__bg の画像高さを設定 */
}

/* 背景画像：ビューポートに固定、左端と幅は JS で l-body に合わせる */
.palacontents__bg {
  position: fixed;
  top: 0;
  z-index: 3;
  pointer-events: none;
}

.palacontents__bg img {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 6;
  object-fit: cover;
  object-position: center;
}

/* コンテンツ本体は背景より前面 */
.palacontents__contents {
  position: relative;
  z-index: 3;
}

.fv__inner {
  position: relative;
  width: 100%;
  height: 100vh;
}

.fv__title1 {
  position: fixed;
  top: 20px;
  right: 20px;
  writing-mode: vertical-rl;
  /* Safariのはみ出しバグ対策 */
  max-height: calc(100vh - 40px);
}

.fv__title2 {
  position: fixed;
  /* palacontents__bg の左下に固定 */
  bottom: 20px;
  left: 20px;
  /* JS で palaBg.left + 20px に上書きされる */
}

.fv__title1 h1 {
  writing-mode: vertical-rl;
  font-size: 3rem;
  font-weight: normal;
}

.fv__title2 p {
  font-size: 3rem;
  font-weight: bold;
}


.fv__title1 h1,
.fv__title2 p {
  /* マーカー風：インライン表示にしてbox-decoration-breakで各行に背景を適用 */
  display: inline;
  background-color: #fff;
  padding: 0.1em 0.3em;
  line-height: 2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

/* ------------------------------------------------
   lv セクション（fv と同じ動作・スタイル）
   ------------------------------------------------ */
.lv {
  padding-bottom: 0;
}

.lv__inner {
  position: relative;
  width: 100%;
  height: 100vh;
}

.lv__title1 {
  /* fixed 右上 が最終位置。初期は画面外（JS で bottom を操作） */
  position: fixed;
  bottom: -300px;
  right: 20px;
  writing-mode: vertical-rl;
  /* Safariのはみ出しバグ対策 */
  max-height: calc(100vh - 40px);
}

.lv__title2 {
  /* fixed 左下 が最終位置（bottom: 20px）。初期は画面外 */
  position: fixed;
  bottom: -300px;
  left: 20px;
}

.lv__title1 h1 {
  writing-mode: vertical-rl;
  font-size: 3rem;
  font-weight: normal;
}

.lv__title2 p {
  font-size: 3rem;
  font-weight: bold;
}

.lv__title1 h1,
.lv__title2 p {
  display: inline;
  background-color: #fff;
  padding: 0.1em 0.3em;
  line-height: 2;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  white-space: nowrap;
}

.container {
  padding: 0;
}

.wrapper {
  width: 80%;
  margin: 0 auto;
  padding: 2rem 10%;
  background-color: #fff;
}

.single-cont .entry-body {
  padding: 0 0 4.5rem;
  margin: 0;
}


.end_content {
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.rectangle-wrap {
  height: 200px;
}

/* about-detail-sect: JSで高さを 100vh - palaBgImg高さ に設定する */
.about-detail-sect {
  position: fixed;
  bottom: 0;
  /* left と width は JS で l-body に合わせて設定 */
  left: 0;
  width: 100%;
  z-index: 1;
  /* 高さは JS で上書きされる */
  height: 50vh;
}


.palacontents>.rectangle.rectangle-dots,
.palacontents__bg~.rectangle.rectangle-dots,
.rectangle-dots {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
}

.end_content__inner {
  min-height: 100vh;
  position: relative;
}

.end_contents_image {
  /* l-body 内の上下左右中央に fixed 配置（left/top は JS で l-body 基準に計算） */
  position: fixed;
  top: 40vh;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 247px;
  width: 70%;
  z-index: 2;
}

/* =====================================================
   SP（スマートフォン）対応 max-width: 970px
   ===================================================== */
@media screen and (max-width: 970px) {
  .wrapper {
    width: 90%;
    padding: 2rem 5%;
  }

  /* --- PC/SP テキスト切り替え --- */
  .title-pc {
    display: none;
  }

  .title-sp {
    display: block;
  }

  /* --- FV タイトル --- */
  .fv__title1 {
    /* l-header の高さ（46px）＋ body の上端 border（4px）≒ 50px を避けて配置 */
    top: 58px;
    right: 12px;
  }

  .fv__title2 {
    bottom: 12px;
    left: 12px;
  }

  .fv__title1 h1,
  .fv__title2 p {
    font-size: 1.2rem;
    line-height: 1.9;
  }

  /* --- LV タイトル --- */
  .lv__title1 {
    right: 12px;
  }

  .lv__title2 {
    left: 12px;
  }

  .lv__title1 h1,
  .lv__title2 p {
    font-size: 1.2rem;
    line-height: 1.9;
  }

  .rectangle-dots {
    height: 100vh;
  }

  /* --- end_content ロゴ --- */
  .end_contents_image {
    width: 60%;
    max-width: 247px;
    top: 32vh;
  }
}






/* -----------------------------------------------------
  銀座のつばめ対応
----------------------------------------------------- */
.article-products-wrap {
  margin-top: 4rem;
}
.article-products-wrap h2.article-products-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}
.article-products-wrap h2.article-products-title a {
  overflow: hidden;
}
.article-products-wrap h2.article-products-title br {
  display: none;
}
.article-products-wrap h2.article-products-title img {
  height: 2.5rem;
  margin-right: 1rem;
}
@media screen and (max-width: 576px) {
  .article-products-wrap h2.article-products-title img {
    height: min(5.6vw, 24px);
    margin-right: min(0.6vw, 10px);
  }
}
.article-products-wrap h2.article-products-title img.brand-logo {
  height: 4.5rem;
}
.article-products-wrap h2.article-products-title span {
  line-height: 1;
}
.article-products-wrap h2.article-products-title span.cross {
  margin-right: 0.8rem;
}
.article-products-wrap .article-products-list {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.article-products-wrap .article-products-list > li {
  width: calc((100% - 4rem) / 2);
  margin-bottom: 4rem;
}
.article-products-wrap .article-products-list > li br {
  display: none;
}
@media screen and (max-width: 576px) {
  .article-products-wrap .article-products-list > li {
    width: 100%;
    max-width: 286px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3rem;
  }
}
.article-products-wrap .article-products-list > li a.article-products-img {
  display: block;
  overflow: hidden;
}
.article-products-wrap .article-products-list > li a.article-products-img img {
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
.article-products-wrap .article-products-list > li a.article-products-img:hover img {
  -webkit-transform: scale(1.1, 1.1);
          transform: scale(1.1, 1.1);
}
.article-products-wrap .article-products-list > li h3 {
  font-family: "Noto Serif JP", serif;
  line-height: 1.2;
  margin: 1.4rem 0 1rem;
  font-size: 1.8rem;
}
.article-products-wrap .article-products-list > li p {
  font-family: "Noto Serif JP", serif;
  line-height: 1.5;
  font-size: 1.4rem;
}
@media screen and (max-width: 576px) {
  .article-products-wrap .article-products-list > li p {
    font-size: 13px;
  }
}
.article-products-wrap .article-products-list > li .btn_common a {
  position: relative;
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 0.6rem 0;
  -webkit-transition: 0.2s;
  transition: 0.2s;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #231815;
  color: #231815;
  width: 100%;
  max-width: 19rem;
  border-radius: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 1rem;
}
.article-products-wrap .article-products-list > li .btn_common a::after {
  content: "";
  background-image: url(../../assets/images/tsubame/arrow_horizontal.svg);
  margin-left: 10px;
  display: block;
  width: 3.8rem;
  height: 10px;
  background-repeat: no-repeat;
  background-size: contain;
  -webkit-transition-delay: 0.1s;
          transition-delay: 0.1s;
}
.article-products-wrap .article-products-list > li .btn_common a:hover {
  color: #FFF;
  background-color: #231815;
}
.article-products-wrap .article-products-list > li .btn_common a:hover::after {
  background-image: url(../../assets/images/tsubame/arrow_horizontal_wh.svg);
}
.article-products-wrap .banner_wrap {
  margin-top: 1rem;
}
.article-products-wrap .banner_wrap a {
  display: block;
}
.article-products-wrap .banner_wrap a:not(:last-child) {
  margin-bottom: min(3vw, 40px);
}
.article-products-wrap .banner_wrap a img {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: 100%;
}
.article-products-wrap .banner_wrap a:hover img {
  opacity: 0.5;
}