@charset "UTF-8";
/* CSS Document */

section {
    padding: 2rem 0;
}

@media screen and (min-width: 768px) {
    section {
        padding: 3rem 0;
    }
}

@media screen and (min-width: 1000px) {
    section {
        padding: 5.8rem 0;
    }
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ============================================
   汎用クラス
   ============================================ */
.tag {
    display: inline-block;
    background: var(--main-color);
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 0.4em .8em;
    border-radius: 4px;
    letter-spacing: 0.03em;
}

.separator {
    margin: 3.5rem 0;
}

/* ============================================
   汎用セクションヘッダー
   ============================================ */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-header::before {
    content: "";
    display: block;
    width: 1px;
    height: 40px;
    background: var(--main-color);
    margin-top: -1rem;
    margin-bottom: 0.8rem;
}

/* h3 */
.section-header__en {
    font-family: var(--en-font);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--main-color);
    margin: 0 0 0.25rem;
}

/* h4とh3のline-height(46px) × 2 = 92px のmargin */
.section-header__ja {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.7rem;
    line-height: 1.6;
    white-space: normal;
    text-align: center;
    color: var(--color-black);
    margin: 1rem 0 0;
}

.section-header__text {
    font-size: 0.9rem;
    color: var(--color-black);
    line-height: 1.7;
    margin-top: 1.3rem;
}

@media screen and (min-width: 768px) {
    .section-header::before {
        height: 50px;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .section-header__en {
        font-size: 1.5rem;
        margin: 0;
    }

    .section-header__ja {
        font-size: 2.25rem;
        margin: 1.5rem 0 0;
    }

    .section-header__text {
        font-size: 1rem;
        line-height: 1.8;
        margin-top: 2rem;
    }
}

@media screen and (min-width: 1000px) {
    .section-header::before {
        height: 60px;
    }

    .section-header__en {
        font-size: 2.2rem;
    }

    .section-header__ja {
        font-size: 3rem;
       /* margin: 2.5rem 0 0;*/
    }
	
	

    .section-header__text {
        margin-top: 3.75rem;
        line-height: 2.2;
    }
}

.no-parent-header {
    margin: 2rem 0 0;
}

.main-color {
    color: var(--main-color);
    font-size: inherit;
    font-weight: inherit;
}

/* ============================================
   1. ボタン .btn-primary
   Figma: 545 × 114px, border-radius: 57px (pill)
   ============================================ */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    height: 72px;
    padding: 0 1rem;
    margin-left: auto;
    margin-right: auto;
    background: var(--btn-color);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 36px;
    border: none;
    cursor: pointer;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: var(--main-color);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    opacity: 0.85;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

@media screen and (min-width: 768px) {
    .btn-primary {
        max-width: 480px;
        height: 90px;
        padding: 0 1.5rem;
        border-radius: 45px;
        font-size: 1.1rem;
        gap: 10px;
    }
}

@media screen and (min-width: 1000px) {
    .btn-primary {
        max-width: 545px;
        height: 115px;
        padding: 0 3rem;
        border-radius: 57px;
        font-size: 1.5rem;
    }
}

/* ============================================
   2. 吹き出し①（小・濃紺） .balloon-sm
   Figma: 320.96 × 72.31px → 縦横比 4.4:1 の俵形
   三角：下向き中央、Figmaの多角形に準じて幅を絞って流れる感じ
   ============================================ */
.balloon-sm {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8em 1.6em;
    min-width: 160px;
    background: var(--main-color);
    border-radius: 28px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 0.79rem;
    line-height: 1.3;
    text-align: center;
    color: var(--color-white);
    white-space: nowrap;
    border: 1px solid var(--main-color);
}

/* 斜め三角：左寄せ・先端が右下向き
   左側を斜めに、右側を垂直に立てることで
   左側に寄った位置で先端が右下を向く三角を作る */
.balloon-sm::after {
    content: "";
    position: absolute;
    /* 吹き出し底辺の左から約20%あたりに配置 */
    bottom: -14px;
    left: 22px;
    width: 0;
    height: 0;
    /* 左辺を斜めに（幅を細く）、右辺を垂直（0px）、高さで深さを調整 */
    border-left: 10px solid transparent;
    border-right: 0px solid transparent;
    border-top: 14px solid var(--main-color);
}

@media screen and (min-width: 768px) {
    .balloon-sm {
        padding: 0.8em 1.6em;
        min-width: 180px;
        border-radius: 32px;
        font-size: 1.01rem;
        line-height: 1.4;
    }

    .balloon-sm::after {
        bottom: -16px;
        left: 24px;
        border-left: 12px solid transparent;
        border-right: 0px solid transparent;
        border-top: 16px solid var(--main-color);
    }
}

@media screen and (min-width: 1000px) {
    .balloon-sm {
        padding: 0 1.8rem;
        height: 65px;
        min-width: 200px;
        border-radius: 36px;
        font-size: 1.35rem;
        line-height: 1.6;
    }

    .balloon-sm::after {
        bottom: -20px;
        left: 28px;
        border-left: 14px solid transparent;
        border-right: 0px solid transparent;
        border-top: 22px solid var(--main-color);
    }
}

/* ============================================
   3. 吹き出し②（大・水色）.balloon-lg
   Figma: 926 × 150px（縦横比 6.2:1 の俵型）
   三角：Figma 多角形12 × 12px, rotate180°
   ============================================ */
.balloon-lg {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 926px;
    height: 135px;
    padding: 0 2.5rem;
    background: var(--btn-color);
    box-shadow: var(--shadow-sm);
    border-radius: 75px;
    /* height/2 で俵型 */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 2.08rem;
    line-height: 1;
    text-align: center;
    color: var(--main-color);
    white-space: nowrap;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 767px) {
    .balloon-lg {
        height: 72px;
        padding: 0 1rem;
        font-size: 1rem;
        border-radius: 50px;
        white-space: nowrap;
        line-height: 1.4;
    }

    .balloon-lg::after {
        bottom: -18px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 18px solid var(--btn-color);
    }
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .balloon-lg {
        height: 100px;
        padding: 0 2rem;
        font-size: 1.46rem;
        border-radius: 60px;
        white-space: nowrap;
        line-height: 1.3;
    }

    .balloon-lg::after {
        bottom: -22px;
        border-left: 9px solid transparent;
        border-right: 9px solid transparent;
        border-top: 22px solid var(--btn-color);
    }
}

/* 細い下向き三角：幅を絞り・高さで先端を中央（下）に向ける */
.balloon-lg::after {
    content: "";
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-49%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 28px solid var(--btn-color);
}

/* ============================================
   4. 帯状見出し .band-heading
   Figma: 1920 × 120px の斜め帯 + 51 × 2px 下向き三角
   ============================================ */
.band-heading {
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.9rem;
    background: var(--main-color);
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--main-color);
}

