@charset "UTF-8";

/*=========================================*/
/* ウェルキッズフォトLP 共通CSS
   使用ページ：photo/photo-service.html ほか
   メインLP（assets/wk/css/main.css）のトンマナに合わせつつ、
   このファイル単体で完結するように設計しています。
/*=========================================*/

:root {
    --wkp-theme-color: #0a9d8d;
    --wkp-accent-color: #f15b84;

    --wkp-line-theme-color: var(--wkp-theme-color);
    --wkp-line-lightgray: #dee2e6;

    --wkp-text-default-color: #414141;
    --wkp-text-nav-color:#333333;
    --wkp-text-theme-color: var(--wkp-theme-color);
    --wkp-text-accent-color: var(--wkp-accent-color);

    --wkp-text-link-color: #0d6efd;
    --wkp-text-link-hover-color: #0056b3;

    --wkp-bg-theme-color: var(--wkp-theme-color);
    --wkp-bg-lightgreen: #eaf5e8;
    --wkp-bg-lightgray: #f9f9f9;
    --wkp-bg-lightpink: #fbe2e7;

    --wkp-text-size-small: 0.875rem;
    --wkp-border-radius-default: 0.5rem;
}

/* noto-sans-jp-regular - japanese */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/common/fonts/noto-sans-jp-v54-japanese-regular.woff2') format('woff2');
}
/* noto-sans-jp-700 - japanese */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/common/fonts/noto-sans-jp-v54-japanese-700.woff2') format('woff2');
}
/* noto-sans-jp-900 - japanese */
@font-face {
    font-display: swap;
    font-family: 'Noto Sans JP';
    font-style: normal;
    font-weight: 900;
    src: url('/assets/common/fonts/noto-sans-jp-v54-japanese-900.woff2') format('woff2');
}

html {
    font-size: 14px;
}
@media (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: "Noto Sans JP", sans-serif;
    color: var(--wkp-text-default-color);
    box-sizing: border-box;
    background-color: #fff;
    padding: 0;
    margin: 0;
    line-height: 1.7;
}

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

h2 {
    font-weight: bold;
    margin-bottom: 1.75rem;
    text-align: center;
}

