/*---------------------
  　　共通
    ---------------------*/
:root {
  --color_text: #333;
  --color_link: #f63f5e;
  --color_pale: #fee7eb;
  --color_purple: #722d3f;
}

html {
  scroll-behavior: smooth;
}

body,
h1,
h2,
h3,
h4,
p,
li,
dt,
dd,
td,
a {
  letter-spacing: 0.05em;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI",
    "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic",
    Verdana, Meiryo, sans-serif !important;
}
.n,
div.n,
.cc-m-hgrid-column .n {
  padding: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--color_text);
  word-break: keep-all;
}
.j-module h2 {
  margin: 1em 0;
}

.j-module h2:before {
  content: "";
  display: block;
  background-image: url(https://u.jimcdn.com/cms/o/sc755ff824d13d94b/userlayout/img/line-rose.png?t=1691551253);
  background-repeat: no-repeat;
  height: 33px;
  width: 300px;
  background-size: contain;
  margin: 0 auto 20px;
}

.j-module h3 {
  margin-bottom: 0.5em;
}
a {
  color: var(--color_text) !important;
}
a:hover img {
  opacity: 0.75;
}
ul {
  padding-inline-start: 0 !important;
}

/* ボタン */
.j-calltoaction-link {
  max-width: 240px !important;
  margin: 0 auto;
  padding: 0.75em 2em !important;
  position: relative;
  display: block !important;
  text-decoration: none !important;
  font-weight: bold !important;
  background-color: var(--color_link) !important;
  border-radius: 50px !important;
  border: 2px solid var(--color_link) !important;
  transition: all 0.15s;
}

.j-calltoaction-link:hover {
  background-color: #fff !important;
  color: var(--color_link) !important;
}

.j-calltoaction-link:after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0.5em;
  height: 0.5em;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  right: 15px;
  top: 43%;
  transform: rotate(-45deg);
}
.j-calltoaction-link:hover:after {
  right: 10px;
  transition: all 0.15s;
  border-bottom: 2px solid var(--color_link);
  border-right: 2px solid var(--color_link);
}

/* クッキーバナーの表示位置 */
#cc-cookie-law {
  top: auto !important;
  bottom: 0 !important;
  background-color: #722d3f !important;
  background-image: none !important;
}
#cc-inner {
  padding-top: 0 !important;
}
#cc-cookie-law-button a {
  color: var(--color_text) !important;
}
#cc-cookie-law-text a {
  color: #fff !important;
}

/* ---------------------------------
コンテンツ設定
---------------------------------- */
body::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background: url("https://u.jimcdn.com/cms/o/sc755ff824d13d94b/userlayout/img/bg-glow.jpg?t=1695645603")
    no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
  content: "";
}

#wrapper {
  margin: 0 auto;
}
#content_area {
  min-height: 800px;
}
.j-text {
  margin-bottom: 1em;
}

.j-table table {
  border-collapse: collapse;
  margin-bottom: 30px;
}

.j-table td {
  padding: 10px;
  border-bottom: solid 1px #ccc;
}

div.j-text ol li,
div.j-text ul li {
  right: -20px !important;
}

/* エディタの余白 */
.cc-m-spacer {
  min-height: none;
  max-height: none;
}

/* エディタのカラム */
.cc-m-hgrid-column {
  padding: 0;
}

@media (min-width: 768px) and (max-width: 1139px) {
  header {
    padding: 15px 20px !important;
  }
  #content_area {
    padding: 0 20px;
  }
  footer {
    padding: 0 20px;
  }
  h2.kasou-header-img img {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  #content_area {
    padding: 20px;
    min-height: inherit;
  }
  .cc-m-hgrid-column.last {
    float: none;
    width: 100% !important;
  }
  .cc-m-hgrid-column {
    float: none;
    width: 100% !important;
    margin-bottom: 30px;
  }
  h2.kasou-header-img {
    margin: 0 calc(50% - 50vw) 20px;
  }
  h2.kasou-header-img img {
    width: 100%;
  }
  .j-table td:nth-child(odd) {
    width: 40%;
  }
}

/*---------------------
  　　お役立ち
---------------------*/
.mwM {
  max-width: 640px;
  margin: 0 auto;
}