.band-heading__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    color: var(--color-white);
}

.band-heading::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-49%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid var(--main-color);
}

@media screen and (min-width: 768px) {
    .band-heading {
        height: 100px;
        padding: 0 1.5rem;
        margin-top: 4.5rem;
        margin-bottom: 3rem;
    }

    .band-heading__text {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .band-heading::after {
        bottom: -17px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 17px solid var(--main-color);
    }
}

@media screen and (min-width: 1000px) {
    .band-heading {
        height: 120px;
        padding: 0 2.5rem;
        margin-top: 5.8rem;
        margin-bottom: 3.75rem;
    }

    .band-heading__text {
        font-size: clamp(20px, 2.5vw, 36px);
        line-height: 1.8;
    }

    .band-heading::after {
        bottom: -20px;
        border-left: 18px solid transparent;
        border-right: 18px solid transparent;
        border-top: 20px solid var(--main-color);
    }
}

/* ============================================
   5. 左バー付き見出し .bar-heading
   左側に縦のバー + テキストの組み合わせ
   ============================================ */
.bar-heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--main-color);
    margin-top: 3.5rem;
	letter-spacing: 1px
}

.bar-heading::before {
    content: "";
    display: block;
    width: 14px;
    height: 55px;
    background: var(--main-color);
    border-radius: 0 5px 5px 0;
    flex-shrink: 0;
}

/* ============================================
   6. 動画プレビューブロック .video-preview
   静止画 + 再生ボタン + タイトルの組み合わせ
   ============================================ */
.video-preview-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
    margin-top: 1.3rem;
}

@media screen and (min-width: 768px) {
    .video-preview-grid {
        gap: 2.5rem;
        margin-top: 2rem;
    }
}

@media screen and (min-width: 1000px) {
    .video-preview-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5.8rem;
    }
}

.video-preview {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.video-preview__thumbnail {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease;
}

@media screen and (min-width: 768px) {
    .video-preview__thumbnail {
        height: 300px;
        border-radius: 22px;
    }
}

@media screen and (min-width: 1000px) {
    .video-preview__thumbnail {
        height: 425px;
        border-radius: 25px;
    }
}

.video-preview__thumbnail:hover {
    transform: scale(1.02);
}

.video-preview__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-preview__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.video-preview__play-button::before {
    content: "";
    width: 20px;
    height: 18px;
    background: var(--color-white);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    margin-left: 5px;
}

@media screen and (min-width: 768px) {
    .video-preview__play-button {
        width: 80px;
        height: 80px;
    }

    .video-preview__play-button::before {
        width: 25px;
        height: 22px;
        margin-left: 6px;
    }
}

@media screen and (min-width: 1000px) {
    .video-preview__play-button {
        width: 100px;
        height: 100px;
    }

    .video-preview__play-button::before {
        width: 32px;
        height: 28px;
        margin-left: 8px;
    }
}

.video-preview__thumbnail:hover .video-preview__play-button {
    opacity: 0.9;
}

.video-preview__title {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--main-color);
    text-align: center;
}

/* ============================================
   7. Q&Aブロック .qa-block
   質問と回答のブロック
   ============================================ */
.qa-block {
    background: var(--color-white);
    border-radius: 27px;
    padding: 1rem 1.3rem;
    margin-bottom: 1rem;
    position: relative;
}

.qa-block__question {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.8rem;
    position: relative;
}

.qa-block__question::after {
    content: "";
    position: absolute;
    left: calc(-1 * 1.3rem);
    right: calc(-1 * 1.3rem);
    bottom: -8px;
    height: 1px;
    background: #E5E5E5;
}

.qa-block__q-icon {
    flex-shrink: 0;
    font-family: var(--en-font);
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.4;
    color: var(--main-color);
    margin-top: -0.1em;
}

.qa-block__q-text {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}

.qa-block__answer {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding-top: 0.8rem;
}