/* 見出しの前半（小さめのリード行）で後半の本題にメリハリをつける */
h2 .wkp-heading-lead {
    display: block;
    font-size: 0.75em;
    font-weight: 700;
    color: var(--wkp-text-default-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

h3 {
    font-weight: bold;
}

strong {
    color: var(--wkp-text-theme-color);
}

img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.lead {
    font-size: 1rem;
}
@media (min-width: 768px) {
    .lead {
        font-size: 1rem;
    }
}

/*=========================================*/
/* 共通パーツ
/*=========================================*/

/* 背景 */
.wkp-bg-lightgray {
    background-color: var(--wkp-bg-lightgray);
}
.wkp-bg-lightgreen {
    background-color: var(--wkp-bg-lightgreen);
}

/* テキスト */
.wkp-text-bigger-strong {
    font-size: 1.25em;
    font-weight: bold;
    color: var(--wkp-text-theme-color);
}
.wkp-text-color--brand {
    color: var(--wkp-text-theme-color);
}
.wkp-text-color--accent {
    color: var(--wkp-text-accent-color);
}

/* テキストリンク */
.wkp-text-link {
    font-size: 1rem;
    margin-bottom: 0;
    text-decoration: underline;
    text-underline-position: under;
    text-underline-offset: 2px;
    color: var(--wkp-text-theme-color);
}
.wkp-text-link--small {
    font-size: var(--wkp-text-size-small);
    margin-bottom: 0;
    text-decoration: underline;
    text-underline-position: under;
    text-underline-offset: 2px;
    color: var(--wkp-text-theme-color);
}

/* CTAボタン */
.wkp-cta-btn {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    line-height: 1.5;
    font-size: 1.25rem;
    color: #ffffff;
    padding: 1.0rem 1.618rem;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}
/* 576px～768px未満（3つ並びのCTAボタンが折り返されやすい幅）だけ
   文字サイズと左右パディングを詰めて、1行に収める */
@media (min-width: 576px) and (max-width: 767.98px) {
    .wkp-cta-btn {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
}
.wkp-cta-btn:hover {
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.wkp-cta-btn--brand {
    background: linear-gradient(135deg, #3B8E8F, #45A6A7);
}
.wkp-cta-btn--brand:hover {
    background: linear-gradient(135deg, #0fa89d, #2cc5ba);
}
.wkp-cta-btn--accent {
    background: linear-gradient(135deg, #f15b84, #f77d9e);
}
.wkp-cta-btn--accent:hover {
    background: linear-gradient(135deg, #ff6e95, #ff88a9);
}
.wkp-cta-btn--border {
    background: #ffffff;
    color: #0fa89d;
    border: solid 1px #0fa89d;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}
.wkp-cta-btn--border:hover {
    color: #3B8E8F;
}

/* ヘッダー内CTAボタンの文字色（Bootstrapの .navbar-nav .nav-link より優先させる） */
.navbar-nav .nav-link.wkp-cta-btn--brand,
.navbar-nav .nav-link.wkp-cta-btn--accent,
.navbar-nav .nav-link.wkp-cta-btn--brand:hover,
.navbar-nav .nav-link.wkp-cta-btn--accent:hover {
    color: #ffffff;
}
.navbar-nav .nav-link.wkp-cta-btn--border {
    color: #0fa89d;
}
.navbar-nav .nav-link.wkp-cta-btn--border:hover {
    color: #3B8E8F;
}

/* CTAバナー */
.wkp-cta-bnr {
    display: block;
    border: solid 1px var(--wkp-line-lightgray);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
    border-radius: var(--wkp-border-radius-default);
    overflow: hidden;
}
.wkp-cta-bnr:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* 縦横比の異なるバナー画像を同じ大きさの枠に揃えて並べる場合に使う
   （画像はクロップせず、枠内に収まるよう縮小表示する） */
.wkp-bnr-uniform {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}
.wkp-bnr-uniform picture {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.wkp-bnr-uniform img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
@media (max-width: 575.98px) {
    .wkp-bnr-uniform {
        height: 150px;
    }
}

/* シャドウつきパネル */
.wkp-panel-shadow {
    border: solid 1px var(--wkp-line-lightgray);
    border-radius: var(--wkp-border-radius-default);
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    transition: all 0.3s ease !important;
    transform: translateY(0);
}
a.wkp-panel-shadow:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* パネル風のリスト */
.wkp-panel-list-box {
    border-radius: var(--wkp-border-radius-default);
    padding: 1.5rem;
    height: 100%;
    background: #ffffff;
    border: solid 2px var(--wkp-line-theme-color);
}
.wkp-panel-list-title {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}
@media (min-width: 768px) {
    .wkp-panel-list-title {
        font-size: 1.25rem;
    }
}
.wkp-panel-list-text {
    margin-bottom: 0.25rem;
}

/* ▼矢印 */
.wkp-mark-big-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-top: 30px solid var(--wkp-bg-theme-color);
}


/* ヘッダー
=========================================*/
#wkp-header-top {
    background: rgba(255, 255, 255, 1);
    transition: background-color 0.3s ease;
}
#wkp-header-top.wkp-header-top-init-translucent {
    background: rgba(255, 255, 255, 0.85);
}
#wkp-header-top.wkp-header-top--scrolled {
    background-color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wkp-header-subnav {
    font-size: clamp(0.8125rem, 0.6125rem + 0.323vw, 0.9375rem);
    padding: 0;
    background-color: var(--wkp-bg-lightgray);
}
.wkp-header-subnav a {
    font-weight: bold;
    color: var(--wkp-text-nav-color);
    text-decoration: none;
}
.wkp-header-subnav a:hover {
    color: var(--wkp-text-theme-color);
}
/* サブナビ左端の控えめなキャッチコピー */
.wkp-header-subnav-tagline {
    font-size: 0.75rem;
    font-weight: normal;
    color: #6c757d;
    white-space: nowrap;
    margin-left: 8px;
}

@media (min-width: 1400px) {
    .wkp-header-navbar .container-fluid,
    .wkp-header-subnav .container-fluid {
        max-width: 1600px;
    }
}

.wkp-hamburger-btn {
    border: none;
}

/* 下段メインナビのロゴサイズ */
.wkp-header-logo {
    width: 125px;
    height: auto;
}

.wkp-header-navbar-list {
    margin-left: 0;
    justify-content: center;
    width: 100%;
}
@media (min-width: 992px) {
    .wkp-header-navbar-list {
        justify-content: end;
    }
}

.wkp-header-navbar-item {
    margin: 0.5rem 0;
    font-weight: bold;
    text-align: center;
    font-size: 0.9375rem;
}
.wkp-header-navbar-item .nav-link {
    color: var(--wkp-text-nav-color);
}
.wkp-header-navbar-item .nav-link:hover {
    color: var(--wkp-text-theme-color);
}
@media (min-width: 992px) {
    /* ノートPC幅（992px）～大型デスクトップ（1600px）にかけて、ウィンドウ幅に応じて
       ナビ項目の文字サイズ・間隔を滑らかに縮小し、折り返しを防ぐ */
    .wkp-header-navbar-item {
        margin: 0 0 0 clamp(0.4rem, -0.46rem + 1.38vw, 1.2rem);
        font-size: clamp(0.875rem, 0.675rem + 0.323vw, 1rem);
        white-space: nowrap;
    }
    .wkp-header-navbar-item:first-child {
        margin: 0;
    }
    .navbar-brand img {
        width: clamp(110px, 7.5vw, 160px) !important;
    }
}
.wkp-header-navbar-item .wkp-cta-btn,
.wkp-header-navbar-item .wkp-cta-btn--border {
    margin-left: auto;
    margin-right: auto;
    font-size: inherit;
    padding: 0.5rem;
    width: 9rem;
}
.wkp-header-navbar-item .wkp-cta-btn--border {
    padding: calc(0.5rem - 1px);
}
@media (min-width: 992px) {
    /* デスクトップナビのCTAボタンは固定幅をやめ、文言の長さに応じて
       自然に幅が決まるようにする（幅固定だと文字がはみ出るため） */
    .wkp-header-navbar .wkp-header-navbar-item .wkp-cta-btn,
    .wkp-header-navbar .wkp-header-navbar-item .wkp-cta-btn--border {
        display: inline-block;
        width: auto;
        white-space: nowrap;
        padding: 0.5rem clamp(0.7rem, 1.5vw, 1.25rem);
    }
    .wkp-header-navbar .wkp-header-navbar-item .wkp-cta-btn--border {
        padding: calc(0.5rem - 1px) clamp(calc(0.7rem - 1px), 1.5vw, calc(1.25rem - 1px));
    }
}

#wkp-offcanvas-nav {
    transition: transform 0.4s ease-in-out, visibility 0.4s ease-in-out;
    background-color: #f5f5f5;
}
@media (max-width: 575px) {
    #wkp-offcanvas-nav {
        width: 80%;
    }
}
#wkp-offcanvas-nav .wkp-header-navbar-item,
#wkp-offcanvas-nav .wkp-header-navbar-item .wkp-cta-btn,
#wkp-offcanvas-nav .wkp-header-navbar-item .wkp-cta-btn--border {
    font-size: 1.05rem;
}
#wkp-offcanvas-nav .wkp-header-navbar-item .wkp-cta-btn,
#wkp-offcanvas-nav .wkp-header-navbar-item .wkp-cta-btn--border {
    width: 70%;
}

/* 固定ヘッダー分のスペーサー */
#wkp-header-top ~ main {
    margin-top: 70px;
}
@media (min-width: 992px) {
    #wkp-header-top ~ main {
        margin-top: 108px;
    }
}
/* サブナビ・メインナビのリンクを省いたミニマムヘッダー（お問い合わせページ等）
   では上段サブナビが無いぶんヘッダーが低くなるため、main側の空け幅も合わせて縮める */
@media (min-width: 992px) {
    #wkp-header-top.wkp-header-top--minimal ~ main {
        margin-top: 70px;
    }
}

