@charset "UTF-8";
/* --------------------------------------------------------------
 訪問デパート（page-depart.php）専用CSS

 ・/assets/css/style.css は 7698行目付近の構文エラーで以降が無効になるため、
 　追記せずテーマ側の独立ファイルとしている（breadcrumb-header.css と同じ理由）
 ・読み込みはテンプレート冒頭の wp_enqueue_style()。このページでのみ読み込まれる
 ・クラスはすべて .p-hd 配下に閉じている
-------------------------------------------------------------- */
.p-hd {
    --hd-orange: #ff7a00;
    --hd-orange-dark: #eb6f00;
    --hd-blue: #6b8ac9;
    --hd-green: #9bc53d;
    --hd-purple: #7a5aa6;
    --hd-red: #e0262d;
    --hd-text: #222;
    --hd-heading: #1e2530;
    --hd-muted: #6b7280;
    --hd-gray-bg: #f7f8fa;
    --hd-border: #e5e7eb;
    --hd-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    --hd-header-h: 105px;
    color: var(--hd-text);
    line-height: 1.8;
    letter-spacing: .04em;
}
@media (max-width: 1140px) {
    .p-hd { --hd-header-h: 90px; }
}
@media (max-width: 939px) {
    .p-hd { --hd-header-h: 50px; }
}
html:has(.p-hd) {
    scroll-behavior: smooth;
}
.p-hd *,
.p-hd *::before,
.p-hd *::after {
    box-sizing: border-box;
}
.p-hd h2,
.p-hd h3,
.p-hd h4,
.p-hd p,
.p-hd ul,
.p-hd ol,
.p-hd dl,
.p-hd dd,
.p-hd blockquote {
    margin: 0;
}
.p-hd ul,
.p-hd ol,
.p-hd dl {
    list-style: none;
    padding: 0;
}
.p-hd img {
    max-width: 100%;
    height: auto;
}
.p-hd em {
    font-style: normal;
}
.p-hd [id] {
    scroll-margin-top: calc(var(--hd-header-h) + 64px);
}

/* 共通 ------------------------------------------------------ */
.p-hd-container {
    width: 1040px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.p-hd-container--wide { width: 1090px; }
.p-hd-container--narrow { width: 872px; }

.p-hd-sec {
    padding: 90px 0 100px;
}
.p-hd-sec--gray {
    background-color: var(--hd-gray-bg);
}
.p-hd-ttl {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--hd-heading);
    text-align: center;
    line-height: 1.5;
    margin-bottom: 50px !important;
}
.p-hd-ttl::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 18px auto 0;
    background-color: var(--hd-orange);
}
.p-hd-ttl_sub {
    text-align: center;
    font-size: .9375rem;
    margin: -24px 0 50px !important;
}
.p-hd-note {
    font-size: .75rem;
    color: var(--hd-muted);
    line-height: 1.6;
}

.p-hd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #fff;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}
.p-hd-btn:hover {
    color: #fff;
    text-decoration: none;
    opacity: .85;
}
.p-hd-btn--orange {
    background-color: var(--hd-orange);
    box-shadow: 0 6px 16px rgba(255, 122, 0, .3);
}
.p-hd-btn--blue {
    background-color: var(--hd-blue);
}
.p-hd-btn--lg {
    min-height: 60px;
    padding: 12px 34px;
    font-size: 1.0625rem;
}

/* ページ内ナビ ---------------------------------------------- */
.p-hd-nav {
    position: sticky;
    /* style.css の --adminbar-height は単位なしの 0 のため calc() に使えない。管理バーは下で個別に補正 */
    top: var(--hd-header-h);
    z-index: 50;
    background-color: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--hd-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}
@media (min-width: 783px) {
    .admin-bar .p-hd-nav { top: calc(var(--hd-header-h) + 32px); }
}
.p-hd-nav_inner {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 1400px;
    max-width: 100%;
    height: 64px;
    margin: 0 auto;
    padding: 0 20px;
}
.p-hd-nav_name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--hd-blue);
    white-space: nowrap;
}
.p-hd-nav_list {
    display: flex;
    gap: 28px;
    margin: 0 auto !important;
}
.p-hd-nav_list a {
    color: var(--hd-text);
    font-size: .9375rem;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}