.qa-block__a-icon {
    flex-shrink: 0;
    font-family: var(--en-font);
    font-style: italic;
    font-weight: 600;
    font-size: 1.6rem;
    line-height: 1.4;
    color: #C8CBF5;
    margin-top: -0.1em;
}

.qa-block__a-text {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}

/* ============================================
   5. マーカー .marker-harf / .marker-full
   ============================================ */
.marker-harf {
    background: linear-gradient(to top, #FDED2C 50%, transparent 50%);
    background-size: 100% 1em;
    background-position: 0 0.2em;
    background-repeat: no-repeat;
    padding: 0 2px;
    margin: 0 -2px;
    font-size: inherit;
    font-weight: inherit;
}

.marker-full {
    background: linear-gradient(to bottom, #FDED2C 0%, #FDED2C 100%);
    background-size: 100% 1em;
    background-position: 0 center;
    background-repeat: no-repeat;
    padding: 0 2px;
    margin: 0 -2px;
    font-size: inherit;
    font-weight: inherit;
}

.bold {
    font-weight: bold;
}

/* ============================================
   8. 症状チェックリスト .symptom-list
   ============================================ */
.symptom-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

@media screen and (min-width: 768px) {
    .symptom-list {
        grid-template-columns: 1fr;
        margin: 2.5rem 0;
    }
}

@media screen and (min-width: 1000px) {
    .symptom-list {
        width: 90%;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.5rem;
        margin: 0 auto;
    }
}

.symptom-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-left: 0;
}

.symptom-list__checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 3px solid var(--main-color);
    border-radius: 4px;
    margin-top: 3px;
    box-sizing: border-box;
}

.symptom-list__text {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-black);
    margin: 0;
}

@media screen and (min-width: 768px) {
    .symptom-list__checkbox {
        width: 25px;
        height: 25px;
        margin-top: 4px;
    }

    .symptom-list__text {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

@media screen and (min-width: 1000px) {
    .symptom-list__item {
        margin-left: 1em;
    }
}

/* ============================================
   専用クラス（hero, about, service）
   ============================================ */
.hero__deco-left::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 8%;
    width: 200px;
    height: 215px;
    background-image: url('../img/index/logo-bg.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
}

.hero__title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    line-height: 1.4;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.hero__body {
    font-size: 0.9rem;
    color: var(--color-black);
    line-height: 1.8;
    font-weight: bold;
}


.hero {
    margin-top: var(--header-height, 50px);
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
	padding: 0!important
}


.hero__bg {
    position: absolute;
    top: 0;
    width: 100%;
    height: 55%;
    z-index: 0;
}

.hero__bg-slide {
    position: absolute;
    inset: 0;
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero__bg-slide.active {
    opacity: 1;
}

.hero__deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 40% 60%;
}

/* 左半分：白背景・右上だけ角丸 */
.hero__deco-left {
    grid-row: 2 / 3;
    background: var(--color-white);
    border-radius: 0 100px 0 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-white);
    transform: translateY(-1px);
}

/* 右上：透明（何もしないと背景画像が見える）*/
.hero__deco-right-top {
    display: none;
}

/* 右下：左上角丸の「外側」だけ白く塗る
     ─ ::before の box-shadow テクニック ─ */
.hero__deco-right-bottom {
    grid-row: 1/2;
    position: relative;
    overflow: hidden;
}

.hero__deco-right-bottom::before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 150%;
    height: 150%;
    border-radius: 0 0 0 100px;
    box-shadow: 0 0 0 300px var(--color-white);
    pointer-events: none;
}

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    grid-template-rows: 45% 55%;
}

.hero__content .wrap {
    grid-row: 1 / 3;
    height: 100%;
    display: grid;
    grid-template-rows: 40% 60%;
}

.hero__content-left {
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    padding: 1.3rem 0.8rem;
}

.hero__content-right {
    grid-row: 1;
    /* 上半分：透明（画像が見える）*/
}

.hero__content-left .cta-btn{
	margin-top: 2em;
}

.hero__content-left .cta-btn a{
	font-size: 1.2em;
	padding: 1.5em 3em
}