/* フッター
=========================================*/
#wkp-footer {
    padding: 60px 0 10px;
    font-size: var(--wkp-text-size-small);
}
#wkp-footer a {
    color: var(--wkp-text-default-color);
    text-decoration: underline;
    text-underline-offset: 3px;
}
#wkp-footer a:hover {
    color: var(--wkp-text-theme-color);
}
.wkp-footer-category-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
.wkp-footer-category-content {
    padding-left: 0;
    margin-bottom: 1.5rem;
}
.wkp-footer-category-content li {
    list-style: none;
    margin-bottom: 0.5rem;
}
.wkp-company-info-list {
    margin-top: 40px;
    list-style: none;
    padding: 0;
}
.wkp-company-info-list li {
    margin: 0 10px 10px;
    text-align: center;
}

/*=========================================*/
/* コンテンツ
/*=========================================*/

/* ファーストビュー（独自セクション）
=========================================*/
#wkp-hero {
    padding: 0;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    background-image: url('/assets/wkp/img/hero-bg-sp.png');
    background-repeat: no-repeat, no-repeat;
    background-position: center center, center center;
    background-size: cover, cover;
    overflow: hidden;
}
@media (min-width: 992px) {
    #wkp-hero {
        background-image: url('/assets/wkp/img/hero-bg.png');
    }
}

@media (min-width: 1200px) {
    #wkp-hero {
        min-height: 560px;
    }
}

#wkp-hero .wkp-hero-copy {
    /* 768px～1600pxにかけてウィンドウ幅に応じて滑らかに拡大し、
       ノートPC幅での不自然な折り返しを防ぐ */
    font-size: clamp(1.75rem, 1.08rem + 1.39vw, 2.75rem);
    font-weight: 900;
    line-height: 1.4;
    color: var(--wkp-text-theme-color);
    margin: 1.25rem 0;
}

#wkp-hero .wkp-hero-title {
    font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.0625rem);
    line-height: 1.6;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

#wkp-hero .wkp-hero-lead {
    font-size: clamp(0.875rem, 0.8rem + 0.25vw, 0.9375rem);
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