.p-hd-nav_list a:hover {
    color: var(--hd-orange);
}
.p-hd-nav_btn {
    padding: 10px 26px;
    font-size: .9375rem;
    white-space: nowrap;
    box-shadow: none;
}
@media (max-width: 1140px) {
    .p-hd-nav_name { display: none; }
    .p-hd-nav_list { gap: 20px; margin: 0 !important; }
    .p-hd-nav_btn { margin-left: auto; }
}
@media (max-width: 939px) {
    .p-hd [id] { scroll-margin-top: calc(var(--hd-header-h) + 48px); }
    .p-hd-nav_inner {
        height: 48px;
        padding: 0;
        gap: 0;
    }
    .p-hd-nav_list {
        flex: 1;
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .p-hd-nav_list::-webkit-scrollbar { display: none; }
    .p-hd-nav_list a {
        display: block;
        padding: 12px 14px;
        font-size: .8125rem;
    }
    .p-hd-nav_btn {
        flex-shrink: 0;
        margin: 0 10px 0 6px;
        padding: 7px 14px;
        font-size: .8125rem;
    }
}

/* メインビジュアル ------------------------------------------ */
.p-hd-hero img {
    display: block;
    width: 100%;
    height: clamp(220px, 37.5vw, 560px);
    object-fit: cover;
    object-position: center 35%;
}
.p-hd-intro {
    position: relative;
    overflow: hidden;
    padding: 80px 0 80px;
    text-align: center;
    background:
        radial-gradient(circle at 0% 0%, rgba(107, 138, 201, .12), transparent 35%),
        radial-gradient(circle at 100% 100%, rgba(255, 170, 110, .22), transparent 38%),
        #f1f2f8;
}
.p-hd-intro_lead {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hd-blue);
    margin-bottom: 20px !important;
}
.p-hd-intro_ttl {
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--hd-text);
    letter-spacing: .06em;
    margin-bottom: 36px !important;
}
.p-hd-intro_ttl em {
    color: var(--hd-orange);
}
.p-hd-intro_txt {
    font-size: 1.0625rem;
    line-height: 1.9;
    margin-bottom: 50px !important;
}
.p-hd-intro_btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}
.p-hd-provider {
    background-color: var(--hd-blue);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 24px 20px;
    line-height: 1.6;
}
.p-hd-provider p + p {
    margin-top: 12px;
}

/* コンセプト ------------------------------------------------ */
.p-hd-concept {
    display: flex;
    align-items: center;
    gap: 64px;
}
.p-hd-concept_body {
    flex: 1;
}
.p-hd-concept_img {
    flex: 0 0 508px;
}
.p-hd-concept_img img {
    display: block;
    border-radius: 14px;
}
.p-hd-concept_ttl {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hd-blue);
    line-height: 1.7;
    margin-bottom: 24px !important;
}
.p-hd-concept_body p {
    font-size: .9375rem;
    line-height: 2;
}

/* お困りごと ------------------------------------------------ */
.p-hd-trouble {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-bottom: 50px !important;
}
.p-hd-trouble_item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--hd-shadow);
    padding: 36px 32px 34px;
    text-align: center;
}
.p-hd-trouble_item img {
    display: block;
    width: 170px;
    margin: 0 auto 20px;
}
.p-hd-trouble_item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hd-heading);
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hd-border);
    margin-bottom: 16px !important;
}
.p-hd-trouble_item p {
    text-align: left;
    font-size: .9375rem;
}

.p-hd-solution {
    position: relative;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 54px 40px 50px;
    background:
        radial-gradient(circle at 0% 0%, rgba(210, 214, 228, .9), transparent 30%),
        radial-gradient(circle at 100% 100%, rgba(255, 200, 150, .45), transparent 32%),
        #f8f5f2;
}
.p-hd-solution_ttl {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--hd-text);
    line-height: 1.5;
    margin-bottom: 32px !important;
}
.p-hd-solution_ttl em {
    color: var(--hd-orange);
}
.p-hd-solution_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 48px;
}
.p-hd-solution_list li {
    position: relative;
    padding-left: 34px;
}
.p-hd-solution_list li::before,
.p-hd-check li::before {
    content: "";
    position: absolute;
    left: 2px;
    width: 14px;
    height: 8px;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
}
.p-hd-solution_list li::before {
    top: 10px;
    color: var(--hd-orange);
}
.p-hd-solution_list h4 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--hd-orange);
    margin-bottom: 8px !important;
}
.p-hd-solution_list p {
    font-size: .9375rem;
}

