/*
Therme Name: second-opinion
Author: TasukuNemoto
Author URI: aquatuskz@gmail.com
Description: test
Version: 1.0
*/

body{
    font-family: Noto Sans JP, sans-serif;
    font-weight: 700;
    font-size: 16px;
}
.container {
    max-width: 960px;
    margin: 0 auto;
}
.lead{
    font-size: 20px;
}
.sp-small{
    font-size: 14px;
}
img.alignright{
    display: block; margin: 0 0 0 auto!important;
}
img.alignleft{
    display: block; margin: 0 auto 0 0!important;
}
img.aligncenter{
    display: block; margin: 0 auto!important;
}
.card img{
    width: 100%;
    height: auto;
    display: block;
}

.navbar-brand img{
    max-width: 60px !important;
    margin-right: 10px;
}
@media(max-width: 767px) {
    .lead{
        font-size: 16px;
    }
    .sp-small{
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .firstview-wrapper {
        min-height: 70vh;
        display: flex;
        align-items: center;
    }
}
.icon-text {
    display: flex;
    align-items: baseline; /* ← baselineで文字のラインに揃える */
    gap: 0.5rem;
    font-size: 1.25rem; /* ≒ Bootstrap .lead 相当 */
    line-height: 1.6;
    margin-bottom: .5rem;
}
.icon-text i {
    font-size: 1.2em;         /* アイコンのサイズを文字と揃える */
    line-height: 1.6;         /* 高さ合わせ */
    position: relative;
    top: 0.1em;               /* 微調整（下に少し下げる） */
}
.small_text{
    font-size: 8px !important;
}
.small_text2{
    font-size: 10px !important;
}
.badge-container {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}
.badge-box {
    flex: 1;
    text-align: center;
}
.badge-icon {
    font-size: 1.4rem;
    color: var(--color-warm);
    margin-bottom: 0.25rem;
}
.badge-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.2;
    white-space: normal;
}
.badge-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-primary);
    white-space: nowrap;
}
.badge-label{
    margin-bottom: .5rem;
}
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
}
.policy-list {
    list-style-type: decimal;
    padding-left: 1.2rem;
    margin: 0 auto;
    max-width: 500px;
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-primary);
}
.policy-list li {
    margin-bottom: 1rem;
}

/* お悩みセクション */
.trouble-section {
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}
@media (max-width: 767px){
    .trouble-section h2{
        font-size: 24px !important;
    }
}
.trouble-image {
    max-width: 260px;
    margin: 0 auto;
    max-height: 250px;
    object-fit: contain;
}
.trouble-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-gray-dark);
}
.trouble-list li {
    display: flex;
    flex-wrap: wrap; /* ← 長文でも許容 */
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.75rem;
    line-height: 1.6;
}
.trouble-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.25rem;
    text-align: center;
}
.trouble-list li span {
    white-space: normal;
    display: inline;
}
.trouble-list i {
    font-size: 1.1rem;
    color: var(--color-accent);
    margin-top: 0.2rem;
}
.trouble-section .container {
    position: relative;
    z-index: 1;
}
@media (min-width: 768px) {
    .trouble-section {
        padding: 4rem 2rem;
    }
    .trouble-image {
        max-height: none;
    }
    .trouble-list {
        font-size: 1rem;
    }
}

/* サービスセクション */
@media(max-width: 767px){
    .services h2{
        font-size: 24px !important;
    }
}
.list-check-badge-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}
@media (min-width: 768px) {
    .list-check-badge-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
.list-check-badge-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--color-light-bg);
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 0.95rem;
    color: var(--color-primary);
}
.list-check-badge-item i {
    margin-right: 0.75rem;
    color: var(--color-accent);
    font-size: 1rem;
    line-height: 1.6;
}