#wkp-hero .wkp-hero-content {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}
@media (min-width: 768px) {
    #wkp-hero .wkp-hero-content {
        max-width: 100%;
    }
}
/* 992px～1200px未満（テキスト列が狭くCTAボタンが折り返されやすい幅）だけ
   文字サイズと左右パディングを詰めて、1行に収める */
@media (min-width: 992px) and (max-width: 1199.98px) {
    #wkp-hero .wkp-cta-btn {
        font-size: 1rem;
        padding: 1rem 1rem;
    }
}

/* 数値バッジ（先生の負担0円など） */
.wkp-hero-points {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}
@media (min-width: 768px) {
    .wkp-hero-points {
        justify-content: flex-start;
    }
}
.wkp-hero-points li {
    background: #ffffff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    white-space: nowrap;
}
.wkp-hero-points li .big {
    font-size: 1.25em;
    color: var(--wkp-text-accent-color);
}

/* ファーストビュー画像 */
.wkp-hero-visual {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}
/* lg未満（テキストの下に画像が積まれるレイアウト）では、画像の下に
   次の要素との間隔をつくる */
@media (max-width: 991.98px) {
    .wkp-hero-visual {
        margin-bottom: 2rem;
    }
}

/* CTAセクション
=========================================*/
.wkp-cta-sec {
    text-align: center;
    background-color: var(--wkp-bg-lightgreen);
}
.wkp-cta-sec-title {
    margin-bottom: 1rem;
    font-size: calc(1.325rem + .6vw);
    font-weight: bold;
    color: var(--wkp-text-theme-color);
}

/* お悩み
=========================================*/
#wkp-problems .wkp-panel-list {
    --bs-gutter-x: 2rem;
    --bs-gutter-y: 2rem;
}
#wkp-problems .wkp-panel-list-box {
    border: solid 2px var(--wkp-line-theme-color);
    box-shadow: none;
}
.wkp-problem-icon {
    display: flex;
    justify-content: center;
    color: var(--wkp-theme-color);
    margin: 0 auto 0.75rem;
}
.wkp-problem-icon svg {
    width: 40px;
    height: 40px;
}
#wkp-problems .wkp-panel-list-title {
    position: relative;
    text-align: center;
    padding: 0 0 0.75rem;
    margin: 0 0 1.5rem;
    font-size: 1.125rem;
    color: var(--wkp-text-theme-color);
}
#wkp-problems .wkp-panel-list-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--wkp-theme-color);
}

/* 選ばれる理由・機能（番号付き交互レイアウト）
=========================================*/
.wkp-feature-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    background: #fff;
    border: solid 2px var(--wkp-line-theme-color);
    border-radius: var(--wkp-border-radius-default);
    padding: 2rem;
}
.wkp-feature-row:last-child {
    margin-bottom: 0;
}
@media (max-width: 575.98px) {
    .wkp-feature-row {
        padding: 1.25rem;
    }
}
.wkp-feature-row-text {
    order: 1;
    flex: 1 1 400px;
    max-width: 480px;
}
.wkp-feature-row-image {
    order: 2;
    flex: 0 1 256px;
    max-width: 256px;
}
.wkp-feature-row-image img {
    max-width: 100%;
}
/* 横長イラスト用：この行だけ横並びをやめて縦積みにし、画像を大きく見せる */
.wkp-feature-row--stacked {
    flex-direction: column;
    gap: 0.5rem;
}
.wkp-feature-row--stacked .wkp-feature-row-text {
    flex: 0 1 auto;
    max-width: 480px;
}
@media (min-width: 992px) {
    .wkp-feature-row--stacked .wkp-feature-row-text {
        max-width: calc(100% - 2rem);
    }
}
.wkp-feature-row--stacked .wkp-feature-row-image {
    flex: 0 1 auto;
    max-width: 440px;
}
.wkp-feature-titlebox {
    display: flex;
    align-items: center;
    gap: 1.125rem;
    margin: 1.5rem 0;
}
.wkp-feature-titlebox h3 {
    font-size: 1.125rem;
    line-height: 1.5;
    margin: 0;
}
@media (min-width: 768px) {
    .wkp-feature-titlebox {
        gap: 1.25rem;
    }
    .wkp-feature-titlebox h3 {
        font-size: 1.5rem;
    }
}

/* 番号付き特徴（選ばれる理由） */
.wkp-feature-num-badge {
    flex-shrink: 0;
    line-height: 1;
    font-weight: 700;
    font-size: 2.75rem;
    color: #bdd7d5;
    /*color: transparent;*/
/*    -webkit-text-stroke: 2px var(--wkp-theme-color);
    text-stroke: 2px var(--wkp-theme-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
*/
}

/* 概要
=========================================*/
#wkp-about .wkp-lead-block p {
    margin-bottom: 1rem;
}

