:root {
    --color-main: #222;
    --color-text: #333;
    --color-yellow: #FFD708;
    --color-gray: #434343;
    --color--pale-pink: #f78da7;
}

body {
	color: #333;
  font-family: "Marcellus", serif;
	    width: 100%;
    max-width: 100%;
    overflow-X: hidden;
}

.c-main {
    padding: 0;
    max-width: 1440px;
    margin: 0 auto;
}

.single-whitening-advice .c-main-aside {
    max-width: 1200px;
}

section.page_top .inner {
    padding-left: 0;
}

header.c-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
	padding: 0 2%;
	max-width: 1440px;
	margin: 0 auto;
}

.c-header-button a {
    background: var(--color--pale-pink);
    width: 150px;
    color: #fff;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 14px;
}

.c-header-button {
    width: fit-content;
    margin-left: auto;
	margin-right: 2rem;
}

section.page_top h1 {
    color: var(--color--pale-pink);
    text-align: left;
        font-size: 24px;
    width: 65%;
}

h2.c-caption {
    font-size: 32px;
}

/* チェックボックスは非表示 */
.c-menu-btn-check {
	display: none;
}

/* メニュー初期状態 */
.c-header-menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: min(420px, 100%);
	height: 100%;
	background: #fff;
	z-index: 1000;
}

/* オーバーレイ */
.c-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, .5);
	opacity: 0;
	visibility: hidden;
	z-index: 999;
}

/* メニュー表示 */
.c-menu-btn-check:checked ~ .c-header-menu {
	right: 0;
}

/* オーバーレイ表示 */
.c-menu-btn-check:checked ~ .c-overlay {
	opacity: 1;
	visibility: visible;
}

/* ハンバーガー */
.menu-nav {
	position: relative;
	width: 28px;
	height: 20px;
	cursor: pointer;
	z-index: 99999;
}

.menu-nav span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: var(--color--pale-pink);
}

.menu-nav span:nth-child(1) {
	top: 0;
}

.menu-nav span:nth-child(2) {
	top: 9px;
}

.menu-nav span:nth-child(3) {
	top: 18px;
}

/* ×に変形 */
.c-menu-btn-check:checked + .c-header-menubtn .menu-nav span:nth-child(1) {
	top: 9px;
	transform: rotate(45deg);
}

.c-menu-btn-check:checked + .c-header-menubtn .menu-nav span:nth-child(2) {
	opacity: 0;
}

.c-menu-btn-check:checked + .c-header-menubtn .menu-nav span:nth-child(3) {
	top: 9px;
	transform: rotate(-45deg);
}
/*
.c-header-menu {
	display: block;
	position: fixed;
	top: 0;
	right: -100%;
	width: min(420px, 100%);
	height: 100vh;
	background: #fff;
	z-index: 1000;
	overflow-y: auto;
}*/

.c-menu-btn-check:checked ~ .c-header-menu {
	right: 0;
	display: block;
}

.c-header-menubtn {
    top: 70px;
    right: 2%;
	z-index: 1001;
	cursor: pointer;
}

nav.c-header-menu ul.c-header-menu-list {
    padding: 10rem 0 2rem 2rem;
    font-size: 20px;
    font-weight: 600;
    text-align: left;
}

nav.c-header-menu ul.c-header-menu-list:nth-child(2) {
    padding-top: 2rem !important;
}

.c-header-menu-article {
    height: 100%;
    background:var(--color--pale-pink);
	padding-top:2rem;
}

li.c-header-menu-list-item a {
    font-size: 20px;
    font-weight: 600;
    width: 100%;
    display: block;
    margin-bottom: 1rem;
	text-align: left;
}

h2.c-header-menu-ttl.c-fff {
    position: relative;
	color: #fff;
	    text-align: left;
    padding-left: 2rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


a.c-fff {
    color: #fff;
}

h2.c-header-menu-ttl span.icon {
    margin-right: 1rem;
}

section#archive-adviser {
    margin: 80px auto;
}

.child_page.child_page_whitening_advice {
    margin-top: 1rem;
}

