/*
Theme Name: Lumex child
Version: 2.0.0
Template: lumex
*/


p {
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    margin-bottom:18px
}

.mil-c-m-2 {
    color: #141414;
}

li.elementor-icon-list-item {
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
}

.mil-h3, h3 {
    font-size: 3.6rem;
}

h2.mil-h2.mil-c-m-5.mil-sm-tac.mil-title-el {
    font-size: 35px;
}

h4 {
    font-size: 1.8em;
}

h6 {
    font-size: 1.8em;
}

h2.mil-h2 {
    font-size: 48px;
    line-height: 65px;
}

.mil-badge {
    color: rgb(255 255 255);
}

.mil-badge {
    background-color: #252f35;
}

.mil-btn.mil-soft {
    background-color: rgb(243 243 243);
}

.mil-icon-2, body .mil-icon-2 {
    background-color: rgb(243 243 243);
}

span.mil-c-a-1 {
    color: #ed931f;
}


/*料金表*/

span.plan-price {
    font-size:25px;
    letter-spacing: -5px;
}

p.mil-t-16.mil-c-m-2.mil-mb-3 {
    font-weight: bold;
}

.mil-card.mil-gray-card {
  background-color: #F5F5F5;
}

/*サービス*/

.mil-t-14 {
    font-size: 1.6rem;
    line-height: 175%;
}

.mil-c-m-3 {
    color: #647076;
}

.mil-angle.mil-angle-gray:after {
    background-color: #F5F5F5;
}

/*実績*/

.elementor-11516 .elementor-element.elementor-element-8aad5d7 {
    margin: 20px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;
    columns: 1;
    font-size: 16px;
    line-height: 2em;
}

/*プロジェクト*/

.mil-item-card .mil-descr .mil-text-row h4 {
    max-width: 100%;
    line-height:1.4em
}

/*お客様の声*/

.mil-icon.mil-mb-2 {
    width: 10rem;
}

h6.mil-mb-2.mil-c-m-1 {
    line-height: 1.5em;
    font-size: 22px;
}

/*FAQ*/

.mil-bg-out-left-gray:before, .mil-content .mil-bg-out-left-gray:before {
    background-color: #F5F5F5;
}


/*ヘッダーロゴ*/

.mil-logo {
    display: block;
    width: 30rem;
}

/* OUR COMMITMENT */

#commitment p {
    color: #D5DEE2 !important;
}

.mil-divider.mil-mb-4 {
    display: none;
}

/* =================================
   ブログ詳細ページ
================================= */

.single-post-text p {
    font-size: 15px;
    letter-spacing: 0.3px;
    margin-top: 0px;
}

.single-post-text {
    color: #141414 !important;
}

.single-post-text h2{
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    margin-top: 50px;
    margin-bottom: 30px;
    font-size: 25px;
    border-left: 1px solid #000;
    padding: 25px 30px;
    line-height: 1.6em;
}

.single-post-text h3{
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    margin-top: 50px;
    margin-bottom: 30px;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #999;
    padding-bottom: 10px;
    font-size: 20px;
    line-height: 1.6em;
}

.single-post-text h4{
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    margin-top: 50px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    font-size: 18px;
    padding-left: 25px;
    position: relative;
}

.single-post-text h4:before {
    content: "";
    position: absolute;
    top: 40%;
    left: 0;
    width: 15px;
    height: 6px;
    transform: translateY(-50%);
    background-color: #d8d8d8;
}

.single-post-text ul {
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    font-size: 15px;
}

.single-post-text ol > li {
    font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, sans-serif !important;
    font-size: 15px;
    line-height: 1.8em;
    margin-bottom: 15px;
}

.single-post-text ol{
    padding-inline-start: 3rem;
}


.single-post-text blockquote {
    position: relative;
    border-left: 3px solid #e2e0e0;
    background-color: #f9f9f9;
    font-style: normal;
    color: #6f6f6f;
    padding: 30px 30px;
    margin: 30px 0;
}

blockquote a {
    font-size: 12px;
    color: #949494!important;
    font-weight: normal;
    font-style: italic;
}

.single-post-text ul > li {
    padding-left: 26px;
}

.single-post-text ul > li:before {
    left: 12px;
    background-color: rgb(108 108 108);
}

/* =================================
   プロジェクト一覧ページ
================================= */

.mil-item-card .mil-descr .mil-info ul li p {
    margin-bottom:0px;
}

/* =================================
   プロジェクト詳細ページ
================================= */

li.mil-mb-3 p {
    margin-bottom:0px;
}

/* =================================
   ブログ一覧
================================= */

