@charset "utf-8";

html {
    font-size: 62.5%;
    height: 100%;
}

body {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
    font-size: 1.6rem;
    height: 100%;
}

img {
    max-width: 100%;
}

a {
    color: black;
    text-decoration: none;
}

.no-spacing {
    letter-spacing: normal;
}

.mt40 {
    margin-top: 40px;
}

.relative {
    position: relative;
}

.main-column {
    position: relative;
    float: right;
    width : -webkit-calc(100% - 300px) ;
    width : calc(100% - 300px);
    height: 100%;
}

.main-column.home {
    background-image: url('../images/eye-catch.png');
    background-size : cover;
    background-position: center center;
}

.main-column.vision {
    background: linear-gradient(#faf0d6, #f8d2d4);
}

.main-column.services {
    background: linear-gradient(#e5f4ee, #d3dfef);
}

.main-column.cases {
    background: linear-gradient(#f9f0d6, #e0e5e6, #dff0f4);
}

.main-column.contact {
    background: #efefef;
}

.over-lay {
    background-color: rgba(0,0,0,0.5); /*半透明のフィルターをかける*/
    height: 100%;
}

.main-contents {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.main-logo {
    max-width: 600px;
    margin: 0 auto 30px;
}

.home .description {
    font-size: 2.0rem;
    color: white;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    line-height: 2;
}

.side-column {
    float: right;
    width: 300px;
    height: 100%;
    padding: 60px 30px 50px;
    box-sizing: border-box;
}

.site-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
}

.inner-padding {
    position: relative;
    width: 100%;
    height: 100%;
}

.bottom-align {
    position: absolute;
    bottom: 0;
    right: 0;
}

.navigation {
    text-align: right;
    margin-bottom: 70px;
}

.each-navigation {
    margin-bottom: 20px;
}

.each-navigation {
    font-weight: bold;
    font-size: 1.5rem;
    cursor: default;
}
.each-navigation>a {
    font-weight: bold;
    font-size: 1.5rem;
}

.fcboasorte2018{
  width: 35%;
}

.copyright{
  font-size: 1rem;
}

.title-box {
    position: relative;
    padding: 60px 0 30px;
    margin: 0 auto 50px;
    text-align: center;
}

.title-box:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    display: inline-block;
    width: 30px;/*線の長さ*/
    height: 1px;/*線の太さ*/
    transform: translateX(-50%);
    background-color: black;/*線の色*/
    border-radius: 2px;/*線の丸み*/
}

.page-title {
    font-size: 5rem;
    font-weight: bold;
    letter-spacing: 10px;
}

.page-contents {
    width: 90%;
    margin: 0 auto;
}

.table-parent {
    display: table;
    border-collapse:separate;
    border-spacing: 40px 0;　/*数字は「左右、上下」*/
    margin: 0 auto;
}

.in-english {
    font-family: serif,georgia;
    font-size: 1.3rem;
    letter-spacing: 1px;
    font-weight: bold;
}

.two-column-contents {
    display: table-cell;
    margin: 0;
    width: 50%;
}

.vision .two-column-contents {
    vertical-align: middle;
}

.vision .description .no-spacing {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
}

.vision .description {
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    line-height: 3.5;
    letter-spacing: 1px;
}

.services .page-contents {
    max-width: 350px;
}

.under-title {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
    line-height: 2;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.service-lists {
    border: solid 1px black;
    padding: 15px 40px;
    margin-bottom: 30px;
}

.service-list {
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 3;
}

.cases .page-contents {
    width: 70%;
}

.case-title {
    font-weight: bold;
    font-size: 1.3rem;
    line-height: 1.5;
}

.case-content {
    line-height: 2.8;
    font-size: 1.05rem;
    /*font-weight: bold;*/
}

.case-title:before {
    content: '◆';
}

.case-content:before {
    content: '・';
}

.cases .table-parent {
    border-collapse: initial;
    border-spacing: 10px 0;　/*数字は「左右、上下」*/
}

.contact .table-parent {
    width: 100%;
    border-spacing: 70px 0;　/*数字は「左右、上下」*/
}

.form-title {
    font-size: 1.35rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.form-text {
    width: 100%;
    margin-bottom: 20px;
    padding: 7px 12px;
    font-weight: bold;
    font-family: initial;
}

.form-textarea {
    resize: none;
    width: 100%;
    height : -webkit-calc((59px * 3 + 20px * 2) + 40px) ;
    height: calc((59px * 3 + 20px * 2) + 40px);
    padding: 7px 12px;
    font-weight: bold;
    font-family: initial;
}

.form-input {
    position: absolute;
    bottom: 0;
    left: 70px;
    height: 40px;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 5px;
    padding: 0 25px;
    border-radius: 6px;
    background-color: #db1d29;
    color: white;
    border: none;
}

.mail_result {
    position: fixed;
    right : 50px;
    padding: 10px;
    border-radius: 10px;
    background-color: lightblue;
    font-size: 1.2rem;
    animation-name: mail_popup;
    animation-duration: 5s;
    opacity: 0;
}

.mail_err {
    background-color: #FF9954;
}

@keyframes mail_popup {
    0% {
        top : 100px;
        opacity: 0;
    }
    30% {
        top : 50px;
        opacity: 0.7;
    }
    99% {
        top : 50px;
        opacity: 0.7;
    }
    100% {
        top : 50px;
        opacity: 0;
    }
}


@media screen and (max-width:1000px) {
    body {
        overflow: auto;
    }

    .detachable {
        display: none;
    }

    .two-column-contents {
        display: block;
        width: 100%;
    }

    .home .description {
        white-space: initial;
    }

    .vision .page-contents {
        display: block;
        text-align: center;
    }

    .main-column.except-home {
        height: auto;
        padding-bottom: 30px;
    }

    .vision-image {
        display: initial;
    }

    .vision .description {
        display: initial;
    }

    .form-textarea {
        margin-bottom: 50px;
    }
}

@media screen and (max-width:480px) {
    /* 768px以下 */
    .side-column {
        float: none;
        width: 100%;
    }

    .main-column {
        float: none;
        width: 100%;
        height: 500px;
    }

    .home .description {
        line-height: 1.5;
    }

    .site-logo {
        position: static;
        margin: 0 auto 30px;
        display: block;
        max-width: 200px;
    }

    .bottom-align {
        position: static;
        text-align: center;
    }

    .navigation {
        text-align: center;
        margin-bottom: 30px;
    }

}