/* 機能一覧
=========================================*/
.wkp-func-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .wkp-func-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}
/* 768px～992px未満は4列だとカードがはみ出るため、この幅だけ3列にする */
@media (min-width: 768px) and (max-width: 991.98px) {
    .wkp-func-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.wkp-func-item {
    text-align: center;
    background: #fff;
    border: solid 1px var(--wkp-line-lightgray);
    border-radius: var(--wkp-border-radius-default);
    padding: 1.5rem 1rem;
}
.wkp-func-item dt {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    min-height: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.wkp-func-item dd {
    margin: 0;
}
.wkp-func-item dd picture {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 130px;
    margin-bottom: 0.5rem;
}
.wkp-func-item dd img {
    max-width: 140px;
    max-height: 100%;
}
.wkp-func-item dd p {
    font-size: var(--wkp-text-size-small);
    margin-top: 0.5rem;
    margin-bottom: 0;
}

/* 料金
=========================================*/
.wkp-plan-note {
    font-size: var(--wkp-text-size-small);
}
.wkp-plan-num {
    font-size: 2.25em;
    font-weight: bold;
    color: var(--wkp-text-theme-color);
}
.wkp-plan-box {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wkp-plan-box .wkp-cta-btn {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    padding: 0.75rem 1.618rem;
}
.wkp-plan-box h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.wkp-plan-box dl {
    flex: 1;
    margin-bottom: 1.25rem;
}
.wkp-plan-box dl dt {
    position: relative;
    text-align: center;
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--wkp-text-theme-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
}
.wkp-plan-box dl dt::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--wkp-theme-color);
}
.wkp-plan-box dl dd {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: dashed 1px var(--wkp-line-lightgray);
    text-align: left;
    font-size: var(--wkp-text-size-small);
}
.wkp-plan-box dl dd svg {
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: var(--wkp-theme-color);
    width: 20px;
    height: 20px;
}
.wkp-plan-box dl dd:last-child {
    border-bottom: none;
}

/* 販売の流れ
=========================================*/
.wkp-flow-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.wkp-flow-item img {
    max-width: 240px;
}
.wkp-flow-item h3 {
    font-size: 1.125rem;
    margin: 0.5rem 0 0.5rem;
}
.wkp-flow-badge {
    display: inline-block;
    padding: 0.25rem 1.1rem;
    border-radius: 999px;
    font-size: var(--wkp-text-size-small);
    font-weight: bold;
    color: #fff;
}
.wkp-flow-badge--teacher {
    background: var(--wkp-theme-color);
}
.wkp-flow-badge--parent {
    background: var(--wkp-theme-color);
}
.wkp-flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--wkp-theme-color);
    padding: 0.5rem 0;
}
@media (min-width: 992px) {
    #wkp-exe .row {
        --bs-gutter-x: 1rem;
    }
}

/* セキュリティ
=========================================*/
.wkp-security-item {
    text-align: center;
    background: #fff;
    border-radius: var(--wkp-border-radius-default);
    padding: 1.75rem 1.25rem;
    height: 100%;
}
.wkp-security-item img {
    max-width: 100px;
}
.wkp-security-item h3 {
    font-size: 1.125rem;
    margin: 1rem 0 0.5rem;
    line-height: 1.5;
}
.wkp-security-item p {
    font-size: 1rem;
    text-align: left;
    margin: 0;
}

/* 導入事例
=========================================*/
.wkp-case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: var(--wkp-border-radius-default);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}
.wkp-case-card:hover {
    color: inherit;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.wkp-case-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--wkp-bg-lightgray);
}
.wkp-case-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.wkp-case-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}
.wkp-case-card-body h3 {
    text-align: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
}
.wkp-case-card-text {
    flex: 1;
    font-size: var(--wkp-text-size-small);
    margin-bottom: 1rem;
}
.wkp-case-card-link {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    font-size: var(--wkp-text-size-small);
    font-weight: bold;
    color: var(--wkp-text-theme-color);
}
.wkp-case-card-link svg {
    transition: transform 0.2s ease;
}
.wkp-case-card:hover .wkp-case-card-link svg {
    transform: translateX(4px);
}

/* 提携パートナー・サービス
=========================================*/
.wkp-partner-list {
    list-style: none;
    padding: 0;
}
.wkp-partner-list li {
    margin-bottom: 1rem;
}
.wkp-partner-list-card {
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    border-radius: var(--wkp-border-radius-default);
    height: 100%;
    width: 100%;
}
.wkp-partner-list-card:hover {
    background-color: #f0f0f0;
}
.wkp-partner-list-logo-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 50px;
}
.wkp-partner-list-text-box {
    margin-top: 10px;
    font-size: 0.875rem;
}

