.pc {
    display:block;
}

.sp {
    display:none;
}

@media (max-width: 425px) {
    .pc {
        display:none;
    }
    .sp {
        display:block;
    }
}

a.arrow {
    color: #FF383C;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

a.arrow::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid #FF383C;
    border-right: 2px solid #FF383C;
    transform: rotate(45deg);
}

.margin-30px {
    margin:30px 0;
}

.common-padding_bottom {
    padding-bottom:4.571rem!important;
}

/*ヘッダーサブメニュー追記*/ .header-1-innr {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow:visible!important;
}

.h-nav {
    margin-left: auto;
}

@media screen and (min-width: 1200px) {
    .ham-btn-1 {
        display: none!important;
    }
    .h-nav, .h-cta, .smtmenu {
        transform: translatex(0);
    }
}

.nav-solution {
    position: relative;
}

.nav-solution > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ▼アイコン */ .nav-solution > a::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    margin-top: -2px;
}

/* メニュー */ .nav-solution-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 0;
    width: 340px;
    padding: 20px 32px;
    background: #f5f5f5;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 500;
}

.nav-solution:hover .nav-solution-menu {
    opacity: 1;
    visibility: visible;
}

.nav-solution-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

/* サブメニュー右矢印 */ .nav-solution-menu a::after {
    content: "";
    width: 10px;
    height: 10px;
    background: url("../wp-content/uploads/icon-arrow-down.svg") no-repeat center center;
    background-size: contain;
    transform: rotate(-90deg);
}

@media (max-width: 1200px) {
    /* ソリューションメニュー常時表示 */ /* ▼アイコン */ .nav-solution > a::after {
        background-image:none!important;
        border-right: none!important;
        border-bottom: none!important;
    }
    .nav-solution-menu {
        position: static;
        padding: 0;
        margin-top: 10px;
        background: none;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }
    .nav-solution-menu a {
        padding: 0 0 0 30px;
    }
    /* サブメニュー右矢印 */ .nav-solution-menu a::after {
        transform: rotate(0deg);
        right:0;
    }
    /* ▼アイコン不要 */ .nav-solution > a::after {
        display: none;
    }
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size:0.8em;
}

.breadcrumb li + li::before {
    content: ">";
    margin: 0 10px;
    color: #999;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--wp--preset--color--text-maintext);
}

.page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 30px 0;
    list-style: none;
    border-top:1px solid #eee;
    border-bottom:1px solid #eee;
}

@media (max-width: 768px) {
    .header-1-innr {
        display:block;
    }
    .page-nav {
        flex-direction:column;
    }
}

.page-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.page-nav a::before {
    content: "";
    width: 10px;
    height: 10px;
    background: url("../wp-content/uploads/icon-arrow-down.svg") no-repeat center center;
    background-size: contain;
    flex-shrink: 0;
}

.section-1200 {
    padding-bottom:0;
}

h1 {
    margin-bottom:30px!important;
}

.kv {
    position:relative;
}

.cv {
    position:absolute;
    width:25%;
    height:auto;
    right:-30px;
    bottom:-30px;
}

.btn-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 60px;
    padding: 0 20px;
    margin: 60px auto 0 auto;
    border: 1px solid #DF2F13;
    border-radius: 9999px;
    background-color: #fff;
    color: #DF2F13;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    box-sizing: border-box;
    transition: opacity 0.3s ease;
}

/* ホバー時の挙動 */ .btn-top:hover {
    opacity: 0.8;
}

/* 左側の矢印アイコン */ .btn-top::before {
    content: "";
    position: absolute;
    left: 24px;
    width: 12px;
    height: 12px;
    background: url("../wp-content/uploads/icon-arrow-down.svg") no-repeat center center / contain;
    transform: rotate(90deg);
}

/* --エリア共通css-- */ .flexbox {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
}

.catch {
    margin-top:40px;
}

.catch h2 {
    font-size:1.7rem;
    padding-bottom:40px;
}

.catch .copy {
    font-size:1.15rem;
    padding-bottom:40px;
}

/* ----------------------------------- area-01 ------------------------------------*/ .area-01.flexbox {
    gap: 10px;
}

/* 左側：テキストエリア */ .area-01 > div {
    flex: 1;
    max-width: 45%;
    max-width: 560px;
}

/* 見出し部分 */ .conts-midashi {
    margin: 0 0 0 0;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
}

.conts-midashi span {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #DF2F13;
    margin-bottom: 20px;
}

