@charset "utf-8";

/* reset */
ul,
li {
    list-style: none;
}

img {
    vertical-align: bottom;
    max-width: 100%;
}

body {
    background-color: #dedede !important;
}

iframe {
    width: 100%;
}

.my-section {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

/* header */
.header-bg {
    background: url(../img/header.jpg) no-repeat bottom/cover;
    padding: 80px 0;
}

.header-bg>h1 {
    color: #fff;
    padding-bottom: 10px;
    font-size: 40px;
    font-weight: bold;
    letter-spacing: 7px;
    margin-left: 300px;
    text-shadow: #aaa 2px 2px 3px;
}

.header-bg>p {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-left: 305px;
    text-shadow: #aaa 2px 2px 3px;
}

/* nav */
.navbar {
    /* background: #79e6ffc9; */
    background: linear-gradient(#79e6ffc9,#6e99ff,#7376ff);
}

.navbar-light .navbar-nav .nav-link {
    font-weight: bold;
}

.navbar-toggler {
    border: 2px solid #444;
}

/* お知らせ */
#oshirase-section {
    padding-bottom: 20px;
}

#oshirase {
    color: #4a5ffa;
    margin-top: 20px;
    padding-bottom: 10px;
    letter-spacing: 3px;
    font-weight: bold;
}

#accordionOshirase {
    max-width: 960px;
    margin: 0 auto;
}

.company-name {
    display: inline-block;
    /* font-family: 'Zilla Slab', serif; */
    font-family: 'Noto Sans HK', sans-serif;
}
.company-name::first-letter {
    color: red;
}

.company-name-header {
    display: inline-block;
    /* font-family: 'Zilla Slab', serif; */
    font-family: 'Noto Sans HK', sans-serif;
}
.company-name-header::first-letter {
    color: red;
}

/* btn */
#telbtn {
    display: none;
    background-color: rgba(254, 162, 16, 0.9);
    width: 90px;
    height: 100px;
    text-align: center;
    line-height: 120px;
    font-size: 35px;
    position: absolute;
    top: 260px;
    right: 20px;
    color: #616161;
    z-index: 100;
}

#telbtn>p:first-child {
    font-size: 14px;
    font-weight: bold;
    line-height: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
}

#telbtn>p:last-child {
    margin-bottom: 0px;
    line-height: 0px;
}

#telbtn img {
    width: 60%;
    height: 60%;
}

.top {
    position: fixed;
    right: 20px;
    bottom: 70px;
    width: 50px;
    height: 50px;
    font-weight: bold;
    color: #fff;
    background: rgba(254, 162, 16, 0.6);
    border: 1px solid #0362b2;
    border-radius: 5px;
    z-index: 200;
}

.top {
    border: #fff 1px solid;
}

.top>p {
    color: #fff;
    position: absolute;
}

.top img {
    width: 100%;
    height: 100%;
}

/* main */
.main-container {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 20px;
}

section {
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.section-title {
    color: #4a5ffa;
    border-left: #fea210 10px solid;
    padding-left: 10px;
    margin-left: 5px;
    margin-bottom: 10px;
    font-weight: bold;
}

/* 事業内容-SP */
#jigyonaiyo-sp {
    display: none;
}

#jigyonaiyo-sp ul {
    display: flex;
    margin-bottom: 70px;
}

#jigyonaiyo-sp li+li {
    margin: 0 10px;
}

#jigyonaiyo-sp li {
    width: calc(100%*960/4);
    margin: 0 auto;
}

#jigyonaiyo-sp img:hover {
    opacity: 0.2;
    filter: brightness(120%);
    cursor: pointer;
}

#jigyonaiyo-sp li:hover p {
    color: #4a5ffa;
    position: absolute;
    top: 500px;
    font-size: 16px;
    font-weight: bold;
    display: block;
    text-align: center;
    margin: 0 auto;
}

#jigyonaiyo-sp li p {
    display: none;
}

.business-sp-desc {
    position: relative;
}

.business-sp-desc-text {
    width: 187px;
    color: #4a5ffa;
    font-weight: bold;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    top: -100px;
    z-index: -1;
}

.business-sp-desc>a {
    text-align: center;
}

.business-sp-desc>a {
    text-align: center;
}

.carousel-caption>h5 {
    color: #4a5ffa;
    text-shadow: #aaa 2px 1px 1px;
    font-weight: bold;
}

/* 事業実績 */
#jigyojisseki-img {
    margin-top: 50px;
}

#performance-img {
    border: #aaa 1px solid;
    padding: 10px;
}

#jigyojisseki-wrap {
    height: fit-content;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 0.7fr);
    padding: 3%;
}

#jigyojisseki-wrap h3 {
    color: #4a5ffa;
    font-weight: bold;
    margin-bottom: 10px;
}

#jigyojisseki-wrap ul {
    padding-left: 2em;
}

