.component-text.-bg {
    border: 1px solid #c8c8c8;
    background: #f7f7f7;
    padding: 2rem;
}
.component-text.-frame {
    border: 1px solid #c8c8c8;
    padding: 2rem;
}
.component-img {
    text-align: center;
}
.item {
    line-height: 1.8;
}
[class*='component-'] img {
    width: 100%;
    text-align: center;
}
.component-comment {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.comment__img {
    border-radius: 50%;
    overflow: hidden;
    width: 100%;
    border: 1px solid #c8c8c8;
}
.comment__name {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 1.2rem;
}
.-row.-color01 .comment__text {
    background: #fff;
    border: 2px solid #141414;
}
.comment__text {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 10px;
    width: 100%;
    line-height: 1.8;
}
.-row.-color01 .comment__text::before {
    border-color: transparent #141414 transparent transparent;
}
.comment__text::before, .comment__text::after {
    content: '';
    display: block;
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}
.-row.-color01 .comment__text::after {
    border-color: transparent #fff transparent transparent;
}
.component-comment.-rev {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}.-rev.-color01 .comment__text {
    background: #fff;
    border: 2px solid #141414;
}
.-rev.-color01 .comment__text::before {
    border-color: transparent transparent transparent #141414;
}
.-rev.-color01 .comment__text::after {
    border-color: transparent transparent transparent #fff;
}
.-row.-color02 .comment__text {
    background: #fff;
    border: 2px solid #cc2023;
}
.-row.-color03 .comment__text {
    background: #fff;
    border: 2px solid #ffff00;
}
.-row.-color04 .comment__text {
    background: #fff;
    border: 2px solid #003fb1;
}
.-rev.-color02 .comment__text {
    background: #fff;
    border: 2px solid #cc2023;
}
.-rev.-color03 .comment__text {
    background: #fff;
    border: 2px solid #ffff00;
}
.-rev.-color04 .comment__text {
    background: #fff;
    border: 2px solid #003fb1;
}
.-row.-color02 .comment__text::before {
    border-color: transparent #cc2023 transparent transparent;
}
.-row.-color03 .comment__text::before {
    border-color: transparent #ffff00 transparent transparent;
}
.-row.-color04 .comment__text::before {
    border-color: transparent #003fb1 transparent transparent;
}
.-rev.-color02 .comment__text::before {
    border-color: transparent transparent transparent #cc2023;
}
.-rev.-color03 .comment__text::before {
    border-color: transparent transparent transparent #ffff00;
}
.-rev.-color04 .comment__text::before {
    border-color: transparent transparent transparent #003fb1;
}

.-row.-color02 .comment__text::after,.-row.-color03 .comment__text::after,.-row.-color04 .comment__text::after {
    border-color: transparent #fff transparent transparent ;
}
.-rev.-color02 .comment__text::after,.-rev.-color03 .comment__text::after,.-rev.-color04 .comment__text::after {
    border-color: transparent transparent transparent #fff;
}
.component-btn {
    margin-bottom: 1.5em;
    text-align: center;
}
.component-btn .btn__link {
    display: block;
    max-width: 30rem;
    margin: 0 auto;
}
.button--typeBlack {
    color: #cc2023;
    border: 2px solid #cc2023;
    background-color: #fff;
}
.button {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    padding: 0.1em 3em;
    background-size: 17px;
    border-radius: 5rem;
    -webkit-box-shadow: 3px 3px #000;
    box-shadow: 3px 3px #000;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}
.button--typeBlack::after {
    background-image: url(https://goldies.kaitori-ten.com/wp-content/themes/goldies/common/images/icon_circle_triangle_y-b.png);
}
.button::after {
    content: "";
    position: absolute;
    background-size: cover;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
a {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.caption {
    margin-top: 0.5em;
    font-size: .86667em;
    text-align: left;
}
.movie__inner, .map__inner {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}
.movie__inner iframe, .map__inner iframe {
    position: absolute;
    top: 0;
    right: 0;
    width: 100% !important;
    height: 100% !important;
}
.component-kanren {
    border: 1px solid #c8c8c8;
    border-radius: 5px;
    padding: 10px 20px 20px;
    background: #ece7e5;
}
.component-kanren .heading {
    display: inline-block;
    margin-bottom: 0.66667em;
    font-size: 1.2em;
}
.component-kanren .text {
    margin-bottom: 0.93333em;
}
.l-2col-main .component-kanren h3:before{
    content: none;
}
.gallery__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.gallery__item {
    position: relative;
}
.gallery__item:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2) url(https://goldies.kaitori-ten.com/wp-content/themes/goldies/common/images/icon_zoom.svg) no-repeat center/50px;
    opacity: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}
.gallery__item:hover:before {
    opacity: 1;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
.component-table.-col2 th {
    width: 30%;
}
.component-table th {
    background: #f7f7f7;
}
.component-table th, .component-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border: 1px solid #c8c8c8;
}
.component-imgtext .text{
    display: table;
}
.component-imgtext .text p {
    display: table-cell;
    vertical-align: middle;
}

.component-toc {
    border-radius: 5px;
    border: 1px solid #c8c8c8;
    overflow: hidden;
}
.toc__heading {
    background: #f7f7f7;
    padding: 1.3rem;
    text-align: center;
}
.toc__display {
    text-decoration: underline;
}
.toc__list {
    padding: 2rem;
    font-size: 0.8rem;
}
.toc__term {
    position: relative;
    padding-left: 2em;
    font-weight: bold;
}
.toc__term+.toc__term, .toc__term+.toc__description {
    margin-top: 0.5em;
}
.toc__num {
    position: absolute;
    top: 0;
    left: 0;
}
.toc__description {
    position: relative;
    margin-left: 1em;
    padding-left: 3em;
}
@media screen and (min-width: 750px){
    [class*='component-'] {
        margin: 2em auto;
    }
    [class*='component-'].-md {
        width: 75%;
    }
    [class*='component-'].-sm {
        width: 48.829%;
    }
    .row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
    .col-md {
        width: 48.829%;
    }
    .row.-rev {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
    .col-sm {
        width: 33%;
    }
    .col-lg {
        width: 63%;
    }
    .comment__imgwrap {
        min-width: 80px;
        max-width: 80px;
    }
    .comment__text {
        min-height: 100px;
        margin: 0 30px;
        padding: 2rem;
    }
    .-row .comment__text::before {
        left: -16px;
    }
    .-row .comment__text::before, .-row .comment__text::after {
        border-width: 7.5px 15px 7.5px 0;
    }
    .comment__text::before, .comment__text::after {
        top: 35px;
    }
    .-row .comment__text::after {
        left: -12px;
    }
    .-rev .comment__text::before {
        right: -16px;
    }
    .-rev .comment__text::before, .-rev .comment__text::after {
        border-width: 7.5px 0 7.5px 15px;
    }
    .-rev .comment__text::after {
        right: -12px;
    }
    .button {
        font-size: 18px;
        height: 65px;
    }
    .button::after {
        width: 20px;
        height: 20px;
        right: 20px;
    }
    .button--typeBlack:hover {
        border: 2px solid #cc2023;
        color: #cc2023;
        background-color: #fff;
    }
    .button:hover {
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transform: translate3d(3px, 3px, 0);
        transform: translate3d(3px, 3px, 0);
    }
    .component-kanren .btn__link {
        max-width: 20rem;
    }
    .button--small {
        height: 50px;
    }
    .component-kanren .col-sm.item{
        display: flex;
    }
    .l-content .gallery__item {
        width: 24%;
    }
    .l-content .gallery__item:not(:nth-child(4n)) {
        margin-right: 1.3%;
    }
    .toc__display {
        -webkit-transition: all .3s;
        transition: all .3s;
        cursor: pointer;
    }
}
@media screen and (max-width: 749px){
    [class*='component-'] {
        margin: 1em 0;
    }
    .item:nth-child(n+2) {
        margin-top: 2rem;
    }
    .comment__imgwrap {
        min-width: 17.3913%;
        max-width: 17.3913%;
    }
    .-row .comment__text {
        margin-left: 2rem;
    }
    .comment__text {
        min-height: 60px;
        padding: 1.5rem;
    }
    .-row .comment__text::before {
        left: -1.5rem;
    }
    .-row .comment__text::before, .-row .comment__text::after {
        border-width: 0.75rem 1.5rem 0.75rem 0;
    }
    .comment__text::before, .comment__text::after {
        top: 23px;
    }
    .-row .comment__text::after {
        left: -1.3rem;
    }
    .-rev .comment__text {
        margin-right: 2rem;
    }
    .-rev .comment__text::before {
        right: -1.5rem;
    }
    .-rev .comment__text::before, .-rev .comment__text::after {
        border-width: 0.75rem 0 0.75rem 1.5rem;
    }
    .-rev .comment__text::after {
        right: -1.3rem;
    }
    .button {
        width: 85%;
        min-height: 3rem;
        margin: 0 auto;
        font-size: 1.4rem;
    }
    .component-kanren .item:nth-child(n+2) {
        margin-top: 0;
    }
    .component-kanren .btn__link {
        width: 100%;
    }
    .component-kanren{
        padding: 15px 20px 15px;
    }
    .component-kanren .col-sm.item{
        width: 100%;
    }
    .gallery__item {
        position: relative;
        width: 32.4%;
    }
    .gallery__item:not(:nth-child(3n)) {
        margin-right: 1.3%;
    }
    .component-table {
        overflow: auto;
    }
    .component-table th, .component-table td {
        font-size: 1rem;
    }
    span.en {
        font-size: 18px;
    }
    .toc__list {
        padding: 1rem;
    }
    .component-toc{
        margin-top: 30px;
    }
}
/* CTA設置 */
.cta-box {
    background: #f6f6f6;
    border-left: 6px solid #ffb62d;
    padding: 24px;
    border-radius: 10px;
    margin: 30px 0;
    font-family: sans-serif;
}

.cta-heading {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #00695c;
}

.cta-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: nowrap; /* ← 折り返しを禁止 */
}

.cta-text {
    width: 50%; /* ← 明示的に幅指定（例：70%） */
}

.cta-action {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: flex-end; /* ← これで右下に寄る */
    height: 100%;         /* ← テキストと同じ高さを確保 */
}

.cta-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cta-text li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.cta-button {
    background-color: #ffb62d;
    color: white;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background-color: #fbc96cec;
}

@media screen and (max-width: 640px) {
    .cta-body {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-action {
        position: static;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .cta-button {
        width: 85%;
        font-size: 1.5rem;
    }
    .cta-heading {
        font-size: 2rem;
    }
    .cta-text li {
        margin-bottom: 8px;
        font-size: 1.3rem;
    }
}
@media screen and (min-width: 1025px){
    .cta-button{
        font-size: 1.5rem;
    }
}

/* 買取一覧ページへのCTA */
.kaitori-cta-box {
	background-color: #94d6d6;
    padding: 1.2em 1em;
    text-align: center;
    border-radius: 10px;
    width: 85%;
    margin: 0 auto;
	box-shadow: 4px 4px 3px rgba(0, 0, 0, 1.25);	
}

#main .kaitori-cta-box p.kaitori-cta-heading {
	font-size: 2em;
    margin-bottom: 10px;
	font-weight: bold;
	color: #fff; 
	text-shadow:
        -2px -2px 0 #000,
        -2px  0px 0 #000,
        -2px  2px 0 #000,
        0px -2px 0 #000,
        0px  2px 0 #000,
        2px -2px 0 #000,
        2px  0px 0 #000,
        2px  2px 0 #000,
        0px  0px 0 #000; 
}

.kaitori-cta-btn {
    display: inline-block;
    background-color: #ff5e95;
    color: #fff;
    padding: 0.6em 1.8em;
    border-radius: 999px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    position: relative;
    transition: background 0.3s ease;
}

.kaitori-cta-btn::after {
    content: '＞';
    margin-left: 0.6em;
    font-size: 1em;
}

.kaitori-cta-btn:hover {
    background-color: #e24e84;
}