/* 5つの安心 ------------------------------------------------- */
.p-hd-relief_sub {
    text-align: center;
    color: var(--hd-orange);
    font-weight: 700;
    font-size: 1.125rem;
    margin: -30px 0 50px !important;
}
.p-hd-relief {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 26px;
    margin-bottom: 34px !important;
}
.p-hd-relief_item {
    flex: 0 0 calc((100% - 52px) / 3);
    background-color: var(--hd-gray-bg);
    border: 1px solid var(--hd-border);
    border-top: 6px solid var(--hd-blue);
    border-radius: 8px;
    padding: 18px 24px 24px;
    text-align: center;
}
.p-hd-relief_item[data-color="orange"] { border-top-color: var(--hd-orange); }
.p-hd-relief_item[data-color="green"] { border-top-color: var(--hd-green); }
.p-hd-relief_item[data-color="purple"] { border-top-color: var(--hd-purple); }
.p-hd-relief_item img {
    display: block;
    width: 100%;
    aspect-ratio: 265 / 138;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 18px;
}
.p-hd-relief_item p {
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--hd-heading);
}
.p-hd-relief_note {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 12px 26px 12px 52px;
    border: 1px solid var(--hd-orange);
    border-radius: 6px;
    color: var(--hd-orange);
    font-weight: 700;
    font-size: .9375rem;
    background-color: #fff;
}
.p-hd-relief_note::before {
    content: "i";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 1.5px solid currentColor;
    border-radius: 50%;
    font-size: .6875rem;
    line-height: 15px;
    text-align: center;
    font-family: Georgia, serif;
    font-weight: 700;
}

/* 3つのメリット --------------------------------------------- */
#merit {
    background-color: #f5f5f5;
}
.p-hd-merit {
    --merit-color: var(--hd-orange);
    display: flex;
    align-items: center;
    gap: 36px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: var(--hd-shadow);
    padding: 36px 40px;
    margin-bottom: 26px;
}
.p-hd-merit[data-color="green"] { --merit-color: var(--hd-green); }
.p-hd-merit[data-color="blue"] { --merit-color: var(--hd-blue); }
.p-hd-merit_img {
    flex: 0 0 200px;
}
.p-hd-merit_img img {
    display: block;
}
.p-hd-merit_body {
    flex: 1;
}
.p-hd-merit_body h3 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hd-heading);
    margin-bottom: 18px !important;
}
.p-hd-merit_badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    background-color: var(--merit-color);
    color: #fff;
    font-size: 1.25rem;
}
.p-hd-check li {
    position: relative;
    padding-left: 32px;
    font-size: .9375rem;
}
.p-hd-check li + li {
    margin-top: 12px;
}
.p-hd-check li::before {
    top: 7px;
    width: 13px;
    height: 7px;
    color: var(--merit-color, var(--hd-orange));
}
.p-hd-check strong {
    color: var(--hd-red);
    font-weight: 700;
}
.p-hd-support {
    display: flex;
    align-items: center;
    gap: 16px 32px;
    background-color: #fff;
    border: 1px solid var(--hd-border);
    border-radius: 8px;
    padding: 24px 28px;
    margin-top: 48px;
}
.p-hd-support_icon {
    flex-shrink: 0;
    color: #8a9099;
}
.p-hd-support_ttl {
    font-weight: 700;
    color: var(--hd-heading);
    white-space: nowrap;
}
.p-hd-support_txt {
    font-size: .875rem;
}