@media screen and (min-width: 768px) {

    .hero__deco-left::after {
        top: 16%;
        right: 8%;
        width: 370px;
        height: 400px;
    }

    .hero {
        margin-top: var(--header-height, 135px);
        position: relative;
        width: 100%;
        height: 700px;
        overflow: hidden;
    }

    .hero__bg {
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
        height: 99.5%;
        z-index: 0;
    }

    .hero__bg-slide {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center right;
        background-repeat: no-repeat;
        opacity: 0;
        transition: opacity 1.5s ease-in-out;
    }

    .hero__bg-slide.active {
        opacity: 1;
    }

    .hero__deco {
        position: absolute;
        inset: 0;
        z-index: 1;

        display: grid;
        grid-template-columns: 55% 45%;
        /* 左右を画面の50%ずつで分割 */
        grid-template-rows: 50% 50%;
    }

    /* 左半分：白背景・右上だけ角丸 */
    .hero__deco-left {
        grid-column: 1;
        grid-row: 1 / 3;
        background: var(--color-white);
        border-radius: 0 120px 0 0;
        position: relative;
        overflow: hidden;
        transform: translateY(0px) translateX(1px);

    }

    /* 右上：透明*/
    .hero__deco-right-top {
        grid-column: 2;
        grid-row: 1;
    }

    /* 右下：左上角丸の「外側」だけ白く塗る
     ::before の box-shadow  */
    .hero__deco-right-bottom {
        display: block;
        grid-column: 2;
        grid-row: 2;
        position: relative;
        overflow: hidden;
        /* box-shadow のはみ出しをここでクリップ */
    }

    .hero__deco-right-bottom::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 150%;
        height: 150%;
        border-radius: 0 0 0 120px;
        box-shadow: 0 0 0 300px var(--color-white);
        pointer-events: none;
    }

    .hero__content {
        position: absolute;
        inset: 0;
        z-index: 2;
        /* .wrap を高さいっぱい使うためにflex化 */
        display: flex;
        align-items: stretch;
        grid-template-columns: unset;
        grid-template-rows: unset;
    }

    /* .wrapも高さを親に合わせてflexコンテナにする */
    .hero__content .wrap {
        display: flex;
        height: 100%;
        grid-column: unset;
        grid-row: unset;
    }

    /* wrap 内で左右に分割（内部グリッドの50%に合わせる）*/
    .hero__content-left {
        width: 50%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.1rem;
        padding: 2.5rem 2.5rem 3rem 0;
        /* ※ 左余白は .wrap の左マージンに任せる */
    }

    .hero__content-right {
        width: 50%;
        /* 右側は空。画像が見えるエリア */
    }

    .hero__title {
        font-size: 3rem;
        font-weight: bold;
        color: var(--main-color);
        line-height: 1.4;
        white-space: nowrap;
    }

    .hero__body {
        font-size: 1rem;
        color: var(--color-black);
        line-height: 1.8;
        font-weight: bold;
    }

}

@media screen and (min-width: 1000px) {
    .hero {
        margin-top: var(--header-height, 155px);
        position: relative;
        width: 100%;
        height: calc(100vh - 155px);
        overflow: hidden;
    }

    .hero__bg {
        position: absolute;
        right: 0;
        top: 0;
        width: 60%;
        height: 99.5%;
        z-index: 0;
    }

    /* 左半分：白背景・右上だけ角丸 */
    .hero__deco-left {
        border-radius: 0 150px 0 0;
    }

    .hero__deco-right-bottom::before {
        border-radius: 0 0 0 150px;
    }

    .hero__title {
        font-size: 3.5rem;
    }

    .hero__body {
        font-size: 1rem;
    }

}

@media screen and (min-width: 1500px) {
    .hero {
        /*height: 900px;*/
		height: calc(100vh - 155px);
    }

    .hero__bg {
        width: 55%;
    }

    /* 左半分：白背景・右上だけ角丸 */
    .hero__deco-left {
        border-radius: 0 180px 0 0;
    }

    .hero__deco-right-bottom::before {
        border-radius: 0 0 0 180px;
    }

    .hero__title {
        font-size: 4.6rem;
    }

    .hero__body {
        font-size: 1.1rem;
    }
}

/* ============================================
   about-problems セクション（モバイルファースト）
   ============================================ */
.about-problems {
    position: relative;
    margin-top: 2.5rem;
    border-radius: 40px;
    background: var(--main-color);
    padding: 1.3rem 1rem 50px;
}

.about-problems__header {
    text-align: center;
    align-items: center;
}

.about-problems__header p {
    display: block;
    position: relative;
    font-size: 1rem;
    font-weight: bold;
    color: var(--color-white);
}

.about-problems__header p::before {
    content: "\\";
    margin-right: 0.5em;
    font-size: 1rem;
}

.about-problems__header p::after {
    content: "/";
    margin-left: 0.5em;
    font-size: 1rem;
}

.about-problems__header h4 {
    position: relative;
    display: inline-block;
    font-size: 2rem;
    line-height: 2;
    font-weight: bold;
    /*white-space: nowrap;*/
    color: var(--color-white);
    margin-top: 0.8rem;
    padding-bottom: 170px;
	/*line-height: 1.5
    /* モバイル: 疑似要素の高さ分の余白 */
}

.about-problems__header h4::before {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 0;
    width: 110px;
    height: 155px;
    background-image: url('../img/index/intro_left.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.about-problems__header h4::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 0;
    width: 99px;
    height: 155px;
    background-image: url('../img/index/intro_right.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
}

.about-problems__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
    margin-top: 0;
}

.about-problems__item {
    border-radius: 60px;
    background: var(--color-white);
    /* font-size: .9em; */
    font-weight: 600;
    padding: 1em 1.5em;
    display: flex;
    align-items: center;
}


.about-problems__item p {
    font-size: 1.5rem;
	font-family: var(--m-font);
	font-weight: 500;
	line-height: 1.2;
	width: 100%;
	text-align: center
}

.about-problems__baloon {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* タブレット以上(min-width: 768px) */
@media screen and (min-width: 768px) {
    .about-problems {
        position: relative;
        margin-top: 3rem;
        border-radius: 40px;
        background: var(--main-color);
        padding: 1.5rem 1.3rem 80px;
    }

    .about-problems__header p {
        font-size: 1.4rem;
    }

    .about-problems__header p::before {
        font-size: 1.6rem;
    }

    .about-problems__header p::after {
        font-size: 1.6rem;
    }

    .about-problems__header h4 {
        font-size: 1.8rem;
        padding-bottom: 0;
    }

    .about-problems__header h4::before {
        left: -120px;
        /* タブレット: 左側に配置 */
        width: 110px;
        height: 155px;
    }

    .about-problems__header h4::after {
        right: -120px;
        /* タブレット: 右側に配置 */
        width: 99px;
        height: 155px;
    }

    .about-problems__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem;
    }

    .about-problems__item {
        font-size: 1.3rem;
        min-height: 70px;
    }

    .about-problems__baloon {
        bottom: -60px;
    }
}


@media screen and (min-width: 1000px) {
    .about-problems {
        margin-top: 5.8rem;
        padding: 2rem 1.5rem 150px;
    }

    .about-problems__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
		max-width: 1400px;
		margin: 0 auto;
    }

    .about-problems__item {
        font-size: 1.875rem;
        height: 90px;
    }

    .about-problems__header h4 {
        font-size: 2.4rem;
    }

    .about-problems__header h4::before {
        left: -170px;
        width: 175px;
        height: 225px;
    }

    .about-problems__header h4::after {
        right: -155px;
        width: 150px;
        height: 215px;
    }

    .about-problems__baloon {
        bottom: -75px;
    }
}