/* 見出し直下の2色区切り線（左20%赤 / 右80%グレー） */ .conts-midashi::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 25px;
    background: linear-gradient(to right, #DF2F13 0% 20%, #F3F3F5 20% 100%);
}

/* 本文の余白調整（擬似要素の位置を変更したため調整） */ .area-01 p {
    margin: 0;
    padding-top: 40px;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* 右側：画像エリア */ .area-01 img {
    width: 48%;
    max-width: 640px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

/* ----------------------------------- area-02 ------------------------------------*/ .area-02 {
    position: relative;
    background-color: #f8f8f8;
    border-radius: 20px;
    padding: 50px;
    margin-top: 80px;
}

/* 左上の赤ライン */ .area-02::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid #DF2F13;
    border-left: 1px solid #DF2F13;
    border-top-left-radius: 20px;
}

/* 右下の赤ライン */ .area-02::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-bottom: 1px solid #DF2F13;
    border-right: 1px solid #DF2F13;
    border-bottom-right-radius: 20px;
}

/* タイトル */ .area-02 h3 {
    padding: 0 0 20px 0;
    font-size: 1.42rem;
    font-weight: bold;
}

.area-02 h3.center {
    text-align:center;
}

/* 本文 */ .area-02 p {
    margin: 0;
    font-size: 1.14rem;
    line-height: 1.8;
}

/* ----------------------------------- area-03 ------------------------------------*/ .area-03 {
    margin-top: 80px;
}

/* タイトル */ .area-03 h3 {
    padding: 0 0 20px 0;
    font-size: 1.42rem;
    font-weight: bold;
}

/* リスト全体（Flexbox設定） */ .area-03 ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 16px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* 各アイテム（最大6列の計算） */ .area-03 li {
    /* calcで隙間(16px × 5箇所)を引いた6等分の幅を計算 */ width: calc((100% - 16px * 5) / 6);
    text-align: left;
}

/* 画像 */ .area-03 li img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    margin-bottom: 8px;
}

/* テキストラベル */ .area-03 li span {
    display: block;
    font-size: 1rem;
    color: #7F7F7F;
}

/* 背景色をブラウザ幅100%に広げる */ .bg-gray {
    background-color: #F8F8F8;
    width: 100%;
    padding: 60px 20px 80px 20px;
    box-sizing: border-box;
}

/* 中央配置コンテナ（最大1200px） */ .area-04 {
    max-width: 1200px;
    margin: 0 auto;
}

/* タイトル */ .area-04 h3 {
    text-align: left;
    font-size: 1.7rem;
    font-weight: bold;
    margin: 0 0 40px 0;
    color: #333;
}

/* 3カラムのリスト配置 */ .area-04 ul {
    display: flex;
    justify-content: space-between;
    gap: 0px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 各カードのスタイル */ .area-04 li {
    background: none;
    min-width:33%;
    padding:40px;
    border-right: 1px solid #E7E7E7;
}

/* 最後のliだけ右枠線を解除 */ .area-04 li:last-child {
    border-right: none;
}

/* 見出し（01 + タイトル） */ .area-04 h4 {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 0 0 20px 0;
}

.area-04 h4.center {
    justify-content: center;
}

/* 「01」の番号デザイン */ .area-04 h4 span {
    font-size: 1.8rem;
    font-weight: bold;
    color: #DF2F13;
    /* 赤色指定 */ margin-right: 12px;
    line-height: 1;
}

/* 本文 */ .area-04 p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.area-04 p.m30 {
    margin: 20px 0!important;
}

/* スマホ対応（768px以下で1列に折り返し） */ @media (max-width: 768px) {
    .cv {
        position:static;
        width:100%;
        height:auto;
        left:0;
        bottom:0;
        margin-top:1rem;
    }
    .area-01.flexbox {
        flex-direction:column;
        gap: 10px;
    }
    .area-01 > div {
        max-width: 100%;
        margin-bottom:30px;
    }
    /* 右側：画像エリア */ .area-01 img {
        width: 100%;
    }
    .area-02 {
        position: relative;
        background-color: #f8f8f8;
        border-radius: 20px;
        padding: 30px;
        margin-top: 80px;
    }
    /* 各アイテム（最大4列の計算） */ .area-03 li {
        /* calcで隙間(16px × 3箇所)を引いた2等分の幅を計算 */ width: calc((100% - 16px * 1) / 2);
        text-align: left;
    }
    .area-04 ul {
        flex-direction: column;
    }
    /* 各カードのスタイル */ .area-04 li {
        background: none;
        padding:20px;
        border-right: none;
    }
    .area-04 h4.center {
        justify-content: left;
    }
}
