/* ----------------------------------------------------------------------
   Common section header styles
---------------------------------------------------------------------- */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle {
    font-family: "A P-OTF Shuei MaruGo Std", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 2.15;
    color: var(--secondary);
    margin: 0 0 6px 0;
    letter-spacing: 0.05em;
}

.section-title {
    font-family: "A P-OTF Shuei MaruGo Std", sans-serif;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 1.33;
    color: var(--secondary);
    margin: 0;
    letter-spacing: 0.05em;
}

/* ----------------------------------------------------------------------
   KV styles
---------------------------------------------------------------------- */
#kv-wrap {
    background: linear-gradient(127deg, #fff 30%, #ffe6df);
    padding: 0 0 17px;
    position: relative;
}

#kv-wrap::after {
    content: "";
    background-image: url("../img/img-wavy-line.svg");
    position: absolute;
    width: 100%;
    height: 17px;
    background-size: cover;
    max-width: 430px;
    margin: 0 auto;
    z-index: 10;
}

#kv {
    padding: 10px 24px 0;
    background-image: url("../img/img-back.png");
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    height: 720px;
    position: relative;
}

/* ----------------------------------------------------------------------
   Wavy line divider
---------------------------------------------------------------------- */
.kv-text {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

h1.kv_title {
    font-size: 3.2rem;
    font-weight: bold;
    line-height: 1.35;
}

h1 span {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.kv-point img {
    margin-bottom: 4px;
    filter: drop-shadow(10px 10px 30px rgba(97, 56, 42, 0.15));
}

.text-time {
    position: absolute;
    bottom: 130px;
}

.text-time p {
    font-size: 1.6rem;
    line-height: 2.6rem;
}

.text-time .small {
    font-size: 1.2rem;
}

img.img-mobile {
    position: absolute;
    bottom: 120px;
    right: 24px;
    width: 111px;
    height: 146px;
}

/* ----------------------------------------------------------------------
   cause styles
---------------------------------------------------------------------- */
#cause {
    background: linear-gradient(#e3cbc2, #fff);
    position: relative;
}

#cause_b {
    background: #fff;
    position: relative;
}

#cause img {
    width: 100%;
    height: auto;
}

/* Cause data text styles */
.cause-data-text {
    text-align: center;
    margin: 0 auto 24px;
    max-width: 90%;
}

.cause-data-title {
    font-family: "A P-OTF Shuei MaruGo Std", sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1.3;
    margin: 0 0 8px 0;
    white-space: nowrap;
}

.cause-data-title-line {
    border-bottom: 3px dotted currentColor;
    display: inline-block;
    letter-spacing: 0.1rem;
}

.cause-data-title .highlight-number {
    font-family: "Readex Pro", sans-serif;
    font-size: 6rem;
}

.cause-data-title .highlight-number-sub {
    font-family: "Readex Pro", sans-serif;
    font-size: 3rem;
}

.cause-data-title .highlight-number.note-mark {
    position: relative;
}

.cause-data-title .highlight-number.note-mark::after {
    content: "※";
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
}

.cause-data-note {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: #aaa;
    margin: 0;
    text-align: right;
}

.cause-point {
    filter: drop-shadow(2px 2px 5px rgba(109, 66, 48, 0.1));
}