/* 理由セクション */
.reason-section {
    padding: 3rem 1rem;
    background-color: #ffffff;
}
.reason-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    background-color: #f5f5f5;
}
.reason-img {
    position: relative;
}
.reason-img img {
    width: 100%;
    height: auto;
    display: block;
}
.reason-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
}
.reason-text {
    padding: 1.5rem;
    font-size: 0.95rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
}
@media (min-width: 768px) {
    .reason-block {
        flex-direction: row;
        align-items: stretch;
    }
    .reason-img {
        flex: 1 1 50%;
    }
    .reason-text {
        flex: 1 1 50%;
        padding: 2rem;
        display: flex;
        align-items: center;
        font-size: 1rem;
    }
    .reason-label {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
    }
}


/* サポートセクション */
.support-section {
    padding: 3rem 1rem;
}
.support-section h2 {
    font-weight: bold;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1.6rem;
}
.support-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    background-color: var(--color-white);
}
.support-item .support-image {
    max-width: 400px;
    margin-bottom: 20px;
}
.support-item .support-image img {
    width: 100%;
    height: auto;
    border-radius: 0.25rem;
}
.support-item .support-text {
    text-align: left;
    max-width: 640px;
}
.support-item .number {
    display: inline-block;
    color: var(--color-accent);
    font-weight: bold;
    margin-right: 0.5rem;
    margin-bottom: .5rem;
}
.support-text h3{
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
}
.support-text .number {
    font-size: 2rem;
    color: var(--color-accent);
    font-weight: 700;
    flex-shrink: 0;
}
.support-text ul li {
    position: relative;
    margin-bottom: 0.5rem;
}
.support-text ul li::before {
    content: "\f058"; /* Font Awesome のチェックアイコン（fa-check-circle） */
    font-family: "Font Awesome 6 Free";
    font-weight: 500;
    position: absolute;
    left: 0;
    color: var(--color-accent);
}
.support-text li{
    font-size: 14px;
    font-weight: normal;
    padding-left: 1.5rem;
    margin: 0;
    list-style: none;
}
@media (min-width: 768px) {
    .support-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
    }
    .support-item.reverse {
        flex-direction: row-reverse;
    }
    .support-item .support-text {
        flex: 1;
    }
    .support-item .support-image {
        flex: 1;
        margin-bottom: 0;
    }
}
.support-message {
    line-height: 1.6;
}
.support-message p {
    font-size: 14px;
}

/* 料金セクション */
.pricing-section {
    background-color: var(--color-light-bg);
    padding: 4rem 1rem;
    text-align: center;
}
.pricing-heading {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 3rem;
}
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.pricing-card {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.pricing-label {
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: -0.5rem;
    font-size: 0.95rem;
    text-align: center;
}
.pricing-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
}
.pricing-desc {
    font-size: 0.85rem;
    color: var(--color-gray);
    line-height: 1.6;
}
.pricing-note {
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.pricing-image img{
    max-width: 120px;
}
.pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* 事例セクション */
.case-card {
    padding: 1.5rem;
    padding-top: 3rem;
    background-color: var(--color-white);
}
.case-location {
    color: #008080;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}
.case-points {
    padding-left: 1.25rem;
    font-size: 0.875rem;
    margin-bottom: 0;
}
.case-points ul li {
    position: relative;
    margin-bottom: 0.5rem;
}
.case-points li {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: .8rem;
    list-style: none;
}
.case-points li::before{
    content: "\f058"; /* Font Awesome のチェックアイコン（fa-check-circle） */
    font-family: "Font Awesome 6 Free";
    font-weight: 500;
    position: absolute;
    left: 7%;
    color: var(--color-accent);
}
.case-badge {
    position: absolute;
    top: -0.75rem;
    left: 10%;
    transform: translateX(-10%);
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* コンタクトセクション */
.form-check-input{
    border: none !important;
}
.wpcf7-form-control.wpcf7-checkbox .wpcf7-list-item {
    display: inline-block;
    margin-right: 1rem;
    white-space: nowrap;
}
.wpcf7-list-item-label {
    font-weight: normal;
    text-decoration: none;
}

.badge-category{
    z-index: 10;
}

/* index.php */
.object-fit-cover {
    object-fit: cover;
}
.card-link-wrapper {
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
}
.card-link-wrapper:hover {
    text-decoration: none;
}
.card-thumbnail-wrapper {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.card-thumbnail-wrapper img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.readmore-button {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}