/* 取扱商品 -------------------------------------------------- */
.p-hd-products_img img {
    display: block;
    width: 100%;
    aspect-ratio: 998 / 256;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--hd-shadow);
}
.p-hd-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 50px;
}
.p-hd-products_ttl {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hd-heading);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--hd-orange);
    margin-bottom: 24px !important;
}
.p-hd-lineup {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.p-hd-lineup_item {
    background-color: var(--hd-gray-bg);
    border: 1px solid #eef0f3;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    padding: 20px 16px 18px;
}
.p-hd-lineup_item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--hd-heading);
    margin-bottom: 6px !important;
}
.p-hd-lineup_item li {
    position: relative;
    padding-left: 1em;
    font-size: .875rem;
    line-height: 1.7;
}
.p-hd-lineup_item li::before {
    content: "・";
    position: absolute;
    left: 0;
}
.p-hd-lineup_item .p-hd-note {
    margin-top: 6px !important;
    color: var(--hd-text);
    font-size: .8125rem;
}
.p-hd-price {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--hd-border);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    padding: 12px 0 0;
    margin-bottom: 10px;
    font-size: .875rem;
}
.p-hd-price th,
.p-hd-price td {
    padding: 12px 16px;
    border-top: 1px solid var(--hd-border);
    background: none;
}
.p-hd-price tr:first-child th,
.p-hd-price tr:first-child td {
    border-top: none;
}
.p-hd-price th {
    text-align: left;
    font-weight: 700;
    color: var(--hd-heading);
}
.p-hd-price td {
    text-align: right;
    white-space: nowrap;
}

/* 介護向け機能 ---------------------------------------------- */
#function {
    background-color: #f5f5f5;
}
.p-hd-function {
    background-color: #fff;
    border-radius: 14px;
    padding: 36px 32px 30px;
}
.p-hd-function_ttl {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hd-blue);
    margin-bottom: 26px !important;
}
.p-hd-function_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.p-hd-function_list li {
    background-color: var(--hd-gray-bg);
    border: 1px solid #eef0f3;
    border-radius: 10px;
    padding: 24px 18px 26px;
    text-align: center;
}
.p-hd-function_list img {
    display: block;
    width: 60px;
    margin: 0 auto 16px;
}
.p-hd-function_list h4 {
    font-size: 1.0625rem;
    white-space: nowrap;
    font-weight: 700;
    color: var(--hd-heading);
    margin-bottom: 14px !important;
}
.p-hd-function_list p {
    font-size: .875rem;
    line-height: 1.7;
}
.p-hd-function_note {
    text-align: right;
    margin-top: 22px !important;
}

/* 開催までの流れ -------------------------------------------- */
.p-hd-flow-sec {
    position: relative;
    background: url(../images/houmon-depart/concept.jpg) center / cover no-repeat;
}
.p-hd-flow-sec::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, .88);
}
.p-hd-flow-sec > * {
    position: relative;
}
.p-hd-flow {
    position: relative;
    width: 940px;
    max-width: 100%;
    margin: 0 auto !important;
}
.p-hd-flow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    margin-left: -2px;
    background-color: var(--hd-blue);
}
.p-hd-flow_step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 48px 1fr;
    align-items: center;
    column-gap: 36px;
}
.p-hd-flow_step + .p-hd-flow_step {
    margin-top: 56px;
}
.p-hd-flow_num {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--hd-blue);
    box-shadow: 0 0 0 4px #fff;
    color: #fff;
    font-weight: 700;
    font-size: .875rem;
    line-height: 1;
}
.p-hd-flow_step.is-final .p-hd-flow_num {
    background-color: var(--hd-orange);
}
.p-hd-flow_step[data-side="left"] .p-hd-flow_body {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}
.p-hd-flow_step[data-side="left"] .p-hd-flow_aside {
    grid-column: 3;
    grid-row: 1;
}
.p-hd-flow_step[data-side="right"] .p-hd-flow_body {
    grid-column: 3;
    grid-row: 1;
}
.p-hd-flow_step[data-side="right"] .p-hd-flow_aside {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
}
.p-hd-flow_body h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hd-blue);
    line-height: 1.5;
    margin-bottom: 12px !important;
}
.p-hd-flow_step.is-final .p-hd-flow_body h3 {
    color: var(--hd-orange);
}
.p-hd-flow_body p {
    font-size: .9375rem;
    line-height: 1.8;
    font-weight: 500;
}
.p-hd-flow_body .p-hd-note {
    margin-top: 16px !important;
    font-weight: 400;
}
.p-hd-flow_memo {
    display: inline-block;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    padding: 16px 18px;
    font-size: .8125rem;
    color: var(--hd-muted);
    line-height: 1.7;
}
.p-hd-flow_step.is-final .p-hd-flow_memo {
    background-color: #fff5eb;
    border: 1px solid #ffd9b3;
    color: var(--hd-orange);
    font-weight: 700;
}

