/*
Theme Name: well-being-fitness
Author: well-being-fitness
Version: 1.0
*/

/* オプション料金表　*/
div.-rw_wellbe-option {
  display: grid;
  place-content: center;
  max-width: 1000px;
  width: 100%;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
  grid-template:
    'pt quo1 prc1 cont1'
    'pt quo2 prc2 cont1'
    'gl quo3 prc3 cont1'
    'ib quo4 prc4 cont2'
    'pr quo5 prc5 cont3'
    'pr quo6 prc6 cont3'
    'pr quo7 prc7 cont3'
    'lc quo8 prc8 cont4'
    / 25% 25% 25% 25%;
  margin-inline: auto;
}
div.-rw_item {
  font-size: 16px;
  padding: 1rem 0.25rem 1rem 0.5rem;
  color: #333;
  border-right: 2px solid #ccc;
  border-bottom: 2px solid #ccc;
  background-color: #fff;
  text-align: center;
  place-content: center;
}
div.-rw_pt {
  grid-area: pt;
  background-color: #f5f5f5;
  font-weight: 700;
}
div.-rw_gl {
  grid-area: gl;
  background-color: #f5f5f5;
  font-weight: 700;
}
div.-rw_ib {
  grid-area: ib;
  background-color: #f5f5f5;
  font-weight: 700;
}
div.-rw_pr {
  grid-area: pr;
  background-color: #f5f5f5;
  font-weight: 700;
}
div.-rw_lc {
  grid-area: lc;
  background-color: #f5f5f5;
  font-weight: 700;
}
div.-rw_quo1 {
  grid-area: quo1;
}
div.-rw_quo2 {
  grid-area: quo2;
}
div.-rw_quo3 {
  grid-area: quo3;
}
div.-rw_quo4 {
  grid-area: quo4;
}
div.-rw_quo5 {
  grid-area: quo5;
}
div.-rw_quo6 {
  grid-area: quo6;
}
div.-rw_quo7 {
  grid-area: quo7;
}
div.-rw_quo8 {
  grid-area: quo8;
}
div.-rw_prc1 {
  grid-area: prc1;
}
div.-rw_prc2 {
  grid-area: prc2;
}
div.-rw_prc3 {
  grid-area: prc3;
}
div.-rw_prc4 {
  grid-area: prc4;
}
div.-rw_prc5 {
  grid-area: prc5;
}
div.-rw_prc6 {
  grid-area: prc6;
}
div.-rw_prc7 {
  grid-area: prc7;
}
div.-rw_prc8 {
  grid-area: prc8;
}
div.-rw_cont1 {
  grid-area: cont1;
}
div.-rw_cont2 {
  grid-area: cont2;
}
div.-rw_cont3 {
  grid-area: cont3;
}
div.-rw_cont4 {
  grid-area: cont4;
}

@media screen and (max-width: 897px) {
  div.-rw_wellbe-option {
    grid-template:
      'pt pt'
      'quo1 prc1'
      'quo2 prc2'
      'gl gl'
      'quo3 prc3'
      'cont1 cont1'
      'ib ib'
      'quo4 prc4'
      'cont2 cont2'
      'pr pr'
      'quo5 prc5'
      'quo6 prc6'
      'quo7 prc7'
      'cont3 cont3'
      'lc lc'
      'quo8 prc8'
      'cont4 cont4' /
      50% 50%;
  }
  .dis-none {
    display: none;
  }
  div.-rw_pt {
    text-align: center;
  }
  div.-rw_gl {
    text-align: center;
  }
  div.-rw_ib {
    text-align: center;
  }
  div.-rw_pr {
    text-align: center;
  }
  div.-rw_lc {
    text-align: center;
  }
}

/* トップページ リニューアル*/
/* ##PC## */
/* 既設の背景のメディアクエリは、→479,480-897,→1024,1025→、1261→とこんなにある　*/
/* RWが付け足したgridは、→479,480-1024、1025-1260、1261→ の４つとした　*/
@media screen and (width > 1260px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: 880px;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    place-content: center;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 3 / 2 / 5 / 8;
    align-self: start;
    justify-self: start;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(0.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 6 / 6 / 10 / 10;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    max-width: 567px;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 2 / 9 / 3 / 10;
    align-self: end;
    justify-self: end;
    z-index: 2;
  }
  div.-rw_hours .-rw_hours-text {
    padding: 0.8em 0.8em 1em 0.8em;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.5rem);
    width: auto;
    text-align: center;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 5 / 11 / 11;
    width: 140%;
    overflow: hidden;
    z-index: 1;
  }
}

@media screen and (1025px <= width <= 1260px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: 880px;
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    place-content: center;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 2 / 2 / 5 / 12;
    align-self: start;
    justify-self: start;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(0.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 5 / 4 / 9 / 8;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    max-width: 567px;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 1 / 9 / 2 / 10;
    align-self: end;
    justify-self: end;
    text-align: center;
    z-index: 2;
  }
  div.-rw_hours .-rw_hours-text {
    padding: 10px;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.2rem);
    width: auto;
    text-align: center;
    margin-top: 10px;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 5 / 11 / 11;
    width: 140%;
    overflow: hidden;
    z-index: 1;
  }
}

/* タブレット*/

@media screen and (811px <= width <= 1024px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: calc(90vh - 90px);
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    place-content: center;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 2 / 2 / 5 / 9;
    align-self: start;
    justify-self: start;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(0.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 5 / 4 / 9 / 10;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    max-width: 420px;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 1 / 9 / 2 / 10;
    z-index: 2;
  }
  div.-rw_hours .-rw_hours-text {
    padding: 10px 6px;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.2rem);
    width: auto;
    text-align: center;
    margin-top: 10px;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 5 / 11 / 11;
    width: 160%;
    height: auto;
    overflow: hidden;
    z-index: 1;
  }
}

