@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD（ライフオペレーション）
    Description: life-op.com 用の SWELL 子テーマ
    Version: 1.0.0
*/

/* ---------- 共通 ---------- */
.post_content h2.wp-block-heading,
.post_content h3.wp-block-heading,
.c-pageTitle,
.p-mainVisual__slideTitle {
    font-family: "Yu Mincho", "游明朝", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    font-weight: 600;
}

/* 見出しの下の英字（Price plan など） */
.post_content .lop-en {
    margin-bottom: 0 !important;
    color: #8a7663;
    font-family: Georgia, serif;
    font-size: 14px;
    letter-spacing: .2em;
    text-transform: uppercase;
}

/* セクション。gray / dark は背景を画面幅いっぱいに伸ばす */
.post_content .lop-sec {
    margin: 0 0 4em !important;
    padding: 3.5em 0;
}
.post_content .lop-sec--gray,
.post_content .lop-sec--dark,
.post_content .lop-band,
.post_content .lop-cta {
    box-shadow: 0 0 0 100vmax var(--lop-bg);
    clip-path: inset(0 -100vmax);
    background: var(--lop-bg);
}
.post_content .lop-sec--gray { --lop-bg: #f5f4f2; }
.post_content .lop-sec--dark { --lop-bg: #111; color: #fff; }
.post_content .lop-sec--dark h2,
.post_content .lop-sec--dark h3 { color: #fff; background: none; border: none; }
.post_content .lop-sec__title { margin-top: .2em !important; margin-bottom: 1.5em !important; }

/* トップのリード文 */
.post_content .lop-lead { margin-top: 0 !important; }
.post_content .lop-lead h2 { font-size: 1.8em; padding: 0; }
.post_content .lop-lead h2::before,
.post_content .lop-lead h2::after { display: none; }

/* ページ冒頭の説明文 */
.post_content .lop-intro { font-size: 1.05em; line-height: 2; margin-bottom: 3em !important; }

/* 画像＋文章の横並び */
.post_content .lop-media { align-items: center; gap: 3em; margin-bottom: 3.5em !important; }
.post_content .lop-media h2,
.post_content .lop-media h3 { margin-top: 0 !important; }
.post_content .lop-media img { width: 100%; object-fit: cover; }

/* 写真を並べる */
.post_content .lop-photos { gap: 8px; margin-bottom: 1.5em !important; }
.post_content .lop-photos figure { margin: 0 !important; }
.post_content .lop-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* トップのサービス3つ */
.post_content .lop-cards { gap: 1.5em; }
.post_content .lop-cards > .wp-block-column {
    background: #f5f4f2;
    padding: 0 0 1.5em;
    display: flex;
    flex-direction: column;
}
.post_content .lop-cards > .wp-block-column > * { margin-left: 1.2em !important; margin-right: 1.2em !important; }
.post_content .lop-cards > .wp-block-column > figure { margin: 0 0 1em !important; }
.post_content .lop-cards img { width: 100%; aspect-ratio: 37 / 26; object-fit: cover; }
.post_content .lop-cards p { font-size: .92em; }
.post_content .lop-cards .wp-block-buttons { margin-top: auto !important; }

/* 料金プラン */
.post_content .lop-plans { gap: 1.2em; margin: 2em 0 3em !important; }
.post_content .lop-plans > .wp-block-column {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 4px solid #222;
    padding: 1.5em 1.4em;
}
.post_content .lop-plan__name { margin: 0 0 .3em !important; padding: 0 !important; border: none !important; text-align: center; font-size: 1.2em; }
.post_content .lop-plan__name::before { display: none; }
.post_content .lop-plan__price { text-align: center; font-size: 1.7em; font-weight: bold; color: #442606; margin-bottom: .2em !important; }
.post_content .lop-plan__catch { text-align: center; font-size: .9em; color: #666; }
.post_content .lop-plan__list { font-size: .92em; }

/* 料金表・会社概要の表 */
.post_content .lop-price td:last-child { text-align: right; white-space: nowrap; font-weight: bold; }
.post_content .lop-price td:first-child { font-weight: bold; }
.post_content .lop-spec td:first-child { width: 28%; background: #f5f4f2; font-weight: bold; }
.post_content .lop-spec table, .post_content .lop-price table { table-layout: auto; }

/* 注意書き・枠 */
.post_content .lop-note,
.post_content .lop-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.5em 1.8em;
    margin-bottom: 1.5em !important;
}
.post_content .lop-note h3,
.post_content .lop-box h3 { margin-top: 0 !important; font-size: 1.1em; }
.post_content .lop-note p { font-size: .92em; }
.post_content .lop-note--center { background: #f5f4f2; border: none; padding: 2em; }

/* 理由など4つの説明ボックス */
.post_content .lop-boxes { gap: 1.2em; margin-bottom: 1.2em !important; }
.post_content .lop-boxes > .wp-block-column { background: #f5f4f2; padding: 1.5em 1.6em; }
.post_content .lop-boxes h3 { margin-top: 0 !important; font-size: 1.1em; }
.post_content .lop-boxes p { font-size: .93em; margin-bottom: 0 !important; }

/* 問い合わせへの誘導 */
.post_content .lop-cta { --lop-bg: #1d1d1d; color: #fff; padding: 3.5em 0; margin: 2em 0 0 !important; }
.post_content .lop-cta h2 { color: #fff; background: none; border: none; padding: 0; font-size: 1.5em; }
.post_content .lop-cta h2::before, .post_content .lop-cta h2::after { display: none; }

/* 写真の帯（採用） */
.post_content .lop-band {
    --lop-bg: #000;
    padding: 5em 0;
    margin-bottom: 0 !important;
    color: #fff;
    background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.55)), url(https://life-op.com/wp-content/uploads/2023/07/tokyoyakeiIMGL29561923_TP_V.webp);
    background-size: cover;
    background-position: center;
    box-shadow: none;
    clip-path: none;
    width: 100vw;
    margin-left: calc(50% - 50vw) !important;
}
.post_content .lop-band h2 { color: #fff; background: none; border: none; }
.post_content .lop-band h2::before, .post_content .lop-band h2::after { display: none; }

/* トップのお知らせ・沿革 */
.post_content .lop-newscols { gap: 3em; }
.post_content .lop-newscols h3 { margin-top: 0 !important; }

/* ボタン */
.post_content .wp-block-button__link { background: #222; color: #fff; border-radius: 0; padding: .9em 2.4em; }
.post_content .wp-block-button__link:hover { background: #442606; }
.post_content .lop-sec--dark .wp-block-button__link,
.post_content .lop-cta .wp-block-button__link,
.post_content .lop-band .wp-block-button__link { background: #fff; color: #222; }

/* 代表挨拶 */
.post_content .lop-greeting { gap: 2.5em; align-items: flex-start; }
.post_content .lop-sign { text-align: right; font-weight: bold; }

/* 中央寄せの画像（ロゴなど） */
.post_content .lop-center-img { text-align: center; }
.post_content .lop-center-img img { max-width: 360px; }

.post_content .lop-map iframe { display: block; }

/* Contact Form 7（バイトル依頼・問い合わせ等）：入力欄を横いっぱいに */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    max-width: 100%;
    padding: .6em .8em;
    border: 1px solid #ccc;
    background: #fff;
}
.wpcf7 input[type="submit"] {
    display: block;
    margin: 1.5em auto 0;
    padding: .9em 4em;
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #442606; }
.wpcf7 p { margin-bottom: 1.2em; }

/* フッター直前のSEO/MEO案内（ウィジェット） */
.lop-foot-cta {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)), url(https://life-op.com/wp-content/uploads/2026/04/1450×500.jpg) center / cover;
    color: #fff;
    text-align: center;
    padding: 4em 1.5em;
}
.lop-foot-cta__title { font-family: "Yu Mincho", "游明朝", serif; font-size: 1.6em; font-weight: 600; margin-bottom: 1em; }
.lop-foot-cta p { line-height: 2; }
.lop-foot-cta__links { display: flex; justify-content: center; gap: 1.5em; margin-top: 2em; flex-wrap: wrap; }
.lop-foot-cta__links a { display: flex; align-items: center; background: #fff; color: #222; text-decoration: none; width: 280px; }
.lop-foot-cta__links img { width: 110px; height: 70px; object-fit: cover; }
.lop-foot-cta__links span { flex: 1; font-weight: bold; }
.w-beforeFooter { margin-top: 0; }
.w-beforeFooter .l-container { max-width: none; padding: 0; }

/* スマホ */
@media (max-width: 781px) {
    .post_content .lop-sec { padding: 2.5em 0; }
    .post_content .lop-lead h2 { font-size: 1.35em; }
    .post_content .lop-lead p { text-align: left; }
    .post_content .lop-media { gap: 1em; }
    .post_content .lop-photos { display: grid !important; grid-template-columns: 1fr 1fr; }
    .post_content .lop-spec td:first-child { width: 34%; }
    .post_content .lop-price td:last-child { white-space: normal; }
    .lop-foot-cta__title { font-size: 1.25em; }
    .lop-foot-cta p { text-align: left; }
}
