/* =========================================================
   PRIMA GAKKI 80th Anniversary - Original Flute Bag
   ========================================================= */


/* =========================================
   Hero image (PC & SP)
   ========================================= */

.title_80th {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.title_80th_bg_flbag {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Logo overlay */
.title_80th_logo {
  position: absolute;
  right: 24px;
  bottom: 20px;
  width: 140px;
  height: auto;
}

@media screen and (max-width: 768px) {

  .title_80th_bg_flbag {
    height: 260px;        /* SP hero height */
  }

  .title_80th_logo {
    width: 110px;
    right: 16px;
    bottom: 16px;
  }
}

/* images */
img {
  max-width: 100%; height: auto;
}

/* spacing helpers */
.section { margin-top: 80px; }
.section--end { margin-bottom: 30px; }
.block { margin-top: 40px; }
.block-sm { margin-top: 20px; }

/* section label */
.inline-block_bold {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .04em;
  margin: 24px 0 6px;
}


/* =========================
   Product grid (PC)
   ========================= */

.box_flbag > .box_mds {
  margin-bottom: 8px;
  padding-bottom: 0;
}

.box_flbag_c {
  padding-top: 0;
  margin-top: 0;
}

.box_flbag_c_h60 {
  height: auto;
  width: 100%;
  margin: 10px 0;
  padding-top: 4px;
}

.box_flbag_c2 {
  display: grid;
  grid-template-columns: 220px 220px 270px;
  gap: 15px;
}

.box_flbag_c2l {
  grid-column: 1 / 3;
}

.box_flbag_c2_r {
  grid-column: 3 / 4;
}

.flbag-wide {
  margin: 45px 0 160px;
}

.flbag-wide img {
  display: block; width: 100%;
}

/* caption overlay */
.thumbcap {
  position: relative;
  overflow: hidden;
}

.thumbcap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 35%;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.0) 100%
  );
}

.thumbcap--flbag p {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 1;
}

.thumbcap--no-caption::after {
  display: none;
}

.thumbcap img {
  display: block; width: 100%;
}

.box_flbag_c2l .thumbcap {
  margin-top: 120px;
}

.thumbcap--flbag p {
  position: absolute;
  right: 10px;
  bottom: 8px;
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .05em;
  font-feature-settings: "palt";
  text-align: right;
  color: #c8b18b;
}


/* =========================
   Right column image with caption overlay
   ========================= */

.thumbcap--right {
  margin: 24px 0 0;
}

.thumbcap--right img {
  display: block;
  width: 100%;
  height: auto;
}

/* Caption (override for right column) */
.thumbcap--right p {
  left: 0;
  right: 0;
  bottom: 6px;
  padding: 0 8px;
  text-align: right;
  color: #fff;
  font-size: 12px;
  letter-spacing: .04em;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}


/* =========================
   Head bars (flbag / press)
   ========================= */

.flbag_mds,
.pr_flbag_mds {
  width: 100%;
  max-width: 740px;
  box-sizing: border-box;
  margin: 0;
  padding: 8px 0 5px 15px;
  background: linear-gradient(to bottom right, #8a6d4d, #ccb9aa);
}

.flbag_mds {
  border-radius: 2px;
}

.pr_flbag_mds {
  border-radius: 3px 3px 0 0;
}

.flbag_mds p,
.pr_flbag_mds p {
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #fff;
}

.flbag_mds p {
  font-weight: 700;
  letter-spacing: .02em;
}

.pr_flbag_mds p {
  font-family: "montserrat","source-han-sans-japanese",sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
  font-feature-settings: "palt";
}

.flbag-lead {
  margin: 0;
  font-family: "montserrat", "source-han-sans-japanese", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #876d4a;
  letter-spacing: .02em;
  line-height: 1.4;
}

/* Product description */
.flbag-desc {
  margin-top: 30px;
  margin-bottom: 6px;
  max-width: 30em;
}

.flbag-desc p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: .01em;
}

.flbag-desc p + p {
  margin-top: 10px;
}

/* price chips */
.inline-block_flbag_os,
.inline-block_flbag_tt{
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 8px 8px 10px;
  border-radius: 3px;
}

.inline-block_flbag_os { background: rgba(237,204,225,0.3); }
.inline-block_flbag_tt { background: rgba(197,185,145,0.2); }

.flbag_type {
  display: inline-block;
  padding-left: 5px;
  font-size: 12.5px;
}


/* =========================
   Circle windows (detail images)
   ========================= */

.circle-group {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 18px 0 0;
}

.circle-group .circle {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
}

.circle-group .circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* placement */
.circle-group .c1 {
  top: 0;
  left: 105px;
  background: rgba(237, 204, 225, 0.3);
}

.circle-group .c2 {
  top: 120px;
  left: 0;
  background: rgba(237, 204, 225, 0.3);
}

.circle-group .c3 {
  top: 0;
  left: 105px;
  background: rgba(197,185,145,0.2);
}

.circle-group .c4 {
  top: 120px;
  left: 0;
  background: rgba(197,185,145,0.2);
}


/* =========================
   Note at end of product section
   ========================= */

.flbag-note{
  margin: 28px auto 0;
  max-width: 740px;
  padding-top: 14px;
  border-top: 1px solid #e6dfd5;
  font-size: 11.5px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: #6f6a63;
  text-align: center;
}


/* =========================
   Press cards (PC)
   ========================= */

.box_press_n {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
}

/* Press item spacing: add space before the next heading */
#press .box_press_n + .block-sm.pr_flbag_mds {
  margin-top: 15px;
}

.box_press_r {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 20px;
  margin: 0;
  padding: 10px;
  background: #fbfbfb;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 3px 3px;
}

.box_press_r:hover {
  background: #f2f2f2;
}

.box_press_rl {
  display: flex;
  justify-content: center;
}

.box_press_rr {
  margin: 2px 0;
  font-size: 12.5px;
  line-height: 1.7;
  text-align: left;
}

.image_size_tate {
  display: block;
  height: 180px;
  width: auto;
}


/* =========================================================
   Shared note blocks used on this page
   ========================================================= */

.box_solo_c_h60 {
  height: auto;
  width: 100%;
  margin: 10px 0;
}


/* =========================
   SP (<= 768px)
   ========================= */

@media (max-width: 768px) {

  .flbag_mds,
  .pr_flbag_mds {
    max-width: none;
    padding: 8px 10px 6px;
  }

  .box_flbag_c2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .box_flbag_c2l,
  .box_flbag_c2_r {
    grid-column: auto;
  }
  .flbag-wide {
    margin-bottom: 12px;
  }

  .box_flbag_c2l .thumbcap {
    margin-top: 14px;
  }

  .box_press_n { gap: 12px; }

  .box_press_r {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
  }

  .image_size_tate {
    height: auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .circle-group {
    width: clamp(220px, 78vw, 270px);
    height: clamp(220px, 78vw, 270px);
    margin: 14px auto 0;
  }

  /* circle sizes scale with the container */
  .circle-group .circle {
    width: 56%;
    height: 56%;
  }

  /* keep the same relative layout */
  .circle-group .c1 {
    top: 0;
    left: 44%;
  }

  .circle-group .c2 {
    top: 44%;
    left: 0;
  }
}


/* =========================================================
   Hero (flute bag) - tablet tuning
   Keep it taller on iPad / tablets
   ========================================================= */

@media (min-width: 601px) and (max-width: 900px) {
  .title_80th_bg_flbag {
    height: 520px;
    object-position: center;
  }
}