@media screen and (769px <= width <= 810px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: calc(90vh - 90px);
    grid-template-columns: repeat(10, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    place-content: center;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 2 / 2 / 5 / 9;
    align-self: start;
    justify-self: start;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
	line-height: 20px;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(1.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 5 / 4 / 10 / 10;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    width: 420px;
    max-width: none;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 1 / 9 / 2 / 10;
    padding: 10px 4px;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.2rem);
    width: auto;
    height: auto;
    align-self: start;
    justify-self: end;
    text-align: center;
    margin-top: 10px;
    z-index: 2;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 5 / 11 / 11;
    z-index: -1;
    width: 160%;
    height: auto;
    overflow: hidden;
    z-index: 1;
  }
}
@media screen and (480px <= width <= 768px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: calc(90vh - 90px);
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
    grid-row-gap: 0px;
    place-content: center;
    padding: 0 20px;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 2 / 1 / 5 / 2;
    justify-self: center;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
	line-height: 20px;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(1.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 5 / 1 / 10 / 2;
    justify-self: center;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    width: 420px;
    max-width: none;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    z-index: 2;
  }
  div.-rw_hours .-rw_hours-text {
    padding: 10px 6px;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.2rem);
    width: auto;
    text-align: center;
    margin-left: 10px;
    margin-top: 10px;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 1 / 11 / 2;
    width: 160%;
    height: auto;
    overflow: hidden;
    z-index: 1;
  }
}

/* スマフォ　*/

@media screen and (width < 480px) {
  div.-rw_wellbe-top {
    display: grid;
    width: 100vw;
    height: calc(78vh - 90px);
    grid-template-columns: 1fr;
    grid-template-rows: repeat(10, 1fr);
    grid-row-gap: 0px;
    place-content: center;
    padding: 0 20px;
    overflow: hidden;
    z-index: 2;
  }
  div.-rw_item-mcatch {
    grid-area: 2 / 1 / 5 / 2;
    justify-self: center;
    z-index: 2;
  }
  p.-rw_item-scatchA {
    color: #fff;
    font-size: clamp(1rem, 0.568rem + 2.16vw, 3rem);
    font-weight: bold;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
	line-height: 20px;
    z-index: 2;
  }
  span.point {
    font-feature-settings: 'palt';
  }
  p.-rw_item-scatchB {
    color: #fff;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem);
    /* line-height: 2.5rem; */
    line-height: clamp(1.8rem, 0.432rem + 1.84vw, 3.5rem);
    margin-block-start: 0;
    margin-block-end: 0;
    margin-bottom: 2.5rem;
    width: auto;
    height: auto;
    z-index: 2;
  }
  p.-rw_item-scatchC {
    color: #eef467;  /* ボタンと同じ黄色 */
    width: auto;
    height: auto;
    font-size: clamp(0.8rem, 0.432rem + 1.84vw, 2.5rem); /* 既存と同じ */
    margin-block-start: 0;
    margin-block-end: 0;
    margin-top: 0.5rem;   /* A・Bとの間の余白。お好みで調整 */
    margin-bottom: 0;
    padding: 0;           /* 以前の帯画像用の余白をリセット */
    background: none;     /* 背景画像・色を完全オフ */
    text-align: left;     /* PCカンプ通り左寄せにしたい前提 */
    line-height: 1.5;
    z-index: 2;
  }
  div.-rw_item-banner {
    grid-area: 5 / 1 / 10 / 2;
    justify-self: center;
    z-index: 2;
  }
  div.-rw_container
    .swiper
    .swiper-wrapper
    .swiper-slide
    img.-rw_responsive-image {
    width: 320px;
    max-width: none;
    height: auto;
    z-index: 2;
  }
  div.-rw_hours {
    grid-area: 1 / 1 / 2 / 2;
    justify-self: start;
    z-index: 2;
  }
  div.-rw_hours .-rw_hours-text {
    padding: 10px 6px;
    border: 2px solid #fff;
    color: #fff;
    font-size: clamp(0.6rem, 0.382rem + 1.09vw, 1.2rem);
    width: auto;
    text-align: center;
    margin-left: 10px;
    margin-top: 10px;
  }
  div.-rw_wb-logo {
    grid-area: 2 / 1 / 11 / 2;
    width: 160%;
    height: auto;
    overflow: hidden;
    z-index: 1;
  }
}

/* フッター健康増進施設ロゴ挿入 */
/* フッターロゴ共通 */
.footer-logo-block {
  display: flex;
  flex-direction: column; /* デフォルトは縦並び */
  align-items: flex-start;
}

.footer-logo {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ロゴの個別サイズ（お好みで微調整可） */
.footer-logo--kenkou {
  width: 180px;
  margin-bottom: 12px; /* SP：健康増進 → 下に余白 */
}

.footer-logo--wellbe {
  width: 260px;
}

/* PC（2カラム時）：並び順を逆転して Well-being の下に健康増進ロゴ */
@media screen and (min-width: 769px) {
  .footer-logo-block {
    align-items: flex-start;
  }

  .footer-logo--wellbe {
    order: 1;
    margin-bottom: 12px; /* Well-being ロゴの下に余白 */
  }

  .footer-logo--kenkou {
    order: 2;
    margin-bottom: 0;
    margin-top: 4px;     /* Well-being ロゴとのすき間 */
  }
}