.inner {
    height: 7rem;
	display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.tax-whitening_advice_category .page_top .inner,
.post-type-archive-whitening-advice .page_top .inner {
	margin: 0 auto 7% 0;
	padding-left: 1rem;
}

section.page_top {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    flex-wrap: wrap;
	height: 13rem!important;
}

section.page_top img {
    object-fit: cover;
}

.child_page .page_top h2 {
    color: var(--color--pale-pink)!important;
	text-align: left;
	width: 100%;
}

.c-category-list li a {
    height: 3rem!important;
    font-size: 16px!important;
    padding: 0 10px;
}

ul.c-category-list {
    width: 100%;
    min-width: 350px;
}

.c-article-txt {
    padding: 0 5%;
}

h3.c-article-ttl {
    width: 100%;
    font-weight: 600;
    letter-spacing: 0.05rem;
    text-align: left;
    font-size: 16px;
    line-height: 1.2;
	min-height: 70px;
}

.c-article-img {
    height: 150px;
}

.c-article-keyword {
    height: auto;
    margin: 0;
}

.c-article-keyword-item {
    font-size: 12px;
    padding: 0 10px 0 20px;
}

.c-article-keyword-item::before {
	left: 10px;
}

.c-container--sm.p-ctaBand__inner {
    padding: 3% 0;
	gap: 0;
	display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.p-ctaBand__title {
    font-size: 28px;
    letter-spacing: 0.01rem;
}

p.p-ctaBand__text {
    font-size: 24px;
}

.p-formCta-form__action, .p-ctaBand__button {
    min-height: 5rem;
}

.p-ctaBand__lead {
    font-size: 18px;
}

.l-inner.ctg {
    padding: 0 0 5rem 0;
}

span.txt {
    font-size: 32px;
    letter-spacing: 0.01em;
}

.front-advisor-name::before {
	display: none;
}

p.front-advisor-catchcopy {
    font-size: 18px;
}

.c-flow-list-num {
        height: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
}
.c-flow-list-cap {
        font-size: 20px;
}

.c-flow-list-txt {
        font-size: 20px;
}



footer#footer {
    padding: 5% 1%;
}

#footer ul.c-header-menu-list {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}


	.l-footer__bottom {
		margin:10% 0  5% 0;
}
li.c-header-menu-list-item a {
		font-size: 16px;
}


li.c-header-menu-list-item svg {
    display: inline-block;
    margin-right: 10px;
}

.c-aside h2.c-border-caption {
    width: 100% !important;
}

@media (min-width: 768px) {
	.c-main-aside {
		gap: 10px;
	}
	section.page_top .inner {
    padding-left: 5%;
	margin: auto 0;
}
	.c-container--lg.l-footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 1%;
    flex-wrap: wrap;
		max-width: 1440px;
        margin: 0 auto;
}
	.l-footer__bottom {
    width: 62%;
	text-align: right;
	margin-bottom: 5%;
}
	.l-footer__bottom .c-header-menu-list-item a {
        font-size: 1rem;
        width: 226px;
        text-align: left;
    }
}

@media (min-width: 1024px) {
	.tax-whitening_advice_category .page_top .inner,
	.post-type-archive-whitening-advice .page_top .inner {
    margin: 0 auto 4% 0;
	}
	.l-footer__bottom .c-header-menu-list-item a {
        font-size: 16px;
		display: block;
        text-align: left;
    }
#footer li.c-header-menu-list-item {
    width: 48%;
}
}

@media (min-width: 1440px) {
section.page_top {
    height: 18rem !important;
}
}

h1.article-detail-ttl {
    font-size: 32px;
}

time.article-detail-time {
    font-size: 14px;
}

.c-keyword-list-item a, .c-keyword-list-item>span {
    padding: 0 10px 0 20px;
}

.c-keyword-list-item a::before, .c-keyword-list-item>span::before {
    left: 10px;
}

p.article-detail-category {
    padding: 0 10px;
    margin: 0 0 2rem 0;
}

.article-detail-content p {
    font-size: 16px;
}

.article-detail-content h2 {
    font-size: 28px;
}

.article-detail-content h2::before {
    width: 6px;
    top: 0;
}

.article-image-container img {
    max-width: 600px;
    margin: 5% auto;
}

    .article-detail-content h3 {
        font-size: 22px;
    }

.c-article-list-item {
	max-width: 310px!important;
}

.article-detail-content table {
    font-size: 16px;
}

.article-detail-content table tr>* {
	padding: 10px;
}

    .c-article-img .category {
        height: 2rem;
        line-height: 2rem;
        padding: 0 10px;
        font-size: 12px;
        left: 10px;
        top: 10px;
    }

.card-item {
    margin-left: 0px;
}

.c-article-img .category .arw {
    position: relative;
}

span.arw::before {
    content: "⌵";
    font-size: 16px;
    line-height: 1;
    font-weight: 900;
    position: absolute;
    inset: 0;
    left: 1px;
    top: -3px;
}