#jigyojisseki-wrap li {
    line-height: 1.4;
    font-size: 16px;
}

#jigyojisseki-wrap dt {
    line-height: 1.4;
    padding-left: 2em;
    font-size: 16px;
    font-weight: bold;
}

#jigyojisseki-wrap dd {
    line-height: 1.4;
    padding-left: 3em;
    font-size: 16px;
}

#jigyojisseki-wrap>section:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

#jigyojisseki-wrap>section:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

#jigyojisseki-wrap>section:nth-child(3) {
    grid-column: 1/3;
    grid-row: 2;
    margin-top: 10px;
}

/* 会社概要 */
#company-info-image {
    margin-top: 100px;
}

#company-info-image img {
    width: 100%;
    border: #aaa 1px solid;
    padding: 10px;
}

.aboutus {
    background-color: #fff;
    padding: 5%;
    border-radius: 15px;
    margin-bottom: 100px;
}

.aboutus-dt {
    color: #4a5ffa;
    font-size: 20px;
    font-weight: bold;
}

.aboutus-dd {
    padding-left: 15px;
    padding-top: 5px;
    padding-bottom: 15px;
    line-height: 1.5;
}

#google-map {
    padding-bottom: 40px;
}

/* お問合せ */
.contact-btn {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background-color: #fea210;
    margin-top: 40px;
    margin-bottom: 150px;
}

.contact-btn a {
    color: #fff;
    letter-spacing: 5px;
    line-height: 100px;
    text-align: center;
    font-weight: bold;
}

/* footer */
footer {
    /* background-color: #83b4fe; */
}

footer p {
    color: #fff;
    text-align: center;
}

@media screen and (min-width: 744px) {

    /* nav */
    .navbar {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .navbar-nav {
        display: table !important;
        width: 100%;
        margin: 0;
    }

    .navbar-nav>li {
        float: none;
        display: table-cell;
        text-align: center;
        height: 100%;
        overflow: auto;
    }

    .navbar .navbar-nav .nav-link {
        color: #fff !important;
        padding: 1em 0.7em;
    }

    .navbar .navbar-nav .nav-link:hover {
        background: linear-gradient(#7376ff, #6e99ff, #79e6ffc9);
    }

    .navbar .navbar-brand {
        padding: 0 0.8em;
        font-size: 1.5em;
        font-weight: bold;
    }

    .navbar {
        padding: 0;
    }
}

@media screen and (max-width: 743px) {

    /* btn */
    #telbtn {
        display: block;
    }

    /* header */
    .header-bg {
        background: url(../img/m-header-new.jpg) no-repeat right/cover;
        padding: 80px 0;
    }

    .header-bg>h1 {
        padding: 0px 0px 10px 50px;
        margin-left: 0px;
        text-shadow: #777 2px 2px 2px;
        font-size: 30px;
    }

    .header-bg>p {
        padding-left: 55px;
        font-weight: bold;
        margin-left: 0px;
        text-shadow: #777 2px 2px 2px;
        font-size: 20px;
    }

    /* nav */
    .navbar {
        background-color: #56b2c6c9 !important;
        background: #77b6ffc9 !important;
    }

    .navbar-toggler:focus,
    .navbar-toggler:active,
    .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
    }

    .nav-link {
        text-align: center;
        padding: 20px !important;
    }

    .menu-item {
        color: #4a5ffa !important;
    }

    /* main */
    .main-container {
        background-color: #fff;
        border-radius: 20px;
        padding: 35px 0;
        margin: 20px 15px 50px;
    }

    .section-card {
        border-radius: 0;
        border: none !important;
    }

    .section-title {
        padding-left: 10px;
        margin-bottom: 10px;
    }

    /* 事業内容 */
    #jigyonaiyo-pc {
        display: none;
    }

    #jigyonaiyo-sp {
        display: block;
    }

    #jigyonaiyo-sp ul {
        display: grid;
        max-width: 700px;
        gap: 20px;
        padding: 20px;
        grid-template-columns: repeat(2, 1fr);
    }

    #jigyonaiyo-sp li {
        width: 100%;
        margin: 0 auto;
    }

    #jigyonaiyo-sp img {
        opacity: 0.5;
        filter: brightness(70%);
        cursor: pointer;
    }

    .business-sp-desc-text {
        width: 90%;
        position: absolute;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        z-index: 2;
    }

    .button-url {
        color: rgba(#464c81bc, var(--bs-link-opacity,1))
    }

    /* 事業実績 */
    #jigyojisseki-img {
        display: none;
    }

    #jigyojisseki-wrap h3 {
        color: #4a5ffa;
        margin-bottom: 10px;
    }

    #jigyojisseki-wrap {
        display: block;
    }

    /* 会社概要 */
    #company-info-image img {
        display: none;
    }

    /* お問合せ */
}