/* フロント本文・投稿編集キャンバスで共用するスタイル。 */
/* Front page */
.cc-home,
.cc-hero {
    --cc-wine: #74302a;
    --cc-brown: #322019;
    --cc-gold: #b4864d;
    --cc-cream: #f9f1e9;
    background: var(--cc-cream);
    color: var(--cc-brown);
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
}

.cc-home *,
.cc-home *::before,
.cc-home *::after { box-sizing: border-box; }

:is(.c-postContent, .editor-styles-wrapper) h2:not(.h2-none) {
    /* 左右余白はフロントと編集キャンバスそれぞれの本文配置を維持する。 */
    margin-block: 2em 0 !important;
    font-size: 30px;
    line-height: 1.5;
    color: var(--ark-color--main);
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif !important;
}
:is(.c-postContent, .editor-styles-wrapper) h2:not(.h2-none):not(.h2-none h2) {
    padding: 20px;
    background: url("../images/h2-bg.jpg") center / auto repeat;
}

.wp-block-media-text {
    margin-bottom: 5em !important;
}
:is(.c-postContent, .editor-styles-wrapper) h2:not(.h2-none)::before {
    flex: 0 0 auto;
    width: 47px;
    height: 30px;
    margin-top: .25em;
    content: "";
    background: url("../images/ic-h2.png") center / contain no-repeat;
}

:is(.c-postContent, .editor-styles-wrapper) .h2-none h2:not(.h2-none) {
    display: revert;
    align-items: revert;
    gap: revert;
    margin: revert;
    font-size: revert;
    line-height: revert;
    color: revert;
}

:is(.c-postContent, .editor-styles-wrapper) .h2-none h2:not(.h2-none)::before { content: none; }

.cc-page-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif;
    font-weight: 400;
}

.cc-hero {
    padding: 18px;
    /* background: linear-gradient(120deg, #fbf4ed, #f4e7dd); */
}

.cc-hero__inner {
    position: relative;
    max-width: 1480px;
    margin: 0 auto;
    overflow: hidden;
    border: 3px solid var(--cc-wine);
    background: #f9f0e8;
}

.cc-hero__inner::before,
.cc-hero__inner::after {
    position: absolute;
    z-index: 4;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    content: "";
    pointer-events: none;
    border: 1px solid rgba(116, 48, 42, .68);
}
.cc-hero__inner::before { top: 8px; left: 8px; }
.cc-hero__inner::after {right: 10px;bottom: 8px;border: none;}
.hero-copy__title {
  margin: 0 0 24px;
  font-size: 40px;
  line-height: 1.6;
}

.cc-hero-title-block {
  display: inline;
  padding: 0.12em 0.35em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.cc-hero-title-color{
    color: #9a643a;
}

.hero-copy__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}
.cc-hero__salon,
.cc-hero__person { position: absolute; z-index: -1; margin: 0; }
.cc-hero__salon { inset: 245px 0 0; }
.cc-hero__salon::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(249, 235, 222, .37);
}
.cc-hero__salon img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; filter: sepia(.15) saturate(.78) brightness(1.14); }
.cc-hero__person { right: 5.2%; bottom: -8px; width: min(34%, 475px); height: 520px; overflow: hidden; }
.cc-hero__person img { width: 100%; height: 100%; object-fit: cover; object-position: 54% 32%; mix-blend-mode: multiply; }