/* よくある質問
=========================================*/
.wkp-qa-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}
.wkp-qa-list-item {
    list-style: none;
    padding: 0;
}
#wkp-faq .accordion-button {
    background-color: #ffffff;
}
#wkp-faq .accordion-button:hover {
    background-color: var(--wkp-bg-lightgreen);
}
#wkp-faq .accordion-button:focus {
    box-shadow: none;
    outline: 2px solid var(--wkp-line-theme-color);
}
#wkp-faq .accordion-button:not(.collapsed) {
    background-color: var(--wkp-bg-lightgreen);
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}
#wkp-faq .accordion-button.collapsed {
    background-color: #ffffff;
}
.wkp-qa-list-title {
    display: block;
    font-size: 1.125rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--wkp-line-theme-color);
}

/* 他社との違い
=========================================*/
.wkp-differ-table {
    margin: 1rem auto 0;
    max-width: 880px;
    border-collapse: separate;
    border-spacing: 0;
    text-align: center;
    vertical-align: middle;
    background: #fff;
    border-radius: var(--wkp-border-radius-default);
    overflow: hidden;
    border: solid 1px var(--wkp-line-lightgray);
}
.wkp-differ-table thead th {
    border: none;
    padding: 1rem 0.5rem;
    font-weight: bold;
    background: transparent;
    color: var(--wkp-text-default-color);
}
.wkp-differ-table thead th:first-child {
    width: 26%;
}
.wkp-differ-table thead th:nth-of-type(2) {
    background: var(--wkp-theme-color);
    color: #fff;
    width: 26%;
}
.wkp-differ-table thead th:nth-of-type(3),
.wkp-differ-table thead th:nth-of-type(4) {
    width: 24%;
    border-bottom: solid 1px var(--wkp-line-lightgray);
}
.wkp-differ-table thead th:nth-of-type(4) {
    border-left: solid 1px var(--wkp-line-lightgray);
}
.wkp-differ-table tbody th,
.wkp-differ-table tbody td {
    border: none;
    border-bottom: solid 1px var(--wkp-line-lightgray);
    padding: 1rem 0.5rem;
    text-align: left;
}
/* セル内のアイコン（.wkp-mark）の右にあるテキストが2行になった場合、
   折り返し2行目の開始位置を1行目の文字の開始位置（アイコンの右）に揃える */
.wkp-differ-table tbody td {
    padding-left: calc(0.5rem + 22px + 0.35rem);
    text-indent: calc(-22px - 0.35rem);
}
.wkp-differ-table tbody td:nth-of-type(3) {
    border-left: solid 1px var(--wkp-line-lightgray);
}
.wkp-differ-table tbody th {
    text-align: left;
    font-size: var(--wkp-text-size-small);
    font-weight: bold;
}
.wkp-differ-table tbody td:first-of-type {
    background: #eaf5e863;
    font-weight: bold;
    color: var(--wkp-text-theme-color);
}
.wkp-differ-table tbody tr:last-child th,
.wkp-differ-table tbody tr:last-child td {
    border-bottom: none;
}
.wkp-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -5px;
    margin-right: 0.35rem;
    margin-bottom: 0;
}
.wkp-mark--good {
    color: var(--wkp-theme-color);
}
.wkp-mark--caution {
    color: #e0a333;
}
.wkp-mark--bad {
    color: #adb5bd;
}

/* サブページ共通パーツ（お問い合わせ・オンライン説明・完了ページ など）
=========================================*/

/* サブページ用ヒーロー（パンくず＋タイトル） */
.wkp-page-hero {
    padding: 3rem 0;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0a9d8d 0%, #0c7d92 100%);
}
.wkp-page-hero h1 {
    margin-bottom: 0.75rem;
    font-size: clamp(1.375rem, 1.15rem + 0.9vw, 1.875rem);
    font-weight: 900;
}
.wkp-page-hero .wkp-page-hero-lead {
    max-width: 640px;
    margin: 0 auto;
    font-size: 0.9375rem;
    opacity: 0.92;
}

/* パンくず */
.wkp-breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 0 0 1.25rem;
    font-size: 0.8125rem;
    opacity: 0.85;
}
.wkp-breadcrumb li + li::before {
    content: "\203A";
    padding: 0 0.5em;
}
.wkp-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}
.wkp-breadcrumb a:hover {
    text-decoration: underline;
}

/* ヒーロー直下に置く、控えめなグレーのパンくず帯
   （カラー背景のヒーロー内で使う白文字版とは別に、白背景の帯で使う） */
.wkp-breadcrumb-bar {
    background: var(--wkp-bg-lightgray);
    /*border-top: solid 1px var(--wkp-line-lightgray);*/
    padding: 0.625rem 0;
}
/* .wkp-breadcrumb-bar 配下という前提で詳細度を上げ、カラーヒーロー用の
   白文字・中央寄せ（.wkp-breadcrumb本体のルール）を確実に上書きする */