.mil-item-card.mil-port-ori .mil-descr .mil-info {
    display: none;
}

.mil-item-card.mil-port-ori .mil-descr .mil-info ul {
    display: none;
}

.mil-item-card.mil-port-ori .mil-descr {
    padding: 3rem;
}

/* =================================
   ブログ詳細
================================= */

.mil-hero-inner .mil-hero-content h1 {
    color: #ffffff;
    line-height: 1.4em;
}

/* =================================
   コンタクトフォーム7
================================= */

.de-contact-form {
    width: 100%;
    color: #29363D;
}

/* Field spacing */
.de-contact-form .de-field {
    margin-bottom: 14px;
}

.de-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Input / Select / Textarea */
.de-contact-form input[type="text"],
.de-contact-form input[type="email"],
.de-contact-form select,
.de-contact-form textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 18px;
    min-height: 56px;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.6;
    color: #29363D;

    background-color: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: none;

    transition: border-color 0.2s ease,
                background-color 0.2s ease;
}

/* Placeholder */
.de-contact-form input::placeholder,
.de-contact-form textarea::placeholder {
    color: #89969A;
    opacity: 1;
}

/* Select */
.de-contact-form select {
    cursor: pointer;
}

/* Textarea */
.de-contact-form textarea {
    min-height: 190px;
    resize: vertical;
}

/* Focus */
.de-contact-form input:focus,
.de-contact-form select:focus,
.de-contact-form textarea:focus {
    outline: none;
    border-color: #EFA943;
    background-color: #F8FAFA;
}

/* File upload */
.de-contact-form .de-file {
    margin-top: 20px;
    margin-bottom: 28px;
    font-size: 13px;
    color: #536168;
}

.de-contact-form input[type="file"] {
    display: block;
    margin-top: 10px;
    max-width: 100%;
    font-family: inherit;
    font-size: 13px;
}

/* Submit button */
.de-contact-form .de-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}

.de-contact-form input[type="submit"] {
    display: inline-block;
    min-width: 220px;
    padding: 17px 30px;

    background-color: #EFA943;
    color: #26343B;
    border: none;
    border-radius: 50px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;

    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

.de-contact-form input[type="submit"]:hover {
    background-color: #D98C13;
    transform: translateY(-2px);
}

/* Validation */
.de-contact-form .wpcf7-not-valid {
    border-color: #D76B6B;
}

.de-contact-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 12px;
    color: #C45151;
}

/* Response message */
.de-contact-form .wpcf7-response-output {
    margin: 20px 0 0;
    padding: 14px 18px;
    border-radius: 3px;
    font-size: 13px;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 767px) {

    .de-contact-form input[type="text"],
    .de-contact-form input[type="email"],
    .de-contact-form select,
    .de-contact-form textarea {
        font-size: 16px;
    }

    .de-contact-form textarea {
        min-height: 160px;
    }

    .de-contact-form .de-submit {
        justify-content: center;
    }

    .de-contact-form input[type="submit"] {
        width: 100%;
        min-width: 0;
    }
}

/* =================================
   関連記事
================================= */

body .de-related__heading {
    margin-bottom: 28px;
}

body .de-related__heading > span {
    display: block;
    margin-bottom: 10px;
    color: #F5A623;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

body .de-related__heading h2 {
    margin: 0;
    color: #263238;
    font-size: 26px;
    font-weight: 700;
}

body .de-related__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body .de-related-card {
    min-width: 0;
    background: #f5f5f5;
}

body .de-related-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

body .de-related-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e5e8e8;
}

body .de-related-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body .de-related-card__body {
    padding: 20px;
}

body .de-related-card__category {
    display: inline-block;
    margin-bottom: 10px;
    color: #999;
    font-size: 11px;
}

body .de-related-card h3 {
    margin: 0 0 12px;
    color: #263238;
    font-size: 16px;
    line-height: 1.6;
}

body .de-related-card p {
    margin: 0;
    color: #7b8387;
    font-size: 12px;
    line-height: 1.8;
}

@media (max-width: 767px) {
    body .de-related {
        margin-top: 50px;
        padding-top: 30px;
    }

    body .de-related__heading h2 {
        font-size: 22px;
    }

    body .de-related__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    body .de-related-card > a {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
    }

    body .de-related-card__media {
        aspect-ratio: auto;
        min-height: 105px;
    }

    body .de-related-card__body {
        padding: 12px;
    }

    body .de-related-card__category {
        margin-bottom: 5px;
    }

    body .de-related-card h3 {
        margin-bottom: 0;
        font-size: 13px;
    }

    body .de-related-card p {
        display: none;
    }
}



