/* =========================================
   タブレット・中間幅（751px〜1439px）
   pc.css (min-width:1440px) と
   phone.css (max-width:750px) の空白を埋める
========================================= */
@media screen and (min-width: 751px) and (max-width: 1439px) {

    /* =========================================
       カラー変数
    ========================================= */
    :root {
        --gold: #c9a84c;
        --gold-light: rgba(201, 168, 76, 0.15);
    }

    /* =========================================
       共通
    ========================================= */
    section {
        margin-bottom: 0;
        padding: 5rem 3rem;
    }

    h2 {
        font-size: 2rem;
        font-weight: 500;
        line-height: 1.25;
        letter-spacing: 0px;
        padding-bottom: 1.2rem;
    }

    h2 span:nth-child(2) {
        font-size: 0.75rem;
    }

    /* =========================================
       汎用ボタン（.btn）
    ========================================= */
    .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 24px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 4px;
        box-sizing: border-box;
        cursor: pointer;
        transition: all 0.3s ease;
        border: 2px solid var(--main-col);
        background-color: var(--sub-col);
        color: var(--main-col);
        text-decoration: none;
    }

    .btn:hover {
        background-color: var(--main-col);
        color: var(--sub-col);
    }

    /* =========================================
       ヘッダー
    ========================================= */
    header .inner {
        justify-content: space-between;
        padding: 0 2rem;
    }

    header a {
        font-size: 13px;
        padding: 0 8px;
        height: 62px;
        line-height: 62px;
    }

    /* =========================================
       KV（キービジュアル）
    ========================================= */
    #kv {
        position: relative;
        height: 600px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    #kv-banner {
        position: absolute;
        inset: -10px;
        z-index: -1;
        background-color: var(--accent-col);
        background-image: url(../images/3businessman.webp);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        filter: blur(5px);
    }

    #kv-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url(../images/watermark.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100%;
        opacity: 0.4;
        pointer-events: none;
    }

    .kv-content {
        position: relative;
        z-index: 1;
        width: 85%;
        height: auto;
        max-width: 1100px;
        display: flex;
        align-items: center;
        gap: 28px;
        background-color: rgba(0, 0, 0, 0.4);
        padding: 32px;
        flex-direction: row;
        transform: skewX(45deg);
    }

    .kv-text-area {
        width: 55%;
        transform: skewX(-45deg);
    }

    .kv-catchcopy {
        width: 100%;
    }

    .kv-catchcopy img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .kv-Action-area {
        width: 38%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        transform: skewX(-45deg);
    }

    .kv-Action-area .btn {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 64px;
        font-size: 1.2rem;
        border-radius: 8px;
        text-align: center;
        transition: all 0.3s ease;
        text-decoration: none;
        box-sizing: border-box;
    }

    .kv-stats {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.25);
        border: 1px solid rgba(201, 168, 76, 0.5);
        border-radius: 10px;
        padding: 12px 8px;
        gap: 6px;
    }

    .kv-stats-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        padding: 0 4px;
        border-right: 1px solid rgba(201, 168, 76, 0.3);
    }

    .kv-stats-item:last-child {
        border-right: none;
    }

    .kv-stats-number {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--gold);
        line-height: 1;
        margin-bottom: 5px;
    }

    .kv-stats-unit {
        font-size: 0.95rem;
        font-weight: 400;
        color: var(--gold);
    }

    .kv-stats-label {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.5;
    }

    .kv-Action-area .kv-btn-primary {
        background-color: var(--gold);
        color: var(--accent-col);
        font-weight: 700;
        font-size: 1.3rem;
        height: 74px;
        border: 2px solid var(--gold);
        box-shadow: 0 4px 20px rgba(201, 168, 76, 0.45);
    }

    .kv-Action-area .kv-btn-secondary {
        color: var(--sub-col);
        border: 2px solid var(--sub-col);
        background-color: rgba(255, 255, 255, 0.05);
    }

    .kv-Action-area .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .kv-Action-area .kv-btn-primary:hover {
        background-color: #e0bc5a;
        border-color: #e0bc5a;
        box-shadow: 0 6px 24px rgba(201, 168, 76, 0.6);
    }

    .kv-Action-area .kv-btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.15);
        border: 2px solid var(--sub-col);
    }

    /* =========================================
       全セクション inner 共通
    ========================================= */
    main .inner {
        display: flex;
        position: relative;
        flex-direction: column;
        margin: 0 auto;
    }

    /* =========================================
       index01 強み
    ========================================= */
    #index01,
    #index03 {
        background-color: var(--main-col);
        padding: 5rem 3rem;
        color: var(--txt-col2);
    }

    #index01 .inner {
        width: 90%;
    }

    #index01 ul,
    #index02 ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin: 2rem 0;
        position: relative;
        width: 100%;
    }

    #index01 ul li {
        width: calc((100% - 3rem) / 2);
        margin-bottom: 3rem;
    }

    #index01 ul li h3,
    #index02 ul li h3 {
        min-height: 5rem;
        font-size: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 1.5rem;
    }

    #index01 ul li figure {
        width: 100%;
        overflow: hidden;
        border-radius: 4px;
    }

    #index01 ul li {
        padding-bottom: 1rem;
    }

    #index01 ul li h3 {
        color: var(--sub-col);
    }

    #index01 ul li figure picture {
        width: 100%;
        aspect-ratio: 1.4 / 1;
        display: block;
        overflow: hidden;
    }

    #index01 ul li figure img {
        width: 100%;
        aspect-ratio: 1.4 / 1;
        object-fit: cover;
        display: block;
    }

    #index01 ul li p,
    #index02 ul li p {
        font-size: 1rem;
        margin: 0.8rem 0;
    }

    #index01 .btn {
        color: var(--accent-col);
        background-color: var(--gold);
        border-color: var(--gold);
        font-weight: 700;
    }

    #index01 .btn:hover {
        background-color: #e0bc5a;
        border-color: #e0bc5a;
        color: var(--accent-col);
    }

    /* =========================================
       index02 サービス
    ========================================= */
    #index02 .inner {
        width: 100%;
    }

    #index02 li {
        display: flex;
        width: calc(100% / 3);
        padding: 2rem;
        padding-bottom: 4rem;
        flex-direction: column;
        flex-wrap: wrap;
    }

    #index02 li:nth-child(odd) {
        background-color: var(--sub-col);
    }

    #index02 li:nth-child(even) {
        background-color: var(--accent-col2);
    }

    #index02 ul li h3 {
        width: 100%;
        text-align: center;
    }

    #index02 li figure {
        width: 5rem;
        aspect-ratio: 1 / 1;
        display: inline-block;
        margin: 0 auto;
    }

    #index02 li figure img {
        object-fit: cover;
        width: 100%;
    }

    #index02 li .btn {
        color: var(--sub-col);
        background-color: var(--accent-col);
        border-color: var(--accent-col);
        transition: background-color 0.3s ease, border-color 0.3s ease,
                    color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    }

    #index02 li .btn:hover {
        background-color: var(--gold);
        border-color: var(--gold);
        color: var(--accent-col);
        transform: translateY(-3px);
        box-shadow: 0 6px 18px rgba(201, 168, 76, 0.4);
    }

    /* =========================================
       index03 流れ
    ========================================= */
    #index03 .inner {
        width: 90%;
    }

    #index03 .inner p {
        text-align: center;
        margin: 2rem;
        font-size: 1rem;
    }

    #index03 ul {
        display: flex;
        justify-content: space-around;
        flex-wrap: nowrap;
        align-items: flex-start;
        position: relative;
        counter-reset: step;
        padding-top: 0;
    }

    #index03 ul::before {
        content: '';
        position: absolute;
        top: 1.2rem;
        left: 10%;
        right: 10%;
        height: 2px;
        background: linear-gradient(
            to right,
            transparent,
            var(--gold) 10%,
            var(--gold) 90%,
            transparent
        );
        z-index: 0;
    }

    #index03 ul li {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        z-index: 1;
        counter-increment: step;
    }

    #index03 ul li::before {
        content: counter(step);
        width: 2.4rem;
        height: 2.4rem;
        border-radius: 50%;
        background-color: var(--gold);
        color: var(--accent-col);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
        position: relative;
        z-index: 2;
        box-shadow: 0 2px 10px rgba(201, 168, 76, 0.5);
        flex-shrink: 0;
    }

    #index03 ul li h3 {
        padding: 0.4rem 0.8rem;
        font-size: 1.2rem;
    }

    /* =========================================
       index05 報酬
    ========================================= */
    #index05 .inner {
        width: 80%;
    }

    #index05 table {
        margin: 2rem 0;
        border: none;
        width: 100%;
        margin-bottom: 80px;
    }

    #index05 h4 {
        padding: 8px;
    }

    #index05 tr,
    #index05 tbody {
        border: 1px dotted;
    }

    #index05 td,
    th {
        border-color: var(--sub-col);
    }

    #index05 .thread th {
        background-color: var(--accent-col);
        color: var(--gold);
        border-bottom: 2px solid var(--gold);
    }

    #index05 td li:nth-child(1),
    #index05 td li:nth-child(3) {
        background-color: #f3f8ff;
    }

    #index05 li {
        font-size: 1.2rem;
    }

    #index05 p {
        border: solid 1px;
        border-color: var(--gold);
        border-radius: 15px;
        font-size: 1rem;
        padding: 16px;
        display: flex;
        flex-direction: column;
        background-color: var(--gold-light);
    }

    /* =========================================
       index06 よくある質問
    ========================================= */
    #index06 {
        background-color: #F9F8F2;
        margin-bottom: 0;
    }

    #index06 .inner {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 5rem 0;
    }

    #index06 ul {
        width: 80vw;
        position: relative;
    }

    #index06 ul li {
        margin-bottom: 40px;
        font-size: 1.4rem;
    }

    #index06 ul li p:nth-child(1),
    #index06 ul li p:nth-child(2) {
        position: relative;
        background-color: var(--sub-col);
        display: flex;
        align-items: center;
    }

    #index06 ul li p:nth-child(1) {
        cursor: pointer;
        padding: 10px 10px 10px 40px;
        border: 1px solid var(--accent-col);
        transition: 1s;
    }

    #index06 ul li p:nth-child(1)::after,
    #index06 ul li p:nth-child(2)::after {
        position: absolute;
        left: 10px;
        top: 10px;
        width: 26px;
        height: 26px;
        color: var(--gold);
        font-weight: 700;
    }

    #index06 ul li p:nth-child(1)::after {
        content: 'Q';
    }

    #index06 ul li p:nth-child(2)::after {
        content: 'A';
    }

    #index06 ul li p:nth-child(1) {
        border-left: 3px solid var(--gold);
    }

    #index06 ul li p:nth-child(1):hover {
        background-color: var(--main-col);
        color: var(--txt-col2);
        border: 1px solid var(--txt-col2);
        transition: 1s;
    }

    #index06 ul li p:nth-child(2) {
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 40px;
        border: 0px solid var(--accent-col);
        transition:
            max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1),
            padding 0.6s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease;
    }

    #index06 ul li p:nth-child(2).open {
        margin-top: 20px;
        max-height: 1200px;
        border: 1px solid var(--accent-col);
        padding: 10px;
        padding-left: 40px;
    }

    /* =========================================
       index07 お問い合わせ
    ========================================= */
    #index07 .inner {
        width: 100%;
    }

    #index07 ul {
        display: flex;
        margin: 2rem 0;
    }

    #index07 ul li {
        width: 50%;
    }

    #index07 ul li:nth-child(2) {
        display: flex;
        background-color: var(--accent-col2);
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-around;
        border-left: 4px solid var(--gold);
    }

    #index07 ul li .btn {
        display: flex;
        flex-direction: column;
        margin: 1rem 0;
        width: 80%;
        font-size: 1.4rem;
        color: var(--accent-col);
        transition: background-color 0.3s ease, border-color 0.3s ease,
                    color 0.3s ease, transform 0.2s ease;
    }

    #index07 ul li .btn:hover {
        transform: translateY(-2px);
    }

    #index07 ul li a[href^="tel"] {
        color: var(--accent-col);
        font-weight: 700;
    }

    #index07 ul li a[href^="tel"]:hover {
        background-color: #e0bc5a;
        border-color: #e0bc5a;
        color: var(--accent-col);
    }

    #index07 ul li .btn span {
        font-size: 0.9rem;
    }

    /* =========================================
       パンくず
    ========================================= */
    .breadcrumb {
        padding: 1rem 0;
        width: 100%;
    }

    .breadcrumb .inner {
        position: relative;
        --left-empty: 5%;
        width: calc(100% - var(--left-empty));
        margin-left: var(--left-empty);
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .breadcrumb .inner > * {
        margin: 0 0.8rem;
    }

    /* =========================================
       固定ページ（page.php）
    ========================================= */
    #page01 {
        margin: 0;
        height: 18rem;
        position: relative;
        overflow: hidden;
        background-color: var(--main-col);
    }

    #page01::before {
        content: '';
        position: absolute;
        inset: -10px;
        background-image: var(--page-bg);
        background-size: cover;
        background-position: center;
        filter: blur(6px);
        opacity: 0.45;
        z-index: 0;
    }

    #page01 .inner {
        position: absolute;
        width: 100%;
        text-align: center;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1;
    }

    #page02 {
        padding-top: 3rem;
    }

    #page02 .inner {
        width: 80%;
        margin: 0 auto;
    }
}