.wkp-breadcrumb-bar .wkp-breadcrumb {
    justify-content: flex-start;
    margin: 0;
    opacity: 1;
    color: #6c757d;
}
.wkp-breadcrumb-bar .wkp-breadcrumb a {
    color: #6c757d;
}
.wkp-breadcrumb-bar .wkp-breadcrumb a:hover {
    color: var(--wkp-theme-color);
}

/* フォームページ本文の横幅制限 */
.wkp-content-narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* フォームを載せる白背景パネル */
.wkp-form-panel {
    background: #ffffff;
    border: solid 1px var(--wkp-line-lightgray);
    border-radius: var(--wkp-border-radius-default);
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.06);
    padding: 2rem;
}
@media (max-width: 575.98px) {
    .wkp-form-panel {
        padding: 1.25rem;
    }
}

/* Mauticフォームの見た目をウェルキッズフォトのトンマナに合わせる */
.wkp-mautic-form .mauticform-innerform {
    width: 100%;
}
.wkp-mautic-form .mauticform-row {
    margin-bottom: 1.25rem;
}
.wkp-mautic-form .mauticform-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: bold;
    color: var(--wkp-text-default-color);
}
/* セクション区切り見出し（Mauticの自由記述フィールドで「●見出し」のように入力されたもの） */
.wkp-mautic-form .mauticform-row.mauticform-freetext.field-description-container {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}
.wkp-mautic-form .mauticform-row.mauticform-freetext.field-description-container:first-child {
    margin-top: 0;
}
.wkp-mautic-form .mauticform-label.field-description-header {
    display: block;
    margin: 0;
    padding: 0.75rem 1rem 0.75rem 1.25rem;
    font-size: 1.0625rem;
    font-weight: bold;
    color: var(--wkp-text-theme-color);
    background: var(--wkp-bg-lightgreen);
    border-left: 4px solid var(--wkp-theme-color);
    border-radius: 0 var(--wkp-border-radius-default) var(--wkp-border-radius-default) 0;
}
.wkp-mautic-form .mauticform-row.mauticform-required .mauticform-label::after {
    content: "必須";
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.1em 0.6em;
    font-size: 0.75em;
    font-weight: bold;
    color: #ffffff;
    background: var(--wkp-accent-color);
    border-radius: 999px;
    vertical-align: middle;
}
/* 個人情報の取扱いについての同意チェックボックスは、グループ見出し用のmauticform-labelを
   持たず選択肢のラベル（policy-checkbox-field-text）のみで構成されているため、
   そのラベルの後ろに直接「必須」マークを付ける。行を囲むクラス（policy-checkbox-container）は
   フォームによって付いていない場合があるため、ラベル自身のクラスを対象にする */
.wkp-mautic-form .mauticform-checkboxgrp-label.policy-checkbox-field-text::after {
    content: "必須";
    display: inline-block;
    margin-left: 0.5em;
    padding: 0.1em 0.6em;
    font-size: 0.75em;
    font-weight: bold;
    color: #ffffff;
    background: var(--wkp-accent-color);
    border-radius: 999px;
    vertical-align: middle;
}
.wkp-mautic-form .mauticform-input,
.wkp-mautic-form .mauticform-selectbox,
.wkp-mautic-form .mauticform-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--wkp-text-default-color);
    background: #ffffff;
    border: solid 1px var(--wkp-line-lightgray);
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wkp-mautic-form .mauticform-textarea {
    min-height: 8rem;
}
.wkp-mautic-form .mauticform-input:focus,
.wkp-mautic-form .mauticform-selectbox:focus,
.wkp-mautic-form .mauticform-textarea:focus {
    border-color: var(--wkp-theme-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 157, 141, 0.15);
}
.wkp-mautic-form .mauticform-input::placeholder,
.wkp-mautic-form .mauticform-textarea::placeholder {
    color: #adb5bd;
}
.wkp-mautic-form .mauticform-checkboxgrp-row,
.wkp-mautic-form .mauticform-radiogrp-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}
/* Mauticはチェックボックス/ラジオを「行を囲むdivが無く、input要素にインラインstyleで
   float:leftが指定された状態」で出力することがある。この場合はinput・labelが並列の
   兄弟要素として並ぶため、スマホ幅で折り返す際にチェックボックスとラベルが
   別の行に分かれてしまう。main.jsで両者を.wkp-mautic-choiceでラップし、
   1組が常に同じ行に収まるようにする。 */