/**************************************
 * 著者プロフィール
 **************************************/

.de-author-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin: 40px 0 32px;
    padding: 24px 0;
    border-top: 1px solid #e3e6e7;
    border-bottom: 1px solid #e3e6e7;
    box-sizing: border-box;
}

.de-author-box__image {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
}

.de-author-box__avatar {
    display: block;
    width: 76px !important;
    height: 76px !important;
    border-radius: 50%;
    object-fit: cover;
}

.de-author-box__content {
    flex: 1;
    min-width: 0;
}

.de-author-box__name {
    margin-bottom: 8px;
    color: #29363D;
    font-size: 14px;
    line-height: 1.6;
}

.de-author-box__name strong {
    font-size: 15px;
    font-weight: 700;
}

.de-author-box__name span {
    color: #89969A;
    font-size: 13px;
}

.de-author-box__description {
    margin: 0 0 10px !important;
    padding: 0;
    color: #536168;
    font-size: 13px;
    line-height: 1.8;
}

.de-author-box__social {
    color: #D98C13 !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.de-author-box__social:hover {
    color: #29363D !important;
}

/* Mobile */
@media (max-width: 600px) {

    .de-author-box {
        gap: 12px;
        margin: 30px 0 24px;
        padding: 20px 0;
    }

    .de-author-box__image {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .de-author-box__avatar {
        width: 60px !important;
        height: 60px !important;
    }

    .de-author-box__name {
        font-size: 13px;
    }

    .de-author-box__name strong {
        font-size: 14px;
    }

    .de-author-box__name span {
        font-size: 12px;
    }

    .de-author-box__description {
        font-size: 12px;
    }
}

/**************************************
 * ブログカード
 **************************************/

.de-blog-card {
    display: block !important;
    width: 100%;
    max-width: 640px;
    margin: 24px auto !important;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.de-blog-card__link {
    display: grid !important;
    grid-template-columns: 100px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
    width: 100%;
    padding: 0 !important;
    color: inherit !important;
    text-decoration: none !important;
    box-sizing: border-box;
}

.de-blog-card__thumbnail {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.de-blog-card__thumbnail img {
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    max-width: none !important;
    margin: 0 !important;
    object-fit: cover;
}

.de-blog-card__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: #eef0f1;
    color: #899196;
    font-size: 10px;
}

.de-blog-card__body {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.de-blog-card__title {
    margin: 0 0 10px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: bold;
    color: #29363d !important;
    font-family: inherit;
}

.de-blog-card__excerpt {
    margin: 0 !important;
    padding: 0 !important;
    color: #667078;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-family: inherit;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.de-blog-card__url {
    display: block;
    margin-top: 12px;
    color: #899196;
    font-size: 10px;
    line-height: 1.4;
    text-align: right;
    overflow-wrap: anywhere;
}

.de-blog-card__link:hover .de-blog-card__title {
    color: #d98c13 !important;
}

/****************
 * モバイル表示
 *************/

@media (max-width: 600px) {

    .de-blog-card {
        margin: 20px 0 !important;
        padding: 10px;
    }

    .de-blog-card__link {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
    }

    .de-blog-card__thumbnail,
    .de-blog-card__thumbnail img {
        width: 84px !important;
        height: 84px !important;
    }

    .de-blog-card__title {
        font-size: 14px !important;
        margin-bottom: 7px !important;
    }

    .de-blog-card__excerpt {
        font-size: 12px !important;
        -webkit-line-clamp: 2;
    }

    .de-blog-card__url {
        font-size: 9px;
    }
}

/* ブログカード内に自動挿入される段落を除外 */
.de-blog-card__link > p {
    display: none !important;
}


/* =================================
   スクロールバー
================================= */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Lumex：左側背景装飾の幅を親コンテナ基準にする */
.mil-bg-out-left-gray::before {
    width: calc(50% - 0.2rem) !important;
}

/* =================================
   スムーズスクロール
================================= */

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Fixed header offset */
#philosophy,
#about,
#services,
#works,
#pricing,
#faq,
#contact {
    scroll-margin-top: 100px;
}

/* =================================
   モバイル表示時
================================= */

@media (max-width: 992px) {
    .mil-top-panel .elementor-widget-container .mil-logo, .mil-wrapper-header .mil-logo {
        display: block;
        width: 22rem;
    }
}

/* Timeline：モバイルでもp内の改行を有効にする */
@media (max-width: 767px) {
    .elementor-widget-lumex-timeline p br {
        display: inline !important;
    }
    .elementor-widget-container p br {
        display: inline !important;
    }    
}

