@charset "UTF-8";

/*!
Theme Name: lightning-child
Template:   lightning
*/

/******************************************************************************
 このファイルは style.css よりも後に読み込まれる
******************************************************************************/

.toppage-informations {
    font-size: 2rem;
    margin: 0 calc(50% - 50vw);
    padding: .5rem calc(50vw - 50%);
    background-image: linear-gradient(gray 1px, transparent 0), linear-gradient(90deg, gray 1px, transparent 0);
    background-size: 4px 4px;
    background-color: rgb(160, 30, 30);
    color: white;
    text-align: center;
    position: relative;
}

.toppage-site-logo-wrap {
    width: 190px;
    margin: auto auto 1rem auto;
}

.toppage-informations .catch-copy {
    font-size: 2rem;
    line-height: 1.4;
    width: fit-content;
    margin: auto;
}

.catch-copy {
    align-items: center;
}

.worker-illustration {
    display: none;
}

.catch-copy-contents {
    margin: auto;
    font-size: 1rem;
}

.toppage-informations h1 {
    font-size: 1rem;
    margin-bottom: 0;
}

.toppage-informations p {
    font-size: .9rem;
    margin-bottom: 0;
}

.fixed-banner {
    display: none;
    position: fixed;
    right: 0;
    width: 50px;
    height: 100px;
    background-color: red;
    opacity: 0.5;
    z-index: 2000;
}


.toppage-upper-wrap {
    position: relative;
    background-image: url("/wp-content/uploads/2023/11/GY004_350A-1024x727.jpg");
    /*
    background-image: url("/wp-content/uploads/2023/11/GY174_350A-1024x727.jpg");
    */
    background-size: cover;
    margin: 0 calc(50% - 50vw) 2rem calc(50% - 50vw);
    padding: 0 calc(50vw - 50%);
}
.toppage-upper-wrap::after {
    position: absolute;
    top: 0px;
    left: calc(50% - 50vw);
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
	background-image: radial-gradient(#888 20%, transparent 0%);
	background-size: 4px 4px;
	background-position: 0 0, 2px 2px;
}

.toppage-upper {
    height: auto;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2000;

}

.inspection-selector-wrap {
    font-size: 18px;
    padding-top: 5rem;
    width: fit-content;
    margin: auto auto 5rem auto;
}

.inspection-selector-wrap select {
    font-size: 18px;
    width: 12em;
}

/* ふせん */
.fusen1,
.fusen2 {
    position: absolute;
    z-index: 1000;
}

.fusen1 {
    left: calc((100vw - 380px) / 2);
    top: 0px;
}
.fusen2 {
    left: calc((100vw - 380px) / 2);
    top: 160px;
}

/* 左サイドコンテンツ（横幅が小さいときは上部） */
.toppage-side-container {
    margin: auto;
    padding: 2rem;
    background-image: url("/wp-content/images/clipboard_240x320.png");
    background-size: cover;
    display: none;
    width: 240px;
    min-width: 240px;
    height: 320px;
}

.inspection-list {
    margin-bottom: 0;
    padding: 0;
}

.inspection-list label {
    margin-bottom: .2rem;
}

.explanation {
    font-size: 16px;
    color: white;
    font-weight: bold;
}

.contractors-count {
    margin: 0 .5em;
    color: #ff7f7f;
    font-weight: bold;
    text-align: right;
}


/* トップページバナー */
.appeal-banner {
    margin-bottom: 2rem;
    text-align: center;
}

.toppage-box-common {
    background-color: white;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.toppage-box-common h2 {
	padding: 0;
    border: unset;
    border-bottom: 3px solid #517533;
}

/* アピールコンテンツ */
.toppage-appeal-contents {
    font-size: 1.2rem;
}

/* 初心者向け記事 */
h2.beginner {
    position: relative;
    padding-left: 1.2em;
}

h2.beginner::before {
    position: absolute;
    left: 0;
    top: 0;
	content: "";
	width: 1em;
    height: 1em;
    background-image: url("/wp-content/uploads/2023/11/22427436_200x150.png");
    background-size: cover;
}

.card-type-1 .content-card-middle-wrap {
    position: relative;
    border: 2px solid lightgray;
}

.card-type-1 .content-card-middle-wrap:hover {
    opacity: 0.6;
}

.card-type-1 .content-card-title {
    color: #444;
    font-weight: bold;
    background-color: gainsboro;
    padding: 2px;
}

.card-type-1 .content-card-excerpt {
    font-size: .9rem;
}

.toppage-beginners-box div.toppage-beginners-inner-box {
    align-items: unset;
    justify-content: center;
}

.card-type-1 {
    width: 320px;
    padding: 4px;
}

@media (max-width: 575px) {
  /* ブロックエディタのインライン指定なので important */
  .toppage-beginners-box,
  .toppage-appeal-contents {
    padding: 1rem .5rem !important;
  }
}

/* 576px 以上 */
@media (min-width: 576px) {
    /* .container 540px */
    /* font-size 14px */
    /* 地図は非表示、上部にプルダウン */
    .toppage-informations .catch-copy {
        font-size: 1.8rem;
    }
    .worker-illustration {
        display: block;
    }
    .fusen1 {
        left: 240px;
        top: 0px;
    }
    .fusen2 {
        left: 240px;
        top: 60px;
    }
    .inspection-selector-wrap {
        padding-top: .5rem;
        margin-bottom: 0;
        width: unset;
    }
    .explanation {
        width: 12em;
    }
    .card-type-1 {
        width: 200px;
        padding: 4px;
    }
}

/* 768px 以上 */
@media (min-width: 768px) {
    /* .container 720px */
    /* font-size 14px */
    /* 地図表示開始、上部にプルダウン */
    .japan-map-wrap {
        padding-top: 2rem;
    }
    .toppage-informations .catch-copy {
        font-size: 1.6rem;
    }
    .toppage-upper {
        height: 500px;
    }
    .fusen1 {
        left: 0;
        top: 0px;
    }
    .fusen2 {
        left: 200px;
        top: 260px;
    }
    .inspection-selector-wrap {
        position: absolute;
        top: 68px;
        width: 12em;
        z-index: 1000;
    }
}

/* 992px 以上 */
@media (min-width: 992px) {
    /* .container 960px */
    /* font-size 16px */
    /* 地図表示、点検選択はリスト化して左側 */
    .toppage-informations .catch-copy {
        font-size: 1.6rem;
    }
    .toppage-site-logo-wrap {
        /* relative: .toppage-informations */
        position: absolute;
        left: 20px;
        top: 34px;
    }
    .toppage-upper {
        height: 480px;
    }
    .toppage-upper {
        display: flex;
    }
    .toppage-side-container {
        display: block;
        margin-top: 112px;
        margin-right: 80px;
    }
    .inspection-selector-wrap {
        display: none;
    }

    .fusen1 {
        left: -30px;
        top: 40px;
    }
    .fusen2 {
        left: 300px;
        top: 40px;
    }
    .explanation {
        width: unset;
        height: unset;
        color: inherit;
        font-weight: inherit;
    }
}

/* 1200px 以上 */
@media (min-width: 1200px) {
    /* font-size 16px */
    /* .container 1140px */
    .toppage-informations .catch-copy {
        font-size: 2rem;
    }
    .toppage-site-logo-wrap {
        /* relative: .toppage-informations */
        left: 40px;
    }
    .fusen1 {
        left: 30px;
    }
    .fusen2 {
        left: 380px;
    }
    .toppage-beginners-box div.toppage-beginners-inner-box {
        justify-content: flex-start;
    }
}




/* lightning */
.siteContent {
    background-color: #f2efea;
}