/* 開催の様子 ------------------------------------------------ */
.p-hd-scene {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}
.p-hd-scene_item {
    --scene-color: var(--hd-blue);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
    overflow: hidden;
}
.p-hd-scene_item[data-color="green"] { --scene-color: var(--hd-green); }
.p-hd-scene_item[data-color="orange"] { --scene-color: var(--hd-orange); }
.p-hd-scene_item img {
    display: block;
    width: 100%;
    aspect-ratio: 313 / 190;
    object-fit: cover;
}
.p-hd-scene_item blockquote {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px 24px 26px 48px;
}
.p-hd-scene_item blockquote::before {
    content: "\201C";
    position: absolute;
    left: 14px;
    top: 4px;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: #dde3ee;
}
.p-hd-scene_item blockquote p {
    font-size: .875rem;
    line-height: 1.75;
    margin-bottom: 20px !important;
}
.p-hd-scene_item cite {
    margin-top: auto;
    text-align: right;
    font-style: normal;
    font-weight: 700;
    font-size: .875rem;
    color: var(--scene-color);
}

/* Instagram ------------------------------------------------- */
.p-hd-sec--instagram {
    padding: 64px 0;
    border-top: 1px solid var(--hd-border);
    border-bottom: 1px solid var(--hd-border);
}
.p-hd-instagram {
    position: relative;
    overflow: hidden;
    width: 832px;
    max-width: 100%;
    margin: 0 auto;
    padding: 48px 30px 48px;
    border: 1px solid #f7dbe9;
    border-radius: 14px;
    text-align: center;
    background: linear-gradient(135deg, #fdeff6 0%, #f8f2fb 60%, #f5f3fb 100%);
}
.p-hd-instagram::after {
    content: "";
    position: absolute;
    right: 0;
    top: -20px;
    width: 150px;
    height: 150px;
    border: 18px solid rgba(214, 140, 200, .12);
    border-radius: 36px;
    pointer-events: none;
}
.p-hd-instagram::before {
    content: "";
    position: absolute;
    right: 38px;
    top: 18px;
    width: 74px;
    height: 74px;
    border: 16px solid rgba(214, 140, 200, .12);
    border-radius: 50%;
    pointer-events: none;
}
.p-hd-instagram > * {
    position: relative;
    z-index: 1;
}
.p-hd-instagram_ttl {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hd-heading);
    margin-bottom: 6px !important;
}
.p-hd-instagram p {
    font-size: .9375rem;
    margin-bottom: 32px !important;
}
.p-hd-instagram_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 34px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fdc33b 0%, #f5663f 30%, #e1306c 65%, #a73ae0 100%);
    box-shadow: 0 6px 16px rgba(225, 48, 108, .28);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .2s;
}
.p-hd-instagram_btn:hover {
    color: #fff;
    text-decoration: none;
    opacity: .85;
}