/* 改行調整 */
.wb {
  word-break: keep-all;
}

/*---------------------
  　　ヘッダー
---------------------*/

header {
  max-width: 980px;
  margin: 0 auto -10px;
  display: flex !important;
  justify-content: space-between;
  padding: 15px 0 0;
}
.logo h1 {
  font-size: 12px !important;
}
.logo img {
  width: 240px;
}
ul.cta {
  display: flex;
  justify-content: center;
}
ul.cta li {
  list-style: none;
  margin: 0 5px;
}
ul.cta img {
  height: 52px;
}
@media (max-width: 767px) {
  header {
    padding: 20px 20px 0;
    flex-direction: column;
  }
  .logo {
    margin: 0 auto;
    width: 100%;
  }
  .logo h1 {
    text-align: center;
    margin: 0 auto;
  }
  .logo img {
    margin: 0 auto;
  }
  .cta {
    margin: 0 auto;
  }
}

/*---------------------
  　ナビゲーション
  ---------------------*/
ul.header-menu {
  margin: 20px auto;
  text-align: center;
  padding-inline-start: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.header-menu li {
  list-style: none;
}

.header-menu li a {
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: block;
  padding: 0.25em 16px;
}

@media only screen and (max-width: 600px) {
  .header-menu li a {
    padding: 0.25em 8px;
  }
}

.header-menu li a:hover {
  color: var(--color_link) !important;
  background-color: var(--color_pale);
  border-radius: 5px;
}

/* トップページ以外 */
body:not(.cc-page-index) .header-menu {
  margin-bottom: 50px;
}

nav#mainNav ul {
  overflow: hidden;
  margin: 20px auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav#mainNav ul li {
  text-align: center;
  list-style: none;
  margin: 0 0.5em;
}

nav#mainNav ul a {
  color: var(--color_text) !important;
  font-size: 16px;
  font-weight: bold;
  display: block;
  padding: 0.5em;
  text-decoration: none;
}

nav#mainNav ul li a.current,
nav#mainNav ul a:hover {
  color: var(--color_link) !important;
}

@media only screen and (max-width: 959px) {
  nav#mainNav {
    width: 100%;
  }
  nav#mainNav ul li {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
  }
}

/* 管理画面のみ表示（たぶんお茶会リンク用で今はもうない） */
#cc-m-14142154990,
#cc-m-14142165390 {
  display: none;
  margin-bottom: -30px;
}

#cc-m-14142154990.cc-m-all,
#cc-m-14142165390.cc-m-all {
  display: block;
}

/*---------------------
  　コンテンツ
  ---------------------*/
#wrapper {
  max-width: 980px;
  margin: 0 auto;
}

/* お客様の声の吹き出し */
.balloon {
  position: relative;
  display: inline-block;
  padding: 1em;
  min-width: 120px;
  max-width: 100%;
  color: #555;
  font-size: 16px;
  background: #fee7eb;
  border-radius: 15px;
}

.balloon:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -15px;
  border: 15px solid transparent;
  border-top: 15px solid #fee7eb;
}

/* トップページのみ
.cc-page-index #content_area {
  margin-top: -50px;
} */

/*-------------------------------
スライダー
-------------------------------*/
.slider {
  max-width: 960px;
  margin: 0 auto;
}

.slider img {
  max-width: 100%;
}

/* ---------------------------------
フォーム
---------------------------------- */
/* 送信ボタン */
form.cc-m-form
  .cc-m-form-submit
  .cc-m-form-view-input-wrapper
  input:not([name="dataprivacy"]) {
  width: 100%;
  letter-spacing: 5px;
  font-size: 18px;
  font-weight: bold;
  padding: 12px;
  margin-top: 20px;
  background-color: var(--color_link) !important;
  color: #fff !important;
  border: 2px solid var(--color_link) !important;
  transition: all 0.15s;
}

form.cc-m-form
  .cc-m-form-submit
  .cc-m-form-view-input-wrapper
  input:not([name="dataprivacy"]):hover {
  background-color: #fff !important;
  color: var(--color_link) !important;
}

/* 入力枠 */
.cc-m-form-view-input-wrapper input,
.cc-m-form-view-input-wrapper textarea {
  border-radius: 5px;
  padding: 0.5em !important;
}