@media screen and (min-width: 1300px) {
    .about-problems__header h4 {
        font-size: 3.2rem;
    }

    .about-problems__header h4::before {
        left: -180px;
        width: 175px;
        height: 255px;
    }

    .about-problems__header h4::after {
        right: -180px;
        width: 150px;
        height: 235px;
    }

}

/* ============================================
   6. about-service
   ============================================ */
.about-service {
    margin-top: 6em;
    text-align: center;
}

.about-service__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 3.5rem;
}

.about-service__item-anchor {
    display: block;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .about-service {
        margin-top: 9em;
    }

    .about-service__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media screen and (min-width: 1200px) {
    .about-service__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.3rem;
    }
}

.about-service__item {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem 1rem;
    text-align: left;
}

@media screen and (min-width: 768px) {
    .about-service__item {
        height: 300px;
        padding: 2rem 1.875rem;
    }
}

@media screen and (min-width: 1200px) {
    .about-service__item {
        height: 755px;
        padding: 5rem 2rem;
    }
}

/* 黒い透過オーバーレイ */
.about-service__item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(#f7f7f7, #8e8e8e);
    mix-blend-mode: multiply;
    opacity: 0.6;
    border-radius: 20px;
    z-index: 1;
    transition: opacity 0.35s ease;
}

.about-service__item:hover::before {
    opacity: 0;
}

.about-service__item-anchor:hover .about-service__item::before {
    opacity: 0;
}

/* コンテンツを前面に */
.about-service__item>* {
    position: relative;
    z-index: 2;
}

.about-service__item-label {
    font-family: var(--main-font);
    font-weight: bold;
    font-size:  0.8rem;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: 0;
}

.about-service__item-title {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.4;
    letter-spacing: 0.03em;
    color: var(--color-white);
    margin: .5rem 0 .5rem 0;
}

.about-service__item-text {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: var(--color-white);
    margin: 0 0 1.5rem 0;
}

.about-service__item-link {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

/* 矢印ボタン（右下） */
.about-service__item-link::before {
    content: '';
    position: absolute;
    right: 1rem;
    bottom: 0.9rem;
    width: 40px;
    height: 40px;
    background: var(--main-color);
    border-radius: 50%;
}

/* 矢印アイコン */
.about-service__item-link::after {
    content: '';
    position: absolute;
    right: calc(1rem + 17px);
    bottom: calc(0.9rem + 15px);
    width: 7px;
    height: 7px;
    border-top: 2px solid var(--color-white);
    border-right: 2px solid var(--color-white);
    transform: rotate(45deg);
}

@media screen and (min-width: 768px) {
    .about-service__item-link::before {
        right: 1.875rem;
        bottom: 1.3rem;
        width: 48px;
        height: 48px;
    }

    .about-service__item-link::after {
        right: calc(1.875rem + 17px);
        bottom: calc(1.3rem + 17px);
        width: 13px;
        height: 13px;
    }
}

@media screen and (min-width: 1000px) {
    .about-service__item-link::before {
        right: 2.25rem;
        bottom: 1.5rem;
        width: 55px;
        height: 56px;
    }

    .about-service__item-link::after {
        right: calc(2.25rem + 19px);
        bottom: calc(1.5rem + 20px);
        width: 15px;
        height: 15px;
    }
}

/* ============================================
   7. service-card
   ============================================ */
.service-card {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
    margin: 2.5rem 0;
}

@media screen and (min-width: 1000px) {
    .service-card {
        flex-direction: row;
        gap: 3.75rem;
    }
}

.service__inner {
    background-color: var(--bg-color);
    border-radius: 50px;
    padding: 2rem 0;
    align-items: center;
}

@media screen and (min-width: 1000px) {
    .service__inner {
        padding: 5.8rem 0;
    }
}

.service__header .balloon-sm {
    transform: translateY(20%);
}

.service__header dl dt {
    font-size: 1.6rem;
    font-weight: bold;
    padding: 0.8em 0;
    color: #000;
    text-align: center;
    line-height: 1.3;
    background-color: var(--color-white);
    border-radius: 12px;
}

.service__header dl dd {
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.4;
    color: var(--main-color);
    text-align: center;
    margin: 0.5em auto;
}

@media screen and (min-width: 768px) {

    .service__header dl dt {
        font-size: 1.875rem;
        line-height: 2.2;
    }

    .service__header dl dd {
        font-size: 2.1rem;
    }
}

@media screen and (min-width: 1000px) {
    .service__header dl dt {
        font-size: 2.125rem;
    }

    .service__header dl dd {
        font-size: 2.43rem;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1299px) {
    .service__header dl dt {
        font-size: 2.2rem;
    }
}

.service-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-card__body>p {
    margin: 0 0 2rem 0;
    line-height: 1.8;
    font-size: 0.9rem;
}

.service-card__point {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.8rem;
}

.service-card__point::before {
    content: 'POINT';
    flex-shrink: 0;
    font-family: var(--en-font);
    font-style: italic;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    color: var(--main-color);
    white-space: nowrap;
}

.service-card__point::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--main-color);
}