/* よくある質問 ---------------------------------------------- */
.p-hd-faq_item {
    background-color: #fff;
    border: 1px solid var(--hd-border);
    border-radius: 8px;
    padding: 24px 24px 26px;
}
.p-hd-faq_item + .p-hd-faq_item {
    margin-top: 24px;
}
.p-hd-faq dt,
.p-hd-faq dd {
    position: relative;
    padding-left: 28px;
}
.p-hd-faq dt {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--hd-heading);
    margin-bottom: 10px;
}
.p-hd-faq dd {
    font-size: .9375rem;
}
.p-hd-faq dd a {
    color: var(--hd-blue);
    font-weight: 700;
    text-decoration: underline;
}
.p-hd-faq dd a::after {
    content: "";
    display: inline-block;
    width: .8em;
    height: .8em;
    margin-left: .3em;
    vertical-align: -.05em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42L17.59 5H14V3zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.41l-9.29 9.3-1.42-1.42L17.59 5H14V3zM5 5h6v2H5v12h12v-6h2v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.p-hd-faq dt::before,
.p-hd-faq dd::before {
    position: absolute;
    left: 0;
    font-weight: 700;
}
.p-hd-faq dt::before {
    content: "Q";
    color: var(--hd-blue);
}
.p-hd-faq dd::before {
    content: "A";
    color: var(--hd-orange);
}

/* ご相談 ---------------------------------------------------- */
.p-hd-contact {
    position: relative;
    padding: 84px 0 70px;
    background: url(/assets/images/bg-contact.png) center / cover no-repeat;
    color: #fff;
    text-align: center;
}
.p-hd-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, .45);
}
.p-hd-contact > * {
    position: relative;
}
.p-hd-contact_ttl {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px !important;
}
.p-hd-contact_txt {
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 26px !important;
}
.p-hd-contact_row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.p-hd-contact_tel {
    text-align: left;
}
.p-hd-contact_tel .c-contactfoot_btnarea_sub_tel_ttl {
    margin-bottom: 4px;
}
.p-hd-contact_tel .c-contactfoot_btnarea_sub_tel_ttl a {
    color: #fff;
    text-decoration: none;
}
.p-hd-contact_tel .c-contactfoot_btnarea_sub_tel_ttl + p {
    font-size: .8125rem;
}
.p-hd-contact_btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 550px;
    max-width: 100%;
    height: 86px;
    padding: 0 60px;
    border-radius: 999px;
    background-color: var(--hd-orange);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s;
}
.p-hd-contact_btn::after {
    content: "";
    position: absolute;
    right: 38px;
    top: 50%;
    width: 26px;
    height: 12px;
    margin-top: -6px;
    background: url(/assets/images/arrow-r_white.svg) center / contain no-repeat;
}
.p-hd-contact_btn:hover {
    color: #fff;
    text-decoration: none;
    background-color: var(--hd-orange-dark);
}

/* タブレット ------------------------------------------------ */
@media (max-width: 1040px) {
    .p-hd-concept { gap: 40px; }
    .p-hd-concept_img { flex-basis: 45%; }
    .p-hd-function_list { grid-template-columns: repeat(2, 1fr); }
    .p-hd-scene { gap: 20px; }
}