/* フォームのラジオボタンの行間 */

form.cc-m-form
  .cc-m-form-view-element
  .cc-m-form-view-input-wrapper
  .cc-m-form-checkable-horizontal
  div {
  margin-bottom: 1em;
}
/* フォームの各項目名の下スペース */

form.cc-m-form .cc-m-form-view-element > label {
  margin-bottom: 0.5em;
}
/* フォームの各項目間 */

form.cc-m-form .cc-m-form-view-element {
  margin-bottom: 1em;
}

/* ---------------------------------
  ブログ
  ---------------------------------- */
.cc-page-blog #content_area {
  max-width: 748px;
  margin: 4em auto;
}

.j-blog-meta h1 {
  margin-bottom: 2em;
  line-height: 1.5;
  padding: 0.5em;
  border-top: 1px solid var(--color_purple);
  border-bottom: 1px solid var(--color_purple);
  text-align: center;
  color: var(--color_purple);
}

.cc-page-blog h2 {
  text-align: left;
  color: var(--color_purple);
}

.cc-page-blog h2:before {
  content: none;
}

.cc-page-blog h3 {
  text-align: left;
}

.j-blog-meta a {
  text-decoration: none !important;
}

/* ブログ記事一覧でサムネイル非表示 */
.j-blogarticle .cc-m-hgrid-column {
  width: 100% !important;
}

.j-blogarticle .cc-m-hgrid-column:first-child {
  display: none;
}

/* 掲載注意事項 */
.p-note {
  position: relative;
  text-align: center;
  padding: 1em 0.75em 0.75em;
  margin: 3em 0 0;
  border-radius: 10px;
  border: solid #fec5d6 2px;
  background-color: #fff5f7;
  display: flex;
  justify-content: center;
  font-size: 13px;
  word-break: keep-all;
}

.p-note:before {
  position: absolute;
  content: "Note";
  top: -1em;
  left: 0;
  transform: translateX(50%);
  color: #fff;
  padding: 0.15em 0.5em;
  border-radius: 3px;
  margin: 0 auto;
  background: #fec5d6;
  font-size: 14px;
  line-height: 1.5;
}

.blogreadmore {
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  text-decoration: none !important;
  background-image: none;
  color: #fff !important;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  max-width: 240px !important;
  margin: 0 auto;
  padding: 0.75em 2em !important;
  position: relative;
  display: block !important;
  text-decoration: none !important;
  font-weight: bold !important;
  background-color: var(--color_link) !important;
  border-radius: 50px !important;
  transition: all 0.15s;
}

.blogreadmore:after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0.65em;
  height: 0.65em;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  right: 18px;
  top: 36%;
  transform: rotate(45deg);
}

/*---------------------
  　フッター
  ---------------------*/
footer .cc-imagewrapper img {
  width: auto;
}

#footer-contents {
  max-width: 980px;
  margin: 0 auto;
  color: var(--color_text);
  padding: 40px 20px 0;
}

.gutter {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 20px;
}

#contentfooter a {
  display: inline-block;
  margin-bottom: 1em;
  font-size: 12px;
}

/* フッターメニュー */
ul.footer-menu {
  margin: 0;
  text-align: center;
  padding-inline-start: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-menu li {
  list-style: none;
}

.footer-menu li a {
  font-weight: bold;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: block;
  padding: 0.25em 16px;
}

.footer-menu li a:hover {
  color: var(--color_link) !important;
  background-color: var(--color_pale);
  border-radius: 5px;
}

@media (max-width: 767px) {
  .footer-menu {
    flex-direction: column;
  }
  .footer-menu li {
    border-top: 1px solid #bbb;
  }
  .footer-menu li:last-child {
    border-bottom: 1px solid #bbb;
  }
}

/* ロゴ上テキスト */
#cc-m-14108658690 {
  margin-bottom: 0;
}

.copyright {
  text-align: center;
  padding: 10px;
  font-size: 12px;
  background-color: var(--color_purple);
  color: #fff;
}

@media (max-width: 767px) {
  #footer-contents .cc-m-hgrid-column:first-child,
  #footer-contents .cc-m-hgrid-column.last {
    width: 100% !important;
  }
  .gutter {
    padding: 0 20px 20px;
  }
}