.service-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card__list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--main-color);
    font-weight: bold;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.2em;
    height: 1.2em;
    background-image: url('../img/index/icon-check.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.service-card__img {
    flex: 1;
    width: 100%;
    max-width: 500px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.service-card__img img {
    width: 100%;
    aspect-ratio: 700 / 430;
    display: block;
    border-radius: 25px;
    object-position: center;
}



@media screen and (min-width: 1000px) {
    .service-card__img {
        flex: 1;
        width: 50%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

}

/* ============================================
   service-card--doleman専用スタイル
   ============================================ */
@media screen and (min-width: 1000px) {
    .service-card--doleman .service-card__body {
        flex: 1;
        width: 50%;
    }

    .service-card--doleman .service-card__list li {
        white-space: nowrap;
    }

    .service-card--doleman .service-card__img {
        flex: 1;
        width: 50%;
        padding-left: 6rem;
    }

}

.contact {
    padding: 0;
}

.contact__message {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.8;
    color: var(--color-black);
    text-align: center;
    margin-bottom: 0.8rem;
}

.contact__bg {
    background-color: var(--bg-color);
    border-radius: 50px;
    padding: 5rem 0;
    align-items: center;
}

/* ============================================
   Contact Inner
   ============================================ */
.contact__inner {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    align-items: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 1000px) {
    .contact__inner {
        flex-direction: row;
        align-items: flex-start;
        gap: 3.75rem;
        padding: 3.25rem 0;
    }
}

.contact__tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.3rem;
    white-space: nowrap;
}

@media screen and (min-width: 1000px) {
    .contact__tel {
        padding: 0;
    }
}

.contact__tel-number {
    display: inline;
    text-align: center;
    font-family: var(--en-font);
    font-weight: 600;
    font-size: 1.875rem;
    line-height: 1;
    color: var(--main-color);
    margin: 0;
}
.contact__tel-number a{
	font-weight: 600;
	color: var(--main-color)
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .contact__tel-number {
        font-size: 2.75rem;
    }

    .contact__tel-number::before {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .contact__tel-number {
        font-size: 2.5rem;
    }

    .contact__tel-number::before {
        font-size: 1rem;
    }
}

.contact__tel-number::before {
    content: "TEL.";
    display: inline;
    font-family: var(--en-font);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--main-color);
    margin-right: 0.8rem;
}

.contact__hours {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.2;
    color: var(--color-black);
    text-align: center;
    margin: 0 0 0 2.5rem;
}

.contact__inner .contact__button {
    flex: 0 0 auto;
}

.contact__button .cta-btn a {
    padding: 1.5rem 4em;
}

@media screen and (min-width: 1000px) and (max-width: 1099px) {
    .contact__tel-number {
        font-size: 3rem;
    }

    .contact__tel-number::before {
        font-size: 1.5rem;
    }

    .contact__button .cta-btn a {
        padding: 1.3rem 4em;
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1199px) {
    .contact__tel-number {
        font-size: 3.5rem;
    }

    .contact__tel-number::before {
        font-size: 1.8rem;
    }

    .contact__button .cta-btn a {
        padding: 1.5rem 4em;
        font-size: 1.3rem;
    }
}

@media screen and (min-width: 1200px) {
    .contact__tel-number {
        font-size: 3.8rem;
    }

    .contact__tel-number::before {
        font-size: 2rem;
    }
}

/* ============================================
   Flow Card
   ============================================ */
.flow-card__wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 1300px;
    margin: 3.5rem auto;
}

.flow-card {

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.flow-card__icon {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.flow-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.flow-card__body {
    width: 100%;
}

.flow-card__header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0 0 0.8rem;
}

.flow-card__number {
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1;
    color: var(--main-color);
}

.flow-card__title {
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1.4rem;
    line-height: 1;
    text-align: center;
    color: var(--main-color);
}

.flow-card__text {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--color-black);
    margin: 0;
}

@media screen and (min-width: 768px) {
    .flow-card__wrap {
        position: relative;
        gap: 4.5rem;
    }

    .flow-card__wrap::before {
        content: '';
        position: absolute;
        left: 90px;
        top: 90px;
        bottom: 90px;
        width: 0;
        border-left: 2px dashed #D1D5DB;
        z-index: 0;
    }

    .flow-card {
        position: relative;
        z-index: 1;
        flex-direction: row;
        align-items: flex-start;
        gap: 2.5rem;
    }

    .flow-card__icon {
        width: 180px;
        height: 180px;
    }

    .flow-card__icon img {
        width: 100%;
        height: 100%;
    }

    .flow-card__header {
        gap: 1.875rem;
        margin: 0 0 1rem;
    }

    .flow-card__number {
        font-size: 3rem;
        line-height: 1;
    }

    .flow-card__title {
        font-size: 1.8rem;
    }

    .flow-card__text {
        font-size: 1rem;
        line-height: 2;
    }
}

@media screen and (min-width: 1000px) {

    /* 破線位置をPC版アイコンサイズに調整 */
    .flow-card__wrap::before {
        left: 140px;
        top: 140px;
        bottom: 140px;
    }

    .flow-card {
        gap: 2.5rem;
    }

    .flow-card__icon {
        width: 280px;
        height: 280px;
    }

    .flow-card__icon img {
        width: 100%;
        height: 100%;
    }

    .flow-card__header {
        gap: 3.25rem;
        margin: 0 0 2.3rem;
    }

    .flow-card__number {
        font-size: 5.3rem;
        line-height: 1.4;
    }

    .flow-card__title {
        font-size: 2.2rem;
        line-height: 1.8;
    }

    .flow-card__text {
        font-size: 1rem;
        line-height: 2.5;
    }
}

.price {
    padding: 2.5rem 0;
}

.price__inner {
    background-color: var(--bg-color);
    border-radius: 50px;
    padding: 3.5rem 0 10rem;
    align-items: center;
}

.price-table {
    width: min(100%, 1400px);
    margin: 2.5rem auto;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.price-table thead th {
    background: var(--main-color);
    border: 1px solid #707070;
    color: var(--color-white);
    font-family: var(--main-font);
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    padding: 1rem 0.8rem;
}

.price-table thead th:first-child {
    border-radius: 20px 0 0 0;
}

.price-table thead th:last-child {
    border-radius: 0 20px 0 0;
}

.price-table tbody td {
    border: 1px solid #D9D9D9;
    border-top: none;
    background: var(--color-white);
    color: var(--color-black);
    padding: 0.9rem 2rem;
    vertical-align: middle;
}

.price-table tbody td:nth-child(1) {
    width: 26%;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.9;
}

.price-table tbody td:nth-child(2) {
    width: 24%;
    text-align: center;
}

.price-table tbody td:nth-child(3) {
    width: 50%;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.9;
}

.price-table__price {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
}

.price-table__amount {
    font-family: 'Barlow', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.8rem;
    line-height: 1.5;
    text-align: center;
    color: var(--main-color);
}

.price-table__tax {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    color: var(--color-black);
}

.price-table__note {
    text-decoration: underline;
}

.price-table__quote {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
    color: var(--color-black);
    opacity: 1;
}

.area-group {
    width: min(100%, 1300px);
    margin: 1rem auto 0;
}

.area-group__prefecture {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--main-color);
    margin: 0;
}

.area-group__cities {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--color-black);
    margin: 0;
    opacity: 1;
}