.cause-detail {
    background: linear-gradient(#fff, #ffe5dd);
    padding: 24px 24px 100px;
    position: relative;
    filter: drop-shadow(10px 10px 30px rgba(97, 56, 42, 0.15));
}

.cause-detail::before {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #ffe3e0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 0;
}

.cause-detail::after {
    content: "";
    background-image: url(../img/img-cause-back.svg);
    position: absolute;
    bottom: 140px;
    right: 0;
    width: 97px;
    height: 226px;
    z-index: -1;
    background-repeat: no-repeat;
}

.cause-detail-02 {
    padding: 20px;
    z-index: 1;
    position: relative;
    width: 100%;
    height: 140px;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.cause-detail-02 img {
    position: absolute;
    top: -25rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 0 16px;
}

ul.cause-ex li {
    background-color: #fff;
    box-shadow: var(--shadow-red);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.4rem;
    display: inline-flex;
    padding: 8px 12px;
    list-style: none;
    margin-bottom: 16px;
}

ul.cause-ex li span {
    color: var(--primary);
}

.cause-result {
    margin-top: -90px;
    position: relative;
}

.img-group {
    position: sticky;
    padding-top: 3px;
}

/* ----------------------------------------------------------------------
   Support section styles
---------------------------------------------------------------------- */
.support-section {
    padding: 40px 24px 16px;
    position: relative;
}

.support-content {
    max-width: 375px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.support-header {
    text-align: center;
    position: relative;
    width: 316px;
    height: 116px;
}

.support-title {
    font-family: "A P-OTF Shuei NijimiMGo Std", serif;
    font-weight: 600;
    font-size: 2.4rem;
    line-height: 2.42;
    letter-spacing: 0.07em;
    color: var(--secondary);
    text-align: center;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-line {
    position: absolute;
    height: 2px;
    border-radius: 1px;
}

.decoration-line:nth-child(1) {
    top: 53px;
    left: 19px;
    width: 278px;
    background-image: repeating-linear-gradient(to right, var(--secondary) 0px, var(--secondary) 3px, transparent 3px, transparent 8px);
}

.decoration-line:nth-child(2) {
    top: 110px;
    left: 31px;
    width: 253px;
    background-image: repeating-linear-gradient(to right, var(--secondary) 0px, var(--secondary) 3px, transparent 3px, transparent 8px);
}

.support-description {
    text-align: center;
    position: relative;
    width: 100%;
}

.support-description p {
    font-family: "A P-OTF Aoto Gothic StdN", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 2em;
    letter-spacing: 0.05em;
    color: #7b8fa8;
    margin: 0;
}

.moon-icon {
    position: absolute;
    top: 0;
    right: 24px;
    width: 57px !important;
    height: 46px !important;
    max-width: 57px;
    max-height: 46px;
}

.moon-icon svg {
    width: 100%;
    height: 100%;
}

.director-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 258px;
    margin-bottom: 30px;
}

.director-image {
    width: 134px !important;
    height: 134px !important;
    max-width: 134px;
    max-height: 134px;
    border-radius: 50%;
    object-fit: cover;
}

.director-image svg {
    width: 100% !important;
    height: 100% !important;
}

/* SVG画像のサイズ制御 */
img[src$=".svg"] {
    max-width: 100%;
    height: auto;
}

img.moon-icon,
img.director-image {
    display: block;
}

/* img-cause-arr.svg のサイズ制御とセンター寄せ */
img[src*="img-cause-arr.svg"] {
    width: 130px !important;
    height: 34px !important;
    max-width: 130px;
    max-height: 34px;
    display: block;
    margin: 30px auto -24px;
}

.director-info {
    text-align: left;
    width: 100%;
}

.director-name {
    display: flex;
    flex-direction: row;
    align-items: end;
    gap: 8px;
    margin-bottom: 8px;
}

.director-title {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.94;
    color: var(--secondary);
}

.director-name-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.director-name-main {
    font-weight: 500;
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 2px;
}

.director-name-kana {
    font-weight: 300;
    font-size: 1rem;
    color: var(--secondary);
}

.director-bio {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1.67;
    color: var(--secondary);
    margin: 0;
}

/* Price section */
.price-section {
    background-color: #fff3f0;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.price-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 375px;
}

.price-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 2px 2px 0px 0px rgba(237, 225, 214, 1);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.price-card-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-feature {
    display: flex;
    align-items: center;
}

.price-feature span {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.43;
    color: var(--primary);
}

.price-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.price-item-header h4 {
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.42;
    color: var(--secondary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-item-value {
    text-align: right;
}

.price-amount {
    display: block;
    font-weight: 600;
    font-size: 2.1rem;
    line-height: 1;
    color: var(--secondary);
    padding-bottom: 4px;
}

.price-note {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
    color: var(--secondary);
}

.price-divider {
    height: 1px;
    background: repeating-linear-gradient(to right, #8897bb 0px, #8897bb 2px, transparent 2px, transparent 4px);
    border: none;
    margin: 0;
}

.price-note-text {
    margin-top: 10px;
}

.price-note-text p {
    font-size: 1.2rem;
    line-height: 1.67;
    color: var(--secondary);
    margin: 0;
}

.payment-description p {
    line-height: 1.71;
    color: var(--secondary);
    margin: 0;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background-color: #fff;
    border-radius: 8px;
}

.payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.payment-icon img {
    width: 24px;
    height: 24px;
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.payment-info h4 {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    line-height: 1.43;
    color: var(--secondary);
    margin: 0;
}

.payment-info p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 1.14;
    color: var(--secondary);
    margin: 0;
}

.payment-divider {
    height: 1px;
    background: repeating-linear-gradient(to right, #8897bb 0px, #8897bb 2px, transparent 2px, transparent 4px);
    border: none;
    margin: 0;
}

/* Symptoms section */
.symptoms-section {
    background-color: #fff;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.symptoms-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.symptoms-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 14px;
    width: 100%;
}

.symptom-card {
    background-color: #fff3e9;
    border-radius: 16px;
    padding: 12px 8px;
    box-shadow: 2px 2px 0px 0px rgba(237, 225, 214, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    height: 110px;
    width: 100%;
    justify-content: center;
    flex-shrink: 0;
}

.symptom-card span {
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
    color: var(--secondary);
    word-wrap: break-word;
    hyphens: auto;
}

.other-symptoms {
    background-color: #fff;
    border: 1px solid #d6daed;
    border-radius: 20px;
    padding: 25px 24px;
    box-shadow: 2px 2px 0px 0px rgba(214, 218, 237, 1);
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.other-symptoms h3 {
    font-family: "A P-OTF Shuei MaruGo StdN", sans-serif;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.86;
    text-align: center;
    color: var(--secondary);
    margin: 0;
}

.symptom-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.symptom-tag-row {
    display: flex;
    gap: 10px;
}

.symptom-tag {
    background-color: #fff3ed;
    border-radius: 16px;
    padding: 6px 15px;
    font-family: "A P-OTF Aoto Gothic StdN", sans-serif;
    font-weight: 500;
    line-height: 2;
    text-align: center;
    color: var(--secondary);
    white-space: nowrap;
}

.symptoms-note {
    display: flex;
    align-items: center;
    gap: 8px;
}

.symptoms-note p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.67;
    color: var(--secondary);
    margin: 0;
    width: 263px;
}

/* Medicine section */
.medicine-section {
    background-color: #fff;
    padding: 0 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.medicine-section-inner {
    background-color: #fff;
    border: 2px dashed #c0c8ef;
    border-radius: 20px;
    max-width: 430px;
    margin: 0 auto;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.medicine-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.medicine-tags {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.medicine-tag-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.medicine-tag {
    background-color: #fff3ed;
    border-radius: 16px;
    padding: 8px 15px;
    line-height: 2;
    text-align: center;
    color: var(--secondary);
    white-space: nowrap;
}

.medicine-note {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.medicine-note p {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.67;
    color: var(--secondary);
    margin: 0;
}

/* Feature section */
.feature-section {
    padding: 30px 24px;
    background-color: #fff3f0;
}

.feature-section h2 span {
    color: var(--primary);
    font-size: 3.2rem;
}

.feature-points {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin-bottom: 10px;
}

.feature-point-card {
    width: 110px;
    height: 103px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 243, 233, 1) 100%);
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 13px;
    text-align: center;
}

.feature-point-card p {
    line-height: 1.38;
    color: var(--secondary);
    margin: 0;
    white-space: nowrap;
}

.feature-point-card p span {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 2px 2px 0px 0px rgba(237, 225, 214, 1);
    padding: 0 20px 20px;
    overflow: hidden;
}

.feature-card-image {
    position: relative;
    width: calc(100% + 40px);
    margin: 0 -20px;
    height: 152px;
    overflow: hidden;
}

.feature-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.feature-card-badge {
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 83px;
}

.badge-icon {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 76px !important;
    height: 72px !important;
}

.badge-number {
    position: absolute;
    top: 34px;
    left: 24px;
    font-size: 3.2rem;
    line-height: 0.8;
    letter-spacing: 0.05em;
    color: #fff;
}

.badge-text {
    position: absolute;
    top: 12px;
    left: 25px;
    font-size: 1rem;
    line-height: 2.56;
    letter-spacing: 0.06em;
    color: #fff;
}

.feature-card-content {
    padding: 14px 0 0;
}

.feature-card-title {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0 0 10px 0;
}

.feature-card-title span {
    color: var(--primary);
    font-size: 2rem;
}

.feature-card-description span {
    background: linear-gradient(transparent 60%, rgba(253, 96, 81, 0.15) 60%);
    font-weight: 700;
    padding: 2px;
    border-radius: 2px;
}

.feature-card-description {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--secondary);
    margin: 0;
    position: relative;
}

/* Flow section */
.flow-section {
    background-color: #fff3f0;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    position: relative;
}

.flow-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
    position: relative;
}

.step-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.step-circle {
    width: 60px;
    height: 60px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-text {
    line-height: 1.22;
    letter-spacing: 0.04em;
    text-align: center;
    color: #fff;
}

.step-content {
    flex: 1;
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 2px 2px 0px 0px rgba(237, 225, 214, 1);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 4px;
}

.step-header img {
    width: 24px;
    height: 24px;
}

.step-header h3 {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0;
}

.step-image {
    width: 100%;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-description {
    width: 100%;
}

.step-description p {
    font-size: 1.4rem;
    line-height: 1.7;
    color: var(--secondary);
    margin: 0;
}

/* ステップ間の接続線 */
.flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 30px;
    top: 60px;
    width: 1px;
    height: calc(100% + 24px);
    background-image: repeating-linear-gradient(to bottom, var(--secondary) 0px, var(--secondary) 2px, transparent 2px, transparent 5px);
    z-index: 1;
}

/* Doctor section */
.doctor-section {
    background-color: #fff;
    padding: 32px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.doctors-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.doctor-card {
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.doctor-name-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.doctor-name-kana {
    font-size: 1rem;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
}

.doctor-name {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
}

.doctor-credentials {
    display: flex;
    flex-direction: column;
}

.doctor-credential {
    line-height: 1.43;
    color: var(--primary);
    margin: 0;
}

.doctor-image {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.doctor-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0;
}

.doctor-divider {
    height: 1px;
    background: repeating-linear-gradient(to right, #8897bb 0px, #8897bb 2px, transparent 2px, transparent 4px);
    border: none;
    margin: 0;
}

.medical-institution {
    background-color: #fff3ed;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.institution-title {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--secondary);
    margin: 0;
}

.institution-name {
    line-height: 1.4;
    color: var(--secondary);
    margin: 0;
}

.medical-institution-image {
    width: 100%;
    overflow-x: auto;
}

.institution-image-scroll {
    display: flex;
    gap: 15px;
    width: max-content;
    padding: 0 0 10px 0;
}

.institution-image-scroll img {
    width: 267px;
    height: 161px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Counseling section */
.counseling-section {
    background-color: #e9f9f3;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.counseling-description {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--secondary);
    margin: 0;
    text-align: left;
}

.counseling-service-card {
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.service-image-container {
    width: 100%;
    height: 152px;
    position: relative;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.service-image-mask {
    position: relative;
    width: 100%;
    height: 100%;
}

.service-image-mask img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-image-note {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 0.8rem;
    line-height: 1.2;
    color: #333333;
    margin: 0;
}

.service-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

.service-logo {
    display: flex;
    align-items: center;
    gap: 2px;
    justify-content: center;
}

.service-logo img {
    width: 187px;
    height: 35px;
}

.service-logo p {
    margin-top: 8px;
    font-size: 1.6rem;
    font-weight: 500;
}

.service-stats {
    display: flex;
    justify-content: center;
}

.service-stats img {
    width: 287px;
    height: 93px;
}

.service-description {
    width: 100%;
}

.service-description p {
    line-height: 1.7;
    color: var(--secondary);
    margin: 0;
}

.service-note {
    font-size: 1rem;
    line-height: 1.58;
    color: var(--secondary);
    margin: 0;
    text-align: left;
}

.counselor-description {
    line-height: 1.7;
    color: var(--secondary);
    margin: 0;
    text-align: left;
}

.counselors-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.counselor-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 2px 2px 0px 0px rgba(214, 237, 229, 1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.counselor-card:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0px 0px rgba(214, 237, 229, 1);
}

.counselor-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.counselor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.counselor-name-section {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.counselor-name-kana {
    font-size: 1rem;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
}

.counselor-name-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
}

.counselor-name {
    font-size: 2rem;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
}

.counselor-title {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--secondary);
    margin: 0;
    margin-left: 4px;
}

.counselor-stats {
    display: flex;
    flex-direction: column;
}

.counselor-consultations {
    font-size: 1.3rem;
    line-height: 1.2;
    color: #0ca795;
    margin: 0;
}

.counselor-image {
    width: 83px;
    height: 83px;
    flex-shrink: 0;
}

.counselor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d0d8f2;
}

.counselor-profile {
    line-height: 1.4;
    color: var(--secondary);
    margin: 0;
}

/* FAQ section */
.faq-section {
    background-color: #fff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.faq-item {
    background-color: #f6f6f6;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.faq-question {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 4px 0 0;
    width: 100%;
}

.faq-question h3 {
    line-height: 1.71;
    color: var(--secondary);
    margin: 0;
}

.faq-answer {
    width: 100%;
}

.faq-answer p {
    line-height: 1.71;
    color: var(--secondary);
    margin: 0;
}

.faq-answer a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary);
    text-underline-offset: 2px;
}

.faq-answer a:hover {
    text-decoration-thickness: 2px;
}

.faq-button-wrapper {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

/* ----------------------------------------------------------------------
   index.html_b専用
---------------------------------------------------------------------- */
.cause-detail_b {
    background: linear-gradient(#fff, #ffe5dd);
    padding: 24px 24px 0;
    position: relative;
}

.cause-detail_b::before {
    content: "";
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: #ffe3e0;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    z-index: 0;
}

.price-top {
    background: #fff;
    border: 4px #e3eafa solid;
    border-radius: 20px;
    color: #72809a;
    padding: 16px;
}

.price-top h2 {
    font-weight: 500;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.price-top ul li {
    list-style: none;
    font-size: 1rem;
}

.price-items_b {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.price-item_b {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.price-item-header_b {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 1.42;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-amount_b {
    font-weight: 500;
    font-size: 2.1rem;
    line-height: 1;
    padding-bottom: 4px;
}

.price-note_b {
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1;
}

.support-title_b {
    font-family: "A P-OTF Shuei NijimiMGo Std", serif;
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--secondary);
    text-align: center;
}

.img-cause-b_img {
    margin-bottom: 60px;
}

.img-cause-b_img img {
    width: 100%;
    height: auto;
}

/* ----------------------------------------------------------------------
   Responsive design
---------------------------------------------------------------------- */

/* 320px以下 */
@media (max-width: 320px) {

    .feature-section,
    .price-section,
    .symptoms-section,
    .flow-section,
    .doctor-section,
    .counseling-section,
    .faq-section {
        padding: 30px 16px;
    }

    .medicine-section {
        padding: 0 16px 16px;
    }

    .other-symptoms {
        padding: 20px 16px;
    }

    .cause-detail-02 img {
        top: -19rem;
    }

    .cause-data-title {
        font-size: 1.8rem;
    }

    .cause-data-title .highlight-number {
        font-size: 2.4rem;
    }

    .cause-data-title .highlight-number.note-mark::after {
        font-size: 1rem;
        top: -6px;
        right: -6px;
    }

    .cause-data-text {
        max-width: 100%;
    }
}

/* 375px以下 */
@media (max-width: 375px) {

    /* KV section */
    #kv {
        padding: 10px 16px 0;
        height: 660px;
    }

    h1.kv_title {
        font-size: 2.4rem;
    }

    h1 span {
        font-size: 1.6rem;
    }

    .text-time {
        bottom: 110px;
    }

    .text-time p {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .text-time .small {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    img.img-mobile {
        bottom: 120px;
        right: 16px;
    }

    .cause-detail-02 img {
        top: -22rem;
    }

    .cause-data-title {
        font-size: 2rem;
    }

    .cause-data-title .highlight-number {
        font-size: 2.8rem;
    }

    .cause-data-title .highlight-number.note-mark::after {
        font-size: 1.1rem;
        top: -7px;
        right: -7px;
    }

    /* Support section */
    .support-section {
        padding: 16px;
    }

    .support-description {
        font-size: 1.3rem;
    }

    .director-profile {
        font-size: 1.1rem;
    }

    /* Line area */
    .line-area {
        padding: 30px 16px;
    }

    .line-button-container {
        padding: 0 16px;
    }

    /* Button adjustments */
    .btn-secondary {
        padding: 15px 18px;
    }
}

/* 390px以下 */
@media (max-width: 390px) {
    .cause-detail-02 img {
        top: -22rem;
    }
}

/* 391px〜429px */
@media (min-width: 391px) and (max-width: 429px) {
    #kv {
        height: 750px;
    }

    img.img-mobile {
        bottom: 130px;
    }

    .text-time {
        bottom: 110px;
    }

    .cause-detail-02 img {
        top: -24.5rem;
    }
}

/* 430px以上 */
@media (min-width: 430px) {
    #kv {
        height: 750px;
    }

    .text-time {
        bottom: 104px;
    }
}