h2.c-border-caption {
    font-size: 24px;
}

.child_page .page_top h2 {
    font-size: 18px;
}

.c-article-pop-ttl {
    line-height: 1.2;
}

.sidebar-post {
    margin: 50px 0;
}


.child_page {
    margin: 2rem 0;
}

.wapper.only-top.cat-width {
    margin-top: 3rem;
}

@media (min-width: 768px) {
section.page_top h1 {
    font-size: 36px;
	width: 100%;
}
}



h1.yougo-ttl span {
    color: var(--color--pale-pink);
}

ul.yougo-list li a {
    color:  var(--color--pale-pink);
}

.yougo-single p {
    margin-bottom: 1rem;
}

.yougo-sgcontent h2 {
    font-weight: 600;
}

p.advisor-single-contain-block {
    color:  var(--color--pale-pink);
}


.advisor-card {
    flex-wrap: wrap;
}

.advisor-inner {
    width: 100%;
}

.advisor-catchcopy {
    width: 100%;
}

@media (min-width: 768px) {
.advisor-inner {
    width: 50%;
}
}


.ranking {
    padding-top: 100px;
}

.ranking-title {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
}

.ranking-title span {
    font-size: 14px;
    color: var(--color--pale-pink);
    text-shadow: 1px 1px 1px #CCC;
    display: block;
    text-align: center;
}

.ranking-inner {
    width: 95%;
    max-width: 900px;
    margin: 8% auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1%;
}

.item.item-small .ranking-image {
    height: 130px;
}

.item.item-small .ranking-image img {
    height: 130px;
    object-fit: cover;
    width: 100%;
}

a.item-link-wrapper {
    text-decoration: none;
}

a.item-link-wrapper .item {
    position: relative;
}

span.rank {
    z-index: 10;
    font-size: 16px;
    position: absolute;
    background-color: #fff;
    border: 2px solid #999;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-weight: 600;
    display: flex;
    justify-content: center;
    align-items: center;
}

.item-large .ranking-image {
    height: 70%;
    overflow: hidden;
}

.ranking-inner .item {
    border: 1px solid #ddd;
    margin-bottom: 3%;
    border-radius: 5px;
    position: relative;
}
.item-small {
    width: 34rem;
    height: 240px;
}
.item-small {
    width: 16.5rem;
    max-width: 218px;
    height: auto;
    aspect-ratio: 160 / 170;
    background-color: #fff;
}

.ranking-image img {
    border-radius: 5px 5px 0 0;
}

.item-meta {
    padding: 1% 2%;
    font-size: 12px;
    text-align: left;
}

span.item-date {
    font-size: 10px;
}

.item-meta .item-title {
    font-weight: 700;
    height: 45px;
    display: block;
}


/**----------FC--------------**/
body.post-type-archive-whitening-fc,
body.single-fc_media,
body.post-type-archive-fc_dictionary,
body.single-fc_dictionary,
body.single-whitening-fc,
body.tax-whitening_fc_tag,
body.tax-whitening_fc_category {
    --color-main: #222;
    --color-text: #333;
    --color-yellow: #FFD708;
    --color-gray: #434343;
    --color--pale-pink: #B8A982;
}

.fc-wrap .page_top img {
    object-fit: cover;
    width: 50%;
    right: 0;
    margin: 0 0 0 auto;
}


.fc-wrap li.c-article-keyword-item {
    background: #B8A982;
    color: #fff;
}

.post-type-archive-whitening-fc .c-header-button a,
.single-fc_media .c-header-button a,
.post-type-archive-fc_dictionary .c-header-button a,
.single-fc_dictionary .c-header-button a {
    background: #B8A982;
}

.post-type-archive-fc_dictionary h1.yougo-ttl.yougo-top {
    font-size: 26px;
	padding: 0;
}

@media screen and (min-width: 768px) {
	.mb-only {
		display: none;
	}
    .p-ctaBand__inner {
        max-width: 930px;
	}
.post-type-archive-whitening-fc .p-ctaBand__actions {
	max-width: 410px
}
	footer.fc-footer .l-footer__bottom {
        width: 68%;
	}
    footer.fc-footer .l-footer__bottom .c-header-menu-list-item a {
        font-size: 0.95rem;
        width: 250px;
        text-align: left;
    }
}


@media screen and (min-width: 768px) { 
	footer.fc-footer .l-footer__bottom .c-header-menu-list-item a {
        font-size: 1rem;
		width: 260px;
    }
}