@media screen and (min-width: 1000px) {
    .price-table {
        width: 1400px;
        max-width: 100%;
    }

    .price-table thead th:nth-child(1),
    .price-table tbody td:nth-child(1) {
        width: 31%;
    }

    .price-table thead th:nth-child(2),
    .price-table tbody td:nth-child(2) {
        width: 31%;
    }

    .price-table thead th:nth-child(3),
    .price-table tbody td:nth-child(3) {
        width: 38%;
    }
}

/* モバイル・タブレット（999px以下）：カード型レイアウト */
@media screen and (max-width: 999px) {

    .price-table,
    .price-table thead,
    .price-table tbody,
    .price-table tr,
    .price-table th,
    .price-table td {
        display: block;
        width: 100%;
    }

    .price-table thead {
        display: none;
    }

    .price-table tbody tr {
        background: var(--color-white);
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        margin-bottom: 1.5rem;
        overflow: hidden;
        border: 1px solid #D9D9D9;
    }

    .price-table tbody td {
        border: none;
        border-bottom: 1px solid #F0F0F0;
        padding: 1rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        text-align: left;
    }

    .price-table tbody td:last-child {
        border-bottom: none;
    }

    .price-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-family: 'Noto Sans JP', sans-serif;
        font-weight: bold;
        font-size:  0.9rem;
        line-height: 1.5;
        color: var(--color-white);
        background: var(--main-color);
        padding: 2px 8px;
        border-radius: 4px;
        margin-bottom: 0.6875rem;
        width: fit-content;
    }

    .price-table tbody td:nth-child(1) {
        width: 100%;
        font-size: 1.1rem;
        font-weight: bold;
        padding-top: 1.3rem;
    }

    .price-table tbody td:nth-child(1)::before {
        content: 'メニュー';
    }

    .price-table tbody td:nth-child(2) {
        width: 100%;
        text-align: left;
    }

    .price-table tbody td:nth-child(2)::before {
        content: '料金';
    }

    .price-table tbody td:nth-child(3) {
        width: 100%;
    }

    .price-table tbody td:nth-child(3)::before {
        content: '施工内容';
    }

    .price-table__price {
        justify-content: flex-start;
    }

    .price-table__amount {
        font-size: 1.8rem;
    }
}



/* ============================================
   施工実績 .works
   ============================================ */

.works {
    overflow: hidden;
}

.works-swiper {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 1.5rem 0.8rem;
    margin-top: 2rem;
}

.works-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.works-swiper .swiper-slide {
    width: auto;
}

@media screen and (min-width: 768px) {
    .works-swiper {
        padding: 0.6rem 2.5rem 1rem;
    }
}

@media screen and (min-width: 1000px) {
    .works-swiper {
        padding: 0.6875rem 3rem 1rem;
    }
}

