/*----------------
body設定
-----------------*/
body {
    position: relative
}

body::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background-image: url("../../assets/img/bg_pc-build.jpg");
    position: fixed;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/*タブレット時の背景画像*/
@media screen and (min-width:768px) and (max-width:1080px) {
    body {
        background-image: url("../../assets/img/bg_tablet-build.jpg");
    }

}
/*スマホ時の背景*/
@media only screen and (max-width: 767px){
    body{
        background-image: none
    }
}

/*----------------
メニュー出し分け設定
-----------------*/
/*タブレット*/
@media screen and (min-width:768px) and (max-width:1080px) {
    .menu-pc {
        display: none
    }

    #main-wrap {
        margin: 0 auto !important;
    }
}

/*PC*/
#main-wrap {
    width: 500px;
    margin: 0 auto;
}

@media only screen and (min-width: 768px) {
    header {
        display: none !important
    }
}

/*スマホ*/
@media only screen and (max-width: 767px) {
    body {
        background: #fff;
    }

    .menu-pc {
        display: none
    }

    #main-wrap {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        overflow: hidden;
    }
}

/*----------------
固定バナー
-----------------*/
.floating-banner {
    position: fixed;
    z-index: 1000;
    bottom: 0;
    right: 0;
    width: 300px;
    text-align: center;
    display: none;
    /*タブレット・PCでは非表示*/
}

.floating-banner__image img {
    max-width: 100%;
    width: 100%;
}

/* スマホ用指定 */
@media screen and (max-width: 560px) {
    .floating-banner {
        display: block;
        width: 100vw;
    }


    .floating-banner__image.img-fluid {
        width: 90%;
        max-width: 90%
    }
}

/*----------------
共通設定
-----------------*/

/*見出し*/
.content-section-heading h2,
.content-section-heading .h2 {
    font-size: 1.625rem
}

/*余白*/
.content-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.content-section.bg-white {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/*----------------
MV
-----------------*/

#main-visual img {
    width: 100%;
    max-width: 100%;
}

/*----------------
ビルドで学べること
-----------------*/
#support {
    background-image: url("../../assets/img/bg_dot.png");
}

.services-wrap .col:nth-child(1),
.job-wrap .col:nth-child(1) {
    padding-right: 5px
}

.services-wrap .col:nth-child(2),
.job-wrap .col:nth-child(2) {
    padding-left: 5px
}

/*----------------
ビルドでできるお仕事
-----------------*/
.card-title {
    position: relative;
}

.card-title p {
    position: absolute;
    bottom: 0;
    left: 50%;
    text-align: center;
    color: #fff;
    transform: translate(-50%, 0);
    margin: 0 !important;
    background: #000;
    display: block;
    width: 100%;
    padding: 4px 0;
}

.card-text {
    flex: 1 1 auto;
    text-align: left;
}

.card {
    padding: 0;
    border: transparent;
}


/*----------------
利用者の声
-----------------*/
#comment {
    background-image: url("../../assets/img/bg_gray.png");
}

/*アコーディオン*/
.collapsing {
    -webkit-transition: height 0.5s ease;
    transition: height 0.5s ease;
}


.accordion-button,
.accordion-button:not(.collapsed) {
    background-color: #eee
}

.accordion-button {
    font-size: 1.125rem;
    font-weight: bold;
}

.comment-q {
    color: #C1272D;
    font-weight: bold;
    font-size: 1.125rem;
}

.comment-a span,
.faq-a {
    color: #C1272D;
    font-weight: bold;
}

.accordion,
.accordion-item:first-of-type > .accordion-header .accordion-button,
.accordion-button,
.accordion-item:first-of-type,
.accordion-item {
    border-radius: 0 !important
}

.accordion-item {
    background-color: transparent;
    border: 0 none
}

.accordion-body {
    padding-left: 5px;
    padding-right: 5px
}


/*----------------
よくある質問
-----------------*/
#faq .accordion-item {
    background-color: transparent;
    border-bottom: 1px solid #ccc
}

#faq .accordion-button:not(.collapsed) {
    box-shadow: none;
}

#faq .accordion-button {
    background-color: #fff;
    padding-left: 0;
    padding-right: 0;

}

/*----------------
アクセス
-----------------*/
.map iframe{
    pointer-events: auto!important
}

.map {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 75%;
}


.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.masthead {
    height: 100%;
    position: relative;
    display: table;
    width: 100%;
    height: auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*----------------
問い合わせ
-----------------*/
thead,
tbody,
tfoot,
tr,
td,
th {
    display: block
}

form input,
form textarea,
table {
    width: 100%
}

.formTable {
    margin-bottom: 1rem
}

#sidebar-wrapper {
    z-index: 1000000
}

input[type="submit"],
input[type="reset"] {
    height: 50px;
}

input[type="submit"] {
    margin-bottom: 10px ! !important;
}

form .required {
    font-size: 0.9rem;
    color: #C1272D;
    padding-left: 8px
}



/*----------------
フッター
-----------------*/
footer.footer .social-link {
    display: block;
    height: 20px;
    width: 20px;
    line-height: 4.3rem;
    font-size: 1.5rem;
    background-color: #1d809f;
}

.foot_fix_btn {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.foot_fix_btn.js_hide {
    transform: translateY(100%);
}

.foot_fix_btn ul {
    padding-left: 0
}

.contact-tel {
    width: 100%;
}

.contact-tel p {
    margin: 0
}

.contact-tel .tel-num {
    font-size: 1.5rem
}

.copyright {
    background: #000;
    color: #fff;
    margin-top: 4rem;
    padding: 1rem;
    position: relative
}

.copyright::after {
    content: '';
    background-image: url(../img/bg_footer.png);
    background-size: cover;
    background-repeat: no-repeat;
    display: inline-block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: -50px;
    right: 0;
}

.copyright span::after {
    content: "\A";
    white-space: pre;
}

footer.footer {
    padding-bottom: 0;
    padding-top: 3rem
}

#access p {
    line-height: 1.2;
    text-decoration: none;
}

#access .address {
    font-size: 1rem;
    font-weight: bold;
}

#access .access-detail {
    font-size: 0.75rem;
    font-weight: normal;
}

.sns-wrap img {
    max-width: 60px;
}


.link-wrap li span::after {
    content: '';
    display: inline-block;
    background: url("../../assets/img/external-link.png");
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: auto;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 7px;
}

.link-wrap li {
    width: 50%;
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
    flex-grow: 1;
    position: relative;
}

.link-wrap li span {
    font-size: 1.125rem;
}

.link-wrap ul {
    border-top: 1px solid #ccc;
}

.link-wrap li:nth-child(odd) {
    position: relative;
    margin-right: 0px;
}

.link-wrap li:nth-child(odd)::after {
    position: absolute;
    top: 0;
    left: 100%;
    content: "";
    width: 1px;
    height: 100%;
    margin: 0;
    background-color: #ccc;
}

.link-wrap a {
    text-decoration: none;
    color: #000;
}