/* SP ------------------------------------------------------- */
@media (max-width: 767px) {
    .p-hd { letter-spacing: .02em; }
    .p-hd-sec { padding: 56px 0 64px; }
    .p-hd-ttl {
        font-size: 1.375rem;
        margin-bottom: 32px !important;
    }
    .p-hd-ttl::after { margin-top: 14px; }
    .p-hd-ttl_sub {
        font-size: .875rem;
        margin: -12px 0 32px !important;
        text-align: left;
    }
    .p-hd-ttl_sub br { display: none; }

    .p-hd-intro { padding: 48px 0 52px; }
    .p-hd-intro_lead { font-size: 1rem; margin-bottom: 14px !important; }
    .p-hd-intro_ttl { font-size: 1.625rem; margin-bottom: 24px !important; }
    .p-hd-intro_txt { font-size: .875rem; text-align: left; margin-bottom: 32px !important; }
    .p-hd-intro_txt br { display: none; }
    .p-hd-intro_btns { flex-direction: column; align-items: stretch; gap: 12px; }
    .p-hd-btn--lg { min-height: 54px; padding: 10px 20px; font-size: 1rem; }
    .p-hd-provider { font-size: .875rem; padding: 18px 16px; }
    .p-hd-provider p + p { margin-top: 6px; }

    .p-hd-concept { flex-direction: column-reverse; gap: 24px; }
    .p-hd-concept_img { flex-basis: auto; }
    .p-hd-concept_ttl { font-size: 1.25rem; margin-bottom: 16px !important; }
    .p-hd-concept_body p { font-size: .875rem; line-height: 1.9; }

    .p-hd-trouble { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px !important; }
    .p-hd-trouble_item { padding: 24px 20px; }
    .p-hd-trouble_item img { width: 140px; margin-bottom: 12px; }
    .p-hd-trouble_item h3 { font-size: 1.125rem; }
    .p-hd-trouble_item p { font-size: .875rem; }
    .p-hd-solution { padding: 32px 20px; }
    .p-hd-solution_ttl { font-size: 1.25rem; margin-bottom: 24px !important; }
    .p-hd-solution_ttl em { display: inline-block; }
    .p-hd-solution_list { grid-template-columns: 1fr; gap: 20px; }
    .p-hd-solution_list li { padding-left: 28px; }
    .p-hd-solution_list h4 { font-size: 1.0625rem; }
    .p-hd-solution_list p { font-size: .875rem; }

    .p-hd-relief_sub { font-size: .9375rem; margin: -16px 0 28px !important; }
    .p-hd-relief { gap: 14px; }
    .p-hd-relief_item {
        flex-basis: calc((100% - 14px) / 2);
        padding: 12px 12px 14px;
    }
    .p-hd-relief_item img { border-radius: 6px; margin-bottom: 10px; }
    .p-hd-relief_item p { font-size: .9375rem; }
    .p-hd-relief_note { padding: 12px 16px 12px 44px; font-size: .8125rem; }
    .p-hd-relief_note::before { left: 16px; }

    .p-hd-merit { flex-direction: column; gap: 16px; padding: 24px 20px; margin-bottom: 16px; }
    .p-hd-merit_img { flex-basis: auto; }
    .p-hd-merit_img img { width: 150px; }
    .p-hd-merit_body h3 { font-size: 1.0625rem; margin-bottom: 14px !important; }
    .p-hd-merit_badge { font-size: 1rem; }
    .p-hd-check li { font-size: .875rem; padding-left: 26px; }
    .p-hd-support { flex-wrap: wrap; padding: 20px; margin-top: 32px; }
    .p-hd-support_txt { flex-basis: 100%; }

    .p-hd-products { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
    .p-hd-products_img img { aspect-ratio: 16 / 9; }
    .p-hd-products_ttl { font-size: 1.125rem; margin-bottom: 16px !important; }
    .p-hd-lineup { grid-template-columns: 1fr; gap: 12px; }
    .p-hd-lineup_item { padding: 16px 12px; }
    .p-hd-price { font-size: .8125rem; }
    .p-hd-price th, .p-hd-price td { padding: 10px 12px; }
    .p-hd-price th { width: 60%; }

    .p-hd-function { padding: 24px 14px 20px; }
    .p-hd-function_ttl { font-size: 1.0625rem; margin-bottom: 18px !important; }
    .p-hd-function_list { gap: 12px; }
    .p-hd-function_list li { padding: 18px 12px; }
    .p-hd-function_list img { width: 50px; margin-bottom: 10px; }
    .p-hd-function_list h4 { font-size: .875rem; white-space: normal; margin-bottom: 8px !important; }
    .p-hd-function_list p { font-size: .8125rem; text-align: left; }

    .p-hd-flow::before { left: 14px; }
    .p-hd-flow_step {
        grid-template-columns: 28px 1fr;
        column-gap: 16px;
        row-gap: 12px;
        align-items: start;
    }
    .p-hd-flow_step + .p-hd-flow_step { margin-top: 40px; }
    .p-hd-flow_num { grid-column: 1; grid-row: 1; margin-top: 4px; }
    .p-hd-flow_step[data-side] .p-hd-flow_body {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
    }
    .p-hd-flow_step[data-side] .p-hd-flow_aside {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-start;
    }
    .p-hd-flow_aside:empty { display: none; }
    .p-hd-flow_body h3 { font-size: 1.1875rem; margin-bottom: 8px !important; }
    .p-hd-flow_body p { font-size: .875rem; }
    .p-hd-flow_memo br { display: none; }

    .p-hd-scene { grid-template-columns: 1fr; gap: 20px; }

    .p-hd-sec--instagram { padding: 48px 0; }
    .p-hd-instagram { padding: 36px 20px; }
    .p-hd-instagram_ttl { font-size: 1.125rem; }
    .p-hd-instagram p { font-size: .875rem; margin-bottom: 24px !important; }

    .p-hd-faq_item { padding: 20px 16px; }
    .p-hd-faq_item + .p-hd-faq_item { margin-top: 14px; }
    .p-hd-faq dt { font-size: 1rem; }
    .p-hd-faq dd { font-size: .875rem; }

    .p-hd-contact { padding: 48px 0; }
    .p-hd-contact_ttl { font-size: 1.25rem; }
    .p-hd-contact_txt { font-size: .875rem; text-align: left; }
    .p-hd-contact_txt br { display: none; }
    .p-hd-contact_row { flex-direction: column; gap: 20px; }
    .p-hd-contact_tel { text-align: center; }
    .p-hd-contact_btn { height: 64px; font-size: 1.0625rem; padding: 0 48px; }
    .p-hd-contact_btn::after { right: 24px; width: 20px; }
}