.works-card {
    box-sizing: border-box;
    width: 80vw;
    background: #FFFFFF;
    box-shadow: 0px 3px 3px rgba(0, 0, 0, 0.16);
    border-radius: 11px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

@media screen and (min-width: 768px) {
    .works-card {
        width: calc(50vw - 1rem);
    }
}

@media screen and (min-width: 1000px) {
    .works-card {
        width: 475px;
    }
}

.works-card__img {
    box-sizing: border-box;
    width: 100%;
    /*height: 300px;*/
    object-fit: cover;
    display: block;
    padding: 1.5rem 1.5rem 0;
}

.works-card__body {
    padding: 1.5rem 1.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.works-card__service {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--main-color);
}

.works-card__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--color-black);
    margin: 0;
}

.works-card__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.9;
    color: var(--color-black);
    margin: 0;
}



/* ============================================
   お知らせ記事紹介カード .news-card
   ============================================ */

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.3rem;
    justify-items: center;
    margin-top: 1.8rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.3rem;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1700px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        max-width: 100%;
        gap: 1.3rem;
    }

    .news-card {
        width: 100%;
    }
}

@media screen and (min-width: 1701px) and (max-width: 1799px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        width: 100%;
        max-width: 100%;
    }

    .news-card {
        width: 100%;
    }
}

@media screen and (min-width: 1800px) {
    .news-grid {
        grid-template-columns: repeat(3, 420px);
        justify-content: center;
        width: auto;
    }
}

.news-card {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .news-card {
        width: 100%;
    }

    .news-card__thumb {
        border-radius: 30px 0 0 30px;
    }

    .news-card__title {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

/* モバイル（767px以下）*/
@media screen and (max-width: 767px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 1.3rem;
    }

    .news-card {
        width: 100%;
    }

    .news-card__thumb {
        border-radius: 24px 0 0 24px;
    }

    .news-card__body {
        padding: 0.5rem 0 0;
    }

    .news-card__title {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .news-card__date {
        font-size: 0.9rem;
    }
}

/* カード上部画像エリア */
.news-card__thumb {
    box-sizing: border-box;
    position: relative;
    width: 100%;
    aspect-ratio: 420 / 275;
    height: auto;
    border-radius: 50px 0px 0px 50px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-card__body {
    padding: 0.6rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.news-card__date {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--main-color);
    margin: 0;
}

.news-card__title {
    font-family: var(--main-font);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    margin: 0;
}

@media screen and (min-width: 1200px) {
    .news-card__title {
        font-size: 1.1rem;
    }
}

/* ============================================
   ニュース一覧 
   ============================================ */

.news-list {
    display: flex;
    flex-direction: column;
    margin: 2rem auto 3.5rem;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.news-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 36px;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.9rem 0;
    height: auto;
}

.news-row__date {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    font-size:  0.9rem;
    line-height: 2;
    color: var(--main-color);
    margin: 0;
    flex-shrink: 0;
    width: 110px;
}

.news-row__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--main-color);
    border-radius: 2px;
    width: 115px;
    /*height: 25px;
    font-family: 'Inter', sans-serif;*/
    font-size: 0.9rem;
    line-height: 1.9;
    color: #FFFFFF;
    flex-shrink: 0;
}

.news-row__title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    line-height: 2;
    color: var(--color-black);
    margin: 0;
}


@media screen and (min-width: 768px) and (max-width: 999px) {
    .news-row {
        gap: 1.1rem;
    }

    .news-row__title {
        font-size: 1rem;
        line-height: 1.6;
    }
}


@media screen and (max-width: 767px) {
    .news-row {
        flex-wrap: wrap;
        gap: 0.5rem 0.8rem;
        padding: 0.8rem 0;
        align-items: flex-start;
    }

    .news-row__date {
        font-size: 0.9rem;
        line-height: 1.5;
        width: auto;
    }

    .news-row__badge {
        /*height: 2em;*/
        font-size:  0.8rem;
        width: 90px;
    }

    .news-row__title {
        font-size: 0.9rem;
        line-height: 1.6;
        width: 100%;
        flex-basis: 100%;
    }
}


/* ============================================
   LINE
   ============================================ */
.line-cta {
    padding: 2rem 0;
}

.line-cta .wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.line-cta__label {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: .9rem;
    line-height: 1.7;
    text-align: center;
    color: var(--color-black);
}

.line-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: 460px;
    height: 115px;
    background: #00B81C;
    border-radius: 57px;
    text-decoration: none;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 2rem;
    max-width: 100%;
}

.line-cta__icon {
    width: 53px;
    height: 51px;
    flex-shrink: 0;
}

.line-cta__text {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.3;
    color: #FFFFFF;
    white-space: nowrap;
}

@media screen and (min-width: 768px) and (max-width: 999px) {
    .line-cta__btn {
        width: 420px;
        height: 96px;
        border-radius: 48px;
        padding: 0 2rem;
    }

    .line-cta__icon {
        width: 46px;
        height: 44px;
    }

    .line-cta__text {
        font-size: 1.1rem;
    }
}

@media screen and (min-width: 1000px) {
    .line-cta__text {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    .line-cta__btn {
        width: 100%;
        max-width: 340px;
        height: 72px;
        border-radius: 36px;
        padding: 0 1.3rem;
        gap: 0.5rem;
    }

    .line-cta__icon {
        width: 36px;
        height: 35px;
    }

    .line-cta__text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}




.flow .section-header__ja span{
		font-size: .9rem;
		display: block;
	}