.wkp-mautic-form .wkp-mautic-choice {
    display: inline-flex;
    align-items: center;
    margin: 0 1.5rem 0.6rem 0;
}
.wkp-mautic-form .mauticform-checkboxgrp-checkbox,
.wkp-mautic-form .mauticform-radiogrp-radio {
    float: none !important;
    margin: 0 0.4rem 0 0 !important;
}
.wkp-mautic-form .mauticform-checkboxgrp-label,
.wkp-mautic-form .mauticform-radiogrp-label {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: normal;
    cursor: pointer;
}
.wkp-mautic-form .mauticform-helpmessage {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #6c757d;
}
.wkp-mautic-form .mauticform-errormsg {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    color: #dc3545;
}
.wkp-mautic-form .mauticform-button-wrapper {
    margin-top: 2rem;
    text-align: center;
}
/* Mauticが動的に注入する既定スタイル（.mauticform-button-wrapper .mauticform-button）と
   詳細度が同じだと読み込み順で負けてしまうため、ラッパーを含めて詳細度を上げている */
.wkp-mautic-form .mauticform-button-wrapper .mauticform-button {
    display: inline-block;
    min-width: 240px;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #f15b84, #f77d9e);
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.wkp-mautic-form .mauticform-button-wrapper .mauticform-button:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* 完了（サンクス）ページ */
.wkp-thanks-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    color: #ffffff;
    background: var(--wkp-theme-color);
    border-radius: 50%;
}
.wkp-thanks-icon svg {
    width: 36px;
    height: 36px;
}
/* 完了ページの説明文は、中央寄せだと行の始点が揺れて読みにくいので、
   狭めのボックスに収めて左寄せにする（アイコン・ボタンは中央寄せのまま） */
.wkp-thanks-text {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
}

/* 規約・ポリシーなどの本文ページ（個人情報の取扱いについて 等） */
.wkp-legal-content {
    text-align: left;
}
.wkp-legal-content p {
    margin-bottom: 1.5rem;
}
.wkp-legal-content h2 {
    margin: 3rem 0 1rem;
    padding-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: bold;
    text-align: left;
    color: var(--wkp-text-theme-color);
    border-bottom: solid 2px var(--wkp-line-lightgray);
}
.wkp-legal-content a {
    color: var(--wkp-text-link-color);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.wkp-legal-content a:hover {
    color: var(--wkp-text-link-hover-color);
}

/* 他社との違い（スマホ幅ではカード積み上げ表示に変換） */
@media (max-width: 767.98px) {
    .wkp-differ-table {
        border: none;
        border-radius: 0;
        background: transparent;
        max-width: 100%;
    }
    .wkp-differ-table thead {
        display: none;
    }
    .wkp-differ-table,
    .wkp-differ-table tbody,
    .wkp-differ-table tr,
    .wkp-differ-table th,
    .wkp-differ-table td {
        display: block;
        width: 100%;
    }
    .wkp-differ-table tbody tr {
        margin-bottom: 1rem;
        background: #fff;
        border: solid 1px var(--wkp-line-lightgray);
        border-radius: var(--wkp-border-radius-default);
        overflow: hidden;
    }
    .wkp-differ-table tbody tr:last-child {
        margin-bottom: 0;
    }
    .wkp-differ-table tbody th {
        background: #ffffff;
        text-align: center;
        border-bottom: solid 1px var(--wkp-line-lightgray);
    }
    .wkp-differ-table tbody td {
        display: flex;
        align-items: flex-start;
        border-bottom: solid 1px var(--wkp-line-lightgray);
    }
    .wkp-differ-table tbody td:nth-of-type(3) {
        border-left: none;
    }
    .wkp-differ-table tbody tr:last-child td:last-child {
        border-bottom: none;
    }
    .wkp-differ-table tbody td::before {
        content: attr(data-label);
        flex-shrink: 0;
        width: 7.5rem;
        white-space: nowrap;
        font-weight: bold;
        font-size: var(--wkp-text-size-small);
        color: var(--wkp-text-default-color);
    }
    .wkp-differ-table tbody td:first-of-type::before {
        color: var(--wkp-theme-color);
    }
    /* アイコンの後ろでテキストが2行になった場合、折り返し2行目の開始位置を
       1行目の文字（アイコンの後ろ）に揃える。項目名（::before）はtdの
       flexアイテムとして別枠になっているので、ここではアイコン分の幅だけを考慮する */
    .wkp-differ-table tbody .wkp-differ-value {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
        padding-left: calc(22px + 0.35rem);
        text-indent: calc(-22px - 0.35rem);
    }
}

/* 日時選択ピッカー（オンライン説明フォームの候補日時）
   xdsoft/jquery-datetimepicker のアクセントカラーをブランドカラーに合わせる
=========================================*/
.xdsoft_datetimepicker .xdsoft_today {
    color: var(--wkp-theme-color);
}
.xdsoft_datetimepicker .xdsoft_current,
.xdsoft_datetimepicker .xdsoft_current:hover {
    background: var(--wkp-theme-color) !important;
    box-shadow: none !important;
}
.xdsoft_datetimepicker .xdsoft_calendar td:hover,
.xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box > div > div:hover {
    background: var(--wkp-theme-color) !important;
    color: #ffffff !important;
}