.cc-hero__brand {position: relative;z-index: 2;margin: 26px 0 5px;color: #9a643a;font-family: "Baskerville", "Times New Roman", serif;font-size: clamp(2.1rem, 3.1vw, 3.4rem);font-style: italic;letter-spacing: .035em;text-align: center;line-height: 1;}
.cc-hero__ornament { display: block; width: min(420px, 50%); margin: 0 auto; }

.cc-hero__corner { position: absolute; z-index: 5; width: 58px; height: 58px; pointer-events: none; }
.cc-hero__corner--bottom-right { right: 13px; bottom: 13px; }
.cc-hero__corner--top-right { top: 13px; right: 13px; transform: rotate(-90deg); }
.cc-hero__corner--top-left { top: 13px; left: 13px; transform: rotate(-180deg); }
.cc-hero__corner--bottom-left { bottom: 13px; left: 13px; transform: rotate(90deg); }

.cc-hero__copy {margin-top: 30px;text-align: left;padding-left: 26px;display: table;flex-wrap: wrap;flex-direction: row;justify-content: flex-start;grid-auto-flow: row;align-content: space-between;font-feature-settings: "palt";}
.cc-hero__copy h1 {margin: 0;font-size: clamp(1.5rem, 3vw, 3.65rem);font-weight: 500;letter-spacing: .1em;line-height: 1.2;display: block;text-align: left;

  /* 改行後も、それぞれの文字幅に背景を付ける */-webkit-box-decoration-break: clone;box-decoration-break: clone;}
.cc-hero__copy h1,
.cc-hero__copy p,
.cc-features li { font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif !important; }
.cc-hero__copy h1, .cc-hero__copy p {display: block;padding: 10px;}


.cc-hero__copy p {margin: 26px 0 0;font-size: clamp(1.3rem, 2.75vw, 2.85rem);letter-spacing: .1em;line-height: 1.4;display: inline;color: #9a643a;}
.cc-hero__copy h1 > .cc-hero-title-block {
    display: inline-block;
    vertical-align: top;
}
.cc-hero__copy h1 > .cc-hero-title-block:first-child { margin-bottom: .18em; }
.cc-hero__copy p {
    display: inline-block;
    text-align: left;
}
.cc-hero__inner::after {
    display: block;
    width: calc(100% - 18px);
    aspect-ratio: 2 / 1;
    margin: 30px auto 105px;
    content: "";
    background: url("../images/main.png") bottom / cover no-repeat;
    background-size: contain;
    z-index: 1;
    /* opacity: 0.5; */
}
.cc-hero__message { margin: 0; color: var(--cc-wine); font-family: "Baskerville", "Times New Roman", serif; font-size: clamp(1.2rem, 1.8vw, 1.9rem); font-style: italic; line-height: 1.45; }

.cc-features { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; margin: 0; padding: 13px 25px 17px; list-style: none; }
.cc-features li {display: flex;align-items: center;justify-content: center;min-height: 50px;gap: 12px;padding: 0 14px;font-size: clamp(.95rem, 1.25vw, 1.3rem);letter-spacing: .07em;white-space: nowrap;}
.cc-features li:last-child { border-right: 0; }
.cc-features__icon { width: 38px; height: 38px; object-fit: contain; opacity: .72; filter: sepia(1) saturate(1.4) hue-rotate(342deg) brightness(.82); }

/* カスタムHTML内で .cc-hero__inner の外に置かれた特徴リスト */
.cc-hero > .cc-features {
    position: relative;
    z-index: 6;
    width: calc(100% - 36px);
    max-width: 1444px;
    margin: -96px auto 0;
}

.u-sp-only { display: none; }
    .cc-lead-text--s{
        font-size: 1.4rem;
        color:#333333;
        text-shadow: 4px 4px 5px #ffffff;
    }
@media (max-width: 767px) {
    .u-pc-only { display: none; }
    .u-sp-only { display: inline; }
    .cc-hero {padding: 0px;}
    :is(.c-postContent, .editor-styles-wrapper) h2:not(.h2-none) {gap: 9px;font-size: 1.5rem;margin-top: 1em;}
    .cc-page-content { padding: 56px 18px; }
    .cc-hero__inner {min-height: 490px;border-width: 2px;}
    .cc-hero__salon { inset: 310px 0 0; }
    .cc-hero__salon img { object-position: 44% center; }
    .cc-hero__person { right: 3%; bottom: -10px; width: 51%; height: 350px; }
    .cc-hero__brand { margin-top: 24px; font-size: 1.75rem; }
    .cc-hero__ornament { width: 64%; }
    .cc-hero__corner { width: 38px; height: 38px; }
    .cc-hero__copy {margin-top: 25px;padding: 0 16px;/* margin: 0; */}
    

    .cc-hero__message { bottom: 48px; left: 6%; font-size: 1rem; }
    .cc-features { grid-template-columns: repeat(2, 1fr); padding: 8px 7px; border-width: 2px; }
    .cc-features li {min-height: 36px;gap: 6px;padding: 3px;font-size: .78rem;letter-spacing: 0;}
    .cc-features li:nth-child(2) { border-right: 0; }
    .cc-hero > .cc-features {width: calc(100% - 16px);margin-top: -116px;}
    .cc-features li:nth-child(-n+2) {}
    .cc-features__icon { width: 27px; height: 27px; }

}

@media (max-width: 520px) {
    .cc-hero__copy{
    }
.cc-hero__copy h1 {
        font-size: 1.2rem;
        letter-spacing: .045em;
        line-height: 1.5;
        font-feature-settings: "palt";
        text-align: center;
        display: block;
        padding: 0;
        margin: 0 auto;
        background: none;
        }
    .cc-hero-title-block{
        background:none;
        
    }
    .cc-hero__copy p {
        margin-top: 18px;
        font-size: 1rem;
        letter-spacing: .0;
        text-align: center;
        margin: 0 auto;
        display: block;
        line-height: 1.3;
        background: none;
        }
    .cc-hero__copy p {
        display: table;
        text-align: center;
    }
    .cc-hero__copy::after { width: calc(100% + 14px); margin: 24px -7px 118px; }
    .cc-lead-text{
        color:#322019;
    }
     .cc-lead-text--s{
        font-size: 1rem;
     }
}

/* 上品な隠れ家サロンのヒーロー */
.cc-hero {
    --cc-ivory: #f7f0e7;
    --cc-beige: #e7d7c6;
    --cc-wine: #6c302c;
    --cc-bordeaux: #843e38;
    --cc-ink: #392c29;
    padding: clamp(10px, 1.8vw, 24px);
    background: linear-gradient(135deg, #fbf7f1 0%, #eee1d4 100%);
}

.cc-hero__inner {
    border: 2px solid var(--cc-wine);
    background: var(--cc-ivory);
    height: 430px;
    min-width: 300px;
}

.cc-hero__inner::before {
    z-index: 5;
    border-color: rgba(108, 48, 44, .58);
}

.cc-hero__inner::after {
    right: 9px;
    z-index: 1;
    display: block;
    width: calc(100% - 18px);
    height: auto;
    aspect-ratio: 2 / 1;
    margin: 0;
    background:
        linear-gradient(90deg, rgba(247, 240, 231, .13), rgba(247, 240, 231, 0) 52%, rgba(247, 240, 231, .12)),
        url("../images/main.png") center / cover no-repeat;
    border: 0;
}

.cc-hero__inner:has(.cc-hero__main)::after { display: none; }

.cc-hero__main {
    position: absolute;
    right: 9px;
    bottom: 9px;
    z-index: 1;
    width: calc(100% - 18px);
    margin: 0;
    overflow: hidden;
}

.cc-hero__main img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}

.cc-hero__brand,
.cc-hero__ornament,
.cc-hero__copy {
}

.cc-hero__brand {
    margin: clamp(24px, 3vw, 42px) 0 9px;
    color: #8a5a48;
    font-family: "Cormorant Garamond", "Baskerville", "Times New Roman", serif;
    font-size: clamp(2rem, 3vw, 3.45rem);
    font-weight: 500;
    letter-spacing: .04em;
}



.cc-hero__copy h1,
.cc-hero__copy p {
    color: var(--cc-ink);
    font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", YuMincho, serif !important;
    text-align: left;
}

.cc-hero__copy h1 {
    font-size: clamp(1.65rem, 3vw, 3.35rem);
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: .08em;
}

.cc-hero-title-block {
    background: rgba(247, 240, 231, .88);
    /* box-shadow: 0 5px 16px rgba(71, 44, 36, .08); */
}

.cc-hero-title-color,
.cc-hero__copy p { color: var(--cc-bordeaux); }

.cc-hero__copy p {
    margin-top: 20px;
    font-size: clamp(1.1rem, 1.75vw, 1.7rem);
    font-weight: 500;
    line-height: 1.65;
    letter-spacing: .09em;
}

.cc-features {
    z-index: 6;
    width: calc(100% - 36px);
    max-width: 1444px;
    margin: -86px auto 0;
    padding: 13px 20px 15px;
    background: rgba(247, 240, 231, .94);
    border-top: 1px solid rgba(108, 48, 44, .34);
}

.cc-features li {
    min-height: 43px;
    gap: 9px;
    padding: 0 10px;
    color: #5c4740;
    font-size: clamp(.8rem, 1.05vw, 1.05rem);
    font-weight: 500;
    letter-spacing: .05em;
    border-right: 1px solid rgba(108, 48, 44, .22);
}

.cc-features__icon {
    width: 30px;
    height: 30px;
    opacity: .68;
}
.cc-hero-lead{
	font-size:24px;
}
@media (max-width: 767px) {
    .cc-hero { padding: 8px; }

    .cc-hero__inner {
        min-height: 575px;
        border-width: 2px;
    }

    .cc-hero__inner::after,
    .cc-hero__main {
        right: 7px;
        bottom: 7px;
        width: calc(100% - 14px);
    }

    .cc-hero__brand {
        margin-top: 23px;
        font-size: 1.8rem;
    }

    .cc-hero__ornament { width: 62%; }

    .cc-hero__copy {
        transform: none;
    }

    .cc-hero__copy h1 {
        font-size: 14px;
        line-height: 1.48;
    }

    .cc-hero__copy p {
        margin-top: 15px;
        font-size: clamp(.95rem, 4.1vw, 1.18rem);
        line-height: 1.55;
    }

    .cc-hero-title-block {
        padding: .09em .24em;
        background: rgba(247, 240, 231, .9);
    }

    .cc-features {
        grid-template-columns: repeat(2, 1fr);
        width: calc(100% - 16px);
        margin-top: -104px;
        padding: 7px 4px 9px;
    }

    .cc-features li {
        min-height: 34px;
        gap: 6px;
        padding: 3px;
        font-size: .72rem;
        white-space: nowrap;
    }

    .cc-features li:nth-child(2) { border-right: 0; }
    .cc-features__icon { width: 23px; height: 23px; }
	.top-prof-pic .wp-block-media-text__media img{
		width:50%;
		height:auto;
		display:block;
		margin:0 auto;
	}

    .wp-block-media-text {
        margin-bottom: 3em !important;
    }
}
.is-vertically-aligned-top>.wp-block-media-text__content{
    margin-top:0;
}

.check-lisk-ic li::before {
    display: inline-block;
    width: calc(20px * 100 / 88);
    height: 20px;
    margin-right: .5em;
    background: url("../images/ic-check.svg") center / contain no-repeat;
    vertical-align: text-bottom;
    content: "";
}

:is(.c-postContent, .editor-styles-wrapper) .check-lisk-ic li {
    padding: 0;
    list-style: none;
    text-indent: -2em;
    margin-left: calc(20px * 100 / 88 + 20px);
}
ul.check-lisk-ic{
    padding: 0 20px;
    margin: 1em auto;
    width: fit-content;
}
/* 通常の段落は画面幅によらず16pxにする */
:where(.c-postContent, .editor-styles-wrapper) p {
    font-size: 16px;
}


.reason-text {
    font-family: "Pinyon Script", cursive;
    font-size: 20px;
    color: #C7B5AA;
}

/* ブロックCSSが後から読み込まれてもテーマの背景色・文字色を優先する */
:is(body, .editor-styles-wrapper) .ark-block-faq__q::before {
    background-color: var(--ark-color--main);
    color: #fff;
}
